/* ============================================================
   Bright Sky for the signed-in pages (screen 1: /worksheets + the shared nav; loaded for
   parents first, batch 1, 2026-11-15 — _nav.html loads it when nav_bright)
   The homepage's look (001 DEC-6) and the student app's tokens (006 DEC-28), carried
   inside. Loaded LAST, after theme.css + worksheets.css + the page's own <style>,
   so it re-skins without touching layout.
   Two skies: "day" (the homepage) and "night" (Dark mode, kept for teachers).
   Every colour below is a token, so a component never needs a dark twin.
   Colour rules unchanged: red = marks only, green = correct only, saffron = warmth.
   Selectors: :root[data-theme="…"] matches theme.css's own specificity and comes
   later, so it wins (plain :root silently loses — 006 DEC-28).
   ============================================================ */
:root[data-theme="light"], :root[data-theme="auto"] {
  --act: #1A6FE0; --act-hover: #135BC0; --act-wash: #E4F2FF; --act-ink: #0E4A9E;
  --ink: #14305A; --ink-soft: #3F5880; --pencil: #5B6F90; --tab-ink: #3A5279;
  --rule: #D2E2F5; --edge: #D2E2F5; --edge-strong: #C2D7EF; --hair: #E6EFFA;
  --paper: #FFFFFF; --paper-2: #F3F8FE; --surface: #FFFFFF;
  --nav-bg: #F7FBFF; --nav-line: rgba(26,111,224,.12);
  --outline: rgba(26,111,224,.45); --outline-soft: rgba(26,111,224,.15);
  --btn-bg: var(--act); --btn-fg: #fff; --ink-hover: var(--act-hover); --ink-active: #0F4FA8; --on-ink: #fff;
  --btn-shadow: 0 6px 14px rgba(26,111,224,.22);
  --shadow: 0 2px 6px rgba(20,48,90,.06), 0 10px 24px rgba(26,111,224,.10);
  --shadow-lift: 0 4px 10px rgba(20,48,90,.08), 0 18px 36px rgba(26,111,224,.16);
  --scrim: rgba(20,48,90,.35);
  --page-bg: linear-gradient(180deg, #F3FAFF 0, #DDF0FF 520px, #EEF7FF 1100px, #F7FBFF 100%);
  --display: "Baloo 2", "IBM Plex Sans", system-ui, sans-serif;
  color-scheme: light;
}
/* night: deep navy with the Kite Sky stars (same 26px pitch); buttons keep the
   day blue (white text 4.9:1); blue TEXT lifts to #8CC2FF so it reads on navy */
:root[data-theme="dark"] {
  --act: #1A6FE0; --act-hover: #2A7DEB; --act-wash: rgba(110,170,255,.16); --act-ink: #8CC2FF;
  --ink: #EAF2FF; --ink-soft: #B6C6E3; --pencil: #8FA3C4; --tab-ink: #B6C6E3;
  --rule: rgba(160,195,255,.18); --edge: rgba(160,195,255,.18); --edge-strong: rgba(160,195,255,.26); --hair: rgba(160,195,255,.10);
  --paper: #172A4D; --paper-2: #13233F; --surface: #172A4D;
  --nav-bg: #0F1E3A; --nav-line: rgba(140,194,255,.12);
  --outline: rgba(140,194,255,.45); --outline-soft: rgba(140,194,255,.18);
  --btn-bg: var(--act); --btn-fg: #fff; --ink-hover: #F4F7FD; --ink-active: #DCE4F5; --on-ink: #0F1E3A;
  --btn-shadow: 0 6px 14px rgba(0,0,0,.35);
  --shadow: 0 1px 2px rgba(0,0,0,.30), 0 8px 22px rgba(0,0,0,.32);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.32), 0 16px 34px rgba(0,0,0,.42);
  --scrim: rgba(3,10,25,.6);
  --page-bg: radial-gradient(rgba(234,242,255,.08) 1px, transparent 1.5px) 0 0 / 26px 26px,
             linear-gradient(180deg, #0E1C38 0, #13285A 520px, #0F1F3D 1100px, #0D1A33 100%);
  --display: "Baloo 2", "IBM Plex Sans", system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --act: #1A6FE0; --act-hover: #2A7DEB; --act-wash: rgba(110,170,255,.16); --act-ink: #8CC2FF;
    --ink: #EAF2FF; --ink-soft: #B6C6E3; --pencil: #8FA3C4; --tab-ink: #B6C6E3;
    --rule: rgba(160,195,255,.18); --edge: rgba(160,195,255,.18); --edge-strong: rgba(160,195,255,.26); --hair: rgba(160,195,255,.10);
    --paper: #172A4D; --paper-2: #13233F; --surface: #172A4D;
    --nav-bg: #0F1E3A; --nav-line: rgba(140,194,255,.12);
    --outline: rgba(140,194,255,.45); --outline-soft: rgba(140,194,255,.18);
    --btn-bg: var(--act); --btn-fg: #fff; --ink-hover: #F4F7FD; --ink-active: #DCE4F5; --on-ink: #0F1E3A;
    --btn-shadow: 0 6px 14px rgba(0,0,0,.35);
    --shadow: 0 1px 2px rgba(0,0,0,.30), 0 8px 22px rgba(0,0,0,.32);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.32), 0 16px 34px rgba(0,0,0,.42);
    --scrim: rgba(3,10,25,.6);
    --page-bg: radial-gradient(rgba(234,242,255,.08) 1px, transparent 1.5px) 0 0 / 26px 26px,
               linear-gradient(180deg, #0E1C38 0, #13285A 520px, #0F1F3D 1100px, #0D1A33 100%);
    color-scheme: dark;
  }
}
body { background: var(--page-bg); color: var(--ink); min-height: 100vh; }  /* short pages: the sky reaches the bottom */
h1, h2, h3 { font-family: var(--display); letter-spacing: 0; line-height: 1.15; }

