@font-face{font-family:Slabs;src:url('/slabs-font.ttf') format('truetype');font-display:swap}
:root{font-family:Slabs,system-ui,-apple-system,'Segoe UI',sans-serif;color:#e7edf6;background:#0e131c;--surface:#0e131c;--header:#162028;--line:#354254;--muted:#97a6bb;--accent:#53e1cd;--accent-secondary:#6d9aff;--hover:#232f3e;--danger:#ff7d91;color-scheme:dark;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.map-stage:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}
.topbar{height:57px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;border-bottom:1px solid #263746;background:#111923}.brand{display:flex;align-items:center;gap:10px;font-size:16px;letter-spacing:.5px}.brand-detail{color:var(--muted);letter-spacing:0}.slabs-mark{display:flex;flex-direction:column;gap:3px;width:19px;transform:rotate(0deg)}.slabs-mark i{display:block;height:3px;border-radius:2px;background:var(--accent);width:13px}.slabs-mark i:nth-child(2){margin-left:3px}.slabs-mark i:nth-child(3){margin-left:6px}.topbar-actions{display:flex;align-items:center;gap:20px;font-size:13px}.account-name{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;padding:20px;height:calc(100dvh - 57px);min-height:420px}.workspace.with-activity{grid-template-columns:245px minmax(0,1fr) 290px}.controls{display:flex;flex-direction:column;gap:14px;min-height:0;overflow:auto;padding:0 1px 10px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:6px;box-shadow:0 5px 16px #0002;overflow:hidden}.panel-title{position:relative;display:flex;align-items:center;justify-content:center;height:35px;font-size:19px;font-weight:400;line-height:1;background:linear-gradient(180deg,#18272e,#14212a);border-bottom:1px solid #2a3b49}.panel-title:before{content:'';position:absolute;top:0;height:2px;width:25px;background:var(--accent)}.chevron{position:absolute;right:10px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #8ca0b1}.panel-content{padding:11px;display:flex;flex-direction:column;gap:11px}.field{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;min-width:0}.field select,.field input{width:100%;height:33px;min-width:0;border:1px solid var(--line);border-radius:5px;padding:5px 9px;background:#18212e;color:#dce5ee;font-size:14px;outline:none}.field select:focus,.field input:focus{border-color:var(--accent)}.field select{padding-right:24px;cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:5px 11px;border:1px solid var(--line);border-radius:5px;background:#192432;color:#dce5ee;line-height:1.3;font-size:14px}.button:hover,.segmented button:hover,.zoom-controls button:hover{background:var(--hover);border-color:#50697b}.button.primary{border-color:#4d7e89;background:#1d3b46;color:#d2f0f0}.full{width:100%}.text-button{border:0;padding:2px 0;color:var(--muted);background:none;font-size:13px;line-height:1.5}.text-button:hover{color:#d5eeee}.small{font-size:12px}.segmented{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden}.segmented button{height:32px;width:50%;border:0;background:#192432;color:var(--muted);font-size:14px}.segmented button+button{border-left:1px solid var(--line)}.segmented button.selected{color:#d7f1ef;background:#203a43;box-shadow:inset 0 -2px var(--accent)}.history-actions{display:flex;justify-content:space-between;min-height:20px}.history-actions #live-button{margin-left:auto}.position-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:7px;align-items:end}.position-form .button{padding:5px}.inline-error{padding:9px 3px;color:var(--danger);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.map-panel{display:flex;flex-direction:column;min-width:0;min-height:0}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;height:43px;flex:none;padding:0 14px;background:#15212b;border-bottom:1px solid #2b3e4d}.map-heading h1{font-size:16px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-heading>span{font-size:12px;white-space:nowrap}.muted{color:var(--muted)}.map-stage{position:relative;flex:1;min-height:220px;overflow:hidden;outline:none;cursor:grab;touch-action:none;background-color:#0d131c;background-image:linear-gradient(45deg,#121b25 25%,transparent 25%),linear-gradient(-45deg,#121b25 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#121b25 75%),linear-gradient(-45deg,transparent 75%,#121b25 75%);background-size:32px 32px;background-position:0 0,0 16px,16px -16px,-16px 0}.map-stage.dragging{cursor:grabbing}#map-canvas{display:block;width:100%;height:100%;pointer-events:none}.map-message{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:var(--muted);font-size:14px;padding:30px;text-align:center}.map-message span{max-width:340px;padding:11px 18px;border:1px solid #2c3b47;background:#111a24eb;border-radius:5px;line-height:1.5}.zoom-controls{position:absolute;right:13px;top:13px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:5px;overflow:hidden;box-shadow:0 3px 12px #0003}.zoom-controls button{width:32px;height:32px;background:#172330ed;color:#d8e5ed;border:0;font-size:20px;line-height:1}.zoom-controls button+button{border-top:1px solid var(--line)}.coordinates{position:absolute;left:12px;top:12px;border-radius:4px;background:#111a24e3;border:1px solid #273b48;padding:5px 8px;color:#b5c6d5;font-size:11px;pointer-events:none;font-variant-numeric:tabular-nums}.map-footer{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;padding:6px 11px;background:#111a24e8;border-top:1px solid #263947;color:#9db6c5;font-size:11px;pointer-events:none}#map-status.error{color:var(--danger)}
.activity-panel{display:flex;flex-direction:column;min-height:0}.close-button{position:absolute;right:8px;top:3px;height:27px;width:27px;border:0;background:none;color:var(--muted);font-size:19px}.close-button:hover{color:var(--accent)}.activity-list{flex:1;min-height:0;overflow:auto}.activity-row{padding:12px;border-bottom:1px solid #283b49;line-height:1.5}.activity-row:nth-child(even){background:#17233066}.activity-row-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px}.activity-row strong{font-weight:400;color:#c6e8e8;overflow-wrap:anywhere}.activity-row time{font-size:10px;color:var(--muted);white-space:nowrap}.activity-detail{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:3px}.activity-status{padding:10px 12px;font-size:12px}.activity-panel>.text-button{padding:8px}.auth-view{display:grid;place-items:start center;padding:90px 20px}.auth-panel{width:min(370px,100%)}.auth-panel .panel-content{padding:22px;gap:21px}.auth-panel p{font-size:14px;line-height:1.6;color:var(--muted)}.startup-error{position:fixed;top:90px;left:50%;transform:translateX(-50%);width:min(370px,calc(100% - 40px));z-index:10}.startup-error .panel-content{gap:18px;padding:20px}.startup-error p{font-size:13px;color:var(--muted);line-height:1.6}.noscript-message{text-align:center;padding:80px 20px;color:var(--muted)}
/* MeteorGuiTheme/SlabsGui default palette and the same restrained header ribbon. */
.decision-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-panel .panel-content{padding:15px;gap:12px}.auth-panel p.small{font-size:11px}.auth-view{padding-top:64px}
@media(max-width:760px){.topbar-actions .account-name{display:none}.topbar-actions{gap:10px}.topbar-actions .button{font-size:12px;padding:5px 8px}.topbar-actions .text-button{font-size:12px}}
.panel{background:linear-gradient(180deg,#121822,var(--surface) 70px)}.panel-title{background:linear-gradient(180deg,#162028,#111b23);color:#f6f9ff}.panel-title:before{background:linear-gradient(90deg,var(--accent),var(--accent-secondary));opacity:.65}.field select,.field input{background:#19212e;color:#e7edf6}.button{background:linear-gradient(180deg,#19212e,#171e2a);color:#e7edf6}.button:hover{background:#232f3e;border-color:#567e8b}.button.primary{background:#1c3d41;border-color:#567e8b}.segmented button{background:#19212e}.segmented button.selected{background:#1c3d41}.map-heading{background:linear-gradient(180deg,#162028,#111b23)}
@media(max-width:1200px){.workspace.with-activity{grid-template-columns:220px minmax(0,1fr)}.with-activity .activity-panel{position:fixed;right:20px;top:78px;bottom:20px;width:290px;z-index:5;box-shadow:0 12px 35px #0008}}@media(max-width:760px){.topbar{padding:0 15px;height:52px}.topbar-actions{gap:13px}.brand{font-size:14px}.brand-detail{display:none}.workspace,.workspace.with-activity{height:auto;min-height:calc(100dvh - 52px);padding:12px;gap:12px;grid-template-columns:1fr}.controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;overflow:visible;padding:0}.controls .panel:last-of-type{grid-column:1/-1}.position-form{grid-template-columns:1fr 1fr 50px}.controls .panel:last-of-type .panel-content{display:grid;grid-template-columns:1fr 95px;align-items:end}.inline-error{grid-column:1/-1}.map-panel{height:65dvh;min-height:360px}.map-heading{height:39px}.map-heading h1{font-size:14px}.with-activity .activity-panel{top:66px;right:12px;bottom:12px;width:min(320px,calc(100% - 24px))}.account-name{max-width:115px;font-size:12px}.auth-view{padding-top:60px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
