/* GSD Gyms Brand Kit 2026, applied as written, with one app-specific scale.

   TYPE. The kit's sizes are for a marketing page (17px body, an 11px eyebrow
   spaced 5px). An app is denser, but the first build went too far the other
   way: twenty-two different sizes, thirty-one of them under 13px. One scale
   now, and nothing a person has to read sits under 13px. Bebas Neue is a
   condensed capital face, so its labels are sized UP to 14px and their letter-
   spacing brought DOWN to keep the words together at that size.

   ACCENT. The kit says gold is for CTAs, labels, highlights and stat numbers.
   Put on every stat of a twenty-number board it stops highlighting anything,
   so numbers are ink by default and gold marks the one that matters on a card
   (`.stat.hero`, and every stat inside an active card).

   TWO THEMES. Dark is GSD's look and the default on every device (ruled
   9/18): light is only the viewer's own choice with the switch, on its own
   attribute, data-gsd-theme, so neither the device nor the host page's theme
   flips it. Light is the promo guide's palette, gold
   text darkened to #846819 so small type clears 4.5:1. Gold as a FILL is
   #eaca46 in both. --bg (the page) and --on-gold (text on a gold button) are
   separate tokens because in light they are opposites.

   MUTED. The kit's #7a7a7a clears 4.5:1 on its black page but only 3.93:1
   on an app card (#1d1d1d), and an app puts its small print on cards. Dark
   muted is #8a8a8a here (4.9:1 on a card); rules and dashes keep #7a7a7a.

   SHAPE. Square corners everywhere, 3px grid gaps, a gold gradient for rules,
   a 3px gold left border only on Coach notes, active = 2px gold top on amber. */
/* FACES. The kit's three faces are the app's own files (app/static/fonts; SIL Open Font License, the
   licences are in docs/licenses). The page's policy lets it fetch nothing from anywhere else, and without
   the files every heading drew in Impact and every label in Arial. They are declared as the mockup's
   stylesheet had them, weight for weight and range for range, so a board draws here as it drew there.
   DM Sans is one file that holds every weight. The second file of each pair is only fetched for a name in
   a script the first does not hold. */
@font-face{font-family:'Bebas Neue'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/bebas-neue-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Bebas Neue'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/bebas-neue-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans'; font-style:italic; font-weight:400; font-display:swap;
  src:url(fonts/dm-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans'; font-style:italic; font-weight:400; font-display:swap;
  src:url(fonts/dm-sans-italic-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Serif Display'; font-style:italic; font-weight:400; font-display:swap;
  src:url(fonts/dm-serif-display-italic-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Serif Display'; font-style:italic; font-weight:400; font-display:swap;
  src:url(fonts/dm-serif-display-italic-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
:root{
  color-scheme:dark;
  --bg:#0a0a0a; --surface:#141414; --card:#1d1d1d; --border:#343434;
  --ink:#f5f4f0; --body:#d4d2cd; --soft:#c8c6c1; --muted:#adaba6; --quote:#d9d7d2;
  --gold:#eaca46; --gold-hi:#f5dd80; --gold-ink:#eaca46; --on-gold:#0a0a0a; --amber:#18140a;
  --lock:#f5f4f0; --grid-line:#7a7a7a; --iqr:#272727;
  --ok-bg:#0c1000; --ok-bd:rgba(100,180,60,.25); --ok:#7bc96c; --ok-hi:#a8e89a; --ok-tx:#a8c8a0;
  --bad-bg:#130000; --bad-bd:rgba(200,50,40,.3); --bad:#e88888; --bad-hi:#ffaaaa;
  --fs-fine:13px; --fs-sm:14px; --fs-body:15.5px; --fs-lead:17px; --fs-label:14px;
  --fs-ui:19px; --fs-sub:21px; --fs-title:24px; --fs-h2:30px; --fs-stat:42px; --fs-stat-sm:32px; --fs-hero:60px;
  --mix1:#eaca46; --mix2:#f5f4f0; --mix3:#6e6e6e;
  --tray:#1f1f1f; --tray-me:#2e2e2e; --tray-line:#383838; --tray-edge:#eaca46; --tray-shade:-18px 0 44px rgba(0,0,0,.6);
  --rail:208px; --top:58px;
}
:root[data-gsd-theme="light"]{
    color-scheme:light;
    --bg:#f0ede8; --surface:#f7f5f0; --card:#ffffff; --border:#dcd6ca;
    --ink:#141414; --body:#222222; --soft:#333333; --muted:#4d4d4d; --quote:#333333;
    --gold:#eaca46; --gold-hi:#f5dd80; --gold-ink:#846819; --on-gold:#0a0a0a; --amber:#faf1d2;
    --lock:#0a0a0a; --grid-line:#8a8a8a; --iqr:#e3ddd0;
    --tray:#f7f5f0; --tray-me:#ffffff; --tray-line:#dcd6ca; --tray-edge:#dcd6ca; --tray-shade:none;
    --ok-bg:#edf5e7; --ok-bd:rgba(60,130,40,.30); --ok:#2e6a1e; --ok-hi:#1f4d12; --ok-tx:#34552a;
    --bad-bg:#fbecea; --bad-bd:rgba(180,40,30,.28); --bad:#a3261b; --bad-hi:#7d1a11;
    --mix1:#141414; --mix2:#c79a12; --mix3:#b9b3a8;
}
*{box-sizing:border-box;}
html,body{height:100%;}
body{margin:0; background:var(--bg); color:var(--body);
  font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-body); line-height:1.6;
  -webkit-font-smoothing:antialiased;}
button,input,select,textarea{font:inherit;}
.bebas{font-family:'Bebas Neue',Impact,sans-serif; font-weight:400; letter-spacing:.01em;}
.eyebrow{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:3.5px;
  color:var(--gold-ink); text-transform:uppercase;}
h1,h2,h3{margin:0; font-family:'Bebas Neue',Impact,sans-serif; font-weight:400;
  color:var(--ink); letter-spacing:.01em; line-height:1; text-wrap:balance;}
h1{font-size:clamp(38px,4.8vw,56px);}
h1 em{font-style:normal; color:var(--gold-ink);}
h2{font-size:var(--fs-h2); margin-top:40px;}
.lede{color:var(--soft); font-size:var(--fs-lead); margin:10px 0 0; max-width:66ch; line-height:1.55;}
.hint{color:var(--muted); font-size:var(--fs-sm); margin:8px 0 0; max-width:74ch;}
.fine{font-size:var(--fs-fine); color:var(--muted);}
b,strong{color:var(--ink); font-weight:600;}
.rule{height:1px; margin:34px 0 0; border:0;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);}

/* ------------------------------------------------------------ shell ---- */
/* The bar spans the page and holds the lockup, so the lockup stays put while the rail scrolls under it.
   The rail and the boards' column sit side by side below. */
.app{display:flex; flex-direction:column; min-height:100%;}
.under{display:flex; flex:1 1 auto; min-width:0;}
.rail{width:var(--rail); flex:none; background:var(--bg);
  border-right:1px solid var(--border); position:sticky; top:var(--top); height:calc(100vh - var(--top));
  overflow-y:auto; display:flex; flex-direction:column;}
/* The rail scrolls as one when a screen is too short for it. "Powered by" is the last thing in it, at the foot when
   there is room (2026-10-07: it is not held in place). */
.rail nav{flex:none; padding-bottom:10px;}
.lock{display:flex; align-items:center; padding:0 18px; height:var(--top);
  border-bottom:1px solid var(--border); flex:none;}
/* THE GSD GYMS LOCKUP: the brand's own drawing (app/static/gsd-lockup.svg), in the theme's ink. */
.gsdlogo{display:block; flex:none; height:24px; aspect-ratio:1891/279; background:var(--lock);
  -webkit-mask:url(gsd-lockup.svg) no-repeat left center/contain;
  mask:url(gsd-lockup.svg) no-repeat left center/contain;}
/* in the bar it takes the rail's width, so the bar's words start where the boards do */
.top .lock{width:var(--rail); border-bottom:0; margin-right:8px;}
/* the rail's own copy is for a narrow screen, where the rail is a drawer over the bar */
.rail .lock{display:none;}
.navgrp{padding:14px 0 2px;}
.navlbl{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:3px;
  color:var(--muted); padding:0 18px 8px;}
.nav,.navstu{display:flex; align-items:center; gap:10px; width:100%; text-align:left;
  background:transparent; border:0; color:var(--soft); cursor:pointer;
  padding:7px 18px; font-size:var(--fs-body);}
.nav svg,.navstu svg{flex:none; opacity:.8;}
.nav:hover,.navstu:hover{color:var(--ink); background:var(--surface);}
.nav[aria-current="page"]{color:var(--gold-ink); background:var(--amber);}
.nav[aria-current="page"] svg{opacity:1;}
/* "Coming soon": a board GSD has not opened yet, named and nothing more. Not a button, so it takes no hover and no pointer. */
.navsoon{display:flex; align-items:center; gap:10px; width:100%; padding:7px 18px; font-size:var(--fs-body); color:var(--muted); cursor:default;}
.navsoon svg{flex:none; opacity:.5;}
/* The tag sits at the rail's edge and not in the row: a board's name keeps the width it has without one. */
.nav{position:relative;}
.nav .tag{position:absolute; right:12px; top:50%; transform:translateY(-50%);
  font-family:'Bebas Neue',sans-serif; font-size:var(--fs-fine);
  letter-spacing:1.5px; color:var(--on-gold); background:var(--gold); padding:1px 7px 0;}
/* The list a leader opens any studio of their cohort from: a row for each, drawn as a board's row is (the same height, type and hover),
   with the studio's initials in a small square where a board has its icon, a smaller relative of the tile of the account's initials.
   The name is cut with an ellipsis where the rail has no more room (its tooltip is the whole name), and the chevron at the right
   points right while the studio is closed and down while it is open. The open studio's tile is filled, which is how the account's
   is; a board that is current is already the one thing in the rail that is gold on amber. The open studio's boards are under its
   row, one step in, with a hairline down the tile's middle to say whose they are. */
.navstu{padding-right:12px;}
.navstu .stm{flex:none; display:flex; align-items:center; justify-content:center; width:22px; height:22px; padding-top:1px;
  border:1px solid var(--border); color:var(--soft); font-family:'Bebas Neue',sans-serif; font-size:var(--fs-fine);
  letter-spacing:1px; line-height:1;}
.navstu:hover .stm{color:var(--ink);}
.navstu .stn{flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.navstu > svg{width:14px; height:14px; margin-left:-4px;}
.navstu[aria-expanded="true"]{color:var(--ink);}
.navstu[aria-expanded="true"] .stm{background:var(--gold); border-color:var(--gold); color:var(--on-gold);}
.navstu[aria-expanded="true"] > svg{transform:rotate(90deg);}
.navsub{position:relative;}
.navsub::before{content:""; position:absolute; left:28px; top:0; bottom:0; width:1px; background:var(--border);}
.navsub .nav{padding-left:38px;}
/* GSD's staff boards (2026-10-10). Two to a row at a desk width and never three over one (`pair`: the four cards of Membership), two blocks
   side by side each under its own heading (`split`: Path to $100K's goal and who crosses next), and one to a row when there is no room for
   two. The box that finds a studio by name sits over the Studios list. */
.pair{grid-template-columns:repeat(auto-fit,minmax(min(max(400px,45%),100%),1fr));}
.split{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(max(400px,45%),100%),1fr)); gap:0 28px; align-items:start;}
.split > *{min-width:0;}
/* Half a row is narrower than the 640 a table is given, and its first column, the studio's name, wraps where it must so that the figures keep theirs. */
.split table{min-width:0;}
.split th:first-child,.split td:first-child{white-space:normal; min-width:9em;}
.finder{margin-top:20px; max-width:380px;}
.finder label{display:grid; gap:6px;}
/* The way out of a cohort's rail or a studio's (2026-10-10) is the first thing in it, over no label: its group takes less room over it
   than a labelled one does. */
.navgrp.navtop{padding:10px 0 2px;}
.nav:focus-visible,.navstu:focus-visible,.btn:focus-visible,.gbtn:focus-visible,.pt:focus-visible,
.acct:focus-visible,.ask:focus-visible,.x:focus-visible,.themeb:focus-visible,
.tinput:focus-visible,.tselect:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}

/* POWERED BY XYZIOS: the official white knockout on dark, the official black
   one-colour on light. 92px, full opacity, nothing in the clear space. */
.powered{margin-top:auto; padding:12px 18px 14px; border-top:1px solid var(--border);
  display:block; text-decoration:none; flex:none;}
.powered .pl{font-family:'Bebas Neue',sans-serif; font-size:11px; letter-spacing:3px;
  color:var(--muted); display:block;}
.powered .pb{display:block; padding:5px 0 0;}
.powered .xz-lock{display:block; width:92px; height:auto;}
.powered:hover .pl{color:var(--soft);}
.powered .xz-black{display:none;}
:root[data-gsd-theme="light"] .powered .xz-white{display:none;}
:root[data-gsd-theme="light"] .powered .xz-black{display:block;}
.powered:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}

.col{flex:1 1 auto; min-width:0; display:flex; flex-direction:column;}
.top{height:var(--top); display:flex; align-items:center; gap:14px; padding:0 28px 0 0; flex:none;
  border-bottom:1px solid var(--border); background:var(--bg); position:sticky; top:0; z-index:5;}
.menu{display:none; position:relative; background:transparent; border:1px solid var(--border);
  color:var(--ink); width:40px; height:40px; cursor:pointer; font-size:22px; line-height:1; -webkit-tap-highlight-color:transparent;}
/* The menu button answers a press anywhere in the bar's height beside it, out towards the screen's edge, so a thumb need not
   land inside its 40px. The bar is 58px, so 9px above and below its border. */
.menu::after{content:""; position:absolute; top:-10px; bottom:-10px; left:-13px; right:-6px;}
.menu:active{background:color-mix(in srgb, var(--ink) 8%, transparent);}
.ctx{min-width:0;}
.ctx b{display:block; font-family:'Bebas Neue',sans-serif; font-weight:400;
  font-size:var(--fs-title); letter-spacing:.02em; line-height:1.05; white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;}
.ctx i{font-style:normal; font-size:var(--fs-sm); color:var(--muted);}
.grow{flex:1 1 auto;}
.themeb{background:transparent; border:1px solid var(--border); color:var(--soft);
  width:42px; height:40px; cursor:pointer; font-size:var(--fs-ui);}
.themeb:hover{border-color:var(--gold-ink); color:var(--ink);}
.ask{display:flex; align-items:center; gap:7px; background:transparent; color:var(--gold-ink);
  border:1px solid var(--gold-ink); cursor:pointer; height:38px; padding:2px 15px 0; font-family:'Bebas Neue',sans-serif;
  font-size:var(--fs-lead); letter-spacing:1.5px; flex:none;}
.ask:hover,.ask:focus-visible{background:var(--gold); border-color:var(--gold); color:var(--on-gold);}
.acct{background:transparent; border:1px solid var(--border); color:var(--soft);
  cursor:pointer; padding:9px 14px; font-size:var(--fs-sm); position:relative;}
.acct:hover{border-color:var(--gold-ink); color:var(--ink);}
.menuop{position:absolute; right:0; top:calc(100% + 6px); background:var(--surface);
  border:1px solid var(--border); min-width:260px; z-index:20; text-align:left; padding:6px 0;}
.menuop .h{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-fine); letter-spacing:3px;
  color:var(--muted); padding:8px 16px 4px;}
.menuop button{display:block; width:100%; text-align:left; background:transparent;
  border:0; color:var(--soft); padding:9px 16px; cursor:pointer; font-size:var(--fs-sm);}
.menuop button:hover{background:var(--card); color:var(--ink);}
.menuop button[aria-checked="true"]{color:var(--gold-ink);}
.menuop a{display:block; padding:9px 16px; color:var(--soft); text-decoration:none; font-size:var(--fs-sm);}
.menuop a:hover{background:var(--card); color:var(--ink);}
.mockbar a{color:var(--gold-ink);}
main{padding:32px 36px 72px; max-width:1260px; width:100%;}

/* ------------------------------------------------------------ blocks --- */
.grid{display:grid; gap:3px;}
.g2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));}
.g3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.g4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));}
.g5{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));}
/* four trends read as a square, never three and an orphan */
.gq{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width:760px){.gq{grid-template-columns:1fr;}}
.card{background:var(--card); padding:20px 22px;}
.card.flat{background:var(--surface);}
.card.act{background:var(--amber); box-shadow:inset 0 2px 0 var(--gold);}
.k{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:2px; color:var(--muted);}
.stat{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-stat); line-height:1; color:var(--ink);
  margin-top:10px; font-variant-numeric:tabular-nums;}
.stat.hero,.card.act .stat{color:var(--gold-ink);}
.stat.ink{color:var(--ink);}
.stat.sm{font-size:var(--fs-stat-sm);}
.stat.xl{font-size:var(--fs-hero);}
.sub{font-size:var(--fs-sm); color:var(--muted); margin-top:6px;}
.dd{display:flex; gap:16px; margin-top:9px; font-size:var(--fs-sm); flex-wrap:wrap;}
.dd span{display:flex; gap:6px; align-items:baseline;}
.dd em{font-style:normal; color:var(--muted); font-family:'Bebas Neue',sans-serif;
  letter-spacing:1.5px; font-size:var(--fs-fine);}
.up{color:var(--ok);} .down{color:var(--bad);} .flat{color:var(--muted);}

/* ON NOW: the cells under My Cohort's head, for whoever leads the cohort. Each is the way to its board (Overview's line is at the foot). */
.nowc{display:flex; flex-direction:column;}
.nowc .stat{overflow-wrap:anywhere;}
.nowc .sub{overflow-wrap:anywhere;}
/* the card an empty Overview opens on */
.firstrun h2{margin-top:0;}

/* TRENDS. The drawing is a stretched SVG with no text in it; every label is
   page text under it, so a phone gets 13px labels, not 5px ones. Each line is
   on its own scale with room above and below, never from zero. The endpoint
   is a square, like every other corner in the kit. */
.spk-w{position:relative; height:46px; margin-top:14px;}
.spk-w .spark{position:absolute; left:0; top:0; width:100%; height:100%; display:block; overflow:visible;}
.spk-w .dot{position:absolute; width:7px; height:7px; margin:-3.5px 0 0 -3.5px; background:var(--gold-ink);}
/* the fill fades from the line to nothing, as on the Xyzios boards */
.spark .g0{stop-color:var(--gold); stop-opacity:.28;}
.spark .g1{stop-color:var(--gold); stop-opacity:0;}
.tnote{font-size:var(--fs-fine); color:var(--muted); margin-top:4px;}
.spk-f{display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 10px; margin-top:8px;
  font-size:var(--fs-fine); color:var(--muted); white-space:nowrap;}
.spk-f b{color:var(--soft); font-weight:500;}
.trendcard .spk-w{height:132px; margin-top:26px;}
.trendhead{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;}
/* A card's name wraps inside its card rather than running into the next (2026-10-27, Goals' "Total active members"). */
.trendhead .k{min-width:0; overflow-wrap:anywhere;}
.trendhead .v{margin-left:auto; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title);
  color:var(--ink); font-variant-numeric:tabular-nums;}
.trendhead .lbl{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sub); color:var(--ink); letter-spacing:.02em;}
.trendhead .v2{margin-left:auto; font-size:var(--fs-sm);}
.legend{display:flex; gap:8px 18px; flex-wrap:wrap; font-size:var(--fs-fine); color:var(--muted); margin-top:12px;}
.legend span{display:inline-flex; align-items:center; gap:7px;}
.legend i{display:inline-block; width:18px; height:0; border-top:2px solid var(--gold-ink);}
.legend i.ink{border-top-color:var(--ink);}
.legend i.dash{border-top:2px dashed var(--grid-line);}
.legend i.box{height:10px; border:0; background:var(--iqr);}

/* distribution strip: range line, middle half, median, the standard, industry */
.strip{position:relative; height:84px; margin-top:12px;}
.strip i{position:absolute; display:block;}
.strip .rng{top:43px; height:2px; background:var(--grid-line);}
.strip .iqr{top:32px; height:24px; background:var(--iqr);}
.strip .med{top:26px; height:36px; width:3px; margin-left:-1.5px; background:var(--ink);}
.strip .std{top:20px; height:48px; width:3px; margin-left:-1.5px; background:var(--gold-ink);}
.strip .lab{position:absolute; transform:translateX(-50%); white-space:nowrap;
  font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sm); letter-spacing:1px; color:var(--ink);}
/* "above"/"below", never "top": .top is the header bar and it came with it */
.strip .lab.above{top:0;} .strip .lab.below{top:66px;}
.strip .lab.gold{color:var(--gold-ink);}
.strip .lab.l{transform:none;} .strip .lab.r{transform:translateX(-100%);}

/* month bars: the membership's own year against its average month */
.bars{display:flex; gap:6px; margin-top:16px; height:210px;}
.bar{flex:1 1 0; min-width:0; display:flex; flex-direction:column; text-align:center;}
.bar .bv,.bsc .bv{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sm); color:var(--ink); letter-spacing:.5px;}
.bar .pl{position:relative; flex:1 1 auto; margin-top:6px; border-bottom:1px solid var(--border);}
.bar .pl i{position:absolute; left:12%; right:12%; bottom:0; display:block; background:var(--iqr);}
.bar.hi .pl i{background:var(--gold);}
.bar .pl::after{content:""; position:absolute; left:0; right:0; bottom:50%; border-top:1px dashed var(--grid-line);}
.bar .bm{font-size:var(--fs-fine); color:var(--muted); margin-top:7px;}

/* the path chart: actual, current pace, with your changes, and the goal */
.pchart{position:relative; height:250px; margin-top:16px;}
.pchart .spark{position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible;}
/* the goal is labelled at the left end: the gold line crosses it on the right */
.pchart .glab{position:absolute; left:0; transform:translateY(-120%); font-family:'Bebas Neue',sans-serif;
  font-size:var(--fs-sm); letter-spacing:1px; color:var(--ink); white-space:nowrap;}
.pchart .xm{position:absolute; top:100%; margin-top:8px; font-size:var(--fs-fine); color:var(--muted);
  white-space:nowrap; transform:translateX(-50%);}
.pchart .xm.l{transform:none;} .pchart .xm.r{transform:translateX(-100%);}
.pchart .xm b{color:var(--gold-ink); font-weight:600;}
.pchart .dot{position:absolute; width:10px; height:10px; margin:-5px 0 0 -5px; background:var(--gold-ink);}
.pchart .dot.base{background:var(--grid-line);}
.pfoot{height:30px;}

.bridge{background:var(--surface); border-left:3px solid var(--gold); padding:20px 24px; margin-top:22px;}
.bridge .eyebrow{display:block; margin-bottom:8px;}
.bridge p{margin:0 0 10px; color:var(--body); font-size:var(--fs-lead); max-width:74ch; line-height:1.55;}
.bridge p:last-child{margin-bottom:0;}
.quote{font-family:'DM Serif Display',Georgia,serif; font-style:italic; font-size:var(--fs-sub);
  color:var(--quote); line-height:1.55;}

.okb{background:var(--ok-bg); border:1px solid var(--ok-bd); padding:15px 18px;}
.okb .l{font-family:'Bebas Neue',sans-serif; letter-spacing:2.5px; font-size:var(--fs-label); color:var(--ok);}
.okb p{margin:4px 0 0; color:var(--ok-tx); font-size:var(--fs-sm);}
.okb b{color:var(--ok-hi);}
.badb{background:var(--bad-bg); border:1px solid var(--bad-bd); padding:15px 18px;}
.badb .l{font-family:'Bebas Neue',sans-serif; letter-spacing:2.5px; font-size:var(--fs-label); color:var(--bad);}
.badb p{margin:4px 0 0; color:var(--bad); font-size:var(--fs-sm);}
.badb b{color:var(--bad-hi);}

/* Biggest moves is information, not urgency: a calm strip with a gold label.
   The kit's gold URGENCY bar is kept for things that are actually urgent. */
.moves{background:var(--surface); padding:14px 20px; margin-top:3px; display:flex; gap:14px;
  flex-wrap:wrap; align-items:baseline; font-size:var(--fs-body);}
