/* © 2026 William C. Chesher. All Rights Reserved.
   you - the student's own page, on pages.css and tokens.css: the check, their data, what they make of it. */

/* the shared header, the same full-width bar as every page around the studio (pages.css .site-head) */
/* the page holds a screen's height from first paint (2026-11-03 second review: the footer painted under an empty
   page and jumped below the fold when the cards came, layout shift 0.16-0.22; signed out it floated mid-screen) */
.you { max-width: 760px; margin: 0 auto; padding: 28px 16px 64px; display: grid; gap: 18px; align-content: start;
  min-height: calc(100vh - 72px); min-height: calc(100dvh - 72px); }
.you-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 20px;
  box-shadow: var(--shadow); }
.you-card h1 { margin: 0 0 12px; font: 800 26px/1.1 var(--display); letter-spacing: -.03em; }
.you-card[hidden], .you-card [hidden] { display: none; }
.you-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.you-small { font-size: 14px; line-height: 1.5; }
.you-card p { font-size: 16px; line-height: 1.55; }
.you-timer { margin: 0 0 12px; font: 600 15px var(--body); color: var(--accent); }
.you-item { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.you-item h2 { margin: 0 0 6px; font: 700 18px var(--display); }
.you-code { list-style: none; margin: 8px 0 0; padding: 0; max-height: 420px; overflow: auto; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--panel-2); }
.you-line { display: flex; gap: 10px; width: 100%; padding: 1px 8px; border: 0; background: none; color: var(--ink-2);
  text-align: left; font: 400 13px/1.5 var(--mono, monospace); cursor: pointer; }
.you-line:hover, .you-line:focus-visible { background: var(--accent-soft); color: var(--ink); }
.you-n { min-width: 3ch; color: var(--muted); text-align: right; }
.you-line code { white-space: pre; }
.you-fix { display: block; width: 100%; font: 400 13px/1.5 var(--mono, monospace); white-space: pre; overflow-wrap: normal; }
.you-result { margin: 8px 0 0; color: var(--muted); }
.you-q { white-space: pre-wrap; overflow-wrap: anywhere; }
.you-still { cursor: default; }
.you-still:hover { background: none; color: var(--ink-2); }
.you-guess { flex: 1 1 auto; max-width: 260px; font: 400 15px var(--mono, monospace); }
.you-result.good { color: var(--accent); }
/* THEIR OWN DATA (wchesher, 2026-10-24: "more hero like", "highly readable", "just as functional"): the dashboard's hero
   (static/fluency/dashboard.css .fd-hero) at a student's reading size: body text 16px and up, numbers big, every
   comparison on its own labelled line so nothing wraps mid-figure. */
.you-data { display: grid; gap: 18px; }
.you-data[hidden] { display: none; }
.you-hero { padding: clamp(22px, 5vw, 36px); border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(91, 127, 255, .18), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(198, 244, 50, .08), transparent 60%), var(--panel); box-shadow: var(--shadow); }
.you-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; font: 400 11px var(--pixel);
  letter-spacing: .05em; color: var(--muted); }
.you-eyebrow i { width: 7px; height: 7px; background: var(--accent); display: inline-block; }
.you-eyebrow i + i { background: var(--p2); margin-left: -8px; }
.you-eyebrow span + span::before { content: "/"; margin-right: 10px; color: var(--faint); }
.you-eyebrow span:first-of-type { color: var(--ink); }
.you-headline { margin: 0; font: 800 clamp(28px, 6vw, 40px)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; color: var(--ink); }
.you-pattern { margin: 14px 0 0; max-width: 58ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.you-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
/* before the first ask: one thing to try, under the line that says there is nothing yet (you.js showData) */
.you-try { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.you-try .you-eyebrow { margin-bottom: 8px; }
.you-try .you-eyebrow span { color: var(--accent); }
.you-try p:last-child { margin: 0; max-width: 58ch; font-size: 17px; line-height: 1.55; color: var(--ink); }
.you-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 24px; margin: 24px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line); }
.you-figs div { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }   /* a two-line label never lowers its figure out of the row */
.you-figs dt { font: 400 11px/1.3 var(--pixel); letter-spacing: .04em; color: var(--muted); }
.you-figs dd { margin: 0; font: 800 clamp(30px, 7vw, 40px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); }

