/* =====================================================================
   Vidhvaa QGen AI theme - "Indigo Aurora"
   Light + dark mode. Dark follows the device setting unless the user picks
   one with the theme toggle (auth.js sets <html data-theme="light|dark">).
   The old token names (--teal, --coral, ...) are kept as aliases so every
   page keeps working; they now point at the new palette.
   ===================================================================== */
/* The Inter font is loaded by each page in the background (see the <link media="print" onload> tag),
   so a slow or blocked font server never delays the page; system fonts are used until it arrives. */

:root {
  color-scheme: light;
  /* surfaces */
  --bg: #F5F6FB;            --bg-glow-1: rgba(99, 102, 241, 0.18); --bg-glow-2: rgba(168, 85, 247, 0.14); --bg-glow-3: rgba(14, 165, 233, 0.10);
  --surface: #FFFFFF;       --surface-2: #F8F9FD;     --surface-3: #EEF0FA;
  --border: #E3E6F0;        --border-strong: #CBD0E2;
  /* text */
  --ink: #161A33;           --ink-soft: #4A5070;      --muted: #8A90AD;
  /* brand */
  --primary: #5B5BD6;       --primary-strong: #4338CA; --primary-ink: #3730A3; --primary-tint: #EEEEFE; --on-primary: #FFFFFF;
  --accent: #A855F7;        --grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 55%, #D946EF 100%);
  /* status */
  --success: #059669;       --success-tint: #E7F7EF;
  --warning: #D97706;       --warning-tint: #FEF5E6;  --warning-ink: #92400E;
  --danger: #E11D48;        --danger-tint: #FDECEF;
  /* depth + motion */
  --shadow-sm: 0 1px 2px rgba(22, 26, 51, 0.05), 0 1px 3px rgba(22, 26, 51, 0.06);
  --shadow-md: 0 6px 18px rgba(22, 26, 51, 0.08), 0 2px 6px rgba(22, 26, 51, 0.05);
  --shadow-lg: 0 24px 60px rgba(22, 26, 51, 0.18);
  --shadow-glow: 0 8px 24px rgba(91, 91, 214, 0.30);
  --backdrop: rgba(14, 16, 32, 0.50);
  --radius: 14px; --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --disabled-bg: #E5E7F0;   --disabled-ink: #9AA0B8;

  /* legacy names used throughout the pages */
  --page-bg: var(--bg); --card-bg: var(--surface);
  --teal: var(--primary); --teal-dark: var(--primary-ink); --teal-tint: var(--primary-tint);
  --amber: var(--warning); --coral: var(--danger); --coral-tint: var(--danger-tint);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0B0D1C;          --bg-glow-1: rgba(99, 102, 241, 0.22); --bg-glow-2: rgba(168, 85, 247, 0.16); --bg-glow-3: rgba(14, 165, 233, 0.10);
    --surface: #14172B;     --surface-2: #1A1E36;     --surface-3: #232846;
    --border: #2A2F4E;      --border-strong: #3A4066;
    --ink: #ECEEFF;         --ink-soft: #B4B9D8;      --muted: #7D83A6;
    --primary: #818CF8;     --primary-strong: #6366F1; --primary-ink: #C7CCFF; --primary-tint: rgba(129, 140, 248, 0.14); --on-primary: #FFFFFF;
    --success: #34D399;     --success-tint: rgba(52, 211, 153, 0.13);
    --warning: #FBBF24;     --warning-tint: rgba(251, 191, 36, 0.12); --warning-ink: #FCD34D;
    --danger: #FB7185;      --danger-tint: rgba(251, 113, 133, 0.13);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 8px 28px rgba(129, 140, 248, 0.35);
    --backdrop: rgba(3, 4, 12, 0.66);
    --disabled-bg: #262A45; --disabled-ink: #6E7498;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0D1C;          --bg-glow-1: rgba(99, 102, 241, 0.22); --bg-glow-2: rgba(168, 85, 247, 0.16); --bg-glow-3: rgba(14, 165, 233, 0.10);
  --surface: #14172B;     --surface-2: #1A1E36;     --surface-3: #232846;
  --border: #2A2F4E;      --border-strong: #3A4066;
  --ink: #ECEEFF;         --ink-soft: #B4B9D8;      --muted: #7D83A6;
  --primary: #818CF8;     --primary-strong: #6366F1; --primary-ink: #C7CCFF; --primary-tint: rgba(129, 140, 248, 0.14); --on-primary: #FFFFFF;
  --success: #34D399;     --success-tint: rgba(52, 211, 153, 0.13);
  --warning: #FBBF24;     --warning-tint: rgba(251, 191, 36, 0.12); --warning-ink: #FCD34D;
  --danger: #FB7185;      --danger-tint: rgba(251, 113, 133, 0.13);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 8px 28px rgba(129, 140, 248, 0.35);
  --backdrop: rgba(3, 4, 12, 0.66);
  --disabled-bg: #262A45; --disabled-ink: #6E7498;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  max-width: 1000px; margin: 0 auto; padding: 30px 50px;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: transparent; color: var(--ink); min-height: 100vh;
  position: relative; isolation: isolate;
  -webkit-font-smoothing: antialiased;
  transition: color 0.3s ease;
}
/* slow-moving aurora glow behind everything */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, var(--bg-glow-1), transparent 60%),
    radial-gradient(35vmax 35vmax at 85% 0%, var(--bg-glow-2), transparent 60%),
    radial-gradient(45vmax 45vmax at 70% 95%, var(--bg-glow-3), transparent 60%),
    var(--bg);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3vmax, 2vmax, 0) scale(1.06); }
  100% { transform: translate3d(2vmax, -2vmax, 0) scale(1.02); }
}