.moves .eyebrow{flex:none;}
.urgent{background:var(--gold); color:var(--on-gold); font-family:'Bebas Neue',sans-serif;
  letter-spacing:2px; font-size:var(--fs-ui); padding:12px 20px 11px; margin-top:20px;
  display:flex; gap:14px; flex-wrap:wrap;}
.urgent b{color:var(--on-gold); font-weight:400;}
.urgent .t{font-family:'DM Sans',sans-serif; letter-spacing:0; font-size:var(--fs-body);}

.btn{background:var(--gold); color:var(--on-gold); border:0; cursor:pointer;
  font-family:'Bebas Neue',sans-serif; font-size:var(--fs-ui); letter-spacing:2px;
  padding:12px 24px 11px; transition:transform .12s, background .12s;}
.btn:hover{background:var(--gold-hi); transform:translateY(-2px);}
.gbtn{background:transparent; color:var(--ink); border:1px solid var(--border);
  cursor:pointer; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-lead); letter-spacing:2px;
  padding:9px 15px 8px;}
.gbtn:hover{border-color:var(--gold-ink); color:var(--gold-ink);}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; align-items:center;}

.periods{display:flex; border:1px solid var(--border);}
.pt{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-lead); letter-spacing:2px;
  color:var(--muted); background:transparent; border:0; border-right:1px solid var(--border);
  padding:9px 15px 8px; cursor:pointer;}
.pt:last-child{border-right:0;}
.pt[aria-pressed="true"]{background:var(--gold); color:var(--on-gold);}
/* A studio's locations, to pick from. It is as wide as its names, wraps on a narrow screen, and never runs past it. */
.places{margin-top:16px; width:fit-content; max-width:100%;}
.places .pt{flex:0 1 auto; border-bottom:1px solid var(--border); margin-bottom:-1px; overflow-wrap:anywhere;}
.places .was, .places .st{font-family:'DM Sans',sans-serif; font-size:var(--fs-fine); letter-spacing:0; text-transform:none; opacity:.8;}
.places .st::before{content:"· ";}
/* A cohort's Side by side: its six tabs above the table. Six do not fit a phone in a row, so they wrap as the locations do. */
.spans{flex-wrap:wrap; margin-top:12px; width:fit-content; max-width:100%;}
.spans .pt{flex:0 1 auto; border-bottom:1px solid var(--border); margin-bottom:-1px;}

.head{display:flex; align-items:flex-end; gap:18px; flex-wrap:wrap;}
.head .grow{min-width:10px;}
/* the head's tabs and a button beside them are one thing to a head that wraps: they wrap together, then each by itself */
.headact{display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end;}
.sec{display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-top:40px;}
.sec h2{margin-top:0;}
.sec > :last-child:not(h2){margin-left:auto;}

/* tables */
.tw{overflow-x:auto; margin-top:16px; background:var(--card);}
/* More of a table past an edge of its box: that edge fades (app.js `edges`). A box whose first column stays put as the table
   moves (.sticky) fades on the right alone: the name that stays is the sign on the left, and is never faded. */
.tw.more-r{-webkit-mask-image:linear-gradient(to left, transparent, #000 32px); mask-image:linear-gradient(to left, transparent, #000 32px);}
.tw.more-l:not(.sticky){-webkit-mask-image:linear-gradient(to right, transparent, #000 32px); mask-image:linear-gradient(to right, transparent, #000 32px);}
.tw.more-l.more-r:not(.sticky){-webkit-mask-image:linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image:linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);}
@media print{ .tw.more-r,.tw.more-l{-webkit-mask-image:none; mask-image:none;} .twhint{display:none;} }
/* Which ways a table moves (app.js `dress`, `edgeOf`): two arrows over the top right of its box, in the gap above it, gold for a way
   there is more. Only for a table wider than its box; they take no room. A band's name stays at the left as the table moves. */
.twhint{position:relative; height:0;}
.twhint.on::before,.twhint.on::after{position:absolute; top:-1px; font-size:20px; line-height:16px; color:var(--grid-line); pointer-events:none;}
.twhint.on::before{content:"\2039"; right:22px;}
.twhint.on::after{content:"\203A"; right:6px;}
.twhint.l::before,.twhint.r::after{color:var(--gold-ink);}
.tw tr.band td .bandname{position:sticky; left:12px; display:inline-block;}
/* Something brought into view inside such a box (a field tabbed to, a question that opens) stops clear of the edge that fades. */
.tw input,.tw select,.tw textarea,.tw button,.tw a,.tw .sure{scroll-margin:0 34px;}
table{border-collapse:collapse; width:100%; min-width:640px; font-size:var(--fs-body);}
th,td{padding:11px 15px; text-align:right; white-space:nowrap; border-bottom:1px solid var(--border);}
th:first-child,td:first-child{text-align:left;}
thead th{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-label);
  letter-spacing:2px; color:var(--gold-ink); background:transparent; border-bottom:1px solid var(--border);}
td.n{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-ui); color:var(--ink);
  font-variant-numeric:tabular-nums; letter-spacing:.02em;}
td.s{color:var(--muted); font-size:var(--fs-sm); padding-left:32px;}
td.s.n{font-size:var(--fs-lead); color:var(--soft);}
tr.band td{background:var(--bg); font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label);
  letter-spacing:3px; color:var(--muted); padding-block:9px;}
td.g{color:var(--gold-ink);}
td.hit{color:var(--ok);} td.miss{color:var(--bad);}
tbody tr:hover td{background:var(--surface);}

/* funnel squares */
.fun{display:grid; gap:3px; margin-top:16px; grid-template-columns:minmax(0,1fr);}   /* as wide as the cards above and below it */
.fsq{background:var(--card); display:flex; align-items:center; gap:8px 20px; padding:16px 22px; min-width:0; flex-wrap:wrap;}
.fsq .v{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-stat); line-height:1;
  color:var(--ink); min-width:92px; font-variant-numeric:tabular-nums;}
.fsq .t{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-ui); letter-spacing:1.5px; color:var(--ink);}
.fsq .t small{display:block; font-family:'DM Sans',sans-serif; font-size:var(--fs-sm);
  letter-spacing:0; color:var(--muted); margin-top:3px;}
.fsq .std{margin-left:auto; text-align:right; font-size:var(--fs-sm);}
.fsq .std b{display:block; font-family:'Bebas Neue',sans-serif; font-weight:400;
  font-size:var(--fs-sub); letter-spacing:.02em;}

.track{height:5px; background:var(--border); margin-top:12px; position:relative;}
.track i{position:absolute; left:0; top:0; bottom:0; display:block; background:var(--gold);}
.track i.hit{background:var(--ok);} .track i.miss{background:var(--bad);}

.dsvg{display:block; width:100%; height:auto; margin-top:10px;}
input[type=range]{accent-color:var(--gold); width:100%; height:4px; margin:14px 0 4px;}
/* Where a finger does the pressing a slider's box is 28px tall, not 4px, so a press near the track lands on the slider. The
   track is drawn where it was and the row is as tall as it was: the box hangs from the top of its line, and the margins
   give back what it takes. */
@media (pointer:coarse), (max-width:880px){
  input[type=range]{height:28px; margin:2px 0 -4px; vertical-align:top;}
}

/* chips, rows */
.chip{display:inline-block; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sm);
  letter-spacing:1.5px; padding:3px 9px 2px; border:1px solid var(--border); color:var(--soft);}
.chip.gold{background:var(--gold); color:var(--on-gold); border-color:var(--gold);}
.chip.ok{color:var(--ok); border-color:var(--ok-bd);}
.chip.bad{color:var(--bad); border-color:var(--bad-bd);}
.row{display:flex; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--border);}
.row:last-child{border-bottom:0;}
.row .nm{color:var(--ink); font-weight:500;}
/* what a person typed can be one long word, a pasted link: it breaks where it must, and never widens the page */
.row .meta{font-size:var(--fs-sm); color:var(--muted); min-width:0; overflow-wrap:anywhere;}
.row .spk{width:120px; flex:none;} .row .spk .spk-w{height:30px; margin:0;}
.row.wrap{flex-wrap:wrap;}
/* "start", never "top": .top is the header bar (66px, sticky), and a row that
   borrowed it was pinned to 66px with its reasons spilling into the next row */
.row.start{align-items:flex-start;}
.row .who{min-width:200px;}
.row .chips{display:flex; gap:6px; flex-wrap:wrap; flex:1 1 260px;}

.steps{display:grid; gap:3px; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); margin-top:16px;}
.step{background:var(--card); padding:17px 19px;}
.step .no{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sm); letter-spacing:2.5px; color:var(--muted);}
.step .nm2{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); color:var(--ink); margin-top:4px;}
.step p{font-size:var(--fs-sm); color:var(--muted); margin:6px 0 0;}
.step.act{background:var(--amber); box-shadow:inset 0 2px 0 var(--gold);}
.step.act .no{color:var(--gold-ink);}
.step.done .nm2{color:var(--soft);}

/* forms: filing, targets, commitments */
.field{margin-top:3px; background:var(--card); padding:16px 20px; display:grid;
  grid-template-columns:minmax(190px,1fr) 190px; gap:6px 20px; align-items:center;}
.field .fl{color:var(--ink); font-weight:500; font-size:var(--fs-body);}
.field .fd{grid-column:1; font-size:var(--fs-sm); color:var(--muted); line-height:1.5;}
.field input{grid-row:1 / span 2; grid-column:2; background:var(--bg);
  border:1px solid var(--border); color:var(--ink); font-family:'Bebas Neue',sans-serif;
  font-size:var(--fs-title); letter-spacing:.03em; padding:10px 12px; width:100%; text-align:right;}
.field input:focus{outline:0; border-color:var(--gold-ink);}
/* A location's name is words, not a figure: its field is wide, reads from the left, and is in the page's own face. */
.field.loc, .field.locadd{grid-template-columns:minmax(150px,1fr) minmax(190px,2fr);}
.field.loc input, .field.locadd input{font-family:'DM Sans',sans-serif; font-size:var(--fs-body); letter-spacing:0; text-align:left;}
.field.loc .actions, .field.locadd .actions, .field.loc .says, .field.locadd .says{grid-column:1 / -1; margin-top:6px;}
.field.locadd{margin-top:18px; box-shadow:inset 3px 0 0 var(--gold);}
/* Enter KPIs: the sheet's lines in its own order, the first half down the left and the rest down the right from 1100px
   wide, and one column below that. Last month's figure is under the box, in the same column. */
.field .last{font-size:var(--fs-fine); color:var(--muted); text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap;}
@media (min-width:881px){
  .filecols .field .fl{grid-row:1; grid-column:1;}
  .filecols .field .fd{grid-row:2; grid-column:1;}
  .filecols .field input{grid-row:1; grid-column:2;}
  .filecols .field .last{grid-row:2; grid-column:2;}
}
@media (min-width:1100px){
  .filecols{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 3px; align-items:start;}
  .filecols .field{grid-template-columns:minmax(0,1fr) 150px;}
}
.form{background:var(--card); padding:20px 22px; margin-top:16px;}
.form .frow{display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); margin-top:14px;}
.form label{display:block;}
.form label .k{display:block; margin-bottom:6px;}
/* Enter KPIs' month (forms.js monthPick): its label beside it, the box as wide as its longest month. */
.monthpick{display:flex; align-items:center; gap:12px; font-size:var(--fs-sm); color:var(--muted);}
.monthpick .tselect{width:auto; max-width:100%; min-width:0; flex:0 1 auto;}      /* shrinks on a narrow phone, never grows */
.tinput,.tselect,.tarea{width:100%; background:var(--bg); border:1px solid var(--border);
  color:var(--ink); padding:11px 12px; font-size:var(--fs-body);}
.tinput.num{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); letter-spacing:.03em; text-align:right; padding:8px 12px;}
.tinput:focus,.tselect:focus,.tarea:focus{outline:0; border-color:var(--gold-ink);}
.tarea{min-height:76px; resize:vertical;}
.ref{font-size:var(--fs-fine); color:var(--muted); margin-top:5px;}
.ref b{color:var(--soft); font-weight:500;}

/* The targets plan: twelve months by the eight. It scrolls sideways inside its own box, never the page, and keeps its
   names in view as it goes (.tw.sticky). A figure of its own is an input; one in force from earlier is only a hint in grey. */
/* At a desk all twelve months are in view: the months share the width the names leave. Narrower than that the table
   keeps a width it can be read at and its box scrolls. */
/* 940 and 150 give each month's box room for a figure of six digits ("175,000": it was cut by 3.5px under 1280 wide, 2026-10-28)
   while a 1280 laptop still shows all twelve without a scroll. */
table.pl{table-layout:fixed; width:100%; min-width:940px;}        /* the table alone: "pl" is also a label's class elsewhere */
.pl th,.pl td{padding:8px 3px;}
.pl th:first-child,.pl td:first-child{width:150px; padding-left:12px; padding-right:12px;}
.pl .tinput{width:100%; padding:6px 4px; font-size:var(--fs-fine); text-align:right;}
.pl .tinput::placeholder{color:var(--muted); opacity:.8;}
.pl td.inh{color:var(--muted);}
.plgrow{margin-top:0;}
.plgrow .k{margin:0;}
.tinput.gr{width:84px; padding:8px 10px; text-align:right;}

/* toast: every action says what it did */
.toast{position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); opacity:0;
  background:var(--ink); color:var(--bg); padding:12px 20px; font-size:var(--fs-body);
  z-index:50; transition:opacity .18s, transform .18s; pointer-events:none; max-width:90vw;}
.toast.on{opacity:1; transform:translate(-50%,0);}
/* "Saved": what a change the server took says, in the good colour. */
.toast.good{background:var(--ok-bg); color:var(--ok); border:1px solid var(--ok-bd);}

/* tray. Closed, it has no box at all: nothing of it is beside the screen to be scrolled to or tabbed to.
   It slides in from the right edge and out again, where the browser can do that for something that is not drawn. */
/* Its own colours (2026-10-27: Ask Coach "needs some contrast against the black on black background"). In dark it was
   #141414 on the page's #0a0a0a with a #272727 edge, and from 1500 wide, where it stands beside the board with no scrim,
   the two read as one black. It is now a step above the board's cards with a gold edge, as the bar's Ask Coach button
   has, and the rules inside it a step up with it (--border is the tray's own here), so a starter question's outline and
   the box it is asked from still show. Its small print clears 4.5:1 on it. Light keeps what it drew: surface, card, border. */
.tray{position:fixed; top:0; right:0; bottom:0; width:min(460px,100vw); --border:var(--tray-line);
  background:var(--tray); border-left:1px solid var(--tray-edge); box-shadow:var(--tray-shade); z-index:30;
  display:none; flex-direction:column; transform:translateX(100%);
  transition:transform .22s ease, display .22s allow-discrete;}
.tray.open{display:flex; transform:none;}
/* While the tray is open the page under it keeps its place: a wheel, a finger and Page Down move the notes or nothing.
   The room its scrollbar took is kept by the tray's own code, so the board does not shift as the bar goes and comes back. */
html.trayopen{overflow:hidden;}
.tray .tbody{overscroll-behavior:contain;}
@starting-style{.tray.open{transform:translateX(100%);}}
.tray:focus{outline:0;}
.tray .th{height:var(--top); display:flex; align-items:center; gap:10px; padding:0 20px;
  border-bottom:1px solid var(--border); flex:none;}
.tray .th b{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-title);
  letter-spacing:1.5px; color:var(--ink); line-height:1.05;}
/* the place the notes are for, one line under the tray's name; a long name is cut short, never wrapped over the X */
.tray .th .tt{display:flex; flex-direction:column; min-width:0; justify-content:center;}
.tray .th .tt i{font-style:normal; font-size:var(--fs-sm); line-height:1.35; color:var(--muted); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;}
.x{margin-left:auto; background:transparent; border:1px solid var(--border);
  color:var(--soft); width:38px; height:38px; cursor:pointer; font-size:var(--fs-lead);}
.tbody{flex:1 1 auto; overflow-y:auto; padding:20px;}
/* The notes. Each rule is the tray's own: the page has a .msg of its own for a refusal, in a refusal's colour.
   A word with nowhere to break, typed or stored, wraps where the tray ends. */
.tray .msg{margin-bottom:18px; color:var(--body); overflow-wrap:anywhere;}
.tray .msg.me{text-align:right;}
.tray .msg.me span{display:inline-block; background:var(--tray-me); color:var(--ink);
  padding:11px 15px; max-width:86%; text-align:left; font-size:var(--fs-body);}
.tray .msg.co{border-left:3px solid var(--gold); padding:2px 0 2px 15px; font-size:var(--fs-body);}
.tray .msg.co .by{font-family:'Bebas Neue',sans-serif; letter-spacing:2.5px; font-size:var(--fs-sm);
  color:var(--gold-ink); display:block; margin-bottom:4px;}
.tray .msg.co p{margin:0 0 8px; color:var(--body);} .tray .msg.co p:last-child{margin:0;}
.tray .msg.co p.hint{color:var(--muted);}
.tray .msg.co .k{margin-bottom:4px;}
.tray .msg.co .src{font-size:var(--fs-fine); color:var(--muted); margin-top:6px;}
.tray .msg.co .actions{margin-top:10px;}
/* an answer's button is a way to its board, and quieter than a board's own buttons */
.tray .msg.co .actions .gbtn{font-size:var(--fs-body); line-height:1.25; padding:7px 12px 6px;}
.tfoot{border-top:1px solid var(--border); padding:16px 20px; flex:none; margin:0;}
.tfoot .inp{background:var(--bg); border:1px solid var(--border); color:var(--muted);
  padding:13px 15px; font-size:var(--fs-body);}
.sugg{display:flex; gap:6px; flex-wrap:wrap; margin-top:10px;}
.sugg button{background:transparent; border:1px solid var(--border); color:var(--soft);
  font-size:var(--fs-sm); padding:6px 11px; cursor:pointer;}
.sugg button:hover{border-color:var(--gold-ink); color:var(--ink);}
.scrim{position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:25; display:none;}
.scrim.on{display:block;}

.xyz{background:var(--surface); padding:18px 22px; margin-top:28px; display:flex;
  gap:16px; align-items:flex-start; flex-wrap:wrap; border:1px solid var(--border);}
.xyz .k{color:var(--soft);}
.xyz p{margin:5px 0 0; font-size:var(--fs-body); color:var(--soft); max-width:72ch;}
.mockbar{font-size:var(--fs-fine); color:var(--muted); padding:12px 36px; border-top:1px solid var(--border);}

/* the monthly report, drawn as the email it is */
.email{margin-top:22px; max-width:660px; border:1px solid var(--border);}
.email .eh{padding:13px 20px; background:var(--surface); border-bottom:1px solid var(--border);
  font-size:var(--fs-sm); color:var(--muted); line-height:1.6;}
.email .eb{padding:26px 24px; background:var(--card);}
.email h1{font-size:var(--fs-stat); margin-top:6px;}

/* sliders on the Path board */
.slider{display:block; margin-top:12px;}
.slider .sl{display:flex; justify-content:space-between; align-items:baseline;}
.slider .sv{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-sub); color:var(--ink);}

/* sticky row labels, so a wide sheet keeps its names while it scrolls */
.tw.sticky th:first-child,.tw.sticky td:first-child{position:sticky; left:0; z-index:1; background:var(--card);}
.tw.sticky thead th:first-child{background:var(--card);}
.tw.sticky tr.band td:first-child{background:var(--bg);}
/* two cards side by side want 320 each. On a screen narrower than one of them, a card is as wide as the screen */
.g2{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));}
/* a cohort side by side: eight columns for five studios, closer set so a 1280 window shows the last one */
.sbs th,.sbs td{padding:11px 10px;}
/* Membership's vital signs: seven columns, closer set and with headings that wrap, so a 1280 window shows the last one */
.vt th,.vt td{padding:11px 10px;}
.vt th{white-space:normal; line-height:1.15;}
td .spk-w{height:28px; margin:0; min-width:110px;}
.open-c{border-top:1px solid var(--border); margin-top:16px; padding-top:4px;}

/* utilities last, so a utility beats the component it adjusts */
.ink{color:var(--ink);}
.stat.bad-c{color:var(--bad);} .stat.ok-c{color:var(--ok);} .stat.gold-c{color:var(--gold-ink);}
.card.act .stat.ink{color:var(--ink);}
.bridge p.note{font-size:var(--fs-sm); color:var(--muted);}
.mt{margin-top:14px;} .mt-lg{margin-top:22px;} .mt-xs{margin-top:3px;}
.blk{display:block;} .inl{display:inline-flex;} .tight{margin-top:2px;} .mb{margin-bottom:14px;}
.menuop .h.sep{border-top:1px solid var(--border); margin-top:6px; padding-top:10px;}
.body-ink{color:var(--ink); font-size:var(--fs-body); margin-top:8px;}

@media (max-width:880px){
  .rail{position:fixed; left:0; top:0; height:100vh; height:100dvh; z-index:40; transform:translateX(-100%); transition:transform .2s;}
  .rail.open{transform:none;}
  .rail .lock{display:flex;}
  .top .lock{display:none;}
  .menu{display:inline-flex; align-items:center; justify-content:center;}
  main{padding:24px 16px 64px;}
  .top{padding:0 16px; gap:10px;}
  .mockbar{padding:12px 16px;}
  .field{grid-template-columns:1fr;} .field input{grid-row:auto; grid-column:1;}
  .field.loc, .field.locadd{grid-template-columns:1fr;}
  .row .spk{display:none;}
  .bars{gap:3px;}
  .bar .bv,.bsc .bv{font-size:var(--fs-fine);}
  .email .eb{padding:20px 16px;}
  .fsq{gap:8px 14px; padding:14px 16px;}
  .fsq .v{min-width:60px; font-size:var(--fs-stat-sm);}
}
/* a phone keeps first and last; the peak waits for a wider screen */
@media (max-width:560px){.spk-f span:nth-child(2):not(:last-child){display:none;}}
/* THE BAR AT A PHONE'S FOOT: four boards, on a pill that floats 12px in from each side. It is only for a phone, so nothing
   above 560px draws it, and not while the Ask Coach tray is open. It stands 8px up, or over the home indicator's inset less 14px
   where a phone reports one. Its background is solid: one that shows the rows behind it through the labels cannot be read. The
   board a person is on is a pill of its own. The page gives its content room under it, and the toast sits above it, both measured
   from the pill's foot. */
.tabbar{display:none;}
@media (max-width:560px){
  :root{--bar:44px; --barfoot:max(8px, calc(env(safe-area-inset-bottom, 0px) - 14px));}
  .tabbar{display:flex; position:fixed; left:12px; right:12px; bottom:var(--barfoot); z-index:20; background:var(--surface);
    border:1px solid var(--border); border-radius:999px; padding:4px; box-shadow:0 10px 28px -10px rgba(0,0,0,.35);}
  .tabbar:empty, html.trayopen .tabbar{display:none;}
  .tb{flex:1 1 0; min-width:0; height:var(--bar); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    background:transparent; border:0; border-radius:999px; color:var(--soft); cursor:pointer; padding:0 2px; font-size:11px; line-height:1.2;
    letter-spacing:0; -webkit-tap-highlight-color:transparent; transition:background-color .12s;}
  .tb svg{width:20px; height:20px; opacity:.85;}
  .tb span{max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  .tb:active{background:color-mix(in srgb, var(--ink) 8%, transparent);}
  .tb[aria-current="page"]{color:var(--gold-ink); background:color-mix(in srgb, var(--gold) 13%, transparent);}
  .tb[aria-current="page"] svg{opacity:1;}
  .tb:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
  main{padding-bottom:calc(74px + var(--barfoot));}
  .toast{bottom:calc(70px + var(--barfoot));}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;}}

/* COHORTS: a bar from zero per cohort, the standard one gold line down the
   column, and a square per studio: gold at the standard, grey below, hollow
   when not filed */
.ctab td{vertical-align:middle;}
.ctab .mc{min-width:300px;}
.ctab th.mc{text-align:left;}
.mcell{display:flex; align-items:center; gap:12px;}
.mbar{position:relative; flex:1 1 auto; min-width:180px; height:14px; background:var(--iqr);}
.mbar i{position:absolute; display:block;}
.mbar .fill{left:0; top:0; bottom:0; background:var(--soft);}
.mbar .std{top:-6px; bottom:-6px; width:3px; margin-left:-1.5px; background:var(--gold-ink);}
.mval{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-ui); color:var(--ink); min-width:56px; text-align:right;
  font-variant-numeric:tabular-nums;}
