[hidden]{display:none!important}
.layer-explorer{margin:0 0 24px;color:#e5eee9;min-width:0}
.explorer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 20px}
.explorer-heading h2{font-size:clamp(22px,2.3vw,32px);letter-spacing:-.8px;margin:8px 0}
.explorer-tabs,.dossier-tabs{display:flex;gap:6px;padding:5px;background:#10231d;border:1px solid #294338;border-radius:12px}
.layer-explorer button{font:inherit;cursor:pointer;color:#cbd9d1;border:1px solid transparent;background:transparent;border-radius:8px;padding:10px 14px;font-size:14px}
.layer-explorer button[aria-pressed=true]{background:#c3ef80;color:#132613}
.layer-explorer button:focus-visible,.diagram-layer:focus-visible{outline:3px solid #f5e8a8;outline-offset:3px}
#layer-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px;align-items:start}
.layer-stage{background:radial-gradient(ellipse at 40% 60%,#213b38 0,#10201e 58%,#0d1817 100%);border:1px solid #304d42;border-radius:20px;overflow:hidden;min-width:0}
.stage-toolbar{padding:18px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px;color:#afc8bc}
.stage-toolbar label{display:flex;gap:8px;align-items:center;cursor:pointer}.stage-toolbar input{accent-color:#b9ed7d}
#layer-diagram{width:100%;display:block;max-height:590px}.diagram-layer{cursor:pointer}.diagram-layer:hover .sheet-top{fill-opacity:.65;stroke-width:3}.diagram-layer.selected .sheet-top{filter:drop-shadow(0 0 10px #cdf7a033)}
.stage-controls{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;border-top:1px solid #294338;color:#b8cfc2}.stage-controls label{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.stage-controls input{width:120px;accent-color:#bfee81}.stage-controls span{font-size:12px;color:#f1d390}
.geometry-note{padding:0 20px 16px;margin:0;font-size:13px;line-height:1.6;color:#95b1a3}
.layer-dossier{background:#11221a;border:1px solid #345040;border-radius:20px;padding:22px;min-width:0}.dossier-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dossier-title h3{font-size:32px;letter-spacing:-1px;margin:5px 0 20px}#selected-status{padding:8px 12px;background:#213b2c;border-radius:20px;font-size:14px}
.layer-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px}.layer-facts span{display:block;color:#9db3a6;font-size:13px;margin-bottom:7px}.layer-facts strong{font-size:16px}.dossier-tabs{justify-content:space-between}.dossier-tabs button{flex:1}.layer-dossier p{font-size:14px;line-height:1.65;color:#adbeaf}.layer-dossier h4{font-size:16px;margin:20px 0 10px}.layer-gallery{display:grid;gap:14px}.layer-explorer .layer-photo{padding:0;overflow:hidden;text-align:left;border:1px solid #375241;background:#172d22;width:100%}.layer-photo img{width:100%;height:190px;object-fit:cover;display:block}.layer-photo span{display:block;margin:12px 14px 7px;font-size:12px;color:#bcec90}.layer-photo strong{display:block;margin:0 14px 16px;font-size:14px;line-height:1.5}.release-document{display:block;border:1px solid #476048;background:#1a3123;border-radius:12px;padding:18px;margin:14px 0;color:#e4eedb;text-decoration:none}.release-document span,.release-document strong,.release-document b{display:block}.release-document span{font-size:12px;color:#b2c3ad}.release-document strong{font-size:19px;margin:12px 0}.release-document b{font-size:14px;color:#cef496}.dossier-empty{border-left:2px solid #baa96a;padding:10px 12px;background:#252b1f}.cala-summary{border-bottom:1px solid #314333;padding:12px 0}.cala-summary span{display:block;font-size:14px;color:#acc0ad;margin-top:8px}
.layer-selector{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:16px 0}.layer-explorer .layer-chip{border:1px solid var(--layer-color);background:#14271f;text-align:left;color:var(--layer-color);padding:12px 10px;white-space:nowrap}.layer-chip small{display:block;font-size:12px;opacity:.75;margin-top:6px}.layer-explorer .layer-chip[aria-pressed=true]{background:var(--layer-color);color:#142118}#data-origin{color:#8fa898;font-size:12px}
.layer-lightbox{background:#102018;border:1px solid #476246;border-radius:16px;color:#e2efde;width:min(92vw,1000px);padding:18px}.layer-lightbox::backdrop{background:#020a08e8}.layer-lightbox img{display:block;max-width:100%;max-height:75vh;margin:auto;object-fit:contain}.layer-lightbox button{display:block;margin:0 0 15px auto;background:#c3ef80;color:#172612;border:0;border-radius:8px;padding:12px;cursor:pointer}.layer-lightbox p{font-size:15px}
@media(max-width:1050px){#layer-workspace{grid-template-columns:minmax(0,1fr) 320px}.explorer-heading{align-items:flex-start;flex-direction:column}.layer-selector{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){#layer-workspace{grid-template-columns:1fr}.stage-toolbar{font-size:13px;padding:14px;flex-wrap:wrap}.stage-controls{padding:12px 14px;flex-wrap:wrap}.layer-dossier{padding:18px}.explorer-tabs{width:100%}.explorer-tabs button{flex:1;padding:10px 6px;font-size:13px}.layer-selector{grid-template-columns:repeat(4,minmax(0,1fr))}.layer-explorer .layer-chip{font-size:13px;padding:10px 6px}.layer-chip small{font-size:11px}.layer-photo img{height:230px}.explorer-heading{margin-top:0}#layer-diagram{min-height:330px}}
@media(prefers-reduced-motion:reduce){.diagram-layer{transition:none}}
#terrain-slot .viewer-card{border:0;border-radius:0;box-shadow:none}#terrain-slot .viewer-header,#terrain-slot .quality-strip{display:none}#terrain-slot .canvas-wrap{height:560px;min-height:560px}#terrain-slot .area-hud,#terrain-slot .terraplen-hud,#terrain-slot .model-stamp,#terrain-slot .layer-stack{display:none}#terrain-slot .viewer-tools{right:auto;left:12px;bottom:40px;top:auto}#terrain-slot .north-arrow{top:90px}#terrain-slot .public-scene-tools{right:12px}#terrain-slot .gesture-hint{font-size:12px}.stage-toolbar{flex-wrap:wrap}#dossier-slot{min-width:0}#dossier-slot .inspector-card{width:100%}
@media(max-width:760px){#terrain-slot .canvas-wrap{height:480px;min-height:480px}#terrain-slot .public-scene-tools small{display:none}.stage-controls input{width:150px}}
#terrain-slot .public-scene-tools button,#terrain-slot .viewer-tools button{background:#10251feb;border:1px solid #5a7465;color:#e5f2e9;min-height:36px}#terrain-slot .viewer-tools button{min-width:36px;padding:7px}
