/* Public site — Bricolage Grotesque for display, Instrument Sans for reading, JetBrains Mono for ticket numbers only */
:root {
  --ink: #19202b; --ink-2: #434b59; --muted: #687080; --line: #d9dde6; --panel: #eef0f5; --bg: #fff;
  --ok: #1f7a4a; --err: #b42318; --radius: 8px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --manila: var(--accent);
  /* Theme knobs (lib/themes.js). Defaults are the original look. */
  --card: #fff; --top-bg: #fff; --field: #fff; --field-line: #b8bfcc;
  --on-brand: #fff; --on-ink: #fff; --on-accent: var(--ink); --accent-hover: #fff;
  --manila-ink: var(--ink); --manila-ink-2: var(--ink-2);
  --store-bg: var(--ink); --store-ink: #dfe3ea; --cta-bg: var(--brand);
  --foot-bg: var(--ink); --foot-ink: #c9ced8; --foot-strong: #fff; --foot-muted: #8b93a3; --foot-line: #333b48;
  --map-bg: #e3e7ee; --err-tint: #fbe4e1; --void-bg: #f3d6d3;
  --diy-bg: #e3f1e9; --diy-ink: #17603a; --urgent-bg: #fbe1dd; --urgent-ink: #a01f12;
  --hero-bg: var(--panel);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.r { text-align: right; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

h1, h2, h3, .h2, .h3 { font-family: var(--display); font-weight: 750; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.h3, h3 { font-size: 24px; letter-spacing: -0.015em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin: 0 0 1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 16px/1 var(--text); padding: 13px 20px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-lg { font-size: 17px; padding: 16px 24px; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-dark); color: var(--on-brand); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--brand-dark); color: var(--on-brand); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: #19202b; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { background: none; border: 0; color: var(--ink-2); text-decoration: underline; padding: 13px 8px; font-weight: 500; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--top-bg); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-right: auto; line-height: 1.05; }
.brand img { height: 42px; width: auto; }
.brand-mark { color: var(--brand); display: flex; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { white-space: nowrap; color: var(--ink); text-decoration: none; padding: 8px 11px; border-radius: var(--radius); font-weight: 550; font-size: 16px; }
.nav a:not(.btn):hover, .nav a[aria-current] { background: var(--panel); }
.nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--brand); }
.nav .nav-phone { font-weight: 700 !important; color: var(--brand) !important; white-space: nowrap; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; font: 600 16px var(--text); background: var(--panel); border: 0; padding: 10px 14px; border-radius: var(--radius); color: var(--ink); }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .brand { font-size: 19px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--top-bg); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(25,32,43,.08); }
  .nav-open .nav { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { background: var(--hero-bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 64px 0 56px; }
.hero-copy h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; } }

/* Claim ticket — the shop's paper repair tag */
.claim, .ticket-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); background: var(--manila); color: var(--manila-ink); border-radius: 10px; position: relative; box-shadow: 0 1px 0 rgba(25,32,43,.12), 0 18px 40px -22px rgba(25,32,43,.45); }
.hero-ticket .claim { transform: rotate(-1.5deg); transition: transform .25s ease; }
.hero-ticket .claim:focus-within, .hero-ticket .claim:hover { transform: none; }
.claim-stub { border-right: 2px dashed rgba(25,32,43,.28); display: flex; justify-content: center; padding-top: 26px; }
.claim-hole { width: 18px; height: 18px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 2px 3px rgba(25,32,43,.3); }
.status-band .claim-hole, .page-status .claim-hole { background: var(--bg); }
.claim-body { padding: 24px 26px 22px; }
.claim-h { font-size: 26px; margin-bottom: 6px; }
.claim-p { margin: 0 0 16px; color: var(--manila-ink-2); font-size: 15px; }
.claim-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-bottom: 14px; }
.claim label { font-weight: 600; font-size: 14px; }
.claim input { background: rgba(255,255,255,.75); border-color: rgba(25,32,43,.35); color: #19202b; }
.claim input.mono { font-size: 18px; font-weight: 700; text-transform: uppercase; }
.claim-msg { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; color: var(--err); font-size: 15px; }
.claim-big .claim-h { font-size: clamp(30px, 4vw, 40px); }
@media (max-width: 480px) { .claim, .ticket-card { grid-template-columns: 34px minmax(0, 1fr); } .claim-body { padding: 20px 18px; } .claim-row { grid-template-columns: 1fr; } .claim-hole { width: 14px; height: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero-ticket .claim { transform: none; } }

/* Device picker */
.devices-band { padding: 44px 0 8px; }
.devices-band h2 { margin-bottom: 16px; }
.devices { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.device { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; text-align: center; line-height: 1.25; background: var(--card); }
.device .ico { color: var(--brand); }
.device:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); }
@media (max-width: 980px) { .devices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 460px) { .devices { gap: 8px; } .device { font-size: 13px; padding: 14px 4px 12px; } }

/* Inputs */
input, select, textarea { font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--field); border: 1.5px solid var(--field-line); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
label { display: block; font-weight: 600; font-size: 15px; }
label > input, label > select, label > textarea { margin-top: 6px; font-weight: 400; }

/* Bands */
.band { padding: 64px 0; }
.band-tight { padding: 32px 0 64px; }
.band-alt { background: var(--panel); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 600; }
.sec-lede { margin: -6px 0 20px; color: var(--ink-2); }
.page-head { background: var(--panel); padding: 48px 0 32px; }
.page-head-tight { padding: 36px 0 20px; }
.page-head .lede { margin-bottom: 0; }
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; }
.back::before { content: '‹ '; }