.pipcell{display:flex; align-items:center; justify-content:flex-end; gap:12px;}
.pips{display:inline-flex; gap:4px;}
.pips i{display:block; width:13px; height:13px; background:var(--grid-line);}
.pips i.on{background:var(--gold-ink);}
.pips i.nf{background:transparent; box-shadow:inset 0 0 0 1.5px var(--grid-line);}
.pc{min-width:44px; text-align:right;}
.legend i.lbar{width:18px; height:10px; border:0; background:var(--soft);}
.legend i.lstd{width:3px; height:14px; border:0; background:var(--gold-ink);}
.legend i.lpip{width:11px; height:11px; border:0; background:var(--grid-line);}
.legend i.lpip.on{background:var(--gold-ink);}
.legend i.lpip.nf{background:transparent; box-shadow:inset 0 0 0 1.5px var(--grid-line);}

/* CLIENT HEALTH: one column per signal, red where it counts */
.hm td{vertical-align:middle;}
.hm th,.hm td{padding:10px 9px;}
.hm th{white-space:normal; line-height:1.15;}
.hm td.flagc,.hm tbody tr:hover td.flagc{background:var(--bad-bg); color:var(--bad);}
.hm td.soon{color:var(--gold-ink);}
.hm .rk{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-ui); display:inline-block; min-width:30px;}
.hm .rk.risk{color:var(--bad);} .hm .rk.watch{color:var(--gold-ink);}

/* KPI SHEET: a line the sheet works out, standing on its own */
.tw td.c{color:var(--soft);}
/* PROFIT: where the cash came from */
.mixbar{display:flex; height:16px; margin-top:12px; background:var(--iqr);}
.mixbar i{display:block; height:100%;}
.mixbar i.m1,.legend i.lmix.m1{background:var(--mix1);}
.mixbar i.m2,.legend i.lmix.m2{background:var(--mix2);}
.mixbar i.m3,.legend i.lmix.m3{background:var(--mix3);}
.legend i.lmix{width:12px; height:12px; border:0;}
/* FILE THIS MONTH: what each line works out to, under it */
.field .fcalc{grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:4px 20px; margin-top:8px; padding-top:8px;
  border-top:1px dashed var(--border); font-size:var(--fs-sm); color:var(--muted);}
.field .fcalc:empty{display:none;}
/* a field the page cannot read as a number: marked, and says so under itself. After the rules for a field in use, so it holds there too. */
.field input[aria-invalid="true"],.tinput[aria-invalid="true"]{border-color:var(--bad);}
.field .ferr{grid-column:1 / -1; color:var(--bad); font-size:var(--fs-sm);}
.field .ferr:empty{display:none;}
/* a figure that cannot be right, or looks like a typo (app/static/checks.js): said under the line in the gold ink, never as a refusal.
   A gentle note (a walk-in can join without an appointment) is in the quiet colour. */
.field .fwarn{grid-column:1 / -1; color:var(--gold-ink); font-size:var(--fs-sm); margin-top:6px;}
.field .fwarn:empty{display:none;}
.field .fwarn span{display:block;}
[data-checks] li{color:var(--gold-ink);}
.field .fwarn .note,[data-checks] li.note{color:var(--muted);}
/* a question asked in a row before something is taken away */
.row .sure,.nudgeall .sure{display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:var(--fs-sm); color:var(--muted);}
/* A refusal said in the row of the button that was pressed: on a line of its own, and no line at all until there is one. */
.row > .says{flex:1 0 100%; margin:0;}
.row > .says:empty{display:none;}
/* The offer behind a result, under the studio that wrote it: its own words on a line of their own, at every width. */
.row > .offerline{flex:1 0 100%; margin:0;}
/* How the studios of a cohort stood, on a studio's results: three short columns, which fit a phone, so the table is given no
   width to scroll to. */
table.standing{min-width:0;}
table.standing td:first-child{white-space:normal;}
/* a pick beside a button, as wide as its words and no wider */
.actions .tselect{width:auto; min-width:0; flex:0 1 auto;}
.field .fcalc b{color:var(--ink); font-weight:600;}
.field.opt .fl{color:var(--soft);}
.worth .wgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px 20px; margin-top:12px;}
.worth .wgrid div{display:flex; flex-direction:column; gap:4px;}
.worth .wgrid b{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-title); color:var(--ink);}
/* MEMBERSHIP: the lines waiting on a definition */
.awaiting{background:var(--surface); padding:16px 20px; border:1px dashed var(--border);}
.awaiting p{margin:6px 0 0; font-size:var(--fs-sm); color:var(--soft); max-width:80ch;}
/* The LAB's industry figures: a slider for each of the two, with its figure over it, its source under it and Clear. A figure that is not
   set dims its slider, its source and Clear, and none of them takes a press until the slider is moved. The sliders, the field and the
   buttons are the page's own, so a phone's 44px and a finger's 16px come with them. */
.ind .indbox{display:flex; flex-direction:column; gap:8px; min-width:0;}
.ind .indhead{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.ind .indhead b{font-weight:400;}
.ind .indbox label{display:flex; flex-direction:column; gap:4px;}
.ind .indbox .gbtn{align-self:flex-start;}
.ind .indbox.off input[type=range]{opacity:.45;}
.ind button:disabled, .ind input:disabled{opacity:.5; cursor:default;}
.ind .says{color:var(--bad);}
.ind .says:empty{display:none;}
/* COHORTS and the LAB: a switch across the vital signs; a dashed median
   where GSD has no standard yet; a zero line when a sign can go negative */
.periods.wrapt{flex-wrap:wrap;}
/* PEER MATCHES: one match alone keeps its third of the row at a desk, as when there are three */
@media (min-width:1100px){.grid.g3.thirds{grid-template-columns:repeat(3,minmax(0,1fr));}}
/* and on a phone its four numbers are two rows of two, each row filled */
@media (max-width:560px){
  .periods.even{display:flex;}
  .periods.even .pt{flex:1 1 40%; border-bottom:1px solid var(--border); margin-bottom:-1px;}
}
.mbar .ref{top:-6px; bottom:-6px; width:0; margin-left:-1px; border-left:2px dashed var(--ink);}
.mbar .zero{top:-3px; bottom:-3px; width:1px; margin-left:-0.5px; background:var(--grid-line);}
.pips i.on2{background:var(--ink);}
.legend i.lref{width:0; height:14px; border:0; border-left:2px dashed var(--ink);}
.legend i.lpip.on2{background:var(--ink);}


/* ================================================================ the app's own ====
   Everything above is the mockup's stylesheet, lifted whole (2026-10-03). What follows
   the mockup never needed: the states before a board is drawn, a studio's name as a way
   in, the switcher between what a person holds, and menus that are in the page from the
   start where the mockup made them on a click. */
[hidden]{display:none !important;}
.gate{max-width:620px; margin:0 auto; padding:0 24px 48px;}
.gate .lock{border-bottom:0; padding:0; height:auto; margin:72px 0 30px;}
.gate .gsdlogo{height:34px;}
.gate p{font-size:var(--fs-lead); color:var(--soft); margin:0 0 14px;}
.gate a{color:var(--gold-ink);}
.gate .who{display:flex; align-items:center; gap:14px; flex-wrap:wrap; color:var(--muted);
  font-size:var(--fs-sm); margin-top:26px;}
/* Said twice: `.gate p` outranks a class alone, and a refusal at the gate drew in a note's grey. */
.msg,.gate p.msg{color:var(--bad);}
/* GSD's terms at the gate: long words scroll in their own box, so the buttons under them stay on the screen. */
.gate .terms h1{font-size:var(--fs-lead); color:var(--ink); margin:0 0 14px;}
.gate .terms-words{max-height:55vh; overflow:auto; margin:0 0 18px; padding:14px 16px; border:1px solid var(--border); border-radius:8px;}
.gate .terms-words p{font-size:var(--fs-body); color:var(--ink); margin:0 0 10px; white-space:pre-wrap;}
.gate .terms-words p:last-child{margin-bottom:0;}
.lnk{background:none; border:0; padding:0; color:var(--ink); font:inherit; cursor:pointer; text-align:left;
  text-decoration:underline; text-decoration-color:var(--gold-ink); text-underline-offset:3px;}
.lnk:hover{color:var(--gold-ink);}
.lnk:focus-visible,.ctxb:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.back{margin:0 0 12px; font-size:var(--fs-sm);}
.menuw{position:relative; min-width:0;}
.menuw.ctxw{flex:0 1 auto;}
.ctxb{display:block; max-width:100%; background:transparent; border:0; padding:0; color:inherit; font:inherit;
  text-align:left; cursor:default;}
.menuop a{display:block; padding:9px 16px; color:var(--soft); text-decoration:none; font-size:var(--fs-sm);}
.menuop a:hover{color:var(--ink); background:var(--card);}
.menuop .who{padding:8px 16px 10px; color:var(--muted); font-size:var(--fs-sm); border-bottom:1px solid var(--border);}

/* On a phone. Found by looking at a picture of the page, then by checks that measure
   against the phone's own width (2026-10-03).

   The top bar has room for one name, and it is the studio's. The account button is never
   squeezed: squeezed, its box shrank and its words did not, and they ran past the screen's
   edge. Under 880 wide its name is cut short with an ellipsis; under 560 it is the person's
   initials, and the menu it opens says the name and the address in full. The name is still
   there for a screen reader. The line under the studio's name is one line, and under 560 the
   studio's name is set a size smaller, so that most are whole.

   Biggest moves: its label names the tab ("year to date, Jan to Aug 26"), and a label that
   may not shrink is wider than a phone. On a narrow screen it wraps.

   The sheet: the names of its lines stay put while it scrolls. That column was as wide
   as its longest name, wider than the screen, so the figures slid under it and none
   could ever be seen. On a narrow screen the names wrap, in at most two fifths of it. */
.ctx i{display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.top > .menuw:not(.ctxw){flex:none;}
.acct{white-space:nowrap;}
.acct .ini{display:none;}
.acct #acctName{display:inline-block; max-width:26vw; overflow:hidden; text-overflow:ellipsis; vertical-align:bottom;}
.menuop .who b{display:block; color:var(--ink); font-weight:400;}
.menuop .who span{display:block; overflow-wrap:anywhere;}
@media (max-width:880px){
  .menuw.ctxw{flex:1 1 0;}
  .top .grow{display:none;}
  .moves .eyebrow{flex:0 1 auto;}
  .tw.sticky th:first-child,.tw.sticky td:first-child{white-space:normal; min-width:128px; max-width:40vw;}
  .tw.sticky td.s:first-child{padding-left:22px;}
}
@media (max-width:560px){
  .pt{padding-left:8px; padding-right:8px; letter-spacing:1px; font-size:var(--fs-sm);}
  .ctx b{font-size:var(--fs-sub);}
  .acct{padding-left:11px; padding-right:11px;}
  .acct .ini{display:inline;}
  .acct #acctName{position:absolute; width:1px; height:1px; max-width:1px; overflow:hidden; clip-path:inset(50%);}
}
/* Ask Coach in the bar. It is one line and never gives way: squeezed, its words wrapped and it stood out of the bar.
   The studio's name is what gives way. So that the name need not, the button says "Ask Coach" only where the bar has
   room for that beside the studio's whole name, from 1001 wide, and is its star alone below. And up to 640 wide the
   theme's switch is a line of the account menu: a narrow bar holds the studio's whole name and three buttons. */
@media (max-width:1000px){
  .ask span{display:none;}
  .ask{padding-left:13px; padding-right:13px;}
}
@media (max-width:640px){
  .themeb{display:none;}
}
/* From 881 wide the lockup stands in the bar and takes the rail's width of it, and from 1001 Ask Coach says its name. Up to
   1100 that leaves the bar a few pixels to spare in this face and none in a wider one: Chrome on Linux cut the
   studio's name at 881 and at 1001. There the account's name is what gives way, cut short as it is on a phone. The
   menu it opens says it whole. */
@media (min-width:881px) and (max-width:1100px){
  .acct #acctName{max-width:12vw;}
}
/* a studio that filed and has no figure on the line picked: neither short of the line nor not filed */
.pips i.nv,.legend i.lpip.nv{background:repeating-linear-gradient(45deg,var(--grid-line) 0 2px,transparent 2px 4px);}
/* on a phone a cohort's bar gives way to its figure, which is the thing to read: the table is as narrow as it can be.
   Last in the file, so it follows the rules it changes */
@media (max-width:560px){
  .ctab{min-width:0;}
  .ctab .mc{min-width:0;}
  .ctab .mbar{min-width:22vw;}
  .ctab .mcell{gap:8px;}
  .ctab th,.ctab td{padding-left:10px; padding-right:10px;}
  .ctab th{white-space:normal; line-height:1.15;}
}
/* A tablet, 600 to 1279 wide: a table's cells take 10px a side and its heads may take two lines, so a table a column or two past
   its box at 768 or 1024 fits it rather than scrolling for a few pixels (an owner's My Cohort, Studios, Segments: 2026-10-28). A
   phone keeps its own rules, a desk its 15px, and a table with its own padding (the plan, a segment's studios) keeps that. */
@media (min-width:600px) and (max-width:1279px){
  th,td{padding-left:10px; padding-right:10px;}
  thead th{white-space:normal; line-height:1.15;}
}
/* Where a finger taps, nothing typed in is under 16px: iOS Safari zooms the page into a box smaller than that and leaves it
   zoomed (Xyzios holds the same floor). The goals plan's boxes grow with it, and its box scrolls as it did. */
@media (pointer:coarse){
  .tinput,.tselect,.tarea,.pl .tinput{font-size:16px;}
  table.pl{min-width:1100px;}
}

/* a form beside a card in a grid starts on the card's own line */
.grid > .form{margin-top:0;}
/* the cohort's form of commitments: a row a studio. Its target is a figure, not a line of text. */
.rec .tinput{max-width:200px; margin-left:auto; display:block;}
/* On a phone the table would scroll sideways with the targets off the screen. Each studio is a block of its own there:
   its name, and under it its pick, where it is and its target. Last in the file, so it holds over the table's own rules. */
@media (max-width:640px){
  table.rec{min-width:0;}
  .rec thead{display:none;}
  .rec tbody{display:block;}
  .rec tr{display:grid; grid-template-columns:minmax(0,1fr) minmax(84px,104px); gap:6px 10px; align-items:center;
    padding:12px 14px; border-bottom:1px solid var(--border);}
  .rec td{display:block; padding:0; border:0; white-space:normal; text-align:left;}
  .rec td:first-child{grid-column:1 / -1; color:var(--ink); font-weight:500;}
  /* the pick and the target side by side, and where the studio is on a line of its own under them: beside them, a
     studio with nothing filed left the pick 26 wide on the narrowest phone */
  .rec td:nth-child(2){grid-column:1; grid-row:2;}
  .rec td:nth-child(4){grid-column:2; grid-row:2;}
  .rec td[data-rnow]{grid-column:1 / -1; grid-row:3; font-size:var(--fs-sm); color:var(--muted);}
  .rec td[data-rnow]::before{content:"Now: ";}
}

/* REVENUE BAND: the comparison is the board. On a phone the table would scroll sideways with the band's median and
   GSD's standard off the screen, so there each vital sign is a block of its own: its name, and under it the three
   figures side by side, each under what it is (its cell's data-l: a column with no figure is not drawn, so a place is
   not a name, and a blank standard is not a name over nothing). Last in the file, so it holds over the table's own rules.
   Every rule names table.band: a sheet's row of a section's name is a tr.band, and was drawn as one of these on a phone,
   its name a block in a column a fifth of the screen wide, on two or three lines (2026-10-28, the calm design scan). */
@media (max-width:640px){
  table.band{min-width:0;}
  table.band thead{display:none;}
  table.band tbody{display:block;}
  table.band tr{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 10px; padding:12px 14px;
    border-bottom:1px solid var(--border);}
  table.band td{display:block; padding:0; border:0; white-space:normal; text-align:left;}
  table.band td:first-child{grid-column:1 / -1; color:var(--ink); font-weight:500;}
  table.band td.n::before{display:block; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-fine);
    color:var(--muted); letter-spacing:0; content:attr(data-l);}
  table.band td.n:empty{visibility:hidden;}
}
/* A COHORT'S COMMITMENTS, the results: the same on a phone. The table scrolled sideways there with the target, the month
   filed and the result off the screen, and the result is what the board is for. Each studio is a block: its name with the
   result beside it, what it committed to, and the three figures side by side, each under what it is. */
@media (max-width:640px){
  table.kept{min-width:0;}
  .kept thead{display:none;}
  .kept tbody{display:block;}
  .kept tr{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 10px; padding:12px 14px;
    border-bottom:1px solid var(--border);}
  .kept td{display:block; padding:0; border:0; white-space:normal; text-align:left;}
  .kept td:first-child{grid-column:1 / 3; grid-row:1; color:var(--ink); font-weight:500;}
  .kept td:last-child{grid-column:3; grid-row:1; justify-self:end;}
  .kept td:nth-child(2){grid-column:1 / -1; grid-row:2; color:var(--muted);}
  .kept td.n::before{content:attr(data-l); display:block; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-fine);
    color:var(--muted); letter-spacing:0;}
}

/* A LINE OF FACTS (the report's first line, the head of its email, the line over the biggest moves, a date on the
   calendar): a narrow screen breaks the line between two facts, never inside one. A fact is a box that goes to
   the next line whole. One wider than the whole line, a reader's long name, wraps inside its own box, since
   nothing else would keep it on the screen. */
.fact{display:inline-block; max-width:100%; overflow-wrap:break-word;}

/* Words GSD typed that have nowhere to break (an address in a coach's note, a window's title that is one long word)
   break where they must, so a board stays as wide as the screen it is on. */
.email .bridge p, .win .stat{overflow-wrap:anywhere;}

/* CALENDAR, what is coming: a day count is one line. On a phone the date goes under the title, and the title
   wraps beside the day count. */
.row.coming .chip{white-space:nowrap; flex:none;}
.row.coming .nm{min-width:0; overflow-wrap:anywhere;}
@media (max-width:560px){
  .row.coming{flex-wrap:wrap; row-gap:2px;}
  .row.coming .nm{flex:1 1 0;}
  .row.coming .grow{display:none;}
  .row.coming .meta{order:3; flex:1 0 100%;}
}

/* FILING TRACKER: a studio still to file carries up to three chips (reminded, not sent, late). Each is one line, and on a
   phone the studio's cohort goes under its name, as in the Calendar's list above; a third chip drops to a line of its own. */
.row.owes .chip{white-space:nowrap; flex:none;}
.row.owes .nm{min-width:0; overflow-wrap:anywhere;}
.row.owes{flex-wrap:wrap; row-gap:2px;}                /* a question asked in the row (Nudge) wraps to a line of its own when it will not fit */
@media (max-width:560px){
  .row.owes .nm{flex:1 1 7em;}
  .row.owes .grow{display:none;}
  .row.owes .meta{order:3; flex:1 0 100%;}
}
/* NUDGE, on the same boards: a button at the end of each row that can be nudged, "Nudge all" at the head of the list, and the question
   asked where the button was. A question is one piece that wraps whole, and on a phone the button or the question has a line of its
   own under the cohort, so that nothing pushes a name out. What went wrong with a send is said in the bad colour above the list. */
.row.owes .nudgecell{flex:none; display:inline-flex; align-items:center;}
.nudgeall{display:inline-flex; align-items:center;}
.nudgecell .sure,.nudgeall .sure{justify-content:flex-end;}
.hint.nudgesays{color:var(--bad); margin:10px 0 0;}
.hint.nudgesays:empty{display:none;}
/* Why a late studio cannot be nudged, in its row's own cell: --muted there measured 3.8:1 dark and 4.3:1 light, under 4.5. */
.fine.nudgewhy{color:var(--soft);}
@media (max-width:560px){
  .row.owes .nudgecell{order:4; flex:1 0 100%; justify-content:flex-start;}
  .sec > .nudgeall:last-child{flex:1 0 100%; margin-left:0;}
  .nudgecell .sure,.nudgeall .sure{justify-content:flex-start;}
  .nudgecell .nudgeq,.nudgeall .nudgeq{flex:1 0 100%;}                   /* the question has a line, and the two answers sit side by side under it */
}

/* CALENDAR: twelve bars across a phone leave each month about twenty pixels. The mockup hid every second month's
   name and figure there, the strongest month's as often as not. Here a figure is its number, with a
   minus when it is below the average, and a month is its initial, and all twelve are shown: the card says what the figures are, the months run in order, and the
   paragraph under the bars names the strongest and the weakest in full. */
@media (max-width:560px){.bar .bv .pc, .bar .bm .rest{display:none;}}

/* CAMPAIGNS, a cohort's plans: what a plan says and the step it is on are words. They start under their headings,
   and "No plan yet" is beside the name it is about, where a table's figures are set to the right. */
.plans th:nth-child(2), .plans th:nth-child(3), .plans td:nth-child(2), .plans td:nth-child(3){text-align:left;}
/* CAMPAIGNS, a cohort's plans: on a phone the table would scroll sideways with the step and "Open plan" off the
   screen. Each studio is a block of its own there: its name, what its plan says and the step it is on under it,
   then its quota and what it sold, each under what it is, and the way to the plan. */
@media (max-width:640px){
  table.plans{min-width:0;}
  .plans thead{display:none;}
  .plans tbody{display:block;}
  .plans tr{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 10px; padding:12px 14px;
    border-bottom:1px solid var(--border);}
  .plans td{display:block; padding:0; border:0; white-space:normal; text-align:left; overflow-wrap:anywhere;}
  .plans td:first-child{grid-column:1 / -1; color:var(--ink); font-weight:500;}
  .plans td:nth-child(2), .plans td:nth-child(3), .plans td:last-child{grid-column:1 / -1;}
  .plans td.n::before{display:block; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-fine);
    color:var(--muted); letter-spacing:0;}
  .plans td.n:nth-child(4)::before{content:"Quota";}
  .plans td.n:nth-child(5)::before{content:"Sold";}
}
/* A plan read as cards: an owner's words can be one long word, and break where they must. So can what GSD typed for
   a campaign or a playbook, a pasted address among it. A board's head holds a campaign's name the same way: its
   block may be narrower than its longest word, and the word breaks. */
.card .body-ink, .card .words{overflow-wrap:anywhere;}
.head > div{min-width:0;}
.head h1, .head .eyebrow, .head .lede{overflow-wrap:break-word;}
/* A playbook opened, and the form GSD staff write one in. A refusal said among the buttons it came from is on a line of its
   own, and no line at all until there is one. The question asked in place before one is archived sits where its button was.
   A title in the list of archived ones breaks where it must. */
.actions > .says{flex:1 0 100%; margin:0;}
.actions > .says:empty{display:none;}
.actions .sure{display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:var(--fs-sm); color:var(--muted);}
.row .nm.words{min-width:0; overflow-wrap:anywhere;}

/* PATH TO $100K: a lever's chip is one line. On a phone the lever's own name wraps, never what it saves. */
.row.lever .chip{white-space:nowrap; flex:none;}
/* the month a commitment is checked on: its name level with it, on a line of their own above the two buttons */
.actions label.due{align-items:center; gap:10px; flex:1 0 100%;}
/* the chart's words on a phone: the year behind the studio is a fifth of the chart there, too narrow for its first
   month and "today" side by side. Today's line stays, with its word. */
@media (max-width:560px){.pchart .xm.first{display:none;}}
/* the goal's label wraps to stay left of today's line, and on a phone it is the word and the figure */
.pchart .glab{white-space:normal; line-height:1.1;}
@media (max-width:560px){.pchart .glab .more{display:none;}}

/* THE PAGE A COHORT'S CALL RUNS ON: a section of My Cohort (call.js). At a desk the rules and the documents are the
   left-hand column and the parking lot the right, beside the rules while they are read out. On a phone it is one
   column in the order it is written: the lot first. */
.callpage{margin-top:22px;}
.callpage .callnext{margin-top:0;}
/* The lot spans both rows. The first row is as tall as the rules and the second takes the rest, so the documents sit
   straight under the rules however long the lot is. With no size on either row the lot's height was shared between
   the two, and a hole opened under the rules that grew with every topic. */
.callgrid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto 1fr; gap:3px; margin-top:3px;
  align-items:start;}
