/* WM Growth Advisor — tokens follow DESIGN.md (measured on whiteandmatas.com) */

.wma {
  --wma-paper: #f0f0ee;
  --wma-white: #ffffff;
  --wma-ink: #121211;
  --wma-text: #353530;
  --wma-muted: #6b6b64;
  --wma-line: #d6d6d1;
  --wma-red: #e71a03;
  --wma-red-dark: #c41500;
  --wma-black: #000000;
  --wma-grid: rgba(255, 255, 255, .06);
  --wma-font-body: var(--wma-font, "Google Sans Flex", "WMA Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  --wma-font-heads: var(--wma-font-head, "polysans-median", "Google Sans Flex", "WMA Sans", system-ui, sans-serif);
  --wma-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wma-ease: cubic-bezier(.2, .7, .2, 1);
  --wma-fast: 160ms;
  --wma-mid: 320ms;
  --wma-slow: 640ms;

  font-family: var(--wma-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wma-text);
  -webkit-font-smoothing: antialiased;
  /* Layout follows the width of the spot the widget sits in, not the window. */
  container: wma / inline-size;
}
.wma *, .wma *::before, .wma *::after { box-sizing: border-box; }
:where(.wma) button { font: inherit; color: inherit; }
:where(.wma) h2, :where(.wma) h3 { font-family: var(--wma-font-heads); color: var(--wma-ink); margin: 0; letter-spacing: -.01em; }
.wma__title, .wma__rname, .wma__rline, .wma__lean strong { text-wrap: balance; }
.wma :focus-visible { outline: 2px solid var(--wma-red); outline-offset: 3px; }
.wma [tabindex="-1"]:focus { outline: none; }

/* ---------- static fallback (no JS) ---------- */
.wma__fallback h2 { font-size: 41px; line-height: 1.15; font-weight: 700; margin-bottom: 16px; }
.wma__fallback ul { padding-left: 20px; }
.wma__fallback a { color: var(--wma-ink); }

/* ---------- layout ---------- */
.wma__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .88fr);
  gap: 64px;
  align-items: start;
}
.wma__main { min-width: 0; }
/* the written diagnosis gets more room, the finished building less */
@container wma (min-width: 1001px) {
  .wma--done .wma__grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .wma--done .wma__arch { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 8px; }
  .wma--done .wma__slabel { font-size: 10px; }
}

/* ---------- intro ---------- */
.wma__intro { margin-bottom: 32px; }
.wma__kicker { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wma-red); }
.wma__introtext { font-size: 20.8px; line-height: 1.6; margin: 0; max-width: 32em; }
.wma--started .wma__intro, .wma--started .wma__eta, .wma--done .wma__head { display: none; }

/* ---------- head: step + progress ---------- */
.wma__head { margin-bottom: 32px; }
.wma__meta {
  display: flex; gap: 12px; align-items: baseline; margin: 0 0 12px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--wma-muted);
}
.wma__step { color: var(--wma-ink); }
.wma__step, .wma__qlabel { white-space: nowrap; }
.wma__meta .wma__eta { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; }
.wma__qlabel:not(:empty)::before { content: "\00b7"; margin-right: 12px; }
.wma__progress { height: 2px; background: var(--wma-line); position: relative; overflow: hidden; border-radius: 2px; }
.wma__progress i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--wma-red);
  transition: width var(--wma-slow) var(--wma-ease);
}

/* ---------- stage transitions ---------- */
.wma__q, .wma__report { transition: opacity 220ms var(--wma-ease), transform 220ms var(--wma-ease); }
.wma__q.is-leaving, .wma__report.is-leaving { opacity: 0; transform: translateY(-10px); }
.wma__q.is-entering, .wma__report.is-entering { opacity: 0; transform: translateY(14px); }

