/* EstateHub — base layer (tokens, reset, type, shared kit). Split from app.css, rules unchanged; staff chrome is in shell.css. */
:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --surface: #fffdf9;
  --surface-2: #f3efe8;
  --line: rgba(28, 34, 30, .10);
  --line-2: #878c85;
  --text: #1c221e;
  --ink-2: #3a423d;
  --muted: #5a605a;
  --dim: #5a605a;
  --brand: #1f5a42;
  --brand-2: #2b7356;
  --brand-ink: #173f2f;
  --brand-tint: #e3ebe4;
  --ok: #256b42;
  --warn: #8a5200;
  --bad: #a8231c;
  --info: #2b6c8a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --tap: 48px;
  --top-h: 60px;
  --bottom-h: 68px;
  --side-w: 236px;
  --shadow: 0 1px 2px rgba(28, 34, 30, .04), 0 8px 24px -12px rgba(28, 34, 30, .12);
  --focus-ring: 0 0 0 3px rgba(31, 90, 66, .14);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--paper); color: var(--text); }
body { font: 15px/1.5 var(--sans); min-height: 100vh; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
a { color: var(--brand-2); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.01em; font-weight: 600; }
h1 { font: 500 1.7rem/1.1 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
h2 { font: 600 1.12rem/1.2 var(--serif); font-variation-settings: "opsz" 36; }
h3 { font-size: .98rem; }
h2 .icon, h3 .icon { color: var(--brand-2); vertical-align: -3px; width: 18px; height: 18px; }
p { margin: 0 0 .8em; }
small, .muted { color: var(--muted); }
.dim { color: var(--dim); }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 26px; height: 26px; }
.serif { font-family: var(--serif); }
/* ---------------------------------------------------------------- page bits */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head .sub { color: var(--muted); font-size: .9rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; }
.grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
@media (min-width: 640px) {.grid.two { grid-template-columns: 1fr 1fr; }.grid.four { grid-template-columns: repeat(2, 1fr); }.grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {.grid.three { grid-template-columns: repeat(3, 1fr); }.grid.four { grid-template-columns: repeat(4, 1fr); }.grid.side { grid-template-columns: 2fr 1fr; } }
.stack > * + * { margin-top: 14px; }
.grid > *, .stats > *, .stack > * { min-width: 0; }
.main { overflow-x: clip; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-head h2, .card-head h3 { margin: 0; }
/* The card that holds the next thing to do: an estate-board green edge, no glow. */
.card.focus-card { border-color: rgba(31, 90, 66, .35); border-left: 4px solid var(--brand); }

/* list rows — 56px+ tap targets */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; color: var(--text); border-bottom: 1px solid var(--line); }
.list .row:last-child { border-bottom: 0; }
a.row:hover { background: rgba(31, 90, 66, .04); }
.row .grow { flex: 1; min-width: 0; }
.row .t, .row .s { display: block; }
.row .t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .end { text-align: right; flex: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .82rem; background: var(--brand-tint); color: var(--brand); }
.avatar.ok { color: var(--ok); }.avatar.warn { color: var(--warn); background: #f6ead6; }.avatar.bad { color: var(--bad); background: #f6dedb; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { color: var(--ok); background: #e5f0e8; border-color: rgba(46,125,79,.22); }
.badge.warn { color: var(--warn); background: #f8eedc; border-color: rgba(168,100,0,.22); }
.badge.bad { color: var(--bad); background: #f8e3e0; border-color: rgba(179,38,30,.22); }
.badge.brand { color: var(--brand); background: var(--brand-tint); border-color: rgba(31,90,66,.2); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font: 650 14px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: transform .06s, box-shadow .2s, background .2s;
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); color: #fff; }
.btn.ok { background: var(--ok); border-color: transparent; color: #fff; }
.btn.bad { background: #f8e3e0; border-color: rgba(179,38,30,.3); color: var(--bad); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: 13px; }
.btn.lg { min-height: 54px; font-size: 16px; padding: 0 24px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
form.inline { display: inline; }

/* forms */
label { display: block; font-size: .85rem; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field { margin-bottom: 14px; }
.field .help { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .8rem; color: var(--bad); margin-top: 4px; }
p.err[role=alert] { color: var(--bad); background: #f8e3e0; border: 1px solid rgba(179,38,30,.3); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; overflow-wrap: anywhere; }
input[aria-invalid=true] { border: 2px solid var(--bad); border-radius: 10px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=datetime-local], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; min-height: var(--tap); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 16px/1.3 var(--sans); outline: none;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: var(--focus-ring); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--brand); vertical-align: middle; }
.check { display: flex; gap: 10px; align-items: center; padding: 10px 0; color: var(--text); font-size: .95rem; }
.form-grid { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) {.form-grid { grid-template-columns: 1fr 1fr; }.form-grid .full { grid-column: 1 / -1; } }

/* choice tiles (one-tap answers) */
.choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) {.choices.two { grid-template-columns: 1fr 1fr; }.choices.three { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer;
}
.choice input:checked + span { border-color: var(--brand); background: var(--brand-tint); box-shadow: var(--focus-ring); }
/* Star rating: DOM order 1..5 matches the visual order, so arrow keys move the same way the eye does. */
.stars-set { border: 0; padding: 0; margin: 0; }
.stars { display: flex; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 34px; color: var(--muted); cursor: pointer; margin: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.stars input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.stars:has(#r1:checked) label:nth-of-type(-n+1), .stars:has(#r2:checked) label:nth-of-type(-n+2),
.stars:has(#r3:checked) label:nth-of-type(-n+3), .stars:has(#r4:checked) label:nth-of-type(-n+4),
.stars:has(#r5:checked) label:nth-of-type(-n+5) { color: var(--warn); }

/* slot picker */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.day-btn { flex: none; scroll-snap-align: start; width: 66px; padding: 10px 0; border-radius: 12px; text-align: center; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; font-family: inherit; }
.day-btn b { display: block; font: 500 1.35rem var(--serif); }
.day-btn.active { border: 2px solid var(--brand); padding: 9px 0; background: var(--brand-tint); font-weight: 750; }
.day-btn.active small:first-child::before { content: "\2713\00a0"; } /* tick + thick border + aria-pressed: not colour alone */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
@media (min-width: 640px) {.slots { grid-template-columns: repeat(6, 1fr); } }
.slot { min-height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 650 15px var(--sans); cursor: pointer; }
.slot:hover, .slot.active { border-color: var(--brand); background: var(--brand-tint); }
.slot.active { border-width: 2px; }
.slot.active::before { content: "\2713\00a0"; } /* tick + thick border + aria-pressed: chosen time is not colour alone */
/* progress & timeline */
.progress { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--paper-2) 0); }
.ring span { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 600 .95rem var(--serif); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); flex: none; font-size: 13px; }
.steps li.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps li.current .tick { border-color: var(--brand); color: var(--brand); box-shadow: var(--focus-ring); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 14px 14px; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: -18px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--paper); }
/* sheet (bottom sheet on mobile, modal on desktop) */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(28, 34, 30, .32); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; background: var(--paper);
  border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%); visibility: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s linear .25s; }
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 3px; background: var(--line-2); margin: 0 auto 12px; }
.sheet.open { transform: none; visibility: visible; transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s; }.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet h2 { font-size: 1.3rem; }
@media (min-width: 1024px) {
.sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(28,34,30,.35);
    transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; transition: opacity .2s, transform .2s, visibility 0s; }
.sheet::before { display: none; }
}
/* toasts */
.toasts { position: fixed; z-index: 80; left: 12px; right: 12px; top: calc(var(--top-h) + 10px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
@media (min-width: 1024px) {.toasts { left: auto; width: 380px; right: 20px; } }
.toast { pointer-events: auto; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; gap: 10px; align-items: flex-start; animation: slide .25s ease-out; }
.toast.success { border-left: 3px solid var(--ok); }.toast.error { border-left: 3px solid var(--bad); }.toast.warning { border-left: 3px solid var(--warn); }
.toast .icon { color: var(--brand); }
@keyframes slide {from { transform: translateY(-10px); opacity: 0; } }
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty .icon { width: 36px; height: 36px; color: var(--dim); margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .92rem; }
.kv dt { color: var(--muted); }.kv dd { margin: 0; text-align: right; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hero { padding: 20px; border-radius: 16px; background: var(--brand-tint); border: 1px solid rgba(31, 90, 66, .16); }
.hero h1 { font-size: 1.6rem; }
.chrome-text { color: var(--brand); font-family: var(--serif); }
.split { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.copy { display: flex; gap: 6px; }.copy input { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.pill-ok { color: var(--ok); }.pill-warn { color: var(--warn); }.pill-bad { color: var(--bad); }

/* public (guided link) pages */
.public { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(40px + env(safe-area-inset-bottom, 0px)); }
.public-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 18px; }
.public-head .agency { font: 600 1.15rem var(--serif); }
.public .card { box-shadow: none; }
.sticky-cta { position: sticky; bottom: 0; padding: 12px 0 calc(6px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(246,243,238,0), var(--paper) 30%); }
.powered { text-align: center; color: var(--dim); font-size: 12px; margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.powered img, .powered .ab-mark { height: 18px; width: auto; }
.upload-tile { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer; background: var(--surface); }
.upload-tile { position: relative; }
.upload-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload-tile:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.upload-tile.has-file { border-style: solid; border-color: var(--ok); }

/* ---------------------------------------------------------------- interaction kit (pending submit, undo toast, sheets) */
.btn.is-pending { position: relative; color: transparent !important; pointer-events: none; opacity: 1; }
.btn.is-pending::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 2px solid var(--pending, var(--text)); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.primary.is-pending, .btn.ok.is-pending { --pending: #fff; }
@keyframes spin {to { transform: rotate(360deg); } }
body.sheet-open { overflow: hidden; }
.toast { align-items: center; }.toast > div { flex: 1; min-width: 0; }.toast form { margin-left: auto; flex: none; }
.toast > .undo { margin-left: auto; flex: none; }
.toast .undo { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--brand-2);
  font: 700 13px/1 var(--sans); cursor: pointer; }
.toast .undo:hover { border-color: var(--brand); }
@media (max-width: 1023px) {.toasts { top: auto; bottom: var(--toast-bottom, calc(var(--bottom-h) + 12px + env(safe-area-inset-bottom, 0px))); } }
@media (prefers-reduced-motion: reduce) {.btn.is-pending::after { animation: none; opacity: .6; }.toast, .sheet { animation: none; transition: none; } }
.icon.inl { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; stroke-width: 2.5; }


/* ---------------------------------------------------------------- the Automation Bureau mark
   The same flat line-art mark the company's own site carries in its top bar, and it has to read on a white
   topbar, a near-black one and a photograph. Painting it black and flipping it with `filter: invert(1)`
   where the shell "is dark" looks right until a stylesheet further down repaints that surface and nobody
   notices the mark has gone white on white - which is exactly how it was lost here the first time. So the
   mark is a mask over `currentColor`: it is whatever colour the words beside it are, on every surface, without any stylesheet being told which surfaces are dark.

   It is a <span>, not an <img>, on purpose: a mask clips a replaced element's own pixels as well as its
   background, so an <img> stays the colour it was drawn and the trick silently does nothing. Callers set
   the height (.brandmark .ab-mark, .powered .ab-mark); the width follows the mark's own 1.44:1. */
.ab-mark {
  display: inline-block; height: 32px; width: 2.08em; aspect-ratio: 277 / 192; flex: none;
  background-color: currentColor;
  -webkit-mask: url("../img/brand/logo-ab-192.png") center / contain no-repeat;
          mask: url("../img/brand/logo-ab-192.png") center / contain no-repeat;
}


/* ---- Added for the multi-agency release ---- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body { overflow-x: clip; }
input, select, textarea { font-size: max(16px, 1rem); }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border: 1px solid var(--brand); border-left-width: 6px; border-radius: var(--radius-sm); background: var(--brand-tint); color: var(--text); font-weight: 600; }
.demo-banner > span { min-width: 0; }
.site-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); color: var(--muted); }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-2); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.filters .search { flex: 1 1 220px; min-width: 0; }
.filters select { min-height: 48px; max-width: 100%; }
.row-link { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; min-height: 44px; justify-content: center; }
.row .end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.media-add { display: grid; gap: 8px; margin-bottom: 12px; }
.media-add input[type=file], .field input[type=file] { min-height: 48px; max-width: 100%; }
.photo-strip { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-strip li { display: grid; gap: 6px; min-width: 0; position: relative; }
.photo-strip img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.photo-strip .badge { position: absolute; top: 6px; left: 6px; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.photo-actions .btn { min-height: 44px; }
.grid.two { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.break { overflow-wrap: anywhere; }
.gallery { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.listing-grid { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.listing-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.listing-card h2 a { display: inline-flex; min-height: 44px; align-items: center; }
.features { padding-left: 20px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal-cat { margin-top: 18px; }
video { max-width: 100%; height: auto; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Visually hidden inputs hand their keyboard focus ring to the visible part */
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.switch input:focus-visible + i { outline: 3px solid var(--brand); outline-offset: 2px; }
/* Legal notice: long field names and processor lists wrap instead of pushing the page sideways */
.legal, .legal main { min-width: 0; }
.legal-cat .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.legal-cat .kv dt { margin-top: 8px; }
.legal-cat .kv dd, .legal-cat .kv dt { min-width: 0; text-align: left; overflow-wrap: anywhere; }
.kv dd { min-width: 0; overflow-wrap: anywhere; }