.callgrid .card{min-width:0;}
.callgrid .lot{grid-column:2; grid-row:1 / span 2;}
.callgrid .rules{grid-column:1; grid-row:1;}
.callgrid .docs{grid-column:1; grid-row:2;}
/* a topic: its words over who added it, and whatever there is to press beside them or, with no room, under them */
.topic .words{display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 220px;}
/* a topic's two buttons are one piece: a narrow row puts them under the words together, never one of them alone */
.topic .pair{display:inline-flex; gap:14px; flex:none;}
.topic .nm, .callpage .docs .nm, .callpage .docs a{overflow-wrap:anywhere; min-width:0;}
.topic.done .nm{color:var(--body); font-weight:400;}
.callpage .docs a{color:var(--ink); text-decoration:underline; text-underline-offset:3px;}
.callpage .docs a:hover{color:var(--gold-ink);}
.callpage .docs a:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.lotadd{margin:18px 0 0;}
.lotadd label{display:block;}
/* The field keeps room to be typed in. Its button never gives way, and beside a field in half a board it left the
   field 26px from a tablet to a small laptop: with no room for both, the button goes under the field. */
.lotadd .actions{margin-top:8px; flex-wrap:wrap;}
.lotadd .tinput{flex:1 1 240px; min-width:0; width:auto;}
.lotadd .btn{flex:0 0 auto; white-space:nowrap;}
.rulestext p{margin:8px 0 0; color:var(--body); max-width:74ch; overflow-wrap:anywhere;}
/* while a change is on its way: a topic's buttons, and the one button a member has */
.callpage[aria-busy=true] .topic button{opacity:.6;}
.callpage[aria-busy=true] .lotadd .btn{opacity:.6; pointer-events:none;}
/* THE CALL, LIVE. The strip, then the round of updates across the page, then the lot with the vote on it: the order a
   call goes, and the order a phone stacks them. */
.callnext .actions{margin-top:12px;}
/* a refusal of something pressed on the call, said where it was pressed, and the line of a page that could not ask again */
.callnext .says{margin:10px 0 0; color:var(--bad); font-size:var(--fs-sm);}
.callnext .says:empty{display:none;}
.callpage .lost{margin:0 0 10px; color:var(--bad);}
.callpage .round{margin-top:3px;}
.turn .nm{overflow-wrap:anywhere; min-width:0;}
.turn.now .nm{color:var(--gold-ink);}
/* the timer's figure: digits of one width, so the row does not shift as it counts, and a miss's colour past nought */
.clock{font-variant-numeric:tabular-nums; color:var(--ink); font-weight:600;}
.clock.over{color:var(--bad);}
.lenrow{justify-content:space-between;}
.lenrow .hint, .voteline .hint{margin:0;}
.voteline{margin-top:12px;}
/* the six lengths and a voter's three places are one piece each: a narrow row moves the whole of it */
.periods.lens, .periods.ranks{display:inline-flex; flex:none;}
.lens .pt, .ranks .pt{min-width:44px; min-height:40px; padding:8px 10px 7px;}
.callpage[aria-busy=true] .turn button, .callpage[aria-busy=true] .callnext button,
.callpage[aria-busy=true] .voteline button, .callpage[aria-busy=true] .pt{opacity:.6;}
@media (max-width:880px){
  .callgrid{grid-template-columns:minmax(0,1fr);}
  .callgrid .lot, .callgrid .rules, .callgrid .docs{grid-column:1; grid-row:auto;}
}
@media (max-width:560px){
  .lotadd .actions{flex-wrap:wrap;}
  .lotadd .tinput, .lotadd .btn{flex:1 1 100%;}
}
/* THE CALL'S TIMER IN THE BAR. While a studio gives its update the bar says whose and counts it, over every board,
   and a press goes back to the call (call.js). It came into a bar that was full, as Ask Coach did, and it never
   takes room from the studio's name or from a button. Measured 2026-10-06 with the sample's long names:

   From 1200 wide the bar holds whose update it is beside the figure. That name is what gives way first, to an
   ellipsis, if a face or a name is wider than the sample's. Under 1200 there is room for the figure alone, and the
   name is still there for a screen reader. From 561 to 880 the account's name is cut short while the figure is up,
   as it always is from 881 to 1100. On a phone the figure has no box round it, and the bar's own gaps close a little
   while it is up: with a box, the studio's name lost its last letters at 390 wide. */
.callbar{display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:0 100 auto; min-width:0;
  height:40px; padding:0 12px; background:transparent; border:1px solid var(--border); color:var(--soft);
  cursor:pointer; font-size:var(--fs-sm); white-space:nowrap;}
.callbar[hidden]{display:none;}
.callbar:hover{border-color:var(--gold-ink);}
/* counting on with no word from GSD for fifteen seconds: the update may have ended since */
.callbar.stale{opacity:.55;}
.callbar:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
.callbar .who{flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; color:var(--gold-ink);}
.callbar .clock{flex:none;}
.callbar .sr{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
@media (max-width:1199px){
  .callbar{flex:none;}
  .callbar .who{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
}
@media (min-width:561px) and (max-width:880px){
  .top.oncall .acct #acctName{max-width:12vw;}
}
@media (max-width:560px){
  .top.oncall{gap:6px; padding:0 12px;}
  .callbar{border:0; padding:0; min-width:36px;}
  .callbar .clock{text-decoration:underline; text-decoration-color:var(--gold-ink); text-underline-offset:3px;}
}

/* ------------------------------------------------------------ the bar, one clean row ----
   (2026-10-07: "too much information in the top row".) The bar is the lockup, where you are, Ask Coach and who
   you are, on one line, at every width. What it said besides is one press away. The line under the studio's name is
   the button's tooltip and is still read out. The theme's switch is a line of the account menu, as it always was on a
   phone. The account is its initials, and its menu says the name whole. The name of the place is in the page's own
   face and size: the board's heading under it is the heading, and the bar does not say it twice as loudly. */
.ctx b{font-family:'DM Sans',system-ui,sans-serif; font-weight:500; font-size:var(--fs-body); letter-spacing:0; line-height:1.3;
  color:var(--ink);}
.ctx i{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
.themeb{display:none;}
.acct .ini{display:inline;}
.acct #acctName{position:absolute; width:1px; height:1px; max-width:1px; overflow:hidden; clip-path:inset(50%);}

/* ------------------------------------------------------------ round two, 2026-10-07 ----
   A trend's every month is a point on the line, ringed in the card's colour so the line stops at it. Four of them say
   their figure (the two ends, the highest and the lowest): over the point, or under it. The pointer says the rest. */
.spk-w .dot.each{width:4px; height:4px; margin:-2px 0 0 -2px; box-shadow:0 0 0 1.5px var(--card);}
.spk-w .dot.each.on{width:6px; height:6px; margin:-3px 0 0 -3px;}
.spk-w .pv{position:absolute; transform:translate(-50%,-170%); font-family:'DM Sans',system-ui,sans-serif; font-weight:600;
  font-size:11.5px; line-height:1; color:var(--ink); white-space:nowrap; pointer-events:none; font-variant-numeric:tabular-nums;
  text-shadow:0 0 3px var(--card), 0 0 3px var(--card), 0 0 2px var(--card);}
.spk-w .pv.under{transform:translate(-50%,85%);}
.spk-w .pv.first{transform:translate(-30%,-170%);} .spk-w .pv.first.under{transform:translate(-30%,85%);}
.spk-w .pv.last{transform:translate(-70%,-170%);} .spk-w .pv.last.under{transform:translate(-70%,85%);}

/* The rail folds to its icons from the bar's button, which on a narrow screen opens it as a drawer. The fold is a
   wide screen's alone. Each board's name is its button's tooltip. */
@media (min-width:881px){
  .menu{display:inline-flex; align-items:center; justify-content:center; flex:none;}
  .top{padding-left:12px;}
  .top .lock{width:auto; padding:0 4px 0 0; margin-right:8px;}
  :root[data-gsd-rail="mini"]{--rail:56px;}
  /* A studio has no room for its name in 56 pixels: it is its tile (the name is its tooltip), with the open studio's boards as icons
     under it. The tile is five pixels taller than an icon, so its row takes less padding and is as tall as theirs. */
  :root[data-gsd-rail="mini"] .rail .nav, :root[data-gsd-rail="mini"] .rail .navstu{justify-content:center; padding:10px 0; gap:0;}
  :root[data-gsd-rail="mini"] .rail .navstu{padding:7.5px 0;}
  :root[data-gsd-rail="mini"] .rail .nav span, :root[data-gsd-rail="mini"] .rail .navlbl,
  :root[data-gsd-rail="mini"] .rail .powered, :root[data-gsd-rail="mini"] .rail .navstu .stn,
  :root[data-gsd-rail="mini"] .rail .navstu > svg, :root[data-gsd-rail="mini"] .rail .navsub::before,
  :root[data-gsd-rail="mini"] .rail .navsoon, :root[data-gsd-rail="mini"] .rail .navgrpsoon{display:none;}
  :root[data-gsd-rail="mini"] .rail .navgrp{padding:8px 0; border-bottom:1px solid var(--border);}
}

/* The account menu, in rows like the rail's: who it is, then one row for each thing, each with its mark. The places
   a person has, when they have more than one, are rows of it too. Report an issue is a mail to support, or, where the
   server can mail a report itself, the box below (help.js). */
#acctMenu{min-width:290px; padding:0 0 6px;}
#acctMenu .who{display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:12px; align-items:center; padding:14px 16px;}
#acctMenu .who::before{content:attr(data-ini); grid-row:1 / span 2; width:38px; height:38px; display:flex; align-items:center;
  justify-content:center; background:var(--gold); color:var(--on-gold); font-family:'Bebas Neue',sans-serif;
  font-size:var(--fs-ui); letter-spacing:1px;}
#acctMenu .who b{font-weight:500;}
#acctMenu > a:not([hidden]), #acctMenu > button, #acctCtx button{display:flex; align-items:center; gap:12px; padding:10px 16px;
  font-size:var(--fs-body);}
#acctMenu > a::before, #acctMenu > button::before{width:22px; text-align:center; color:var(--muted); font-size:var(--fs-ui); flex:none;}
#settings::before{content:"\2699";}
#report::before{content:"\2709";}
#out::before{content:"\2192";}
#keysItem::before{content:"\25C9";}
/* Install app (app/static/install.js): there only where the browser can install the app, or on an iPhone or iPad where it is not
   installed yet. The menu's rows are set out by their id, which would show a hidden one: this one says it is hidden. */
#installItem::before{content:"\2913";}
#installItem[hidden]{display:none;}
#acctCtx button{padding-left:50px;}
#acctCtx button[aria-checked="true"]::after{content:"\2713"; margin-left:auto; color:var(--gold-ink);}
/* What a person is in each place, where their places are of more than one kind: a quiet word at the row's end (app.js menuHTML). */
#acctCtx button[data-role]::before{content:attr(data-role); order:1; margin-left:auto; font-size:var(--fs-fine); color:var(--muted);}
#acctCtx button[data-role]::after{order:2;}
#acctCtx button[data-role][aria-checked="true"]::after{margin-left:10px;}
#out{border-top:1px solid var(--border); margin-top:6px;}

/* Staff Wins: a line of the count opens to its studios (wins.js whoHTML), inside its own cell, so the table's columns stay put. */
.winwho summary{cursor:pointer;}
.winwho ul{list-style:none; margin:10px 0 4px; padding:0; display:grid; gap:6px; max-width:440px; white-space:normal;}
/* Ask Coach, cleaner: an answer is the coach's mark and its words, with no rule down its side; the question is asked
   from a field with its button beside it. */
.tray .msg.co{border-left:0; padding:0 0 0 36px; position:relative;}
.tray .msg.co .by{position:absolute; left:0; top:1px; width:24px; height:24px; overflow:hidden; font-size:0; letter-spacing:0;}
.tray .msg.co .by::before{content:"\2726"; display:flex; width:24px; height:24px; align-items:center; justify-content:center;
  background:var(--gold); color:var(--on-gold); font-family:'DM Sans',system-ui,sans-serif; font-size:13px;}
.tray .msg{margin-bottom:22px;}
.tfoot .askrow{display:flex; gap:8px; align-items:stretch;}
.tfoot .askrow .tinput{flex:1 1 auto; min-width:0;}
.tfoot .askrow .btn{flex:none; padding:0 18px;}
/* Ask Coach, asked aloud (voicein.js, 2026-10-23, as on Xyzios, where a button beside the box squeezed it): the box keeps its row's
   whole width, and a row under it holds the cross, what is said, Speak and the form's own Ask, drawn only while Coach's voice is
   connected and the browser can record. While recording, the live panel lies over the box at the box's own size, so nothing under it
   moves. On a phone each is 44px to press. */
.vin{position:relative; flex:1 1 auto; min-width:0; display:flex;}
.vin-live{position:absolute; inset:0; display:flex; align-items:center; gap:10px; padding:0 12px; background:var(--bg);
  border:1.5px solid var(--bad); color:var(--ink); font-size:var(--fs-body);}
.vin-live[hidden]{display:none;}
.vin-dot{width:9px; height:9px; border-radius:50%; background:var(--bad); flex:none; animation:vinPulse 1.2s ease-in-out infinite;}
.vin-t{flex:none; font-variant-numeric:tabular-nums;}
.vin-wave{flex:1 1 auto; min-width:0; width:100%; height:24px;}
.vin-live.writing{border-color:var(--border); color:var(--muted);}
.vin-live.writing .vin-dot, .vin-live.writing .vin-wave{display:none;}
.vin-row{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px;}
.vin-row[hidden]{display:none;}
.vin-msg{flex:1 1 auto; min-width:0; font-size:var(--fs-fine); color:var(--soft); line-height:1.4;}
.vin-msg:not(:empty){order:-1; flex:1 0 100%;}                 /* what is said has a line of its own, above the buttons */
.vin-row .vin-pill{margin-left:auto;}                           /* Speak and Ask keep to the right, the cross to the left */
.vin-sr{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
.vin-pill{display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:none; height:40px; padding:0 14px;
  border-radius:20px; background:transparent; border:1.5px solid var(--gold-ink); color:var(--gold-ink); cursor:pointer;
  font:inherit; font-size:var(--fs-ui); font-weight:600;}
.vin-pill.done{width:40px; padding:0;}
.vin-btn{display:inline-flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px; padding:0;
  border-radius:50%; background:transparent; border:1px solid var(--border); color:var(--ink); cursor:pointer;}
.vin-btn[hidden]{display:none;}
.vin-row .btn{flex:none; height:40px; padding:0 18px;}
.vin-pill:focus-visible, .vin-btn:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.vin-pill:disabled{opacity:.4; cursor:not-allowed;}
.vin-pill svg, .vin-btn svg{pointer-events:none;}
@keyframes vinPulse{50%{opacity:.35;}}
@media (prefers-reduced-motion:reduce){.vin-dot{animation:none;}}
@media (max-width:880px){
  .vin-pill{height:44px;}
  .vin-pill.done, .vin-btn{width:44px; height:44px;}
  .vin-row .btn{height:44px;}
}
/* A finished answer's speaker (coach.js, "read aloud"), drawn only while Coach's voice is connected: under the answer, after its
   sources and its button. While it plays it is in the colour the mic listens in. On a phone it is 44px to press. */
.tray .listen{margin-top:10px;}
.speak{display:inline-flex; align-items:center; justify-content:center; gap:5px; height:36px; padding:0 12px; background:transparent;
  border:1.5px solid var(--gold-ink); border-radius:18px; color:var(--gold-ink); cursor:pointer; font:inherit; font-size:var(--fs-fine);
  font-weight:600;}
.speak svg{pointer-events:none;}
.speak:hover, .speak:focus-visible{color:var(--ink); border-color:var(--gold-ink);}
.speak:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.speak.on{background:var(--bad); border-color:var(--bad); color:var(--bg);}
@media (max-width:880px){.speak{height:44px; padding:0 14px;}}
.sugg button{font-size:var(--fs-fine); padding:6px 10px;}

/* ------------------------------------------------------------ round three, 2026-10-07 ----
   The rail's scrollbar, when a short screen gives it one: a thin thumb and no track. Folded, it has none. */
.rail{scrollbar-width:thin; scrollbar-color:var(--border) transparent;}
.rail::-webkit-scrollbar{width:6px;}
.rail::-webkit-scrollbar-track{background:transparent;}
.rail::-webkit-scrollbar-thumb{background:var(--border);}
:root[data-gsd-rail="mini"] .rail{scrollbar-width:none;}
:root[data-gsd-rail="mini"] .rail::-webkit-scrollbar{display:none;}

/* A member's page of their cohort, a part at a time: the call and what it will talk about, the studios and the
   month's wins, the rules and documents. The call's section draws all of its own parts in one place (call.js), and
   which of them a part shows is said here. The next call is the page's headline. The call's page, for whoever leads the
   cohort, has the first part and the last of these, and no studios. Their My Cohort keeps the section mounted under the studios
   part's rule, which hides it: the top bar follows a live call from the section's own read. */
.cohortpage[data-view="call"] .cv-studios, .cohortpage[data-view="rules"] .cv-studios,
.cohortpage[data-view="studios"] .callpage{display:none;}
.cohortpage[data-view="call"] .callgrid{grid-template-columns:minmax(0,1fr); grid-template-rows:auto;}
.cohortpage[data-view="call"] .callgrid .rules, .cohortpage[data-view="call"] .callgrid .docs{display:none;}
.cohortpage[data-view="call"] .callgrid .lot{grid-column:1; grid-row:auto;}
.cohortpage[data-view="rules"] .callpage > :not(.callgrid), .cohortpage[data-view="rules"] .callgrid .lot{display:none;}
.cohortpage[data-view="rules"] .callgrid{grid-template-rows:auto; margin-top:0;}
@media (min-width:881px){
  .cohortpage[data-view="rules"] .callgrid .rules{grid-column:1; grid-row:1;}
  .cohortpage[data-view="rules"] .callgrid .docs{grid-column:2; grid-row:1;}
}
.cohortpage .callnext p{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-h2); letter-spacing:.02em; line-height:1.1;
  color:var(--ink);}
.cohortpage .cv-studios > .sec:first-child{margin-top:26px;}

/* ------------------------------------------------------------ Ask Coach, a first screen and lists, 2026-10-07 ----
   Nothing asked is the coach's mark, the question it asks, where its answers come from, and every question as a
   button. An answer of three or more separate figures or steps is its lead sentence and a list, a gold square for each. */
.tray .ready{display:flex; flex-direction:column; align-items:center; text-align:center; padding:34px 0 8px;}
.tray .ready h2{margin:0; font-size:var(--fs-h2); letter-spacing:.02em;}
.tray .ready .rs{margin:8px 0 0; font-size:var(--fs-sm); color:var(--muted);}
.tray .ready .sugg{justify-content:center; margin-top:24px; gap:8px;}
.tray .msg.co ul.pts{list-style:none; margin:0 0 8px; padding:0;}
.tray .msg.co ul.pts:last-child{margin-bottom:0;}
.tray .msg.co ul.pts li{position:relative; margin:0 0 6px; padding:0 0 0 18px; line-height:1.55; color:var(--body); font-size:inherit;}
.tray .msg.co ul.pts li:last-child{margin-bottom:0;}
.tray .msg.co ul.pts li::before{content:""; position:absolute; left:3px; top:.62em; width:6px; height:6px; background:var(--gold-ink);}

/* Ask Coach with a model connected, and only then: what the tray draws that it did not before. A numbered list in a model's
   answer, the line that says what it is reading, what it was written by, the two buttons under the tray's head, History's
   list, and the field when it is off while an answer streams. */
.tray .msg.co ol.num{margin:0 0 8px; padding:0 0 0 24px;}
.tray .msg.co ol.num:last-child{margin-bottom:0;}
.tray .msg.co ol.num li{margin:0 0 6px; padding:0 0 0 2px; line-height:1.55; color:var(--body); font-size:inherit;}
.tray .msg.co ol.num li:last-child{margin-bottom:0;}
.tray .msg.co ol.num li::marker{color:var(--gold-ink);}
.tray .msg.co .src.ai{margin-top:2px;}
.tray .tools{display:flex; gap:6px; flex-wrap:wrap; flex:none; padding:8px 20px; border-bottom:1px solid var(--border);}
.tray .tools button{background:transparent; border:1px solid var(--border); color:var(--soft); font-size:var(--fs-fine); padding:6px 10px; cursor:pointer;}
.tray .tools button:hover:not(:disabled),.tray .tools button[aria-pressed="true"]{border-color:var(--gold-ink); color:var(--ink);}
.tray .tools button:focus-visible,.tray .hrow:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
.tray .tools button:disabled{opacity:.5; cursor:default;}
/* A finished answer's own controls, after it as under Ask Xyzi's (coach.js `actsHTML`): Copy and the answer as a .md file. */
.tray .acts{display:flex; gap:6px; flex-wrap:wrap; margin:-12px 0 22px 36px;}        /* under the answer's words, as far in */
.tray .acts button{background:transparent; border:1px solid var(--border); color:var(--soft); font-size:var(--fs-fine); padding:5px 10px; cursor:pointer;}
.tray .acts button:hover{border-color:var(--gold-ink); color:var(--ink);}
.tray .acts button:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
/* Keep open (coach.js `lay`): the pin beside the X, gold while it is on. From 1200 wide the tray kept open stands under the bar, beside
   the board, and the board moves over to make room for it; the page is not held still, since the board under it is in use. */
.tray .th .pin{margin-left:auto; display:flex; align-items:center; justify-content:center;}
.tray .th .pin + .x{margin-left:0;}
.tray .th .pin:hover, .tray .th .pin:focus-visible{border-color:var(--gold-ink); color:var(--ink);}
.tray .th .pin[aria-pressed="true"]{border-color:var(--gold); background:var(--amber); color:var(--gold-ink);}
@media (max-width:1199px){
  .tray .th .pin{display:none;}
  .tray .th .pin + .x{margin-left:auto;}
}
/* Floating (coach.js `lay`): from 881 wide the tray stands under the bar with nothing over the board, the page scrolls as it does
   with the tray shut, and the bar is over the tray so the account menu opens over it. */
@media (min-width:881px){
  html.trayopen.trayfloat{overflow:visible;}
  html.trayfloat .tray{top:var(--top);}
  html.trayfloat .top{z-index:31;}
}
@media (min-width:1200px){
  html.trayopen.traykept{overflow:visible;}
  html.traykept .tray{top:var(--top);}
  html.traykept .col{padding-right:min(460px,100vw);}
}
.tray .hist{display:flex; flex-direction:column;}
.tray .hrow{display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; text-align:left; background:transparent;
  border:0; border-bottom:1px solid var(--border); padding:12px 2px; color:var(--ink); cursor:pointer;}
.tray .hrow:hover .hti{color:var(--gold-ink);}
.tray .hrow .hti{font-size:var(--fs-body); line-height:1.35; overflow-wrap:anywhere;}
.tray .hrow .hon{font-size:var(--fs-fine); color:var(--muted);}
.tray .tinput:disabled{opacity:.6; cursor:not-allowed;}

/* The drawer's own way out, on a narrow screen: as big as the button that opened it. */
.rail .lock{padding:0 10px 0 16px; gap:8px;}
.rail .lock .gsdlogo{height:20px;}        /* the lockup gives the X its room: the drawer is 208 wide */
.rail .lock .x{width:36px; height:36px; flex:none; margin-left:auto; color:var(--ink); font-size:var(--fs-ui); cursor:pointer;}

/* ------------------------------------------------------------ Scheduling a cohort's calls, 2026-10-10 ----
   The box over a call that is not live: the days after the next, and for whoever leads a panel to put calls on the
   calendar, move them and take them off. The box's own sentence is a heading (.cohortpage .callnext p), so what sits
   under it is set back in the text face. */
.cohortpage .callnext p.after, .cohortpage .callnext .sched p{font-family:'DM Sans',system-ui,sans-serif; font-size:var(--fs-sm);
  letter-spacing:0; line-height:1.5; color:var(--muted); margin:8px 0 0; max-width:74ch;}
.cohortpage .callnext .sched p.says{color:var(--bad);}
.cohortpage .callnext .sched p.says:empty{display:none;}
.callnext .actions .gbtn[data-sched-open][aria-expanded="true"]{border-color:var(--gold-ink); color:var(--gold-ink);}
.sched{margin-top:16px; padding-top:14px; border-top:1px solid var(--border);}
.sched .schedrow .words{display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 180px;}
.sched .schedrow .nm{overflow-wrap:anywhere;}
.sched .schedmove{flex:1 0 100%; min-width:0;}
.sched .schedfields{display:flex; flex-wrap:wrap; gap:12px; margin-top:10px;}
.sched .schedf{flex:1 1 150px; min-width:0; display:block;}
.sched .schedf .k{display:block; margin-bottom:4px;}
.sched .schedf .tinput, .sched .schedf .tselect{width:100%; min-width:0; box-sizing:border-box;}
.sched .schedadd{margin-top:16px;}
.sched .actions{margin-top:12px;}
.callpage[aria-busy=true] .sched button{opacity:.6;}

/* SETTINGS and ADMIN (2026-10-10): one box with its sections down the left, as real links, and the open section's panel on the right. The
   panel's rows are flat, with a hairline under each, and no card inside the box. On a phone the sections are one strip of chips above the
   panel that scrolls sideways by itself, and a row stacks, its control under its words. */
.setbox{display:grid; grid-template-columns:212px minmax(0,1fr); min-height:58vh; margin-top:26px;
  background:var(--card); border:1px solid var(--border);}
.setnav{position:relative; min-width:0; padding:12px 10px; border-right:1px solid var(--border); display:flex; flex-direction:column; align-content:start; gap:2px;}
.setlink{display:flex; align-items:center; gap:10px; padding:8px; color:var(--muted); text-decoration:none; font-size:var(--fs-sm);}
.setlink svg{flex:none; opacity:.8;}
.setlink:hover{color:var(--ink); background:var(--surface);}
.setlink[aria-current="page"]{color:var(--gold-ink); background:var(--amber); font-weight:600;}
.setlink[aria-current="page"] svg{opacity:1;}
.setlink:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
.setpanel{min-width:0; padding:22px 26px 40px;}
.setpanel h2{margin:0; font-size:var(--fs-sub);}
.setdesc{margin:4px 0 0; color:var(--muted); font-size:var(--fs-fine);}
.setbody{margin-top:14px;}
.setbody .msg{margin:0;}
.setbody .msg:not(:empty){margin:0 0 12px;}
.setrow{display:flex; justify-content:space-between; align-items:flex-start; gap:26px; padding:15px 0; border-bottom:1px solid var(--border);}
.settext{min-width:0; flex:1 1 auto;}
.setname{display:block; color:var(--ink); font-size:var(--fs-sm); font-weight:600;}
.settext .setdesc{margin:2px 0 0;}
.setctl{flex:none; min-width:0; max-width:100%; margin:0; padding:0; border:0; display:flex; flex-direction:column; align-items:flex-end; gap:12px;}
.setval{flex:0 1 55%; min-width:0; text-align:right; color:var(--soft); font-size:var(--fs-sm); overflow-wrap:anywhere;}
.setval[data-state="ok"]{color:var(--ok);}
.setval[data-state="bad"]{color:var(--bad);}
.setask{display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 10px; color:var(--soft); font-size:var(--fs-sm);}
.setgrp{margin:26px 0 0; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:3px; color:var(--muted);}
.setgrp:first-child{margin-top:4px;}
/* Seats and the tables under reminders: words on the left, wrapping, and never wider than the box. */
.setbody h3{margin:30px 0 0; font-size:var(--fs-ui);}
.setbody fieldset{min-width:0; margin:0; padding:0; border:0;}
.setbody .tw{margin-top:12px; background:transparent;}
.setbody table{min-width:0; table-layout:fixed;}
.setbody th,.setbody td{text-align:left; white-space:normal; vertical-align:top; overflow-wrap:anywhere;}
.setbody td:first-child{color:var(--ink);}
.setbody td span{color:var(--muted);}
.setbody td label{display:flex; align-items:flex-start; gap:8px;}
.setbody td label input{flex:none; margin:6px 0 0;}
.setbody input[type="checkbox"]{accent-color:var(--gold);}
/* Permissions on a phone: a board's name keeps the room its words need, so none is broken inside a word, and a tick is
   big enough to press. With a column for GSD staff there are three levels beside the name (2026-10-13): the cells give up
   their side room and a head its letter-spacing, so that "Cohort leader" and "GSD staff" break between their words and
   never inside one. */
@media (max-width:760px){
  #boardaccess th:first-child{width:46%;}
  #boardaccess th, #boardaccess td{padding-left:4px; padding-right:4px;}
  #boardaccess th:first-child, #boardaccess td:first-child{padding-left:10px;}
  #boardaccess th{letter-spacing:0; overflow-wrap:normal; word-break:normal;}
  #boardaccess td .setdesc{font-size:11px; overflow-wrap:normal; word-break:normal;}
  #boardaccess input[type="checkbox"]{width:22px; height:22px; margin:0;}
  /* A studio's table has a fourth level beside the name, a studio's manager (migration 0054): there the name gives up some of its
     room and is a size down, and so are the heads and the words under a dash, so each still breaks only between its words. */
  #boardaccess table:has(thead th:nth-child(5)){table-layout:fixed;}
  #boardaccess table:has(thead th:nth-child(5)) th:first-child{width:32%;}
  #boardaccess table:has(thead th:nth-child(5)) th:not(:first-child){width:17%;}
  #boardaccess table:has(thead th:nth-child(5)) td:first-child{font-size:11px;}
  #boardaccess table:has(thead th:nth-child(5)) th, #boardaccess table:has(thead th:nth-child(5)) td .setdesc{font-size:10px;}
  #boardaccess table:has(thead th:nth-child(5)) th:not(:first-child), #boardaccess table:has(thead th:nth-child(5)) td:not(:first-child){padding-left:1px; padding-right:1px;}
}
/* One person's own boards, under the levels' grid (2026-10-20): the picker names a person by name and sign-in address, and a long
   one never makes the panel wider than a phone. */
#personaccess{margin-top:22px;}
#personaccess .setfield{grid-template-columns:minmax(0, 1fr); max-width:460px;}
#personaccess .tselect{width:100%; max-width:100%; min-width:0; text-overflow:ellipsis;}
#personaccess input[type="checkbox"]{width:22px; height:22px; margin:0;}
/* The roster sections (2026-10-10): a search box and the button that adds, forms that open in the panel, and rows with chips. */
.setbar{display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:2px 0 4px;}
.setfind{flex:1 1 220px; width:auto; max-width:360px; min-width:0;}
/* Filters over the People and Studios lists (2026-10-28): the period tabs' own chips, each a button pressed while it is on, with the number of rows in
   it. They stand apart, not joined in one box, so that they wrap onto as many lines as the width needs and never run past it. A phone's 44px press
   and its 12px floor come from the rules for .pt at the foot of this file. */
.setfilters{display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 4px;}
.setfilters .pt, .setfilters .pt:last-child{flex:0 1 auto; border:1px solid var(--border); text-align:center; overflow-wrap:anywhere;}
.setfilters .setn{font-family:'DM Sans',sans-serif; font-size:var(--fs-fine); letter-spacing:0;}      /* the chip's own colour: dimmed, it read 3.6:1 in dark */
.setslot:empty{display:none;}
.setform{display:grid; gap:12px; max-width:560px; margin:10px 0 4px; padding:14px 16px; background:var(--surface); border:1px solid var(--border);}
.setfield{display:grid; gap:5px; min-width:0;}
.setfield .tinput,.setfield .tselect{min-width:0;}
.setlbl{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:2px; color:var(--muted);}
.setq{color:var(--soft); font-size:var(--fs-sm);}
.setcode{max-width:100%;}
.setnote{width:100%; max-width:560px; min-height:96px; resize:vertical; font:inherit; line-height:1.45;}
.setconfirmrow{display:grid; gap:8px;}
.setacts{display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px;}
.setform .btn{padding:8px 18px 7px; font-size:var(--fs-lead);}
.setformmsg{margin:0;}
.setperson > .setrow:last-child{border-bottom:1px solid var(--border);}
.setperson > .setform{margin-bottom:12px;}
.setpeople{flex:0 1 55%; min-width:0; display:flex; flex-direction:column; align-items:flex-end; gap:8px;}
.setchips{display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px;}
.setchip{display:inline-flex; align-items:center; gap:4px; padding:2px 4px 2px 9px; background:var(--bg); border:1px solid var(--border); color:var(--soft); font-size:var(--fs-fine);}
.setchip:not(:has(.setx)){padding-right:9px;}
.setx{background:transparent; border:0; padding:0 5px; color:var(--muted); font-size:var(--fs-fine); cursor:pointer; text-decoration:underline; text-decoration-color:var(--border);}
.setx:hover{color:var(--bad);}
.setx:focus-visible{outline:2px solid var(--gold-ink); outline-offset:1px;}
.gbtn.setbad{color:var(--bad); border-color:var(--bad-bd);}
.gbtn.setbad:hover{color:var(--bad); border-color:var(--bad);}
.setmuted{color:var(--muted);}
/* Invitations (2026-10-11): the box on the form that adds a person, and the small button on a row of someone who has not signed in. */
.setinvite{display:grid; gap:4px;}
.setinvite .setdesc{margin:0 0 0 26px;}
.setcheck{display:flex; align-items:center; gap:10px; color:var(--ink); cursor:pointer;}
.setcheck input{flex:none; margin:0; accent-color:var(--gold);}
/* A studio manager's own switches, on their row in People (migration 0055): four boxes that wrap on a phone. */
.setswitches{margin-top:8px; display:grid; gap:4px;}
.setswitches .setdesc{margin:0;}
.setchecks{display:flex; flex-wrap:wrap; gap:4px 16px;}
.setchecks .setcheck{gap:6px;}
.gbtn.setsmall{padding:4px 10px 3px; font-size:var(--fs-sm); margin-top:6px;}
.setmeta{margin:0; color:var(--soft); font-size:var(--fs-sm); text-align:right; overflow-wrap:anywhere;}
.setwarn{margin:0; color:var(--bad);}
.setcohorthead{display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:8px 26px;}
.setcohorthead h3{margin:0;}
.setcohorthead .setpeople{margin-top:4px;}
.setseats > .setcohort{margin-top:30px;}
.setseats > .setcohort:first-child{margin-top:18px;}
.setseats > h3{margin-top:30px;}
.setcohort th:first-child{width:30%;}
.setcohort th:last-child{width:120px;}
.setcohort td:last-child{text-align:right;}
#remwould th:first-child,#remfailed th:first-child{width:28%;}
.setadd{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;}
.setadd .tselect{flex:0 1 260px; width:auto; min-width:0; max-width:100%;}
#waiting{display:grid; gap:3px; margin:12px 0 0; padding:0; list-style:none;}
#waiting li{padding:11px 15px; background:var(--surface); color:var(--ink);}
.setbody .gbtn:disabled,.setbody .pt:disabled,.setbody .tselect:disabled,.setbody input:disabled{opacity:.5; cursor:default;}
@media (max-width:560px){
  .setbox{grid-template-columns:minmax(0,1fr); min-height:0;}
  .setnav{flex-direction:row; gap:6px; padding:10px 12px; border-right:0; border-bottom:1px solid var(--border); overflow-x:auto;}
  .setlink{flex:none; padding:6px 12px; white-space:nowrap; border:1px solid var(--border);}
  .setlink[aria-current="page"]{border-color:var(--gold-ink);}
  .setpanel{padding:18px 15px 28px;}
  .setrow{flex-direction:column; gap:10px;}
  .setctl{align-items:stretch; width:100%;}
  .setctl .periods{width:100%;}
  .setctl .pt{flex:1 1 0; padding-left:8px; padding-right:8px;}
  .setask{justify-content:flex-start;}
  .setval{flex:none; max-width:100%; text-align:left;}
  .setpeople{flex:none; width:100%; align-items:flex-start;}
  .setchips{justify-content:flex-start;}
  .setmeta{text-align:left;}
  .setcohorthead{flex-direction:column;}
  .setfind{max-width:none;}
  .setform{padding:12px;}
  /* A studio's row in the seats tables is stacked: its name has the whole width, so it breaks between words and not in the middle of one. */
  .setcohort .tw{margin-top:8px;}
  .setcohort table,.setcohort tbody,.setcohort tr,.setcohort td{display:block; width:auto;}
  .setcohort thead{display:none;}
  .setcohort tr{padding:12px 0; border-bottom:1px solid var(--border);}
  .setcohort td{padding:2px 0; border:0; overflow-wrap:break-word;}
  .setcohort td:first-child{font-weight:600;}
  .setcohort td:last-child{padding-top:8px; text-align:left;}
  .setcohort .gbtn{padding:6px 12px 5px; font-size:var(--fs-sm);}
  .setcohort tbody tr:hover td{background:transparent;}
}

/* ------------------------------------------------------------ The staff Knowledge board, 2026-10-10 ----
   The brief, the documents in a table that scrolls inside its own box (never the page), and one form for a document and for the
   brief. The text field is tall enough to read a page of. A refusal is red, and no line at all until there is one. */
.kbpage{overflow-wrap:anywhere;}                  /* a title is one long word as easily as many: it is cut to the screen, never made wider than it */
.kbpage [data-says]:empty{display:none;}
.kbpage .says{color:var(--bad);}
.kbpage .sr{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);}
/* The table is the box the hidden word is placed in, so that the box's own scrolling holds it: placed in the page it would be a point
   at the table's far end, and a phone would draw the whole page as wide as that. */
