/* ============================================================
   /growth — Growth Opportunities Report (landing, questionnaire,
   gate, thanks, advisor). Page-local styles, every class is .gr-*
   so nothing leaks into the site. Brand tokens and .btn come from
   /style.css; this file adds a 4 px spacing scale, three radii,
   an AA-safe accent for text and a 4-step heat scale.
   ============================================================ */

.gr-body {
  /* 4 px spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;
  /* radii: controls / cards / pills */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  /* control heights */
  --h-ctl: 44px; --h-btn: 56px;
  /* orange used as text: AA (>= 4.5:1) on cream, tint and white */
  --gr-accent: #B23A10;
  --gr-ink-2: #3D3934;
  --gr-surface: #FBFAF6;
  --gr-line: var(--rule);
  /* heat scale = the PDF scale; ink text on every step (15.4 / 13.6 / 8.7 / 5.68 : 1) */
  --heat-1: #F4F1EA; --heat-2: #FFE0CE; --heat-3: #FFA47F; --heat-4: #FE5E2D; --heat-line: #857F70;
  --gr-ease: cubic-bezier(.2, .7, .2, 1);

  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  background: var(--cream);
}
.gr { flex: 1 0 auto; display: flex; flex-direction: column; padding: var(--s6) var(--s4) var(--s16); font-variant-numeric: tabular-nums; }
.gr-col { width: 100%; max-width: 640px; margin: 0 auto; }
.gr-foot { flex-shrink: 0; margin-top: auto; }
.gr-foot .foot__inner { gap: 0 var(--s6); }
.gr-foot .foot__inner span { text-wrap: balance; }
.gr-foot .foot__inner a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--h-ctl); min-width: var(--h-ctl); color: #b8b2a4; text-decoration: none; }
.gr-foot .foot__inner a:hover { color: var(--cream); }
.gr-foot .foot__inner a:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; border-radius: 4px; }

.gr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gr [hidden] { display: none !important; }
.gr-nw { white-space: nowrap; }

/* ---------- nav (page-local overrides; site nav markup) ---------- */
.gr-body .nav__brand { display: inline-flex; align-items: center; min-height: var(--h-ctl); }
.gr-body .nav__links { gap: var(--s3); }
.gr-body .lang-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: var(--h-ctl); min-width: 64px; padding: 0 var(--s4); border-radius: var(--r-sm); font-size: 14px; line-height: 1; }
.gr-body .nav .container { transition: max-width .2s var(--gr-ease); }
.gr-body.gr-advscreen .gr-foot, .gr-body.gr-advscreen .nav .lang-toggle { display: none; }
.gr-body.gr-advscreen .nav .container { max-width: none; padding: 0 var(--s6); }
.gr-adv-badge { display: inline-flex; align-items: center; height: 32px; padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.gr-adv-badge[hidden] { display: none; }

/* ---------- focus: one ring everywhere ---------- */
.gr :focus { outline: none; }
.gr :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gr [data-focus-target]:focus-visible { outline: none; }
.gr-body .nav a:focus-visible, .gr-body .nav button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- buttons (page-local sizing on top of the site .btn) ---------- */
.gr .btn { font-family: inherit; cursor: pointer; text-wrap: balance; }
.gr .btn--lg {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--h-btn); padding: var(--s3) var(--s8); border-radius: var(--r-sm);
  font-size: 20px; font-weight: 700; line-height: 1.25; text-align: center; white-space: normal;
}
.gr .btn--primary { border: 2px solid transparent; box-shadow: 0 4px 14px rgba(254,94,45,.24); transition: background .16s var(--gr-ease), box-shadow .16s var(--gr-ease), transform .16s var(--gr-ease); }
.gr .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(254,94,45,.30); }
.gr .btn--primary:active { transform: none; box-shadow: 0 2px 8px rgba(254,94,45,.24); }
.gr .btn--ghost { border-width: 2px; transition: background .16s var(--gr-ease), color .16s var(--gr-ease); }
.gr .btn--lg.btn--ghost { padding: var(--s3) var(--s6); }
.gr .btn[disabled], .gr .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
.gr .btn--primary[disabled]:hover { background: var(--orange); }
.gr-btn-arrow { flex: 0 0 auto; width: 20px; height: 20px; }
[dir="rtl"] .gr-btn-arrow { transform: scaleX(-1); }
/* compact control: 44 px, outline (quiet) or ink (solid) */
.gr-ctl {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: var(--h-ctl); padding: 0 var(--s4); border-radius: var(--r-sm);
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .16s var(--gr-ease), color .16s var(--gr-ease), border-color .16s var(--gr-ease);
}
.gr-ctl:hover { background: var(--ink); color: var(--cream); }
.gr-ctl--quiet { border-color: var(--gr-line); background: var(--white); }
.gr-ctl--quiet:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
.gr-ctl--solid { background: var(--ink); color: var(--cream); }
.gr-ctl--solid:hover { background: #2B2621; border-color: #2B2621; }

/* ---------- top bar: back · counter, track below ---------- */
.gr-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--s3); margin-bottom: var(--s8); }
.gr-back {
  display: inline-flex; align-items: center; gap: var(--s1);
  height: var(--h-ctl); padding: 0 var(--s3) 0 var(--s1); margin-inline-start: -10px;
  background: transparent; border: none; border-radius: var(--r-sm); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; color: var(--ink);
  transition: background .16s var(--gr-ease);
}
.gr-back:hover { background: rgba(22,19,16,.06); }
.gr-back__icon { flex: 0 0 auto; width: 20px; height: 20px; }
[dir="rtl"] .gr-back { padding: 0 var(--s1) 0 var(--s3); }
[dir="rtl"] .gr-back__icon { transform: scaleX(-1); }
.gr-progress { display: contents; }
.gr-progress__text { grid-column: 2; grid-row: 1; align-self: center; text-align: end; font-size: 14px; font-weight: 700; line-height: 20px; height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-progress__track { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s2); height: 4px; border-radius: var(--r-pill); background: var(--gr-line); overflow: hidden; }
.gr-progress__fill { height: 100%; width: 0; background: var(--orange); border-radius: var(--r-pill); transition: width .32s var(--gr-ease); }