/* ---------- nav ---------- */
.nav { background: var(--nav-bg); border-bottom: 1px solid var(--nav-line); }
.wordmark { align-items: center; }
.wordmark .name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.wordmark { gap: .55rem; }
/* the new logo, "Clay C" (chosen 2026-11-13): a little taller than the name, as in the lockup */
.brand-mark { width: 1.95rem; height: 1.95rem; flex: none; display: block; }
.modal-mark { width: 46px; height: 46px; flex: none; display: block; }
.nav-tabs { gap: .35rem; }
.nav-tab { color: var(--tab-ink); font-weight: 600; padding: .42rem .85rem; margin: 0; border-radius: 99px; }
.nav-tab:hover { color: var(--act-ink); background: var(--act-wash); }
.nav-tab[aria-current="page"] { color: var(--act-ink); background: var(--act-wash); font-weight: 700; }
.nav-tab[aria-current="page"]::after { content: none; }
.nav-tab:focus-visible { outline: 3px solid var(--ink); }
.plan-chip { background: var(--surface); border: 1.5px solid var(--outline); color: var(--act-ink); font-weight: 700; }
.plan-chip:hover { background: var(--act-wash); border-color: var(--act); }

/* account menu on the avatar: Profile, My plan, Invite & earn, Dark mode, Log out */
.acct { position: relative; }
.acct summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .45rem .2rem .2rem; border-radius: 99px; border: 1.5px solid transparent; }
.acct summary::-webkit-details-marker { display: none; }
.acct summary:hover, .acct[open] summary { background: var(--surface); border-color: var(--outline-soft); }
.acct summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.acct summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg) translateY(-2px); margin: 0 .2rem 0 .1rem; }
.avatar-chip { background: var(--act); border: 0; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.acct-menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 50; min-width: 240px; padding: .45rem;
  background: var(--surface); border: 1px solid var(--outline-soft); border-radius: 14px; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; }