.kbpage .tw{position:relative;}
.kbpage .sec .meta{font-size:var(--fs-sm); color:var(--muted);}
.kbtab th, .kbtab td{text-align:left;}
.kbtab th.kbn, .kbtab td.kbn{text-align:right;}
.kbtab td:first-child{white-space:normal; min-width:200px; max-width:420px; overflow-wrap:anywhere;}
.kbtab td.kbact{text-align:right;}
.kbtab .gbtn{padding:5px 12px 4px; font-size:var(--fs-body);}
.kbform h2{margin-top:0;}
.kbform .frow.kbone{grid-template-columns:minmax(0,1fr);}
.kbtext{min-height:26rem; line-height:1.5; resize:vertical;}
.kbcount{margin:6px 0 0;}
.kbcount.over{color:var(--bad);}
.kbfile{margin-top:14px;}
.kbfile input[type=file]{max-width:100%; color:var(--body);}
.kbfile .hint:empty{display:none;}
/* While a form is open the buttons that would open another are off (knowledge.js), and they look it: a button that is drawn as live and
   does nothing when pressed reads as a page that is broken. */
.kbpage button:disabled{opacity:.4; cursor:not-allowed;}
/* A title in the toast ("Added: ...") may be one long word. It is cut to fit the screen and read in full, not run off the edge of it. */
.toast{overflow-wrap:anywhere;}

/* ================================================================ THE DEMO PASS (2026-10-11) ==
   A section's note sits behind an "i" beside its heading (app.js, polish). */
h2 .why{margin-left:10px; width:22px; height:22px; padding:0; border:1px solid var(--border); border-radius:50%; background:none;
  color:var(--muted); font:600 13px/1 'DM Sans',sans-serif; cursor:pointer; vertical-align:middle; flex:none;}
h2 .why::before{content:"i";}
/* Where a finger does the pressing, what takes the press reaches past the small mark: the "i" beside a heading, and a
   link written as words (Close all, Nudge). Nothing moves and nothing looks different. The reach stops short of the 10px
   between the "i" and its heading's words, so a press on the heading still folds the section. How far each reaches, 44 by 44,
   is at the foot ("A phone's sizes"). */
@media (pointer:coarse), (max-width:880px){
  h2 .why{position:relative;}
  h2 .why::after{content:""; position:absolute; top:-9px; right:-9px; bottom:-9px; left:-9px;}
}
h2 .why:hover, h2 .why:focus-visible, h2 .why[aria-expanded="true"]{border-color:var(--gold); color:var(--gold-ink);}
.whyp{background:var(--surface); padding:12px 16px; box-shadow:inset 2px 0 0 var(--border);}

/* A section that folds: its heading is the row, its headline is said under it while it is shut. */
h2.fold{display:flex; align-items:center; gap:10px; margin-top:3px; padding:16px 22px 4px; background:var(--card);
  font-size:var(--fs-title); cursor:pointer;}
h2.fold:not(.shut){padding-bottom:16px;}
h2.fold::after{content:""; flex:none; margin-left:auto; width:9px; height:9px; border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted); transform:rotate(-135deg); transition:transform .15s;}
h2.fold.shut::after{transform:rotate(45deg);}
h2.fold .why{margin-left:0;}
h2.fold:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
.foldsay{margin:0; padding:4px 22px 16px; background:var(--card); color:var(--body); font-size:var(--fs-sm); cursor:pointer;}
.foldb{padding-bottom:18px;}
.foldall{margin:40px 0 8px; text-align:right;}
.linkb{background:none; border:0; padding:0; color:var(--muted); font:inherit; font-size:var(--fs-sm); text-decoration:underline; cursor:pointer;}
.linkb:hover{color:var(--ink);}

/* The strip under a board's head: three facts on a row each, not three tall cards. Green is done, gold needs doing. */
.nowc{flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:2px 12px; padding:12px 16px 12px 18px;
  box-shadow:inset 3px 0 0 var(--border);}
.nowc .k{flex:1 0 100%;}
.nowc .stat.sm{font-size:var(--fs-title);}
.nowc .sub{margin:0;}
.nowc.ok{box-shadow:inset 3px 0 0 var(--ok);}
.nowc.act{box-shadow:inset 3px 0 0 var(--gold);}
.nowc.press{cursor:pointer;}

/* Getting started: a studio's first four things, on one row at a desk and one under another on a phone. A ticked step is quiet. */
.started{padding:12px 16px 12px 18px; box-shadow:inset 3px 0 0 var(--gold);}
.startedh{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px;}
.startedh .sub{margin:0;}
.startedh .linkb{margin-left:auto; padding:6px 0 6px 12px;}
.startlist{list-style:none; margin:4px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:0 28px;}
.startstep{display:flex; align-items:center; gap:8px; min-width:0; min-height:36px;}
.startbox{flex:none; width:16px; height:16px; color:var(--muted);}
.startstep.done .startbox{color:var(--ok);}
.startstep .lnk{padding:6px 0; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere;}
.startstep.done .lnk, .startstep.done .name{color:var(--muted);}
.startstep .sub{margin:0;}
.startmore{margin:6px 0 0;}
.startmore .lnk{padding:6px 0; text-decoration:underline; text-underline-offset:3px;}
@media (max-width:560px){
  .startlist{flex-direction:column;}
  .startstep{min-height:44px;}
}

/* A slow read shows the shape of a board under "Loading…". */
.skel{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:3px; margin-top:22px;}
.skel i{height:150px; background:var(--card); position:relative; overflow:hidden;}
.skel b{grid-column:1/-1; height:64px; background:var(--surface);}
.skel i::after{content:""; position:absolute; inset:0; animation:skel 1.2s linear infinite;
  background:linear-gradient(90deg,transparent,rgba(128,128,128,.10),transparent);}
@keyframes skel{from{transform:translateX(-100%);} to{transform:translateX(100%);}}
@media (prefers-reduced-motion:reduce){.skel i::after{animation:none;}}

/* On a phone four figures sit two by two, not four screens deep. Path to $100K's five counts do the same, with the odd one taking the row. */
@media (max-width:560px){
  .g4:has(> .card > .stat), .g5.counts:has(> .card > .stat){grid-template-columns:repeat(2,minmax(0,1fr));}
  .g4:has(> .card > .stat) > .card, .g5.counts:has(> .card > .stat) > .card{padding:14px 12px;}
  .g4:has(> .card > .stat) > .card .stat, .g5.counts:has(> .card > .stat) > .card .stat{font-size:30px;}
  .g5.counts > .card:last-child:nth-child(odd){grid-column:1/-1;}
}

/* Revenue Bands: six counts, three across and then three, and each opens to its studios inside its own card (app/static/gsd.js whoCard).
   An open card is as tall as its list and no taller than that: the cards beside it keep their height. Two across below a desk, and then an
   open card takes the whole row, since a list of studios does not fit in half of one. */
.gopen{grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start;}
@media (max-width:760px){
  .gopen{grid-template-columns:repeat(2,minmax(0,1fr));}
  .gopen > .card:has(details[open]){grid-column:1/-1;}
}
@media (max-width:560px){
  .gopen > .card{padding:14px 12px;}
  .gopen > .card .stat{font-size:30px;}
}
.bandwho summary{cursor:pointer;}
.bandwho ul{list-style:none; margin:10px 0 0; padding:0; display:grid; gap:10px;}
.bandwho li{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:0 12px; font-size:var(--fs-sm);}
.bandwho .nm{min-width:0; overflow-wrap:anywhere;}
.bandwho .fig{white-space:nowrap; font-variant-numeric:tabular-nums;}
.bandwho .fine{flex:1 0 100%;}
/* The step in a row of medians that is the biggest, shaded as an active card is: the amber ground and the gold at its head. */
td.n.jump{background:var(--amber); box-shadow:inset 0 2px 0 var(--gold);}

/* Member Health: a tile lists its studios, the score says its band, and a flagged cell is seen. */
.tierb{cursor:pointer;}
.tierb:hover{box-shadow:inset 0 -3px 0 var(--border);}
.tierb[aria-pressed="true"]{box-shadow:inset 0 -3px 0 var(--gold);}
.tierb:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
.hm td.flagc,.hm tbody tr:hover td.flagc{background:var(--bad-bd); color:var(--bad-hi);}
.hm .rk::after{margin-left:7px; font:500 12px/1 'DM Sans',sans-serif; letter-spacing:.2px; color:var(--muted);}
/* The scale under a risk score: a short bar, a third of it to each of the two lines (watch, at risk), each a mark. */
.hm .rkbar{display:block; position:relative; width:72px; height:5px; margin:6px 0 2px auto; background:var(--border);}
.hm .rkbar i{position:absolute; left:0; top:0; bottom:0; display:block; background:var(--muted);}
.hm .rkbar.watch i{background:var(--gold);} .hm .rkbar.risk i{background:var(--bad);}
.hm .rkbar b{position:absolute; top:-3px; bottom:-3px; width:1px; background:var(--soft);}
.rkscale{margin:10px 0 -6px;}
.hm .rk.risk::after{content:"at risk"; color:var(--bad);}
.hm .rk.watch::after{content:"watch"; color:var(--gold-ink);}
.hm .rk.ok::after{content:"healthy";}

/* Segments: a segment with too few studios for a figure keeps its row, at half the height. */
.ctab tr:has(> .mc > .fine) td{padding-top:4px; padding-bottom:4px; line-height:1.25;}
.ctab tr:has(> .mc > .fine) .nm{color:var(--body);}

/* My Cohort: who has not filed is a small card after the others, and has no column in the table (2026-10-28). */
.g5 > .card.unfiled{order:1; background:var(--surface);}
.g5 > .card.unfiled .stat{display:none;}
.g5 > .card.unfiled .sub{color:var(--muted);}
.g5 > .card.unfiled .linkb{margin-top:10px; color:var(--ink);}

/* The account button wears the person's initials as a badge. */
.acct{display:inline-flex; align-items:center; gap:6px; padding:5px 10px 5px 6px;}
.acct .ini{display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; border-radius:50%;
  background:var(--gold); color:var(--on-gold); font:700 12px/1 'DM Sans',sans-serif; letter-spacing:0;}

/* A card that is a way somewhere says so under the pointer. */
.card.press{cursor:pointer;}
.card.press:hover{box-shadow:inset 0 -2px 0 var(--border);}
.card.press:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
.head .printb{align-self:flex-end; flex:none;}

