
:root{--paper:#f3f1eb;--paper-light:#faf9f5;--ink:#252b29;--muted:#82867e;--line:#deded5;--line-dark:#cccec3;--accent:#ac604b;--accent-pale:#ede2da;--green:#7f8c71;--sans:"DM Sans","Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif;--left-width:248px;--right-width:264px;--header-height:68px;--footer-height:29px}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{font-family:var(--sans);font-size:12px;color:var(--ink);background:var(--paper);overflow:hidden;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:transparent}button:disabled{cursor:not-allowed;opacity:.35}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1px solid var(--accent);outline-offset:0}a{color:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}button svg use{pointer-events:none}button *{pointer-events:none}button:hover{transition:background .15s,color .15s}input[type=checkbox]{accent-color:var(--accent)}input[type=range]{accent-color:var(--accent);width:100%;min-width:0;cursor:pointer}input[type=color]{width:35px;height:26px;padding:3px;border:1px solid var(--line);border-radius:3px;background:var(--paper-light);cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:1px}textarea{resize:vertical;line-height:1.7}h1,h2,h3,h4,p{margin:0}button,summary,select{-webkit-user-select:none;user-select:none}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.eyebrow,.micro-label{font-size:9px;letter-spacing:1.8px;font-weight:500;color:var(--muted);font-family:var(--sans)}.micro-label{font-size:8px;letter-spacing:1.35px}.inline-icon{vertical-align:middle;width:15px;height:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:8px 12px;border-radius:3px;font-size:11px;font-weight:500;line-height:1.4;white-space:nowrap}.button svg{width:15px;height:15px}.subtle-button:hover{background:#e7e6dd}.primary-button{background:var(--ink);color:#fff;border:1px solid var(--ink)}.primary-button:hover{background:#41463f}.secondary-button{border:1px solid var(--line-dark);background:var(--paper-light)}.secondary-button:hover{background:#e9e8df}.danger-button{border:1px solid var(--line);color:#a35643}.danger-button:hover{background:#f0e0d9}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:3px;color:#697066;flex-shrink:0}.icon-button:hover{background:#e7e6dd;color:var(--ink)}.small-icon{width:24px;height:24px}.small-icon svg{width:15px;height:15px}.text-button{color:var(--muted);font-size:10px;padding:5px 0}.text-button:hover{color:var(--accent)}
.app-header{height:var(--header-height);display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 23px;gap:26px;background:var(--paper-light);position:relative;z-index:20}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;flex-shrink:0}.wordmark{font-family:var(--serif);font-size:29px;letter-spacing:1px;line-height:1}.brand-period{color:var(--accent)}.brand-caption{font-size:10px;letter-spacing:2px;line-height:1.6;width:62px;padding-top:2px}.document-location{display:flex;align-items:center;gap:12px;font-size:11px;flex:1;min-width:0;white-space:nowrap}.breadcrumb-label{font-size:8px;color:var(--muted);letter-spacing:1.5px}.breadcrumb-divider{color:#b8baaf;font-size:16px;font-weight:400}.local-indicator{font-size:9px;color:#8c9187;margin-left:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-indicator::before{content:"";display:inline-block;width:4px;height:4px;background:#879476;border-radius:50%;margin:0 5px 2px 0}.header-actions{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}.header-divider{width:1px;height:20px;background:var(--line);margin:0 11px 0 8px}.workspace{height:calc(100dvh - var(--header-height) - var(--footer-height));display:flex;min-height:0;overflow:hidden}.left-panel{width:var(--left-width);flex:0 0 var(--left-width);display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--paper-light);position:relative;z-index:12;min-height:0}.panel-intro{padding:25px 22px 19px}.panel-intro h1{font-size:20px;font-weight:500;letter-spacing:2px;margin-top:10px;line-height:1.6}.panel-intro p{margin-top:6px;color:var(--muted);font-size:10px;letter-spacing:.2px}.search-section{padding:0 18px 22px;position:relative}.search-form{display:flex;align-items:center;gap:8px;border:1px solid var(--line);height:36px;padding:0 8px 0 10px;border-radius:3px;background:#f5f4ee}.search-form>svg{width:14px;height:14px;color:var(--muted)}.search-form:focus-within{border-color:var(--accent)}.search-form input{background:none;border:0;padding:0;width:100%;min-width:0;font-size:10px;outline:0}.search-form input::placeholder{color:#95998e}.search-form input:focus-visible{outline:0}.search-form button{padding:0;width:16px;display:flex;align-items:center;color:#93968d}.search-form button svg{width:14px;height:14px}.search-results:not(:empty){background:var(--paper-light);border:1px solid var(--line);box-shadow:0 8px 20px #252b2912;position:absolute;top:40px;left:18px;right:18px;z-index:30;border-radius:3px;max-height:270px;overflow-y:auto}.search-result{display:block;padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;width:100%;font-size:11px;line-height:1.7}.search-result:hover{background:#eae9df}.search-result:last-child{border-bottom:0}.search-result small,.search-result span{display:block;color:var(--muted);font-size:10px}.search-results>p,.search-results>.search-message{padding:11px;font-size:10px;color:var(--muted);line-height:1.7}.left-panel-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;border-top:1px solid var(--line)}.left-panel-scroll::-webkit-scrollbar,.inspector-scroll::-webkit-scrollbar{width:3px}.left-panel-scroll::-webkit-scrollbar-thumb,.inspector-scroll::-webkit-scrollbar-thumb{background:#d5d6ca}.panel-section{padding:19px 20px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;min-height:20px;margin-bottom:13px}.section-heading h2,.section-heading h3{font-size:11px;letter-spacing:.4px;font-weight:600}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.theme-option{padding:0;text-align:left;position:relative;min-width:0}.theme-option>span:nth-child(2){display:block;font-size:9px;color:#777d73;padding-top:8px;white-space:nowrap;text-align:center}.theme-preview{height:57px;display:block;overflow:hidden;position:relative;border-radius:2px;border:2px solid transparent;background:#e9e7db;box-shadow:0 0 0 1px #deded3 inset}.theme-option.active .theme-preview,.theme-option[aria-pressed=true] .theme-preview{border-color:var(--accent)}.theme-option.active>span:nth-child(2),.theme-option[aria-pressed=true]>span:nth-child(2){color:var(--ink);font-weight:600}.theme-option:hover .theme-preview{filter:brightness(.97)}.theme-preview:before,.theme-preview:after{content:"";position:absolute;background:#faf9f1;transform:rotate(-26deg);width:8px;height:90px;left:24px;top:-10px;border:1px solid #d1d0c4}.theme-preview:after{width:80px;height:7px;top:24px;left:-8px}.theme-preview i,.theme-preview b,.theme-preview em,.theme-preview small{position:absolute;display:block;background:#d4d5c9;width:12px;height:15px;left:6px;top:4px;transform:rotate(-26deg)}.theme-preview b{left:41px;top:35px;width:15px;height:14px}.theme-preview em{background:#a3ad91;left:40px;top:0;width:23px;height:18px}.theme-preview small{background:var(--accent);width:9px;height:12px;left:24px;top:31px;z-index:1}.preview-blueprint{background:#e0e8ec}.preview-blueprint:before,.preview-blueprint:after{background:#f8fcff;border-color:#b6c4ce}.preview-blueprint i,.preview-blueprint b{background:#b9cad4}.preview-blueprint em{background:#c6d6dc}.preview-blueprint small{background:#477491}.preview-mono{background:#f1f0eb}.preview-mono:before,.preview-mono:after{background:#fff;border-color:#cccfc9}.preview-mono i,.preview-mono b{background:#d6d8d3}.preview-mono em{background:#e1e3dc}.preview-mono small{background:#333b34}.theme-dot{display:none}.base-options{display:flex;flex-direction:column;gap:2px}.toggle-row{min-height:27px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;position:relative;font-size:10px;color:#656d62}.toggle-row input{position:absolute;right:0;width:27px;height:18px;opacity:0;cursor:pointer;z-index:1}.switch{display:inline-block;width:25px;height:14px;border-radius:12px;background:#dcded4;position:relative;transition:background .16s;flex-shrink:0}.switch:after{content:"";width:10px;height:10px;background:var(--paper-light);border-radius:50%;position:absolute;left:2px;top:2px;transition:transform .16s}.toggle-row input:checked+.switch{background:#7b846f}.toggle-row input:checked+.switch:after{transform:translateX(11px)}.toggle-row input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:2px}.layer-list{display:flex;flex-direction:column;gap:4px;margin:0 -6px}.layer-item,.layer-row{display:flex;align-items:center;gap:8px;position:relative;min-height:37px;padding:6px 8px;border:1px solid transparent;border-radius:3px;color:#60675d;cursor:pointer;transition:background .15s}.layer-item:hover,.layer-row:hover{background:#eeeee6}.layer-item.active,.layer-row.active,.layer-item.selected,.layer-row.selected{background:#ebece2;border-color:#dce0d1;color:var(--ink)}.layer-color,.layer-swatch{width:8px;height:8px;display:inline-block;border-radius:2px;flex-shrink:0}.layer-name{font-size:11px;flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layer-count{font-family:var(--sans);font-size:9px;min-width:15px;color:#919589;text-align:center}.layer-item button,.layer-row button{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#93998d;border-radius:2px;padding:3px}.layer-item button:hover,.layer-row button:hover{background:#dcded3;color:var(--ink)}.layer-item svg,.layer-row svg{width:14px;height:14px}.layer-item input[type=checkbox],.layer-row input[type=checkbox]{width:12px;height:12px;margin:0;flex-shrink:0}.layer-item label,.layer-row label{display:flex;align-items:center;gap:9px;flex:1;cursor:pointer;min-width:0}.layer-item .layer-select,.layer-row .layer-select{width:auto;flex:1;justify-content:flex-start;text-align:left}.section-footnote{font-size:9px;color:#9a9e92;line-height:1.6;margin-top:11px}.scene-list{display:flex;flex-direction:column;gap:6px}.scene-item,.scene-button{display:flex;align-items:center;gap:10px;text-align:left;min-height:34px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;font-size:10px;background:#f6f5ef;cursor:pointer;position:relative}.scene-item:hover,.scene-button:hover{border-color:#b7bba9;background:#edeee4}.scene-item.active,.scene-button.active{border-color:#abaf9e;background:#ecefe3}.scene-item .scene-number,.scene-button .scene-number{color:var(--accent);font-size:9px;font-family:var(--sans);letter-spacing:1px}.scene-item svg,.scene-button svg{width:13px;height:13px;margin-left:auto;color:var(--muted)}.scene-item>button{flex:1;text-align:left;padding:0;color:inherit;line-height:1.6}.scene-item>button:last-child:not(:first-child){flex:0 0 16px;font-size:16px;color:var(--muted)}.panel-footer{min-height:43px;display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding:0 20px;font-size:9px;letter-spacing:.3px;color:#929789}.little-cross{font-size:19px;font-weight:400;color:#757e6b}.version-mark{margin-left:auto;font-size:8px;letter-spacing:1px;color:#a0a495}
.canvas-area{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;background:#e9e8df}.canvas-header{height:45px;flex:0 0 45px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 21px;background:var(--paper);z-index:10;gap:8px}.canvas-header>div{display:flex;align-items:center;gap:8px;font-size:10px;color:#687061;white-space:nowrap}.canvas-header .inline-icon{color:#798170;width:14px;height:14px}.canvas-header-divider{color:#bbbeb3;margin:0 5px}.canvas-header-caption{font-size:8px;letter-spacing:1.3px;color:#8b9082}.demo-badge{display:inline-flex;align-items:center;gap:5px;color:#8d8d7c;font-size:9px;white-space:nowrap}.demo-badge>span{width:4px;height:4px;border:1px solid #9da087;border-radius:50%}.map-frame{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden;background:#eeece3}#map{position:absolute;inset:0;width:100%;height:100%;background:#edece3}.map-loading,.map-error{position:absolute;inset:0;z-index:15;background:#edece3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#717968}.loading-cross{font-size:47px;font-family:var(--serif);font-weight:300;line-height:1;color:#969c88;animation:loading-turn 5s linear infinite}.map-loading>span:nth-child(2){font-size:12px;letter-spacing:2px}.map-loading small{font-size:9px;letter-spacing:2px;color:#9a9f91;text-transform:uppercase}.map-error>svg{width:26px;height:26px;color:var(--accent)}.map-error strong{font-size:15px;font-weight:500}.map-error p{font-size:11px;color:var(--muted)}.map-error .button{margin-top:5px}.map-tools{position:absolute;z-index:5;top:22px;left:19px;background:#faf9f5f5;border:1px solid #dddcd2;border-radius:4px;padding:5px;box-shadow:0 2px 7px #353c2b0a;display:flex;flex-direction:column;align-items:center;gap:3px}.tool-button{position:relative;width:33px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:3px;color:#747a6e}.tool-button svg{width:18px;height:18px;stroke-width:1.4}.tool-button:hover{background:#eaece1;color:#39422e}.tool-button.active,.tool-button[aria-pressed=true]{background:#2c332b;color:#f7f7ef}.tool-button.danger-tool:hover{color:var(--accent);background:#eee3dc}.tool-separator{width:23px;height:1px;background:var(--line);margin:4px 0}.tool-tip{opacity:0;visibility:hidden;display:flex;align-items:center;gap:13px;position:absolute;left:44px;top:4px;height:26px;white-space:nowrap;background:var(--ink);color:#f5f4ed;border-radius:3px;padding:0 9px;font-size:10px;transition:opacity .15s;z-index:10}.tool-button:hover .tool-tip,.tool-button:focus-visible .tool-tip{opacity:1;visibility:visible}.tool-tip kbd{color:#bbbdb2;background:#ffffff12;border-color:#ffffff20;padding:0 3px;font-size:8px}.canvas-title-block{position:absolute;z-index:3;left:86px;top:27px;display:flex;flex-direction:column;pointer-events:none;text-shadow:0 0 10px #f3f1eb,0 0 6px #f3f1eb}.canvas-title-block .eyebrow{color:#7a806f;font-size:8px;letter-spacing:2px}.canvas-location{font-size:24px;letter-spacing:6px;font-weight:500;line-height:1.5;margin-top:5px;color:#3f4939}.canvas-location-en{font-size:8px;letter-spacing:2px;margin-top:3px;color:#808774}.title-rule{height:1px;width:33px;background:#90977f;margin-top:15px}.north-indicator{display:flex;align-items:center;flex-direction:column;position:absolute;right:24px;top:27px;z-index:3;pointer-events:none;color:#69745e}.north-indicator>span:first-child{font-family:var(--sans);font-size:9px;letter-spacing:1px;margin-bottom:4px}.north-indicator svg{width:18px;height:27px;fill:#69745e20;stroke-width:1.25}.north-line{height:15px;width:1px;background:#a3ab95;margin-top:2px}.map-fit{position:absolute;z-index:4;right:15px;bottom:90px;background:var(--paper-light);border:1px solid #d8dace;border-radius:3px;box-shadow:0 2px 5px #25301c08}.map-fit .icon-button{width:28px;height:29px}.map-fit svg{width:16px;height:16px}.mode-hint-wrap{position:absolute;z-index:4;bottom:25px;left:50%;transform:translateX(-50%);min-height:32px;display:flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid #d8dace;background:#faf9f5f2;box-shadow:0 2px 9px #25301c05;border-radius:3px;max-width:calc(100% - 145px);color:#6c7563;font-size:10px;white-space:nowrap;pointer-events:auto}.hint-dot{width:4px;height:4px;background:#8b947d;border-radius:50%;flex-shrink:0}#mode-hint{overflow:hidden;text-overflow:ellipsis}.hint-action{padding:3px 6px;background:#e5e9d9;color:#465139;border-radius:2px;font-size:9px;white-space:nowrap}.hint-action:hover{background:#d6dec5}.hint-action.muted{background:#ecece3;color:#737a6b}.hint-action kbd{font-size:8px;border:0;background:transparent;padding:0 0 0 4px}.canvas-footer{height:29px;flex:0 0 29px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:var(--paper);border-top:1px solid var(--line);color:#94988a;font-size:8px;letter-spacing:.7px}.canvas-footer>div{display:flex;align-items:center;gap:7px}.status-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#909e7e;flex-shrink:0}.footer-divider{display:inline-block;width:1px;height:9px;background:#d6d8ca;margin:0 2px}.maplibregl-ctrl-top-right{top:auto!important;bottom:137px!important;right:5px!important}.maplibregl-ctrl-group{box-shadow:none!important;border:1px solid #d8dace!important;background:var(--paper-light)!important;border-radius:3px!important;overflow:hidden}.maplibregl-ctrl-group button{width:28px!important;height:28px!important}.maplibregl-ctrl-group button+button{border-top:1px solid #e0e2d5!important}.maplibregl-ctrl-bottom-left{left:17px!important;bottom:9px!important}.maplibregl-ctrl-scale{font-family:var(--sans)!important;font-size:8px!important;background:#f8f7f0bb!important;border:1px solid #8d9582!important;border-top:0!important;color:#66725a!important;height:14px!important;line-height:13px!important;padding:0 4px!important}.maplibregl-ctrl-bottom-right{bottom:0!important;right:0!important}.maplibregl-ctrl-attrib{font-size:8px!important;line-height:15px!important;background:#f3f1ebcf!important;color:#828b75!important;padding:0 5px!important}.maplibregl-ctrl-attrib a{color:#707b64!important}.maplibregl-marker{cursor:pointer}.maplibregl-popup-content{font:11px var(--sans);background:var(--paper-light);border:1px solid var(--line);padding:14px;border-radius:3px;box-shadow:0 5px 18px #252b2915}.maplibregl-popup-close-button{font-size:18px;color:var(--muted);padding:0 5px}.maplibregl-canvas:focus{outline:none}.map-label,.feature-label,.annotation-label{font-family:var(--sans);font-weight:500;white-space:nowrap;text-shadow:0 1px 2px #faf9f5,0 -1px 2px #faf9f5;cursor:pointer}.map-label.selected,.feature-label.selected,.annotation-label.selected{outline:1px dashed var(--accent);outline-offset:4px}
.inspector-panel{width:var(--right-width);flex:0 0 var(--right-width);min-height:0;border-left:1px solid var(--line);background:var(--paper-light);display:flex;flex-direction:column;position:relative;z-index:11}.inspector-summary{height:102px;min-height:102px;padding:25px 21px 19px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;border-bottom:1px solid var(--line)}.inspector-summary::-webkit-details-marker{display:none}.inspector-summary h2{font-size:17px;font-weight:500;letter-spacing:1.5px;margin-top:9px}.inspector-summary>svg{width:14px;height:14px;transform:rotate(0);color:#a3a898}.inspector-panel:not([open]){width:45px;flex-basis:45px}.inspector-panel:not([open])>.inspector-summary{border:0;padding:21px 13px;height:auto;min-height:0}.inspector-panel:not([open])>.inspector-summary>div{display:none}.inspector-panel:not([open])>.inspector-summary>svg{transform:rotate(180deg)}.inspector-panel:not([open])>.inspector-scroll{display:none}.inspector-scroll{overflow:auto;flex:1;min-height:0;max-height:calc(100% - 102px);overscroll-behavior:contain}.inspector-panel>.inspector-scroll{height:calc(100% - 102px)}.inspector-panel .panel-section{padding:20px 21px}.field-label{display:block;color:#818778;font-size:10px;margin:15px 0 7px;line-height:1.5}.section-heading+.field-label{margin-top:0}.text-field{width:100%;background:#f5f4ee;border:1px solid var(--line);border-radius:3px;min-height:33px;padding:8px 9px;font-size:11px;line-height:1.45;transition:border-color .15s}.text-field:hover{border-color:#c4c8b8}.text-field::placeholder{color:#a5aa9b;font-size:10px}select.text-field{padding-right:6px}textarea.text-field{min-height:70px;font-size:10px}.project-settings .text-field{font-size:10px}.empty-selection{padding:25px 0 19px;text-align:center}.selection-symbol{position:relative;width:43px;height:43px;border:1px solid #d9ddce;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;color:#98a087}.selection-symbol>svg{width:21px;height:21px;stroke-width:1.1;transform:translate(2px,3px)}.selection-symbol i{width:4px;height:4px;position:absolute;border:1px solid #abb59c;background:var(--paper-light);top:-2px;left:-2px}.selection-symbol i:nth-of-type(2){top:-2px;left:auto;right:-2px}.selection-symbol i:nth-of-type(3){top:auto;bottom:-2px;left:-2px}.selection-symbol i:nth-of-type(4){top:auto;bottom:-2px;left:auto;right:-2px}.empty-selection h4{font-size:11px;font-weight:500;letter-spacing:.7px;color:#69735c}.empty-selection p{font-size:10px;line-height:1.9;color:#979f8b;margin-top:9px}.empty-hint{display:block;font-size:9px;color:#a5ad98;margin-top:18px}.property-row{display:flex;align-items:center;justify-content:space-between;margin-top:15px;min-height:30px}.property-row .field-label{margin:0}.range-field{display:flex;align-items:center;gap:8px;font-size:8px;color:#a0a693;min-height:20px}.range-field input{height:16px;margin:0}.range-field span{flex-shrink:0}.optional-label{font-size:8px;color:#a4aa9a;float:right}.coordinate-field{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;font-size:8px;color:#9aA28b;line-height:1.8;padding-top:11px}.coordinate-field>span:first-child{white-space:nowrap}.coordinate-field>span:last-child{text-align:right;word-break:break-word}.selection-actions{display:flex;gap:7px;margin-top:17px}.selection-actions .button{flex:1;min-height:30px;font-size:10px}.research-note{margin:24px 21px 0;border-left:1px solid #c1c8b2;padding:2px 0 2px 14px}.research-note .eyebrow{font-size:7px;letter-spacing:1.15px;color:#9aa58b}.research-note p{font-family:var(--serif),"Noto Sans TC",serif;font-size:15px;font-weight:400;line-height:1.9;letter-spacing:.8px;color:#778368;margin-top:8px}.research-note>span:last-child{display:block;font-size:9px;line-height:1.7;color:#a1ab93;margin-top:11px}.data-note{display:flex;align-items:flex-start;gap:7px;margin:25px 21px;padding:13px 0 0;border-top:1px dashed #dce1d1;color:#a0a894}.data-note svg{width:12px;height:12px;margin-top:2px;stroke-width:1.3}.data-note p{font-size:9px;line-height:1.85}.app-footer{height:var(--footer-height);background:var(--paper-light);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 23px;gap:15px;color:#a0a492;font-size:8px;letter-spacing:1px;position:relative;z-index:20}.app-footer>span:first-child{font-size:7px;letter-spacing:1.1px;color:#7e8970}.app-footer>span:last-child{font-size:7px;display:flex;align-items:center;gap:7px;letter-spacing:1.1px}.footer-brand-separator{color:#bdc3b0;margin:0 7px}.toast{position:fixed;left:50%;bottom:55px;transform:translateX(-50%);z-index:1000;color:#f7f6ee;background:#30382d;box-shadow:0 4px 20px #1d291925;border:1px solid #4c5943;border-radius:4px;font-size:11px;padding:12px 20px;line-height:1.6;max-width:90vw;text-align:center;animation:toast-in .2s ease-out}.toast.error{background:#754b3e;border-color:#9c6a58}
.studio-dialog{width:460px;max-width:calc(100vw - 40px);padding:28px;border:1px solid var(--line-dark);border-radius:5px;background:var(--paper-light);color:var(--ink);box-shadow:0 20px 90px #18211430;max-height:calc(100dvh - 60px);overflow-y:auto}.studio-dialog::backdrop{background:#28302455;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dialog-heading h2{font-size:20px;font-weight:500;letter-spacing:1px;margin-top:9px;line-height:1.6}.dialog-heading .icon-button{margin:-6px -8px 0 0}.dialog-description{font-size:11px;line-height:1.8;color:#8a917f;margin:15px 0 22px}.dialog-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.studio-dialog .text-field{background:#f2f2e9;min-height:37px}.studio-dialog .field-label{font-size:10px}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#6f795f;margin-top:20px;cursor:pointer;min-height:20px}.checkbox-label input{width:13px;height:13px;margin:0}.export-note{display:flex;gap:8px;margin-top:20px;background:#edeee4;padding:12px;border-radius:3px;color:#8b957c}.export-note svg{width:13px;height:13px;flex-shrink:0;margin-top:2px}.export-note p{font-size:10px;line-height:1.7}.export-status{font-size:10px;color:var(--accent);line-height:1.8;min-height:16px;margin-top:12px}.dialog-primary{width:100%;margin-top:14px;min-height:39px}.layer-dialog{width:380px}.layer-dialog .dialog-heading{margin-bottom:20px}.layer-dialog .dialog-heading h2{font-size:19px}.layer-dialog .dialog-primary{margin-top:24px}.help-dialog{width:560px}.help-dialog .dialog-heading h2{font-size:20px}.help-content>section{border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.help-content h3{font-size:12px;font-weight:500;letter-spacing:.5px;margin-bottom:9px}.help-content p{font-size:11px;line-height:1.95;color:#7d8970}.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 6px;background:#eeefe6;padding:13px;border-radius:3px;margin:15px 0;color:#748166;font-size:10px}.shortcut-grid span{display:flex;align-items:center;gap:6px}kbd{font-family:var(--sans);font-size:9px;line-height:1.5;font-weight:400;display:inline-block;border:1px solid #d8ddcd;border-radius:2px;padding:1px 4px;background:#f9faf4;color:#788768}.help-footnote{font-size:10px;line-height:1.9;color:#9ca58e;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.layer-list>.layer-item{display:block;min-height:0;padding:0;border-color:transparent;cursor:default}.layer-list>.layer-item.is-active{background:#ebece2;border-color:#dce0d1}.layer-list>.layer-item>.layer-row{border:0;border-radius:2px;min-height:35px;padding:6px 8px;gap:8px}.layer-list>.layer-item>.layer-row:hover{background:#e8eadf}.layer-row>.layer-color{width:13px;height:15px;min-width:13px;border:0;border-radius:1px;padding:0;background:transparent}.layer-row>.layer-color::-webkit-color-swatch{border-radius:1px}.layer-list .layer-row>.layer-name{height:auto;min-height:20px;width:auto;flex:1;text-align:left;justify-content:flex-start;color:inherit;font-size:10px;padding:0;display:block}.layer-list .layer-row>.layer-name:hover{background:transparent;color:var(--accent)}.feature-list{margin:0 8px 7px 26px;border-left:1px solid #cbd1bc;padding:0 0 0 8px;display:flex;flex-direction:column;gap:3px}.layer-item .feature-item{width:100%;height:auto;min-height:23px;padding:5px 6px;display:block;text-align:left;font-size:9px;color:#8a937c;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border-radius:2px}.layer-item .feature-item:hover{background:#e1e6d4;color:#5b6d49}.layer-item .feature-item.is-selected{background:#dce3cd;color:#455c31}.scene-list>.scene-item{padding:0;border:1px solid var(--line);gap:0;background:#f6f5ef}.scene-list>.scene-item>.scene-button{display:flex;align-items:center;min-height:34px;background:transparent;border:0;flex:1;padding:8px 10px;font-size:10px;gap:8px}.scene-list>.scene-item>.scene-button:before{content:"";display:inline-block;width:5px;height:5px;border:1px solid #a9b199;transform:rotate(45deg);flex-shrink:0}.scene-list>.scene-item>.scene-button.is-active{color:#3f5330;background:#e5ebd9}.scene-list>.scene-item>.scene-button.is-active:before{background:#859874;border-color:#859874}.scene-list>.scene-item>.scene-delete{flex:0 0 25px;padding:5px;width:25px;font-size:15px;color:#a6ad9a;align-self:stretch;border-left:1px solid #e3e7da}.scene-list>.scene-item>.scene-delete:hover{color:var(--accent);background:#f0e4dc}.search-status{font-size:10px;line-height:1.8;padding:12px;color:#8b937e}.search-credit{display:block;font-size:7px;line-height:1.7;padding:8px 11px;color:#a1a995}.toast.is-error{background:#754b3e;border-color:#9c6a58}.property-group{display:block}.restore-backup{margin-top:13px;font-size:10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl-group{margin-bottom:10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl-attrib{margin:0 0 0 10px}.maplibregl-ctrl-attrib.maplibregl-compact{padding:0 20px 0 5px!important;min-height:20px}.maplibregl-ctrl-attrib-button{width:19px!important;height:19px!important;background-size:15px!important}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{line-height:20px!important}
@keyframes loading-turn{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:1600px){:root{--left-width:268px;--right-width:284px}.panel-intro{padding-left:25px}.panel-section{padding-left:24px;padding-right:24px}.inspector-panel .panel-section{padding-left:24px;padding-right:24px}.theme-preview{height:65px}.canvas-title-block{left:95px;top:31px}.map-tools{left:24px;top:27px}}
@media(max-width:1280px){:root{--left-width:226px;--right-width:238px}.app-header{padding:0 17px;gap:19px}.brand{gap:10px}.brand-caption{font-size:9px;width:57px}.document-location{gap:9px}.breadcrumb-label,.local-indicator{display:none}.header-actions{gap:2px}.header-actions .button{padding:8px 10px}.panel-intro{padding-left:19px;padding-right:18px}.panel-section{padding:17px 17px}.panel-intro h1{font-size:19px}.inspector-summary{padding-left:19px}.inspector-panel .panel-section{padding:18px}.research-note,.data-note{margin-left:18px;margin-right:18px}.canvas-header{padding:0 16px}.canvas-header-caption{font-size:7px;letter-spacing:.8px}.theme-preview{height:51px}.mode-hint-wrap{font-size:9px;max-width:calc(100% - 112px);bottom:26px}.canvas-title-block{left:80px}.map-tools{left:16px}}
@media(max-width:1100px){:root{--left-width:214px;--right-width:216px}.document-location{font-size:10px}.document-location>span:not(:nth-child(3)){display:none}.brand-caption{display:none}.brand .wordmark{font-size:27px}.header-actions .new-action{display:none}.app-header{gap:22px}.header-divider{margin:0 6px}.panel-intro{padding:21px 17px 18px}.panel-intro p{font-size:9px}.panel-section{padding:16px}.inspector-panel .panel-section{padding:17px 16px}.inspector-summary{padding-left:16px}.canvas-header-caption,.canvas-header-divider{display:none}.theme-option>span:nth-child(2){font-size:8px}.theme-grid{gap:6px}.theme-preview{height:48px}.research-note,.data-note{margin-left:16px;margin-right:16px}.canvas-title-block{left:78px;top:25px}.canvas-location{font-size:21px}.canvas-location-en{font-size:7px}.empty-hint{font-size:8px}.canvas-footer{font-size:7px;letter-spacing:0;padding:0 10px}.app-footer>span:nth-child(2){display:none}.north-indicator{right:17px}}
@media(max-width:900px){:root{--left-width:195px;--right-width:196px;--header-height:59px}.document-location{display:none}.header-actions{margin-left:auto}.header-actions .button{padding:7px 8px;font-size:10px}.brand-caption{display:block;font-size:8px;letter-spacing:1px;width:45px}.app-header{gap:10px;padding:0 14px}.header-actions .help-action{width:26px}.panel-intro h1{font-size:18px}.panel-intro p{font-size:8px;letter-spacing:0}.panel-intro{padding:20px 15px 17px}.search-section{padding:0 13px 18px}.search-form{padding-left:8px;gap:6px}.search-form input{font-size:9px}.panel-section{padding:15px 13px}.theme-preview{height:43px}.section-heading h2,.section-heading h3{font-size:10px}.micro-label{font-size:7px;letter-spacing:.6px}.toggle-row{font-size:9px;min-height:26px}.section-footnote{font-size:8px}.theme-option>span:nth-child(2){font-size:8px}.inspector-panel .panel-section{padding:16px 13px}.inspector-summary{padding:21px 13px;height:97px;min-height:97px}.inspector-summary .eyebrow{font-size:8px;letter-spacing:1px}.inspector-summary h2{font-size:16px}.inspector-scroll,.inspector-panel>.inspector-scroll{max-height:calc(100% - 97px);height:calc(100% - 97px)}.research-note,.data-note{margin-left:13px;margin-right:13px}.research-note p{font-size:13px}.research-note>span:last-child{font-size:8px}.empty-selection p{font-size:9px}.empty-hint{line-height:1.8;font-size:8px}.selection-actions .button{padding:7px 5px}.canvas-header{padding:0 13px}.canvas-header>div{font-size:9px}.demo-badge{font-size:8px}.canvas-title-block{display:none}.mode-hint-wrap{bottom:26px;left:68px;right:12px;transform:none;max-width:none;justify-content:center;white-space:normal;line-height:1.6;font-size:8px;padding:6px 8px}.mode-hint-wrap .hint-dot{display:none}.map-tools{left:12px;top:15px;padding:4px}.tool-button{width:29px;height:30px}.tool-button svg{width:16px;height:16px}.tool-tip{left:40px}.canvas-footer>div:last-child #selected-count{display:none}.canvas-footer .footer-divider{display:none}.panel-footer{padding:0 13px;font-size:8px}.panel-footer .version-mark{display:none}.north-indicator{top:18px;right:16px}.app-footer{padding:0 14px;font-size:7px}.maplibregl-ctrl-attrib{font-size:7px!important}.layer-name{font-size:10px}.layer-item,.layer-row{gap:6px;padding:5px 6px}}
@media(max-width:720px){:root{--left-width:175px;--right-width:190px;--header-height:57px;--footer-height:25px}.inspector-panel[open]{position:absolute;right:0;top:var(--header-height);bottom:var(--footer-height);box-shadow:-6px 0 20px #25301c15}.inspector-panel:not([open]){position:absolute;right:0;top:var(--header-height);width:33px;height:45px;background:var(--paper);border:0;border-left:1px solid var(--line);border-bottom:1px solid var(--line)}.inspector-panel:not([open])>.inspector-summary{padding:15px 10px}.inspector-panel:not([open])>.inspector-summary>svg{width:12px;height:12px}.canvas-header{padding-right:40px}.brand-caption{display:none}.header-actions .help-action,.header-actions #import-project span{display:none}.header-actions #save-project span{display:none}.header-actions #save-project,.header-actions #import-project{padding:8px}.header-divider{margin:0 3px}.app-header{padding:0 12px}.wordmark{font-size:26px!important}.header-actions .primary-button{font-size:10px;min-height:33px}.header-actions .button svg{width:14px;height:14px}.panel-intro{padding:18px 12px 15px}.eyebrow{font-size:8px;letter-spacing:1.3px}.panel-intro h1{font-size:17px}.panel-intro p{font-size:7px}.search-section{padding:0 10px 16px}.search-form{height:33px;padding-left:6px;gap:4px}.search-form input{font-size:8px}.search-form>svg{width:12px;height:12px}.panel-section{padding:15px 11px}.theme-grid{gap:4px}.theme-preview{height:38px}.theme-option>span:nth-child(2){font-size:7px}.theme-preview:before{left:20px}.theme-preview small{left:21px;top:23px}.theme-preview em{left:32px}.theme-preview b{left:31px;top:29px}.toggle-row{font-size:9px;min-height:25px}.section-footnote{font-size:7px}.layer-name{font-size:9px}.layer-item,.layer-row{padding:4px 5px;gap:5px;min-height:33px}.scene-item,.scene-button{font-size:9px;padding:7px}.scene-list{gap:5px}.scenes-section .section-heading{align-items:flex-start;gap:5px}.scenes-section .text-button{font-size:8px;padding:2px 0}.section-heading .micro-label{font-size:6px}.canvas-footer{font-size:6px}.canvas-header{height:42px;flex-basis:42px;padding-left:11px;gap:5px}.canvas-header>div{font-size:8px;gap:5px}.canvas-header .inline-icon{width:12px}.demo-badge{font-size:7px}.app-footer>span:first-child{font-size:6px;letter-spacing:.6px}.app-footer>span:last-child{font-size:6px;letter-spacing:.7px}.map-tools{left:9px}.maplibregl-ctrl-bottom-left{left:7px!important}.maplibregl-ctrl-scale{font-size:7px!important}.north-indicator{right:12px}.map-fit{right:10px}.maplibregl-ctrl-top-right{right:0!important}.mode-hint-wrap{left:60px;right:7px;font-size:7px;bottom:26px;padding:5px}.hint-action{font-size:8px;padding:3px}.hint-action kbd{display:none}.studio-dialog{padding:23px;max-width:calc(100vw - 24px)}.dialog-heading h2,.help-dialog .dialog-heading h2{font-size:18px}.shortcut-grid{grid-template-columns:repeat(2,1fr)}.dialog-field-grid{gap:10px}.dialog-field-grid .text-field{font-size:10px}}
@media(max-width:440px){:root{--left-width:150px}.app-header{gap:5px;padding:0 10px}.header-actions{gap:0}.header-actions .button{padding:7px}.header-actions .primary-button{font-size:9px;gap:5px}.header-actions .primary-button svg{width:12px}.wordmark{font-size:24px!important}.panel-intro{padding:17px 10px 14px}.panel-intro h1{font-size:16px}.panel-intro p{display:none}.panel-intro .eyebrow{font-size:7px;letter-spacing:.9px}.search-section{padding:0 8px 14px}.search-form input{font-size:8px}.search-form{gap:3px}.search-form>svg{display:none}.panel-section{padding:13px 9px}.theme-preview{height:33px}.theme-option>span:nth-child(2){font-size:6px}.micro-label{display:none}.toggle-row{font-size:8px}.toggle-row .switch{width:23px;height:13px}.switch:after{width:9px;height:9px}.toggle-row input:checked+.switch:after{transform:translateX(10px)}.section-heading{margin-bottom:10px}.section-heading h2{font-size:9px}.layer-name{font-size:8px}.layer-count{font-size:7px;min-width:10px}.layer-item,.layer-row{gap:4px;padding:4px}.layer-item button,.layer-row button{width:17px;height:19px;padding:2px}.layer-color,.layer-swatch{width:6px;height:6px}.layer-list{margin:0 -3px}.section-footnote{font-size:6px}.panel-footer{padding:0 10px;font-size:7px;gap:5px}.little-cross{font-size:15px}.scenes-section .section-heading{flex-direction:column;gap:0}.scenes-section .text-button{font-size:7px}.scene-item,.scene-button{font-size:8px;gap:5px}.canvas-header>div{font-size:7px}.canvas-header .inline-icon{display:none}.demo-badge{display:none}.canvas-footer>div:last-child{display:none}.canvas-footer{font-size:6px}.tool-button{width:26px;height:28px}.tool-button svg{width:15px;height:15px}.map-tools{left:7px;top:12px;gap:2px}.tool-separator{width:18px;margin:3px 0}.tool-tip{left:36px}.mode-hint-wrap{left:49px}.north-indicator{right:10px;top:14px}.north-indicator>span:first-child{font-size:8px}.north-indicator svg{width:14px;height:23px}.north-line{height:10px}.app-footer>span:last-child{display:none}.app-footer{padding:0 11px}.maplibregl-ctrl-attrib{max-width:150px!important;font-size:6px!important}.dialog-field-grid{grid-template-columns:1fr}.dialog-heading h2,.help-dialog .dialog-heading h2{font-size:17px}}
.mobile-layers-button{display:none}
.section-heading h2,.section-heading h3{font-size:12px}.toggle-row{font-size:11px;min-height:28px}.search-form input{font-size:11px}.field-label{font-size:11px}.project-settings .text-field{font-size:11px}.layer-list .layer-row>.layer-name{font-size:11px}.layer-item .feature-item{font-size:10px;line-height:1.7}.scene-list>.scene-item>.scene-button{font-size:11px}.theme-option>span:nth-child(2){font-size:10px}.empty-selection p{font-size:11px}.empty-selection h4{font-size:12px}.empty-hint{font-size:10px;line-height:1.8}.section-footnote{font-size:10px;line-height:1.8}.text-button{font-size:10px}.panel-intro p{font-size:10px;line-height:1.8}.canvas-header>div{font-size:11px}.header-actions .button{font-size:11px}.data-note p{font-size:10px}.research-note>span:last-child{font-size:10px}.mode-hint-wrap{font-size:11px}.toast{font-size:12px}.button{font-size:12px}.dialog-description,.help-content p{font-size:12px}.help-footnote{font-size:11px}.canvas-footer{font-size:9px}.layer-list>.layer-item>.layer-row{min-height:38px}.inspector-panel .section-heading{margin-bottom:14px}
@media(max-width:1100px) and (min-width:851px){.theme-option>span:nth-child(2){font-size:9px}.layer-list .layer-row>.layer-name{font-size:10px}.toggle-row{font-size:10px}.inspector-panel .panel-section{padding-left:15px;padding-right:15px}.section-footnote{font-size:9px}.canvas-footer{font-size:8px}.mode-hint-wrap{font-size:10px;max-width:calc(100% - 115px)}}
@media(max-width:850px){:root{--left-width:256px;--right-width:250px}.left-panel{display:none;position:absolute;top:calc(var(--header-height) + 45px);left:0;bottom:var(--footer-height);width:var(--left-width);box-shadow:7px 0 25px #28341d18;z-index:15}.layers-open .left-panel{display:flex}.mobile-layers-button{display:flex;align-items:center;gap:7px;font-size:12px;padding:6px 9px 6px 0;color:#69765a;min-height:32px}.mobile-layers-button svg{width:16px;height:16px}.layers-open .mobile-layers-button{color:var(--accent)}.canvas-heading-text,.canvas-header .inline-icon{display:none}.canvas-header{padding-left:17px;height:45px;flex-basis:45px;padding-right:48px}.canvas-header>div{font-size:12px}.canvas-header-caption{display:block;font-size:8px;letter-spacing:1px}.demo-badge{display:inline-flex;font-size:10px}.canvas-title-block{display:flex;left:85px;top:25px}.canvas-location{font-size:23px}.canvas-location-en{font-size:9px}.canvas-title-block .eyebrow{font-size:9px}.inspector-panel[open]{position:absolute;right:0;top:var(--header-height);bottom:var(--footer-height);width:250px;box-shadow:-7px 0 24px #28341d15;z-index:19}.inspector-panel:not([open]){position:absolute;right:0;top:var(--header-height);width:42px;height:45px;background:var(--paper);border:0;border-left:1px solid var(--line);border-bottom:1px solid var(--line);z-index:19}.inspector-panel:not([open])>.inspector-summary{padding:14px}.inspector-panel:not([open])>.inspector-summary>svg{width:14px;height:14px}.inspector-summary{height:100px;min-height:100px;padding:22px 20px}.inspector-summary h2{font-size:17px}.inspector-panel .panel-section,.panel-section{padding:19px 20px}.panel-intro{padding:23px 21px 17px}.panel-intro .eyebrow{font-size:9px;letter-spacing:1.7px}.panel-intro h1{font-size:20px;letter-spacing:2px}.panel-intro p{display:block;font-size:11px;line-height:1.8}.search-section{padding:0 18px 19px}.search-form{min-height:37px;padding:0 9px;gap:8px}.search-form>svg{display:block;width:15px;height:15px}.search-form input{font-size:12px}.search-form button{width:17px}.search-results:not(:empty){left:18px;right:18px}.search-result{font-size:12px}.search-result small,.search-result span{font-size:11px}.search-status{font-size:12px}.section-heading h2,.section-heading h3{font-size:12px}.section-heading .micro-label{display:inline-block;font-size:8px;letter-spacing:1.2px}.theme-grid{gap:8px}.theme-preview{height:57px}.theme-option>span:nth-child(2){font-size:10px}.toggle-row{font-size:12px;min-height:30px}.toggle-row .switch{width:27px;height:15px}.switch:after{width:11px;height:11px}.toggle-row input:checked+.switch:after{transform:translateX(12px)}.section-footnote{font-size:11px}.layer-list{margin:0 -6px}.layer-list>.layer-item>.layer-row{gap:8px;padding:7px 8px;min-height:40px}.layer-list .layer-row>.layer-name{font-size:12px}.layer-item .feature-item{font-size:11px;min-height:26px}.layer-count{font-size:10px;min-width:18px}.layer-row>.layer-color{width:14px;height:16px;min-width:14px}.scene-list>.scene-item>.scene-button{font-size:12px;min-height:39px}.scene-list>.scene-item>.scene-delete{flex-basis:28px;font-size:18px}.scenes-section .section-heading{flex-direction:row;align-items:center;gap:6px}.scenes-section .text-button{font-size:11px}.panel-footer{font-size:10px;padding:0 20px;gap:8px}.little-cross{font-size:19px}.panel-footer .version-mark{display:block}.field-label,.project-settings .text-field,.text-field,.studio-dialog .field-label{font-size:12px}.text-field{min-height:37px}.empty-selection h4{font-size:13px}.empty-selection p{font-size:12px}.empty-hint{font-size:11px}.research-note{margin-left:20px;margin-right:20px}.research-note p{font-size:16px}.research-note>span:last-child{font-size:11px}.data-note{margin-left:20px;margin-right:20px}.data-note p{font-size:11px}.data-note svg{width:14px;height:14px}.selection-actions .button{font-size:12px;min-height:35px}.optional-label{font-size:9px}.range-field{font-size:10px}.coordinate-field{font-size:9px}.map-tools{left:15px;top:22px;padding:5px;gap:3px;z-index:8}.tool-button{width:34px;height:35px}.tool-button svg{width:18px;height:18px}.tool-separator{width:23px;margin:4px 0}.tool-tip{left:45px;font-size:12px}.mode-hint-wrap{left:75px;right:50px;bottom:29px;transform:none;max-width:none;font-size:12px;padding:8px 10px;line-height:1.6;white-space:normal}.mode-hint-wrap .hint-dot{display:block}.hint-action{font-size:11px;padding:4px 6px}.hint-action kbd{display:none}.map-fit{right:15px;bottom:98px;z-index:9}.map-fit .icon-button{width:30px;height:30px}.north-indicator{right:25px;top:25px}.north-indicator>span:first-child{font-size:10px}.north-indicator svg{width:18px;height:27px}.north-line{height:15px}.canvas-footer{font-size:9px;padding:0 15px}.canvas-footer>div:last-child{display:flex}.canvas-footer #selected-count{display:none}.maplibregl-ctrl-group button{width:30px!important;height:30px!important}.maplibregl-ctrl-top-right{right:5px!important}.maplibregl-ctrl-bottom-left{left:15px!important}.maplibregl-ctrl-scale{font-size:9px!important;height:16px!important;line-height:15px!important}.maplibregl-ctrl-attrib{max-width:none!important;font-size:8px!important}.app-footer>span:first-child{font-size:7px;letter-spacing:1px}.app-footer>span:last-child{display:flex;font-size:7px}.inspector-scroll,.inspector-panel>.inspector-scroll{max-height:calc(100% - 100px);height:calc(100% - 100px)}}
@media(max-width:550px){:root{--header-height:59px;--footer-height:25px}.app-header{padding:0 13px}.header-actions .button{font-size:11px;padding:8px 9px}.header-actions .primary-button{font-size:11px;min-height:35px}.header-actions .primary-button svg{width:14px}.brand .wordmark{font-size:27px!important}.header-actions #save-project span,.header-actions #import-project span{display:none}.header-actions .help-action{display:flex;width:28px}.header-actions .help-action svg{width:16px}.header-divider{margin:0 4px}.header-actions{gap:1px}.canvas-header-caption{display:none}.canvas-title-block{left:79px;top:24px}.canvas-location{font-size:22px}.canvas-title-block .eyebrow{font-size:8px}.canvas-location-en{font-size:8px}.demo-badge{font-size:10px}.map-tools{left:13px;top:20px}.tool-button{width:31px;height:32px}.map-tools{gap:2px}.tool-separator{margin:4px 0}.north-indicator{right:22px;top:26px}.mode-hint-wrap{left:67px;right:52px;bottom:32px;font-size:11px;gap:5px;line-height:1.7;padding:7px 9px;flex-wrap:wrap}.mode-hint-wrap .hint-dot{display:none}#mode-hint{width:100%;text-align:center}.hint-action{font-size:11px;padding:5px 7px}.hint-action.muted{margin-left:3px}.app-footer>span:last-child{display:none}.canvas-footer{font-size:8px;padding:0 11px}.canvas-footer>div:last-child{font-size:8px}.dialog-field-grid{grid-template-columns:1fr 1fr}.dialog-field-grid .text-field{font-size:11px}.studio-dialog .field-label,.checkbox-label{font-size:12px}.dialog-heading h2,.help-dialog .dialog-heading h2{font-size:18px}.export-note p{font-size:11px}.help-content h3{font-size:13px}.shortcut-grid{font-size:12px}.shortcut-grid kbd{font-size:11px}.maplibregl-ctrl-attrib{font-size:8px!important}.panel-section .micro-label{display:block}}
@media(max-width:380px){.header-actions .help-action{display:none}.header-actions .button{padding:8px}.brand .wordmark{font-size:24px!important}.canvas-location{font-size:20px}.dialog-field-grid{grid-template-columns:1fr}.canvas-title-block .eyebrow{font-size:7px}.canvas-location-en{font-size:7px}.maplibregl-ctrl-attrib{font-size:7px!important}}
.transport-section .section-heading{margin-bottom:15px}
.transport-group{min-width:0;margin:0;padding:0;border:0;--transport-color:#587d95}
.transport-group+.transport-group{margin-top:12px}
.transport-group legend{display:flex;align-items:center;gap:7px;max-width:100%;padding:0;margin:0 0 4px;color:var(--ink);font-size:11px;font-weight:500;line-height:1.7}
.transport-swatch{display:inline-block;width:12px;height:3px;background:var(--transport-color);border-radius:1px;flex-shrink:0}
.transport-metro .transport-swatch{width:20px;background:linear-gradient(90deg,#e4002c 0 50%,#0070bd 50% 100%)}
.transport-rail{--transport-color:#000000}
.transport-rail .transport-swatch{width:20px;background:repeating-linear-gradient(90deg,#000000 0 4px,#ffffff 4px 8px)}
.transport-highway{--transport-color:#90c7e5}
.transport-subtitle{font-size:10px;color:#8a9082;font-weight:400;margin-left:-6px}
.transport-group .base-options{gap:0}
.transport-group .toggle-row{min-height:27px;padding-left:19px;font-size:11px;gap:8px}
.transport-group .toggle-row>span:first-child{min-width:0;line-height:1.65;padding-right:5px}
.transport-group .toggle-row input:checked+.switch{background:var(--transport-color)}
.transport-section .section-footnote{margin-top:13px}
@media(max-width:850px){.transport-group legend{font-size:12px}.transport-subtitle{font-size:11px}.transport-group .toggle-row{font-size:12px;min-height:31px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Project actions remain available on tablets and phones. */
.new-project-dialog{width:440px;max-height:calc(100dvh - 24px);overflow-y:auto}
.new-project-dialog .dialog-description{font-size:14px;line-height:1.8}
.new-project-dialog .icon-button{width:44px;height:44px}
.new-project-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px;margin-top:24px}
.new-project-actions .button{min-height:44px;font-size:13px}
@media(max-width:1100px){
  .header-actions .new-action{display:inline-flex}
}
@media(max-width:550px){
  :root{--header-height:100px}
  .app-header{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:44px 44px;gap:3px 4px;padding:4px 12px;align-content:start}
  .app-header .brand{grid-column:1;grid-row:1;height:44px;min-width:0}
  .app-header .brand .wordmark{font-size:27px!important}
  .app-header .brand-caption,.app-header .document-location{display:none}
  .app-header .header-actions{grid-column:1 / -1;grid-row:2;display:flex;width:100%;min-width:0;height:44px;margin:0;gap:6px;justify-content:space-between}
  .header-actions .button{height:44px;min-height:44px;padding:6px 10px;gap:6px;font-size:12px;line-height:1.4}
  .header-actions .new-action,.header-actions #export-button{display:inline-flex;flex:1 1 auto}
  .header-actions .button svg{width:14px;height:14px}
  .header-actions #import-project,.header-actions #save-project{flex:0 0 44px;width:44px;min-width:44px;padding:0}
  .header-actions #import-project span,.header-actions #save-project span{display:none}
  .header-actions .help-action{display:flex;position:absolute;top:4px;right:12px;width:44px;min-width:44px;height:44px}
  .header-actions .help-action svg{width:18px;height:18px}
  .header-actions .header-divider{display:none}
}

/* Desktop uses Windows fonts without a remote font dependency. */
:root{--sans:'Microsoft JhengHei UI','Microsoft JhengHei','Segoe UI',sans-serif}

/* Sort controls remain separate from selection, visibility and deletion. */
#layer-list .layer-row{gap:5px;padding:5px 3px;width:100%}
#layer-list .layer-row .layer-name{min-width:0;justify-content:flex-start;text-align:left;color:var(--ink);height:auto;min-height:26px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#layer-list .layer-row .layer-color{width:21px;height:22px;padding:2px}
#layer-list .layer-count{min-width:12px;font-size:9px}
#layer-list .layer-delete{flex:0 0 22px;color:#a35643}
#layer-list .layer-delete:hover:not(:disabled){background:#f0e0d9;color:#8a3628}
#layer-list .layer-delete:disabled{cursor:not-allowed}
#layer-list .reorder-handle,#scene-list .reorder-handle{width:20px;height:28px;min-height:28px;flex:0 0 20px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#899080;font:19px 'Segoe UI Symbol','Segoe UI',sans-serif;line-height:1;cursor:grab;user-select:none;border-radius:3px}
#layer-list .reorder-handle:hover,#scene-list .reorder-handle:hover{background:#e3e5da;color:var(--ink)}
#layer-list .reorder-handle:active,#scene-list .reorder-handle:active{cursor:grabbing}
#scene-list .scene-item{padding:3px 5px;gap:3px;min-width:0}
#scene-list .scene-button{min-width:0;flex:1;white-space:normal;overflow-wrap:anywhere;padding:6px 3px}
#scene-list .scene-delete{flex:0 0 24px}
#layer-list .rename-button,#scene-list .rename-button{width:22px;height:28px;flex:0 0 22px;padding:3px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:3px;background:transparent;color:var(--muted)}
#layer-list .rename-button:hover,#scene-list .rename-button:hover{background:#e3e5da;color:var(--ink)}
.rename-button svg{width:14px;height:14px;pointer-events:none}
[data-sort-kind]{position:relative}
[data-sort-kind].is-sorting{opacity:.45}
[data-sort-kind][data-drop-position]::after{content:'';position:absolute;left:0;right:0;height:3px;background:var(--accent);border-radius:2px;pointer-events:none;z-index:2}
[data-sort-kind][data-drop-position=before]::after{top:-3px}
[data-sort-kind][data-drop-position=after]::after{bottom:-3px}
#export-layout{margin-bottom:15px}
