:root{font-family:Inter,Segoe UI,sans-serif;color:var(--foreground);background:var(--page);color-scheme:dark;--foreground: #e9eef5;--page: #101720;--surface: #182331;--edge: #304055;--muted: #aab8c9;--accent: #f3bf69;--accent-text: #f3bf69;--accent-border: #ffcd7d;--accent-hover: #ffd38d;--ink: #182331;--button: #223144;--button-hover: #2e4057;--hover-edge: #768aa4;--active: #302b26;--active-edge: #a98248;--field: #111b26;--top: #141e2a;--raised: #1d2b3b;--mention: #3b3022;--map: #203548;--red: #ff9e93;--yellow: #f4d594;--green: #86dfab;--error-text: #ffb0a9;--error-bg: #42282c;--notice-text: #fbd496;--notice-bg: #353024;--overlay: #060a12bd;font-synthesis:none}:root[data-theme=light]{color-scheme:light;--foreground: #17263a;--page: #edf1f6;--surface: #fff;--edge: #c4cfdb;--muted: #485c73;--accent: #f5c576;--accent-text: #805017;--accent-border: #aa741e;--accent-hover: #edb259;--button: #eef3f8;--button-hover: #dfe8f2;--hover-edge: #7b8da2;--active: #fff0d6;--active-edge: #ad773a;--field: #f8fafc;--top: #f7f9fc;--raised: #eff4fa;--mention: #fff4dc;--map: #d8e6ee;--red: #a62a2a;--yellow: #835908;--green: #14603d;--error-text: #962329;--error-bg: #fce8e8;--notice-text: #694610;--notice-bg: #fff1d8;--overlay: #1d2b4266}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:320px;line-height:1.45}button,input,select,textarea{font:inherit}button{border:1px solid var(--edge);background:var(--button);color:inherit;border-radius:6px;padding:.48rem .72rem;cursor:pointer;line-height:1.35}button:hover:not(:disabled){border-color:var(--hover-edge);background:var(--button-hover)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent-border);color:var(--ink);font-weight:700}button.primary:hover:not(:disabled){background:var(--accent-hover)}button.flat{background:none;border-color:transparent;color:var(--muted)}button.active{border-color:var(--active-edge);color:var(--accent-text);background:var(--active)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}input:not([type=checkbox],[type=radio]),select,textarea{width:100%;padding:.55rem .65rem;border:1px solid var(--edge);border-radius:5px;background:var(--field);color:var(--foreground)}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}label{display:flex;flex-direction:column;gap:.32rem;color:var(--muted);font-size:.88rem}label.checkbox{display:flex;flex-direction:row;align-items:center;gap:.55rem}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.7rem,3.1vw,2.65rem);letter-spacing:-.04em;line-height:1.15}h2{font-size:1rem;letter-spacing:.015em}h3{font-size:.88rem;padding:.45rem 0}small{color:var(--muted)}.app-header{min-height:67px;display:flex;align-items:center;gap:2rem;padding:0 3vw;border-bottom:1px solid var(--edge);background:var(--top)}.wordmark{display:flex;align-items:center;gap:.7rem;border:0;background:none;padding:.4rem 0;text-align:left;font-weight:800;font-size:1.32rem;line-height:1.12}.wordmark:hover:not(:disabled){background:none}.wordmark small{display:block;font-size:.64rem;font-weight:500;letter-spacing:.04em}.logo{display:grid;place-items:center;width:34px;height:34px;background:var(--accent);color:var(--ink);border-radius:7px;font-size:1.1rem}.brand-accent,.section-label{color:var(--accent-text)}.legal-links{display:flex;flex-wrap:wrap;gap:.4rem 1rem}.legal-links a,.legal-page p a,.legal-page address a{color:var(--accent-text);text-decoration:underline}.app-legal{flex:none;padding:.45rem 3vw;font-size:.8rem;border-top:1px solid var(--edge)}.legal-page{display:grid;gap:1.4rem;max-width:50rem;margin:0 auto;padding:2rem 1rem 3rem;line-height:1.6;overflow-wrap:anywhere}.legal-page section>:not(:first-child){margin-top:.5rem}.legal-multiline{white-space:pre-line}.section-label{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:750;display:block;margin-bottom:.28rem}.app-header nav,.account,.toolbar,.tabs{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.app-header nav button{background:none;border-color:transparent}.app-header nav button.active{background:var(--active);border-color:var(--active-edge)}.account{margin-left:auto;color:var(--muted);font-size:.85rem}.app-header{position:relative;z-index:10}.profile-menu{position:relative}.profile-menu>summary{display:grid;place-items:center;width:34px;height:34px;color:var(--foreground);background:var(--button);border:1px solid var(--edge);border-radius:6px;cursor:pointer;list-style:none}.profile-menu>summary::-webkit-details-marker{display:none}.profile-menu>summary:hover,.profile-menu[open]>summary{background:var(--button-hover);border-color:var(--hover-edge)}.profile-menu>summary:focus-visible,.workspace-divider:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}.profile-popover{position:absolute;top:calc(100% + .5rem);right:0;width:min(20rem,calc(100vw - 1rem));max-height:calc(100dvh - 64px);overflow:auto;display:grid;gap:.7rem;padding:.8rem;border:1px solid var(--edge);border-radius:8px;background:var(--surface);box-shadow:0 12px 30px #0005;color:var(--foreground)}.profile-name{overflow-wrap:anywhere}.profile-popover fieldset{display:grid;gap:.35rem;min-width:0;margin:0;padding:.45rem .6rem .6rem;border:1px solid var(--edge);border-radius:6px}.profile-popover legend{padding-inline:.3rem;color:var(--muted)}.profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}.profile-actions button{padding:.3rem .48rem}.theme-switch{display:inline-flex;align-items:center;gap:.45rem}.theme-track{display:inline-flex;align-items:center;width:1.95rem;height:1.05rem;padding:.12rem;border:1px solid var(--hover-edge);border-radius:1rem;background:var(--field)}.theme-track:before{content:"";width:.7rem;height:.7rem;border-radius:50%;background:var(--accent-text)}.theme-switch[aria-checked=true] .theme-track{justify-content:flex-end}.dashboard{max-width:1640px;margin:auto;padding:1.5rem 3vw 2rem}.panel{background:var(--surface);border:1px solid var(--edge);border-radius:9px;padding:1rem;min-width:0}.panel>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.panel>header small{font-size:.76rem;white-space:nowrap}.login{max-width:1080px;min-height:68vh;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:clamp(2rem,8vw,7rem);padding:3rem clamp(1rem,5vw,4rem);margin:auto}.login-intro h1{font-size:clamp(2.8rem,6vw,5rem);line-height:.98;margin:.6rem 0 1rem}.login-intro h1 span{color:var(--accent-text)}.login-intro p{color:var(--muted);max-width:29ch}.login-form,.lobby form,.editor,.dialog{display:grid;gap:.85rem;align-content:start}.lobby{max-width:1110px}.page-heading{margin:1rem 0 1.3rem}.lobby-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:1rem}.statistics-center{max-width:36rem;margin-bottom:1rem}.statistics-tables{display:grid;gap:1rem;min-width:0}.statistics-table-scroll{overflow-x:auto}.statistics-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.statistics-table :is(th,td){padding:.55rem .65rem;border-bottom:1px solid var(--edge)}.statistics-table thead th{color:var(--muted);vertical-align:bottom}.statistics-sort{display:flex;align-items:baseline;gap:.45rem;border:0;padding:.25rem 0;background:none;text-align:left}.statistics-sort:hover:not(:disabled){background:none;text-decoration:underline}.statistics-table th[aria-sort] .statistics-sort{color:var(--accent-text)}.statistics-table td{white-space:nowrap}.catalog{display:grid;grid-template-columns:minmax(180px,285px) minmax(0,1fr);gap:1rem;align-items:start}.catalog.proposal-only{grid-template-columns:minmax(0,1fr)}.catalog aside header:not(:first-child){margin-top:1.2rem}.center-classification{margin-top:.9rem}.editor textarea{resize:vertical}.editor .sim-map{height:350px}.editor-body{min-width:0;padding:0;margin:0;border:0}.edit-stack{display:grid;gap:.8rem;min-width:0}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr));gap:.65rem;align-items:end}.edit-group,.edit-details{min-width:0;border:1px solid var(--edge);border-radius:7px;padding:.75rem;margin:0}.edit-group legend,.edit-details summary{font-weight:650;font-size:.9rem}.edit-details summary{cursor:pointer}.edit-details[open] summary{margin-bottom:.75rem}.edit-group>*+*,.edit-row>*+*{margin-top:.55rem}.edit-row{padding:.6rem 0;border-bottom:1px solid var(--edge)}.channel-editor-row,.scenario-classification{align-items:start}.channel-editor-row fieldset{min-width:0}.department-row{display:grid;grid-template-columns:1fr minmax(90px,190px);gap:.65rem;align-items:center}.fit-button{justify-self:start}.pagination{margin-top:.65rem}.keyword-control{position:relative;z-index:1}.keyword-control ul{position:absolute;inset:100% 0 auto;list-style:none;background:var(--surface);border:1px solid var(--edge);border-radius:5px;padding:.25rem;margin:0;min-width:max-content}.keyword-control li{padding:.35rem .55rem;cursor:pointer}.keyword-control li:hover,.keyword-control li[aria-selected=true]{color:var(--accent-text);background:var(--button-hover)}.radio-channel{display:flex;flex-direction:column}.radio-channel>:not(.radio-history){flex-shrink:0}.radio-history{flex:1 1 auto;min-height:4rem;overflow:auto}.mixed-channel .telephone-queue{max-height:40%;overflow:auto}.radio-log{list-style:none;padding:0;margin:0}.radio-log li{display:grid;grid-template-columns:max-content minmax(0,1fr) auto;align-items:start;gap:.5rem;border-bottom:1px solid var(--edge);padding:.32rem 0;font-size:.8rem}.radio-entry{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .45rem;overflow-wrap:anywhere}.radio-entry p{flex-basis:100%;white-space:pre-wrap}.radio-log .transmitting{background:var(--button-hover)}.radio-entry .status{min-width:1.5rem}.radio-log time{color:var(--muted);font-variant-numeric:tabular-nums}.suggestion-row.checkbox{display:grid;grid-template-columns:max-content minmax(0,1fr) minmax(85px,.85fr) max-content;border-bottom:1px solid var(--edge);padding:.3rem 0}.suggestion-row strong,.suggestion-row small{display:block}.suggestion-status{font-size:.76rem}.suggestion-status .status{padding:0 .25rem}.severity-red{color:var(--red)}.severity-yellow{color:var(--yellow)}.severity-green{color:var(--green)}.channel-settings{margin-bottom:.7rem;color:var(--muted);font-size:.84rem}.channel-settings summary{cursor:pointer}.channel-settings .toolbar{gap:.45rem .9rem;padding-top:.45rem}.incident-list-entry{margin-top:.2rem;border-radius:6px}.incident-list-entry.is-expanded{box-shadow:0 0 0 1px var(--active-edge)}.incident-list-entry.is-due>.list-item{outline:2px solid currentColor;outline-offset:-2px}.incident-list-entry>.list-item{gap:.4rem;margin:0;padding:.24rem .45rem;font-size:.9rem}.incident-list-entry>.list-item small{overflow-wrap:anywhere}.incident-list-entry>.list-item[style*=--incident-mark]{box-shadow:inset 4px 0 var(--incident-mark)}.incident-list-title{min-width:0;overflow-wrap:anywhere}.incident-status-icon{display:inline-flex;width:1.15rem;height:1.15rem;margin-inline-start:.35rem;vertical-align:middle;color:var(--accent-text)}.incident-status-icon svg{width:100%;height:100%}.incident-tools{margin-bottom:.7rem}.incident-assignment{min-width:0;font-size:.88rem}.incident-assignment[open]{grid-column:1 / -1}.incident-assignment summary{padding:.4rem .65rem;border:1px solid var(--edge);border-radius:5px;background:var(--field);cursor:pointer}.incident-assignment fieldset{min-width:0;margin:.4rem 0 0;padding:.35rem .55rem .5rem;border:1px solid var(--edge);border-radius:5px;overflow-wrap:anywhere}.incident-assignment .checkbox{padding-block:.18rem}.incident-filters{gap:.4rem;margin-bottom:.45rem}.incident-filters label{min-width:0;gap:.2rem}.incident-filters select{padding:.28rem .45rem}.priority-label{color:var(--accent-text);font-size:.83rem;margin-bottom:.65rem}.session-chat{display:grid;gap:.55rem}.chat-log{max-height:220px;overflow:auto}.chat-message{border-bottom:1px solid var(--edge);padding:.45rem .55rem}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.chat-message.mentioned{background:var(--mention);border-left:3px solid var(--accent)}.chat-message.mentioned small{color:var(--accent-text)}.chat-composer{display:grid;gap:.45rem}.chat-composer button[type=submit]{justify-self:end}.mention-options{display:grid;gap:.2rem;list-style:none;padding:0;margin:0}.mention-options button{width:100%;text-align:left}.mention-options small{margin-left:.4rem}.catalog aside>label+label{margin-top:.55rem}.list-item{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:.6rem;margin-top:.35rem}.list-item small{text-align:right}.is-playing{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.is-playing .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;flex:none;min-height:42px;padding:.22rem .55rem;gap:.55rem}.game-identity{min-width:0;display:flex;align-items:center;gap:.8rem}.game-identity h1{font-size:1rem;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-clock{display:flex;align-items:center;gap:.5rem;flex:none;font-size:.77rem;font-variant-numeric:tabular-nums;white-space:nowrap}.game-clock small{color:var(--muted);font-size:inherit}.is-playing .account{grid-column:3;flex-wrap:nowrap;gap:.35rem}.is-playing .theme-label{display:none}.is-playing .theme-switch,.controls button{padding:.28rem .48rem}.controls,.controls .tabs{gap:.28rem;font-size:.8rem}.game-page{flex:1 1 auto;max-width:none;min-height:0;width:100%;overflow:auto;margin:0;padding:0}.game-grid{position:relative;display:grid;height:100%;grid-template-columns:repeat(100,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}.game-grid.has-two-rows{grid-template-rows:var(--row-split) minmax(0,1fr)}.module{min-height:0;overflow:auto;overscroll-behavior:contain;padding:.7rem;border-radius:5px}.module>header{margin-bottom:.55rem;gap:.4rem}.workspace-divider{position:absolute;z-index:2;display:grid;place-items:center;touch-action:none}.workspace-divider:after{content:"";background:var(--hover-edge);border-radius:4px}.workspace-divider:hover:after,.workspace-divider:focus-visible:after{background:var(--accent-text)}.workspace-divider.is-vertical{width:12px;transform:translate(-50%);cursor:col-resize}.workspace-divider.is-vertical:after{width:3px;height:min(40px,50%)}.workspace-divider.is-horizontal{top:var(--row-split);left:0;width:100%;height:12px;transform:translateY(-50%);cursor:row-resize}.workspace-divider.is-horizontal:after{width:40px;height:3px}.workspace-empty{grid-area:1 / 1 / -1 / -1;display:grid;place-content:center;gap:.65rem;text-align:center;color:var(--muted)}.map-panel{display:flex;flex-direction:column}.sim-map{position:relative;min-height:150px;flex:1 1 auto;overflow:hidden;background:var(--map);border-radius:5px;color:var(--foreground);isolation:isolate}.sim-map-canvas{position:absolute;inset:0;z-index:0;background:var(--map)}.sim-map-canvas.drawing{cursor:crosshair}.map-layer-control{position:absolute;top:10px;right:10px;z-index:1;max-width:calc(100% - 55px);max-height:calc(100% - 20px);overflow:auto;border:1px solid var(--edge);border-radius:5px;background:var(--surface);box-shadow:0 1px 5px #0004;font-size:.88rem}.map-layer-control summary{padding:.32rem .55rem;cursor:pointer;font-weight:600}.map-layer-control summary:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px}.map-layer-options{display:grid;gap:.32rem;padding:.3rem .55rem .55rem}.map-place-popup .leaflet-popup-content-wrapper,.map-place-popup .leaflet-popup-tip{background:var(--surface);color:var(--foreground)}.map-place-popup .leaflet-popup-content{min-width:170px;margin:.75rem 1.6rem .75rem .85rem}.map-place-popup strong,.map-place-popup section>span{display:block}.map-place-popup dl{display:grid;grid-template-columns:1fr auto;gap:.3rem .7rem;margin:.55rem 0 0}.map-place-popup dd{margin:0;color:var(--muted);text-align:right;white-space:nowrap}.station-popup dd{overflow-wrap:anywhere;white-space:normal}.vehicle-icon-input{align-items:end}.vehicle-icon-input label{min-width:0}.leaflet-container .leaflet-marker-pane .vehicle-priority-icon img{display:block;width:100%}.leaflet-tooltip.vehicle-callsign{margin:0;padding:.1rem .3rem;border-color:var(--edge);background:var(--surface);color:var(--foreground);font-size:.72rem;line-height:1.2}.leaflet-tooltip.vehicle-callsign:before{display:none}.vehicle-beacon{--beacon-idle: #167cf2;position:absolute;top:-3px;left:50%;width:10px;height:6px;border:1px solid #a4dcff;border-radius:5px 5px 2px 2px;background:var(--beacon-idle);transform:translate(-50%);pointer-events:none;animation:vehicle-beacon 1.2s linear infinite}.vehicle-beacon--integrated{--beacon-idle: transparent;width:7px;height:3px;border:0;border-radius:50%;background:#67d5ff;transform:translate(-50%,-50%)}@keyframes vehicle-beacon{0%,12%,22%,34%{background:#67d5ff;box-shadow:0 0 8px 2px #2196ff}13%,21%,35%,to{background:var(--beacon-idle);box-shadow:none}}@media(prefers-reduced-motion:reduce){.vehicle-beacon{animation:none}}.line-tabs{gap:.35rem;margin-bottom:.6rem}.line-tabs button{font-size:.78rem;padding:.37rem .5rem}.badge{background:var(--accent);color:var(--ink);border-radius:20px;padding:.08rem .35rem;margin-left:.18rem}.empty,.hint{padding:.8rem 0;color:var(--muted);font-size:.88rem}.message,.detail-row,.fleet-row{border-bottom:1px solid var(--edge);padding:.57rem .2rem;display:flex;gap:.6rem;align-items:center;justify-content:space-between;font-size:.87rem}.message p{margin-top:.15rem;color:var(--muted)}.incident-detail{padding:.5rem}.assigned-units{margin:.55rem 0}.assigned-units h3{padding:.15rem 0}.assigned-units table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:.8rem;line-height:1.25}.assigned-units :is(th,td){padding:.2rem .3rem;border-bottom:1px solid var(--edge);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assigned-units tr>:first-child{padding-inline-start:0}.assigned-units tr>:last-child{padding-inline-end:0}.assigned-units thead{color:var(--muted)}.assigned-units thead th:nth-child(2){width:27%}.assigned-units th small{font-weight:400}.assigned-units .status{display:inline-block;min-width:1.25rem}.assigned-unit-action{width:5rem;text-align:right}.assigned-unit-action button{padding:.15rem .35rem;font-size:.75rem}.assigned-unit-action button:focus-visible{outline-offset:-2px}.incident-tasks summary{padding:.28rem 0;border-bottom:1px solid var(--edge);font-size:.84rem;font-weight:600;cursor:pointer}.fleet-row{display:grid;grid-template-columns:2.1rem minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:.45rem}.fleet-status{color:var(--muted);font-size:.78rem}.fleet-signal{display:block}.fleet-vehicle{text-align:left;overflow-wrap:anywhere}.fleet-detail-panel{grid-column:1 / -1;min-width:0;padding:.6rem;border:1px solid var(--edge);border-radius:5px;background:var(--raised);overflow-wrap:anywhere}.fleet-details{display:grid;gap:.65rem}.fleet-details h4{margin:0 0 .2rem;font-size:inherit}.fleet-details ul{list-style:none;padding:0;margin:0}.fleet-details .current-shift{color:var(--accent-text)}.current-shift strong{margin-inline-start:.3rem}.status{border:1px solid var(--status);color:var(--status);text-align:center;border-radius:5px;font-variant-numeric:tabular-nums;font-weight:750}.supplemental-status{display:inline-block;padding-inline:.35em}:root[data-theme=light] .status{color:color-mix(in srgb,var(--status) 38%,#17263a);border-color:color-mix(in srgb,var(--status) 62%,#17263a)}.fms-controls{align-items:end}.fms-controls .checkbox{min-height:36px}.fms-tabs{margin-block:.45rem .65rem;gap:.35rem}.fms-tabs button{padding:.3rem .5rem;font-size:.78rem}.fleet-tableau{column-width:15rem;column-gap:.6rem}.fleet-tableau .fleet-group{display:inline-block;vertical-align:top;width:100%;margin-bottom:.6rem;padding:.25rem .45rem;border:1px solid var(--edge);border-radius:5px;break-inside:avoid}.fleet-tableau h3{padding-block:.2rem .35rem;overflow-wrap:anywhere}.fleet-tableau .fleet-row{grid-template-columns:1.45rem minmax(0,1.2fr) minmax(0,1fr);padding:.18rem 0;gap:.3rem;font-size:.78rem}.fleet-tableau .fleet-row:last-child{border-bottom:0}.fleet-tableau .fleet-vehicle{padding:.14rem .28rem}.fleet-tableau .fleet-vehicle:has(~:popover-open){border-color:var(--active-edge);color:var(--accent-text);background:var(--active)}.fleet-detail-panel:popover-open{inline-size:min(22rem,calc(100% - 1rem));max-block-size:min(22rem,calc(50dvh - 2rem));overflow:auto;overscroll-behavior:contain;border-color:var(--active-edge);color:var(--foreground);box-shadow:0 .35rem 1rem var(--overlay)}@supports (position-area: block-end span-all){.fleet-detail-panel:popover-open{inset:auto;margin:.25rem .5rem;position-area:block-end span-all;justify-self:anchor-center;position-try-fallbacks:flip-block;position-visibility:anchors-visible}}.fleet-tableau .fleet-status{font-size:.72rem;overflow-wrap:anywhere}.poi-workspace .page-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1rem}.poi-columns{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:.8rem}.poi-filters{align-items:end}.poi-results{list-style:none;padding:0;margin:0}.poi-results li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem .8rem;padding:.55rem 0;border-bottom:1px solid var(--edge);overflow-wrap:anywhere}.poi-results p{font-size:.85rem;color:var(--muted)}.poi-form .sim-map{height:235px}@media(min-width:900px){.poi-columns:has(.poi-form){grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.poi-form{position:sticky;top:.8rem}}.banner{max-width:95vw;margin:.65rem auto;padding:.55rem .7rem;border-radius:5px}.error{color:var(--error-text);background:var(--error-bg)}.error-message{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:.5rem;border-radius:4px}.error-message>span{min-width:0;overflow-wrap:anywhere}.error-dismiss{flex:0 0 auto;padding:0 .35rem;color:inherit;background:transparent;border-color:currentColor;line-height:1.4}.notice{color:var(--notice-text);background:var(--notice-bg)}.dialog p.error,.dialog p.notice,.editor p.error{padding:.5rem;border-radius:4px}.modal-backdrop{position:fixed;z-index:1002;inset:0;display:grid;place-items:center;background:var(--overlay);padding:1rem}.dialog{width:min(600px,100%);max-height:92vh;overflow:auto;box-shadow:0 10px 60px #0009}.dialog>header{margin:0}.hospital-overview,.statistics-dialog{width:min(600px,calc(100% - 2rem));margin:auto;color:var(--foreground)}.statistics-dialog{width:min(940px,calc(100% - 2rem))}.hospital-overview:not([open]),.statistics-dialog:not([open]){display:none}.hospital-overview::backdrop,.statistics-dialog::backdrop{background:var(--overlay)}.dialog blockquote{margin:0;padding:.7rem;border-left:3px solid var(--accent);background:var(--raised)}.dialog blockquote p{margin:.25rem 0}.transport-requirements{display:grid;gap:.45rem;padding:.65rem .75rem;background:var(--active);border-left:3px solid var(--accent-border);border-radius:4px}.transport-hospital{display:grid;gap:.4rem;padding:0 0 .65rem;border-bottom:1px solid var(--edge)}.transport-hospital .toolbar{justify-content:space-between}.department-list{display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none}.department-list li{display:flex;flex-wrap:wrap;gap:.2rem .5rem;padding:.25rem .45rem;color:var(--accent-text);background:var(--surface);border:1px solid var(--active-edge);border-radius:4px;font-size:.8rem}.department-list .capacity-shortage{color:var(--error-text);background:var(--error-bg);border-color:currentColor}.other-departments{color:var(--muted)}.other-departments:empty{display:none}.vehicle-picker{min-width:0;max-height:210px;overflow:auto;border:1px solid var(--edge);border-radius:6px}.vehicle-picker .checkbox{padding:.18rem 0}.incident-create-dialog{width:min(760px,100%);gap:.55rem}.incident-create-dialog blockquote,.incident-create-dialog .vehicle-skill-filters{padding:.4rem .55rem}.incident-create-keywords{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:.55rem}.incident-create-options{display:flex;flex-wrap:wrap;gap:.3rem 1rem}.incident-create-dialog .vehicle-picker{max-height:min(22rem,44dvh)}.incident-create-dialog .suggestion-row{grid-template-columns:max-content minmax(0,1fr) minmax(0,9.5rem) max-content;gap:.45rem;padding:.16rem .2rem;line-height:1.25}.incident-create-dialog .suggestion-vehicle{overflow-wrap:anywhere}.incident-create-dialog .suggestion-vehicle strong,.incident-create-dialog .suggestion-vehicle small{display:inline;margin-inline-end:.35rem}@media(max-width:560px){.incident-create-keywords{grid-template-columns:minmax(0,1fr) auto}.incident-create-keywords>:first-child{grid-column:1 / -1}.incident-create-dialog .suggestion-row{grid-template-columns:max-content minmax(0,1fr) minmax(0,.65fr) minmax(0,6ch);overflow-wrap:anywhere}}@media(max-width:800px){.app-header{gap:.6rem;flex-wrap:wrap;padding:.5rem 1rem}.login{min-height:0;grid-template-columns:1fr}.lobby-grid,.catalog{grid-template-columns:1fr}}@media(max-width:900px){.game-identity{display:grid;gap:.15rem}}@media(max-width:680px){.is-playing .app-header{grid-template-columns:minmax(0,1fr) auto;gap:.25rem .55rem}.is-playing .account{grid-area:1 / 2}.controls{grid-column:1 / -1}.game-grid,.game-grid.has-two-rows{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:minmax(300px,1fr)}.game-grid>.module{grid-area:auto!important}.workspace-divider{display:none}}