/* ---------- loading ---------- */
.gr-loading { display: flex; justify-content: center; padding: var(--s20) 0; }
.gr-spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--gr-line); border-top-color: var(--orange); animation: gr-spin .8s linear infinite; }
.gr-spinner--lg { width: 48px; height: 48px; border-width: 4px; }
@keyframes gr-spin { to { transform: rotate(360deg); } }

/* ---------- meta chips (10 questions · 3 minutes …) ---------- */
.gr-meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
.gr-meta li { display: inline-flex; align-items: center; min-height: 32px; padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--gr-line); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--gr-ink-2); white-space: nowrap; }
.gr-meta--soft li { min-height: 28px; padding: 2px 10px; background: var(--cream); border-color: transparent; font-size: 14px; color: var(--gr-ink-2); }


/* ---------- hero (per questionnaire) ---------- */
.gr-hero { padding: var(--s4) 0 0; }
.gr-hero__eyebrow4 { margin-bottom: var(--s4); font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--gr-accent); }
.gr-hero__title { font-size: min(32px, 9vw); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.gr-hero__sub { margin-top: var(--s4); font-size: 20px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.gr-hero .gr-meta { margin-top: var(--s6); }
.gr-hero__list { list-style: none; margin: var(--s8) 0 0; display: grid; gap: var(--s4); }
.gr-hero__list li { display: flex; align-items: flex-start; gap: var(--s3); font-size: 16px; line-height: 1.5; font-weight: 600; text-wrap: pretty; }
.gr-hero__tick { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; }
.gr-hero__tick svg { width: 14px; height: 14px; }
.gr-hero__cta { margin-top: var(--s8); display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); }
.gr-cta { width: 100%; }
.gr-cta__short { display: none; }
.gr-hero__sample, .gr-door4__sample {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--h-ctl);
  font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(22,19,16,.35);
  text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color .16s var(--gr-ease); border-radius: 4px;
}
.gr-hero__sample:hover, .gr-door4__sample:hover { text-decoration-color: var(--orange); }
.gr-hero__trust { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--gr-line); }
.gr-hero__photo { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--card); }
.gr-hero__trust p { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--muted); text-wrap: pretty; }

