/* Location selection keeps the existing form layout and uses shared brand colours. */
.location-field{position:relative;gap:9px;align-self:start}.location-field input[role=combobox]{padding-inline:14px;border-radius:13px;font-size:16px;min-height:54px}.location-field:focus-within>label{color:var(--brand-primary)}.location-actions{display:flex;gap:8px;flex-wrap:wrap}.location-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--brand-line);background:var(--brand-soft);color:var(--brand-primary);border-radius:30px;min-height:44px;padding:8px 12px;font:inherit;font-size:14px;cursor:pointer;flex:1;white-space:nowrap}.location-actions button:hover{background:var(--brand-soft);border-color:var(--brand-line)}.location-actions svg,.location-option svg,.saved-location svg{height:20px;width:20px;flex:none}.location-actions .location-gps{background:white;color:#555b6d;border-color:#e4e5eb}.location-note-row{display:flex;align-items:start;gap:6px;justify-content:space-between}.location-note{font-size:13px;line-height:1.7;color:#727586}.location-note.has-point{color:#286347}.location-clear{font:inherit;font-size:12px;white-space:nowrap;background:none;border:0;color:#7d4750;cursor:pointer;min-height:28px}.location-field .location-details{border:0;margin:0;padding:0}.location-details summary{color:#535b72;font-size:14px;font-weight:400;padding:7px 0;min-height:36px}.location-details summary small{font-size:12px;color:#838798;margin-inline-start:5px}.location-details input{font-size:16px}.location-list{border:1px solid var(--brand-line);background:white;border-radius:13px;overflow:auto;max-height:260px;box-shadow:0 10px 25px #2f34570b;margin-top:-3px}.location-list[hidden],.location-clear[hidden]{display:none!important}.location-list-title{font-size:12px;line-height:1.8;color:#73798c;padding:8px 13px;background:#f8f9fc;border-bottom:1px solid #eeeef5}.location-option{display:flex;align-items:center;gap:12px;min-height:57px;padding:10px 13px;cursor:pointer;color:#646d8c}.location-option+ .location-option{border-top:1px solid #f1f2f7}.location-option[aria-selected=true],.location-option:hover{background:var(--brand-soft)}.location-option span{display:grid;gap:2px}.location-option strong{color:#303748;font-size:15px;font-weight:700}.location-option small{font-size:12px;color:#73798c;line-height:1.7}.location-no-result{font-size:14px;color:#697183;padding:12px;line-height:1.9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#location-picker{width:min(620px,calc(100% - 32px));max-height:92dvh;margin:auto;padding:0;border-radius:24px;overflow:hidden}#location-picker[open]{display:flex;flex-direction:column}#location-picker::backdrop{background:#141b3b8c;backdrop-filter:blur(5px)}.location-picker-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid #e9ebf2;background:white;flex:none}.location-picker-head span{font-size:12px;color:#778092}.location-picker-head h2{font-size:23px;line-height:1.7;margin:2px 0 0}.location-picker-head .location-cancel{font:inherit;font-size:26px;background:#f2f3f8;border:0;border-radius:50%;width:44px;height:44px;flex:none;cursor:pointer}.location-picker-body{padding:18px 22px;overflow:auto;overscroll-behavior:contain;min-height:0}.location-picker-body label{display:block;margin-bottom:8px;font-size:14px}.location-picker-body input{font-size:16px;min-height:48px}.location-map-help{font-size:14px;color:#646d80;line-height:1.9;margin:13px 0}.location-map-frame{position:relative;isolation:isolate;border-radius:16px;overflow:hidden;border:1px solid #dce1e9;direction:ltr}#location-map{height:clamp(250px,37dvh,360px);width:100%;background:#e8ecf0;font-family:inherit;cursor:grab}.location-center-pin{position:absolute;left:50%;top:50%;width:38px;height:46px;transform:translate(-50%,-100%);z-index:600;pointer-events:none;filter:drop-shadow(0 3px 3px #24305255)}.location-center-pin svg{width:100%;height:100%;stroke:#fff;fill:var(--brand-primary);stroke-width:1.5}.location-center-pin svg circle{fill:#fff;stroke:#fff}.location-locate{position:absolute;right:12px;top:12px;z-index:700;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--brand-line);border-radius:13px;background:white;color:var(--brand-primary);box-shadow:0 2px 8px #20314e20;cursor:pointer}.location-locate svg{width:25px;height:25px}.location-locate:disabled{opacity:.5}#location-map-status{font-size:14px;color:#4c6359;line-height:1.8;margin:12px 0 4px;min-height:25px}#location-map-status.location-error{color:#97492f}.location-map-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:17px;font-size:13px;line-height:1.9}.location-map-meta a{color:var(--brand-primary);text-decoration:underline;text-underline-offset:3px;min-height:36px;display:flex;align-items:center}.location-map-meta span{color:#7a8193;font-variant-numeric:tabular-nums}.location-picker-body small{font-weight:400;color:#8b91a0}.location-privacy{font-size:12px;line-height:1.9;color:#858b98;margin:12px 0 0}.location-picker-footer{display:flex;align-items:center;gap:12px;flex:none;border-top:1px solid #e8ebf4;padding:14px 22px max(14px,env(safe-area-inset-bottom));background:white}.location-picker-footer .btn{flex:1;min-height:52px;font-size:16px}.location-picker-footer .text-button{min-width:64px;min-height:44px}.saved-location{display:flex;align-items:flex-start;gap:10px;border:1px solid #e3e6f1;border-radius:13px;padding:14px;margin:12px 0;font-size:14px}.saved-location>span{color:var(--brand-primary);padding-top:4px}.saved-location>div{display:grid;gap:3px;min-width:0}.saved-location small{font-size:12px;color:#798090}.saved-location p{font-size:14px;margin:4px 0;color:#566078;overflow-wrap:anywhere}.saved-location a{color:var(--brand-primary);font-size:14px;text-decoration:underline;text-underline-offset:3px;padding:6px 0}.review-summary .saved-location{display:flex;justify-content:flex-start}.review-summary .saved-location>div{display:grid}.review-summary .saved-location strong{text-align:start}.review-summary .saved-location span{color:var(--brand-primary)}.location-data-credit{font-size:12px;color:#81899a;margin-top:14px}.location-data-credit a{color:inherit;text-decoration:underline}
/* One viewport-height dialog: form scrolls between stable header and controls. */
#modal:has(.guided-form)[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 32px)}#modal:has(.guided-form) #modal-content{display:flex;flex-direction:column;min-height:0;max-height:inherit;overflow:hidden}#modal:has(.guided-form) .modal-head{position:relative;flex:none;padding:15px 22px}#modal:has(.guided-form) .modal-body{overflow:auto;min-height:0;padding:20px 22px 0;overscroll-behavior:contain}#modal .guided-controls{bottom:0;margin-inline:-22px;padding:14px 22px max(14px,env(safe-area-inset-bottom));box-shadow:0 -6px 18px #1a285c05;z-index:4}#modal .close-button{width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#f1f2f7;padding:0;font:inherit;font-size:26px;line-height:1;cursor:pointer}.guided-form .question-step h3{font-size:24px}.guided-form .step-help{margin-bottom:17px}.guided-form .fields{row-gap:20px}
@media(max-width:600px){#modal:has(.guided-form){width:100%;max-width:100%;margin:auto 0 0;border-radius:23px 23px 0 0;padding-bottom:0;max-height:calc(100dvh - 14px)}#modal:has(.guided-form) .modal-body{padding:18px 18px 0}#modal .guided-controls{margin-inline:-18px;padding-inline:18px}.guided-form .field label{font-size:15px;margin-bottom:3px}.guided-form input,.guided-form select{font-size:16px}.location-actions{gap:7px}.location-actions button{font-size:13px;padding-inline:10px}.location-list{max-height:240px}#location-picker{width:100%;max-width:100%;max-height:calc(100dvh - 10px);margin:auto 0 0;border:0;border-radius:23px 23px 0 0}.location-picker-head{padding:14px 18px}.location-picker-body{padding:15px 18px}.location-picker-footer{padding-inline:18px}#location-map{height:clamp(235px,35dvh,320px)}.location-picker-head h2{font-size:22px}}
@media(max-width:350px){.location-actions button{padding-inline:7px;font-size:12px}.location-actions svg{width:17px;height:17px}}
.google-attribution{font-family:Arial,sans-serif;font-style:normal;font-weight:400;font-size:13px;white-space:nowrap;letter-spacing:normal;color:#5e5e5e;background:#fff;border-top:1px solid #eceef4;padding:9px 13px}.location-map-provider{font-size:12px;color:#788194;margin:10px 0}#location-place-search:empty{display:none}#location-place-search{margin:15px 0 8px}#location-place-search gmp-place-autocomplete{width:100%;color-scheme:light;font-family:inherit}
/* Departure highlights: compact routes directly below the two main choices. */
.trip-highlights{margin:30px 0 16px;background:white;border:1px solid var(--brand-line);border-radius:20px;padding:23px;text-align:right}.highlights-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.highlights-head h2{font-size:23px;margin:5px 0}.highlights-head .eyebrow{font-size:12px;color:#707990;letter-spacing:0}.add-trip-button{display:inline-flex;align-items:center;gap:8px;flex:none;background:var(--brand-primary);color:white;border:0;border-radius:99px;padding:10px 16px;min-height:46px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.add-trip-button b{font:inherit;font-size:23px;line-height:1}.highlights-help{font-size:14px;color:#7a8292;margin:8px 0 18px;line-height:1.8}.highlight-rows{display:grid;gap:10px}.highlight-row{display:flex;align-items:center;gap:14px;width:100%;text-align:right;border:1px solid #e4e7ef;border-radius:15px;padding:16px;background:#fff;font:inherit;cursor:pointer}.highlight-row:hover{background:#f8f9ff;border-color:var(--brand-line)}.highlight-truck{display:grid;place-items:center;width:49px;height:52px;border-radius:13px;background:var(--brand-soft);color:var(--brand-primary);flex:none}.highlight-truck svg{width:32px;height:32px}.highlight-content{flex:1;min-width:0;display:grid;gap:5px}.highlight-route{display:flex;align-items:center;gap:12px;font-size:18px;color:#293044}.highlight-route-line{width:30px;flex:none;height:1px;background:var(--brand-line);position:relative}.highlight-route-line:before,.highlight-route-line:after{content:'';position:absolute;width:5px;height:5px;border:1px solid var(--brand-line);background:white;border-radius:50%;top:-2px}.highlight-route-line:before{right:0}.highlight-route-line:after{left:0}.highlight-meta{font-size:12px;color:#848b9a}.highlight-time{font-size:14px;color:#4d5b79}.highlight-side{display:grid;gap:12px;text-align:left;flex:none}.highlight-soon{border-radius:20px;background:#f3f4f8;color:#69728a;font-size:12px;padding:5px 9px;white-space:nowrap}.highlight-soon.soon{background:#edf5ef;color:#347150}.highlight-view{font-size:13px;color:var(--brand-primary)}.highlights-all{display:block;margin:12px auto 0;min-height:42px;font-size:14px}.highlights-foot{font-size:12px;color:#89909d;margin:12px 0 0}.highlights-empty{border:1px dashed var(--brand-line);border-radius:14px;display:flex;align-items:center;gap:17px;padding:20px;background:#fafbfe}.highlights-empty>span{border-radius:50%;width:44px;height:44px;background:var(--brand-soft);color:#6e7aba;display:grid;place-items:center;font-size:26px;flex:none}.highlights-empty h3{font-size:17px}.highlights-empty p{font-size:13px;color:#7d8698;margin:4px 0}.highlights-empty button{padding-inline:0;font-size:14px;min-height:38px}.quick-trip-intro{font-size:16px;color:#657087;margin-bottom:16px}.saved-vehicle-card{display:flex;align-items:center;gap:10px;background:var(--brand-soft);border:1px solid #e2e7f7;border-radius:14px;padding:12px;margin-bottom:20px;flex-wrap:wrap}.saved-vehicle-card>span{font-size:13px;color:#68769a}.saved-vehicle-card select{flex:1;font-size:14px;min-width:170px;border:0;background:transparent;padding:5px;min-height:40px}.saved-vehicle-card button{font-size:12px;min-height:36px}.quick-time-options{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.quick-time-options button{border:1px solid var(--brand-line);border-radius:99px;background:white;color:#4e5c7e;font:inherit;font-size:13px;min-height:42px;padding:8px 15px;cursor:pointer}.quick-time-options button.active{background:var(--brand-soft);border-color:var(--brand-line);color:#3d52c6}.quick-save-state{font-size:12px;color:#68836e;margin-top:12px}.carrier-summary{display:flex;gap:15px;align-items:center;margin:4px 0 20px}.carrier-avatar{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:var(--brand-soft);color:var(--brand-primary);font-size:38px}.carrier-summary h3{font-size:23px}.carrier-summary p{font-size:14px;color:#6d7790;margin:4px 0}.carrier-summary small{font-size:12px;color:#9a835c}.trip-departure-detail{background:var(--brand-soft);border-radius:12px;padding:14px;font-size:18px;color:var(--brand-navy)}.trip-departure-detail small{display:block;font-size:12px;color:#8590a8;margin-top:3px}.selected-trip-note{background:var(--brand-soft);color:var(--brand-navy);border-radius:12px;padding:12px;font-size:14px;line-height:1.9}
@media(max-width:600px){.trip-highlights{margin-top:24px;padding:17px;border-radius:18px}.highlights-head h2{font-size:20px}.highlights-head .eyebrow{font-size:11px}.add-trip-button{font-size:12px;padding:9px 12px;gap:5px}.highlights-help{font-size:12px}.highlight-row{padding:14px 11px;gap:10px;flex-wrap:wrap}.highlight-truck{width:38px;height:44px}.highlight-truck svg{width:28px}.highlight-route{font-size:16px;gap:8px}.highlight-route-line{width:20px}.highlight-side{display:flex;align-items:center;justify-content:space-between;flex-basis:100%;padding-inline-start:48px;gap:8px}.highlight-meta{font-size:12px}.highlight-time{font-size:13px}.highlight-view{font-size:12px}.highlights-empty{padding:16px 12px;gap:10px}.highlights-empty>span{width:33px;height:33px}.highlights-empty h3{font-size:16px}.highlights-empty p{font-size:12px}.quick-trip-form .fields{grid-template-columns:1fr}.quick-trip-form .field label{font-size:15px}.quick-trip-form input{font-size:16px}.quick-time-options button{flex:1;padding-inline:10px}.saved-vehicle-card select{min-width:140px}.quick-trip-form .location-note{font-size:12px}}

/* Trip board: a stationary add button above a touch-scrollable list. */
.trip-highlights{padding:22px;overflow:hidden;--highlight-ink:var(--brand-navy)}
.highlights-help{color:#687286;font-size:14px;margin-bottom:14px}
.highlights-head .eyebrow{font-size:13px}.add-trip-button{font-size:14px;min-height:46px}
.highlight-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 10px;scrollbar-width:thin;scrollbar-color:var(--brand-line) transparent;max-width:100%}
.highlight-filter{display:inline-flex;align-items:center;gap:6px;flex:none;border:1px solid var(--brand-line);border-radius:99px;background:#fff;color:#5b6578;font:inherit;font-size:14px;min-height:42px;padding:7px 12px;cursor:pointer}
.highlight-filter svg{width:17px;height:17px;color:var(--state-color,var(--brand-primary))}.highlight-filter small{font-size:12px;border-radius:50%;background:#f0f2f7;min-width:21px;min-height:21px;display:grid;place-items:center}
.highlight-filter.active{border-color:var(--brand-primary);background:var(--brand-soft);color:var(--brand-primary)}.highlight-filter.active small{background:var(--brand-line);color:var(--brand-primary)}
.highlight-demo-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:6px 0 13px;font-size:12px;color:#757e90}
.highlight-demo-toggle label{display:inline-flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;font-size:14px;color:#505c74}.highlight-demo-toggle input{width:18px;height:18px;accent-color:var(--brand-primary);margin:0}
.highlight-scroll{max-height:480px;max-height:min(58dvh,520px);min-height:140px;overflow-y:auto;overflow-x:hidden;padding:2px 2px 8px 8px;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:var(--brand-line) #eff2f9;-webkit-overflow-scrolling:touch}
.highlight-scroll::-webkit-scrollbar{width:7px}.highlight-scroll::-webkit-scrollbar-track{background:#eff2f9;border-radius:8px}.highlight-scroll::-webkit-scrollbar-thumb{background:var(--brand-line);border-radius:8px}
.highlight-row{border-inline-start:3px solid var(--state-color,var(--brand-line));padding:14px;gap:12px;min-width:0}
.state-ready{--state-color:#177149;--state-bg:#e8f5ee}.state-soon{--state-color:#976000;--state-bg:#fff2cf}.state-scheduled{--state-color:#5145b8;--state-bg:#f0edff}.state-moving{--state-color:#16659c;--state-bg:#e7f3fc}.state-arrived,.state-overdue{--state-color:#586277;--state-bg:#eef0f4}
.highlight-truck{background:var(--state-bg,var(--brand-soft));color:var(--state-color,var(--brand-primary));width:44px;height:48px}.highlight-truck svg{width:27px;height:27px}
.highlight-route{align-items:center;gap:12px;font-size:18px;line-height:1.5}.highlight-route strong{display:grid;min-width:0;overflow-wrap:anywhere}.highlight-route strong small{font-size:12px;color:#7a8498;font-weight:400}.highlight-route-line{width:25px}
.highlight-meta{font-size:14px;color:#667189;line-height:1.9}.example-tag{font-size:12px;padding:1px 7px;white-space:nowrap;border:1px solid #dde1ec;border-radius:6px;color:#727d90;display:inline-block;margin-inline-start:4px}
.highlight-time{display:flex;align-items:center;gap:5px;font-size:14px;color:#445574;line-height:1.6}.highlight-time svg{width:15px;height:15px;flex:none}
.highlight-side{gap:7px;justify-items:end}.highlight-status{display:inline-flex;align-items:center;gap:6px;font-size:14px;padding:6px 10px;border-radius:99px;white-space:nowrap;background:var(--state-bg,#f0f2f7);color:var(--state-color,#586277);line-height:1.6}.highlight-status svg{width:18px;height:18px;flex:none}
.highlight-countdown{font-size:12px;color:#727d91;max-width:185px;line-height:1.7}.highlight-countdown:empty{display:none}.highlight-view{font-size:14px;color:var(--brand-primary)}
.highlights-more{display:block;width:100%;border:1px dashed var(--brand-line);background:var(--brand-soft);color:var(--brand-primary);border-radius:12px;font:inherit;font-size:14px;min-height:46px;margin-top:12px;cursor:pointer}.highlights-more[hidden]{display:none}
.highlights-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #e8ebf2;padding-top:12px;margin-top:10px;font-size:13px;color:#6b7690}.highlight-counter{color:#455674}.highlights-foot{font-size:12px;margin:9px 0 0;line-height:1.7}
.trip-highlights :is(button,input,[tabindex]):focus-visible{outline:3px solid var(--brand-focus);outline-offset:3px}
.example-detail-note{background:#f2f4fc;color:#59657d;border-radius:12px;padding:14px;font-size:15px;line-height:1.9;margin-bottom:20px}
.trip-movement-detail{margin:14px 0;padding:14px;border:1px solid #e2e6ef;border-radius:12px}.trip-movement-detail p{margin:7px 0;font-size:14px;color:#6c7790}.trip-movement-detail small{font-size:12px;color:#79839a}.trip-movement-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.trip-movement-actions button{font-size:14px;min-height:44px}
@media(max-width:600px){.trip-highlights{padding:16px 12px;border-radius:18px}.highlights-head{align-items:center;gap:6px}.highlights-head h2{font-size:20px}.highlights-head .eyebrow{font-size:12px}.add-trip-button{padding:8px 12px;font-size:14px;gap:5px}.highlights-help{font-size:14px;margin-top:9px}.highlight-scroll{max-height:440px;max-height:min(59dvh,470px);padding-inline-start:1px;padding-inline-end:5px}.highlight-row{padding:12px 10px;gap:10px}.highlight-truck{width:32px;height:42px}.highlight-truck svg{width:25px}.highlight-route{font-size:17px;gap:8px}.highlight-route-line{width:18px}.highlight-meta{font-size:14px}.highlight-time{font-size:14px}.highlight-side{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-inline-start:42px;gap:7px}.highlight-status{font-size:14px;padding:5px 8px}.highlight-countdown{flex-basis:100%;order:3;text-align:start;max-width:none}.highlight-view{font-size:14px}.highlight-demo-toggle{gap:0}.highlight-demo-toggle>span{flex-basis:100%;font-size:12px}.highlights-footer{font-size:12px}.example-tag{font-size:12px}}
@media(max-width:360px){.highlight-truck{display:none}.highlight-side{padding-inline-start:0}.highlights-head h2{font-size:18px}.add-trip-button{padding-inline:10px}.highlight-route{font-size:16px}}