.acct-who { padding: .55rem .8rem .7rem; }
.acct-who b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.acct-who span { font-size: .82rem; color: var(--pencil); }
.acct-menu hr { border: 0; border-top: 1px solid var(--hair); margin: .3rem 0; width: 100%; }
.acct-menu a, .acct-menu button { text-align: left; font: 500 .95rem "IBM Plex Sans", system-ui, sans-serif; color: var(--tab-ink);
  padding: .55rem .8rem; border-radius: 9px; text-decoration: none; background: none; border: 0; cursor: pointer; box-shadow: none; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--act-wash); color: var(--act-ink); }
/* the one Dark switch (theme.js, unchanged) now sits in the menu: it reads "☾ Dark mode" / "☀ Light mode" */
.acct-menu #themeToggle { display: flex; gap: .5rem; border-radius: 9px; }
.acct-menu #themeToggle::after { content: " mode"; white-space: pre; }

/* phone + tablet: brand on ONE line; tabs a swipeable pill strip whose right edge fades,
   so the hidden tabs (Results, Apps) visibly continue */
@media (max-width: 1279px) {
  .nav-inner { padding: .6rem 0 0; }
  .nav-tabs { padding: .45rem 0 .55rem; gap: .3rem;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-tab { padding: .4rem .8rem; }
}
@media (max-width: 860px) {
  .wordmark .name { font-size: 1.25rem; width: auto; white-space: nowrap; line-height: 1.1; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
}
@media (max-width: 420px) {
  .plan-chip { padding: .3rem .6rem; font-size: .8rem; }
  .acct-menu { position: fixed; left: 4vw; right: 4vw; top: 3.6rem; min-width: 0; }
}

/* ---------- buttons + fields ---------- */
.btn { border-radius: 12px; font-weight: 700; box-shadow: var(--btn-shadow); }
.btn:hover { background: var(--act-hover); }
.btn-ghost, .btn-danger { background: var(--surface); color: var(--act-ink); border: 1.5px solid var(--outline); box-shadow: none; }
.btn-ghost:hover, .btn-danger:hover { background: var(--act-wash); border-color: var(--act); color: var(--act-ink); }
.btn.btn-plain { color: var(--ink-soft); }
input, select, textarea { border-radius: 10px; border-color: var(--rule); background: var(--surface); color: var(--ink); }
input:focus-visible, select:focus-visible { outline: 3px solid var(--outline); border-color: var(--act); }

/* ---------- worksheets: header ---------- */
#newWorksheetBtn { font-family: var(--display); font-size: 1.05rem; padding: .62rem 1.2rem; }
.head-tools input[type=search] { border: 1.5px solid var(--rule); background: var(--surface); }
.lib-stats b { color: var(--ink); }
.lib-stats a, .lib-stats a b { color: var(--act-ink); }

/* status tabs become a pill switch: the chosen one is filled blue */
.status-row { border-bottom: 0; margin: .9rem 0 1.2rem; }
.status-tabs { gap: .35rem; background: var(--surface); padding: .3rem; border-radius: 99px; box-shadow: 0 1px 3px rgba(20,48,90,.06);
  border: 1px solid var(--outline-soft); }
.status-tab { padding: .4rem .9rem; border-radius: 99px; color: var(--tab-ink); font-weight: 600; }
.status-tab:hover { color: var(--act-ink); background: var(--act-wash); }
.status-tab[aria-pressed="true"] { background: var(--act); color: #fff; }
.status-tab[aria-pressed="true"]::after { content: none; }
.status-tab .n { background: var(--act-wash); color: var(--act-ink); }
.status-tab[aria-pressed="true"] .n { background: rgba(255,255,255,.25); color: #fff; }
.f-field select { background: var(--surface); border: 1.5px solid var(--rule); }
.filters-btn { background: var(--surface); border-color: var(--outline); color: var(--act-ink); }
@media (max-width: 700px) {
  .status-tabs { width: 100%; justify-content: space-between; gap: .1rem; }
  .status-tab { padding: .4rem .55rem; gap: .3rem; font-size: .9rem; }
}
@media (max-width: 360px) { .status-tab { padding-inline: .4rem; font-size: .84rem; } }

/* ---------- worksheets: cards ---------- */
.card { border: 0; border-radius: 18px; background: var(--surface); }
.ws-card { border-top: 0; overflow: visible; }
.ws-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 4px;
  border-radius: 0 0 4px 4px; background: var(--subject-english); }
.ws-card[data-subject="Math"]::before { background: var(--subject-math); }
.ws-card[data-subject="Science"]::before { background: var(--subject-science); }
.card-kite:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-top-color: transparent; }
.ws-card h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.ws-body { padding: 1.1rem 1.25rem .9rem; }
.ws-card.is-draft { opacity: 1; }
.ws-card.is-draft .ws-stats { color: var(--pencil); font-style: italic; }
.is-draft .ws-more { margin-left: auto; }
.status-pill { font-size: .68rem; padding: .22rem .6rem; }
.ws-foot { background: none; border-top: 1px solid var(--hair); border-radius: 0 0 18px 18px; padding: .75rem 1rem .85rem; }
.ws-act { border-radius: 11px; border: 1.5px solid var(--outline); color: var(--act-ink); background: var(--surface); font-weight: 700; }
.ws-act:hover { background: var(--act-wash); border-color: var(--act); }
.ws-act.ws-open { background: var(--act); border-color: var(--act); color: #fff; box-shadow: var(--btn-shadow); }
.ws-act.ws-open:hover { background: var(--act-hover); border-color: var(--act-hover); }
.ws-more summary:hover, .ws-more[open] summary { background: var(--act-wash); color: var(--act-ink); }
.ws-menu { border-radius: 14px; border-color: var(--outline-soft); background: var(--surface); }
.ws-menu > *:hover { background: var(--act-wash); color: var(--act-ink); }
.ws-group-head { font-family: var(--display); }
.modal-head { background: linear-gradient(135deg, var(--act-wash), var(--paper-2)); }
.modal-head h3 { font-family: var(--display); }
.modal-new .chip { background: var(--surface); }
.modal-new .chip.on, .modal-new .chip[aria-pressed="true"] { background: var(--act); border-color: var(--act); color: #fff; }

/* ============================================================
   "Running now": the teacher's live tests, soonest due first.
   Out of the way until she wants it (owner 2026-11-15, option B): a chip by the
   counts opens a drawer. Nothing renders when nothing is running.
   ============================================================ */
.run-card { display: block; background: var(--surface); border-radius: 16px; padding: .85rem 1rem .9rem; text-decoration: none;
  color: var(--ink); box-shadow: var(--shadow); border-left: 5px solid var(--act); transition: transform .15s ease, box-shadow .15s ease; }
.run-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.run-card > b { font-family: var(--display); font-size: 1.05rem; display: block; line-height: 1.25; }
.run-card .meta { font-size: .82rem; color: var(--pencil); }
.run-bar { height: 8px; border-radius: 99px; background: var(--act-wash); margin: .55rem 0 .35rem; overflow: hidden; }
.run-bar i { display: block; height: 100%; background: var(--act); border-radius: 99px; }
.run-n { font-size: .88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.run-n b { color: var(--ink); }
.run-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--act); flex: none;
  box-shadow: 0 0 0 4px var(--act-wash); }
.run-all { font-size: .9rem; font-weight: 600; color: var(--act-ink); text-decoration: none; }
.run-all:hover { text-decoration: underline; }

/* The drawer opens by itself only when there is news since her last visit, at most once
   a day; otherwise it waits for the chip. Right-hand panel on a laptop,
   bottom sheet on a phone. No timer: nothing vanishes while she is reading it. */
.run-chip { display: inline-flex; align-items: center; gap: .5rem; margin-left: .5rem; vertical-align: 1px;
  padding: .22rem .75rem .22rem .6rem; border-radius: 99px; border: 1.5px solid var(--outline); background: var(--surface);
  font: 700 .85rem "IBM Plex Sans", system-ui, sans-serif; color: var(--act-ink); cursor: pointer; }
.run-chip .run-dot { width: .5rem; height: .5rem; box-shadow: 0 0 0 3px var(--act-wash); }
.run-chip:hover { background: var(--act-wash); border-color: var(--act); }
.run-chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 700px) { .run-chip { margin: 0; } }
.drawer-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 90; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s; }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--paper-2);
  box-shadow: var(--shadow-lift); display: flex; flex-direction: column; translate: 100% 0; visibility: hidden;
  transition: translate .22s ease, visibility 0s linear .22s; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.drawer-open .drawer { translate: 0 0; visibility: visible; transition: translate .22s ease; }
