/* Review landing + Session Complete (v2 build item 2a).
   Classes prefixed .rv-; tokens from styles.css. The boards'
   type colours (grammar gold, kanji heat, listening blue) are
   scoped here as variables until the shell grows tokens for
   them, the same pattern the study screens used. */
:root{
  --rv-grammar:#b98a1d; --rv-grammar-wash:#faf3e0;
  --rv-kanji:#b8461f; --rv-kanji-wash:#fbebe2;
  --rv-words-wash:#efeafb;
  --rv-ok:#1e7a46; --rv-ok-wash:#e2f3e8;
}
.rv-headline{font-size:1.75rem!important}
.rv-chips{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 16px}
.rv-chip{font-size:.8125rem;font-weight:800;border-radius:999px;padding:7px 14px;color:var(--ink)}
.rv-chip-grammar{background:var(--rv-grammar-wash);color:var(--rv-grammar)}
.rv-chip-kanji{background:var(--rv-kanji-wash);color:var(--rv-kanji)}
.rv-chip-words{background:var(--rv-words-wash);color:var(--violet)}
.rv-chip-review{background:var(--lime);color:var(--ink)}
/* The preview card is an example, not a door (B11, 2026-11-18):
   dimmed as a whole, with a badge that stays loud. */
.rv-preview-example{opacity:.62}
.rv-chip-example{background:var(--violet-deep);color:var(--white);opacity:1}
.rv-how-note{color:var(--muted)}
.rv-inside-label{margin-top:28px}
.rv-preview-head{display:flex;gap:22px;align-items:center;margin:8px 0 18px}
.rv-glyph{font-family:var(--jp);font-size:4rem;line-height:1.2;color:var(--rv-kanji)}
.rv-question{font-size:1.125rem;display:block}
.rv-lastseen{margin:4px 0 0!important}
.rv-options{display:grid;gap:10px}
.rv-option{margin:0;border:1px solid var(--lav-2);border-radius:var(--r-md);
  padding:14px 18px;font-weight:700;background:var(--white)}
.rv-complete{text-align:center}
.rv-done-mark{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:var(--rv-ok-wash);color:var(--rv-ok);font-size:1.625rem;font-weight:800;margin-bottom:10px}
.rv-done-mark .lucide{width:50%;height:50%}
.rv-complete-head{font-size:1.75rem!important}
.rv-stats{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.rv-stat{background:var(--lav-1);border-radius:var(--r-md);padding:14px 20px;min-width:130px}
.rv-stat b{display:block;font-size:1.375rem}
.rv-stat span{color:var(--muted);font-size:.8125rem;font-weight:700}
.rv-mastered-line{margin:2px 0;font-family:var(--jp)}
.rv-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}

/* Board layout (Penpot Session Complete): the 880 study column,
   the finish mark large and centred on the paper — no card —
   and the two 240px actions centred under the wash card. */
.rv-complete-wrap{max-width:720px}
.rv-complete{padding:24px 0 8px}
.rv-done-mark{width:112px;height:112px;font-size:3rem}
.rv-actions{display:flex;gap:20px;justify-content:center;margin-top:24px}
.rv-actions .btn{flex:0 0 240px;height:56px;border-radius:16px;display:grid;place-items:center;padding:0}

/* The review How card stacks its steps under the label like the
   board's 396 card — the shared .how two-column fold is Today's. */
.rv-how{display:block}
.rv-how p:not(.sec-label){font-size:.9375rem;font-weight:600;line-height:1.5;margin:0 0 10px}
.rv-how .rv-how-note{font-weight:400;color:var(--muted);font-size:.875rem}

/* Complete, per the boards: lime medallion with a dark check,
   white stat cards with violet numbers, group cards across on
   web; on phones the stats stay three-across, mastered items
   become per-item rows with a check and a type tag, and Back to
   Today is the full-width primary with Practise more a text link. */
.rv-done-mark{width:96px;height:96px;background:var(--lime);color:var(--ink);font-size:2.25rem}
.rv-stat{background:var(--white);border:1px solid var(--lav-2);flex:1;max-width:262px;padding:22px 16px}
.rv-stat b{color:var(--violet);font-size:1.75rem}
.rv-tomorrow{text-align:left}
.rv-tomorrow p{margin:4px 0 0}
.rv-preview-card .rv-chip{text-transform:uppercase;letter-spacing:.04em}
.rv-preview-note{color:var(--muted);font-size:.875rem;text-align:center;margin:14px 0 0}
.rv-mastered-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}
@media (min-width:900px){
  .rv-mastered-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .rv-headline{font-size:1.25rem!important}
  .rv-stats{flex-wrap:nowrap}
  .rv-stat{min-width:0;padding:14px 8px}
  .rv-mgroup{display:block;border:0;padding:0;background:none;box-shadow:none}
  .rv-mgroup .chip{display:none}
  .rv-mastered-line{display:flex;align-items:center;gap:10px;padding:9px 0;margin:0;
    border-top:1px solid var(--lav-1);font-weight:700}
  .rv-mastered-line::before{content:"✓";color:var(--rv-ok);font-weight:800}
  .rv-mastered-line::after{content:attr(data-type);margin-left:auto;color:var(--muted);
    font-size:.6875rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
  .rv-actions{flex-direction:column;align-items:stretch}
  .rv-actions .btn{flex:0 0 auto;width:100%}
  .rv-actions .btn-violet{order:-1;text-align:center}
  .rv-actions .btn-ghost{background:none;border:0;box-shadow:none;color:var(--violet);text-align:center;height:auto;min-height:44px}
}