/* ---------- question ---------- */
.wma__title { font-size: 40px; line-height: 1.12; font-weight: 700; margin-bottom: 24px; max-width: 18em; }
.wma__answers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wma-line); }
.wma__answers li { margin: 0; padding: 0; }
.wma__ans {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 16px; align-items: center;
  width: 100%; min-height: 62px; padding: 12px 16px 12px 12px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--wma-line); border-radius: 0;
  text-align: left; cursor: pointer;
  font-family: var(--wma-font-body); font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--wma-ink);
  transition: color var(--wma-fast) var(--wma-ease), opacity var(--wma-mid) var(--wma-ease);
}
.wma__ans::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--wma-white);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--wma-mid) var(--wma-ease), background-color var(--wma-fast) linear;
}
.wma__ans > * { position: relative; z-index: 1; }
.wma__ans kbd {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(18, 18, 17, .22); background: transparent;
  font-family: var(--wma-font-body); font-size: 13px; font-weight: 700; color: var(--wma-ink);
  transition: border-color var(--wma-fast), color var(--wma-fast), background-color var(--wma-fast);
}
.wma__go { color: var(--wma-red); opacity: 0; transform: translateX(-8px); transition: opacity var(--wma-fast), transform var(--wma-mid) var(--wma-ease); display: inline-flex; }
.wma__ans.is-prev kbd { border-color: var(--wma-red); color: var(--wma-red); }
@media (hover: hover) {
  .wma__ans:hover::before { transform: scaleX(1); }
  .wma__ans:hover kbd { border-color: var(--wma-red); color: var(--wma-red); }
  .wma__ans:hover .wma__go { opacity: 1; transform: none; }
}
.wma__ans:focus-visible { outline-offset: -2px; }
.wma__ans:focus-visible::before { transform: scaleX(1); }
.wma__ans.is-picked { color: var(--wma-white); }
.wma__ans.is-picked::before { transform: scaleX(1); background: var(--wma-red); }
.wma__ans.is-picked kbd { background: var(--wma-white); border-color: var(--wma-white); color: var(--wma-red); }
.wma__ans.is-picked .wma__go { opacity: 1; transform: none; color: var(--wma-white); }
.wma__ans.is-dim { opacity: .4; }

.wma__qfoot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.wma__back {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--wma-ink);
}
.wma__back:hover { color: var(--wma-red); }
.wma__back[disabled] { opacity: .3; cursor: default; color: var(--wma-ink); }
.wma__keys { font-size: 13px; color: var(--wma-muted); }
@media (hover: none) { .wma__keys { display: none; } }

/* currency switch */
.wma__cur { display: inline-flex; gap: 4px; padding: 4px; margin: -8px 0 24px; border: 1px solid var(--wma-line); border-radius: 99px; background: var(--wma-white); }
.wma__cur button {
  border: 0; background: transparent; border-radius: 99px; padding: 6px 16px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--wma-muted);
  transition: background-color var(--wma-fast), color var(--wma-fast);
}
.wma__cur button[aria-pressed="true"] { background: var(--wma-ink); color: var(--wma-white); }
.wma__cur button:not([aria-pressed="true"]):hover { color: var(--wma-ink); }

/* ---------- live panel: the building section ---------- */
.wma__panel {
  position: sticky; top: var(--wma-sticky-top, 24px);
  transition: top .2s ease;
  background-color: var(--wma-black);
  background-image:
    linear-gradient(var(--wma-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--wma-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  border-radius: 24px;
  padding: 32px;
  color: var(--wma-white);
}
.wma__ptop { min-height: 96px; }
.wma__plabel {
  display: flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .62);
}
.wma__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wma-red); box-shadow: 0 0 0 0 rgba(231, 26, 3, .6); animation: wma-pulse 2s infinite; }
.wma__panel.is-final .wma__dot { animation: none; background: #fff; }
.wma__lean { margin: 0; }
.wma__lean > span { display: block; font-size: 13px; color: rgba(255, 255, 255, .62); min-height: 21px; }
.wma__lean strong {
  display: block; font-family: var(--wma-font-heads); font-size: 28px; line-height: 1.15; font-weight: 700; color: #fff;
  transition: opacity var(--wma-fast) var(--wma-ease), transform var(--wma-fast) var(--wma-ease);
}
.wma__lean strong.is-out { opacity: 0; transform: translateY(6px); }
.wma__panel.is-idle .wma__lean strong { font-size: 26px; line-height: 1.2; }
.wma__accent { display: block; color: var(--wma-red); }

.wma__arch { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 12px; margin-top: 24px; align-items: stretch; }
.wma__floors { display: grid; border-top: 3px solid rgba(255, 255, 255, .9); }
.wma__floor { padding: 12px 0 12px; border-bottom: 3px solid rgba(255, 255, 255, .9); }
.wma__flabel { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .5); margin: 0 0 8px; }
.wma__cells { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 8px; }
.wma__ground {
  height: 20px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 7px);
}