::selection { background: var(--primary); color: var(--on-primary); }

h1 {
  text-align: center; font-weight: 800; margin-bottom: 6px; letter-spacing: -1px; font-size: 34px;
  animation: rise 0.7s var(--ease) both;
}
h1 span {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.app-subtitle {
  text-align: center; color: var(--ink-soft); font-size: 14.5px; margin-top: 0; margin-bottom: 30px;
  animation: rise 0.7s 0.08s var(--ease) both;
}
h2 { font-weight: 700; font-size: 17px; letter-spacing: -0.2px; }
a { color: var(--primary); }

/* ---------------------------------------------------------------- cards */
div.section {
  margin-bottom: 24px; background-color: var(--surface);
  border: 1px solid var(--border); padding: 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease);
  animation: rise 0.6s var(--ease) both;
}
div.section:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
/* sections arrive one after another */
div.section:nth-of-type(1) { animation-delay: 0.10s; }
div.section:nth-of-type(2) { animation-delay: 0.16s; }
div.section:nth-of-type(3) { animation-delay: 0.22s; }
div.section:nth-of-type(4) { animation-delay: 0.28s; }
div.section:nth-of-type(5) { animation-delay: 0.34s; }
div.section:nth-of-type(6) { animation-delay: 0.40s; }
div.section:nth-of-type(n+7) { animation-delay: 0.46s; }
div.section h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
div.section h2::before {
  content: ""; display: inline-block; width: 4px; height: 18px;
  background: var(--grad); border-radius: 4px;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.045); } 100% { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  padding: 10px 20px; font-family: inherit; font-size: 14px;
  font-weight: 600; border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--primary-tint); outline-offset: 2px; }
