@font-face{font-family:Manrope;src:url('../fonts/Manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('../fonts/Manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url('../fonts/Manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}
.login-page{font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.login-page button,.login-page input{font-family:inherit}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:37px;height:37px;padding:8px;border-radius:9px;background:#fff;border:1px solid #d9dfdf;color:#334155;cursor:pointer;transition:background .2s,color .2s}.theme-toggle:hover{background:#e8edf3}.theme-toggle:focus-visible{outline:3px solid #e96a73;outline-offset:3px}.theme-toggle svg{height:20px;width:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.theme-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-theme{position:fixed;right:24px;top:24px;z-index:80}
html[data-theme=dark]{--ink:#e6edf4;--muted:#a0b1c0;--text:#c1ccd9;--border:#2b3b4b;--canvas:#0f1720;--cream:#101a1d;--line:#304041;--red:#f17a83;--red-hover:#e3606d;--red-soft:#43252e;--shadow:0 4px 24px #0002;--night-surface:#192531;--night-raised:#202e3c;--night-border:#334557;color:#dbe4ee;background:#0f1720;color-scheme:dark}
html[data-theme=dark] body{color:#dbe4ee;background-color:#0f1720}
html[data-theme=dark] .theme-toggle{background:#243343;border-color:#3a4d60;color:#f9d68a}html[data-theme=dark] .theme-toggle:hover{background:#35495e}
/* Public website: keep photographs and brand artwork in their original colors. */
[data-theme=dark] .site-header{background:#101a1df5;border-color:#304041}[data-theme=dark] .login-link{border-color:#4b5d60}[data-theme=dark] .hero-description,[data-theme=dark] .hero-assurance,[data-theme=dark] .section-heading>p,[data-theme=dark] .service-row p,[data-theme=dark] .about-copy>p:not(.eyebrow),[data-theme=dark] .branch-info>p,[data-theme=dark] .footer>p,[data-theme=dark] .footer-bottom{color:#a9bab9}[data-theme=dark] .network-art{background:#1d2c2b}[data-theme=dark] .art-grid{background-image:radial-gradient(#66847a44 .8px,transparent .8px)}[data-theme=dark] .route-art path[fill="url(#map-fill)"]{fill:#2b4038;stroke:#52675c}[data-theme=dark] .route-art g[fill="#363735"]{fill:#d1e5d8}[data-theme=dark] .route-art g[stroke="#b6b0a3"]{stroke:#6b8477}[data-theme=dark] .route-note{background:#233833f5;border-color:#40564c}[data-theme=dark] .route-note small{color:#b8c9be}[data-theme=dark] .mini-box{background:#492d2a;color:#f6b5a3}[data-theme=dark] .tracking-band{background:#0b1315}[data-theme=dark] .tracking-card{background:#1b2b2d;color:#e1ece7}[data-theme=dark] .tracking-input{background:#142123;border-color:#4c6362}[data-theme=dark] .tracking-input input{color:#f0f7f4}[data-theme=dark] .tracking-card small{color:#b0c6bc}[data-theme=dark] .result-route{background:#243a36}[data-theme=dark] #error-msg{background:#46252d;color:#ffc7ce}[data-theme=dark] .result-header>span,[data-theme=dark] #historial-tracking li p{color:#b1c8be}[data-theme=dark] .about-band{background:#182624}[data-theme=dark] .about-values>span{border-color:#385049;color:#acbcb5}[data-theme=dark] .about-values b{color:#d2e1d9}[data-theme=dark] .branch-tabs{border-color:#394c46}[data-theme=dark] .branch-tabs button{color:#a8bcb1}[data-theme=dark] .branch-tabs button span{border-color:#52685b}[data-theme=dark] .branch-info dt{color:#b2c7bb}[data-theme=dark] .service-row>a{color:#c4d0c8}[data-theme=dark] .service-number{color:#93aca1}[data-theme=dark] .contact-band{background:#8f303d}[data-theme=dark] .light{background:#f3f3ed;color:#222e29}[data-theme=dark] .dark{background:#e0e9e2;color:#17221d}[data-theme=dark] #mobile-menu{background:#172522;border-color:#40514c}[data-theme=dark] .button.red,[data-theme=dark] .tracking-input button{background:#c33746;color:white}[data-theme=dark] .art-stamp{background:#c33746;color:#fff}[data-theme=dark] .brand-mark{background:#c33746;color:#fff}
/* Operations workspace, including dialogs, tables, charts and financial views. */
[data-theme=dark] .sidebar{background:#10181f;border-color:#304255}[data-theme=dark] .topbar{background:#131e2bf5;border-color:#2c3e50}[data-theme=dark] .main-shell,[data-theme=dark] .main-content{background:#0f1720}[data-theme=dark] .page-heading h1,[data-theme=dark] .panel h2,[data-theme=dark] .modal h2,[data-theme=dark] .team-card h3,[data-theme=dark] .team-banner h2,[data-theme=dark] .profile-modal h3{color:#eef3f9}[data-theme=dark] .page-heading p,[data-theme=dark] .welcome-line,[data-theme=dark] .breadcrumb,[data-theme=dark] .breadcrumb>strong,[data-theme=dark] .sync-copy,[data-theme=dark] .network-pill{color:#a7b7c9}
[data-theme=dark] .panel,[data-theme=dark] .stat-card,[data-theme=dark] .team-card,[data-theme=dark] .board-column,[data-theme=dark] .modal,[data-theme=dark] .search-dialog{background:#192531;border-color:#304358;color:#d3deea}[data-theme=dark] .stat-card.stat-dark{background:#253241;border-color:#4a5b6e}[data-theme=dark] .stat-card .stat-label,[data-theme=dark] .stat-card .stat-foot,[data-theme=dark] .section-kicker,[data-theme=dark] .panel-heading p,[data-theme=dark] .panel-note{color:#b1c1d3}[data-theme=dark] .stat-card .stat-value{color:#f1f5fa}
[data-theme=dark] .global-search,[data-theme=dark] .period-button,[data-theme=dark] .select-field,[data-theme=dark] .search-field,[data-theme=dark] .btn-secondary{background:#202f40;border-color:#3c5064;color:#d3e1f0}[data-theme=dark] .btn-secondary:hover{background:#2b4054;color:#fff}[data-theme=dark] .global-search kbd,[data-theme=dark] .search-field kbd{background:#2b3a4b;color:#d5e2ef;border-color:#52647b}[data-theme=dark] .icon-button{color:#b8cbdf}[data-theme=dark] .icon-button:hover{background:#2a3d51;color:#fff}[data-theme=dark] .btn-primary,[data-theme=dark] .btn-danger{background:#c33746;border-color:#cf5162;color:#fff}
[data-theme=dark] .data-table th,[data-theme=dark] thead th{background:#202f3e;color:#a8bfd8;border-color:#36495c}[data-theme=dark] .data-table td,[data-theme=dark] tbody td,[data-theme=dark] .table-footer,[data-theme=dark] .panel-header,[data-theme=dark] .panel-footer,[data-theme=dark] .filters-bar{border-color:#304153;color:#c7d6e5}[data-theme=dark] .data-table tbody tr:hover,[data-theme=dark] tbody tr:hover{background:#223449}[data-theme=dark] .table-primary,[data-theme=dark] .guide-number,[data-theme=dark] .table-route,[data-theme=dark] .route-stack,[data-theme=dark] .table-route>span{color:#d5e2f2}[data-theme=dark] .table-secondary,[data-theme=dark] .table-location,[data-theme=dark] .board-age,[data-theme=dark] .team-email,[data-theme=dark] .team-joined{color:#adbed0}[data-theme=dark] .team-card-top{border-color:#3c4e61}[data-theme=dark] .team-card .avatar{background:#304859!important;border-color:#4b6378!important;color:#e6f1fb!important}[data-theme=dark] .team-self{background:#353d50;color:#d3deef}
[data-theme=dark] .field,[data-theme=dark] .field-help,[data-theme=dark] .field small,[data-theme=dark] .field legend{color:#b9cce0}[data-theme=dark] input:not([type=checkbox]):not([type=radio]),[data-theme=dark] select,[data-theme=dark] textarea{background-color:#111e2c;border-color:#425970;color:#eef4fa}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#8fa4b9}[data-theme=dark] input:disabled,[data-theme=dark] select:disabled{background:#25313e;color:#a3b0bd}[data-theme=dark] option{background:#182a3b;color:#e2ecf8}[data-theme=dark] .modal-header,[data-theme=dark] .modal-footer,[data-theme=dark] .detail-actions,[data-theme=dark] .command-search{border-color:#35485b}[data-theme=dark] dialog::backdrop{background:#020812bc}
[data-theme=dark] .contact-card,[data-theme=dark] .review-section,[data-theme=dark] .review-line,[data-theme=dark] .detail-route,[data-theme=dark] .detail-payment,[data-theme=dark] .state-current,[data-theme=dark] .form-tip,[data-theme=dark] .permission-card,[data-theme=dark] .operation-tip,[data-theme=dark] .payment-summary{background:#223547;border-color:#3c5269;color:#c5d9ed}[data-theme=dark] .contact-card legend,[data-theme=dark] .review-line>strong,[data-theme=dark] .detail-route strong,[data-theme=dark] .detail-payment strong,[data-theme=dark] .payment-summary>strong,[data-theme=dark] .detail-section h3,[data-theme=dark] .detail-dl dd,[data-theme=dark] .detail-timeline li strong{color:#dbeafa}[data-theme=dark] .detail-route small,[data-theme=dark] .detail-payment small,[data-theme=dark] .detail-dl dt,[data-theme=dark] .detail-timeline p,[data-theme=dark] .detail-timeline small,[data-theme=dark] .detail-title-line>span{color:#b0c4d9}[data-theme=dark] .detail-timeline li{border-color:#526680;color:#d8e5f3}[data-theme=dark] .detail-timeline li:before{border-color:#192531}[data-theme=dark] .board-card{background:#233347;border-color:#3e526c;color:#dce7f5}[data-theme=dark] .board-card-header>button,[data-theme=dark] .board-column h2,[data-theme=dark] .board-card>p{color:#d3e0f0}[data-theme=dark] .board-location{background:#263f3c;color:#b7dece!important}[data-theme=dark] .board-count,[data-theme=dark] .board-all{background:#273b50;color:#c1d5ed;border-color:#4b6078}
[data-theme=dark] .guide-tabs,[data-theme=dark] .chart-mode,[data-theme=dark] .role-pill{background:#243348;border-color:#40536b;color:#bbcee5}[data-theme=dark] .guide-tabs button,[data-theme=dark] .chart-mode button{color:#b6c9df}[data-theme=dark] .guide-tabs button.active,[data-theme=dark] .chart-mode button.active{background:#3c3044;color:#ffc6ce;border-color:#6d4456}[data-theme=dark] .guide-tabs button>span{background:#304559;color:#d5e5f5}
[data-theme=dark] .badge-received,[data-theme=dark] .badge-0{background:#403c25;color:#f0d69d}[data-theme=dark] .badge-transit,[data-theme=dark] .badge-1{background:#243b59;color:#b0d1fb}[data-theme=dark] .badge-destination,[data-theme=dark] .badge-2{background:#3d325a;color:#d4c2fc}[data-theme=dark] .badge-delivered,[data-theme=dark] .badge-3,[data-theme=dark] .payment-paid,[data-theme=dark] .driver-role{background:#23453c;color:#a8e7cd}[data-theme=dark] .payment-pending{background:#4a3928;color:#f5d5a2}
[data-theme=dark] .check-field,[data-theme=dark] .payment-warning,[data-theme=dark] .inline-message:not(.success){background:#462a35;border-color:#855263;color:#ffd2dd}[data-theme=dark] .check-field small{color:#e9b8c8}[data-theme=dark] .notice-banner,[data-theme=dark] .dashboard-notice{background:#383521;border-color:#645f3a;color:#eadba8}[data-theme=dark] .command-footer{background:#152331;color:#b1c5dd;border-color:#35495f}[data-theme=dark] .command-result:hover{background:#2b4055}[data-theme=dark] .command-result strong,[data-theme=dark] .command-search input{color:#e3edfa}[data-theme=dark] .command-result small{color:#b5c8de}[data-theme=dark] .toast{background:#243448;border-color:#4c627a;color:#e0ecfa}[data-theme=dark] .toast strong{color:#f3f7fc}[data-theme=dark] .toast p{color:#c0d2e8}[data-theme=dark] .chart-tooltip{background:#172c40;border-color:#506b85;color:#e1effb}
[data-theme=dark] #overview-chart svg text,[data-theme=dark] #finance-chart svg text{fill:#aec3db}[data-theme=dark] #overview-chart line[stroke="#edf0f4"],[data-theme=dark] #finance-chart line[stroke="#edf0f4"]{stroke:#34475c}[data-theme=dark] #status-chart circle[stroke="#f0f3f7"]{stroke:#314358}
/* Existing login uses Tailwind utilities. */
[data-theme=dark] body.login-page .bg-white{background:#192735;border-color:#b54352;color:#dbe7f3}[data-theme=dark] body.login-page .text-gray-700,[data-theme=dark] body.login-page .text-gray-800,[data-theme=dark] body.login-page .text-brand-dark{color:#e3edf8}[data-theme=dark] body.login-page .text-gray-500,[data-theme=dark] body.login-page .text-gray-400{color:#a9bed1}[data-theme=dark] body.login-page .border-gray-100,[data-theme=dark] body.login-page .border-gray-300{border-color:#4b6279}[data-theme=dark] body.login-page .bg-red-50{background:#442831;color:#ffb9c4}
.team-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--border);margin-top:16px;padding-top:13px}.team-actions .btn{font-size:10px}.team-actions .delete-user{color:#b83f4b}[data-theme=dark] .team-actions .delete-user{color:#ffbdc9}.delete-user-summary{border:1px solid var(--border);padding:14px;border-radius:9px;margin-bottom:16px;overflow-wrap:anywhere}.delete-user-summary strong{display:block}.delete-user-summary small{display:block;color:var(--muted);margin-top:4px}.delete-user-note{font-size:11px;line-height:1.8;margin-bottom:16px;color:var(--text)}
@media(max-width:760px){.site-header .login-copy{display:none}.site-header .login-link{padding:9px 10px}.site-header .login-link>i{display:inline-block}.header-actions{gap:10px}.theme-toggle{height:35px;width:35px}.topbar-right{gap:9px}.login-theme{top:16px;right:16px}}
@media print{[data-theme-toggle]{display:none!important}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

[data-theme=dark] .stat-number,[data-theme=dark] .stat-amount,[data-theme=dark] .finance-stat>strong,[data-theme=dark] .finance-stat h3{color:#edf4fc}[data-theme=dark] .stat-featured{background:linear-gradient(130deg,#2e4356,#263141);border-color:#597086}[data-theme=dark] .stat-top,[data-theme=dark] .stat-bottom,[data-theme=dark] .stat-foot{color:#b9c9db}[data-theme=dark] .finance-stat,[data-theme=dark] .team-banner,[data-theme=dark] .wizard-steps,[data-theme=dark] .route-fields,[data-theme=dark] .review-banner,[data-theme=dark] .modal-header,[data-theme=dark] .modal-footer{background:#1d2e40;border-color:#3d536a;color:#c8daee}[data-theme=dark] .team-banner p{color:#bed0e6}[data-theme=dark] .segmented,[data-theme=dark] .subtle-pill,[data-theme=dark] .key-button,[data-theme=dark] .preset-button{background:#23374a;border-color:#4d647d;color:#bfcee3}[data-theme=dark] .segmented button{color:#c1d0e2}[data-theme=dark] .segmented button.selected,[data-theme=dark] .preset-button.selected{background:#3e334a;border-color:#9c637f;color:#ffd2e4}[data-theme=dark] .guides-tabs button{color:#b8cbe0}[data-theme=dark] .guides-tabs button.active{color:#ffb0ba}[data-theme=dark] .guides-tabs button>span{background:#294158;color:#c9dcf3}[data-theme=dark] .notice{background:#373522;border-color:#736e47;color:#f5e6b4}[data-theme=dark] .notice button{color:#e7d299}[data-theme=dark] .status-0{background:#4a3e28;color:#f5daa9}[data-theme=dark] .status-1{background:#263e5f;color:#b8d5ff}[data-theme=dark] .status-2{background:#40345e;color:#d5c1ff}[data-theme=dark] .status-3{background:#224b3f;color:#a6efd2}[data-theme=dark] .status-unknown{background:#4b333a;color:#f1c3ce}[data-theme=dark] .activity-marker{background:#2d3e53;border-color:#47607b;color:#d2e1f5}[data-theme=dark] .activity-marker.delivery{background:#2d4b41;color:#b6e3cf}[data-theme=dark] .session-screen{background:#101b28;color:#d6e5f7}[data-theme=dark] .session-screen h2{color:#f1f6fd}[data-theme=dark] .skeleton{background:linear-gradient(90deg,#1c2a3a 25%,#30465c 50%,#1c2a3a 75%);background-size:200% 100%}[data-theme=dark] .field>input:focus,[data-theme=dark] .field>textarea:focus,[data-theme=dark] .field>select:focus{background:#15283b;color:#f1f7fe;border-color:#df7889}[data-theme=dark] .toast-stack .toast,[data-theme=dark] .toast-icon{background:#243a50;color:#d7e6f7}[data-theme=dark] .command-result>span:first-child{background:#273e56;border-color:#536c88;color:#c0d8f2}

[data-theme=dark] .chart-total{color:#edf5ff}[data-theme=dark] .chart-comparison,[data-theme=dark] .chart-legend,[data-theme=dark] .chart-footer{color:#b6c9dd}[data-theme=dark] .chart-footer{border-color:#40546b}[data-theme=dark] .status-legend button{color:#bbcee3}[data-theme=dark] .status-legend .legend-count{color:#e2edfa}[data-theme=dark] .status-legend .legend-percentage,[data-theme=dark] .donut-center span{color:#afc3d9}[data-theme=dark] .team-card .role-pill{background:#4c3240;color:#ffc6d5}[data-theme=dark] .team-card .role-pill.driver-role{background:#294c47;color:#b7edda}[data-theme=dark] .team-email{border-color:#41576f}[data-theme=dark] .sidebar-card p{color:#b5c3d1}[data-theme=dark] .stat-icon{background:#2c425b;color:#b5d2f4}[data-theme=dark] .stat-icon.icon-amber{background:#4a3d2d;color:#ffdda9}[data-theme=dark] .stat-icon.icon-teal{background:#28493e;color:#b8efd6}[data-theme=dark] .stat-featured .stat-icon{background:#463c4b;color:#e1b3d2}[data-theme=dark] body.login-page .text-brand-red{color:#ff9da9}[data-theme=dark] body.login-page .bg-brand-red{background:#c33746}