/* On paper: the board alone, dark on white, with every folded section open. */
@media print{
  :root, :root[data-gsd-theme="light"]{
    color-scheme:light;
    --bg:#ffffff; --surface:#f7f5f0; --card:#ffffff; --border:#dcd6ca;
    --ink:#141414; --body:#222222; --soft:#333333; --muted:#4d4d4d; --quote:#333333;
    --gold:#eaca46; --gold-hi:#f5dd80; --gold-ink:#846819; --on-gold:#0a0a0a; --amber:#faf1d2;
    --lock:#0a0a0a; --grid-line:#8a8a8a; --iqr:#e3ddd0;
    --tray:#f7f5f0; --tray-me:#ffffff; --tray-line:#dcd6ca; --tray-edge:#dcd6ca; --tray-shade:none;
    --ok-bg:#edf5e7; --ok-bd:rgba(60,130,40,.30); --ok:#2e6a1e; --ok-hi:#1f4d12; --ok-tx:#34552a;
    --bad-bg:#fbecea; --bad-bd:rgba(180,40,30,.28); --bad:#a3261b; --bad-hi:#7d1a11;
    --mix1:#141414; --mix2:#c79a12; --mix3:#b9b3a8;
  }
  html, body{background:#fff !important; overflow:visible !important; height:auto !important;}
  .top, .rail, .tabbar, .tray, .scrim, .toast, .why, .foldall, .skel, .printb, .back, .head .seg, .started{display:none !important;}
  .app, .under, .col{display:block !important; height:auto !important; overflow:visible !important;}
  main{margin:0 !important; padding:0 !important; max-width:none !important;}
  .foldb[hidden]{display:block !important;}
  .foldsay{display:none !important;}
  .card, .bridge, .moves, tr{break-inside:avoid;}
  .card{box-shadow:inset 0 0 0 1px var(--border);}
}

/* The studio giving its update is the stage: its name and its clock are read from across a room, or on a shared screen. */
.turn.now{background:var(--amber); box-shadow:inset 3px 0 0 var(--gold); padding:26px 22px; margin:6px -22px; align-items:center;}
.turn.now .nm{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-stat); line-height:1; letter-spacing:.5px;}
.turn.now .clock{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-hero); font-weight:400; line-height:1; margin-left:auto;}
/* The round's clock is two lines (2026-10-13): the update, then its four minutes of Q&A. The line that is counting is the large one, the
   other is small and quiet; past the end the Q&A line is the sentence that says the time is up, and is a size a sentence can be. */
.clock .cl{display:block; white-space:nowrap; text-align:right;}
.clock .cw{font-family:'DM Sans',sans-serif; font-size:var(--fs-label); font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); margin-right:.5em;}
.clock[data-phase="updates"] .cl + .cl, .clock[data-phase="qa"] .cl:first-child, .clock[data-phase="over"] .cl:first-child{font-size:.4em; color:var(--muted); margin:.2em 0;}
.clock[data-phase="updates"] .cl + .cl .cw, .clock[data-phase="qa"] .cl:first-child .cw, .clock[data-phase="over"] .cl:first-child .cw{font-size:inherit; letter-spacing:.5px;}
.clock[data-phase="over"] .cq{font-size:.5em;}
.turn.now .grow{display:none;}
.turn.done .nm{color:var(--muted);}
@media (max-width:560px){
  .turn.now{margin:6px -12px; padding:18px 12px;}
  .turn.now .nm{font-size:var(--fs-stat-sm);}
  .turn.now .clock{font-size:var(--fs-stat);}
}

/* A win under Biggest moves, and how many lines of Enter KPIs have a figure. */
.winline{background:var(--surface); padding:14px 20px; margin-top:3px; display:flex; gap:6px 14px; flex-wrap:wrap; align-items:baseline;
  box-shadow:inset 3px 0 0 var(--ok); color:var(--body);}
.winline .eyebrow{flex:none;}
.entered{color:var(--muted); font-size:var(--fs-sm); align-self:center; margin-left:6px;}

/* The stage's figures, for whoever leads the call: rates only, never a level. */
.turn.now .stagef{flex:1 0 100%; order:9; display:flex; flex-wrap:wrap; gap:8px 28px; margin-top:14px;}
.stagef .sf{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); line-height:1.1; color:var(--ink);}
.stagef .sf em{display:block; font:500 12px/1.4 'DM Sans',sans-serif; font-style:normal; letter-spacing:.3px; color:var(--muted);}
.stagef .sf.hit{color:var(--ok);}
.stagef .sf.miss{color:var(--bad);}
/* What the call that just ended came to. */
.calldone{margin-top:3px; box-shadow:inset 3px 0 0 var(--ok);}
.calldone .row{padding:8px 0;}

/* Segments: a row opens to the studios in it. */
.ctab tr.opens{cursor:pointer;}
.ctab tr.opens:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
.ctab tr.segwho td{background:var(--surface); text-align:left; white-space:normal; line-height:1.9; padding:10px 15px 14px;}
.ctab tr.segwho .sep{color:var(--muted);}

/* A drawing says each month's figure under the pointer: a guide through the month, a mark on its point and a card of
   words beside it. The strip a month answers to carries where its point stands (--at across, --y down); the card opens
   over the point, under it where the point stands high (.dn), and toward the middle near a side (.l, .r). */
.tip{position:absolute; top:0; bottom:0; --at:50%; --y:50%; --tx:-50%; --ty:-100%; --my:-13px;}
.tip.l{--tx:-10px;} .tip.r{--tx:calc(-100% + 10px);} .tip.dn{--ty:0%; --my:13px;}
.tip:hover{background:linear-gradient(to right, transparent calc(var(--at) - .5px), var(--grid-line) calc(var(--at) - .5px), var(--grid-line) calc(var(--at) + .5px), transparent calc(var(--at) + .5px));}
.tip .hp{display:none; position:absolute; left:var(--at); top:var(--y); width:11px; height:11px; margin:-5.5px 0 0 -5.5px;
  background:var(--card); box-shadow:inset 0 0 0 2px var(--gold-ink);}
.tipc{display:none; position:absolute; z-index:6; padding:8px 12px 9px; background:var(--bg); border:1px solid var(--border);
  border-top:2px solid var(--gold-ink); box-shadow:0 8px 22px rgba(0,0,0,.34); font:500 12px/1.35 'DM Sans',system-ui,sans-serif;
  font-style:normal; color:var(--body); white-space:nowrap; text-align:left; pointer-events:none;}
.tip .tipc{left:var(--at); top:var(--y); margin-top:var(--my); transform:translate(var(--tx),var(--ty));}
.tipc em{display:block; font-style:normal; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.tipc > strong{display:block; margin-top:2px; font:400 21px/1.1 'Bebas Neue',sans-serif; letter-spacing:.02em; color:var(--ink);}
.tipc span{display:flex; align-items:center; gap:8px; margin-top:4px;}
.tipc span strong{margin-left:auto; padding-left:16px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums;}
.tip:hover .hp,.tip:hover .tipc{display:block;}

/* Enter KPIs: where each kind of line begins. */
.fgroup{margin:20px 0 6px; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-label); letter-spacing:2px; color:var(--muted);}
.fcol > .fgroup:first-child{margin-top:0;}


/* On a wide screen Ask Coach sits beside the board, not over it: the board keeps its light and moves over to make room. */
@media (min-width:1500px){
  html.trayopen .scrim.on{background:transparent;}
  html.trayopen .col{padding-right:min(460px,100vw);}
}

/* The KPI sheet's line for the headline figure that was pressed on Overview. */
.tw table tr.lit td{background:var(--amber);}
.tw table tr.lit td:first-child{box-shadow:inset 3px 0 0 var(--gold);}

/* Side by side: GSD's standard under the line's name. */
.sbs td[data-std]::after{content:attr(data-std); display:block; margin-top:2px; font:500 12px/1.3 'DM Sans',sans-serif; color:var(--muted);}

/* On paper a button that goes somewhere is not printed: the board's words and figures are. A name that is a link stays. */
@media print{.gbtn, .btn{display:none !important;}}

/* Call Prep's notes, the cohort's leaders' own (boards.js prepNotes): a box as wide as the board, its lines kept as they were typed.
   A box prints only the lines it has room for, so paper shows the copy of the words under it in its place, and notes nobody has
   written are not printed at all. */
.pnotes .tarea{min-height:10rem; line-height:1.5; margin-top:12px;}
.pnotes .actions{margin-top:12px;}
.pnotes .pprint{display:none; white-space:pre-wrap; overflow-wrap:anywhere; margin-top:12px; line-height:1.5;}
@media print{
  .pnotes .tarea, .pnotes .hint, .pnotes .actions{display:none;}
  .pnotes .pprint{display:block;}
  .pnotes.empty{display:none;}
}
/* The way to Wins at the end of My Cohort's win line reads as the line does. */
.winline .linkb{color:var(--ink);}

/* ---- Passkeys: the account menu's panel. A person's own passkeys, over the page they were on. */
.keys{position:fixed; inset:0; z-index:60; display:grid; place-items:center; padding:16px; background:rgba(0,0,0,.6);}
.keys[hidden]{display:none;}
.keysbox{display:grid; gap:12px; width:min(460px,100%); max-height:90vh; overflow:auto; padding:22px; background:var(--bg);
         border:1px solid var(--border);}
.keysbox h2{margin:0; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-label); letter-spacing:2.5px;
            text-transform:uppercase; color:var(--muted);}
.keysbox p{margin:0; color:var(--soft); font-size:var(--fs-sm);}
.keysbox p.msg{min-height:1.4em; color:var(--ink);}
.keysbox ul{list-style:none; margin:0; padding:0; display:grid; gap:3px;}
.keysbox li{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; background:var(--card);
            color:var(--ink); font-size:var(--fs-sm);}
.keysbox li .gbtn{flex:none;}
.keysrow{display:flex; flex-wrap:wrap; gap:10px;}
/* ---- Install app, on an iPhone or an iPad: the steps to the Home Screen, written out in the box Passkeys has, as Xyzios writes
   them. Each step is numbered in a gold disc, a button of the phone's own is drawn as a key, and a name stays on one line with
   its key. */
.inststeps{list-style:none; margin:2px 0 4px; padding:0; counter-reset:inst; display:grid; gap:14px;}
.keysbox .inststeps li{counter-increment:inst; position:relative; display:block; min-height:28px; padding:3px 0 0 40px;
  background:none; color:var(--ink); font-size:var(--fs-sm); line-height:1.55;}
.keysbox .inststeps li::before{content:counter(inst); position:absolute; left:0; top:0; width:28px; height:28px; border-radius:50%;
  background:var(--gold); color:var(--on-gold); font-size:var(--fs-fine); font-weight:700; display:flex; align-items:center;
  justify-content:center;}
.inststeps .sub{display:block; margin-top:3px; font-size:var(--fs-fine); line-height:1.5; color:var(--muted);}
.instkey{display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:26px; height:24px;
  padding:0 5px; margin:0 2px; vertical-align:middle; border:1px solid var(--border); background:var(--card); color:var(--ink);
  font-size:12px; font-weight:700;}
.instkey svg{display:block;}
.instnb{white-space:nowrap;}
.keysbox p.instnote{padding-top:12px; border-top:1px solid var(--border); color:var(--muted); font-size:var(--fs-fine); line-height:1.5;}
/* ---- Report an issue (help.js): the box Passkeys has, with room to say what went wrong. */
#reportPanel label{color:var(--ink); font-size:var(--fs-sm);}
#reportPanel .tarea{min-height:9rem; line-height:1.5;}

/* ---- The theme: three choices in the account menu, as Xyzios has them. Match device, dark, light: the thumb sits under the chosen one. */
.themesel{position:relative; display:grid; grid-template-columns:repeat(3,1fr); margin:6px 16px 8px; border:1px solid var(--border);}
.themesel .thumb{position:absolute; top:0; bottom:0; left:0; width:33.3333%; background:var(--card); transition:transform .16s ease;}
.themesel[data-at="1"] .thumb{transform:translateX(100%);}
.themesel[data-at="2"] .thumb{transform:translateX(200%);}
.menuop .themeopt{position:relative; display:grid; place-items:center; width:auto; padding:8px 0; text-align:center; color:var(--soft);}
.menuop .themeopt:hover{background:transparent; color:var(--ink);}
.menuop .themeopt svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.themeopt:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
@media (prefers-reduced-motion:reduce){
  .themesel .thumb{transition:none;}
}

/* The membership's year is a chart: its scale down the side, each month under it and how many studios filed that month.
   The drawing still has no text in it; every figure is page text placed over it. */
.yearcard .tnote{display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 16px;}
.yr{display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:8px; margin-top:30px;}
.yr .spk-w{height:230px; margin-top:0;}
.yr-y{position:relative;}
.yr-y span{position:absolute; right:0; transform:translateY(-50%);}
.yr-y span,.yr-x span,.yr-l{font-size:12px; line-height:1.4; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums;}
.yr-x{position:relative; height:36px; margin-top:8px;}
.yr-x span{position:absolute; top:0; transform:translateX(-50%); text-align:center;}
.yr-x i{display:block; font-style:normal; color:var(--soft);}
.yr-l{align-self:end; text-align:right;}
.spk-w .pe{position:absolute; transform:translate(-50%,-150%); font:500 11px/1 'DM Sans',system-ui,sans-serif; color:var(--muted);
  white-space:nowrap; pointer-events:none; font-variant-numeric:tabular-nums;}
.spk-w .pe.lo{transform:translate(-50%,70%);}
/* a phone keeps the last month's name and every second one before it */
@media (max-width:760px){
  .yr .spk-w{height:190px;}
  .yr-x span:nth-last-child(even){display:none;}
}
/* An owner's upload of their KPI sheet (upload.js): a file field is as wide as its words, and a phone is narrower. */
[data-upload] input[type=file]{max-width:100%;}
/* The browser's own "Choose File" button, in the look of the app's other quiet buttons (.gbtn), wherever a file is picked. */
input[type=file]{color:var(--muted); font-family:inherit; font-size:var(--fs-sm);}
input[type=file]::file-selector-button{margin-right:12px; background:transparent; color:var(--ink); border:1px solid var(--border);
  cursor:pointer; font-family:'Bebas Neue',sans-serif; font-size:var(--fs-lead); letter-spacing:2px; padding:9px 15px 8px;}
input[type=file]::file-selector-button:hover{border-color:var(--gold-ink); color:var(--gold-ink);}

/* ------------------------------------------------------------ the graphics pass, 2026-10-12 ----
   Asked for beside the Xyzios boards', which look "a lot more finished". What those have and these did not: a
   scale with its lines, a point for every month, a card of words under the pointer and fills that are a tint of the
   line. The drawings keep the kit's own square corners and their own words. */
/* The tints: each a share of a colour the theme already names, so it reads on both themes. A browser without color-mix
   keeps the plain colours named first. (A declaration that holds a var() is never refused when it is read, only when it
   is used, so a tint is asked for only where it is understood.) */
:root{--band:var(--iqr); --band-hi:var(--iqr); --band-edge:var(--grid-line); --strip-rail:var(--border); --gain:transparent;
  --bar-up:var(--grid-line); --bar-dn:var(--iqr);}
@supports (color:color-mix(in srgb, red 50%, blue)){
  :root{--band:color-mix(in srgb, var(--gold-ink) 14%, transparent); --band-hi:color-mix(in srgb, var(--gold-ink) 24%, transparent);
    --band-edge:color-mix(in srgb, var(--gold-ink) 44%, transparent); --strip-rail:color-mix(in srgb, var(--grid-line) 36%, transparent);
    --gain:color-mix(in srgb, var(--gold-ink) 16%, transparent);
    --bar-up:color-mix(in srgb, var(--ink) 30%, transparent); --bar-dn:color-mix(in srgb, var(--ink) 15%, transparent);}
}
/* The middle half of studios is a tint of the line's own colour with an edge, so the scale's lines show through it. */
.spark .iqb{fill:var(--band);}
.spark .iqe{stroke:var(--band-edge);}
.yearcard .legend i.box{background:var(--band); box-shadow:inset 0 1px 0 var(--band-edge), inset 0 -1px 0 var(--band-edge);}
/* what a line of the pointer's card is of: the line itself, the band, or nothing drawn */
.tipc .sw{flex:none; width:12px; height:0; border-top:2px solid var(--gold-ink);}
.tipc .sw.box{height:9px; border:0; background:var(--band-hi);}
.tipc .sw.ink{border-top-color:var(--ink);}
.tipc .sw.dash{width:16px; border-top:2px dashed var(--grid-line);}
.tipc .sw.none{border:0;}

/* The distribution strip: the range is a rail with its two ends' figures under it, the part of it that clears the
   standard in the colour of a target that is met, the middle half a tint with an edge, and the median and the
   standard each a mark ringed in the card's colour, the standard's with a head. */
.strip{height:92px;}
.strip .rng{top:42px; height:6px; background:var(--strip-rail);}
.strip .clr{top:42px; height:6px; background:var(--ok); opacity:.72;}
.strip .iqr{top:33px; height:24px; background:var(--band); box-shadow:inset 1px 0 0 var(--band-edge), inset -1px 0 0 var(--band-edge);}
.strip .med{top:27px; height:36px; width:4px; margin-left:-2px; box-shadow:0 0 0 2px var(--card);}
.strip .std{top:23px; height:44px; box-shadow:0 0 0 2px var(--card);}
.strip .std::after{content:""; position:absolute; left:50%; top:-4px; width:9px; height:9px; margin-left:-4.5px;
  background:var(--gold-ink); box-shadow:0 0 0 2px var(--card); transform:rotate(45deg);}
.strip .end{position:absolute; top:54px; font:500 11px/1 'DM Sans',system-ui,sans-serif; color:var(--muted);
  white-space:nowrap; font-variant-numeric:tabular-nums;}
.strip .end.r{transform:translateX(-100%);}
/* a phone's strip has no room for a figure beside a mark */
@media (max-width:560px){.strip .end{display:none;}}
.strip .lab.below{top:74px;}

/* The path chart: a scale down its side with a line across for each figure, a point for every month that was filed, a
   fade under what was filed and under the pace with the changes, and between the two paces a tint that is what the
   changes are worth. The pointer says any month. */
.pchart{margin-left:46px;}
.pchart .yt{position:absolute; right:100%; margin-right:9px; transform:translateY(-50%); font-size:12px; line-height:1.4;
  color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums;}
.pchart .fp{position:absolute; width:5px; height:5px; margin:-2.5px 0 0 -2.5px; background:var(--ink); box-shadow:0 0 0 1.5px var(--card);}
.spark .p0{stop-color:var(--ink); stop-opacity:.13;}
.spark .p1{stop-color:var(--ink); stop-opacity:0;}
.spark .gain{fill:var(--gain);}
.pchart .spark .g0{stop-opacity:.16;}

/* The month bars: a month stands on the average month's own line, up from it or down from it, with its figure's end
   capped, on a scale that is said at the side and has a line at each end and half way to each. A month over the average
   is the stronger tone and its figure the stronger ink; the strongest is gold. A bar's markup is as it was, a box as
   tall as the month from the foot of the whole scale (80 to 120 of the average): the stylesheet paints the part of the
   box over the average's line, and for a month under the average the part between the box's top and that line.
   The drawing is a window 150px tall on that scale. --z is how many times taller than the window the whole scale is
   (the page sets it from the year: 1, 2 or 4), and --w how much of the scale is out of sight at each end. What is out
   of sight is cut off at the bars' own box, so it adds nothing to how far the page scrolls. */
.bars{gap:0; height:auto; overflow:hidden; --z:1;}
.bar .pl{flex:none; height:calc(150px * var(--z)); --avg:calc(75px * var(--z)); --w:calc(75px * (var(--z) - 1));
  margin:calc(8px - var(--w)) 0 calc(0px - var(--w)); clip-path:inset(var(--w) 0); border-bottom:0;
  background:linear-gradient(var(--border),var(--border)) 0 var(--w)/100% 1px no-repeat,
    linear-gradient(var(--border),var(--border)) 0 calc(var(--w) + 37px)/100% 1px no-repeat,
    linear-gradient(var(--border),var(--border)) 0 calc(var(--w) + 112px)/100% 1px no-repeat,
    linear-gradient(var(--border),var(--border)) 0 calc(var(--w) + 149px)/100% 1px no-repeat;}
/* the scale's column: an empty figure over it, so its two figures stand level with the window's two ends at every width */
.bsc{flex:none; width:40px; display:flex; flex-direction:column;}
.bsc .ax{position:relative; flex:none; height:150px; margin-top:8px;}
.bsc .ax span{position:absolute; left:0; font-size:12px; line-height:1; color:var(--muted); white-space:nowrap;
  font-variant-numeric:tabular-nums; transform:translateY(-50%);}
.bsc .ax span:first-child{top:0;} .bsc .ax span:last-child{top:100%;}
@media (max-width:560px){.bsc{width:32px;}}
.bar .pl i{left:18%; right:18%; background:linear-gradient(to top, transparent var(--avg), var(--bar-up) var(--avg)); box-shadow:inset 0 2px 0 var(--soft);}
.bar .pl i::after{content:""; position:absolute; left:0; right:0; bottom:100%; height:calc(var(--avg) - 100%); background:var(--bar-dn);}
.bar.hi .pl i{background:linear-gradient(to top, transparent var(--avg), var(--gold) var(--avg)); box-shadow:inset 0 2px 0 var(--gold-hi);}
.bar .bv{color:var(--muted);}
.bar .bv:has(.pc ~ .pc){color:var(--ink);}
.bar.hi .bv{color:var(--gold-ink);}
.bar:hover .pl{background-color:var(--surface);}
.bar:hover .bm{color:var(--ink);}
.bars + .legend i.box{background:var(--bar-up);}
/* A commitment in a studio's own words (forms.js ownRow): up to 200 characters, so the words take the row's width and break
   where they must, and the chip and the buttons follow on the next line when there is no room beside them. */
.row.own .nm{flex:1 1 14em; min-width:0; overflow-wrap:anywhere;}
.row.own .grow{display:none;}
/* A member's overview of their cohort (boards.js memberOverview): the side-by-side table in rates alone. The member's own
   studio's column is tinted and says so under its name, in the type a column that has not filed says so in. */
.sbs .you{background:var(--amber);}
.sbs th small{display:block; font:500 11px/1.3 'DM Sans',sans-serif; letter-spacing:0; text-transform:none; color:var(--muted);}
/* A member's call board (boards.js memberCallPage): the call's section, their own update and the rules, a part at a time. */
.cohortpage[data-view="call"] .cv-update, .cohortpage[data-view="rules"] .cv-update, .cohortpage[data-view="update"] .callpage{display:none;}
.cohortpage[data-view="kpi"] .callpage, .cohortpage[data-view="kpi"] .cv-update:not(.cv-kpi), .cohortpage[data-view="update"] .cv-kpi{display:none;}
.uptr{display:flex; flex-wrap:wrap; gap:2px 12px; margin-top:6px; font:600 12px/1.3 'DM Sans',sans-serif;}
td.n .uptr{justify-content:flex-end;}
.upspk .spk-w{height:34px; margin-top:8px;}
.tr{white-space:nowrap;}
.uphead{display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-top:26px;}
.uphead h2{margin:4px 0 0;}
/* "Present": the update alone on the screen, over everything else, and in larger type where there is room for it. */
.cohortpage .cv-update.present{display:block; position:fixed; inset:0; z-index:80; overflow:auto; background:var(--bg); padding:28px clamp(16px,4vw,56px) 40px;}
.cv-update:focus{outline:none;}
/* The call's count on a presented update: whose update is running and what is left of it, where the top bar's own is covered. */
.upclock{display:none; font:600 15px/1 'DM Sans',sans-serif; color:var(--gold-ink); font-variant-numeric:tabular-nums; white-space:nowrap;}
.cv-update.present .upclock:not([hidden]){display:inline-block; align-self:center;}
.upclock.over{color:var(--bad);}
.cv-update.present .uphead{position:sticky; top:0; z-index:1; margin:-12px 0 0; padding:12px 0; background:var(--bg);}
@media (min-width:900px){.cv-update.present .upwrap{zoom:1.3;}}

/* The GSD App Guide, a site of its own (app/guide.html, guide.js, 2026-10-27): a bar, the contents down the side, and a page.
   A guide's own markup is the server's (app/guides.py `render`): headings, lists, paragraphs and bold words. */
.guide h3{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-sub); letter-spacing:1.5px; color:var(--ink); margin:22px 0 8px;}
.guide h4{font-size:var(--fs-body); color:var(--ink); margin:16px 0 6px;}
.guide p, .guide li{color:var(--body); line-height:1.55;}
.guide p{margin:0 0 10px;}
.guide ul{padding-left:18px; margin:0 0 10px;}
.guide li{margin-bottom:4px;}
.guide b{color:var(--ink); font-weight:600;}
.guide ol{padding-left:20px; margin:0 0 10px;}
.sstep{padding-top:30px; scroll-margin-top:var(--top);}
.sstep .gsechd{margin-top:0;}
.sgroup{margin-top:44px; padding-top:18px; border-top:1px solid var(--border); scroll-margin-top:var(--top);}
.sfig{margin:16px 0 18px;}
.sfig img{display:block; width:100%; height:auto; border:1px solid var(--border); border-radius:6px;}
.sfig figcaption{margin-top:7px; font-size:var(--fs-sm); color:var(--muted); line-height:1.45;}
.send{margin-top:40px;}
.gpic{display:block; width:100%; height:auto; border:1px solid var(--border); border-radius:6px; margin:18px 0 20px;}
.gbar{position:sticky; top:0; z-index:5; height:var(--top); display:flex; align-items:center; gap:12px; padding:0 20px;
  background:var(--bg); border-bottom:1px solid var(--border);}