/* Price board */
.board { border-top: 2px solid var(--ink); }
.board-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.board-row:has(> :only-child) { grid-template-columns: 1fr; }
.board-svc strong { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.board-svc p { margin: 4px 0 6px; color: var(--ink-2); max-width: 64ch; }
.fits { display: inline-block; font-size: 14px; color: var(--muted); margin-right: 14px; }
.fits-remote { color: var(--brand); font-weight: 600; }
.board-price { font-family: var(--display); font-size: 28px; font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.board-price .from { font: 500 14px var(--text); color: var(--muted); }
.board-price small { display: block; font: 500 13px var(--text); color: var(--muted); margin-top: 4px; }
.board-note { color: var(--muted); margin-top: 16px; max-width: 70ch; }
.inline-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .board-row { grid-template-columns: 1fr auto; gap: 12px; } .board-price { font-size: 22px; } }

/* Ways to get help */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 8px; border-top: 2px solid var(--ink); }
.way { padding: 22px 28px 8px 0; display: flex; flex-direction: column; align-items: flex-start; }
.way + .way { padding-left: 28px; border-left: 1px solid var(--line); }
.way h3 { margin-bottom: 10px; }
.way p { margin: 0 0 12px; color: var(--ink-2); }
.way .way-addr { color: var(--ink); font-weight: 600; font-size: 18px; }
.way .btn { margin-top: auto; }
.map { border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--map-bg); z-index: 1; width: 100%; }
.map-sm { height: 190px; }
.map-key { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); }
.map-key span { color: var(--muted); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way, .way + .way { padding: 22px 0; border-left: 0; } .way + .way { border-top: 1px solid var(--line); } }

/* Common problems */
.guide { border-top: 2px solid var(--ink); }
.guide-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.guide-row:hover strong { text-decoration: underline; text-decoration-thickness: 2px; }
.guide-name strong { font-family: var(--display); font-size: 20px; font-weight: 700; display: block; line-height: 1.2; letter-spacing: -0.01em; }
.guide-name span { font-size: 15px; color: var(--ink-2); display: block; margin-top: 2px; max-width: 80ch; }
.lvl { display: inline-block; font-size: 14px; font-weight: 650; padding: 3px 11px; border-radius: 99px; white-space: nowrap; }
.lvl-diy { background: var(--diy-bg); color: var(--diy-ink); }
.lvl-shop { background: var(--brand-tint); color: var(--brand-dark); }
.lvl-urgent { background: var(--urgent-bg); color: var(--urgent-ink); }
.lvl-key { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--ink-2); }
.lvl-key .lvl { margin-right: 6px; }
.g-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; color: var(--ink-2); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font: 600 15px var(--text); background: var(--card); border: 1.5px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
@media (max-width: 640px) { .guide-row { grid-template-columns: 1fr; gap: 8px; } .guide-row .lvl { justify-self: start; } }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose p, .prose li { max-width: 66ch; }
.notice-urgent { background: var(--urgent-bg); border-color: var(--err); }

