/* B2C customer portal design system — flat, Alliance Insurance brand. */
:root {
    --brand: #1f3d8f;
    --brand-hover: #18306f;
    --brand-dark: #12285f;
    --brand-soft: #eef2fa;
    --accent: #e0312c;
    --text: #18202f;
    --muted: #5d6779;
    --subtle: #8a93a3;
    --border: #dde1e8;
    --border-strong: #c5ccd8;
    --bg: #f5f6f8;
    --surface: #ffffff;
    --success: #12704f;
    --success-soft: #e7f4ee;
    --warning: #865700;
    --warning-soft: #fdf4e1;
    --danger: #b3261e;
    --danger-soft: #fcecea;
    --radius: 6px;
    --control-h: 44px;
    --focus: 0 0 0 3px rgba(31, 61, 143, .18);
    --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); }
h1, h2, h3 { margin: 0; color: var(--text); line-height: 1.25; }
p { margin: 0; }
a { color: var(--brand); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Header */
.topbar { background: var(--brand-dark); color: #fff; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; opacity: .88; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 3px solid var(--brand); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a, .site-nav button { padding: 8px 12px; border: 0; background: none; color: var(--brand); font: inherit; font-size: .88rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.site-nav a:hover, .site-nav button:hover, .site-nav a[aria-current="page"], .site-nav .nav-drop.is-active { color: #3b6fd8; }
.nav-item { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop svg { transition: transform .15s; }
.nav-item.open .nav-drop svg { transform: rotate(180deg); }
.nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 4px 0; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--brand); }
.nav-item.open .nav-menu { display: block; }
.site-nav .nav-menu a { display: block; padding: 9px 14px; color: var(--text); font-size: .9rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.site-nav .nav-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.site-nav .nav-login { margin-left: 12px; padding: 10px 20px; border-radius: var(--radius); background: var(--brand); color: #fff; font-size: .92rem; letter-spacing: 0; text-transform: none; }
.site-nav .nav-login:hover { background: var(--brand-hover); color: #fff; }
/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); }
.lang-switch svg { margin: 0 4px; }
.site-nav .lang-switch a { padding: 4px 9px; border-radius: 4px; color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.site-nav .lang-switch a:hover { color: var(--brand); }
.site-nav .lang-switch a[aria-current] { background: var(--brand); color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: none; color: var(--brand); cursor: pointer; }
.nav-toggle svg { display: block; margin: auto; }
@media (max-width: 899px) {
    .topbar-tag { display: none !important; }
    .topbar-inner { justify-content: center; }
    .topbar-links { justify-content: center; gap: 2px 16px; }
    .site-header-inner { min-height: 60px; }
    .brand img { width: 38px; height: 38px; }
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 16px; background: var(--surface); border-bottom: 3px solid var(--brand); max-height: calc(100svh - 63px); overflow-y: auto; }
    .site-nav.open { display: flex; }
    .site-nav a, .site-nav button { padding: 13px 2px; border-bottom: 1px solid var(--border); text-align: left; }
    .nav-drop { justify-content: space-between; width: 100%; }
    .nav-menu { position: static; min-width: 0; padding: 0 0 4px 12px; border: 0; }
    .site-nav .nav-menu a { padding: 11px 2px; }
    .lang-switch { align-self: flex-start; margin: 12px 0 0; }
    .site-nav .lang-switch a { padding: 6px 14px; border-bottom: 0; }
    .site-nav .nav-login { margin: 12px 0 0; padding: 12px; border-bottom: 0; text-align: center; }
}
@media (max-width: 479px) { .brand span { display: none; } }

.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--surface); color: var(--subtle); font-size: .84rem; }
main + .site-footer { margin-top: 40px; }
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 50px; padding-top: 8px; padding-bottom: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
@media (max-width: 639px) { .site-footer-inner { flex-direction: column-reverse; justify-content: center; text-align: center; } .site-footer nav { justify-content: center; } }

/* Layout */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; }
.page { padding: 24px 0 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.page-head h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.page-head p { flex-basis: 100%; margin-top: -4px; color: var(--muted); }
.page-tools { display: flex; gap: 4px; }
.split { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 340px; } .split .aside { position: sticky; top: 88px; } }