.wma__cell {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 76px; padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  transition: opacity var(--wma-mid) var(--wma-ease), box-shadow var(--wma-mid) var(--wma-ease);
}
.wma__floor--data .wma__cell { height: 60px; }
.wma__floor--execution .wma__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wma__floor--execution .wma__cell { height: 58px; }
.wma__fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--f, 0) * 100%);
  background: rgba(231, 26, 3, .34);
  transition: height 520ms var(--wma-ease), background-color var(--wma-mid) linear;
}
.wma__cell b { position: relative; z-index: 1; font-size: 12.5px; line-height: 1.2; font-weight: 700; color: #fff; hyphens: manual; transition: opacity var(--wma-mid); }
.wma__score {
  position: absolute; top: 6px; right: 8px; z-index: 1;
  font-style: normal; font-family: var(--wma-mono); font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .6);
}
.wma__cell.is-zero b { opacity: .55; }
.wma__cell.is-zero .wma__score { color: rgba(255, 255, 255, .3); }
.wma__cell.is-lead { border-color: var(--wma-red); }
.wma__cell.is-lead .wma__fill { background: var(--wma-red); }
.wma__cell.is-lead .wma__score { color: #fff; }
.wma__panel.is-final .wma__cell:not(.is-lead):not(.is-second) { opacity: .38; }
.wma__cell.is-second { box-shadow: inset 0 0 0 2px var(--wma-red); }

/* side columns: Inspect (audit) and Build (setup) span all floors */
.wma__side { display: flex; flex-direction: column; gap: 8px; }
.wma__slabel { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .5); writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; }
.wma__cell--side { flex: 1; height: auto; min-height: 120px; padding: 10px 4px; align-items: center; }
.wma__cell--side b { writing-mode: vertical-rl; transform: rotate(180deg); }
.wma__cell--side .wma__score { position: relative; top: auto; right: auto; order: -1; margin-bottom: auto; }
.wma__side--inspect .wma__cell--side { border-style: dashed; }

.wma__delta {
  position: absolute; z-index: 2; top: 50%; right: 8px;
  padding: 2px 8px; border-radius: 99px; background: var(--wma-red); color: #fff;
  font-family: var(--wma-mono); font-size: 12px; font-weight: 700; pointer-events: none;
  animation: wma-rise 1.05s var(--wma-ease) forwards;
}
.wma__delta.is-neg { background: rgba(255, 255, 255, .22); }
.wma__cell--side .wma__delta { right: 50%; transform: translateX(50%); }

.wma__hint { margin: 24px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .55); }

@keyframes wma-rise {
  0% { opacity: 0; translate: 0 6px; }
  20% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 -30px; }
}
@keyframes wma-pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 26, 3, .6); }
  70% { box-shadow: 0 0 0 8px rgba(231, 26, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 26, 3, 0); }
}
@keyframes wma-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- the diagnosis report ---------- */
.wma__report {
  background: var(--wma-white);
  border-radius: 8px;
  border-top: 4px solid var(--wma-red);
  padding: 32px 48px 40px;
}
.wma__rhead {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--wma-line);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wma-muted);
}
.wma__rhead span:first-child { color: var(--wma-ink); margin-right: auto; }
.wma__rhead span:nth-child(2) { font-family: var(--wma-mono); letter-spacing: .04em; }
.wma__rlabel { margin: 32px 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wma-red); }
.wma__rname { font-size: 48px; line-height: 1.08; font-weight: 700; }
.wma__rname span { display: block; }
.wma__plus { display: block; font-style: normal; color: var(--wma-red); font-size: .7em; line-height: 1.1; margin: 4px 0; }
.wma__rline { margin: 24px 0 0; font-family: var(--wma-font-heads); font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--wma-ink); max-width: 30em; }
.wma__pitch { margin: 16px 0 0; font-size: 17px; line-height: 1.6; max-width: 36em; }

.wma__why h3, .wma__also h3, .wma__scores h3, .wma__form h3 {
  font-family: var(--wma-font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--wma-ink);
}
.wma__why { margin-top: 32px; }
.wma__why h3 { margin-bottom: 8px; }
.wma__whylist { list-style: none; margin: 0; padding: 0; }
.wma__whylist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--wma-line); font-size: 17px; line-height: 1.45; color: var(--wma-ink); margin: 0; }
.wma__whylist li:last-child { border-bottom: 0; }
.wma__tick { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--wma-red); margin-top: 1px; }

