/* css/worker-home.css — the injured-worker home (/worker), 2026-10-31 redesign.
 *
 * Layered on css/skins.css (the worker "dawn" skin: Fraunces display, DM Sans body). Editorial
 * layout: paper, navy ink, hairline rules, numbered chapters; orange is a fill and a signal, and
 * text in orange uses the skin's AA ink (#B0560A, 4.65:1 on paper).
 * Demos change what is inside fixed boxes; nothing here animates layout properties.
 * Logical properties throughout (inline-start/end) so ar/ur mirror with css/rtl.css.
 */
:root {
  --wh-paper: #F7F3EC;
  --wh-paper-2: #EFE8DC;
  --wh-card: #FFFFFF;
  --wh-navy: #1B2A4A;
  --wh-navy-2: #23365C;
  --wh-ink: #22283A;
  --wh-soft: #464C5E;
  --wh-muted: #5E6478;            /* 5.4:1 on paper */
  --wh-rule: rgba(27, 42, 74, 0.16);
  --wh-rule-strong: rgba(27, 42, 74, 0.32);
  --wh-orange: #E87722;           /* fills and marks only */
  --wh-orange-ink: #B0560A;       /* text on paper / white */
  --wh-orange-wash: #FBE7D3;
  --wh-ok: #22704A;               /* 5.9:1 on white */
  --wh-ok-wash: #E3F2E9;
  --wh-no: #9E3417;               /* 6.6:1 on white */
  --wh-no-wash: #FBE6DF;
  --wh-gutter: 16px;
  --wh-max: 1180px;
  --wh-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 760px) { :root { --wh-gutter: 32px; } }

body.wh { background: var(--wh-paper); color: var(--wh-ink); }
body.wh .wh-wrap { max-width: var(--wh-max); margin: 0 auto; padding-inline: var(--wh-gutter); }
body.wh main { overflow-x: clip; }
.wh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body.wh :focus-visible { outline: 3px solid var(--wh-orange-ink); outline-offset: 3px; border-radius: 6px; }
body.wh [hidden] { display: none !important; }

/* Attorney Advertising label (NY RPC 7.1(f)), required by SILENT_OWNER_POLICY.md */
.attorney-advertising {
  background: var(--wh-navy); color: #E6E9F0;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-align: center; padding: 7px 16px; line-height: 1.4;
}

