/* The signed-in dashboard, the plan choice and the log-in / sign-up pages, from the approved
   mockup v25 (2026-10-17). Loaded only by those pages (account, login, signup); every rule sits under
   .v25 so styles.css's own .row / .list / .btn / .plan stay as they are for the rest of the site.
   SPACING TOKENS (use only these):
     --s-sub 6px      page title -> its one-line subtitle
     --s-page 32px    page header -> first section header
     --s-head 12px    section header (h2) -> its card
     --s-sect 40px    card -> next section header (also the gap between stacked sections in a column)
     --gutter 24px    between the 12 grid columns and between cards in a row
     --card-y 20px / --card-x 24px   card padding;  --row-y 16px  list-row padding
     --pad-x 40px (16px on phones)   page side padding, the same in the top bar and the content
     --maxw 1440px    content and top bar width;  --pad-top 40px  top bar -> page title
   GRID: 12 columns; main 8 / side 4 at 1280px and up; one column below. Every column starts with a
   section header, so cards side by side start at the same y.
   BUTTONS: one primary (coral fill) per view at most; secondary = bordered (--btn-line, >=3:1 on the
   page in both themes); destructive = red outline; text links only inside sentences and for "See ..."
   links. Nav items are not buttons.
   THEME: light on :root; dark under prefers-color-scheme (unless data-theme="light", which site.js
   sets from the account menu's choice) and again under data-theme="dark". Keep the two dark copies
   identical. The dark values are the extension's (extension/lib/ui.css). */
:root {
  color-scheme: light;
  --bg: #ffffff; --soft: #f6f6f7; --side: #f6f6f7; --hover: #efeff1; --ink: #15171b; --ink-2: #5c636e; --ink-3: #6b737d;
  --line: #e6e7ea; --line-2: #d6d8dc; --accent: #c8402a; --btn: #c8402a; --btn-hover: #b13923; --accent-text: #b13923; --accent-soft: #fdeeea;
  --brand: #e8553e; --danger: #c4321f; --ok: #1d7a46; --ok-soft: #e8f3ec; --wait: #9a5b00;
  --kv-1: #e4e5e9; --kv-2: #eeeff2; --err-ink: #8c1d18;
  --shadow: rgb(21 23 27 / .12); --shadow-2: rgb(21 23 27 / .28); --scrim: rgb(21 23 27 / .38);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --s-sub: 6px; --s-page: 32px; --s-head: 12px; --s-sect: 40px; --gutter: 24px;
  --card-y: 20px; --card-x: 24px; --row-y: 16px; --pad-x: 40px; --pad-top: 40px; --maxw: 1440px;
  --btn-line: #8b919a; --nav-on: #e7e8eb;
  --ft-pdf: #c8402a; --ft-doc: #2f5fb3; --ft-ppt: #c2611c; --ft-xls: #1d7a46; --ft-vid: #6b4fbb;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1c1d20; --soft: #26282c; --side: #18191c; --hover: #303237; --ink: #f1f2f4; --ink-2: #b4b9c1; --ink-3: #9aa0a9;
    --line: #33363b; --line-2: #45484e; --accent: #e0573f; --btn: #c8402a; --btn-hover: #cd4530; --accent-text: #f08a74; --accent-soft: #3a231f;
    --brand: #e8553e; --danger: #f07a68; --ok: #5cc48a; --ok-soft: #1d2f24; --wait: #f2b65e;
    --kv-1: #33363b; --kv-2: #2a2c31; --err-ink: #f4a091;
    --shadow: rgb(0 0 0 / .4); --shadow-2: rgb(0 0 0 / .6); --scrim: rgb(0 0 0 / .6);
    --btn-line: #6e737b; --nav-on: #2c2e33;
    --ft-pdf: #ef7a64; --ft-doc: #7ea4ea; --ft-ppt: #e89a5d; --ft-xls: #5cc48a; --ft-vid: #a995ef;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c1d20; --soft: #26282c; --side: #18191c; --hover: #303237; --ink: #f1f2f4; --ink-2: #b4b9c1; --ink-3: #9aa0a9;
  --line: #33363b; --line-2: #45484e; --accent: #e0573f; --btn: #c8402a; --btn-hover: #cd4530; --accent-text: #f08a74; --accent-soft: #3a231f;
  --brand: #e8553e; --danger: #f07a68; --ok: #5cc48a; --ok-soft: #1d2f24; --wait: #f2b65e;
  --kv-1: #33363b; --kv-2: #2a2c31; --err-ink: #f4a091;
  --shadow: rgb(0 0 0 / .4); --shadow-2: rgb(0 0 0 / .6); --scrim: rgb(0 0 0 / .6);
  --btn-line: #6e737b; --nav-on: #2c2e33;
  --ft-pdf: #ef7a64; --ft-doc: #7ea4ea; --ft-ppt: #e89a5d; --ft-xls: #5cc48a; --ft-vid: #a995ef;
}
body { background: var(--bg); color: var(--ink); }
.v25 { line-height: 1.5; }
.v25 [hidden] { display: none !important; }
.v25 button, .v25 input, .v25 select, .v25 textarea { font: inherit; color: inherit; }
.v25 a { color: var(--accent-text); text-decoration: none; }
.v25 :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the skip link (styles.css): --ink is light in dark mode, so its text takes the page colour */
.skip { left: 14px; color: var(--bg); }
.v25 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v25 svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.v25 .mark { width: 26px; height: 26px; display: inline-block; flex: none; }
.v25 .mark img { width: 100%; height: 100%; display: block; }
.v25 .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }

/* buttons: primary is a coral pill; secondary is an outlined pill; text links only for small, quiet things */
.v25 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r); border: 0; background: var(--btn); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.v25 .btn:hover { background: var(--btn-hover); }
.v25 .btn.big { height: 54px; font-size: 17px; border-radius: 14px; }
.v25 .btn.block { width: 100%; }
.v25 .btn.sec { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--btn-line); }
.v25 .btn.sec:hover { background: var(--soft); }
.v25 .btn.sm { height: 38px; padding: 0 16px; font-size: 15px; border-radius: var(--r-sm); }
.v25 .btn.danger { background: var(--bg); color: var(--danger); box-shadow: inset 0 0 0 1px currentColor; }
.v25 .btn.danger:hover { background: var(--accent-soft); }
.v25 .btn.danger.fill { background: var(--danger); color: #fff; box-shadow: none; }
:root[data-theme="dark"] .v25 .btn.danger.fill { color: #1c1d20; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v25 .btn.danger.fill { color: #1c1d20; } }
.v25 .btn:disabled { opacity: .45; cursor: default; }
.v25 .link { font: inherit; font-weight: 600; font-size: 15.5px; color: var(--accent-text); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.v25 .spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink-2); animation: v25-spin .8s linear infinite; flex: none; display: inline-block; }
@keyframes v25-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .v25 .spin { animation: none; } .v25 * { transition: none !important; } }
.v25 .field { flex-direction: row; text-align: left; width: 100%; height: 54px; border: 1px solid var(--line-2); border-radius: 14px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--bg); }
.v25 .field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.v25 .field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; color: var(--ink); height: 100%; }
.v25 .field input::placeholder { color: var(--ink-3); }
.v25 .field.sm { height: 44px; border-radius: var(--r); }
.v25 .field.sm input { font-size: 16px; }
/* the course filter: its icon on the rows' text edge, its text on the course names' */
.v25 [data-c-filter] { padding: 0 var(--card-x); gap: 6px; }
.v25 .code { font: inherit; white-space: normal; overflow: visible; display: flex; gap: 8px; background: var(--soft); border-radius: var(--r); padding: 10px 10px 10px 14px; }
.v25 .code pre { flex: 1; min-width: 0; margin: 0; padding: 4px 0; font: 13.5px/1.5 var(--mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.v25 .code .btn { flex: none; }
.v25 code { font: 0.9em var(--mono); background: var(--soft); border-radius: var(--r-tag); padding: 1px 5px; overflow-wrap: anywhere; }
/* messages (errors, notices) in both themes */
.v25 .msg { margin: 0; padding: 12px 16px; border-radius: var(--r); font-size: 15px; line-height: 1.45; background: var(--soft); color: var(--ink); }
.v25 .msg.err { background: var(--accent-soft); color: var(--err-ink); }
.v25 .msg.ok { background: var(--ok-soft); color: var(--ok); }
.v25 .msg a { font-weight: 600; }
/* a plan or feature name in running text (R1): semibold, no colour of its own */
.v25 .nm { font-weight: 600; }
/* an in-page "are you sure?" (app.js askInline) */
.v25 .confirm-inline { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink); }
.v25 .confirm-inline p { margin: 0; }
.v25 .confirm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.v25 .row > .confirm-inline { flex: 1; }
.v25 .confirm-host { padding: var(--row-y) var(--card-x); }

/* ===================== the page frame: the sign-in pages, the plan choice, signed out ===================== */
/* Corners: logo top-left at the 40px gutter, Help·Privacy bottom-left, Dansk/English bottom-right.
   The content column is 440px (1040px for the plan cards), centred and top-anchored, so a title is
   at the same y on every page. The page is min-height 100dvh with the footer pushed down. */
.v25 .frame { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.v25 .fr-left { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 28px 40px; min-width: 0; }
.v25 .fr-top, .v25 .fr-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); column-gap: 0; }
.v25 .fr-top { align-items: start; min-height: 44px; }
.v25 .fr-top .brand { grid-column: 1; grid-row: 1; justify-self: start; }
/* The form column takes the free height and sits in its middle; a long one just grows it. */
.v25 .fr-body { flex: 1 0 auto; align-content: center; padding-block: 48px; }
.v25 .fr-col { grid-column: 2; min-width: 0; }
.v25 .fr-foot { padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.v25 .fr-foot nav { display: flex; gap: 20px; }
.v25 .fr-foot nav a { color: var(--ink-3); }
.v25 .flang { display: flex; gap: 14px; }
.v25 .flang a { font-size: 14px; color: var(--ink-3); }
.v25 .flang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.v25 .frame[data-mode="wide"] .fr-top, .v25 .frame[data-mode="wide"] .fr-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1040px) minmax(0, 1fr); }
.v25 .frame[data-mode="wide"] .st > h1 { text-align: center; }
.v25 .frame[data-mode="wide"] .st-text { max-width: 640px; margin-inline: auto; text-align: center; }
.v25 .frame[data-mode="wide"] .st-sec { justify-content: center; }
/* a step: title, a two-line text slot, then its body */
.v25 .st { position: relative; }
.v25 .st h1, .v25 .au h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; margin: 0; text-wrap: balance; }
.v25 .st h1:focus, .v25 .au h1:focus { outline: none; }
.v25 .st-text { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 20px 0 0; min-height: 3.2em; }
.v25 .st-body { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.v25 .st-sec { margin: 20px 0 0; font-size: 15.5px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.v25 .st-sec .link { font-weight: 500; }
.v25 .back { display: inline-flex; align-items: center; gap: 6px; }
.v25 .back svg { width: 16px; height: 16px; }
.v25 .sline { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.v25 .sline > .spin { margin-top: 4px; }
.v25 .sline > span { min-width: 0; overflow-wrap: anywhere; }
/* the free course: one radio list */
.v25 .ch { display: flex; flex-direction: column; gap: 12px; }
.v25 .ch-opt { border: 1px solid var(--line); border-radius: var(--r-lg); }
.v25 .ch-sub { padding: 4px 21px; display: flex; flex-direction: column; }
.v25 .ch-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.v25 .ch-row:first-child { border-top: 0; }
.v25 .ch-row input[type="radio"] { margin: 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.v25 .ch-row span { flex: 1; min-width: 0; }
.v25 .ch-note { margin: 8px 0; font-size: 13.5px; color: var(--ink-2); }
/* a beta tester's questions (#503, questions.js): a 1-5 strip like .seg.pick (the chosen part filled
   with ink), "Not yet" beside it at the same height, the words under 1 and 5; or a text box */
.v25 .qz-list { display: flex; flex-direction: column; gap: 28px; }
.v25 .qz-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.v25 .qz-q legend { padding: 0; margin-bottom: 10px; }
.v25 .qz-q legend, .v25 .qz-q.dfield > span { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.v25 .qz-q.dfield { gap: 10px; }
.v25 .qz-row { display: flex; gap: 8px; align-items: flex-start; }
.v25 .qz-scale { flex: 1; min-width: 0; }
.v25 .qz-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); }
.v25 .qz-strip label, .v25 .qz-na { position: relative; cursor: pointer; }
.v25 .qz-strip input, .v25 .qz-na input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.v25 .qz-strip span { display: grid; place-items: center; height: 44px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.v25 .qz-strip label:hover span { background: var(--hover); color: var(--ink); }
.v25 .qz-na { display: inline-block; margin-top: 10px; }
.v25 .qz-na span { display: grid; place-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.v25 .qz-na:hover span { color: var(--ink); }
.v25 .qz-strip input:checked + span, .v25 .qz-na input:checked + span { background: var(--ink); color: var(--bg); }
.v25 .qz-na input:checked + span { border-color: var(--ink); }
.v25 .qz-strip input:focus-visible + span, .v25 .qz-na input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.v25 .qz-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.v25 .qz-err { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--err-ink); }
.v25 .qz-q.bad .qz-strip { border-color: var(--danger); }
/* the tour after the first questions: a card beside the place it names, outlined while it does */
.v25 .tour { position: fixed; z-index: 40; width: min(320px, calc(100vw - 32px)); padding: 18px 20px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 44px -14px var(--shadow-2); }
.v25 .tour-n { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.v25 .tour h2 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; font-weight: 700; outline: none; }
.v25 .tour-p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.v25 .tour-f { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.v25 .tour-f .link { margin-right: auto; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.v25 .tour-on { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
/* the plan choice: three plan cards on one subgrid: name, price, its line, pitch, list, button */
.v25 .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); column-gap: 16px; row-gap: 16px; }
.v25 .plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 30px; display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; background: var(--bg); }
/* the recommended plan: the coral border (one of coral's two uses) and its tag */
.v25 .plan.pick { border: 1.5px solid var(--accent); }
.v25 .plan h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v25 .tag { font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--accent-text); background: var(--accent-soft); border-radius: var(--r-tag); padding: 3px 10px; }
.v25 .plan .per { margin: 8px 0 0; min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
.v25 .amt { margin-top: 20px; font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.v25 .amt small { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }
.v25 .plan .pitch { margin: 18px 0 0; font-size: 16px; font-weight: 500; }
.v25 .plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.v25 .plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.v25 .plan li svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v25 .plan li.lose { color: var(--ink-3); }
.v25 .plan li.lose svg { stroke: var(--line-2); }
.v25 .plan .btn { align-self: end; height: 48px; width: 100%; }
/* Monthly / Yearly (C2): a two-part switch and its "2 months free" */
.v25 .ivl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v25 .ivl .seg { min-width: 220px; }
.v25 .ivl-note { font-size: 14px; font-weight: 600; color: var(--ok); }

/* ===================== the sign-in pages: the same frame, no right part ===================== */
.v25 .au { display: flex; flex-direction: column; }
/* Subtitles under a title (.sub, .st-text, .lead, .sx-lead, .pf-lead) wrap at the column edge: no
   text-wrap balance or pretty, which broke them at half width (owner, 2026-11-05). */
.v25 .au .sub { font-size: 18px; color: var(--ink-2); margin: 14px 0 0; }
.v25 .au .fld { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 32px; }
.v25 .au .fld input { height: 54px; border: 1px solid var(--line-2); border-radius: 14px; padding: 0 16px; font-size: 17px; background: var(--bg); color: var(--ink); width: 100%; }
.v25 .au .fld input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.v25 .au .chk1 { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.v25 .au .chk1 input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.v25 .au .btn.big { margin-top: 16px; }
/* Sign-in with Google, Microsoft, Apple (#563): above the email field, "or" between. */
.v25 .au .sso { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.v25 .au .sso .btn.big { margin-top: 0; gap: 12px; }
.v25 .au .sso-i { width: 20px; height: 20px; flex: none; }
.v25 .au .or { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.v25 .au .or::before, .v25 .au .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.v25 .au .sso:not([hidden]) ~ .fld { margin-top: 14px; }
.v25 .au [data-no-account] { margin-top: 24px; }
.v25 .au .msg { margin-top: 16px; }
.v25 .au .alt { margin: 20px 0 0; font-size: 15px; color: var(--ink-2); text-wrap: balance; }
.v25 .au .card { margin: 16px 0 0; background: var(--soft); border-radius: 14px; padding: 13px 18px; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.v25 .au .other { margin-top: 16px; font-size: 15.5px; font-weight: 600; align-self: flex-start; }
.v25 .au .again { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; font-size: 15px; }
.v25 .au .again .link { font-size: 15px; font-weight: 500; }
.v25 .au .again .link:disabled { color: var(--ink-3); cursor: default; }
.v25 .au[data-sent] { align-items: center; text-align: center; }
.v25 .au[data-sent] .card { align-self: stretch; }
.v25 .au[data-sent] .other { align-self: center; }
.v25 .au[data-sent] .again { justify-content: center; }
.v25 .kv { position: relative; width: 150px; height: 104px; flex: none; margin-bottom: 28px; }
.v25 .kv-back, .v25 .kv-front { position: absolute; inset: 0; border-radius: 14px; }
.v25 .kv-back { background: var(--kv-1); }
.v25 .kv-letter { position: absolute; inset: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px 14px 0; box-shadow: 0 6px 16px -8px var(--shadow-2); display: flex; flex-direction: column; gap: 8px; }
.v25 .kv-letter i { display: block; height: 6px; border-radius: 3px; background: var(--kv-1); }
.v25 .kv-letter i:first-child { width: 60%; }
.v25 .kv-letter i:last-child { width: 40%; }
.v25 .kv-front { background: var(--kv-2); clip-path: polygon(0 30%, 50% 72%, 100% 30%, 100% 100%, 0 100%); }
.v25 .kv-seal { position: absolute; left: 53px; top: 42.5px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; box-shadow: 0 6px 16px -8px var(--shadow-2); }
.v25 .kv-seal img { width: 22px; height: 22px; display: block; }

/* ===================== dialogs: delete, withdraw, the confirm dialogs app.js builds ===================== */
.v25 dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
.v25 dialog::backdrop { background: var(--scrim); }
.v25 .dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--bg); border-radius: var(--r-xl); box-shadow: 0 30px 80px -20px var(--shadow-2); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.v25 .dlg-h { display: flex; align-items: flex-start; gap: 16px; }
.v25 .dlg-h > div { flex: 1; min-width: 0; }
.v25 .dlg-h h2 { margin: 0; outline: none; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
.v25 .dlg > p { margin: 0; color: var(--ink-2); }
.v25 .x { width: 36px; height: 36px; border-radius: var(--r-sm); border: 0; background: var(--soft); display: grid; place-items: center; cursor: pointer; flex: none; color: var(--ink-2); }
.v25 .x:hover { background: var(--hover); }
.v25 .x svg { width: 16px; height: 16px; }
.v25 .dlg-f { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.v25 .dlg-f .sline { flex: 1; }
.v25 .dlg-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.v25 .dlg-ok .big-ok { width: 44px; height: 44px; color: var(--ok); }
.v25 .dlg-ok h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 800; outline: none; }
.v25 .dlg-ok p { margin: 0; color: var(--ink-2); font-size: 16px; }
.v25 .dlg-ok .q { background: var(--soft); border-radius: var(--r); padding: 12px 16px; color: var(--ink); font-size: 16px; width: 100%; }
.v25 .dlg .keyrow { display: flex; flex-direction: column; gap: 8px; }
.v25 .dlg .acts2 { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.v25 .dlg .warnlist { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r); }
.v25 .dlg .warnlist li { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 15.5px; overflow-wrap: anywhere; }
.v25 .dlg .warnlist li:first-child { border-top: 0; }
/* ===================== Connections: an AI's guide (design D, 2026-11-05) =====================
   A copy of onboard.css's .guide / .g-* rules (keep the two alike); the dashboard keeps its own heading
   size (24px, as its dialogs), its column (c-half) and its pane colour (--soft). styles.css's site-wide
   .guide (the help pages) is undone here. */
[data-account] .guide, [data-account] .g-head, [data-account] .g-steps { display: flex; flex-direction: column; gap: 28px; }
[data-account] .guide { max-width: none; margin: 0; padding: 28px 22px; border-radius: var(--r-xl); background: var(--soft); }
[data-account] .guide h2 { margin: 0; outline: none; font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
[data-account] .g-t { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
[data-account] .g-t span { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
[data-account] .g-add { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
[data-account] .g-btns { display: flex; flex-wrap: wrap; gap: 12px; }
[data-account] .g-add .btn { height: 50px; padding: 0 24px; font-size: 17px; }
[data-account] .g-add .btn svg { width: 14px; height: 14px; }
[data-account] .guide p { margin: 0; }
[data-account] .g-add p { font-size: 15px; color: var(--ink-2); }
[data-account] .g-step { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
[data-account] .g-step > p { font-size: 17px; line-height: 1.5; }
[data-account] .g-step b { font-weight: 600; }
[data-account] .g-step > p > b:first-child { font-weight: 700; }
[data-account] .g-step .link { font-size: inherit; font-weight: 500; }
[data-account] .guide figure { margin: 0; }
/* A guide picture at its own size (they are cropped to the dialog at 1x), never wider than the column
   nor taller than 400px, scaled whole; the border gives a light picture on a light pane its edge.
   Each built-in figure has a dark (.sh-d) and a light (.sh-l) file: the theme's one shows. */
[data-account] .guide figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 400px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
[data-account] .guide figure .sh-d { display: none; }
:root[data-theme="dark"] [data-account] .guide figure .sh-d { display: block; } :root[data-theme="dark"] [data-account] .guide figure .sh-l { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-account] .guide figure .sh-d { display: block; } :root:not([data-theme="light"]) [data-account] .guide figure .sh-l { display: none; } }
[data-account] .guide .code, [data-account] .guide .q, [data-account] .guide .keyfield { background: var(--bg); }
[data-account] .guide .keyrow { display: flex; flex-direction: column; gap: 8px; }
[data-account] .guide .acts2 { display: flex; gap: 10px; flex-wrap: wrap; }
[data-account] .guide .sline.err { color: var(--ink); }
[data-account] .guide .sline.err svg { color: var(--wait); margin-top: 3px; }
[data-account] .g-man { margin-top: -12px; font-size: 14.5px; color: var(--ink-3); } /* under Add to Claude */
[data-account] #g-hand > summary { display: none; } /* opened by Add it by hand beside Add to Claude */
[data-account] #g-hand { margin-top: 0; }
[data-account] .g-man summary { list-style: none; cursor: pointer; }
[data-account] .g-man summary::-webkit-details-marker { display: none; }
[data-account] .g-man summary .link { font-size: inherit; font-weight: 500; }
[data-account] .g-man[open] summary { margin-bottom: 20px; }
[data-account] .g-man .g-steps { gap: 20px; color: var(--ink); }
/* a connected row: Connected (opens the done state) and a quiet Disconnect in place of Connect */
[data-account] [data-view="ai"] .row.is-on { cursor: pointer; }
[data-account] .r-on { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; flex: none; }
[data-account] .r-on .word { border: 0; background: none; padding: 0; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
/* the picked row, shaded like the guide */
[data-account] [data-view="ai"] .row.on { background: var(--soft); }
/* side by side: the guide starts level with the list's card, under the left column's section header */
@media (min-width: 1280px) { [data-account] .guide { margin-top: calc(36px + var(--s-head)); padding: 28px; } }

.v25 .dfield { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.v25 .dfield input, .v25 .dfield textarea { height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 14px; font-size: 16px; font-weight: 400; background: var(--bg); color: var(--ink); width: 100%; }
.v25 .dfield textarea { height: auto; min-height: 90px; padding: 10px 14px; resize: vertical; }
.v25 .dfield input:focus, .v25 .dfield textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ===================== dashboard: one page template, a 12-column grid ===================== */
.v25 .shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.v25 .side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px 14px; position: sticky; top: 0; height: 100vh; }
.v25 .side > .brand { padding: 0 10px 22px; }
.v25 .side > .brand .mark { width: 28px; height: 28px; }
/* the study items on top; the account items (Plan and payment, Account) pinned at the bottom under a hairline (P5) */
.v25 .nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
/* nav items are not buttons: no border, a soft fill when current */
.v25 .nav a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; white-space: nowrap; border-radius: var(--r); font-weight: 500; font-size: 16px; color: var(--ink-2); }
.v25 .nav a svg.i { color: var(--ink-3); }
.v25 .nav a:hover { background: var(--hover); color: var(--ink); }
.v25 .nav a[aria-current="page"] { background: var(--nav-on); color: var(--ink); font-weight: 600; }
.v25 .nav a[aria-current="page"] svg.i { color: var(--accent); }
.v25 .nav .sep { margin: auto 10px 8px; padding-top: 16px; border-bottom: 1px solid var(--line); }
.v25 .nav .todo { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
.v25 .nav .lk { display: none; margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); }
.v25 .nav a.locked .lk { display: block; }
.v25 .side .bottom { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.v25 .planline { margin: 0; padding: 0 10px; display: flex; flex-direction: column; }
.v25 .planline .k { font-size: 13.5px; color: var(--ink-2); }
.v25 .planline .v { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.v25 .me { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; text-align: left; color: var(--ink); }
.v25 .me:hover, .v25 .me[aria-expanded="true"] { background: var(--hover); border-radius: var(--r); border-top-color: transparent; }
.v25 .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.v25 .me b { flex: 1; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.v25 .me > svg { width: 16px; height: 16px; color: var(--ink-3); }
/* account menu: only things that are not pages (theme, language, help, log out) */
/* its icons, labels and switches start on the sidebar's own lines (icon 24px, text 56px) */
.v25 .menu { position: fixed; left: 14px; bottom: 76px; width: 228px; z-index: 30; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 44px -14px var(--shadow-2); padding: 6px 0; display: flex; flex-direction: column; overflow: hidden; }
.v25 .menu .mgrp { display: flex; flex-direction: column; gap: 6px; padding: 8px 9px; font-size: 13.5px; color: var(--ink-2); }
.v25 .menu .mgrp .seg { margin-inline: -4px; }
.v25 .menu > a, .v25 .menu > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 9px; border: 0; background: none; font-size: 15px; color: var(--ink); cursor: pointer; text-align: left; }
.v25 .menu > a { margin-top: 4px; border-top: 1px solid var(--line); }
.v25 .menu > a + a { margin-top: 0; border-top: 0; } /* a tester's Send feedback, under Help */
.v25 .menu > a:hover, .v25 .menu > button:hover { background: var(--hover); }
.v25 .menu svg.i { color: var(--ink-2); }
.v25 .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; }
.v25 .seg button, .v25 .seg a { border: 0; background: none; padding: 5px 6px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; text-align: center; }
.v25 .seg button[aria-pressed="true"], .v25 .seg a[aria-current="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--btn-line); }
.v25 .row .seg { min-width: 180px; }
/* a choice that matters (an interval, a language): the chosen part is filled with ink, in both themes (D11) */
.v25 .seg.pick { height: 38px; padding: 3px; border-radius: var(--r-sm); grid-auto-columns: minmax(max-content, 1fr); }
.v25 .seg.pick button { padding: 0 12px; font-size: 14px; border-radius: var(--r-sm); }
.v25 .seg.pick button:hover:not(:disabled):not([aria-pressed="true"]) { color: var(--ink); background: var(--hover); }
.v25 .seg.pick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.v25 .seg.pick button:disabled { cursor: default; opacity: .5; }

.v25 .main { min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
/* the top bar: the search field spans exactly the content column (same max width and side padding as .view) */
.v25 .bar { height: 68px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; }
.v25 .bar-in { height: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; padding: 0 var(--pad-x); }
.v25 .bar form { flex: 1; position: relative; }
.v25 .bar input { width: 100%; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--soft); padding: 0 56px 0 46px; font-size: 16px; color: var(--ink); }
.v25 .bar input::placeholder { color: var(--ink-2); }
.v25 .bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--bg); }
.v25 .bar input::-webkit-search-cancel-button { display: none; }
.v25 .bar form > svg { position: absolute; left: 16px; top: 12px; color: var(--ink-2); }
.v25 .kbd { position: absolute; right: 12px; top: 10px; height: 24px; padding: 0 7px; border-radius: var(--r-tag); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); font: 600 12.5px/22px var(--sans); pointer-events: none; }
.v25 .bar form.has .kbd { display: none; }
.v25 .pal-x { display: none; }
/* one line over every view: a payment being confirmed, a log-out that failed */
.v25 .notice { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 24px var(--pad-x) 0; }
.v25 .notice:has(> [hidden]) { display: none; }

/* page template: title (+ one line) → 32 → sections; each section = h2 → 12 → card; card → 40 → next h2 */
.v25 .view { padding: var(--pad-top) var(--pad-x) 120px; width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-page); }
.v25 .page-h { display: flex; flex-direction: column; gap: var(--s-sub); min-height: 63px; }
.v25 .view h1 { font-size: 32px; line-height: 38px; letter-spacing: -0.02em; font-weight: 800; margin: 0; }
.v25 .page-h p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 19px; }
.v25 .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-sect); align-items: start; }
.v25 .c-main, .v25 .c-side, .v25 .c-full { grid-column: span 12; display: flex; flex-direction: column; gap: var(--s-sect); min-width: 0; }
.v25 .c-half { grid-column: span 12; display: flex; flex-direction: column; gap: var(--s-sect); min-width: 0; }
@media (min-width: 1280px) { .v25 .c-main { grid-column: span 8; } .v25 .c-side { grid-column: span 4; } .v25 .c-half { grid-column: span 6; } }
.v25 .sect { display: flex; flex-direction: column; gap: var(--s-head); min-width: 0; }
.v25 .sect-h { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.v25 .sect-h h2 { font-size: 19px; line-height: 24px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.v25 .sect-note { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.v25 .sect-h .btn, .v25 .sect-x { margin-left: auto; }
.v25 .sect-note .link { font-size: inherit; }
.v25 .sect-note.empty { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--row-y) var(--card-x); min-height: 72px; display: flex; align-items: center; }
/* Your courses -> Choose courses: the plan note, the filter, the groups and the bar (picker.css) */
.v25 .cpick { display: flex; flex-direction: column; gap: 16px; }
.v25 .cpick .sline .link { font-size: inherit; }
/* Choose courses = Your courses in edit mode (#614): the view rows give way to the extension's, which
   use the same groups and rows; each checkbox sits in the space left of the name, under the group's
   arrow, so no name moves. Cancel and Save take the header button's place and stay in view. */
.v25 [data-c-list].editing > [data-c-rows], .v25 [data-c-list].editing > [data-c-filter] { display: none; }
.v25 .pk-acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.v25 .sect-h .pk-acts .btn { margin-left: 0; }
.v25 .pk-acts .num { color: var(--ink-2); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v25 [data-c-list].editing > .sect-h { position: sticky; top: 68px; z-index: 3; background: var(--bg); box-shadow: 0 -10px 0 var(--bg), 0 10px 0 var(--bg); }
.v25 .pk-l { position: relative; cursor: pointer; }
.v25 .pk-l.off { cursor: default; }
.v25 .pk-l:hover:not(.off) b { color: var(--accent-text); }
.v25 .pk-l > .pk-x { position: absolute; left: calc(var(--card-x) - 1px); top: 50%; width: 18px; height: 18px; margin: -9px 0 0; accent-color: var(--accent); }
.v25 .grp > summary .link { flex: none; font-size: 14px; }
/* cards in one row: same top, same height, actions on one line at the bottom */
.v25 .cardrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.v25 .cardrow > * { grid-column: span 6; }
/* nothing due: the Due card keeps its own height instead of stretching to its neighbour (D7) */
.v25 .cardrow.loose { align-items: start; }
.v25 .dcard, .v25 .list { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); min-width: 0; }
.v25 .list:empty { display: none; }
.v25 .dcard { padding: var(--card-y) var(--card-x); display: flex; flex-direction: column; gap: 14px; }
.v25 .panel { padding: var(--card-y) var(--card-x) 0; gap: 0; margin: 0; } /* not styles.css's showcase .panel (its phone margin) */
.v25 .panel h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px; }
.v25 .ans { display: flex; align-items: center; gap: 10px; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.v25 .ans svg.i { width: 24px; height: 24px; }
.v25 .ans > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .ans.ok svg { color: var(--ok); }
.v25 .ans.wait svg { color: var(--wait); }
.v25 .ans.no svg { color: var(--ink-3); }
.v25 .facts { list-style: none; margin: 16px 0 0; padding: 0; }
.v25 .facts li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; min-width: 0; }
.v25 .facts li > span { color: var(--ink-2); font-size: 14px; }
.v25 .facts li > b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .panel .act-row { margin-top: auto; height: 64px; display: flex; align-items: center; border-top: 1px solid var(--line); }
.v25 .panel .facts[hidden] + .act-row { margin-top: 16px; } /* not set up: no facts, the line keeps its distance */
.v25 .panel .act-row .btn { align-self: center; } /* not .dcard .btn's flex-start: it would touch the line (D1) */
.v25 .inl { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; font-size: 15.5px; color: var(--ink-2); }
.v25 .inl svg { width: 18px; height: 18px; color: var(--ink-3); }

/* rows inside a list card */
.v25 .row { display: flex; align-items: center; gap: 16px; padding: var(--row-y) var(--card-x); border-top: 1px solid var(--line); color: var(--ink); min-height: 72px; margin: 0; }
.v25 .row:first-child, .v25 .list > div:empty + .row { border-top: 0; }
/* a filled row (selected, hovered) keeps the card's round corners */
.v25 .list > .row:first-child { border-top-left-radius: calc(var(--r) - 1px); border-top-right-radius: calc(var(--r) - 1px); }
.v25 .list > .row:last-child { border-bottom-left-radius: calc(var(--r) - 1px); border-bottom-right-radius: calc(var(--r) - 1px); }
/* Your courses: one group per semester (P2); its summary is a row with a chevron, its courses indented under the name */
.v25 .grp > summary { list-style: none; cursor: pointer; min-height: 44px; gap: 10px; background: var(--soft); }
.v25 .grp > summary::-webkit-details-marker { display: none; }
.v25 .grp > summary:hover { background: var(--hover); }
.v25 .grp + .grp > summary { border-top: 1px solid var(--line); }
.v25 .grp > summary b { font-weight: 600; font-size: 14px; }
.v25 .grp > summary .num { margin-left: auto; font-size: 14px; }
/* a folder the student excluded (#610): its word goes right, as the file count does, and the name greys */
.v25 .grp > summary > .word { margin-left: auto; }
.v25 .grp > summary.off b { color: var(--ink-3); }
/* a folder's name gives way to its count and button on a phone, cut with an ellipsis (#610) */
.v25 .grp > summary { flex-wrap: nowrap; }
.v25 .grp > summary > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .grp > summary > .num, .v25 .grp > summary > .btn { flex: none; }
/* a course row opens its files: the chevron says so */
.v25 .grp > summary.empty { cursor: default; }
.v25 .grp > summary.empty .chev { visibility: hidden; }
.v25 .row > .acts { display: flex; gap: 8px; flex: none; }
/* confidential files (#611): one short table row per file, like a file list in Finder; a phone keeps the name and status */
.v25 .ftab { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.v25 .list:has(> .ftab) { overflow: hidden; }
.v25 .ftab th { height: 44px; padding: 0 12px; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--soft); white-space: nowrap; }
.v25 .ftab td { height: 48px; padding: 0 12px; border-top: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v25 .ftab th:first-child, .v25 .ftab td:first-child { padding-left: var(--card-x); }
.v25 .ftab th:last-child, .v25 .ftab td:last-child { padding-right: var(--card-x); }
.v25 .ftab .nm b { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 16px; font-weight: 600; color: var(--ink); }
.v25 .ftab .nm .sub { display: none; }
.v25 .ftab .nm b a { color: inherit; text-decoration: none; }
.v25 .ftab .nm b a:hover { text-decoration: underline; }
.v25 .ftab .nm b a .i { width: 14px; height: 14px; margin-left: 6px; vertical-align: -1px; color: var(--ink-3); }
.v25 .ftab .wide { width: 15%; }
.v25 .ftab .wide.why { width: 22%; }
.v25 .ftab .st { width: 236px; }
/* Status column: two equal slots that start under "Status". A pair fills one slot each, a lone action
   or word fills both, so every row's actions share the same edges and widths. */
.v25 .ftab .acts { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; }
.v25 .ftab .acts > :only-child { grid-column: 1 / -1; }
.v25 .ftab .btn.sm { width: 100%; min-width: 0; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; }
.v25 .ftab .st .word { overflow: hidden; text-overflow: ellipsis; }
.v25 .ftab .st .word:only-child { white-space: normal; line-height: 1.3; }
.v25 .ftab td.bad { color: var(--accent-text); }
.v25 .ftab td.none { color: var(--ink-3); }
.v25 .dlg-form { display: flex; flex-direction: column; gap: 14px; }
.v25 .dlg-form > p { margin: 0; color: var(--ink-2); }
@media (max-width: 1100px) {
  .v25 .ftab .wide { display: none; }
  .v25 .ftab td { height: auto; padding-block: 10px; }
  .v25 .ftab .nm .sub { display: block; overflow: hidden; text-overflow: ellipsis; }
  .v25 .ftab .st { width: 196px; }
}
/* Phone: each file is a block, its actions full width under the name, so nothing is cut off. */
@media (max-width: 600px) {
  .v25 .ftab, .v25 .ftab tbody, .v25 .ftab tr, .v25 .ftab td.nm, .v25 .ftab td.st { display: block; width: auto; }
  .v25 .ftab thead { display: none; }
  .v25 .ftab tr { padding: 12px var(--card-x); }
  .v25 .ftab tr + tr { border-top: 1px solid var(--line); }
  .v25 .ftab td, .v25 .ftab td:first-child, .v25 .ftab td:last-child { height: auto; padding: 0; border: 0; white-space: normal; }
  .v25 .ftab .nm .sub { white-space: normal; }
  .v25 .ftab td.st { margin-top: 10px; }
  .v25 .ftab .btn.sm { height: 44px; border-radius: var(--r); }
}
.v25 a.row > .go { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
/* A term reads as a group header, Linear-style: a grey band with its courses white under it (owner, 2026-10-21). */
.v25 .grp[open] > summary { border-bottom: 1px solid var(--line); }
.v25 .grp > summary .chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform .15s; }
.v25 .grp[open] > summary .chev { transform: rotate(90deg); }
.v25 .grp > summary ~ .row { padding-left: calc(var(--card-x) + 26px); min-height: 56px; padding-block: 10px; }
.v25 .list > .grp:first-child > summary { border-top-left-radius: calc(var(--r) - 1px); border-top-right-radius: calc(var(--r) - 1px); }
.v25 .list > .grp:last-child:not([open]) > summary, .v25 .list > .grp:last-child > .row:last-child { border-bottom-left-radius: calc(var(--r) - 1px); border-bottom-right-radius: calc(var(--r) - 1px); }
.v25 .row.off .lbl b { color: var(--ink-3); }
/* Files the AI can't read (beta run §16): a grey band per course, each file name + folder, the reason, the
   platform's button. Home's row puts "See which" beside the count. */
.v25 .facts li > b.split { display: flex; align-items: baseline; gap: 12px; }
.v25 .facts .split .link { font-size: 15px; font-weight: 600; }
.v25 .ur-h { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 var(--card-x); background: var(--soft); font-size: 14px; border-top: 1px solid var(--line); }
.v25 .list > .ur-h:first-child { border-top: 0; border-top-left-radius: calc(var(--r) - 1px); border-top-right-radius: calc(var(--r) - 1px); }
.v25 .ur-h b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .ur-h .num { margin-left: auto; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.v25 .row.ur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) 210px; gap: 20px; min-height: 64px; padding-block: 12px; }
.v25 .row.ur .why { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.v25 .row.ur > .btn { justify-self: end; gap: 6px; }
.v25 .row.ur > .btn svg { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .v25 .row.ur { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v25 .row.ur > .btn { justify-self: stretch; margin-top: 4px; height: 44px; border-radius: var(--r); } /* as the waiting files' buttons */
}
.v25 .lbl { flex: 1; min-width: 0; }
.v25 .lbl b { display: block; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.v25 .lbl span { display: block; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
/* the student's comment for their AI (beta run 2026-11-05, 13): one line in the list, under the course page's name */
.v25 .lbl .cmt { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.v25 .lbl .cmt > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .cmt svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }
.v25 .cf-cmt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.v25 .cf-cmt[hidden] { display: none; }
.v25 .cf-cmt > .cmt { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.45; min-width: 0; }
.v25 .cf-cmt > .cmt svg { width: 17px; height: 17px; margin-top: 3px; }
.v25 .cf-cmt > .cmt span { overflow-wrap: anywhere; }
.v25 .cf-cmt > .link { display: inline-flex; align-items: center; gap: 6px; }
.v25 .cf-cmt > .link svg { width: 16px; height: 16px; }
.v25 .cf-cmt .cmt-ed { display: flex; flex-direction: column; gap: 8px; flex: 1 1 100%; max-width: 640px; font-size: 15px; font-weight: 600; }
.v25 .cf-cmt .cmt-act { display: flex; gap: 8px; flex: 1 1 100%; }
.v25 .cf-cmt .cmt-ed input { font-weight: 400; }
.v25 .cf-cmt .msg { flex: 1 1 100%; margin: 0; }
.v25 .row time { width: 104px; flex: none; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.v25 .row .num { color: var(--ink-2); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v25 a.row:hover b { color: var(--accent-text); }
.v25 .word { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.v25 .word svg { width: 18px; height: 18px; }
.v25 .word.ok { color: var(--ok); }
.v25 .word.wait { color: var(--wait); }
.v25 .word.lock { color: var(--ink-3); font-weight: 500; }
.v25 .row .btn.sm { min-width: 140px; flex: none; }
.v25 .small { font-size: 14px; color: var(--ink-2); margin: 0; }
.v25 .small .link { font-size: 14px; font-weight: 500; }
.v25 .meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.v25 .meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; }
.v25 .dcard h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.v25 .dcard > p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.v25 .dcard .ans { font-size: 24px; color: var(--ink); }
.v25 .kvs { list-style: none; margin: 0; padding: 0; }
.v25 .kvs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.v25 .kvs li:first-child { border-top: 0; padding-top: 0; }
.v25 .kvs li span { color: var(--ink-2); }
.v25 .kvs li b { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.v25 .dcard .btn { align-self: flex-start; }
.v25 .bigv { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.v25 .step-h { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.v25 .dcard > .step-h { color: var(--ink); }
.v25 .chk { display: flex; flex-direction: column; }
.v25 .chk label { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; cursor: pointer; }
.v25 .chk label:first-child { border-top: 0; padding-top: 2px; }
.v25 .chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.v25 .chk input:disabled + span { color: var(--ink-3); }
.v25 .calbtns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.v25 .calbtns .btn { width: 100%; }
.v25 .calbtns .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.v25 .dcard .divide { border-top: 1px solid var(--line); padding-top: 16px; }
.v25 .dcard div.divide { display: flex; flex-direction: column; gap: 10px; }
/* Feedback (#504, threads per INTERFACE §10f; mockup "beta-feedback" 2026-10-28): the list like Mail,
   one conversation like Messages, the New feedback dialog (a bottom sheet on phones). */
.v25 .col { width: 100%; max-width: 880px; }
.v25 .page-row { display: flex; align-items: center; gap: 16px; }
.v25 .page-row .page-h { flex: 1; min-width: 0; min-height: 0; }
.v25 .page-h h1 { overflow-wrap: anywhere; }
.v25 .fbl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v25 .fbl li { border-bottom: 1px solid var(--line); }
.v25 .fbl a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px; padding: 14px 12px 14px 4px; color: var(--ink); border-radius: var(--r); }
.v25 .fbl a:hover { background: var(--soft); }
.v25 .fbl .udot { grid-row: 1; grid-column: 1; align-self: center; justify-self: center; }
.v25 .fbl .t { grid-column: 2; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .fbl .d { grid-column: 3; grid-row: 1; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; }
.v25 .fbl .p { grid-column: 2; grid-row: 2; font-size: 15px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v25 .fbl .s { grid-column: 3; grid-row: 2; font-size: 14px; color: var(--ink-2); text-align: right; }
.v25 .fbl .unread .t { font-weight: 800; }
.v25 .fbl .unread .p { color: var(--ink); }
.v25 .fbl .s.done { color: var(--ok); }
.v25 .udot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.v25 .nav .udot { margin-left: auto; }
.v25 .fb-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 72px 0; text-align: center; }
.v25 .fb-empty p { margin: 0; font-size: 17px; font-weight: 600; }
.v25 .view > .back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); margin: -8px 0 -20px -4px; align-self: flex-start; padding: 4px; border-radius: var(--r-sm); }
.v25 .view > .back:hover { color: var(--ink); background: var(--hover); }
.v25 .view > .back svg { width: 18px; height: 18px; }
.v25 [data-view="feedback"] > .col, .v25 [data-view="thread"] > .col { margin-inline: auto; }
.v25 [data-view="thread"] > .back { margin-left: max(-4px, calc((100% - 880px) / 2 - 4px)); }
.v25 .thread { display: flex; flex-direction: column; }
.v25 .thread .day { align-self: center; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 20px 0 12px; }
.v25 .thread > .day:first-child { margin-top: 0; }
.v25 .thread .event { align-self: center; font-size: 13px; color: var(--ink-2); margin: 14px 0; text-align: center; }
.v25 .thread .event b { font-weight: 600; color: var(--ink); }
.v25 .cm { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: min(78%, 520px); margin-top: 4px; }
.v25 .cm.mine { align-self: flex-end; align-items: flex-end; }
.v25 .cm .name { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0 14px; }
.v25 .cm .name img { width: 18px; height: 18px; flex: none; }
.v25 .bub { padding: 10px 14px; border-radius: var(--r-lg); font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); }
.v25 .cm.mine .bub { background: var(--accent-soft); }
.v25 .bub a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.v25 .cm .meta { font-size: 13px; color: var(--ink-2); padding: 0 14px; font-variant-numeric: tabular-nums; }
.v25 .fshot { display: block; width: 260px; max-width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.v25 .fshot img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: top; }
.v25 .file { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--ink); background: var(--bg); }
.v25 .file .ic { width: 34px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: end center; padding-bottom: 5px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); flex: none; font-size: 10px; font-weight: 800; }
.v25 .file .ic.pdf { color: var(--ft-pdf); } .v25 .file .ic.doc { color: var(--ft-doc); } .v25 .file .ic.ppt { color: var(--ft-ppt); } .v25 .file .ic.xls { color: var(--ft-xls); } .v25 .file .ic.vid { color: var(--ft-vid); }
.v25 .file .nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.v25 .file .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
/* the reply box stays at the bottom of the window, like Messages */
.v25 .dock { position: sticky; bottom: 0; padding: 16px 0 24px; background: linear-gradient(to bottom, transparent, var(--bg) 16px); margin-bottom: -96px; }
.v25 .dock .fchips { margin-bottom: 8px; }
.v25 .dock .msg { margin-bottom: 8px; }
.v25 .composer { display: flex; align-items: flex-end; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 5px; background: var(--bg); }
.v25 .composer:focus-within, .v25 .view.over .composer { border-color: var(--btn-line); }
.v25 .view.over .composer { background: var(--soft); }
.v25 .composer textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: none; font: inherit; font-size: 16px; line-height: 1.45; color: var(--ink); padding: 8px 4px; field-sizing: content; min-height: 39px; max-height: 200px; }
.v25 .ibtn { width: 38px; height: 38px; border-radius: var(--r-sm); border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; flex: none; }
.v25 .ibtn:hover { background: var(--hover); color: var(--ink); }
.v25 .ibtn svg { width: 20px; height: 20px; }
.v25 .ibtn.send { background: var(--btn); color: #fff; }
.v25 .ibtn.send:hover { background: var(--btn-hover); color: #fff; }
.v25 .ibtn.send:disabled { background: var(--line-2); cursor: default; }
/* New feedback: one dialog, like Mail's new message */
.v25 .nf { gap: 16px; }
.v25 .nf .seg.pick { align-self: flex-start; }
.v25 .nf textarea { width: 100%; min-height: 160px; resize: vertical; border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; background: var(--bg); color: var(--ink); outline: 0; display: block; }
.v25 .nf textarea:focus, .v25 .nf .over textarea { border-color: var(--btn-line); }
.v25 .nf .over textarea { background: var(--soft); }
.v25 .fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.v25 .nf .fchips:empty { display: none; }
.v25 .fchip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 4px 4px 10px; border-radius: var(--r-sm); background: var(--soft); font-size: 14px; }
.v25 .fchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.v25 .fchip button { width: 26px; height: 26px; border: 0; background: none; border-radius: var(--r-sm); color: var(--ink-2); cursor: pointer; font-size: 18px; line-height: 1; flex: none; }
.v25 .fchip button:hover { background: var(--hover); color: var(--ink); }
.v25 .dlg-f .attach svg { width: 18px; height: 18px; }
/* a prompt from Admin as a popup over the dashboard (questions.js) */
.v25 .dlg .qz-list { gap: 24px; }
.v25 .qz-q .seg.pick { height: 44px; }
.v25 .qz-q.bad .seg.pick { border-color: var(--danger); }
@media (max-width: 760px) {
  .v25 .cm { max-width: 88%; }
  .v25 .ibtn { width: 44px; height: 44px; }
  .v25 .composer { padding: 4px; }
  .v25 .composer textarea { min-height: 44px; padding: 10px 4px; }
  .v25 dialog.nfd { margin: auto 0 0; width: 100%; }
  .v25 dialog.nfd .dlg { width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92dvh; padding: 20px 16px 16px; }
  .v25 .nf .seg.pick { align-self: stretch; grid-auto-flow: row; grid-template-columns: 1fr 1fr; height: auto; gap: 3px; }
  .v25 .nf .seg.pick button { height: 44px; }
  .v25 .nf textarea { min-height: 140px; }
  .v25 .nf .dlg-f { flex-direction: row; align-items: center; gap: 8px; }
  .v25 .nf .dlg-f .sline { display: none; }
  .v25 .nf .dlg-f .btn { width: auto; flex: 1; height: 44px; }
  .v25 .nf .dlg-f .attach { flex: none; width: 44px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .v25 .qz-q .seg.pick { display: flex; flex-wrap: wrap; height: auto; min-height: 44px; gap: 3px; }
  .v25 .qz-q .seg.pick button { flex: 1 1 auto; min-height: 44px; white-space: normal; }
}

/* locked by plan: one line and See plans, no preview of what is behind it (C6) */
.v25 .lockcard { color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--row-y) var(--card-x); min-height: 72px; }
.v25 a.lockcard:hover { background: var(--soft); }
.v25 .lc-t { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16px; }
.v25 .lc-t svg.i { color: var(--ink-3); margin-top: 1px; }

/* compare plans: a real table; the current plan is one clean outline from header to last row */
.v25 .ptab { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; table-layout: fixed; }
.v25 .ptab th, .v25 .ptab td { padding: 0 4px; text-align: center; border-left: 1.5px solid transparent; border-right: 1.5px solid transparent; }
.v25 .ptab thead th { font-weight: 400; vertical-align: bottom; white-space: nowrap; }
.v25 .ptab thead tr:nth-child(1) th { padding-top: 10px; font-weight: 700; font-size: 14.5px; height: 30px; }
.v25 .ptab thead tr:nth-child(2) th { font-size: 16px; font-weight: 600; height: 24px; }
.v25 .ptab thead tr:nth-child(3) th { font-size: 12.5px; color: var(--ink-3); height: 26px; padding-bottom: 8px; }
.v25 .ptab tbody td, .v25 .ptab tbody th { height: 42px; border-top: 1px solid var(--line); }
.v25 .ptab tbody th { text-align: left; font-weight: 400; color: var(--ink-2); padding-left: 0; }
.v25 .ptab col.lab { width: 34%; }
.v25 .ptab .cur { border-left-color: var(--ink); border-right-color: var(--ink); }
.v25 .ptab thead tr:nth-child(1) .cur { border-top: 1.5px solid var(--ink); border-radius: var(--r) var(--r) 0 0; }

.v25 .ptab thead tr:nth-child(3) .cur { color: var(--ink); font-weight: 600; }
.v25 .ptab thead tr:nth-child(3) .best { color: var(--accent-text); font-weight: 600; }
.v25 .ptab tbody td { font-weight: 500; }
.v25 .ptab tfoot td { padding: 14px 6px 12px; border-top: 1px solid var(--line); }
.v25 .ptab tfoot th { border-top: 1px solid var(--line); }
.v25 .ptab tfoot .btn.sm { width: 100%; min-width: 0; padding: 0 8px; }
.v25 .ptab tfoot .cur { border-bottom: 1.5px solid var(--ink); border-radius: 0 0 var(--r) var(--r); }
.v25 .pl-ok { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.v25 .pl-no { display: inline-block; width: 12px; height: 2px; background: var(--btn-line); border-radius: 1px; vertical-align: middle; }

/* the search bar is a command palette (⌘K): results drop down under the bar */
.v25 .sd { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 40px -18px var(--shadow-2); max-height: min(520px, 70vh); overflow-y: auto; padding: 6px; }
.v25 .sd-h { padding: 8px 12px 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0; }
.v25 .sd-o { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); cursor: pointer; }
.v25 .sd-o:hover, .v25 .sd-o[aria-selected="true"] { background: var(--soft); }
.v25 .sd-o > div { flex: 1; min-width: 0; }
.v25 .sd-o > svg.i { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }
.v25 .sd-o b { display: block; font-weight: 600; font-size: 15.5px; }
.v25 .sd-o small { display: block; font-size: 13px; color: var(--ink-2); }
.v25 .sd-o small .src { color: var(--accent-text); }
.v25 .sd-o p { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
/* the query's words: bold ink, never a coloured background (the dropdown and the results view alike) */
.v25 .sd mark, .v25 .rs mark { background: none; color: var(--ink); font-weight: 650; padding: 0; }
.v25 .sd-msg { display: flex; align-items: center; gap: 10px; padding: 14px 12px; margin: 0; font-size: 15px; color: var(--ink-2); }
.v25 .sd-g + .sd-g { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
/* the last row: See all results (Enter) */
.v25 .sd-all { position: sticky; bottom: -6px; align-items: center; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--soft); }
.v25 .sd-all:hover, .v25 .sd-all[aria-selected="true"] { background: var(--hover); }
.v25 .sd-all > svg.i { margin-top: 0; }
.v25 .sd-all > span { flex: 1; font-size: 15px; font-weight: 600; }
.v25 .sd-enter { flex: none; height: 24px; padding: 0 7px; border-radius: var(--r-tag); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); font: 600 12.5px/22px var(--sans); }

/* Search results (#search): filter chips, then hairline rows (no cards): the file's sheet, title,
   course · page, a two-line snippet; the platform link shows on hover/focus */
.v25 .rs { gap: 0; }
.v25 .rs-f { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.v25 .rs-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: var(--hover); color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; flex: none; }
.v25 .rs-chip[aria-pressed="true"], .v25 .rs-chip.on { background: var(--ink); color: var(--bg); }
.v25 .rs-sel { padding: 0; }
.v25 .rs-sel select { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; height: 100%; padding: 0 34px 0 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; cursor: pointer; max-width: 260px; text-overflow: ellipsis; field-sizing: content; }
.v25 .rs-sel select option { color: var(--ink); background: var(--bg); }
.v25 .rs-sel svg.i { position: absolute; right: 12px; width: 14px; height: 14px; pointer-events: none; stroke-width: 2; }
.v25 .rs-list { list-style: none; margin: 0; padding: 0; }
.v25 .rs-list > li { border-bottom: 1px solid var(--line); }
.v25 .rs-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; padding: var(--row-y) 8px; border-radius: var(--r); color: var(--ink); align-items: start; }
.v25 a.rs-row:hover { background: var(--soft); }
.v25 .rs-ft { position: relative; width: 30px; height: 38px; margin-top: 1px; color: var(--ink-3); }
.v25 .rs-ft svg { display: block; width: 30px; height: 38px; }
.v25 .rs-ft .sh { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.4; }
.v25 .rs-ft .fo { fill: var(--soft); stroke: var(--line-2); stroke-width: 1.4; }
.v25 .rs-ft span { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-size: 8.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.v25 .ft-pdf { color: var(--ft-pdf); } .v25 .ft-doc { color: var(--ft-doc); } .v25 .ft-ppt { color: var(--ft-ppt); } .v25 .ft-xls { color: var(--ft-xls); } .v25 .ft-video { color: var(--ft-vid); }
.v25 .rs-tx { min-width: 0; }
.v25 .rs-t { margin: 0; font-weight: 650; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.v25 .rs-m { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0 6px; }
.v25 .rs-m span + span::before { content: "·"; margin-right: 6px; color: var(--ink-3); }
.v25 .rs-s { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v25 .rs-open { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--accent-text); white-space: nowrap; margin-top: 2px; opacity: 0; transition: opacity .12s; }
.v25 .rs-open svg.i { width: 14px; height: 14px; }
.v25 a.rs-row:hover .rs-open, .v25 a.rs-row:focus-visible .rs-open { opacity: 1; }
.v25 .rs-more { display: flex; justify-content: center; margin-top: 22px; }
.v25 .rs .sect-note { margin-top: 16px; }
.v25 .rs-empty { text-align: center; padding: 56px 0 24px; }
.v25 .rs-empty b { display: block; font-size: 18px; font-weight: 700; }
.v25 .rs-empty p { color: var(--ink-2); margin: 6px auto 0; max-width: 420px; }
@media (prefers-reduced-motion: reduce) { .v25 .rs-open { transition: none; } }

/* a new key sits right under its own row; Copy is inside the read-only field */
.v25 .keynew { padding: 0 var(--card-x) var(--row-y); display: flex; flex-direction: column; gap: 8px; }
.v25 .keyfield { display: flex; align-items: center; gap: 8px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--soft); padding: 0 6px 0 16px; }
.v25 .keyfield input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 14px var(--mono); color: var(--ink); height: 100%; text-overflow: ellipsis; }
.v25 .keyfield .btn { height: 36px; padding: 0 16px; font-size: 14.5px; flex: none; border-radius: var(--r-sm); }
.v25 .mkkey { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.v25 .mkkey .field { flex: 1 1 200px; }

/* still loading (signed out and deleted use the page frame) */
.v25 .dash-load { margin: 0; padding: 40px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v25 .au > a.btn.big { margin-top: 32px; }

/* a source row's Details panel (Your courses, decision 14): under its row, inside the same card */
.v25 .row.open { background: var(--soft); }
.v25 .rowpanel { padding: 4px var(--card-x) var(--row-y); background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.v25 .list > .rowpanel:last-child { border-bottom-left-radius: calc(var(--r) - 1px); border-bottom-right-radius: calc(var(--r) - 1px); }
.v25 .rowpanel .kvs li:first-child { padding-top: 10px; border-top: 1px solid var(--line); }
.v25 .panel-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.v25 .panel-acts .btn.sm { min-width: 0; }
.v25 .rowpanel > .confirm-inline { padding: 14px 0 0; border-top: 1px solid var(--line); background: none; border-radius: 0; }
.v25 .row.plat .word { min-width: 120px; justify-content: flex-end; }
/* This browser (C8): switches, the interval choice, the stepper */
.v25 label.row { cursor: pointer; }
.v25 .sw { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .15s; }
.v25 .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px var(--shadow-2); transition: transform .15s; }
.v25 .sw:checked { background: var(--ok); }
.v25 .sw:checked::after { transform: translateX(18px); }
.v25 .sw:disabled { opacity: .5; cursor: default; }
.v25 .stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.v25 .stepper .btn.sm { min-width: 0; width: 38px; padding: 0; font-size: 18px; }
.v25 .stepper output { min-width: 32px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.v25 .space { display: flex; flex-direction: column; gap: 8px; }
.v25 .lbl .space { margin-top: 10px; max-width: 360px; }
.v25 .space p { margin: 0; font-size: 15.5px; color: var(--ink); }

/* ===================== narrower screens ===================== */
.v25 .mtop, .v25 .scrim, .v25 .drawer-x { display: none; }
.v25 .hamb { width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r); display: grid; place-items: center; cursor: pointer; color: var(--ink); margin-left: -12px; }
.v25 .hamb:hover { background: var(--hover); }
/* rows in the narrow side column stack: text, then the button under it */
.v25 .c-side .row { flex-wrap: wrap; gap: 12px; }
.v25 .c-side .row .lbl { flex-basis: 100%; }
@media (max-width: 860px) {
  :root { --pad-x: 16px; --pad-top: 28px; }
  .v25 .shell { display: block; }
  .v25 .mtop { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 var(--pad-x); border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 6; }
  .v25 .mtop .brand { font-size: 19px; }
  .v25 [data-c-list].editing > .sect-h { top: 60px; }
  .v25 .mtop .me-m { margin-left: auto; width: 48px; height: 48px; padding: 0; margin-right: -8px; border: 0; border-radius: 50%; display: grid; place-items: center; }
  .skip { left: 16px; }
  .v25 .side { position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 84vw); height: auto; z-index: 50; transform: translateX(-102%); transition: transform .25s cubic-bezier(.2,.7,.1,1); padding: 16px 14px 18px; background: var(--side); visibility: hidden; }
  .v25 .side.open { transform: none; visibility: visible; box-shadow: 0 0 60px -10px var(--shadow-2); }
  .v25 .side > .brand { padding: 6px 10px 22px; }
  .v25 .drawer-x { display: grid; position: absolute; top: 14px; right: 14px; }
  .v25 .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: var(--scrim); }
  .v25 .side .me { display: none; }
  .v25 .menu { left: auto; right: 12px; bottom: auto; top: 60px; width: min(290px, calc(100vw - 24px)); }
  .v25 .bar { height: auto; position: static; }
  .v25 .bar-in { padding: 12px var(--pad-x); }
  /* the palette opens full screen */
  body.pal-open { overflow: hidden; }
  body.pal-open .v25 .bar { z-index: 80; } /* .bar is a flex item: its z-index makes a stacking context */
  body.pal-open .v25 .bar form { position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; align-content: flex-start; }
  body.pal-open .v25 .bar form > svg { left: 32px; top: 26px; }
  body.pal-open .v25 .bar input { flex: 1; width: auto; padding-right: 16px; }
  body.pal-open .v25 .pal-x { display: block; }
  body.pal-open .v25 .sd { position: static; flex-basis: 100%; max-height: calc(100dvh - 90px); border: 0; box-shadow: none; padding: 6px 0; }
  .v25 .kbd, .v25 .sd-enter { display: none; }
  /* results on a phone: the chips scroll sideways in one row, rows drop the platform link */
  .v25 .rs-f { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad-x)); padding-inline: var(--pad-x); scrollbar-width: none; }
  .v25 .rs-f::-webkit-scrollbar { display: none; }
  .v25 .rs-row { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-inline: 4px; }
  .v25 .rs-open { display: none; }
  .v25 .bar input { padding-right: 18px; }
  .v25 .view h1 { font-size: 28px; line-height: 34px; }
  .v25 .page-h { min-height: 0; }
  .v25 .cardrow > * { grid-column: span 12; }
  .v25 .ans, .v25 .dcard .ans { font-size: 21px; }
  .v25 .row { flex-wrap: wrap; gap: 10px 14px; }
  .v25 .row .lbl { flex-basis: calc(100% - 140px); }
  .v25 .row.plat .lbl, .v25 .row.stack .lbl { flex-basis: 100%; }
  .v25 .row time { width: 72px; }
  .v25 .row .btn.sm { min-width: 0; }
  .v25 .row .seg { min-width: 0; flex: 1 1 180px; }
  .v25 .row.plat .word { min-width: 0; }
  .v25 .ivl .seg { min-width: 0; flex: 1 1 200px; }
  .v25 .ptab tfoot .btn.sm { font-size: 13.5px; }
  .v25 .ptab thead .per { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .v25 .ptab thead tr:nth-child(2) th { height: auto; }
  .v25 .sect-x { margin-left: 0; flex-basis: 100%; }
  .v25 .sect-h { flex-wrap: wrap; }
  .v25 .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .v25 .plan { grid-template-rows: none; grid-row: auto; padding: 24px 22px; }
  .v25 .plan ul { margin: 20px 0 22px; }
}
@media (max-width: 760px) {
  /* phone: the corners become the top and bottom of one column */
  .v25 .fr-left { padding: 18px 24px 24px; }
  .v25 .fr-top, .v25 .fr-body, .v25 .frame[data-mode] .fr-top, .v25 .frame[data-mode] .fr-body { grid-template-columns: minmax(0, 1fr); }
  .v25 .fr-col { grid-column: 1; }
  .v25 .fr-body { padding-block: 40px; }
  .v25 .st h1, .v25 .au h1 { font-size: 34px; }
  .v25 .st-text { font-size: 17px; }
  .v25 .fr-foot { padding-top: 8px; }
  .v25 .dlg { padding: 22px 20px 20px; }
  .v25 .dlg-f { flex-direction: column; align-items: stretch; }
  .v25 .dlg-f .btn { width: 100%; }
}

/* "Check your email": the page watches for the link (app.js waitForSignIn) and says so */

/* Room for the scrollbar on every page, so a tab that doesn't scroll (Connections) is as wide as the
   rest and nothing shifts when switching (owner, 2026-10-21; only shows where scrollbars always show). */
html { scrollbar-gutter: stable; }

/* ===================== the beta's signing card and Account → Beta (#499) ===================== */
@media (min-width: 761px) { .v25 .frame:is([data-mode="beta"], [data-quiz]) .fr-top, .v25 .frame:is([data-mode="beta"], [data-quiz]) .fr-body { grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); } }
/* "No thanks" and "Log out" at either end of the row, not side by side */
.v25 .frame[data-mode="beta"] .st-sec { justify-content: space-between; }
.v25 .bt-note { margin: 0; color: var(--ink-2); font-size: 15px; }
.v25 .bt-doc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 22px; max-height: 52vh; overflow-y: auto; font-size: 15px; line-height: 1.55; background: var(--soft); overflow-wrap: anywhere; }
.v25 .bt-doc h2 { font-size: 16px; margin: 18px 0 6px; }
.v25 .bt-doc p, .v25 .bt-doc ul { margin: 0 0 8px; }
.v25 .bt-doc ul { padding-left: 20px; }
.v25 .bt-doc table { border-collapse: collapse; width: 100%; margin: 6px 0 10px; font-size: 14px; }
.v25 .bt-doc th, .v25 .bt-doc td { border-top: 1px solid var(--line-2); padding: 6px 8px 6px 0; text-align: left; vertical-align: top; }
.v25 .bt-title { margin: 0 0 4px; }
.v25 .bt-ck { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; cursor: pointer; }
.v25 .bt-ck input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.v25 .bt-again { margin-top: 8px; }
.v25 .bt-again summary { font-size: 15px; cursor: pointer; }
.v25 .bt-again .bt-doc { margin-top: 10px; max-height: 60vh; }

/* ---- My files on a course's page (#683): the drop box over the files, progress in the My files folder ---- */
.v25 .mf .mf-zone + .field, .v25 .mf .sect-note + .field { margin-top: 4px; }
.v25 .mf-zone { display: flex; align-items: center; gap: 16px; padding: 20px var(--card-x); min-height: 96px; border: 1.5px dashed var(--btn-line); border-radius: var(--r-lg); background: var(--bg); transition: background .15s, border-color .15s; }
.v25 .mf-zone[hidden] { display: none; }
.v25 .mf-zone.solid { border: 1px solid var(--line); }
.v25 .mf-zone .ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--r); background: var(--soft); color: var(--ink-2); }
.v25 .mf-zone .ic svg { width: 20px; height: 20px; }
.v25 .mf-zone .acts { display: flex; gap: 8px; flex: none; margin-left: auto; }
.v25 .mf-zone .acts .btn { min-width: 140px; }
.v25 .mf-zone.over { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.v25 .mf-zone.over .ic { background: var(--bg); color: var(--accent-text); }
.v25 .mf-zone.over .acts { visibility: hidden; }
.v25 .mf .row .meter { margin-top: 8px; max-width: 360px; height: 6px; }
.v25 .mf .row .meter i { transition: width .4s ease-out; }
.v25 .mf .row .meter.busy i { width: 30%; animation: mf-busy 1.4s ease-in-out infinite; }
@keyframes mf-busy { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.v25 .mf .row.enter { animation: mf-in .24s ease-out; }
@keyframes mf-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .v25 .mf .row .meter.busy i, .v25 .mf .row.enter { animation: none; } }
.v25 .mf .row .word { min-width: 150px; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.v25 .mf .slot { width: 140px; flex: none; display: flex; justify-content: flex-end; }
.v25 .mf .slot .btn.sm { min-width: 140px; }
.v25 .mf .row .xb { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); cursor: pointer; }
.v25 .mf .row .xb:hover { background: var(--soft); }
.v25 .mf .row .xb svg { width: 16px; height: 16px; }
.v25 .mf .row .word.wait { color: var(--ink-2); }
.v25 .mf .row .word.wait svg { color: var(--wait); }
.v25 .mf .tch { display: none; }
@media (pointer: coarse), (max-width: 760px) { .v25 .mf .dsk { display: none; } .v25 .mf b.tch { display: block; } }
@media (max-width: 760px) {
  .v25 .mf-zone { flex-wrap: wrap; }
  .v25 .mf-zone .acts { width: 100%; }
  .v25 .mf-zone .acts .btn { flex: 1; min-width: 0; height: 44px; }
  .v25 .mf .list .row.mfr { flex-wrap: wrap; gap: 4px 12px; }
  .v25 .mf .list .row.mfr .lbl { flex-basis: 100%; }
  .v25 .mf .list .row.mfr .word { justify-content: flex-start; flex: 1; min-width: 0; }
  .v25 .mf .list .row.mfr .slot:empty { display: none; }
  .v25 .mf .list .row.mfr .slot { width: auto; margin-left: auto; }
  .v25 .mf .list .row.mfr .slot .btn { min-width: 0; height: 36px; }
}