.drawer-head { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.2rem .9rem; border-bottom: 1px solid var(--hair); }
.drawer-head h2 { font-size: 1.35rem; color: var(--ink); }
.drawer-head p { margin: 0; font-size: .85rem; color: var(--pencil); }
.drawer-x { margin-left: auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--outline-soft);
  background: var(--surface); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
.drawer-x:hover { background: var(--act-wash); }
.drawer-x:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.drawer-body { padding: 1rem 1.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; }
.drawer-foot { margin-top: auto; padding: .9rem 1.2rem 1.1rem; border-top: 1px solid var(--hair); display: flex;
  justify-content: space-between; align-items: center; gap: 1rem; }
.drawer-foot .small { font-size: .8rem; color: var(--pencil); margin: 0; }
.drawer-foot .run-all { white-space: nowrap; }
@media (max-width: 700px) {
  .drawer { top: auto; left: 0; width: 100%; max-height: 82dvh; border-radius: 22px 22px 0 0; translate: 0 100%; }
  .drawer-head::before { content: ""; position: absolute; left: 50%; top: .45rem; width: 2.6rem; height: 4px;
    margin-left: -1.3rem; border-radius: 99px; background: var(--rule); }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } }

/* ============================================================
   Phone header (owner 2026-11-15): no counts line; ONE row of
   [+ New worksheet] [search icon] [filter icon]. Search opens as a
   full-width field under the row, the way Filters opens its panel.
   Closing search clears it, so a hidden search never hides cards.
   The counts line stays on laptops and tablets.
   ============================================================ */