.gbrand{display:flex; align-items:center; gap:12px; min-width:0; text-decoration:none; color:var(--ink);}
.gbrand .gname{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); letter-spacing:1px; line-height:1; white-space:nowrap;}
.gbrand .gname em{font-style:normal; color:var(--gold-ink);}
.gbar .gbtn{text-decoration:none; white-space:nowrap;}
.gbar .gback{margin-left:auto;}
.gtocb{display:none;}
.gwrap{display:flex; max-width:1280px; margin:0 auto;}
.gside{width:264px; flex:none; position:sticky; top:var(--top); align-self:flex-start; max-height:calc(100vh - var(--top));
  overflow-y:auto; padding:24px 14px 40px 20px; border-right:1px solid var(--border);}
.gside h3{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-label); letter-spacing:3px; color:var(--muted); margin:20px 0 4px 12px;}
.gside a{display:block; padding:6px 10px; border-left:2px solid transparent; color:var(--body); text-decoration:none; font-size:var(--fs-sm); line-height:1.35;}
.gside a:hover{color:var(--ink); background:var(--surface);}
.gside a[aria-current="page"]{color:var(--ink); background:var(--surface); border-left-color:var(--gold);}
.gmain{flex:1 1 auto; min-width:0; max-width:900px; padding:34px 44px 72px;}
.gmain:focus{outline:0;}
.gmain .eyebrow{display:block; margin-bottom:6px;}
.gmain .lede{margin-bottom:6px;}
.gmain .guide{max-width:72ch;}
.gsechd{font-size:var(--fs-h2); color:var(--ink); margin:34px 0 10px;}
.gcards{display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:3px; margin-top:16px;}
.gcards a{display:block; background:var(--card); padding:16px 18px; border-top:2px solid transparent; color:var(--body); text-decoration:none;}
.gcards a:hover, .gcards a:focus-visible{border-top-color:var(--gold);}
.gcards a b{display:block; color:var(--ink); font-weight:600; margin-bottom:4px;}
.gcards a span{display:block; font-size:var(--fs-sm); color:var(--muted); line-height:1.45;}
.gpager{display:flex; gap:12px; margin-top:44px; padding-top:18px; border-top:1px solid var(--border);}
.gpager a{display:block; max-width:48%; text-decoration:none; color:var(--body);}
.gpager a span{display:block; font-size:var(--fs-fine); color:var(--muted); margin-bottom:2px;}
.gpager a b{color:var(--ink); font-weight:600;}
.gpager a:hover b, .gpager a:focus-visible b{color:var(--gold-ink);}
.gpager .next{margin-left:auto; text-align:right;}
@media (max-width:880px){
  .gtocb{display:inline-block; margin-left:auto;}
  .gbar .gback{margin-left:0;}
  .gwrap{display:block;}
  .gside{display:none; position:static; width:auto; max-height:none; padding:12px 16px 20px; border-right:0; border-bottom:1px solid var(--border);}
  body.toc .gside{display:block;}
  .gmain{padding:24px 16px 56px;}
}
@media (max-width:480px){
  .gbrand .gname{display:none;}
}

/* ================================================================ A PHONE'S SIZES (2026-10-22) ==
   On a phone no word is under 12px and every control is 44px to press (2026-10-22: Xyzios's phone sweep, ported). Measured
   on the real page at 390x844 on every board of a studio's owner, a cohort's leader and GSD staff, with the rail's drawer, the
   account menu and Ask Coach's tray: tests/browser/test_phone_sizes_in_chrome.py. A desk keeps its sizes. Text in an SVG is a
   chart's, laid out to its box, and is left as it is; so are the 12px labels, the floor. */
@media (max-width:880px){
  /* The words that were under 12px: the floating bar's names, a trend's figures and its band's ends, a side by side's heading's
     small line, Powered by, a board's line in Settings and a tip's heading. */
  .tb, .powered .pl, .spk-w .pv, .spk-w .pe, .sbs th small, #boardaccess td .setdesc, .tipc em, .strip .end{font-size:12px;}
  /* Fields are 44px tall, and so is what is pressed on its own: a button, a picker's tabs, the drawer's and the account menu's
     rows, Ask Coach's questions, and the close buttons, which are as wide. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), select,
  .btn, .gbtn, .pt, .nav, .navstu, .setlink, .themeopt, #acctMenu > a:not([hidden]), #acctMenu > button, #acctCtx button,
  .sugg button, #trayTools button, .tray .acts button{min-height:44px;}
  .pt{min-width:44px;}
  .x, .rail .lock .x{width:44px; height:44px;}
  /* A slider's box is 44px tall around its track, which is drawn where it was: the margins give back what the box takes. */
  input[type=range]{height:44px; margin:-6px 0 -16px;}
}
/* Settings' access grid: at 12px "Always" no longer fit a tick's column at 320 wide (38.5px of words in 38.3px), and the board's
   column has no room to give ("Commitments" needs all of it), so a tick's column pads its sides by 3px, not 4. */
@media (max-width:760px){
  #boardaccess th:not(:first-child), #boardaccess td:not(:first-child){padding-left:3px; padding-right:3px;}
}
/* What is pressed where it stands in a line or in the top bar takes the press past its edges, never under 44 by 44, and looks the
   same: a link written as words, the place's name, Ask Coach, the account and Guide, and the sign-in page's "Go to the app". It is no wider than 44 when the control is
   narrower, so nothing reaches past the screen's edge. The "i" beside a heading reaches to the right more than to the left,
   which stays short of the 10px before the heading's words, so a press on the heading still folds the section. */
@media (pointer:coarse), (max-width:880px){
  .lnk, .linkb, .ctxb, .ask, .acct, .gate a, .winwho summary, .bandwho summary{position:relative;}
  .lnk::after, .linkb::after, .ctxb::after, .ask::after, .acct::after, .gate a::after, .winwho summary::after, .bandwho summary::after{content:""; position:absolute; left:50%; top:50%;
    width:max(100%, 44px); height:max(100%, 44px); transform:translate(-50%, -50%);}
  h2 .why::after{top:-12px; right:-15px; bottom:-12px; left:-9px;}        /* from inside its 1px border: 20 + 24 = 44 */
}

/* ------------------------------------------------------------ GSD staff's boards, the design pass of 2026-10-28 ----
   Wins, Membership's year, Member Health and Path to $100K. Kept together here, apart from the owner's boards' pass. */
/* Wins by studio: each studio a block. Its name, then its firsts and the standards it cleared as small badges (a first in the gold of
   an active card, a standard in the quiet border every chip has), then each group of increases, a number to a line and the increase
   at the line's end in figures that line up. Three blocks to a row at a desk, one on a phone. */
.winsby{display:grid; grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr)); gap:3px; margin-top:16px;}
.winst{background:var(--card); padding:16px 18px 18px; min-width:0;}
.winst-h .nm{display:block; color:var(--ink); font-weight:600; overflow-wrap:anywhere;}
.winst-h .meta{display:block; font-size:var(--fs-sm); color:var(--muted);}
.winrec{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
.wbadge{font-size:var(--fs-fine); line-height:1.35; padding:3px 8px; border:1px solid var(--border); color:var(--soft);}
.wbadge.rec{color:var(--gold-ink); border-color:var(--gold-ink); background:var(--amber);}
.wingrp{margin-top:14px;}
.wingrp .k{margin-bottom:2px;}
.winln{display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:2px 0;}
.winln b,.winwho .fig{font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap;}
/* The studios a line of the count opens to: a name and its size on one line, the size at the line's end. */
.winwho li{display:flex; justify-content:space-between; align-items:baseline; gap:16px; font-size:var(--fs-sm);}
.winwho li .nm{min-width:0; overflow-wrap:anywhere;}
/* Over a run of months a studio's line says the month of its win, quietly, after its size. */
.winwho li .fig{min-width:4.5em; text-align:right;}
.winwho li .when{min-width:8.5em; color:var(--muted); white-space:nowrap;}
.winwho li .nm{flex:1 1 auto;}
/* Every win, counted, on a phone: the table scrolled sideways with the count and the biggest off the screen, so each line is a block
   of its own there, the win (and the studios it opens to) across, and under it the count and the biggest, each under what it is. */
@media (max-width:640px){
  table.wcount{min-width:0;}
  .wcount thead{display:none;}
  .wcount tbody{display:block;}
  .wcount tr{display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 18px; padding:12px 14px; border-bottom:1px solid var(--border);}
  .wcount td{display:block; padding:0; border:0; white-space:normal; text-align:left;}
  .wcount td:first-child{grid-column:1 / -1; color:var(--ink);}
  .wcount td.wc::before, .wcount td.wb::before{display:block; font-size:var(--fs-fine); color:var(--muted);}
  .wcount td.wc::before{content:"Studios";}
  .wcount td.wb::before{content:"Biggest";}
  .winwho li{flex-wrap:wrap; gap:0 12px;}
  .winwho li .when{min-width:0; flex:1 0 100%;}
}
/* Membership's year: the top and the bottom studio's revenue in the last month, a quiet line under the card's head, its figures in ink
   and nothing else in colour. */
.yearcard .tnote.reachnote{justify-content:flex-start; gap:2px 18px;}
.reachnote b{font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums;}
/* Member Health's table, calmer: its figures in the body's face at the size of the rows around them, lined up; a signal that counts
   is a small red square beside its figure, where it was a red cell, and a renewal inside 60 days a gold one; the studio's cohort is a
   quiet line under its name; and each group of columns (as a member, its own numbers, its GSD membership) opens with more room before it.
   The score keeps its scale under it, thinner. */
.hm th,.hm td{padding:10px 8px;}
.hm td{font-size:var(--fs-sm);}
.hm td.n{font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); letter-spacing:0; color:var(--ink);}
.hm td.flagc{background:transparent; color:var(--ink);}
.hm tbody tr:hover td.flagc{background:var(--surface); color:var(--ink);}
.hm td.soon{color:var(--ink);}
.hm td.flagc::before,.hm td.soon::before{content:""; display:inline-block; width:7px; height:7px; margin:0 7px 2px 0; vertical-align:middle;
  background:var(--bad);}
.hm td.soon::before{background:var(--gold-ink);}
.hm td:last-child{color:var(--soft); white-space:normal; min-width:5.5em;}
.hm td:first-child{white-space:normal; min-width:140px;}
.hm td:first-child .nm{font-weight:500;}
.hm td:first-child .meta{font-size:var(--fs-fine); color:var(--muted); margin-top:1px;}
.hm .meta .lnk{color:var(--muted); text-decoration-color:var(--border);}
.hm .meta .lnk:hover{color:var(--gold-ink);}
.hm th:nth-child(3),.hm td:nth-child(3),.hm th:nth-child(7),.hm td:nth-child(7),.hm th:nth-child(9),.hm td:nth-child(9){padding-left:20px;}
.hm .rk{font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); font-weight:600; min-width:20px;}
.hm .rkbar{width:64px; height:3px; margin:7px 0 2px auto;}
.hm .rkbar b{top:-2px; bottom:-2px;}
.hm .nudgecell .gbtn{padding:4px 10px 3px; font-size:var(--fs-sm); letter-spacing:1.5px;}
/* Its nudge, or why there is none, sits under the "No" it is about, so the column is as wide as its button and not as its sentence. */
.hm .nudgecell{display:flex; justify-content:flex-end; margin:5px 0 0;}
.hm .nudgewhy{display:block; margin-top:3px; white-space:normal;}
/* Path to $100K's counts: a name of two lines ("Under six months of history") would set its figure lower than the four beside it, so in a
   row of five each name has room for two, and the figures stand in one line. */
@media (min-width:881px){ .g5.counts > .card > .k{min-height:3.2em;} }
/* ================================================================ SHORT NAMES (2026-10-28) ==
   A line called by a short name on a board drawn for reading (the KPI Sheet, the call's KPI sheet, Goals' plan), with GSD's words
   for it in a card that comes up under the pointer, on a keyboard's focus and on a tap (app.js: term, tipShow). The name is a
   button that reads as the words around it, with a dotted line under it to say there is more to it. The card is the one a chart's
   month comes up in (.tipc), as wide as a phone allows and no wider than a short paragraph. */
.term{font:inherit; color:inherit; background:none; border:0; margin:0; padding:0; text-align:inherit; cursor:help;
  text-decoration:underline dotted var(--muted); text-decoration-thickness:1px; text-underline-offset:4px;}
.term:hover, .term.on{text-decoration-color:var(--gold-ink);}
.term:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.termtip{position:fixed; z-index:40; max-width:min(320px, calc(100vw - 32px)); padding:8px 12px 9px; background:var(--bg);
  border:1px solid var(--border); border-top:2px solid var(--gold-ink); box-shadow:0 8px 22px rgba(0,0,0,.34);
  font:500 var(--fs-fine)/1.4 'DM Sans',system-ui,sans-serif; color:var(--body); text-align:left; pointer-events:none;}
/* Where a finger does the pressing, the name takes the press past its words, 44 by 44, as a link written as words does. */
@media (pointer:coarse), (max-width:880px){
  .term{position:relative;}
  .term::after{content:""; position:absolute; left:50%; top:50%; width:max(100%, 44px); height:max(100%, 44px); transform:translate(-50%, -50%);}
}
@media print{
  .term{text-decoration:none;}
  .termtip{display:none !important;}
}
/* Goals' plan: a goal's name wraps in its column rather than running under the month beside it, at any width. Its 150px held
   "Total active members" and "Attrition (%, or less)" on one line only by running 16px and 3px past it (2026-10-28). */
table.pl td:first-child{white-space:normal; line-height:1.35;}

/* ================================================================ CALM LISTS, SETTINGS AND SHELL (2026-10-28) ==
   The calm design scan's fixes to lists, Settings and the shell, kept together here and apart from the boards' own pass: the guide's
   bar on a phone, one quiet word in place of a bordered tag on a row, quiet text buttons on a row with red kept for the "are you sure"
   step, a row's name that is underlined only under the pointer and on focus, and Ask Coach and the account menu calmer. */
/* The GSD App Guide's bar on a phone: the lockup, Contents and "Back to the app" need more room than 390px has, and Contents was drawn
   over the lockup. Under 480px the lockup gives way to its own mark (the drawing's first square, in the theme's ink), the bar keeps the
   page's 16px gutter, and the two buttons give up some of their side room and letter-spacing, so all three fit at 320. */
@media (max-width:480px){
  .gbar{padding:0 16px; gap:8px;}
  .gbar .gsdlogo{aspect-ratio:1; -webkit-mask-size:auto 100%; mask-size:auto 100%;}
  .gbar .gbtn{padding-left:10px; padding-right:10px; letter-spacing:1px;}
}
/* One quiet word on a row, where a bordered tag was: the KPI Tracker's "Sep 3", "Reminded Sep 14" and "Nudged Sep 17", Call Prep's
   "6.6 pts to standard", Commitments' "Kept" and "Open · Oct 5". It is the row's small muted words, and where it means something good or
   bad a small square of that colour stands before it, as Member Health marks a signal. The one tag a tracker row keeps is how late it is. */
.said{font-size:var(--fs-sm); color:var(--muted); white-space:nowrap;}
.row > .said{flex:none;}
.meta .said{white-space:normal;}
.said.ok::before, .said.bad::before, .said.gold::before{content:""; display:inline-block; width:7px; height:7px; margin:0 7px 2px 0;
  vertical-align:middle; background:var(--ok);}
.said.bad::before{background:var(--bad);}
.said.gold::before{background:var(--gold-ink);}
/* On a phone a tracker row is stacked as a late one already is (the FILING TRACKER rules): the studio's name with its word or its tag at the
   row's end, and the line of its cohorts under it, so an entered studio's name is no longer squeezed onto two lines beside its cohort. A
   late studio with nobody to email says so after that line, where its Nudge button would be. */
@media (max-width:560px){
  .row.entered{flex-wrap:wrap; row-gap:2px;}
  .row.entered .nm{flex:1 1 7em; min-width:0; overflow-wrap:anywhere;}
  .row.entered .grow{display:none;}
  .row.entered .meta{order:3; flex:1 0 100%;}
  .row.owes > .said{order:4;}
}
/* A row's own actions are quiet words, not bordered capitals (Settings > People drew 69 bordered buttons, 14 of them a red "Remove…"):
   Settings' People, Studios and Cohorts and seats, the Calendar's and Campaigns' kept rows and their Archived lists, Knowledge's documents,
   a playbook's Edit and Archive, and the call's parking lot and schedule. Each is the same button, listened for as before, now in the
   body's face at the row's small size, in sentence case as it is written, soft until the pointer or a keyboard's focus is on it (the
   focus keeps its ring). On a touch screen each is 44px tall to press. */
.setpeople > .setacts > .gbtn, .gbtn.setsmall, .setcohort td .gbtn, [data-kept] > .gbtn, [data-archived] > .gbtn,
.gbtn[data-act="book-edit"], .gbtn[data-act="book-archive"], .kbpage .row > .gbtn, .kbpage td.kbact .gbtn,
.pair > .gbtn, .gbtn[data-topic-back], .gbtn[data-held-out]{
  background:none; border-color:transparent; color:var(--soft); font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm);
  font-weight:500; letter-spacing:0; padding:6px 8px;}
.setpeople > .setacts > .gbtn:hover, .gbtn.setsmall:hover, .setcohort td .gbtn:hover, [data-kept] > .gbtn:hover, [data-archived] > .gbtn:hover,
.gbtn[data-act="book-edit"]:hover, .gbtn[data-act="book-archive"]:hover, .kbpage .row > .gbtn:hover, .kbpage td.kbact .gbtn:hover,
.pair > .gbtn:hover, .gbtn[data-topic-back]:hover, .gbtn[data-held-out]:hover{
  border-color:transparent; color:var(--gold-ink); text-decoration:underline; text-underline-offset:3px;}
.setpeople > .setacts, .topic .pair{gap:2px 4px;}
/* The words line up with the row's own, not with the space around them: the last of a row's actions with its chips' right edge, and on
   a phone, where the row is stacked, the first with its name; Send invitation with the email over it. */
.setpeople > .setacts{justify-content:flex-end; margin-right:-8px;}
.setcohort td .gbtn{margin-top:-6px;}                 /* level with the studio's name, as the row's words are */
.gbtn.setsmall{margin-left:-8px;}
@media (max-width:560px){ .setpeople > .setacts{justify-content:flex-start; margin-right:0; margin-left:-8px;} }
@media (pointer:coarse), (max-width:880px){
  .setpeople > .setacts > .gbtn, .gbtn.setsmall, .setcohort td .gbtn, [data-kept] > .gbtn, [data-archived] > .gbtn,
  .gbtn[data-act="book-edit"], .gbtn[data-act="book-archive"], .kbpage .row > .gbtn, .kbpage td.kbact .gbtn,
  .pair > .gbtn, .gbtn[data-topic-back], .gbtn[data-held-out]{min-height:44px;}
}
/* Red is the "are you sure" step's alone: the Yes of a question before something is taken away. Settings marks its own (`setbad`, on
   removing a role, a person, Admin or a studio, or archiving a cohort); the Calendar's, Campaigns' and Playbooks' Archive and Delete, and
   the call's taking out a topic or removing a call, are these. */
.sure > .gbtn[data-act$="-archive-yes"], .sure > .gbtn[data-act$="-delete-yes"], .gbtn[data-topic-yes], .gbtn[data-sched-yes], .gbtn[data-held-yes]{
  color:var(--bad); border-color:var(--bad-bd);}
.sure > .gbtn[data-act$="-archive-yes"]:hover, .sure > .gbtn[data-act$="-delete-yes"]:hover, .gbtn[data-topic-yes]:hover,
.gbtn[data-sched-yes]:hover, .gbtn[data-held-yes]:hover{color:var(--bad); border-color:var(--bad);}
/* A row's name that opens it is not underlined at rest: on the lists GSD staff read (Every Studio, the KPI Tracker, Reports, Cohorts)
   a page of studio and cohort names was a stack of underlines, 14 on Every Studio and 19 on the KPI Tracker. The name is underlined
   under the pointer, while the pointer is anywhere on its row, and on a keyboard's focus, which keeps its ring. A row's name is the one in
   its `.nm`, or the link a table's row opens with; a link in a sentence is neither and keeps its underline. */
.nm .lnk, .meta .lnk, td:first-child > .lnk{text-decoration-color:transparent;}
.nm .lnk:hover, .nm .lnk:focus-visible, .meta .lnk:hover, .meta .lnk:focus-visible, td:first-child > .lnk:hover, td:first-child > .lnk:focus-visible,
.row:hover > .nm .lnk, tr:hover .nm .lnk, tr:hover > td:first-child > .lnk{text-decoration-color:var(--gold-ink);}
/* Ask Coach, once something is asked: the questions not yet asked wait behind one quiet line, "More questions", where all five stood
   under the box as bordered buttons and took half the tray (coach.js offersHTML). Opened, they are the buttons they were. */
#sugg > .moreq{flex:1 1 100%; min-width:0;}
.moreq summary{cursor:pointer; color:var(--muted); font-size:var(--fs-sm); padding:4px 0;}
.moreq summary:hover, .moreq[open] summary{color:var(--ink);}
.moreq summary:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
.moreq > .sugg{margin-top:6px;}
@media (pointer:coarse), (max-width:880px){
  .moreq summary{position:relative;}
  .moreq summary::after{content:""; position:absolute; left:50%; top:50%; width:max(100%, 44px); height:max(100%, 44px); transform:translate(-50%, -50%);}
}
/* The account menu: every row has its mark. Guide had none (Help, which had none either, is folded into it: help.js). */
#guideItem::before{content:"?";}

/* ================================================================ CALM BOARDS (2026-10-28) ==
   The calm design scan's fixes for the boards (its items 4, 5, 8, 9 and 12, 2026-10-28: "go with all
   of the suggested fixes"). One block, so the batch reads as one piece and a change to another part of the page meets none of it.

   ONE EMPHASIS A TABLE (item 4). A figure is in ink. A change on the KPI Sheet keeps its colour in its arrow alone, where about eighty
   figures were red or green: the browser takes the arrow as the change's first letter, so the markup every board and Ask Coach share is
   unchanged. A side by side's cohort median is ink on a faint band, where it was a gold column. */
td > .up, td > .down{display:inline-block; color:var(--ink);}
td > .up::first-letter{color:var(--ok);}
td > .down::first-letter{color:var(--bad);}
.sbs .md{background:var(--surface);}

/* NO COLUMN OF DASHES (item 5). A side by side draws a column only for a studio that entered the tab's months, so its table can be
   narrower than the 640 every table is held to: it is as wide as its columns, and on a phone the names' column is not stretched to fill
   what the left-out columns took. */
table.sbs{min-width:0;}

/* SECTION NAMES IN A TABLE (item 9). "Revenue and profit" over its lines on My Cohort's side by side and the KPI Sheet was a dark block
   as wide as the first column, so on a phone it broke onto two or three lines and read as a fault. It is a small muted name across the
   whole row now, on no fill, with the line above it the row before's: one line, at any width. Its words stay at the left of the box as
   a wide table moves under them (app.js, `dress`, .bandname). */
.tw tr.band td, .tw.sticky tr.band td:first-child{position:static; max-width:none; white-space:nowrap; background:transparent;
  border-bottom:0; padding:18px 12px 4px; letter-spacing:2px;}
.tw tbody tr.band:hover td{background:transparent;}

/* WHERE THE MEMBERSHIP SITS (item 12). The industry's dashed tick is gone from each strip (gsd.js, strip): it had no name and read as a
   stray mark. The median's and the standard's names are a size up, where they were the smallest words on the board. */
.strip .lab{font-size:var(--fs-body); line-height:1.1;}

