:root{--bg:#101a1c;--panel:#172528;--panel2:#203237;--text:#eef4f1;--muted:#a4b8b5;--accent:#b8d9c7;--line:#354b4c}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif}.topbar{height:60px;padding:0 18px;gap:16px;background:#101c1e;border-color:#314345}.brand-mark{background:#b9dbc7;color:#17372b}.brand strong span{color:#aad2bb}.header-middle{display:none}.header-actions{gap:4px;align-items:center;flex-wrap:nowrap}.header-actions button,.top-quiet{font-size:12px;white-space:nowrap}.header-actions .top-primary{background:#b9dbc7;color:#19382b}.shared-tools{display:flex;align-items:center;gap:5px}.shared-tools select{max-width:210px;background:#1a292a;border:1px solid #3d5350;border-radius:6px;color:#eaf1ec;padding:8px;font-size:11px}.topbar .popover{top:52px;z-index:30}
.stage{inset:60px 0 0;background:#152529}.map-grid{display:block;inset:0 0 76px 320px;background:#1e3639}.preview-pane{position:absolute;inset:0;width:auto;height:auto}.map-caption{top:20px;left:20px}.preview-caption{padding:10px 13px;background:#102323b8;border:1px solid #ffffff22;border-radius:8px}.preview-caption .caps{letter-spacing:1px}.preview-controls{right:16px;bottom:16px}.map-hint{z-index:5;font-size:12px;background:#172c2aee}.plan-pane{position:absolute;display:block;z-index:6;top:14px;right:14px;width:min(360px,39%);height:min(260px,42%);border:1px solid #aac4b5;border-radius:10px;box-shadow:0 12px 28px #0009}.plan-pane .map-caption{top:10px;left:11px}.plan-pane .map-caption strong{font-size:13px}.plan-pane .map-overlay-controls{top:auto;right:9px;bottom:9px}.plan-pane .map-hint{display:none}.close-plan{position:absolute;z-index:6;top:8px;right:8px;border:0;border-radius:5px;background:#182c29de;color:white;font-size:20px;width:30px;height:30px}.overview{top:auto;bottom:65px;right:16px}.map-error{max-width:600px}
.inspector{top:0;bottom:0;left:0;right:auto;width:320px;border:0;border-right:1px solid #334a49;border-radius:0;background:#172527;box-shadow:none}.inspector .drawer-head{padding:16px 18px 8px}.inspector .drawer-head h2{font-size:20px;font-weight:650;margin:4px 0}.inspector .close{font-size:22px}.inspector-scroll{padding:0 16px 24px}.inspector-tabs{position:sticky;top:0;z-index:2;background:#172527;margin-bottom:17px;border-color:#3b5050}.inspector-tabs button{font-size:11px;padding:11px 3px}.route-heading{display:flex;justify-content:space-between;align-items:center}.route-heading h2{margin:3px 0 12px;font-size:20px}.route-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.route-search input{min-width:0;background:#101d1e;border:1px solid #425957;border-radius:6px;color:#f2f8f2;padding:9px;font-size:11px}.route-search button,.route-actions button{border:1px solid #506b60;background:#293e38;border-radius:6px;color:#e4f3e8;padding:8px;font-size:11px}.route-search #place-results{grid-column:1/-1;display:grid;gap:3px}.route-search #place-results button{text-align:left;white-space:normal}.route-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}.route-tools .tool{display:block;text-align:left;background:#223432;border:1px solid #3b5250;padding:9px;font-size:11px}.route-tools .tool span{display:inline}.route-tools .tool.active,.route-tools .tool:hover{background:#3c5b4d;border-color:#8daf99}.route-tools .tool-separator{display:none}.route-tools [hidden]{display:none}.route-actions button{width:100%;text-align:center;padding:10px}.sequence-header{display:flex;justify-content:space-between;gap:8px;margin:22px 0 4px;font-size:12px}.sequence-header span,#route-summary{font-size:10px;color:#9db4a9}.route-panel .shots{display:flex;flex-direction:column;overflow:visible;min-height:0;gap:6px;padding:10px 0}.route-panel .shot{flex:none;width:100%;min-height:54px;background:#223531;border-color:#405b51}.route-panel .shot strong{max-width:195px}.empty-route{font-size:11px;line-height:1.5;color:#9db0a8}.selected-edit{position:static;display:flex;flex-wrap:wrap;gap:5px;background:#1d302d;border:1px solid #405a50;border-radius:8px;padding:9px;margin:6px 0}.selected-edit span{width:100%;font-size:11px;color:#bfd6c7}.selected-edit button{background:#324a40;border:0;border-radius:5px;color:#e3f0e7;padding:6px;font-size:10px}.inspector h3{margin-top:20px}.inspector label{font-size:11px}
.editor{left:320px;right:0;height:76px;padding:13px 20px;background:#121f21;border-color:#354948}.transport-row{height:100%;display:flex;align-items:center;gap:12px}.transport-row button{border:1px solid #47625a;background:#273c36;color:#e8f4ea;border-radius:6px;padding:9px 12px;font-size:11px}.transport-row #play{background:#b8d9c7;color:#17382b;border-color:#b8d9c7;min-width:65px;font-weight:700}.transport-row input{flex:1;min-width:40px;accent-color:#b9dbc7}.transport-row #timeline-time{font-size:11px;color:#c5d8cc;white-space:nowrap}.controls-hidden .map-grid,.controls-hidden .editor{left:0}.library{left:333px;top:12px;bottom:88px;background:#172927f7}.feature-drawing-bar{bottom:86px}
@media(max-width:900px){.header-actions{gap:1px}.shared-tools select{max-width:150px}.topbar{gap:8px}.route-tools .tool span{display:inline}}
@media(max-width:650px){.topbar{height:56px;overflow-x:auto;padding:0 8px}.brand>span:not(.brand-mark){display:none}.stage{top:56px}.header-actions button,.top-quiet{font-size:10px;padding:7px}.map-grid,.controls-hidden .map-grid{left:0;inset-block:0 68px}.inspector{top:0;bottom:68px;left:0;width:min(310px,85vw);box-shadow:8px 0 28px #0008}.editor,.controls-hidden .editor{left:0;height:68px;padding:8px}.transport-row{gap:5px}.transport-row button{padding:8px}.transport-row #timeline-time{font-size:9px}.plan-pane{display:block!important;width:60%;height:200px}.plan-pane.hidden{display:none!important}.preview-controls span{display:inline}.library{left:6px;top:6px;bottom:74px;width:calc(100% - 12px)}.overview{width:145px;height:100px}}