/* ---------- landing: two doors ---------- */
.gr-landing { padding: var(--s4) 0 0; }
.gr-landing .gr-hero__sub { margin-top: var(--s4); }
.gr-doors4 { display: grid; gap: var(--s4); margin-top: var(--s8); }
.gr-door4 { display: flex; flex-direction: column; padding: var(--s6) var(--s5); background: var(--white); border: 1px solid var(--gr-line); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(22,19,16,.04); }
.gr-door__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; }
.gr-door__icon svg { width: 26px; height: 26px; }
.gr-door4__label { margin-top: var(--s5); font-size: 24px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.gr-door4__desc { margin-top: var(--s2); font-size: 16px; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.gr-door4__scope { margin-top: var(--s3); font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.gr-door4 > .gr-meta { margin-top: var(--s3); }
.gr-door4__btn { margin-top: var(--s6); width: 100%; }
.gr-door4__sample { margin-top: var(--s2); align-self: stretch; }
.gr-landing > .gr-meta { margin-top: var(--s6); }
.gr-landing .gr-hero__trust { margin-top: var(--s8); }

/* ---------- question ---------- */
.gr-q__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.gr-q__help { margin-top: var(--s3); font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.gr-q__hint { margin: 0 0 var(--s3); font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--gr-accent); }
.gr-q__hint.is-flash { animation: gr-flash .4s ease; }
@keyframes gr-flash { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.gr-opts { display: grid; gap: var(--s2); margin-top: var(--s6); }
.gr-opt {
  position: relative; display: flex; align-items: center; gap: var(--s3); width: 100%;
  min-height: 56px; padding: var(--s3) var(--s4); text-align: start;
  background: var(--white); border: 2px solid var(--gr-line); border-radius: var(--r-md);
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink);
  cursor: pointer; transition: border-color .16s var(--gr-ease), background .16s var(--gr-ease);
  -webkit-tap-highlight-color: transparent;
}
.gr-opt__label { flex: 1 1 auto; min-width: 0; }
.gr-opt__key {
  flex: 0 0 28px; height: 28px; border-radius: var(--r-sm); border: 1px solid var(--gr-line);
  display: none; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.gr-check {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--gr-line); color: transparent; background: transparent;
  transition: background .16s var(--gr-ease), border-color .16s var(--gr-ease);
}
.gr-check svg { width: 14px; height: 14px; }
.gr-opt[role="checkbox"] .gr-check { border-radius: 6px; }
.gr-opt.is-selected, .gr-tile.is-selected, .gr-chip4.is-selected { border-color: var(--orange); background: var(--tint); }
.gr-opt.is-selected .gr-check, .gr-tile.is-selected .gr-check { background: var(--orange); border-color: var(--orange); color: var(--white); }
.gr-opt.is-selected .gr-opt__key { border-color: var(--orange); color: var(--gr-accent); }
.gr-opt.is-dimmed, .gr-tile.is-dimmed, .gr-chip4.is-dimmed { opacity: .45; }
@media (hover: hover) and (pointer: fine) {
  .gr-opt__key { display: inline-flex; }
  .gr-opt:hover:not(.is-selected):not(.is-dimmed), .gr-tile:hover:not(.is-selected):not(.is-dimmed), .gr-chip4:hover:not(.is-selected) { border-color: #A9A18C; }
}

/* sector tiles: 3 × 3 */
.gr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s6); }
.gr-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--s2);
  min-height: 116px; padding: var(--s4) var(--s1) var(--s3); text-align: center;
  background: var(--white); border: 2px solid var(--gr-line); border-radius: var(--r-md);
  font: inherit; color: var(--ink); cursor: pointer;
  transition: border-color .16s var(--gr-ease), background .16s var(--gr-ease);
  -webkit-tap-highlight-color: transparent;
}
.gr-tile__icon { color: var(--ink); display: inline-flex; }
.gr-tile__label { font-size: 14px; line-height: 1.25; font-weight: 700; overflow-wrap: break-word; }
.gr-tile__sub { display: block; margin-top: var(--s1); font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--muted); }
.gr-tile .gr-check { position: absolute; top: var(--s2); inset-inline-end: var(--s2); width: 20px; height: 20px; flex: none; opacity: 0; }
.gr-tile.is-selected .gr-check { opacity: 1; }

/* SME Q1: 2 × 6 compact chips (stay above the fold at 360 × 640) */
.gr-q[data-layout="chips_2x6"] .gr-q__title { font-size: 24px; }
.gr-q[data-layout="chips_2x6"] .gr-q__help { margin-top: var(--s2); font-size: 14px; }
.gr-chips4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s4); }
.gr-chip4 {
  display: flex; align-items: center; gap: var(--s2); height: 52px; padding: 0 var(--s3);
  background: var(--white); border: 2px solid var(--gr-line); border-radius: var(--r-md); text-align: start;
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--ink); cursor: pointer;
  transition: border-color .16s var(--gr-ease), background .16s var(--gr-ease); -webkit-tap-highlight-color: transparent;
}
.gr-chip4__icon { flex: 0 0 20px; display: inline-flex; color: var(--ink); }
.gr-chip4__label { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Enterprise Q1: ordered picks show their tap order */
.gr-order { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--gr-line); font-size: 14px; font-weight: 800; color: transparent; }
.is-selected > .gr-order { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gr-seg .gr-order { flex-basis: 20px; width: 20px; height: 20px; font-size: 12px; border-width: 0; margin-inline-start: var(--s1); }
.gr-seg:not(.is-selected) .gr-order { display: none; }

/* "Prefer not to say" reads as a choice, not a gap */
.gr-opt.is-pnts { border-style: dashed; background: transparent; color: var(--muted); }
.gr-seg.is-pnts.is-selected { color: var(--ink); }
.gr-opt.is-pnts.is-selected { color: var(--ink); background: var(--tint); border-style: solid; }
.gr-seg.is-pnts { border-style: dashed; color: var(--muted); }

/* Next: sticky on phones with safe-area room */
.gr-actions {
  position: sticky; bottom: 0; z-index: 5;
  margin-top: var(--s4); padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(242,239,230,0) 0, var(--cream) 20px);
}
.gr-next { width: 100%; }

/* ---------- redirect interstitial ---------- */
.gr-redirect__card { background: var(--white); border: 1px solid var(--gr-line); border-radius: var(--r-lg); padding: var(--s6) var(--s5); }
.gr-redirect__text { margin-top: var(--s4); font-size: 20px; line-height: 1.5; font-weight: 600; text-wrap: pretty; }
.gr-redirect__text:focus { outline: none; }
.gr-redirect__btns { display: grid; gap: var(--s3); margin-top: var(--s6); }

