/* DumpExams layout. Colors come from the track theme (--accent). */
.ex-page { max-width: 980px; margin: 0 auto; padding: 8px 0 48px; }
.ex-hero {
  background:
    radial-gradient(700px 220px at 100% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  margin: 12px 0 18px;
}
.ex-hero h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.03em; }
.ex-kicker { margin: 0 0 6px; color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ex-stats, .ex-cert-grid, .ex-exam-grid { display: grid; gap: 12px; }
.ex-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.ex-cert-grid { grid-template-columns: 1fr 1fr; }
.ex-exam-grid { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.ex-stat, .ex-cert, .ex-exam, .ex-question, .ex-review, .ex-about-open {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}
.ex-stat { padding: 14px 16px; }
.ex-stat b { display: block; font-size: 28px; line-height: 1.1; }
.ex-stat span, .ex-note, .ex-source, .ex-kicker { color: var(--text-2); }
.ex-stat-planned { outline: 1px dashed var(--accent); }
.ex-stat-planned span::after { content: " · planned"; color: var(--accent-2); font-weight: 700; }
.ex-cert, .ex-exam, .ex-review, .ex-about-open { padding: 16px 18px; }
.ex-cert h3, .ex-exam h3, .ex-exam h4 { margin: 0; }
.ex-cert-head, .ex-exam header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ex-spec, .ex-domains { list-style: none; padding: 0; margin: 10px 0; }
.ex-spec li, .ex-domains li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px solid var(--stroke-2);
}
.ex-about { margin-top: 8px; }
.ex-about summary { cursor: pointer; font-weight: 650; }
.ex-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ex-pill-ready { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.ex-pill-soon { background: var(--accent-soft); color: var(--accent-2); }
.ex-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #1a1206; border: 0; border-radius: 10px;
  padding: 10px 14px; font-weight: 700; cursor: pointer; text-decoration: none;
}
[data-theme="light"] .ex-btn { color: #fff; }
.ex-btn:hover { text-decoration: none; filter: brightness(1.05); }
.ex-btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; }
.ex-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--stroke); }
.ex-path { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 8px; }
.ex-path li { background: var(--surface-2); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.ex-more { margin-bottom: 0; }
.ex-run-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; }
#exTimer { font-variant-numeric: tabular-nums; color: var(--accent-2); }
.ex-question h1 { font-size: 22px; line-height: 1.35; }
.ex-options { display: grid; gap: 8px; }
.ex-option {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--stroke); border-radius: 10px; padding: 12px;
  background: var(--surface-2); cursor: pointer;
}
.ex-option.is-on { border-color: var(--accent); background: var(--accent-soft); }
.ex-option input { margin-top: 4px; }
.ex-letter { font-weight: 800; min-width: 1.2em; }
.ex-dock {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0;
  position: sticky; bottom: 8px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  padding: 8px 0;
}
.ex-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.ex-num {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--stroke);
  background: var(--surface); color: var(--text); cursor: pointer;
}
.ex-num.is-current { outline: 2px solid var(--accent); }
.ex-num.is-answered { background: var(--accent-soft); }
.ex-num.is-flagged { box-shadow: inset 0 -3px 0 var(--warning); }
.ex-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; z-index: 40; }
.ex-modal[hidden] { display: none; }
.ex-modal-card { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 20px; max-width: 420px; }
.ex-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ex-review { margin-bottom: 10px; }
.ex-review h3 { margin-top: 0; }

@media (max-width: 800px) {
  .ex-stats, .ex-cert-grid, .ex-exam-grid { grid-template-columns: 1fr; }
  .ex-hero { padding: 18px; }
  .ex-hero h1 { font-size: 26px; }
  .ex-page { overflow-x: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-hero, .ex-cert, .ex-btn, .ex-option { transition: none; animation: none; }
}