.you-next { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent-soft); }
.you-next[hidden] { display: none; }
.you-next .you-eyebrow { margin-bottom: 8px; }
.you-next .you-eyebrow span { color: var(--accent); }
.you-next h2 { margin: 0; font: 700 clamp(21px, 4.5vw, 26px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.you-next p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.you-stage { margin: 8px 0 0; display: grid; gap: 4px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.you-stage b { font: 700 18px var(--display); color: var(--accent); }
.you-parts { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: part; display: grid; gap: 8px; }
.you-parts li { counter-increment: part; display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; align-items: baseline; }
.you-parts li::before { content: counter(part); grid-row: span 2; font: 800 20px var(--display); color: var(--accent); }
.you-parts b { font: 700 15px var(--display); color: var(--ink); } .you-parts span { font-size: 14.5px; color: var(--muted); }
.you-best, .you-grew { margin: 18px 0 0; }
.you-best[hidden], .you-grew[hidden], .you-skills[hidden], #coach[hidden] { display: none; }
.you-skills { margin: 18px 0 0; } .you-skills ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.you-skills li { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--well); border-left: 3px solid var(--p2); display: grid; gap: 4px; }
.you-skills li.yours { border-left-color: var(--accent); }
.you-skills b { font: 700 16px var(--display); color: var(--ink); } .you-skills em { font: 400 12px var(--mono); font-style: normal; color: var(--accent); }
.you-skills span { font-size: 14.5px; color: var(--ink-2); } .you-skills q { font-size: 14.5px; color: var(--ink); }
.you-best blockquote, .you-ba blockquote { margin: 6px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); font: 600 17px/1.4 var(--display);
  color: var(--ink); background: var(--accent-soft); border-left: 3px solid var(--accent); overflow-wrap: anywhere; }
.you-ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.you-ba .was { background: var(--well); border-left-color: var(--line-2); color: var(--muted); font-weight: 500; }
.you-why { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.you-why span { font: 400 12px var(--mono); padding: 3px 9px; border-radius: 999px; background: var(--well); color: var(--accent); }

.you-h2 { margin: 0 0 4px; font: 800 24px/1.15 var(--display); letter-spacing: -.03em; }
.you-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; margin-top: 14px; }
.you-row { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--panel-2); }
.you-what { margin: 0; padding-right: 56px; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
/* the habit's glyph: 16 x 16 at 3x, one colour and a quieter second tone, sitting back in the corner (decoration only) */
.you-glyph { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; shape-rendering: crispEdges;
  fill: var(--accent); opacity: .55; pointer-events: none; }
.you-glyph .you-glyph-2 { opacity: .45; }
.you-you { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.you-you b { font: 800 40px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
.you-you.you-none b { font-size: 24px; color: var(--muted); letter-spacing: -.01em; }
.you-you span { font-size: 15px; color: var(--ink-2); }
.you-vs { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.you-vs b { margin-left: 4px; font: 700 17px var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.you-says { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.you-key { margin: 16px 0 0; color: var(--muted); }
.you textarea.field { display: block; width: 100%; resize: vertical; }
.you-notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.you-notes li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px; }
.you-notes small { color: var(--muted); }
.you-notes p { margin: 2px 0 0; overflow-wrap: anywhere; }
.you-out .you-act { justify-content: flex-start; }
/* the pixel face is for tiny labels only, never a sentence (brand page): .you-card p set every eyebrow in a card at
   16px, so "getting what you want from player two" read as a 16px pixel sentence (2026-11-03 review) */
.you-card p.you-eyebrow { font-size: 11px; line-height: 1.4; }
/* your games: one line each, the title and its plays, each opening its own page on Spawn Point */
.you-game-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.you-game-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.you-game-list a:hover { border-color: var(--line-2); background: var(--panel-2); }
.you-game-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.you-game-list b { font-weight: 700; overflow-wrap: anywhere; }
.you-game-list span { flex: none; font: 400 13px var(--mono); color: var(--muted); }
.you-games[hidden], .you-out[hidden] { display: none; }
/* what player three saw playing a game's newest version (2026-11-07): under the game it is about, the words in full */
.you-game-list .p3 { margin: 6px 0 0; padding: 8px 14px; border-left: 3px solid var(--line-2); display: grid; gap: 4px; }
.you-game-list .p3-fix { border-left-color: var(--caution); }
.you-game-list .p3 b { font-size: 14px; }
.you-game-list .p3 span { flex: initial; font: 400 14px/1.45 var(--body); color: var(--ink-2); }
body > .site-foot { margin-top: 40px; }
#lab[hidden] { display: none; }
.you-lab { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.you-lab li { border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--radius-sm); padding: 8px 12px;
  display: grid; gap: 2px; }
.you-lab li.t-good { border-left-color: var(--good, var(--line)); }
.you-lab li.t-bad { border-left-color: var(--warn, var(--line)); }
.you-lab span { overflow-wrap: anywhere; }
/* the lab's chart of their own asking (lab_panels.student_chart; the admin's styles, the student page's subset) */
.you-lab-chart { margin: 14px 0 0; }
.you-lab-chart .lp-panel { margin: 0; display: grid; gap: 8px; }
.you-lab-chart figcaption { display: grid; gap: 2px; }
.you-lab-chart figcaption b { font: 650 var(--type-body)/1.2 var(--display); }
.you-lab-chart .lp-adapt { font: 500 var(--type-label)/1.3 var(--mono); color: var(--faint); }
.you-lab-chart .lp-say { font-size: var(--type-small); color: var(--ink-2); }
.you-lab-chart .lp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.you-lab-chart .lp-svg text { font-family: var(--mono); }
.you-lab-chart .lp-tick { fill: var(--faint); font-size: 9.5px; }
.you-lab-chart line.lp-grid { stroke: var(--line); stroke-dasharray: 2 4; }
.you-lab-chart .lp-guide { stroke: var(--caution); stroke-opacity: .45; stroke-dasharray: 6 5; }
.you-lab-chart .lp-line { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.you-lab-chart .lp-raw { fill: none; stroke-width: 1; stroke-opacity: .2; }
.you-lab-chart .lp-fill { fill-opacity: .12; stroke: none; }
.you-lab-chart .lp-dot { stroke: var(--panel); stroke-width: 1.2; }
.you-lab-chart .lp-fit { stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: 5 4; }
.you-lab-chart .lp-cone { fill: var(--p2); fill-opacity: .16; stroke: var(--p2); stroke-opacity: .45; }
.you-lab-chart .lp-cast { stroke: var(--p2-hover); stroke-width: 1.6; stroke-dasharray: 3 3; }
.you-lab-chart .lp-castdot { fill: var(--p2-hover); stroke: var(--panel); stroke-width: 1.5; }
.you-lab-chart .lp-was { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.you-lab-chart .lp-is.t-good { fill: var(--good); } .you-lab-chart .lp-is.t-bad { fill: var(--bad); }
.you-lab-chart .lp-miss.t-good { stroke: var(--good); } .you-lab-chart .lp-miss.t-bad { stroke: var(--bad); }
.you-lab-chart .lp-hov > :not(.lp-hit) { opacity: 0; pointer-events: none; }
.you-lab-chart .lp-hit, .you-lab-chart .lp-pt { fill: transparent; }
.you-lab-chart .lp-hov:hover > * { opacity: 1; }
.you-lab-chart .lp-hl { stroke: var(--ink-2); stroke-opacity: .5; stroke-width: 1; }
.you-lab-chart .lp-hd { stroke: var(--panel); stroke-width: 1.5; }
.you-lab-chart .lp-tipbox { fill: var(--panel-2); stroke: var(--line-2); }
.you-lab-chart .lp-tip text { fill: var(--ink-2); font-size: 10px; } .you-lab-chart .lp-tip .lp-tiph { fill: var(--ink); font-weight: 600; } .you-lab-chart .lp-tip .lp-tipv { fill: var(--ink); }

/* the teacher's answer to a note (2026-11-07), set in under the note it answers */
.reply { margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid var(--p2); background: var(--p2-wash); display: grid; gap: 2px; }
.reply b { font-size: 13px; color: var(--ink-2); }
