/* =============================================================================
   IC Capability Awareness Tool — page styles
   -----------------------------------------------------------------------------
   Layers on base.css + academy.css, so --cyan / --gold / --dk-* and Gilroy all
   come from the Academy's real tokens rather than being redefined here.
   Everything uses logical properties (inline-start/end, margin-inline) so the
   Arabic RTL mirror needs no separate stylesheet.
   ========================================================================== */

#page-assessment { background: var(--black); color: var(--white); }
.as-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.as-screen { display: none; }
.as-screen.is-on { display: block; animation: as-in var(--dur) var(--ease); }
@keyframes as-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .as-screen.is-on { animation: none; } }

/* ---- intro ------------------------------------------------------------- */
/* The intro positions the two background glows; the page wrapper contains
   them. Clipping on .as-wrap instead would show its 1180px edge as a visible
   box against the black, so it happens on the full-width wrapper, where there
   is no edge to see. `clip` rather than `hidden` because clip does not create
   a scroll container — the question screen's progress bar is position:sticky
   and would stop sticking inside one. */
#as-intro { position: relative; }
#page-assessment { overflow-x: clip; }
.as-hero { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 4.4vw, 60px) 0 clamp(40px, 5vw, 72px); }
.as-eyebrow { color: var(--cyan); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
/* matches .ac-hero h1 in academy.css — the Academy homepage headline */
.as-h1 { font-size: clamp(32px, 4.1vw, 54px); line-height: 1.08; letter-spacing: -0.01em; font-weight: 800; margin: 0 0 22px; }
.as-h1 i { font-style: normal; color: var(--gold); }
.as-lead { font-size: 17.5px; line-height: 1.65; color: var(--dk-ink-2); max-width: 34em; margin: 0 0 28px; }
.as-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.as-chip { border: 1px solid var(--dk-card-b); border-radius: 999px; padding: 9px 14px; font-size: 12.5px; color: var(--dk-ink-2); }
.as-note { font-size: 12.5px; line-height: 1.55; color: var(--dk-ink-3); margin-top: 16px; }

/* What the report will show — the left column's counterweight to the form.
   Deliberately not a card: the gate opposite is the card, and a second one
   beside it competes rather than balances. */
.as-points-h { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dk-ink-3); font-weight: 700; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--dk-hair); }
.as-points { list-style: none; margin: 6px 0 0; padding: 0; counter-reset: p; }
.as-points li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--dk-hair); }
.as-points li:first-child { border-top: 0; }
.as-points li::before { content: "0" counter(p); font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 0.04em; }
.as-points li span { font-size: 14.5px; line-height: 1.5; color: var(--dk-ink-2); }

.as-promise { background: linear-gradient(160deg, rgba(64,228,255,.12), rgba(255,255,255,.02) 44%, rgba(246,196,57,.06)); border: 1px solid rgba(64,228,255,.24); border-radius: 30px; padding: 28px; position: relative; overflow: hidden; }
.as-promise::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(246,196,57,.34); border-radius: 50%; inset-inline-end: -66px; top: -56px; }
.as-promise h2 { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 0 0 18px; }
.as-promise ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.as-promise li { counter-increment: p; padding: 14px 0; border-top: 1px solid var(--dk-hair-2); }
.as-promise li:first-child { border-top: 0; padding-top: 0; }
.as-promise li::before { content: "0" counter(p); display: block; font-size: 34px; font-weight: 800; line-height: 1; color: var(--white); margin-bottom: 6px; }
.as-promise li span { color: var(--dk-ink-2); line-height: 1.5; }

/* ---- progress header --------------------------------------------------- */
.as-bar { position: sticky; top: 0; z-index: 9; background: linear-gradient(var(--black) 76%, transparent); padding: 18px 0 20px; }
.as-bar-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.as-bar-l { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.as-step { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.as-left, .as-count { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dk-ink-3); }
.as-track { height: 6px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.as-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--gold)); transition: width var(--dur) var(--ease); }