.wma__notes { margin-top: 24px; }
.wma__note { margin: 0 0 12px; padding: 4px 0 4px 16px; border-left: 3px solid var(--wma-red); font-size: 15px; line-height: 1.55; }

.wma__also { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--wma-line); }
.wma__also h3 { margin-bottom: 8px; }
.wma__also p { margin: 0; font-size: 16px; }
.wma__also a { color: var(--wma-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--wma-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wma__also a:hover { color: var(--wma-red); }

.wma__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wma__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding: 10px 32px; border: 0; border-radius: 99px; cursor: pointer;
  font-family: var(--wma-font-body); font-size: 15.5px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color var(--wma-fast) var(--wma-ease), transform var(--wma-fast) var(--wma-ease);
}
.wma__btn:hover { transform: translateY(-1px); }
.wma__btn:active { transform: none; }
.wma .wma__btn--red { background: var(--wma-red); color: var(--wma-white); }
.wma .wma__btn--red:hover { background: var(--wma-red-dark); color: var(--wma-white); }
.wma .wma__btn--ink { background: var(--wma-ink); color: var(--wma-white); }
.wma .wma__btn--ink:hover { background: #000; color: var(--wma-white); }
.wma__btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.wma__minor { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 20px 0 0; font-size: 14px; }
.wma__minor a, .wma__minor button { background: none; border: 0; padding: 4px 0; cursor: pointer; font-weight: 700; color: var(--wma-ink); text-decoration: none; }
.wma__minor a:hover, .wma__minor button:hover { color: var(--wma-red); }

.wma__scores { display: none; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--wma-line); }
.wma__scores h3 { margin-bottom: 12px; }
.wma__srow { display: grid; grid-template-columns: 112px minmax(0, 1fr) 28px; gap: 12px; align-items: center; font-size: 14px; padding: 4px 0; }
.wma__srow i { height: 6px; border-radius: 6px; background: var(--wma-line); position: relative; overflow: hidden; }
.wma__srow i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--f) * 100%); background: rgba(231, 26, 3, .38); border-radius: 6px; }
.wma__srow.is-lead { font-weight: 700; color: var(--wma-ink); }
.wma__srow.is-lead i::after { background: var(--wma-red); }
.wma__srow em { font-style: normal; font-family: var(--wma-mono); font-size: 12px; text-align: right; color: var(--wma-muted); }

.wma__details { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--wma-line); }
.wma__details summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--wma-ink); }
.wma__details summary:hover { color: var(--wma-red); }
.wma__given { margin: 16px 0 0; }
.wma__given dt { font-size: 13px; color: var(--wma-muted); }
.wma__given dd { margin: 0 0 12px; font-size: 15px; color: var(--wma-ink); font-weight: 600; }

/* ---------- lead form ---------- */
.wma__form { margin-top: 32px; padding: 28px 0 0; border-top: 1px solid var(--wma-line); }
.wma__form.is-open { animation: wma-in var(--wma-mid) var(--wma-ease); }
.wma__form h3 { margin-bottom: 8px; }
.wma__form.is-done h3 { font-family: var(--wma-font-heads); font-size: 26px; letter-spacing: -.01em; text-transform: none; }
.wma__ftext { margin: 0 0 20px; font-size: 15px; max-width: 34em; }
.wma__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wma__field { display: flex; flex-direction: column; gap: 8px; }
.wma__field--wide { grid-column: 1 / -1; }
.wma__field span { font-size: 13px; font-weight: 700; color: var(--wma-ink); }
.wma__field input, .wma__field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #c9c9c3; border-radius: 12px; background: var(--wma-white);
  font: 16px/1.4 var(--wma-font-body); color: var(--wma-ink);
  transition: border-color var(--wma-fast), box-shadow var(--wma-fast);
}
.wma__field textarea { resize: vertical; }
.wma__field input:focus, .wma__field textarea:focus { outline: none; border-color: var(--wma-ink); box-shadow: 0 0 0 3px rgba(231, 26, 3, .18); }
.wma__field [aria-invalid="true"] { border-color: var(--wma-red); }
.wma__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wma__fsend { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 20px; }
.wma__privacy { margin: 0; font-size: 13px; color: var(--wma-muted); max-width: 22em; }
.wma__fstatus { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--wma-ink); min-height: 1px; }

