@import "https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";:root{--navy-ink:#16233f;--navy-ink-soft:#24365c;--gold:#b8860b;--gold-soft:#e8c766;--paper:#f6f5f1;--paper-raised:#fff;--ink:#1b1f27;--ink-muted:#5b6472;--line:#e1dfd7;--success:#2f7d5d;--success-bg:#e7f2ec;--danger:#b23a2f;--danger-bg:#fbebe9;--warning:#a66a1e;--warning-bg:#fbf0df;--font-ui:"Source Sans 3", -apple-system, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, monospace}*{box-sizing:border-box}body{font-family:var(--font-ui);background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0}button,input,select{font-family:inherit;font-size:inherit}a{color:inherit}::selection{background:var(--gold-soft)}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.assistant-root{z-index:300;position:fixed;bottom:24px;right:24px}.assistant-fab{background:var(--navy-ink);width:52px;height:52px;color:var(--gold-soft);cursor:pointer;box-shadow:var(--shadow-lg,0 12px 32px #0003);border:none;border-radius:50%;font-size:22px;transition:transform .12s}.assistant-fab:hover{transform:scale(1.06)}.assistant-fab:active{transform:scale(.96)}.assistant-panel{background:var(--paper-raised,#fff);border:1px solid var(--line);border-radius:var(--radius-lg,16px);width:320px;height:420px;box-shadow:var(--shadow-lg,0 12px 32px #0003);flex-direction:column;animation:.18s assistant-in;display:flex;position:absolute;bottom:64px;right:0;overflow:hidden}@keyframes assistant-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.assistant-header{background:var(--navy-ink);color:#fff;justify-content:space-between;align-items:center;padding:12px 14px;font-size:13.5px;font-weight:700;display:flex}.assistant-close{color:#fff;cursor:pointer;opacity:.8;background:0 0;border:none;font-size:14px}.assistant-close:hover{opacity:1}.assistant-messages{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex;overflow-y:auto}.assistant-greeting{color:var(--ink-muted);font-size:13px;line-height:1.5}.assistant-bubble{white-space:pre-wrap;border-radius:12px;max-width:85%;padding:8px 12px;font-size:13px;line-height:1.4}.assistant-bubble-user{background:var(--gold);color:var(--navy-ink);border-bottom-right-radius:3px;align-self:flex-end}.assistant-bubble-assistant{background:var(--paper);color:var(--ink);border-bottom-left-radius:3px;align-self:flex-start}.assistant-typing{color:var(--ink-muted);letter-spacing:2px;font-weight:700}.assistant-error{color:var(--danger);background:var(--danger-bg);padding:8px 14px;font-size:12px}.assistant-input-row{border-top:1px solid var(--line);gap:6px;padding:10px;display:flex}.assistant-input-row input{border:1px solid var(--line);border-radius:8px;flex:1;padding:8px 10px;font-size:13px}.assistant-input-row input:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft);outline:none}.assistant-input-row button{background:var(--navy-ink);color:#fff;cursor:pointer;border:none;border-radius:8px;width:36px;font-size:14px}.assistant-input-row button:disabled{opacity:.4;cursor:not-allowed}@media (width<=480px){.assistant-panel{width:calc(100vw - 32px);right:-8px}}.notif-bell-container{position:relative}.notif-bell-button{cursor:pointer;background:0 0;border:none;border-radius:50%;padding:6px;font-size:19px;line-height:1;transition:background .12s;position:relative}.notif-bell-button:hover{background:var(--paper)}.notif-bell-badge{background:var(--danger);color:#fff;border:2px solid var(--paper-raised,#fff);border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 3px;font-size:10px;font-weight:700;display:flex;position:absolute;top:-2px;right:-2px}.notif-dropdown{background:var(--paper-raised,#fff);border:1px solid var(--line);border-radius:var(--radius-md,12px);width:340px;max-height:420px;box-shadow:var(--shadow-lg,0 12px 32px #00000029);z-index:200;flex-direction:column;animation:.16s notif-drop-in;display:flex;position:absolute;top:calc(100% + 10px);right:0}@keyframes notif-drop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.notif-dropdown-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 16px;font-size:14px;font-weight:700;display:flex}.notif-mark-all{color:var(--navy-ink);cursor:pointer;background:0 0;border:none;font-size:12.5px;font-weight:600;text-decoration:underline}.notif-dropdown-list{max-height:360px;overflow-y:auto}.notif-empty{text-align:center;color:var(--ink-muted);padding:28px 16px;font-size:13.5px}.notif-item{text-align:left;border:none;border-bottom:1px solid var(--line);cursor:pointer;background:0 0;align-items:flex-start;gap:10px;width:100%;padding:12px 16px;transition:background .1s;display:flex}.notif-item:hover{background:var(--paper)}.notif-item:last-child{border-bottom:none}.notif-item-unread{background:var(--warning-bg,#fbf0df)}.notif-item-unread:hover{background:var(--gold-soft,#f1e3be)}.notif-dot{background:var(--ink-muted);border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px}.notif-dot-trip{background:var(--navy-ink)}.notif-dot-driver{background:var(--gold)}.notif-dot-incident{background:var(--danger)}.notif-dot-support{background:var(--success)}.notif-dot-system{background:var(--ink-muted)}.notif-item-body{flex-direction:column;gap:2px;min-width:0;display:flex}.notif-item-title{color:var(--ink);font-size:13.5px;font-weight:600}.notif-item-text{color:var(--ink-muted);font-size:12.5px}.notif-item-time{color:var(--ink-muted);margin-top:2px;font-size:11px}@media (width<=480px){.notif-dropdown{width:calc(100vw - 32px);right:-8px}}.shell{min-height:100dvh;display:flex}.mobile-bar,.scrim,.sidebar-close{display:none}.sidebar{background:var(--navy-ink);color:#f1f0ec;flex-direction:column;flex-shrink:0;width:240px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:0 8px 28px;display:flex}.sidebar-bell{margin-left:auto}.sidebar-bell .notif-bell-button{color:#e1dfd7}.sidebar-bell .notif-bell-button:hover{background:#ffffff1a}.sidebar-bell .notif-dropdown{color:var(--ink);left:0;right:auto}.account{align-items:center;gap:10px;display:flex}.account-avatar-sm{background:var(--gold);width:32px;height:32px;color:var(--navy-ink);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex;overflow:hidden}.account-avatar-sm img{object-fit:cover;width:100%;height:100%}.brand-mark{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;overflow:hidden}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.brand-name{letter-spacing:.01em;font-size:17px;font-weight:600}.nav{flex-direction:column;flex:1;gap:2px;display:flex}.nav-link{color:#c7ccd8;border-radius:6px;padding:10px 12px;font-size:14.5px;font-weight:500;text-decoration:none;transition:background .12s,color .12s;display:block}.nav-link:hover{color:#fff;background:#ffffff0f}.nav-link-active{color:var(--gold-soft);background:#b8860b2e}.sidebar-footer{border-top:1px solid #ffffff1a;flex-direction:column;gap:12px;padding-top:16px;display:flex}.account-name{color:#f1f0ec;font-size:14px;font-weight:600}.account-role{color:#9ba3b4;text-transform:capitalize;font-size:12px}.logout-btn{color:#e1dfd7;cursor:pointer;text-align:left;background:0 0;border:1px solid #ffffff2e;border-radius:6px;padding:8px 12px;font-size:13.5px}.logout-btn:hover{background:#ffffff0f}.content{flex:1;min-width:0;max-width:1200px;padding:32px 40px}.icon-btn{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:#ffffff1a}@media (width<=1023px){.shell{flex-direction:column}.mobile-bar{z-index:90;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(4px, env(safe-area-inset-left));background:var(--navy-ink);color:#f1f0ec;align-items:center;gap:8px;display:flex;position:sticky;top:0;box-shadow:0 1px #ffffff0f,0 2px 8px #16233f2e}.mobile-bar-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:17px;font-weight:600;overflow:hidden}.mobile-bar .notif-bell-button{color:#e1dfd7;padding:10px;font-size:20px}.mobile-bar .notif-bell-button:hover{background:#ffffff1a}.mobile-bar .notif-bell-container{margin-left:auto}.scrim{z-index:110;background:#0a0e188c;animation:.2s scrim-in;display:block;position:fixed;inset:0}@keyframes scrim-in{0%{opacity:0}to{opacity:1}}.sidebar{z-index:120;width:min(300px,86vw);height:auto;padding:calc(20px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain;visibility:hidden;transition:transform .24s cubic-bezier(.2,.8,.2,1),visibility 0s linear .24s;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%)}.sidebar-open{visibility:visible;transition-delay:0s;transform:none;box-shadow:8px 0 32px #0000004d}.sidebar .brand{padding-bottom:20px}.sidebar-close{color:#e1dfd7;margin-left:auto;display:inline-flex}.nav{flex:none;margin-bottom:20px}.nav-link{padding:13px 12px;font-size:16px}.sidebar-footer{margin-top:auto}.logout-btn{text-align:center;padding:12px;font-size:15px}.account-text{min-width:0}.account-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.content{width:100%;max-width:none;padding:24px}}@media (width<=640px){.content{padding:18px max(16px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}}@media (prefers-reduced-motion:reduce){.sidebar,.scrim{transition:none;animation:none}}.auth-page{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-brand-panel{background:var(--navy-ink);background-image:radial-gradient(circle at 20% 20%,#b8860b26,#0000 55%);justify-content:center;align-items:center;padding:64px;display:flex}.auth-brand-lockup{flex-direction:column;align-items:center;gap:20px;display:flex}.auth-lockup-icon{border-radius:24px;width:96px;height:96px;display:block}.auth-lockup-name{color:#fff;letter-spacing:-.3px;font-size:28px;font-weight:700}.auth-form-panel{background:var(--paper);justify-content:center;align-items:center;padding:48px 32px;display:flex}.auth-form-box{width:100%;max-width:380px}@media (width<=860px){.auth-page{grid-template-rows:auto 1fr;grid-template-columns:1fr;min-height:100dvh}.auth-brand-panel{padding:calc(18px + env(safe-area-inset-top)) 20px 18px;background-image:none}.auth-brand-lockup{flex-direction:row;gap:12px}.auth-lockup-icon{border-radius:12px;width:44px;height:44px}.auth-lockup-name{font-size:20px}.auth-form-panel{padding:28px max(20px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));align-items:flex-start}.auth-form-box{max-width:440px;margin:0 auto}}@media (pointer:coarse){.auth-form-box input{min-height:48px;font-size:16px}}.auth-channel{background:var(--paper-sunken,#efede6);border-radius:10px;gap:4px;margin-bottom:16px;padding:4px;display:flex}.auth-channel button{min-height:40px;font:inherit;color:var(--ink-muted);cursor:pointer;background:0 0;border:none;border-radius:7px;flex:1;font-size:14px;font-weight:600}.auth-channel button.auth-channel-on{background:var(--paper-raised,#fff);color:var(--navy-ink);box-shadow:0 1px 3px #16233f26}.auth-hint{color:var(--ink-muted);margin:8px 0 16px;font-size:13px;line-height:1.4}.auth-form-box h2{color:var(--ink);margin:0 0 6px;font-size:22px;font-weight:700}.auth-form-box .auth-subtitle{color:var(--ink-muted);margin:0 0 28px;font-size:14px}.auth-form-box form{flex-direction:column;gap:4px;display:flex}.auth-form-box label{color:var(--ink-muted);margin-bottom:6px;font-size:13.5px;font-weight:600}.auth-form-box input{border:1px solid var(--line);background:var(--paper-raised);border-radius:8px;margin-bottom:16px;padding:12px 14px;font-size:15px}.auth-form-box input:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft,#b8860b40);outline:none}.password-field{margin-bottom:16px;position:relative}.password-field input{box-sizing:border-box;width:100%;margin-bottom:0;padding-right:44px}.password-toggle{cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:16px;line-height:1;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.auth-error{background:var(--danger-bg);color:var(--danger);border-radius:8px;margin-bottom:16px;padding:10px 12px;font-size:13.5px}.auth-switch{color:var(--ink-muted);text-align:center;margin-top:24px;font-size:13.5px}.auth-switch a{color:var(--navy-ink);cursor:pointer;font-weight:600;text-decoration:underline}.auth-back-link{color:var(--ink-muted);cursor:pointer;text-align:left;background:0 0;border:none;padding:6px 0;font-size:13.5px;text-decoration:underline}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}html img,html svg,html video{max-width:100%}@media (pointer:coarse){html input,html select,html textarea{font-size:16px!important}html .btn{min-height:44px;padding-left:16px;padding-right:16px}html .delivery-tab,html .delivery-modal-close{min-height:40px}html .filter-row select,html .filter-row input{min-height:44px}html .data-table th.sortable{padding-top:14px;padding-bottom:14px}}@media (width<=1023px){html .page-header{margin-bottom:20px}html .page-header h1{font-size:22px}html .panel,html .chart-panel{-webkit-overflow-scrolling:touch;overflow-x:auto}html .data-table th,html .data-table td{padding-left:14px;padding-right:14px}html .filter-row{flex-wrap:wrap}html .filter-row select,html .filter-row input{flex:180px;min-width:0}html .btn-row{flex-wrap:wrap}html .delivery-list{max-width:none}html .delivery-tabs{scrollbar-width:none;overflow-x:auto}html .delivery-tab{white-space:nowrap}}@media (width>=721px) and (width<=1023px){html .data-table{min-width:680px}html .kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media (width<=720px){html .page-header{margin-bottom:16px}html .page-header h1{font-size:21px}html .page-header p{font-size:13.5px}html .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}html .kpi-card{padding:14px}html .kpi-card:hover{box-shadow:none;transform:none}html .kpi-value{font-size:24px}html .kpi-label{font-size:12.5px}html .panel-header{flex-wrap:wrap;gap:8px;padding:12px 14px}html .filter-row{flex-direction:column;align-items:stretch}html .filter-row select,html .filter-row input{flex:none;width:100%}html .filter-row .btn{width:100%}html .btn-row>.btn{flex:auto}html .panel:has(>.data-table){background:0 0;border:none;animation:none;overflow:visible}html table.data-table,html .data-table tbody,html .data-table tr,html .data-table td{width:100%;min-width:0;display:block}html .data-table thead{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}html .data-table tbody tr{background:var(--paper-raised);border:1px solid var(--line);border-radius:12px;margin-bottom:12px;padding:4px 0;overflow:hidden}html .data-table tbody tr:hover{background:var(--paper-raised)}html .data-table tr:last-child td{border-bottom:1px solid var(--line)}html .data-table td{text-align:right;border-bottom:1px dashed var(--line);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:14px;padding:10px 14px;display:flex}html .data-table tbody tr td:last-child{border-bottom:none}html .data-table td:before{content:attr(data-label);text-align:left;text-transform:uppercase;letter-spacing:.04em;max-width:38%;color:var(--ink-muted);flex:0 0 38%;font-size:11.5px;font-weight:600}html .data-table td[data-label=""]:before,html .data-table td:not([data-label]):before{display:none}html .data-table td[data-label=""]{flex-wrap:wrap;justify-content:flex-end}html .data-table td:not([data-label]){text-align:left;display:block}html .data-table td .btn-row{justify-content:flex-end}html .data-table td input,html .data-table td select{max-width:100%}html .data-table td.driver-expand-cell{display:none}html .sos-row td{background:var(--danger-bg)}html .sos-row{background:var(--danger-bg)!important}html .driver-detail-row td{padding:0}html .driver-detail{gap:16px;padding:14px}html .driver-detail-info{width:100%;min-width:0}html .driver-detail-docs{gap:10px}html .zone-form-grid{grid-template-columns:1fr}html .delivery-modal-overlay{align-items:flex-end;padding:0}html .delivery-modal{max-width:none;max-height:92dvh;padding-bottom:calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}html .delivery-option{flex-wrap:wrap}html .sos-alert-banner{padding:12px}html .charts-grid{gap:12px;margin:16px 0}html .chart-panel{border-radius:12px;padding:14px 8px 4px}}@media (width<=380px){html .kpi-grid{grid-template-columns:1fr}}@media (width<=640px){html .assistant-root{right:max(14px, env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom))}html .assistant-fab{width:56px;height:56px}html .assistant-panel{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;height:min(72dvh,560px);position:fixed}html .assistant-input-row input{font-size:16px}html .assistant-input-row button{width:44px}html .notif-dropdown{top:calc(60px + env(safe-area-inset-top));width:auto;max-height:70dvh;position:fixed;left:10px;right:10px}html .notif-dropdown-list{max-height:calc(70dvh - 52px)}html .notif-item{padding:14px 16px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