/* ---- question cards ---------------------------------------------------- */
.as-domain { max-width: 940px; margin: 0 auto; padding-bottom: 72px; }
.as-kicker { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.as-domain h2 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; margin: 12px 0 14px; }
.as-domain-intro { color: var(--dk-ink-2); line-height: 1.6; margin: 0 0 28px; max-width: 46em; }

.as-q { background: var(--dk-card); border: 1px solid var(--dk-card-b); border-radius: 20px; padding: 22px; margin: 14px 0; }
.as-q-n { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dk-ink-3); margin-bottom: 10px; }
.as-q-t { font-size: 20px; line-height: 1.4; font-weight: 600; margin-bottom: 18px; }
.as-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.as-scale label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; padding: 8px 6px; border: 1px solid var(--dk-card-b); border-radius: 13px; background: rgba(0,0,0,.4); cursor: pointer; text-align: center; transition: background var(--dur-fast), border-color var(--dur-fast); }
.as-scale label:hover { border-color: rgba(255,255,255,.34); }
.as-scale input { position: absolute; opacity: 0; width: 0; height: 0; }
.as-scale label:has(input:checked) { background: var(--cyan); border-color: var(--cyan); color: #04262b; }
.as-scale label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.as-scale b { font-size: 17px; font-weight: 800; }
.as-scale span { font-size: 10px; line-height: 1.15; }

.as-sit { background: linear-gradient(140deg, rgba(246,196,57,.06), var(--dk-card) 38%); border: 1px solid rgba(246,196,57,.3); border-radius: 22px; padding: 26px; margin-top: 28px; }
.as-sit-tag { color: var(--gold); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.as-sit-t { font-size: 20px; line-height: 1.45; font-weight: 600; }
.as-sit-q { font-size: 19px; font-weight: 700; line-height: 1.4; margin: 14px 0 16px; }
.as-opts { display: grid; gap: 10px; }
.as-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--dk-card-b); border-radius: 13px; padding: 14px 15px; background: rgba(0,0,0,.4); line-height: 1.5; cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.as-opt:hover { border-color: rgba(255,255,255,.34); }
.as-opt input { margin-top: 4px; accent-color: var(--gold); flex: none; }
.as-opt:has(input:checked) { border-color: var(--gold); background: rgba(246,196,57,.08); }
.as-opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

.as-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.as-hint { font-size: 12.5px; color: var(--dk-ink-3); }

/* ---- report ------------------------------------------------------------ */
.as-report { padding: clamp(28px, 4vw, 52px) 0 80px; }
.as-card { border: 1px solid var(--dk-card-b); border-radius: 22px; background: var(--dk-card); padding: clamp(20px, 3vw, 28px); margin-top: 18px; }
.as-card.is-cyan { border-color: rgba(64,228,255,.34); }
.as-card.is-gold { border-color: rgba(246,196,57,.34); }
.as-sec { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); font-weight: 800; margin-bottom: 10px; }
.as-card h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; }
.as-sub { color: var(--dk-ink-2); line-height: 1.6; }

.as-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(22px, 3vw, 30px); }
.as-hero-side { border-inline-start: 1px solid var(--dk-hair); padding-inline-start: clamp(22px, 3vw, 30px); }
.as-strong-t { font-size: clamp(30px, 4.4vw, 56px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 12px; }
.as-strong-s { font-size: 46px; font-weight: 800; color: var(--gold); line-height: 1; margin: 6px 0; }
.as-band { color: var(--dk-ink-2); }
.as-callout { border-inline-start: 3px solid var(--gold); padding-inline-start: 14px; color: var(--dk-ink-2); line-height: 1.55; margin-top: 16px; }
.as-div { height: 1px; background: var(--dk-hair); margin: 22px 0; }
.as-profile { font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.035em; font-weight: 800; margin: 4px 0 10px; }
.as-pct { font-size: 34px; font-weight: 800; color: var(--gold); margin: 14px 0 2px; }
.as-pct small { display: block; font-size: 13px; color: var(--dk-ink-3); font-weight: 500; margin-top: 2px; }

.as-path { margin: 24px 0 6px; }
.as-path-line { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; }
.as-path-mark { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--black); box-shadow: 0 0 0 2px var(--gold); transform: translate(-50%, -50%); transition: inset-inline-start var(--dur) var(--ease); }
html[dir="rtl"] .as-path-mark { transform: translate(50%, -50%); }
.as-path-labels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; font-size: 12px; color: var(--dk-ink-2); }
.as-path-labels span:nth-child(2) { text-align: center; }
.as-path-labels span:nth-child(3) { text-align: end; }
.as-ruler { margin-top: 24px; padding: 18px; border: 1px solid var(--dk-card-b); border-radius: 16px; background: rgba(0,0,0,.34); }
.as-ruler-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.as-ruler-top b { font-size: 28px; color: var(--gold); }
.as-ruler-top span { font-size: 12.5px; color: var(--dk-ink-3); }
.as-ruler-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; }
.as-ruler-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--gold)); }
.as-ticks { display: flex; justify-content: space-between; margin-top: 9px; font-size: 10px; color: var(--dk-ink-3); }

