:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#dce7f6;background:#0a1220;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.rail{background:#0d1829;border-right:1px solid #243247;padding:25px 14px;display:flex;flex-direction:column;gap:42px}.brand{display:flex;align-items:center;gap:12px;padding-left:9px;font-size:17px;letter-spacing:-.04em}.brandmark{width:39px;height:39px;border:1px solid #3e8cf9;background:#132d53;color:white;display:grid;place-items:center;font-weight:800;letter-spacing:-.1em}.brandmark span{color:#6aabff}.brand small{display:block;color:#7992af;letter-spacing:.18em;font-size:9px;margin-top:5px}.railnav{display:flex;flex-direction:column;gap:4px}.railnav button{display:flex;align-items:center;gap:12px;color:#92a6be;background:none;border:0;text-align:left;padding:15px 14px;border-left:3px solid transparent;font-weight:600}.railnav button span{font-size:20px;min-width:23px}.railnav button.active{background:#183253;color:#f3f8ff;border-left-color:#58a7ff}.railnav button:hover{background:#172a42;color:white}.railnav em{font-style:normal;background:#254467;padding:3px 7px;border-radius:4px;margin-left:auto}.railbottom{margin-top:auto;padding:12px 10px;color:#a3b7d0;font-size:10px;line-height:2;letter-spacing:.06em}.railbottom small{color:#637e9d;font-size:11px}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#51bda3;margin-right:6px}main{min-width:0;padding:26px 28px 32px}header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:800;color:#7190b4;letter-spacing:.16em}.eyebrow span{color:#60a6ff}h1{font-size:29px;margin:8px 0 0;letter-spacing:-.04em}h2{font-size:17px;margin:0;letter-spacing:-.025em}p{color:#90a3bc;margin:7px 0 0;line-height:1.6}.topactions,.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.clock{color:#94a9c1;font:600 12px ui-monospace,monospace;white-space:nowrap;margin-right:7px}.button{border-radius:5px;padding:11px 14px;font-size:12px;font-weight:750;border:1px solid #344962;background:#15273c;color:#dce7f6;white-space:nowrap}.button:hover{filter:brightness(1.15)}.button.primary{background:#2274d6;border-color:#328af0;color:#fff}.button.secondary{background:#1b2a3f}.button.subtle{background:transparent}.wide{width:100%;margin-top:8px}.screen{display:none}.screen.active{display:block}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.metric,.panel{background:#111f32;border:1px solid #293a51}.metric{padding:16px 18px;min-height:110px}.metric span{display:block;font-size:10px;color:#8fa5c1;font-weight:800;letter-spacing:.1em}.metric strong{display:block;font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.05em;margin:7px 0 2px}.metric small{color:#6d87a3;font-size:11px}.panel{min-width:0;margin-bottom:16px}.panelhead{padding:19px 19px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #293a51}.panelhead p{font-size:12px}.toolbar input[type=search]{min-width:245px;max-width:330px}.formbody{padding:20px;display:flex;flex-direction:column;gap:16px}input:not([type=checkbox]):not([type=file]),select,textarea{background:#0b1728;border:1px solid #30435c;border-radius:4px;color:#e0ebf9;min-height:39px;padding:10px 12px;outline:none;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#63a4ee!important}input::placeholder,textarea::placeholder{color:#607894}input[type=checkbox]{accent-color:#2e8bff;width:16px;height:16px;cursor:pointer}.tablewrap{overflow:auto;max-height:calc(100vh - 405px);min-height:180px}table{border-collapse:collapse;min-width:900px;width:100%;font-size:12px;font-variant-numeric:tabular-nums}thead{position:sticky;top:0;z-index:1;background:#192b42}th{font-size:10px;letter-spacing:.08em;font-weight:800;color:#8099b7;text-align:left;padding:13px 11px;white-space:nowrap}td{padding:11px;border-top:1px solid #24364b;white-space:nowrap}tbody tr:hover{background:#1d324b}tr.selected{background:#182f50}td.route{font-weight:800;color:#c9e0ff}td.muted{color:#758ca9}.flightlink{background:transparent;border:0;color:#7eb8ff;font-weight:800;padding:0}.smallbtn{border:1px solid #395170;background:#1b3555;color:#b9d7f4;font-size:11px;padding:6px 8px;border-radius:3px}.empty{text-align:center;color:#7891ad;padding:62px 18px;font-weight:500}.panelfoot{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 17px;border-top:1px solid #293a51;color:#8da3be;font-size:12px}.split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:15px}.split .tablewrap{max-height:calc(100vh - 310px)}label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#94aac4;font-weight:700;letter-spacing:.03em}label input,label select{width:100%}.inlineinput{flex-direction:row;align-items:center}.inlineinput input{width:61px!important}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkboxrow{flex-direction:row;align-items:center}.callout{background:#152d48;border-left:3px solid #4f9ef4;padding:13px;color:#9fc2e9;line-height:1.65;font-size:12px}.assignment{padding:22px;min-height:250px}.assignment h3{font-size:28px;margin:7px 0}.datafields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.datafields span{font-size:10px;font-weight:800;color:#8098b5}.datafields strong{display:block;margin-top:5px;font-size:13px;overflow-wrap:anywhere}.saveditems{padding:14px}.saveditem{border:1px solid #2b405b;padding:16px;margin:8px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.saveditem p{font-size:12px}.narrow{max-width:720px}.settingrow{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #29394e;padding:13px 0}.settingrow strong{color:#a7d0ff}.modal[hidden]{display:none}.modal{position:fixed;inset:0;background:#050b15d9;display:grid;place-items:center;z-index:5;padding:18px}.modalbox{background:#142238;border:1px solid #446387;box-shadow:0 20px 80px #0009;width:min(820px,100%);padding:22px}.modalhead{display:flex;justify-content:space-between;align-items:flex-start}.modalhead h2{font-size:22px;margin-top:8px}.iconbutton{border:0;background:none;color:#c7daee;font-size:20px}.modalbox p{font-size:12px}.modalbox textarea{resize:vertical;width:100%;height:min(44vh,420px);margin-top:15px;line-height:1.55;font-family:ui-monospace,monospace;font-size:12px}.modalfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;font-size:12px;color:#8ea5bf}.toast{position:fixed;right:22px;bottom:20px;z-index:10;background:#205184;border:1px solid #4286c2;color:#f4f9ff;padding:13px 19px;box-shadow:0 8px 30px #0008;display:none;max-width:440px}.filebutton input{display:none}@media(max-width:980px){.shell{grid-template-columns:1fr}.rail{position:sticky;top:0;z-index:4;padding:12px 14px;gap:10px}.brand{display:none}.railnav{flex-direction:row;overflow:auto}.railnav button{white-space:nowrap;padding:11px 13px}.railbottom{display:none}main{padding:18px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.tablewrap{max-height:55vh}header{align-items:flex-start}.topactions{justify-content:flex-end}}@media(max-width:600px){main{padding:14px}.topactions{gap:5px}.topactions .clock{display:none}.topactions .button{font-size:11px;padding:9px}.railnav button{font-size:11px}.railnav button span{display:none}header h1{font-size:25px}.panelhead{display:block}.panelhead .toolbar{margin-top:14px}.metrics{gap:7px}.metric{padding:11px;min-height:90px}.metric strong{font-size:23px}.metric small{font-size:10px}.panelfoot,.modalfoot{flex-direction:column;align-items:stretch}.formrow{grid-template-columns:1fr}.saveditem{align-items:flex-start;flex-direction:column}.toolbar input[type=search]{min-width:100%;width:100%}}

