:root{color-scheme:light;--surface:#fff;--bg:#f4f5f6;--text:#1d272f;--muted:#69747d;--line:#d9dfe3;--accent:#244c6a;--soft:#edf1f4;--warn:#80551f;--warnbg:#fff6e9}*{box-sizing:border-box}body{margin:0;font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:#20282b}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:7px 11px;cursor:pointer;white-space:nowrap}button:hover{background:var(--soft)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #dd8a36;outline-offset:3px}a{color:var(--accent);text-underline-offset:3px}p,h1,h2,h3{margin:0}h1{font-size:17px;line-height:1.4;font-weight:600}h2{font-size:22px;line-height:1.5}h3{font-size:15px;margin-bottom:10px}p{overflow-wrap:anywhere}.app-header{height:56px;display:flex;align-items:center;gap:24px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--line);position:relative;z-index:600}.identity strong{font-size:17px;font-weight:600;white-space:nowrap}.campus-buttons{display:flex;gap:4px}.campus-buttons button{border:0;padding:6px 12px;font-size:13px}.campus-buttons .selected{background:var(--soft);color:var(--accent);font-weight:600}.app-header nav{margin-left:auto;display:flex;gap:4px}.app-header nav button{font-size:12px;border-color:transparent;padding:6px 10px}.workspace{height:calc(100dvh - 56px);min-height:480px}.map-shell{height:100%;position:relative;overflow:hidden;background:#cdd4d5}#map{width:100%;height:100%;background:#cdd4d5}.map-toolbar{position:absolute;z-index:500;top:16px;left:18px;display:flex;gap:5px;max-width:calc(100% - 80px)}.map-toolbar button{font-size:12px;background:var(--surface);border-color:#c8d0d4}.map-status{position:absolute;z-index:500;top:59px;left:18px;background:var(--surface);padding:3px 7px;border-radius:2px;color:var(--muted);font-size:10px;max-width:calc(100% - 90px);pointer-events:none}.map-status.error{color:#a33e2c}.map-instruction{position:absolute;z-index:500;left:20px;bottom:105px;background:var(--surface);color:var(--muted);font-size:11px;padding:4px 8px;pointer-events:none}.steps{position:absolute;z-index:570;bottom:31px;left:20px;right:350px;display:flex;overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:3px;scrollbar-width:thin;max-width:980px}.steps button{flex:1 0 71px;padding:8px 7px 7px;border:0;border-radius:0;border-top:3px solid transparent;text-align:center;line-height:1.25}.steps button[data-stage="0"]{display:none}.steps span{font-size:13px;font-weight:600;display:block}.steps small{display:block;font-size:9px;margin-top:5px;color:var(--muted);white-space:nowrap}.steps em{font-size:9px;font-style:normal;color:var(--muted);display:block;margin-top:3px}.steps .active{border-top-color:var(--accent);background:var(--soft);color:var(--accent)}.steps button:nth-child(n+5):nth-child(-n+9) em{color:var(--warn)}.satellite-info{position:absolute;right:20px;bottom:31px;z-index:580;width:306px;background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:15px 16px 12px;max-height:calc(100% - 45px);overflow:auto;scrollbar-width:thin}.info-header{display:flex;justify-content:space-between;gap:10px;align-items:center}.info-header button{border:0;font-size:11px;padding:5px 7px;color:var(--muted)}.section-label{font-size:10px;color:var(--muted);margin-bottom:3px}.resolution{margin:12px 0 10px}.resolution>span{display:block;font-size:10px;color:var(--muted)}.resolution strong{display:block;font:600 21px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.5px}.resolution p{font-size:10px;color:var(--muted)}.compact-status{font-size:11px;color:var(--muted)}.compact-status span{display:block;color:var(--warn)}.compact-status button{border:0;padding:4px 0;color:var(--accent);font-size:11px;text-decoration:underline;text-underline-offset:3px}.pending{border-top:3px solid #c38d48}.flow-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:7px;margin-top:12px}.flow-actions button{font-size:11px;padding:6px 8px}.flow-actions button:last-child{background:var(--soft)}#info-body{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}.facts{display:grid;grid-template-columns:65px minmax(0,1fr);gap:7px 9px;margin:0;font-size:11px}.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere}.notice{font-size:11px;color:var(--warn);background:var(--warnbg);padding:8px;margin-top:12px}.notice:empty{display:none}.details{margin-top:12px;font-size:11px}.details summary{cursor:pointer}.details p{margin:8px 0}.details a{display:inline-block;margin:4px 8px 0 0;overflow-wrap:anywhere}.map-footer{position:absolute;z-index:560;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:10px;background:var(--surface);color:var(--muted);font-size:9px;padding:4px 10px;min-height:22px}.map-footer span:last-child{text-align:right}.leaflet-bottom{bottom:25px}.leaflet-left.leaflet-bottom{left:16px;bottom:140px}.leaflet-control-attribution{max-width:650px;font-size:8px!important;background:#ffffffe0!important;color:#314353!important}.leaflet-control-attribution a{color:#274e6b!important}.leaflet-control-scale-line{background:#ffffffe0!important;color:#263d4c!important;border-color:#263d4c!important}.leaflet-top{top:8px}.campus-marker{border:0;background:transparent;white-space:nowrap}.campus-marker button{background:#8b4c1b;border:2px solid #f0b478;border-radius:3px;color:#fff;padding:7px 12px;font-size:13px;font-weight:600}.campus-marker button:hover{background:#663b1c}.native-preview{image-rendering:pixelated}.leaflet-tile{image-rendering:auto}.aerial-panel{position:absolute;z-index:550;inset:0 0 22px;background:var(--bg);overflow:auto;padding:26px 350px 135px 26px}.aerial-panel h2{font-size:18px;margin-bottom:8px}.aerial-panel>p{font-size:12px;color:var(--muted)}.aerial-media{margin:18px 0 12px;min-height:260px;display:grid;place-items:center;background:var(--soft);overflow:hidden}.aerial-media img,.aerial-media video{max-width:100%;max-height:60dvh;object-fit:contain}.aerial-caption{font-size:11px}.aerial-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:12px}.aerial-missing{padding:26px;max-width:650px}.wide-dialog{width:min(1500px,96vw);max-height:91dvh;padding:0;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--text)}dialog::backdrop{background:#12212bcc}.dialog-head{position:sticky;top:0;z-index:1;background:var(--surface);padding:19px 24px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.dialog-head p{font-size:12px;color:var(--muted);margin-top:5px}.dialog-head h2{font-size:20px}.close{align-self:flex-start;font-size:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:1900px;font-size:11px;line-height:1.65}th{background:var(--soft);text-align:left;padding:11px 13px;white-space:nowrap}td{padding:13px;vertical-align:top;min-width:115px;max-width:230px}tbody tr:nth-child(even){background:var(--bg)}td a{display:block;line-height:1.8}td strong{display:block;margin-bottom:5px}td small{color:var(--muted)}.dialog-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:18px 24px;font-size:12px;border-top:1px solid var(--line)}.method-content{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;padding:24px;font-size:13px}.method-content li{margin:8px 0}.method-content ol,.method-content ul{padding-left:21px;margin:0}.request-box{background:var(--soft);padding:16px}.request-box button{margin:12px 0}.file-button{display:inline-block;border:1px solid var(--line);border-radius:3px;padding:9px 13px;margin-top:14px;cursor:pointer}.file-button input{display:block;max-width:100%;margin-top:10px}#import-status{margin-top:10px;color:var(--muted)}.toast{position:fixed;z-index:2000;bottom:26px;left:50%;transform:translateX(-50%);background:#244c6a;color:#fff;font-size:12px;padding:10px 15px;max-width:90vw}.layer-info-content{padding:24px}.acquisition-heading{max-width:900px}.acquisition-heading>p:last-child{color:var(--muted);margin-top:8px;font-size:13px}.scene-preview{margin:22px 0;display:grid;grid-template-columns:minmax(0,500px) minmax(0,330px);gap:22px;align-items:end}.scene-preview img{width:100%;height:auto;background:#1d2428}.scene-preview figcaption{font-size:12px;color:var(--muted)}.acquisition-body{display:grid;grid-template-columns:1.2fr 1fr;gap:36px;margin:24px 0;font-size:13px}.acquisition-body ol{padding-left:20px}.acquisition-body li{margin:10px 0}.acquisition-cost{border-left:1px solid var(--line);padding-left:24px}.acquisition-cost>a{display:inline-block;margin-top:13px}.acquisition-links{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.secondary-note{color:var(--muted);font-size:12px;margin-top:15px}.scene-id{font:11px/1.8 ui-monospace,monospace;color:var(--muted);overflow-wrap:anywhere}.acquisition-actions{display:flex;gap:10px;margin-top:22px}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#345e7e;color:#fff}[hidden]{display:none!important}html[data-theme=dark]{color-scheme:dark;--surface:#202b34;--bg:#17232b;--text:#e5ebee;--muted:#a9b5be;--line:#3d4c57;--accent:#a2c5de;--soft:#2c3a45;--warn:#e9bc7b;--warnbg:#392f22}html[data-theme=dark] .primary{background:#315a78;border-color:#315a78}html[data-theme=dark] .pending{border-top-color:#bb945a}@media(max-width:1050px){.steps{right:320px;left:12px}.satellite-info{right:12px;width:290px}.app-header{gap:12px}.map-instruction{left:12px}.steps button{flex-basis:66px}.aerial-panel{padding-right:320px}}@media(max-width:700px){.app-header{height:88px;display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 12px}.identity{grid-column:1;grid-row:1}.identity strong{font-size:15px}.app-header nav{grid-column:2;grid-row:1;gap:0}.app-header nav button{font-size:10px;padding:5px}.campus-buttons{grid-column:1/-1;grid-row:2}.campus-buttons button{font-size:12px}.workspace{height:calc(100dvh - 88px);min-height:550px}.map-toolbar{left:10px;top:10px}.map-toolbar button{font-size:10px;padding:6px 8px}.map-status{left:10px;top:48px}.satellite-info{bottom:28px;right:10px;left:auto;width:245px;padding:10px 12px;max-height:55%}.info-header h1{font-size:15px}.resolution{margin:6px 0}.resolution strong{font-size:18px}.resolution p{font-size:9px}.compact-status{font-size:10px}.flow-actions{margin-top:8px}.flow-actions button{padding:4px 6px}.steps{bottom:257px;left:10px;right:10px;max-width:none}.steps button{flex-basis:65px;padding:5px 6px}.steps span{font-size:12px}.steps small{font-size:8px;margin-top:3px}.steps em{display:none}.map-instruction{bottom:313px;left:10px;font-size:10px;padding:3px 6px}.leaflet-left.leaflet-bottom{bottom:335px;left:5px}.leaflet-control-attribution{max-width:210px;font-size:7px!important}.leaflet-bottom.leaflet-right{bottom:24px;right:auto;left:0}.map-footer{font-size:8px;padding:3px 6px}.map-footer span:first-child{display:none}.map-footer span:last-child{text-align:left}.aerial-panel{padding:15px 15px 320px}.aerial-panel h2{font-size:16px}.aerial-media{min-height:180px}.method-content,.acquisition-body{grid-template-columns:1fr;gap:20px;padding:18px}.acquisition-body{padding:0}.acquisition-cost{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.dialog-head{padding:14px}.dialog-head h2{font-size:17px}.dialog-actions{padding:16px}.layer-info-content{padding:18px}.scene-preview{grid-template-columns:1fr;gap:8px}.layer-info-content h2{font-size:20px}.aerial-links{gap:9px}.wide-dialog{max-height:93dvh}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body>*{display:none!important}#inventory{display:block!important;position:static;max-height:none;width:100%;border:0;overflow:visible}.dialog-head button,.dialog-actions{display:none}.table-scroll{overflow:visible}table{min-width:0;font-size:8px}td{min-width:0;padding:6px}th{padding:6px}.dialog-head{position:static}a{color:#163f65}#inventory::backdrop{display:none}@page{size:A3 landscape;margin:10mm}}

.map-instruction{display:none!important}.background-source{color:var(--muted)!important}#position{font:9px/1.5 ui-monospace,monospace;color:var(--muted);margin-top:10px}.map-footer{justify-content:flex-end}

@media(max-width:700px){.steps{bottom:calc(var(--info-height,210px) + 42px)}.leaflet-left.leaflet-bottom{bottom:calc(var(--info-height,210px) + 110px)}}
/* Existing map workspace: restrained research UI, dials 3 / 4 / 6. */
.scene-quality{font-size:10px;color:var(--muted);margin-top:4px}.scene-quality.cloudy{color:var(--warn)}.freshness-note{font-size:9px;color:var(--muted);margin-top:5px}.steps button em{color:var(--muted)!important}.steps .awaiting em{color:var(--warn)!important}.reference-leads{max-width:760px;margin-top:24px}.reference-leads>p{font-size:12px;color:var(--muted)}.reference-leads article{margin:22px 0}.reference-leads article h3{margin-bottom:6px}.reference-leads article p{font-size:11px;color:var(--muted)}
.steps{right:auto;width:max-content;max-width:calc(100% - 370px)}.steps button{flex:0 0 95px}@media(max-width:700px){.steps{right:auto;max-width:calc(100% - 20px)}}

.source-controls{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:6px 8px;margin-top:12px;font-size:11px}.source-controls label{color:var(--muted)}.source-controls select{font:inherit;min-width:0;width:100%;padding:5px 3px;border:1px solid var(--line);border-radius:3px;color:var(--text);background:var(--surface)}.source-controls select:focus-visible{outline:3px solid #dd8a36;outline-offset:2px}.source-controls select:disabled{opacity:1;border-color:transparent;padding-left:4px}.source-credit{font-size:10px;margin-top:9px;color:var(--muted)}.source-credit a{color:var(--muted)}.steps small:empty,.steps em:empty{display:none}.steps button{flex-basis:85px}

.view-scale{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text)}#sensor-credit{margin-top:4px}.source-credit{line-height:1.5}
