/* The visual identity pilot: the components. PILOT, local only.

   Every rule here starts [data-identity="v2"], which js/identity.js sets on
   <html> only on this computer, only when asked (?identity=v2), and only for
   the four pilot surfaces. Anywhere else this file matches nothing.

   This is not a second design system. The colours, radii and shadows are the
   semantic tokens of css/tokens.css (section 5 refines the dark surface's
   values); the rules below only change how a few components USE them where
   the current rules ask for a glow, a bright band, a pill or a box inside a
   box.

     one system    the same type scale, controls, focus ring, feedback and
                   colour meanings on every surface
     four modes    [data-mode] lab | quiz | game | code: the room and the
                   window frame differ, the interface does not

   Colour says what something does: blue moves you or is selected; amber is
   the learning (Starter, Predict, EXPLAIN, the task, the current stage);
   green is success only; red is a marked mistake only. Nothing is told by
   colour alone: a selected option has a bar, a right answer says so. */

/* ---------------------------------------------------------------- base -- */
[data-identity="v2"] body { -webkit-font-smoothing: antialiased; font-feature-settings: "kern"; }
[data-identity="v2"] .btn,
[data-identity="v2"] .tools button, [data-identity="v2"] .tools a { font-weight: 600; }
[data-identity="v2"] .btn { min-height: 40px; letter-spacing: .005em; }
[data-identity="v2"] .btn.small { min-height: 36px; }
[data-identity="v2"] .btn.ghost { color: var(--fg); border-color: var(--line-strong); }
[data-identity="v2"] .btn.ghost:hover:not(:disabled) { border-color: var(--accent-text); background: var(--ghost-hover); }
@media (prefers-reduced-motion: no-preference) {
  [data-identity="v2"] .btn, [data-identity="v2"] .opt, [data-identity="v2"] .chip,
  [data-identity="v2"] .tools button { transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
}
[data-identity="v2"] .rag { border-radius: var(--r-sm); }

/* One kind of small label, for every "what this is" heading. Sans, not mono:
   mono is for code and data. */
[data-identity="v2"] .pytaskhead h3, [data-identity="v2"] .pyrunh, [data-identity="v2"] .pyouth,
[data-identity="v2"] .reflist h3, [data-identity="v2"] .hrung h4, [data-identity="v2"] .revisit b,
[data-identity="v2"] .xkind, [data-identity="v2"] .vside > h3, [data-identity="v2"] .pyrunrow span,
[data-identity="v2"] .pyegout span, [data-identity="v2"] .xexample .xextitle {
  font: 600 12px/1.3 var(--font-sans) !important; letter-spacing: .08em !important; text-transform: uppercase;
}

/* -------------------------------------------- the room's own chrome ------ */
[data-identity="v2"] .pill { background: var(--glass); border-color: var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .hud b { color: var(--fg); font-variant-numeric: tabular-nums; font-weight: 700; }
[data-identity="v2"] .tools { gap: 4px; padding: 4px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .tools button, [data-identity="v2"] .tools a {
  background: transparent; color: var(--fg2); border: 1px solid transparent; border-radius: var(--r-control);
  min-height: 36px; padding: 7px 12px; font-size: 14px; display: inline-flex; align-items: center; }
[data-identity="v2"] .tools [hidden] { display: none; }
[data-identity="v2"] .tools button:hover, [data-identity="v2"] .tools a:hover { background: var(--ghost-hover); color: var(--fg); border-color: var(--line); }
[data-identity="v2"] .tools button[aria-pressed="true"] { color: var(--accent-text); border-color: var(--accent-text); background: var(--accent-soft); }
[data-identity="v2"] .tools button.vr { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
[data-identity="v2"] .nav button[aria-pressed="true"] { border-color: var(--accent-text); color: var(--accent-text); }
[data-identity="v2"] .toast { background: var(--glass); color: var(--fg2); border-color: var(--line); border-radius: var(--r-control); }
[data-identity="v2"] .drawer { background: var(--panel); border: 1px solid var(--line-strong); border-top: 3px solid var(--accent); border-radius: var(--r-window); }
[data-identity="v2"] .drawer h2 { color: var(--fg); font-size: 17px; font-weight: 600; }
[data-identity="v2"] .drawer.progress, [data-identity="v2"] .drawer.remediate { border-top-color: var(--highlight); }
[data-identity="v2"] .drawer.progress h2, [data-identity="v2"] .drawer.remediate h2 { color: var(--fg); }
[data-identity="v2"] .drawer .x { color: var(--soft); }

/* ---------------------------------------------------------- the window -- */
/* No blur and no glass behind it: the room is dimmed, plainly. */
[data-identity="v2"] #modal { background: rgba(7, 12, 20, .7); backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-identity="v2"] .box { border: 1px solid var(--line); border-radius: var(--r-window); }
/* The head is the window, not a coloured band. The station's colour stays as
   a small square beside its name: the same wayfinding as the painted slab,
   without painting the whole bar in it. */
[data-identity="v2"] .head {
  background: var(--panel); color: var(--fg); border-bottom: 1px solid var(--line);
  padding: 12px 12px 12px 20px; font-size: 16px; font-weight: 600; letter-spacing: .005em;
  border-radius: calc(var(--r-window) - 1px) calc(var(--r-window) - 1px) 0 0; }
[data-identity="v2"] .head #mt { display: inline-flex; align-items: center; gap: 10px; }
[data-identity="v2"] .head #mt::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 2px; background: var(--c, var(--highlight)); }
[data-identity="v2"] .head button { color: var(--soft); border: 1px solid transparent; width: 36px; height: 36px; font-size: 22px; display: grid; place-items: center; }
[data-identity="v2"] .head button:hover { color: var(--fg); background: var(--ghost-hover); border-color: var(--line); }
[data-identity="v2"] .head button:focus-visible { outline-color: var(--focus); }
[data-identity="v2"] .mbody { padding: 20px 24px 24px; }
[data-identity="v2"] .box.huge .mbody { padding: 16px 20px 20px; }

/* ------------------------------------------------- a question, anywhere -- */
[data-identity="v2"] .q { font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.005em; }
[data-identity="v2"] .qn { font-size: 14px; }
[data-identity="v2"] .opts { gap: 8px; }
[data-identity="v2"] .opt, [data-identity="v2"] .xopt {
  position: relative; background: var(--bg2); border: 1px solid var(--line-strong); border-radius: var(--r-control);
  padding: 13px 16px; font-size: 17px; min-height: 48px; }
[data-identity="v2"] .opt:hover:not(:disabled), [data-identity="v2"] .xopt:hover:not(:disabled) { border-color: var(--accent-text); background: var(--ghost-hover); }
/* Chosen, not yet marked: a bar as well as a colour (Quiz Mode sets the border inline) */
[data-identity="v2"] .opt.sel { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent-text); border-color: var(--accent-text) !important; }
/* Marked: the right answer and a wrong choice say so in words, not only in green and red */
[data-identity="v2"] .opt.right, [data-identity="v2"] .xopt.right, [data-identity="v2"] .chip.right {
  border-color: var(--ok) !important; background: var(--ok-soft) !important; box-shadow: inset 4px 0 0 var(--ok); }
[data-identity="v2"] .opt.wrong, [data-identity="v2"] .xopt.wrong, [data-identity="v2"] .chip.wrong {
  border-color: var(--bad) !important; background: var(--bad-soft) !important; box-shadow: inset 4px 0 0 var(--bad); }
[data-identity="v2"] .opt.right, [data-identity="v2"] .opt.wrong,
[data-identity="v2"] .xopt.right, [data-identity="v2"] .xopt.wrong { padding-right: 150px; }
[data-identity="v2"] .opt.right::after, [data-identity="v2"] .xopt.right::after,
[data-identity="v2"] .opt.wrong::after, [data-identity="v2"] .xopt.wrong::after {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font: 600 13px/1 var(--font-sans); letter-spacing: .02em; white-space: nowrap; }
[data-identity="v2"] .opt.right::after, [data-identity="v2"] .xopt.right::after { content: "✓ Correct answer"; color: var(--ok-strong); }
[data-identity="v2"] .opt.wrong::after, [data-identity="v2"] .xopt.wrong::after { content: "✗ Your answer"; color: var(--bad-strong); }
@media (max-width: 560px) {
  [data-identity="v2"] .opt.right, [data-identity="v2"] .opt.wrong { padding-right: 16px; padding-bottom: 30px; }
  [data-identity="v2"] .opt.right::after, [data-identity="v2"] .opt.wrong::after { top: auto; bottom: 9px; transform: none; left: 16px; right: auto; }
}

/* Feedback: the panel's own surface with a status rule, not a red or green box */
[data-identity="v2"] .fb { background: var(--raise); border: 1px solid var(--line); border-left: 4px solid var(--highlight);
  border-radius: var(--r-card); padding: 14px 16px 14px 16px; font-size: 16px; }
[data-identity="v2"] .fb.ok { background: var(--raise); border-color: var(--line); border-left-color: var(--ok); }
[data-identity="v2"] .fb.no { background: var(--raise); border-color: var(--line); border-left-color: var(--bad); }
[data-identity="v2"] .fb strong { font-size: 16px; font-weight: 700; }
[data-identity="v2"] .fb.ok strong { color: var(--ok-strong); }
[data-identity="v2"] .fb.no strong { color: var(--bad-strong); }

[data-identity="v2"] .seg button { background: var(--bg2); border: 1px solid var(--line-strong); border-radius: var(--r-control); font-weight: 500; min-height: 36px; }
[data-identity="v2"] .seg button[aria-pressed="true"] { border-color: var(--accent-text); color: var(--fg); background: var(--accent-soft); box-shadow: inset 0 -3px 0 var(--accent-text); }
[data-identity="v2"] .chip { border-radius: var(--r-control); border: 1px solid var(--line-strong); background: var(--bg2); font-size: 16px; padding: 10px 16px; }
[data-identity="v2"] .chip[aria-pressed="true"] { border-color: var(--accent-text); color: var(--fg); background: var(--accent-soft); }
[data-identity="v2"] .chip[aria-pressed="true"]::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }
[data-identity="v2"] .item, [data-identity="v2"] .olist li { border-width: 1px; border-radius: var(--r-control); }
[data-identity="v2"] .olist li::before { border-radius: var(--r-sm); background: var(--raise); color: var(--fg); border: 1px solid var(--line-strong); line-height: 24px; }
[data-identity="v2"] .review-note, [data-identity="v2"] .vrnote { background: var(--amber-soft); border: 0; border-left: 4px solid var(--highlight); border-radius: var(--r-control); }
[data-identity="v2"] .diag { border-radius: var(--r-card); }
[data-identity="v2"] textarea, [data-identity="v2"] .field input { border-width: 1px; }

/* --------------------------------------------- 2D, 3D and EXPLAIN windows -- */
[data-identity="v2"] .vstage, [data-identity="v2"] .vstage.model { background: var(--sunk); border-color: var(--line); }
[data-identity="v2"] .vnow { border: 1px solid var(--line); border-left: 4px solid var(--c, var(--accent-text)); }
[data-identity="v2"] .vnow b { color: var(--fg); }
[data-identity="v2"] .vlist button { border-width: 1px; border-radius: var(--r-control); font-weight: 500; }
[data-identity="v2"] .vlist button[aria-pressed=true] { border-color: var(--accent-text); color: var(--fg); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent-text); }
/* EXPLAIN is the learning amber: its square, its step dots */
[data-identity="v2"] .box.explain .head #mt::before { background: var(--highlight); }
[data-identity="v2"] .xdots li { height: 4px; border-radius: 2px; }
[data-identity="v2"] .xdots li.done { background: var(--line-strong); }
[data-identity="v2"] .xdots li.on { background: var(--highlight); }
[data-identity="v2"] .xstep h3 { font-size: 22px; font-weight: 600; letter-spacing: -.005em; }
[data-identity="v2"] .xstep .xchain li { background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--highlight); }
[data-identity="v2"] .xmix { background: var(--bad-soft); border-left-width: 3px; }
[data-identity="v2"] .xexample .xanswer { border-width: 1px; border-left-width: 4px; }
[data-identity="v2"] .xcap b { color: var(--accent-text); }

