:root{color-scheme:light;--bg:#fafaf7;--text:#192720;--muted:#5d6b62;--line:#e2e7df;--green:#215641;--dark:#143f2e;--pale:#edf4ee;--paper:#fff;--serif:"Songti SC","Noto Serif CJK SC",serif;font:15px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,textarea,input,select{font:inherit}button{cursor:pointer}a{color:var(--green);text-underline-offset:3px}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #36785a;outline-offset:3px}[hidden]{display:none!important}button:disabled{cursor:wait;opacity:.65}p{margin:.55em 0 1em}h2,h3,h4{line-height:1.35;margin:0 0 .6em}img{display:block;width:100%}small{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.topbar{height:74px;padding:0 clamp(14px,4vw,60px);display:flex;justify-content:space-between;align-items:center;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3}
.brand{display:flex;align-items:center;gap:11px;background:none;border:0;padding:0;text-align:left;color:var(--text);font-size:16px;font-weight:750;line-height:1.25;white-space:nowrap}.brand b{color:var(--green);margin-left:4px}.brand small{display:block;color:var(--muted);font-size:8px;letter-spacing:.17em;margin-top:5px}.brand-mark,.avatar{display:grid;place-items:center;background:var(--dark);color:white;border-radius:12px;width:40px;height:40px;flex:none}.brand-mark svg,.avatar svg{width:30px}.top-actions,.compose-row,.compose-tools,.actions,.tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.top-actions{flex-wrap:nowrap}.demo,.pill{display:inline-flex;align-items:center;gap:6px;background:var(--pale);color:var(--green);border-radius:999px;padding:4px 10px;font-size:12px;white-space:nowrap}.demo i{width:6px;height:6px;border-radius:50%;background:#508563}
.button,.tabs button{border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--green);padding:7px 11px;font-size:13px;text-decoration:none;display:inline-block}.button:hover,.tabs button:hover,.choice:hover{background:var(--pale)}.quiet{border-color:transparent;background:none}.primary,.primary:hover{background:var(--green);border-color:var(--green);color:#fff}.button[aria-pressed=true],.tabs button[aria-pressed=true]{background:var(--pale);border-color:#a9c3af;color:var(--dark);font-weight:650}
.main{width:min(900px,100% - 34px);margin:auto;min-height:calc(100dvh - 74px);padding:0 0 26px}.welcome{text-align:center;padding:clamp(66px,14vh,155px) 0 22px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-size:13px;font-weight:700;letter-spacing:.13em;margin:0}.eyebrow span{width:14px;height:1px;background:#749985}.welcome h1{font:700 clamp(34px,6.5vw,65px)/1.19 var(--serif);letter-spacing:-.055em;margin:22px 0 14px}.welcome h1 em{font-style:normal;color:var(--green)}.lede{color:var(--muted);font-size:16px}
.compose-area{z-index:2}.active .compose-area{position:sticky;bottom:0;background:var(--bg);padding:10px 0 8px}.compose{border:1px solid #d5dfd6;border-radius:18px;box-shadow:0 10px 26px #263b2510;background:var(--paper);padding:13px 13px 10px 17px}.compose:focus-within{border-color:#739680}.compose textarea{color:var(--text);display:block;width:100%;border:0;outline:none;background:none;resize:vertical;min-height:47px;max-height:190px;padding:3px 2px 0}.compose textarea::placeholder{color:#637467}.compose-row{justify-content:space-between}.compose-tools{color:var(--muted);font-size:12px;flex:1}.send{width:40px;height:40px;border:0;border-radius:12px;display:grid;place-items:center;background:var(--dark);color:white}.send:hover{background:var(--green)}.send svg{width:21px}.notice{color:#7c3f1e;font-size:13px;margin:6px 0 0}.examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:19px}.choice{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--text);text-align:left;padding:11px;min-width:0}.choice span:first-child{font-size:11px;color:var(--green);background:var(--pale);border-radius:7px;padding:4px 6px;font-weight:750}.choice strong,.choice small{display:block}.choice small{color:var(--muted);line-height:1.35}.choice i{margin-left:auto;color:var(--green);font-style:normal}
.thread{padding:30px 0 4px;min-height:calc(100dvh - 240px)}.turn{margin-bottom:26px;scroll-margin-top:89px}.bubble{width:fit-content;max-width:88%;margin:0 0 0 auto;padding:10px 16px;border-radius:15px 15px 3px 15px;background:#e6f0e7;white-space:pre-wrap;overflow-wrap:anywhere}.reply{display:grid;grid-template-columns:37px minmax(0,1fr);gap:10px}.avatar{width:34px;height:34px;border-radius:10px;font-size:11px;font-weight:750}.reply-header{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;margin:4px 0 8px}.reply-header small,.muted{color:var(--muted);font-weight:400}.answer{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:0}.result{border:1px solid var(--line);background:var(--paper);border-radius:16px;overflow:hidden}.result-head,.pane{padding:16px 18px}.result-head{border-bottom:1px solid var(--line);background:#fcfdfb}.result-head h2{font:700 clamp(21px,4vw,30px)/1.3 var(--serif);margin:6px 0}.result-head p{font-size:13px;color:var(--muted);margin:4px 0 10px}.pane h3{font-size:17px}.soft{background:#f2f5ef;border-radius:9px;padding:9px 12px;color:#395548;font-size:13px}.warn{color:#784818;background:#f9f1e2}.grid,.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.photo{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:white}.photo img{aspect-ratio:1.62;object-fit:cover;background:#e9ece5}.photo .thumb{display:block;border:0;padding:0;width:100%;background:none;cursor:zoom-in}.meta{padding:10px 12px;font-size:13px;overflow-wrap:anywhere}.meta b{display:block;margin:0 0 3px}.meta details{margin:7px 0 0;color:var(--muted)}summary{cursor:pointer;color:var(--green)}.meta a{margin-left:5px}.actions{margin-top:12px}.refs li{margin:.35em 0;overflow-wrap:anywhere}.card,.draft,.node,.observe{border:1px solid var(--line);border-radius:10px;padding:12px;margin:10px 0;overflow-wrap:anywhere}.draft{background:#fcfdfb;white-space:pre-wrap}.draft strong{font-size:17px}.node{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}.node p,.observe p{margin:.3em 0 .6em}.node .photo img{aspect-ratio:2}.observe textarea,.observe input,.observe select,.account-form input{width:100%;margin:.3em 0 .7em;padding:8px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:white}.observe textarea{resize:vertical}.observe label,.account-form label{display:block;font-size:13px}.days>h3{font-size:14px;color:var(--green);margin-top:15px}.map{position:relative;isolation:isolate;aspect-ratio:2.35;background:#edf0e4;border-radius:11px;overflow:hidden;margin:.65em 0}.map svg{position:absolute;width:100%;height:100%;inset:0;z-index:-1}.pin{position:absolute;transform:translate(-50%,-50%);border:1px solid #9bb3a2;border-radius:100px;background:white;color:var(--green);padding:5px 9px;white-space:nowrap;font-size:12px}.pin[aria-pressed=true]{background:var(--green);color:white;border-color:var(--dark)}.comparison .photo img{height:340px;aspect-ratio:auto;object-fit:contain}.crop-grid img{height:230px;object-fit:cover;transform:scale(1.5);transform-origin:50% 35%}.crop-grid[data-area="周边岩壁"] img{transform-origin:85% 49%}.crop-grid[data-area="胸前衣纹"] img{transform-origin:50% 62%}.crop-grid .thumb{overflow:hidden}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:10;background:var(--dark);color:white;border-radius:10px;padding:8px 15px;font-size:13px;box-shadow:0 6px 30px #15291b40}dialog{position:fixed;width:min(760px,100% - 24px);max-height:88dvh;overflow:auto;border:1px solid var(--line);box-shadow:0 24px 90px #11271938;border-radius:16px;padding:23px;color:var(--text)}dialog::backdrop{background:#101e18a0}.close{position:absolute;top:10px;right:10px;font-size:20px;line-height:1.2}dialog #dialog-title{padding-right:38px}.zoom{max-height:62vh;width:100%;object-fit:contain;background:#f1f3ed}.export-label{font-size:13px;color:var(--muted)}
@media(max-width:660px){.topbar{height:62px}.main{min-height:calc(100dvh - 62px)}.topbar .demo{display:none}.brand{gap:7px;font-size:14px}.brand-mark{width:34px;height:34px}.top-actions{gap:3px}.top-actions button{padding:5px 6px;font-size:12px}.welcome{padding-top:64px}.lede{font-size:14px}.examples{grid-template-columns:1fr}.reply{grid-template-columns:minmax(0,1fr);gap:2px}.reply>.avatar{display:none}.grid,.comparison,.node{gap:7px}.result-head,.pane{padding:12px}.comparison .photo img{height:210px}.map{aspect-ratio:1.65}.choice{padding:9px}.tabs{gap:5px}.tabs button{padding:5px 8px}.brand small{letter-spacing:.11em}}
.observe input.check{width:auto;margin-right:6px}.comparison.crop-grid .photo img{object-fit:cover}.crop-grid[data-area="上部屋檐"] img{transform-origin:50% 17%}.crop-grid[data-area="塔身"] img{transform-origin:50% 55%}.card .zoom{max-height:410px;margin:10px 0}.draft p{margin-bottom:0}

/* Theme colors and the settings panel */
:root{--bubble:#e6f0e7;--wash:#fcfdfb}
[data-theme=west-lake]{--bg:#f3f8f9;--text:#1f3741;--muted:#49636c;--green:#285c70;--dark:#214b62;--pale:#e7f1f3;--line:#d5e3e8;--bubble:#dbeef3;--wash:#f6fafb}
[data-theme=palace]{--bg:#fcf6ee;--text:#422b26;--muted:#70534c;--green:#873d3b;--dark:#713332;--pale:#f8ede6;--line:#e9d8cb;--bubble:#f5e0d7;--wash:#fffaf4}
[data-theme=huangshan]{--bg:#f4f8f0;--text:#25372d;--muted:#516650;--green:#3b6150;--dark:#305341;--pale:#e9f0e7;--line:#d6e2d2;--bubble:#e1efdc;--wash:#f9fcf7}
[data-theme=dunhuang]{--bg:#fdf7ed;--text:#432f21;--muted:#72583e;--green:#805025;--dark:#67401e;--pale:#faeedc;--line:#ebddc6;--bubble:#f5e5cb;--wash:#fffbf4}
[data-theme=moon]{--bg:#f8f5fc;--text:#352b4b;--muted:#605671;--green:#5c4c87;--dark:#47376f;--pale:#f1ebfa;--line:#e5ddef;--bubble:#eee3f7;--wash:#fcfafe}
[data-theme=kunpeng]{--bg:#f3f7fc;--text:#263b51;--muted:#4e6378;--green:#275579;--dark:#1d4667;--pale:#e6eff7;--line:#d7e4f1;--bubble:#dcebf7;--wash:#f8fbfe}
[data-theme=nezha]{--bg:#fcf5ed;--text:#3e2920;--muted:#6b5045;--green:#833d22;--dark:#692d1b;--pale:#f9ebe0;--line:#ecd9ca;--bubble:#f7e3d3;--wash:#fffaf4}
.welcome{position:relative;isolation:isolate}.bubble{background:var(--bubble)}.result-head,.draft{background:var(--wash)}.soft:not(.warn){background:var(--pale);color:var(--green)}
#theme-art{position:absolute;inset:auto 0 -21px auto;width:min(400px,65vw);pointer-events:none;z-index:-1;color:var(--green);opacity:.12}
#theme-art svg,.theme-art svg{display:block;width:100%;height:auto;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.settings-button{position:fixed;left:max(15px,env(safe-area-inset-left));bottom:max(15px,env(safe-area-inset-bottom));z-index:4;width:43px;height:43px;border-radius:12px;display:grid;place-items:center;border:1px solid var(--line);background:var(--paper);color:var(--green);box-shadow:0 4px 16px #20302613}.settings-button:hover{background:var(--pale)}.settings-button svg{width:22px}
#settings-dialog{width:min(670px,100% - 24px)}#settings-title{padding-right:38px}.settings-tabs{border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:16px}
.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.theme-choice{display:block;min-width:0;text-align:left;padding:7px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--text)}.theme-choice[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.theme-choice:hover{background:var(--pale)}.theme-art{display:block;background:var(--sample-bg);color:var(--sample-accent);border-radius:6px;overflow:hidden;margin-bottom:5px}.theme-choice strong,.theme-choice small{display:block;padding:0 3px}.theme-choice small{color:var(--muted);font-size:11px;line-height:1.4}
.settings-toggle,.account-form label.settings-toggle{display:flex;align-items:center;gap:7px;margin:8px 0}.account-form .settings-toggle input,.settings-toggle input{width:auto;margin:0;accent-color:var(--green)}
.settings-status{color:var(--green);margin:7px 0 0;min-height:1.5em}.model-note{font-size:13px}.online-results{margin-top:12px}.online-results .pane{padding-top:9px}.online-results h2{overflow-wrap:anywhere}.model-tag{display:block;color:var(--muted);margin:5px 0}.compose-tools .online-tool{color:var(--green);border-color:var(--line);white-space:nowrap}.media-fallback{display:grid;place-items:center;aspect-ratio:1.62;background:var(--pale);font-size:13px}
@media(max-width:1020px){body:has(.main.active) .settings-button{bottom:calc(max(15px,env(safe-area-inset-bottom)) + var(--compose-height, 125px));left:9px}}
@media(max-width:620px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#theme-art{bottom:-8px}.settings-button{width:38px;height:38px}body:has(.main.active) .settings-button{width:36px;height:36px;opacity:.94}}
.reference-photo img{object-fit:contain;background:var(--pale)}.reference-source{margin:4px 0}.reference-source a{margin-left:0}
/* Project, archive and delivery controls reuse the conversation layout. */
.account-form textarea,.account-form select{width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--paper);margin:.3em 0 .7em}.account-form textarea{resize:vertical}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{border:1px solid var(--line);padding:9px;text-align:left;vertical-align:top;overflow-wrap:anywhere;min-width:110px}th{background:var(--pale)}.inspect-image{position:relative;line-height:0}.inspect-image img{width:100%;height:auto;max-height:none;object-fit:contain}.draw-region{touch-action:none;cursor:crosshair;user-select:none}.annotation{position:absolute;pointer-events:none;border:2px solid #d45320;background:#ec692122}.real-map{width:100%;height:320px;border:1px solid var(--line);border-radius:10px}.brand-caption{color:var(--green);font-weight:650;padding:9px 0}#auth-status,#project-status,#region-status{color:#9a4228}.card .actions{margin-top:8px}#dialog-body>details{margin-top:20px}button,input,textarea,select{max-width:100%}
@media(max-width:520px){.brand b{display:block;margin:0}.brand small{display:none}.brand-mark{display:none}.topbar{padding:0 12px}.topbar .top-actions button{font-size:11px;padding:5px}.field-grid{grid-template-columns:1fr}.draw-region+small{font-size:10px}.inspect-image .annotation{border-width:1px}}

/* Chatbot reply: inline scenic brief with images, intro and routes, plus per-message actions. */
.reply-body{min-width:0}
.chat-rich{margin:10px 0 4px;border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}
.rich-head{padding:16px 18px 12px}
.rich-title{font:700 clamp(20px,3.4vw,26px)/1.3 var(--serif);letter-spacing:-.02em;margin:0 0 6px}
.rich-meta{display:flex;gap:6px;flex-wrap:wrap}
.rich-meta .pill{padding:3px 9px;font-size:11px}
.rich-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:var(--line);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.rich-gallery.single{grid-template-columns:1fr}
.rich-gallery.pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.rich-photo{margin:0;min-width:0;background:var(--paper)}
.rich-photo:first-child{grid-column:1/-1}
.rich-gallery.single .rich-photo:first-child,.rich-gallery.pair .rich-photo:first-child{grid-column:auto}
.rich-thumb{display:block;width:100%;padding:0;border:0;background:#e9ece5;cursor:zoom-in;line-height:0}
.rich-photo img{width:100%;aspect-ratio:1.62;object-fit:cover;background:#e9ece5}
.rich-photo:first-child img{aspect-ratio:2.1}
.rich-gallery.single .rich-photo:first-child img{aspect-ratio:2.1}
.rich-gallery.pair .rich-photo img{aspect-ratio:1.42}
.rich-photo figcaption{padding:8px 11px 10px;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.rich-photo figcaption b{display:block;font-size:13px;color:var(--text)}
.rich-photo figcaption span{color:var(--muted)}
.rich-photo figcaption a{white-space:nowrap}
.rich-photo figcaption .rich-source{display:block;margin-top:3px;color:var(--green)}
.rich-body{padding:14px 18px 16px}
.rich-intro{margin:0 0 14px;font-size:15px;line-height:1.75}
.rich-intro sup{font-size:11px;margin-left:2px}
.rich-routes{border-top:1px solid var(--line);padding-top:12px}
.rich-routes h4{font-size:13px;color:var(--green);letter-spacing:.04em;margin:0 0 4px}
.rich-route{display:flex;gap:10px;padding:9px 0;border-top:1px dashed var(--line)}
.rich-route:first-of-type{border-top:0}
.route-index{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pale);color:var(--green);font-size:11px;font-weight:750;margin-top:1px}
.rich-route>div{min-width:0;flex:1}
.rich-route b{display:block;font-size:13px}
.rich-route p{margin:3px 0 0;font-size:14px;overflow-wrap:anywhere}
.rich-route p i{font-style:normal;color:#8a9b8e;margin:0 4px}
.rich-route small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}
.rich-note{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:11.5px;line-height:1.6;color:var(--muted)}
.rich-follow{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.rich-follow .button{font-size:12px;padding:5px 10px;border-radius:999px;color:var(--green);border-color:var(--line);background:var(--wash)}
.rich-follow .button:hover{background:var(--pale)}
.rich-follow .rich-workspace{margin-left:auto}
.msg-actions{display:flex;align-items:center;gap:1px;margin-top:10px;padding-top:4px;border-top:1px solid var(--line);color:var(--muted)}
.msg-action{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--muted);padding:5px 7px;border-radius:7px;font-size:12px;line-height:1.1}
.msg-action:hover{background:var(--pale);color:var(--green)}
.msg-action svg{width:15px;height:15px;flex:none}
.msg-action[aria-pressed=true]{background:var(--pale);color:var(--green)}
.msg-rate{display:flex;align-items:center;gap:1px;margin-left:auto;padding-left:6px}
.copy-area,.share-area{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--wash);color:var(--text);font-size:13px;line-height:1.6;resize:vertical}
.share-area{white-space:pre-wrap}
@media(max-width:660px){
  .rich-head{padding:13px 13px 10px}
  .rich-body{padding:12px 13px 14px}
  .rich-gallery,.rich-gallery.pair{grid-template-columns:1fr}
  .rich-photo:first-child,.rich-gallery.single .rich-photo:first-child,.rich-gallery.pair .rich-photo:first-child{grid-column:auto}
  .rich-photo img,.rich-photo:first-child img,.rich-gallery.single .rich-photo:first-child img,.rich-gallery.pair .rich-photo img{aspect-ratio:1.5}
  .rich-follow .rich-workspace{margin-left:0}
  .msg-actions{flex-wrap:wrap}
  .msg-action{font-size:11px;padding:5px 6px}
}
.web-more{margin:10px 0 0;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.web-more>summary{font-size:12px;color:var(--muted);list-style-position:inside}
.web-more .result.online-results{border:0;margin-top:8px;border-radius:0}
.web-more .result-head{padding:8px 0 0;background:none;border:0}
.web-more .pane{padding:0}

/* Conversation history sidebar and app shell */
:root{--sidebar-width:264px}
.top-left{display:flex;align-items:center;gap:10px;min-width:0}
.sidebar-toggle{width:38px;height:38px;flex:none;border:0;border-radius:9px;background:none;color:var(--green);display:grid;place-items:center;padding:0}
.sidebar-toggle:hover{background:var(--pale)}
.sidebar-toggle svg{width:21px;height:21px}
.app-body{display:flex;align-items:flex-start;min-height:calc(100dvh - 74px)}
.app-body>.main{flex:1 1 auto;width:auto;max-width:934px;margin:0 auto;padding:0 17px 26px}
.sidebar{width:var(--sidebar-width);flex:none;position:sticky;top:74px;height:calc(100dvh - 74px);display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--paper);padding:14px 12px 12px;overflow:hidden}
.sidebar-head{display:flex;align-items:center;gap:7px;margin-bottom:10px}
.sidebar-new{flex:1;min-width:0;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--text);padding:9px 11px;font-weight:650;text-align:left}
.sidebar-new:hover{background:var(--pale)}
.sidebar-close{display:none;width:32px;height:32px;flex:none;place-items:center;border:0;border-radius:8px;background:none;color:var(--muted);font-size:20px;line-height:1;padding:0}
.sidebar-close:hover{background:var(--pale);color:var(--green)}
.sidebar-label{font-size:11px;letter-spacing:.08em;color:var(--muted);margin:0 4px 6px}
.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -4px;padding:0 4px}
.history-list{display:flex;flex-direction:column;gap:1px}
.history-item{display:flex;align-items:stretch;border-radius:9px;min-width:0}
.history-item:hover,.history-item:focus-within,.history-item[aria-current="true"]{background:var(--pale)}
.history-open{flex:1;min-width:0;display:block;text-align:left;border:0;background:none;color:var(--text);padding:8px 9px;border-radius:9px}
.history-title{display:block;font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-meta{display:block;font-size:11px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-item[aria-current="true"] .history-title{font-weight:650}
.history-delete{flex:none;align-self:center;width:auto;min-width:30px;padding:4px 6px;border:0;background:none;color:var(--muted);font-size:11px;border-radius:7px;opacity:0}
.history-delete:hover{background:var(--paper);color:#8a3a25}
.history-item:hover .history-delete,.history-item:focus-within .history-delete{opacity:1}
@media(hover:none){.history-delete{opacity:1}}
.sidebar-empty{color:var(--muted);font-size:12px;line-height:1.7;padding:18px 10px;text-align:center;margin:0}
.sidebar-empty span{display:block;font-size:11px;opacity:.85;margin-top:2px}
.sidebar-foot{margin-top:8px;padding-top:9px;border-top:1px solid var(--line);flex:none}
.sidebar-settings{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--muted);padding:4px;border-radius:7px;font-size:12px}
.sidebar-settings:hover{background:var(--pale);color:var(--green)}
.sidebar-settings svg{width:15px;height:15px}
.sidebar-foot p{margin:7px 4px 0;font-size:11px;line-height:1.5;color:var(--muted)}
.sidebar-foot small{font-size:10px;opacity:.9}
.sidebar-backdrop{display:none}
@media(min-width:1021px){body.sidebar-collapsed .sidebar{display:none}body:not(.sidebar-collapsed) .settings-button{display:none}}
@media(max-width:1020px){
  .app-body{display:block}
  .app-body>.main{width:auto;max-width:934px;margin:0 auto;padding:0 17px 26px}
  .sidebar{position:fixed;top:0;left:0;height:100dvh;width:min(84vw,300px);z-index:30;transform:translateX(-100%);transition:transform .22s ease;box-shadow:0 0 50px #00000033;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  body.sidebar-open .sidebar{transform:translateX(0)}
  body.sidebar-open{overflow:hidden}
  .sidebar-close{display:grid}
  .sidebar-backdrop{display:none;position:fixed;inset:0;z-index:29;border:0;background:#101e1866;padding:0}
  body.sidebar-open .sidebar-backdrop{display:block}
}
@media(max-width:660px){
  .top-left{gap:5px}
  .sidebar-toggle{width:32px;height:32px}
  .sidebar-toggle svg{width:19px;height:19px}
  .app-body{min-height:calc(100dvh - 62px)}
  .app-body>.main{padding:0 17px 26px}
}
@media(max-width:1020px){.settings-button{display:none}}
@media(min-width:661px){.welcome h1{font-size:clamp(34px,5.2vw,65px)}}
.welcome h1 span{white-space:nowrap}
/* One reply combines an image story and a readable itinerary. */
.chat-rich{border-radius:20px;box-shadow:0 8px 32px #18302106}.rich-head{padding:22px 24px 17px}.rich-eyebrow{display:block;color:var(--muted);font-size:11px;letter-spacing:.14em;margin-bottom:9px}.rich-title{font-size:clamp(25px,3vw,34px);margin-bottom:11px}.rich-meta{gap:7px}.rich-meta .pill{background:var(--pale);padding:3px 10px}
.rich-gallery{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 18px;border:0;background:var(--paper);align-items:stretch}.rich-photo{display:flex;flex-direction:column;border-radius:12px;border:1px solid var(--line);overflow:hidden}.rich-photo:first-child{grid-column:1;grid-row:1 / span 2}.rich-thumb{position:relative;flex:1;min-height:125px;overflow:hidden}.rich-gallery .rich-photo img,.rich-gallery .rich-photo:first-child img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .3s}.rich-thumb:hover img{transform:scale(1.035)}.rich-gallery .rich-photo:first-child .rich-thumb{min-height:290px}.rich-photo figcaption{padding:9px 12px;position:relative;background:var(--paper)}.rich-photo figcaption b{font-weight:600;font-size:12px}.rich-photo .photo-date{display:block;font-size:10px;margin-top:3px}.rich-credit{font-size:10px;margin-top:4px}.rich-credit summary{color:var(--muted);list-style:none}.rich-credit summary::-webkit-details-marker{display:none}.rich-credit p{font-size:11px;margin:7px 0 0;line-height:1.65}.rich-credit a{white-space:normal!important}.rich-credit[open]{padding-bottom:4px}
.rich-gallery.pair{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.rich-gallery.single{grid-template-columns:1fr;grid-template-rows:auto}.rich-gallery.single .rich-photo:first-child,.rich-gallery.pair .rich-photo:first-child{grid-column:auto;grid-row:auto}.rich-gallery.pair .rich-thumb{min-height:220px}.rich-gallery.single .rich-thumb{min-height:300px}
.rich-body{padding:3px 24px 22px}.rich-overview{padding:3px 0 18px}.rich-overview h4,.rich-routes h4{font-size:15px;font-weight:650;margin:0 0 11px;color:var(--text);letter-spacing:0}.rich-intro{white-space:pre-line;color:var(--text);font-size:14px;line-height:1.95;margin:0}.rich-routes{padding-top:18px}.rich-routes>h4{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.rich-routes>h4>span{font-size:11px;color:var(--muted);font-weight:400}.rich-route{position:relative;padding:0 0 22px;border:0;gap:14px}.rich-route:not(:last-child):before{content:"";position:absolute;left:15px;top:35px;bottom:5px;width:1px;background:var(--line)}.route-index{width:32px;height:32px;border-radius:10px;font-size:12px;letter-spacing:.03em;border:1px solid var(--line);background:var(--wash);z-index:1}.rich-route>div{padding:4px 0 0}.rich-route b{font-size:12px;color:var(--green)}.rich-route p{font-weight:550;font-size:14px;margin:5px 0;line-height:1.7}.rich-route small{font-size:12px;line-height:1.8}.rich-note{padding:12px 14px;background:var(--wash);border:1px solid var(--line);border-radius:9px;margin-top:2px;font-size:11px}.rich-follow{margin-top:16px}.rich-empty{margin:0 22px 15px;padding:12px;background:var(--pale);border-radius:9px;font-size:12px;color:var(--muted)}
@media(max-width:660px){.rich-head{padding:18px 16px 14px}.rich-title{font-size:27px}.rich-body{padding:2px 16px 18px}.rich-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:8px;padding:0 12px 15px}.rich-gallery .rich-photo:first-child{grid-column:1/-1;grid-row:auto}.rich-gallery .rich-photo:first-child .rich-thumb{min-height:210px}.rich-gallery .rich-thumb{min-height:115px}.rich-photo figcaption{padding:8px}.rich-photo figcaption b{font-size:11px}.rich-photo .photo-date{font-size:9px}.rich-gallery.pair .rich-photo:first-child{grid-column:auto}.rich-gallery.pair .rich-thumb,.rich-gallery.pair .rich-photo:first-child .rich-thumb{min-height:155px}.rich-gallery.single .rich-photo:first-child .rich-thumb{min-height:215px}.rich-routes>h4>span{font-size:10px}.rich-route{gap:11px}.rich-routes>h4{gap:5px}.rich-empty{margin-left:14px;margin-right:14px}}
/* Sourced daily forecast, arranged as a calendar rather than a text dump. */
.weather-calendar{margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(140deg,var(--wash),var(--paper))}.weather-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.weather-heading .rich-eyebrow{font-size:9px;letter-spacing:.12em;margin:0 0 4px}.weather-heading h4{font-size:18px;margin:0}.weather-range{font-size:11px;color:var(--green);text-align:right}.weather-location{font-size:12px;color:var(--muted);margin:8px 0 12px}.weather-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weather-week{text-align:center;color:var(--muted);font-size:10px;padding:5px 0}.weather-day{display:flex;align-items:center;flex-direction:column;padding:9px 3px 10px;border:1px solid var(--line);border-radius:10px;background:var(--paper);min-width:0;gap:5px}.weather-day time{align-self:flex-start;padding-left:5px;font-weight:650;font-size:13px;display:flex;gap:4px;align-items:center}.weather-day time small{font-size:8px;font-weight:400;color:var(--green)}.weather-icon{font-size:25px;line-height:1.4;font-variant-emoji:text;color:#b07d37}.tone-rain .weather-icon{color:#497ca1}.tone-snow .weather-icon{color:#6995ac}.tone-cloud .weather-icon{color:#87939c}.weather-day b{font-size:11px;font-weight:500}.weather-temp{white-space:nowrap;font-size:11px;color:var(--muted)}.weather-temp strong{font-weight:600;color:var(--text)}.weather-rain{font-size:9px;color:var(--muted);white-space:nowrap}.weather-day.is-today{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.weather-day.unavailable{background:transparent;color:var(--muted);border-style:dashed}.weather-day.unavailable .weather-rain{visibility:hidden}.weather-scope,.weather-disclaimer{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 0}.weather-disclaimer{margin-top:2px}.weather-calendar footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;padding-top:11px;margin-top:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
@media(max-width:660px){.weather-calendar{padding:11px;margin-bottom:20px}.weather-grid{gap:3px}.weather-day{border-radius:7px;padding:7px 1px;gap:4px}.weather-day time{font-size:11px;padding-left:3px}.weather-day time small{font-size:7px}.weather-day b{font-size:9px}.weather-icon{font-size:21px}.weather-temp{font-size:8px}.weather-rain{font-size:7px;letter-spacing:-.03em}.weather-range{font-size:9px;max-width:55%}.weather-heading h4{font-size:16px}.weather-location{font-size:10px}.weather-scope,.weather-disclaimer,.weather-calendar footer{font-size:9px}}
.weather-temp{display:flex;align-items:center;gap:4px;justify-content:center}
@media(max-width:660px){.weather-temp{flex-direction:column;gap:0;font-size:10px;line-height:1.4}.weather-rain{font-size:8px}}
.weather-status{padding:15px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper);margin-top:13px}.weather-status>strong{font-size:14px;color:var(--text)}.weather-status p{font-size:12px;line-height:1.85;color:var(--muted);margin:8px 0}.weather-status .weather-window{color:var(--green);background:var(--pale);border-radius:7px;padding:8px 10px}.weather-status .actions{gap:7px;margin-top:13px}.weather-year-note{font-size:11px;line-height:1.7;color:#805520;background:#fbf5e9;border-radius:8px;padding:8px 10px;margin:9px 0}.weather-refresh{margin:8px 0 0;gap:4px}.weather-refresh .button{font-size:10px;padding:3px 7px}.weather-status .weather-window b{font-weight:550}
@media(max-width:660px){.weather-status{padding:12px}.weather-status>strong{font-size:13px}.weather-status p{font-size:11px}.weather-status .button{font-size:11px}.weather-year-note{font-size:10px}}