/* FR24 workflow shortcuts */
.assignment-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;margin-bottom:8px}
.fr24-shortcut{padding:15px;border:1px solid #355477;background:#132b46;display:flex;flex-direction:column;gap:10px}
.fr24-shortcut p{margin:0;font-size:12px}
.fr24-shortcut .toolbar input{flex:1 1 150px;min-width:125px}
.flightlink:hover{text-decoration:underline}
@media(max-width:600px){.assignment-actions .button{white-space:normal}.fr24-shortcut .toolbar input{width:100%}}

/* Streamlined flight board and rig controls */
.inlineparse{padding:14px 17px;border-bottom:1px solid #293a51;display:flex;gap:12px;align-items:stretch}.inlineparse textarea{width:100%;flex:1;min-height:94px;max-height:180px;resize:vertical;font:12px/1.5 ui-monospace,monospace}.inlineparse-actions{display:flex;flex-direction:column;gap:7px;min-width:155px}.inlineparse-actions small{color:#8ca7c7;line-height:1.4}.board-tools{padding:12px 18px}.board-tools .toolbar:last-child{font-size:12px;color:#97b1d0}.row-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}.row-actions .smallbtn{padding:7px 9px}.smallbtn.dispatchbtn{background:#1c5d9f;color:#fff;border-color:#307fc7}.smallbtn.added{background:#184d42;border-color:#277b67;color:#b2ecda;opacity:1}.generator-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:15px}.generator-bar .inlineinput{margin-right:4px}.ledger-summary{padding:10px 16px;font-size:12px;color:#a3b9d5;border-top:1px solid #273a50}.generatedwrap{max-height:300px!important}.ledgerwrap{max-height:390px!important}.tablewrap th[data-sort],.tablewrap th[data-rig-sort]{cursor:pointer;user-select:none}.tablewrap th[data-sort]:hover,.tablewrap th[data-rig-sort]:hover{color:#d3ebff}.tablewrap table{min-width:1050px}.tablewrap td{padding:9px}.tablewrap .row-actions{min-width:245px}.inlineparse .button{white-space:normal}.panel .tablewrap{max-height:calc(100vh - 370px)}
@media(max-width:800px){.inlineparse{flex-direction:column}.inlineparse-actions{flex-direction:row;flex-wrap:wrap}.inlineparse-actions small{flex-basis:100%}.generator-bar{padding:10px}.panel .tablewrap{max-height:55vh}}

.inlineparse[hidden]{display:none!important}

/* DispatchLink unified operations workspace: Settings is the only separate view. */
body:not(.settings-mode) .screen:not(#settingsScreen){display:block}
body:not(.settings-mode) #settingsScreen{display:none}
body.settings-mode .screen:not(#settingsScreen){display:none}
body.settings-mode #settingsScreen{display:block}
.screen{scroll-margin-top:24px}
#flightsScreen,#aircraftScreen,#tripScreen,#savedScreen{margin-bottom:28px}
.rail{position:sticky;top:0;height:100vh}
/* A combined page keeps each internal ledger scrollable rather than growing infinitely. */
#flightsScreen .tablewrap{max-height:460px}
#tripScreen .generatedwrap{max-height:320px}
#tripScreen .ledgerwrap{max-height:420px}
#savedScreen .saveditems{max-height:500px;overflow:auto}
@media(max-width:980px){.rail{height:auto}.screen{scroll-margin-top:90px}}
@media(max-width:600px){.screen{scroll-margin-top:78px}#flightsScreen .tablewrap,#tripScreen .ledgerwrap{max-height:390px}}

/* Workflow-first Flight Operations UI */
:root{--accent:#60a5fa;--edge:#2b415c}
main{padding:20px 24px 30px;max-width:1920px;margin:auto}
header{margin-bottom:15px}header h1{font-size:26px}
.workflow-strip{background:#111f32;border:1px solid var(--edge);margin-bottom:18px;display:grid;grid-template-columns:195px minmax(0,1fr);align-items:stretch}
.workflow-heading{padding:16px;border-right:1px solid var(--edge);display:flex;justify-content:center;flex-direction:column;gap:9px}.workflow-heading strong{font-size:13px;line-height:1.5}
.workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.workflow-step{display:flex;align-items:center;text-align:left;gap:10px;padding:14px 11px;background:none;color:#dbe9fb;border:0;border-right:1px solid var(--edge);min-width:0}.workflow-step:last-child{border:0}.workflow-step:hover,.workflow-step.active{background:#193b60}.workflow-step .step-num{font-weight:900;color:#80baff;font:800 15px ui-monospace,monospace}.workflow-step strong{font-size:12px;display:block;white-space:nowrap}.workflow-step small{display:block;color:#88a4c4;font-size:10px;margin-top:4px;line-height:1.25}
body.settings-mode .workflow-strip{display:none}
#aircraftScreen,#flightsScreen,#tripScreen,#savedScreen{margin-bottom:19px}.panel{margin-bottom:12px}.panelhead{padding:14px 17px}.formbody{padding:15px;gap:12px}.panelhead p{margin-top:4px}.assignment{padding:17px;min-height:180px}.assignment h3{font-size:24px}.datafields{margin-top:12px}.source-details{padding:0 14px 12px}.source-details summary{cursor:pointer;color:#83b9f7;font-size:11px}.source-details .callout{margin-top:10px}.compact-note{padding:9px 11px;font-size:11px}.fr24-shortcut{padding:12px}.fr24-shortcut p{font-size:11px}
#aircraftScreen .split{grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr)}
#flightsScreen .panelhead:first-child{display:flex;flex-wrap:wrap}#flightsScreen .panelhead:first-child button{margin-left:auto}
#flightsScreen .tablewrap{max-height:470px;min-height:240px}.board-tools{padding:10px 17px}
#tripScreen .split{grid-template-columns:minmax(0,1.75fr) minmax(280px,.7fr)}#tripScreen .sidepanel .formbody{gap:10px}#tripScreen .ledgerwrap{max-height:400px}
#savedScreen .saveditems{max-height:270px}.screen{scroll-margin-top:15px}
.rail{gap:24px;padding-top:20px}.railnav button{padding:13px}.railnav button.active{background:#183253}.button{padding:10px 12px}.tablewrap{scrollbar-color:#48617c #111f32}
@media(max-width:1250px){.workflow-strip{grid-template-columns:1fr}.workflow-heading{border-right:0;border-bottom:1px solid var(--edge);padding:10px 14px;flex-direction:row;justify-content:space-between;align-items:center}.workflow-heading strong{font-size:12px}}
@media(max-width:980px){main{padding:14px}.workflow-steps{grid-template-columns:repeat(4,minmax(0,1fr))}#aircraftScreen .split,#tripScreen .split{grid-template-columns:1fr}.screen{scroll-margin-top:82px}.rail{gap:8px}}
@media(max-width:650px){.workflow-steps{grid-template-columns:repeat(2,1fr)}.workflow-step{padding:10px 8px}.workflow-step:nth-child(2){border-right:0}.workflow-step:nth-child(-n+2){border-bottom:1px solid var(--edge)}.workflow-step small{display:none}.workflow-heading .eyebrow{font-size:9px}.workflow-heading strong{font-size:11px}#flightsScreen .panelhead:first-child button{margin-left:0;width:100%}.railnav button{padding:10px 8px}.button{white-space:normal}main{padding:12px}}


/* V5 · iPad-first refined workspace. The active panel owns its scroll area. */
:root{--aside-width:202px;--edge:#2a3f58;--accent:#5fa5ff}
html{height:100%;overflow:hidden;-webkit-text-size-adjust:100%}
body{height:100%;overflow:hidden;background:#091321}
.shell{height:100dvh;min-height:0;display:grid;grid-template-columns:var(--aside-width) minmax(0,1fr);overflow:hidden}
.rail{min-width:0;height:100%;min-height:0;position:relative;padding:19px 10px 12px;gap:26px;overflow:hidden}
.brand{font-size:16px}.railnav{gap:5px}.railnav button{font-size:13px;padding:12px 12px;border-radius:3px;min-height:42px;transition:background .12s}.railnav button span{font-size:19px}.railbottom{line-height:1.75}
main{width:100%;min-width:0;min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;padding:16px 18px!important;margin:0;max-width:none}
header{min-width:0;flex:0 0 auto;margin:0 0 12px!important;min-height:48px;gap:10px}
header h1{font-size:23px;margin-top:4px}.eyebrow{font-size:9px}
.topactions{gap:8px;flex-wrap:nowrap}.topactions .button{min-height:40px}.clock{font-size:11px}
.workflow-strip{display:none!important}
body:not(.settings-mode) .screen{display:none!important}
body:not(.settings-mode) .screen.active{display:flex!important}
body.settings-mode #settingsScreen{display:flex!important}
.screen{flex:1;min-height:0;min-width:0;overflow:hidden;flex-direction:column;margin:0!important}
.screen>.panel{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;margin:0}
.panel{min-width:0;min-height:0;margin:0;border-color:#293d54}
.panelhead{flex:0 0 auto;padding:13px 15px;gap:12px}.panelhead h2{font-size:15px;letter-spacing:-.015em}.panelhead p{font-size:11px;line-height:1.35;margin-top:4px}
.formbody{padding:15px;gap:12px}.split{flex:1;min-height:0;min-width:0;gap:12px}
.button{min-height:38px;padding:9px 13px;font-size:12px;border-radius:5px}.button.primary{background:#2675ce}.button:focus-visible,.smallbtn:focus-visible,.railnav button:focus-visible{outline:2px solid #79b8ff;outline-offset:2px}
input:not([type=checkbox]):not([type=file]),select{min-height:42px}input::placeholder{color:#7891ac}
label{font-size:11px;gap:7px;letter-spacing:.005em}
.formrow:has(#makeFilter){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#aircraftScreen .split{grid-template-columns:minmax(0,1.07fr) minmax(0,1fr)}
#aircraftScreen .panel{min-width:0;overflow:auto;scrollbar-gutter:stable}
#aircraftScreen .assignment{min-height:0;padding:16px}
.assignment-actions{gap:7px}.datafields{gap:13px;margin-top:16px}.datafields span{font-size:10px}.datafields strong{font-size:12px}
.fr24-shortcut{padding:12px;gap:9px}.fr24-shortcut p{font-size:11px;line-height:1.4}.fr24-shortcut .toolbar{gap:6px}.fr24-shortcut .toolbar input{min-width:120px;flex:1}
.source-details{font-size:11px}
#flightsScreen .panelhead:first-child{display:flex;flex-wrap:nowrap;align-items:center}#flightsScreen .panelhead:first-child button{margin-left:0}
#boardStatus{font-size:11px;color:#8ba9c7;margin-left:auto;white-space:nowrap}
#flightsScreen .tablewrap{flex:1;min-height:0;max-height:none;overflow:auto}
#flightsScreen .board-tools{padding:10px 15px}
.toolbar input[type=search]{min-width:185px;max-width:340px;width:min(330px,100%)}
.tablewrap{min-width:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-color:#4b6585 #111f32}
.tablewrap table{min-width:990px;width:100%;font-size:11px}.tablewrap th{font-size:10px;padding:11px 10px;white-space:nowrap}.tablewrap td{padding:10px 9px;font-size:11px}
.tablewrap thead{z-index:2}.tablewrap td:last-child,.tablewrap th:last-child{position:sticky;right:0;z-index:1;background:#13263d;box-shadow:-7px 0 15px #08152255}.tablewrap tr:hover td:last-child{background:#1d324b}
.row-actions{gap:5px}.row-actions .smallbtn{font-size:10px;padding:7px 8px;min-height:32px}
#tripScreen{gap:12px}
#tripScreen .split{flex:0 0 44%;grid-template-columns:minmax(0,1fr) minmax(240px,.38fr)}
#tripScreen .split .panel{display:flex;flex-direction:column;min-height:0}
#tripScreen .generatedwrap,#tripScreen .ledgerwrap{flex:1;min-height:0;max-height:none!important;overflow:auto}
#tripScreen>.panel{flex:1;min-height:0;display:flex;flex-direction:column}
.generator-bar{padding:10px 12px;gap:8px}.generator-bar .button{min-height:36px}
.generator-bar input[type=number]{width:66px!important}
.ledger-summary{padding:8px 13px;font-size:11px;line-height:1.35}
#tripScreen .sidepanel .formbody{gap:10px}.cloud-status{font-size:11px;color:#9bbbd9}
#savedScreen .saveditems{flex:1;min-height:0;max-height:none;overflow:auto;padding:14px}
.saveditem{padding:13px 15px;gap:12px;margin-bottom:9px;border-radius:4px}
.saved-meta{display:flex;gap:10px 20px;flex-wrap:wrap;margin-top:8px;font-size:10px}.saved-meta b{font-size:12px}
#settingsScreen .panel{flex:1;overflow:auto;min-height:0;max-width:100%;width:100%}
#settingsScreen .narrow{max-width:100%;width:100%}
#settingsScreen .formbody{max-width:900px;width:100%;gap:13px}
#settingsScreen .settingrow{padding:10px 0}.sync-note{font-size:11px}
.empty{padding:30px 15px;line-height:1.5}.modal{padding:16px}.modalbox{max-height:calc(100dvh - 32px);overflow:auto}

/* iPad: persistent low-profile navigation; absolutely no phantom height above content. */
@media (max-width:1199px){
 .shell{grid-template-columns:minmax(0,1fr);grid-template-rows:56px minmax(0,1fr);height:100dvh}
 .rail{height:56px;min-height:0;min-width:0;position:relative;z-index:4;padding:5px 9px;display:flex;align-items:center;overflow:hidden;border-right:0;border-bottom:1px solid #2a3e55}
 .rail .brand,.rail .railbottom{display:none}
 .railnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px;width:100%;height:100%;overflow:visible}
 .railnav button{min-width:0;min-height:0;height:100%;padding:7px 5px;justify-content:center;border-left:0;border-bottom:3px solid transparent;white-space:nowrap;font-size:12px;text-align:center;gap:5px}
 .railnav button.active{border-left:0;border-bottom-color:#65aaff;background:#183454}
 .railnav button span{display:none}.railnav em{margin-left:2px;padding:2px 6px}
 main{height:100%;min-height:0;padding:12px!important;overflow:hidden}
 header{min-height:42px;margin-bottom:9px!important}header h1{font-size:21px}
 #aircraftScreen .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #tripScreen .split{grid-template-columns:minmax(0,1fr) minmax(210px,.38fr)}
 .formrow:has(#makeFilter){gap:7px}
}
/* Portrait iPad: stack compact modules; scroll within active module, not the whole page. */
@media (max-width:850px){
 .shell{grid-template-rows:52px minmax(0,1fr)}
 .rail{height:52px;padding:4px 5px}
 .railnav{gap:2px}.railnav button{font-size:11px;padding:5px 2px}.railnav em{font-size:10px}
 main{padding:10px!important}header{min-height:38px}.topactions .clock{display:none}
 #aircraftScreen .split{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1.2fr) minmax(145px,.8fr)}
 #aircraftScreen .panel{min-height:0}
 #aircraftScreen .formbody{padding:11px;gap:10px}
 #aircraftScreen .assignment{padding:12px}
 #aircraftScreen .datafields{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tripScreen .split{flex:0 0 51%;grid-template-columns:minmax(0,1fr) 205px;gap:9px}
 .tablewrap table{min-width:925px}.tablewrap th{padding:9px 8px}.tablewrap td{padding:8px}
 .panelhead{padding:10px 12px}
 .button{min-height:36px;padding:8px 10px}
}
@media (max-width:600px){
 .railnav button{font-size:10px;white-space:normal;line-height:1.15}.railnav em{display:none}
 header .eyebrow{display:none}header h1{font-size:18px;margin:0}.topactions{gap:5px}.topactions .button{font-size:11px}
 .panelhead{flex-wrap:wrap}#flightsScreen .panelhead:first-child{flex-wrap:wrap}#boardStatus{margin-left:0}
 .formrow:has(#makeFilter){grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .formrow:has(#makeFilter) label{font-size:10px}
 #aircraftScreen .split{grid-template-rows:minmax(0,1.25fr) minmax(145px,.75fr)}
 #tripScreen .split{display:flex;flex-direction:column;overflow:auto;flex:0 0 48%}
 #tripScreen .split>.panel{flex:0 0 auto;min-height:165px}
 .generator-bar{flex-wrap:wrap}
 .toolbar input[type=search]{min-width:0;width:100%}
 #flightsScreen .panelhead:first-child button{margin-left:auto}
 .saveditem{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
