/* Interactive /certificates feature page. Self-contained: every rule is scoped
   to .crt so nothing here can reach the rest of the marketing site.

   ACCENT — the Sublime brand violet, read from colors_and_type.css rather than
   copied out of it, so a brand change carries through here without anyone
   remembering this file.
   NEUTRALS — the surface, ink and border scale from the brief (§54). */

.crt {
  --crt-brand: var(--brand, #6D28D9);
  --crt-brand-hover: var(--brand-active, #5B21B6);
  --crt-brand-soft: var(--brand-soft, #F3E8FF);
  --crt-brand-border: var(--color-violet-200, #E9D5FF);
  /* Everything accented on the page follows the brand. */
  --crt-primary: var(--crt-brand);
  --crt-primary-hover: var(--crt-brand-hover);
  --crt-light: var(--crt-brand-soft);
  --crt-soft-border: var(--crt-brand-border);
  --crt-bg: #F8FAFC;
  --crt-card: #FFFFFF;
  --crt-heading: #0F172A;
  --crt-body: #334155;
  --crt-muted: #64748B;
  --crt-border: #E2E8F0;
  --crt-gold: #B45309;
  --crt-gold-soft: #FFFBEB;
  --crt-ok: #047857; --crt-ok-soft: #ECFDF5;
  --crt-warn: #B45309; --crt-warn-soft: #FFFBEB;
  --crt-bad: #B91C1C; --crt-bad-soft: #FEF2F2;
  --crt-r: 18px; --crt-r-sm: 12px;
  --crt-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --crt-shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 48px rgba(15, 23, 42, .12);
  --crt-fast: 180ms; --crt-mid: 320ms; --crt-slow: 400ms;
  --crt-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--crt-body);
  background: var(--crt-bg);
  overflow-x: clip;
}
/* Several elements here are width:100% with their own padding (the verification
   input, the mobile requirement values). Without this they push past their row
   at 320–390px. */
.crt, .crt *, .crt *::before, .crt *::after { box-sizing: border-box; }
.crt [hidden] { display: none !important; }
.crt-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crt h1, .crt h2, .crt h3, .crt h4 { color: var(--crt-heading); font-family: inherit; letter-spacing: -0.02em; }
.crt a { color: var(--crt-primary); }
.crt :focus-visible { outline: 3px solid rgba(139, 92, 246, .45); outline-offset: 2px; border-radius: 8px; }
.crt-muted { color: var(--crt-muted); }
.crt-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .95em; letter-spacing: .01em; }
.crt-trunc { overflow-wrap: anywhere; }
.crt-kicker { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--crt-muted); }

/* ---------- primitives ---------- */
.crt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background var(--crt-fast) var(--crt-ease), border-color var(--crt-fast), box-shadow var(--crt-fast), transform var(--crt-fast);
}
.crt-btn svg, .crt-btn i { width: 17px; height: 17px; flex: none; }
.crt-btn:active { transform: translateY(1px); }
.crt-btn-primary { background: var(--crt-brand); color: #fff !important; box-shadow: 0 6px 16px rgba(109, 40, 217, .22); }
.crt-btn-primary:hover { background: var(--crt-brand-hover); }
.crt-btn-secondary { background: var(--crt-card); color: var(--crt-brand) !important; border-color: var(--crt-brand-border); }
.crt-btn-secondary:hover { background: var(--crt-brand-soft); }
.crt-btn-ghost { background: transparent; color: var(--crt-body) !important; border-color: var(--crt-border); }
.crt-btn-ghost:hover { background: var(--crt-bg); }
.crt-btn-lg { min-height: 52px; padding: 0 22px; font-size: 16px; }
.crt-btn-block { width: 100%; }
.crt-btn[disabled] { opacity: .55; cursor: default; }
.crt-linkbtn { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--crt-primary); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.crt-linkbtn svg { width: 15px; height: 15px; }
.crt-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

.crt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--crt-light); color: var(--crt-primary-hover); font-size: 12.5px; font-weight: 600; }
.crt-chip-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--crt-border); background: var(--crt-card); font: inherit; font-size: 13px;
  font-weight: 600; color: var(--crt-body); cursor: pointer; transition: all var(--crt-fast) var(--crt-ease);
}
.crt-chip-btn:hover:not([disabled]) { border-color: var(--crt-soft-border); background: var(--crt-light); color: var(--crt-primary-hover); }
.crt-chip-btn[disabled] { opacity: .5; cursor: default; }
.crt-chip-btn[aria-pressed="true"] { background: var(--crt-primary); border-color: var(--crt-primary); color: #fff; }
/* outranks `.crt-chapters .crt-chip-btn span` so the timestamp goes white too */
.crt-chip-btn[aria-pressed="true"] .crt-mono,
.crt-chapters .crt-chip-btn[aria-pressed="true"] span { color: inherit; }
.crt-chip-btn .crt-mono { color: var(--crt-primary-hover); }

.crt-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.crt-badge svg { width: 12px; height: 12px; }
.crt-badge-demo { background: #F1F5F9; color: #475569; border: 1px dashed #94A3B8; }
.crt-badge-concept { background: var(--crt-light); color: var(--crt-primary); border: 1px dashed var(--color-violet-400, #A78BFA); }

.crt-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.crt-status svg { width: 14px; height: 14px; }
.crt-status-valid { background: var(--crt-ok-soft); color: var(--crt-ok); border-color: #A7F3D0; }
.crt-status-expiring { background: var(--crt-warn-soft); color: var(--crt-warn); border-color: #FDE68A; }
.crt-status-expired { background: var(--crt-bad-soft); color: var(--crt-bad); border-color: #FECACA; }
.crt-status-progress { background: #F1F5F9; color: #475569; }
.crt-status-none { background: #F1F5F9; color: #475569; }

.crt-card { background: var(--crt-card); border: 1px solid var(--crt-border); border-radius: var(--crt-r); box-shadow: var(--crt-shadow); }
.crt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crt-primary); }
.crt-label { display: block; font-size: 13px; font-weight: 600; color: var(--crt-heading); margin-bottom: 6px; }
.crt-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--crt-muted); margin: 16px 0 0; }
.crt-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.crt-input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--crt-border);
  background: var(--crt-card); font: inherit; font-size: 16px; color: var(--crt-heading);
}
.crt-input:focus { border-color: var(--crt-primary); }

.crt-section { padding: clamp(56px, 7vw, 96px) 0; }
.crt-section:nth-of-type(even) { background: var(--crt-card); }
.crt-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.crt-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin: 12px 0; text-wrap: balance; }
.crt-head p { font-size: 17px; line-height: 1.6; margin: 0; }
.crt-legend { display: block; margin-top: 10px; font-size: 13.5px; color: var(--crt-muted); }
/* Keeps a sentence whole across a line break — it moves to the next line as a
   unit rather than splitting mid-phrase. Deliberately not `white-space: nowrap`,
   which would push past the viewport at 320px. */
.crt-keep { display: inline-block; }

.crt-ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.crt-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.crt-ticks svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--crt-ok); }