/* Store */
.store { background: var(--store-bg); color: var(--store-ink); }
.store-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 36px 0; align-items: baseline; }
.store h2 { color: var(--accent); margin: 0; }
.store p { margin: 0; font-size: 19px; max-width: 62ch; }
@media (max-width: 700px) { .store-in { grid-template-columns: 1fr; gap: 8px; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.review { margin: 0; padding-left: 18px; border-left: 4px solid var(--accent); }
.review blockquote { margin: 8px 0 10px; font-size: 18px; line-height: 1.55; }
.review figcaption { color: var(--muted); font-weight: 600; }
.stars { color: var(--accent-dark); letter-spacing: 2px; }
.stars .dim { color: var(--line); }

/* CTA band */
.cta-band { background: var(--cta-bg); color: var(--on-brand); padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { margin: 0; color: var(--on-brand); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Cards, forms, notices */
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.contact-info .big { font-family: var(--display); font-size: 34px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err, .form-msg:not(.ok):not(:empty) { color: var(--err); }
.notice { background: var(--accent-tint); border-left: 4px solid var(--accent-dark); padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.notice-ok { background: var(--brand-tint); border-color: var(--brand); }
.note { background: var(--panel); padding: 14px 16px; border-radius: var(--radius); margin-top: 20px; }
.note p { margin: 4px 0 0; }
.status-pill { display: inline-block; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 99px; background: var(--card); margin: 12px 0 0; }
.st-accepted, .st-paid { background: var(--brand); color: var(--on-brand); }
.st-pending, .st-sent, .st-partial { background: var(--accent); color: var(--on-accent); }
.st-declined, .st-void { background: var(--void-bg); color: var(--err); }
.faqs details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faqs summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faqs details p { margin: 10px 0 0; color: var(--ink-2); }

/* Repair status page */
.status-band { padding: 48px 0 72px; }
.ticket-main { padding: 26px 28px 24px; }
.ticket-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px dashed rgba(25,32,43,.28); }
.ticket-no { font-size: 26px; font-weight: 700; }
.ticket-for { font-weight: 600; color: var(--ink-2); }
.ticket-h { font-size: clamp(32px, 5vw, 46px); margin-bottom: 6px; }
.ticket-sub { margin: 0 0 6px; font-size: 18px; color: var(--ink-2); }
.ticket-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; margin: 18px 0 0; }
.ticket-kv dt { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.ticket-kv dd { margin: 2px 0 0; font-weight: 650; font-size: 17px; }
.progress { list-style: none; padding: 0; margin: 32px 0 0 10px; }
.progress li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 0 0 22px; position: relative; color: var(--muted); }
.progress li::before { content: ''; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.progress li:last-child::before { display: none; }
.progress li.done::before { background: var(--brand); }
.p-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); margin-top: 2px; }
.progress li.done .p-dot { background: var(--brand); border-color: var(--brand); }
.progress li.cur .p-dot { background: var(--accent); border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-tint); }
.progress li.done, .progress li.cur { color: var(--ink); }
.progress b { font-weight: 650; font-size: 17px; }
.progress small { display: block; color: var(--muted); font-size: 14px; }

/* Estimate + invoice rows */
.qrow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 120px; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.qrow small { display: block; color: var(--muted); font-size: 14px; }
.qhead { font-size: 14px; color: var(--muted); font-weight: 700; border-bottom-color: var(--ink); }
.qtotal { font-family: var(--display); font-size: 24px; font-weight: 750; border-bottom: 0; border-top: 2px solid var(--ink); }
.quote-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.invoice .inv-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.invoice .inv-head .status-pill { margin: 0; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; font-size: 15px; }
.inv-parties .k { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
@media (max-width: 560px) { .qrow { grid-template-columns: minmax(0, 1fr) auto; } .qrow > :nth-child(2) { display: none; } }

/* Estimate wizard */
.quote-app { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
@media (max-width: 900px) { .quote-app { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 4px; counter-reset: s; }
.steps li { flex: 1; font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s) '. '; }
.steps li.done { color: var(--ink-2); border-color: var(--brand); }
.steps li.cur { color: var(--ink); border-color: var(--ink); }
@media (max-width: 560px) { .steps li span { display: none; } }
.step h2 { font-size: 32px; }
.step h3 { font-size: 20px; margin-top: 24px; }
.step-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.dev-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dev-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.2; }
.dev-opt .ico { color: var(--brand); }
.dev-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dev-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.dev-opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (max-width: 560px) { .dev-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-pick { display: grid; gap: 8px; }
.svc-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; }
.svc-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.svc-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.svc-opt strong { font-size: 17px; display: block; }
.svc-opt small { color: var(--ink-2); font-size: 14px; display: block; margin-top: 2px; }
.svc-opt .price { font-family: var(--display); font-weight: 750; font-size: 19px; white-space: nowrap; }
.how-pick { display: grid; gap: 8px; }
.how-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; align-items: start; }
.how-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.how-opt input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); }
.how-opt strong { font-family: var(--display); font-size: 20px; font-weight: 700; display: block; }
.how-opt small { color: var(--ink-2); font-size: 15px; display: block; margin-top: 2px; }
.how-opt .fee { font-weight: 650; white-space: nowrap; color: var(--ink-2); }
.how-opt[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.qmap { height: 240px; border-radius: var(--radius); border: 1.5px solid var(--line); margin-top: 12px; z-index: 1; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.slot-day { flex: none; scroll-snap-align: start; font: 600 15px var(--text); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; text-align: center; min-width: 92px; color: var(--ink); }
.slot-day[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 12px; }
.slot-time { font: 600 16px var(--text); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; color: var(--ink); }
.slot-time[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.summary { position: sticky; top: 90px; background: var(--manila); color: var(--manila-ink); border-radius: 10px; padding: 22px; }
.summary h3 { font-size: 22px; margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { border-top: 2px dashed rgba(25,32,43,.35); margin-top: 8px; padding-top: 12px; font-family: var(--display); font-weight: 750; font-size: 24px; }
.sum-sub { color: var(--manila-ink-2); font-size: 14px; }
.inline-msg { padding: 10px 12px; border-radius: var(--radius); margin-top: 10px; font-weight: 600; }
.inline-msg.ok { background: var(--brand-tint); color: var(--brand-dark); }
.inline-msg.warn { background: var(--accent-tint); }
.inline-msg.err { background: var(--err-tint); color: var(--err); }

/* Portal */
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.list li:last-child { border-bottom: 0; }
.stack > * + * { margin-top: 20px; }
.report-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.report-photos img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
dialog { background: var(--card); color: var(--ink); border: 0; border-radius: var(--radius); padding: 0; width: min(640px, 100% - 24px); max-height: 90vh; }
dialog::backdrop { background: rgba(25,32,43,.5); }
.dlg-in { padding: 24px; }
.dlg-close { float: right; }

/* Footer */
.foot { background: var(--foot-bg); color: var(--foot-ink); padding: 48px 0 24px; }
.foot a { color: var(--foot-strong); }
.foot .muted { color: var(--foot-muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid p { margin: 0 0 6px; }
.foot-name { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--foot-strong); margin-bottom: 6px; letter-spacing: -0.02em; }
.foot-h { font-weight: 700; color: var(--foot-strong); margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid var(--foot-line); margin-top: 36px; padding-top: 16px; font-size: 14px; color: var(--foot-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom .foot-legal a { color: var(--foot-muted); }
.foot-bottom .foot-legal a:hover { color: var(--foot-strong); }
.policy h2 { font-size: 22px; }
.policy ul { padding-left: 1.2em; }
.policy li { margin: 4px 0; }
.sms-fine { font-size: 13px; color: var(--ink-2); margin: 6px 0 0 30px; line-height: 1.45; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.zone-label { background: #fff; border: 1.5px solid var(--ink); border-radius: 4px; font: 700 13px var(--text); padding: 2px 6px; box-shadow: none; }

@media print { .topbar, .foot, .no-print, #payBtn { display: none !important; } .card { border: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
