:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#10243d;background:#eef3f8;--navy:#071f38;--blue:#0d67d6;--cyan:#09a8c7;--green:#15946c;--amber:#e49a20;--red:#d84949}*{box-sizing:border-box}body{margin:0;background:#eef3f8}button,input,select,textarea{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#071f38,#0a2d4c);color:white;padding:24px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 28px}.brand-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#16b8d1,#1871df);font-weight:900;font-size:21px}.brand b{display:block}.brand small{color:#8fb1cf;letter-spacing:1.5px}.nav{display:grid;gap:4px}.nav button{border:0;background:transparent;color:#b9cde0;text-align:left;padding:12px 14px;border-radius:9px;cursor:pointer}.nav button:hover,.nav button.active{background:#173d5f;color:white}.sidebar-foot{margin-top:auto;padding:14px;border:1px solid #274c6c;border-radius:10px;color:#9eb9d0;font-size:12px}.main{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid #dce5ef;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.topbar h1{font-size:22px;margin:0}.topbar span{font-size:12px;color:#65809a}.top-actions{display:flex;gap:8px}.btn{border:0;border-radius:9px;padding:10px 14px;font-weight:700;font-size:12px;cursor:pointer}.btn-primary{background:#1269dc;color:#fff}.btn-secondary{background:#e8f1fc;color:#175aab}.btn-danger{background:#ffe7e7;color:#a92525}.content{padding:26px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric{border-radius:14px;padding:18px;color:white;box-shadow:0 8px 22px #173b5e1c}.metric:nth-child(4n+1){background:linear-gradient(135deg,#155da7,#123e77)}.metric:nth-child(4n+2){background:linear-gradient(135deg,#108c80,#086657)}.metric:nth-child(4n+3){background:linear-gradient(135deg,#7553bf,#503590)}.metric:nth-child(4n){background:linear-gradient(135deg,#cb8121,#92570f)}.metric span{font-size:11px;color:#d9ebff}.metric strong{display:block;font-size:28px;margin-top:8px}.metric small{display:block;color:#d9ebff;margin-top:4px}.grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.card{background:white;border:1px solid #dce5ef;border-radius:14px;padding:20px;margin-bottom:18px;box-shadow:0 5px 18px #173b5e0b}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.card h2{font-size:16px;margin:0}.muted{color:#71869d;font-size:12px}.table-wrap{overflow:auto;border:1px solid #e0e8f1;border-radius:10px}.table{width:100%;border-collapse:collapse;font-size:12px;min-width:800px}.table th{text-align:left;padding:11px;background:#f4f7fb;color:#60768d;font-size:10px;text-transform:uppercase;letter-spacing:.5px;position:sticky;top:0}.table td{padding:12px 11px;border-top:1px solid #e8eef5;vertical-align:top}.table b{display:block}.badge{display:inline-flex;padding:5px 8px;border-radius:20px;background:#e6f0ff;color:#195fb7;font-weight:700;font-size:10px}.badge.Completed,.badge.Active{background:#dcf6eb;color:#0c744f}.badge.Cancelled,.badge.Open{background:#ffe5e5;color:#aa2c2c}.badge.Started,.badge.Boarding,.badge.In.Transit{background:#fff0d7;color:#95600e}.form-row{display:flex;gap:10px;flex-wrap:wrap}.form-row input,.form-row select,.field{border:1px solid #cad8e6;border-radius:8px;padding:10px 11px;background:#fff;color:#183650}.form-row input,.form-row select{min-width:165px}.empty{padding:28px;text-align:center;color:#71869d}.stop-list{display:grid;gap:8px}.stop{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:9px;border:1px solid #e2eaf2;border-radius:9px}.stop i{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e4effd;color:#1762bd;font-style:normal;font-weight:800;font-size:11px}.page{display:none}.page.active{display:block}.mobile-shell{max-width:720px;margin:auto;min-height:100vh;padding:18px}.mobile-head{background:linear-gradient(135deg,#092b4b,#0e639a);color:#fff;border-radius:16px;padding:20px;margin-bottom:15px}.mobile-head h1{margin:5px 0}.trip-card{background:#fff;border:1px solid #dbe5ef;border-radius:15px;padding:18px;margin-bottom:14px}.trip-card h2{font-size:17px;margin:0 0 5px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.passenger{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 0;border-top:1px solid #e7edf4}.otp{font-size:21px;font-weight:900;letter-spacing:4px;color:#0d62bd}.sos{width:100%;background:#ce3232;color:white;border:0;padding:13px;border-radius:10px;font-weight:800}.map-link{color:#0d67d6;text-decoration:none;font-weight:700}.toast{position:fixed;right:22px;bottom:22px;background:#092d4c;color:white;padding:12px 16px;border-radius:9px;opacity:0;transform:translateY(8px);transition:.2s;z-index:30}.toast.show{opacity:1;transform:none}@media(max-width:1050px){.metrics{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.shell{grid-template-columns:82px 1fr}.sidebar{padding:20px 10px}.brand div:last-child,.nav button span,.sidebar-foot{display:none}.brand{padding-left:10px}.nav button{text-align:center}}@media(max-width:650px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;display:block}.brand{padding-bottom:12px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.main{width:100%}.topbar{padding:0 16px}.content{padding:15px}.metrics{grid-template-columns:1fr 1fr}.metric{padding:14px}.top-actions{display:none}.form-row{display:grid}.form-row input,.form-row select{width:100%}}
.route-guard-detail{background:#fff7df!important;border-top:2px solid #e4aa22}.route-guard-detail td{color:#17324f!important}.route-guard-detail small{display:block;color:#6c7785}.guard-route-marker{display:inline-block;border-radius:12px;background:#e7a817;color:#fff;font-weight:800;font-size:10px;padding:3px 7px;text-transform:uppercase}
.route-passenger-status{min-width:94px;font-weight:800;text-align:center}.route-passenger-status.waiting{background:#fff1a8!important;color:#725500}.route-passenger-status.boarded{background:#d9f5e6!important;color:#08734d}.route-passenger-status.deboarded{background:#dceeff!important;color:#175f9c}.route-passenger-status.no-show{background:#ffe0e0!important;color:#a42828}.route-passenger-status.by-taxi{background:transparent!important;color:#d75b5b!important}.route-passenger-status.scheduled{background:transparent!important;color:inherit}
.route-map-link{display:block;margin-top:7px;color:#0868c7;font-size:11px;font-weight:700;text-decoration:underline;white-space:nowrap}.route-map-link:hover{color:#034a91}
.reimbursement-status-editor{display:grid;gap:6px;min-width:170px}.reimbursement-status-editor select,.reimbursement-status-editor input{width:100%;min-height:36px;padding:7px 9px;border:1px solid #c6d7eb;border-radius:7px;background:#fff;color:#18334f}.reimbursement-status-editor input{min-width:210px}
.top-actions [hidden]{display:none!important}.top-actions{align-items:center}.signed-in-user{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;max-width:360px;padding:7px 12px 7px 8px;border:1px solid #c9dcf5;border-radius:13px;background:linear-gradient(135deg,#f8fbff 0%,#edf5ff 58%,#f1edff 100%);box-shadow:0 5px 16px #1c5c9c18;text-align:left;line-height:1.2}.topbar .signed-in-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#1269dc,#6d4dcc);color:#fff;font-size:16px;font-weight:900;box-shadow:0 4px 10px #315fc433}.signed-in-details{display:grid;gap:2px;min-width:0}.topbar .signed-in-company{color:#587391;font-size:10px;white-space:nowrap}.topbar .signed-in-name{color:#102f54;font-size:13px;font-weight:850;white-space:nowrap}.topbar .signed-in-role{justify-self:start;margin-top:1px;padding:2px 7px;border-radius:999px;background:#dceaff;color:#155cae;font-size:9px;font-weight:800;white-space:nowrap}
.reimbursement-approved-amount{display:flex;align-items:center;gap:6px;min-width:130px}.reimbursement-approved-amount span{font-weight:800}.reimbursement-approved-amount input{width:112px;min-height:36px;padding:7px 9px;border:1px solid #c6d7eb;border-radius:7px;background:#fff;color:#18334f}.reimbursement-approved-amount input:disabled{background:#eef3f8;color:#768aa1}
.master-filters .inactive-filter{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 12px;border:1px solid #c6d7eb;border-radius:8px;background:#f7faff;color:#173b60;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}.master-filters .inactive-filter input{width:16px!important;min-width:16px!important;height:16px;margin:0;accent-color:#1269dc;cursor:pointer}
.password-change-reminder{display:flex;align-items:center;justify-content:space-between;gap:16px;border-color:#efbf61;background:#fff7e4}.password-change-reminder>div{display:grid;gap:4px}.password-change-reminder span{color:#795b21;font-size:12px}