.btn-solid { background: var(--grad); background-size: 140% 140%; color: var(--on-primary); border: none; box-shadow: var(--shadow-sm); }
.btn-solid:hover:not(:disabled) { box-shadow: var(--shadow-glow); background-position: 100% 0; }
/* light sweep across solid buttons on hover */
.btn-solid::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-solid:hover:not(:disabled)::after { left: 130%; }
.btn-solid:disabled { background: var(--disabled-bg); color: var(--disabled-ink); cursor: not-allowed; box-shadow: none; }
.btn-outline { background-color: var(--surface); color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover:not(:disabled) { background-color: var(--primary-tint); box-shadow: var(--shadow-sm); }
.btn-outline:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------------------------------------- form controls (all pages) */
input[type="text"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  background-color: var(--surface) !important; color: var(--ink) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="search"]:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary) !important; box-shadow: 0 0 0 4px var(--primary-tint);
}
::placeholder { color: var(--muted); opacity: 1; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- question cards */
.q-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px;
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  animation: rise 0.45s var(--ease) both;
}
/* new questions appear one after another */
.q-card:nth-child(1) { animation-delay: 0.02s; }  .q-card:nth-child(2) { animation-delay: 0.06s; }
.q-card:nth-child(3) { animation-delay: 0.10s; }  .q-card:nth-child(4) { animation-delay: 0.14s; }
.q-card:nth-child(5) { animation-delay: 0.18s; }  .q-card:nth-child(6) { animation-delay: 0.22s; }
.q-card:nth-child(7) { animation-delay: 0.26s; }  .q-card:nth-child(8) { animation-delay: 0.30s; }
.q-card:nth-child(9) { animation-delay: 0.34s; }  .q-card:nth-child(n+10) { animation-delay: 0.38s; }
.q-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.q-card.picked { border-color: var(--primary); background-color: var(--primary-tint); }
.q-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.q-card-body { flex: 1; min-width: 0; }
.q-pick-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.q-pick { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; transition: transform 0.2s var(--ease); }
.q-pick:checked { animation: pop 0.3s var(--ease); }
.q-card .q-text { font-weight: 600; color: var(--ink); margin: 0 0 10px; line-height: 1.5; }
.q-card .q-option { padding: 7px 10px; font-size: 14.5px; color: var(--ink-soft); border-radius: 6px; transition: background-color 0.2s ease; }
.q-card .q-option.correct { color: var(--success); font-weight: 600; background-color: var(--success-tint); }
.q-card .q-explanation {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
}
.q-card .q-explanation strong { color: var(--ink); }

/* saved sets / file groups slide in like the question cards */
.history-batch, .file-group { animation: rise 0.45s var(--ease) both; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s ease; }
.history-batch:hover, .file-group:hover { transform: translateY(-2px); }
.curriculum-badge { animation: rise 0.4s var(--ease) both; }

/* ---------------------------------------------------------------- shared bits */
details > summary { cursor: pointer; }
details[open] > :not(summary) { animation: fade 0.3s ease both; }
.katex { color: inherit; }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }

/* theme toggle (added by auth.js) */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), border-color 0.2s ease, color 0.2s ease, background-color 0.3s ease;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }

/* everything calms down for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body::before { animation: none; }
}

/* ---------------------------------------------------------------- popups (modal + toasts), shared by every page */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: var(--backdrop); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s ease;
}
.modal-backdrop.show { opacity: 1; }
.modal-backdrop.closing { opacity: 0; }
.modal {
  position: relative; box-sizing: border-box; width: 100%; max-width: 460px; padding: 26px 26px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.94); opacity: 0; transition: transform .32s var(--ease), opacity .22s ease;
}
.modal::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 18px 18px 0 0; background: var(--grad); }
.modal.error::before { background: var(--danger); }
.modal.warning::before { background: var(--warning); }
.modal.success::before { background: var(--success); }
.modal-backdrop.show .modal { transform: none; opacity: 1; }
.modal-backdrop.closing .modal { transform: translateY(10px) scale(.97); opacity: 0; }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.modal-icon {
  width: 44px; height: 44px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #fff; background: var(--danger); box-shadow: var(--shadow-sm);
  animation: modal-icon-pop .45s .08s var(--ease) both;
}
.modal.warning .modal-icon { background: var(--warning); }
.modal.success .modal-icon { background: var(--success); }
.modal.info .modal-icon { background: var(--grad); }
@keyframes modal-icon-pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-title { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.modal-message { margin: 0 0 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.modal-tech { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); font-size: 12px; color: var(--muted); word-break: break-word; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal-actions .btn { padding: 10px 20px; }
.btn-danger-solid { background: var(--danger); color: #fff; border: none; box-shadow: var(--shadow-sm); }
.btn-danger-solid:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 8px 22px rgba(225, 29, 72, .32); }

.toast-stack {
  position: fixed; top: 16px; right: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-end;
  gap: 10px; z-index: 1100; pointer-events: none;
}
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 400px; width: max-content; box-sizing: border-box;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-left: 4px solid var(--success); border-radius: 12px;
  padding: 12px 14px; box-shadow: var(--shadow-md); font-size: 14px; animation: toast-in .32s var(--ease);
}
.toast.warning { border-left-color: var(--warning); }
.toast.error { border-left-color: var(--danger); }
.toast .toast-spinner { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--warning); border-top-color: transparent; animation: spin .9s linear infinite; }
.toast-close { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .modal { padding: 22px 18px 18px; } .modal-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .modal, .modal-backdrop, .modal-icon, .toast { transition: none; animation: none; } }