/* One card style for every B2C surface */
.panel, .card, .hero-form { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 640px) { .panel, .card, .hero-form { padding: 24px; } }
.panel + .panel { margin-top: 16px; }
.split > .panel { margin-top: 0; }
.panel-title { margin-bottom: 14px; font-size: 1.05rem; font-weight: 650; }
.section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.section-title { margin-bottom: 12px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.lead { margin-bottom: 16px; }

/* Stepper */
.stepper { display: flex; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: step; }
.stepper li { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding-right: 12px; color: var(--subtle); font-size: .85rem; counter-increment: step; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; min-width: 12px; height: 2px; background: var(--border); }
.stepper .bar { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--border-strong); border-radius: 50%; background: var(--surface); font-size: .78rem; font-weight: 700; }
.stepper .bar::before { content: counter(step); }
.stepper .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper .done { color: var(--muted); }
.stepper .done .bar { border-color: var(--brand); background: var(--brand); color: #fff; }
.stepper .done .bar::before { content: "✓"; }
.stepper .done::after { background: var(--brand); }
.stepper .active { color: var(--text); font-weight: 650; }
.stepper .active .bar { border-color: var(--brand); color: var(--brand); }
@media (max-width: 639px) {
    .stepper li { padding-right: 6px; }
    .stepper li:not(.active) .label { display: none; }
    .stepper li.active { flex-grow: 3; }
    .stepper .label { overflow: visible; }
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
.form-grid.single { grid-template-columns: 1fr; }
@media (min-width: 560px) {
    .form-grid:not(.single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid .span-2, .form-grid .span-full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
    .form-grid.cols-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .form-grid.cols-3 .span-2 { grid-column: span 2; }
}
.field { min-width: 0; }
.field label, .label { display: block; margin-bottom: 5px; color: var(--text); font-size: .85rem; font-weight: 600; }
.field .req, .choice-group .req { margin-left: 2px; color: var(--accent); }
.field .opt { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; height: var(--control-h); padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; appearance: none; -webkit-appearance: none;
}
.field select { padding-right: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235d6779' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.field textarea { height: auto; min-height: 132px; padding: 10px 12px; resize: vertical; }
.field input::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: var(--focus); }
.field input[readonly], .field select:disabled, .field input:disabled { background: var(--bg); color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin-top: 5px; color: var(--danger); font-size: .82rem; }
.field-hint { margin-top: 5px; color: var(--subtle); font-size: .82rem; }
.input-upper { text-transform: uppercase; }
.input-code { letter-spacing: .3em; font-size: 1.2rem !important; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .9rem; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-h); padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--text); font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:focus-visible { outline: 0; box-shadow: var(--focus); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg); }
.btn-text { padding: 0 6px; color: var(--muted); font-weight: 550; }
.btn-text:hover { color: var(--text); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .875rem; }
.btn-lg { min-height: 52px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; }
.form-submit { margin-top: 20px; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.actions .spacer { flex: 1; }
@media (max-width: 639px) {
    .actions { flex-direction: column-reverse; align-items: stretch; }
    .actions .btn { width: 100%; }
    .actions .spacer { display: none; }
}
.link-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .9rem; }

/* Alerts */
.alert { margin-bottom: 16px; padding: 12px 14px; border: 1px solid; border-radius: var(--radius); font-size: .9rem; }
.alert strong { font-weight: 600; }
.alert .kv { margin-top: 8px; }
.alert .btn { margin-top: 10px; }
.alert-info { background: var(--brand-soft); border-color: #d5ddf0; color: #20356f; }
.alert-success { background: var(--success-soft); border-color: #cbe6d9; color: var(--success); }
.alert-warning { background: var(--warning-soft); border-color: #f1dfb6; color: var(--warning); }
.alert-danger { background: var(--danger-soft); border-color: #f2cfcb; color: var(--danger); }
.panel + .alert, .panel ~ .alert { margin-top: 16px; }

/* Key/value lists and totals */
.kv { margin: 0; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .925rem; }
.kv-row:last-child { border-bottom: 0; }
.kv-row dt, .kv-row > span { flex: none; color: var(--muted); white-space: nowrap; }
.kv-row dd, .kv-row > strong { margin: 0; font-weight: 550; text-align: right; overflow-wrap: anywhere; }
.kv-grid { display: grid; gap: 0 32px; }
@media (min-width: 640px) { .kv-grid { grid-template-columns: 1fr 1fr; } .kv-grid .kv-row:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--text); }
.total span { font-weight: 600; }
.total strong { color: var(--brand); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.amount-block { margin-bottom: 16px; }
.amount { color: var(--text); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.amount small { margin-right: 4px; color: var(--muted); font-size: .5em; font-weight: 600; }

/* Status */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--brand-soft); color: var(--brand); }

.status-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.status-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.status-icon svg { width: 22px; height: 22px; }
.status-icon.success { background: var(--success-soft); color: var(--success); }
.status-icon.warning { background: var(--warning-soft); color: var(--warning); }
.status-icon.danger { background: var(--danger-soft); color: var(--danger); }
.status-icon.info { background: var(--brand-soft); color: var(--brand); }
.status-head h1, .status-title { font-size: 1.3rem; font-weight: 700; }
.status-title .plate { vertical-align: 2px; }
.status-head p { margin-top: 4px; color: var(--muted); }
.spinner { width: 22px; height: 22px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: b2c-spin .9s linear infinite; }
@keyframes b2c-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-right-color: currentColor; opacity: .6; } }

.ref { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy { flex: none; padding: 3px 9px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--muted); font: inherit; font-size: .78rem; cursor: pointer; }
.copy:hover { color: var(--text); }

/* Lists (policies) */
.list-item { padding: 18px 0; border-top: 1px solid var(--border); }
.list-item:first-child { padding-top: 0; border-top: 0; }
.list-item:last-child { padding-bottom: 0; }
.list-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.list-item-head h2 { font-size: 1rem; font-weight: 650; }
.list-item-head p { color: var(--muted); font-size: .875rem; }
.list-item .actions { justify-content: flex-start; margin-top: 14px; }
.list-item form { margin: 0; }
.empty { padding: 28px 16px; color: var(--muted); text-align: center; }
.empty .btn { margin-top: 14px; }

/* Home */
.is-home .page { flex: 1; display: flex; align-items: center; padding: 32px 0; }
.is-home main + .site-footer { margin-top: 0; }
.hero { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; } }
.hero-copy h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.hero-copy p { margin-top: 12px; max-width: 460px; color: var(--muted); font-size: 1.05rem; }
.hero-form h2 { margin-bottom: 16px; font-size: 1.15rem; font-weight: 700; }
.hero-form .link-row { justify-content: center; }
@media (max-width: 899px) {
    .is-home .page { align-items: flex-start; padding: 20px 0; }
    .is-home .topbar { display: none; }
    .hero-copy p { margin-top: 6px; font-size: .95rem; }

}

/* Vehicle summary in the wizard */
.vehicle-card { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.vehicle-card-body { flex: 1; min-width: 0; }
.plate { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1.5px solid var(--text); border-radius: 4px; background: #ffd400; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.tile-icon { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand); }
.tile-icon svg { width: 22px; height: 22px; }

/* Choice cards and pills */
.choice-group { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .choice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choice, .pill { position: relative; display: block; cursor: pointer; }
.choice input, .pill input { position: absolute; top: 50%; left: 50%; width: 1px; height: 1px; opacity: 0; }
.choice-box { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 11px 40px 11px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.choice-box:hover { border-color: var(--brand); }
.choice-box strong { display: block; font-size: .925rem; font-weight: 600; }
.choice-box small { display: block; color: var(--muted); font-size: .8rem; }
.choice input:checked + .choice-box { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); }
.choice input:focus-visible + .choice-box, .pill input:focus-visible + span { box-shadow: var(--focus); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); font-size: .9rem; font-weight: 550; cursor: pointer; }
.pill span:hover, .choice-box:hover { border-color: var(--brand); }
.pill input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-soft); color: var(--brand); }
/* Radio indicator so options read as selectable */
.pill span::before, .choice-box::after { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--border-strong); border-radius: 50%; background: var(--surface); }
.choice-box::after { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); }
.pill input:checked + span::before, .choice input:checked + .choice-box::after { border: 5px solid var(--brand); }
.choice-group.has-error .choice-box, .choice-group.has-error .pill span { border-color: var(--danger); }

