/* Readable controls, map-first dispatch, and a clearer transport network. */
html[data-theme=light]{--x-secondary:#394657;--x-muted:#536275;--x-blue:#0058b5;--x-green:#12623f;--x-red:#ad2638;--x-amber:#805000;--x-ai:#5532a6;--op-muted:#536275;--op-blue:#0058b5}
.operations-page .op-button.ai,.operations-page .op-button.ai:hover,.operations-page .op-button.ai:focus-visible{background:#5735ae;border-color:#5735ae;color:#fff;box-shadow:0 4px 15px #5735ae26}
.operations-page .op-button.ai:hover{background:#442583;border-color:#442583}
.operations-page .op-button.ai :is(span,strong,small,svg){color:#fff!important}
html[data-theme=light] .operations-page .op-button.primary,html[data-theme=light] .rapide-nextgen-home .button.primary{background:#005fc5;border-color:#005fc5;color:#fff}
html[data-theme=light] .operations-page .op-button.primary :is(span,strong,small,svg){color:#fff!important}
html[data-theme=light] .operations-page .op-button.secondary,html[data-theme=light] .operations-page .op-button.quiet{background:#f2f5f9;border-color:#9cabc0;color:#172d47}
html[data-theme=light] .operations-page .op-button.secondary:hover,html[data-theme=light] .operations-page .op-button.quiet:hover{background:#dceafb;border-color:#0058b5;color:#004789}
html[data-theme=light] .operations-page .op-map-hubs>button{background:#f2f6fa;border:1px solid #a4b6c8;color:#213b57;min-height:43px;font-weight:500}
html[data-theme=light] .operations-page .op-map-hubs>button strong{color:#173e64}
html[data-theme=light] .operations-page .op-map-hubs>button>i{background:#1264b1;width:7px;height:7px}
html[data-theme=light] .operations-page .op-map-hubs>button:hover,html[data-theme=light] .operations-page .op-map-hubs>button[aria-pressed=true]{background:#dcecff;border-color:#2364a3;color:#123b63}
html[data-theme=light] .operations-page .op-map-hubs>button:hover strong,html[data-theme=light] .operations-page .op-map-hubs>button[aria-pressed=true] strong{color:#123b63}
html[data-theme=light] .x-next-option>div span,html[data-theme=light] .x-candidate-list>article>div>span,html[data-theme=light] .x-facts p,html[data-theme=light] .x-order-table td>span:not(.x-tag){color:#46566a}
html[data-theme=light] .op-rich-dialog .op-button.ai span,html[data-theme=light] .x-next-option .op-button.ai span{color:white!important}
html[data-theme=light] .operations-page :is(.op-tag.blue,.x-tag.blue){background:#e2eefc;color:#064a91;border-color:#91b5dc}
html[data-theme=light] .operations-page :is(.op-tag.green,.x-tag.green){background:#dff1e7;color:#0c5b39;border-color:#95c8ab}
html[data-theme=light] .operations-page :is(.op-tag.amber,.x-tag.amber){background:#faeed3;color:#754500;border-color:#d0ab71}
html[data-theme=light] .operations-page :is(.op-tag.red,.x-tag.red){background:#fce5e8;color:#982134;border-color:#d8a2aa}
.operations-page :is(button,a,[role=button],select,input):focus-visible{outline:3px solid #2368c4!important;outline-offset:2px}

/* The map and the list refer to the same selected vehicle. */
.view-dispatch .op-content{padding:0 18px 20px}
.d-title{display:flex;align-items:center;gap:24px;min-height:63px}
.d-title>div:first-child{display:flex;align-items:baseline;gap:14px}
.d-title h1{font-size:28px;line-height:1.15;letter-spacing:-.04em;color:var(--x-text)}
.d-title>div:first-child>span{font-size:15px;color:var(--x-muted)}
.d-title>.op-button{margin-left:auto;min-height:43px}
.d-stats{display:flex;align-items:center;gap:18px;margin-left:auto}
.d-stats button{border:0;background:none;color:var(--x-secondary);font-size:15px;white-space:nowrap;padding:5px 2px}
.d-stats b{font-size:23px;color:var(--x-text);font-weight:650}
.d-stats .risk,.d-stats .risk b{color:var(--x-red)}
.d-controls{display:flex;align-items:center;gap:10px;padding-bottom:12px}
.d-controls .x-filter-bar{flex:none}
.d-controls select{font:500 15px var(--x-font);height:42px;padding:0 12px;border:1px solid #9aaec2;border-radius:10px;background:var(--x-bg);color:var(--x-text)}
.d-controls>.x-find{margin-left:auto;width:210px}
.d-network-button{height:42px;padding:0 13px;display:flex;align-items:center;gap:8px;border:1px solid #9aaec2;border-radius:10px;background:var(--x-bg);color:var(--x-text);font-size:15px;font-weight:550;white-space:nowrap}
.d-network-button>.icon{width:17px;height:17px}.d-network-button:hover{background:var(--x-blue-soft);border-color:var(--x-blue);color:var(--x-blue)}
.d-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(370px,.9fr);gap:12px;align-items:stretch}
.d-map-panel,.d-fleet-panel,.d-orders{min-width:0;border:1px solid var(--x-line);border-radius:16px;background:var(--x-bg);overflow:hidden}
.d-map-heading,.d-panel-heading{height:40px;padding:0 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--x-line)}
.d-map-heading>div:first-child{display:flex;align-items:center;gap:9px;color:var(--x-text);font-size:16px}
.d-map-heading>div:first-child>span:last-child{font-size:14px;color:var(--x-muted)}
.d-live-dot,.d-status-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#14784c}
.d-legend{display:flex;gap:14px;margin-left:auto;color:var(--x-secondary);font-size:14px}
.d-legend span{display:flex;align-items:center;gap:6px}.d-legend i,.d-order-legend i{width:8px;height:8px;border-radius:50%;background:#14784c}.d-legend i.issue{background:#bc3142}
.d-map{height:300px;min-height:0;background:linear-gradient(155deg,#f8fbff,#eaf2f8);position:relative}
html[data-theme=dark] .d-map{background:linear-gradient(145deg,#101e2d,#152d43)}
.d-map .tactical-map{width:100%;height:100%;max-height:none}
.d-map .network-hubs,.d-map .interstate-shields,.d-map .route-traveler{display:none}
.d-map .highway{opacity:.32}.d-map .highway.chosen{opacity:1}.d-map .highway.chosen .highway-line{stroke:#2165b1;stroke-width:4}.d-map .highway.chosen .highway-shadow{stroke-width:7}
.d-map-marker{cursor:pointer;outline:none}.d-map-marker .d-marker-leader{stroke:#486a86;stroke-width:2;fill:none}.d-map-marker .d-marker-anchor{fill:#214e71;stroke:#fff;stroke-width:1.5}
.d-map-marker rect{fill:#fff;stroke:#6086aa;stroke-width:2;filter:drop-shadow(0 3px 4px #182e4a33)}
.d-map-marker circle{fill:#13734a}.d-map-marker text{fill:#173653;font:700 21px -apple-system,BlinkMacSystemFont,sans-serif;pointer-events:none}
.d-map-marker.risk rect{fill:#fff1f1;stroke:#b52c40}.d-map-marker.risk circle{fill:#b52c40}.d-map-marker.risk text{fill:#8c1c2d}
.d-map-marker.selected rect{fill:#0759a8;stroke:#063d79;stroke-width:3}.d-map-marker.selected text{fill:#fff}.d-map-marker.selected circle{fill:#fff}.d-map-marker:hover rect,.d-map-marker:focus-visible rect{stroke:#0058b5;stroke-width:4}
html[data-theme=dark] .d-map-marker rect{fill:#193653;stroke:#8bb7e0}html[data-theme=dark] .d-map-marker text{fill:#fff}html[data-theme=dark] .d-map-marker.risk rect{fill:#672e3a;stroke:#ffa5ab}html[data-theme=dark] .d-map-marker.risk text{fill:#fff}html[data-theme=dark] .d-map-marker.selected rect{fill:#b7d8ff;stroke:#fff}html[data-theme=dark] .d-map-marker.selected text{fill:#112f50}
.d-map-focus{min-height:76px;display:flex;align-items:center;gap:15px;padding:12px 16px;border-top:1px solid var(--x-line)}
.d-focus-id{display:grid;grid-template-columns:8px auto;align-items:center;gap:2px 8px;min-width:95px}.d-focus-id strong{font-size:18px;color:var(--x-text)}.d-focus-id small{grid-column:2;font-size:13px;color:var(--x-secondary);white-space:nowrap}
.d-status-dot.red{background:#b52c40}.d-status-dot.green{background:#13734a}.d-status-dot.muted{background:#66798b}
.d-focus-stage{border-radius:6px;background:var(--x-blue-soft);color:var(--x-blue);font-size:14px;font-weight:600;padding:5px 8px;white-space:nowrap}
.d-focus-stop,.d-focus-time{display:flex;flex-direction:column;gap:4px;min-width:0}.d-focus-stop small,.d-focus-time small{font-size:13px;color:var(--x-secondary);white-space:nowrap}.d-focus-stop strong,.d-focus-time strong{font-size:16px;color:var(--x-text);white-space:nowrap}.d-focus-time em{font-size:12px;font-style:normal;color:var(--x-secondary)}
.d-focus-actions{display:flex;gap:7px;margin-left:auto}.d-focus-actions .op-button{min-height:40px!important;font-size:14px!important;padding:8px 11px}.d-focus-actions .op-button>.icon{width:15px}
.d-map-empty{padding:22px;color:var(--x-secondary)}
.d-panel-heading h2,.d-orders-heading h2{font-size:17px;color:var(--x-text);font-weight:650}.d-panel-heading>span{font-size:14px;color:var(--x-secondary)}
.d-panel-heading>button,.d-orders-heading>button{display:flex;align-items:center;gap:4px;background:none;border:0;color:var(--x-blue);font-size:14px;font-weight:600;margin-left:auto}.d-panel-heading>button>.icon,.d-orders-heading>button>.icon{width:15px}
.d-fleet-head,.d-truck-row{display:grid;grid-template-columns:minmax(135px,1.2fr) minmax(115px,1fr) minmax(75px,.7fr) 30px;gap:7px;align-items:center;padding:0 12px}
.d-fleet-head{height:28px;background:var(--x-surface);color:var(--x-secondary);font-size:13px;border-bottom:1px solid var(--x-line)}
.d-fleet-list{max-height:360px;overflow:auto;scrollbar-width:thin}
.d-truck-row{min-height:30px;border-bottom:1px solid var(--x-line);cursor:pointer;color:var(--x-text);font-size:14px;transition:background .15s}
.d-truck-row:hover,.d-truck-row.active{background:var(--x-blue-soft)}.d-truck-row.active{box-shadow:inset 3px 0 var(--x-blue)}
.d-truck-row.match{background:var(--x-green-soft)}.d-truck-row.no-match{opacity:.65}
.d-row-id{display:flex;gap:6px;align-items:center;min-width:0;white-space:nowrap}.d-row-id strong{font-size:15px;font-weight:650}.d-row-id small{font-size:13px;color:var(--x-secondary);overflow:hidden;text-overflow:ellipsis}
.d-row-city{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--x-secondary)}.d-row-eta{font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.d-truck-row.red .d-row-eta,.d-row-eta small{color:var(--x-red)}.d-row-eta small{font-size:12px}
.d-truck-row>button{display:grid;place-items:center;width:25px;height:25px;border:1px solid #9aabc0;border-radius:8px;background:var(--x-bg);color:var(--x-blue)}.d-truck-row>button:hover{background:var(--x-blue-soft);border-color:var(--x-blue)}.d-truck-row>button>.icon{width:14px;height:14px}
.d-orders{margin-top:12px;padding:11px 14px 13px}.d-orders-heading{display:flex;align-items:center;gap:15px;margin-bottom:10px}.d-orders-heading h2 b{font-size:15px;color:var(--x-secondary);font-weight:500;margin-left:4px}
.d-order-legend{display:flex;gap:13px;color:var(--x-secondary);font-size:13px}.d-order-legend span{display:flex;align-items:center;gap:5px}.d-order-legend .blue{background:#1662ad}.d-order-legend .amber{background:#98610d}.d-order-legend .green{background:#13734a}
.d-orders-heading .x-find{margin-left:auto;min-height:35px;padding:5px 9px;width:155px}.d-orders-heading .x-find input{font-size:14px}.d-orders-heading>button{margin-left:0;white-space:nowrap}
.d-selected{display:flex;align-items:center;gap:6px;color:var(--x-blue);font-size:14px;font-weight:650}.d-selected button{border:0;background:none;color:inherit;display:grid;place-items:center}.d-selected .icon{width:14px;height:14px}
.d-po-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px}.d-po{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0;min-height:31px;padding:3px 5px 3px 8px;border:1px solid #c1cedd;border-left:3px solid #2667a9;border-radius:7px;background:var(--x-surface);color:var(--x-text);cursor:grab;touch-action:none;user-select:none}.d-po.amber{border-left-color:#98610d}.d-po.green{border-left-color:#13734a}.d-po.selected,.d-po:hover{background:var(--x-blue-soft);border-color:var(--x-blue)}.d-po strong{font-size:13px;white-space:nowrap;font-weight:600}.d-po button{display:grid;place-items:center;flex:none;width:23px;height:23px;border:0;border-radius:5px;background:transparent;color:var(--x-blue)}.d-po button:hover{background:var(--x-bg)}.d-po button>.icon{width:13px;height:13px}.drag-ghost.d-po{width:120px!important;box-shadow:var(--x-shadow)}

/* Direct lanes: each count belongs to the line it labels. */
.n-network{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:20px;margin:0 0 22px;padding:18px;border:1px solid var(--x-line);border-radius:16px;background:var(--x-bg)}
.n-network-map{height:310px;min-height:0;border-radius:12px;background:linear-gradient(155deg,#f8fbff,#eaf2f8)}html[data-theme=dark] .n-network-map{background:linear-gradient(145deg,#101e2d,#152d43)}
.n-lanes{min-width:0}.n-lanes-heading{display:flex;align-items:center;justify-content:space-between;height:34px;color:var(--x-text);font-size:17px}.n-lanes-heading button{background:none;border:0;color:var(--x-blue);font-weight:600;font-size:14px}
.n-lane{width:100%;height:43px;display:grid;grid-template-columns:minmax(120px,1fr) 58px minmax(64px,.65fr) 16px;align-items:center;gap:10px;padding:0 9px;border:0;border-bottom:1px solid var(--x-line);background:none;text-align:left;color:var(--x-text);border-radius:7px}
.n-lane:hover,.n-lane.selected{background:var(--x-blue-soft)}.n-lane-code{display:flex;align-items:center;gap:8px;font-size:15px}.n-lane-code b{min-width:33px;font-weight:650}.n-lane-code i{width:20px;height:2px;background:var(--x-blue);position:relative}.n-lane-code i:after{content:'';position:absolute;right:0;top:-3px;border-left:5px solid var(--x-blue);border-top:4px solid transparent;border-bottom:4px solid transparent}
.n-lane-count{font-size:19px;font-weight:650;white-space:nowrap}.n-lane-count small{font-size:12px;color:var(--x-secondary)}.n-lane-risk,.n-lane-ok{font-size:13px;color:var(--x-green);white-space:nowrap}.n-lane-risk{color:var(--x-red);font-weight:650}.n-lane>.icon{width:15px;color:var(--x-blue)}
@media(max-width:1250px){.d-workspace{grid-template-columns:minmax(0,1fr) minmax(350px,.85fr)}.d-map-focus{gap:9px}.d-focus-stop{display:none}.d-po-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.d-title>div:first-child>span{display:none}}
@media(max-width:850px){.d-title{flex-wrap:wrap;padding:16px 0 10px;gap:10px}.d-title h1{font-size:27px}.d-stats{order:3;width:100%;margin:0;justify-content:space-between}.d-title>.op-button{margin-left:auto}.d-controls{flex-wrap:wrap}.d-controls .x-filter-bar{flex:1}.d-controls>.x-find{margin-left:0;flex:1;min-width:160px}.d-workspace{grid-template-columns:1fr}.d-map{height:350px}.d-fleet-list{max-height:none}.d-po-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.n-network{grid-template-columns:1fr}.n-network-map{height:300px}.d-orders-heading{flex-wrap:wrap}.d-order-legend{order:3;width:100%}}
@media(max-width:600px){.view-dispatch .op-content{padding:0 13px 20px}.d-stats{gap:6px}.d-stats button{font-size:13px}.d-stats b{font-size:21px}.d-controls>.x-filter-bar{width:100%;flex-basis:100%}.d-controls .x-filter-bar button{flex:1;padding-inline:5px}.d-controls>.x-find{order:4;width:100%}.d-network-button{margin-left:auto}.d-map{height:280px}.d-map-heading{padding-inline:12px}.d-map-focus{flex-wrap:wrap;padding:12px}.d-focus-id{min-width:108px}.d-focus-stop{display:none}.d-focus-time{margin-left:auto}.d-focus-actions{width:100%;margin-left:0}.d-focus-actions .op-button{flex:1;justify-content:center}.d-fleet-head,.d-truck-row{grid-template-columns:minmax(125px,1.2fr) minmax(100px,1fr) minmax(63px,.7fr) 28px;padding-inline:8px;gap:4px}.d-row-id small{font-size:12px}.d-row-city,.d-row-eta{font-size:13px}.d-po-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.d-orders-heading .x-find{width:135px}.d-orders-heading>button{font-size:13px}.n-network{padding:12px;gap:10px}.n-network-map{height:260px}.n-lane{grid-template-columns:minmax(100px,1fr) 50px 65px 15px;gap:4px}.n-lane-code{font-size:14px}.n-lane-count{font-size:17px}}
@media(prefers-reduced-motion:reduce){.d-truck-row{transition:none}}
/* Light-mode controls use explicit pairs instead of inherited legacy colors. */
html[data-theme=light] .operations-page .op-patterns>button{background:#f3f6fa;border-color:#a4b5c8;color:#173550}
html[data-theme=light] .operations-page .op-patterns>button:hover{background:#e8f1fb;border-color:#3772ac}
html[data-theme=light] .operations-page .op-patterns>button[aria-pressed=true]{background:#dcecff;border-color:#2364a3;color:#123b63}
html[data-theme=light] .operations-page .op-patterns>button strong{color:#004d9a}
html[data-theme=light] .operations-page .op-patterns>button small{color:#405770}
html[data-theme=light] .operations-page .op-truck-switch>button{background:#eef3f8;border-color:#a3b4c6;color:#25415d}
html[data-theme=light] .operations-page .op-truck-switch>button:hover,html[data-theme=light] .operations-page .op-truck-switch>button[aria-pressed=true]{background:#dcecff;border-color:#2364a3;color:#123b63}
html[data-theme=light] .operations-page .op-truck-switch>button small{color:#405770}
html[data-theme=light] .operations-page .op-yard-steps>div{color:#39546e}
html[data-theme=light] .operations-page .op-yard-steps>div>span{background:#e6eff9;border-color:#819fbd;color:#254e75}
html[data-theme=light] .operations-page .op-yard-steps>div>small{color:#435d76}
html[data-theme=light] .operations-page .op-yard-steps .complete,html[data-theme=light] .operations-page .op-yard-steps .complete>small{color:#205e42}
html[data-theme=light] .operations-page .op-phone-brand>span{background:#1d3653;color:#fff}

/* Home testimonials and the dark map overlay retain readable contrast in daylight. */
html[data-theme=light] .rapide-nextgen-home .quotes{border-color:#c5ced8}
html[data-theme=light] .rapide-nextgen-home .quotes blockquote{color:#34465a;font-size:19px;line-height:1.8}
html[data-theme=light] .rapide-nextgen-home .quotes figcaption{color:#34465a;font-size:16px}
html[data-theme=light] .rapide-nextgen-home .quote-avatar{background:#173653;color:#fff}
html[data-theme=light] .rapide-nextgen-home .quote-mark{color:#8a4f1a}
.hero-experience .mission-cities>span{font-size:15px;white-space:nowrap}
.hero-experience .mission-cities small{color:#bed4e9;font-size:12px;white-space:nowrap}
.hero-experience .mission-badge{color:#c4d9ee}
.d-map-marker.muted circle{fill:#66798b}
html[data-theme=light] .rapide-nextgen-home .about-details p,html[data-theme=light] .rapide-nextgen-home .faq-list details>p{color:#34465a;font-size:19px;line-height:1.8}
html[data-theme=light] .rapide-nextgen-home .about-heading h2>span,html[data-theme=light] .rapide-nextgen-home .faq-inner h2>span{color:#536275}
html[data-theme=light] .rapide-nextgen-home .signature,html[data-theme=light] .rapide-nextgen-home .signature small{color:#536275}
@media (min-width:851px) and (max-width:1250px){.d-map-focus{flex-wrap:wrap}.d-focus-stop{display:flex}.d-focus-actions{margin-left:auto}}
@media (max-width:850px){.d-focus-stop{display:flex}}
@media (max-width:600px){
  .d-map-heading{gap:6px}.d-map-heading>div:first-child{gap:5px;font-size:14px;white-space:nowrap}.d-map-heading>div:first-child>span:last-child{font-size:12px}.d-legend{gap:8px;font-size:12px;white-space:nowrap}
  .d-map-focus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.d-focus-stage{justify-self:start}.d-focus-stop{display:flex}.d-focus-time{margin:0}.d-focus-actions{grid-column:1/-1}
}

/* Contact actions: set the child type explicitly; legacy rules used 7–9px. */
.rapide-nextgen-home .contact-launch{display:flex;align-items:center;gap:14px;width:auto;min-width:255px;min-height:64px;padding:16px 22px;border:1px solid transparent;border-radius:18px;transition:transform .18s,box-shadow .18s,background .18s}
.rapide-nextgen-home .contact-launch>span{font:600 19px/1.3 var(--x-font);letter-spacing:0;color:inherit;white-space:nowrap}
.rapide-nextgen-home .contact-launch>.icon:first-child{width:23px;height:23px;color:inherit}
.rapide-nextgen-home .contact-launch>.icon:last-child{width:19px;height:19px;color:inherit}
.rapide-nextgen-home .contact-launch:hover{transform:translateY(-2px);box-shadow:0 8px 24px #005fc530}
.rapide-nextgen-home .contact-action-grid>a>span,.rapide-nextgen-home .contact-action-grid>button>span:not(:last-child){font:500 15px/1.4 var(--x-font);letter-spacing:0;color:var(--x-secondary)}
.rapide-nextgen-home .contact-action-grid strong{font:600 19px/1.4 var(--x-font);letter-spacing:0;color:var(--x-text);overflow-wrap:anywhere}
.rapide-nextgen-home .contact-action-grid>a>.icon,.rapide-nextgen-home .contact-action-grid>button>.icon,.rapide-nextgen-home .contact-action-grid>a>.icon:last-child,.rapide-nextgen-home .contact-action-grid>button>span:last-child{color:var(--x-blue)}
.rapide-nextgen-home .contact-action-grid :is(a,button):focus-visible,.rapide-nextgen-home .contact-launch:focus-visible{outline:3px solid #2368c4;outline-offset:4px}
html[data-theme=light] .rapide-nextgen-home .contact-launch{background:#005fc5;color:#fff}
html[data-theme=dark] .rapide-nextgen-home .contact-launch{background:#b7d8ff;color:#102d50}

/* A route-based order board: status is written as well as color-coded. */
.d-orders{padding:15px 16px 16px}
.d-orders-heading{margin-bottom:12px}.d-orders-heading h2{font-size:19px}.d-orders-heading h2 b{font-size:14px}
.d-orders-heading .x-find{width:215px;min-height:40px}.d-orders-heading .x-find input{min-width:0}
.d-po-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
.d-po-filters button{display:flex;align-items:center;gap:7px;min-height:36px;padding:6px 11px;border:1px solid var(--x-line);border-radius:9px;background:var(--x-surface);color:var(--x-secondary);font:550 14px/1 var(--x-font);cursor:pointer}
.d-po-filters button b{font-size:13px;color:inherit}.d-po-filters button:hover,.d-po-filters button[aria-pressed=true]{background:var(--x-blue-soft);border-color:var(--x-blue);color:var(--x-blue)}
.d-lanes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.d-lane{min-width:0;border:1px solid var(--x-line);border-radius:11px;overflow:hidden;background:var(--x-surface)}
.d-lane-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:40px;padding:0 10px;border-bottom:1px solid var(--x-line);color:var(--x-text)}
.d-lane-heading strong{font-size:15px;letter-spacing:.01em;white-space:nowrap}.d-lane-heading strong span{color:var(--x-blue)}.d-lane-heading small{font-size:12px;color:var(--x-secondary);white-space:nowrap}
.d-lane-orders{padding:4px}
.d-po{display:grid;grid-template-columns:minmax(0,1fr) auto 26px;align-items:center;gap:4px;min-height:46px;margin:3px 0;padding:5px 3px 5px 8px;border:1px solid transparent;border-left:3px solid #59718a;border-radius:8px;background:var(--x-bg);color:var(--x-text);cursor:grab;touch-action:none;user-select:none}
.d-po:hover,.d-po.selected{background:var(--x-blue-soft);border-color:var(--x-blue);box-shadow:0 2px 8px #0c4d8c1a}.d-po.selected{outline:2px solid var(--x-blue);outline-offset:-2px}
.d-po-main{min-width:0;display:flex;flex-direction:column;gap:2px}.d-po-main strong{font-size:14px;line-height:1.2;font-weight:700;white-space:nowrap}.d-po-main>small{display:flex;align-items:center;gap:5px;color:var(--x-secondary);font-size:12px;line-height:1.2;white-space:nowrap}.d-po-main i{width:7px;height:7px;flex:none;border-radius:50%;background:#59718a}
.d-po-qty{font-size:14px;font-weight:650;color:var(--x-text);white-space:nowrap}.d-po-qty small{font-size:10px;color:var(--x-secondary);font-weight:500}
.d-po.ready{border-left-color:#98610d}.d-po.ready .d-po-main i{background:#98610d}.d-po.risk{border-left-color:#b52c40}.d-po.risk .d-po-main i{background:#b52c40}.d-po.risk .d-po-main>small{color:var(--x-red)}.d-po.delivered{border-left-color:#13734a}.d-po.delivered .d-po-main i{background:#13734a}.d-po.active,.d-po.planned,.d-po.reserved{border-left-color:#2163a4}.d-po.active .d-po-main i,.d-po.planned .d-po-main i,.d-po.reserved .d-po-main i{background:#2163a4}
.d-po button{width:26px;height:30px;color:var(--x-blue)}.d-po button>.icon{width:15px;height:15px}.d-po-empty{grid-column:1/-1;padding:22px;color:var(--x-secondary);font-size:16px}
@media(max-width:1250px){.d-lanes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.rapide-nextgen-home .contact-launch{width:100%;max-width:310px;margin-top:30px}.d-orders{padding:13px}.d-orders-heading .x-find{width:100%;order:3}.d-po-filters{gap:5px}.d-po-filters button{font-size:13px;min-height:38px}.d-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.d-lane-heading{padding:0 7px}.d-lane-heading strong{font-size:14px}.d-po{grid-template-columns:minmax(0,1fr) auto 23px;padding-left:5px;gap:2px}.d-po-main strong{font-size:13px}.d-po-main>small{font-size:11px}.d-po-qty{font-size:12px}.d-po-qty small{font-size:9px}.d-po button{width:23px}}
.rapide-nextgen-home .site-footer .brand-light{color:var(--x-blue)}
.rapide-nextgen-home .site-footer .brand small{color:var(--x-secondary);font-size:10px}
.rapide-nextgen-home .back-to-top{color:var(--x-blue);font-size:15px;font-weight:550}
/* Unmatched vehicles stay legible while matching rows receive the green highlight. */
.d-truck-row.no-match{opacity:1}
.rapide-nextgen-home .product-reference-section .section-intro,.rapide-nextgen-home .service-item>p,.rapide-nextgen-home .source-technology-grid details>p{color:var(--x-secondary);font-size:18px;line-height:1.8}
.rapide-nextgen-home .service-item h3{color:var(--x-text);font-size:21px}
.rapide-nextgen-home .service-number{color:var(--x-secondary);font-size:14px}
.rapide-nextgen-home .source-technology-grid summary{color:var(--x-text);font-size:19px}
.rapide-nextgen-home .source-technology-grid .inline-link{color:var(--x-blue);font-size:16px}
@media(max-width:600px){
  .view-dispatch .op-shell,.view-dispatch .op-layout,.view-dispatch .op-sidebar,.view-dispatch .op-content{width:100%;max-width:100%;min-width:0}
  .view-dispatch .op-sidebar nav{max-width:100%}
  .view-dispatch .d-controls,.view-dispatch .d-orders,.view-dispatch .d-lanes{max-width:100%;min-width:0}
}
/* On phones, give each order enough room to read and tap. */
@media(max-width:600px){
  .d-lanes{grid-template-columns:minmax(0,1fr)}
  .d-lane-heading{padding:0 12px}.d-lane-heading strong{font-size:15px}.d-lane-heading small{font-size:13px}
  .d-po{grid-template-columns:minmax(0,1fr) auto 34px;min-height:50px;padding:6px 5px 6px 10px;gap:10px}
  .d-po-main strong{font-size:15px}.d-po-main>small{font-size:13px}.d-po-qty{font-size:15px}.d-po-qty small{font-size:12px}.d-po button{width:34px;height:36px}
  .d-fleet-head,.d-truck-row{grid-template-columns:minmax(105px,1.2fr) minmax(75px,1fr) minmax(75px,.85fr) 27px;gap:4px}
}