.as-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.as-tier { background: rgba(0,0,0,.34); border: 1px solid var(--dk-card-b); border-radius: 15px; padding: 16px; }
.as-tier .l { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dk-ink-3); }
.as-tier .v { font-size: 28px; font-weight: 800; margin-top: 6px; }
.as-tier .v small { font-size: 13px; color: var(--dk-ink-3); font-weight: 500; }

.as-rows { margin-top: 14px; }
.as-row { display: grid; grid-template-columns: minmax(200px, 1.1fr) 2fr 62px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--dk-hair-2); }
.as-row:first-child { border-top: 0; }
.as-row-n { font-size: 14px; line-height: 1.3; }
.as-row-bar { height: 9px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.as-row-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), #9df0ff); }
.as-row-v { text-align: end; font-variant-numeric: tabular-nums; font-weight: 700; }

.as-list { display: grid; gap: 10px; margin-top: 14px; }
.as-item { border: 1px solid var(--dk-card-b); border-radius: 15px; padding: 16px; background: rgba(0,0,0,.34); }
.as-item strong { display: block; margin-bottom: 6px; }
.as-item span { color: var(--dk-ink-2); font-size: 14px; line-height: 1.5; }
.as-course .n { font-size: 17.5px; font-weight: 800; line-height: 1.3; margin-bottom: 7px; }
.as-course .b { color: var(--cyan); font-size: 13px; line-height: 1.45; margin-bottom: 9px; }
.as-course .w { color: var(--dk-ink-2); font-size: 14px; line-height: 1.5; }
.as-item-m { display: block; font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.as-reg { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; border-radius: 999px; padding: 10px 16px; background: var(--gold); color: #1c1400; font-size: 12.5px; font-weight: 800; text-decoration: none; transition: transform var(--dur-fast); }
.as-reg:hover { transform: translateY(-1px); }

/* ---- email capture ------------------------------------------------------ */
.as-email .f { display: grid; gap: 12px; margin-top: 16px; max-width: 30em; }
.as-email .f > div > label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dk-ink-3); margin-bottom: 6px; font-weight: 600; }
.as-email input[type="text"], .as-email input[type="email"] { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--dk-card-b); background: rgba(0,0,0,.4); color: var(--white); font: inherit; }
.as-email input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
/* ---- the gate, before question 1 --------------------------------------- */
/* The opening screen carries the gate in its right-hand column, in the slot the
   01/02/03 promise card used to hold — so it keeps that card's treatment. */