/* ---------- responsive ---------- */
@container wma (max-width: 1000px) {
  .wma__grid { gap: 40px; grid-template-columns: minmax(0, 1fr) 340px; }
  .wma__panel { padding: 28px 24px; }
  .wma__arch { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 8px; }
  .wma__cell b { font-size: 11.5px; }
  .wma__slabel { font-size: 10px; }
  .wma__introtitle { font-size: 44px; }
  .wma__title { font-size: 34px; }
  .wma__report { padding: 28px 32px 36px; }
}

@container wma (max-width: 800px) {
  .wma__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wma__panel { order: -1; position: relative; top: auto; padding: 18px 18px 16px; border-radius: 18px; }
  .wma--js:not(.wma--started) .wma__panel { order: 0; }
  .wma__ptop { min-height: 0; display: flex; flex-direction: column; }
  .wma__plabel { margin-bottom: 4px; font-size: 11px; }
  .wma__lean strong { font-size: 20px; }
  .wma__lean > span { min-height: 0; font-size: 12px; }
  .wma__arch { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 8px; margin-top: 12px; }
  .wma__floor { padding: 6px 0; }
  .wma__flabel { display: none; }
  .wma__cells { gap: 6px; }
  .wma__cell { height: 40px; padding: 5px 7px; border-radius: 8px; }
  .wma__floor--data .wma__cell { height: 30px; }
  .wma__floor--execution .wma__cell { height: 34px; }
  .wma__panel.is-idle .wma__lean strong { font-size: 18px; }
  .wma__cell b { font-size: 10.5px; }
  .wma__score { font-size: 10px; top: 4px; right: 6px; }
  .wma__cell--side { min-height: 0; padding: 6px 2px; }
  .wma__slabel { display: none; }
  .wma__ground { height: 10px; }
  .wma__hint { display: none; }
  .wma__scores { display: block; }
  .wma__intro { margin-bottom: 32px; }
}

@container wma (max-width: 560px) {
  .wma__introtitle { font-size: 34px; }
  .wma__introtext { font-size: 18px; }
  .wma__title { font-size: 28px; margin-bottom: 20px; }
  .wma__head { margin-bottom: 24px; }
  .wma__meta { flex-wrap: wrap; row-gap: 4px; }
  .wma__meta .wma__eta { margin-left: 0; flex-basis: 100%; font-size: 13px; }
  .wma__ans { font-size: 16px; min-height: 58px; gap: 12px; padding: 10px 8px; grid-template-columns: 28px minmax(0, 1fr) 20px; }
  .wma__ans kbd { width: 28px; height: 28px; font-size: 12px; }
  .wma__report { padding: 24px 20px 28px; }
  .wma__rname { font-size: 34px; }
  .wma__rline { font-size: 19px; }
  .wma__pitch, .wma__whylist li { font-size: 16px; }
  .wma__fields { grid-template-columns: 1fr; }
  .wma__ctas .wma__btn { width: 100%; }
  .wma__srow { grid-template-columns: 96px minmax(0, 1fr) 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .wma *, .wma *::before, .wma *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* ---------- print: the report only ---------- */
@media print {
  body * { visibility: hidden !important; }
  .wma__report, .wma__report * { visibility: visible !important; }
  .wma__report { position: absolute; left: 0; top: 0; width: 100%; border-radius: 0; padding: 0; border-top-width: 6px; }
  .wma__ctas, .wma__minor, .wma__form, .wma__details summary { display: none !important; }
  .wma__scores { display: block !important; }
  .wma__srow i::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- variants ---------- */
.wma--no-intro .wma__intro { display: none; }
.wma--on-white .wma__ans::before { background: var(--wma-paper); }
.wma--on-white .wma__ans.is-picked::before { background: var(--wma-red); }
.wma--on-white .wma__report { border: 1px solid var(--wma-line); border-top: 4px solid var(--wma-red); }
.wma--on-white .wma__cur { background: var(--wma-paper); border-color: transparent; }
.wma--on-white .wma__field input, .wma--on-white .wma__field textarea { background: var(--wma-paper); border-color: transparent; }
.wma--on-white .wma__field input:focus, .wma--on-white .wma__field textarea:focus { background: var(--wma-white); border-color: var(--wma-ink); }
.wma-preview-flag {
  margin: 0 0 16px; padding: 10px 14px; border-left: 4px solid var(--wma-red, #e71a03); background: #fff6f4;
  font: 600 14px/1.4 var(--wma-font, "Google Sans Flex", system-ui, sans-serif); color: #121211;
}
