/* Interactive OR Tambo pilot planner. Loaded after the landing-page styles. */
[hidden] { display: none !important; }
.trip-planner { margin-bottom: 55px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 45px #13243b08; }
.planner-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.planner-heading .eyebrow { margin-bottom: 10px; color: var(--action); }
.planner-heading h2 { margin-bottom: 0; font-size: 35px; }
.planner-layout { display: grid; grid-template-columns: minmax(270px, .85fr) minmax(0, 1.5fr); gap: 28px; align-items: start; }
.planner-sidebar { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.planner-sidebar label { font-size: 12px; }
.planner-sidebar input, .planner-sidebar select { background: white; font-size: 13px; }
.planner-sidebar input[readonly], .quote-form input[readonly] { background: #edf2f8; color: #405775; cursor: default; }
.locked-label { display: block; margin-top: 5px; font-size: 8px; letter-spacing: 1px; color: var(--muted); font-weight: 500; }
.field-note { font-size: 11px; line-height: 1.65; color: var(--muted); margin: -3px 0 18px; }
.planner-sidebar .button { width: 100%; justify-content: space-between; padding: 15px 17px; gap: 12px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.search-row input { margin-top: 0; }
.search-row button, .map-toolbar button { background: white; border: 1px solid #c9d7e8; padding: 12px; font-size: 12px; color: var(--ink); border-radius: 5px; }
.search-row button:disabled { opacity: .6; cursor: wait; }
#place-results { margin: 10px 0; padding: 0; list-style: none; }
#place-results button { width: 100%; text-align: left; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; color: var(--ink); margin-bottom: 5px; line-height: 1.5; overflow-wrap: anywhere; }
#place-results button:hover { background: #eaf2ff; }
.planner-status { font-size: 12px; line-height: 1.6; margin: 15px 0 0; color: #4b627d; }
.planner-status.error { color: #a52937; }
#estimate-panel { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d3dfee; }
.estimate-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
#vehicle-label { color: var(--muted); font-size: 11px; line-height: 1.5; }
.fare-total { display: block; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; margin: 14px 0 7px; }
#fare-caption { font-size: 11px; color: var(--muted); }
.route-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 18px; border-block: 1px solid var(--line); }
.route-metrics strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.route-metrics span { display: block; font-size: 9px; color: var(--muted); margin-top: 7px; line-height: 1.4; }
#selected-destination { font-size: 12px; line-height: 1.6; margin-top: 17px; overflow-wrap: anywhere; }
#fare-breakdown { display: grid; grid-template-columns: 1fr auto; font-size: 11px; gap: 10px; margin-block: 20px; }
#fare-breakdown dt { color: var(--muted); }
#fare-breakdown dd { margin: 0; font-weight: 600; }
#fare-breakdown:empty { display: none; }
#fare-disclaimer { font-size: 10px; }
.gate-note { background: #fff5da; border: 1px solid #e7d7a6; padding: 12px; border-radius: 6px; color: #66512a; font-size: 11px; line-height: 1.6; }
.map-column { min-width: 0; position: sticky; top: 110px; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.map-toolbar>span { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1px; font-weight: 700; }
.map-toolbar button { padding: 9px 12px; }
.route-map { position: relative; height: 525px; border-radius: 12px; border: 1px solid #d1dfdf; background: #e5edec; overflow: hidden; isolation: isolate; }
.route-map.enabled { touch-action: none; cursor: grab; }
.route-map.enabled:active { cursor: grabbing; }
.route-map:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
#map-tiles, #map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#map-tiles img { position: absolute; max-width: none; width: 256px; height: 256px; user-select: none; }
#map-overlay { overflow: visible; }
.map-controls { position: absolute; z-index: 3; top: 16px; right: 16px; display: flex; flex-direction: column; border: 1px solid #c8d5dc; border-radius: 7px; overflow: hidden; box-shadow: 0 4px 12px #13243b15; }
.map-controls button { width: 38px; height: 38px; padding: 0; background: white; color: var(--ink); border: 0; font-size: 24px; }
.map-controls button+button { border-top: 1px solid #d4dfe8; }
.map-controls button:hover { background: #eaf2ff; }
.map-controls button:disabled { opacity: .45; }
.map-controls button:focus-visible { outline-offset: -4px; }
.map-attribution { position: absolute; z-index: 3; bottom: 0; right: 0; left: 0; text-align: right; background: #ffffffed; padding: 5px 8px; color: #304b6f; font-size: 9px; line-height: 1.5; cursor: default; }
.map-attribution a { text-decoration: underline; }
.map-centre { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #13243b; text-shadow: 0 0 2px #fff; font-size: 24px; pointer-events: none; opacity: 0; }
.route-map:focus-visible .map-centre { opacity: 1; }
#map-enable { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px; text-align: center; background: radial-gradient(ellipse at top right, #e3efff, #edf3f1 65%); }
#map-enable strong { font-size: 25px; letter-spacing: -.04em; }
#map-enable p { font-size: 13px; color: var(--muted); max-width: 280px; margin-top: 16px; }
#map-enable .button { margin-top: 10px; }
#tile-warning { position: absolute; bottom: 44px; left: 14px; right: 14px; z-index: 2; background: #fff6ddea; color: #624c25; font-size: 11px; line-height: 1.5; padding: 10px; border-radius: 6px; pointer-events: none; }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 17px; font-size: 10px; color: #546a7e; }
.map-legend>span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend b { display: inline-grid; place-items: center; height: 18px; width: 18px; color: white; border-radius: 50%; font-size: 9px; }
.origin-dot { background: var(--ink); }
.destination-dot { background: var(--action); }
.road-key::before { content: ''; width: 22px; height: 3px; background: var(--action); border-radius: 3px; }
.map-help { margin-top: 16px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.provider-notice { font-size: 10px; color: var(--muted); margin: 12px 0 0; }
.provider-notice a, .enquiry-estimate a { text-decoration: underline; }
.enquiry-estimate { font-size: 11px; color: #305f93; background: #edf4ff; border-radius: 5px; padding: 12px; overflow-wrap: anywhere; }
@media(max-width: 1050px) {
  .trip-planner { padding: 24px; }
  .planner-layout { grid-template-columns: minmax(260px, 1fr) minmax(0, 1.15fr); gap: 20px; }
  .planner-sidebar { padding: 18px; }
}
@media(max-width: 800px) {
  .planner-layout { grid-template-columns: 1fr; }
  .planner-heading h2 { font-size: 31px; }
  .map-column { position: static; }
  .route-map { height: 390px; }
  .planner-sidebar { padding: 23px; }
}
@media(max-width: 480px) {
  .trip-planner { padding: 18px; }
  .planner-heading { display: block; }
  .planner-heading>.badge { margin-top: 16px; }
  .planner-heading h2 { font-size: 29px; }
  .planner-heading .eyebrow { font-size: 8px; }
  .planner-sidebar { padding: 16px; }
  .route-map { height: 330px; }
  .map-toolbar>span { font-size: 8px; letter-spacing: .5px; }
  .map-toolbar { gap: 8px; }
  .map-toolbar button { font-size: 11px; white-space: nowrap; }
  #map-enable { padding: 25px; }
  #map-enable strong { font-size: 23px; }
}/* FleetGo editorial layout: shared planner uses the opening trip form. */
.route-details .planner-layout{padding-bottom:25px}
.route-details .planner-sidebar{background:#f1f1eb;border-radius:2px;padding:25px}
.route-details .map-column{position:static}
.route-details .route-map{border-radius:2px;height:440px}
.route-details .planner-status{margin-top:0}
.route-details #estimate-panel{border-top-color:#cbd3cf}
.route-details #map-enable{background:linear-gradient(135deg,#edf0e9,#dde5de)}
.route-details #map-enable strong{font-family:Arial,Helvetica,sans-serif;font-weight:400;letter-spacing:-.6px;font-size:28px}
.route-details .map-toolbar>span{font-size:9px}
.route-details .map-help,.route-details .provider-notice{line-height:1.65}
#gate-field .field-note,#search-field .field-note{margin:10px 0 0}
@media(max-width:560px){.route-details .route-map{height:330px}.route-details .planner-sidebar{padding:20px}.route-details #map-enable{padding:25px}}