.crt-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(109, 40, 217, .18); border-top-color: var(--crt-primary); animation: crt-spin 700ms linear infinite; display: inline-block; }
@keyframes crt-spin { to { transform: rotate(360deg); } }

.crt-seal { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none; }
.crt-seal svg { width: 26px; height: 26px; }
.crt-seal-ok { background: var(--crt-ok-soft); color: var(--crt-ok); box-shadow: 0 0 0 6px rgba(4, 120, 87, .08); }
.crt-seal-warn { background: var(--crt-warn-soft); color: var(--crt-warn); box-shadow: 0 0 0 6px rgba(180, 83, 9, .08); }
.crt-seal-bad { background: var(--crt-bad-soft); color: var(--crt-bad); box-shadow: 0 0 0 6px rgba(185, 28, 28, .08); }

/* ---------- the certificate ----------
   A server-side rendering of the application's own CertificateView
   (public/admin_dashboard/static/data.jsx) and its CERT_THEMES: same structure,
   sizes and spacing, so the certificate here is the one the product issues.
   Sizes scale with the container so it works in the hero and the wallet alike. */
.crt-cert {
  --cert-bg: #fffdf5; --cert-border: #c9a227; --cert-inner: #e7d28a;
  --cert-fg: #3d3414; --cert-sub: #8a7a3a; --cert-accent: #a9821f;
  --cert-seal-bg: #fbf3d6; --cert-seal-fg: #a9821f;
  position: relative; margin: 0; border-radius: 16px; overflow: hidden;
  background: var(--cert-bg); border: 2px solid var(--cert-border);
  padding: 34px 40px 28px; text-align: center; box-shadow: var(--crt-shadow-lg);
  container-type: inline-size;
}
/* CERT_THEMES, verbatim. --primary/--fg-1/--fg-3/--violet-200 are resolved
   because this page does not load the console's stylesheet. */
.crt-cert-violet { --cert-bg: #ffffff; --cert-border: #724df2; --cert-inner: #dbd8fc; --cert-fg: #15103a; --cert-sub: #6b6580; --cert-accent: #724df2; --cert-seal-bg: #f2edfe; --cert-seal-fg: #724df2; }
.crt-cert-gold   { --cert-bg: #fffdf5; --cert-border: #c9a227; --cert-inner: #e7d28a; --cert-fg: #3d3414; --cert-sub: #8a7a3a; --cert-accent: #a9821f; --cert-seal-bg: #fbf3d6; --cert-seal-fg: #a9821f; }
.crt-cert-slate  { --cert-bg: #ffffff; --cert-border: #cbd5e1; --cert-inner: #e2e8f0; --cert-fg: #15103a; --cert-sub: #6b6580; --cert-accent: #334155; --cert-seal-bg: #eef2f7; --cert-seal-fg: #334155; }
.crt-cert-dark   { --cert-bg: linear-gradient(135deg, #15103b, #23164f); --cert-border: rgba(255,255,255,.18); --cert-inner: rgba(255,255,255,.12); --cert-fg: #ffffff; --cert-sub: rgba(255,255,255,.66); --cert-accent: #c9b6ff; --cert-seal-bg: rgba(255,255,255,.12); --cert-seal-fg: #c9b6ff; }

.crt-cert-inner { position: absolute; inset: 9px; border: 1px solid var(--cert-inner); border-radius: 10px; pointer-events: none; }
.crt-cert-body { position: relative; }
.crt-cert p { margin: 0; }
.crt-cert-org { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cert-accent); margin-bottom: 4px; }
.crt-cert-title { font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--cert-fg); }
.crt-cert-presented { font-size: 12.5px; color: var(--cert-sub); margin: 16px 0 6px; }
.crt-cert-learner { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--cert-fg); font-family: Georgia, serif; overflow-wrap: break-word; }
.crt-cert-rule { display: block; width: 120px; height: 2px; background: var(--cert-accent); opacity: .5; margin: 12px auto; }
.crt-cert-desc { font-size: 13px; color: var(--cert-sub); max-width: 460px; margin: 0 auto; line-height: 1.55; }
.crt-cert-course { font-size: 16px; font-weight: 700; color: var(--cert-fg); margin-top: 8px; }
.crt-cert-sigrow { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 28px; gap: 20px; }
.crt-cert-sig { text-align: left; min-width: 120px; }
.crt-cert-score { text-align: right; min-width: 120px; }
.crt-cert-sig-name, .crt-cert-score-value { font-size: 17px; font-weight: 700; color: var(--cert-fg); border-bottom: 1px solid var(--cert-inner); padding-bottom: 4px; margin-bottom: 5px; }
.crt-cert-sig-name { font-family: Georgia, serif; }
.crt-cert-score-value { font-variant-numeric: tabular-nums; }
.crt-cert-sig-title { font-size: 10.5px; color: var(--cert-sub); font-weight: 600; }
.crt-cert-seal { width: 56px; height: 56px; border-radius: 999px; background: var(--cert-seal-bg); color: var(--cert-seal-fg); display: inline-flex; align-items: center; justify-content: center; flex: none; border: 2px solid var(--cert-seal-fg); }
.crt-cert-seal svg { width: 26px; height: 26px; }
.crt-cert-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--cert-inner); font-size: 11px; color: var(--cert-sub); }
.crt-cert-meta b { color: var(--cert-fg); font-weight: 700; }
.crt-cert-verify { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--cert-accent); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.crt-cert-verify svg { width: 13px; height: 13px; }

/* The component is drawn at one size; in a narrow column it scales down rather
   than reflowing into something the product never shows. */
@container (max-width: 470px) {
  .crt-cert-body { zoom: .82; }
  .crt-cert { padding: 26px 22px 20px; }
}
@container (max-width: 340px) {
  .crt-cert-body { zoom: .64; }
  .crt-cert { padding: 20px 14px 16px; }
  .crt-cert-sigrow { gap: 10px; }
}

