:root{--bg:#f4f6f8;--nav:#102b3a;--ink:#142936;--muted:#637681;--line:#dce3e8;--red:#af3333;--redbg:#fff1f0;--amber:#956400;--amberbg:#fff7e4;--teal:#087663;--tealbg:#e8f6f1;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}button,input{font:inherit}button{min-height:44px;border:1px solid var(--line);background:white;border-radius:11px;padding:10px 16px;color:var(--ink);cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #78bfda;outline-offset:2px}input{font-size:16px;min-height:44px;border:1px solid var(--line);padding:10px 12px;border-radius:10px;background:white;color:var(--ink);min-width:0}.hidden{display:none!important}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:var(--nav);color:white;padding:30px 20px;display:flex;flex-direction:column;gap:38px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{background:#c3f0e0;border-radius:14px;padding:14px 9px;color:#123a35;font-weight:850;display:inline-block}.brand b{font-size:15px}.brand small{display:block;margin-top:5px;color:#a8c3ce;font-size:11px}.desktop-nav{display:grid;gap:10px}.desktop-nav button{color:#b9cdd6;background:transparent;border:0;text-align:left}.desktop-nav button.active{background:#284553;color:white}.sidebar-note{margin-top:auto;color:#a8c3ce;font-size:13px;line-height:1.8}.sidebar-note b{color:white}main{max-width:1320px;width:100%;padding:30px 36px 16px;margin:0 auto;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;margin:0 0 7px;color:var(--muted)}h1{font-size:28px;margin:0;font-weight:750;letter-spacing:-.6px}h2{font-size:19px;margin:0 0 6px}p{line-height:1.6;margin:8px 0;color:var(--muted)}.datebar{display:flex;align-items:center;gap:10px;margin:24px 0 12px;flex-wrap:wrap}.date-shortcuts{display:flex;gap:5px}.date-shortcuts button.active,.chips button.active{background:var(--nav);color:white;border-color:var(--nav)}.timezone{font-size:12px;color:var(--muted)}.sourcebar{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}.source{font-weight:650}.source.good{color:var(--teal)}.source.error,.error-text{color:var(--red)}.source.pending{color:var(--amber)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{text-align:left;border-radius:16px;padding:18px;min-height:133px}.metric span{font-size:12px;font-weight:650;display:block}.metric b{display:block;font-size:38px;font-weight:720;margin:6px 0;line-height:1.1}.metric small{font-size:11px;color:var(--muted)}.metric.red{border-top:3px solid var(--red)}.metric.red b{color:var(--red)}.metric.amber{border-top:3px solid #dda62f}.metric.amber b{color:var(--amber)}.metric.teal{border-top:3px solid var(--teal)}.metric.teal b{color:var(--teal)}.section-title{margin:28px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title p{font-size:12px;margin:0}.number-pill{padding:7px 12px;border-radius:100px;background:var(--nav);color:white;font-size:12px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 16px}.chips button{font-size:12px;min-height:38px;padding:8px 12px;border-radius:100px;white-space:nowrap}.card-list{display:grid;gap:11px}.card{border:1px solid var(--line);border-radius:15px;padding:18px;background:white;min-width:0}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.card-name{font-size:16px;font-weight:720;overflow-wrap:anywhere}.card p{font-size:13px;margin:10px 0 0}.card small{font-size:11px;color:var(--muted);line-height:1.6}.card.urgent{border-left:4px solid var(--red)}.card.watch{border-left:4px solid #e2b751}.status{display:inline-block;border-radius:7px;font-size:10px;letter-spacing:.3px;font-weight:800;padding:7px 9px;white-space:nowrap;background:#edf0f3;color:#647380}.status.LATE,.status.FAILED,.status.URGENT{background:var(--redbg);color:var(--red)}.status.AT_RISK,.status.NOT_STARTED,.status.ACTION_REQUIRED,.status.WATCH{background:var(--amberbg);color:var(--amber)}.status.ON_TIME,.status.COMPLETED_ON_TIME{background:var(--tealbg);color:var(--teal)}.status.SCHEDULED{background:#edf3fb;color:#496b9a}.driver-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.driver-row .presence{display:block;margin-top:5px;font-size:11px;color:var(--muted)}.presence.online{color:var(--teal)}.driver-intro{margin:22px 0 14px}.driver-intro p{font-size:12px}.compact-counts{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:18px}.compact-counts b{color:var(--ink);font-size:17px}.search{width:100%;margin-bottom:4px}.notice{font-size:12px;line-height:1.6;border-radius:10px;border:1px solid #e6d8ae;background:var(--amberbg);color:#6a5620;padding:12px 14px;margin-bottom:12px;overflow-wrap:anywhere}.notice.error{color:var(--red);background:var(--redbg);border-color:#eebcbb}.empty{background:white;padding:30px 22px;border:1px dashed var(--line);border-radius:14px;text-align:center;line-height:1.6;color:var(--muted);font-size:13px}.panel{background:white;padding:22px;border:1px solid var(--line);border-radius:16px;margin:14px 0}.panel p,.panel small{font-size:13px}.panel .small{font-size:12px}.panel small{color:var(--muted);line-height:1.6}.button-stack{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.primary{background:var(--nav);color:white;border-color:var(--nav)}.bottom-nav{display:none}footer{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;margin:26px 0 10px}.login{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{background:white;border:1px solid var(--line);border-radius:22px;padding:32px;width:min(440px,100%);display:grid;gap:12px}.login-card .brand-icon{justify-self:start;margin-bottom:12px}.login-card label,.login-card small{font-size:12px;color:var(--muted)}.login-card h1{font-size:26px}.login-card p{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:24px 14px}.brand{gap:8px}.brand b{font-size:13px}main{padding:24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.shell{display:block}.sidebar{display:none}main{padding:calc(20px + env(safe-area-inset-top)) 16px calc(90px + env(safe-area-inset-bottom))}.topbar h1{font-size:24px}.icon-button{font-size:12px;padding:10px 12px}.datebar{margin-top:20px;gap:8px}.datebar input{width:145px;flex:1;max-width:200px}.datebar .timezone{width:100%;font-size:10px}.date-shortcuts button{font-size:12px;padding:10px 14px}.sourcebar{font-size:10px;margin-bottom:16px}.metric{padding:15px;min-height:120px;border-radius:14px}.metric span{font-size:11px}.metric b{font-size:34px}.metric small{font-size:10px}.metrics{gap:10px}.section-title{margin-top:25px}.section-title h2{font-size:18px}.chips{gap:6px}.chips button{padding:8px 11px;font-size:11px}.card{padding:15px}.card-name{font-size:15px}.card p{font-size:12px}.card .status{font-size:9px;padding:7px 8px}.panel{padding:18px}.button-stack{display:grid}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--line);z-index:10}.bottom-nav button{border:0;background:transparent;border-radius:10px;font-size:11px;font-weight:650;min-height:48px;padding:10px 0}.bottom-nav button.active{background:var(--nav);color:white}.login-card{padding:24px}footer{font-size:9px}}