.icon-btn { display: none; }
.filters-btn svg, .search-btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
@media (max-width: 700px) {
  .lib-head { margin-top: .9rem; gap: .6rem; }
  .lib-counts { display: none; }
  .lib-stats:not(:has(.run-chip)) { display: none; }     /* the chip keeps its line only while tests run */
  .head-tools { flex-wrap: wrap; gap: .5rem; align-items: stretch; }
  .head-tools > .btn { order: 0; flex: 1 1 auto; justify-content: center; padding: .7rem 1rem; }
  .icon-btn, .head-tools .filters-btn { order: 1; display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 48px; min-height: 48px; padding: 0; border-radius: 14px; position: relative; cursor: pointer;
    background: var(--surface); border: 1.5px solid var(--outline); color: var(--act-ink); }
  .icon-btn:hover, .head-tools .filters-btn:hover,
  .icon-btn[aria-expanded="true"], .head-tools .filters-btn[aria-expanded="true"] { background: var(--act-wash); border-color: var(--act); }
  .icon-btn:focus-visible, .head-tools .filters-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .fb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .head-tools .filters-btn .n { position: absolute; top: -7px; right: -7px; min-width: 1.25rem; height: 1.25rem;
    display: inline-grid; place-items: center; padding: 0 .3rem; background: var(--act); color: #fff; border: 2px solid var(--surface); }
  .head-tools input[type=search] { display: none; order: 2; flex: 1 1 100%; padding: .7rem 1rem; }
  .head-tools.search-open input[type=search] { display: block; }
  .status-row { margin-top: .7rem; }
}

/* ---- shared toast (js/bright_ui.js Bright.toast) ---- */
.b-toast { position: fixed; left: 50%; bottom: 1.2rem; translate: -50% 0; z-index: 300; background: #14305A; color: #fff;
  font: 600 .9rem "IBM Plex Sans", system-ui, sans-serif; padding: .6rem 1rem; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 90vw; text-align: center; }
.b-toast.on { opacity: 1; }
:root[data-theme="dark"] .b-toast { background: #EAF2FF; color: #0F1E3A; }
@media (prefers-reduced-motion: reduce) { .b-toast { transition: none; } }

/* Owner 2026-11-16: who has an assigned test, one line per section
   (Worksheets card + the builder's "Assigned" banner). Each line flows as
   text, so long group names wrap like a sentence and the dot follows them. */
.ws-who { list-style: none; margin: .45rem 0 0; padding: 0; display: grid; gap: .3rem;
  font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
.ws-who li { display: block; }
.ws-who li > b { color: var(--ink); font-weight: 700; margin-right: .35rem; }
.ws-who .who-n { display: inline; color: var(--ink-soft); font-weight: 600; }
.ws-who .who-n svg { display: inline-block; width: .95rem; height: .95rem; vertical-align: -.17em;
  margin-right: .25rem; color: var(--act-ink); }
/* the dot ends a wrapped line, never starts one (screen 5 round 6) */
.ws-who li > .who-n:not(:last-child)::after, .ws-who li > .of:not(:last-child)::after {
  content: "·"; margin: 0 .35rem 0 .35rem; color: var(--pencil); font-weight: 400; }
.ws-who .of, .ws-who .closed { white-space: nowrap; }
.ws-who .of { color: var(--pencil); }
.ws-who .closed { color: var(--pencil); font-style: italic; }
.ws-who .more { color: var(--pencil); }
.ws-who .who-more { padding: .15rem .1rem; margin: -.15rem -.1rem; border: 0; background: none; cursor: pointer;
  color: var(--act-ink); font: inherit; font-weight: 600; white-space: nowrap;
  text-decoration: underline dotted; text-underline-offset: 3px; }
.ws-who .who-more:hover, .ws-who .who-more:focus-visible { color: var(--act); }
.ws-who .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Owner 2026-11-17: cards in a row are one height, the buttons on one line
   (the tallest card sets the row; nothing is cut, as who-lines vary) */
#cardGrid, .ws-group .grid { align-items: stretch; }
.ws-card { display: flex; flex-direction: column; }
.ws-card > .ws-body { flex: 1 0 auto; }
.ws-card > .ws-foot { margin-top: auto; }
/* a tappable "+ N more": the dot rides on the button, so a line can't start with it */
.ws-who li > .who-n:has(.who-more)::after { content: none; }
.ws-who li > .who-n:not(:last-child) .who-more::after { content: "·"; display: inline-block; margin-left: .35rem;
  color: var(--pencil); font-weight: 400; text-decoration: none; }
.ws-who li > .who-n:not(:last-child) .who-more { margin-right: .25rem; }

/* owner 2026-11-17: the lock on an Assigned / Given pill */
.status-pill .pill-lock { width: .78rem; height: .78rem; margin-right: .3rem; vertical-align: -.1rem; }

/* owner 2026-11-17: a child who left an in-class test (Results drawer + step 6) */
.lk-st.left { color: #9A5800; background: #FFF1DC; border-radius: 6px; padding: 0 .3rem; font-style: normal; }
.pin-back { white-space: nowrap; }
.pin-fresh { font-weight: 800; color: var(--act-ink); letter-spacing: .12em; }
.pin-fresh-k { margin-left: .45rem; font-size: .82rem; color: var(--ink-soft); }
.pin-back-note { margin: 0; padding: .1rem 1rem .75rem; font-size: .9rem; font-weight: 600; color: var(--act-ink); }