/* ---------- hero ---------- */
.crt-hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 80% at 8% 0%, rgba(109, 40, 217, .10), transparent 70%),
    radial-gradient(44% 62% at 96% 18%, rgba(180, 83, 9, .08), transparent 70%),
    var(--crt-bg);
}
.crt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.crt-hero h1 { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.05; margin: 16px 0 18px; text-wrap: balance; }
.crt-lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 560px; margin: 0 0 28px; }
.crt-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.crt-hero-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13.5px; color: var(--crt-muted); }
.crt-hero-note svg { width: 16px; height: 16px; }
.crt-hero-stack { position: relative; }
.crt-hero-check {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; border-radius: var(--crt-r); background: rgba(248, 250, 252, .92); backdrop-filter: blur(3px);
  font-weight: 600; color: var(--crt-heading);
}
.crt-hero-check p { margin: 0; }
.crt-hero-result { padding: 22px; animation: crt-rise var(--crt-mid) var(--crt-ease) both; }
.crt-result-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.crt-result-head h2 { font-size: 21px; margin: 0; }
.crt-result-head p { margin: 4px 0 0; font-size: 14px; color: var(--crt-muted); }
.crt-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.crt-hero-cap { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--crt-muted); }
.crt-hero-cap svg { width: 14px; height: 14px; flex: none; }
@keyframes crt-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.crt-record { display: grid; gap: 0; margin: 0; }
.crt-record > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--crt-border); }
.crt-record > div:first-child { border-top: 0; }
.crt-record dt { font-size: 13px; font-weight: 600; color: var(--crt-muted); flex: none; }
.crt-record dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--crt-heading); text-align: right; }
.crt-record-wide > div { padding: 14px 0; }
.crt-details { padding: clamp(20px, 3vw, 32px); max-width: 780px; margin: 0 auto; }

/* ---------- learning loop ---------- */
.crt-loop { max-width: 900px; margin: 0 auto; text-align: center; }
.crt-loop-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.crt-loop-step { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--crt-border); background: var(--crt-card); font: inherit; font-weight: 600; font-size: 16px; color: var(--crt-body); cursor: pointer; transition: all var(--crt-fast) var(--crt-ease); }
.crt-loop-step svg { width: 18px; height: 18px; }
.crt-loop-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--crt-bg); font-size: 12px; }
.crt-loop-step[aria-selected="true"] { border-color: var(--crt-primary); background: var(--crt-light); color: var(--crt-primary-hover); }
.crt-loop-step.is-earn { box-shadow: 0 0 0 4px rgba(109, 40, 217, .10); }
.crt-loop-step.is-earn::after { content: "This page"; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--crt-primary); color: #fff; }
.crt-loop-arrow { color: #94A3B8; display: inline-flex; }
.crt-loop-panel { margin-top: 22px; font-size: 16px; }
.crt-loop-panel p { margin: 0 0 10px; }
.crt-loop-panel a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.crt-loop-panel a svg { width: 16px; height: 16px; }

/* ---------- the app shell ---------- */
.crt-app { max-width: 1040px; margin: 0 auto; background: var(--crt-card); border: 1px solid var(--crt-border); border-radius: var(--crt-r); box-shadow: var(--crt-shadow-lg); overflow: hidden; }
.crt-app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--crt-border); background: #FCFDFE; }
.crt-app-dots { display: inline-flex; gap: 6px; }
.crt-app-dots span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.crt-app-url { font-size: 13px; color: var(--crt-muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crt-reset { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--crt-border); background: var(--crt-card); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--crt-muted); cursor: pointer; }
.crt-reset:hover { color: var(--crt-primary); border-color: var(--crt-soft-border); }
.crt-reset svg { width: 14px; height: 14px; }
.crt-stage { padding: clamp(20px, 3vw, 32px); }

