.home-plate-heading{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:.45rem;margin-block-end:.35rem}
.home-plate-heading button{border:1px solid #bfd2e2;border-radius:6px;background:#edf5fb;color:#174e89;padding:.15rem .45rem;font:inherit;font-size:.75rem;font-weight:750;line-height:1.25;cursor:pointer}
#homePlateFormat{width:100%;margin-block-end:.35rem}
#homePlateFormat[hidden],.home-plate [hidden]{display:none!important}
.home-plate{--plate-bg:#fff;--plate-ink:#171d24;display:flex;align-items:stretch;overflow:hidden;min-width:0;border:1px solid #7b8998;border-radius:9px;background:var(--plate-bg);color:var(--plate-ink);min-height:50px;margin-block-end:.35rem}
.home-plate[data-tone=red]{--plate-bg:#a41e2b;--plate-ink:#fff}
.home-plate[data-tone=green]{--plate-bg:#136047;--plate-ink:#fff}
.home-plate[data-tone=sand]{--plate-bg:#e0ceaa}
.home-plate[data-tone=yellow]{--plate-bg:#ffd451}
.home-plate[data-tone=blue]{--plate-bg:#24558e;--plate-ink:#fff}
.home-plate[data-format=historic]{--plate-bg:#6a4536;--plate-ink:#fff}
.home-plate-band{flex:0 0 clamp(34px,15%,44px);background:#12365a;color:#fff;display:grid;place-content:center;justify-items:center;gap:4px;line-height:1}
.home-plate-band i{display:block;width:17px;height:10px;background:linear-gradient(#25854a 33%,#fff 33% 66%,#c23941 66%)}
.home-plate-band small{font:700 7px/1 Arial;text-align:center}
.home-plate-national{flex:1;min-width:0;display:grid;grid-template-columns:1fr minmax(46px,1.15fr) 1.3fr 1fr;align-items:stretch}
.home-plate input,.home-plate select{box-sizing:border-box;min-width:0;width:100%;height:auto;padding:0 2px;border:0;border-radius:0;background:transparent;color:inherit;text-align:center;font-family:inherit;font-size:var(--hero-value-size);font-weight:800;line-height:1.3}
.home-plate input::placeholder{color:currentColor;opacity:.6}
#homePlateLetter{appearance:none;-webkit-appearance:none;text-align:center;text-align-last:center;padding-inline:0;background-image:none}
.home-plate select option{background:#fff;color:#172633}
.home-plate input:focus-visible,.home-plate select:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.home-plate-code{border-inline-start:1px solid color-mix(in srgb,currentColor 34%,transparent);background:color-mix(in srgb,currentColor 5%,transparent);display:grid;place-items:center;grid-template-rows:auto 1fr}
.home-plate-code span{font-size:.7rem;font-weight:750}
.home-plate-special{flex:1;min-width:0;display:grid;align-items:stretch}
.home-plate[data-format=motorcycle]{width:min(100%,180px);min-height:75px}

.hero #journeyStartVehicleRow .journey-hero-vehicle-combo[hidden]{display:none!important}
.hero .quote-form{--hero-field-outline:#7b8998;--hero-field-radius:10px;--hero-value-size:clamp(.95rem,2vw,1.25rem)}
.hero .home-plate{min-height:56px;margin-block-end:0;border-color:var(--hero-field-outline);border-radius:var(--hero-field-radius);box-sizing:border-box}
.hero #journeyCityFields .inputbox{background:#fff;border:1px solid var(--hero-field-outline);border-radius:var(--hero-field-radius);box-sizing:border-box}
.hero #journeyCityFields .inputbox:focus-within,.hero .home-plate:focus-within{border-color:#174e89;box-shadow:0 0 0 2px #174e8926}
.hero .home-plate-heading,.hero #journeyCityFields>span{font-family:inherit;font-size:.875rem;font-weight:750;line-height:1.5;color:#172633}
.hero .home-plate-heading button:hover,.hero .home-plate-heading button[aria-expanded=true]{background:#dcecf8;border-color:#9bbbd3}
.hero #journeyCityFields .inputbox{overflow:hidden;box-shadow:0 2px 5px #172b4314}
.hero #journeyCityFields .pin{color:#174e89}
.hero #journeyCityFields #cityInput:not(:placeholder-shown){font-family:inherit;font-size:var(--hero-value-size);font-weight:800;line-height:1.3;color:#171d24;text-overflow:ellipsis}

.hero .home-plate{box-shadow:0 2px 5px #172b4314,inset 0 1px #ffffff45}
.hero .home-plate input::placeholder{opacity:.74}

/* Keep the alternate-format picker anchored to the plate control rather than
   inserting a new grid row when the picker opens. */
.hero #journeyStartVehicleRow{position:relative;isolation:isolate}
.hero #homePlateFormat:not([hidden]){position:absolute;z-index:12;top:calc(100% + 6px);inset-inline:0;box-sizing:border-box;width:100%;margin:0;min-height:42px;border:1px solid #9bbbd3;border-radius:9px;background:#fff;color:#172633;box-shadow:0 10px 24px #172b4326}

/* Guidance without changing plate dimensions or layout. */
 .home-plate{--plate-guide:#1765b8;--plate-guide-fill:#e2efff}
.home-plate[data-tone=blue],.home-plate[data-tone=red],.home-plate[data-tone=green]{--plate-guide:#fff;--plate-guide-fill:color-mix(in srgb,var(--plate-bg) 76%,white)}
.home-plate[data-tone=yellow],.home-plate[data-tone=sand]{--plate-guide:#172633;--plate-guide-fill:color-mix(in srgb,var(--plate-bg) 65%,white)}
.home-plate [data-plate-next]{background:var(--plate-guide-fill);box-shadow:inset 0 -4px var(--plate-guide);}
.home-plate-national input,.home-plate-national select{transition:background-color .15s ease,box-shadow .15s ease}
.mm-plate-step-hint{color:#174e89;font-size:.75rem;font-weight:650;line-height:1.6;text-align:center;margin:.25rem 0;min-width:0;direction:rtl}.mm-plate-step-hint[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.home-plate-national input,.home-plate-national select{transition:none}}
.home-plate .plate-nudge{animation:plate-nudge .25s ease-out;}
@keyframes plate-nudge{25%,75%{transform:translateX(-2px)}50%{transform:translateX(2px)}}
@media(prefers-reduced-motion:reduce){.home-plate .plate-nudge{animation:none}}
#journeyCityFields .inputbox #openAddressBtn{min-width:48px;min-height:48px;flex-shrink:0;touch-action:manipulation;}

.mm-address-suggestions{position:fixed;z-index:2147483000;overflow:auto;background:white;color:#172633;border:1px solid #bfd2e2;border-radius:10px;box-shadow:0 8px 24px #172b4326;direction:rtl;font:inherit}
.mm-address-suggestions[hidden]{display:none!important}
.mm-address-suggestions button{display:block;text-align:right;width:100%;min-height:48px;padding:10px 14px;background:white;color:inherit;border:0;border-bottom:1px solid #e5e7eb;font:inherit;cursor:pointer}
.mm-address-suggestions button:hover,.mm-address-suggestions button[aria-selected=true]{background:#edf5fb}
.mm-address-note{padding:12px;font-size:.85rem}

.mm-plate-letters,.mm-location-picker{box-sizing:border-box;border:0;border-radius:18px;padding:0;background:#fff;color:#172633;font-family:inherit;box-shadow:0 12px 48px #0004;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.mm-plate-letters::backdrop,.mm-location-picker::backdrop{background:#17263366}.mm-plate-letters{width:380px}.mm-plate-letters header,.mm-location-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-weight:700}.mm-plate-letters header button,.mm-location-picker header button,.mm-location-picker [data-gps]{width:48px;height:48px;border:1px solid #d8e0e7;border-radius:12px;background:white;color:#174e89;font-size:25px;cursor:pointer}.mm-plate-letter-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:12px}.mm-plate-letter-grid button{min-height:48px;border:1px solid #d8e0e7;border-radius:8px;background:white;color:#172633;font:700 1.15rem inherit;font-family:inherit;font-size:1.15rem;cursor:pointer}.mm-plate-letter-grid button[aria-pressed=true]{background:#e5efff;border-color:#174e89}.mm-location-picker{width:640px;height:min(720px,calc(100dvh - 32px));overflow:hidden}.mm-location-picker[open]{display:flex;flex-direction:column}.mm-location-map-wrap{position:relative;flex:1;min-height:0}.mm-location-map{width:100%;height:100%;background:#e7ecef}.mm-location-pin{position:absolute;top:50%;left:50%;transform:translate(-50%,-100%);z-index:500;font-size:40px;pointer-events:none}.mm-location-picker [data-gps]{position:absolute;bottom:24px;left:12px;z-index:600}.mm-location-picker footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));display:grid;gap:10px;background:white}.mm-location-picker [data-status]{min-height:24px;font-size:.9rem}.mm-location-picker [data-confirm]{width:100%;min-height:48px;border:0;border-radius:10px;background:#174e89;color:white;font:inherit;font-weight:700}.mm-location-picker [data-confirm]:disabled{opacity:.5}@media(max-width:600px){.mm-location-picker{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.mm-plate-letter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

.mm-adaptive-letters{position:fixed;inset:auto;margin:0;z-index:2147483000;width:min(380px,calc(100vw - 16px));max-height:calc(100dvh - 16px);border:1px solid #d8e0e7;box-shadow:0 12px 40px #17263333}.mm-adaptive-letters[open]{animation:mm-picker-in .12s ease-out}.mm-adaptive-letters .mm-plate-letter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}@keyframes mm-picker-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:600px) and (pointer:coarse){.mm-adaptive-letters{inset:auto 0 0;left:0!important;top:auto!important;width:100%;max-width:100%;max-height:calc(100dvh - 12px);border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 40px #17263333}.mm-adaptive-letters .mm-plate-letter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.mm-adaptive-letters[open]{animation:none}}

.mm-map-network{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:650;max-width:75%;background:white;color:#172633;padding:8px 12px;border-radius:8px;box-shadow:0 2px 10px #0002;text-align:center;font-size:.85rem;pointer-events:none}.mm-map-network[hidden]{display:none!important}

/* Announce the current field without changing the form layout. */
.mm-plate-step-hint{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}

.mm-location-picker [data-gps]{width:auto;min-width:48px;padding:0 12px;font-size:14px;white-space:nowrap;z-index:1000}
#journeyGuestEditMobile{background:transparent;border:0;color:#1565c0;font-size:13px;font-weight:400;text-decoration:underline;box-shadow:none;padding:6px;min-height:32px;width:auto;align-self:flex-start}