/* ── type ─────────────────────────────────────────────────────────────── */
.wh-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--wh-orange-ink); margin: 0 0 18px;
}
.wh-kicker::before { content: ""; inline-size: 28px; block-size: 2px; background: var(--wh-orange); }
body.wh h1.wh-h1 {
  font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(42px, 8.4vw, 86px); line-height: 1.0; letter-spacing: -0.025em;
  color: var(--wh-navy); margin: 0 0 22px; text-wrap: balance;
}
body.wh h1.wh-h1 em { font-style: italic; font-weight: 500; color: var(--wh-orange-ink); }
body.wh h2.wh-h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--wh-navy); margin: 0 0 16px; text-wrap: balance;
}
body.wh h3.wh-h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--wh-navy); margin: 0 0 6px; }
.wh-lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--wh-soft); max-width: 40ch; margin: 0 0 28px; }
body.wh p { color: var(--wh-soft); }
.wh-body { font-size: 17px; line-height: 1.65; max-width: 46ch; }
body.wh a.wh-link { color: var(--wh-orange-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
body.wh a.wh-link:hover { color: var(--wh-navy); }
.wh-num { font-variant-numeric: tabular-nums; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.wh-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body.wh .wh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--wh-navy); background: transparent; color: var(--wh-navy);
  transition: background .25s var(--wh-ease), color .25s var(--wh-ease), transform .25s var(--wh-ease);
}
body.wh .wh-btn:hover { background: var(--wh-navy); color: #fff; }
body.wh .wh-btn.primary { background: var(--wh-navy); color: #fff; }
body.wh .wh-btn.primary:hover { background: var(--wh-navy-2); transform: translateY(-1px); }
body.wh .wh-btn.accent { background: var(--wh-orange-ink); border-color: var(--wh-orange-ink); color: #fff; }
body.wh .wh-btn.accent:hover { background: #94480A; border-color: #94480A; }
body.wh .wh-btn .arr { transition: transform .25s var(--wh-ease); }
body.wh .wh-btn:hover .arr { transform: translateX(3px); }
[dir="rtl"] body.wh .wh-btn .arr, body.wh[dir="rtl"] .wh-btn .arr { transform: scaleX(-1); }

/* status tags: the feature-status data (data/worker-home-features.json) decides which one shows */
.wh-tag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.wh-tag.live { color: var(--wh-ok); }
.wh-tag.live::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; }
.wh-tag.soon { color: var(--wh-navy); background: var(--wh-orange-wash); border-color: var(--wh-orange); }
.wh-tag.example { color: var(--wh-muted); border-style: dashed; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.wh-hero { padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; }
.wh-hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 980px) { .wh-hero-grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; } }
.wh-hero-note { margin-top: 22px; font-size: 14px; color: var(--wh-muted); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.wh-hero-note a { font-weight: 700; }
.wh-hero-note img { display: block; block-size: 40px; inline-size: auto; }

/* chapter index under the hero */
.wh-index { border-block: 1px solid var(--wh-rule-strong); margin-top: clamp(36px, 5vw, 56px); }
.wh-index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .wh-index ol { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.wh-index li { border-inline-end: 1px solid var(--wh-rule); border-block-end: 1px solid var(--wh-rule); }
@media (min-width: 760px) { .wh-index li { border-block-end: 0; } .wh-index li:last-child { border-inline-end: 0; } }
@media (max-width: 759px) { .wh-index li:nth-child(2n) { border-inline-end: 0; } .wh-index li:nth-last-child(-n+2) { border-block-end: 0; } }
.wh-index a { display: block; padding: 14px 12px 16px; text-decoration: none; color: var(--wh-navy); min-height: 44px; }
.wh-index a:hover { background: rgba(232, 119, 34, 0.08); }
.wh-index .n { display: block; font: 600 13px/1 var(--font-display); color: var(--wh-orange-ink); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.wh-index .t { display: block; font: 700 15px/1.25 var(--font-body); }

/* ── plates: the framed live demos ───────────────────────────────────── */
.wh-plate {
  background: var(--wh-card); border: 1px solid var(--wh-rule-strong); border-radius: 22px;
  box-shadow: 0 1px 0 rgba(27,42,74,.06), 0 24px 60px -24px rgba(27, 42, 74, 0.28);
  overflow: hidden; position: relative;
}
.wh-plate-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-bottom: 1px solid var(--wh-rule);
  font: 700 11px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--wh-muted);
  background: linear-gradient(180deg, #FFFFFF, #FBF8F3);
}
.wh-plate-bar .live-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--wh-ok); }
.wh-plate-bar .live-dot::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--wh-ok-wash); }
.wh-plate-body { padding: clamp(18px, 3vw, 28px); }
.wh-plate-foot { padding: 14px clamp(18px, 3vw, 28px); border-top: 1px solid var(--wh-rule); background: #FBF8F3; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.wh-plate-foot p { margin: 0; font-size: 13px; color: var(--wh-muted); line-height: 1.45; }

/* ── form fields ─────────────────────────────────────────────────────── */
.wh-fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .wh-fields { grid-template-columns: 1fr 1fr; } }
.wh-field label { display: block; font: 700 14px/1.3 var(--font-body); color: var(--wh-navy); margin-bottom: 6px; }
.wh-field .hint { display: block; font-size: 12.5px; color: var(--wh-muted); margin-top: 5px; min-height: 1.4em; }
.wh-field .err { display: block; font-size: 13px; font-weight: 700; color: var(--wh-no); margin-top: 5px; }
.wh-input {
  inline-size: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--wh-rule-strong); background: #fff; color: var(--wh-ink);
  font: 600 17px/1 var(--font-body); font-variant-numeric: tabular-nums;
}
.wh-input:focus { border-color: var(--wh-navy); outline: none; box-shadow: 0 0 0 4px rgba(27,42,74,.14); }
.wh-input[aria-invalid="true"] { border-color: var(--wh-no); }
.wh-money { position: relative; }
.wh-money::before { content: "$"; position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); font: 700 17px/1 var(--font-body); color: var(--wh-muted); pointer-events: none; }
.wh-money .wh-input { padding-inline-start: 30px; }