/* requirements */
.crt-prog-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.crt-prog-head h3 { margin: 4px 0 0; font-size: 22px; }
.crt-prog-pct { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.crt-ring {
  --v: 0;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: conic-gradient(var(--crt-primary) calc(var(--v) * 1%), var(--crt-brand-border) 0);
  transition: background var(--crt-slow) var(--crt-ease);
}
.crt-ring b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--crt-card); font-size: 14px; color: var(--crt-heading); }
.crt-reqs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.crt-req { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-bg); }
.crt-req-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: #E2E8F0; color: #94A3B8; }
.crt-req-ic svg { width: 16px; height: 16px; }
.crt-req.is-met { background: var(--crt-ok-soft); border-color: #A7F3D0; }
.crt-req.is-met .crt-req-ic { background: var(--crt-ok); color: #fff; }
.crt-req-main { display: grid; gap: 3px; min-width: 0; flex: 1; }
.crt-req-title { font-size: 15px; font-weight: 600; color: var(--crt-heading); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crt-req-detail { font-size: 13.5px; color: var(--crt-muted); }
.crt-req-value { font-size: 14px; font-weight: 700; color: var(--crt-heading); flex: none; }
.crt-reqs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.crt-allmet { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--crt-ok); }
.crt-allmet svg { width: 18px; height: 18px; }

/* The learner dashboard and course player — the shapes the student portal
   actually uses, so the walkthrough shows the product rather than a diagram. */
.crt-nba { position: relative; display: grid; gap: 6px; padding: clamp(20px, 3vw, 28px); border-radius: var(--crt-r-sm); background: var(--crt-heading); color: #fff; }
.crt-nba-kicker { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.crt-nba h4 { margin: 2px 0 0; font-size: 24px; color: #fff; letter-spacing: -0.02em; }
.crt-nba-meta { margin: 0 0 12px; font-size: 13.5px; opacity: .78; max-width: 46ch; }
.crt-nba .crt-btn { justify-self: start; }
.crt-nba-ring { position: absolute; top: clamp(20px, 3vw, 28px); right: clamp(20px, 3vw, 28px); }
.crt-nba-ring b { background: var(--crt-heading); color: #fff; }

.crt-player-stage { padding: 0; }
.crt-player { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); }
.crt-rail { border-right: 1px solid var(--crt-border); padding: 16px; background: var(--crt-bg); }
.crt-rail-head { padding: 16px; border-radius: var(--crt-r-sm); background: var(--crt-heading); color: #fff; margin-bottom: 12px; }
.crt-rail-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 0 10px; font: inherit; font-size: 13px; color: #fff; opacity: .8; cursor: pointer; }
.crt-rail-back svg { width: 15px; height: 15px; }
.crt-rail-code { margin: 0; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.crt-rail-head h3 { margin: 4px 0 12px; font-size: 18px; color: #fff; }
.crt-rail-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.crt-rail-bar span { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width var(--crt-mid) var(--crt-ease); }
.crt-rail-pct { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; text-align: right; }

/* The module header is a disclosure: opening it reveals the lessons. */
.crt-rail-mod { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); font: inherit; font-size: 13.5px; font-weight: 700; color: var(--crt-heading); text-align: left; cursor: pointer; }
.crt-rail-mod:hover { border-color: var(--crt-soft-border); }
.crt-rail-mod > span:first-of-type { flex: 1; min-width: 0; }
.crt-rail-chev { width: 16px; height: 16px; flex: none; color: var(--crt-muted); transition: transform var(--crt-fast) var(--crt-ease); }
.crt-rail-mod.is-open .crt-rail-chev { transform: rotate(90deg); }
.crt-rail-count { font-weight: 700; color: var(--crt-muted); }

.crt-rail-lessons { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.crt-rl-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--crt-r-sm); background: var(--crt-card); font: inherit; text-align: left; cursor: pointer; }
.crt-rl-btn:disabled { cursor: default; }
.crt-rl-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; background: var(--crt-bg); color: var(--crt-muted); }
.crt-rl-ic svg { width: 15px; height: 15px; }
.crt-rl-main { display: grid; gap: 1px; flex: 1; min-width: 0; }
.crt-rl-title { font-size: 13.5px; font-weight: 600; color: var(--crt-heading); overflow-wrap: break-word; }
.crt-rl-kind { font-size: 12px; color: var(--crt-muted); }
.crt-rl-state { display: inline-flex; color: var(--crt-muted); }
.crt-rl-state svg { width: 17px; height: 17px; }
.crt-rl.is-done .crt-rl-state { color: var(--crt-ok); }
.crt-rl.is-current .crt-rl-btn { border-color: var(--crt-soft-border); background: var(--crt-light); }
.crt-rl.is-current .crt-rl-ic { background: var(--crt-primary); color: #fff; }
.crt-rl.is-current .crt-rl-state { color: var(--crt-primary); }
.crt-rl.is-locked { opacity: .55; }

.crt-player-main { padding: clamp(18px, 3vw, 28px); min-width: 0; }
.crt-lesson-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--crt-muted); }
.crt-lesson-chip { padding: 3px 10px; border-radius: 999px; background: #F1F5F9; color: #475569; font-size: 11.5px; letter-spacing: .04em; }
.crt-lesson-chip.is-done { background: var(--crt-ok-soft); color: var(--crt-ok); }
.crt-player-main h4 { margin: 10px 0 6px; font-size: 22px; color: var(--crt-heading); letter-spacing: -0.02em; }
.crt-lesson-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 0 0 16px; }
.crt-lesson-meta svg { width: 15px; height: 15px; }
.crt-player-main p { font-size: 15px; line-height: 1.65; }
.crt-player-main .crt-reqs { margin-top: 16px; }
.crt-lesson-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--crt-border); }

/* issuance */
.crt-issuance { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 640px; margin-inline: auto; }
.crt-issuance li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); opacity: .38; transition: opacity var(--crt-mid) var(--crt-ease), border-color var(--crt-mid), background var(--crt-mid), transform var(--crt-mid) var(--crt-ease); }
.crt-issuance li.is-active { opacity: 1; border-color: var(--crt-soft-border); background: var(--crt-light); }
.crt-issuance li.is-done { opacity: 1; border-color: #A7F3D0; background: var(--crt-ok-soft); }
.crt-step-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--crt-card); border: 1px solid var(--crt-border); color: var(--crt-muted); }
.crt-step-ic svg { width: 17px; height: 17px; }
.crt-issuance li.is-active .crt-step-ic { color: var(--crt-primary); border-color: var(--crt-soft-border); }
.crt-issuance li.is-active .crt-step-ic svg { animation: crt-spin 1.4s linear infinite; }
.crt-issuance li.is-done .crt-step-ic { background: var(--crt-ok); border-color: var(--crt-ok); color: #fff; }
.crt-issuance li.is-done .crt-step-ic svg { animation: none; }
.crt-step-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-step-main strong { font-size: 15px; color: var(--crt-heading); }
.crt-step-main span { font-size: 13.5px; color: var(--crt-muted); }
.crt-step-tick { color: var(--crt-ok); opacity: 0; transition: opacity var(--crt-fast); }
.crt-step-tick svg { width: 18px; height: 18px; }
.crt-issuance li.is-done .crt-step-tick { opacity: 1; }

/* issued */
.crt-issued-head { text-align: center; display: grid; justify-items: center; gap: 6px; margin-bottom: 26px; animation: crt-rise var(--crt-mid) var(--crt-ease) both; }
.crt-issued-head h3 { font-size: 26px; margin: 10px 0 0; }
.crt-issued-head p { margin: 0; font-size: 16px; color: var(--crt-muted); }
.crt-issued-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.crt-issued-doc { animation: crt-rise var(--crt-slow) var(--crt-ease) both; }
.crt-issued-actions { display: grid; gap: 10px; }
.crt-sim { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--crt-r-sm); background: var(--crt-light); color: var(--crt-primary-hover); font-size: 13.5px; font-weight: 600; }
.crt-sim svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* ---------- wallet ---------- */
.crt-wallet-bars { display: grid; gap: 10px; padding: 16px clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--crt-border); }
.crt-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.crt-filter { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--crt-border); background: var(--crt-card); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--crt-body); cursor: pointer; transition: all var(--crt-fast) var(--crt-ease); }
.crt-filter:hover { border-color: var(--crt-soft-border); }
.crt-filter.is-on { background: var(--crt-primary); border-color: var(--crt-primary); color: #fff; }
.crt-filter-n { font-size: 12px; opacity: .75; }
.crt-filters-kind .crt-filter.is-on { background: var(--crt-light); border-color: var(--crt-soft-border); color: var(--crt-primary-hover); }
.crt-wallet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 0; }
.crt-wallet-list { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--crt-border); }
.crt-wallet-row { width: 100%; display: grid; gap: 6px; text-align: left; padding: 14px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); font: inherit; cursor: pointer; transition: all var(--crt-fast) var(--crt-ease); }
.crt-wallet-row:hover { border-color: var(--crt-soft-border); box-shadow: var(--crt-shadow); }
.crt-wallet-row[aria-current="true"] { border-color: var(--crt-primary); background: var(--crt-light); }
.crt-wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crt-wallet-name { font-size: 15px; font-weight: 700; color: var(--crt-heading); }
.crt-wallet-meta { font-size: 13px; color: var(--crt-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crt-wallet-kind { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--crt-muted); }
.crt-wallet-kind svg { width: 13px; height: 13px; }
.crt-wallet-empty { padding: 28px 16px; text-align: center; color: var(--crt-muted); font-size: 14px; }
.crt-wallet-detail { padding: clamp(16px, 3vw, 26px); background: var(--crt-bg); display: grid; gap: 16px; align-content: start; }
.crt-wallet-detail h3 { margin: 0; font-size: 19px; }
.crt-wallet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.crt-progbar { height: 8px; border-radius: 999px; background: #E2E8F0; overflow: hidden; }
.crt-progbar span { display: block; height: 100%; border-radius: inherit; background: var(--crt-primary); }

/* ---------- verification ---------- */
.crt-verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; max-width: 1040px; margin: 0 auto; }
.crt-verify-form { padding: clamp(20px, 3vw, 28px); }
.crt-verify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.crt-verify-row .crt-input { flex: 1 1 220px; }
.crt-verify-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; color: var(--crt-muted); }
.crt-verify-out:empty { display: none; }
.crt-verify-idle { border-style: dashed; box-shadow: none; }
.crt-verify-idle .crt-result-head { margin-bottom: 0; }
.crt-seal-idle { background: var(--crt-light); color: var(--crt-primary); }
.crt-verify-card { padding: clamp(20px, 3vw, 28px); animation: crt-rise var(--crt-mid) var(--crt-ease) both; }
.crt-verify-card .crt-result-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.crt-verify-card .crt-result-head h3 { margin: 0; font-size: 20px; }
.crt-verify-card .crt-result-head p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--crt-muted); }
.crt-verify-checking { display: flex; align-items: center; gap: 12px; padding: 28px; font-weight: 600; color: var(--crt-heading); }
.crt-verify-msg { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--crt-r-sm); font-size: 14px; font-weight: 600; }
.crt-verify-msg.is-valid { background: var(--crt-ok-soft); color: var(--crt-ok); }
.crt-verify-msg.is-expiring { background: var(--crt-warn-soft); color: var(--crt-warn); }
.crt-verify-msg.is-expired { background: var(--crt-warn-soft); color: var(--crt-warn); }
.crt-verify-msg.is-none { background: #F1F5F9; color: #475569; }
.crt-verify-brand { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--crt-muted); }