/* ---------------------------------------------------------------- push to live: progress popup */
.push-prog { max-width: 540px; }
.pp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pp-ring { position: relative; flex: none; width: 52px; height: 52px; }
.pp-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.pp-ring circle { fill: none; stroke-width: 4; }
.pp-ring .bg { stroke: var(--surface-3); }
.pp-ring .fg { stroke: var(--primary); stroke-linecap: round; transition: stroke-dashoffset .45s var(--ease); }
.push-prog:not(.finished) .pp-ring svg { animation: pp-spin 1.6s linear infinite; }
@keyframes pp-spin { to { transform: rotate(270deg); } }
.pp-icon { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--primary); }
.push-prog:not(.finished) .pp-icon::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); animation: pp-pulse 1s ease-in-out infinite; }
@keyframes pp-pulse { 50% { transform: scale(1.6); opacity: .5; } }
.push-prog.success .pp-ring .fg { stroke: var(--success); }
.push-prog.success .pp-icon { color: var(--success); animation: modal-icon-pop .45s var(--ease) both; }
.push-prog.warning .pp-ring .fg { stroke: var(--warning); }
.push-prog.warning .pp-icon { color: var(--warning); }
.push-prog.error .pp-ring .fg { stroke: var(--danger); }
.push-prog.error .pp-icon { color: var(--danger); }
.pp-sub { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.pp-dest { font-family: ui-monospace, Consolas, monospace; color: var(--primary-ink); }
.pp-count { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.pp-count b { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; }
.pp-count span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.pp-count em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--primary); }
.pp-bar { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin: 10px 0 10px; }
.pp-fill { position: relative; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width .45s var(--ease); overflow: hidden; }
.pp-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: pp-sheen 1.2s linear infinite; }
.push-prog.finished .pp-fill::after { display: none; }
@keyframes pp-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.pp-tally { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.pp-tally span { padding: 3px 10px; border-radius: 999px; }
.pp-tally .t-ok { background: var(--success-tint); color: var(--success); }
.pp-tally .t-skip { background: var(--warning-tint); color: var(--warning-ink); }
.pp-tally .t-fail { background: var(--danger-tint); color: var(--danger); }
.pp-list { list-style: none; margin: 0; padding: 4px; max-height: 230px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.pp-list li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; font-size: 13px; transition: background-color .25s ease; }
.pp-list .nm { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--ink); }
.pp-list .why { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-list .st { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; box-sizing: border-box; }
.pp-list li.wait .st { border: 2px solid var(--border-strong); }
.pp-list li.busy { background: var(--primary-tint); }
.pp-list li.busy .st { border: 2px solid var(--primary); border-top-color: transparent; animation: spin .7s linear infinite; }
.pp-list li.busy .why { color: var(--primary-ink); font-weight: 700; }
.pp-list li.uploaded .st { background: var(--success); animation: modal-icon-pop .35s var(--ease) both; }
.pp-list li.uploaded .st::after { content: "\2713"; }
.pp-list li.uploaded .why { color: var(--success); font-weight: 700; }
.pp-list li.skipped .st { background: var(--warning); }
.pp-list li.skipped .st::after { content: "\21B7"; }
.pp-list li.skipped .why { color: var(--warning-ink); }
.pp-list li.failed .st { background: var(--danger); }
.pp-list li.failed .st::after { content: "\2715"; }
.pp-list li.failed .why { color: var(--danger); }
.pp-list li.stopped .st { border: 2px dashed var(--border-strong); }
@media (prefers-reduced-motion: reduce) { .pp-ring svg, .pp-icon::after, .pp-fill::after, .pp-list li.busy .st { animation: none !important; } }

/* multi-part questions: every statement on its own line */
.q-text { white-space: pre-line; }