/* ── the weekly check result ─────────────────────────────────────────── */
.wh-result { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--wh-rule-strong); min-height: 196px; transition: opacity .3s var(--wh-ease); }
.wh-result[data-stale] { opacity: .45; }
.wh-result .lbl { font: 700 12px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--wh-muted); margin: 0 0 8px; }
.wh-figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.wh-figure b { font: 600 clamp(44px, 7vw, 64px)/1 var(--font-display); color: var(--wh-navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wh-figure span { font: 600 16px/1 var(--font-body); color: var(--wh-muted); }
.wh-why { font-size: 15px; line-height: 1.55; margin: 0; color: var(--wh-soft); max-width: 52ch; min-height: 3.1em; }
.wh-why b { color: var(--wh-navy); font-variant-numeric: tabular-nums; }
.wh-example { display: inline-block; margin-top: 10px; }

/* ── chapters ─────────────────────────────────────────────────────────── */
.wh-ch { padding-block: clamp(56px, 9vw, 120px); border-top: 1px solid var(--wh-rule-strong); }
.wh-ch-head { display: grid; gap: 10px 32px; margin-bottom: clamp(28px, 4vw, 48px); align-items: end; }
@media (min-width: 980px) { .wh-ch-head { grid-template-columns: 120px minmax(0, 1fr) auto; } }
.wh-ch-n { font: 500 clamp(56px, 8vw, 104px)/0.8 var(--font-display); color: var(--wh-orange-ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wh-ch-head .wh-h2 { margin: 0; }
.wh-ch-head .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.wh-ch-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) {
  .wh-ch-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .wh-ch-grid.flip > :first-child { order: 2; }
}
.wh-ch-copy .wh-body + .wh-body { margin-top: 14px; }
.wh-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 0; border-top: 1px solid var(--wh-rule); }
.wh-points li { padding: 12px 0; border-bottom: 1px solid var(--wh-rule); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--wh-soft); }
.wh-points li::before { content: ""; inline-size: 14px; block-size: 14px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--wh-orange); }
.wh-points li b { color: var(--wh-navy); }

/* first steps timeline (chapter 01) */
.wh-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.wh-steps li { position: relative; padding: 0 0 26px; padding-inline-start: 56px; counter-increment: s; }
.wh-steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: -2px;
  inline-size: 38px; block-size: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 600 18px/1 var(--font-display); color: #fff; background: var(--wh-navy);
}
.wh-steps li::after { content: ""; position: absolute; inset-inline-start: 18px; top: 40px; bottom: 4px; inline-size: 2px; background: var(--wh-rule-strong); }
.wh-steps li:last-child::after { display: none; }
.wh-steps h3 { font: 700 18px/1.3 var(--font-body); color: var(--wh-navy); margin: 4px 0 4px; }
.wh-steps p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.wh-when { display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--wh-orange-ink); margin-bottom: 6px; }

/* ── Job Buddy: the restriction sliders ──────────────────────────────── */
.wh-ctrls { display: grid; gap: 18px; }
@media (min-width: 640px) { .wh-ctrls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wh-ctrl label { display: block; font: 700 13px/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--wh-muted); }
.wh-ctrl output { display: block; font: 600 19px/1.25 var(--font-display); color: var(--wh-navy); margin: 4px 0 2px; min-height: 2.5em; }
.wh-ctrl output b { font-variant-numeric: tabular-nums; }
.wh-range {
  -webkit-appearance: none; appearance: none; inline-size: 100%; block-size: 44px; background: transparent; margin: 0; cursor: pointer;
  --fill: 50%;
}
.wh-range::-webkit-slider-runnable-track { block-size: 8px; border-radius: 999px; background: linear-gradient(to right, var(--wh-navy) var(--fill), #DCD5C9 var(--fill)); }
[dir="rtl"] .wh-range::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--wh-navy) var(--fill), #DCD5C9 var(--fill)); }
.wh-range::-moz-range-track { block-size: 8px; border-radius: 999px; background: #DCD5C9; }
.wh-range::-moz-range-progress { block-size: 8px; border-radius: 999px; background: var(--wh-navy); }
.wh-range::-webkit-slider-thumb { -webkit-appearance: none; inline-size: 28px; block-size: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--wh-orange); box-shadow: 0 2px 8px rgba(27,42,74,.25); }
.wh-range::-moz-range-thumb { inline-size: 24px; block-size: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--wh-orange); }
.wh-range:focus-visible { outline: none; }
.wh-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(176, 86, 10, .35); }
.wh-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(176, 86, 10, .35); }
.wh-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--wh-muted); margin-top: -4px; }

