/* ══════════════════════════════════════════════════════════════════════════
   TV-box viewer shell — the subset the Live Sandbox's per-question review uses.

   A SCOPED, PINNED COPY, and the reason it is a copy is worth stating: the single
   source of these rules is templates/components/tv_box_viewer_style.html, a Jinja
   partial that seven templates {% include %} into their own <style> block.
   static/student.html is not a template — it is a static file served straight off
   disk — so it cannot include it, and rewriting all seven pages to link a stylesheet
   instead would put the recruitment reading pages, Describe What You Know and the
   real Review page at risk for a demo screen.

   So the rules below are copied VERBATIM, and test_sandbox_question_review.py asserts
   every one of them still appears character-for-character in that partial. A drift
   fails the harness instead of quietly making the demo look unlike the product.

   Only what the review screen renders is here: the paper card and its design tokens,
   the navy runway header, the body, and the Level 1 page bar. The language bar, the
   runway track, the article cards and the grid helpers are not used by a node screen
   and are deliberately absent.
   ══════════════════════════════════════════════════════════════════════════ */

.wn-viewer{
    --navy:#12263f;
    --navy-soft:#1a3a5c;
    --paper:#f7f5f0;
    --paper-card:#ffffff;
    --ink:#1f2937;
    --ink-soft:#5a6472;
    --gold:#b8863f;
    --green:#2e7d4f;
    --line:#e3ddd0;
    --amber-bg:#fbf3e2;
    --amber-line:#d9b46a;
    --serif: 'Iowan Old Style','Palatino Linotype','Georgia',serif;
    --sans: -apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    --mono: 'JetBrains Mono','SF Mono',Consolas,monospace;

    background:var(--paper); color:var(--ink); font-family:var(--sans);
    line-height:1.6; border-radius:12px; overflow:hidden;
    max-width:900px; margin:0 auto;
}

.wn-viewer *{ box-sizing:border-box; }

.wn-runway{ position:relative; background:var(--navy); }

.wn-runway-inner{ padding:40px 32px 28px; }

.wn-eyebrow{
    font-family:var(--mono); font-size:11px; letter-spacing:.16em;
    text-transform:uppercase; color:#9db4cc; margin-bottom:14px;
}

.wn-viewer h1.wn-title{
    font-family:var(--serif); font-weight:400; color:#fff;
    font-size:clamp(24px,4vw,36px); line-height:1.15; margin:0 0 14px;
}

.wn-subtitle{ color:#c7d4e2; font-size:15px; max-width:640px; margin:0; }

.wn-body{ padding:40px 32px 24px; min-height:320px; }

.wn-pagebar{
    display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between;
    padding:18px 32px; background:var(--paper-card); border-top:1px solid var(--line);
}

.wn-pagebtn{
    font-family:var(--sans); font-size:14px; font-weight:600;
    padding:9px 20px; border-radius:6px; border:1px solid var(--navy);
    background:var(--navy); color:#fff; cursor:pointer; transition:.15s ease;
}

.wn-pagebtn:hover:not(:disabled){ background:var(--navy-soft); }

.wn-pagebtn:disabled{ opacity:.35; cursor:not-allowed; }

@media (max-width:680px){
    .wn-runway-inner{ padding:28px 20px 20px; }
    .wn-langbar-inner{ padding:10px 20px; }
    .wn-body{ padding:28px 20px 20px; }
    .wn-pagebar{ padding:16px 20px; }
    .wn-pagebtn{ padding:9px 14px; font-size:13px; }
}