/* ================================================================ LATER SCAN: OVERVIEW AND FORMS (2026-10-29) ==
   The calm design scan's "after launch" items, done before it (2026-10-28: "if these can be fixed now ... do it"): an owner's
   Overview and a leader's My Cohort open on less (item 13), and Goals and Commitments are one form each where they were several
   (item 17). One block, as the calm boards' is.

   THIS MONTH IN ONE LINE (item 13). An owner's Overview opened on three cards, the commitment's with a button inside, and then Main focus,
   Biggest moves and A win, each a box: six before the first figure, and a phone's whole first screen. The three cards are one slim line
   now, side by side at a desk and one under another on a phone. Each item is the way to its board, pressed anywhere on it, with a small
   arrow to say so; one whose board is closed to the person is the same words and no arrow. Gold marks the one that needs doing and green a
   month that is in, as the cards' edges did. */
.nowline{display:flex; gap:3px;}
.nowi{flex:1 1 0; min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:0 10px; position:relative; margin:0;
  background:var(--card); border:0; padding:9px 36px 10px 18px; color:var(--body); font:inherit; font-size:var(--fs-sm); line-height:1.4;
  text-align:left; box-shadow:inset 3px 0 0 var(--border);}
.nowi .k{flex:1 0 100%; line-height:1.5;}
.nowi .v{color:var(--ink); font-weight:600; font-size:var(--fs-body); overflow-wrap:anywhere;}
.nowi .sub{margin:0; overflow-wrap:anywhere;}
.nowi > svg{position:absolute; right:12px; top:50%; width:16px; height:16px; margin-top:-8px; color:var(--muted);}
button.nowi{cursor:pointer;}
.nowi.ok{box-shadow:inset 3px 0 0 var(--ok);}
.nowi.act{background:var(--amber); box-shadow:inset 3px 0 0 var(--gold);}
button.nowi:hover{box-shadow:inset 3px 0 0 var(--border), inset 0 -2px 0 var(--border);}
button.nowi.ok:hover{box-shadow:inset 3px 0 0 var(--ok), inset 0 -2px 0 var(--border);}
button.nowi.act:hover{box-shadow:inset 3px 0 0 var(--gold), inset 0 -2px 0 var(--border);}
button.nowi:hover > svg{color:var(--gold-ink);}
button.nowi:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
@media (max-width:760px){
  .nowline{flex-direction:column;}
  .nowi{flex:none; min-height:44px;}
}
/* The main focus and Biggest moves are one box, the moves its second paragraph and a size down from the focus (boards.js, focusHTML).
   The month's win is one line of words under the box, where it was a box of its own, its words starting where the box's do. */
.bridge p.movesaid{font-size:var(--fs-body);}
.winsaid{margin:10px 0 0; padding-left:27px; font-size:var(--fs-sm); color:var(--body);}

/* My Cohort's three cells, for whoever leads it, are each the way to its board, the whole cell pressed, where each had a button inside
   that only said the rail's word again. The cell is a button now: it keeps the card's look, and the arrow is the press's mark. */
button.nowc{width:100%; border:0; margin:0; font:inherit; color:inherit; text-align:left; position:relative; padding-right:40px;}
button.nowc > svg{position:absolute; right:14px; top:50%; width:16px; height:16px; margin-top:-8px; color:var(--muted);}
.nowc.press:hover{box-shadow:inset 3px 0 0 var(--border), inset 0 -2px 0 var(--border);}
.nowc.ok.press:hover{box-shadow:inset 3px 0 0 var(--ok), inset 0 -2px 0 var(--border);}
.nowc.act.press:hover{box-shadow:inset 3px 0 0 var(--gold), inset 0 -2px 0 var(--border);}
.nowc.press:hover > svg{color:var(--gold-ink);}

/* ONE FORM A BOARD (item 17). Goals' plan, month by month, waits behind one closed line under the goals above it, as Ask Coach's "More
   questions" does (forms.js, planHTML): the line is in the body's face, with the browser's own mark that it opens, and is 44px tall to
   press on a touch screen. */
.planfold{margin-top:36px;}
.planfold > summary{cursor:pointer; width:fit-content; padding:6px 0; color:var(--soft); font-size:var(--fs-lead);}
.planfold > summary:hover, .planfold[open] > summary{color:var(--ink);}
.planfold > summary:focus-visible{outline:2px solid var(--gold-ink); outline-offset:2px;}
@media (pointer:coarse), (max-width:880px){ .planfold > summary{min-height:44px; padding:10px 0;} }
/* Commitments is one form, with its choice at the top: a number, or the studio's own words. The choice is two tabs as wide as their words
   (they are the board's tabs, .periods), and the part not picked is hidden. */
.periods.kinds{width:fit-content; max-width:100%; margin-top:14px;}

/* ================================================================ LATER SCAN: TABLES AND TABS (2026-10-29) ==
   The calm design scan's items 14 and 15, from its part for after launch (2026-10-28: "if these can be fixed now ... do it"). One
   block, as the calm boards' is, so the batch reads as one piece.

   A STUDIO'S ROW ON A PHONE (item 14). Every Studio and a member's latest entered month (boards.js, table.stu): on a desk the six
   columns; on a phone each studio is two lines, its name and then its month, revenue and members (the row's last cell, .ph, which a
   desk does not draw), with no header and nothing off the side. Every Studio is one table: a list's name over its studios is a band
   across it, as a sheet's section is, and a cohort's name there opens the cohort and is underlined only under the pointer and on a
   keyboard's focus, as a row's name is; it is spaced as the band's other names are, where a button's own spacing set it closer. A list
   with no studio says so in a row of its own (.none). */
.stu td.ph{display:none;}
.stu tr.none td{white-space:normal; color:var(--muted); font-size:var(--fs-sm);}
.tw tbody tr.none:hover td{background:transparent;}
.stu tr.band .lnk{letter-spacing:inherit; text-decoration-color:transparent;}
.stu tr.band .lnk:hover, .stu tr.band .lnk:focus-visible{text-decoration-color:var(--gold-ink);}
@media (max-width:560px){
  table.stu{min-width:0;}
  .stu thead, .stu td{display:none;}
  .stu, .stu tbody, .stu tr, .stu td:first-child, .stu td.ph{display:block;}
  .stu td:first-child{white-space:normal; border-bottom:0; padding-bottom:2px;}
  .stu td.ph{white-space:normal; text-align:left; color:var(--muted); font-size:var(--fs-sm); padding-top:0;}
  .tw .stu tr.band td{white-space:normal;}
  .stu tr.none td:first-child{padding-bottom:11px; border-bottom:1px solid var(--border);}
}

/* THE SECOND CHOICE AS A LIST (item 15). A board's main choice keeps its tabs, and its second is a native list (app.js, pickList), named
   as its tabs' group was: the period on GSD staff's Cohorts, the vital sign on Segments. A period's tabs have the same list after them
   (.onphone), which a phone shows in their place: the Side by side's six wrapped onto two rows there, and a studio's four are as wide as
   a phone. The list is as wide as its longest option, never wider than the screen, and 44px tall on a phone as every field is. */
.tselect.pick{display:block; width:auto; max-width:100%; min-width:0; margin-top:12px;}
.tselect.pick.onphone{display:none;}
@media (max-width:560px){
  .periods[aria-label="Period"]{display:none;}
  .tselect.pick.onphone{display:block;}
}

/* ================================================================ LATER SCAN: QUIETER LABELS (2026-10-29) ==
   The calm design scan's item 16, from its part for after launch (2026-10-28: "if these can be fixed now ... do it"). Almost every
   label was in the kit's spaced capitals: a card's name over its figure, a table's headings, the line over a box's words, a step's
   number and a form's field, dozens to a board, so that nothing stood out. Capitals stay for what leads the eye: a board's title and
   the line over it, a section's heading, a table's section names, the tabs, the buttons and the figures. A label is small muted words
   in the body's face now, unspaced and as it is written: in sentence case, its abbreviations (KPI, MOM, YOY) as they are.

   A table's headings are the muted grey of a card's name, a size down, where they were gold and then a lighter grey (gold is kept for
   what is pressed and for the reader's own figures), over a hairline where the rule was gold. A box's line keeps its own colour where it has
   one: green over what is entered, red over what is missing, gold over the step that is the studio's now. */
.k, thead th, .dd em, .step .no, .setlbl, .okb .l, .badb .l, .navlbl, .setgrp, .fgroup, .menuop .h, .gside h3, tr.band td,
.bridge .eyebrow, .moves .eyebrow, .winline .eyebrow, .awaiting .eyebrow{
  font-family:'DM Sans',system-ui,Arial,sans-serif; font-weight:500; font-size:var(--fs-sm); letter-spacing:0; text-transform:none;}
.k, thead th, .step .no, .bridge .eyebrow, .moves .eyebrow, .winline .eyebrow, .awaiting .eyebrow{color:var(--muted);}
thead th, .dd em, .navlbl, .setgrp, .fgroup, .menuop .h, .gside h3, tr.band td{font-size:var(--fs-fine);}
thead th{color:var(--soft);}
/* Lead to member's lines are named as a list's rows are, beside their figures: in ink in the body's face, a weight up, with what each
   works out to under it as it was. A step's verdict against the standard (AT STANDARD, BELOW) is the figure's, and keeps its capitals. */
.fsq .t{font-family:'DM Sans',system-ui,Arial,sans-serif; font-weight:600; font-size:var(--fs-body); letter-spacing:0;}
/* The Monthly Report's copy of the email (coaching.js) keeps the email's own capitals: the mail sets its heads in spaced capitals
   (app/report_mail.py), and the board shows what the owner was sent. */
.email .k, .email .moves .eyebrow, .email .bridge .eyebrow{font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:var(--fs-label);
  letter-spacing:2px; text-transform:uppercase;}
.email .moves .eyebrow, .email .bridge .eyebrow{letter-spacing:3.5px; color:var(--gold-ink);}
/* Permissions on a phone (Settings): a level's head is the phone's 12px floor, where in the body's face at 13px "Cohort leader" broke
   inside a word at 320 wide (its column is a third of what the board's name leaves). */
@media (max-width:760px){ #boardaccess th{font-size:12px;} }

/* ------------------------------------------------------------ Knowledge's card and tiles, 2026-11-01 ----
   The card says what Coach has to read. A tile says how many documents a category holds and, pressed, stands lit the way an active
   card does while the list shows that category alone. A category with no document is the same box, quieter, and takes no press. */
.kbsumrow{display:flex; flex-wrap:wrap; align-items:flex-end; gap:14px 40px; margin-top:12px;}
.kbsum .stat{margin-top:0;}
.kbstat .k{margin-top:6px;}
.kblatest{flex:1 1 240px; min-width:0;}
.kbnewest{color:var(--ink); font-size:var(--fs-lead); font-weight:600;}
.kbtiles{display:grid; grid-template-columns:repeat(auto-fit,minmax(118px,1fr)); gap:3px; margin-top:12px;}
.kbtile{display:block; min-width:0; padding:12px 14px; border:0; background:var(--card); color:var(--ink); font:inherit; text-align:left;}
.kbtile .stat{display:block; margin-top:0;}
.kbtile .k{display:block; margin-top:6px;}
button.kbtile{cursor:pointer;}
button.kbtile:hover{background:var(--amber);}
.kbtile:focus-visible{outline:2px solid var(--gold-ink); outline-offset:-2px;}
.kbtile[aria-pressed="true"]{background:var(--amber); box-shadow:inset 0 2px 0 var(--gold);}
.kbtile[aria-pressed="true"] .stat{color:var(--gold-ink);}
.kbtile.none{background:var(--surface);}
.kbtile.none .stat{color:var(--muted);}
/* ================================================================ A STUDIO'S ONE CARD (2026-11-01) ==
   The top of a studio's Overview, for GSD staff (gsd.js, h.studioCard): who it is, why it is flagged, its figures and twelve months, each
   part a line of its own inside the one card. The name is in the display face and the figures in the kit's small stat; a signal is Member
   Health's small red square, and a renewal inside 60 days its gold one. The score's scale is Member Health's bar, whose rules above are the table's alone. */
.studiocard{display:grid; gap:14px;}
.schead{display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px;}
.scname{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); letter-spacing:1px; line-height:1.15; color:var(--ink);
  min-width:0; margin-right:auto; overflow-wrap:anywhere;}
.sctier{font-size:var(--fs-sm); font-weight:600; color:var(--soft);}
.sctier.risk{color:var(--bad);} .sctier.watch{color:var(--gold-ink);}
.studiocard .rkbar{display:block; position:relative; width:64px; height:3px; background:var(--border);}
.studiocard .rkbar i{position:absolute; left:0; top:0; bottom:0; display:block; background:var(--muted);}
.studiocard .rkbar.watch i{background:var(--gold);} .studiocard .rkbar.risk i{background:var(--bad);}
.studiocard .rkbar b{position:absolute; top:-2px; bottom:-2px; width:1px; background:var(--soft);}
.scfacts,.scfigs{margin:0;}
.scfacts dd,.scfigs dd{margin:0; min-width:0; overflow-wrap:anywhere;}
.scfacts{display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px 20px;}
.scfacts dd{font-size:var(--fs-sm); color:var(--ink);}
.scfacts .soon dd::before,.scwhy li::before{content:""; display:inline-block; width:7px; height:7px; margin:0 7px 2px 0; vertical-align:middle;
  background:var(--gold-ink);}
.scwhy{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 16px; padding:10px 0; border-top:1px solid var(--border);
  border-bottom:1px solid var(--border); font-size:var(--fs-sm);}
.scwhy:last-child{padding-bottom:0; border-bottom:0;}
.scwhy ul{list-style:none; display:flex; flex-wrap:wrap; gap:2px 18px; flex:1 1 220px; min-width:0; margin:0; padding:0;}
.scwhy li{min-width:0; overflow-wrap:anywhere;}
.scwhy li::before{background:var(--bad);}
.scnums{display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:14px 28px; align-items:start;}
.scfigs{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px 16px; margin-top:8px;}
.scfigs dd{margin-top:4px;}
@media (max-width:760px){
  .scnums{grid-template-columns:minmax(0,1fr);}
  .scfigs{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Member Health after Retention on Xyzios (2026-11-01), calmer the same day: tabs with counts, one line a studio on hairlines, and the studio's card
   beside the list, from the side on a desk and from the foot on a phone. The card is one column of sections, each a full-width row of the panel: nothing
   in it is a box inside a box, and a label and its value stand side by side. */
.hmtabs{display:flex; gap:2px; border-bottom:1px solid var(--border); overflow-x:auto; scrollbar-width:none;}
.hmtab{flex:none; min-height:44px; margin-bottom:-1px; padding:6px 12px; background:none; border:0; border-bottom:2px solid transparent; color:var(--soft);
  font:inherit; font-size:var(--fs-sm); white-space:nowrap; cursor:pointer;}
.hmtab:hover{color:var(--ink);}
.hmtab[aria-pressed="true"]{color:var(--ink); border-bottom-color:var(--gold);}
.hmtab:focus-visible{outline:2px solid var(--gold); outline-offset:-2px;}
.hmn{margin-left:2px; font-weight:600;}
.hmn:not(.bad-c){color:var(--ink);}
.hmbar{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:12px 0;}
.hmbar[hidden]{display:none;}
.hmbar label{display:inline-flex; align-items:center; gap:8px; color:var(--soft);}
.hmbar .tselect{width:auto; height:40px; min-height:40px; padding-top:0; padding-bottom:0; font-size:var(--fs-sm);}
.hmfind{flex:1 1 200px; min-width:0; max-width:320px; height:40px; box-sizing:border-box; padding:0 12px; background:var(--surface); color:var(--ink);
  border:1px solid var(--border); font:inherit; font-size:var(--fs-sm);}
.hmfind::placeholder{color:var(--muted); opacity:1;}
.hm.hmc{min-width:680px;}
.hm.hmc th,.hm.hmc td{text-align:left;}
.hm.hmc th:nth-child(n),.hm.hmc td:nth-child(n){padding:12px 14px;}
.hm.hmc td:last-child{min-width:0; text-align:right;}
.hm.hmc td:first-child .meta{color:var(--soft);}
.hm.hmc tbody tr[data-studio]{cursor:pointer;}
.hm.hmc tbody tr[data-studio]:hover td{background:var(--surface);}
.hm .rkcell{max-width:380px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.rkdot{display:inline-block; width:8px; height:8px; margin:0 8px 1px 0; border-radius:50%; vertical-align:middle; background:var(--muted);}
.rkdot.risk{background:var(--bad);}
.rkdot.watch{background:var(--gold-ink);}
.rkwhy{margin-left:8px; color:var(--body);}
.rkmore{margin-left:6px; font-size:var(--fs-fine); color:var(--soft);}
.hm .lastc{white-space:nowrap; color:var(--body);}
.nocontact{color:var(--soft);}
.hm .reach{white-space:nowrap;}
.reachb,.cptool{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; background:none; color:var(--soft);
  border:1px solid transparent; border-radius:6px; cursor:pointer;}
.reachb{margin-left:4px; border-color:var(--border);}
.reachb:hover,.cptool:hover:not(:disabled){color:var(--ink); border-color:var(--soft);}
.cptool:disabled{opacity:.4; cursor:default;}
.reachb svg,.cptool svg,.cpic svg,.logic svg{display:block; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;}
.logic{display:inline-block; margin-right:8px; vertical-align:-3px; color:var(--soft);}
.hm .lognote{min-width:220px; white-space:normal; overflow-wrap:anywhere; color:var(--body);}

.cpane{--cp:24px; position:fixed; z-index:45; display:flex; flex-direction:column; box-sizing:border-box; max-width:100vw; background:var(--card); color:var(--ink);
  border:1px solid var(--border); font-size:var(--fs-sm); visibility:hidden; transition:transform .26s cubic-bezier(.32,.72,0,1),visibility 0s .26s;}
.cpane[hidden]{display:none;}
.cpane.open{visibility:visible; transition-delay:0s;}
.cpane:focus{outline:none;}
.cpane .fine{color:var(--soft);}
.cpane .k{color:var(--soft);}
.cpane-scrim,.cpane-grab{display:none;}
.cpane-top{flex:none; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 16px 10px var(--cp); border-bottom:1px solid var(--border);}
.cptools{display:inline-flex; gap:2px;}
.cpane-body{flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain;}
.cphead{display:flex; align-items:center; gap:14px; padding:20px var(--cp) 16px;}
.cpbadge{flex:none; display:grid; place-items:center; width:46px; height:46px; background:var(--surface); border:1px solid var(--border); border-radius:50%;
  font-size:var(--fs-sm); font-weight:600; letter-spacing:.5px; color:var(--ink);}
.cpname{font-family:'Bebas Neue',sans-serif; font-size:var(--fs-title); line-height:1.15; letter-spacing:1px; color:var(--ink);}
.cptier{margin-top:2px; color:var(--body);}
.cpacts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0 var(--cp) 20px;}
.cpact{display:flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 8px; background:transparent; color:var(--ink);
  border:1px solid var(--border); border-radius:6px; font:inherit; font-size:var(--fs-sm); font-weight:500; text-decoration:none; white-space:nowrap; cursor:pointer;}
.cpact:hover{background:var(--surface); border-color:var(--soft);}
.cpact.on{background:var(--surface); border-color:var(--gold);}
.cpact:focus-visible,.reachb:focus-visible,.cptool:focus-visible,.cppill:focus-visible{outline:2px solid var(--gold); outline-offset:1px;}
.cpic{display:inline-flex;}
.cplogbox{display:flex; flex-direction:column; gap:12px; margin:0 var(--cp) 20px; padding:14px 16px; background:var(--surface); border:1px solid var(--border); border-radius:6px;}
.cplogbox h3{margin:0; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); font-weight:500; letter-spacing:0; color:var(--ink);}
.cppills{display:flex; flex-wrap:wrap; gap:6px;}
.cppill{min-height:34px; padding:4px 14px; background:none; color:var(--body); border:1px solid var(--border); border-radius:999px; font:inherit; font-size:var(--fs-sm); cursor:pointer;}
.cppill:hover{color:var(--ink); border-color:var(--soft);}
.cppill.on{background:var(--gold); color:var(--on-gold); border-color:var(--gold);}
.cplogbox textarea{width:100%; min-height:72px; box-sizing:border-box; padding:8px 10px; resize:vertical; background:var(--card); color:var(--ink);
  border:1px solid var(--border); font:inherit; font-size:var(--fs-sm);}
.cplogbox textarea::placeholder{color:var(--muted); opacity:1;}
.cprow{display:flex; flex-wrap:wrap; align-items:center; gap:8px;}
.cpsay{margin:0 var(--cp) 16px; font-size:var(--fs-sm); color:var(--bad);}
.cpsec,.cpane .scfacts,.cpane .scwhy,.cpane .scnums{padding:18px var(--cp); border-top:1px solid var(--border); border-bottom:0;}
.cpsec h3{margin:0 0 10px; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); font-weight:500; letter-spacing:0; color:var(--soft);}
.cpsec > .fine{margin:0;}
/* A label and its value, side by side, for the owner and for the studio's facts. */
.cpkv{display:grid; gap:10px; margin:0;}
.cpkv > div,.cpane .scfacts > div{display:grid; grid-template-columns:96px minmax(0,1fr); gap:12px; align-items:baseline;}
.cpkv dt,.cpane .scfacts .k{margin:0; font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); letter-spacing:0; color:var(--soft);}
.cpkv dd,.cpane .scfacts dd{margin:0; min-width:0; color:var(--ink); overflow-wrap:anywhere;}
.cpkv > div.cpedit{grid-template-columns:minmax(0,1fr); gap:6px;}
.cpedit .hmfind{display:block; width:100%; max-width:none; margin-bottom:8px;}
.cpkv .tselect{width:100%; max-width:100%;}
.cplist{display:flex; flex-direction:column; gap:14px; margin:0; padding:0; list-style:none;}
.cplist li{display:grid; grid-template-columns:24px minmax(0,1fr); gap:8px;}
.cplist .cpic{margin-top:2px; color:var(--soft);}
.cpnote{margin:4px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--body);}
.cpfoot{padding:16px var(--cp) 24px; border-top:1px solid var(--border);}
/* The Overview's own card, read here as sections: why first, as Retention's card does, then the facts, then the figures. */
.cpane .studiocard{display:flex; flex-direction:column; gap:0; margin:0; padding:0; background:none; border:0; box-shadow:none;}
.cpane .scwhy{order:-1; display:block;}
.cpane .scwhy ul{display:flex; flex-direction:column; gap:6px; margin-top:10px;}
.cpane .scwhy li{color:var(--ink);}
.cpane .scfacts{grid-template-columns:minmax(0,1fr); gap:10px;}
.cpane .scnums{grid-template-columns:minmax(0,1fr); gap:20px;}
.cpane .scfigs{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 20px; margin-top:12px;}
.cpane .scfigs .k{font-family:'DM Sans',system-ui,Arial,sans-serif; font-size:var(--fs-sm); letter-spacing:0;}
@media (min-width:821px){
  .cpane{top:0; right:0; bottom:0; width:min(500px,46vw); min-width:440px; border-width:0 0 0 1px; box-shadow:-26px 0 64px -30px rgba(0,0,0,.72); transform:translateX(101%);}
  .cpane.open{transform:none;}
}
@media (max-width:820px){
  .cpane{--cp:16px; left:0; right:0; bottom:0; height:90dvh; border-width:1px 0 0; border-radius:14px 14px 0 0; box-shadow:0 -20px 60px -18px rgba(0,0,0,.8); transform:translateY(101%);}
  .cpane.open{transform:translateY(0);}
  .cpane-scrim{display:block; position:fixed; inset:0; z-index:44; background:rgba(0,0,0,.55); opacity:0; pointer-events:none; transition:opacity .26s ease;}
  .cpane-scrim.open{opacity:1; pointer-events:auto;}
  .cpane-grab{flex:none; display:flex; justify-content:center; align-items:flex-start; min-height:24px; box-sizing:border-box; padding:9px 0 3px; cursor:grab; touch-action:none;}
  .cpane-grab::before{content:""; width:40px; height:4px; background:var(--soft); border-radius:999px;}
  .cptool,.reachb{width:44px; height:44px;}
  .cpact,.cppill,.cpane .gbtn,.hmfind,.hmbar .tselect{min-height:44px;}
  .hmfind,.hmbar .tselect{height:44px;}
  .hm .rkcell{max-width:230px;}
}