/* ================================================================ modes == */

/* ---- lab: the Speed lab. The room is the atmosphere; the windows are kit. */
[data-identity="v2"][data-mode="lab"] #modal { background: rgba(7, 12, 20, .66); }

/* ---- quiz: focused revision. The room recedes further; the window is the
   whole of the attention, and it carries no station colour. */
[data-identity="v2"][data-mode="quiz"] #modal,
[data-identity="v2"][data-mode="quiz"] .revise #modal { background: rgba(7, 12, 20, .8); }
[data-identity="v2"][data-mode="quiz"] .head #mt::before { display: none; }
[data-identity="v2"][data-mode="quiz"] .box { border-top: 3px solid var(--accent); }
[data-identity="v2"] .qmeta { gap: 6px; margin-bottom: 14px; font-size: 13px; }
[data-identity="v2"] .qmeta .tag { background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px 8px; color: var(--soft); }
[data-identity="v2"] .qmeta .exam { border-color: var(--line-strong); color: var(--fg2); }
[data-identity="v2"] .qmeta .marks { background: transparent; color: var(--highlight-text); border: 1px solid var(--highlight); border-radius: var(--r-sm);
  padding: 2px 8px; font-size: 13px; font-weight: 700; }
[data-identity="v2"] .qmeta .star { font-size: 20px; min-width: 36px; min-height: 36px; border-radius: var(--r-control); }
[data-identity="v2"] .answer { border: 1px solid var(--line-strong); border-radius: var(--r-control); }
[data-identity="v2"] .answer:focus, [data-identity="v2"] .exact:focus { border-color: var(--accent-text); box-shadow: 0 0 0 1px var(--accent-text); outline: none; }
[data-identity="v2"] .exact { border-width: 1px; }
[data-identity="v2"] .revisit { background: var(--bg2); border: 1px solid var(--line-strong); border-radius: var(--r-control); position: relative; padding-right: 44px; }
[data-identity="v2"] .revisit::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent-text); font-size: 18px; }
[data-identity="v2"] .revisit b { color: var(--accent-text); }
[data-identity="v2"] .revisit:hover { border-color: var(--accent-text); background: var(--ghost-hover); }
[data-identity="v2"] .points li.got i { color: var(--ok); }
[data-identity="v2"] .sourceline { color: var(--soft); }
[data-identity="v2"] .picker button { border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--bg2); position: relative; }
[data-identity="v2"] .picker button[aria-pressed="true"] { border-color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent-text); }
[data-identity="v2"] .picker button[aria-pressed="true"]::after { content: "✓"; position: absolute; right: 10px; top: 8px; color: var(--accent-text); font-weight: 700; }
[data-identity="v2"] .picker button b { color: var(--accent-text); }
[data-identity="v2"] .modes button { border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--bg2); }
[data-identity="v2"] .modes button[aria-pressed="true"] { border-color: var(--accent-text); color: var(--fg); background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent-text); }
[data-identity="v2"] .selfcheck label { border-width: 1px; border-radius: var(--r-control); }
[data-identity="v2"] .selfcheck .seen { color: var(--accent-text); }
[data-identity="v2"] .lvl { border-width: 1px; border-radius: var(--r-control); }
[data-identity="v2"] .lvl.on { border-color: var(--accent-text); box-shadow: inset 4px 0 0 var(--accent-text); background: var(--accent-soft); }
[data-identity="v2"] .lvl .sug { border-radius: var(--r-sm); }
[data-identity="v2"] .mk { border-width: 1px; border-radius: var(--r-control); }
[data-identity="v2"] .mk.on { border-color: var(--accent-text); box-shadow: inset 0 -3px 0 var(--accent-text); }
[data-identity="v2"] .yours p { border-radius: var(--r-control); }
[data-identity="v2"] .startbar { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-window); }
[data-identity="v2"] .stats { gap: 8px; }
[data-identity="v2"] .stat { background: var(--bg2); border-color: var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .stat b, [data-identity="v2"] .stats b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
[data-identity="v2"] .summary .stat:first-child b { color: var(--highlight-text); }
[data-identity="v2"] .bar { height: 6px; border-radius: 3px; }
[data-identity="v2"] .bar i { border-radius: 3px; }
[data-identity="v2"] .weak a { border-radius: var(--r-control); background: var(--bg2); }
[data-identity="v2"] .weak a:hover { border-color: var(--accent-text); }
[data-identity="v2"] .revise #where b { color: var(--fg); }

/* ---- game: the Logic sprint. The same controls and colours, more pace: a
   scoreboard, an amber edge, a bigger result. */
[data-identity="v2"][data-mode="game"] .box { border-top: 3px solid var(--highlight); }
[data-identity="v2"][data-mode="game"] .head #mt::before { background: var(--highlight); }
[data-identity="v2"] .sprinthud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
[data-identity="v2"] .sprinthud span { display: flex; flex-direction: column; gap: 2px; background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r-control); padding: 8px 14px; font: 600 12px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
[data-identity="v2"] .sprinthud b { color: var(--fg); font-size: 26px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; text-transform: none; font-variant-numeric: tabular-nums; }
[data-identity="v2"] .sprinthud span:first-child { border-color: var(--highlight); }
[data-identity="v2"] .sprinthud span:first-child b { color: var(--highlight-text); }
[data-identity="v2"] .box .score { font-size: 88px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 18px 0 8px;
  color: var(--highlight-text); font-variant-numeric: tabular-nums; }
[data-identity="v2"] .sprintpb { display: inline-block; margin-top: 6px; padding: 3px 10px; border: 1px solid var(--highlight); border-radius: var(--r-sm);
  color: var(--highlight-text); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
[data-identity="v2"] table.bd { max-width: 420px; margin: 16px auto 4px; }
[data-identity="v2"] table.bd td { border-bottom-color: var(--line); padding: 9px 4px; }
[data-identity="v2"] table.bd td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { [data-identity="v2"] .sprinthud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- code: the Python workstation. The editor is the bench: dark, plain,
   framed once. Everything around it is quiet so the code is what reads. */
[data-identity="v2"][data-mode="code"] .head #mt::before { display: none; }
[data-identity="v2"][data-mode="code"] .box.codewin { border-top: 1px solid var(--line); }
[data-identity="v2"] .pyed { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .pyed:focus-within { border-color: var(--accent-text); box-shadow: 0 0 0 1px var(--accent-text); }
[data-identity="v2"] .pygut { background: var(--sunk); color: var(--quiet); border-right: 1px solid var(--line); }
[data-identity="v2"] .pyout { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--fg2); }
[data-identity="v2"] .pyout .err { color: var(--bad-strong); }
[data-identity="v2"] .pyout .muted { color: var(--quiet); }
/* the editor's own bar: a row of tools, not a box inside the window */
[data-identity="v2"] .pyidebar { background: transparent; border: 0; padding: 0; }
[data-identity="v2"] .pykeys { color: var(--quiet); }
[data-identity="v2"] .pyrun { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .pyrunh, [data-identity="v2"] .pyouth { color: var(--soft); }
[data-identity="v2"] .pyrunrow span { color: var(--soft); font-size: 11px !important; padding-top: 4px; }
[data-identity="v2"] .pyrunrow code { color: var(--fg2); }
/* what is typed and what is displayed: still two colours, two weights, two labels */
[data-identity="v2"] .pyrunrow.in code { color: var(--amber-strong); }
[data-identity="v2"] .pyrunrow.out code { color: var(--fg); font-weight: 600; }
[data-identity="v2"] .pytask { background: transparent; border: 1px solid var(--line); border-radius: var(--r-card); }
[data-identity="v2"] .pytaskhead h3 { color: var(--highlight-text); }
[data-identity="v2"] .pytask .pybrief { border-top-color: var(--line); }
[data-identity="v2"] .stepn { border-radius: var(--r-sm); background: var(--raise); color: var(--fg); border: 1px solid var(--line-strong); line-height: 26px; }
[data-identity="v2"] .pyteach { background: var(--bg2); border-left: 3px solid var(--line-strong); border-radius: 0 var(--r-control) var(--r-control) 0; }
[data-identity="v2"] .pyeg { background: var(--sunk); border: 1px solid var(--line); color: var(--fg2); border-radius: var(--r-control); }
[data-identity="v2"] .pyegout span { color: var(--soft); }
[data-identity="v2"] .pylines summary { color: var(--accent-text); }
/* where the pupil is: the current activity in amber, done ones filled, the rest open */
[data-identity="v2"] .pydots li { border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: transparent; color: var(--soft); line-height: 25px; }
[data-identity="v2"] .pydots li.done { border-color: var(--ok); background: var(--ok-soft); color: var(--ok-strong); }
[data-identity="v2"] .pydots li.now { border-color: var(--highlight); background: var(--highlight); color: var(--highlight-fg); }
/* the stage of the release, named: one label style for every stage (the word carries it) */
[data-identity="v2"] .pychip, [data-identity="v2"] .pychip.try, [data-identity="v2"] .pychip.predict, [data-identity="v2"] .pychip.change,
[data-identity="v2"] .pychip.complete, [data-identity="v2"] .pychip.debug, [data-identity="v2"] .pychip.opt {
  background: var(--amber-soft); border: 1px solid var(--highlight); color: var(--highlight-text); border-radius: var(--r-sm);
  font: 600 13px/1.2 var(--font-sans); letter-spacing: .02em; padding: 4px 10px; }
[data-identity="v2"] .pywhere { color: var(--fg2); }
[data-identity="v2"] .pytest { background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--r-control); }
[data-identity="v2"] .pytest.pass { border-color: var(--line); border-left-color: var(--ok); }
[data-identity="v2"] .pytest.fail { border-color: var(--line); border-left-color: var(--bad); }
[data-identity="v2"] .pytest.pass > b { color: var(--ok); }
[data-identity="v2"] .pytest.fail > b { color: var(--bad); }
[data-identity="v2"] .pyresult { border-top: 1px solid var(--line); }
[data-identity="v2"] .pytry { color: var(--fg2); }
/* after two failed checks the Hint button is marked once, without a glow */
[data-identity="v2"] .btn.nudge { animation: none; border-color: var(--highlight); color: var(--highlight-text); box-shadow: inset 0 0 0 1px var(--highlight); }
/* the hint and the help, laid over the window */
[data-identity="v2"] .hintpane { background: var(--panel); }
[data-identity="v2"] .hinthead { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
[data-identity="v2"] .hinthead b { font-size: 18px; font-weight: 700; color: var(--highlight-text); }
[data-identity="v2"] .hrung { border-left: 3px solid var(--highlight); }
[data-identity="v2"] .hrung h4 { color: var(--soft); }
[data-identity="v2"] .hintfoot { border-top: 1px solid var(--line); }
[data-identity="v2"] .helppane .hinthead b { color: var(--fg); }
[data-identity="v2"] .helpbody { max-width: 72ch; }
[data-identity="v2"] .helpbody .helpsay { font-size: 18px; line-height: 1.5; color: var(--fg); margin: 4px 0 14px; }
[data-identity="v2"] .helpbody .vrow { margin: 0 0 14px; }
[data-identity="v2"] .refit { border-left-color: var(--line-strong); }
[data-identity="v2"] .reflist h3 { color: var(--soft); }
/* the editor named, as its output already is: "Your program" above, "Program output" below */
[data-identity="v2"][data-mode="code"] .pystage::before { content: "Your program"; flex: 0 0 auto; margin: 0 0 -4px;
  font: 600 12px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
[data-identity="v2"] .vstage.pystage { background: none; border: 0; }
