/* AutoSalvageHistory — styles. No build step, no external fonts. */
:root {
  --navy: #0f1b2d;
  --navy-2: #182a44;
  --ink: #1b2433;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f7fa;
  --card: #ffffff;
  --accent: #f59e0b;
  --accent-2: #d97706;
  --accent-soft: #fff4de;
  --danger: #dc2626;
  --ok: #16a34a;
  --info: #2563eb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,27,45,.06), 0 6px 20px rgba(15,27,45,.06);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .92em; background: #eef2f7; padding: .1em .35em; border-radius: 5px; }
mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; box-shadow: inset 0 -2px 0 var(--accent); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; margin: .3em 0 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.vin-mono { font-family: var(--mono); letter-spacing: .06em; word-break: break-all; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .62em 1.1em; border-radius: 10px; border: 1px solid var(--line);
       background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: #f1f5f9; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #1a1204; }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-ghost { background: transparent; }
.btn-sm { padding: .38em .75em; font-size: .88rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.inline-form { display: inline; margin: 0; }

input[type=text], input[type=search], input[type=password], input[type=number], input[type=date], input:not([type]), textarea, select {
  width: 100%; font: inherit; color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); padding: .62em .8em; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
label { font-weight: 600; font-size: .92rem; display: block; }
label input, label textarea { margin-top: .3em; font-weight: 400; }
.help { color: var(--muted); font-size: .84rem; margin: .35em 0 0; font-weight: 400; }
.req { color: var(--danger); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 500; }
.brand-name strong { color: var(--accent); font-weight: 800; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.site-nav a, .site-nav .linklike { color: #cbd5e1; }
.site-nav a:hover, .site-nav .linklike:hover { color: #fff; text-decoration: none; }
.site-nav .btn-accent { color: #1a1204; }
.site-nav .btn-accent:hover { color: #fff; }

/* ---------- Alerts ---------- */
.flashes { margin-top: 16px; }
.alert { border-radius: 10px; padding: .8em 1em; margin: 0 0 12px; border: 1px solid; }
.alert p:last-child { margin: 0; }
.alert-success { background: #ecfdf3; border-color: #bbf7d0; color: #14532d; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }

/* ---------- Hero / home ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(245,158,11,.22), transparent 60%),
                    radial-gradient(900px 400px at -10% 120%, rgba(37,99,235,.25), transparent 60%),
                    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
        color: #fff; padding: 72px 0 84px; }
.hero-inner { max-width: 860px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .8em; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; margin-bottom: .35em; }
.hero .accent { color: var(--accent); }
.lead { font-size: 1.12rem; color: #475569; }
.hero .lead { color: #cbd5e1; max-width: 680px; margin: 0 auto 1.8em; }
.hero-hint { color: #94a3b8; font-size: .88rem; margin-top: 1em; }
.hero-stats { list-style: none; display: flex; gap: 28px; justify-content: center; padding: 0; margin: 1.8em 0 0; color: #cbd5e1; }
.hero-stats strong { color: #fff; font-size: 1.3rem; margin-right: .25em; }

.vin-search { display: flex; gap: 8px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 720px; }
.vin-search input { border: 0; box-shadow: none !important; font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; font-size: 1.02rem; padding: .7em .9em; min-width: 0; }
.vin-search input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: #94a3b8; }
.vin-search button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45em; border: 0; border-radius: 10px; background: var(--accent); color: #1a1204; font: inherit; font-weight: 700; padding: 0 1.3em; cursor: pointer; }
.vin-search button:hover { background: var(--accent-2); color: #fff; }
.vin-search--lg { margin: 0 auto; padding: 8px; border: 0; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.vin-search--lg input { font-size: 1.2rem; padding: .85em 1em; }
.vin-search--lg button { font-size: 1.05rem; padding: 0 1.6em; }

.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.1em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; }
.step-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 14px; }

.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.car-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.car-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,27,45,.12); }
.car-card-img { position: relative; aspect-ratio: 4 / 3; background: #e2e8f0; overflow: hidden; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; }
.car-card-body { padding: 14px 16px 16px; }
.car-card-body h3 { margin: 0 0 .2em; }
.car-card-body .vin-mono { font-size: .86rem; color: var(--muted); margin: 0 0 .6em; }
.car-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(15,27,45,.82); color: #fff; font-size: .76rem; font-weight: 700; padding: .28em .6em; border-radius: 6px; }
.chip { display: inline-block; font-size: .8rem; font-weight: 600; padding: .22em .62em; border-radius: 999px; background: #eef2f7; color: #334155; }
.chip-damage { background: #fee2e2; color: #991b1b; }
.chip-ok { background: #dcfce7; color: #166534; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .7em 0 0; color: #475569; }

/* ---------- Search ---------- */
.search-page, .vehicle-page, .admin-page { padding-top: 32px; padding-bottom: 56px; }
.search-page .vin-search { margin-bottom: 24px; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.result { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: inherit; box-shadow: var(--shadow); }
.result:hover { text-decoration: none; border-color: var(--accent); }
.result-img { flex: 0 0 160px; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: #e2e8f0; display: grid; place-items: center; }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-body h2 { font-size: 1.12rem; margin: 0 0 .2em; }
.result-body p { margin: 0 0 .25em; }
.no-photo { font-size: .8rem; color: var(--muted); }
.empty-state { text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius); padding: 40px 24px; color: #475569; }
.empty-state svg { color: #94a3b8; margin: 0 auto 10px; }
.empty-state p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Vehicle page ---------- */
.breadcrumbs { color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.vehicle-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.vehicle-head h1 { margin-bottom: .2em; }
.vehicle-title .h1-vin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: .35em; font-size: 1.15rem; font-weight: 600; }
.vin-big { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; }
.vin-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; background: var(--navy); color: #fff; border-radius: 5px; padding: .25em .5em; }
.vehicle-head-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #e2e8f0; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item--lead { grid-column: 1 / -1; aspect-ratio: 4/3; }
.photo-date { position: absolute; right: 8px; bottom: 8px; background: rgba(15,27,45,.78); color: #fff; font-size: .74rem; padding: .2em .5em; border-radius: 5px; }
.gallery-hint { margin-top: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-muted { background: #f8fafc; box-shadow: none; }
.card-muted p { margin: 0; }
.card-danger { border-color: #fecaca; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 38% 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: .9rem; }
.spec-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.spec-list dd.vin-mono { font-size: .84rem; letter-spacing: .02em; word-break: normal; white-space: nowrap; overflow-wrap: anywhere; }
.notes { color: #334155; font-size: .95rem; }
.vehicle-search { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,20,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: calc(92vh - 48px); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,.6); user-select: none; }
.lb-caption { color: #e2e8f0; margin-top: 12px; font-size: .92rem; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; text-align: center; }
.lb-count { color: #94a3b8; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; border-radius: 999px; width: 52px; height: 52px; font-size: 34px; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- Admin ---------- */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { margin-bottom: .1em; }
.admin-head p { margin: 0; }
.lead-vin { font-size: 1.05rem; }
.admin-filter { display: flex; gap: 8px; margin-bottom: 18px; max-width: 640px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.admin-table th { background: #f8fafc; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.td-thumb img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.no-photo-sm { display: grid; place-items: center; width: 72px; height: 54px; background: #f1f5f9; border-radius: 6px; color: var(--muted); }
.td-actions { text-align: right; }
.td-actions .btn { margin-left: 4px; }
.pagination { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pagination a { padding: .35em .75em; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pagination a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.page-car-edit .admin-grid > .card:first-child { grid-row: span 2; }
.card-head { display: flex; justify-content: space-between; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.field-full { grid-column: 1 / -1; }
.field-check { display: flex; align-items: end; }
.field-check label, .check-inline { font-weight: 500; display: flex; gap: .5em; align-items: center; }
.field-check input, .check-inline input { width: auto; margin: 0; }
.input-row { display: flex; gap: 8px; margin-top: .3em; }
.input-row input { margin: 0; text-transform: uppercase; }
.input-row .btn { white-space: nowrap; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.form-stack { display: grid; gap: 14px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 26px 16px; background: #f8fafc; cursor: pointer; font-weight: 500; color: #334155; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { color: var(--accent-2); }
.dropzone input[type=file] { margin-top: 8px; max-width: 100%; font-size: .88rem; }
.upload-form { display: grid; gap: 12px; margin-bottom: 22px; }
.upload-form .btn { justify-self: start; }
.upload-selected:empty { display: none; }
.upload-progress { display: grid; gap: 6px; }
.upload-item { display: grid; grid-template-columns: minmax(0, 1fr) 120px 70px; align-items: center; gap: 10px; font-size: .85rem; }
.upload-item .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item progress { width: 100%; height: 8px; accent-color: var(--accent); }
.upload-item .st-ok { color: var(--ok); font-weight: 600; }
.upload-item .st-err { color: var(--danger); font-weight: 600; }
.upload-item .err-msg { grid-column: 1 / -1; color: var(--danger); font-size: .8rem; }
.photo-admin-grid { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.photo-admin { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.photo-admin-img { position: relative; display: block; aspect-ratio: 4/3; background: #e2e8f0; }
.photo-admin-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-admin-img .badge { background: var(--accent); color: #1a1204; }
.photo-admin-fields { padding: 10px; display: grid; gap: 8px; }
.photo-admin-fields label { font-weight: 600; }
.photo-admin-fields input { padding: .4em .55em; font-size: .88rem; border-radius: 8px; }
.photo-admin-row { display: grid; grid-template-columns: 1fr 70px; gap: 8px; }
.photo-admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
#delete-car-form { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
#delete-car-form label { flex: 1 1 260px; }
.login-wrap { display: grid; place-items: center; padding: 64px 20px; }
.login-card { width: 100%; max-width: 400px; }

/* ---------- Setup ---------- */
.setup-page { padding: 40px 20px; }
.checklist { list-style: none; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.checklist li { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .mark { display: inline-block; width: 1.4em; font-weight: 800; }
.checklist .ok .mark { color: var(--ok); }
.checklist .bad .mark { color: var(--danger); }
.code-block { background: var(--navy); color: #fde68a; padding: 14px; border-radius: 10px; overflow-x: auto; font-family: var(--mono); font-size: .88rem; white-space: pre-wrap; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 40px 0; margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.site-footer .muted { color: #94a3b8; }
.site-footer a { color: #e2e8f0; }
.brand--footer { font-size: 1rem; margin-bottom: 10px; }
.footer-note p { margin-bottom: .6em; }

.page-404 { padding: 64px 20px; }
.page-404 .vin-search { margin: 20px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .vehicle-layout, .admin-grid { grid-template-columns: 1fr; }
  .page-car-edit .admin-grid > .card:first-child { grid-row: auto; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .site-nav a:not(.btn):not(.keep) { display: none; }
  .is-admin .site-nav a:not(.btn) { display: inline; }
  .is-admin .site-nav { gap: 12px; font-size: .88rem; }
  .is-admin .brand-name { display: none; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 44px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .result-img { flex-basis: 110px; }
  .lightbox button.lb-prev, .lightbox button.lb-next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 520px) {
  .vin-search { flex-direction: column; padding: 8px; }
  .vin-search button { padding: .8em 1em; justify-content: center; }
  .vin-search--lg input { font-size: 1.05rem; }
  .hero-stats { gap: 18px; }
  .container { padding: 0 16px; }
  .brand-name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.admin-grid > .card:only-child { grid-column: 1 / -1; width: 100%; max-width: 820px; }

/* ---------- Affiliate report box ---------- */
.report-box { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, #fffaf0 0%, #fff 70%); border: 1px solid #fde3b0; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 20px; box-shadow: var(--shadow); text-align: left; }
.report-box-icon { flex: 0 0 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.report-box-body { min-width: 0; }
.report-box h2 { font-size: 1.08rem; margin: 2px 0 .35em; }
.report-box p { font-size: .92rem; color: #475569; margin: 0 0 .8em; }
.report-box-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .8em; }
.btn-report { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-report:hover { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.report-box .report-disclosure { font-size: .76rem; color: var(--muted); margin: 0; }
.search-page .report-box, .page-404 .report-box { margin-top: 20px; }
.footer-affiliate { color: #94a3b8; }
.td-wrap { white-space: normal !important; word-break: break-all; max-width: 360px; font-size: .84rem; }
.settings-h3 { margin-top: 22px; }
.settings-steps li { margin-bottom: 10px; }
.settings-steps .code-block { margin: 8px 0; }
.report-box .vin-mono { white-space: nowrap; }
.vehicle-details .report-box { flex-direction: column; gap: 10px; margin-top: 20px; }
.vehicle-details .report-box-icon { flex-basis: auto; width: 40px; height: 40px; }
.vehicle-details .report-box-actions .btn { flex: 1 1 100%; justify-content: center; }
.settings-note { margin-top: 4px; max-width: 220px; white-space: normal; }

/* ---------- About page ---------- */
.site-nav a[aria-current="page"] { color: #fff; }
.about-page { padding-bottom: 64px; }
.about-hero { background: radial-gradient(900px 380px at 85% -20%, rgba(245,158,11,.22), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 96px; }
.about-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .6em; }
.about-story { margin-top: -60px; padding: 36px 40px; font-size: 1.06rem; line-height: 1.75; color: #334155; }
.about-story p { margin: 0 0 1.15em; }
.about-intro { font-size: 1.14rem; color: var(--ink); }
.about-pull { font-size: 1.3rem; font-weight: 700; color: var(--ink); border-left: 4px solid var(--accent); padding: .1em 0 .1em .8em; }
.signature { margin: 1.8em 0 0 !important; padding-top: 1.2em; border-top: 1px solid var(--line); }
.signature-dash { color: var(--accent); font-size: 1.4rem; margin-right: .15em; }
.signature-name { font-family: "Segoe Script", "Bradley Hand", "Snell Roundhand", "Apple Chancery", Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.signature-role { color: var(--muted); font-size: .98rem; }
.about-cta { text-align: center; background: var(--accent-soft); border: 1px solid #fde3b0; border-radius: var(--radius); padding: 32px 28px; margin-top: 8px; }
.about-cta h2 { font-size: 1.45rem; margin: 0 0 .3em; }
.about-cta p { margin: 0 0 1.2em; }
.about-cta .vin-search { max-width: 640px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #fff; }
@media (max-width: 760px) {
  .site-nav { gap: 14px; }
  .about-hero { padding: 40px 0 84px; }
  .about-story { padding: 24px 20px; font-size: 1rem; }
  .about-intro { font-size: 1.05rem; }
  .about-cta { padding: 24px 16px; }
}
.site-nav .btn { white-space: nowrap; }
.about-cta .vin-search { max-width: none; }
@media (max-width: 420px) {
  .site-nav { gap: 10px; font-size: .9rem; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: .95rem; }
  .site-nav .btn-sm { padding-left: .7em; padding-right: .7em; }
}

/* No-photos page: point visitors to the full report */
.report-pointer { font-size: 1.6rem; line-height: 1; color: var(--accent-2); margin: .2em 0 0; animation: report-bob 1.6s ease-in-out infinite; }
@keyframes report-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .report-pointer { animation: none; } }
.report-box--featured { padding: 22px 24px; border-width: 2px; border-left-width: 6px; }
.report-box--featured h2 { font-size: 1.3rem; }
.report-box--featured p { font-size: 1rem; }
.report-box--featured .btn-report { font-size: 1.08rem; padding: .8em 1.6em; }
.report-box .report-provider { font-size: .82rem; margin: 0 0 .4em; }
