:root{--ink: #0b1f33;--muted: #5b6b7b;--line: #e1e6eb;--line-2: #d3dae1;--bg: #f3f5f7;--card: #ffffff;--teal: #0e7c86;--teal-dark: #0a5c64;--teal-soft: #e3f3f4;--red: #c0392b;--red-soft: #fdf1ef;--amber: #d99a2b;--blue: #2f7dd1;--head: #0e1115}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:13px}button,input,select,textarea{font-family:inherit;font-size:13px;color:var(--ink)}h1{font-family:Manrope,sans-serif;font-weight:800;margin:0}a{color:var(--teal)}.shell{display:flex;min-height:100vh}.rail{flex:0 0 76px;background:var(--ink);display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 6px;position:sticky;top:0;height:100vh}.logo{width:40px;height:40px;border-radius:12px;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-weight:800;font-size:16px;margin-bottom:10px}.logo.big{width:56px;height:56px;font-size:22px;margin:0 auto}.rail button{width:64px;padding:9px 0;border:0;border-radius:10px;background:transparent;color:#9fb1c4;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:600;cursor:pointer}.rail button.on{background:#17324d;color:#fff}.rail .spacer{flex:1}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 24px;background:#fff;border-bottom:1px solid var(--line)}.topbar h1{font-size:20px}.topbar .grow{flex:1 1 280px;max-width:460px}.topbar .right{margin-left:auto;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.demo-banner{background:#fff6e8;color:#7a4b00;padding:6px 24px;font-size:12px;border-bottom:1px solid #f1d9ae;display:flex;gap:12px;align-items:center}.demo-banner button{border:0;background:transparent;color:#7a4b00;text-decoration:underline;cursor:pointer;padding:0}.page{padding:12px 24px 24px;display:flex;flex-direction:column;gap:10px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px}.muted{color:var(--muted)}.small{font-size:12px}input[type=text],input[type=email],input[type=password],input[type=date],input[type=search],input[type=number],select,textarea{border:1px solid var(--line-2);border-radius:8px;padding:8px 10px;background:#fff;min-height:38px;width:100%}textarea{min-height:70px;resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--teal);outline-offset:1px}label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:12px;color:var(--muted)}.btn{min-height:38px;padding:6px 14px;border:1px solid var(--line-2);border-radius:10px;background:#fff;font-weight:600;cursor:pointer}.btn:hover{background:#f8fafb}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:700}.btn.primary:hover{background:var(--teal-dark)}.btn.soft{background:var(--teal-soft);border-color:var(--teal);color:var(--teal-dark);font-weight:700}.btn.danger{background:var(--red);border-color:var(--red);color:#fff;font-weight:700}.btn.amber{background:var(--amber);border-color:var(--amber);color:#1f1300;font-weight:700}.btn.sm{min-height:32px;padding:4px 10px;border-radius:8px;font-size:12px}.btn:disabled{opacity:.5;cursor:not-allowed}.pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:700}.chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chip{min-height:36px;padding:6px 12px;border:1px solid var(--line-2);border-radius:999px;background:#fff;cursor:pointer;font-weight:500}.chip.on{background:var(--teal-soft);border-color:var(--teal);font-weight:700}.chip .n{color:var(--muted);margin-left:6px;font-weight:600}.seg{display:flex;border:1px solid var(--line-2);border-radius:8px;overflow:hidden}.seg button{border:0;padding:6px 12px;min-height:36px;background:#fff;font-weight:700;font-size:12px;cursor:pointer}.seg button.on{background:var(--teal);color:#fff}.kpis{display:flex;flex-wrap:wrap;gap:8px}.kpi{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 14px;border-radius:10px;border:1px solid var(--line-2);background:#fff;font-weight:600;cursor:pointer}.kpi b{font-family:Manrope,sans-serif;font-size:20px;font-weight:800}.kpi.hot{background:var(--red-soft);border-color:#f1c7c1}.kpi.hot b{color:var(--red)}.kpi.on{outline:2px solid var(--teal)}.filters{padding:8px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.bulk{background:var(--ink);color:#fff;border-radius:10px;padding:8px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.bulk .btn{background:transparent;color:#fff;border-color:#3a5069;min-height:34px}.bulk .btn.primary{background:var(--teal);border-color:var(--teal)}.tablewrap{overflow-x:auto}table.grid{width:100%;border-collapse:collapse;min-width:1500px}table.grid thead tr{background:var(--head);color:#fff;text-align:left;font-size:12px;vertical-align:bottom;line-height:1.45}table.grid th{padding:12px 6px;font-weight:700;white-space:nowrap}table.grid th small{color:#9aa5b1;font-weight:500}table.grid td{padding:9px 6px;vertical-align:middle;white-space:nowrap;border-top:1px solid #edf0f3}table.grid tr.hot{background:#fff8f6;box-shadow:inset 4px 0 0 var(--red)}table.grid tr.sel{background:#eef7f7}table.grid tr.sect td{padding:7px 12px;font-size:12px;font-weight:800;letter-spacing:.3px;cursor:pointer}table.grid td .sub{margin-top:4px;font-size:12px;color:var(--muted)}table.grid .cn{font-family:Manrope,sans-serif;font-weight:700;letter-spacing:.2px}.ono{display:inline-block;padding:2px 7px;border-radius:5px;background:#2f9e44;color:#fff;font-size:11px;font-weight:700}.tag{font-size:11px;font-weight:700;color:var(--muted)}.avatar{display:inline-flex;width:24px;height:24px;border-radius:50%;background:var(--teal-soft);color:var(--teal-dark);font-size:11px;font-weight:800;align-items:center;justify-content:center;margin-right:7px}.suggest{border:1px dashed var(--teal);background:#f0fafa;color:var(--teal-dark);border-radius:8px;padding:4px 10px;min-height:32px;font-weight:700;font-size:12px;cursor:pointer}.red{color:var(--red);font-weight:700}.blue{color:var(--blue)}.row-note{color:var(--red);font-weight:700;margin-left:6px}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1f3380;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto;z-index:20}.modal{background:#fff;border-radius:16px;width:min(760px,100%);padding:20px;display:flex;flex-direction:column;gap:14px}.modal h2{margin:0;font-family:Manrope,sans-serif;font-size:18px}.formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.formgrid .span2{grid-column:span 2}.formgrid .span3{grid-column:span 3}.modal .actions{display:flex;gap:8px;justify-content:flex-end}.notice{padding:8px 12px;border-radius:8px;background:var(--teal-soft);color:var(--teal-dark);font-weight:600}.notice.err{background:var(--red-soft);color:var(--red)}.import{border:1px dashed var(--teal);background:#f0fafa;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.center-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;color:var(--muted)}.login{width:min(380px,92vw);padding:24px;display:flex;flex-direction:column;gap:12px}.login h1{text-align:center}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--ink);color:#fff;padding:10px 18px;border-radius:10px;font-weight:600;z-index:30}@media (max-width: 760px){.rail{position:static;height:auto;flex-direction:row;flex:0 0 auto;width:100%;overflow-x:auto}.shell{flex-direction:column}.formgrid{grid-template-columns:1fr}.formgrid .span2,.formgrid .span3{grid-column:auto}}.driver{max-width:480px;margin:0 auto;padding:14px;display:flex;flex-direction:column;gap:12px;min-height:100vh}.driver-head{display:flex;align-items:center;gap:12px}.driver-head h1{font-size:20px}.driver-head .btn{margin-left:auto}.dj{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px}.dj.hot{box-shadow:inset 5px 0 0 var(--red)}.dj-top{display:flex;justify-content:space-between;align-items:center}.dj-act{font-family:Manrope,sans-serif;font-size:16px;color:var(--teal-dark)}.dj-cn{font-family:Manrope,sans-serif;font-weight:800;font-size:22px;letter-spacing:.3px}.dj-where{display:flex;flex-direction:column;gap:2px}.dj-dates{display:flex;flex-wrap:wrap;gap:4px 14px;font-weight:600}.dj-note{background:#fff6e8;color:#7a4b00;border-radius:8px;padding:8px 10px;font-weight:600}.dj-go{min-height:54px;border:0;border-radius:12px;background:var(--teal);color:#fff;font-weight:800;font-size:16px;cursor:pointer}.dj-go:disabled{opacity:.5}.dj-more{border:0;background:transparent;color:var(--muted);text-decoration:underline;min-height:36px;cursor:pointer}@media print{body{background:#fff}.rail,.topbar,.demo-banner,.toast,.page,.no-print{display:none!important}.modal-back{position:static;background:none;padding:0;display:block}.modal{width:100%;padding:0}table.grid thead tr{background:#fff;color:#000;border-bottom:2px solid #000}}.btn.green{background:#5cb85c;border-color:#4cae4c;color:#fff;font-weight:700}.btn.dark{background:#2b333b;border-color:#2b333b;color:#fff;font-weight:700}.btn.grey{background:#e7ebef;border-color:#d3dae1;color:#3d4c5c;font-weight:700}.split{display:inline-flex}.split .btn:first-child{border-radius:8px 0 0 8px}.split .btn.caret{border-radius:0 8px 8px 0;border-left:1px solid rgba(255,255,255,.35);padding:4px 8px}.menu-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60}.menu{position:fixed;width:190px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #0f1e2d2e;padding:4px;display:flex;flex-direction:column}.menu button{text-align:left;background:none;border:0;padding:8px 10px;border-radius:6px;cursor:pointer;font:inherit;color:var(--ink, #1c2833)}.menu button:hover{background:#eef3f6}.drvsel.set{font-weight:700}.tabs.utx{display:flex;flex-wrap:wrap;gap:0;align-items:center;background:var(--surface-2, #fff);border:1px solid var(--line);border-radius:10px;padding:2px 10px;margin-bottom:8px}.tabs.utx .t{background:none;border:0;border-bottom:2px solid transparent;padding:9px 11px;color:#5b6b7b;cursor:pointer;font:inherit;white-space:nowrap}.tabs.utx .t:hover{color:#1c2833}.tabs.utx .t.on{color:#0a5c64;border-bottom-color:#0a8a96;font-weight:700}.tabs.utx .seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-right:10px}.tabs.utx .seg button{background:#fff;border:0;padding:6px 12px;cursor:pointer;font:inherit;color:#3d4c5c}.tabs.utx .seg button.on{background:#0a8a96;color:#fff;font-weight:700}table.grid thead th{background:#111;color:#fff}table.grid thead th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.ie{background:none;border:0;padding:0;font:inherit;cursor:text;text-align:left;border-bottom:1px dashed #98a5b3;color:#0f6f7a}.ie.e{color:#8793a1}.ie.red{color:var(--red)}.ie:hover{background:#eef6f7}.ie-in{font:inherit;min-height:28px;padding:2px 6px;max-width:150px}.cstat.ie{color:#0f6f7a;font-weight:700}.cstat.okc{color:#2e8b3d}.no{background:#e0b400;color:#fff;border-radius:4px;padding:1px 6px;font-weight:700;display:inline-block}.tg{background:#edf0f3;border-radius:4px;padding:0 5px;color:#3d4c5c;margin-right:3px;font-size:11px;font-weight:700}.tg.wf-app{background:#fff0c2;color:#7a5b00}.tg.wf-dispatched{background:#d9f2de;color:#1f6b2c}.tg.wf-completed{background:#dfe4ea;color:#3d4c5c}tr.notes td.note{background:#fdeceb;color:#8a1c13;padding:5px 12px;font-size:12px;white-space:normal}tr.notes td.note.eq{background:#efeafe;color:#4c2fb3}.kind{background:#ffe7c2;color:#7a4b00;border-radius:4px;padding:0 5px;font-size:11px;font-weight:700}.chassis{display:inline-block;min-width:50px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;text-align:center;font-weight:700}.drvsel{min-width:160px;max-width:200px}.legs{display:flex;flex-wrap:wrap;gap:4px}.leg{border-radius:10px;padding:1px 8px;font-size:11px;font-weight:700;white-space:nowrap;background:#edf0f3;color:#6b7a89}.leg.done{background:#d9f2de;color:#1f6b2c}.leg.active{background:#dbeafe;color:#1e40af}.chassis-sel{min-width:110px;max-width:150px}.chassis-sel.set{font-weight:700;color:#4c2fb3}.podmail{display:inline-block;margin-top:3px;font-weight:700;color:#0f6f7a}.podmail.sent{color:#2e8b3d}.dj-sign{display:flex;flex-direction:column;gap:8px;margin-top:8px}.eqcell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.eqbtn{display:inline-flex;align-items:center;gap:6px;min-width:56px;min-height:40px;justify-content:center;padding:6px 10px;border:1px solid #d3dae1;border-radius:8px;background:#f3f5f7;color:#8793a1;cursor:pointer;font:inherit}.eqbtn.set{color:#4c2fb3;background:#f1edfd;border-color:#cfc3f5;font-weight:700}.eqbtn:disabled{cursor:default;opacity:.7}.eqnote{color:#4c2fb3;font-size:11px;max-width:150px;white-space:normal;line-height:1.3}.copybtn{background:none;border:0;color:#0a8a96;cursor:pointer;padding:0 4px;font-size:14px}.copybtn:hover{color:#075c64}.eqinfo{display:grid;grid-template-columns:130px 1fr;gap:4px 8px;margin-bottom:10px}.eqinfo span{color:#2a7a9a}.eqlist{max-height:240px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;margin:8px 0;display:flex;flex-direction:column}.eqopt{text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f2f4;padding:9px 12px;cursor:pointer;font:inherit;color:#2e8b3d}.eqopt:hover{background:#eef6f7}.eqopt.on{background:#cfe3f1;color:#17394d}.eqopt.bad{color:#a32d2d}.eqopt:disabled{opacity:.55;cursor:not-allowed}.eqmark{font-weight:700;margin-right:4px}.flags{display:flex;flex-wrap:wrap;gap:3px}.flag{border-radius:4px;padding:1px 6px;font-size:11px;font-weight:800;letter-spacing:.3px}.flag.red{background:#d92d20;color:#fff;box-shadow:0 0 0 2px #fecdca}.flag.amber{background:#f79009;color:#fff}.flag.orange{background:#ffe7c2;color:#7a4b00}.flag.grey{background:#e4e7ec;color:#344054}.cn.offhire{color:#d92d20}.copybtn{color:#1d70c4}.copybtn:hover{color:#0f4c8a}.copybtn.offhire,.copybtn.offhire:hover{color:#d92d20}.dj-flags{display:flex;gap:6px;margin:4px 0}.dj-special{background:#fef3f2;color:#b42318;border:1px solid #fda29b;border-radius:8px;padding:8px 10px;margin:6px 0;font-weight:600}.modal.wide{max-width:920px;max-height:92vh;overflow-y:auto}.ofsec{border:1px solid #e4e7ec;border-radius:10px;padding:10px 14px 14px;margin:10px 0}.ofsec h3{margin:0 0 8px;font-size:14px;color:#0a8a96;text-transform:uppercase;letter-spacing:.4px}.ofsec h4{margin:12px 0 4px;font-size:13px}.ofcust{margin-top:8px;padding:6px 10px;background:#f4f7f8;border-radius:8px}.ofhot select{border-color:#d92d20;background:#fef3f2;color:#b42318;font-weight:700}.oflist{display:grid;gap:6px}.ofrow{display:grid;grid-template-columns:1fr 140px 36px;gap:6px}.ofrow.legrow{grid-template-columns:1.2fr 1fr 1fr 140px 36px}.ofadd{justify-self:start;background:none;border:0;color:#1d70c4;cursor:pointer;font-weight:600;padding:2px 0}.oftotal{margin-top:8px;color:#1f6b2c}.oftotal b{font-size:16px}.hint{display:block;font-size:11px;color:#667085;font-weight:400;margin-top:2px}.drvsel{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:0;border-bottom:1px dashed #1d70c4;border-radius:0;background:transparent;padding:2px 0;min-width:120px;color:#667085;cursor:pointer}.drvsel.set{color:#c0392b;font-weight:700}.drvsel:focus{outline:2px solid #0a8a96;outline-offset:2px}.rail{flex:0 0 188px;align-items:stretch;gap:0;padding:0;background:linear-gradient(180deg,#1b1d20,#0f1012)}.rail .logo{margin:14px auto 10px}.rail button{width:100%;flex-direction:row;justify-content:flex-start;gap:12px;padding:13px 18px;border-radius:0;border-bottom:1px solid #2a2d31;font-size:14px;font-weight:600;color:#8b929a;text-align:left}.rail button:hover{color:#fff;background:#1f2226}.rail button.on{background:#17191c;color:#fff;box-shadow:inset 3px 0 #0a8a96}.rail button svg{flex:0 0 20px}@media (max-width: 800px){.rail{flex-basis:auto}.rail button{width:auto;border-bottom:0}}.no{background:#3a9d3a}.cstat{font-weight:700;color:#6f42c1}.cstat.onrail{color:#e0245e}table.grid select.drvsel{min-width:0;max-width:170px;width:auto;field-sizing:content;min-height:0;height:auto;padding:0 0 1px;margin:0;line-height:1.35;font-size:inherit;display:inline-block;vertical-align:middle;box-shadow:none}