/* Mobile pay bar */
.pay-bar { display: none; }
@media (max-width: 899px) {
    .pay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); transition: transform .2s; }
    .pay-bar div { display: flex; flex-direction: column; line-height: 1.2; }
    .pay-bar strong { color: var(--brand); font-size: 1.15rem; }
    .pay-bar .btn { flex: 1; max-width: 200px; }
    .pay-bar.is-hidden { transform: translateY(110%); }
    body:has(.pay-bar) { padding-bottom: 72px; }
}

/* Denser controls on tablets and desktops */
@media (min-width: 768px) {
    :root { --control-h: 40px; }
    .field input, .field select, .field textarea { font-size: .92rem; }
    .pill span { min-height: 40px; font-size: .875rem; }
}

/* Content pages: about, products, contact */
.prose h2 { margin: 24px 0 8px; font-size: 1.05rem; font-weight: 650; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; color: var(--muted); }
.prose ul { margin: 0; padding-left: 20px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 4px; border: 1px solid var(--border); border-radius: var(--radius); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { padding: 12px 14px; border-left: 1px solid var(--border); }
.facts div:first-child { border-left: 0; }
@media (max-width: 639px) { .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--border); } }
.facts strong { display: block; color: var(--brand); font-size: 1.1rem; }
.facts span { color: var(--muted); font-size: .82rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card-grid.fill { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--brand); }
.card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: .98rem; font-weight: 650; }
.card h3 svg { flex: none; color: var(--brand); }
.card p { color: var(--muted); font-size: .9rem; }
.map { margin-top: 16px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Existing cover step */
.cover-found-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.plate-lg { margin: 0; padding: 3px 12px; font-size: 1.05rem; }
.cover-found-title { font-size: 1.25rem; font-weight: 700; }
.cover-found-text { max-width: 720px; margin-top: 6px; color: var(--muted); }
.cover-found-text strong { color: var(--text); font-weight: 600; }
.cover-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
@media (min-width: 760px) { .cover-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cover-facts div { min-width: 0; padding: 12px 16px; border-left: 1px solid var(--border); }
.cover-facts div:first-child { border-left: 0; }
@media (max-width: 759px) { .cover-facts div:nth-child(3) { border-left: 0; } .cover-facts div:nth-child(n+3) { border-top: 1px solid var(--border); } }
.cover-facts dt { color: var(--muted); font-size: .8rem; }
.cover-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