/* ---------- roles / use cases (shared tab look) ---------- */
.crt-roles, .crt-uses { max-width: 900px; margin: 0 auto; }
.crt-role-tabs, .crt-uses-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.crt-role-tab, .crt-use-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--crt-border); background: var(--crt-card); font: inherit; font-size: 14.5px; font-weight: 600; color: var(--crt-body); cursor: pointer; transition: all var(--crt-fast) var(--crt-ease); }
.crt-role-tab svg, .crt-use-tab svg { width: 16px; height: 16px; }
.crt-role-tab[aria-selected="true"], .crt-use-tab[aria-selected="true"] { border-color: var(--crt-primary); background: var(--crt-light); color: var(--crt-primary-hover); }
.crt-role, .crt-use { padding: clamp(20px, 3vw, 30px); }
.crt-role h3 { margin: 0 0 10px; font-size: 22px; }
.crt-role p { margin: 0; font-size: 16px; line-height: 1.6; }
.crt-use dl { margin: 0; display: grid; gap: 16px; }
.crt-use dt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--crt-muted); }
.crt-use dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.6; }
.crt-use a { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; text-decoration: none; }
.crt-use a svg { width: 16px; height: 16px; }

/* ---------- branding ---------- */
.crt-brand { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 1040px; margin: 0 auto; }
.crt-brand-fields { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 16px; }
.crt-brand-fields li { display: flex; gap: 14px; align-items: flex-start; }
.crt-brand-fields li > span:last-child { display: grid; gap: 3px; }
.crt-brand-fields strong { font-size: 15.5px; color: var(--crt-heading); }
.crt-brand-fields li span span { font-size: 14px; line-height: 1.55; color: var(--crt-body); }
.crt-brand-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; background: var(--crt-light); color: var(--crt-primary); }
.crt-brand-ic svg { width: 18px; height: 18px; }
.crt-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crt-themes .crt-label { width: 100%; margin: 0; }
.crt-theme { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--crt-border); background: var(--crt-card); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--crt-body); cursor: pointer; }
.crt-theme.is-on { border-color: var(--crt-primary); background: var(--crt-light); color: var(--crt-primary-hover); }
.crt-theme-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(15, 23, 42, .12); }
.crt-theme-violet .crt-theme-swatch { background: #724df2; }
.crt-theme-gold .crt-theme-swatch { background: #c9a227; }
.crt-theme-slate .crt-theme-swatch { background: #cbd5e1; }
.crt-theme-dark .crt-theme-swatch { background: linear-gradient(135deg, #15103b, #23164f); }
.crt-theme-note { width: 100%; margin: 4px 0 0; font-size: 13.5px; }

/* ---------- rules ---------- */
.crt-rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.crt-rule { padding: 24px; }
.crt-rule h3 { font-size: 18px; margin: 14px 0 8px; }
.crt-rule p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.crt-rule-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--crt-light); color: var(--crt-primary); }
.crt-rule-ic svg { width: 20px; height: 20px; }

/* ---------- lifecycle & renewal ---------- */
.crt-life { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: crt-life; }
.crt-life-step { display: grid; gap: 4px; padding: 18px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); }
.crt-life-step strong { font-size: 15.5px; color: var(--crt-heading); }
.crt-life-step > span:last-child { font-size: 13.5px; line-height: 1.55; color: var(--crt-body); }
.crt-life-when { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--crt-muted); }
.crt-life-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--crt-bg); color: var(--crt-muted); margin-bottom: 4px; }
.crt-life-ic svg { width: 17px; height: 17px; }
.crt-life-step.is-done { border-color: #A7F3D0; }
.crt-life-step.is-done .crt-life-ic { background: var(--crt-ok-soft); color: var(--crt-ok); }
.crt-life-step.is-now { border-color: var(--crt-primary); box-shadow: 0 0 0 3px rgba(109, 40, 217, .10); }
.crt-life-step.is-now .crt-life-ic { background: var(--crt-light); color: var(--crt-primary); }
.crt-renew { padding: clamp(20px, 3vw, 28px); max-width: 860px; margin: 0 auto; }
.crt-renew-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.crt-renew-head h3 { margin: 10px 0 4px; font-size: 20px; }
.crt-renew-head p { margin: 0; font-size: 13.5px; }
.crt-renew > p { margin: 0; font-size: 15px; line-height: 1.6; }
.crt-renew-out { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--crt-border); animation: crt-rise var(--crt-mid) var(--crt-ease) both; }
.crt-renew-out p { font-size: 14.5px; line-height: 1.6; }

/* ---------- micro-credentials ---------- */
.crt-micro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.crt-micro-kinds { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.crt-micro-kinds li { padding: 24px; }
.crt-micro-kinds h3 { font-size: 18px; margin: 14px 0 8px; }
.crt-micro-kinds p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.crt-micro-list { padding: 24px; }
.crt-micro-list h3 { margin: 0 0 14px; font-size: 18px; }
.crt-micro-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.crt-micro-list li { display: flex; gap: 12px; align-items: center; }
.crt-micro-list li > span:last-child { display: grid; gap: 2px; font-size: 14.5px; }
.crt-micro-list li span.crt-muted { font-size: 13px; }
.crt-micro-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--crt-light); color: var(--crt-primary); }
.crt-micro-ic svg { width: 17px; height: 17px; }