.wh-count { margin: 20px 0 14px; font: 600 16px/1.4 var(--font-body); color: var(--wh-navy); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wh-count b { font: 600 22px/1 var(--font-display); font-variant-numeric: tabular-nums; }

.wh-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .wh-jobs { grid-template-columns: 1fr 1fr; } }
.wh-job {
  border: 1px solid var(--wh-rule-strong); border-radius: 14px; padding: 14px 14px 12px; background: #fff;
  display: grid; gap: 8px; position: relative;
  transition: opacity .35s var(--wh-ease), border-color .35s var(--wh-ease), background-color .35s var(--wh-ease);
}
.wh-job[data-fit="yes"] { border-color: var(--wh-ok); box-shadow: inset 4px 0 0 var(--wh-ok); }
[dir="rtl"] .wh-job[data-fit="yes"] { box-shadow: inset -4px 0 0 var(--wh-ok); }
.wh-job[data-fit="no"] { background: #FAF8F4; }
.wh-job[data-fit="no"] .wh-job-t { color: var(--wh-muted); }
.wh-job-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.wh-job-t { font: 700 16px/1.25 var(--font-body); color: var(--wh-navy); margin: 0; }
.wh-job-fit { font: 700 12px/1.2 var(--font-body); white-space: nowrap; padding: 4px 8px; border-radius: 999px; }
.wh-job .fit-yes { color: var(--wh-ok); background: var(--wh-ok-wash); }
.wh-job .fit-no { color: var(--wh-no); background: var(--wh-no-wash); }
.wh-job[data-fit="yes"] .fit-no, .wh-job[data-fit="no"] .fit-yes { display: none; }
.wh-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wh-req { font-size: 13px; line-height: 1.3; padding: 5px 9px; border-radius: 8px; background: #F3EFE8; color: var(--wh-soft); display: inline-flex; gap: 6px; align-items: center; }
.wh-req::before { content: "✓" / ""; font-weight: 800; color: var(--wh-ok); }
.wh-req[data-ok="no"] { background: var(--wh-no-wash); color: var(--wh-no); font-weight: 700; }
.wh-req[data-ok="no"]::before { content: "✕" / ""; color: var(--wh-no); }
.wh-req .over { display: none; }
.wh-req[data-ok="no"] .over { display: inline; font-weight: 600; }
.wh-job-eg { font-size: 11.5px; color: var(--wh-muted); letter-spacing: .02em; }

/* ── the job agent walk-through (coming soon) ────────────────────────── */
.wh-agent { margin-top: clamp(28px, 4vw, 44px); }
.wh-agent-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--wh-rule); }
@media (min-width: 640px) { .wh-agent-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wh-agent-tabs [role="tab"] {
  appearance: none; background: transparent; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  padding: 14px 10px 12px; text-align: start; min-height: 44px; font: 700 14px/1.3 var(--font-body); color: var(--wh-muted);
  position: relative;
}
.wh-agent-tabs [role="tab"] .n { display: block; font: 600 12px/1 var(--font-display); color: var(--wh-orange-ink); margin-bottom: 5px; }
.wh-agent-tabs [role="tab"][aria-selected="true"] { color: var(--wh-navy); border-bottom-color: var(--wh-orange); }
.wh-agent-tabs [role="tab"]:hover { color: var(--wh-navy); }
.wh-agent-tabs [role="tab"]::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; block-size: 3px; inline-size: 0; background: var(--wh-navy); }
@media (prefers-reduced-motion: no-preference) {
  .wh-agent[data-playing] [role="tab"][aria-selected="true"]::after { animation: wh-fill 3.2s linear forwards; }
}
@keyframes wh-fill { to { inline-size: 100%; } }
.wh-agent-panel { padding: 22px clamp(18px, 3vw, 28px) 24px; min-height: 290px; display: grid; gap: 18px; align-content: start; }
@media (min-width: 760px) { .wh-agent-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; min-height: 250px; } }
.wh-agent-panel h3 { font: 600 24px/1.2 var(--font-display); color: var(--wh-navy); margin: 0 0 8px; }
.wh-agent-panel p { margin: 0; font-size: 15.5px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .wh-agent-panel:not([hidden]) .wh-mock { animation: wh-rise .5s var(--wh-ease) both; }
}
@keyframes wh-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* small UI mocks inside the walk-through: drawn with real text, labelled as examples */
.wh-mock { border: 1px solid var(--wh-rule-strong); border-radius: 14px; background: #FBF8F3; padding: 14px; font-size: 14px; color: var(--wh-ink); display: grid; gap: 8px; }
.wh-mock .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--wh-rule); border-radius: 10px; padding: 9px 11px; }
.wh-mock .row b { color: var(--wh-navy); font-weight: 700; }
.wh-mock .meta { font-size: 12.5px; color: var(--wh-muted); }
.wh-mock .pill { font: 700 11.5px/1 var(--font-body); padding: 5px 8px; border-radius: 999px; background: var(--wh-ok-wash); color: var(--wh-ok); white-space: nowrap; }
.wh-mock .pill.navy { background: var(--wh-navy); color: #fff; }
.wh-mock .send { justify-self: end; display: inline-flex; align-items: center; gap: 8px; background: var(--wh-navy); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; }
.wh-mock .field { background: #fff; border: 1px solid var(--wh-rule); border-radius: 10px; padding: 8px 11px; }
.wh-mock .field small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--wh-muted); font-weight: 700; }
.wh-mock table { inline-size: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 10px; overflow: hidden; }
.wh-mock th, .wh-mock td { text-align: start; padding: 7px 8px; border-bottom: 1px solid var(--wh-rule); }
.wh-mock th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--wh-muted); }
.wh-mock tr.new td { background: var(--wh-ok-wash); }
.wh-mock .cap { font-size: 11.5px; color: var(--wh-muted); }

