.flashwrap{padding:12px 8vw}.flash{padding:12px;border-radius:10px;background:#fff3df}.login-card{max-width:480px;margin:auto;background:#fff;border:1px solid var(--line);padding:28px;border-radius:20px;box-shadow:var(--shadow)}.login-card label{display:block;margin:14px 0;font-weight:700}.demo-creds{margin-top:20px;padding:14px;background:#f6f9fc;border-radius:12px}.demo-creds strong,.demo-creds small{display:block;margin-top:6px}.full-dashboard{max-width:1450px;margin:auto}.coord-note{font-size:12px;color:var(--muted);padding:10px;background:#f7fafc;border-radius:10px}.map-admin-layout{display:grid;grid-template-columns:1.7fr .7fr;gap:18px;margin-bottom:18px}.map-panel{padding:16px}#clientMap{height:560px;border-radius:14px;overflow:hidden;border:1px solid var(--line)}.map-counter{background:#eef5ff;color:var(--blue);padding:8px 12px;border-radius:10px;font-size:12px}.map-counter strong{font-size:18px}.map-legend-v5{display:flex;gap:16px;margin-top:12px;font-size:12px;color:var(--muted)}.olr-marker{width:26px;height:26px;border-radius:50%;border:4px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.25)}.olr-marker.selected{transform:scale(1.35);box-shadow:0 0 0 5px rgba(23,104,229,.23)}.selection-panel{height:max-content;position:sticky;top:18px}.selected-clients{max-height:430px;overflow:auto;margin:12px 0}.selected-client-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line)}.selected-client-row strong,.selected-client-row span{display:block}.selected-client-row span{font-size:11px;color:var(--muted)}.remove-selected{border:0;background:#f2f5f8;width:28px;height:28px;border-radius:50%;cursor:pointer}.priority-pill{font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px}.priority-pill.week{background:#ffe9e8;color:#b83531}.priority-pill.15days{background:#fff0dc;color:#a65d06}.priority-pill.flexible{background:#e7f8f0;color:#14734c}.tour-list{margin-top:12px}.tour-row{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.driver-db-card,.tour-stop-card{margin-bottom:14px}@media(max-width:980px){.map-admin-layout{grid-template-columns:1fr}.selection-panel{position:static}#clientMap{height:460px}}
.assignment-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.assignment-panel strong,.assignment-panel span{display:block}.assignment-panel span{font-size:12px;color:var(--muted);margin-top:4px}
.assignment-panel form{display:flex;gap:10px;align-items:center}.assignment-panel select{min-width:220px}
.driver-tours-panel{margin-bottom:24px}.compact-title{margin-top:24px}.compact-title h2{font-size:28px;color:var(--navy)}
@media(max-width:760px){.assignment-panel,.assignment-panel form{flex-direction:column;align-items:stretch}.assignment-panel select{min-width:0}}

.tour-config-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.schedule-panel{display:flex;align-items:center;justify-content:space-between;gap:16px}
.schedule-panel strong,.schedule-panel span{display:block}.schedule-panel span{font-size:12px;color:var(--muted);margin-top:4px}
.schedule-panel form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.schedule-panel label{font-size:11px;color:var(--muted);font-weight:700}
.schedule-panel input{display:block;width:110px;margin-top:5px}
.stop-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eta-badge{display:inline-flex;align-items:center;background:#eaf2ff;color:#0f53bd;border:1px solid #b8d2ff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.client-message-preview{margin:16px 0;padding:14px;border-radius:12px;background:#f2fbf7;border:1px solid #b9e6d1}
.client-message-preview p{font-size:13px;color:#496477;line-height:1.55}.client-message-preview .btn{margin-top:4px}
@media(max-width:920px){.tour-config-grid{grid-template-columns:1fr}.schedule-panel{align-items:stretch;flex-direction:column}}
@media(max-width:620px){.stop-topline{align-items:flex-start;flex-direction:column}.eta-badge{white-space:normal}}

.completed-stop{opacity:.68;background:#f6fbf8;border-color:#bfe5d2}
.completed-stop .stop-number{color:#1f9d6a}
.completed-eta{background:#e7f8f0!important;color:#14734c!important;border-color:#a9dfc6!important}
.eta-updated{animation:etaPulse 1.6s ease}
@keyframes etaPulse{
  0%{box-shadow:0 0 0 0 rgba(23,104,229,.45)}
  40%{box-shadow:0 0 0 8px rgba(23,104,229,.08)}
  100%{box-shadow:0 0 0 0 rgba(23,104,229,0)}
}

.approach-panel{margin-bottom:18px;border-color:#b7d7ff;background:linear-gradient(180deg,#fbfdff,#f5f9ff)}
.approach-panel .panel-head{gap:20px}
.approach-panel .panel-head>div>span{font-size:12px;color:var(--muted)}
.approach-settings{display:flex;align-items:end;gap:8px}.approach-settings label{font-size:11px;color:var(--muted);font-weight:700}.approach-settings select{display:block;margin-top:5px}
.approach-list{margin-top:14px}.approach-item{display:grid;grid-template-columns:100px 1fr auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}
.approach-time strong,.approach-time span,.approach-client strong,.approach-client span,.approach-client small{display:block}
.approach-time strong{font-size:24px;color:var(--blue)}.approach-time span{font-size:11px;color:var(--muted)}
.approach-client span,.approach-client small{font-size:11px;color:var(--muted);margin-top:3px}.approach-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.already-notified{opacity:.62}.already-notified .approach-time strong{color:var(--green)}
@media(max-width:760px){.approach-item{grid-template-columns:1fr}.approach-actions{justify-content:flex-start}.approach-panel .panel-head{flex-direction:column;align-items:stretch}.approach-settings{align-items:stretch;flex-direction:column}}

.pricing-warning{margin:18px 0;padding:14px;background:#fff7e8;border:1px solid #f0d59d;border-radius:12px;color:#76520c;font-size:12px}
.mini-action{display:block;margin-top:6px;border:0;background:#edf4ff;color:#1768e5;border-radius:8px;padding:5px 8px;font-size:10px;font-weight:800;cursor:pointer}
.invoice-sheet{max-width:850px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:36px;box-shadow:var(--shadow)}
.invoice-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0}
.invoice-table{width:100%;border-collapse:collapse}.invoice-table td{padding:14px;border-bottom:1px solid var(--line)}.invoice-table td:last-child{text-align:right;font-weight:800}
.invoice-table .total td{font-size:20px;color:var(--navy)}.invoice-note{margin-top:28px;font-size:11px;color:var(--muted)}
@media print{.topbar,.invoice-head .btn{display:none}.invoice-sheet{box-shadow:none;border:0}}

.checkout-section{background:#f4f7fb;min-height:75vh}.checkout-card{max-width:620px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:var(--shadow)}
.checkout-total{display:flex;justify-content:space-between;align-items:center;margin:28px 0;padding:20px;background:#f4f8ff;border-radius:14px}.checkout-total strong{font-size:30px;color:var(--navy)}
.prototype-payment{padding:18px;border:1px solid #c8dbf7;border-radius:14px;background:#fbfdff}.prototype-payment p,.checkout-security{font-size:12px;color:var(--muted);line-height:1.55}
.checkout-security{margin-top:18px}.payment-success{padding:18px;border-radius:14px;background:#eaf9f1;color:#16704d;font-weight:800}.pay-link{display:inline-block;margin-top:5px;color:var(--blue);font-weight:800}

.brand-logo{width:48px;height:48px;object-fit:contain;border-radius:10px;background:#0b1f33;padding:3px}
.email-preview{white-space:pre-wrap;font-size:12px;color:var(--muted)}

.smtp-status{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.smtp-status strong,.smtp-status span{display:block}.smtp-status span{font-size:12px;margin-top:4px;color:var(--muted)}
.smtp-ok{border-color:#b9e6d1;background:#f2fbf7}.smtp-off{border-color:#f0d59d;background:#fffaf0}
.smtp-env{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.smtp-env code{font-size:10px;background:#fff;border:1px solid var(--line);padding:5px 7px;border-radius:7px}
@media(max-width:760px){.smtp-status{align-items:flex-start;flex-direction:column}.smtp-env{justify-content:flex-start}}

.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.account-grid label{display:block;font-size:12px;font-weight:700;margin:12px 0}.account-grid input,.account-grid select{margin-top:5px}
.address-card{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.address-card strong,.address-card span,.address-card small{display:block}.address-card span{font-size:12px;color:var(--muted);margin-top:4px}.default-label{color:var(--green)!important;font-weight:800;margin-top:4px}.address-actions{display:flex;gap:7px}.mini-action.danger{background:#fff0ef;color:#b33b36}.login-links{text-align:center;font-size:12px;margin-top:14px}.login-links a{color:var(--blue);font-weight:700}.demo-reset{margin-top:18px;padding:14px;background:#fff8e8;border:1px solid #edd59a;border-radius:12px;word-break:break-all;font-size:12px}
@media(max-width:780px){.account-grid{grid-template-columns:1fr}.address-card{align-items:flex-start;flex-direction:column}.address-actions{flex-wrap:wrap}}

.client-search{display:flex;gap:10px;margin-bottom:18px}.client-search input{flex:1}
.inline-action{display:inline-flex;text-decoration:none}
.client-detail-actions{display:flex;gap:8px;flex-wrap:wrap}
.client-detail-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px;margin-bottom:18px}
.info-list>div{padding:11px 0;border-bottom:1px solid var(--line)}.info-list span,.info-list strong{display:block}.info-list span{font-size:11px;color:var(--muted);margin-bottom:3px}
.notes-list{margin-top:14px}.note-card{padding:12px 0;border-top:1px solid var(--line)}.note-card p{margin:0 0 5px;white-space:pre-wrap}.note-card small{color:var(--muted)}
.compact-empty{padding:14px}
@media(max-width:820px){.client-detail-grid{grid-template-columns:1fr}.client-search{flex-direction:column}}

.form-panel{max-width:980px}.fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.vehicle-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 6px 20px rgba(16,42,67,.04)}.vehicle-card:hover{border-color:#b7d1f7;box-shadow:var(--shadow)}.vehicle-icon{font-size:32px}.vehicle-card strong,.vehicle-card span,.vehicle-card small{display:block}.vehicle-card span,.vehicle-card small{color:var(--muted);font-size:11px;margin-top:3px}.vehicle-meta{text-align:right}.vehicle-meta .badge{display:inline-flex;margin-bottom:6px}
@media(max-width:1050px){.fleet-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.fleet-grid{grid-template-columns:1fr}.vehicle-card{grid-template-columns:auto 1fr}.vehicle-meta{grid-column:1/-1;text-align:left}}

.tours-public{background:#f7faff;min-height:70vh}.public-tour-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.public-tour-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 8px 24px rgba(16,42,67,.05)}
.public-tour-card h3{color:var(--navy);margin:15px 0 8px}.tour-route{display:flex;align-items:center;gap:10px;color:var(--blue);font-weight:900}.tour-route b{color:#9bb0c4}
.tour-public-date strong,.tour-public-date span{display:inline-block}.tour-public-date{color:var(--navy);margin-bottom:8px}.deadline{font-size:11px;color:var(--orange)!important;font-weight:800}
.tour-capacity{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.tour-capacity>div{background:#f7fafc;border-radius:10px;padding:10px}.tour-capacity span,.tour-capacity strong{display:block}.tour-capacity span{font-size:10px;color:var(--muted)}.tour-capacity strong{font-size:13px;color:var(--navy);margin-top:4px}.tour-capacity .full{color:var(--red)}
.disabled-btn{opacity:.55;cursor:not-allowed}.selected-public-tour{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px;padding:16px 18px;background:#edf5ff;border:1px solid #bdd5f8;border-radius:14px}.selected-public-tour strong,.selected-public-tour span{display:block}.selected-public-tour span{font-size:12px;color:var(--muted);margin-top:3px}.selected-public-tour a{color:var(--blue);font-weight:800;font-size:12px}
.public-tour-settings{margin-bottom:18px}.public-tour-settings .panel-head>div>span{font-size:12px;color:var(--muted)}.public-tour-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.public-tour-form label{font-size:11px;font-weight:700;color:var(--muted)}.public-tour-form input,.public-tour-form select,.public-tour-form textarea{margin-top:5px}.tour-capacity-admin{display:flex;gap:15px;flex-wrap:wrap;padding:12px;background:#f7fafc;border-radius:10px;font-size:12px}
@media(max-width:980px){.public-tour-grid{grid-template-columns:1fr 1fr}.public-tour-form{grid-template-columns:1fr 1fr}}@media(max-width:650px){.public-tour-grid{grid-template-columns:1fr}.public-tour-form{grid-template-columns:1fr}.tour-capacity{grid-template-columns:1fr}.selected-public-tour{align-items:flex-start;flex-direction:column}}

.waitlist-btn{border-color:#f0c36c;background:#fff9ec;color:#9a6200}
.waitlist-panel{margin-bottom:18px;border-color:#efd79e;background:#fffdf7}
.waitlist-list{margin-top:12px}.waitlist-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line)}
.waitlist-row strong,.waitlist-row span{display:block}.waitlist-row span{font-size:11px;color:var(--muted);margin-top:3px}
@media(max-width:650px){.waitlist-row{align-items:flex-start;flex-direction:column}}

.booking-photos{display:flex;gap:10px;flex-wrap:wrap}.booking-photo-card{display:flex;flex-direction:column;gap:5px;width:145px}.booking-photo-card img{width:145px;height:100px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.booking-photo-card span{font-size:10px;color:var(--muted)}
.photo-detail-row td{background:#fbfdff}.inline-photo-upload{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-photo-upload input{max-width:260px}
.driver-photo-strip{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.driver-photo-thumb{display:block;width:120px}.driver-photo-thumb img{width:120px;height:85px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.driver-photo-thumb span{display:block;font-size:10px;color:var(--muted);margin-top:3px}

.communication-panel{margin-bottom:18px}.communication-panel .panel-head span{font-size:12px;color:var(--muted)}
.preference-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}
.preference-row strong,.preference-row span{display:block}.preference-row span{font-size:11px;color:var(--muted);margin-top:3px}.preference-row input{width:auto;transform:scale(1.15)}
.hash-code{font-size:10px;color:#53687b}

.site-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px 8vw;background:#0d2035;color:#d8e4ef;margin-top:40px}.site-footer strong,.site-footer span{display:block}.site-footer span{font-size:11px;color:#9fb0bf;margin-top:4px}.site-footer nav{display:flex;gap:16px;flex-wrap:wrap}.site-footer a{color:#d8e4ef;font-size:12px}
.legal-page{background:#f7f9fc}.legal-card,.rights-card{max-width:900px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:var(--shadow)}.legal-card h1,.rights-card h1{color:var(--navy)}.legal-card h2{margin-top:28px;color:var(--navy);font-size:20px}.legal-card p,.rights-card p{color:var(--muted);line-height:1.7}.legal-warning{padding:13px;background:#fff8e8;border:1px solid #edd59a;border-radius:10px;color:#76520c;font-size:12px}
.rights-form{display:grid;gap:14px;margin-top:24px}.rights-form label{font-size:12px;font-weight:700}.rights-form input,.rights-form select,.rights-form textarea{margin-top:5px}.data-export-box{padding:16px;background:#f3f8ff;border:1px solid #c4d9f5;border-radius:12px;margin:22px 0}.data-export-box strong{color:var(--navy)}.data-export-box p{font-size:12px}
.status-inline-form{display:flex;gap:6px;align-items:center}.status-inline-form select{min-width:110px}
@media(max-width:720px){.site-footer{align-items:flex-start;flex-direction:column}.status-inline-form{align-items:stretch;flex-direction:column}}

.tour-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tour-head-actions form{margin:0}
.tour-sync-note{display:flex;gap:12px;align-items:flex-start;margin:0 0 18px;padding:13px 15px;border-radius:12px;background:#eef7ff;border:1px solid #bfd8f7}.tour-sync-note strong,.tour-sync-note span{display:block}.tour-sync-note strong{color:var(--blue);white-space:nowrap}.tour-sync-note span{font-size:12px;color:var(--muted);line-height:1.5}
@media(max-width:650px){.tour-sync-note{flex-direction:column}.tour-head-actions{align-items:stretch;flex-direction:column}.tour-head-actions .btn{width:100%}}

.whatsapp-info{margin-bottom:18px;background:#f1fff7;border-color:#b8e6cc}.whatsapp-info strong{color:#128c5e}.whatsapp-info p{font-size:12px;color:var(--muted);margin:5px 0 0}.message-cell{min-width:280px;max-width:480px;white-space:normal;line-height:1.45}.whatsapp-open{background:#eafbf1;color:#128c5e}

.manual-stop-panel{margin-bottom:18px;border-color:#c9d9ef;background:#fbfdff}.manual-stop-panel .panel-head span{font-size:12px;color:var(--muted)}
.manual-stop-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.manual-stop-form label{font-size:11px;font-weight:700;color:var(--muted)}.manual-stop-form input,.manual-stop-form select,.manual-stop-form textarea{margin-top:5px}.manual-list-panel{margin-bottom:18px}.manual-stop-card{border-left:4px solid #5f7f9f}.manual-stop-card .stop-number{background:#edf3f8;color:#38526a}
@media(max-width:700px){.manual-stop-form{grid-template-columns:1fr}}

.driver-tour-link{padding:16px;border-radius:12px;background:#f8fbff;margin-bottom:7px}.driver-tour-link:hover{background:#edf5ff}
@media(max-width:650px){
  .manual-stop-panel{padding:14px}.manual-stop-form .btn{width:100%}
  .driver-tour-link{display:flex;align-items:flex-start;flex-direction:column;gap:4px}
}

.live-position-panel{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;background:#f3fbf7;border-color:#bce2ce}.live-position-panel h3{margin:4px 0}.live-position-panel p{max-width:720px;font-size:12px;color:var(--muted);margin:4px 0}.gps-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gps-status{font-size:11px;font-weight:800;color:#4c6b5a;white-space:nowrap}
@media(max-width:760px){.live-position-panel{align-items:flex-start;flex-direction:column}.gps-actions{width:100%}.gps-actions .btn{flex:1}}

.olr-truck-marker{width:38px;height:38px;border-radius:50%;background:#0d2035;border:3px solid #fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.3);font-size:19px}.olr-truck-marker span{transform:translateY(-1px)}
.truck-legend-icon{font-style:normal;margin-right:4px}.truck-popup{line-height:1.5}.truck-popup strong{color:#0d2035}

.inbox-stats{margin-bottom:18px}.inbox-connector-note{margin-bottom:18px;background:#f5f9ff;border-color:#c8d9ef}.inbox-connector-note p{font-size:12px;color:var(--muted);margin:5px 0 0}.urgent-mail-row{background:#fff8f7}.bookings-table tbody tr{cursor:pointer}.inbox-message-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.mail-meta{font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:10px}.mail-body{white-space:pre-wrap;line-height:1.65;padding-top:18px}.reply-draft{margin-top:14px;padding:13px;background:#f6f8fb;border-radius:10px}.reply-draft p{white-space:pre-wrap}.small-muted{font-size:12px;color:var(--muted);line-height:1.5}
@media(max-width:800px){.inbox-message-layout{grid-template-columns:1fr}}

.ops-stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.ops-stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 5px 18px rgba(16,42,67,.04)}.ops-stat span,.ops-stat strong{display:block}.ops-stat span{font-size:11px;color:var(--muted)}.ops-stat strong{font-size:28px;color:var(--navy);margin-top:5px}.ops-stat.urgent{border-color:#efc2be;background:#fff9f8}.ops-stat.urgent strong{color:#c44840}
.ops-section{margin-bottom:18px}.ops-list{display:flex;flex-direction:column}.ops-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid var(--line)}.ops-row strong,.ops-row span{display:block}.ops-row span{font-size:11px;color:var(--muted);margin-top:3px}.ops-list.compact .ops-row{padding:10px 0}
.ops-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ops-three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ops-two-cols .panel,.ops-three-cols .panel{margin-bottom:18px}
@media(max-width:1100px){.ops-stats-grid{grid-template-columns:repeat(3,1fr)}.ops-three-cols{grid-template-columns:1fr}.ops-two-cols{grid-template-columns:1fr}}@media(max-width:620px){.ops-stats-grid{grid-template-columns:repeat(2,1fr)}.ops-row{align-items:flex-start;flex-direction:column}}

.incident-panel{margin-bottom:18px;background:#fffdf8;border-color:#e9d9ad}.incident-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.incident-form label{font-size:11px;font-weight:700}.incident-feedback{font-size:11px;color:#1f7a4f;margin-left:10px}.incident-history{margin-bottom:18px}.incident-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line)}.incident-row strong,.incident-row span{display:block}.incident-row span{font-size:11px;color:var(--muted)}.incident-row p,.incident-ops-row p{font-size:12px;margin:5px 0;color:var(--muted)}.incident-urgent{background:#fff5f3;border-left:3px solid #d84a45;padding-left:10px}.incident-ops-row>div:last-child{display:flex;gap:8px;align-items:center}
@media(max-width:650px){.incident-form{grid-template-columns:1fr}.incident-ops-row>div:last-child{width:100%;justify-content:space-between}}

.checklist-panel{margin-bottom:18px;background:#f8fbff;border-color:#c9d9eb}.tour-checklist-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tour-checklist-form label{font-size:11px;font-weight:700}.check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px}.check-grid label{display:flex;align-items:center;gap:7px;font-weight:600}.check-grid input{width:auto;margin:0}.checklist-feedback{font-size:11px;color:#1f7a4f;margin-left:10px}.check-history{margin-top:15px;border-top:1px solid var(--line)}.check-history>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.check-history span{font-size:11px;color:var(--muted)}
@media(max-width:700px){.tour-checklist-form{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr}.check-history>div{align-items:flex-start;flex-direction:column}}

.fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.vehicle-card{display:flex;gap:15px;align-items:center}.vehicle-icon{width:54px;height:54px;border-radius:14px;background:#edf4fb;display:flex;align-items:center;justify-content:center;font-size:26px}.vehicle-card h3{margin:0;color:var(--navy)}.vehicle-card p,.vehicle-card small{font-size:11px;color:var(--muted)}.vehicle-km{margin-top:8px}.vehicle-km strong,.vehicle-km span{display:block}.vehicle-km strong{font-size:23px;color:var(--navy)}.vehicle-km span{font-size:10px;color:var(--muted)}.maintenance-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.maintenance-form label{font-size:11px;font-weight:700}.maintenance-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--line)}.maintenance-row strong,.maintenance-row span,.maintenance-row small{display:block}.maintenance-row span,.maintenance-row small{font-size:11px;color:var(--muted);margin-top:3px}.maintenance-done{opacity:.62}
@media(max-width:900px){.fleet-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.fleet-grid{grid-template-columns:1fr}.maintenance-form{grid-template-columns:1fr}}

.expense-panel{margin-bottom:18px;background:#fbfcf8;border-color:#dce4c8}.tour-expense-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tour-expense-form label{font-size:11px;font-weight:700}.expense-feedback{font-size:11px;color:#1f7a4f;margin-left:10px}.expense-history{margin-top:14px;border-top:1px solid var(--line)}.expense-history>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px}.vehicle-costs{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.vehicle-costs span{display:block;font-size:10px;color:var(--muted);margin-top:3px}.vehicle-costs strong{color:var(--navy)}
@media(max-width:760px){.tour-expense-form{grid-template-columns:1fr 1fr}}@media(max-width:520px){.tour-expense-form{grid-template-columns:1fr}}

.financial-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:18px}.financial-summary>div,.profit-stats>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.financial-summary span,.financial-summary strong,.profit-stats span,.profit-stats strong{display:block}.financial-summary span,.profit-stats span{font-size:10px;color:var(--muted)}.financial-summary strong,.profit-stats strong{font-size:19px;color:var(--navy);margin-top:4px}.financial-summary .negative,.profit-stats .negative{background:#fff6f5;border-color:#efc2be}.financial-summary .negative strong,.profit-stats .negative strong,.negative-text{color:#c44840!important}.positive-text{color:#18724d!important}
.profit-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}
@media(max-width:1000px){.financial-summary{grid-template-columns:repeat(3,1fr)}.profit-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.financial-summary,.profit-stats{grid-template-columns:1fr 1fr}}

.task-center{background:#fcfbff;border-color:#ddd4ef}.admin-task-form{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:14px}.admin-task-form label{font-size:11px;font-weight:700}.admin-task-form .wide{grid-column:1/3}.task-feedback{font-size:11px;color:#1f7a4f;margin-left:8px}.task-list p{font-size:12px;color:var(--muted);margin:5px 0}.ops-stats-grid{grid-template-columns:repeat(7,1fr)}
@media(max-width:1100px){.ops-stats-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:720px){.admin-task-form{grid-template-columns:1fr}.admin-task-form .wide{grid-column:auto}.ops-stats-grid{grid-template-columns:repeat(2,1fr)}}

.notification-settings{max-width:820px}.notification-choice{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}.notification-choice strong,.notification-choice span{display:block}.notification-choice strong{color:var(--navy)}.notification-choice span{font-size:11px;color:var(--muted);margin-top:4px;max-width:600px}.notification-save{padding-top:18px}.switch{position:relative;flex:0 0 46px;width:46px;height:26px}.switch input{opacity:0;width:0;height:0}.switch i{position:absolute;inset:0;background:#c9d1d9;border-radius:20px;cursor:pointer;transition:.2s}.switch i:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 4px rgba(0,0,0,.2)}.switch input:checked+i{background:#1f8a5b}.switch input:checked+i:before{transform:translateX(20px)}.privacy-note{max-width:820px;margin-top:16px;background:#fafbfd}.privacy-note p{font-size:11px;color:var(--muted);line-height:1.55}

.support-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-form label{font-size:11px;font-weight:700}.support-ticket{padding:14px 0;border-top:1px solid var(--line)}.support-ticket>div:first-child{display:flex;justify-content:space-between;gap:10px}.support-ticket strong,.support-ticket span{display:block}.support-ticket span{font-size:10px;color:var(--muted)}.support-ticket>p,.support-admin-card>p{font-size:12px;line-height:1.55;color:var(--muted)}.support-reply{background:#f3f8f5;border-left:3px solid #1f8a5b;padding:10px;margin-top:10px}.support-admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.support-admin-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.support-admin-card textarea{margin-bottom:8px}.ops-stats-grid{grid-template-columns:repeat(8,1fr)}
@media(max-width:1100px){.ops-stats-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:800px){.support-admin-grid{grid-template-columns:1fr}}@media(max-width:600px){.support-form{grid-template-columns:1fr}.support-form .wide{grid-column:auto}.ops-stats-grid{grid-template-columns:repeat(2,1fr)}}

.address-book-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.address-book-form label{font-size:11px;font-weight:700}.default-address-check{display:flex;align-items:center;gap:8px}.default-address-check input{width:auto}.saved-address{padding:14px;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff}.saved-address.default-address{border-color:#8fc8aa;background:#f7fcf9}.saved-address-head>div{display:flex;align-items:center;gap:8px}.saved-address p{font-size:12px;color:var(--navy);line-height:1.5}.saved-address small{font-size:10px;color:var(--muted)}.address-instructions{margin-top:9px;padding:8px 10px;border-radius:8px;background:#f4f6f8;font-size:11px;color:var(--muted)}.address-actions{display:flex;gap:7px;margin-top:10px}.mini-action.danger{color:#b7443e;border-color:#e8c1be}
@media(max-width:620px){.address-book-form{grid-template-columns:1fr}.address-book-form .wide{grid-column:auto}}

.saved-address-picker{padding:12px 14px;border:1px solid #c9d9eb;border-radius:12px;background:#f7fbff;margin-bottom:10px}.saved-address-picker label{display:block;font-size:11px;font-weight:700}.saved-address-picker select{margin-top:5px}.saved-address-picker small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}

.saved-address-picker{padding:14px;border:1px solid #bdd3ee;background:#f7fbff;border-radius:12px}.saved-address-picker label{display:block;font-size:11px;font-weight:700}.saved-address-picker select{margin-top:5px}.saved-address-picker small{display:block;margin-top:6px;font-size:10px;color:var(--muted);line-height:1.45}.saved-address-applied{display:block;margin-top:7px;font-size:11px;font-weight:800;color:#1f7a4f}

.repeat-booking-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin-bottom:14px;border:1px solid #b9d9c7;background:#f4fbf7;border-radius:12px}.repeat-booking-banner strong,.repeat-booking-banner span{display:block}.repeat-booking-banner strong{color:#185d3f}.repeat-booking-banner span{font-size:11px;color:var(--muted);margin-top:3px}.rebook-link{display:inline-block;margin-top:5px;color:#1f6fb2;font-weight:800}

.booking-ref-link{color:var(--navy);text-decoration:none}.booking-ref-link:hover{color:var(--blue)}.booking-detail-actions{display:flex;gap:8px;flex-wrap:wrap}.booking-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.booking-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.booking-info-grid>div{padding:10px 0;border-bottom:1px solid var(--line)}.booking-info-grid span,.booking-info-grid strong{display:block}.booking-info-grid span{font-size:10px;color:var(--muted)}.booking-info-grid strong{font-size:13px;color:var(--navy);margin-top:3px}.booking-detail-note{margin-top:15px;padding:12px;background:#f7f9fb;border-radius:10px}.booking-detail-note p{font-size:12px;color:var(--muted);white-space:pre-wrap}.booking-timeline{position:relative}.timeline-step{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:10px 0;opacity:.55}.timeline-step.done{opacity:1}.timeline-dot{width:28px;height:28px;border-radius:50%;background:#e4e9ee;color:#657482;display:flex;align-items:center;justify-content:center;font-weight:900}.timeline-step.done .timeline-dot{background:#def4e8;color:#18724d}.timeline-step strong,.timeline-step span,.timeline-step small{display:block}.timeline-step span,.timeline-step small{font-size:11px;color:var(--muted);margin-top:2px}.booking-photo-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.booking-photo-gallery a{display:block}.booking-photo-gallery img{width:100%;height:140px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.booking-photo-gallery span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.booking-support-item{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid var(--line)}.booking-support-item strong,.booking-support-item span{display:block}.booking-support-item>div span{font-size:10px;color:var(--muted)}
@media(max-width:850px){.booking-detail-grid{grid-template-columns:1fr}.booking-photo-gallery{grid-template-columns:1fr 1fr}}@media(max-width:560px){.booking-info-grid{grid-template-columns:1fr}.booking-photo-gallery{grid-template-columns:1fr}.booking-detail-actions{width:100%}.booking-detail-actions .btn{flex:1}}

.pickup-proof-box{margin:12px 0;padding:12px;border:1px solid #bdd8c8;border-radius:10px;background:#f7fcf9}.pickup-proof-box summary{cursor:pointer;font-weight:800;color:#185d3f}.pickup-proof-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.pickup-proof-form label{font-size:11px;font-weight:700}.signature-wrap{grid-column:1/-1}.signature-wrap>span{display:block;font-size:11px;font-weight:700;margin-bottom:5px}.signature-canvas{width:100%;height:150px;background:#fff;border:1px dashed #9fb1c1;border-radius:8px;touch-action:none}.signature-actions{margin-top:5px}.pickup-proof-feedback{font-size:11px;color:#1f7a4f;margin-left:8px}.pickup-proof-confirmed{margin:12px 0;padding:10px 12px;border-left:4px solid #1f8a5b;background:#f4fbf7;border-radius:8px}.pickup-proof-confirmed strong,.pickup-proof-confirmed span,.pickup-proof-confirmed a{display:block}.pickup-proof-confirmed span,.pickup-proof-confirmed a{font-size:11px;margin-top:3px}.pickup-proof-confirmed a{color:#1f6fb2}.pickup-proof-client{margin-bottom:18px}.pickup-proof-client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pickup-proof-client-grid span,.pickup-proof-client-grid strong{display:block}.pickup-proof-client-grid span{font-size:10px;color:var(--muted)}.pickup-proof-client-grid strong{font-size:13px;color:var(--navy);margin-top:3px}
@media(max-width:650px){.pickup-proof-form{grid-template-columns:1fr}.pickup-proof-client-grid{grid-template-columns:1fr}}

.cash-collect-box{margin:12px 0;padding:12px;border:1px solid #e1d3a7;border-radius:10px;background:#fffaf0}.cash-collect-box summary{cursor:pointer;font-weight:800;color:#755a12}.cash-collect-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.cash-collect-form label{font-size:11px;font-weight:700}.cash-feedback{font-size:11px;color:#1f7a4f;margin-left:8px}.cash-collected-box{margin:12px 0;padding:10px 12px;border-left:4px solid #1f8a5b;background:#f4fbf7;border-radius:8px}.cash-collected-box strong,.cash-collected-box span{display:block}.cash-collected-box span{font-size:11px;margin-top:3px}.client-payment-card{margin-bottom:18px}
@media(max-width:620px){.cash-collect-form{grid-template-columns:1fr}}

.transport-recommendations{padding:16px;border:1px solid #e1d3a7;background:#fffaf0;border-radius:12px}.transport-recommendations h3{margin:3px 0 8px;color:var(--navy)}.transport-recommendations p,.transport-recommendations small{font-size:11px;line-height:1.55;color:var(--muted)}.condition-check{display:flex!important;align-items:flex-start;gap:8px;margin:9px 0;font-size:11px!important}.condition-check input{width:auto;margin-top:2px}.vaccination-upload{display:block;margin-top:12px;font-size:11px;font-weight:800}.vaccination-upload span{font-weight:400;color:var(--muted)}.vaccination-upload input{margin-top:5px}.vaccination-driver-box{margin:10px 0;padding:10px 12px;border-left:4px solid #c59a32;background:#fffaf0;border-radius:8px}.vaccination-driver-box strong,.vaccination-driver-box span,.vaccination-driver-box a,.vaccination-driver-box button{margin-right:7px}.vacc-copy-ok{font-size:11px;color:#18724d;font-weight:800}

.pickup-compliance-lock{margin:10px 0;padding:11px 12px;border:1px solid #e7b8b2;border-left:4px solid #bd4b42;background:#fff7f6;border-radius:8px}.pickup-compliance-lock strong,.pickup-compliance-lock span{display:block}.pickup-compliance-lock strong{color:#9b332c}.pickup-compliance-lock span{font-size:11px;color:var(--muted);margin-top:3px}.vaccination-client-card{margin-bottom:18px}.vaccination-client-text{font-size:11px;line-height:1.55;color:var(--muted)}

.driver-departure-check{margin-bottom:16px}.departure-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.departure-check-grid>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafbfd}.departure-check-grid span,.departure-check-grid strong,.departure-check-grid small{display:block}.departure-check-grid span{font-size:10px;color:var(--muted)}.departure-check-grid strong{font-size:22px;color:var(--navy);margin:3px 0}.departure-check-grid small{font-size:10px;color:var(--muted)}.departure-check-grid .check-ok{background:#f4fbf7;border-color:#b9d9c7}.departure-check-grid .check-warning{background:#fff7f6;border-color:#e7b8b2}.departure-check-grid .check-info{background:#fffaf0;border-color:#e1d3a7}.departure-warning{margin-top:10px;padding:10px 12px;background:#fff7f6;border-left:4px solid #bd4b42;border-radius:8px;font-size:11px;color:#7c3732;line-height:1.45}
@media(max-width:650px){.departure-check-grid{grid-template-columns:1fr}}

.compliance-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.compliance-stats .ops-stat{display:block}.compliance-stats .warning{border-color:#e7b8b2;background:#fff7f6}.compliance-stats .cash{border-color:#e1d3a7;background:#fffaf0}.compliance-stats .good{border-color:#b9d9c7;background:#f4fbf7}.compliance-table-wrap{overflow-x:auto}.compliance-table{width:100%;border-collapse:collapse;min-width:900px}.compliance-table th,.compliance-table td{text-align:left;padding:11px 9px;border-bottom:1px solid var(--line);font-size:11px;vertical-align:top}.compliance-table th{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.compliance-table td strong,.compliance-table td small{display:block}.compliance-table td small{margin-top:3px;color:var(--muted)}.compliance-table tr.needs-attention{background:#fffafa}.badge.red{background:#fbe6e4;color:#9b332c}.badge.gold{background:#fff0c8;color:#755a12}
@media(max-width:800px){.compliance-stats{grid-template-columns:1fr 1fr}}

.recommendations-page{max-width:1100px;margin:auto}.recommendations-hero{padding:30px 0 18px}.recommendations-hero h1{font-size:38px;color:var(--navy);margin:4px 0 8px}.recommendations-hero p{max-width:760px;color:var(--muted);line-height:1.6}.recommendation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.recommendation-card{display:grid;grid-template-columns:42px 1fr;gap:13px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.recommendation-number{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf4fb;color:var(--blue);font-weight:900}.recommendation-card h2{margin:0;color:var(--navy);font-size:17px}.recommendation-card p{font-size:12px;color:var(--muted);line-height:1.6}.recommendation-important{margin-top:16px;padding:18px;border-left:5px solid #c59a32;background:#fffaf0;border-radius:10px}.recommendation-important strong{color:#755a12}.recommendation-important p{font-size:12px;line-height:1.6;color:#6c6248}.recommendation-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.recommendation-admin-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.recommendation-admin-card label{display:block;font-size:11px;font-weight:700;margin-top:10px}.recommendation-admin-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.admin-active-check{display:flex!important;align-items:center;gap:6px;margin:0!important}.admin-active-check input{width:auto}.conditions-page-link{margin:4px 0 10px!important}.conditions-page-link a{font-weight:800;color:#1f6fb2}
@media(max-width:760px){.recommendation-grid,.recommendation-admin-list{grid-template-columns:1fr}.recommendations-hero h1{font-size:30px}}

.vaccination-client-card{margin-bottom:18px}.vaccination-client-card .btn{margin-top:12px}

.client-compliance-summary{margin-bottom:18px}.client-compliance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.compliance-item{padding:12px;border-radius:10px;border:1px solid var(--line);background:#fafbfd}.compliance-item span,.compliance-item strong{display:block}.compliance-item span{font-size:10px;color:var(--muted)}.compliance-item strong{font-size:12px;margin-top:4px}.compliance-item.ok{background:#f4fbf7;border-color:#b9d9c7}.compliance-item.ok strong{color:#18724d}.compliance-item.pending{background:#fffaf0;border-color:#e1d3a7}.compliance-item.pending strong{color:#755a12}.client-compliance-actions{margin-top:12px}
@media(max-width:850px){.client-compliance-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.client-compliance-grid{grid-template-columns:1fr}}

.vaccination-upload-later{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.vaccination-upload-later strong,.vaccination-upload-later span{display:block}.vaccination-upload-later span{font-size:11px;color:var(--muted);margin-top:3px;max-width:560px}.vaccination-upload-later form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vaccination-upload-later input[type="file"]{max-width:260px;font-size:10px}.admin-vaccination-upload{display:flex;gap:5px;align-items:center;margin-top:5px}.admin-vaccination-upload input[type="file"]{max-width:135px;font-size:9px}
@media(max-width:700px){.vaccination-upload-later{align-items:flex-start;flex-direction:column}.vaccination-upload-later form{width:100%}.vaccination-upload-later .btn{width:100%}}

.pickup-readiness{margin:10px 0;padding:11px;border:1px solid var(--line);background:#f8fafc;border-radius:10px}.pickup-readiness-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pickup-readiness-results{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.readiness-chip,.readiness-state{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800}.readiness-chip b{font-size:10px}.ready-ok{background:#def4e8;color:#18724d}.ready-warning{background:#fff0c8;color:#755a12}.ready-block{background:#fbe6e4;color:#9b332c}.readiness-state{width:100%;border-radius:8px;justify-content:center;margin-top:3px}.readiness-placeholder,.readiness-error{font-size:10px;color:var(--muted)}

.delivery-proof-box{margin:12px 0;padding:12px;border:1px solid #b9d9c7;border-radius:10px;background:#f4fbf7}.delivery-proof-box summary{cursor:pointer;font-weight:800;color:#185d3f}.delivery-proof-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.delivery-proof-form label{font-size:11px;font-weight:700}.delivery-signature-canvas{width:100%;height:150px;background:#fff;border:1px dashed #9fb1c1;border-radius:8px;touch-action:none}.delivery-proof-feedback{font-size:11px;color:#1f7a4f;margin-left:8px}.delivery-proof-confirmed{margin:12px 0;padding:10px 12px;border-left:4px solid #1f8a5b;background:#f4fbf7;border-radius:8px}.delivery-proof-confirmed strong,.delivery-proof-confirmed span,.delivery-proof-confirmed a{display:block}.delivery-proof-confirmed span,.delivery-proof-confirmed a{font-size:11px;margin-top:3px}.delivery-proof-confirmed a{color:#1f6fb2}.delivery-proof-client{margin-bottom:18px}
@media(max-width:650px){.delivery-proof-form{grid-template-columns:1fr}}

.transport-history-page{max-width:1050px}.transport-history-summary{margin-bottom:16px}.transport-history-line{position:relative;margin:18px 0 26px}.transport-history-line:before{content:"";position:absolute;left:19px;top:22px;bottom:22px;width:2px;background:#dce5ec}.history-step{position:relative;display:grid;grid-template-columns:40px 1fr;gap:14px;padding:0 0 22px}.history-dot{position:relative;z-index:1;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;background:#eef2f6;color:#66798b;border:3px solid #fff;box-shadow:0 0 0 1px #dce5ec}.history-step.complete .history-dot{background:#def4e8;color:#18724d;box-shadow:0 0 0 1px #b9d9c7}.history-step h3{margin:2px 0 5px;color:var(--navy);font-size:15px}.history-step p{margin:0;font-size:11px;color:var(--muted);line-height:1.5}.history-date{display:block;font-size:9px;color:var(--muted);margin-bottom:2px}.history-ok{display:block;color:#18724d;font-size:10px;font-weight:800;margin-top:5px}.history-pending{display:block;color:#8b6b16;font-size:10px;font-weight:800;margin-top:5px}.history-step a{font-size:10px;color:#1f6fb2;font-weight:800}.audit-log-list>div{display:grid;grid-template-columns:130px 190px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px}.audit-log-list span,.audit-log-list small{color:var(--muted)}
@media(max-width:650px){.audit-log-list>div{grid-template-columns:1fr}.audit-log-list>div>*{display:block}}

.public-tracking-page{max-width:900px;margin:auto}.tracking-intro{padding:30px 0 16px}.tracking-intro h1{font-size:36px;color:var(--navy);margin:4px 0}.tracking-intro p{color:var(--muted);font-size:12px}.tracking-search{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.tracking-search label{font-size:11px;font-weight:800}.tracking-error{margin:14px 0;padding:12px;background:#fff7f6;border-left:4px solid #bd4b42;border-radius:8px;color:#8e3932;font-size:11px}.tracking-result-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px}.tracking-result-head h2{margin:3px 0;color:var(--navy)}.tracking-result-head p{font-size:11px;color:var(--muted)}.tracking-big-status{padding:8px 12px;border-radius:999px;font-size:11px;font-weight:900}.tracking-big-status.delivered{background:#def4e8;color:#18724d}.tracking-big-status.moving{background:#e6f1fb;color:#1f6fb2}.tracking-big-status.planned{background:#fff0c8;color:#755a12}.tracking-big-status.pending{background:#eef2f6;color:#5b6d7c}.public-tracking-timeline{margin:20px 0}.public-track-step{display:grid;grid-template-columns:38px 1fr;gap:12px;position:relative;padding-bottom:18px}.public-track-step:before{content:"";position:absolute;left:18px;top:36px;bottom:0;width:2px;background:#dce5ec}.public-track-step:last-child:before{display:none}.public-track-step b{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f6;color:#66798b;z-index:1}.public-track-step.complete b{background:#def4e8;color:#18724d}.public-track-step.current b{background:#e6f1fb;color:#1f6fb2;box-shadow:0 0 0 4px #f1f7fc}.public-track-step strong,.public-track-step span{display:block}.public-track-step strong{color:var(--navy);font-size:13px}.public-track-step span{color:var(--muted);font-size:10px;margin-top:3px}.tracking-payment{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:9px;background:#fffaf0;color:#755a12;font-size:11px}.tracking-payment.paid{background:#f4fbf7;color:#18724d}
@media(max-width:650px){.tracking-search{grid-template-columns:1fr}.tracking-result-head{align-items:flex-start;flex-direction:column}.tracking-intro h1{font-size:29px}}

.driver-manifest-body{background:#f3f6f8}.driver-manifest{max-width:760px;margin:auto;padding:16px}.manifest-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0 16px}.manifest-header h1{margin:3px 0;color:var(--navy);font-size:25px}.manifest-header p{margin:0;color:var(--muted);font-size:11px}.manifest-progress{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px}.manifest-progress strong,.manifest-progress span{display:block}.manifest-progress strong{font-size:19px;color:var(--navy)}.manifest-progress span{font-size:9px;color:var(--muted)}.manifest-progress-bar{height:7px;background:#e7edf2;border-radius:99px;overflow:hidden;margin-top:8px}.manifest-progress-bar i{display:block;height:100%;background:#1f8a5b;border-radius:99px}.manifest-stops{display:grid;gap:9px}.manifest-stop{display:grid;grid-template-columns:38px 1fr;gap:9px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px}.manifest-stop.done{opacity:.72}.manifest-stop.moving{border-color:#b8d4eb}.manifest-stop-number{width:34px;height:34px;border-radius:50%;background:#eef2f6;color:#52687a;display:flex;align-items:center;justify-content:center;font-weight:900}.manifest-stop.done .manifest-stop-number{background:#def4e8;color:#18724d}.manifest-stop-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.manifest-stop-head strong,.manifest-stop-head span{display:block}.manifest-stop-head strong{font-size:13px;color:var(--navy)}.manifest-stop-head span{font-size:9px;color:var(--muted);margin-top:2px}.manifest-address{font-size:11px;font-weight:700;margin:8px 0;color:#334e68}.manifest-flags{display:flex;gap:5px;flex-wrap:wrap}.flag{font-size:9px;font-weight:800;padding:4px 7px;border-radius:999px}.flag.ok{background:#def4e8;color:#18724d}.flag.alert{background:#fbe6e4;color:#9b332c}.flag.cash{background:#fff0c8;color:#755a12}.flag.neutral{background:#eef2f6;color:#5b6d7c}.manifest-actions{display:flex;gap:7px;margin-top:9px}.manifest-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border-radius:8px;background:#eaf2f8;color:#1f5e8c;font-size:10px;font-weight:900;text-decoration:none}.manifest-action.call{background:#def4e8;color:#18724d}
@media(max-width:520px){.driver-manifest{padding:10px}.manifest-header h1{font-size:21px}.manifest-stop{grid-template-columns:32px 1fr;padding:9px}.manifest-stop-number{width:30px;height:30px}.manifest-actions{display:grid;grid-template-columns:1fr 1fr}.manifest-action{width:100%}}

.btn-arrived{margin:10px 0;background:#e6f1fb;color:#1f6fb2;border-color:#b8d4eb}.driver-arrival-confirmed{margin:10px 0;padding:10px 12px;border-left:4px solid #1f6fb2;background:#f2f8fd;border-radius:8px}.driver-arrival-confirmed strong,.driver-arrival-confirmed span{display:block}.driver-arrival-confirmed span{font-size:10px;color:var(--muted);margin-top:2px}.manifest-action.arrived{border:0;background:#e6f1fb;color:#1f6fb2;cursor:pointer}.manifest-action.arrival-done{background:#def4e8;color:#18724d}.client-arrival-card{margin-bottom:18px}.tracking-big-status.arrived{background:#e6f1fb;color:#1f6fb2}

.client-absent-box{margin:10px 0;padding:11px;border:1px solid #e7b8b2;background:#fff7f6;border-radius:10px}.client-absent-box summary{cursor:pointer;font-weight:800;color:#9b332c}.client-absent-form{margin-top:10px}.client-absent-form label{font-size:11px;font-weight:700}.client-absent-feedback{font-size:10px;color:#18724d;margin-left:8px}.manifest-action.issue{border:0;background:#fbe6e4;color:#9b332c;cursor:pointer}.pickup-issue-client{margin-bottom:18px;background:#fffaf8}.pickup-attempt-row{padding:9px 0;border-top:1px solid var(--line)}.pickup-attempt-row strong,.pickup-attempt-row span{display:block}.pickup-attempt-row strong{font-size:11px;color:#9b332c}.pickup-attempt-row span{font-size:10px;color:var(--muted);margin-top:3px}.pickup-issues-section{border-color:#e7b8b2}.pickup-issue-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.pickup-issues-section .ops-row p{font-size:11px;color:var(--muted);margin:5px 0}

.replan-inline{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.replan-inline select{min-width:220px;max-width:320px;font-size:10px;padding:7px 8px}.pickup-issue-actions{justify-content:flex-end}
@media(max-width:720px){.replan-inline{width:100%}.replan-inline select{min-width:0;max-width:none;flex:1}.pickup-issue-actions{align-items:stretch;flex-direction:column}}

.manual-order-panel{margin-bottom:18px;background:#fbfcff;border-color:#c9d8ea}.manual-order-list{display:grid;gap:7px}.manual-order-item{display:grid;grid-template-columns:24px 30px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:grab}.manual-order-item.dragging{opacity:.45;border-style:dashed}.drag-handle{font-size:18px;color:#8a9aaa;letter-spacing:-3px}.manual-order-number{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf3f8;color:#38526a;font-weight:900;font-size:11px}.manual-order-item strong,.manual-order-item small{display:block}.manual-order-item strong{font-size:12px;color:var(--navy)}.manual-order-item small{font-size:9px;color:var(--muted);margin-top:2px}.manual-order-feedback{font-size:11px;color:#18724d;margin-top:9px;min-height:16px}
@media(max-width:620px){.manual-order-panel .panel-head{align-items:flex-start;flex-direction:column}.manual-order-panel .panel-head .btn{width:100%}.manual-order-item{grid-template-columns:20px 28px 1fr}.manual-order-item>.badge{grid-column:3;justify-self:start}}

.preferred-time-form{display:grid;gap:5px;min-width:180px}.preferred-time-form select,.preferred-time-form input{font-size:9px;padding:5px 6px}.preferred-time-hours{display:grid;grid-template-columns:1fr 1fr;gap:4px}.preferred-time-feedback{font-size:9px;color:#18724d}.preferred-time-badge{margin:8px 0;padding:8px 10px;background:#f5f1ff;border-left:4px solid #7a5bb8;border-radius:8px}.preferred-time-badge strong,.preferred-time-badge span{display:block}.preferred-time-badge strong{font-size:10px;color:#65479d}.preferred-time-badge span{font-size:10px;color:var(--muted);margin-top:2px}.manifest-time-pref{margin:7px 0;padding:6px 8px;border-radius:8px;background:#f5f1ff;color:#65479d;font-size:9px;font-weight:800}

.scheduling-reassurance{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;margin:22px 0;background:#f5f9fc;border-color:#c9dbe8}.scheduling-reassurance-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e6f1fb;font-size:20px}.scheduling-reassurance h3{margin:0 0 6px;color:var(--navy);font-size:15px}.scheduling-reassurance p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.scheduling-reassurance .scheduling-reassurance-note{margin-top:7px;color:#52687a;font-weight:700}.booking-time-reminder{margin:0 0 14px;padding:10px 12px;border-left:4px solid #6c91ad;background:#f5f9fc;border-radius:8px}.booking-time-reminder strong,.booking-time-reminder span{display:block}.booking-time-reminder strong{font-size:11px;color:var(--navy)}.booking-time-reminder span{font-size:10px;color:var(--muted);line-height:1.5;margin-top:3px}.preferred-time-public-hint{display:block;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.45}
@media(max-width:560px){.scheduling-reassurance{grid-template-columns:1fr}.scheduling-reassurance-icon{width:36px;height:36px;font-size:17px}}

.passage-update-box{margin:8px 0;padding:9px 10px;border:1px solid #c9dbe8;background:#f8fbfd;border-radius:9px}.passage-update-box summary{cursor:pointer;color:#315f7e;font-size:10px;font-weight:900}.passage-update-form{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end;margin-top:9px}.passage-update-form label{font-size:9px;font-weight:800}.passage-update-form input{font-size:9px;padding:6px}.passage-update-feedback{font-size:9px;color:#18724d}@media(max-width:700px){.passage-update-form{grid-template-columns:1fr}}

.manifest-add-stop{margin-bottom:12px;padding:11px 12px;border:1px solid #c9d8ea;border-radius:12px;background:#fff}.manifest-add-stop summary{cursor:pointer;font-size:11px;font-weight:900;color:#1f5e8c}.manifest-add-stop form{display:grid;gap:8px;margin-top:11px}.manifest-add-stop label{font-size:9px;font-weight:800;color:#52687a}.manifest-add-stop input,.manifest-add-stop textarea{width:100%;font-size:11px;padding:8px}.manifest-add-stop-grid{display:grid;grid-template-columns:1fr 110px;gap:8px}.manifest-add-stop #driverManualStopFeedback{font-size:10px;color:#18724d}.manifest-manual-stops{display:grid;gap:9px;margin-top:18px}.manifest-manual-stops>.eyebrow{margin-bottom:1px}.manifest-stop.manual{border-color:#d7c8ee;background:#fcfaff}.manifest-stop.manual .manifest-stop-number{background:#f0e9fa;color:#65479d}.manifest-manual-note{margin-top:6px;padding:6px 8px;background:#f5f1ff;color:#65479d;border-radius:7px;font-size:9px;font-weight:700}
@media(max-width:520px){.manifest-add-stop-grid{grid-template-columns:1fr}}

.driver-location-panel{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding:11px 12px;border-radius:12px;background:#eef7ff;border:1px solid #bad7ee}.driver-location-panel strong,.driver-location-panel span{display:block}.driver-location-panel strong{font-size:11px;color:#1f5e8c}.driver-location-panel span{font-size:9px;color:#60798b;margin-top:2px}.admin-live-location{margin-bottom:16px}.admin-live-location #truckLocationResult{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:10px;color:var(--muted)}.admin-live-location #truckLocationResult strong{color:var(--navy)}.admin-live-location #truckLocationResult a{color:#1f6fb2;font-weight:800}@media(max-width:520px){.driver-location-panel{align-items:flex-start;flex-direction:column}.driver-location-panel .mini-action{width:100%}}

.queue-position-card{margin-bottom:18px;background:#f5f9fc;border-color:#c9dbe8}.queue-position-card p{font-size:12px;color:#334e68;margin:4px 0}.queue-position-card small{display:block;font-size:9px;color:var(--muted);line-height:1.45;margin-top:6px}.badge.blue{background:#e6f1fb;color:#1f6fb2}.public-queue-card{margin:14px 0;padding:14px 15px;border:1px solid #c9dbe8;border-left:5px solid #5d8fb4;background:#f5f9fc;border-radius:10px}.public-queue-card strong,.public-queue-card span{display:block}.public-queue-card strong{font-size:14px;color:#1f5e8c}.public-queue-card span{font-size:10px;color:var(--muted);margin-top:4px;line-height:1.45}

.client-message-list{display:grid;gap:10px}.client-message-card{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.client-message-card.unread{border-color:#b8d4eb;background:#f8fbfe}.client-message-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef3f7;font-size:18px}.client-message-card.unread .client-message-icon{background:#e6f1fb}.client-message-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.client-message-head strong,.client-message-head span{display:block}.client-message-head strong{color:var(--navy);font-size:13px}.client-message-head>div>span{font-size:9px;color:var(--muted);margin-top:2px}.client-message-content p{margin:7px 0;font-size:11px;line-height:1.5;color:var(--muted)}.client-message-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:560px){.client-message-card{grid-template-columns:36px 1fr;padding:11px}.client-message-icon{width:34px;height:34px;font-size:15px}.client-message-head{flex-direction:column;gap:5px}}

.booking-change-panel{margin-bottom:18px}.booking-change-panel summary{cursor:pointer;font-size:11px;font-weight:900;color:#315f7e}.booking-change-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.booking-change-form label{font-size:10px;font-weight:800}.booking-change-feedback{font-size:10px;color:#18724d;margin-left:8px}.booking-change-history{margin-top:12px;border-top:1px solid var(--line)}.booking-change-history>div{padding:8px 0;border-bottom:1px solid var(--line)}.booking-change-history strong,.booking-change-history span,.booking-change-history small{display:block}.booking-change-history strong{font-size:10px;color:var(--navy)}.booking-change-history span,.booking-change-history small{font-size:9px;color:var(--muted);margin-top:2px}.change-requests-section{border-color:#c9dbe8}.change-request-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.change-request-note{font-size:9px;min-width:180px;padding:6px}.change-requests-section .ops-row p{font-size:10px;color:var(--muted);margin:3px 0}
@media(max-width:650px){.booking-change-form{grid-template-columns:1fr}.booking-change-form .wide{grid-column:auto}.change-request-actions{width:100%;justify-content:flex-start}.change-request-note{width:100%;min-width:0}}

.change-capacity-note{display:block;margin-top:4px;font-size:9px;font-weight:400;color:var(--muted);line-height:1.4}

.change-history-modal[hidden]{display:none}.change-history-modal{position:fixed;inset:0;z-index:1000;background:rgba(12,30,46,.52);display:flex;align-items:center;justify-content:center;padding:18px}.change-history-dialog{width:min(760px,100%);max-height:82vh;overflow:auto;background:#fff;border-radius:14px;padding:16px;box-shadow:0 24px 70px rgba(0,0,0,.24)}.change-history-entry{position:relative;padding:12px 0;border-bottom:1px solid var(--line)}.change-history-entry>div:first-child strong,.change-history-entry>div:first-child span{display:block}.change-history-entry>div:first-child strong{font-size:11px;color:var(--navy)}.change-history-entry>div:first-child span{font-size:9px;color:var(--muted);margin-top:2px}.change-history-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.change-history-values>span{padding:8px;border-radius:8px;background:#f6f8fa;font-size:10px;color:#40566a;word-break:break-word}.change-history-values small{display:block;font-size:8px;text-transform:uppercase;color:#8191a0;margin-bottom:3px}.change-history-entry>.badge{position:absolute;right:0;top:12px}.change-history-entry p{font-size:9px;color:var(--muted);margin:7px 0 0}@media(max-width:560px){.change-history-values{grid-template-columns:1fr}.change-history-entry>.badge{position:static;display:inline-flex;margin-top:7px}}

.driver-change-alerts{margin-bottom:12px;padding:11px;border-radius:12px;background:#fff7e8;border:1px solid #e8c77d}.driver-change-alerts-title{font-size:11px;font-weight:900;color:#8a5a00;margin-bottom:7px}.driver-change-alert{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px;background:#fff;border:1px solid #edd8a8;border-radius:9px;margin-top:6px}.driver-change-alert strong,.driver-change-alert span{display:block}.driver-change-alert strong{font-size:10px;color:#684800}.driver-change-alert span{font-size:9px;color:#725f3c;margin-top:2px}.admin-tour-change-alerts{border-color:#e8c77d;background:#fffaf0}@media(max-width:600px){.driver-change-alert{align-items:flex-start;flex-direction:column}.driver-change-alert .mini-action{width:100%}}

.ops-stat-warning{border-color:#e8c77d!important;background:#fff9eb!important}.pending-tour-changes{border-color:#e8c77d;background:#fffdf7}.pending-tour-change-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #eee1bf}.pending-tour-change-row strong,.pending-tour-change-row span,.pending-tour-change-row small{display:block}.pending-tour-change-row strong{font-size:11px;color:#684800}.pending-tour-change-row>div>span,.pending-tour-change-row small{font-size:9px;color:#817152;margin-top:2px}.pending-tour-change-row p{font-size:10px;color:#655739;margin:5px 0}.driver-change-alert small{display:block;margin-top:3px;font-size:8px;color:#9a8050}

.manifest-close-tour{margin-top:20px;padding:14px;border:1px solid #c9d8ea;border-radius:12px;background:#fff}.manifest-close-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.manifest-close-head h3{margin:3px 0;color:var(--navy);font-size:16px}.manifest-close-head span{font-size:9px;color:var(--muted)}.manifest-close-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:12px}.manifest-close-grid>div{padding:9px;border-radius:9px;border:1px solid var(--line);background:#f7f9fb}.manifest-close-grid>div.ok{background:#f4fbf7;border-color:#b9d9c7}.manifest-close-grid>div.warn{background:#fff7f6;border-color:#e7b8b2}.manifest-close-grid span,.manifest-close-grid strong{display:block}.manifest-close-grid span{font-size:8px;color:var(--muted)}.manifest-close-grid strong{font-size:18px;color:var(--navy);margin-top:2px}.manifest-close-grid .warn strong{color:#9b332c}.manifest-close-actions{display:flex;gap:8px;margin-top:12px}.manifest-close-actions .btn:disabled{opacity:.45;cursor:not-allowed}.manifest-close-tour #tourClosingFeedback{font-size:10px;color:#52687a;margin-top:8px}.tour-closed-banner{display:flex;align-items:center;gap:8px;padding:9px 11px;margin-bottom:10px;border-left:4px solid #1f8a5b;background:#f4fbf7;border-radius:8px}.tour-closed-banner strong{color:#18724d}.tour-closed-banner span{font-size:10px;color:var(--muted)}
@media(max-width:760px){.manifest-close-grid{grid-template-columns:1fr 1fr}.manifest-close-actions{display:grid;grid-template-columns:1fr 1fr}}@media(max-width:460px){.manifest-close-grid,.manifest-close-actions{grid-template-columns:1fr}}

.tour-report-page{max-width:1250px}.tour-report-actions{display:flex;gap:8px;flex-wrap:wrap}.tour-report-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:16px}.tour-report-stats>div{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.tour-report-stats span,.tour-report-stats strong{display:block}.tour-report-stats span{font-size:9px;color:var(--muted)}.tour-report-stats strong{font-size:18px;color:var(--navy);margin-top:3px}.tour-report-summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.tour-report-summary-grid span,.tour-report-summary-grid strong{display:block}.tour-report-summary-grid span{font-size:9px;color:var(--muted)}.tour-report-summary-grid strong{font-size:11px;color:var(--navy);margin-top:3px}.tour-report-table-wrap{overflow-x:auto}.tour-report-table{width:100%;border-collapse:collapse;min-width:850px}.tour-report-table th,.tour-report-table td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:left;font-size:10px}.tour-report-table th{font-size:8px;text-transform:uppercase;color:var(--muted)}.tour-report-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.tour-report-row strong,.tour-report-row span{display:block}.tour-report-row strong{font-size:10px;color:var(--navy)}.tour-report-row span{font-size:9px;color:var(--muted);margin-top:2px}
@media(max-width:900px){.tour-report-stats{grid-template-columns:repeat(3,1fr)}.tour-report-summary-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.tour-report-stats,.tour-report-summary-grid{grid-template-columns:1fr 1fr}}
@media print{nav,.tour-report-actions,.flash-container{display:none!important}.app-bg{background:#fff!important}.dashboard-main{max-width:none!important;padding:0!important}.panel,.tour-report-stats>div{box-shadow:none!important;break-inside:avoid}.tour-report-table{min-width:0;font-size:9px}}

.simple-driver-close{background:#fff;border-color:#c9d8ea}.simple-driver-close .manifest-close-head{margin-bottom:10px}.driver-close-ready{padding:12px;border-radius:10px;background:#f2fbf6;border:1px solid #b9dbc7}.driver-close-ready strong,.driver-close-ready span{display:block}.driver-close-ready strong{font-size:13px;color:#18724d}.driver-close-ready span{font-size:9px;color:#60796a;margin-top:3px}.driver-close-exceptions{padding:10px 11px;border-radius:10px;background:#fff8ef;border:1px solid #e8d0a7}.driver-close-exceptions summary{cursor:pointer;font-size:10px;font-weight:900;color:#82560d}.driver-close-exception-list{display:grid;gap:4px;margin-top:8px}.driver-close-exception-list span{font-size:9px;color:#705d3b}.simple-driver-close .manifest-close-actions{align-items:center}.simple-driver-close .manifest-close-actions .btn{min-width:180px}.driver-close-refresh-link{border:0;background:none;color:#60798b;text-decoration:underline;cursor:pointer;font-size:9px}.driver-close-hidden-checks{display:none!important}.cash-reconciliation-panel{border-color:#c8d8e5}.cash-reconciliation-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.cash-reconciliation-grid>div{padding:10px;border-radius:9px;background:#f7f9fb;border:1px solid var(--line)}.cash-reconciliation-grid>div.ok{background:#f2fbf6;border-color:#b9dbc7}.cash-reconciliation-grid>div.warn{background:#fff5f3;border-color:#e6b8b2}.cash-reconciliation-grid span,.cash-reconciliation-grid strong{display:block}.cash-reconciliation-grid span{font-size:8px;color:var(--muted)}.cash-reconciliation-grid strong{font-size:14px;color:var(--navy);margin-top:3px}.cash-reconciliation-grid .warn strong{color:#9b332c}.cash-pending-details{margin-top:10px}.cash-pending-details summary{cursor:pointer;font-size:10px;font-weight:900;color:#6c5b3c}
@media(max-width:800px){.cash-reconciliation-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.cash-reconciliation-grid{grid-template-columns:1fr}.simple-driver-close .manifest-close-actions{display:flex;flex-direction:column}.simple-driver-close .manifest-close-actions .btn{width:100%}}

.driver-quick-exception{margin-top:12px;padding:10px 12px;border:1px solid #e1c7a6;border-radius:11px;background:#fffaf2}.driver-quick-exception summary{cursor:pointer;font-size:11px;font-weight:900;color:#7a541c}.driver-quick-exception p{font-size:9px;color:#7a6a52;margin:6px 0 9px}.driver-quick-exception label{font-size:9px;font-weight:800;color:#596b79}.driver-quick-exception select,.driver-quick-exception input{margin-top:4px}.driver-exception-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}.driver-exception-buttons button{padding:11px 7px;border:1px solid #d7c09d;border-radius:9px;background:#fff;color:#654a23;font-size:10px;font-weight:800;cursor:pointer}.driver-exception-buttons button:active{transform:scale(.98);background:#fff2db}.driver-exception-note{display:block}.driver-exception-note input{width:100%}#driverExceptionFeedback{min-height:15px;margin-top:6px;font-size:9px;color:#18724d}@media(max-width:560px){.driver-exception-buttons{grid-template-columns:1fr 1fr}.driver-exception-buttons button{min-height:48px}}

.ops-stat-danger{border-color:#e5b9b4!important;background:#fff6f5!important}.driver-exception-desk{border-color:#e5b9b4}.driver-exception-admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.driver-exception-admin-main>span,.driver-exception-admin-main>small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.driver-exception-admin-main p{font-size:10px;color:#536778;margin:5px 0}.driver-exception-admin-title{display:flex;align-items:center;gap:7px}.driver-exception-admin-title strong{font-size:11px;color:#8f302a}@media(max-width:600px){.driver-exception-admin-row{align-items:flex-start;flex-direction:column}.driver-exception-admin-row>.mini-action{width:100%}}

.driver-exception-resolution{display:grid;grid-template-columns:minmax(140px,1fr) minmax(170px,1.3fr) auto;gap:6px;align-items:center}.driver-exception-resolution select,.driver-exception-resolution input{font-size:9px;padding:6px}.exception-resolution-report{margin-top:5px!important;padding:5px 7px;border-radius:6px;background:#f3f7fa;color:#405d72!important}@media(max-width:760px){.driver-exception-resolution{width:100%;grid-template-columns:1fr}.driver-exception-resolution .mini-action{width:100%}}

.ops-stat-replan{border-color:#c7b9e7!important;background:#faf7ff!important}.replan-desk{border-color:#c7b9e7}.replan-task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.replan-task-row strong,.replan-task-row span,.replan-task-row small{display:block}.replan-task-row strong{font-size:11px;color:#554080}.replan-task-row span,.replan-task-row small{font-size:9px;color:var(--muted);margin-top:2px}.replan-task-row p{font-size:10px;color:#65577c;margin:5px 0}.replan-task-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:650px){.replan-task-row{align-items:flex-start;flex-direction:column}.replan-task-actions{width:100%;display:grid;grid-template-columns:1fr}.replan-task-actions .mini-action{text-align:center}}

.replan-task-actions .assign-replan-task{background:#f3effc;border-color:#c8b9e6;color:#584181;font-weight:800}

.replan-modal-backdrop{display:none;position:fixed;inset:0;z-index:9999;background:rgba(16,35,52,.48);padding:18px;align-items:center;justify-content:center}.replan-modal-backdrop.open{display:flex}.replan-modal-card{width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(18,39,58,.28);padding:18px}.replan-modal-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.replan-modal-head h3{margin:3px 0 2px;color:var(--navy)}.replan-modal-head p{margin:0;font-size:10px;color:var(--muted)}.replan-modal-close{border:0;background:#f2f5f7;border-radius:50%;width:34px;height:34px;font-size:22px;color:#60798b;cursor:pointer}.replan-tour-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.replan-tour-option{text-align:left;padding:13px;border:1px solid #ccd9e3;border-radius:11px;background:#fff;cursor:pointer;transition:.15s}.replan-tour-option:hover{border-color:#6c8ea8;background:#f7fbfe;transform:translateY(-1px)}.replan-tour-option:disabled{opacity:.55}.replan-tour-option .replan-tour-date,.replan-tour-option strong,.replan-tour-option small{display:block}.replan-tour-option .replan-tour-date{font-size:9px;color:#657d8f}.replan-tour-option strong{font-size:12px;color:var(--navy);margin:3px 0}.replan-tour-option small{font-size:9px;color:#708290}.replan-tour-option.loading{border-color:#7357a2;background:#faf7ff}.replan-modal-note{margin-top:13px;padding:9px 10px;border-radius:8px;background:#f6f8fa;font-size:9px;color:#637888}@media(max-width:560px){.replan-tour-options{grid-template-columns:1fr}.replan-modal-card{padding:14px}}

.replan-no-option{margin-top:15px;padding:12px;border:1px solid #e4cf9d;border-radius:10px;background:#fff9eb;color:#70551f;font-size:10px;font-weight:700}

.replan-review-date{display:inline-block!important;margin-top:5px!important;padding:4px 7px;border-radius:6px;background:#fff5d9;color:#785b16!important;font-weight:800}.review-later-replan-task{background:#fff9eb!important;border-color:#e2c980!important;color:#70551f!important}

.replan-task-row.priority-important{border-left:4px solid #d59a26;padding-left:9px}.replan-task-row.priority-urgent{border-left:4px solid #c7473e;padding-left:9px;background:#fffafa}.replan-priority-select{font-size:9px;padding:5px 7px;border:1px solid #cbd6df;border-radius:7px;background:#fff;color:#4d6374}.priority-urgent .replan-priority-select{border-color:#d9a29d;color:#9a342e;font-weight:800}.priority-important .replan-priority-select{border-color:#dfc187;color:#7a5919;font-weight:800}

.ops-stat-review{border-color:#e5cf91!important;background:#fffaf0!important}.ops-stat-overdue{border-color:#dfaaa4!important;background:#fff5f4!important}.replan-task-row.review-overdue{background:#fff8f7;border-left:5px solid #c94d43;padding-left:9px}.replan-task-row.review-due_today{background:#fffdf4;border-left:5px solid #d49a26;padding-left:9px}.replan-review-date.due{background:#fff1c9;color:#795710!important}.replan-review-date.overdue{background:#fbe4e1;color:#98352f!important}.mark-replan-reviewed{background:#f2f7fb!important;border-color:#bfd0dc!important;color:#405f74!important}

.replan-postpone{display:flex;gap:3px;padding:3px;border:1px solid #e1c982;border-radius:8px;background:#fffaf0}.replan-postpone .mini-action{min-width:42px;background:#fff!important;border-color:#ead9aa!important;color:#725719!important}.replan-postpone .mini-action:hover{background:#fff3cf!important}@media(max-width:650px){.replan-postpone{display:grid;grid-template-columns:repeat(3,1fr)}}

/* V9.0 — navigation chauffeur */
.waze-nav-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;border-radius:10px;background:#20b8d5;color:#fff!important;text-decoration:none;font-size:10px;font-weight:900;border:1px solid #149bb6;box-shadow:0 2px 7px rgba(20,155,182,.16);touch-action:manipulation}.waze-nav-button:hover{background:#159fb9}.waze-nav-button:active{transform:scale(.98)}.waze-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:#fff;color:#159fb9;font-size:12px}@media(max-width:600px){.waze-nav-button{width:100%;min-height:50px;font-size:11px;margin-top:7px}}

.waze-nav-hint{display:block;margin-top:3px;font-size:8px;color:#718391}@media(max-width:600px){.waze-nav-hint{text-align:center;margin-bottom:3px}}

.nav-fallback-link{display:block;width:max-content;max-width:100%;margin-top:3px;font-size:8px;color:#718391;text-decoration:underline;text-underline-offset:2px}.nav-fallback-link:hover{color:#405f74}@media(max-width:600px){.nav-fallback-link{width:100%;text-align:center;padding:4px 0}}

.next-stop-card{margin-bottom:12px;padding:14px;border-radius:14px;background:linear-gradient(135deg,#102f47,#1f5e8c);color:#fff;box-shadow:0 7px 20px rgba(26,65,94,.16)}.next-stop-kicker{font-size:8px;font-weight:900;letter-spacing:.12em;color:#bcd7e9}.next-stop-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-top:4px}.next-stop-head h2{margin:0;font-size:20px;color:#fff}.next-stop-head>div>span{display:block;margin-top:2px;font-size:9px;color:#c7dbe8}.next-stop-address{margin-top:11px;padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.1);font-size:12px;font-weight:800;line-height:1.4}.next-stop-time{margin-top:7px;font-size:9px;color:#d9e7f0}.next-stop-actions{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:7px;margin-top:11px}.next-stop-actions .waze-nav-button{margin:0;min-height:48px}.next-stop-action{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff!important;text-decoration:none;font-size:10px;font-weight:900}.next-stop-action.call{background:#def4e8;color:#18724d!important;border-color:#b9d9c7}@media(max-width:560px){.next-stop-card{padding:12px}.next-stop-actions{grid-template-columns:1fr 1fr}.next-stop-waze{grid-column:1/-1}.next-stop-head h2{font-size:18px}}

.all-stops-complete-card{margin-bottom:12px;padding:14px;border-radius:14px;background:#f3fbf6;border:1px solid #b9d9c7}.all-stops-complete-card strong,.all-stops-complete-card span{display:block}.all-stops-complete-card strong{font-size:14px;color:#18724d}.all-stops-complete-card span{font-size:9px;color:#60796a;margin-top:3px}

.next-stop-action[type="button"]{appearance:none;-webkit-appearance:none;cursor:pointer;font-family:inherit}.next-stop-card .badge.gold{background:#fff0c8;color:#755a12}

.next-stop-arrived{background:#eef7ff!important;border-color:#a8cae0!important;color:#1f5e8c!important;cursor:pointer}.next-stop-arrived:hover{background:#e2f1fb!important}.next-stop-arrived.arrival-confirmed{background:#def4e8!important;border-color:#b9d9c7!important;color:#18724d!important}

.next-stop-readiness{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16)}.next-stop-readiness-label{font-size:9px;color:#d8e5ee;font-weight:800}.next-stop-readiness-state{font-size:10px;font-weight:900;color:#fff}.next-stop-readiness.ready{background:rgba(42,160,103,.22);border-color:rgba(173,231,201,.3)}.next-stop-readiness.ready .next-stop-readiness-state{color:#dff7e9}.next-stop-readiness.needs-check{background:rgba(232,178,56,.18);border-color:rgba(255,220,138,.32)}.next-stop-readiness.needs-check .next-stop-readiness-state{color:#ffe2a1}@media(max-width:560px){.next-stop-readiness{align-items:flex-start;flex-direction:column;gap:3px}}

.next-stop-actions-contextual{align-items:stretch}.next-stop-actions-contextual .primary-context-action{font-size:11px;font-weight:900}.next-stop-actions-contextual .primary-context-action:not(.next-stop-arrived){background:#fff;color:#163c58!important;border-color:#fff}.next-stop-actions-contextual .primary-context-action:hover{filter:brightness(.97)}@media(max-width:560px){.next-stop-actions-contextual{grid-template-columns:1fr 1fr}.next-stop-actions-contextual .primary-context-action{grid-column:1/-1}}

.driver-action-working{pointer-events:none!important;opacity:.65!important;cursor:wait!important}.waze-nav-button.waze-launching{background:#168fa7!important;pointer-events:none}.next-stop-actions a,.next-stop-actions button{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}

.driver-next-stop-fab{position:fixed;right:18px;bottom:18px;z-index:950;display:flex;align-items:center;gap:7px;min-height:46px;padding:9px 13px;border-radius:999px;background:#163f5c;color:#fff!important;text-decoration:none;box-shadow:0 8px 24px rgba(20,54,79,.26);opacity:0;transform:translateY(12px);pointer-events:none;transition:.18s ease}.driver-next-stop-fab.visible{opacity:1;transform:translateY(0);pointer-events:auto}.driver-next-stop-fab span{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.14);font-size:14px}.driver-next-stop-fab strong{font-size:10px;white-space:nowrap}@media(max-width:560px){.driver-next-stop-fab{right:12px;bottom:12px;min-height:48px;padding:9px 12px}.driver-next-stop-fab strong{font-size:10px}}

.driver-screen-awake-panel{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:10px 12px;border:1px solid #d5dde4;border-radius:11px;background:#fff}.driver-screen-awake-panel strong,.driver-screen-awake-panel span{display:block}.driver-screen-awake-panel strong{font-size:10px;color:#334f63}.driver-screen-awake-panel span{font-size:8px;color:#718391;margin-top:2px}.driver-screen-awake-panel .mini-action:disabled{opacity:.55;cursor:not-allowed}@media(max-width:520px){.driver-screen-awake-panel{align-items:flex-start;flex-direction:column}.driver-screen-awake-panel .mini-action{width:100%}}

.driver-network-banner{margin-bottom:10px;padding:10px 12px;border:1px solid #e2c781;border-radius:10px;background:#fff9ea}.driver-network-banner strong,.driver-network-banner span{display:block}.driver-network-banner strong{font-size:10px;color:#745719}.driver-network-banner span{font-size:8px;color:#786b4e;margin-top:2px;line-height:1.4}.driver-network-banner.reconnected{border-color:#b9d9c7;background:#f2fbf6}.driver-network-banner.reconnected strong{color:#18724d}.driver-offline .offline-disabled{opacity:.45!important;cursor:not-allowed!important;pointer-events:none!important}.driver-offline .waze-nav-button,.driver-offline a[href^="tel:"]{opacity:1!important;pointer-events:auto!important}

.driver-low-power .driver-screen-awake-panel{border-color:#e5d6a6;background:#fffdf6}.driver-low-power .driver-screen-awake-panel strong:after{content:" · économie";color:#8a6a21;font-weight:700}.driver-low-power *{scroll-behavior:auto!important}

.truck-location-freshness{display:inline-flex!important;align-items:center;padding:4px 7px;border-radius:999px;font-size:8px!important;font-weight:900}.truck-location-freshness.fresh{background:#def4e8;color:#18724d}.truck-location-freshness.delayed{background:#fff0c8;color:#755a12}.truck-location-freshness.stale{background:#fbe6e4;color:#9b332c}.truck-location-freshness.unknown{background:#eef2f6;color:#60798b}.admin-live-location #truckLocationResult{row-gap:6px}

.driver-route-change-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:10px 12px;border-radius:11px;background:#eef7ff;border:1px solid #a8cae0}.driver-route-change-banner strong,.driver-route-change-banner span{display:block}.driver-route-change-banner strong{font-size:10px;color:#1f5e8c}.driver-route-change-banner span{margin-top:2px;font-size:8px;color:#58758a}.driver-route-change-banner button{min-height:38px;padding:7px 11px;border:0;border-radius:8px;background:#1f5e8c;color:#fff;font-weight:900;font-size:9px;cursor:pointer}@media(max-width:520px){.driver-route-change-banner{align-items:stretch;flex-direction:column}.driver-route-change-banner button{width:100%}}

.driver-progress-strip{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,220px);align-items:center;gap:12px;margin-bottom:10px;padding:9px 12px;border:1px solid #d8e1e8;border-radius:11px;background:#fff}.driver-progress-copy strong,.driver-progress-copy span{display:block}.driver-progress-copy strong{font-size:9px;color:#334f63}.driver-progress-copy span{margin-top:2px;font-size:8px;color:#718391}.driver-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#e9eef2}.driver-progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#20b8d5,#2a9f68);transition:width .3s ease}.driver-progress-strip.complete{border-color:#b9d9c7;background:#f4fbf7}.driver-progress-strip.complete .driver-progress-copy span{color:#18724d;font-weight:800}@media(max-width:520px){.driver-progress-strip{grid-template-columns:1fr}.driver-progress-track{width:100%}}

.driver-tour-complete-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:10px;padding:11px 12px;border:1px solid #b9d9c7;border-radius:12px;background:#f3fbf6}.driver-tour-complete-summary[hidden]{display:none!important}.driver-tour-complete-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#2a9f68;color:#fff;font-size:17px;font-weight:900}.driver-tour-complete-summary strong,.driver-tour-complete-summary span{display:block}.driver-tour-complete-summary strong{font-size:11px;color:#18724d}.driver-tour-complete-summary span{margin-top:2px;font-size:8px;color:#60796a}.driver-tour-complete-action{display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;border-radius:8px;background:#18724d;color:#fff!important;text-decoration:none;font-size:9px;font-weight:900}@media(max-width:560px){.driver-tour-complete-summary{grid-template-columns:auto 1fr}.driver-tour-complete-action{grid-column:1/-1;width:100%}}

.driver-one-tap-close{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:11px 12px;border:1px solid #e5c9a0;border-radius:12px;background:#fffaf2}.driver-one-tap-close[hidden]{display:none!important}.driver-one-tap-close strong,.driver-one-tap-close span{display:block}.driver-one-tap-close strong{font-size:10px;color:#6e5323}.driver-one-tap-close span{margin-top:2px;font-size:8px;color:#7b6a4d}.driver-one-tap-close button{min-height:40px;padding:8px 12px;border:0;border-radius:9px;background:#d3d9de;color:#fff;font-size:9px;font-weight:900}.driver-one-tap-close.ready{border-color:#b9d9c7;background:#f3fbf6}.driver-one-tap-close.ready strong{color:#18724d}.driver-one-tap-close.ready span{color:#60796a}.driver-one-tap-close.ready button{background:#18724d;cursor:pointer}.driver-one-tap-close button:disabled{cursor:not-allowed;opacity:.65}@media(max-width:560px){.driver-one-tap-close{align-items:stretch;flex-direction:column}.driver-one-tap-close button{width:100%}}

.completed-stops-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #d8e1e8;border-radius:11px;background:#fff}.completed-stops-toggle strong,.completed-stops-toggle span{display:block}.completed-stops-toggle strong{font-size:10px;color:#334f63}.completed-stops-toggle span{margin-top:2px;font-size:8px;color:#718391}.completed-stops-toggle button{min-height:36px;padding:7px 10px;border:1px solid #c6d3dd;border-radius:8px;background:#f6f9fb;color:#405f74;font-size:9px;font-weight:900;cursor:pointer}.completed-stop[hidden]{display:none!important}.show-completed-stops .completed-stop{opacity:.64}.show-completed-stops .completed-stop:hover{opacity:.88}@media(max-width:520px){.completed-stops-toggle{align-items:stretch;flex-direction:column}.completed-stops-toggle button{width:100%}}

.next-stop-cash-alert{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:9px 10px;border-radius:9px;background:#fff3d6;border:1px solid #e4c16f}.next-stop-cash-alert strong,.next-stop-cash-alert span{display:block}.next-stop-cash-alert strong{font-size:10px;color:#7a5713}.next-stop-cash-alert span{font-size:10px;font-weight:900;color:#6c4c0e}@media(max-width:560px){.next-stop-cash-alert{align-items:flex-start;flex-direction:column;gap:2px}}

.quick-cash-collected{background:#fff0c8!important;border-color:#e4c16f!important;color:#6c4c0e!important;cursor:pointer}.quick-cash-collected:hover{background:#ffe7a6!important}.quick-cash-collected.cash-confirmed{background:#def4e8!important;border-color:#b9d9c7!important;color:#18724d!important}

.danger-secondary-action{min-height:38px;padding:8px 11px;border:1px solid #d8aaa5;border-radius:8px;background:#fff;color:#a23d35;font-size:9px;font-weight:900;cursor:pointer}.danger-secondary-action:hover{background:#fff3f2}.danger-secondary-action:disabled{opacity:.55;cursor:not-allowed}

.archive-tour-action,.restore-tour-action{min-height:38px;padding:8px 11px;border:1px solid #b7c9d7;border-radius:8px;background:#f6f9fb;color:#405f74;font-size:9px;font-weight:900;cursor:pointer}.archive-tour-action:hover,.restore-tour-action:hover{background:#edf4f8}.tour-archived-banner{display:flex;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #cbd7df;border-radius:10px;background:#f7f9fb}.tour-archived-banner strong,.tour-archived-banner span{display:block}.tour-archived-banner strong{font-size:10px;color:#405f74}.tour-archived-banner span{font-size:8px;color:#718391;flex:1}@media(max-width:560px){.tour-archived-banner{align-items:stretch;flex-direction:column}.tour-archived-banner button{width:100%}}

.archive-center{max-width:1050px;margin:0 auto;padding:18px}.archive-center-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.archive-center-header h1{margin:3px 0 5px}.archive-center-header p{max-width:680px;color:#687d8c;font-size:10px}.archive-tour-list{display:grid;gap:9px}.archive-tour-card{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(180px,1fr) auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid #d7e0e7;border-radius:11px;background:#fff}.archive-tour-main strong,.archive-tour-main span,.archive-tour-meta span{display:block}.archive-tour-main strong{font-size:11px;color:#304d61}.archive-tour-main span,.archive-tour-meta span{margin-top:2px;font-size:8px;color:#728493}.archive-tour-actions{display:flex;gap:7px;align-items:center}.archive-tour-actions a{padding:8px 10px;border-radius:8px;background:#eef4f8;color:#405f74;text-decoration:none;font-size:9px;font-weight:900}.archive-empty{padding:24px;border:1px dashed #cbd7df;border-radius:12px;text-align:center;background:#fafcfd}.archive-empty strong,.archive-empty span{display:block}.archive-empty strong{color:#405f74}.archive-empty span{margin-top:4px;color:#718391;font-size:9px}.archive-nav-link{white-space:nowrap}@media(max-width:650px){.archive-center-header,.archive-tour-card{display:flex;flex-direction:column;align-items:stretch}.archive-tour-actions>*{flex:1;text-align:center}}

.tour-retention-status{display:flex;align-items:center;gap:8px;margin:9px 0;padding:8px 10px;border:1px solid #d8e1e8;border-radius:9px;background:#f8fafb}.tour-retention-status strong{font-size:9px;color:#405f74}.tour-retention-status span{font-size:8px;color:#718391}.tour-retention-status.protected{border-color:#e3c58b;background:#fff9eb}.tour-retention-status.protected strong,.tour-retention-status.protected span{color:#755a12}.tour-retention-status.free{border-color:#b9d9c7;background:#f4fbf7}.tour-retention-status.free strong{color:#18724d}

.tour-history-page{max-width:1050px;margin:0 auto;padding:18px}.tour-history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.tour-history-header h1{margin:3px 0 5px}.tour-history-header p{font-size:10px;color:#687d8c}.tour-history-links,.archive-header-actions{display:flex;gap:7px}.tour-history-links a,.archive-header-actions a{padding:8px 10px;border:1px solid #d7e0e7;border-radius:8px;background:#fff;color:#405f74;text-decoration:none;font-size:9px;font-weight:900}.tour-history-list{display:grid;gap:7px}.tour-history-event{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dce4e9;border-radius:10px;background:#fff}.tour-history-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#eef4f8;color:#405f74;font-size:15px;font-weight:900}.tour-history-event.tour_deleted .tour-history-icon{background:#fff0ee;color:#a23d35}.tour-history-event.tour_archived .tour-history-icon{background:#fff7e6;color:#876515}.tour-history-event.tour_restored .tour-history-icon{background:#eaf8f0;color:#18724d}.tour-history-body strong,.tour-history-body span,.tour-history-meta span{display:block}.tour-history-body strong{font-size:10px;color:#344f62}.tour-history-body span,.tour-history-meta span{margin-top:2px;font-size:8px;color:#748592}.tour-history-meta{text-align:right}@media(max-width:620px){.tour-history-header,.tour-history-event{display:flex;flex-direction:column;align-items:stretch}.tour-history-meta{text-align:left}.tour-history-icon{display:none}.tour-history-links,.archive-header-actions{flex-wrap:wrap}}

.cash-action-privacy-note{margin-top:7px;font-size:7px;color:#8a7651}.driver-manifest .financial-summary,.driver-manifest .cash-total,.driver-manifest .daily-cash-total,.driver-manifest .revenue-total,.driver-manifest [data-financial-report]{display:none!important}

.financial-overview-page{max-width:1000px;margin:0 auto;padding:18px}.financial-overview-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.financial-overview-header h1{margin:3px 0 5px}.financial-overview-header p{font-size:10px;color:#687d8c}.financial-overview-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.financial-overview-summary>div{padding:13px;border:1px solid #d8e1e8;border-radius:11px;background:#fff}.financial-overview-summary span,.financial-overview-summary strong{display:block}.financial-overview-summary span{font-size:8px;color:#718391}.financial-overview-summary strong{margin-top:4px;font-size:18px;color:#294d65}.financial-overview-list{display:grid;gap:7px}.financial-overview-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;border:1px solid #dce4e9;border-radius:10px;background:#fff}.financial-overview-row strong,.financial-overview-row span{display:block}.financial-overview-row strong{font-size:10px;color:#344f62}.financial-overview-row span{margin-top:2px;font-size:8px;color:#748592}.financial-overview-row>div:last-child{text-align:right}.finance-nav-link{white-space:nowrap}@media(max-width:560px){.financial-overview-summary{grid-template-columns:1fr}.financial-overview-row,.financial-overview-header{flex-direction:column;align-items:stretch}.financial-overview-row>div:last-child{text-align:left}}

.login-security-note{margin-top:8px;font-size:8px;line-height:1.4;color:#7a8b97}

.session-expiry-note{margin-top:7px;font-size:8px;line-height:1.4;color:#7a8b97}

.account-security-page{max-width:720px;margin:0 auto;padding:20px}.account-security-card{padding:18px;border:1px solid #d8e1e8;border-radius:14px;background:#fff}.account-security-card h1{margin:4px 0 6px}.account-security-card>p{font-size:10px;color:#6f8290;line-height:1.5}.account-security-form{display:grid;gap:12px;margin-top:16px}.account-security-form label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#405f74}.account-security-form input{min-height:42px;padding:9px 10px;border:1px solid #cbd7df;border-radius:9px;font:inherit}.account-security-form small{font-size:8px;font-weight:400;color:#7a8b97}.account-security-form button{min-height:42px;border:0;border-radius:9px;background:#1f5e8c;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.account-security-nav-link{white-space:nowrap}

.safe-error-page{max-width:680px;margin:0 auto;padding:28px 18px}.safe-error-card{padding:22px;border:1px solid #d8e1e8;border-radius:14px;background:#fff;text-align:center}.safe-error-code{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:30px;padding:0 10px;border-radius:999px;background:#eef4f8;color:#405f74;font-size:10px;font-weight:900}.safe-error-card h1{margin:10px 0 6px;color:#2f4d61}.safe-error-card p{font-size:10px;line-height:1.5;color:#6e8190}.safe-error-reference{margin-top:12px;padding:8px 10px;border-radius:8px;background:#f7f9fb;color:#718391;font-size:8px}.safe-error-actions{display:flex;justify-content:center;gap:8px;margin-top:14px}.safe-error-actions button,.safe-error-actions a{min-height:38px;padding:8px 12px;border-radius:8px;border:1px solid #cbd7df;background:#fff;color:#405f74;text-decoration:none;font-size:9px;font-weight:900;cursor:pointer}.safe-error-actions a{background:#1f5e8c;color:#fff;border-color:#1f5e8c}

/* V10.29 — classes générées depuis styles inline statiques */
.csp-inline-1{width:0%}

.driver-progress-fill{display:block;height:100%}
[data-row-href]{cursor:pointer}
.olr-marker.color-red{background:#d84a45}
.olr-marker.color-orange{background:#e98a20}
.olr-marker.color-green{background:#1f9d6a}

.admin-health-nav-link{white-space:nowrap}

.language-switcher{display:flex;gap:4px;align-items:center;margin-left:auto}
.language-switcher a{font-size:8px;font-weight:900;padding:4px 6px;border-radius:6px;text-decoration:none;color:#5c7180}
.language-switcher a.active{background:#1f5e8c;color:#fff}
.trace-education{margin:10px 0;padding:10px 12px;border:1px solid #d9e5ed;border-radius:10px;background:#f7fafc}
.trace-education p{margin:4px 0 0}
.ai-route-proposals{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:16px}.ai-route-card{display:flex;flex-direction:column;align-items:center;border:1px solid #dbe3ed;border-radius:16px;padding:22px 18px;background:#f8fbff;text-align:center}.ai-route-card h4{font-size:1.2rem;margin:8px 0}.ai-route-card>strong{display:block;max-width:28ch}.ai-route-card p{color:#667085;min-height:3em;text-align:center}.ai-route-card .btn{margin-top:auto;width:100%}
.ai-route-metrics{display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:10px;width:100%;max-width:290px;margin:16px auto}.ai-route-metrics span{display:flex;flex-direction:column;justify-content:center;min-height:78px;padding:10px 8px;border-radius:12px;background:#fff;text-align:center}.ai-route-metrics b{font-size:1.1rem;color:#0b2b4b}.ai-route-metrics small,.ai-route-card>small{font-size:.75rem;color:#667085}
.driver-route-overview{margin:14px 0;padding:18px;border:1px solid #dbe3ed;border-radius:18px;background:#f8fbff}.driver-route-overview-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.driver-route-overview-head h2{margin:4px 0}.driver-route-overview-head label{font-weight:700}.driver-route-overview-head select{display:block;margin-top:5px;padding:10px;border:1px solid #cad5e2;border-radius:10px;background:#fff}.driver-route-map{height:300px;margin:16px 0;border-radius:14px;background:#edf6ff;overflow:hidden}.olr-route-marker{display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#1d6fe8;color:#fff;font-weight:800;box-shadow:0 3px 10px #0b2b4b55}.olr-route-marker span{display:grid;place-items:center;width:26px;height:26px}.driver-route-overview-list{display:grid;gap:8px;padding:0;list-style:none}.driver-route-overview-list li{display:flex;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#fff}.driver-route-overview-list li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1d6fe8;color:#fff;font-weight:800}.driver-route-overview-list div{display:flex;flex-direction:column}.driver-route-overview-list small{color:#667085}.driver-route-overview-actions{margin:14px 0}.driver-route-overview-actions .btn{width:100%}@media(max-width:640px){.driver-route-overview-head{flex-direction:column}.driver-route-overview-head label,.driver-route-overview-head select{width:100%}.driver-route-map{height:260px}}
.password-field{position:relative;display:block}.password-field input{width:100%;padding-right:92px}.password-visibility-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:7px 9px;border:0;border-radius:8px;background:#eef4fb;color:#12314f;font-weight:700;cursor:pointer}.password-visibility-toggle:focus-visible{outline:3px solid #80b6ff;outline-offset:1px}
.admin-shell-active{background:#f5f8fc}.admin-sidebar{position:fixed;z-index:800;top:82px;bottom:0;left:0;width:270px;padding:18px 14px;background:#0b2b4b;color:#fff;overflow-y:auto;box-shadow:8px 0 26px #0b2b4b1a}.admin-sidebar-title{display:flex;flex-direction:column;padding:4px 10px 14px}.admin-sidebar-title span{font-size:.7rem;letter-spacing:.18em;color:#8fc1ff}.admin-sidebar-title strong{font-size:1.3rem}.admin-sidebar-home,.admin-sidebar-logout{display:block;margin:0 6px 12px;padding:10px 12px;border-radius:10px;color:#dbeaff;text-decoration:none}.admin-sidebar-home:hover,.admin-sidebar-logout:hover{background:#143d63}.admin-sidebar nav{display:grid;gap:7px}.admin-sidebar details{border:1px solid #ffffff14;border-radius:12px;background:#ffffff08}.admin-sidebar summary{padding:11px 12px;font-weight:800;cursor:pointer;list-style:none}.admin-sidebar summary::after{content:"+";float:right;color:#8fc1ff}.admin-sidebar details[open] summary::after{content:"−"}.admin-sidebar details>div{display:grid;padding:0 7px 8px}.admin-sidebar nav a{padding:9px 10px;border-radius:8px;color:#cbd9e8;text-decoration:none;font-size:.9rem}.admin-sidebar nav a:hover{background:#ffffff12;color:#fff}.admin-sidebar nav a.active{background:#1d6fe8;color:#fff;font-weight:800}.admin-sidebar-logout{margin-top:14px;border:1px solid #ffffff22}.admin-shell-active .page-content-shell,.admin-shell-active .flashwrap,.admin-shell-active .site-footer{margin-left:270px}.admin-shell-active .topbar .admin-nav-menu{display:none}.admin-sidebar-toggle{display:none}.admin-sidebar-backdrop{display:none}@media(max-width:900px){.admin-shell-active .page-content-shell,.admin-shell-active .flashwrap,.admin-shell-active .site-footer{margin-left:0}.admin-sidebar{top:0;z-index:1200;width:min(86vw,320px);transform:translateX(-105%);transition:transform .22s ease}.admin-sidebar-open .admin-sidebar{transform:translateX(0)}.admin-sidebar-toggle{display:block;position:sticky;z-index:950;top:0;width:100%;padding:12px 18px;border:0;background:#0b2b4b;color:#fff;font-weight:800;text-align:left}.admin-sidebar-backdrop{position:fixed;z-index:1100;inset:0;background:#071b2f99}.admin-sidebar-open .admin-sidebar-backdrop{display:block}}
.hero{background:radial-gradient(circle at 86% 12%,rgba(29,111,232,.30) 0,rgba(29,111,232,.16) 24%,transparent 52%),radial-gradient(circle at 12% 92%,rgba(35,190,176,.13) 0,transparent 40%),linear-gradient(135deg,#ffffff 12%,#f4f8ff 43%,#e6f0ff 72%,#d5e7ff 100%)}
.page-content-shell{min-height:calc(100vh - 80px);background:radial-gradient(circle at 92% 5%,rgba(29,111,232,.17) 0,transparent 34%),radial-gradient(circle at 5% 88%,rgba(35,190,176,.09) 0,transparent 34%),linear-gradient(145deg,#ffffff 8%,#f5f9ff 48%,#eaf3ff 100%)}.page-content-shell .section-alt{background:rgba(239,245,252,.72)}
