.driver-live-panel{background:#fff;border:1px solid #d9e3de;border-radius:15px;padding:22px;color:#173f36}.driver-live-heading{display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.driver-live-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0 0 8px}.driver-live-heading p,.driver-live-note{color:#59736b;font-size:13px;line-height:1.6}.driver-live-filters{display:flex;gap:12px;align-items:end;margin:16px 0}.driver-live-filters label{display:grid;gap:5px;flex:1;font-size:12px;min-width:0}.driver-live-filters select,.driver-live-filters input{border:1px solid #c9d9d1;background:#fff;color:#173f36;border-radius:7px;padding:9px;min-height:40px;width:100%;font:inherit}.driver-live-status{font-size:12px;color:#59736b;min-height:20px}.driver-live-canvas{height:440px;background:#f0f4f1;border:1px solid #d9e3de;border-radius:10px;overflow:hidden}.driver-live-legend{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px;padding:12px 0}.driver-live-legend span{display:flex;align-items:center;gap:6px}.driver-live-legend i{width:9px;height:9px;display:inline-block;border-radius:50%}.driver-live-legend .is-free{background:#277553}.driver-live-legend .is-enroute{background:#b98a22}.driver-live-legend .is-pob{background:#a9483d}.driver-live-list{display:grid;gap:8px;max-height:340px;overflow:auto}.driver-live-row{border:1px solid #e0e7e2;border-radius:8px;background:#fff;color:inherit;display:flex;justify-content:space-between;gap:16px;text-align:left;padding:13px;cursor:pointer;font:inherit;width:100%}.driver-live-row:hover,.driver-live-row.is-selected{background:#f0f5f0;border-color:#b3954b}.driver-live-row>span{display:grid;gap:5px}.driver-live-row small{font-size:12px;color:#59736b}.driver-live-badge{font-size:11px;font-weight:500}.driver-live-badge.is-free{color:#277553}.driver-live-badge.is-pob{color:#97493e}.driver-live-badge.is-enroute{color:#966c17}.driver-live-detail{background:#f5f6ef;border-radius:8px;padding:16px;margin:8px 0 14px}.driver-live-detail h3{margin:0 0 12px}.driver-live-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.driver-live-detail dt{font-size:11px;color:#60776e;margin:0 0 4px}.driver-live-detail dd{margin:0;font-size:13px;overflow-wrap:anywhere}.driver-live-detail p,.driver-live-empty{font-size:13px;line-height:1.6}.tf-admin-new-layout{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(480px,1.2fr);gap:24px;align-items:start}.tf-admin-new-layout>.driver-live-slot{position:sticky;top:90px}.tf-admin-new-layout .driver-live-canvas{height:360px}.tf-admin-new-layout .tf-single{max-width:none;margin:0}.tf-admin-new-layout .tf-layout{display:block}.tf-admin-new-layout .tf-summary{margin-top:18px}.tf-dispatch-mode{border:1px solid #d9e3de;border-radius:10px;padding:16px;background:#fff;margin:0 0 20px;display:grid;gap:8px}.tf-dispatch-mode label{font-size:13px;font-weight:600}.tf-dispatch-mode select{padding:10px;border:1px solid #c9d9d1;border-radius:7px;background:white;color:#173f36}.tf-dispatch-mode p{font-size:12px;color:#59736b;margin:0;line-height:1.5}.v016-driver-vehicles{display:grid;gap:10px}.v016-driver-vehicle{border:1px solid #d9e3de;border-radius:8px;padding:12px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}.v016-driver-vehicle small{display:block;color:#59736b;margin-top:4px}.driver-shift-panel{border:1px solid #c9d9d1;background:#f0f5ef;border-radius:12px;padding:20px;margin:0 0 20px}.driver-shift-panel label{display:grid;gap:6px;margin:10px 0}.driver-shift-panel select,.driver-shift-panel input{padding:10px;border-radius:6px;border:1px solid #c9d9d1;background:white;color:#173f36}.driver-shift-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.retreat-brand-image{display:block;width:100%;height:auto;object-fit:contain}.sidebar .brand{display:block;padding:14px 14px 8px;height:auto}.sidebar .retreat-brand-image{max-height:145px}.login-brand .retreat-brand-image{max-width:310px;max-height:220px}.tf-brand-logo{width:190px;height:auto;object-fit:contain}.driver-live-panel [hidden]{display:none!important}@media(max-width:1180px){.tf-admin-new-layout{grid-template-columns:1fr}.tf-admin-new-layout>.driver-live-slot{position:static}.tf-admin-new-layout .driver-live-canvas{height:300px}}@media(max-width:620px){.driver-live-panel{padding:15px}.driver-live-heading{display:block}.driver-live-filters{flex-wrap:wrap}.driver-live-filters label{flex:1 1 180px;min-width:0}.driver-live-canvas{height:330px}.driver-live-detail dl{grid-template-columns:1fr}.driver-live-row{gap:8px}.driver-shift-fields{grid-template-columns:1fr}.sidebar .retreat-brand-image{max-height:120px}}

.driver-live-panel,.driver-shift-panel,.tf-dispatch-mode,.v016-driver-vehicle{min-width:0;max-width:100%;overflow-wrap:anywhere}
.driver-live-heading,.v016-driver-vehicle{flex-wrap:wrap}
.driver-live-heading>*,.driver-live-filters>*,.driver-live-row>*,.driver-shift-fields>*,.v016-driver-vehicle>*{min-width:0;max-width:100%}
.driver-live-legend>span{min-width:0;max-width:100%}
.driver-shift-panel input,.driver-shift-panel select,.tf-dispatch-mode select{min-width:0;max-width:100%;box-sizing:border-box}
.booking-route-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}.booking-route-summary div{min-width:0}.booking-route-summary dt{font-size:12px;color:#61736d}.booking-route-summary dd{margin:5px 0 0;font-weight:600}.booking-route-panel [data-journey-city]{margin:0 0 12px;color:#61736d;font-size:13px}.booking-route-panel [data-journey-driver-list]{max-height:250px;overflow-y:auto;overscroll-behavior:contain}.booking-route-panel .driver-live-canvas{min-height:300px;max-height:48dvh}

/* Route controls are shared by the public and office booking maps. */
.booking-route-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0}
.booking-route-controls>.tf-button{min-height:44px;white-space:normal;overflow-wrap:normal}
.booking-route-panel .booking-route-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.booking-route-panel .booking-route-summary dd{font-variant-numeric:tabular-nums}
@media(max-width:620px){.booking-route-panel .driver-live-heading{display:flex;gap:8px}.booking-route-controls{width:100%;margin-bottom:12px}.booking-route-controls>.tf-button{flex:1;min-width:0}}
