:root{color-scheme:light;--ink:#25312d;--muted:#7b827e;--green:#385c48;--green-soft:#edf3ed;--line:#e7eae5;--paper:#fff;--amber:#b78950;--blue:#4d7fc5}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink);background:#f8f9f6}
button,input,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
button:disabled{cursor:not-allowed}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a7c7b1;outline-offset:3px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
[hidden]{display:none!important}
.rail{position:fixed;inset:0 auto 0 0;width:62px;background:#f1f3ee;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;gap:13px;padding:20px 0;z-index:3}
.brand{color:var(--green);display:grid;place-items:center;width:32px;height:32px;margin-bottom:14px}
.brand svg{width:29px;height:29px}
.rail-button{border:0;background:transparent;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#7c867e}
.rail-button:hover,.icon-button:hover{background:#e8eee6;color:var(--green)}
.rail-button.active{background:#e1e9df;color:#3e614a}
.rail-button.new-chat{border:1px solid #dfe5da;background:#fff;color:var(--green)}
.rail-divider{height:1px;width:22px;background:#dfe4da;margin:3px 0}
.rail-bottom{margin-top:auto}
.avatar{display:grid;place-items:center;background:#dce6d8;color:#537047;width:30px;height:30px;border-radius:50%;font-size:12px}
.workspace{margin-left:62px}
.topbar{height:59px;background:#fbfcf9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px}
.breadcrumb{display:flex;align-items:center;gap:12px;color:#949b94;font-size:12px}
.breadcrumb svg{width:12px;height:12px}
.breadcrumb strong{font-weight:500;color:#4c5950}
.top-actions{display:flex;gap:18px;align-items:center}
.prototype-label{font-size:11px;letter-spacing:1px;background:#eef1e9;color:#7d876f;padding:5px 9px;border-radius:5px}
.text-button{border:0;background:none;display:inline-flex;align-items:center;gap:5px;padding:5px 0;color:#717c72;font-size:12px}
.text-button svg{width:12px;height:12px}
.workbench{height:calc(100dvh - 59px);display:grid;grid-template-columns:clamp(415px,42vw,610px) minmax(0,1fr)}
.chat-pane{background:var(--paper);display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #dce1d7;z-index:1}
.thread-header{padding:19px 30px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f1ed;gap:12px}
h1{font-size:16px;font-weight:600;letter-spacing:.3px;margin:0 0 5px}
.thread-subtitle{font-size:11px;color:#90978f}
.thread-state{font-size:11px;color:#8a816c;display:flex;align-items:center;gap:6px;white-space:nowrap}
.thread-state i{height:5px;width:5px;background:#b3a581;border-radius:50%}
.thread-state.complete{color:#5e8165}.thread-state.complete i{background:#6c9272}
.conversation{overflow:auto;padding:25px 30px 20px;flex:1;scrollbar-width:thin;scrollbar-color:#e1e5dd transparent;scroll-behavior:smooth}
.user-turn{margin:0 0 22px auto;max-width:92%;display:flex;flex-direction:column;align-items:flex-end}
.file-chip{display:flex;gap:10px;align-items:center;border:1px solid #e2e6df;background:#fcfdfa;padding:10px 12px;border-radius:10px;margin-bottom:9px;max-width:100%;text-align:left}
.file-type{width:32px;height:35px;border-radius:6px;display:grid;place-items:center;color:#668770;background:#edf3ec;flex-shrink:0}
.file-type svg{width:18px;height:18px}
.file-details{min-width:0}
.file-name{font-size:11px;font-weight:500;overflow-wrap:anywhere;line-height:1.5}
.file-meta{font-size:10px;color:#90978d;margin-top:4px;display:flex;align-items:center;gap:5px}
.file-meta svg{width:11px;height:11px;color:#6c9272}
.user-message{background:#f0f2ee;border-radius:13px 3px 13px 13px;padding:10px 15px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.assistant-turn{margin-bottom:18px}
.activity{font-size:11px;color:#92998f;margin:0 0 17px}
.activity summary{list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer;width:fit-content;min-height:25px}
.activity summary::-webkit-details-marker{display:none}
.activity summary>svg{width:12px;height:12px;transition:transform .15s}
.activity[open] summary>svg{transform:rotate(90deg)}
.activity .check-icon{width:13px;height:13px;color:#77907b;margin-right:1px}
.activity .activity-time{margin-left:4px;color:#b1b6ad}
.activity-log{margin:5px 0 10px 6px;border-left:1px solid #e5e9e0;padding:1px 0 1px 15px;line-height:2;color:#92998f}
.activity-log span{display:block}
.assistant-copy{font-size:13px;line-height:1.9;margin:0 0 18px;color:#485349;overflow-wrap:anywhere}
.clarification{border:1px solid #dfe5dc;border-radius:12px;background:#fff;overflow:hidden}
.question-heading{padding:17px 17px 13px}
.question-eyebrow{font-size:10px;color:#92998d;display:flex;align-items:center;gap:6px;letter-spacing:.2px;margin-bottom:8px}
.question-eyebrow .question-dot{width:5px;height:5px;background:#b99b68;border-radius:50%}
.question-heading h2{font-size:14px;margin:0;font-weight:500;color:#263c2d}
.question-heading p{font-size:11px;color:#92998c;margin:7px 0 0;line-height:1.6}
.question-footer{padding:13px 17px;display:flex;justify-content:space-between;align-items:center;background:#fafbf8;border-top:1px solid #ebeee7;gap:8px}
.later-button{border:0;background:none;color:#939b8c;font-size:11px;padding:7px 0}
.primary-button{border:1px solid #385c48;border-radius:7px;background:#385c48;color:#fff;font-size:11px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;transition:background .15s;white-space:nowrap}
.primary-button svg{width:13px;height:13px}
.primary-button:hover{background:#2b4938}
.primary-button:disabled{background:#e9ede5;border-color:#e9ede5;color:#a2ad9a}
.question-footnote{font-size:10px;color:#a1a797;margin:11px 0 0;display:flex;gap:5px;align-items:center}
.question-footnote svg{width:11px;height:11px}
.composer-area{padding:11px 23px 13px;background:linear-gradient(0deg,#fff 80%,#ffffff00)}
.composer{border:1px solid #dbe2d6;border-radius:13px;padding:13px 12px 9px;box-shadow:0 3px 12px #22331704;background:white;transition:border .15s}
.composer:focus-within{border-color:#9bb394;box-shadow:0 0 0 2px #f1f6ed}
.composer textarea{border:0;background:transparent;resize:none;width:100%;outline:none;font-size:12px;color:var(--ink);line-height:1.7;min-height:28px;max-height:100px;padding:0 2px}
.composer textarea::placeholder{color:#a1a99a}
.composer-tools,.composer-tools>div{display:flex;align-items:center;gap:8px}
.composer-tools{justify-content:space-between;margin-top:4px}
.icon-button{width:28px;height:28px;display:inline-grid;place-items:center;border:0;background:transparent;border-radius:6px;color:#929e88;padding:4px}
.icon-button svg{width:16px;height:16px}
.send-button{background:var(--green);color:white;border:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%}
.send-button svg{width:16px;height:16px}
.composer-foot{font-size:9px;color:#b0b7a9;display:flex;gap:8px;justify-content:space-between;margin:10px 4px 0;flex-wrap:wrap}
.composer-foot>span:first-child{display:flex;align-items:center;gap:5px}
.composer-foot i{width:4px;height:4px;background:#a6b39b;border-radius:50%}
.map-pane{background:#e1e7d9;position:relative;overflow:hidden;min-width:0}
.map-canvas{position:absolute;inset:0;transition:transform .5s}
.base-map{width:100%;height:100%;display:block;stroke:none;stroke-linecap:round;stroke-linejoin:round}
.map-labels text{font-size:14px;fill:#94a18a;letter-spacing:2px;stroke:#e2e9dc;stroke-width:3px;paint-order:stroke;stroke-linejoin:round}
.map-labels .road-label{font-size:11px;fill:#a6ad9e}
.map-topline{position:absolute;top:21px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.map-mode{display:flex;align-items:center;gap:7px;font-size:11px;color:#67765e;background:#fafcf5eb;backdrop-filter:blur(5px);border:1px solid #ffffff90;border-radius:7px;padding:8px 11px;box-shadow:0 2px 8px #63745005}
.map-mode svg{width:13px;height:13px}
.map-demo{font-size:10px;color:#87947c;text-shadow:0 1px #f4f8ed}
.map-toolbar{position:absolute;right:20px;top:90px;display:flex;flex-direction:column;gap:4px;padding:5px;background:#fbfcf7eb;border:1px solid #fdfef8;border-radius:9px;box-shadow:0 4px 15px #5f6f4e08}
.map-toolbar .icon-button{font-size:20px;width:29px;height:30px;color:#7a896e}
.map-toolbar>span{height:1px;margin:2px 5px;background:#e7ecdf}
.north-arrow{position:absolute;right:28px;bottom:190px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#91a182;font-size:10px}
.north-arrow span+span{font-size:27px;font-weight:300}
.map-file-label{position:absolute;top:45%;left:25%;background:#fbfcffed;padding:8px 10px;border:1px solid #d5e1f4;border-radius:5px;color:#5d80b2;font-size:10px;box-shadow:0 2px 7px #526b7410;display:flex;align-items:center;gap:6px}
.small-dot{width:5px;height:5px;background:#6690ca;border-radius:50%}
.label-line{width:1px;height:22px;position:absolute;top:100%;left:30px;background:#a6bad5}
.target-map-label{position:absolute;top:36%;left:57%;border:1px solid #ddc49b;background:#fff9eced;padding:7px 10px;border-radius:5px;font-size:10px;color:#b08b55;max-width:190px}
.map-legend{position:absolute;left:22px;bottom:43px;display:flex;gap:14px;align-items:center;font-size:9px;color:#7e8d70;flex-wrap:wrap;max-width:calc(100% - 40px);background:#edf2e5b3;padding:6px 8px;border-radius:4px}
.map-legend>div{display:flex;align-items:center;gap:5px}
.legend-symbol{width:10px;height:9px;border-radius:2px;display:block}
.legend-symbol.blue{background:#85a3d133;border:1.5px solid #7999c6}
.legend-symbol.amber{background:#d9b48033;border:1.5px dashed #bb9766}
.map-footer{position:absolute;bottom:16px;left:22px;right:22px;font-size:8px;color:#95a186;display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.scale-bar{display:block;min-width:55px;text-align:center;border-bottom:2px solid #91a07e;padding-bottom:3px;position:relative}
.scale-bar:before,.scale-bar:after{content:"";position:absolute;bottom:0;height:4px;width:1px;background:#91a07e}
.scale-bar:before{left:0}.scale-bar:after{right:0}
.map-toggle,.mobile-back{display:none}
.selection-receipt{display:flex;align-items:center;gap:8px;color:#6a7d60;border-bottom:1px solid #e7ede0;padding:0 0 13px;margin:0 0 18px;font-size:11px;flex-wrap:wrap}
.selection-receipt svg{width:13px;height:13px}
.running-line{display:flex;align-items:center;gap:9px;font-size:12px;color:#536c49;margin:20px 0 13px}
.spinner{width:13px;height:13px;border:1.5px solid #e2e9db;border-top-color:#7e9870;border-radius:50%;animation:spin 1s linear infinite;display:inline-block;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}
.run-footer{margin-top:17px;color:#a5ad9c;font-size:10px}
.result-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 10px}
.result-heading h2{font-size:15px;font-weight:500;margin:0}
.demo-badge{font-size:9px;color:#9c947c;border:1px solid #e9e5d7;border-radius:4px;padding:3px 5px;white-space:nowrap}
.result-copy{font-size:13px;line-height:1.9;color:#53614d;margin:0 0 16px}
.result-copy strong{color:#3b573b;font-weight:600}
.result-table{border-collapse:collapse;width:100%;margin:8px 0 12px;font-size:11px}
.result-table th{text-align:left;color:#98a08f;font-weight:400;background:#f7f9f3;padding:10px 9px}
.result-table td{padding:13px 9px;border-bottom:1px solid #e9ede2;color:#718267}
.result-table td:last-child,.result-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.result-note{font-size:10px;color:#a1a58f;line-height:1.8;margin:0 0 16px}
.result-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.secondary-button{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;font-size:10px;border:1px solid #dce4d5;border-radius:6px;background:white;color:#7c8d6e}
.secondary-button svg{width:12px;height:12px}
.pause-state{padding:18px 0;color:#6a7c5d;font-size:12px;line-height:1.8}
.pause-state p{margin:0 0 16px}
.chat-notice{font-size:11px;line-height:1.8;color:#8b997d;padding:10px 0;margin-bottom:15px}
dialog{border:1px solid #e0e7d9;border-radius:17px;background:#fff;color:var(--ink);width:min(570px,calc(100% - 36px));padding:29px;box-shadow:0 20px 80px #24351922;max-height:90dvh}
dialog::backdrop{background:#26351f40;backdrop-filter:blur(4px)}
.dialog-header{display:flex;justify-content:space-between;gap:15px;margin-bottom:25px}
.eyebrow{font-size:9px;letter-spacing:2px;color:#9eab91}
.dialog-header h2{font-size:20px;margin:10px 0 0;font-weight:500;line-height:1.6;color:#3b5435}
.flow{display:flex;flex-direction:column;gap:23px;margin:0 0 23px}
.flow>div{display:grid;grid-template-columns:28px 1fr;gap:5px 10px}
.flow b{font-size:10px;font-weight:500;color:#9cad8f;padding-top:3px}
.flow strong{font-size:12px;font-weight:500;color:#5c7350}
.flow p{grid-column:2;font-size:11px;line-height:1.8;color:#94a086;margin:0}
.guide-note{padding:14px;border-radius:8px;background:#f5f7f0;color:#99a18b;font-size:10px;line-height:1.9;margin:0 0 22px}
.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);padding:12px 20px;background:#354b31ed;border:1px solid #5a7054;color:#f4f9f0;box-shadow:0 5px 25px #26351c15;border-radius:10px;z-index:10;font-size:12px;max-width:calc(100% - 40px);line-height:1.7;text-align:center}
@media(min-width:1500px){.conversation{padding-left:42px;padding-right:42px}.composer-area{padding-left:34px;padding-right:34px}.thread-header{padding-left:42px;padding-right:42px}.map-legend{bottom:49px}}
@media(max-width:1050px){.workbench{grid-template-columns:minmax(380px,54%) minmax(0,1fr)}.thread-header{padding:17px 22px}.conversation{padding:20px 22px}.composer-area{padding:8px 16px 12px}.map-topline{left:15px;right:15px}.map-demo{max-width:70px;text-align:right;line-height:1.6}.map-legend{left:15px;bottom:51px;gap:9px}.map-footer{left:15px;right:15px}.map-footer>span:last-child{max-width:155px;text-align:right;line-height:1.6}.north-arrow{bottom:210px}.target-map-label{left:46%;max-width:135px;line-height:1.6}.map-file-label{left:16%}.question-heading{padding:14px 15px 11px}.question-footer{padding:12px 15px}}
@media(max-width:760px){.rail{width:48px;padding-top:17px;gap:12px}.workspace{margin-left:48px}.brand{margin-bottom:10px}.rail-button{width:32px;height:32px}.topbar{padding:0 17px;height:52px}.workbench{height:calc(100dvh - 52px);grid-template-columns:1fr}.chat-pane{border:0}.map-pane{display:none}.map-toggle{display:inline-grid;margin-left:auto}.thread-header{padding:17px 23px}.thread-state{font-size:10px}.conversation{padding:22px 25px}.composer-area{padding:10px 20px 12px}.top-actions{gap:10px}.top-actions .text-button{font-size:11px}.breadcrumb{gap:6px}.map-open .chat-pane{display:none}.map-open .map-pane{display:block}.map-open .map-pane:after{content:"";pointer-events:none}.mobile-back{display:block;position:absolute;top:64px;left:15px;background:#fcfdf7f0;border:1px solid #dfe7d7;padding:8px 12px;border-radius:6px;font-size:11px;color:#718460;z-index:2}.map-legend{bottom:47px}.target-map-label{left:53%}.thread-subtitle{font-size:10px}.file-name{font-size:11px}.question-heading h2{font-size:14px}}
@media(max-width:420px){.top-actions .prototype-label{display:none}.conversation{padding:18px 17px}.thread-header{padding:15px 18px}.composer-area{padding:8px 12px 10px}.thread-subtitle{display:none}.thread-header h1{margin:0}.question-heading{padding:14px 12px 11px}.layer-options{padding:0 5px}.layer-option{gap:8px}.layer-preview-indicator{display:none}.question-footer{padding:12px 10px}.primary-button{padding:10px;font-size:10px}.later-button{font-size:10px}.composer-foot{font-size:8px}.file-chip{gap:7px;padding:9px}.file-meta{font-size:9px}.user-turn{max-width:100%}.question-heading p{font-size:10px}.layer-description{font-size:9px}.catalog-section{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* 参考工作台的浅紫对话、底部操作面板与蓝紫色主操作。 */
:root{--ink:#283241;--muted:#8a8f9c;--green:#6965ec;--green-soft:#f0efff;--line:#e8e9f1;--blue:#7478ed}
body{background:#f7f8ff}
.rail{width:66px;background:#fff;border-right:1px solid #e9eaf3;gap:17px}
.brand{border-radius:12px;width:36px;height:36px;background:linear-gradient(140deg,#5e6df1,#8a6ef2);color:#fff;box-shadow:0 5px 14px #6767ee18;margin-bottom:2px}
.brand svg{width:23px;height:23px}
.rail-button{color:#969aab}
.rail-button.active{color:#7475ed;background:#f0f0ff}
.rail-button.new-chat{border:0;background:none;color:#9093a2}
.rail-divider{display:none}
.rail-button:hover,.icon-button:hover{color:#7374e8;background:#f0f0ff}
.avatar{background:#f5f6ff;color:#939ad7;border:1px solid #e9ebff}
.workspace{margin-left:66px}
.topbar{display:none}
.workbench{height:100dvh;grid-template-columns:var(--chat-width, min(48vw,660px)) 1px minmax(0,1fr)}
.chat-pane{border:0;background:linear-gradient(120deg,#f1f3ff 0%,#f8f9ff 65%,#f1f4fd 100%)}
.thread-header{padding:19px 26px 16px;background:#ffffffc9;border-bottom:1px solid #e5e8f3;min-height:76px;gap:10px}
h1{font-size:17px;font-weight:600;letter-spacing:0;margin:0 0 7px;color:#273142}
.thread-subtitle{color:#969ba7;font-size:11px}
.thread-state{font-size:10px;color:#969cb0;margin-left:auto;background:#f3f4fc;padding:5px 8px;border-radius:5px}
.thread-state i{background:#a6add2}
.thread-state.complete{background:#eef6f1;color:#75a18d}
.thread-state.complete i{background:#7db29b}
.demo-entry{flex-shrink:0;border:1px solid #e5e7ef;border-radius:6px;color:#60667d;font-size:11px;padding:6px 9px;white-space:nowrap}
.demo-entry:hover{background:#f3f4fa}
.demo-context{flex-shrink:0;margin:12px 21px 0;padding:9px 12px;border:1px solid #e5e7f0;border-radius:9px;background:#ffffffd9;color:#656c82}
.demo-context strong{font-size:11px;font-weight:600;color:#414963}
.demo-context p{margin:4px 0 0;font-size:11px;line-height:1.65}
.chat-resizer{position:relative;z-index:4;cursor:col-resize;background:#e2e6f3;touch-action:none;outline-offset:2px}
.chat-resizer:before{content:"";position:absolute;inset:0 -4px}
.chat-resizer span{position:absolute;top:48%;left:-2px;width:4px;height:34px;background:#c5cee3;border-radius:3px}
.conversation{padding:24px 25px 17px;scrollbar-color:#c8cee0 transparent}
.user-turn{max-width:90%;margin-bottom:23px}
.file-chip{background:#fff;border-color:#e3e7f2;box-shadow:0 2px 8px #4b558805;padding:11px 13px;border-radius:9px}
.file-chip.has-progress{width:min(320px,100%)}
.file-chip.has-progress .file-details{flex:1}
.file-parse-turn{min-width:0}
.file-parse-progress{width:100%;height:4px;overflow:hidden;margin:6px 0 1px;border-radius:8px;background:#e8ebf7}
.file-parse-progress span{display:block;width:36%;height:100%;border-radius:inherit;background:#777fc9;animation:file-parsing 1.05s ease-in-out infinite}
.file-parse-progress.is-complete span{width:100%;animation:none;background:#8990c8}
@keyframes file-parsing{from{transform:translateX(-100%)}to{transform:translateX(280%)}}
@media(prefers-reduced-motion:reduce){.file-parse-progress span{animation:none}}
.parsed-file{margin-top:9px;padding:11px 13px;border:1px solid #e4e8f3;border-radius:9px;background:#fff}
.file-parse-summary{margin-top:5px}
.file-attributes{min-width:0}
.file-preview-note{margin:6px 0 0;color:#7b869d;font-size:10px;line-height:1.6}
.file-table-scroll{max-width:100%;max-height:162px;overflow:auto;border:1px solid #e9edf5;border-radius:7px;scrollbar-width:thin}
.file-table-scroll table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px;color:#525d76}
.file-table-scroll :is(th,td){padding:6px 9px;text-align:left;line-height:1.5;border-bottom:1px solid #edf0f6;vertical-align:top}
.file-table-scroll thead th{position:sticky;top:0;background:#f5f7fb;color:#5e6a84;white-space:nowrap;font-weight:600}
.file-table-scroll tbody th{color:#7b869d;font-weight:400}
.file-table-scroll td{min-width:7ch;max-width:28ch;overflow-wrap:anywhere}
.file-table-scroll tr:last-child :is(th,td){border-bottom:0}
.file-table-pages,.file-table-pages>div{display:flex;align-items:center;gap:12px}
.file-table-pages{justify-content:space-between;margin-top:5px;color:#7b869d;font-size:10px}
.file-table-pages .text-button{font-size:10px;color:#637199;padding:3px 0}
.file-table-pages .text-button:disabled{opacity:.45}
.file-type{background:#f1f1ff;color:#7b7af0}
.file-name{font-size:12px;color:#606a85}
.file-meta{font-size:10px;color:#a2a8b7}
.file-meta svg{color:#7ba994}
.user-message{background:#e4e8ff;color:#414b63;padding:11px 17px;border-radius:13px 4px 13px 13px}
.activity{color:#959dad;font-size:11px;margin-bottom:15px}
.activity .check-icon{color:#7ba994}
.activity-log{color:#97a0af;border-left-color:#dfe4f2}
.activity .activity-time{color:#b5bdce}
.assistant-copy{color:#687187;line-height:1.9;font-size:13px;margin-bottom:0}
.composer-area{background:transparent;padding:10px 21px 14px;max-height:70%;display:flex;flex-direction:column;flex-shrink:0}
#operation-dock{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9cdec transparent;padding:3px}
.clarification{border:1px solid #a5a8f4;border-radius:14px;background:#fff;box-shadow:0 0 0 2px #b2b7f414,0 5px 18px #6267ad08}
.question-heading{padding:16px 15px 10px}
.question-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.question-heading h2{font-size:13px;font-weight:600;color:#354058}
.question-heading p{font-size:11px;color:#969eb0;margin:4px 0 0}
.question-title-row .icon-button{width:21px;height:21px}
.question-title-row svg{width:13px;height:13px}
.question-footer{border-color:#eceef6;background:#fff;padding:12px 15px;gap:10px}
.selection-status{font-size:10px;color:#a1a9bd;line-height:1.6}
.primary-button{background:linear-gradient(110deg,#6672ee,#7561e8);border-color:transparent;border-radius:8px;font-size:11px;padding:10px 13px;box-shadow:0 3px 8px #7473ee0a}
.primary-button:hover{background:linear-gradient(110deg,#5b67e4,#6d59dc)}
.primary-button:disabled{background:#e9ebf6;border-color:transparent;color:#acb3cb;box-shadow:none}
.composer{border-color:#dedee3;border-radius:16px;padding:14px 12px 10px;box-shadow:0 2px 6px #00000004}
.composer:focus-within{border-color:#bcbcc5;box-shadow:0 0 0 1px #00000003}
.composer textarea{font-size:12px;min-height:32px;color:#35353c}
.composer textarea::placeholder{color:#a0a0a8}
.composer button:focus-visible{outline:2px solid #bdbdc5;outline-offset:2px}
.send-button{border-radius:50%;width:30px;height:30px;background:#28282d}
.send-button:hover{background:#44444a}
.stop-button{height:30px;padding:0 12px;border:0;border-radius:15px;background:#28282d;color:#fff;font-size:11px;white-space:nowrap}
.stop-button:hover{background:#44444a}
.composer-tools .icon-button{background:transparent;color:#85858f;border-radius:7px}
.composer-tools .icon-button:hover{background:#f2f2f4;color:#4d4d56}
.input-hint{font-size:10px;color:#a1a1a9}
.tool-context{font-size:11px;color:#99a2be;line-height:1.8;padding:0 0 8px 22px;overflow-wrap:anywhere}
.tool-found{display:flex;align-items:center;gap:6px;font-size:11px;color:#83a797;margin:8px 0 14px}
.tool-found svg{width:13px;height:13px}
.composer.is-clarifying{display:flex;flex-direction:column;min-height:0}
#candidate-dock{border-bottom:1px solid #ebebef;margin-bottom:12px;padding-bottom:9px;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#d6d6dc transparent}
.candidate-dock-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:1px 4px 8px}
.candidate-dock-header strong{font-size:12px;font-weight:500;color:#3e3e46}
.candidate-dock-header>span{font-size:10px;color:#a0a0aa}
.candidate-list{margin:0}
.candidate-choice{display:flex;align-items:center;gap:10px;width:100%;min-height:57px;padding:9px 8px;border:0;border-radius:8px;background:transparent;text-align:left;color:#62626d}
button.candidate-choice:hover{background:#f4f4f6}
.candidate-number{display:grid;place-items:center;flex-shrink:0;width:22px;height:23px;border:1px solid #e2e2e7;border-radius:5px;background:#fff;color:#777780;font-size:11px;font-variant-numeric:tabular-nums}
.candidate-info{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.candidate-info strong{font-size:12px;font-weight:500;color:#484851;line-height:1.6}
.candidate-info small{font-size:10px;color:#9999a3;line-height:1.7}
.candidate-choice>svg{width:13px;height:13px;color:#b2b2ba}
.composer.has-inline-choices{--inline-choice-row:52px;--inline-choice-indent:40px}
.has-inline-choices #candidate-dock{display:flex;flex-direction:column;border:0;margin-bottom:4px;padding-bottom:0;overflow:hidden}
.has-inline-choices .candidate-dock-header{flex-shrink:0;margin-inline:8px}
.has-inline-choices .candidate-list{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d6d6dc transparent}
.has-inline-choices .candidate-list.is-scrollable{max-height:calc(var(--inline-choice-row) * 4)}
.has-inline-choices .candidate-choice{min-height:var(--inline-choice-row);padding-block:6px}
.has-inline-choices .candidate-info strong{overflow-wrap:anywhere}
.has-inline-choices textarea{padding:0 8px 0 var(--inline-choice-indent);font-size:12px;line-height:1.6;color:#484851}
.has-inline-choices .candidate-list:focus-within{scroll-padding-block:4px}
.composer.is-clarifying textarea,.composer.is-clarifying .composer-tools{flex-shrink:0}
.composer-foot{color:#adadb5;font-size:9px}
.composer-foot i{background:#b4b4bc}
.selection-receipt{border-color:#e9ecf4;color:#8c95b1;font-size:11px}
.result-card{background:#fff;border:1px solid #e5e9f2;border-radius:12px;padding:18px 16px}
.result-heading h2{font-size:14px;color:#344159;font-weight:600}
.demo-badge{color:#b1a28b;background:#fff9ef;border:0;font-size:9px;padding:4px 6px}
.result-copy{font-size:12px;color:#8b93a7;margin-bottom:12px}
.result-copy strong{color:#5e6884}
.result-metrics{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin:13px 0 16px}
.result-metrics>div{display:flex;flex-direction:column;gap:7px}
.result-metrics>div>span{font-size:10px;color:#969eb3}
.result-metrics strong{font-size:27px;font-weight:600;color:#4e5a78;letter-spacing:-.8px}
.result-metrics small{font-size:11px;font-weight:400;letter-spacing:0;margin-left:4px;color:#919ab0}
.source-areas{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#a2a9b9;padding-bottom:12px;border-bottom:1px solid #edf0f6}
.region-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #f0f2f7;font-size:11px}
.region-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.region-info strong{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;color:#596682}
.region-info small{font-size:9px;color:#a9b0c2;line-height:1.6}
.region-value{font-size:10px;color:#848fa9;white-space:nowrap;font-variant-numeric:tabular-nums}
.region-a{--region-color:#467bca}
.region-ab{--region-color:#6555af}
.region-b{--region-color:#378a80}
.region-dot{display:inline-block;height:8px;width:8px;border-radius:2px;flex-shrink:0;background:var(--region-color)}
.result-note{font-size:10px;color:#a7afbf;line-height:1.8;margin:14px 0}
.full{width:100%}
.download-hint{font-size:10px;color:#abb3c5;line-height:1.8;margin-top:8px}
.result-actions{display:grid;gap:8px}
.result-actions .secondary-button{justify-content:center;padding:9px 12px;color:#565662}
.secondary-button{border-color:#e2e6f1;color:#8b93c6;background:#fff}
.pause-state{color:#8a94af}
.running-line{color:#7a82bd}
.spinner{border-color:#e5e7fa;border-top-color:#8589e4}
.run-footer{color:#b0b7cd}.text-button{color:#9da5be}
.export-options{padding:0 14px;display:flex;flex-direction:column;gap:5px}
.export-option{display:flex;align-items:center;gap:9px;border:1px solid #e7eaf4;padding:9px;border-radius:8px;background:#fff;cursor:pointer}
.export-option:has(input:checked){border-color:#dce0eb}
.export-option:hover{background:#f8f9fc}
.export-option input{accent-color:#4b536b;margin:0}
.export-note{font-size:9px;color:#adb5c9;padding:11px 15px 0;line-height:1.8}
.export-note+.question-footer{border:0}
.export-map-link{display:none}
@media(max-width:760px){.export-map-link{display:flex;width:max-content;color:#586489;font-size:11px;margin-top:3px}}
.map-pane{background:#e7ece6}
.map-topline{top:21px;left:22px;right:22px}
.map-mode{font-size:10px;background:#ffffffeb;color:#a0a7b7;border:0;padding:11px 12px;border-radius:8px}
.map-mode i{width:5px;height:5px;background:#8db9a8;border-radius:50%}
.map-demo{font-size:10px;color:#9ba69b;background:#ffffffae;padding:7px 9px;border-radius:5px;text-shadow:none}
.map-toolbar{border:0;background:transparent;box-shadow:none;right:22px;gap:8px;padding:0}
.map-toolbar .icon-button{background:#ffffffec;color:#8d97ba;width:35px;height:35px;border-radius:8px;box-shadow:0 2px 6px #747f8a09}
.map-toolbar>span{display:none}
.map-file-label{color:#878de0;border-color:#dbdef8;background:#fcfcffed}
.small-dot{background:#898ee7}
.target-map-label{color:#c28b84;border-color:#eccdc8;background:#fff9f7ed}
.map-legend{left:22px;bottom:44px;display:flex;flex-direction:column;align-items:stretch;gap:11px;background:#ffffffed;border:1px solid #ffffffb0;box-shadow:0 4px 14px #63718309;padding:15px 17px;border-radius:11px;min-width:175px;color:#9ba4b6;font-size:10px;max-width:calc(100% - 45px)}
.map-legend h3{font-size:11px;font-weight:600;color:#626e87;margin:0 0 2px}
.map-legend small{font-size:9px;color:#a9b1c4;margin-left:auto}
.legend-symbol.blue{border:1.5px solid #8388ed;background:#8388ed18}
.legend-symbol.amber{border:1.5px solid #d7958b;background:#d7958b22}
.map-legend #result-legend{gap:6px 10px;flex-wrap:wrap;font-size:9px;max-width:245px}
.result-legend-item{display:inline-flex;align-items:center;gap:5px}
.map-footer{font-size:8px;color:#93a091}
.north-arrow{color:#a5b0a1;bottom:65px}
.toast{background:#626b9dee;border-color:#7881b0;color:#f7f9ff;pointer-events:none}
dialog{border-color:#e4e7f3;box-shadow:0 20px 80px #34436d22}
dialog::backdrop{background:#2b335045}
.dialog-header h2{color:#5b6589}
.eyebrow{color:#b0b5d0}
.flow b{color:#a6acd2}.flow strong{color:#727ea5}.flow p{color:#a0a9bd}
.guide-note{background:#f5f6ff;color:#a1aac1}
#guide-dialog .dialog-header{margin-bottom:16px}
.demo-intro{margin:7px 0 0;color:#697085;font-size:12px;line-height:1.65}
.demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
.demo-path{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;border:1px solid #e5e7ef;border-radius:9px;padding:11px 12px;background:#fff;color:#3e465d;text-decoration:none}
.demo-path:hover{border-color:#cdd1e6;background:#f7f8fe}
.demo-path:focus-visible{outline:2px solid #8c92c0;outline-offset:2px}
.demo-path strong{font-size:12px;font-weight:600}
.demo-path span{grid-row:2;color:#6d758c;font-size:10px}
.demo-path svg{grid-column:2;grid-row:1/3;width:14px;height:14px;color:#8c93ab}
.guide-rules>summary{font-size:11px;color:#60667d;cursor:pointer}
.guide-rules .flow{margin-top:16px}
.guide-rules .guide-note{margin-bottom:0}
@media(max-width:480px){#guide-dialog{padding:18px}.demo-grid{grid-template-columns:1fr}.demo-context{margin:8px 12px 0}.demo-entry{padding:5px 6px;font-size:10px}}
.mobile-back{color:#9198ca;border-color:#e0e4f3;background:#ffffffeb}
@media(min-width:1500px){.conversation{padding:27px 30px 20px}.composer-area{padding:10px 25px 17px}.thread-header{padding:21px 30px 17px}}
@media(max-width:1050px) and (min-width:761px){.workbench{grid-template-columns:var(--chat-width,52%) 1px minmax(0,1fr)}.thread-header{padding:17px 21px}.conversation{padding:21px}.composer-area{padding:9px 16px 12px}.thread-state{padding:4px 6px}.thread-subtitle{font-size:10px}.map-topline{left:15px;right:15px}.map-demo{max-width:95px;line-height:1.6}.map-mode{padding:9px;font-size:9px}.map-legend{left:15px;bottom:45px;padding:13px;min-width:160px}.map-toolbar{right:15px}.version-row>span{display:none}.result-metrics strong{font-size:25px}.region-value{font-size:9px}}
@media(max-width:760px){.rail{width:48px}.workspace{margin-left:48px}.workbench{height:100dvh;grid-template-columns:1fr!important}.chat-resizer{display:none}.thread-header{min-height:73px;padding:18px}.thread-state{margin-left:0}.map-toggle{margin-left:auto}.conversation{padding:20px}.composer-area{padding:9px 12px 13px;max-height:70%}.map-mode{padding:9px}.map-legend{left:16px}.version-row>span{display:none}.mobile-back{top:64px;font-size:10px}.question-heading h2{font-size:12px}}
@media(max-width:420px){h1{font-size:14px}.thread-subtitle{display:block;font-size:9px}.thread-state{font-size:9px;padding:4px}.thread-header{gap:6px;padding:15px 13px}.conversation{padding:17px 14px}.composer-area{padding:8px;max-height:73%}.file-name{font-size:10px}.file-meta{font-size:9px}.assistant-copy{font-size:12px}.question-heading{padding:12px 11px 8px}.question-heading p{font-size:10px}.layer-options{padding:0 10px}.layer-option{padding:8px;min-height:48px}.layer-name{font-size:11px}.layer-version{font-size:8px}.layer-description{font-size:9px}.catalog-toggle{margin:4px 11px 0;width:calc(100% - 22px)}.question-footer{padding:10px}.selection-status{font-size:9px;max-width:150px}.primary-button{font-size:10px;padding:9px 10px}.region-value{font-size:9px}.export-option{flex-wrap:wrap}.export-option .region-value{margin-left:23px}.result-card{padding:15px 12px}.result-metrics strong{font-size:24px}.source-areas{font-size:9px}.result-heading h2{font-size:12px}}

/* 三种范围入口共用输入框与地图草稿，不增加独立状态提示卡。 */
.composer-area{position:relative}
.source-methods{display:flex;flex-direction:column;gap:7px;width:100%}
.source-entry{display:flex;align-items:center;gap:12px;width:100%;padding:11px 13px;min-height:61px;border:1px solid #e3e5ef;border-radius:10px;background:#ffffffbf;text-align:left;color:#7a7d98}
.source-entry:hover{background:#fff;border-color:#cbd0e2}
.source-entry>svg{width:20px;height:20px;stroke-width:1.5;flex-shrink:0}
.source-entry>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.source-entry strong{font-size:12px;font-weight:500;color:#5c657f}
.source-entry small{font-size:10px;color:#a1a8bd;line-height:1.6}
.source-methods.compact{gap:2px}
.compact .source-entry{min-height:49px;padding:8px;border:0;background:transparent;border-radius:7px}
.compact .source-entry:hover{background:#f4f4f6}
.compact .source-entry strong{color:#555560}
.compact .source-entry small{color:#a0a0aa}
.sample-link{margin-top:12px;font-size:11px!important;color:#9699c9}
.range-menu{position:absolute;bottom:calc(100% - 4px);left:22px;right:22px;z-index:8;padding:12px;background:#fff;border:1px solid #e4e4e8;border-radius:13px;box-shadow:0 9px 30px #20203012}
.range-menu-title{font-size:10px;color:#a0a0aa;margin:0 8px 6px}
.scope-attachment{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0 0 12px;padding:10px;background:#f7f7f9;border:1px solid #ebebef;border-radius:9px}
.scope-attachment>span{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap;color:#777784}
.scope-attachment svg{width:14px;height:14px}
.scope-attachment strong{font-size:11px;font-weight:400;max-width:100%;overflow-wrap:anywhere}
.scope-attachment small{font-size:9px;color:#aaaab3}
.scope-attachment>div{display:flex;align-items:center;gap:8px;margin-left:auto}
.scope-attachment .text-button{font-size:10px;color:#8c8c99}
.scope-attachment .icon-button{width:20px;height:20px}
.scope-attachment .scope-preview,.file-type .scope-preview{width:24px;height:24px}
.scope-preview-shape{fill:#e1e5fb;stroke:#6874c3;stroke-width:1.25}
.file-meta{line-height:1.8}
.base-map.is-editing{cursor:crosshair;touch-action:none}
.map-file-label,.target-map-label,.north-arrow,.map-footer,.map-topline,.map-legend{pointer-events:none}
.source-feature{fill:#ffffff50;stroke:#9aa6b6;stroke-width:1.3}
.feature-label{font-size:15px;fill:#8491a6;stroke:#f7f9f2;stroke-width:3;paint-order:stroke;stroke-linejoin:round}
.base-map.is-picking{cursor:default}
.is-picking [data-source-feature]{cursor:pointer}
.is-editing .source-feature{fill:#ffffff8c;stroke:#8c91ad;stroke-width:1.5}
.is-editing [data-source-feature]:hover .source-feature{fill:#e4e1ffba;stroke:#8b80e8}
.is-editing .feature-label{font-size:24px;fill:#555d77;stroke:#ffffffd9;stroke-width:4}
[data-source-feature]:focus-visible .source-feature{stroke:#43348e;stroke-width:4}
.pick-help{font-size:11px;line-height:1.8;color:#8b8b97;margin:0 4px 10px}
.candidate-dock-header .text-button{font-size:10px;color:#9696a1}
.pick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 4px 6px}
.pick-actions>.text-button{font-size:11px;color:#92929b}
.pick-mobile-link{display:none}
@media(max-width:760px){.pick-mobile-link{display:inline-flex}.pick-actions{gap:9px}}
.active-range{fill:#6594d723;stroke:#5a85c6;stroke-width:2}
.target-range{fill:#d38b8223;stroke:#c98d84;stroke-width:1.6}
.draw-sketch{fill:none;stroke:#558bd3;stroke-width:2;stroke-dasharray:5 3}
.draw-draft{fill:#8095da38;stroke:#627bcb;stroke-width:2;stroke-dasharray:5 3}
.draw-node{fill:#fff;stroke:#638ed0;stroke-width:1.5;pointer-events:none}
.base-map.has-result{background:#f1f3f7}
.base-map.has-result .map-background{filter:grayscale(1);opacity:.62}
.base-map.has-result #range-geometries path{fill:none;stroke:#8c97ab;stroke-opacity:.4}
.result-region{fill:var(--region-color);fill-opacity:.3;stroke:var(--region-color);stroke-opacity:.83;stroke-width:1.25}
.result-ab{fill-opacity:.52;stroke-opacity:.95;stroke-width:1.6}
.legend-symbol.draft{background:#6d9be820;border:1.5px dashed #6591cf}
.result-provenance{border-top:1px solid #eef0f5;padding-top:12px;margin-top:12px;color:#a1a9ba;font-size:10px}
.result-provenance summary{cursor:pointer}
.result-provenance p{margin:8px 0 0;line-height:1.9;overflow-wrap:anywhere}
@media(max-width:760px){.range-menu{left:13px;right:13px}.source-entry{min-height:57px}.scope-attachment{padding:8px}}
