aside nav{max-height:calc(100dvh - 260px);overflow-y:auto;scrollbar-width:thin}nav button{min-height:38px;padding-top:9px;padding-bottom:9px}nav button[hidden]{display:none}footer #account-name{display:block;letter-spacing:0;margin:0 0 8px}footer #logout{padding:5px 8px;font-size:11px;margin-bottom:12px}.sidebar-collapsed #account-name,.sidebar-collapsed #logout{display:none}.table-scroll{overflow:auto}textarea{width:100%;border:1px solid #ccd8e1;border-radius:6px;padding:12px;margin:7px 0 18px;font:inherit}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:auto;margin:12px 0}details>summary{cursor:pointer;padding:10px 0;font-weight:600}#content>.panel+.panel{margin-top:20px}.history-workspace{position:absolute;inset:0;overflow:hidden}.history-workspace #history-map{position:absolute;inset:0;z-index:0}.glass{background:rgba(255,255,255,.83);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.7);box-shadow:0 5px 24px #17364116;border-radius:12px;color:#193544}.history-summary{position:absolute;top:16px;left:54px;width:290px;max-height:calc(100% - 210px);overflow:auto;padding:8px 16px;z-index:500}.history-summary dl{grid-template-columns:1.4fr 1fr;gap:7px;margin:8px 0}.history-summary p,.history-summary small{font-size:11px;line-height:1.6}.history-summary label{display:block}.history-summary input,.history-summary select{padding:7px;margin:4px 0 8px}.history-summary button{padding:7px 10px;margin:4px 0}.history-tree{position:absolute;right:16px;top:16px;width:290px;max-height:calc(100% - 210px);overflow:auto;padding:6px 14px;z-index:500}.history-tree details{margin-left:10px}.history-tree summary{padding:3px 0}.history-tree button{font-size:11px;text-align:left;padding:6px;border:0;background:transparent;display:inline-block}.history-tree button.selected{background:#c8e8e6;color:#005c54}.history-carousel{position:absolute;bottom:28px;left:16px;right:16px;padding:3px 14px;z-index:500}.history-carousel>summary{padding:8px 0}#history-aircraft{display:flex;overflow-x:auto;gap:10px;padding-bottom:10px}.aircraft-card{flex:0 0 240px;text-align:left;padding:10px;background:#ffffffb5;border:1px solid #d4e1e7}.aircraft-card.selected{border:2px solid #168575}.aircraft-card strong,.aircraft-card small{display:block;margin-bottom:5px}.aircraft-card small{font-size:10px}.aircraft-silhouette{float:left;font-size:28px;margin-right:9px;color:#2a647e}.history-cluster{border-radius:50%;background:#166d91;color:white;font-weight:700;display:grid;place-items:center;border:2px solid white;box-shadow:0 1px 6px #0003}.map-view #content .history-workspace{height:100%}.map-view #notice:not(:empty){position:absolute;top:0;left:50%;z-index:1000;background:white;padding:8px;border-radius:8px;transform:translateX(-50%)}
@media(max-width:800px){.history-summary{width:210px;left:45px;font-size:11px}.history-tree{width:210px;right:8px}.history-carousel{left:8px;right:8px}.aircraft-card{flex-basis:210px}.history-summary dl{font-size:10px}}@media(max-width:560px){.history-summary{top:8px;left:45px;width:calc(100% - 60px);max-height:32%;padding:3px 10px}.history-tree{top:35%;max-height:35%;width:200px}.history-carousel{bottom:20px}.history-carousel>summary{padding:5px 0}.aircraft-card{flex-basis:200px}form.fields{grid-template-columns:1fr}}
.evidence-photo{max-width:100%;max-height:400px;object-fit:contain}.aircraft-photo{width:50px;height:45px;object-fit:contain;float:left;margin-right:10px}select[multiple]{min-height:90px}#pending-notifications{letter-spacing:0}.history-workspace{position:relative;height:calc(100dvh - 24px);border-radius:12px;border:1px solid #dce5e6}.map-view #content .history-workspace{height:calc(100dvh - 24px)}.history-workspace small{letter-spacing:0;font-weight:400}.history-summary small{display:block;color:#70838c}.history-carousel small{line-height:1.4}@media(max-width:650px){.map-view #content .history-workspace{height:calc(100dvh - 124px)}body.sidebar-collapsed.map-view #content .history-workspace{height:calc(100dvh - 68px)}}
.workspace-toolbar{position:absolute;z-index:550;top:14px;left:54px;right:16px;padding:7px 10px;display:flex;align-items:center;gap:12px}.workspace-toolbar>b{font-size:13px;margin-right:auto}.workspace-mode{display:flex;gap:3px;border-radius:8px;background:#dbe6e66b;padding:3px}.workspace-mode button{padding:7px 14px;background:transparent;border:0;font-size:12px}.workspace-mode button.active{background:#fff;color:#0f7567;box-shadow:0 1px 6px #173c4219}.workspace-toolbar #workspace-centre{padding:8px 10px;font-size:11px;background:#ffffff65}.unified-workspace .history-summary,.unified-workspace .history-tree{top:78px;max-height:calc(100% - 285px)}.unified-workspace [hidden]{display:none!important}.workspace-drawer{padding:5px 12px!important}.workspace-drawer-tabs{display:flex;gap:5px;align-items:center}.workspace-drawer-tabs button{background:transparent;font-size:12px;padding:9px 12px;border:0}.workspace-drawer-tabs button.active{background:#ffffffce;color:#106f64}.workspace-drawer-tabs #workspace-drawer-close{margin-left:auto;padding:4px 10px;font-size:22px}.workspace-drawer-body{max-height:36dvh;overflow:auto;padding-top:10px;border-top:1px solid #ffffff9c}.workspace-drawer-body #history-aircraft{margin-bottom:0}.workspace-telemetry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.workspace-telemetry-grid article{padding:0 10px}.workspace-telemetry-grid h3{font-size:13px;display:flex;align-items:center;gap:12px}.workspace-telemetry-grid p,.workspace-records p{font-size:11px;line-height:1.6}.workspace-records h3{font-size:13px}.workspace-records article{padding:5px 0;border-bottom:1px solid #d2dce480}.workspace-records button{font-size:11px;padding:8px;margin:10px 0}.live-summary-heading{display:flex;align-items:center;gap:12px;font-size:13px;margin-top:5px}.live-summary-heading .badge{margin-left:auto;font-size:9px;padding:6px 9px}.workspace-counts{font-size:11px!important;margin:10px 0}.live-summary-heading+ .workspace-counts b{color:#0b7565}.unified-workspace .history-summary>details>summary{font-size:11px}.unified-workspace .history-summary>details{font-size:11px}
@media(max-width:800px){.workspace-toolbar{gap:6px}.workspace-toolbar>b{font-size:11px}.workspace-mode button{padding:7px 10px}.workspace-drawer-tabs button{padding:9px;font-size:11px}}@media(max-width:560px){.workspace-toolbar{top:8px;left:45px;right:8px;padding:5px}.workspace-toolbar>b{display:none}.workspace-mode{margin-right:auto}.workspace-mode button{padding:7px 9px;font-size:11px}.workspace-toolbar #workspace-centre{padding:7px;font-size:10px}.unified-workspace .history-summary{top:65px;max-height:27%}.unified-workspace .history-tree{top:38%;max-height:36%}.workspace-drawer-tabs button{padding:8px 6px;font-size:10px}.workspace-drawer-tabs #workspace-drawer-close{padding:3px 6px}.workspace-drawer-body{max-height:32dvh}.workspace-telemetry-grid{grid-template-columns:1fr}}

.workspace-theme{display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;color:#546c7a}.workspace-theme select{width:112px;padding:7px;margin:0;font-size:11px;background:#ffffffa3;border:1px solid #dae3e8}.map-theme-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.leaflet-gl-layer{pointer-events:none}.unified-workspace .leaflet-control-attribution{font-size:9px;max-width:90%;line-height:1.4}@media(max-width:800px){.workspace-theme{font-size:9px}.workspace-theme select{width:90px}.workspace-toolbar>b{display:none}}@media(max-width:560px){.workspace-toolbar{flex-wrap:wrap}.workspace-theme{order:3;flex-basis:100%;justify-content:space-between;padding:0 3px}.workspace-theme select{width:65%;max-width:180px;padding:5px}.unified-workspace .history-summary{top:105px;max-height:24%}.unified-workspace .history-tree{top:43%;max-height:29%}}

@media(max-width:560px){.unified-workspace .history-carousel{bottom:54px}}.workspace-mode button:disabled,.workspace-drawer-tabs button:disabled{opacity:.5;cursor:wait}.workspace-theme select{width:150px}@media(max-width:800px){.workspace-theme select{width:125px}}@media(max-width:560px){.workspace-theme select{width:65%;max-width:180px}}

/* Keep the desktop rail scrollable without creating a second scroll axis. */
@media(min-width:651px){body>aside nav{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:auto;scrollbar-color:auto}body.sidebar-collapsed>aside nav{width:100%;display:flex;flex-direction:column;align-items:stretch}body.sidebar-collapsed>aside nav button{width:100%;min-width:0;padding-inline:3px;flex-shrink:0;overflow:hidden}body.sidebar-collapsed>aside nav .nav-icon{width:20px;flex:0 0 20px}body>aside nav::-webkit-scrollbar{width:5px;height:0}body>aside nav::-webkit-scrollbar-thumb{background:var(--ui-muted,#80919e);border-radius:8px}body>aside nav::-webkit-scrollbar-track{background:transparent}body.sidebar-collapsed>aside nav button:hover::after{display:none}}