/* ── Find a Doctor teaser ────────────────────────────────────────────── */
.wh-doc { display: grid; gap: 22px; }
@media (min-width: 760px) { .wh-doc { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: start; } }
.wh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.wh .wh-chip {
  appearance: none; cursor: pointer; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--wh-rule-strong); background: #fff; color: var(--wh-navy); font: 700 14px/1 var(--font-body);
  transition: background .2s var(--wh-ease), border-color .2s var(--wh-ease), color .2s var(--wh-ease);
}
body.wh .wh-chip:hover { border-color: var(--wh-navy); }
body.wh .wh-chip[aria-pressed="true"] { background: var(--wh-navy); border-color: var(--wh-navy); color: #fff; }
.wh-spec { margin-top: 16px; border-inline-start: 3px solid var(--wh-orange); padding: 4px 0 4px 14px; padding-inline-start: 14px; min-height: 76px; }
.wh-spec .lbl { font: 700 12px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--wh-muted); margin: 0 0 4px; }
.wh-spec p.v { font: 600 22px/1.25 var(--font-display); color: var(--wh-navy); margin: 0; }
.wh-map { position: relative; aspect-ratio: 1 / 1; max-inline-size: 360px; inline-size: 100%; margin-inline: auto; }
.wh-map svg { inline-size: 100%; block-size: 100%; display: block; }
.wh-map .b { fill: #E9E2D5; stroke: #fff; stroke-width: 3; transition: fill .3s var(--wh-ease); }
.wh-map .w { fill: #DCE7F0; }
.wh-map .pin { fill: var(--wh-orange); opacity: 0; transition: opacity .3s var(--wh-ease); }
[data-borough="bronx"] .wh-map .b-bronx, [data-borough="manhattan"] .wh-map .b-manhattan, [data-borough="queens"] .wh-map .b-queens,
[data-borough="brooklyn"] .wh-map .b-brooklyn, [data-borough="staten"] .wh-map .b-staten { fill: var(--wh-navy); }
[data-borough="bronx"] .wh-map .p-bronx, [data-borough="manhattan"] .wh-map .p-manhattan, [data-borough="queens"] .wh-map .p-queens,
[data-borough="brooklyn"] .wh-map .p-brooklyn, [data-borough="staten"] .wh-map .p-staten { opacity: 1; }
.wh-boroughs { margin-top: 10px; justify-content: center; }
.wh-boroughs .wh-chip { min-height: 40px; font-size: 13px; padding: 0 12px; }

/* ── Comp Buddy chapter: the one navy band ───────────────────────────── */
.wh-ch.navy { background: var(--wh-navy); color: #E9ECF3; border-top: 0; }
.wh-ch.navy .wh-h2 { color: #fff; }
.wh-ch.navy p, .wh-ch.navy .wh-body { color: #C9D0DE; }
.wh-ch.navy .wh-ch-n { color: #F4A15E; }       /* 7.0:1 on navy */
.wh-ch.navy .wh-kicker { color: #F4A15E; }
.wh-ch.navy .wh-tag.live { color: #7FD4A4; }
.wh-ch.navy .wh-btn { border-color: #fff; color: #fff; }
.wh-ch.navy .wh-btn:hover { background: #fff; color: var(--wh-navy); }
.wh-ch.navy .wh-btn.accent { background: var(--wh-orange); border-color: var(--wh-orange); color: var(--wh-navy); }
.wh-ch.navy .wh-btn.accent:hover { background: #F4A15E; border-color: #F4A15E; }
.wh-ch.navy a.wh-link { color: #F4A15E; }
.wh-buddy { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 980px) { .wh-buddy { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.wh-buddy-stage { position: relative; display: grid; place-items: center; }
.wh-buddy-stage::before { content: ""; position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,119,34,.35), rgba(232,119,34,0)); }
/* THE SLOT: the 3D avatar (being built separately) replaces what is inside; the box is fixed. */
.wh-buddy-slot { position: relative; inline-size: min(300px, 70vw); aspect-ratio: 1 / 1; }
.wh-buddy-slot > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain; transition: opacity .5s var(--wh-ease); }
.wh-buddy-slot > img[data-faded] { opacity: 0; }
.wh-buddy-live { position: absolute; inset: 0; display: grid; place-items: center; }
.wh-convo { background: #fff; color: var(--wh-ink); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); }
.wh-convo-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px; border-bottom: 1px solid var(--wh-rule); background: #FBF8F3; }
.wh-convo-tabs [role="tab"] {
  appearance: none; cursor: pointer; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--wh-rule-strong); background: #fff; color: var(--wh-navy); font: 700 14px/1 var(--font-body);
}
.wh-convo-tabs [role="tab"][aria-selected="true"] { background: var(--wh-navy); border-color: var(--wh-navy); color: #fff; }
.wh-convo-panel { padding: 20px; display: grid; gap: 12px; min-height: 270px; align-content: start; }
.wh-bubble { max-inline-size: 88%; padding: 12px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; }
.wh-bubble.me { justify-self: end; background: var(--wh-navy); color: #fff; border-end-end-radius: 6px; }
.wh-bubble.buddy { background: #F3EFE8; color: var(--wh-ink); border-end-start-radius: 6px; }
.wh-bubble.buddy p { margin: 0; color: var(--wh-ink); }
.wh-bubble.buddy p + p { margin-top: 8px; }
.wh-cite { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 700 12px/1 var(--font-body); padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--wh-rule-strong); color: var(--wh-navy); }
.wh-cite::before { content: "§" / ""; color: var(--wh-orange-ink); font-weight: 800; }
.wh-convo-foot { padding: 12px 20px 16px; font-size: 12.5px; color: var(--wh-muted); border-top: 1px solid var(--wh-rule); }
@media (prefers-reduced-motion: no-preference) {
  .wh-convo-panel:not([hidden]) .wh-bubble.me { animation: wh-rise .35s var(--wh-ease) both; }
  .wh-convo-panel:not([hidden]) .wh-bubble.buddy { animation: wh-rise .45s var(--wh-ease) .25s both; }
}

/* ── the rest of the claim: an editorial index ───────────────────────── */
.wh-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wh-rule-strong); }
.wh-toc li { border-bottom: 1px solid var(--wh-rule-strong); }
.wh-toc a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 22px 4px; text-decoration: none; color: inherit; align-items: center; }
@media (min-width: 760px) { .wh-toc a { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto; padding: 26px 8px; } }
.wh-toc a:hover { background: rgba(232,119,34,.06); }
.wh-toc .t { font: 600 clamp(22px, 2.6vw, 28px)/1.15 var(--font-display); color: var(--wh-navy); letter-spacing: -0.01em; }
.wh-toc .d { font-size: 15.5px; line-height: 1.5; color: var(--wh-soft); grid-column: 1 / -1; }
@media (min-width: 760px) { .wh-toc .d { grid-column: auto; } }
.wh-toc .s { display: flex; gap: 10px; align-items: center; grid-row: 1; grid-column: 2; }
@media (min-width: 760px) { .wh-toc .s { grid-column: 3; } }
.wh-toc .go { font-size: 22px; color: var(--wh-orange-ink); transition: transform .25s var(--wh-ease); }
[dir="rtl"] .wh-toc .go { transform: scaleX(-1); }
.wh-toc a:hover .go { transform: translateX(4px); }

/* ── a lawyer ─────────────────────────────────────────────────────────── */
.wh-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--wh-rule-strong); }
.wh-facts > div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--wh-rule); }
@media (min-width: 760px) { .wh-facts > div { grid-template-columns: 220px minmax(0, 1fr); } }
.wh-facts dt { font: 700 15px/1.35 var(--font-body); color: var(--wh-navy); }
.wh-facts dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--wh-soft); }

/* FAQ */
.wh-faq { max-inline-size: 820px; }
.wh-faq details { border-bottom: 1px solid var(--wh-rule-strong); }
.wh-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; min-height: 44px; font: 600 19px/1.3 var(--font-display); color: var(--wh-navy); }
.wh-faq summary::-webkit-details-marker { display: none; }
.wh-faq summary::after { content: "+"; font: 400 26px/1 var(--font-body); color: var(--wh-orange-ink); transition: transform .25s var(--wh-ease); flex: none; }
.wh-faq details[open] summary::after { transform: rotate(45deg); }
.wh-faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; max-width: 68ch; }

/* close: the founder note and the legal line */
.wh-note { max-inline-size: 780px; margin: 0 auto; text-align: center; }
.wh-note blockquote { margin: 0; font: italic 400 clamp(22px, 3vw, 30px)/1.4 var(--font-display); color: var(--wh-navy); letter-spacing: -0.01em; }
.wh-note .sig { margin-top: 16px; font: 700 12px/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--wh-muted); }
.wh-upl { margin: 40px auto 0; max-inline-size: 880px; border: 1px solid var(--wh-rule-strong); border-inline-start: 4px solid var(--wh-orange); border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.55; color: var(--wh-soft); background: #fff; }
.wh-upl strong { color: var(--wh-navy); }

/* footer */
body.wh .tcd-footer { border-top: 1px solid var(--wh-rule-strong); padding: 28px 0 40px; font-size: 13px; }
body.wh .tcd-footer p { color: var(--wh-muted); }
body.wh .tcd-footer a { margin-inline-end: 14px; }

/* reveal: decoration only (content is visible without it) */
@media (prefers-reduced-motion: no-preference) {
  .wh-motion [data-wh-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--wh-ease), transform .8s var(--wh-ease); }
  .wh-motion [data-wh-reveal][data-in] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.wh *, body.wh *::before, body.wh *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .wh-req::before, .wh-tag.live::before { forced-color-adjust: auto; }
  .wh-job[data-fit="yes"] { border-width: 3px; }
}
body.wh .wh-plate-h { font: inherit; letter-spacing: inherit; line-height: inherit; margin: 0; color: inherit; }
@media (min-width: 980px) { .wh-ch-grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (min-width: 480px) { .wh-fields .wh-field label { min-height: 2.6em; display: flex; align-items: flex-end; } }
.wh-req .over, .wh-req[data-ok="no"] .over { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wh-ch.navy .wh-convo p.wh-convo-foot { color: var(--wh-muted); }
.wh-ch.navy .wh-bubble.buddy p { color: var(--wh-ink); }
.wh-req { position: relative; }
/* Chapters below the hero are laid out and painted only as they come near the screen. */
.wh-ch { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
/* skins.css colours every link and sets every h3; these keep the page's own */
body.wh .wh-index a { color: var(--wh-navy); }
body.wh .wh-toc a { color: inherit; }
body.wh .wh-steps h3 { font: 600 21px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--wh-navy); margin: 2px 0 6px; }
body.wh .wh-agent-panel h3 { font: 600 24px/1.2 var(--font-display); }
.wh-tag.example { white-space: normal; line-height: 1.3; }
@media (max-width: 639px) { .wh-ctrl output { min-height: 0; } .wh-ctrls { gap: 10px; } }
/* Money and dates read left to right in every language (as the workspace isolates its numbers) */
.wh-money, .wh-money .wh-input, .wh-input[type="date"] { direction: ltr; }
[dir="rtl"] .wh-money .wh-input, [dir="rtl"] .wh-input[type="date"] { text-align: right; }
.wh-figure b, .wh-why b, .wh-ctrl output b, .wh-count b { unicode-bidi: isolate; }
