/* reskin-practice.css — Practice papers (#surface-exam) header + gap-band styles.
   Scoped entirely under #surface-exam. The single-queue card styles (.pri-list,
   .pri-card, .pri-rank, .pri-foot, .skel-*) were removed in PR2e — the surface is
   now the handoff's 3-group layout (To take / Completed / Needs feedback), whose
   .pe-* chrome lives in appshell.css. What remains here: the editorial header
   (.rk-prac-*) and the amber gap band (dark variant included so both themes stay
   intentional). Tokens come from themes.css where they exist. */

#surface-exam {
  /* amber gap band — mockup light values, theme-aware dark fallback below */
  --rk-amber-bg: #efe7d6;
  --rk-amber-bd: #d8c79e;
}
[data-mode="dark"] #surface-exam {
  --rk-amber-bg: color-mix(in oklch, var(--exam) 18%, var(--surface));
  --rk-amber-bd: color-mix(in oklch, var(--exam) 42%, var(--border));
}

/* ---- shell ---------------------------------------------------------------- */
#surface-exam .wrap.rk-prac {
  position: relative;
  overflow: visible;
}

/* The generic ambient sprig that surface-sprigs.js injects into this surface is
   hidden — the Practice surface stays clean (its old mockup corner specimen was
   removed, see index.html #surface-exam). */
#surface-exam > .surface-sprig { display: none; }

/* ---- header --------------------------------------------------------------- */
#surface-exam .rk-prac-head { margin-bottom: 6px; }
#surface-exam .rk-prac-eyebrow {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
#surface-exam .rk-prac-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
#surface-exam .rk-prac-desc {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 54ch;
}

/* ---- filter (de-emphasized; mockup has none, but the hook stays) ---------- */
#surface-exam .rk-prac-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 18px;
}
#surface-exam .rk-prac-filter #exam-filter-input {
  flex: 0 1 220px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}
#surface-exam .rk-prac-filter #exam-filter-input::placeholder { color: var(--ink-subtle); }
#surface-exam .rk-prac-filter #exam-filter-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
#surface-exam .rk-prac-filter .btn {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
#surface-exam .rk-prac-filter .btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- amber gap band ------------------------------------------------------- */
#surface-exam .gap-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--rk-amber-bg);
  border: 1px solid var(--rk-amber-bd);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
}
#surface-exam .ga-glyph {
  height: 62px;
  width: auto;
  object-fit: contain;
  flex: none;
}
#surface-exam .ga-body {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}
#surface-exam .ga-body b { color: var(--ink); font-weight: 600; }

/* ---- priority rows / foot / skeleton -------------------------------------
   PR2e: the single readiness-sorted queue (.pri-list/.pri-card/.pri-foot + the
   loading skeleton) was replaced by the handoff's three grouped lists. Those
   group + card rules now live in appshell.css under
   `#lysia-root #surface-exam .pe-*`; the old .pri-* rules were removed here so
   the two files don't double-style the surface. The shell, header, amber gap
   band, and filter rules above are unchanged. */

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 720px) {
  #surface-exam .rk-prac-title { font-size: 32px; }
  #surface-exam .rk-prac-filter { justify-content: stretch; }
  #surface-exam .rk-prac-filter #exam-filter-input { flex: 1; }
  #surface-exam .gap-alert { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* The mockup has no giant empty-state watermark — suppress the "queue" ghost so
   the empty Practice screen stays in the clean cream register. */
#surface-exam .ee-ghost { display: none; }
#surface-exam .empty-editorial { padding-top: 4px; }