/* ---------- intelligence ---------- */
.crt-intel { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crt-intel-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.crt-intel-card { padding: 20px; display: grid; gap: 4px; align-content: start; }
.crt-intel-card svg { width: 20px; height: 20px; color: var(--crt-primary); }
.crt-intel-label { font-size: 12.5px; font-weight: 600; color: var(--crt-muted); margin-top: 8px; }
.crt-intel-value { font-size: 28px; font-weight: 700; color: var(--crt-heading); letter-spacing: -0.02em; }
.crt-intel-detail { font-size: 13px; color: var(--crt-muted); }
.crt-trend { padding: 20px; margin: 0; }
.crt-trend figcaption { font-size: 13.5px; font-weight: 600; color: var(--crt-muted); margin-bottom: 8px; }
.crt-trend-svg { width: 100%; height: auto; }
.crt-grid { stroke: #E2E8F0; stroke-width: 1; }
.crt-axis { fill: #94A3B8; font-size: 10px; }
.crt-trend-line { fill: none; stroke: var(--crt-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.crt-trend-dot { fill: var(--crt-primary); }
.crt-trend-val { fill: var(--crt-heading); font-size: 10px; font-weight: 700; }
.crt-trend-svg.is-waiting .crt-trend-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.crt-trend-svg.is-drawn .crt-trend-line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--crt-ease); }
.crt-table-wrap { grid-column: 1 / -1; padding: 20px; overflow-x: auto; }
.crt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.crt-table caption { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--crt-muted); margin-bottom: 10px; }
.crt-table th, .crt-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--crt-border); }
.crt-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--crt-muted); }
.crt-table tbody th { font-weight: 600; color: var(--crt-heading); }
.crt-bar { display: inline-block; width: 74px; height: 7px; border-radius: 999px; background: #E2E8F0; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.crt-bar span { display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: var(--crt-primary); }

/* ---------- trust flow ---------- */
/* Five steps with arrows between them: a flex row, so the arrows stay narrow
   connectors instead of taking equal grid cells of their own. */
.crt-flow { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 12px; }
.crt-flow-step { display: grid; gap: 5px; padding: 18px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); transition: border-color var(--crt-mid), background var(--crt-mid); }
.crt-flow-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--crt-bg); color: var(--crt-muted); }
.crt-flow-ic svg { width: 17px; height: 17px; }
.crt-flow-label { font-size: 15.5px; font-weight: 700; color: var(--crt-heading); }
.crt-flow-body { font-size: 13.5px; line-height: 1.5; color: var(--crt-body); }
.crt-flow-step.is-done { border-color: #A7F3D0; background: var(--crt-ok-soft); }
.crt-flow-step.is-done .crt-flow-ic { background: var(--crt-ok); color: #fff; }

/* ---------- video ---------- */
.crt-browser { max-width: 960px; margin: 0 auto; border: 1px solid var(--crt-border); border-radius: var(--crt-r); overflow: hidden; box-shadow: var(--crt-shadow-lg); background: var(--crt-card); }
.crt-browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--crt-border); background: #FCFDFE; }
.crt-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.crt-browser-bar em { font-style: normal; font-size: 12.5px; color: var(--crt-muted); margin-left: 8px; }
.crt-video-frame { position: relative; aspect-ratio: 16 / 9; background: #0F172A; }
.crt-video { width: 100%; height: 100%; display: block; object-fit: cover; }
/* In fullscreen on non-monitor ratios (phones, ultra-wide) the base cover
   would crop most of the frame — show the whole picture instead. */
@media (max-aspect-ratio: 5/4), (min-aspect-ratio: 2/1) {
  .crt-video:fullscreen { object-fit: contain; }
  .crt-video:-webkit-full-screen { object-fit: contain; }
}
.crt-video-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .95); font: inherit; font-weight: 700; color: var(--crt-heading); cursor: pointer; }
.crt-video-play svg { width: 20px; height: 20px; }
.crt-video-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #CBD5E1; text-align: center; padding: 24px; }
.crt-video-soon svg { width: 34px; height: 34px; }
.crt-chapters { list-style: none; padding: 0; margin: 18px auto 0; max-width: 960px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.crt-chapters .crt-chip-btn span { color: var(--crt-muted); font-variant-numeric: tabular-nums; }
.crt-transcript { max-width: 960px; margin: 18px auto 0; font-size: 14.5px; }
.crt-transcript summary { cursor: pointer; font-weight: 600; color: var(--crt-primary); }
.crt-transcript ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.6; }

/* ---------- final CTA ---------- */
/* This band is the site's shared dark CTA. The page's own heading and link
   colours are for light surfaces — inside it they fail contrast, so hand these
   back to white. */
.crt .final-cta h2 { color: #fff; }
.crt .final-cta a.btn-ghost-dark,
.crt .final-cta .crt-final-talk a { color: #fff; }
.crt-final-inner { text-align: center; position: relative; }
.crt-final-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.crt-final-talk { margin: 20px 0 0; }
.crt-final-talk a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.crt-final-talk a svg { width: 16px; height: 16px; }

/* ---------- document logo mark ---------- */

/* ---------- role switcher (R7) ---------- */
.crt-roles-sec .crt-role-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; flex: 1; justify-content: flex-end; }
.crt-view-head { margin-bottom: 18px; }
.crt-view-head h3 { margin: 0 0 4px; font-size: 19px; }
.crt-view-head p { margin: 0; font-size: 14px; }

.crt-lv { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(18px, 3vw, 30px); align-items: start; }
.crt-lv-main h3 { margin: 4px 0 18px; font-size: 22px; }
.crt-lv-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.crt-lv-steps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--crt-r-sm); background: var(--crt-ok-soft); border: 1px solid #A7F3D0; }
.crt-lv-steps li > span:last-child { display: grid; gap: 2px; }
.crt-lv-steps strong { font-size: 15px; color: var(--crt-heading); }
.crt-lv-steps span span { font-size: 13.5px; color: var(--crt-muted); }
.crt-lv-steps .crt-req-ic { background: var(--crt-ok); color: #fff; }
.crt-lv-next { padding: 18px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-bg); }
.crt-lv-next p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.crt-lv-side { display: grid; gap: 14px; }
.crt-lv-wallet, .crt-lv-status { padding: 20px; display: grid; gap: 6px; justify-items: start; }
.crt-lv-count { font-size: 40px; font-weight: 700; line-height: 1; color: var(--crt-primary); letter-spacing: -0.02em; }
.crt-lv-wallet .crt-btn { margin-top: 10px; }
.crt-lv-status p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; }

.crt-admin-filters { margin: 0 0 14px; }
.crt-admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.crt-admin-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); }
.crt-admin-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-admin-main strong { font-size: 14.5px; color: var(--crt-heading); }
.crt-admin-main span { font-size: 13px; }
.crt-admin-dates { font-size: 12.5px; white-space: nowrap; }
.crt-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--crt-light); color: var(--crt-primary); font-size: 12.5px; font-weight: 700; }

