/* Assessment presentation only. Loaded after the source page's inline styles.
   Keep .on/.sel/.hid, [hidden], validation slots, script hooks and control states intact.
   Theme and slate-panel colors continue to come from the established page tokens. */
:root {
  --f-cut: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-read: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --assessment-radius: 1.35rem;
  --assessment-control-radius: .75rem;
}
body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
}
strong, b { font-weight: 600; }
.tooth { opacity: .07; }
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero .hxl { max-width: 18ch; margin-bottom: 1.1rem; }
.hxl, .hlg, .hmd {
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.1;
  text-wrap: balance;
}
.hxl { font-size: clamp(2.15rem, 1.3rem + 3vw, 3.5rem); color: var(--face); }
.hlg { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 2.75rem); }
.hmd { font-size: clamp(1.65rem, 1.05rem + 2vw, 2.35rem); }
.hsm { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.body, .bodylg { line-height: 1.65; letter-spacing: -.012em; }
.bodylg { font-size: 1.125rem; }
.lbl, .flbl, .trade-extra-lbl, .srcs summary {
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: none;
  font-size: .8125rem;
}
.lbl { color: var(--face-2); }
.method-badge, .scnt {
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
  padding: .5rem .85rem;
}
.method-badge { background: color-mix(in srgb, var(--ink) 6%, var(--ground)); }
.pbar { padding-top: 2rem; }
.pmeta { align-items: baseline; }
.ptrack { height: 4px; border-radius: 999px; background: var(--cut); }
.pfill { height: 4px; margin-top: 0; border-radius: inherit; }
.card, .cardp {
  border-radius: var(--assessment-radius);
  background: var(--relief);
  border-color: var(--cut);
  padding: clamp(1.35rem, 4vw, 2.75rem);
  box-shadow: 0 1px 2px rgb(20 15 9 / .04), 0 20px 48px -32px rgb(20 15 9 / .28);
}
.cardp::before, .cardp::after { content: none; }
.cardp > .lbl { margin-bottom: .65rem; }
.cardp .hmd, .cardp .hlg { margin-bottom: .65rem; }
.btn {
  border-radius: var(--assessment-control-radius);
  padding: .95rem 1.35rem;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
  text-wrap: pretty;
  touch-action: manipulation;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.btnf { box-shadow: 0 3px 8px rgb(0 0 0 / .12); }
.btnb { letter-spacing: 0; font-size: .875rem; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; }
.btn:disabled:hover, .btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.fin, .fsel, .nig input, .nextbox .pf input, .oc-form input {
  border-radius: var(--assessment-control-radius);
  font-family: var(--f-read);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.012em;
  min-width: 0;
  max-width: 100%;
  padding-top: .8rem;
  padding-bottom: .8rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.fin, .fsel, .nig input { border-color: var(--cut-2); }
.fin::placeholder, .nig input::placeholder { opacity: 1; }
.fin:focus, .fsel:focus, .nig input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent);
}
/* Preserve the page's validation color even when an invalid field is focused. */
.fin[aria-invalid="true"], .fsel[aria-invalid="true"] { border-color: var(--alarm); }
.fin[aria-invalid="true"]:focus, .fsel[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--alarm) 18%, transparent);
}
.segb {
  flex: 1 1 6rem;
  min-width: 0;
  overflow-wrap: anywhere;
  border-radius: var(--assessment-control-radius);
  font-weight: 500;
  font-size: .9375rem;
  padding: .75rem .85rem;
  touch-action: manipulation;
}
.segb.on { font-weight: 600; box-shadow: 0 2px 6px rgb(0 0 0 / .1); }
.sval, .lcalc .cv, .bcard .ba, .gbar-a, .rtbar .rv, .rhero .bn {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  font-weight: 600;
}
.sval { font-size: 1.35rem; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; }
input[type="range"]::-webkit-slider-thumb {
  width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; transform: none;
  box-shadow: 0 0 0 3px var(--ground), 0 2px 5px rgb(0 0 0 / .2);
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; transform: none; }
input[type="range"]::-webkit-slider-thumb:hover { transform: none; }
.cite { padding-left: 1rem; border-left: 2px solid var(--cut-2); font-size: .875rem; }
.cite-inline, .srcs, .expl, .prt { line-height: 1.6; }
.cite-inline, .srcs { font-size: .8125rem; }
.tag-est { border-radius: .3rem; font-size: .6875rem; letter-spacing: .025em; text-transform: none; }
.wscan { border-radius: .875rem; height: 6.75rem; }
.wscan-img { border-radius: .65rem; }
.wscan-info .wsn { font-weight: 600; letter-spacing: -.015em; }
.wscan-info .wsu { letter-spacing: 0; }
.pgrid, .bgrid { gap: .75rem; background: transparent; border: 0; }
.pcard, .bcard {
  border-radius: 1rem;
  border: 1px solid var(--cut);
  background: var(--ground);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.pcard { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.pcard.sel { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pcard .ck { border-radius: .35rem; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.pcard .pt { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.pcard .pd, .bcard .bt { font-size: .875rem; }
.bcard .ba { font-size: 1.8rem; }
.lcalc, .vpbox, .walkbox, .nextbox, .cta {
  border-radius: var(--assessment-radius);
  background: #1c1813;
  border-color: rgb(227 203 168 / .2);
  box-shadow: 0 1px 0 rgb(255 255 255 / .04) inset;
}
.lcalc::before, .vpbox::before, .walkbox::before, .nextbox::before { content: none; }
.lcalc .cl, .rtbar .rl, .gbar-l, .ctbl th {
  font-size: .75rem;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 600;
}
.lcalc .cv { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.1rem); }
.lcalc .cs, .formula { line-height: 1.6; }
.vpbox li { overflow-wrap: anywhere; }
.vpbox .vph, .sc .sn { font-weight: 600; letter-spacing: -.02em; }
.rhero .bn { font-size: clamp(2.6rem, 1.5rem + 5vw, 4.75rem); line-height: 1.1; }
.gbar-t, .gbar-f { border-radius: 999px; }
.gbar-t { height: 5px; }
.ctbl th { color: var(--face-2); }
.ctbl td { font-size: .875rem; }
.sc .si { border-radius: .75rem; }
.save-status { border-radius: .75rem; }
.sv[data-managed-walkthrough] { border-radius: 1rem; background: #242019; border-color: rgb(255 255 255 / .18); }
.sv[data-managed-walkthrough] h3 { letter-spacing: -.03em; }
.oc { --face: #f0e7d6; --ground: #1c1813; --accent: #d9924f; border-radius: 1rem; border-color: rgb(227 203 168 / .35); background: #1c1813; }
.oc-head { font-weight: 600; letter-spacing: -.015em; padding: .85rem 1rem; }
.oc-min { min-width: 44px; min-height: 44px; border-radius: .5rem; }
.oc-msg { border-radius: .75rem; }
.oc-visitor { font-size: .875rem; }
.oc-next { border-radius: .75rem; min-height: 44px; }
.nextbox .hmd { font-weight: 600; }
.nextbox .pf { line-height: 1.65; }
.nextbox p, .nextbox a, [data-book-on-page] { overflow-wrap: anywhere; }
.nextbox .pf label { font-size: .875rem; font-weight: 600; }
.nextbox .btn-alt { border-width: 1px; }
.nextbox .ctab .btn.on { box-shadow: 0 0 0 3px rgb(240 231 214 / .5); }
#sabina-book-hook button { border-radius: .75rem; font-family: var(--f-read); }
#skipToResults { font-size: .875rem; letter-spacing: 0; }
/* The existing focus ring and invalid/disabled/hidden contracts stay authoritative. */
:where(button, a, input, select, summary):focus-visible { outline-width: 3px; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):not([aria-disabled="true"]):hover { transform: translateY(-1px); }
  .btnf:not(:disabled):hover { box-shadow: 0 5px 16px rgb(0 0 0 / .18); }
  .pcard:hover { border-color: var(--cut-2); }
  .pcard.sel:hover { border-color: var(--accent); }
}
.btn:not(:disabled):not([aria-disabled="true"]):active { transform: scale(.985); transition-duration: 80ms; }
.segb:not(:disabled):active, .pcard:not(:disabled):active { background-color: color-mix(in srgb, var(--ink) 12%, var(--ground)); }
.segb.on:active { background-color: var(--face); }
@media (max-width: 640px) {
  .hero, .ctr, .ctrw { padding-inline: clamp(.5rem, 3.5vw, 1rem); }
  .card, .cardp { padding: clamp(.65rem, 3.5vw, 1.25rem); border-radius: 1.1rem; }
  .vpbox { padding-inline: clamp(.6rem, 3vw, 1.5rem); }
  .vpbox ul { padding-left: 1rem; }
  .pmeta { gap: .75rem; flex-wrap: wrap; }
  .pgrid, .bgrid { gap: .65rem; }
  .shdr { flex-wrap: wrap; }
  .sval { margin-left: auto; font-size: 1.2rem; }
  .btn { padding: .9rem 1rem; }
  .ctbl th { font-size: .6875rem; letter-spacing: 0; }
  .rtbar .rl { font-size: .6875rem; letter-spacing: 0; }
  .rtbar .rv { font-size: 1.2rem; }
  .rtbar { gap: .6rem; }
  .nextbox, .cta { padding-inline: 1rem; }
  .oc-form { flex-wrap: wrap; }
  .oc-form input { flex-basis: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .segb, .pcard, .pcard .ck, .fin, .fsel, .nig input { transition: none; }
  .btn:not(:disabled):hover, .btn:not(:disabled):active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .method-badge { background: var(--relief); }
  .tooth { opacity: 0; }
}
@media (prefers-contrast: more) {
  .card, .cardp, .pcard, .bcard, .fin, .fsel, .nig input { border-color: var(--face); }
  .pcard.sel { border-color: var(--accent); }
  .fin[aria-invalid="true"], .fsel[aria-invalid="true"] { border-color: var(--alarm); }
  .body, .bodylg, .lbl, .cite, .cite-inline, .srcs, .expl { color: var(--face); }
}

/* Apple polish 2026-11-02 (FAMILY-SPEC rules 1-2, M-1, M-3): size-based tracking and a 12px floor, as on the rest
   of the site (app/styles/apple-polish.css). Sizes are unchanged except where they were under 12px. */
body, .body, .bodylg { letter-spacing: 0; }
/* Sol r1 R7: tracking from each heading's own computed size (see app/styles/apple-polish.css --ap-track). */
.hxl, .hlg, .hmd, .hsm { letter-spacing: calc(clamp(-.01em, (20px - 1em) * 1000, 0px) + clamp(-.01em, (32px - 1em) * 1000, 0px) + clamp(-.005em, (60px - 1em) * 1000, 0px)); }
.hxl, .hlg { line-height: 1.08; }
.tag-est, .ctbl th, .rtbar .rl { font-size: .75rem; }
.btn, .btnf, .wscan-info .wsn { letter-spacing: 0; }
.rtbar .rv, .wscan-img { letter-spacing: -.01em; }
@media (max-width: 760px) { .rtbar .rv { letter-spacing: 0; } }
.skip { letter-spacing: .08em; }
.btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
@media (max-width: 760px) { footer .nv-legal { text-align: left; margin-inline: 0; } }
.skip { min-height: 44px; display: inline-flex; align-items: center; }

/* Apple polish, Sol r5 B2 (FAMILY-SPEC rules 8 and 12): every transition on this page animates transform or opacity
   only. State tints (background, border, colour, focus shadow) change at once; the press scale keeps its motion. The
   progress and gauge bars fill by transform (content/evaluate-improved.html). */
body, .bedrock, footer a, .segb, .bcard, .pcard, .fin, .fsel, .nig input, .nextbox .pf input, .oc-form input { transition: none; }
.btn { transition: transform 120ms ease; }
.pcard .ck { transition: transform 160ms ease, opacity 160ms ease; }
/* Reduced motion: every state change is instant, on everything this page draws. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Glass (FAMILY-SPEC rule 13, 2026-11-11) ──
   The header bar's glass is /brand/site-header.css, the same material as the app's header. This page adds:
   - a static colour field at the top of the page, behind the header at rest (the page's ground is a near-flat field);
   - the voice-demo panel ("Walk through your results", managed-walkthrough.js) as dark glass, over a static colour
     field painted inside its dark results box, and its button as the ember glass pill.
   Palette: the page's ember (#ff5b1f), bronze (#d9924f) and the site's verdigris (#2f6a5a). Static, no animation, never
   scroll-linked; the fields scroll with the page. Every state reads a token, so the fallbacks below cover hover and
   press too. Screen only: print sees none of it. */
@media screen {
  :root {
    --eg-blur: 20px; --eg-sat: 160%;
    --eg-panel: rgb(28 24 19 / .46); --eg-panel-border: rgb(255 255 255 / .16);
    --eg-btn: rgb(255 91 31 / .94); --eg-btn-hover: rgb(255 121 63 / .96); --eg-btn-press: rgb(255 108 52 / .96);
    --eg-field-ember: rgb(255 91 31 / .30); --eg-field-bronze: rgb(217 146 79 / .26); --eg-field-patina: rgb(47 106 90 / .62);
    --eg-top-mint: rgb(135 203 176 / .26); --eg-top-patina: rgb(47 106 90 / .22); --eg-top-ember: rgb(255 91 31 / .10);
  }
  .page::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: -1; pointer-events: none;
    background:
      radial-gradient(26% 96px at 14% 0, var(--eg-top-mint), transparent),
      radial-gradient(34% 110px at 52% 0, var(--eg-top-patina), transparent),
      radial-gradient(22% 88px at 88% 0, var(--eg-top-ember), transparent);
  }
  .walkbox:has(.sv[data-managed-walkthrough]) { isolation: isolate; }
  .walkbox:has(.sv[data-managed-walkthrough])::after {
    content: ""; position: absolute; inset: 18% 4% 8% 4%; z-index: -1; pointer-events: none;
    background:
      radial-gradient(24% 40% at 24% 42%, var(--eg-field-ember), transparent),
      radial-gradient(34% 44% at 56% 56%, var(--eg-field-patina), transparent),
      radial-gradient(14% 36% at 84% 38%, var(--eg-field-bronze), transparent);
  }
  :root .walkbox .sv[data-managed-walkthrough] {
    border-radius: 24px; background: var(--eg-panel); border: 1px solid var(--eg-panel-border);
    -webkit-backdrop-filter: blur(var(--eg-blur)) saturate(var(--eg-sat)); backdrop-filter: blur(var(--eg-blur)) saturate(var(--eg-sat));
    box-shadow: inset 0 1px 0 rgb(255 240 225 / .20), inset 0 -1px 0 rgb(0 0 0 / .32), 0 18px 40px -20px rgb(0 0 0 / .6);
  }
  :root .walkbox .sv[data-managed-walkthrough] .btn {
    border-radius: 999px; color: #161c18; border: 1px solid rgb(255 214 190 / .5);
    background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 52%), var(--eg-btn);
    box-shadow: inset 0 1px 0 rgb(255 236 224 / .55), inset 0 -1px 0 rgb(120 30 0 / .22), inset 0 0 16px rgb(255 196 160 / .38),
      0 0 24px rgb(255 91 31 / .32), 0 8px 20px -10px rgb(255 91 31 / .32);
  }
  @media (hover:hover) and (pointer:fine) {
    :root .walkbox .sv[data-managed-walkthrough] .btn:hover { background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 52%), var(--eg-btn-hover); color: #161c18; }
  }
  /* Pressed: a deeper ember instead of the old brightness filter (a filter on the button would also dim its glow). */
  :root .walkbox .sv[data-managed-walkthrough] .btn:active { background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / 0) 52%), var(--eg-btn-press); filter: none; color: #161c18; }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    :root { --eg-panel: rgb(30 26 21 / .96); }
  }
  @media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
    :root { --eg-panel: #211c16; --eg-btn: #ff5b1f; --eg-btn-hover: #ff793f; --eg-btn-press: #ff6c34; }
    .page::before, .walkbox:has(.sv[data-managed-walkthrough])::after { display: none; }
    :root .walkbox .sv[data-managed-walkthrough] { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-color: rgb(255 255 255 / .4); }
    :root .walkbox .sv[data-managed-walkthrough] .btn,
    :root .walkbox .sv[data-managed-walkthrough] .btn:hover,
    :root .walkbox .sv[data-managed-walkthrough] .btn:active { background-image: none; box-shadow: none; }
  }
  @media (prefers-contrast:more) {
    :root .walkbox .sv[data-managed-walkthrough] { border: 2px solid currentColor; }
    :root .walkbox .sv[data-managed-walkthrough] .btn { border-color: #161c18; }
  }
}

/* ── Family v2, item 4 (2026-11-12): the endorsement line, the last row of the footer, left-aligned, 13px system UI,
   a muted ink that passes 4.5:1 (it reads the footer's own colour). ── */
footer .foot-endorse {
  flex: 0 0 100%; margin: 0; text-align: left;
  font: 400 13px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0; text-transform: none;
}

/* ── Family v2, item 4 on the assessment (Sol r1 M4, 2026-11-12): the customer-facing CTAs (Start Assessment,
   Meet Sabina on the hiring step and on the results, Tour the back office, Review my results) take the family CTA
   spec: 48px single-line height, a full pill, 24px inline padding, system UI 17px/600/-0.01em, press scale(.97) over
   100ms ease-out. Their colours and the voice panel's glass stay. The arrows are part of the labels ("&rarr;"), so
   they keep their text space; no label changes. Inline padding and font-size on two of them are overridden here,
   which is why those two declarations carry !important. Form inputs and option buttons are untouched. ── */
:is(#startBtn, #submitBtn, #meetSabinaCTA, #tourCTA, .walkbox .sv[data-managed-walkthrough] .btn) {
  box-sizing: border-box; min-height: 48px; height: auto; padding: 12px 24px !important; border-radius: 999px;
  font: 600 17px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: -0.01em; text-transform: none; gap: 8px;
  transition: transform 100ms ease-out;
}
:is(#startBtn, #submitBtn, #meetSabinaCTA, #tourCTA, .walkbox .sv[data-managed-walkthrough] .btn):not(:disabled):active { transform: scale(.97); transition-duration: 100ms; }
@media (prefers-reduced-motion: reduce) {
  :is(#startBtn, #submitBtn, #meetSabinaCTA, #tourCTA, .walkbox .sv[data-managed-walkthrough] .btn) { transition: none; }
}