.as-gate { background: linear-gradient(160deg, rgba(64,228,255,.10), rgba(255,255,255,.015) 46%, rgba(246,196,57,.05)); border: 1px solid rgba(64,228,255,.20); border-radius: 26px; padding: clamp(26px, 3.2vw, 36px); position: relative; overflow: hidden; backdrop-filter: blur(2px); }
.as-gate::after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(246,196,57,.26); border-radius: 50%; inset-inline-end: -82px; top: -82px; pointer-events: none; }
.as-gate > * { position: relative; z-index: 1; }
.as-gate-h { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 0 0 10px; }
.as-gate-lead { font-size: 14.5px; line-height: 1.55; color: var(--dk-ink-2); margin: 0 0 24px; max-width: 32em; }
.as-gate-form { display: grid; gap: 14px; position: relative; z-index: 1; }
.as-gate-form .btn { margin-top: 10px; justify-self: start; }
.as-gate .as-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.as-gate-form > div > label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dk-ink-3); margin-bottom: 6px; font-weight: 600; }
.as-gate-form input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--dk-card-b); background: rgba(0,0,0,.4); color: var(--white); font: inherit; }
.as-gate-form input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.as-gate-actions { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 26px); flex-wrap: wrap; margin-top: 8px; }
.as-gate .as-note { margin-top: 6px; }
.as-gate .as-note a { color: var(--cyan); text-decoration: underline; }

.as-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--dk-ink-2); }
.as-consent input { margin-top: 3px; accent-color: var(--cyan); flex: none; }
/* ---- the optional portrait for the share card --------------------------- */
.as-photo { margin-top: 26px; }
.as-photo-lead { font-size: 15px; line-height: 1.6; color: var(--dk-ink-2); margin: 0 0 12px; max-width: 34em; }
.as-photo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.as-photo-pick { cursor: pointer; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--cyan); border-block-end: 1.5px solid var(--cyan); padding-block-end: 3px; }
.as-photo-pick:hover { color: var(--gold); border-color: var(--gold); }
.as-photo-thumb { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; border: 1px solid var(--dk-card-b); flex: none; }
.as-photo .as-note { margin: 10px 0 0; }

