/* @repo-role Public iOS app showcase; independent of the internal planner UI.
 * @repo-related index.php images/marketing/README.md assets/fonts/README.md
 */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}
:root {
    color-scheme: dark;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    --page-background: #101115;
    background: var(--page-background);
    color: var(--soft-ink);
    --accent: #c5ff02;
    --muted: #b1b9b5;
    --soft-ink: #f1f4eb;
    --panel-fill: #1b2021;
    --panel-background: radial-gradient(ellipse at 100% 0, #c5ff0209, transparent 65%), var(--panel-fill);
    --panel-shadow: 0 24px 80px -36px #0009;
    --inset-fill: #121718;
    --selected-fill: #e5edda;
    --heading: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
svg { flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 44px; padding-block: 68px 88px; }
.hero-copy { min-width: 0; padding-block: 24px; }
.hero-wordmark { margin-bottom: clamp(24px, 4vw, 46px); }
h1, h2, h3 { font-family: var(--heading); text-wrap: balance; }
.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(62px, 7.8vw, 104px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.055em;
}
.hero h1 span {
    display: block;
    margin-top: .45em;
    color: var(--muted);
    font-size: .65em;
    line-height: 1.12;
    font-weight: 500;
}
.hero-intro { max-width: 420px; color: var(--muted); font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.footer-links a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 16px; padding: 15px 22px; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 650; line-height: 1.4; transition: background .2s, transform .2s; }
.button-primary { background: var(--accent); color: #162006; }
.button-primary > span { font-size: 18px; margin-left: 10px; }
a.button-primary:hover { background: #d6ff53; transform: translateY(-2px); }
.button-primary:focus-visible { outline-color: #f3f5ed; }
.app-artwork-frame { overflow: hidden; border-radius: 18px; background: var(--inset-fill); }
.app-artwork { width: 100%; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.6; }

.features { padding-block: 85px 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 34px; }
h2 { font-size: clamp(34px, 3.7vw, 48px); line-height: 1.18; font-weight: 500; letter-spacing: -.045em; }
.section-heading h2 { margin-top: 17px; }
.section-heading h2 span { color: var(--muted); }
.section-heading > p { max-width: 300px; margin-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bento { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--panel-fill); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: #ffffff08; color: var(--muted); }
.feature-icon svg { width: 20px; height: 20px; }
h3 { margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.24; font-weight: 500; letter-spacing: -.04em; }
.bento > p { max-width: 420px; color: var(--muted); font-size: 14px; line-height: 1.75; text-wrap: pretty; }
.bento-route { grid-column: span 7; }
.route-artwork, .breaks-artwork, .hotel-artwork { width: 100%; margin-top: 24px; border-radius: 18px; background: var(--inset-fill); }
.bento-obd { grid-column: span 5; background: var(--panel-background); }
.bento-obd > p { max-width: 355px; }
.obd-preview { container-type: inline-size; margin-top: auto; padding-top: 25px; }
.obd-preview-heading { margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.obd-widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.obd-widget { min-width: 0; padding: 14px 14px 10px; border: 1px solid #ffffff08; border-radius: 17px; background: var(--inset-fill); }
.obd-widget dt { display: flex; align-items: center; gap: 6px; min-height: 30px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.obd-widget dt i { flex-shrink: 0; font-size: 16px; }
.obd-widget dd { display: flex; align-items: baseline; gap: 4px; margin: 9px 0 10px; font: 600 clamp(24px, 2.5vw, 30px)/1.1 var(--heading); font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.obd-unit { color: var(--muted); font-size: 14px; letter-spacing: -.02em; }
.obd-sparkline { display: block; width: 100%; height: 27px; overflow: visible; color: var(--muted); }
.obd-sparkline polygon { fill: currentColor; opacity: .07; }
.obd-sparkline polyline { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.obd-sparkline circle { fill: var(--soft-ink); }
.obd-guide { stroke: currentColor; stroke-opacity: .1; vector-effect: non-scaling-stroke; }
@container (max-width: 260px) {
    .obd-widgets { gap: 8px; }
    .obd-widget { padding: 12px 10px 9px; }
    .obd-widget dt { min-height: 28px; gap: 5px; font-size: 10px; }
    .obd-widget dt i { font-size: 14px; }
    .obd-widget dd { font-size: 22px; }
    .obd-unit { font-size: 12px; }
}

.bento-carplay { grid-column: span 7; grid-row: span 2; }
.bento-carplay > p { max-width: 335px; }
/* Keep native proportions together at every card width. See the source audit in the artwork README. */
.app-preview { margin-top: auto; padding-top: 24px; }
.dashboard-preview { flex: 0 0 auto; margin: 0; overflow: hidden; border-radius: 18px; }
.dashboard-screen { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
/* Standard navigation colors from Tovolta's NavigationAppearance.swift. */
.dashboard-screen[data-dashboard-theme="standard"] {
    --dashboard-land: #f5f4ef;
    --dashboard-building: #dcdddd;
    --dashboard-building-edge: #dcdddd;
    --dashboard-park: #c4e5a0;
    --dashboard-park-edge: #c4e5a0;
    --dashboard-water: #a5ddf0;
    --dashboard-road-casing: #c4c7c5;
    --dashboard-road: #fafaf8;
    --dashboard-label: #59615d;
    --dashboard-route: #007aff;
    --dashboard-route-outline: #0054cc;
    --dashboard-vehicle-heading: #fff;
}

.dashboard-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; margin-top: 8px; }
.dashboard-caption .demo-note { margin: 0; color: var(--muted); font-size: 11px; }
.dashboard-animation-toggle { min-height: 44px; padding: 5px 2px; border: 0; border-radius: 4px; background: transparent; color: var(--soft-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dashboard-animation-toggle:hover { color: #fff; }
.bento-breaks, .bento-hotels { grid-column: span 5; }
.bento-breaks h3 { max-width: 290px; }
.bento-hotels .feature-icon { font-size: 20px; }
.feature-note { margin-top: 18px; color: #909b8a; font-size: 10px; line-height: 1.7; text-align: center; }

.closing { padding-bottom: 60px; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: var(--panel-background); }
.closing h2 { margin-top: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; }
.closing h2 span { color: var(--muted); }
.closing-action { flex-shrink: 0; }
.closing-action > p { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.closing-action .download-status { margin-top: 0; color: var(--soft-ink); font-size: 16px; font-weight: 500; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 28px 36px; }
.hero-wordmark, .footer-brand { font: 700 21px/1.5 var(--heading); letter-spacing: -.055em; }
.hero-wordmark span, .footer-brand span { color: var(--accent); }
.site-footer > div > p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-links > span { color: var(--muted); }

@media (max-width: 1100px) {
    .shell { width: calc(100% - 64px); }
    .hero { gap: 28px; padding-block: 70px; }
    .hero-intro { font-size: 22px; }
    .button { padding-inline: 18px; font-size: 12px; }
    .bento { padding: 25px; }
    .closing-inner { padding: 35px; }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 38px; padding-block: 58px; }
    .hero-copy { padding-block: 0; text-align: center; }
    .hero h1 { font-size: clamp(44px, 8vw, 72px); }
    .hero h1 span { font-size: .64em; }
    .hero-intro { margin-inline: auto; font-size: 20px; }
    .section-heading { gap: 25px; }
    .section-heading > p { max-width: 240px; font-size: 13px; }
    .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento { grid-column: span 1; padding: 28px; }
    .bento-carplay { grid-column: span 2; grid-row: auto; }
    h3 { font-size: 27px; }
    .closing-inner { align-items: start; flex-direction: column; gap: 28px; }
    .closing h2 { font-size: 38px; }
}
@media (max-width: 600px) {
    .shell { width: calc(100% - 40px); }
    .hero { padding-block: 44px 42px; gap: 30px; }
    .hero-intro { max-width: 390px; font-size: 18px; }
    .button { min-height: 50px; padding: 14px 18px; font-size: 12px; }
    .button-primary > span { margin-left: 3px; }
    .app-artwork-frame { border-radius: 20px; }
    figcaption { gap: 7px; font-size: 9px; margin-top: 13px; }
    .features { padding-block: 55px 43px; }
    .section-heading { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 25px; }
    .section-heading h2 { font-size: clamp(30px, 6.7vw, 38px); margin-top: 14px; }
    .section-heading > p { max-width: 340px; margin: 0; font-size: 13px; }
    .bento-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .bento { grid-column: span 1; border-radius: 22px; padding: 26px; }
    h3 { font-size: 27px; }
    .bento-carplay > p { max-width: 360px; }
    .feature-note { max-width: 350px; margin: 18px auto 0; text-align: left; font-size: 9px; }
    .closing { padding-bottom: 40px; }
    .closing-inner { padding: 28px 25px; border-radius: 23px; gap: 25px; }
    .closing-action > p { text-align: left; }
    .closing h2 { font-size: clamp(26px, 6.1vw, 33px); }
    .site-footer { align-items: start; flex-direction: column; gap: 23px; padding-block: 26px; }
    .footer-links { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
}
@media (max-width: 360px) {
    .shell { width: calc(100% - 32px); }
    .bento { padding: 23px; }
    h3 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .nav-cta { transition: none; }
    a.button-primary:hover { transform: none; }
}

/* Anonymous trip preview: isolated from the internal browser planner styles. */
[hidden] { display: none !important; }
.preview-panel {
    --preview-surface: #272c2d;
    --preview-muted: #b1b9b5;
    --preview-selected: var(--selected-fill);
    width: 100%;
    min-width: 0;
    padding: clamp(22px, 3vw, 38px);
    border-radius: 30px;
    background: var(--panel-background);
    box-shadow: var(--panel-shadow);
}
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-kicker { color: var(--preview-muted); font-size: 12px; font-weight: 500; }
.preview-progress { display: flex; gap: 4px; }
.preview-progress i { width: 24px; height: 3px; border-radius: 99px; background: #ffffff18; }
.preview-progress .is-current { background: var(--accent); }
.preview-progress .is-complete { background: #c5ff0266; }
#preview-form-title {
    margin: 24px 0 28px;
    color: #f1f4eb;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.045em;
    text-wrap: pretty;
    outline: none;
}
#trip-preview-form [data-preview-step] { min-height: 280px; }
#trip-preview-form label { display: grid; gap: 6px; min-width: 0; color: var(--preview-muted); font-size: 12px; font-weight: 500; }
#trip-preview-form :is(input:not([type="radio"], [type="range"]), select) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #f1f4eb;
    font: inherit;
    font-size: 16px;
}
#trip-preview-form select option { background: #272c2d; color: #f1f4eb; }
#trip-preview-form :is(input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#trip-preview-form :disabled { opacity: .35; cursor: default; }
#trip-preview-form[aria-busy="true"] :disabled { cursor: wait; }
.preview-step-fields { display: grid; align-content: start; gap: 26px; }

/* Keep route inputs on one connected surface, with clear focus on the active field. */
.preview-endpoints {
    --route-spine: 27px;
    padding: 6px;
    border-radius: 20px;
    background: #121718;
}
.preview-address { position: relative; }
.preview-address:focus-within { z-index: 5; }
.preview-endpoint-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 12px 8px 12px 16px;
    border-radius: 14px;
    background: #121718;
    transition: background .15s ease;
}
.preview-endpoint-card:focus-within { background: #272e2b; }
.preview-endpoint-symbol { display: grid; place-items: center; width: 21px; flex: none; color: #dbe4d1; }
.preview-endpoint-symbol svg { width: 21px; height: 21px; }
.preview-endpoint-symbol.destination { color: var(--accent); }
#preview-waypoints .preview-endpoint-symbol { color: var(--preview-muted); }
#preview-waypoints .preview-address { margin-top: 4px; }
#trip-preview-form .preview-endpoint-card label { flex: 1; gap: 2px; font-size: 11px; }
#trip-preview-form .preview-endpoint-card input { min-height: 28px; padding: 0; font-size: 17px; font-weight: 500; }
#trip-preview-form .preview-endpoint-card input:focus-visible { outline: none; }
#trip-preview-form .preview-endpoint-card input::placeholder { color: var(--preview-muted); }
.preview-icon-button, .preview-swap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 9px;
    border: 0;
    border-radius: 50px;
    background: transparent;
    color: var(--preview-muted);
    cursor: pointer;
}
.preview-icon-button { flex: 0 0 44px; padding: 0; font-size: 22px; }
.preview-icon-button svg { width: 18px; height: 18px; }
[data-preview-location]:not([data-clear-address]) .preview-clear-icon,
[data-preview-location][data-clear-address] svg:not(.preview-clear-icon) { display: none; }
.preview-swap { font-size: 12px; font-weight: 500; }
.preview-swap svg { width: 16px; height: 16px; }
.preview-icon-button:hover:not(:disabled), .preview-swap:hover:not(:disabled) { color: #f1f4eb; background: #ffffff0a; }
.preview-icon-button[aria-busy="true"] { color: var(--accent); background: #c5ff0214; cursor: progress; }
.preview-route-connector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding-inline: calc(var(--route-spine) + 12px) 6px;
    background: repeating-linear-gradient(to bottom, #637066 0 3px, transparent 3px 7px) var(--route-spine) center / 1px 100% no-repeat;
}
#preview-add-stop i { font-size: 15px; }
.preview-address-status { color: var(--preview-muted); margin-top: 10px; font-size: 12px; line-height: 1.5; }
.preview-address-status:empty { margin: 0; }
#preview-location-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.preview-suggestions { --preview-recent-height: 44px; position: absolute; z-index: 6; top: calc(100% + 7px); left: 0; right: 0; padding: 6px; border-radius: 16px; background: #303738; box-shadow: 0 14px 40px #0009; }
.preview-suggestion-scroll { position: relative; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.preview-suggestions ul { list-style: none; margin: 0; padding: 0; }
.preview-suggestions li { padding: 12px; border-radius: 10px; cursor: pointer; }
.preview-suggestions li:hover, .preview-suggestions li[aria-selected="true"] { background: #ffffff0d; }
.preview-suggestions strong { display: block; color: #f1f4eb; font-size: 14px; font-weight: 500; }
.preview-suggestions li span { display: block; margin-top: 3px; color: var(--preview-muted); font-size: 12px; line-height: 1.5; }
.preview-recent-heading { padding: 8px 12px; color: #f1f4eb; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.preview-suggestions .preview-recent-option {
    display: flex;
    align-items: center;
    height: var(--preview-recent-height);
    padding: 0 48px 0 12px;
    border-bottom: 1px solid #ffffff14;
}
.preview-recent-option strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-recent-actions { position: absolute; top: 0; right: 0; display: grid; }
.preview-recent-actions button {
    width: 44px;
    height: var(--preview-recent-height);
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--preview-muted);
    font-size: 22px;
    cursor: pointer;
}
.preview-recent-actions button:hover { background: #ffffff0d; color: #f1f4eb; }
.preview-recent-actions button:focus-visible { outline-offset: -3px; }

.preview-charge-display { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 100px; margin-bottom: 10px; }
.preview-charge-display output, .preview-slider-heading output {
    color: #f1f4eb;
    font-family: var(--heading);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.065em;
    line-height: 1;
    white-space: nowrap;
}
.preview-charge-display output { font-size: clamp(60px, 6.5vw, 84px); }
.preview-percent-unit { margin-left: 3px; color: var(--preview-muted); font-size: .42em; letter-spacing: -.03em; }
#preview-car-image { width: 40%; max-width: 160px; height: 100px; object-fit: contain; filter: drop-shadow(0 10px 12px #0004); }
.preview-range-row { display: flex; align-items: center; gap: 10px; }
.preview-range-row button {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff08;
    color: #e5edda;
    font-size: 19px;
    cursor: pointer;
}
.preview-range-row button:hover:not(:disabled) { background: #ffffff12; }
.preview-charge-controls > .preview-slider-limits { padding-inline: 54px; }
.preview-slider-heading, .preview-slider-limits { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.preview-slider-limits { color: #9aa69f; font-size: 11px; }
.preview-charge-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 4px; margin-top: 16px; border-radius: 14px; background: #121718; }
.preview-charge-presets button { min-height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--preview-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: color .15s ease, background .15s ease; }
.preview-charge-presets button:hover { color: #f1f4eb; background: #ffffff08; }
.preview-charge-presets button[aria-pressed="true"] { color: #202820; background: var(--preview-selected); box-shadow: 0 2px 6px #0003; }
/* The card opens a draft vehicle configuration; the dialog owns its scrolling. */
.preview-vehicle-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 86px; padding: 16px 18px; border: 1px solid transparent; border-radius: 16px; background: #ffffff08; color: #f1f4eb; text-align: left; cursor: pointer; }
.preview-vehicle-card:hover:not(:disabled) { background: #ffffff0e; border-color: #ffffff1c; }
.preview-vehicle-card-copy { display: grid; gap: 4px; min-width: 0; }
.preview-vehicle-card-copy strong { font-size: 16px; font-weight: 650; }
.preview-vehicle-label, #preview-vehicle-detail { color: var(--muted); font-size: 12px; }
.preview-vehicle-card > i { color: var(--muted); }
.preview-vehicle-dialog { width: min(680px, calc(100% - 32px)); max-width: none; max-height: min(800px, calc(100% - 32px)); padding: 0; border: 1px solid #ffffff18; border-radius: 26px; background: #1b2021; color: #f1f4eb; box-shadow: 0 30px 100px #000b; }
.preview-vehicle-dialog::backdrop { background: #080b0bd9; }
.preview-picker-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid #ffffff10; }
.preview-picker-header h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.035em; }
.preview-picker-header button { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: #ffffff0b; color: #f1f4eb; cursor: pointer; }
.preview-picker-body { padding: 24px; }
.preview-picker-body h3 { margin: 0 0 8px; font-size: 26px; }
.preview-picker-body p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.preview-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.preview-picker-card, .preview-picker-option { min-width: 0; border: 1px solid #ffffff12; border-radius: 16px; background: #ffffff08; color: #f1f4eb; text-align: left; cursor: pointer; }
.preview-picker-card:hover, .preview-picker-option:hover { border-color: #ffffff45; background: #ffffff0d; }
.preview-picker-card:focus-visible, .preview-picker-option:focus-visible { outline-offset: 2px; }
.preview-picker-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.preview-picker-logo { width: 74px; height: 42px; object-fit: contain; filter: invert(1); }
.preview-picker-image { width: 100%; height: 130px; object-fit: contain; }
.preview-picker-card-copy { display: grid; gap: 4px; }
.preview-picker-card-copy strong { font-size: 16px; }
.preview-picker-card-copy span { color: var(--muted); font-size: 12px; }
.preview-picker-option { padding: 16px; font-weight: 600; }
.preview-picker-card.is-selected, .preview-picker-option.is-selected { border-color: var(--accent); background: #c5ff0210; }
.preview-picker-review-image { width: 100%; max-height: 240px; object-fit: contain; margin: 0 auto 20px; }
.preview-picker-body .preview-picker-actions { padding: 24px 0 0; }
.preview-picker-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 24px; }
.preview-picker-actions button { min-height: 46px; padding: 12px 18px; border: 0; border-radius: 13px; font-weight: 650; cursor: pointer; }
.preview-picker-save { background: var(--accent); color: #162006; }
.preview-picker-cancel { background: #ffffff0b; color: #f1f4eb; }
@media (max-width: 600px) {
    .preview-vehicle-dialog { width: calc(100% - 20px); max-height: calc(100% - 20px); border-radius: 22px; }
    .preview-picker-header { padding: 16px; }
    .preview-picker-body { padding: 20px 16px; }
    .preview-picker-image { height: 100px; }
    .preview-picker-actions { padding: 12px 16px 20px; }
}

#trip-preview-form .preview-slider-heading label { display: flex; align-items: center; gap: 12px; color: #e1e7dc; font-size: 14px; line-height: 1.4; }
.preview-slider-heading i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: #ffffff08; color: var(--preview-muted); font-size: 17px; }
.preview-slider-heading output { font-size: 40px; }
.preview-arrival-control { padding-block: 8px 18px; }
.preview-arrival-control + .preview-arrival-control { margin-top: 18px; }
:is(#trip-preview-form, #preview-charge-form) input[type="range"] {
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    --preview-range-track: linear-gradient(to right, var(--accent) var(--range-fill, 0%), #ffffff14 var(--range-fill, 0%));
}
:is(#trip-preview-form, #preview-charge-form) input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: var(--preview-range-track); }
:is(#trip-preview-form, #preview-charge-form) input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--preview-range-track); }
:is(#trip-preview-form, #preview-charge-form) input[type="range"]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 4px solid #f1f4eb; border-radius: 50%; background: #212820; box-shadow: 0 2px 6px #0005; }
:is(#trip-preview-form, #preview-charge-form) input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 22px; height: 22px; border: 4px solid #f1f4eb; border-radius: 50%; background: #212820; box-shadow: 0 2px 6px #0005; }
#trip-preview-form input[type="range"]:focus-visible { outline-offset: 0; }

.preview-choices { display: grid; gap: 8px; }
#trip-preview-form .preview-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 15px;
    border-radius: 16px;
    background: #ffffff05;
    cursor: pointer;
    transition: background .15s ease;
}
#trip-preview-form .preview-choice:hover { background: #ffffff0a; }
#trip-preview-form .preview-choice:has(:checked) { background: var(--preview-selected); }
.preview-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
#trip-preview-form .preview-choice:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
#trip-preview-form .preview-choice:has(:disabled) { opacity: .55; cursor: wait; }
.preview-choice-icon { display: grid; place-items: center; flex: 0 0 38px; height: 42px; border-radius: 12px; background: #ffffff06; font-size: 21px; }
.preview-choice:has(:checked) .preview-choice-icon { background: #1822150a; color: #35412b; }
.preview-choice-copy { flex: 1; display: grid; gap: 5px; min-width: 0; }
.preview-choice-copy strong { color: #f1f4eb; font-size: 15px; font-weight: 600; }
.preview-choice-copy > span { font-size: 12px; font-weight: 400; line-height: 1.45; }
.preview-choice:has(:checked) .preview-choice-copy strong { color: #202820; }
.preview-choice:has(:checked) .preview-choice-copy > span { color: #55624f; }
.preview-choice-check { display: grid; place-items: center; width: 19px; height: 19px; flex: none; border-radius: 50%; background: #ffffff0a; }
.preview-choice:has(:checked) .preview-choice-check { background: #35412b; }
.preview-choice:has(:checked) .preview-choice-check::before { content: ''; width: 7px; height: 4px; border: solid #f1f4eb; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.preview-navigation { display: flex; gap: 14px; margin-top: 28px; }
.preview-navigation .button { min-height: 52px; padding: 12px 18px; border-radius: 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.preview-navigation .button-primary { flex: 1; min-width: 0; justify-content: space-between; padding-inline: 22px; }
.preview-navigation .button-primary:hover:not(:disabled) { background: #d6ff53; }
.preview-navigation .preview-back { padding-inline: 0 8px; background: transparent; color: var(--preview-muted); font-size: 13px; }
.preview-navigation .preview-back:hover:not(:disabled) { color: #f1f4eb; }
.preview-fineprint { margin-top: 15px; text-align: center; color: #9aa69f; font-size: 11px; line-height: 1.5; }
.preview-status { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #d4decf; }
.preview-status:empty { margin: 0; }
.preview-status.is-error { color: #ffbba8; }
.preview-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (prefers-reduced-motion: no-preference) {
    #trip-preview-form [data-preview-step]:not([hidden]) { animation: preview-step-enter .2s ease-out; }
    @keyframes preview-step-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 600px) {
    .preview-panel { border-radius: 24px; }
    .preview-progress i { width: 18px; }
    #preview-form-title { margin-block: 22px 24px; }
    .preview-endpoints { --route-spine: 20px; }
    .preview-endpoint-card { gap: 8px; padding-inline: 10px 0; }
    .preview-endpoint-symbol { width: 18px; }
    #trip-preview-form .preview-endpoint-card input { font-size: 16px; }
    .preview-navigation { gap: 12px; }
}
@media (max-width: 359px) {
    .preview-panel { padding: 20px 16px; }
    .preview-charge-display output { font-size: 56px; }
    #trip-preview-form .preview-choice { gap: 10px; padding-inline: 12px; }
    .preview-choice-icon { flex-basis: 28px; background: transparent; }
    .preview-slider-heading output { font-size: 32px; }
    #trip-preview-form .preview-slider-heading label { gap: 8px; font-size: 13px; }
    .preview-slider-heading i { width: 28px; background: transparent; }
}

.preview-results { padding-block: 15px 85px; }
.preview-result-surface {
    padding: clamp(22px, 3vw, 38px);
    border-radius: 30px;
    background: var(--panel-background);
    box-shadow: var(--panel-shadow);
}
.preview-result-kicker { color: #b1b9b5; font-size: 12px; }
#preview-result-title {
    margin-top: 14px;
    max-width: 900px;
    color: #f1f4eb;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.045em;
    text-wrap: pretty;
    overflow-wrap: anywhere;
    outline: none;
}
#preview-vehicle-caption { margin-top: 12px; color: #b1b9b5; font-size: 13px; line-height: 1.6; }
.preview-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-block: 34px; }
.preview-metrics > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.preview-metric-label, .preview-metrics small { color: #b1b9b5; font-size: 12px; font-weight: 400; line-height: 1.5; }
.preview-metric-value { color: #f1f4eb; font: 500 clamp(28px, 3.3vw, 44px)/1.15 var(--heading); letter-spacing: -.055em; overflow-wrap: anywhere; }
.preview-metric-unit { margin-left: 5px; color: #b1b9b5; font-size: .45em; letter-spacing: -.02em; }
.preview-result-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 30px; }
.preview-map-wrap { position: relative; min-width: 0; height: clamp(400px, 42vw, 550px); overflow: hidden; border-radius: 20px; background: #f2f2f2; }
#preview-map { position: absolute; inset: 0; height: 100%; width: 100%; }
.preview-map-status { position: absolute; z-index: 2; bottom: 36px; left: 14px; right: 14px; padding: 12px 14px; border-radius: 12px; background: #182020ee; color: #e1e7dc; font-size: 12px; line-height: 1.5; }
.preview-map-status:empty { display: none; }
#preview-map .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; background: #fafafa; box-shadow: 0 4px 16px #0003; }
#preview-map .maplibregl-ctrl-group button { width: 36px; height: 36px; }
#preview-map .maplibregl-ctrl-group button + button { border-top-color: #00000014; }
#preview-map .maplibregl-ctrl-group button:hover { background: #ebebeb; }
#preview-map .maplibregl-ctrl-attrib { background-color: #fafafae6; color: #414141; }
#preview-map .maplibregl-ctrl-attrib a { color: #292929; }
.preview-map-marker, .preview-stop-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e5edda;
    color: #202820;
    font-size: 12px;
    font-weight: 600;
}
.preview-map-marker { background: #fafafa; color: #202020; box-shadow: 0 2px 8px #0004; }
.preview-map-marker.is-destination { background: #292929; color: #fafafa; }
.preview-map-marker.is-stop { background: #bfbfbf; font-size: 18px; }
.preview-map-marker.is-charger, .preview-stop-icon.is-charger { background: var(--accent); color: #202820; font-size: 16px; }
.preview-stop-icon.is-destination { background: #35412b; color: #f1f4eb; }
.preview-stop-icon.is-stop { background: #b1b9b5; color: #202820; font-size: 18px; }
.preview-itinerary { min-width: 0; padding-top: 4px; }
.preview-itinerary h3 { color: #f1f4eb; font-size: 18px; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty; }
#preview-stops { position: relative; list-style: none; padding: 0; margin: 24px 0 0; }
#preview-stops[tabindex] { overflow-y: auto; scrollbar-gutter: stable; }
#preview-stops.has-more-below { mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
#preview-stops li { display: flex; align-items: flex-start; gap: 14px; position: relative; padding-bottom: 26px; }
#preview-stops li:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 36px; bottom: 6px; width: 1px; background: repeating-linear-gradient(to bottom, #637066 0 3px, transparent 3px 7px); }
.preview-stop-copy { flex: 1; min-width: 0; padding-top: 5px; }
.preview-stop-heading { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 10px; }
#preview-stops strong { flex: 1 1 130px; color: #f1f4eb; font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.preview-charge-time { padding: 4px 7px; margin-top: -3px; border-radius: 6px; background: #e5edda; color: #35412b; font-size: 11px; white-space: nowrap; }
#preview-stops p { margin-top: 6px; color: #b1b9b5; font-size: 12px; line-height: 1.5; }
.preview-stop-station { overflow-wrap: anywhere; }
.preview-charging-card { margin-top: 4px; }
#preview-manage-charging { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 75px; padding: 12px 15px; border: 0; border-radius: 16px; background: var(--inset-fill); color: var(--soft-ink); text-align: left; cursor: pointer; }
#preview-manage-charging:hover { background: #141d15; }
#preview-manage-charging > i { flex: none; color: var(--muted); }
.preview-charging-card-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: #c5ff0212; color: var(--accent); font-size: 19px; }
.preview-charging-card-copy { display: grid; flex: 1; gap: 4px; min-width: 0; }
.preview-charging-card-copy strong { font-size: 14px; font-weight: 650; }
.preview-charging-card-copy > span { color: var(--muted); font-size: 12px; }
#preview-charging-status { color: #e5edda; }
.preview-results .feature-note { max-width: 900px; margin: 18px auto 0; color: #9aa69f; font-size: 11px; line-height: 1.7; }

.preview-charging-dialog {
    --dialog-gutter: clamp(18px, 5vw, 32px);
    --dialog-edge: 16px;
    --dialog-top: max(var(--dialog-edge), calc((100dvh - 640px) / 2));
    width: min(600px, calc(100% - 2 * var(--dialog-edge)));
    max-width: none;
    max-height: min(840px, calc(100dvh - var(--dialog-top) - var(--dialog-edge)));
    /* Keep the selector and tabs in place when amenity results change the height. */
    margin: var(--dialog-top) auto auto;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: var(--panel-background);
    color: var(--soft-ink);
    box-shadow: var(--panel-shadow), 0 28px 94px #0008;
    overflow: hidden;
}
.preview-charging-dialog[open] { display: flex; flex-direction: column; }
.preview-charging-dialog::backdrop { background: #080b0bd1; backdrop-filter: blur(7px); }
.preview-charging-header {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px var(--dialog-gutter) 16px;
}
.preview-charging-header h2 { font-size: clamp(26px, 5.2vw, 35px); }
.preview-charging-dialog :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.preview-charging-header h2:focus { outline: none; }
.preview-charging-dialog button:disabled { cursor: default; }
.preview-charging-header button, .preview-charge-stepper button {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff0b;
    color: var(--soft-ink);
    cursor: pointer;
}
.preview-charging-header button:hover, .preview-charge-stepper button:hover:not(:disabled) { background: #ffffff16; }
.preview-charge-stepper button:disabled { opacity: .45; }
.preview-charging-body {
    display: grid;
    align-content: start;
    gap: 20px;
    min-height: 0;
    padding: 4px var(--dialog-gutter) 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.preview-charging-picker { position: relative; min-width: 0; }
.preview-charging-station {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 14px;
    border: 0;
    border-radius: 18px;
    background: #ffffff08;
    color: var(--soft-ink);
    text-align: start;
}
#preview-charging-stop:not(:disabled) { cursor: pointer; }
#preview-charging-stop:not(:disabled):hover, #preview-charging-stop[aria-expanded="true"] { background: #ffffff0e; }
.preview-charging-marker {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #c5ff0214;
    color: var(--accent);
    font-size: 16px;
}
.preview-charging-location { flex: 1; min-width: 0; }
.preview-charging-position, .preview-charging-station-detail { display: block; color: var(--muted); line-height: 1.4; }
.preview-charging-position { margin-bottom: 3px; font-size: 12px; }
.preview-charging-station-name {
    display: block;
    font: 600 clamp(17px, 3vw, 20px)/1.24 var(--heading);
    letter-spacing: -.04em;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}
.preview-charging-station-detail { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }
.preview-charging-indicator { flex: 0 0 16px; color: var(--muted); font-size: 13px; text-align: center; }
#preview-charging-stop[aria-expanded="true"] .preview-charging-indicator { transform: rotate(180deg); }
.preview-charging-options {
    position: absolute;
    z-index: 2;
    inset-block-start: calc(100% + 6px);
    inset-inline: 0;
    display: grid;
    align-content: start;
    gap: 2px;
    max-height: min(340px, 44dvh, var(--picker-available-height, 340px));
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 4px;
    list-style: none;
    border-radius: 16px;
    background: #282e2e;
    box-shadow: 0 16px 40px #0008;
}
.preview-charging-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--soft-ink);
    cursor: pointer;
}
.preview-charging-option .preview-charging-marker {
    width: 20px;
    height: auto;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.preview-charging-option .preview-charging-station-name { font-size: 14px; letter-spacing: -.01em; }
.preview-charging-option .preview-charging-station-detail { margin-top: 2px; font-size: 12px; }
.preview-charging-option :is(.preview-charging-station-name, .preview-charging-station-detail) {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.preview-charging-option[aria-selected="true"] { background: #c5ff0210; }
.preview-charging-option:is(:hover, [data-active]) { background: #ffffff12; }
.preview-charging-option .preview-charging-indicator { color: var(--accent); }
.preview-charging-option[aria-selected="false"] .preview-charging-indicator { visibility: hidden; }
.preview-charging-picker:has(:focus-visible) [data-active] { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (forced-colors: active) {
    .preview-charging-options { border: 1px solid ButtonText; }
    .preview-charging-options [aria-selected="true"] .preview-charging-indicator { color: Highlight; }
}

.preview-charging-modes {
    --segment-inset: 4px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: var(--segment-inset);
    border-radius: 16px;
    background: var(--inset-fill);
}
.preview-charging-modes::before {
    content: "";
    position: absolute;
    inset-block: var(--segment-inset);
    inset-inline-start: var(--segment-inset);
    width: calc(50% - var(--segment-inset));
    border-radius: 12px;
    background: var(--selected-fill);
    box-shadow: 0 2px 6px #0003;
    pointer-events: none;
}
.preview-charging-modes:has(button:last-child[aria-selected="true"])::before { inset-inline-start: 50%; }
.preview-charging-modes button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 44px;
    padding: 6px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.preview-charging-modes button:hover:not(:disabled):not([aria-selected="true"]) { color: var(--soft-ink); }
.preview-charging-modes button[aria-selected="true"] { color: #202820; }
.preview-charging-modes button:focus-visible { outline-offset: -2px; }
.preview-charging-modes button[aria-selected="true"]:focus-visible { outline-color: #35412b; }
@media (prefers-reduced-motion: no-preference) {
    .preview-charging-modes::before { transition: inset-inline-start .28s cubic-bezier(.2, .75, .25, 1); }
    .preview-charging-modes button { transition: color .16s ease; }
}
@media (forced-colors: active) {
    .preview-charging-modes button[aria-selected="true"] { background: Highlight; color: HighlightText; }
}

.preview-charging-dialog .amenities-radius button,
.preview-charging-dialog .amenities-filter {
    min-width: 0;
    min-height: 44px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.preview-charging-dialog button[aria-pressed="false"]:hover { background: #ffffff0b; color: var(--soft-ink); }
.preview-charging-dialog .amenities-radius [aria-pressed="true"],
.preview-charging-dialog .amenities-filter[aria-pressed="true"] { background: var(--selected-fill); color: #202820; }
.preview-charge-fields { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.preview-charge-fields label { font-size: 14px; font-weight: 600; }
.preview-charge-overview { padding: clamp(16px, 3vw, 22px); border-radius: 22px; background: var(--inset-fill); }
.preview-charge-metrics { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin: 0 0 18px; }
.preview-charge-metrics > div { min-width: 0; }
.preview-charge-metrics > div:last-child { text-align: end; }
.preview-charge-metrics dt { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.preview-charge-metrics dd {
    margin: 0;
    font: 500 clamp(24px, 5vw, 36px)/1.07 var(--heading);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.055em;
}
.preview-charge-metrics [data-charge-leave] { color: var(--accent); }
.preview-charge-metrics [data-charge-duration] { font-size: clamp(19px, 3.5vw, 27px); line-height: 1.38; }
#preview-charge-form input[type="range"]:focus-visible { outline-offset: -2px; }
.preview-charge-stay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.preview-charge-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: var(--inset-fill);
}
.preview-charge-minute-value { display: flex; align-items: baseline; gap: 4px; }
.preview-charge-stepper input {
    width: 3ch;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--soft-ink);
    font: 600 16px "DM Sans", sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: end;
    appearance: textfield;
}
.preview-charge-stepper input:hover { background: #ffffff08; }
.preview-charge-stepper input::-webkit-inner-spin-button, .preview-charge-stepper input::-webkit-outer-spin-button { appearance: none; }
#preview-charge-minutes-unit { color: var(--muted); font-size: 12px; }
.preview-charging-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.preview-charging-actions { margin-top: 20px; }
.preview-charging-actions .button { width: 100%; min-height: 48px; padding: 10px 20px; font-size: 14px; cursor: pointer; }
.preview-charging-actions .button:hover:not(:disabled) { background: #d6ff53; }
.preview-charging-actions .button:disabled { background: #ffffff0b; color: var(--muted); cursor: default; }

.preview-charging-dialog .amenities-radius-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 7px 10px 7px 16px;
    border-radius: 18px;
    background: var(--inset-fill);
    color: var(--soft-ink);
    font-size: 13px;
    font-weight: 600;
}
.preview-charging-dialog .amenities-radius { display: flex; flex-wrap: wrap; gap: 3px; }
.preview-charging-dialog .amenities-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 12px;
}
.preview-charging-dialog .amenities-filter { padding: 8px 2px; font-size: clamp(11px, 2.8vw, 13px); }
.preview-charging-dialog .amenities-filter-count { display: block; font-size: 11px; font-weight: 500; }
.preview-charging-dialog :is(.amenities-count, .amenities-footer, .amenities-category-empty) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}
.preview-charging-dialog .amenities-count { margin: 8px 0 12px; }
.preview-charging-dialog .amenities-category {
    padding: 12px 16px 7px;
    border-radius: 18px;
    background: var(--inset-fill);
}
.preview-charging-dialog .amenities-category + .amenities-category { margin-top: 8px; }
.preview-charging-dialog .amenities-category h3, .preview-charging-dialog .amenities-empty h3 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}
.preview-charging-dialog .amenities-category h3 i { margin-right: 8px; color: var(--selected-fill); font-size: 14px; }
.preview-charging-dialog .amenities-list { margin: 0; padding: 0; list-style: none; }
.preview-charging-dialog .amenities-list:empty { display: none; }
.preview-charging-dialog .amenities-place {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-height: 44px;
    padding: 7px 0;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}
.preview-charging-dialog .amenities-place:hover .amenities-place-copy strong { color: var(--accent); }
.preview-charging-dialog .amenities-place-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.preview-charging-dialog .amenities-place-copy strong { font-weight: 600; }
.preview-charging-dialog .amenities-place-icon { display: none; }
.preview-charging-dialog :is(.amenities-place-address, .amenities-distance, .bi-arrow-up-right) { color: var(--muted); }
.preview-charging-dialog :is(.amenities-place-address, .amenities-access) { display: block; margin-top: 2px; font-size: 12px; }
.preview-charging-dialog .amenities-access { color: var(--selected-fill); }
.preview-charging-dialog :is(.amenities-access-customers, .amenities-access-restricted) { color: #ffd19e; }
.preview-charging-dialog :is(.amenities-distance, .bi-arrow-up-right) { flex: none; font-size: 11px; }
.preview-charging-dialog :is(.amenities-empty, .amenities-loading) {
    padding: 22px 12px;
    border-radius: 18px;
    background: var(--inset-fill);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
.preview-charging-dialog .amenities-empty > i { display: inline-block; margin-bottom: 7px; }
.preview-charging-dialog .amenities-empty h3 { color: var(--soft-ink); }
.preview-charging-dialog .amenities-retry {
    min-height: 44px;
    margin-top: 10px;
    padding: 7px 16px;
    border: 0;
    border-radius: 999px;
    background: #ffffff0b;
    color: var(--soft-ink);
    cursor: pointer;
}
.preview-charging-dialog .amenities-retry:hover { background: #ffffff16; }
.preview-charging-dialog .amenities-footer { margin-top: 15px; }
@media (max-width: 600px) {
    .preview-charging-dialog {
        --dialog-edge: 10px;
        --dialog-top: max(var(--dialog-edge), calc((100dvh - 600px) / 2));
        border-radius: 24px;
    }
    .preview-charging-header { padding-block: 16px 12px; }
    .preview-charging-body { gap: 16px; padding-bottom: 18px; }
    .preview-charging-station { gap: 10px; padding: 12px; }
    .preview-charging-marker { width: 34px; height: 34px; }
    .preview-charge-stay label { font-size: 13px; }
    .preview-charging-dialog .amenities-radius button { padding-inline: 8px; }
}
@media (max-width: 900px) {
    .preview-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .preview-result-grid { grid-template-columns: 1fr; gap: 26px; }
    .preview-map-wrap { height: 400px; }
}
@media (max-width: 600px) {
    .preview-result-surface { padding: 22px; border-radius: 24px; }
    .preview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-block: 28px; }
    .preview-metric-value { font-size: 30px; }
    .preview-metric-label, .preview-metrics small { font-size: 11px; }
    .preview-map-wrap { height: 330px; border-radius: 16px; }
    .preview-results .feature-note { padding-inline: 4px; text-align: left; }
}
@media (max-width: 359px) {
    .preview-result-surface { padding: 20px 16px; }
    .preview-metric-value { font-size: 27px; }
}

.carplay-section { padding: clamp(20px, 3.5vw, 42px); border-radius: 28px; background: var(--panel-background); }
.carplay-visual { max-width: 1000px; margin-inline: auto; }
.carplay-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 28px; }
.carplay-details h3 { margin-bottom: 8px; font-size: 21px; }
.carplay-details p { color: var(--muted); font-size: 14px; line-height: 1.75; }
@media (max-width: 900px) {
    .preview-panel { max-width: 620px; }
    .carplay-details { gap: 20px; }
}
@media (max-width: 600px) {
    .carplay-details { grid-template-columns: 1fr; gap: 28px; }
    .carplay-section { border-radius: 24px; }
}