/* ---------- forms ---------- */
.gr-form { margin-top: var(--s6); }
.gr-field { margin-bottom: var(--s5); }
.gr-field label { display: block; margin-bottom: var(--s2); font-size: 14px; font-weight: 700; line-height: 1.4; }
.gr-req { color: var(--gr-accent); margin-inline-start: 2px; }
.gr-help { margin: calc(-1 * var(--s1)) 0 var(--s2); font-size: 14px; line-height: 1.45; color: var(--muted); }
.gr-field input, .gr-field select, .gr-field textarea {
  display: block; width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 2px solid var(--gr-line); border-radius: var(--r-sm);
  height: 52px; padding: 0 var(--s4); -webkit-appearance: none; appearance: none;
  transition: border-color .16s var(--gr-ease), box-shadow .16s var(--gr-ease);
}
.gr-field textarea { height: auto; min-height: 104px; padding: var(--s3) var(--s4); resize: vertical; line-height: 1.5; }
.gr-field input:hover, .gr-field select:hover, .gr-field textarea:hover { border-color: #A9A18C; }
.gr-field input:focus, .gr-field select:focus, .gr-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,19,16,.12); }
.gr-field.has-error input, .gr-field.has-error select { border-color: #B0260E; }
.gr-field.has-error input:focus { box-shadow: 0 0 0 3px rgba(176,38,14,.16); }
.gr-err { margin-top: var(--s2); font-size: 14px; font-weight: 700; line-height: 1.45; color: #B0260E; }
.gr-count { margin-top: var(--s2); font-size: 14px; color: var(--muted); text-align: end; }
.gr-select { position: relative; }
.gr-field select { padding-inline-end: var(--s12); cursor: pointer; }
.gr-select::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: var(--s5); width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.gr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[dir="rtl"] .gr-hp { left: auto; right: -9999px; }
.gr-tickbox { display: flex; align-items: flex-start; gap: var(--s3); min-height: var(--h-ctl); padding: var(--s2) 0; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--ink); }
.gr-tickbox input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.gr-formerr { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: #FBE6DF; color: #8A1F0C; font-size: 14px; font-weight: 600; line-height: 1.45; border-inline-start: 4px solid #B0260E; }
.gr-submit { width: 100%; margin-top: var(--s2); }
.gr-consent { margin-top: var(--s4); font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.gr-consent a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.gr-field input[dir="auto"], .gr-field textarea[dir="auto"] { text-align: start; }

/* ---------- sending ---------- */
.gr-sending { text-align: center; padding: var(--s16) 0 var(--s10); }
.gr-sending .gr-q__title { margin-top: var(--s6); }
.gr-muted { margin-top: var(--s3); color: var(--muted); font-size: 16px; }

/* ---------- gate ---------- */
.gr-gate__teaser { background: var(--white); border: 1px solid var(--gr-line); border-radius: var(--r-lg); padding: var(--s5) var(--s4); }
.gr-gate__ready { font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.gr-gate__ready .gr-teaser__num { font-variant-numeric: tabular-nums; }
.gr-gate__kicker { margin-top: var(--s6); font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
.gr-opps { list-style: none; margin-top: var(--s2); display: grid; }
.gr-opp { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--gr-line); }
.gr-opp:first-child { border-top: none; }
.gr-opp:last-child { padding-bottom: 0; }
.gr-opp__n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.gr-opp__body { min-width: 0; flex: 1 1 auto; }
.gr-opp__title { font-size: 16px; line-height: 1.5; font-weight: 700; text-wrap: balance; }
.gr-opp__move { margin-top: var(--s1); font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--muted); }
.gr-skel { display: grid; gap: var(--s2); margin-top: var(--s3); }
.gr-skel span { display: block; height: 8px; border-radius: var(--r-pill); background: #EEEAE0; }
.gr-skel span:first-child { width: 92%; }
.gr-skel span:last-child { width: 60%; }
.gr-gate__more { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--gr-line); font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--muted); }
.gr-gate__heading { margin-top: var(--s10); }

/* ---------- heatmap: 6 department tiles ---------- */
.gr-heat4 { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s4); }
.gr-heat4__tile { display: flex; flex-direction: column; gap: var(--s1); min-height: 80px; padding: var(--s3); border-radius: var(--r-md); border: 2px solid transparent; color: var(--ink); }
.gr-heat4__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.gr-heat4__score { margin-top: auto; padding-top: var(--s2); font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.gr-heat4__band { margin-top: auto; padding-top: var(--s2); font-size: 14px; font-weight: 800; line-height: 1.3; }
.gr-heat4__reason { margin-top: auto; padding-top: var(--s2); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.gr-heat4__lever { font-size: 14px; font-weight: 600; line-height: 1.35; }
.gr-heat4__value { font-size: 14px; font-weight: 700; line-height: 1.35; }
.gr-heat4__tile.is-no-signal, .gr-heat4__tile.is-pending { border: 2px dashed #B9B19B; background: transparent; }
.gr-heat4__tile.is-na, .gr-heat4__tile.is-not-assessed { background: #F3F0E8; border-color: #E4DFD2; }
/* scale */
.band-tight { background: var(--heat-1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--heat-line); }
.band-room, .band-low { background: var(--heat-2); color: var(--ink); }
.band-significant, .band-medium { background: var(--heat-3); color: var(--ink); }
.band-major, .band-high { background: var(--heat-4); color: var(--ink); }
.gr-heat4__tile[class*="band-"] .gr-heat4__reason { color: var(--ink); }
.gr-heat4__bandword { font-size: 14px; font-weight: 700; line-height: 1.3; }
.gr-heat4__legend { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); margin-top: var(--s3); font-size: 12px; line-height: 1.4; color: var(--muted); }
.gr-legend__items { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin: 0; padding: 0; }
.gr-legend__items li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--gr-ink-2); font-weight: 600; }
.gr-legend__sw { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 3px; }

/* ---------- thank-you ---------- */
.gr-result__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--s5); }
.gr-result__mark svg { width: 26px; height: 26px; }
.gr-result__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.gr-result__home { margin-top: var(--s6); }
.gr-thanks { padding: var(--s3) 0 0; }
.gr-thanks .gr-result__title { text-align: center; }
.gr-thanks__body { margin-top: var(--s3); font-size: 16px; line-height: 1.55; color: var(--muted); text-align: center; text-wrap: balance; }
.gr-thanks__qs { margin-top: var(--s8); display: grid; gap: var(--s6); padding-top: var(--s8); border-top: 1px solid var(--gr-line); }
.gr-tq__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.gr-tq__label { font-size: 16px; font-weight: 700; line-height: 1.4; }
.gr-tq__opt { font-size: 14px; font-weight: 500; color: var(--muted); }
.gr-tq .gr-field { margin-bottom: 0; }
.gr-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.gr-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: var(--h-ctl); padding: 0 var(--s4); border-radius: var(--r-pill); border: 2px solid var(--gr-line); background: var(--white); font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: var(--ink); cursor: pointer; transition: border-color .16s var(--gr-ease), background .16s var(--gr-ease); }
.gr-chip:hover { border-color: #A9A18C; }
.gr-chip.is-selected { border-color: var(--orange); background: var(--tint); }
.gr-saved { display: inline-flex; align-items: center; gap: var(--s1); flex: 0 0 auto; font-size: 14px; font-weight: 700; color: #24602E; white-space: nowrap; }
.gr-saved svg { width: 14px; height: 14px; }
.gr-saved.is-pop { animation: gr-pop .3s var(--gr-ease); }
@keyframes gr-pop { 0% { transform: scale(.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
.gr-thanks .gr-result__home { text-align: center; margin-top: var(--s8); }
.gr-book { text-align: center; }
.gr-book__eyebrow { margin: 0 0 var(--s2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gr-accent); }
.gr-book__video { margin: var(--s6) 0 0; }
.gr-book__video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--ink); object-fit: cover; }
.gr-book__video figcaption { margin-top: var(--s2); font-size: 13px; color: var(--muted); }
.gr-book__cta { margin-top: var(--s6); display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.gr-book__cta .btn { width: 100%; max-width: 420px; justify-content: center; text-align: center; }
.gr-book__note { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.gr-book__inbox { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--gr-line); font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: balance; }
.gr-book__home { margin-top: var(--s4); font-size: 14px; }
.gr-book__home a { color: var(--ink); text-underline-offset: 3px; }
.gr-tickbox--pre { margin-bottom: var(--s2); }
.gr-chip, .gr-gate__teaser { scroll-margin-top: 96px; }

.gr-msg { padding: var(--s16) 0; text-align: center; font-size: 16px; }
.gr-soon { text-align: center; padding: var(--s10) 0 var(--s5); }
.gr-soon .gr-result__home { margin-top: var(--s8); }
.gr-adv-pill { display: inline-flex; align-items: center; height: 32px; margin-bottom: var(--s4); padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; white-space: nowrap; }
.gr-akey { padding-top: var(--s2); }

/* ============================================================
   advisor screen (§S.3): answers 40 % · live board 60 %
   ============================================================ */
.gr.gr--advisor-screen { padding: 0; }
.gr.gr--advisor-screen .gr-col { max-width: none; }
.gr-adv { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); height: calc(100vh - 61px); height: calc(100svh - 61px); }
.gr-adv__answers { overflow-y: auto; padding: var(--s5) var(--s6) var(--s10); border-inline-end: 1px solid var(--gr-line); background: var(--cream); }
.gr-adv__board { overflow-y: auto; padding: var(--s5) var(--s8) var(--s10); background: var(--gr-surface); }
.gr-adv__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: var(--h-ctl); margin-bottom: var(--s2); }
.gr-adv__head .gr-adv-pill { margin: 0; }
.gr-linkbtn { display: inline-flex; align-items: center; height: var(--h-ctl); padding: 0 var(--s3); margin-inline-end: calc(-1 * var(--s3)); background: none; border: none; border-radius: var(--r-sm); font: inherit; font-size: 14px; font-weight: 700; color: var(--gr-ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gr-linkbtn:hover { color: var(--ink); background: rgba(22,19,16,.05); }
.gr-aq { border: none; padding: 0 0 var(--s4); border-bottom: 1px solid var(--gr-line); min-width: 0; }
.gr-aq__label { display: flex; gap: var(--s2); width: 100%; padding: var(--s4) 0 0; margin-bottom: var(--s3); font-size: 14px; font-weight: 700; line-height: 1.4; }
.gr-aq__n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--card); color: var(--ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.gr-aq.is-done .gr-aq__n { background: var(--ink); color: var(--white); }
.gr-aq__help { margin: calc(-1 * var(--s1)) 0 var(--s2); font-size: 14px; color: var(--muted); }
.gr-aq__redirect { margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--tint); font-size: 14px; line-height: 1.45; color: var(--ink); }
.gr-aq__redirect a { color: var(--gr-accent); font-weight: 800; }
.gr-segs { display: flex; flex-wrap: wrap; gap: var(--s2); }
.gr-seg { display: inline-flex; align-items: center; min-height: var(--h-ctl); padding: var(--s2) var(--s3); border-radius: var(--r-md); border: 1px solid var(--gr-line); background: var(--white); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); cursor: pointer; text-align: start; transition: border-color .16s var(--gr-ease), background .16s var(--gr-ease); }
.gr-seg:hover:not(.is-selected) { border-color: #A9A18C; }
.gr-seg.is-selected { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--tint); font-weight: 700; }
.gr-seg.is-dimmed { opacity: .45; }

.gr-advform { margin-top: var(--s6); }
.gr-adv__h { margin-bottom: var(--s3); font-size: 20px; font-weight: 800; }
.gr-advform__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--s3); }
.gr-advform .gr-field { margin-bottom: var(--s3); }
.gr-advform .gr-field label { font-size: 14px; }
.gr-advform .gr-field input, .gr-advform .gr-field select { height: var(--h-ctl); padding: 0 var(--s3); font-size: 14px; }
.gr-advform .gr-field select { padding-inline-end: var(--s10); }
.gr-advform .gr-field textarea { min-height: 72px; padding: var(--s2) var(--s3); font-size: 14px; }
.gr-advconsent { margin: var(--s1) 0 var(--s2); padding: var(--s3) var(--s4); border: 1px solid var(--gr-line); border-radius: var(--r-md); background: var(--white); }
.gr-advconsent[hidden] { display: none; }
.gr-advconsent .gr-consent { margin-top: var(--s1); font-size: 12px; }
.gr-tickbox.has-error span { color: #B0260E; }
.gr-advform__btns { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s3); }
.gr-advform__need { font-size: 14px; color: var(--muted); }
.gr-advdone { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: #E6F2E3; color: #1F5528; font-size: 14px; font-weight: 600; line-height: 1.45; }
.gr-advdone svg { flex: 0 0 16px; margin-top: 2px; }

.gr-board__bar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); min-height: var(--h-ctl); }
.gr-board__title { margin-inline-end: auto; font-size: 20px; font-weight: 800; line-height: 1.2; }
.gr-board__count { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.gr-switch { display: inline-flex; align-items: center; gap: var(--s2); height: var(--h-ctl); padding: 0 var(--s3); border: 2px solid var(--gr-line); border-radius: var(--r-sm); background: var(--white); font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap; }
.gr-switch:hover { border-color: #A9A18C; }
.gr-switch input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.gr-switch:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.gr-switch input:focus-visible { outline: none; }
.gr-board__score { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s6); }
.gr-board__label { width: 100%; font-size: 14px; font-weight: 700; color: var(--muted); }
.gr-board__big { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: var(--orange-dark); line-height: 1; }
.gr-board__of { margin-inline-start: var(--s1); font-size: 20px; font-weight: 700; color: var(--muted); }
.gr-board__band { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s4); border-radius: var(--r-pill); font-size: 14px; font-weight: 800; }
.gr-board__h { margin-top: var(--s8); font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
.gr-heat4--big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.gr-heat4--big .gr-heat4__tile { min-height: 132px; padding: var(--s4); gap: var(--s1); }
.gr-heat4--big .gr-heat4__name { font-size: 14px; }
.gr-heat4--big .gr-heat4__score { margin: 0 0 var(--s1); padding-top: var(--s2); font-size: 32px; }
.gr-heat4--big .gr-heat4__band { margin: 0 0 var(--s1); padding-top: var(--s2); font-size: 16px; }
.gr-board__cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.gr-bcard { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: var(--white); border: 1px solid var(--gr-line); border-radius: var(--r-md); }
.gr-bcard__dept { font-size: 12px; font-weight: 800; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: var(--gr-accent); }
.gr-bcard__title { font-size: 16px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
.gr-bcard__value { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.gr-bcard__move { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--gr-line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.gr-bcard__move span { font-weight: 700; color: var(--gr-ink-2); }
.gr-board__ideas { list-style: none; margin-top: var(--s3); border-top: 1px solid var(--gr-line); }
.gr-idea { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--gr-line); font-size: 14px; line-height: 1.45; }
.gr-idea__dept { font-weight: 800; }
.gr-idea.is-muted .gr-idea__text { color: var(--muted); }
.gr-board__num { display: inline-flex; align-items: baseline; }
.gr-board__num--wait .gr-board__big { color: var(--muted); }
.gr-board__wait { width: 100%; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 560px; }

/* Present: the board only, full screen, readable at 2 m */
.gr-adv.is-present { grid-template-columns: minmax(0, 1fr); position: fixed; inset: 0; z-index: 100; height: 100vh; height: 100svh; background: var(--gr-surface); }
.gr-adv.is-present .gr-adv__answers { display: none; }
.gr-adv.is-present .gr-adv__board { width: 100%; max-width: 1400px; margin: 0 auto; padding: var(--s8) var(--s12) var(--s12); }
.gr-adv.is-present .gr-board__title { font-size: 32px; }
.gr-adv.is-present .gr-board__h { font-size: 20px; margin-top: var(--s10); }
.gr-adv.is-present .gr-board__label, .gr-adv.is-present .gr-board__count { font-size: 20px; }
.gr-adv.is-present .gr-board__big { font-size: 96px; }
.gr-adv.is-present .gr-board__of { font-size: 24px; }
.gr-adv.is-present .gr-board__band { height: 48px; padding: 0 var(--s5); font-size: 24px; }
.gr-adv.is-present .gr-heat4--big { gap: var(--s4); }
.gr-adv.is-present .gr-heat4--big .gr-heat4__tile { min-height: 176px; padding: var(--s5); }
.gr-adv.is-present .gr-heat4__name { font-size: 24px; }
.gr-adv.is-present .gr-heat4__score { font-size: 48px; }
.gr-adv.is-present .gr-heat4__band { font-size: 24px; }
.gr-adv.is-present .gr-heat4__lever, .gr-adv.is-present .gr-heat4__value, .gr-adv.is-present .gr-heat4__reason, .gr-adv.is-present .gr-heat4__legend { font-size: 20px; }
.gr-adv.is-present .gr-legend__sw { width: 20px; height: 20px; border-radius: 4px; }
.gr-adv.is-present .gr-heat4__bandword { font-size: 20px; }
.gr-adv.is-present .gr-bcard { padding: var(--s5); }
.gr-adv.is-present .gr-bcard__title { font-size: 24px; }
.gr-adv.is-present .gr-bcard__dept { font-size: 16px; }
.gr-adv.is-present .gr-bcard__value, .gr-adv.is-present .gr-bcard__move, .gr-adv.is-present .gr-idea { font-size: 20px; }
.gr-adv.is-present .gr-idea { grid-template-columns: 300px minmax(0, 1fr); }
.gr-adv.is-present .gr-board__wait { font-size: 20px; }
body.gr-presenting { overflow: hidden; }

/* ---------- RTL (Arabic): no tracking, roomier leading ---------- */
body.rtl .gr-hero__eyebrow4, body.rtl .gr-hero__title, body.rtl .gr-q__title, body.rtl .gr-result__title,
body.rtl .gr-gate__kicker, body.rtl .gr-door4__label, body.rtl .gr-board__h, body.rtl .gr-bcard__dept,
body.rtl .gr-gate__ready, body.rtl .gr-adv-badge, body.rtl .gr-adv-pill { letter-spacing: normal; text-transform: none; }
body.rtl .gr-hero__sub, body.rtl .gr-q__help, body.rtl .gr-consent, body.rtl .gr-tickbox, body.rtl .gr-hero__trust p,
body.rtl .gr-thanks__body, body.rtl .gr-door4__scope, body.rtl .gr-redirect__text, body.rtl .gr-board__wait { line-height: 1.75; }
body.rtl .gr-hero__title { line-height: 1.3; }
body.rtl .gr-q__title { line-height: 1.45; }
body.rtl .gr-result__title, body.rtl .gr-door4__label { line-height: 1.4; }
body.rtl .gr-gate__ready, body.rtl .gr-opp__title, body.rtl .gr-bcard__title, body.rtl .gr-idea, body.rtl .gr-aq__label, body.rtl .gr-seg { line-height: 1.6; }
body.rtl .gr-tile__label, body.rtl .gr-heat4__name, body.rtl .gr-heat4__reason, body.rtl .gr-heat4__lever { line-height: 1.5; }
body.rtl .gr-chip4 { font-size: 14px; line-height: 1.35; }
@keyframes gr-flash-rtl { 0%, 100% { transform: none; } 25% { transform: translateX(4px); } 75% { transform: translateX(-4px); } }
body.rtl .gr-q__hint.is-flash { animation-name: gr-flash-rtl; }
/* "54/100" stays one left-to-right unit inside Arabic text */
.gr-board__num, .gr-teaser__num { direction: ltr; unicode-bidi: isolate; }

/* ---------- small phones ---------- */
@media (max-width: 719px) {
  .gr-cta__long { display: none; }
  .gr-cta__short { display: inline; }
}

/* ---------- tablet and up ---------- */
@media (min-width: 720px) {
  .gr { padding: var(--s10) var(--s6) var(--s20); }
  .gr-top { margin-bottom: var(--s10); }
  .gr-hero { padding-top: var(--s8); }
  .gr-hero__title { font-size: 48px; line-height: 1.04; }
  .gr-hero__sub { font-size: 20px; }
  .gr-hero__list li { font-size: 16px; }
  .gr-hero__cta { flex-direction: row; align-items: center; gap: var(--s6); }
  .gr-cta { width: auto; }
  .gr-q__title { font-size: 32px; }
  .gr-q__help { font-size: 16px; }
  .gr-q[data-layout="chips_2x6"] .gr-q__title { font-size: 32px; }
  .gr-opts { margin-top: var(--s8); }
  .gr-opt { min-height: 60px; font-size: 16px; }
  .gr-tiles { gap: var(--s3); margin-top: var(--s8); }
  .gr-tile { min-height: 132px; padding: var(--s5) var(--s2) var(--s4); }
  .gr-tile__label { font-size: 14px; }
  .gr-tile__sub { font-size: 12px; }
  .gr-chips4 { gap: var(--s3); margin-top: var(--s6); }
  .gr-chip4 { gap: var(--s3); padding: 0 var(--s4); font-size: 14px; }
  .gr-actions { position: static; background: none; padding: 0; margin-top: var(--s8); }
  .gr-next { width: auto; min-width: 200px; }
  .gr-submit { width: auto; min-width: 280px; }
  .gr-redirect__card { padding: var(--s8); }
  .gr-redirect__btns { grid-template-columns: auto auto; justify-content: start; }
  .gr-gate__teaser { padding: var(--s6) var(--s8); }
  .gr-gate__ready { font-size: 24px; }
  .gr-heat4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gr-result__title { font-size: 32px; }

  /* Landing: two equal doors, rows aligned across both cards (subgrid) */
  .gr.gr--wide .gr-col { max-width: 1032px; }
  .gr-meta--center { justify-content: center; }
  .gr-landing { padding-top: var(--s8); text-align: center; }
  .gr-landing .gr-hero__title { font-size: 48px; }
  .gr-landing .gr-hero__sub { max-width: 640px; margin-inline: auto; }
  .gr-doors4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: var(--s6); row-gap: 0; margin-top: var(--s10); text-align: start; }
  .gr-door4 { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; padding: var(--s8); }
  .gr-door4 > * { min-width: 0; }
  .gr-door4__desc, .gr-door4__scope, .gr-door4 > .gr-meta { align-self: start; }
  .gr-door4__btn { align-self: end; }
  .gr-landing .gr-hero__trust { max-width: 640px; margin-inline: auto; justify-content: center; text-align: start; }
}

@media (max-width: 960px) {
  .gr-adv { grid-template-columns: minmax(0, 1fr); height: auto; }
  .gr-adv__answers, .gr-adv__board { overflow: visible; }
  .gr-adv__board { order: -1; border-bottom: 1px solid var(--gr-line); padding: var(--s5) var(--s4) var(--s8); }
  .gr-adv__answers { padding: var(--s5) var(--s4) var(--s10); }
  .gr-heat4--big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-board__cards { grid-template-columns: minmax(0, 1fr); }
  .gr-idea { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .gr-advform__row { grid-template-columns: minmax(0, 1fr); }
  .gr-board__count { order: 1; width: 100%; }
  .gr-board__title { flex: 1 0 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gr *, .gr *::before, .gr *::after { transition: none !important; animation: none !important; }
  .gr-spinner { animation: gr-spin 1.6s linear infinite !important; }
}

/* Focused/invalid fields never land under the sticky 60 px nav */
.gr-field input, .gr-field select, .gr-field textarea, .gr-formerr, .gr-submit, .gr-opt, .gr-tile { scroll-margin-top: 96px; scroll-margin-bottom: 112px; }

/* Balanced wrapping: no orphan word on the last line of any label, heading or control */
.gr-opt__label, .gr-seg__label, .gr-chip4__label, .gr-tile__label, .gr-board__h, .gr-board__title, .gr-adv__h,
.gr-aq__label, .gr-tq__label, .gr-heat4__name, .gr-heat4__lever, .gr-bcard__value, .gr-idea__text, .gr-chip, .gr-redirect__text { text-wrap: balance; }
@media (max-width: 399px) {
  .gr-chip4 { padding: 0 var(--s2); }
  body.rtl .gr-chip4 { font-size: 12px; }
}

.gr-heat4--big .gr-heat4__reason { margin-top: 0; }
.gr-heat4__value, .gr-hero__sample, .gr-door4__sample, .gr-hero__trust p, .gr-opp__move, .gr-bcard__move { text-wrap: balance; }
.gr-door4__sample { text-align: center; }
.gr-adv.is-present .gr-ctl, .gr-adv.is-present .gr-switch { height: 52px; font-size: 20px; padding: 0 var(--s5); }
.gr-adv.is-present .gr-switch input { width: 22px; height: 22px; }

/* Arabic: IBM Plex Sans Arabic (as the PDF), Latin falls back to the brand face */
body.rtl { font-family: "IBM Plex Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif; }
body.rtl .gr button, body.rtl .gr input, body.rtl .gr select, body.rtl .gr textarea, body.rtl .gr-body .btn { font-family: inherit; }
body.rtl .gr-hero__title { line-height: 1.25; font-weight: 700; }
body.rtl .gr-q__title, body.rtl .gr-result__title, body.rtl .gr-gate__ready { font-weight: 700; line-height: 1.4; }
body.rtl .gr-hero__sub, body.rtl .gr-q__help, body.rtl .gr-consent, body.rtl .gr-tickbox, body.rtl .gr-hero__trust p,
body.rtl .gr-thanks__body, body.rtl .gr-door4__scope, body.rtl .gr-redirect__text, body.rtl .gr-board__wait { line-height: 1.7; }
@media (max-width: 399px) { .gr .btn--lg { padding-inline: var(--s4); } }
@media (max-width: 719px) {
  .gr-legend__items:has(li:nth-child(4)) { display: grid; grid-template-columns: repeat(2, max-content); column-gap: var(--s5); }
}
@media (max-width: 399px) { .gr-heat4:not(.gr-heat4--big) .gr-heat4__bandword { font-size: 12px; white-space: nowrap; } }