.crt-vv-lead { max-width: 640px; margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; }
.crt-vv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 26px); align-items: start; }
.crt-vv-card { box-shadow: var(--crt-shadow-lg); }
.crt-vv-lists { display: grid; gap: 14px; }
.crt-vv-list { padding: 20px; }
.crt-vv-list h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; }
.crt-vv-list h4 svg { width: 17px; height: 17px; color: var(--crt-muted); }
.crt-vv-never { border-color: #FECACA; background: var(--crt-bad-soft); }
.crt-crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.crt-crosses li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.crt-crosses svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--crt-bad); }

/* ---------- branding pickers (R8) ---------- */
.crt-brand-pickers { display: grid; gap: 20px; margin-bottom: 26px; }
.crt-picker .crt-label { margin-bottom: 8px; }
.crt-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--crt-bg); border: 1px solid var(--crt-border); }
.crt-seg-btn { padding: 8px 16px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--crt-body); cursor: pointer; }
.crt-seg-btn.is-on { background: var(--crt-card); color: var(--crt-primary-hover); box-shadow: var(--crt-shadow); }
.crt-brand-fields strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* ---------- eligibility (R9) ---------- */
.crt-elig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 28px); align-items: start; }
.crt-elig-rules, .crt-elig-sim { padding: clamp(20px, 3vw, 28px); }
.crt-elig-rules h3 { margin: 0 0 16px; font-size: 18px; }
.crt-elig-rules ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.crt-elig-rules li { display: flex; gap: 12px; align-items: flex-start; }
.crt-elig-rules li > span:last-child { display: grid; gap: 3px; }
.crt-elig-rules strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: var(--crt-heading); }
.crt-elig-rules li span span { font-size: 13.5px; line-height: 1.55; }
.crt-setting { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--crt-r-sm); background: var(--crt-light); }
.crt-setting > span:last-child { display: grid; gap: 3px; }
.crt-setting strong { font-size: 14.5px; color: var(--crt-primary-hover); }
.crt-setting span span { font-size: 13px; line-height: 1.5; }
.crt-toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--crt-primary); flex: none; position: relative; margin-top: 2px; }
.crt-toggle span { position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

.crt-elig-who { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.crt-elig-who > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-elig-who strong { font-size: 15.5px; color: var(--crt-heading); }
.crt-elig-who span.crt-muted { font-size: 13px; }
.crt-elig-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.crt-elig-metrics div { padding: 12px; border-radius: var(--crt-r-sm); background: var(--crt-bg); text-align: center; }
.crt-elig-metrics dt { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--crt-muted); }
.crt-elig-metrics dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--crt-heading); }
.crt-elig-metrics dd.is-short { color: var(--crt-bad); }
.crt-elig-verdict { padding: 14px 16px; border-radius: var(--crt-r-sm); border: 1px solid transparent; }
.crt-elig-verdict.is-blocked { background: var(--crt-warn-soft); border-color: #FDE68A; }
.crt-elig-verdict.is-met { background: var(--crt-ok-soft); border-color: #A7F3D0; }
.crt-elig-head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--crt-heading); }
.crt-elig-head svg { width: 18px; height: 18px; }
.crt-elig-verdict.is-blocked .crt-elig-head { color: var(--crt-warn); }
.crt-elig-verdict.is-met .crt-elig-head { color: var(--crt-ok); }
.crt-elig-verdict p:last-child { margin: 0; font-size: 14px; line-height: 1.55; }
.crt-elig-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.crt-elig-review { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--crt-muted); }
.crt-elig-review svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.crt-note-center { justify-content: center; text-align: center; max-width: 720px; margin-inline: auto; }

/* ---------- expiry & renewal (R10) ---------- */
.crt-exp-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: clamp(18px, 3vw, 26px); max-width: 900px; margin: 0 auto 26px; }
.crt-exp-head h3 { margin: 10px 0 4px; font-size: 21px; }
.crt-exp-head p { margin: 0; font-size: 13.5px; }
.crt-life { list-style: none; padding: 0; margin: 0 auto 30px; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.crt-renew { max-width: 900px; margin: 0 auto; scroll-margin-top: 90px; }
.crt-renew-alert { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.crt-renew-alert h3 { margin: 0; font-size: 21px; }
.crt-renew-alert p { margin: 4px 0 0; font-size: 13.5px; }
.crt-renew-reqs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.crt-renew-reqs li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-bg); }
.crt-renew-reqs li > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-renew-reqs strong { font-size: 15px; color: var(--crt-heading); }
.crt-renew-reqs li span span { font-size: 13.5px; color: var(--crt-muted); }
.crt-renew-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.crt-history { margin-top: 8px; }
.crt-history h4 { margin: 0 0 12px; font-size: 16px; }
.crt-history ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.crt-history-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); }
.crt-history-row.is-valid { border-color: #A7F3D0; background: var(--crt-ok-soft); }
.crt-history-kind { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--crt-muted); width: 68px; flex: none; }
.crt-history-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-history-main strong { font-size: 14.5px; color: var(--crt-heading); }
.crt-history-main span { font-size: 12.5px; }

/* ---------- micro-credential pathway (R11) ---------- */
.crt-pathway { padding: clamp(20px, 3vw, 30px); max-width: 980px; margin: 0 auto 20px; }
.crt-pathway-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.crt-pathway-head h3 { margin: 0; font-size: 21px; }
.crt-pathway-head .crt-chip svg { width: 14px; height: 14px; }
.crt-pathway-items { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.crt-pw { display: grid; gap: 5px; padding: 18px 16px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); }
.crt-pw strong { font-size: 15px; color: var(--crt-heading); }
.crt-pw-status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.crt-pw .crt-muted { font-size: 12.5px; }
.crt-pw-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--crt-bg); color: var(--crt-muted); margin-bottom: 4px; }
.crt-pw-ic svg { width: 17px; height: 17px; }
.crt-pw.is-earned { border-color: #A7F3D0; background: var(--crt-ok-soft); }
.crt-pw.is-earned .crt-pw-ic { background: var(--crt-ok); color: #fff; }
.crt-pw.is-earned .crt-pw-status { color: var(--crt-ok); }
.crt-pw.is-progress { border-color: var(--crt-soft-border); }
.crt-pw.is-progress .crt-pw-ic { background: var(--crt-light); color: var(--crt-primary); }
.crt-pw.is-progress .crt-pw-status { color: var(--crt-primary); }
.crt-pw.is-locked { opacity: .68; }
.crt-pw.is-locked .crt-pw-status { color: var(--crt-muted); }
.crt-stack { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--crt-border); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.crt-stack > li:not(.crt-stack-arrow) { flex: 1 1 200px; display: grid; gap: 3px; }
.crt-stack strong { font-size: 14.5px; color: var(--crt-heading); }
.crt-stack span { font-size: 13px; color: var(--crt-muted); }
.crt-stack-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--crt-light); color: var(--crt-primary); margin-bottom: 3px; }
.crt-stack-ic svg { width: 16px; height: 16px; }
.crt-stack-arrow { flex: none; color: #94A3B8; display: inline-flex; }
.crt-micro-kinds { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.crt-micro-kinds li { padding: 24px; }
.crt-micro-kinds h3 { font-size: 18px; margin: 14px 0 8px; }
.crt-micro-kinds p { margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ---------- needs attention (R12) ---------- */
.crt-intel-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.crt-attention { grid-column: 1 / -1; padding: 22px; }
.crt-attention h3 { margin: 0 0 14px; font-size: 17px; }
.crt-attention ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.crt-attention li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); }
.crt-att-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.crt-attention li.is-expiring .crt-att-dot { background: var(--crt-warn); }
.crt-attention li.is-expired .crt-att-dot { background: var(--crt-bad); }
.crt-att-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crt-att-main strong { font-size: 14.5px; color: var(--crt-heading); }
.crt-att-main span { font-size: 13px; }
.crt-btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }

/* ---------- trust flow (R13) ---------- */
.crt-flow-step { flex: 1 1 165px; max-width: 250px; }
.crt-flow-arrow { flex: 0 0 auto; display: grid; place-items: center; color: #94A3B8; }
.crt-flow-arrow svg { width: 20px; height: 20px; }
.crt-flow-strip-fade .crt-flow-step { opacity: 0; }
.crt-flow[data-crt-flow-strip] .crt-flow-step { opacity: 0; transform: translateY(8px); }
.crt-flow[data-crt-flow-strip].is-lit .crt-flow-step {
  opacity: 1; transform: none;
  transition: opacity 380ms var(--crt-ease), transform 380ms var(--crt-ease);
  transition-delay: calc(var(--i, 0) * 340ms);
}
.crt-flow[data-crt-flow-strip] .crt-flow-arrow { opacity: 0; }
.crt-flow[data-crt-flow-strip].is-lit .crt-flow-arrow {
  opacity: 1; transition: opacity 380ms var(--crt-ease); transition-delay: calc(var(--i, 0) * 340ms);
}

/* ---------- vertical examples (§76) ---------- */
.crt-verticals { max-width: 980px; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; }
.crt-verticals .crt-label { margin-bottom: 14px; color: var(--crt-muted); font-weight: 600; }
.crt-verticals ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.crt-verticals li { display: grid; justify-items: center; gap: 4px; padding: 16px 12px; border: 1px solid var(--crt-border); border-radius: var(--crt-r-sm); background: var(--crt-card); }
.crt-verticals strong { display: block; font-size: 14px; color: var(--crt-heading); }
.crt-verticals li > span:last-child { display: grid; gap: 2px; }
.crt-verticals .crt-muted { font-size: 12.5px; }
.crt-vert-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--crt-light); color: var(--crt-primary); }
.crt-vert-ic svg { width: 17px; height: 17px; }

/* §69 — a long learner or program name must wrap, never spill past the border. */
.crt-wallet-name, .crt-admin-main strong, .crt-att-main strong, .crt-history-main strong { overflow-wrap: break-word; }
.crt-record dd { overflow-wrap: anywhere; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .crt-intel { grid-template-columns: minmax(0, 1fr); }
  .crt-intel-cards { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  /* The rail stacks above the lesson, as the portal does on a phone. */
  .crt-player { grid-template-columns: minmax(0, 1fr); }
  .crt-rail { border-right: 0; border-bottom: 1px solid var(--crt-border); }
}
@media (max-width: 960px) {
  .crt-hero-grid, .crt-verify, .crt-brand, .crt-issued-grid,
  .crt-lv, .crt-vv-grid, .crt-elig { grid-template-columns: minmax(0, 1fr); }
  .crt-intel-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crt-roles-sec .crt-role-tabs { justify-content: flex-start; }
  /* The window dots earn their place beside a single-row tab strip, not a
     wrapped one. */
  .crt-roles-sec .crt-app-dots { display: none; }
  .crt-admin-dates { display: none; }
  .crt-wallet-grid { grid-template-columns: minmax(0, 1fr); }
  .crt-wallet-list { border-right: 0; border-bottom: 1px solid var(--crt-border); }
}
@media (max-width: 640px) {
  .crt-intel-cards, .crt-intel-cards-4 { grid-template-columns: minmax(0, 1fr); }
  /* Stacked one per row, the connectors point sideways into nothing. */
  .crt-flow-arrow { display: none; }
  .crt-flow-step { flex: 1 1 100%; max-width: none; }
  .crt-elig-metrics { grid-template-columns: minmax(0, 1fr); }
  .crt-history-row { flex-wrap: wrap; }
  .crt-history-kind { width: auto; }
  /* At phone width the value column squeezes the requirement title into three
     lines; give it its own row under the detail instead. */
  /* Both row types put their value on its own line here, so both have to be
     allowed to wrap — otherwise the 100%-wide value widens the row instead. */
  .crt-req, .crt-renew-reqs li { flex-wrap: wrap; }
  .crt-req-value { flex: 0 0 100%; padding-left: 42px; font-size: 13px; }
  .crt-reqs-foot { flex-direction: column; align-items: stretch; }
  .crt-reqs-foot .crt-btn { width: 100%; }
  .crt-record > div { flex-direction: column; gap: 2px; }
  .crt-record dd { text-align: left; }
  .crt-table thead { display: none; }
  .crt-table tbody tr { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--crt-border); }
  .crt-table th, .crt-table td { border: 0; padding: 2px 0; }
  .crt-table td::before { content: attr(data-label) " · "; font-size: 12px; color: var(--crt-muted); }
}

@media (max-width: 420px) {
  /* Below this, a status pill or action button sitting beside a title leaves
     the title 50–80px and it stacks into three lines. Give the title the row
     and let the pill or button drop underneath it. */
  .crt-elig-who { flex-wrap: wrap; }
  .crt-elig-who > div { flex: 1 1 auto; }
  .crt-elig-who > .crt-status { flex: 0 0 100%; }

  .crt-wallet-top { flex-wrap: wrap; }
  .crt-wallet-name { flex: 1 1 100%; }
  .crt-wallet-top .crt-status { flex: 0 0 auto; }

  .crt-attention li { flex-wrap: wrap; }
  .crt-att-main { flex: 1 1 calc(100% - 21px); }
  .crt-attention li .crt-btn { flex: 0 0 auto; margin-left: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .crt *, .crt *::before, .crt *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* Screenshot capture mode: freeze anything that moves, and land every entrance
   animation on its final frame so a capture never catches a half-faded card. */
.crt-capture .crt-spinner,
.crt-capture .crt-issuance li.is-active .crt-step-ic svg { animation: none !important; }
.crt-capture .crt *, .crt-capture .crt *::before, .crt-capture .crt *::after {
  animation-duration: 1ms !important;
  animation-delay: 0ms !important;
  transition-duration: 1ms !important;
}
