  /* the tabs, then on a computer Next with Your sessions left and the calendar, Groups and Team right; on a phone one column: Next, the calendar, Your sessions, Groups, Team */
  [hidden] { display: none !important; }   /* the views and lines are shown and hidden with the attribute only */
  /* Filled selections keep the root's contrasting ink, independently of the dashboard's soft buttons (also on iOS 16). */
  :root { --title: 1.6rem;   /* a page's or a section's title: one size at every width, so a title row holds its buttons on one line (the coach, 23 Nov: "lai visur vienādi") */
    --on-ink: var(--btn-ink); --fill: var(--acc); --on-fill: var(--btn-ink); }   /* --fill / --on-fill: a filled button and its ink (plan row 11b), redeclared wherever --acc is */
  :root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5.5l6.5 6.5L9 18.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }   /* the list rows' chevron as a mask (dashboard.js CHEVRON), here for the club page and the dashboard's sheet */
  .dash, .wrap.top { width: min(100% - 2 * var(--gutter), 88rem); }   /* the page and its header wider than the site's 72rem: two roomy columns on a laptop (.wrap.top outweighs site.css's .wrap) */
  .dash { --btn: var(--qb); --btn-ink: var(--ink); margin-inline: auto; padding-block: clamp(.5rem, 3vh, 2rem) 3rem; display: grid; gap: 1.5rem; align-content: start; }   /* main grows to the page height: never stretch the rows */
  .dash section { display: grid; gap: 1rem; align-content: start; padding: clamp(1.25rem, 1rem + 2vw, 2rem); background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-l); }
  .dash h1, [data-sec="drills"] #dTitle { margin: 0; max-width: none; font-family: inherit; font-size: var(--title); font-weight: 700; line-height: 1.05; color: var(--head); text-align: start; }   /* a page's title in the panel's one font: the dot face is for digits and the scoreboard only (golden rules 5.2, his ok 16 Nov) */
  .dash h2 { margin: 0; font-size: 1.05rem; }
  .dash p { margin: 0; text-wrap: pretty; }
  .dash ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
  .dash .lead, .dash .label { color: var(--soft); }
  /* a section's label: the word alone, no bar before it (the coach, 16 Nov: "It's ai sign"; golden rules 2.3) (sentence case: capitals are the scoreboard's) (after .dash h2 and .dash .label: it wins) */
  .dash .kicker, #pop .kicker { margin: 0; font-size: .9rem; font-weight: 600; color: var(--head); }
  /* "needs attention": a red lamp before the word, the one signal (2.4) (an old Safari without color-mix() keeps the dot, not its ring) */
  .dash .kicker.warn::before { content: ""; display: inline-block; vertical-align: middle; inline-size: .6em; block-size: .6em; margin-inline-end: .7rem; border-radius: 50%; background: var(--bad);
    box-shadow: 0 0 0 .2em color-mix(in oklch, var(--bad) 22%, transparent); }
  .dash .btn { justify-content: center; justify-self: start; filter: none; }   /* same soft button as .sagain; the header stays outside .dash */
  .dash .btn:where(:not(:disabled, [aria-disabled="true"])):active { background: color-mix(in srgb, var(--ink) 4%, var(--qb)); }
  .dash .pic { inline-size: 6rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); background: color-mix(in oklch, var(--ink) 10%, var(--page)); flex: none; }
  .dash button { font: inherit; color: inherit; cursor: pointer; }
  .sess { display: grid; gap: 1.5rem; align-items: start; }
  .sess > div { display: grid; gap: 1.5rem; min-inline-size: 0; }
  .sess > div:not(:has(> :not([hidden]))) { display: none; }   /* Next and its empty line both hidden: no empty grid item, no extra gap */
  @media (min-width: 900px) {   /* Next and Your sessions left; the calendar, Groups and Team stacked in #side right, over both rows (the coach's pick, quiet-panels B, 1 Nov); the calendar hidden: its one line on top of the side */
    .sess { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); grid-template-rows: auto 1fr; }   /* Next hidden: Your sessions takes row 1; a tall side grows the last row */
    .sess > #side { grid-column: 2; grid-row: 1 / -1; align-content: start; }
    .sess > :not(#side) { grid-column: 1; }
    #side > section { padding: 1.25rem; }   /* the narrower side panels: room inside (Next and Your sessions keep theirs) */
  }
  @media (max-width: 899px) { .sess > #side { display: contents; } #side > #cal { order: 1; } .sess > #mine { order: 2; } #side > :is(#groups, #team) { order: 3; } }   /* a phone: one column, Next, the calendar, Your sessions (opened daily), Groups, Team */
  /* Next: the drill picture at its own shape, never cut, about as tall as the text block beside it (a tall drill gets narrower, a very wide one
     shorter); the text one block, centred on it. Under 26rem of panel (a phone) the picture goes full width and the text under it */
  #next { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; container-type: inline-size; }
  #next .pic { inline-size: auto; block-size: auto; aspect-ratio: auto; max-inline-size: 100%; max-block-size: 16rem;
    border: 1px solid var(--line); border-radius: var(--r-l); }
  #next > div { display: grid; gap: .35rem; flex: 1 1 100%; min-inline-size: 0; }
  @container (min-width: 26rem) { #next .pic { max-inline-size: min(50%, 24rem); max-block-size: 12rem; } #next > div { flex: 1 1 0; } }
  /* a tall (portrait) drill: always beside the text and big, a third of a phone's card, 18rem tall on a laptop (the coach's pick, 19 Oct; next-1/next-2);
     drawNext sets data-tall from the loaded picture's own size */
  #next[data-tall] .pic { max-inline-size: 36cqi; max-block-size: 18rem; }
  #next[data-tall] > div { flex: 1 1 0; }
  @container (width < 18rem) { #next[data-tall] .pic { max-inline-size: 100%; max-block-size: 16rem; } #next[data-tall] > div { flex-basis: 100%; } }   /* a 320 px phone: no room beside, stacked as a wide one */
  #next .name { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
  #next .when { font-size: 1.25rem; }   /* name, time, countdown: three steps down */
  #next .count { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--head); text-shadow: none; }   /* words (Tagad, pēc 2 dienām): the panel's font; the dot face is for digits (golden rules 5.2, his ok 16 Nov) */
  #dayList li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding-block: .6rem; border-block-start: 1px solid var(--line); }
  #dayList .pic { inline-size: 4rem; }
  #dayList li > div { display: grid; flex: 1 1 6rem; min-inline-size: 0; }
  .sname { min-inline-size: 0; overflow-wrap: anywhere; font-weight: 600; color: inherit; }
  #dayList .sname { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* one line, as in Your sessions (coach, 16 Oct) */
  #dayList button.sname { padding: 0; background: none; border: 0; text-align: start; text-decoration: underline; text-underline-offset: 3px; }   /* another place's training: shows it there, read like a link */
  .swhen { color: var(--soft); }
  /* Your sessions: find and the filter above the cards; a heading over each group (Coming, No date, Past). A card: the date block
     (weekday over the day, scoreboard digits; past ones dimmed, none dashed), the name and the rest of the date, the picture (none: a faint pitch), the chevron.
     Open: its drills numbered (scoreboard digits), notes clamped to 2 lines, Delete quiet at the end */
  .stools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
  #sFind { flex: 1 1 12rem; min-inline-size: 0; }
  #sShow { flex: 0 1 auto; min-inline-size: 0; max-inline-size: 14rem; }   /* the filter button: a long club · group name cut with … */
  :root { --pick: 2px; --pick-c: var(--acc); }
  .dash:not(.club) { --pick-c: var(--head); }
  .dash.club { --pick-c: var(--acc); }   /* resolve where .away sets the club's accent, rather than inheriting the root's resolved colour */
  /* A switch: connected cells on a computer, straight underlines on a phone.
     Layout breakpoints only set these values; the look lives here. */
  .switch { display: flex; flex: none; --switch-edge: 1px; --switch-radius: var(--r); --switch-y: 0px; --switch-spread: var(--pick); }
  .switch button { min-block-size: var(--field-h); padding: .2em .5em; font-family: inherit; font-size: .9rem; line-height: 1.3; font-weight: 400; white-space: nowrap; cursor: pointer; color: var(--soft); background: var(--panel); border: var(--switch-edge) solid var(--field-line); border-block-end: 1px solid var(--field-line); border-radius: 0; }
  .switch button + button { border-inline-start: 0; }
  .switch button:first-child { border-start-start-radius: var(--switch-radius); border-end-start-radius: var(--switch-radius); }
  .switch button:last-child { border-start-end-radius: var(--switch-radius); border-end-end-radius: var(--switch-radius); }
  .switch button:is([aria-pressed="true"], [aria-selected="true"]) { color: var(--ink); font-weight: 600; box-shadow: inset 0 var(--switch-y) 0 var(--switch-spread) var(--pick-c); }
  .switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .switch button:not([aria-pressed="true"], [aria-selected="true"]):active { background-image: linear-gradient(var(--tint), var(--tint)); }
  @media (hover: hover) and (pointer: fine) { .switch button:not([aria-pressed="true"], [aria-selected="true"]):hover { background-image: linear-gradient(var(--tint), var(--tint)); } }
  /* more choices than one row holds (a tournament's teams): the same cells wrapping in a grid, sharing 1 px lines; a count at a cell's end */
  .switch.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--cell-min, 7rem), 1fr)); padding: 1px 0 0 1px; }
  .switch.grid button:nth-child(n) { display: flex; align-items: center; justify-content: space-between; gap: .5em; min-inline-size: 0; margin: -1px 0 0 -1px; text-align: start;
    white-space: normal; overflow-wrap: anywhere; border-inline-start: var(--switch-edge) solid var(--field-line); border-radius: 0; }
  .switch.grid button:is([aria-pressed="true"], [aria-selected="true"]) { position: relative; z-index: 1; }   /* its frame over the neighbours' lines */
  @container (width < 34rem) { .wmode { --switch-edge: 0px; --switch-radius: 0px; --switch-y: calc(-1 * var(--pick)); --switch-spread: 0px; } }
  #list { display: grid; gap: .55rem; }
  #list > ul { gap: .55rem; }
  #list > .sagain { justify-self: start; }   /* Show older (N): its own width, not the grid's */
  .sgroup { display: flex; align-items: center; gap: .7rem; margin: .7rem 0 0; font-size: .8rem; font-weight: 600; color: var(--soft); }
  .sgroup:first-child { margin-block-start: 0; }
  .sgroup::after { content: ""; flex: 1; border-block-start: 1px solid var(--line-thin); }
  .srow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .5rem .9rem; padding: .55rem .45rem .55rem .6rem;
    border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s; }   /* no fill: the panel's own colour */
  .sdate { display: grid; align-content: center; justify-items: center; gap: .2rem; inline-size: 3.2rem; block-size: 3.2rem; line-height: 1; border-radius: 9px;
    background: light-dark(var(--head), color-mix(in oklch, var(--acc) 10%, transparent)); border: 1px solid var(--soft); }   /* daylight: a black scoreboard tile */
  .sdate > :first-child { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: light-dark(rgb(255 255 255 / .7), var(--soft)); }
  .sdate > :last-child { font: 700 1.4rem/1 var(--face); color: light-dark(var(--on-ink), var(--acc)); text-shadow: none; }
  .past .sdate { background: none; border-color: var(--line); }
  .past .sdate > :first-child { color: var(--soft); }
  .past .sdate > :last-child { color: var(--soft); text-shadow: none; }
  .sdate.none { background: none; border: 1px dashed color-mix(in oklch, var(--ink) 30%, transparent); }
  .sdate.none > :last-child { font-size: 1.1rem; color: color-mix(in oklch, var(--ink) 35%, transparent); text-shadow: none; }
  .sinfo { display: grid; gap: .15rem; justify-items: start; min-inline-size: 0; }
  #list .sname { display: block; min-inline-size: 0; max-inline-size: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 650; line-height: 1.3; text-decoration: none; }
  #list :is(a, button).sname:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
  @media (hover: hover) and (pointer: fine) { #list :is(a, button).sname:hover { text-decoration: underline; text-underline-offset: 3px; } }
  #list button.sname { padding: 0; background: none; border: 0; text-align: start; }   /* an assisted training elsewhere: opens its row */
  .srow.away { border-style: dashed; }   /* dashed: not mine to change here */
  /* a training elsewhere's place, "FC Drilleri ›" (plan: 2026-10-20-away-rows-stay.md): the one link that switches place, in its pill's colour, after the
     date; wraps under it when there's no room (no dangling dot). The padding, taken back by the margin: a bigger tap without a taller line */
  .swhen:has(> .splace) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6em; }
  .dash .splace { padding: .2rem 0; margin-block: -.2rem; font-weight: 600; color: var(--lime); background: none; border: 0; text-align: start; text-underline-offset: 3px; }   /* .dash: over .dash button's colour */
  .dash .splace.club { color: light-dark(var(--club-l), var(--club-d)); }
  .splace:focus-visible { text-decoration: underline; }
  @media (hover: hover) and (pointer: fine) { .splace:hover { text-decoration: underline; } }
  #list .swhen { min-inline-size: 0; overflow-wrap: anywhere; font-size: .85rem; font-variant-numeric: tabular-nums; }   /* a long place name wraps */
  .vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }   /* read out, not shown */
  #list .nodate { position: relative; padding: .05em .75em; font-size: .8rem; font-weight: 600; color: var(--soft); background: none; border: 1px dashed color-mix(in oklch, var(--ink) 40%, transparent); border-radius: var(--pill); }
  #list button.nodate { border-color: var(--field-line); }   /* the dashboard's control: the 3:1 edge (on the club page it is a span and keeps the line above) */
  #list .nodate::after { content: ""; position: absolute; inset: 0 -.3rem -.75rem; }   /* a finger-sized target, grown down and sideways only: never over the name above */
  #list .nodate[aria-pressed="true"] { color: var(--ink); background: none; border: 1px solid var(--field-line); box-shadow: inset 0 0 0 var(--pick) var(--pick-c); }
  .srow .pic { inline-size: 4.6rem; border-radius: 7px; }
  #mine { container-type: inline-size; }
  @container (width >= 30rem) { .srow .pic { inline-size: 5.5rem; } }   /* bigger only where Your sessions has room (a 900 px screen or three columns at 1280 squeeze the name) */
  .srow span.pic, #dayList span.pic, .cards span.pic { position: relative; background: color-mix(in oklch, var(--ink) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line-thin); }
  .srow span.pic::after, #dayList span.pic::after, .cards span.pic::after { content: ""; position: absolute; inset: 22% 20%; background: color-mix(in oklch, var(--ink) 26%, transparent);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 22'%3E%3Cg fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='1' y='1' width='30' height='20' rx='1'/%3E%3Cpath d='M16 1v20M1 6h5v10H1M31 6h-5v10h5'/%3E%3Ccircle cx='16' cy='11' r='3.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
  /* the row's open toggle, one look wherever a row opens in place (My workspace, the club's Treniņi list, the calendar): a field's height,
     the chevron on the row's end edge as the lists' ›, a quiet fill on hover and press */
  :is(#list .sopen, .wtog) { display: grid; place-items: center end; inline-size: var(--field-h); block-size: var(--field-h); padding: 0; color: var(--soft); background: none; border: 0; border-radius: var(--r); }
  :is(#list .sopen, .wtog):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  :is(#list .sopen, .wtog):active { background: var(--field-bg); }
  @media (hover: hover) and (pointer: fine) { :is(#list .sopen, .wtog):hover { background: var(--field-bg); } }
  #list .sopen svg { inline-size: 1.15rem; block-size: 1.15rem; }
  @media (prefers-reduced-motion: no-preference) { #list .sopen svg { transition: transform .2s ease-out; } }
  #list .sopen[aria-expanded="true"] { color: var(--head); }
  /* every row that opens in place: ⌄ closed, ⌃ open, as the calendar's and the panels' (the coach, 26 Nov: one way for all) */
  :is(#list .sopen, .grow .gchev, .plrow .gchev) svg { transform: rotate(90deg); }
  :is(#list .sopen[aria-expanded="true"], .grow[aria-expanded="true"] .gchev, .plrow[aria-expanded="true"] .gchev) svg { transform: rotate(-90deg); }
  .srow > .sbody { grid-column: 2 / -1; display: grid; gap: .7rem; justify-items: start; padding: .2rem .45rem .2rem 0; }   /* in line with the name */
  .scards { inline-size: 100%; margin: 0; padding: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; overflow: clip; }
  .scards li + li { border-block-start: 1px solid var(--line-thin); }
  .scards { --sc-pad: .8rem; --sc-num: 1.8rem; --sc-gap: .8rem; --sc-pic: 5.4rem; --sc-lead: 0rem; }
  .scards:has(.scpic) { --sc-lead: calc(var(--sc-pic) + var(--sc-gap)); }   /* with pictures the name starts a picture and a gap further in */   /* a drill line's side padding and its number's column: + Copy under it starts where the name starts (golden rules 1.1, 1.8) */
  .scard { display: flex; align-items: flex-start; gap: var(--sc-gap, .8rem); inline-size: 100%; padding: .55rem var(--sc-pad, .8rem); text-align: start; background: none; border: 0; }
  .scpic { flex: none; inline-size: var(--sc-pic, 5.4rem); block-size: 4rem; object-fit: cover; border-radius: 4px; background: color-mix(in oklch, var(--ink) 10%, var(--page)); }
  .sctext { flex: 1; display: grid; grid-template-columns: var(--sc-num, 1.8rem) minmax(0, 1fr) auto; align-items: baseline; gap: .15rem .6rem; min-inline-size: 0; padding-block-start: .1rem; }
  .scnum { font: 700 1.15rem/1 var(--face); color: var(--acc); text-shadow: none; }
  .scname { min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }   /* one line, as the session names; a tap shows it whole */
  .scmin { font-size: .85rem; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .scnotes { grid-column: 2 / -1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .85rem; color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
  #list .sdel { justify-self: start; }   /* on the drills' left edge, never alone at the right (golden rule 1.8) */
  #list .stop { display: flex; flex-wrap: wrap; gap: 0 var(--ract-gap); margin-block-end: -.5rem; }   /* + Drills and Change on one line, close over the drills */
  /* a row that opens a place: an open row's Apmeklējums (a game's Spēles lapa) and Saturs, in the calendar (club.css places them) and in My workspace
     (plan 2026-11-25-open-row-a.md): the place's name in bold, a › at the end, a 1 px rule under; the row is the control (golden rules 0, 7.2) */
  .gorow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; min-block-size: var(--field-h); margin: 0; padding: .3rem .55rem .3rem 0; font: inherit; font-weight: 600; color: var(--ink);
    text-align: start; text-decoration: none; background: none; border: 0; border-block-end: 1px solid var(--line-thin); border-radius: 0; cursor: pointer; }
  .dash .gorow { font-weight: 600; }   /* over .dash button's inherit */
  .gorow::after { content: ""; flex: none; margin-inline-start: auto; inline-size: 1.15rem; block-size: 1.15rem; background: var(--soft); mask: var(--chev) center / contain no-repeat; }
  .gorow > .mkc { flex: none; margin-inline-start: auto; font-weight: 400; }   /* the stored marks' counts just before the ›; too narrow (320 px): with the › under the word */
  .gorow:has(> .mkc)::after { margin-inline-start: 0; }
  .gorow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .gorow:active { background: var(--tint); }
  @media (hover: hover) and (pointer: fine) { .gorow:hover { background: var(--tint); } .gorow:hover::after { background: var(--ink); } }
  /* My workspace and Šodien: the two one under the other, on a wider page side by side with one seam (the calendar's look, its own tracks there) */
  :is(#list, #today, #gOpen) .sgo { display: grid; inline-size: 100%; grid-template-columns: minmax(0, 1fr); border-block-start: 1px solid var(--line-thin); }
  @media (min-width: 40rem) { :is(#list, #today, #gOpen) .sgo { grid-template-columns: 1fr 1fr; } :is(#list, #today, #gOpen) .sgo > .gorow + .gorow { padding-inline-start: .9rem; border-inline-start: 1px solid var(--line-thin); } }
  /* the calendar panel: the month, the days Monday first with a dot on a training day, the time, the chosen day and Put a session */
  #cal :focus-visible:not(input, select, #calToggle) { outline: 2px solid var(--ink); outline-offset: 2px; }   /* its fields take the shared ring */
  #calBody { display: grid; gap: 1rem; }
  .calhead { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  #clock { font: 700 1.5rem/1.1 var(--face); color: var(--acc); text-shadow: none; text-align: center; }   /* the start time's digits: scoreboard */
  .calhead .title { font-size: 1.15rem; font-weight: 700; line-height: 1.2; color: var(--head); text-align: center; }   /* the month is a word: the panel's font, sentence case (5.1, 5.2) */
  .calhead .title::first-letter { text-transform: uppercase; }   /* Latvian's month is lower case: "Novembris 2026" */
  .calhead button { flex: none; }   /* ‹ › the shared quiet button, as the week's (golden rule 6: a quiet button keeps its edge) */
  .calhead button:disabled { opacity: .3; cursor: default; }
  .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
  .days .wd { font-size: .8rem; color: var(--soft); }
  .days button { position: relative; block-size: max(44px, 2.6rem); padding: 0; background: none; border: 0; border-radius: var(--r-s); font-variant-numeric: tabular-nums; }
  .days button.has { font-weight: 700; }
  .days button.has::after { content: ""; position: absolute; inset-inline-start: calc(50% - 2.5px); inset-block-end: 3px; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--head); }
  .days button.today { text-decoration: underline 2px; text-underline-offset: 4px; }
  :is(.days, .wstrip) button[aria-pressed="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 var(--pick) var(--pick-c); }
  .days button.also::before { content: ""; position: absolute; inset-inline-start: calc(50% - 3px); inset-block-end: 2px; inline-size: 6px; block-size: 6px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--soft); }   /* another place's training: an outlined dot (today is underlined, so ::before is free) */
  .days button.has.also::after { inset-inline-start: calc(50% - 6.5px); }   /* both: mine left, the other place's right */
  .days button.has.also::before { inset-inline-start: calc(50% + .5px); }
  .clockbox { display: grid; gap: .6rem; justify-items: center; padding-block: 1rem; border-block: 1px solid var(--line); }
  /* the start time: the scoreboard's digits, hours : minutes as two selects (24 h whatever the browser's locale, coach 20 Oct; a phone: its own
     wheel), each column's − / + under it; a dotted line under the digits says they can be picked */
  #clock { display: grid; grid-template-columns: auto auto auto; justify-items: center; align-items: center; gap: .5rem .4rem; font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); }
  #clock select { appearance: none; font: inherit; color: inherit; text-shadow: inherit; text-align: center; font-variant-numeric: tabular-nums; inline-size: auto; block-size: auto;
    padding: 0 .12em; background: none; border: 0; border-block-end: 2px dotted var(--soft); border-radius: var(--r-s) var(--r-s) 2px 2px; cursor: pointer; }
  @media (hover: hover) and (pointer: fine) { #clock select:hover { background: color-mix(in oklch, var(--head) 10%, transparent); } }
  #clock select:active { background: color-mix(in oklch, var(--head) 16%, transparent); }
  #clock select:focus-visible { outline: 2px solid var(--head); outline-offset: 2px; }
  @media (forced-colors: active) { #clock select { border-block-end-color: CanvasText; } }   /* high contrast: its dotted line stays seen */
  #clock > .steps { color: var(--ink); grid-row: 2; font: 400 1rem/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-shadow: none; }   /* the body's font, not the digits' */
  #clock > .steps:last-child { grid-column: 3; }
  /* the calendar's Group and Session name: one grid, the words in a column ending at one edge, the fields starting at one edge, one width */
  .planrows { display: grid; grid-template-columns: auto minmax(0, 14rem); gap: .6rem; align-items: center; max-inline-size: 100%; }
  .planrows > .sgsel { grid-column: 1 / -1; grid-template-columns: subgrid; gap: .6rem; align-items: center; }
  .planrows > .sgsel > span:first-child { justify-self: end; }
  #planG, #planWhat, #planNameIn { inline-size: 100%; min-inline-size: 0; text-overflow: ellipsis; }   /* the look: the shared field rule in site.css */
  #gFail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; text-align: center; }
  .steps { display: flex; align-items: center; gap: .5rem; }
  .steps button, #dayList .clear { flex: none; background: var(--qb); border: 0; }
  .steps span { position: absolute; inline-size: 1px; block-size: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }   /* h / min: under its own column the unit is plain; said by its buttons' labels */
  .clockbox > p:not([id]) { font-size: .85rem; color: var(--soft); }
  .dash button.btn { border: 0; color: var(--btn-ink); }   /* .dash button would take the .btn colours */
  #put { justify-self: stretch; white-space: normal; }
  #put > span { display: grid; text-align: center; }   /* the action over the day and time */
  #put > span > :last-child:not(:first-child) { font-weight: 400; }
  #put:disabled { opacity: .5; cursor: default; filter: none; }
  #put, #note { min-inline-size: 0; overflow-wrap: anywhere; }
  /* planning (plan 2026-10-27-weekly-times-one-place.md): the line over the days (the picked ones framed, as a chosen day), the fields, then Cancel left,
     what Save makes and Save right; only Save takes the accent. A phone: the bar stays at the screen's bottom while the calendar is in sight */
  .planline { margin-block-end: -.5rem; font-size: .9rem; font-style: italic; color: var(--soft); }
  .planbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem .75rem; }   /* the line on its own row over Atcelt … Saglabāt: the column is narrow */
  .planbar > p { grid-row: 1; grid-column: 1 / -1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .planbar > .btn { grid-column: 3; }
  .dash .planbar > .btn { background: var(--fill); color: var(--on-fill); }
  .planbar > .btn:disabled { opacity: .5; cursor: default; }
  @media (max-width: 899px) { .planbar { position: sticky; inset-block-end: 0; z-index: 1; padding-block: .75rem; background: var(--panel); border-block-start: 1px solid var(--edge); } }
  @media (hover: hover) and (pointer: fine) { .days button:not([aria-pressed="true"]):hover, button.scard:hover { background: var(--tint); }
    #list .nodate[aria-pressed="false"]:hover { color: var(--ink); border-color: var(--soft); }
    .dacts .ddel:hover, #pop .libacts .ddel:hover { color: var(--bad); background: color-mix(in oklch, var(--bad) 12%, transparent); } }
  :is(.sagain, .gaddp):where(:not(:disabled, [aria-disabled="true"])):active { background: color-mix(in srgb, var(--ink) 4%, var(--qb)); }   /* a press seen (good-css: everything pressable) */
  @media (hover: hover) and (pointer: fine) { :is(.sagain, .gaddp):where(:not(:disabled, [aria-disabled="true"])):hover:not(:active), .dash .btn:where(:not(:disabled, [aria-disabled="true"])):hover:not(:active) { background: color-mix(in srgb, var(--ink) 2%, var(--qb)); } }
  @media (hover: hover) and (pointer: fine) { .dash .planbar > .btn:hover:not(:active) { background: var(--fill); } }   /* planning's Save keeps its fill over the grey hover above */
  /* the Drills tab: search, the topic chips (one filters), a grid of tiles */
  #dFind { min-inline-size: 0; }   /* across the tiles' width (golden rule 1.10) */
  #sFind, #dFind { padding-inline-start: 2.2em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23868c92' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13l5 5'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: .7em 50%; background-size: 1em; }   /* longhands: the shared fill stays under it. A magnifier, one grey for both themes */
  .chips { display: flex; flex-wrap: wrap; gap: .4rem; }
  .chips button { max-inline-size: 100%; min-block-size: 2.2rem; padding: .2em .9em; font-size: .85rem; font-weight: 600; color: var(--soft); background: none; border: 1px solid var(--field-line); border-radius: var(--pill); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chips button[aria-pressed="true"] { color: var(--on-ink); background: var(--head); border-color: var(--head); }
  #dState:empty { display: none; }
  /* the topics, several on at once (All clears them): one list, a tick box before each, its count at the end (All, the topics with drills,
     then Other topics that unfolds the rest in place, dimmed). On a computer a side bar left of the drills; under 900 px one quiet button
     (#dPick: the picked ones) whose sheet holds the same list (dashboard.js moves it in while open; the coach 25 Nov, "1A") */
  .dview { display: grid; gap: 1.5rem; align-items: start; }
  #dChips { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  #dChips button { display: flex; align-items: center; gap: .75rem; max-inline-size: none; min-block-size: 2.75rem; padding: .45em .5em; font-size: .95rem; font-weight: 400; text-align: start;
    white-space: normal; overflow-wrap: anywhere; color: var(--ink); background: none; border: 0; border-radius: var(--r-s); }
  #dChips button::before { content: ""; flex: none; display: grid; place-items: center; inline-size: 1.15em; block-size: 1.15em; font-size: .9em; font-weight: 700; line-height: 1;
    color: var(--pick-c); border: 1.5px solid var(--field-line); border-radius: 3px; }   /* the tick box: framed, its tick in the frame colour (never white on yellow) */
  #dChips button[aria-pressed="true"]::before { content: "✓"; content: "✓" / ""; border: 2px solid var(--pick-c); }
  #dChips button:is([data-k="all"], .dmore)::before { visibility: hidden; }   /* All clears, Other topics unfolds: no tick, their words on the topics' edge */
  #dChips button[aria-pressed="true"] { font-weight: 600; }
  #dChips .dcount { margin-inline-start: auto; color: var(--soft); font-variant-numeric: tabular-nums; }
  #dChips .dzero { opacity: .6; }
  #dChips :is(.dsep, .dmore) { margin-block-start: .5rem; border-block-start: 1px solid var(--line-thin); border-radius: 0; }   /* the lines before the topics and before Other topics */
  #dChips .dmore { color: var(--soft); }
  #dChips .dmore::after { content: ""; display: inline-block; inline-size: .4em; block-size: .4em; margin-inline: auto .2em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
  #dChips .dmore[aria-expanded="true"]::after { transform: translateY(.05em) rotate(-135deg); }
  #dChips button:active { background: var(--tint); }
  @media (hover: hover) and (pointer: fine) { #dChips button:hover { background: var(--tint); } }
  #dSheet #dChips { margin-block-start: .25rem; }
  @media (min-width: 900px) {
    .dview { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
    #dPickBox { display: none; }
  }
  @media (max-width: 899px) {
    #drillsView { display: grid; gap: 1rem; padding: clamp(1.25rem, 1rem + 2vw, 2rem); background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-l); }
    #drillsView > section { display: contents; }
    #drillsView > section:first-child > .kicker { display: none; }
    #dTitle, #dFind, #dFilt { order: -1; }   /* My drills' empty shape (#dLead) stays under the topics' button */
    #drillsView > section > #dChips { display: none; }   /* the list shows in #dSheet */
  }
  /* a tile: the whole picture edge to edge on the editor's paper cream (contain, never cut; the ground colour is a browser setting, not saved),
     a button that opens the editor, with the coach's own ★ in its corner; then a body: the name with ✎, the size and players, the topic pills, its actions at the foot (+ To a session first). Only .cards > li: the session list in a panel is a list too */
  .dash .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); grid-auto-flow: dense; gap: 1rem; align-items: stretch; }   /* dense: the tile after an open one fills the gap it leaves */
  .cards > li { display: flex; flex-direction: column; min-inline-size: 0; overflow: clip; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); transition: border-color .15s, box-shadow .15s; }
  .cards .dpic { position: relative; display: grid; align-content: center; background: #f2f0e8; border-block-end: 1px solid var(--line-thin); }
  .cards .dopen { display: block; inline-size: 100%; padding: 0; background: none; border: 0; border-radius: 0; }   /* the picture: a button, nothing of its own shown */
  .cards .dopen > .pic { display: block; inline-size: 100%; object-fit: contain; background: none; border-radius: 0; }
  .cards span.pic::after { inset: 30% 32%; background: rgb(0 0 0 / .15); }   /* no picture (saved before pictures came): a faint pitch on the cream */
  .cards .dopen:focus-visible { outline: 3px solid var(--head); outline-offset: -3px; border-radius: 0; }   /* inward: the tile clips */
  .cards .dopen:active > .pic { opacity: .85; }
  /* the picture's ★ (a coach's own favourite) in its top corner: a soft disc of the page's colour so it reads on cream paper and a white pitch in
     either theme; filled in the accent once on. A 44 px tap box round the 2rem disc (it stays inside the tile, which clips) */
  .cards .dstar { position: absolute; inset-block-start: .5rem; inset-inline-end: .5rem; display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; padding: 0;
    color: var(--ink); background: color-mix(in oklch, var(--page) 78%, transparent); border: 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-thin); }
  .cards .dstar::before { content: ""; position: absolute; inset: min(0px, (100% - 44px) / 2); }
  .cards .dstar svg { inline-size: 1.15rem; block-size: 1.15rem; fill: none; }
  .cards .dstar[aria-pressed="true"] { color: var(--acc); }
  .cards .dstar[aria-pressed="true"] svg { fill: currentColor; }
  .cards .dstar[aria-disabled="true"] { cursor: default; }
  .cards .dstar:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
  .cards .dstar:active { scale: .92; }
  @media (prefers-reduced-motion: no-preference) { .cards .dstar { transition: scale .12s ease-out; } }
  @media (hover: hover) and (pointer: fine) { .cards .dstar:hover:not(:active) { background: var(--page); } }
  /* the filter line under the search: what narrows the drills and how many show, Clear at its end */
  #dFilt { display: flex; align-items: center; gap: .3rem 1rem; max-inline-size: 100%; margin: 0; font-size: .85rem; color: var(--soft); font-variant-numeric: tabular-nums; }
  #dFilt > span { flex: 1; min-inline-size: 0; overflow-wrap: anywhere; }
  .dash #dFilt .dclear { flex: none; min-block-size: 2.4rem; padding: .2em .6em; font-weight: 600; color: var(--soft); background: none; border: 0; border-radius: var(--r-s); text-decoration: underline; text-underline-offset: 3px; }
  #dFilt .dclear:active { color: var(--ink); background: var(--tint); }
  @media (hover: hover) and (pointer: fine) { #dFilt .dclear:hover:not(:active) { color: var(--ink); } }
  .dbody { flex: 1; display: flex; flex-direction: column; align-items: start; gap: .4rem; min-inline-size: 0; padding: .8rem .9rem .9rem; }
  .dname { max-inline-size: 100%; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
  .dhead { display: flex; align-items: flex-start; gap: .5rem; align-self: stretch; }
  .dhead > .dname { flex: 1; padding-block: .15rem; }   /* a colleague's club drill: the name alone */
  .dedit { flex: 1; min-inline-size: 0; padding: .15rem 0; text-align: start; background: none; border: 0; border-radius: 4px; }
  /* the ✎ after the name: a word joiner and spaces that can't break, with the pencil on them, so it never sits alone on a line; one grey for both themes */
  .dedit .dname::after { content: "\2060\a0\a0\a0\a0\a0"; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h4L19.5 8.5l-4-4L4 16zM13.5 6.5l4 4' fill='none' stroke='%23868c92' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 100% 55% / 1.05em; }
  .dedit[aria-expanded="true"] { color: var(--head); }
  .cards .dadd { align-self: flex-start; max-inline-size: 100%; }   /* + To a session: the quiet button (.sagain), as wide as its words, quiet while its list is open too */
  .cards .dadd[aria-expanded="true"] { color: var(--ink); background: var(--qb); box-shadow: inset 0 0 0 1px var(--quiet-edge); }
  .dfacts { font-size: .85rem; color: var(--soft); font-variant-numeric: tabular-nums; }
  .dfacts:empty { display: none; }
  .cards .dwords, #pop .dwords { display: flex; flex-wrap: wrap; gap: .3rem; max-inline-size: 100%; font-size: .75rem; font-weight: 600; color: var(--soft); }
  .cards .dwords:empty, #pop .dwords:empty { display: none; }
  .cards .dwords span, #pop .dwords span { max-inline-size: 100%; padding: .1em .6em; background: var(--tint); border-radius: var(--pill); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dacts { display: flex; flex-direction: column; gap: .2rem; inline-size: 100%; margin-block-start: auto; padding-block-start: .3rem; }   /* a tile's actions: + To a session, a club's Copy to my drills and Delete; an assisted place's Copy */
  #pop .libacts .ddel { flex: none; margin-inline-start: auto; }   /* the closer look's Delete (a club drill of mine): quiet, last */
  :is(.dacts, #pop .libacts) .ddel { align-self: end; min-block-size: 2.4rem; padding: .2em .9em; font-size: .85rem; font-weight: 600; color: var(--soft); background: none; border: 0; border-radius: var(--r-s); }   /* a club drill's Delete, quiet as a session's */
  #dMoreBtn { justify-self: center; }   /* a club library's next 100 */
  .dticks .ddone { margin-inline-start: auto; color: var(--ink); background: var(--qb); border-color: var(--quiet-edge); }
  /* an open tile takes its whole row: the picture at about a tile's width, the body beside it, the panel on its own line below */
  .cards > li.open { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); border-color: var(--head); }
  .cards > li.open > .dpic { border-block-end: 0; border-inline-end: 1px solid var(--line-thin); }
  .cards > li > .dpanel { grid-column: 1 / -1; margin: .9rem; }
  .chips button:disabled { opacity: .45; cursor: default; }
  .dash .dpick { gap: 0; max-block-size: 16rem; overflow-y: auto; padding: .2rem; border: 1px solid var(--line-strong); border-radius: var(--r-s); }
  .dpick button { display: block; inline-size: 100%; padding: .45em .6em; font: inherit; font-weight: 600; color: inherit; text-align: start; overflow-wrap: anywhere; background: none; border: 0; border-radius: var(--r-s); }
  .dpick button span { font-weight: 400; color: var(--soft); }
  /* the target's bar (plan: 2026-10-18-dashboard-add-drills.md): over the tiles and kept in view while they scroll; its line under it, also after the bar goes */
  #dAim { position: sticky; inset-block-start: 0; z-index: 1; display: grid; gap: .4rem; }
  #dAim:has(> #dBar[hidden]):has(> #dSaid:empty) { display: none; }
  #dBar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .5em .7em; background: var(--panel); border: 1px solid var(--head); border-radius: 4px; box-shadow: 0 .4rem .8rem -.6rem rgb(0 0 0 / .4); }
  #dBar[hidden], #dSaid:empty { display: none; }
  #dTo { flex: 1 1 100%; min-inline-size: 0; margin: 0; overflow-wrap: break-word; }   /* where the drills go: a line of its own, the buttons in a row under it */
  #dTo .dplace { display: inline-block; max-inline-size: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }   /* a long club name is the part cut: the group, the session and the count always shown */
  #dBar .sagain { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }   /* the shared quiet button (its soft fill: coach, 19 Oct, "buttons, so it's clear") on the page's own colour; over .dash button's font */
  #dBar #dBack { order: 2; color: var(--btn-ink); background: var(--btn); }   /* the way on: last, in the page's own filled button colours */
  #dDone { order: 1; margin-inline-start: auto; }   /* the two ways out at the row's end, Undo and the editor at its start */
  @media (max-width: 640px) { #dBar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } #dTo { grid-column: 1 / -1; }
    #dBar .sagain { justify-content: center; text-align: center; } #dDone { margin-inline-start: 0; } }   /* a phone: the line on its own, the buttons two a row, their words may wrap between words (a hidden one takes no cell: [hidden] is !important) */
  #dSaid { margin: 0; padding: .5em .8em; background: var(--panel); border-radius: 4px; }
  .cards .dadd[aria-disabled="true"], #dUndo[aria-disabled="true"] { opacity: .45; cursor: default; }
  .dpick .lead { padding: .45em .6em; }
  @media (hover: hover) and (pointer: fine) { .chips button:not([aria-pressed="true"]):not(.ddone):enabled:hover { color: var(--ink); border-color: var(--soft); }
    .dedit:hover .dname { text-decoration: underline; text-underline-offset: 3px; }
    .cards > li:hover { border-color: var(--soft); box-shadow: 0 0 0 1px color-mix(in oklch, var(--soft) 35%, transparent); }
    .dpick button:hover { background: var(--tint); } }
  /* the dialogs (#pop, #leaveDlg, #ask; outside .dash): one frame and backdrop */
  .dlg { color: var(--ink); background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-l); box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .45); }
  .dlg::backdrop { background: rgb(5 7 9 / .72); }   /* plain: no frosted glass (golden rule 2.6) */
  .dlg button:where(:not(.switch button)) { font: inherit; cursor: pointer; }
  /* the popup: the drills side by side, one slide in view (scroll snap: a swipe or a trackpad goes to the next); the count and ‹ › × in a bar that
     stays put; long notes scroll inside their own slide; a phone: the whole screen */
  #pop { inline-size: min(100% - 2rem, 44rem); max-block-size: calc(100dvh - 2rem); padding: 0; overflow: clip; }
  #pop[open] { display: flex; flex-direction: column; }
  #pop button { color: inherit; cursor: pointer; }
  .popbar { display: flex; align-items: center; gap: .4rem; padding: .5rem .6rem .5rem .9rem; border-block-end: 1px solid var(--line); }
  .popbar button { flex: none; color: var(--head); background: var(--qb); border: 0; }
  .popbar button:disabled { opacity: .3; cursor: default; }
  .popcount { min-inline-size: 4.5rem; margin: 0; text-align: center; font: 700 1.3rem/1 var(--face); color: var(--acc); text-shadow: none; font-variant-numeric: tabular-nums; }
  .popbar .popx { margin-inline-start: auto; color: var(--ink); }
  .popstrip { flex: 1; min-block-size: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .popstrip::-webkit-scrollbar { display: none; }
  .popslide { flex: 0 0 100%; min-inline-size: 0; display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.25rem 1.4rem; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-align: center; scroll-snap-stop: always; }
  .popslide img { align-self: center; inline-size: auto; max-inline-size: min(100%, 640px); max-block-size: 62dvh; object-fit: contain; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--line-thin); }
  .popslide h2 { margin: .5rem 0 0; font-size: 1.35rem; overflow-wrap: anywhere; }
  .popmin { margin: 0; color: var(--soft); font-variant-numeric: tabular-nums; }
  .popmin:empty, .popnotes:empty { display: none; }
  .popnotes { margin: .3rem 0 0; padding-block-start: .7rem; border-block-start: 1px solid var(--line-thin); white-space: pre-line; overflow-wrap: anywhere; line-height: 1.5; }
  /* the touchline (from Next's door, or on the session's day): the clock in the bar, the count in ink, under the bar a strip of the timed
     drills (over: faint ink; on now: the one --acc, a notch at the minute reached; to come: grey), each slide's span and the next line */
  .popclock { margin: 0; margin-inline-end: auto; font: 700 1.3rem/1 var(--face); font-variant-numeric: tabular-nums; }
  #pop[data-tl] .popcount { color: var(--ink); }
  #pop:has(.popclock:not([hidden])) .popx { margin-inline-start: 0; }   /* the clock takes the free space: ‹ n / N › × go right */
  .poptl { flex: none; display: flex; gap: 3px; block-size: .55rem; margin: .7rem 1.25rem 0; }
  .poptl > i { flex: 1 1 0; min-inline-size: 3px; border-radius: var(--pill); background: var(--tint); }
  .poptl > .done { background: color-mix(in oklch, var(--ink) 30%, transparent); }
  .poptl > .now { position: relative; background: var(--acc); }
  .poptl > .now::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: clamp(0px, var(--at) - 1.5px, 100% - 3px); inline-size: 3px; background: var(--page); }
  .poptext { display: flex; flex-direction: column; gap: .5rem; }
  .popwhen, .popafter { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
  .popwhen:empty, .popafter:empty { display: none; }
  .popwhen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1rem; }
  .popleft { display: inline-flex; align-items: center; gap: .35em; margin-inline-start: auto; }   /* centred on the digits: Doto sits high on the baseline */
  .popleft b { font: 700 2.6rem/1 var(--face); font-variant-numeric: tabular-nums; }
  .popmin:has(+ .popwhen:not(:empty)) { display: none; }   /* on the day the span line says the minutes */
  .popafter { margin-block-start: .3rem; color: var(--soft); }
  #pop :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  @media (hover: hover) and (pointer: fine) { .popbar button:enabled:hover { background: var(--tint); } }
  @media (max-width: 640px) { #pop { inline-size: 100%; max-inline-size: none; block-size: 100dvh; max-block-size: none; margin: 0; border: 0; border-radius: 0; }
    .popslide { padding: .8rem .9rem 1.2rem; } .poptl { margin-inline: .9rem; } .popslide img { max-block-size: none; } .scpic { inline-size: 4.4rem; block-size: 3.3rem; } .scard { gap: .6rem; padding-inline: .6rem; } .scards { --sc-pad: .6rem; --sc-gap: .6rem; --sc-pic: 4.4rem; } }
  /* a phone on its side: the whole screen, the picture left at the height under the bar and strip, its words right, scrolling on their own */
  @media (max-height: 500px) { #pop { inline-size: 100%; max-inline-size: none; block-size: 100dvh; max-block-size: none; margin: 0; border: 0; border-radius: 0;
      padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }   /* clear of the notch (a page with viewport-fit=cover: the club page) */
    #pop:not([data-lib]) .popslide { container-type: size; flex-direction: row; gap: 1rem; padding: .7rem 1rem; overflow: clip; } .poptl { margin-inline: 1rem; }   /* a session's; the library's wraps on its own */
    #pop:not([data-lib]) .popslide img { flex: none; align-self: start; max-inline-size: 62cqi; max-block-size: 100cqb; }
    #pop:not([data-lib]) .poptext { flex: 1; min-inline-size: 0; overflow-y: auto; overscroll-behavior-y: contain; }
    .popslide h2 { margin-block-start: 0; } }
  /* the Drills tab's closer look (#pop[data-lib]): wider on a computer, a phone keeps the whole screen. Each slide one scroller, the picture and
     its words side by side when both fit, else stacked (flex-wrap, no breakpoint), over a foot of buttons that stays; the bar's ★ is the slide's */
  @media (min-width: 641px) and (min-height: 501px) { #pop[data-lib] { inline-size: min(75rem, 100% - 2rem); } }
  #pop[data-lib] .popslide { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; overflow: clip; }
  .libbody { display: flex; flex-wrap: wrap; align-items: start; gap: 1.5rem; min-block-size: 0; padding: 1.25rem; overflow-y: auto; overscroll-behavior: contain; }
  .libpic { flex: 3 1 24rem; min-inline-size: 0; background: #f2f0e8; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--line-thin); overflow: clip; }   /* the tile's paper cream round a picture that never fills its box */
  @media (min-width: 60rem) and (min-height: 501px) { .libpic { position: sticky; inset-block-start: 0; } }   /* side by side there (75rem dialog): the picture stays while long notes scroll */
  #pop[data-lib] .libpic img { display: block; inline-size: 100%; max-inline-size: 640px; max-block-size: 70dvh; margin-inline: auto; object-fit: contain; border-radius: 0; box-shadow: none; }   /* its stored 640 px at most: never blown up soft */
  #pop[data-lib] .poptext { flex: 2 1 18rem; min-inline-size: 0; }
  #pop[data-lib] .popslide h2 { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; }
  #pop[data-lib] .popnotes { margin: 0; padding: 0; border: 0; }   /* the kicker over them is the line */
  #pop .kicker { margin-block-start: .5rem; }
  #pop .dwords { font-size: .8rem; }
  .libsay { margin: 0; color: var(--soft); overflow-wrap: anywhere; }
  .libsay:empty { display: none; }
  .libsay .sagain { margin-inline-start: .4rem; }
  .libacts { display: flex; flex-wrap: wrap; justify-content: end; gap: .6rem; padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom, 0px)); border-block-start: 1px solid var(--line-thin); }
  .libacts > .sagain, .libacts > .scopyw { flex: 1 1 7rem; max-inline-size: 16rem; }   /* two a row down to a 320 px phone */
  .libacts > .sagain { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
  #pop .libacts .libadd { color: var(--btn-ink); background: var(--btn); }   /* + To a session: the one filled call, as the mockups (over #pop button's inherited ink) */
  #pop .libacts .libadd:active { background: color-mix(in srgb, var(--btn) 82%, var(--btn-ink)); }
  #pop[data-lib] .popstar { margin-inline-start: auto; display: grid; place-items: center; color: var(--ink); }
  #pop[data-lib] .popx { margin-inline-start: 0; }
  #pop:not([data-lib]) .popstar { display: none; }
  .popstar svg { inline-size: 1.4rem; block-size: 1.4rem; fill: none; }
  #pop .popstar[aria-pressed="true"] { color: var(--acc); }
  .popstar[aria-pressed="true"] svg { fill: currentColor; }
  .popstar[aria-disabled="true"] { cursor: default; }
  .popbar .popstar:active { background: var(--tint); }
  @media (hover: hover) and (pointer: fine) { #pop .libacts .libadd:hover:not(:active) { background: color-mix(in srgb, var(--btn) 90%, var(--btn-ink)); } }
  @media (max-width: 640px) { .libbody { padding: .8rem .9rem; } .libacts { padding-inline: .9rem; } #pop[data-lib] .libpic img { max-block-size: 55dvh; } }   /* a phone: the name and the notes start in sight under a tall picture */
  @media (max-height: 500px) { #pop[data-lib] .libpic img { max-block-size: calc(100dvh - 10rem); } }   /* a phone on its side: the whole picture between the bar and the buttons */
  @media (max-width: 420px) { .scards { --sc-num: 1.4rem; } .sctext { grid-template-columns: 1.4rem minmax(0, 1fr); } .scmin { grid-column: 2; } }   /* a narrow phone: the minutes under the name, so names don't break mid-word */
  #note, #gSaid, #plSaid, .plsaid, .ssaid { padding: .6em .9em; border-radius: var(--r); background: var(--field-bg); overflow-wrap: anywhere; }   /* the answer lines: one soft fill, no side stripe */
  #gSaid, #plSaid, .plsaid, .ssaid { font-weight: 600; }
  #note:empty, #gSaid:empty, #plSaid:empty, .plsaid:empty, .ssaid:empty { display: none; }
  @media (max-width: 640px) { #sFind { flex-basis: 100%; } #sShow { flex: 1 1 100%; inline-size: 0; max-inline-size: none; } :is(.sorts, .tabs, .kbtabs) { --switch-edge: 0px; --switch-radius: 0px; --switch-y: calc(-1 * var(--pick)); --switch-spread: 0px; } .sorts button { flex: 1; }   /* a phone: find takes the row, the filter the row under it (inline-size 0: its longest label never widens the page) */
    .srow { gap: .4rem .6rem; padding: .45rem .3rem .45rem .45rem; } .sdate { inline-size: 2.85rem; block-size: 2.85rem; } .srow .pic { inline-size: 3.4rem; } .srow > .sbody { grid-column: 1 / -1; padding: .1rem .15rem .1rem; } }
  @media (max-width: 360px) { .srow > .pic { display: none; } .scpic { inline-size: 3.4rem; block-size: 2.55rem; } .scards { --sc-pic: 3.4rem; } }   /* a narrow phone: the name gets the room; the drills show their pictures when opened */
  /* Your sessions as one table (the coach, 16 Nov: "visi vienādi, bet vari expand un redzēt vairāk"; golden rules 1.4, 1.9, 2.1): no box a row, rows
     on shared 1px lines; every closed row one height from equal content (the name and one line, each cut with …); opening a row shows the rest: the
     whole name, attendance, the drills. A tap on the row outside its controls opens it, as the calendar's rows. Over the box rules above */
  #list > ul { gap: 0; }
  .srow { padding-inline: 0; border: 0; border-block-end: 1px solid var(--line); border-radius: 0; cursor: pointer; }
  #list > ul > .srow:first-child { border-block-start: 1px solid var(--line); }
  .srow.away { border-color: var(--line); border-style: solid; }   /* away: its place link says it isn't mine to change here */
  .srow > .sbody { cursor: auto; }
  #list .sgrp { padding: 0; font-size: .85rem; font-weight: 400; background: none; border-radius: 0; }   /* the group as plain text, no pill (2.6) */
  #list .srow:not(.open) .snl { justify-self: stretch; } #list .srow:not(.open) .snl > .sgrp { margin-inline-start: auto; }   /* closed: the group a column at the name's end (1.4) */
  #list .srow:not(.open) .swhen { justify-self: stretch; min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* the column's width, not its text's: a long club name is cut, never pushes the page */
  #list .srow:not(.open) .swhen:has(> .splace) { flex-wrap: nowrap; }
  #list .srow:not(.open) .splace { min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  #list .srow:not(.open) .nodate { margin-block: -1px; }   /* its dashed edge takes no height: the undated row as tall as the rest */
  #list .srow.open .snl { flex-wrap: wrap; }
  #list .srow.open .sname { white-space: normal; overflow: visible; }
  @media (max-width: 640px) { .dash section, #drillsView { padding: 1rem; } #next .name { font-size: 1.35rem; }  #next[data-tall] { column-gap: 1rem; }  .dash .cards { grid-template-columns: minmax(0, 1fr); gap: .75rem; } .cards > li.open { grid-template-columns: minmax(0, 1fr); }   /* one tile a row (the coach, 16 Oct): big pictures, whole names; open: the toggles under the picture */
    .dbody { padding: .65rem .7rem .75rem; } .cards > li > .dpanel { margin: .7rem; } }
  /* assistants: the place switch, each assisted place in its own colour (one accent, --away, takes over --acc for the scoreboard and working selection, the calendar
     too); the invite card, Invites for you and the Team block share one row layout. The assisted place shows no write control (dashboard.js) */
  :root { --lime: light-dark(#3f6f49, #b7e600); --away: var(--lime); --away-fill: var(--lime); --away-on: var(--on-ink); }   /* on :root, so the popup (a dialog outside .dash) has it too; daylight: the editor's pitch green, a step darker (white on it 5.9:1, it on the page 4.9:1); floodlights: the editor's lime */
  :root.inclub { --away: light-dark(var(--club-l), var(--club-d)); --away-fill: light-dark(var(--club-fill-l), var(--club-fill-d)); --away-on: light-dark(var(--club-on-l), var(--club-on-d)); }   /* a club open: its readable shade is the page's accent, and --away-fill its fill (the club's own colour where an ink reads on it, in both themes: core.js look) (dashboard.js look() sets them on the root); the assisted pills keep --lime */
  .dash.away, :root:has(.dash.away) #pop { --acc: var(--away); --fill: var(--away-fill); --on-fill: var(--away-on); }   /* the popup is a dialog outside .dash */
  /* the places: where I am, one switch (connected cells sharing 1 px lines, the current one framed in its own colour, never filled: a
     screen's one fill is its main button, the coach 25 Nov); a club's crest says which club */
  .places { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0; min-inline-size: 0; }   /* a grid item: its one-line pills may not widen the page */
  .places button { --pick-c: var(--head); min-block-size: var(--field-h); max-inline-size: 100%; padding: .3em 1.1em; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--soft); background: var(--panel);
    border: 1px solid var(--field-line); border-radius: 0; }
  .places button ~ button { margin-inline-start: -1px; }
  .places button:first-of-type { border-start-start-radius: var(--r); border-end-start-radius: var(--r); }
  .places button:last-of-type { border-start-end-radius: var(--r); border-end-end-radius: var(--r); }
  .places button:is(.to, .club) { display: inline-flex; align-items: center; }
  .places button.to { --pick-c: var(--lime); color: var(--lime); }
  .places .pname { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }   /* a long name shortens, never the time after it */
  .places .pwhen { flex: none; white-space: pre; }   /* pre: its leading space stays at the start of a flex item */
  .places button.to.today::before { content: ''; flex: none; inline-size: .6em; block-size: .6em; margin-inline-end: .55em; border-radius: 50%; background: currentColor; }   /* trains today: lime on the plain pill, dark on the pressed one */
  .places button[aria-pressed="true"] { position: relative; z-index: 1; color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 var(--pick) var(--pick-c); }
  /* clubs (plan 2026-10-17-clubs-1b-dashboard section 2): a club's frame in the shade of its colour that reads on the page (set per pill by look()) */
  .places button.club { --pick-c: light-dark(var(--club-l), var(--club-d)); }
  .places .crest { flex: none; inline-size: 1.75em; block-size: 1.75em; margin-inline: -.75em .5em; border-radius: 50%; object-fit: cover; background: var(--club); box-shadow: 0 0 0 1px var(--field-line); }   /* a crest, or the plain mark in the club's colour; its thin ring keeps a white or black club seen */
  /* a narrow strip: one row; every pill, pressed or not, shows its short name (Mine / Mana, dot + an assisted coach's first name, a club
     its name; the pressed one at most the strip); a row still too long scrolls sideways inside itself, never the page. A wider strip: the wrapping row above */
  #places { container-type: inline-size; }
  .places .prow { display: contents; }
  @container (width < 600px) {
    .places.many .prow { display: flex; flex: 1 1 100%; gap: 0; min-inline-size: 0; padding: 4px; margin: -4px; scroll-padding-inline: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }   /* the padding keeps focus rings unclipped */
    .places.many .prow > button { position: relative; display: inline-flex; align-items: center; flex: none; min-block-size: var(--field-h); padding-inline: .8em; font-size: .94rem; }
    .places.many .prow > button { max-inline-size: 100%; }   /* the pressed one at most the strip */
    .places.many .prow > button[aria-pressed="false"] { max-inline-size: min(100%, 16em); }
    .places.many .pname[data-short] .pfull, .places.many .pwhen[data-short] .pfull { position: absolute; inline-size: 1px; block-size: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
    .places.many .pname[data-short]::after, .places.many .pwhen[data-short]::after { content: attr(data-short) / ""; }   /* "Anna", "· 18:30": the whole words stay in the text, the title and the accessible name */
    .places.many .prow .crest { margin-inline-start: -.45em; }   /* a clear gap between the crest and the cell's edge (mock E/F) */
    .places.many .prow > button.to::before { content: ''; flex: none; inline-size: .6em; block-size: .6em; margin-inline-end: .45em; border-radius: 50%; background: currentColor; }   /* the assisted place's lime dot says what "Anna" is */
  }
  /* People in a club (plan section 3): the crest and the word on the scoreboard; a row a person (initials, the name on one line, the role,
     "You"; a manager's ⋯ menu); the invite with its role, the pending invites, the club's colour, Leave club */
  .dash .phead { display: flex; align-items: center; gap: .8rem; min-inline-size: 0; font: 600 .9rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--head); }
  :is(.phead, #invFrom, .tlist li) > .crest { flex: none; inline-size: 2.6rem; block-size: 2.6rem; border-radius: 50%; object-fit: cover; background: var(--club); box-shadow: 0 0 0 2px light-dark(var(--club-l), var(--club-d)); }
  #pHead > .crest { inline-size: 3rem; block-size: 3rem; }   /* the heading's, bigger (after the :is() rule, which has an id's weight) */
  .tlist:is(.plist, #pInvites) li { flex-wrap: nowrap; gap: .6rem; }   /* one row each, as mock E (outweighs .tlist li below); the name or address gives way with … */
  .tlist:is(.plist, #pInvites) li > div { flex: 1 1 0; }
  :is(.plist, #pInvites) .tname { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* one line with …, the whole name in title */
  #pInvites .sagain { flex: none; }   /* Invite actions use the shared quiet button. */
  .pav { display: grid; place-items: center; flex: none; inline-size: 2.4rem; block-size: 2.4rem; border-radius: 50%; font-size: .85rem; font-weight: 700; color: var(--soft); border: 1px solid color-mix(in oklch, var(--ink) 35%, transparent); }
  .ptags { display: flex; flex: none; gap: .4rem; }
  .ptags > span { padding: .15em .7em; font-size: .8rem; font-weight: 600; color: var(--soft); background: var(--tint); border-radius: var(--r-s); }
  .ptags > .pme { color: var(--head); background: none; box-shadow: inset 0 0 0 1px currentColor; }   /* the shade on the panel itself: a tint under it would drop it below 4.5:1 */
  .pmore { position: relative; flex: none; }
  .pmore > summary { display: grid; place-items: center; list-style: none; cursor: pointer; color: var(--soft); background: var(--qb); }
  .pmore > summary::-webkit-details-marker { display: none; }
  .pmore > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .pmore[open] > summary { color: var(--head); background: var(--tint); }
  .pmenu { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + .25rem); z-index: 2; display: grid; min-inline-size: 12rem; padding: .3rem; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); box-shadow: 0 .75rem 2rem rgb(0 0 0 / .3); }
  .dash .pmenu button { min-block-size: 2.6rem; padding: .3em .8em; text-align: start; white-space: nowrap; background: none; border: 0; border-radius: var(--r-s); }
  .dash .pmenu .pdrop { color: var(--bad); }
  #pInvite { display: grid; gap: .6rem; padding-block-start: .4rem; }
  #pInvite .label, #pWait .label { font-size: 1rem; font-weight: 600; color: var(--ink); }
  #pWait { display: grid; gap: .3rem; }
  #pWait h3 { margin: 0; }
  #pRole { flex: none; }
  #settings label { font-weight: 600; flex-basis: 100%; }   /* each on its own line, above its field: the fields start in one line however long the words */
  #sTzTx { min-inline-size: 0; overflow-wrap: anywhere; }   /* a fixed zone as text; a long name wraps on a phone */
  #sTzIn { inline-size: 0; }   /* its width from the row, never from the longest zone (that would widen the panel past a phone) */
  #pLeave { justify-self: start; }   /* the red quiet button that takes a thing away (.gdel, as Dzēst pavisam); its own bare-words look lost its padding under the shared edge (the coach, 24 Nov: "tizla") */
  /* the club invite: its crest before the line, the card in the club's colour */
  #invFrom { display: flex; align-items: center; gap: .8rem; }
  #invite.club { border-color: light-dark(var(--club-l), var(--club-d)); }
  .tlist li.club .tname { color: light-dark(var(--club-l), var(--club-d)); }
  /* Leave club and #ask: one ink-filled call (a delete or removal stays red) in small dialogs; the form fills them, so a
     click on the dialog itself is its backdrop */
  :is(#leaveDlg, #ask) { inline-size: min(100% - 2rem, 28rem); padding: 0; }
  :is(#leaveDlg, #ask) { --btn: var(--ink); }   /* dialogs live outside .dash and keep their one filled call */
  :is(#leaveDlg, #ask) form { display: grid; gap: 1rem; padding: 1.25rem; }
  :is(#leaveDlg, #ask) h2 { margin: 0; font-size: 1.15rem; line-height: 1.4; overflow-wrap: anywhere; }
  #leaveDlg label { display: flex; align-items: center; gap: .6rem; min-block-size: 2.75rem; font-weight: 600; cursor: pointer; }
  #leaveDlg input { flex: none; inline-size: 1.25rem; block-size: 1.25rem; margin: 0; accent-color: var(--away); }
  :is(#leaveDlg, #ask) .btn { border: 0; }   /* as tall as the quiet button beside it (golden rule 1.1) */
  #ask .btn.bad { --btn: var(--bad); }
  :is(#leaveDlg, #ask) :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  #leaveWhy { margin: 0; font-weight: 600; color: var(--bad); }
  #leaveWhy:empty { display: none; }
  @media (hover: hover) and (pointer: fine) { .pmore > summary:hover, .dash .pmenu button:hover { background: var(--tint); } }
  .places .vrow { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }   /* the note and Leave wrap to the next row together */
  .places .vonly { font-size: .85rem; color: var(--soft); }   /* the assisted place's note, beside Leave, the pill's description */
  .places .leave { padding-inline: .4em; border: 0; text-decoration: underline; }
  .tlist li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; padding-block: .55rem; border-block-start: 1px solid var(--line); }
  .tlist li > div { display: grid; flex: 1 1 12rem; min-inline-size: 0; }
  .tname { font-weight: 600; overflow-wrap: anywhere; }
  .tlist .notsent { font-weight: 600; color: var(--bad); }
  .irow { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
  #inviteForm { display: grid; gap: .6rem; padding-block-start: .4rem; }
  #inviteForm .label { font-size: 1.2rem; font-weight: 600; color: var(--ink); }   /* the Team panel's heading, under its kicker */
  #invEmail, #pEmail, #sNameIn, #sTzIn { flex: 1 1 14rem; min-inline-size: 0; }
  .scopyw { display: grid; justify-items: end; gap: .25rem; justify-self: end; margin: 0 .8rem .55rem; }
  .popslide .scopyw { align-self: start; margin: 0; }
  /* Copy uses the quiet .sagain button in tiles and the popup; these rules outweigh their button resets. */
  :is(#pop, .dash) .scopyw > button.scopy { flex: none; max-inline-size: 100%; text-wrap: balance;
    color: var(--ink); background: var(--qb); }
  :is(#pop, .dash) .scopyw > button.scopy:active:not(:disabled) { transform: scale(.97); }
  :is(#pop, .dash) .scopyw > button.scopy:disabled { cursor: progress; opacity: .75; }
  :is(#pop, .dash) .scopyw > button.scopy.done { cursor: default; opacity: 1; color: var(--soft); background: none; }
  #pop button.scopy:focus-visible { outline-color: currentColor; }
  @media (prefers-reduced-motion: no-preference) { :is(#pop, .dash) .scopyw > button.scopy { transition: transform .15s; } }
  @media (hover: hover) and (pointer: fine) { :is(#pop, .dash) .scopyw > button.scopy:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 2%, var(--qb)); } }
  .scopywhy { font-size: .85rem; font-weight: 600; color: var(--bad); text-align: end; }
  .scopyw:has(.scopywhy:empty) { gap: 0; }   /* the status line stays in the layout (a hidden one isn't announced), only its gap goes */
  .scopywhy.ok { position: absolute; inline-size: 1px; block-size: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
  .dacts .scopyw { flex: 1 1 auto; min-inline-size: 0; justify-items: stretch; justify-self: stretch; margin: 0; }
  #pop .libacts > .scopyw { flex: 1 1 15rem; max-inline-size: 20rem; }   /* the closer look's Copy (a club drill): its words on one line, as tall as the buttons beside it */
  #pop .libacts .scopyw > button.scopy { inline-size: 100%; }
  /* an open row's drills stand on the row itself, no box of their own (golden rule 2.5; the coach 25 Nov, "B"): lines between them, the
     pictures on the names' edge */
  :is(#list, #week) .scards { --sc-pad: 0rem; background: none; border: 0; border-radius: 0; }
  :is(#list, #week) .scards .scard { padding-inline: 0; }   /* a phone's own .6rem too: the pictures on the names' edge */
  @media (hover: hover) and (pointer: fine) { .places button[aria-pressed="false"]:hover { color: var(--ink); background-image: linear-gradient(var(--tint), var(--tint)); } .places button.to[aria-pressed="false"]:hover { color: var(--lime); } }
  /* Groups in a club (plan 2026-10-18-groups-a-club.md, picked look: mockups/groups-2026-10-18/groups-3.png): People's heading and rows; folded to
     its heading (the icon, the word, "4 groups · 3 coaches", a chevron); a row a group (name and ages, its people's initials, its sessions, ›); the
     open group in a box under the list; a manager's 3-way switch for My workspace. A narrow panel (a phone): the summary under the word, the count under the name */
  :is(#groups, #players) { container-type: inline-size; }
  :is(#gToggle, #plToggle, #calToggle) { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; column-gap: .8rem; flex: 1 1 auto; inline-size: 100%; min-inline-size: 0; padding: 0; text-align: start; background: none; border: 0; }
  .gicon { display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; border-radius: 50%; color: var(--on-ink); background: var(--head); text-shadow: none; }
  .gicon svg { inline-size: 1.65rem; block-size: 1.65rem; }
  .ghead:has(> #gClubs:not([hidden])) { flex-wrap: wrap; row-gap: .2rem; }   /* My workspace with no group but a club: where the groups are, a line under the word (a link can't sit in the button) */
  #gClubs { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: baseline; gap: .1rem .45em; text-align: start; }
  a.splace { text-decoration: none; }   /* under .splace:hover and :focus-visible, which underline */
  .gsum { min-inline-size: 0; text-align: end; font: 400 .85rem/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--soft); text-shadow: none; overflow-wrap: anywhere; }
  .gchev { display: grid; color: var(--soft); text-shadow: none; }
  .gchev svg { inline-size: 1.1rem; block-size: 1.1rem; }
  @media (prefers-reduced-motion: no-preference) { .gchev svg { transition: transform .2s ease-out; } }
  :is(#gToggle, #plToggle, #calToggle) .gchev svg { transform: rotate(90deg); }
  :is(#gToggle, #plToggle, #calToggle)[aria-expanded="true"] .gchev svg { transform: rotate(-90deg); }
  :is(#gBody, #plBody) { --pgap: .9rem; display: grid; gap: var(--pgap); min-inline-size: 0; }
  .gtop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
  .dash .glist { gap: 0; }
  :is(#gBody, #plBody) > *, .glist li, .gbox > *, .gpeople li { min-inline-size: 0; }   /* grid items: a long name may not widen a row past the panel */
  .glist li + li { border-block-start: 1px solid var(--line-thin); }
  .glist .gbranch { padding: 1rem 0 .35rem; font-size: .85rem; font-weight: 600; color: var(--soft); }   /* a branch's groups under its name (club shape, slice 2) */
  .glist .gbranch:first-child { padding-block-start: .2rem; }
  .grow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 0 .7rem; inline-size: 100%; min-block-size: 2.9rem; padding: .4rem 0; text-align: start; background: none; border: 0; border-radius: var(--r-s); }   /* no inline padding: the names on the search field's and the heading's edge, the chevron on the field's end (golden rule 1.1), as an open session's Saturs */
  .gnm { display: flex; align-items: baseline; gap: .7rem; min-inline-size: 0; }
  .gname { flex: 0 1 auto; min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
  .gages { flex: 0 3 auto; min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .85rem; color: var(--soft); }
  .gavs { display: flex; }
  .gavs .pav { inline-size: 1.7rem; block-size: 1.7rem; font-size: .68rem; background: var(--page); }
  .gavs .pav + .pav { margin-inline-start: -.3rem; }
  .gcount { display: flex; gap: .9em; font-size: .85rem; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .gkids { min-inline-size: 6.5em; text-align: end; }   /* the children before the sessions, both starting at one x down the list */
  .plmonth { margin: 0 0 calc(-1 * var(--pgap)); padding-inline-end: 1.8rem; text-align: end; font-size: .8rem; color: var(--soft); }   /* the month the shares are of, a heading on their column: on the list (no panel gap under it), clear of the chevron */
  .grow[aria-expanded="true"] .gchev { color: var(--head); }
  .gbox { display: grid; gap: .7rem; min-inline-size: 0; padding: .8rem 0; }
  #gOpen .sgo > .gorow:only-child { grid-column: 1 / -1; }
  .gtitle { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
  .gform { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
  .gform label { display: grid; gap: .25rem; flex: 1 1 9rem; min-inline-size: 0; font-size: .85rem; font-weight: 600; color: var(--soft); }
  .gform .ghint { flex: 1 1 100%; order: 1; margin: 0; font-size: .85rem; }   /* what a group's years open, on its own line under the fields and Save */
  .gpart { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; min-block-size: var(--field-h); }   /* large text: the button goes under the heading, never past the page */   /* a part's heading, its add button in the same row (golden rule 1.8) */
  .gpart > .sgroup { flex: 1 1 auto; margin: 0; white-space: nowrap; }   /* one line beside its button, 320 px too */
  .gpart > button { flex: none; }
  .gpart + .tlist > li:first-child { border-block-start: 0; }   /* the heading's own line is the list's top (golden rule 2.3: no second line) */
  .scheck { display: flex; align-items: center; gap: .6rem; min-block-size: var(--field-h); cursor: pointer; }
  .scheck input { flex: none; inline-size: 1.25rem; block-size: 1.25rem; margin: 0; accent-color: var(--fill); }
  .gform input, .gform select, .gpick select, .grole, .sgsel select, .sgsel input { min-inline-size: 0; max-inline-size: 100%; }   /* the look: the shared field rule in site.css */
  /* an open group's person: one line as in People; with a role select (a club's manager) or in a narrow panel two: the initials beside both, the name
     and ×, the role under the name. (#gOpen: an id's weight, as .tlist:is(.plist, #pInvites) li has one) */
  #gOpen .gpeople li:has(.grole) { display: grid; grid-template: "av name x" "av tags tags" / auto minmax(0, 1fr) auto; gap: .15rem .6rem; }
  .gpeople li > .pav { grid-area: av; } .gpeople li > div { grid-area: name; } .gpeople li > .ptags { grid-area: tags; min-inline-size: 0; } .gpeople li > .gx { grid-area: x; }
  .gpeople .ptags { flex-wrap: wrap; align-items: center; max-inline-size: 100%; }   /* "You" as tall as its word beside a role select */
  .gpeople .ptags > span { white-space: nowrap; }
  /* on two lines "You" sits on the name's line, so a role select never pushes it to a third (320 px) */
  #gOpen .gpeople li:has(.grole):has(.pme) { grid-template: "av name me x" "av tags tags tags" / auto minmax(0, 1fr) auto auto; }
  #gOpen .gpeople li:has(.grole) .ptags:has(.pme) { display: contents; }
  .gpeople .ptags > * { grid-area: tags; justify-self: start; } .gpeople .ptags > .pme { grid-area: me; align-self: center; }
  @container (width >= 36rem) {
    #gOpen .gpeople:has(.grole) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; }   /* one set of tracks: every role select starts at one x */
    #gOpen .gpeople li:has(.grole), #gOpen .gpeople li:has(.grole):has(.pme) { grid-column: 1 / -1; grid-template-columns: subgrid; grid-template-areas: "av name tags me x"; align-items: center; }
  }
  .gx { flex: none; inline-size: 2.75rem; block-size: 2.75rem; padding: 0; font-size: 1.3rem; background: none; border: 0; border-radius: var(--r); }
  .gacts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem calc(.5rem + var(--apart)); }   /* Delete group, the red word alone at the box's end (+ Add person is in the people's heading) */
  .dash .gdel { color: var(--bad); }
  .dash .gdel:active { color: color-mix(in oklch, var(--bad) 65%, var(--ink)); }   /* the red a step towards the ink on the deeper fill: 4.5:1 kept (light: darker, dark: lighter) */
  .dash .gx { color: var(--soft); }
  /* an action on one thing in an open row (a training, a weekly time, a group, a player): a quiet underlined word on the left run, what takes it
     away red (.gdel). Adding a new thing to a list and a form's own buttons stay buttons (the coach, 26 Nov, B: "pārcelt atcelt ir mazāki un dzēst
     sarkans"; then "Ok, darām tā" for every open row) */
  .dash .ract { flex: none; min-block-size: var(--field-h); min-inline-size: 0; padding: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
    background: none; border: 0; border-radius: 0; text-align: start; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; cursor: pointer; }
  .dash .ract.gdel { color: var(--bad); }
  .dash .ract:active { text-decoration-color: currentColor; }
  @media (hover: hover) and (pointer: fine) { .dash .ract:hover { text-decoration-color: currentColor; } }
  .dash .ract:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .dash :is(.wbtns, .waway, .gacts):has(> .ract) { gap: .2rem var(--ract-gap); }
  /* a phone: a panel's buttons fill their line, a wrapped or lone one the whole line, so every line ends on the panel's edges (the coach, 26 Nov, variant A:
     "šis ir daudz labāk"; golden rule 1.10); + Player and + Group their own line, as the toolbar's main button. Delete stays apart (--apart) where its row keeps it */
  @media (max-width: 640px) {
    .dash :is(#plBody .gtop, #groups #gBody > .gtop, .gacts, .wbtns, .waway) { display: flex; flex-wrap: wrap; }
    .dash :is(#plBody .gtop, #groups #gBody > .gtop, .gacts, .wbtns, .waway) > :not(.ract, :has(> .ract)) { flex: 1 1 0; white-space: nowrap; }   /* a line's buttons in equal parts; they share it while each word fits on one line */
    .dash :is(#plBody .gtop > #plAdd, #gBody > .gtop > #gNew) { flex-basis: 100%; }
  }
  .gpick select { flex: 1 1 8rem; }
  #gScope { display: grid; gap: .5rem; }
  #gScope .sorts button { flex: 1 1 auto; min-inline-size: 0; }
  #gScope .lead { font-size: .85rem; text-align: center; }
  @container (width < 26rem) {
    :is(#gToggle, #plToggle) { grid-template-columns: auto minmax(0, 1fr) auto; }
    :is(#gToggle, #plToggle) .gicon { grid-row: 1 / 3; } :is(#gToggle, #plToggle) .gchev { grid-column: 3; grid-row: 1 / 3; } :is(#gToggle, #plToggle) .gsum { grid-column: 2; grid-row: 2; text-align: start; }
    .grow { grid-template-columns: minmax(0, 1fr) auto auto; }
    .gnm { grid-column: 1; grid-row: 1; } .gcount { grid-column: 1; grid-row: 2; } .gkids { text-align: start; } .grow .gavs { grid-column: 2; grid-row: 1 / 3; } .grow .gchev { grid-column: 3; grid-row: 1 / 3; }
    #gOpen .gpeople li { display: grid; grid-template: "av name x" "av tags tags" / auto minmax(0, 1fr) auto; gap: .15rem .6rem; }
    .gpeople .pav { inline-size: 2rem; block-size: 2rem; font-size: .75rem; }
    #gOpen .gpeople li:has(.pme) { grid-template: "av name me x" "av tags tags tags" / auto minmax(0, 1fr) auto auto; }
    #gOpen .gpeople .ptags:has(.pme) { display: contents; }
  }
  /* Groups and Team in the dashboard's side column (quiet-panels B): no icon; the word a kicker over its summary, the chevron across both; "My groups" not
     repeated, + Group at its row's end; the Team's invite heading at the kicker's size; the explanations small and soft (the club page has no #side) */
  #side .gicon, #side #gKick { display: none; }
  #side :is(#gToggle, #calToggle) { grid-template-columns: minmax(0, 1fr) auto; row-gap: .2rem; }
  #side :is(#gToggle, #calToggle) .gword { grid-column: 1; grid-row: 1; }
  #side :is(#gToggle, #calToggle) .gsum { grid-column: 1; grid-row: 2; text-align: start; }   /* under the word, on its edge */
  #side :is(#gToggle, #calToggle) .gchev { grid-column: 2; grid-row: 1 / 3; }
  #side #gNew { margin-inline-start: auto; }
  #side #inviteForm .label { font-size: .9rem; }
  #side :is(#inviteForm > p, #gLead) { font-size: .85rem; color: var(--soft); }
  @media (hover: hover) and (pointer: fine) { .gx:hover { background: var(--tint); } .dash .gdel:hover { color: color-mix(in oklch, var(--bad) 65%, var(--ink)); } }
  /* Players (plan 2026-10-20-players-a1.md, Task 4): Groups' heading, rows and box (above). A row one line: the name keeps its …, the year and
     groups after it give way first; every row is a button with Groups' chevron, its box under it. The paste's cells scroll sideways in
     their own box (a phone); its phone line only there */
  .pltools { display: flex; flex-wrap: wrap; gap: .5rem; }
  .pltools > #plGroup { flex: 1 1 8rem; min-inline-size: 0; }
  .pltools > input { flex: 2 1 10rem; min-inline-size: 0; }
  .plrow { display: grid; grid-template-columns: minmax(0, min(20rem, 50%)) minmax(0, 1fr) auto auto; align-items: center; gap: .7rem; inline-size: 100%; min-block-size: 2.9rem; padding: .4rem 0; text-align: start; }   /* a table (golden rule 1.4): the name a column of its own width, so the year and groups start at one x in every row whatever the month's share after them; no inline padding, as .grow */
  .plrow { background: none; border: 0; border-radius: var(--r-s); }
  .plname { grid-column: 1; min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
  .plmeta { grid-column: 2; display: flex; gap: .9em; min-inline-size: 0; overflow: hidden; white-space: nowrap; font-size: .85rem; color: var(--soft); }
  .plmeta > :last-child { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
  .plyear { flex: none; font-variant-numeric: tabular-nums; }   /* four digits, so the groups start in one column (golden rule 1.4) */
  /* a group view's month: at the row's end, bold at the name's size (louder would out-shout the names), the counts small under it */
  .plshare { grid-column: 3; display: grid; justify-items: end; font-size: 1rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .plshare small { font-size: .7rem; font-weight: 600; color: var(--soft); }
  /* a child's year (plan 2026-11-15-player-card.md): four figures in a row, each number over its word, the share's look; two by two when its box is narrow (never 3 + 1) */
  .plhist { container-type: inline-size; }
  .plsum { max-inline-size: 36rem; margin: .2rem 0 .5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem .8rem; }
  @container (width < 26rem) { .plsum { grid-template-columns: 1fr 1fr; } }
  .plsum > div { display: grid; gap: .1rem; }
  .plsum b { font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .plsum b small { margin-inline-start: .35rem; font-size: .7rem; font-weight: 600; color: var(--soft); }
  .plsum span { font-size: .8rem; color: var(--soft); }
  .plrow .gchev { grid-column: 4; }
  .plrow[aria-expanded="true"] .gchev { color: var(--head); }
  .glist li.open { padding-block-end: .7rem; }
  .placts { display: flex; flex-wrap: wrap; align-items: center; justify-content: start; gap: .5rem; }   /* a player's actions side by side from the start, not spread out */
  @media (min-width: 30rem) { .placts > :has(+ .pldel) { margin-inline-end: var(--ract-gap); } }   /* Delete for good apart, as the calendar's Atcelt and Dzēst (--ract-gap); the gap is on the button before it, so wrapped it starts on the left edge. Not on a phone: there it cost a third row of buttons (340 px) */
  .placts select { flex: 1 1 8rem; min-inline-size: 0; }
  .plform { align-items: end; }
  .plform .placts { flex: 1 1 100%; }
  .dash :is(.plticks, .plrows) { gap: .2rem; }
  :is(.plticks, .plrows) label, .plhead { display: flex; align-items: center; gap: .6rem; min-block-size: 2.4rem; overflow-wrap: anywhere; }
  :is(.plticks, .plrows, .plpaste) input[type=checkbox] { flex: none; inline-size: 1.25rem; block-size: 1.25rem; margin: 0; accent-color: var(--head); }
  .plrows { font-size: .9rem; overflow-wrap: anywhere; }
  /* a child's marks: one set of columns for every row (golden rule 1.4); a narrow card: the rest under what it was */
  .plmarks > li { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }   /* a browser without subgrid: one line that wraps */
  @supports (grid-template-columns: subgrid) {
    .dash .plmarks { display: grid; grid-template-columns: max-content fit-content(45%) max-content minmax(0, 1fr); column-gap: 1.25rem; }   /* .dash: outweighs the lists' shared gap above; a long game name wraps in its column */
    .plmarks > li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; } }
  .plmarks > li > :first-child { font-variant-numeric: tabular-nums; }
  @container (width < 26rem) { @supports (grid-template-columns: subgrid) { .dash .plmarks { grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: .9rem; } } .plmarks > li > :last-child { grid-column: 2 / -1; } .plmarks > li > :last-child:empty { display: none; } }
  .plpaste textarea { inline-size: 100%; min-inline-size: 0; resize: vertical; font-size: .9rem; }
  .plprev { overflow-x: auto; max-inline-size: 100%; }
  .plprev table { border-collapse: collapse; font-size: .85rem; }
  .plprev :is(th, td) { padding: .3rem .5rem .3rem 0; text-align: start; white-space: nowrap; }
  .plprev td { border-block-start: 1px solid var(--line-thin); }
  .plprev th select { min-inline-size: 8.5rem; font-size: .85rem; }
  .plprev .plhrow td { color: var(--soft); font-style: italic; }
  .plcount { font-weight: 700; }
  .plphone { display: none; }
  #plBody .gtop { justify-content: flex-start; }
  @media (min-width: 900px) { #plList { max-block-size: 70vh; overflow-y: auto; overscroll-behavior: contain; margin-inline: calc(-1 * var(--open-reach)) calc(-1 * (var(--open-reach) + var(--sb, 0px))); padding-inline: var(--open-reach); } }   /* columns: a long list scrolls inside the panel; a phone scrolls the page. The scroll box reaches past the rows by the open row's reach, which it would clip, and past its scrollbar (--sb, players.js) */
  @container (width < 26rem) {   /* a narrow panel: the year and groups under the name, never cut to "201…" */
    .plrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .1rem .7rem; }
    .plmeta { grid-column: 1; grid-row: 2; } .plshare { grid-column: 2; grid-row: 1 / 3; } .plrow .gchev { grid-column: 3; grid-row: 1 / 3; }
  }
  @media (max-width: 640px) { .plphone { display: block; } }
  /* a session's group: small after its name, whole (the name gives way first; a group's own … only past half the line: coach, 29 Oct, "U."), and its
     select in the open row */
  .snl { display: flex; align-items: baseline; gap: .45rem; min-inline-size: 0; max-inline-size: 100%; }
  .snl > .sname { flex: 0 1 auto; }
  .sgrp { flex: none; max-inline-size: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 .45em; font-size: .75rem; font-weight: 600; color: var(--soft); background: var(--tint); border-radius: 4px; }
  /* an open row's group and Move (or Plan: the calendar's planning on its day): cells of a label over its field, as many to a line as fit, then its
     answer line; the day's time that opens planning on its session reads as a link */
  .sset { inline-size: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .6rem .8rem; }   /* inline-size: .sbody's justify-items would shrink it */
  .sgsel { display: grid; gap: .25rem; min-inline-size: 0; font-size: .85rem; font-weight: 600; color: var(--soft); }
  .sset .sgsel { grid-template-columns: minmax(0, 1fr); }   /* a field never wider than its cell */
  .sset .sgsel :is(input, select) { display: block; inline-size: 100%; min-inline-size: 0; }
  .sset > .sgsel:has(> select) { grid-column: 1 / -1; }   /* Group its own line: Date, Time and Move then side by side */
  /* a time form (Core.timesForm: the calendar's Move, Cancel, + Plan, + Time, Change, and a game's sheet): its fields filling the row with no box round them (a field's fill is the one tone that says "field": golden rules 1.1, 2.5), labels quieter than values (.sgsel), Save under their start edge */
  .wtf, .wcf { display: grid; gap: .75rem; }
  .wfields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: .6rem; }
  .wfields :is(input, select) { inline-size: 100%; min-inline-size: 0; }
  .wfields input:is([type="date"], [type="time"]) { appearance: none; -webkit-appearance: none; line-height: calc(var(--field-h) - 4px); padding-block: 0; }   /* an iPhone's date box keeps a wide size of its own otherwise */
  /* a field's own list (Core.combo; plan 2026-11-23-plan-form-time.md): one look for every list of a form, under its field and as wide; five rows, then
     it scrolls; the chosen row ✓ and bold, the lit one tinted; a note (an end's length) at the row's end; a branch's name over its groups */
  .cb { position: relative; display: block; }
  .cb > input { padding-inline-end: 2.2em; text-overflow: ellipsis; }
  .cb > input::selection { color: var(--ink); background: var(--line-strong); }   /* the value picked out for typing over: ink's own tint, no system blue */
  .cb::after { content: "▾"; position: absolute; inset-inline-end: 1em; inset-block-start: calc(var(--field-h) / 2); font-size: .8em; line-height: 1; color: var(--ink); transform: translateY(-50%); pointer-events: none; }
  .cbm { position: absolute; z-index: 6; inset: calc(100% + 4px) 0 auto; max-block-size: calc(5 * var(--cb-row) + 2px); overflow-y: auto; overscroll-behavior: contain;
    font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--pop); border: 1px solid var(--field-line); border-radius: var(--r); box-shadow: var(--list-shadow); }
  .cbo { display: flex; align-items: center; gap: .5rem; min-block-size: var(--cb-row); padding-inline: .6rem; cursor: pointer; font-variant-numeric: tabular-nums; }
  .cbo.on { background: var(--tint); }
  @media (hover: hover) and (pointer: fine) { .cbo:hover { background: var(--tint); } }
  /* the chosen row of a one-pick list (a field's list, a sheet's radios): ✓ or its radio, bold, the club colour's tint; lit too: framed */
  .cbo[aria-selected="true"], .tickrow:has(input[type="radio"]:checked) { font-weight: 600; }
  .cbo[aria-selected="true"].on { outline: 2px solid var(--soft); outline-offset: -2px; }
  .cbc { flex: none; inline-size: .9rem; }
  .cbt { min-inline-size: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .cbo small { margin-inline-start: auto; padding-inline-start: .5rem; font-size: .85rem; color: var(--soft); white-space: nowrap; }
  .cbh { padding: .5rem .6rem .2rem; font-size: .8rem; font-weight: 600; color: var(--soft); }
  .cbtime::after { content: none; }
  .cbtime > input { padding-inline-end: .6rem; }
  dialog .cbm { position: relative; inset: auto; margin-block-start: 4px; }   /* in a sheet the list takes its own room: the sheet's scroll never cuts it */
  .wfields { align-items: start; }   /* the field beside an open list (in a sheet) or beside a refused one stays on its line */
  .werr { font-weight: 400; color: var(--bad); }   /* why a time was refused, under its field (golden rule 9.4) */
  .werr[hidden] { display: none; }
  @media (forced-colors: active) { .cbo.on, .cbo[aria-selected="true"].on { outline: 2px solid Highlight; outline-offset: -2px; } }   /* the lit row: its tint is gone there */
  .ssaid { grid-column: 1 / -1; }
  .dash .smove { align-self: end; color: var(--soft); background: var(--qb); border: 0; }
  .dash .smove:enabled { color: var(--btn-ink); background: var(--btn); }
  .dash .smove[aria-pressed="true"] { color: var(--ink); background: none; box-shadow: inset 0 0 0 var(--pick) var(--pick-c); }
  .smove:enabled:active { transform: scale(.97); }
  .smove:disabled { cursor: default; }
  @media (prefers-reduced-motion: no-preference) { .smove { transition: transform .12s ease-out, background-color .2s, color .2s; } }
  @media (hover: hover) and (pointer: fine) { .smove:enabled:hover { filter: brightness(1.15); } }
  #dayList button.swhen { justify-self: start; padding: 0; background: none; border: 0; text-decoration: underline 1px; text-underline-offset: 3px; font-variant-numeric: tabular-nums; }
  /* an empty list for a new coach (Core.empty; plan: 2026-10-27-empty-states.md): an ink sketch, a heading, one sentence, at most one quiet
     link: the shared quiet action (never amber: the header's door is the page's one main call). Two classes deep, so .dash p,
     .dash a and .lead can't win; the sketch's width follows the box, 150 px at most */
  .es { display: grid; justify-items: center; gap: .4rem; padding-block: .25rem .75rem; text-align: center; }
  .es .es-pic { inline-size: min(150px, 62%); block-size: auto; aspect-ratio: 160 / 96; margin-block-end: .4rem; color: var(--ink); }
  .es .es-h { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); text-wrap: balance; }
  .es .es-s { margin: 0; max-inline-size: 44ch; font-size: .9rem; color: var(--soft); text-wrap: balance; }
  .es .es-go { margin-block-start: .5rem; text-decoration: none; }
  /* Fills and shadows disappear in forced colours: every switch (including #kb outside .dash) keeps its system ring. */
  @media (forced-colors: active) {
    .switch button:is([aria-pressed="true"], [aria-selected="true"]):not(:focus-visible), .dash :is([aria-pressed="true"], [aria-selected="true"], [aria-expanded="true"], .srow.open, .cards > li.open) {
      outline: 2px solid Highlight; outline-offset: -2px;
    }
    #cal :focus-visible:not(input, select, #calToggle), #clock select:focus-visible { outline-color: Highlight; }
    .dash :is(.gaddp, .btn, .ddone), .dash button.btn { border: 1px solid ButtonBorder; }   /* the quiet buttons' fill and line vanish there (site.css edges .sagain and .smove) */
  }
  /* Kas bija, the marking sheet (site/js/marking.js; plan 2026-10-28-attendance-b3.md, picture D): a phone's whole screen, a centred box on a laptop;
     the top and the footer stay, the list scrolls between them. The club's colour is bija (--club fill, --acc words), nebija grey, nav atzīmēts a
     dashed ring; page tokens only, so light and dark need nothing more. Its club's tokens: the root's on the club page, its own on My workspace
     (marking.js sets them on the dialog; plan 2026-10-29-mark-from-my-workspace.md). Its doors: club.css's, and My workspace's .smark */
  #kb { --pick-c: var(--acc); --acc: light-dark(var(--club-l, var(--btn)), var(--club-d, var(--btn))); --fill: light-dark(var(--club-fill-l, var(--btn)), var(--club-fill-d, var(--btn))); --on-fill: light-dark(var(--club-on-l, var(--on-ink)), var(--club-on-d, var(--on-ink))); inline-size: min(100% - 2rem, 36rem); block-size: min(100dvh - 2rem, 50rem); max-inline-size: none; max-block-size: none; padding: 0; overflow: clip; }
  #kb[open] { display: flex; flex-direction: column; }
  @media (max-width: 599px) { #kb { inline-size: 100%; block-size: 100dvh; margin: 0; border: 0; border-radius: 0; } }
  @media (min-width: 600px) { #kb :is(.kbhead, .kbfoot) { scrollbar-gutter: stable; } #kb .kbfoot { overflow: hidden; } }   /* the window on a computer: the head and the footer keep the body's scrollbar strip, so Gatavs, the body's right column and the search row share one edge (a phone's scrollbar takes no room; the strip needs a box that clips) */
  /* a computer's wide sheet (plan 2026-11-24-sheet-wide-and-closed.md, his B): from a 900 px window wider and as tall as its content (up to the
     old height); from a 44rem body the lists in two columns: the Players list's teams side by side in pairs (a 3rd and 4th under them; marking.js
     sets --c / --r), a list with no teams and Sastāvs's ticks flowing. A phone and a narrow window keep one column */
  @media (min-width: 900px) { #kb { inline-size: min(100% - 2rem, 62rem); block-size: fit-content; max-block-size: min(100dvh - 2rem, 50rem); } }
  #kb .kbbody { container: kbbody / inline-size; }
  @container kbbody (min-width: 44rem) {
    #kb :is(.kblist:not(.kbpairs), .kbsquad) { columns: 2; column-gap: 2rem; }
    #kb :is(.kblist:not(.kbpairs), .kbsquad) > li { break-inside: avoid; }
    #kb .kblist:not(.kbpairs) > .kblbl { break-after: avoid; }
    #kb .kblist.kbpairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    #kb .kblist.kbpairs > li { grid-column: var(--c); grid-row: var(--r); }
  }
  #kb button:where(:not(.switch button)) { color: inherit; }
  #kb :focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .kbhead { flex: none; max-block-size: 50dvh; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: .45rem; padding-block: calc(.75rem + env(safe-area-inset-top, 0px)) .75rem; padding-inline: 1rem; border-block-end: 1px solid var(--edge); }
  .kbtop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
  .kbkick { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--head); }   /* Apmeklējums, Spēles lapa: a word, the panel's font (5.2) */
  #kb .btn { color: var(--btn-ink); border: 0; }
  #kb .kbdone { flex: none; min-block-size: 2.75rem; padding-inline: 1.2em; }
  .kbname { margin: 0; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
  .kbwhy { margin: 0; font-size: .92rem; color: var(--soft); overflow-wrap: anywhere; }
  /* the facts (Kad, Vadīja): protocol rows between 1px lines, the label in one column, the value from one edge, the chevron at the end
     edge (the same as Gatavs); a row I may not change is plain text. One grid: every row a subgrid of its columns, so the label column is the
     widest label's and every value starts at one x, at any text size */
  .kbfacts { display: grid; grid-template-columns: max-content minmax(0, 1fr) 1.15rem; column-gap: .75rem; border-block: 1px solid var(--edge); }
  .kbfacts > * { grid-column: 1 / -1; }
  #kb .kbfact { display: grid; grid-template-columns: subgrid; align-items: baseline; inline-size: 100%;
    min-block-size: 2.75rem; padding: .6rem 0; font: inherit; font-size: .92rem; line-height: 1.35; text-align: start; color: var(--ink); background: none; border: 0; border-radius: 0; cursor: pointer; }
  #kb .kbfacts > * + * { border-block-start: 1px solid var(--edge); }   /* after the row button's own border: 0, same weight */
  #kb .kbfact:disabled { cursor: default; }
  #kb .kbfact:disabled .kbchev { visibility: hidden; }
  .kbfl { font-size: .82rem; font-weight: 600; color: var(--soft); }
  .kbfv { min-inline-size: 0; overflow-wrap: anywhere; }
  .kbchev { align-self: center; inline-size: 1.15rem; block-size: 1.15rem; background: var(--soft); mask: var(--chev) center / contain no-repeat; }
  @media (prefers-reduced-motion: no-preference) { .kbchev { transition: rotate .15s; } }
  #kb .kbfact[aria-expanded=true] .kbchev { rotate: 90deg; background: var(--ink); }
  #kb .kbfact:not(:disabled):active { background: color-mix(in oklch, var(--ink) 6%, transparent); }
  @media (hover: hover) and (pointer: fine) { #kb .kbfact:not(:disabled):hover .kbchev { background: var(--ink); } }
  /* a game's Kad opened: its fields with no box of their own (Datums and Vieta whole lines, Sākums and Beigas side by side), then one row:
     Dzēst at the start edge, Atcelt and Saglabāt at the end edge */
  .kbmove { display: grid; gap: .75rem; padding-block: .25rem .9rem; }
  #kb .kbmf .wfields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #kb .kbmf .wfields > :is(:has(.wdate), :has(.wpl)) { grid-column: 1 / -1; }
  #kb .kbhead:has(.kbmove:not([hidden])) { max-block-size: 80dvh; }   /* open: the head takes what it needs, still scrolling on a short screen */
  .kbmend { display: grid; gap: .6rem; }
  .kbmfoot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
  #kb .kbmfoot > button { min-block-size: 2.75rem; padding-inline: 1.1em; font-weight: 600; }
  #kb .kbmdel { margin-inline-end: auto; color: var(--bad); }
  .kbmno:first-child { margin-inline-start: auto; }   /* no Dzēst: Atcelt and Saglabāt still at the end */
  .kbmsaid:empty { display: none; }
  .kbmsaid, .kbmwhy { margin: 0; font-size: .92rem; }
  .kbmsaid { color: var(--bad); }
  /* the counts: one strip of three cells sharing 1 px lines (the switch's shape), nothing filled or framed; only Nav atzīmēts is pressable
     (it scrolls to the first unmarked child), underlined with a › while someone is unmarked */
  .kbtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #kb .kbt { display: grid; justify-items: center; align-content: center; gap: .2rem; padding-block: .45rem; padding-inline: .25rem; font: inherit; font-size: .82rem; line-height: 1.2;
    text-align: center; color: var(--ink); background: none; border: 1px solid var(--field-line); border-radius: 0; }
  #kb .kbt + .kbt { border-inline-start: 0; }
  #kb .kbt:first-child { border-start-start-radius: var(--r); border-end-start-radius: var(--r); }
  #kb .kbt:last-child { border-start-end-radius: var(--r); border-end-end-radius: var(--r); }
  .kbnum { font: 700 1.6rem/1 var(--face); font-variant-numeric: tabular-nums; }
  #kb .kbyes .kbnum { color: var(--acc); }
  #kb .kbnone { cursor: pointer; }
  #kb .kbnone:enabled > span { text-decoration: underline; text-underline-offset: .2em; }
  #kb .kbnone:enabled > span::after { content: " ›"; content: " ›" / ""; }   /* the first for Safari before 17.4 */
  #kb .kbnone:disabled { cursor: default; }
  .kbbody { flex: 1; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  :is(.kblist, .kbfound, .kbpeople) { list-style: none; margin: 0; padding: 0; }
  .kbrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-block-end: 1px solid var(--edge); }
  .kblist:has(> .kbrow > .kbmore) > .kbrow:not([data-state="res"]) { grid-template-columns: minmax(0, 1fr) 3rem; }   /* a row with no ⋯ (a scorer's) keeps its column: ✓ at one x (the coach, 14 Nov) */
  #kb[data-early] :is(.kbtiles, .kbst) { display: none; }   /* an event before its day: its squad, no marks to show or tap (golden rule 0) */
  .kbtap { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; inline-size: 100%; min-block-size: 3rem;
    padding-block: .45rem; padding-inline: 1rem .25rem; font: inherit; text-align: start; background: none; border: 0; }
  .kbpick { padding-inline-end: 1rem; border-block-end: 1px solid var(--edge); }
  .kbn { flex: 1 1 9rem; display: grid; min-inline-size: 0; }   /* big text: the mark and its word wrap under the name */
  .kbst { flex: 0 1 8.4rem; min-inline-size: 0; display: flex; align-items: center; gap: .6rem; }
  .kbnm { font-weight: 600; overflow-wrap: anywhere; }
  :is(.kbsub, .kbbusy) { font-size: .82rem; color: var(--soft); overflow-wrap: anywhere; }   /* a read-only note of 80 letters without a space; kbbusy: where else the child is picked, its own line */
  .kbmk { flex: none; display: grid; place-items: center; inline-size: 1.75em; block-size: 1.75em; font-weight: 700; line-height: 1; border: 2px solid var(--field-line); border-radius: 50%; }
  .kbrow[data-state="present"] .kbmk { color: var(--club-ink); background: var(--club); border-color: var(--club); }
  .kbrow[data-state="present"] .kbmk::after { content: "✓"; }
  .kbrow[data-state="absent"] .kbmk { color: var(--page); background: var(--soft); border-color: var(--soft); }
  .kbrow[data-state="absent"] .kbmk::after { content: "−"; }
  /* a door's counts (Marking.marksOf; plan 2026-10-29-mark-door-look.md): the marks above, small, each before its number; on the club page, the
     week card's line and My workspace's row. One look for all four: change it here */
  .mkc { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2em .75em; font-variant-numeric: tabular-nums; }
  .mkp { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
  .mkd { flex: none; display: inline-grid; place-items: center; inline-size: 1.3em; block-size: 1.3em; font-size: .9em; font-weight: 700; line-height: 1; border: 2px solid var(--field-line); border-radius: 50%; }
  .mkd[data-state="present"] { color: var(--club-ink); background: var(--club); border-color: var(--club); }
  .mkd[data-state="present"]::after { content: "✓"; font-size: .8em; }
  .mkd[data-state="absent"] { color: var(--page); background: var(--soft); border-color: var(--soft); }
  .mkd[data-state="absent"]::after { content: "−"; font-size: 1.15em; }   /* a minus is thin: bigger than the tick to read as one */
  .kbw { min-inline-size: 0; overflow-wrap: anywhere; font-size: .9rem; font-weight: 600; color: var(--soft); }
  .kbrow[data-state="present"] .kbw { color: var(--acc); }
  #kb .kbmore { color: var(--soft); background: none; border: 0; }
  :is(.kbsave, .kbacts) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding-block: 0 .55rem; padding-inline: 1rem; font-size: .85rem; color: var(--soft); }

  /* a nebija's reason (plan 2026-11-12-absence-reasons.md): three on their own line, one switch (.switch: the picked one framed, a second
     tap clears it); Paziņoja's note under them, the field as every dialog's (site.css, 1rem so an iPhone doesn't zoom) */
  .kbrs, .kbnl { flex: 1 1 100%; }
  .kbrs button { flex: 1 1 0; min-inline-size: 0; white-space: normal; overflow-wrap: anywhere; }
  .kbnl { display: grid; gap: .3rem; }
  #kb :is(.kbtap, .kbmore, .kbnone):active:not(:disabled, div) { background: var(--qb); }
  @media (hover: hover) and (pointer: fine) { #kb :is(.kbtap, .kbmore):hover:not(div) { background: var(--qb); } }
  :is(.kbsaid, .kbhint) { margin: 0; padding: 1rem; color: var(--soft); }
  .kbhint:empty { display: none; }
  .kbedit { display: grid; gap: .75rem; align-content: start; padding: 1rem; }
  .kbedit .kicker { margin: 0; font-size: .9rem; font-weight: 600; }
  .kbpeople label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-block-size: 3rem; border-block-end: 1px solid var(--edge); }
  :is(.kbpeople select, .kbq, .kbin) { min-block-size: var(--field-h); padding-inline: .6em; font: inherit; color: var(--ink); background-color: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--r); }
  :is(.kbpeople, .kbmadd) select { padding-inline-end: 2.5em; }   /* room for the chevron every dialog's select draws (site.css): a list must not look like a button */
  .kblist > .kblbl { padding: 1rem 1rem .4rem; }   /* "Rezerve" over an event's reserves, in the list's own gutter */
  #kb .kbup { margin-inline-end: 1rem; font-weight: 600; white-space: nowrap; }   /* + Iekļaut at the row's end */
  .kbsqn { margin: 0; color: var(--soft); }   /* Sastāvs's refusal line, at the list's left edge */
  .kbsqn:empty { display: none; }
  .kbsquad input { flex: none; inline-size: 1.5rem; block-size: 1.5rem; margin: 0; accent-color: var(--fill); }   /* Sastāvs: a tick per child (a game's or a tournament's squad) */
  /* a game's or a tournament's tabs, its match box and its teams (plan 2026-11-13-match-results.md; marking.js) */
  .kbtabs button { flex: 1 1 0; min-inline-size: 0; }   /* only layout: the view choices use .switch, including its 44 px height */
  #kb:is([data-view="games"], [data-view="text"]) :is(.kbstaff, .kbtiles, .kbwhy) { display: none; }
  .kbtext { inline-size: 100%; min-block-size: 14lh; padding-block: .6em; line-height: 1.4; resize: none; field-sizing: content; }   /* Vecākiem: grows with its message */
  .kbgames { display: grid; gap: .75rem; align-content: start; padding: 1rem; }
  .kbm { display: grid; gap: .75rem; }
  .kbscore { display: grid; grid-template-columns: 1fr auto 1fr; justify-items: center; gap: .5rem; }
  .kbside { display: grid; justify-items: center; gap: .4rem; }
  .kbsw { font-size: .82rem; font-weight: 600; color: var(--soft); }
  .kbsc { font-size: 3rem; }
  .kbcolon { margin-block-start: 1.75rem; font: 700 2.4rem/1 var(--face); color: var(--soft); }   /* its dots centred on the digits under the side's word (measured: Doto's colon sits low in its line) */
  .kbstep { display: flex; gap: .5rem; }
  /* Score steppers keep 48px targets and large +/− glyphs for repeated pitch-side taps. */
  #kb .kbstep .sagain { inline-size: 3rem; min-block-size: 3rem; padding: 0; font-size: 1.4rem; font-weight: 700; }
  #kb .kbstep .sagain:disabled { opacity: .4; }
  .kblbl { margin: 0; font-size: .9rem; color: var(--soft); }
  .kbnames { display: flex; flex-wrap: wrap; gap: .5rem; }
  #kb .kbnb { display: inline-flex; align-items: center; gap: .45em; min-block-size: 2.75rem; padding-inline: .9em; font-weight: 600; overflow-wrap: anywhere; }
  .kbnb b { min-inline-size: 1.5em; padding-inline: .3em; font-size: .85em; text-align: center; color: var(--club-ink); background: var(--club); border-radius: var(--pill); }
  #kb .kbnone2 { font-weight: 400; }
  .kbask { display: grid; gap: .5rem; padding: .75rem; border: 2px solid var(--acc); border-radius: var(--r); }
  .kbgoals { list-style: none; margin: 0; padding: 0; }
  .kbgoals li { display: flex; align-items: center; gap: .6rem; min-block-size: 3rem; font-weight: 600; border-block-end: 1px solid var(--edge); }
  .kbgoals .kbsub { font-weight: 400; }
  #kb .kbgoals .kbmore { margin-inline-start: auto; }
  .kbms { list-style: none; display: grid; gap: .5rem; margin: 0; padding: 0; }
  .kbmc { display: grid; border: 1px solid var(--edge); border-radius: var(--r); }
  #kb .kbmh { display: flex; align-items: center; justify-content: space-between; gap: .75rem; inline-size: 100%; min-block-size: 3.25rem; padding-inline: .9rem; text-align: start; background: none; border: 0; border-radius: var(--r); }
  .kbmh .kbnum { flex: none; font-size: 1.4rem; }
  .kbmc > :is(.kbm, .kbacts, .kbmadd) { padding-block: 0 .9rem; padding-inline: .9rem; }
  .kbmc > .kbm { padding-block-start: .9rem; border-block-start: 1px solid var(--edge); }
  .kbmadd { display: flex; flex-wrap: wrap; gap: .5rem; }
  .kbmadd .kbin { flex: 1 1 9rem; min-inline-size: 0; }
  .kbmadd select.kbin { flex: 0 1 auto; max-inline-size: 100%; }
  .kbgsaid { margin: 0; padding: .6rem .8rem; font-weight: 600; background: var(--field-bg); border-inline-start: 3px solid var(--bad); border-radius: var(--r); }
  #kb .kbclear { justify-self: start; }
  .kbchips small { font-size: .85em; font-weight: 400; color: var(--soft); font-variant-numeric: tabular-nums; }   /* a team's count: the cells are .switch.grid */
  #kb .kbmh:active { background: color-mix(in oklch, var(--ink) 4%, var(--qb)); }
  @media (hover: hover) and (pointer: fine) { #kb .kbmh:hover { background: var(--qb); } }
  .kbfoot { flex: none; display: flex; gap: .5rem; padding-block: .75rem calc(.75rem + env(safe-area-inset-bottom, 0px)); padding-inline: 1rem; border-block-start: 1px solid var(--edge); }

  #kb .kball { flex: none; white-space: nowrap; }   /* two short words stay on one line at 320 px; the longer button beside it gives way */
  .kbfind { flex: 1; display: flex; flex-wrap: wrap; gap: .5rem; }   /* a long button (Atpakaļ uz sastāvu) goes under the field when the row is too narrow */
  .kbq { flex: 1 1 9rem; min-inline-size: 0; }

.wchips { position: relative; min-inline-size: 0; max-inline-size: 100%; }
.wchips .wtoggle { display: inline-flex; align-items: center; gap: .5em; max-inline-size: 100%; border-radius: var(--r); }
.wtoggle > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcaret { flex: none; font-size: .8em; }
.wpanel { position: absolute; inset: calc(100% + .4rem) auto auto 0; margin: 0; z-index: 5; inline-size: min(22rem, 90vw);
  max-block-size: min(70vh, 34rem); overflow: auto; padding: .9rem; color: var(--ink); background: var(--pop); border: 1px solid var(--field-line); border-radius: var(--r); box-shadow: var(--list-shadow); }
.wpanel input[type="search"] { inline-size: 100%; margin-block-end: .8rem; }
.wsecs, .wsec { display: grid; }
.wsec h3 { margin: .9rem 0 .3rem; font-size: .85rem; font-weight: 400; color: var(--soft); }
.wsec + .tickrow { margin-block-start: .6rem; border-block-start: 1px solid var(--field-line); }   /* a row after a branch (Players' No group, Left): not read as that branch's */
.tickrow { display: flex; align-items: center; gap: .75rem; min-block-size: var(--field-h); padding: .3rem .5rem; cursor: pointer; }
.wpanel .tickrow { min-block-size: var(--cb-row); }   /* a groups panel's row: one height with a form's lists (--cb-row) */
.tickrow span { overflow-wrap: anywhere; }
.tickrow input { flex: none; accent-color: var(--acc); min-block-size: 0; padding: 0; border: 0; background: none; }
.wpanel input:focus-visible, .tickrow input:focus-visible, .wtoggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tickrow:active { background: var(--tint); }
@media (hover: hover) and (pointer: fine) { .tickrow:hover { background: var(--tint); } }
.wnone { margin: 0; color: var(--soft); }
.wshead { display: none; }
@media (max-width: 720px) {
  .wpanel { position: fixed; inset: auto 0 0 0; inline-size: 100%; max-inline-size: none; max-block-size: 80dvh; border-radius: var(--r) var(--r) 0 0; padding-block-start: 0; padding-block-end: max(.9rem, env(safe-area-inset-bottom, 0px)); }
  .wpanel::backdrop { background: rgb(0 0 0 / .45); }
  .wshead { position: sticky; inset-block-start: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-block: .6rem; margin-block-end: .6rem; background: var(--pop); border-block-end: 1px solid var(--field-line); }
  .wshead h2 { margin: 0; font-size: 1rem; }
}

/* The two view filters use the page's selection colour. */
/* A tick uses the page's frame colour; the chosen row and expanded rows share the pale-safe club tint below. */
.dash .tickrow input { accent-color: var(--pick-c); }
/* Slice 6 (B): an open row is a chosen row: the club tint and a 2 px line under the row itself (his pick, 24 Nov: the tint on the row, its content plain under it, no box); a session or week row tints whole, its content is inside it. */
:is(:is(.grow, .plrow)[aria-expanded="true"], .srow.open, .wrow:has(> .wtog[aria-expanded="true"])) {
  border-radius: 0; background: color-mix(in oklch, var(--club-tint, var(--head)) var(--open-mix), var(--panel));   /* its own, lighter value (site.css --open-mix) */
  box-shadow: inset 0 -2px 0 var(--pick-c); color: var(--ink);
  /* the same tint and line again, reaching past the content on both sides; the content stays on the page's columns (written out, not a
     custom property: a --x holding color-mix() would need an old-iPhone stand-in, site test 03) */
  border-image: linear-gradient(to top, var(--pick-c) 2px, color-mix(in oklch, var(--club-tint, var(--head)) var(--open-mix), var(--panel)) 2px calc(100% - 1px), var(--open-line, transparent) calc(100% - 1px)) fill 0 / / 1px var(--open-reach) 0;
}
/* the line above an open row reaches with its tint (the coach, 26 Nov: "augšējā līnija virs iezīmētā arī jāpagarina"): drawn 1 px over the row, on the line that is there (the row before's, the list's, or a first session row's own), in that list's colour; none over a first group or player, which has no line above */
.glist li + li > :is(.grow, .plrow) { --open-line: var(--line-thin); }
#list .srow { --open-line: var(--line); }
#wDays .wrow { --open-line: var(--edge); }
.glist li + li:has(> [aria-expanded="true"]), #list .srow:has(+ .srow.open) { border-color: transparent; }   /* the see-through line under it, so the two never darken where they overlap */
#list .srow.open > .sbody { padding-inline: 0; }   /* Saturs ends on the ⌄'s edge */
:is(.grow, .plrow)[aria-expanded="true"] :is(.gname, .plname), #list .srow.open .sname, .wrow:has(> .wtog[aria-expanded="true"]) .wname { font-weight: 700; }
:is(.cbo[aria-selected="true"], .tickrow:has(input[type="radio"]:checked)) { background: color-mix(in oklch, var(--club-tint, var(--head)) var(--chosen-mix), var(--panel)); }
@media (hover: hover) and (pointer: fine) {
  :is(.grow, .plrow)[aria-expanded="false"]:hover :is(.gname, .plname), #list .srow:not(.open):hover .sname,
  .wrow:not(:has(> .wtog[aria-expanded="true"])):hover .wname { text-decoration: underline; text-underline-offset: 3px; }
}
@media (forced-colors: active) { :is(:is(.grow, .plrow)[aria-expanded="true"], .srow.open, .wrow:has(> .wtog[aria-expanded="true"])) { border-image: none; border-block-end: 2px solid Highlight; } }
:is(#sShow, #plGroup, #dPickBox) .wtoggle { min-block-size: 44px; inline-size: 100%; justify-content: space-between; }

/* A fixed field's phone sheet: do not inherit its label's small bold text. */
.cbgroup .wpanel { font-size: 1rem; font-weight: 400; }
.cbgroup .tickrow input { inline-size: auto; }

.planrows .cb, #planWhatBox { min-inline-size: 0; inline-size: 100%; }
.planrows .cb > input { inline-size: 100%; }

  /* iPhones on iOS 16 (no light-dark()): the same colours by site.css's --day-off / --night-off, each on its own selector (the same weight as the
     rule it stands in for); last, as a custom property's light-dark() is kept by those browsers. New browsers skip the block */
  @supports not (color: light-dark(#000, #fff)) {
    :root { --lime: var(--day-off, #3f6f49) var(--night-off, #b7e600); }
    :root.inclub { --away: var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); --away-fill: var(--day-off, var(--club-fill-l)) var(--night-off, var(--club-fill-d)); --away-on: var(--day-off, var(--club-on-l)) var(--night-off, var(--club-on-d)); }
    #kb { --acc: var(--day-off, var(--club-l, var(--btn))) var(--night-off, var(--club-d, var(--btn))); --fill: var(--day-off, var(--club-fill-l, var(--btn))) var(--night-off, var(--club-fill-d, var(--btn))); --on-fill: var(--day-off, var(--club-on-l, var(--on-ink))) var(--night-off, var(--club-on-d, var(--on-ink))); }   /* no club: the site's own fill, so Gatavs never goes blank */
    .sdate { background: var(--day-off, var(--head)) var(--night-off, color-mix(in oklch, var(--acc) 10%, transparent)); }
    .sdate > :first-child { color: var(--day-off, rgb(255 255 255 / .7)) var(--night-off, var(--soft)); }
    .sdate > :last-child { color: var(--day-off, var(--on-ink)) var(--night-off, var(--acc)); }
    .places button.club { --pick-c: var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); }
    :is(.phead, #invFrom, .tlist li) > .crest { box-shadow: 0 0 0 2px var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); }
    #invite.club { border-color: var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); }
    .tlist li.club .tname { color: var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); }
    .dash .splace.club { color: var(--day-off, var(--club-l)) var(--night-off, var(--club-d)); }
  }
