:root{--ink:#172533;--muted:#748291;--line:#e1ddd5;--surface:#fff;--canvas:#f4f0e9;--brand:#17324a;--brand-soft:#e9eef2;--blue:#3869d4;--blue-soft:#edf2ff;--amber:#b7791f;--amber-soft:#fff5df;--red:#c64d4d;--red-soft:#fff0ef;--green:#17845c;--green-soft:#e8f6ef;--radius:17px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100dvh;min-height:100dvh;overflow:hidden;background:#e8edf1;color:var(--ink);font-family:inherit;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}.stage{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-height:100dvh;min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;justify-items:center;align-items:start;padding:18px 20px 18px;box-sizing:border-box;overflow:hidden;z-index:0}.frame-holder{width:calc(390px * var(--frame-scale,1));height:calc(844px * var(--frame-scale,1));display:grid;place-items:center}.device-shell{width:390px;height:844px;flex-shrink:0;transform:scale(var(--frame-scale,1));transform-origin:center;background:var(--canvas);border:1px solid #d3dce3;border-radius:30px;overflow:hidden;position:relative;box-shadow:0 24px 70px rgba(25,43,58,.19),0 3px 10px rgba(25,43,58,.08)}.app-root{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--canvas);position:relative}.app-header{height:76px;flex:0 0 76px;padding:13px 18px 11px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{width:37px;height:37px;border-radius:12px;background:var(--ink);display:grid;place-items:center;color:#fff;flex-shrink:0}.brand-mark svg{width:21px;height:21px}.brand-name{font-size:15px;font-weight:780;letter-spacing:-.45px;line-height:1.15}.brand-sub{font-size:10px;color:var(--muted);margin-top:3px;letter-spacing:.3px}.header-actions{display:flex;align-items:center;gap:8px}.icon-btn{height:37px;width:37px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#526170;display:grid;place-items:center;position:relative}.icon-btn svg{width:17px;height:17px}.notification-dot{position:absolute;width:7px;height:7px;border:1.5px solid white;background:#df665f;border-radius:50%;right:7px;top:7px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e8eef0;color:#38515c;font-size:11px;font-weight:750;border:1px solid #dce5e8}.view-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px 22px;scrollbar-width:thin;scrollbar-color:#d6dfe3 transparent}.view-scroll::-webkit-scrollbar{width:4px}.view-scroll::-webkit-scrollbar-thumb{background:#d6dfe3;border-radius:5px}.bottom-nav{height:73px;flex:0 0 73px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--line);z-index:3}.nav-item{border:0;background:transparent;color:#8995a0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;font-weight:650;letter-spacing:.1px;border-radius:12px}.nav-item svg{width:19px;height:19px;stroke-width:1.8}.nav-item.active{color:var(--brand)}.nav-item.active svg{stroke-width:1.5}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:2px 0 17px}.eyebrow{font-size:10px;font-weight:750;color:var(--brand);letter-spacing:1.05px;text-transform:uppercase;margin-bottom:6px}.page-title{font-size:23px;letter-spacing:-.8px;font-weight:780;line-height:1.1;margin:0}.page-subtitle{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.45}.primary-btn,.secondary-btn,.quiet-btn{border:0;border-radius:11px;min-height:38px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:720;white-space:nowrap}.primary-btn{background:var(--brand);color:#fff;box-shadow:0 3px 8px rgba(8,127,117,.16)}.primary-btn svg,.secondary-btn svg,.quiet-btn svg{width:14px;height:14px}.secondary-btn{background:#fff;color:var(--ink);border:1px solid var(--line)}.quiet-btn{background:transparent;color:var(--muted);padding:0 7px}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 13px 12px;min-height:94px;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-label{font-size:10px;color:var(--muted);font-weight:600}.stat-icon{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#f0f4f5;color:#526a73}.stat-icon svg{width:14px;height:14px}.stat-value{font-size:25px;font-weight:780;letter-spacing:-1px;margin-top:8px;line-height:1}.stat-foot{font-size:9px;color:var(--muted);margin-top:6px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 10px}.section-title{font-size:13px;font-weight:760;letter-spacing:-.2px}.text-link{border:0;background:transparent;color:var(--brand);font-size:10px;font-weight:730;padding:4px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;margin-bottom:10px}.util-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.util-number{font-size:24px;font-weight:780;letter-spacing:-.8px}.util-caption{font-size:10px;color:var(--muted);margin-top:4px}.progress-track{height:7px;background:#edf1f2;border-radius:8px;overflow:hidden}.progress-fill{height:100%;border-radius:8px;background:var(--brand)}.progress-line{margin-top:13px}.progress-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:6px}.status-bars{display:grid;gap:11px}.status-line{display:grid;grid-template-columns:90px 1fr 20px;align-items:center;gap:8px;font-size:10px}.status-line .progress-track{height:6px}.status-count{text-align:right;color:#647381;font-weight:700}.mini-list{display:grid;gap:0}.mini-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f0f3f5}.mini-row:last-child{border-bottom:0;padding-bottom:0}.mini-row:first-child{padding-top:0}.mini-icon{width:34px;height:34px;flex-shrink:0;border-radius:11px;background:#f0f4f5;display:grid;place-items:center;color:#61747d}.mini-icon svg{width:16px;height:16px}.mini-copy{min-width:0;flex:1}.mini-title{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-sub{font-size:9px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-time{font-size:9px;color:#8995a0;white-space:nowrap}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:720;white-space:nowrap}.pill:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.pill.green{color:var(--green);background:var(--green-soft)}.pill.blue{color:var(--blue);background:var(--blue-soft)}.pill.amber{color:var(--amber);background:var(--amber-soft)}.pill.red{color:var(--red);background:var(--red-soft)}.pill.gray{color:#697782;background:#eef1f3}.search-wrap{height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 11px;margin-bottom:10px}.search-wrap svg{width:15px;height:15px;color:#8a98a2;flex-shrink:0}.search-wrap input{border:0;outline:0;min-width:0;flex:1;font-size:11px;color:var(--ink);background:transparent}.filter-row{display:flex;gap:6px;overflow-x:auto;padding-bottom:3px;margin-bottom:11px;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}.filter-chip{border:1px solid var(--line);border-radius:20px;background:#fff;padding:7px 10px;color:#65737f;font-size:9px;font-weight:650;white-space:nowrap}.filter-chip.active{background:var(--ink);border-color:var(--ink);color:#fff}.record-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;margin-bottom:9px}.record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.record-main{min-width:0;flex:1}.record-title{font-size:12px;font-weight:760;letter-spacing:-.15px;line-height:1.3}.record-meta{font-size:9px;color:var(--muted);margin-top:4px;line-height:1.4}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #f0f3f5}.field-label{font-size:8px;color:#8a97a1;text-transform:uppercase;letter-spacing:.6px;font-weight:700}.field-value{font-size:10px;font-weight:650;color:#40515d;margin-top:4px;line-height:1.35}.record-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding-top:9px;border-top:1px solid #f0f3f5}.record-actions{display:flex;gap:5px}.small-action{border:1px solid var(--line);border-radius:8px;background:#fff;color:#62717c;font-size:9px;font-weight:680;padding:6px 9px}.small-action.danger{color:var(--red)}.fuel-row{display:flex;align-items:center;gap:7px;margin-top:10px}.fuel-row .progress-track{flex:1;height:5px}.fuel-text{font-size:9px;color:#65737f;min-width:27px;text-align:right}.route-line{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:10px;font-weight:650}.route-dot{width:7px;height:7px;border:2px solid var(--brand);border-radius:50%;flex-shrink:0}.route-dash{height:1px;border-top:1px dashed #c7d1d7;flex:1;min-width:12px}.alert-card{display:flex;gap:10px}.alert-severity{width:33px;height:33px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;background:var(--amber-soft);color:var(--amber)}.alert-severity.high,.alert-severity.critical{background:var(--red-soft);color:var(--red)}.alert-severity svg{width:16px;height:16px}.alert-body{min-width:0;flex:1}.alert-unread{width:6px;height:6px;border-radius:50%;background:var(--brand);margin-top:5px}.alert-actions{display:flex;justify-content:space-between;align-items:center;margin-top:9px}.empty-state{text-align:center;padding:32px 18px;background:#fff;border:1px dashed #d8e1e5;border-radius:15px;color:var(--muted)}.empty-icon{width:42px;height:42px;border-radius:14px;background:#f0f4f5;margin:0 auto 10px;display:grid;place-items:center;color:#7a8993}.empty-icon svg{width:20px;height:20px}.empty-title{font-size:12px;font-weight:750;color:var(--ink)}.empty-copy{font-size:10px;line-height:1.5;margin-top:5px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick-action{border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px 7px;text-align:center;color:#4b5d68;font-size:9px;font-weight:700}.quick-action span{width:29px;height:29px;border-radius:9px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin:0 auto 7px}.quick-action svg{width:15px;height:15px}.more-list{display:grid;gap:8px}.more-item{width:100%;display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;color:var(--ink)}.more-icon{width:34px;height:34px;border-radius:11px;background:#f0f4f5;color:#536a75;display:grid;place-items:center;flex-shrink:0}.more-icon svg{width:16px;height:16px}.more-text{flex:1;min-width:0}.more-title{font-size:11px;font-weight:730}.more-desc{font-size:9px;color:var(--muted);margin-top:3px}.chevron{color:#9aa6ae;font-size:17px}.modal-backdrop{position:absolute;inset:0;background:rgba(17,32,43,.48);z-index:10;display:flex;align-items:flex-end;justify-content:center;padding:10px}.modal-sheet{width:100%;max-height:90%;overflow:auto;background:#fff;border-radius:20px 20px 16px 16px;padding:17px 16px 18px;box-shadow:0 15px 45px rgba(10,25,35,.2)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-title{font-size:16px;font-weight:780;letter-spacing:-.4px}.modal-close{width:30px;height:30px;border:0;border-radius:9px;background:#f1f4f5;color:#62717c;font-size:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-field{min-width:0}.form-field.full{grid-column:1/-1}.form-field label{display:block;font-size:9px;font-weight:700;color:#5b6a75;margin-bottom:5px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dfe6e9;border-radius:9px;min-height:38px;padding:8px 9px;font-size:10px;color:var(--ink);background:#fff;outline:none}.form-field textarea{min-height:65px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(8,127,117,.1)}.modal-actions{display:flex;gap:8px;margin-top:16px}.modal-actions button{flex:1}.toast{position:absolute;left:14px;right:14px;bottom:83px;z-index:20;background:#172d38;color:#fff;border-radius:12px;padding:12px 14px;font-size:10px;font-weight:650;box-shadow:0 8px 25px rgba(0,0,0,.18);animation:toast-in .2s ease-out}.toast.error{background:#9f3939}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.note-banner{padding:10px 11px;border-radius:11px;background:#eef5f6;color:#59717a;font-size:9px;line-height:1.45;margin:10px 0}.chart-row{display:flex;align-items:center;gap:18px}.donut{width:106px;height:106px;border-radius:50%;background:conic-gradient(var(--brand) 0 35%,#5b83d9 35% 60%,#e6b65d 60% 75%,#d9e1e5 75% 100%);position:relative;flex-shrink:0}.donut:after{content:"";position:absolute;inset:16px;border-radius:50%;background:#fff}.donut-center{position:absolute;z-index:1;inset:0;display:grid;place-content:center;text-align:center}.donut-center strong{font-size:20px}.donut-center span{font-size:8px;color:var(--muted)}.legend{display:grid;gap:8px;flex:1}.legend-row{display:flex;align-items:center;gap:6px;font-size:9px;color:#60717b}.legend-dot{width:7px;height:7px;border-radius:3px;flex-shrink:0}.legend-row b{margin-left:auto;color:var(--ink)}.dark-mode{--ink:#e7eef2;--muted:#9aaab3;--line:#2a3a43;--surface:#1b2a33;--canvas:#14232b}.dark-mode .app-header,.dark-mode .bottom-nav,.dark-mode .panel,.dark-mode .stat-card,.dark-mode .record-card,.dark-mode .more-item,.dark-mode .search-wrap,.dark-mode .filter-chip,.dark-mode .empty-state{background:#1b2b34;border-color:#2a3a43}.dark-mode .device-shell{background:#14232b}.dark-mode .app-root{background:#14232b}.dark-mode .brand-mark{background:#e9f1f3;color:#172533}.dark-mode .icon-btn,.dark-mode .secondary-btn,.dark-mode .small-action{background:#1b2b34;border-color:#30414b;color:#d7e2e7}.dark-mode .record-grid,.dark-mode .record-footer,.dark-mode .mini-row{border-color:#2b3b44}.dark-mode .field-value,.dark-mode .mini-title,.dark-mode .record-title,.dark-mode .section-title,.dark-mode .page-title,.dark-mode .more-title{color:#e7eef2}.dark-mode .form-field input,.dark-mode .form-field select,.dark-mode .form-field textarea{background:#1b2b34;border-color:#3a4b55;color:#e7eef2}.dark-mode .modal-sheet{background:#1b2b34}.dark-mode .donut:after{background:#1b2b34}.dark-mode .quick-action{background:#1b2b34;border-color:#2a3a43;color:#e7eef2}@media(max-width:600px) and (pointer:coarse){html,body{width:100%;height:100%;min-height:0;background:var(--canvas)}.stage{position:fixed;inset:0;display:block;width:100%;height:100vh;height:100dvh;max-height:100dvh;min-height:0;padding:0}.frame-holder{width:100%;height:100%;min-width:0;min-height:0}.device-shell{width:100%;height:100%;min-width:0;min-height:0;transform:none;border:0;border-radius:0;box-shadow:none}.app-root{width:100%;height:100%;min-height:0}.app-header{padding-top:calc(11px + env(safe-area-inset-top));height:calc(76px + env(safe-area-inset-top));flex-basis:calc(76px + env(safe-area-inset-top))}.bottom-nav{padding-bottom:calc(7px + env(safe-area-inset-bottom));height:calc(73px + env(safe-area-inset-bottom));flex-basis:calc(73px + env(safe-area-inset-bottom))}}@media(max-width:350px){.view-scroll{padding-left:12px;padding-right:12px}.stats-grid{gap:7px}.stat-card{padding:11px}.page-title{font-size:21px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}}
:root{--color-background:#f4efea;--color-surface:#fff;--color-surface-secondary:#f4f0eb;--color-primary:#1c354b;--color-primary-hover:#10283c;--color-accent:#f8a21f;--color-text-primary:#0e141a;--color-text-secondary:#535d67;--color-text-tertiary:#7b858e;--color-border:#dedad4;--color-divider:#ece8e3;--color-success:#279653;--color-warning:#bd6900;--color-danger:#d93636;--color-info:#3869d4;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--radius-2xl:24px;--radius-full:999px;--ink:var(--color-text-primary);--muted:var(--color-text-secondary);--line:var(--color-border);--canvas:var(--color-background);--brand:var(--color-primary);--brand-soft:#e9eef1;--red:var(--color-danger);--amber:var(--color-warning);--green:var(--color-success)}
.view-scroll{padding:18px 20px 24px;background:var(--canvas)}
.app-header{display:flex}
/* Leave the system status area to iOS or Android; keep app content below its safe area. */
@media(max-width:600px) and (pointer:coarse){.app-header{padding-top:calc(11px + env(safe-area-inset-top));height:calc(76px + env(safe-area-inset-top));flex-basis:calc(76px + env(safe-area-inset-top))}}
.bottom-nav{height:78px;flex-basis:78px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ded9d2}
.nav-item{font-size:10px;gap:3px;color:#65717d}
.nav-item svg{width:21px;height:21px;stroke-width:2.05}.nav-item.active svg{stroke-width:2px}
.nav-item.active{color:#102d46}
.ref-page{min-height:100%;color:#111820}
.ref-heading{display:flex;align-items:center;justify-content:space-between;margin:3px 0 20px}
.ref-heading .eyebrow,.ref-page>.eyebrow{font-size:10px;letter-spacing:1.4px;color:#5c6671;font-weight:700;margin-bottom:5px}
.ref-heading .page-title,.ref-page>.page-title{font-size:25px;letter-spacing:-.8px;font-weight:780}
.ref-avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#f5a21a;color:#17212b;font-size:11px;font-weight:800}
.ref-hero{background:linear-gradient(145deg,#112f49,#061a2b);border-radius:21px;color:#fff;padding:19px;margin:0 0 12px;min-height:128px}
.ref-hero>span{font-size:10px;letter-spacing:1.4px;color:#b8c4cf}
.ref-hero>div:not(.ref-progress){display:flex;align-items:baseline;gap:8px;margin:5px 0 12px}
.ref-hero strong{font-size:46px;line-height:1;font-weight:780;letter-spacing:-2px}
.ref-hero small{font-size:14px;color:#b9c5d0}
.ref-progress{height:6px;border-radius:8px;background:#e4dfd9;overflow:hidden;margin-top:9px}
.ref-progress i{height:100%;display:block;background:#102d46;border-radius:8px}
.ref-hero .ref-progress{background:#34495b}
.ref-hero .ref-progress i{background:#f5a21a}
.ref-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:22px}
.ref-stat{min-height:105px;background:#fff;border:1px solid #dedad4;border-radius:17px;padding:13px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}
.ref-stat svg{width:19px;height:19px;flex:0 0 19px;color:#102d46;margin:0 0 4px;display:block}.ref-stat svg.icon-droplet{transform:scale(.82) translateY(-3px);transform-origin:top left}
.ref-stat.danger svg{color:#d93636}
.ref-stat b,.ref-stat strong{font-size:20px;line-height:1.05;font-weight:780}
.ref-stat span{font-size:11px;color:#626d78}
.ref-section-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}
.ref-section-head b{font-size:16px;font-weight:780}
.ref-section-head button{border:0;background:transparent;color:#102d46;font-weight:700;font-size:11px}
.ref-card{background:#fff;border:1px solid #dedad4;border-radius:17px;padding:14px 15px;margin:0 0 9px;box-shadow:0 1px 1px rgba(20,30,40,.02)}
.ref-between{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ref-between>b{font-size:14px;line-height:1.25}
.ref-between small{font-size:10px;color:#59636e;white-space:nowrap}
.ref-card p{font-size:11px;color:#59636e;margin:5px 0 0;line-height:1.35}
.ref-trip .ref-progress{margin-top:11px}
.ref-page .search-wrap{height:44px;border-radius:13px;margin:13px 0 11px}
.ref-page .search-wrap input{font-size:13px}
.ref-page .filter-row{gap:7px;margin-bottom:12px}
.ref-page .filter-chip{font-size:11px;padding:8px 13px;color:#111820;background:#fff;border-color:#ddd9d2}
.ref-page .filter-chip.active{background:#102d46;color:#fff;border-color:#102d46}
.client-hero{min-height:132px;margin:14px 0 11px;padding:16px 18px;display:flex;flex-direction:column;justify-content:center;gap:7px}.client-hero>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.client-hero>div strong{font-size:42px;line-height:1;letter-spacing:-1.5px}.client-hero>small{font-size:11px;color:#c2cbd2}.client-back{display:inline-flex;margin:0 0 8px;padding:0;color:#17324a;font-size:11px;font-weight:650}.client-detail-page>.eyebrow{margin:0 0 3px;font-size:10px;letter-spacing:1px;color:#596572}.client-detail-page>.page-title{font-size:22px;line-height:1.15;margin:0}.ref-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:11px 0 20px;align-items:stretch}.ref-stat{min-width:0;min-height:112px;padding:17px 16px;background:#fff;border:1px solid #dedad4;border-radius:17px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0}.ref-stat svg{width:19px;height:19px;flex:0 0 19px;color:#17324a;margin:0 0 12px;display:block;stroke-width:1.8}.ref-stat.danger svg{color:#ed2929}.ref-stat.expiring svg{color:#17324a}.ref-stat b,.ref-stat strong{font-size:20px;line-height:1.05;font-weight:780;margin:0}.ref-stat span{font-size:11px;line-height:1.3;color:#596572;margin-top:5px}.ref-section-head{margin:20px 0 10px}.ref-check-card{min-height:55px;padding:12px 15px;display:flex;align-items:center;margin-bottom:8px}.ref-check-card .ref-between{width:100%;align-items:center}.ref-check-card .ref-between>b{font-size:12px;font-weight:650}.checklist-status{padding:5px 10px;font-size:10px}.ref-risk.status-current{color:#16834a}.ref-risk.status-current:before{background:#22a455}.ref-risk.status-attention{color:#a85a00}.ref-risk.status-attention:before{background:#c77a00}.ref-risk.status-action{color:#e02e2e}.ref-risk.status-action:before{background:#e02e2e}.ref-risk.status-current,.ref-risk.status-action,.ref-risk.status-attention{background:#e9e4df}
.ref-client-metrics{display:flex;gap:48px;margin-top:14px}
.ref-client-metrics div{display:grid;gap:3px}
.ref-client-metrics b{font-size:23px}
.ref-client-metrics span{font-size:11px;color:#c2cbd2}
.client-card{padding:15px;margin-bottom:9px}
.ref-risk{border-radius:20px;background:#e9e4df;color:#b52e28;padding:5px 9px;font-size:10px;font-weight:750;white-space:nowrap}
.ref-risk:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#d93636;margin-right:5px}
.ref-client-meta{margin-top:12px;font-size:11px}
.ref-next{margin-top:9px;color:#59636e}
.ref-next small{font-size:10px}
.vehicle-card{padding:15px;margin-bottom:9px}
.vehicle-card>p{font-size:13px;margin:4px 0 12px}
.vehicle-card .ref-between{font-size:12px;margin-top:8px}
.vehicle-card .record-actions{margin-top:12px}
.ref-map{height:210px;border-radius:20px;overflow:hidden;position:relative;margin:15px 0;background-color:#c5dddd;background-image:linear-gradient(rgba(255,255,255,.62) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.62) 1px,transparent 1px);background-size:26px 26px}
.ref-map-road{position:absolute;width:150%;height:12px;background:#f2b64f;transform:rotate(36deg);left:-20%;top:48%}
.ref-map i{position:absolute;width:13px;height:13px;border-radius:50%;background:#102d46;border:3px solid white;box-shadow:0 1px 4px #60717b}
.ref-map i:nth-of-type(1){left:23%;top:40%}.ref-map i:nth-of-type(2){left:57%;top:63%}.ref-map i:nth-of-type(3){left:77%;top:25%}
.ref-trip-detail{padding:16px}
.ref-stops{display:grid;gap:12px;margin:14px 0 0 7px;padding-left:16px;border-left:2px solid #dedad4}
.ref-stops b{font-size:14px}
.ref-alert{display:flex;gap:10px;align-items:flex-start;padding:16px}
.ref-alert p{font-size:12px;margin-top:5px}
.ref-alert-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#e78c19;margin-top:5px;box-shadow:0 0 0 5px #fff1df}
.ref-alert-dot.critical{background:#d93636;box-shadow:0 0 0 5px #fde6e5}
.ref-alert-main{flex:1;min-width:0}
.ref-alert-main b{font-size:14px}
/* Keep the fixed device frame's navigation inside the viewport. */
.app-root{height:100%;min-height:0;overflow:hidden}
.view-scroll{flex:1 1 0%;min-height:0;min-width:0;overflow-y:auto}
.bottom-nav{position:relative;flex:0 0 78px;height:78px;min-height:78px;padding:6px 8px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.nav-item{min-width:0;min-height:0;padding:4px 0}
@media(max-width:600px) and (pointer:coarse){.bottom-nav{flex-basis:calc(78px + env(safe-area-inset-bottom));height:calc(78px + env(safe-area-inset-bottom));min-height:calc(78px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom))}}
@media(max-width:350px){.view-scroll{padding-left:14px;padding-right:14px}.ref-hero{padding:16px}.ref-stat{padding:11px}.ref-heading .page-title,.ref-page>.page-title{font-size:22px}}.ref-hero{background:linear-gradient(145deg,var(--color-primary),#061a2b)}.ref-hero .ref-progress i,.ref-avatar{background:var(--color-accent)}.ref-map-road{background:var(--color-accent)}.ref-stat svg,.ref-section-head button,.ref-page .filter-chip.active,.nav-item.active{color:var(--color-primary)}
.compliance-hero{margin:12px 0 10px;min-height:126px}.compliance-hero>div{display:flex;align-items:baseline;gap:8px;margin:6px 0 8px}.compliance-hero>div strong{font-size:43px;line-height:1;letter-spacing:-1.8px}.compliance-hero>small{font-size:10px;color:#c5d0d8}.compliance-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 18px}.compliance-stats .ref-stat{min-height:88px;padding:12px 13px}.compliance-stats .ref-stat svg{margin-bottom:7px}.compliance-stats .ref-stat b{font-size:19px}.compliance-status{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:750;white-space:nowrap;background:#e9e4df}.compliance-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.compliance-status.status-current{color:#16834a}.compliance-status.status-attention{color:#a85a00}.compliance-status.status-action{color:#d93636}.compliance-status.status-pending{color:#586b7a}.compliance-upcoming{padding:12px 13px;margin-bottom:8px;border-left:3px solid #c77a00}.compliance-card{padding:13px 14px}.compliance-card p{margin:6px 0 0;font-size:11px;color:#59636e}.compliance-association{font-size:10px;color:#59636e;margin-top:8px}.compliance-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px;padding-top:10px;border-top:1px solid #ece8e3}.compliance-meta span{display:grid;gap:4px;min-width:0}.compliance-meta small{font-size:8px;color:#7b858e;text-transform:uppercase;letter-spacing:.5px;font-weight:700}.compliance-meta b{font-size:10px;color:#263746;overflow-wrap:anywhere}.compliance-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.compliance-filters select,.compliance-filters label{min-width:0;width:100%;border:1px solid #ddd9d2;border-radius:9px;background:#fff;padding:8px 9px;font-size:10px;color:#263746}.compliance-filters>select{height:66px;min-height:66px}.compliance-filters label{display:flex;align-items:center;gap:5px;justify-content:space-between;min-height:66px}.compliance-filters label select{width:65%;height:36px;min-height:36px;padding:6px 8px}.compliance-filters input{width:65%;min-width:0;border:0;background:transparent;font-size:9px;color:#263746}.compliance-related{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.compliance-related button{flex:1;min-width:100px}.dark-mode .compliance-filters select,.dark-mode .compliance-filters label{background:#1b2b34;border-color:#3a4b55;color:#e7eef2}.dark-mode .compliance-meta b{color:#e7eef2}.dark-mode .compliance-card p,.dark-mode .compliance-association{color:#a9b6be}
@media(max-width:390px){.compliance-filters{grid-template-columns:1fr 1fr}.compliance-hero>div strong{font-size:39px}.nav-item{font-size:9px}}