/* Base layout + components (Phase 3 expands). CSP-safe: external only. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.5;
}
a { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: .5rem; z-index: 10; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink); text-decoration: none; border-radius: var(--r-sm);
}
.brand:hover .brand__name { text-decoration: underline; }
.brand__logo { display: block; border-radius: 6px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__org { font-size: .7rem; font-weight: 500; color: var(--accent-ink); letter-spacing: .01em; }
.brand__name { font-size: .95rem; }
.topbar__right { display: flex; align-items: center; gap: .75rem; }
.iconbtn {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); padding: .3rem .5rem; cursor: pointer; font-size: 1rem;
}
.userchip { font-size: .85rem; color: var(--muted); }
.main { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem 1rem; }
.foot { max-width: var(--maxw); margin: 0 auto; padding: 1rem; color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: .78rem; }
.loading { color: var(--muted); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.15rem;
}
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem;
  padding: .2rem .55rem; border-radius: 999px; background: var(--accent);
  color: var(--on-accent);
}
.btn {
  cursor: pointer; font: inherit; font-weight: 500; padding: .5rem .9rem;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
}
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* Scoped to .btn: an answered .opt is also disabled, but must keep its correct/wrong paint. */
.btn:disabled { opacity: .45; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- Phase 3 components ---- */
.muted { color: var(--muted); }
.examgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.examcard { display: block; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 1rem; text-decoration: none; color: var(--ink); }
.examcard:hover { border-color: var(--accent); box-shadow: var(--shadow, 0 4px 16px rgba(0,0,0,.08)); }
.examcard h2 { font-size: 1.05rem; margin: .5rem 0 .25rem; }
.examcard__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.examcard__vendor {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.examhead { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin: 1rem 0; flex-wrap: wrap; }
.tab { padding: .5rem .8rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.tab.is-active { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; }
.tabbody > .card { margin-bottom: 1rem; }
.weights { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .4rem; }
.weights li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.opts { display: grid; gap: .5rem; margin: .8rem 0; }
/* Two-column grid so the letter badge stays put and the "your answer" tag stacks
   under the option text instead of squeezing it on a narrow screen. */
.opt {
  display: grid; grid-template-columns: 1.7rem 1fr; gap: .15rem .6rem; align-items: start;
  text-align: left; padding: .7rem .8rem; min-height: 2.75rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
}
.opt.selected { border-color: var(--accent); background: var(--accent-tint); }
.opt.correct { border-color: var(--correct); background: var(--correct-tint); }
.opt.wrong { border-color: var(--wrong); background: var(--wrong-tint); }
.opt__letter {
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
}
.opt.selected .opt__letter { border-color: var(--accent); color: var(--accent-ink); }
.opt.correct .opt__letter { border-color: var(--correct); color: var(--correct); }
.opt.wrong .opt__letter { border-color: var(--wrong); color: var(--wrong); }
/* Explicit column: auto-placement drops it into the 1.7rem letter track, where
   "correct answer" wraps one word per line. */
.opt__tag { grid-column: 2; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.opts--static .opt { cursor: default; }
.qstem { font-size: 1.1rem; font-weight: 500; }
.rationale { border-left: 3px solid var(--accent); background: var(--surface-2); padding: .6rem .8rem; border-radius: var(--r-sm); margin-top: .6rem; }
.rationale.right { border-left-color: var(--correct); }
.rationale.wrong { border-left-color: var(--wrong); }
.runner__top { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.runner__nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
/* Primary move controls. On a phone these become a sticky bottom bar (see the
   narrow-viewport block) so Next sits under the thumb instead of below the fold. */
.runner__bar { display: flex; gap: .5rem; margin-top: .8rem; }
.runner__bar .btn { min-height: 2.75rem; }
.btn__icon { font-size: 1.05rem; line-height: 1; }
.timer { margin-left: auto; font-family: var(--font-mono); font-weight: 600; border: 1px solid var(--line-strong); padding: .2rem .5rem; border-radius: var(--r-sm); }
/* Escalating time pressure — colour is backed by the toast + SR announcement so
   it never relies on colour alone (WCAG 1.4.1). */
.timer--warn { border-color: var(--amber); color: var(--amber); background: var(--amber-tint); }
.timer--crit { border-color: var(--wrong); color: var(--wrong); background: var(--wrong-tint); animation: timerpulse 1s ease-in-out infinite; }
@keyframes timerpulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
/* Autosave affordance — quiet confidence that in-progress work is persisted. */
.savestate { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); min-width: 4.2rem; }
.savestate.is-saving { color: var(--muted); }
.savestate.is-saved::before { content: "✓ "; color: var(--correct); }
.savestate.is-saved { color: var(--correct); }
.savestate.is-error { color: var(--wrong); }
/* Programmatic heading focus on SPA navigation shouldn't paint a focus ring. */
[tabindex="-1"]:focus { outline: none; }
.scenario-frame { background: var(--accent-tint); color: var(--accent-ink); padding: .4rem .7rem; border-radius: var(--r-sm); margin-bottom: .5rem; }
.verdict { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r); color: #fff; margin-bottom: 1rem; }
.verdict--green { background: var(--correct); }
.verdict--amber { background: var(--amber); }
.verdict--red { background: var(--wrong); }
.verdict__icon { font-size: 1.6rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; }
.verdict__score { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; }
.recs ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.recs a { color: var(--accent-ink); }
.prog-controls { display: flex; gap: .4rem; align-items: center; margin-bottom: .8rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .3rem .7rem; cursor: pointer; font: inherit; font-size: .85rem; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.prog-controls .sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 .3rem; }
.chart-empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--surface-2); border-radius: var(--r-sm); }
.switcher__sel { font: inherit; padding: .3rem .5rem; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.visually-hidden, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.facts { width: 100%; border-collapse: collapse; }
.facts td { padding: .35rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts td:first-child { color: var(--muted); width: 40%; }
.reqrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.reqrow__actions { display: flex; gap: .4rem; flex-shrink: 0; }
.adminlink { margin-right: .5rem; font-weight: 600; }
.backlink {
  display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem;
  font-size: .88rem; color: var(--muted); text-decoration: none;
}
.backlink:hover { color: var(--accent-ink); text-decoration: underline; }
.chart-svg { width: 100%; height: auto; display: block; }

/* ---- Domain bars (HTML, not SVG — see charts/domainBars.js) ---- */
.dbars { list-style: none; margin: .25rem 0 0; padding: 0; }
.dbar + .dbar { margin-top: .9rem; }
.dbar__head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .3rem; }
.dbar__name { font-size: .95rem; color: var(--ink); }
.dbar__pct { color: var(--muted); flex-shrink: 0; }
/* Firefox and Chromium expose the track and the fill through different pseudo-elements,
   and neither engine parses the other's, so a shared rule list would drop the whole block. */
.dbar__meter {
  display: block; width: 100%; height: 14px; border: 0; border-radius: 999px;
  appearance: none; -webkit-appearance: none; background: var(--surface-2);
}
.dbar__meter::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
.dbar__meter::-webkit-progress-value { border-radius: 999px; }
.dbar__meter::-moz-progress-bar { border-radius: 999px; }
.dbar__meter.is-strong::-webkit-progress-value { background: var(--correct); }
.dbar__meter.is-strong::-moz-progress-bar { background: var(--correct); }
.dbar__meter.is-mixed::-webkit-progress-value { background: var(--amber); }
.dbar__meter.is-mixed::-moz-progress-bar { background: var(--amber); }
.dbar__meter.is-weak::-webkit-progress-value { background: var(--wrong); }
.dbar__meter.is-weak::-moz-progress-bar { background: var(--wrong); }

/* Grow from zero. The fill's width is computed by the engine from the `value` attribute,
   so it cannot be animated directly — scaleX from its left edge reaches the same effect
   and lands on the natural rendered width, which means a bar is correct even if the
   animation never runs. The stagger is per row, and stops at the 8th because the widest
   exam (CCDV-F) has 8 domains; anything beyond that shares the last delay rather than
   restarting at zero and overtaking the rows above it. */
@keyframes dbar-grow { from { transform: scaleX(0); } }
.dbar__meter::-webkit-progress-value {
  transform-origin: left center; animation: dbar-grow .5s ease-out backwards;
}
.dbar__meter::-moz-progress-bar {
  transform-origin: left center; animation: dbar-grow .5s ease-out backwards;
}
.dbar:nth-child(2) .dbar__meter::-webkit-progress-value { animation-delay: .08s; }
.dbar:nth-child(2) .dbar__meter::-moz-progress-bar { animation-delay: .08s; }
.dbar:nth-child(3) .dbar__meter::-webkit-progress-value { animation-delay: .16s; }
.dbar:nth-child(3) .dbar__meter::-moz-progress-bar { animation-delay: .16s; }
.dbar:nth-child(4) .dbar__meter::-webkit-progress-value { animation-delay: .24s; }
.dbar:nth-child(4) .dbar__meter::-moz-progress-bar { animation-delay: .24s; }
.dbar:nth-child(5) .dbar__meter::-webkit-progress-value { animation-delay: .32s; }
.dbar:nth-child(5) .dbar__meter::-moz-progress-bar { animation-delay: .32s; }
.dbar:nth-child(6) .dbar__meter::-webkit-progress-value { animation-delay: .4s; }
.dbar:nth-child(6) .dbar__meter::-moz-progress-bar { animation-delay: .4s; }
.dbar:nth-child(7) .dbar__meter::-webkit-progress-value { animation-delay: .48s; }
.dbar:nth-child(7) .dbar__meter::-moz-progress-bar { animation-delay: .48s; }
.dbar:nth-child(n+8) .dbar__meter::-webkit-progress-value { animation-delay: .56s; }
.dbar:nth-child(n+8) .dbar__meter::-moz-progress-bar { animation-delay: .56s; }

/* The blanket reduced-motion rule above is on `*`, which does not match pseudo-elements,
   and `animation` does not inherit — so the fill needs its own opt-out. */
@media (prefers-reduced-motion: reduce) {
  .dbar__meter::-webkit-progress-value { animation: none !important; }
  .dbar__meter::-moz-progress-bar { animation: none !important; }
}
.ra-textarea { width: 100%; }
/* ---- Productization components ---- */
.pconf { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem .8rem; margin: .6rem 0; }
.pconf legend { font-weight: 600; padding: 0 .3rem; }
.pradio { display: flex; gap: .5rem; align-items: flex-start; padding: .35rem 0; cursor: pointer; }
.pcheck { display: inline-flex; gap: .35rem; align-items: center; margin: .2rem .8rem .2rem 0; }
.pconf__row { display: flex; align-items: center; gap: .5rem; margin: .6rem 0; }
.pnum { width: 5rem; font: inherit; padding: .3rem .4rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.bmk { background: none; border: 0; cursor: pointer; font-size: 1.2rem; color: var(--muted); line-height: 1; padding: .1rem .3rem; }
.bmk.on { color: var(--amber); }
.revq__head { display: flex; align-items: center; justify-content: space-between; }
.rationale__verdict { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.rationale__verdict.right { color: var(--correct); }
.rationale__verdict.wrong { color: var(--wrong); }
.note { display: block; margin-top: .5rem; }
.note textarea { display: block; margin-top: .2rem; }
.note__save { margin-top: .35rem; }
.calib strong { font-family: var(--font-mono); font-size: 1.3rem; }
.install-btn { margin-left: .5rem; }
/* ---- Question navigator palette ---- */
.navmap { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; }
.navdot { min-width: 2.2rem; height: 2.2rem; padding: 0 .3rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; font-family: var(--font-mono); }
.navdot.answered { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-tint); }
.navdot.flagged { border-color: var(--amber); color: var(--amber); }
.navdot.current { outline: 2px solid var(--focus); outline-offset: 1px; font-weight: 700; }
/* A 60- or 262-item palette floods the page, so it folds behind a disclosure.
   Small sets open by default — collapsing ten dots buys nothing. */
.jump { margin: .8rem 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.jump > summary { display: flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .4rem .8rem; cursor: pointer; font-weight: 500; }
.jump > summary::marker { color: var(--muted); }
/* The top padding is what keeps the current/focus ring visible. `overflow-y` makes this a
   scroll container, which clips at the padding edge, and the rings are outlines painted
   outside the dot's border box — 3px for .current, 4px for :focus-visible. At zero top
   padding the first row sits flush against that edge and its ring was shaved off square. */
.jump .navmap { margin: 0; padding: .35rem .8rem .8rem; max-height: 45vh; overflow-y: auto; }
.btn.is-flagged { border-color: var(--amber); color: var(--amber); }
.conflict-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; background: var(--amber-tint); border: 1px solid var(--amber); color: var(--ink); padding: .5rem .8rem; border-radius: var(--r-sm); margin-bottom: .8rem; }
/* ---- Toasts, keyboard hints, sticky timer ---- */
.toasts { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; z-index: 50; }
.toast { background: var(--ink); color: var(--surface); padding: .55rem .9rem; border-radius: var(--r-sm); box-shadow: var(--shadow, 0 4px 16px rgba(0,0,0,.2)); font-size: .9rem; opacity: 1; transition: opacity .25s; max-width: 320px; }
.toast--error { background: var(--wrong); color: #fff; }
.toast--warn { background: var(--amber); color: #fff; }
.toast--out { opacity: 0; }
.kbd-hint { margin-top: .5rem; }
.kbd-hint kbd { font-family: var(--font-mono); background: var(--surface-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 3px; padding: 0 .3rem; font-size: .78rem; }
.runner__top { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: .3rem 0; }

/* ---- Narrow viewports (phones) ----
   Three problems the desktop layout has here: the exam header and tab strip eat
   the fold before the question appears, the move buttons wrap into a ragged block
   below it, and tap targets sit under the ~44px floor. */
@media (max-width: 700px) {
  .main { padding: .85rem .85rem 0; }
  .topbar { padding: .55rem .85rem; }
  .topbar__right { gap: .5rem; }
  .brand { font-size: .95rem; white-space: nowrap; }
  .userchip { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .examhead { flex-wrap: wrap; gap: .4rem; margin-bottom: .3rem; }
  .examhead h1 { font-size: 1.05rem; margin: 0; }
  /* Scroll the strip edge-to-edge — clipping "Progress" against the page padding
     made the last tab look absent rather than scrollable. */
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; margin: .6rem -.85rem; padding: 0 .85rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; padding: .55rem .65rem; }

  .runner__top { margin: 0 -.85rem; padding: .4rem .85rem; }
  .runner__bar {
    position: sticky; bottom: 0; z-index: 6;
    display: grid; grid-template-columns: 1fr auto 1fr;
    margin: .8rem -.85rem 0;
    padding: .5rem .85rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-top: 1px solid var(--line);
  }
  .navdot { min-width: 2.75rem; height: 2.75rem; font-size: .9rem; }
  .bmk { font-size: 1.5rem; min-width: 2.75rem; min-height: 2.75rem; }
  .iconbtn { min-height: 2.5rem; }
  .chip { padding: .5rem .9rem; min-height: 2.75rem; }
  .qstem { font-size: 1.05rem; }
}
/* ---- Print / PDF ---- */
@media print {
  .topbar, .tabs, .runner__nav, .runner__bar, .navmap, .jump, .kbd-hint, .swipe-hint, .prog-controls, #toasts, .foot, .skip, .switcher, #themeToggle, #installBtn { display: none !important; }
  body { background: #fff; color: #000; }
  .main { max-width: 100%; }
  .card, .verdict { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
.changelog { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .4rem; }
.changelog li { border-left: 3px solid var(--accent); padding-left: .6rem; }

/* ---- Sign-in ----
   Standalone page: no SPA bootstrap, so theming rides on prefers-color-scheme
   via tokens.css rather than the topbar toggle. */
.signin-page { min-height: 100vh; }
.signin {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem; padding: 2rem 1rem;
  background:
    radial-gradient(70ch 40ch at 50% -10%, var(--accent-tint), transparent 70%),
    var(--bg);
}
.signin__card {
  width: 100%; max-width: 27rem; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); border-radius: var(--r);
  padding: 2.25rem 1.75rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}
.signin__brand {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; margin-bottom: 1.5rem;
}
.signin__mark { display: block; border-radius: 7px; }
.signin__brandname { letter-spacing: .01em; color: var(--accent-ink); }
.signin__brandsub { color: var(--ink); }
.signin__title {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25;
  margin: 0 0 .6rem; text-wrap: balance;
}
.signin__lede { color: var(--muted); margin: 0 0 1.75rem; text-wrap: pretty; }
.signin__btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: .8rem 1rem; font-weight: 600; text-decoration: none;
  color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .15s, background-color .15s;
}
.signin__btn:hover { border-color: var(--accent); background: var(--accent-tint); }
.signin__mslogo { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.signin__note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; text-wrap: pretty; }
.signin__rule { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0 1.1rem; }
.signin__exams {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
}
.signin__exam {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem;
}
.signin__exam::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 999px;
  background: var(--chip); flex-shrink: 0;
}
/* Mid-tone accents so one value per exam reads on both light and dark surfaces. */
.signin__exam[data-code="CCAO-F"] { --chip: #5b63e8; }
.signin__exam[data-code="CCDV-F"] { --chip: #1596b8; }
.signin__exam[data-code="CCAR-F"] { --chip: #8b5cf6; }
.signin__exam[data-code="CCAR-P"] { --chip: #c026d3; }
.signin__foot { color: var(--muted); margin: 0; text-align: center; }
@media (max-width: 30rem) {
  .signin__card { padding: 1.75rem 1.25rem; }
  .signin__title { font-size: 1.3rem; }
}