.as-err { color: #ffb2a5; font-size: 12.5px; }
.as-ok { color: var(--cyan); font-weight: 700; }

.as-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.as-foot { border-top: 1px solid var(--dk-hair-2); margin-top: 34px; padding-top: 18px; color: var(--dk-ink-3); font-size: 11.5px; line-height: 1.6; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .as-hero, .as-hero-grid { grid-template-columns: 1fr; }
  .as-promise { order: -1; }
  .as-gate { margin-top: 4px; }
  .as-hero-side { border-inline-start: 0; border-top: 1px solid var(--dk-hair); padding-inline-start: 0; padding-top: 24px; }
  .as-tiers { grid-template-columns: 1fr; }
  .as-row { grid-template-columns: 1fr 1.3fr 52px; gap: 10px; }
}
@media (max-width: 560px) {
  .as-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .as-scale span { display: none; }
  .as-scale label { min-height: 50px; }
  .as-row { grid-template-columns: 1fr; gap: 6px; }
  .as-row-v { text-align: start; }
}

/* ---- print ------------------------------------------------------------ */
/* The report stays on brand when printed or saved as PDF — black ground, cyan
   and gold — rather than falling back to a white page. print-color-adjust is
   what stops the browser stripping the dark background. */
@media print {
  .site-header, .site-foot, .as-bar, .as-actions, .as-email, .skip-link { display: none !important; }
  html, body, #page-assessment {
    background: #000 !important; color: #fff !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .as-screen { display: none !important; }
  #as-report { display: block !important; }
  .as-wrap { max-width: none; padding: 0; }
  .as-card { break-inside: avoid; page-break-inside: avoid; background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.2) !important; }
  .as-card.is-cyan { border-color: rgba(64,228,255,.5) !important; }
  .as-card.is-gold { border-color: rgba(246,196,57,.5) !important; }
  .as-sec, .as-eyebrow { color: #40E4FF !important; }
  .as-strong-s, .as-pct, .as-ruler-top b, .as-item-m { color: #F6C439 !important; }
  .as-course .b { color: #40E4FF !important; }
  .as-reg { display: none !important; }
  .as-hero-grid { break-inside: avoid; }
  .as-foot { color: rgba(255,255,255,.5) !important; }
}

/* ---- PDF sheets --------------------------------------------------------
   Rendered off-screen and photographed by html2canvas (see buildPdf() in
   assessment.js), so the attachment carries the Academy's own surface — black
   ground, cyan section labels, gold numbers — and the real brand fonts, which
   Google's server-side converter cannot load. One sheet per section, sized to
   A4 at 150dpi, so nothing is ever cut across a page break.
   --------------------------------------------------------------------- */
.as-pdf-host { position: fixed; inset-block-start: 0; inset-inline-start: -20000px; width: 1240px; z-index: -1; }
.as-sheet {
  width: 1240px; height: 1754px; box-sizing: border-box; padding: 96px 104px 84px;
  background: #000; color: #fff; font-family: var(--font); position: relative; overflow: hidden;
}
.as-sheet::after {
  content: ""; position: absolute; inset-inline-end: -200px; inset-block-start: -220px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,228,255,.20) 0%, rgba(64,228,255,.05) 48%, transparent 72%);
}
.as-sheet > * { position: relative; z-index: 1; }
.as-sheet-top { display: flex; align-items: baseline; gap: 18px; border-block-end: 1px solid rgba(255,255,255,.18); padding-block-end: 16px; margin-block-end: 54px; }
.as-sheet-top .b { font-weight: 800; font-size: 17px; letter-spacing: .18em; }
.as-sheet-top .b i { font-style: normal; color: var(--gold); }
.as-sheet-top .m { flex: 1; font-size: 15px; color: rgba(255,255,255,.62); }
.as-sheet-top .p { font-size: 15px; color: rgba(255,255,255,.44); }
.as-sheet-sec { color: var(--cyan); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; }
.as-sheet-sec.is-gap { margin-top: 54px; }
.as-sheet h1 { font-size: 54px; line-height: 1.1; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.as-sheet h2 { font-size: 38px; line-height: 1.15; font-weight: 800; margin: 0 0 8px; }
.as-sheet-big { font-size: 74px; line-height: 1; font-weight: 800; color: var(--gold); margin: 6px 0 4px; }
.as-sheet-sub { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; max-width: 42em; }
.as-sheet-tiers { display: flex; gap: 14px; margin-top: 14px; }
.as-sheet-tiers .t { flex: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.04); }
.as-sheet-tiers .t span { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.58); font-weight: 700; }
.as-sheet-tiers .t b { display: block; font-size: 40px; font-weight: 800; padding-top: 6px; }
.as-sheet-rows { margin-top: 22px; }
.as-sheet-rows .r { display: grid; grid-template-columns: 1fr 320px 62px; align-items: center; gap: 18px; padding: 15px 0; border-block-end: 1px solid rgba(255,255,255,.1); }
.as-sheet-rows .l { font-size: 20px; }
.as-sheet-rows .t { height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.as-sheet-rows .t i { display: block; height: 10px; border-radius: 99px; background: var(--cyan); }
.as-sheet-rows b { font-size: 22px; font-weight: 800; text-align: end; }
.as-sheet-card { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 22px 26px; margin-top: 16px; background: rgba(255,255,255,.04); }
.as-sheet-card.is-weak { border-color: rgba(246,196,57,.42); }
.as-sheet-card .n { font-size: 24px; font-weight: 800; line-height: 1.3; }
.as-sheet-card .m { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); padding: 8px 0 6px; }
.as-sheet-card .b { font-size: 17px; color: var(--cyan); padding: 6px 0 4px; }
.as-sheet-card .w { font-size: 18.5px; line-height: 1.6; color: rgba(255,255,255,.72); }
/* ink only — buildPdf lays the real clickable area over it */
.as-sheet-reg { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--gold); border-block-end: 1.5px solid var(--gold); padding-block-end: 3px; }
.as-sheet-foot { position: absolute; inset-inline: 104px; inset-block-end: 56px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.45); margin: 0; }

/* html2canvas draws a run one character at a time whenever the computed
   letter-spacing is anything but "normal" — including the 0 and the -0.03em that
   base.css puts on headings — and that severs the joins in Arabic script. The
   Arabic sheets clear it outright; the Latin lockup keeps its tracking, since
   Latin letters do not join. */
[dir="rtl"] .as-sheet,
[dir="rtl"] .as-sheet * { letter-spacing: normal; }
[dir="rtl"] .as-sheet-top .b { letter-spacing: .18em; }
