/* Cardinal Driving School dashboard demo, version 2. A light school app look (DESIGN-V2.md), not the website theme.
   Built from the Dash2 artboards: base, then the per page rules, then what the working app adds. */
@font-face{font-family:Inter;src:url(../fonts/Inter-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* === V2 BASE START: Cardinal dashboard v2. Look: the RMC school app, light theme. Rules: DESIGN-V2.md === */
:root{--side-w:clamp(272px,17rem,23rem);
--bg:#f3f4f6;--surface:#fff;--surface-2:#f9fafb;--surface-3:#f3f4f6;--border:#e5e7eb;--border-2:#d1d5db;--field-line:#8a919e;--hover:#f9fafb;
--text:#111827;--text-2:#374151;--muted:#636a76;--faint:#9ca3af;
--primary:#1c64f2;--primary-hover:#1a56db;--primary-soft:#ebf5ff;--primary-soft-2:#e1effe;--primary-text:#1a56db;--on-primary:#fff;
--nav-active-bg:#ebf5ff;--nav-active-text:#1a56db;--ink:#111827;--on-ink:#fff;
--green:#03543f;--green-bg:#def7ec;--green-solid:#0e9f6e;--yellow:#723b13;--yellow-bg:#fdf6b2;--yellow-solid:#e3a008;
--red:#9b1c1c;--red-bg:#fde8e8;--red-solid:#e02424;--purple:#5521b5;--purple-bg:#edebfe;--purple-solid:#7e3af2;
--blue:#1e429f;--blue-bg:#e1effe;--blue-solid:#3f83f8;--orange:#8a2c0d;--orange-bg:#feecdc;--orange-solid:#ff5a1f;
--pink:#99154b;--pink-bg:#fce8f3;--pink-solid:#d61f69;--gray:#374151;--gray-bg:#e5e7eb;--gray-solid:#9ca3af;
--t0:#3f83f8;--t1:#7e3af2;--t2:#c27803;--t3:#d61f69;--t4:#0e9f6e;--t5:#0694a2;--t6:#ff5a1f;
--tina:var(--t0);--tina-ev:#1a56db;--tina-bg:#e1effe;--tina-fg:#1e429f;
--will:var(--t1);--will-ev:#6c2bd9;--will-bg:#edebfe;--will-fg:#5521b5;
--kim:var(--t2);--kim-ev:#8e4b10;--kim-bg:#fdf6b2;--kim-fg:#723b13;
--maxie:var(--t4);--maxie-ev:#046c4e;--maxie-bg:#def7ec;--maxie-fg:#03543f;
--becki:var(--t5);--becki-ev:#036672;--becki-bg:#d5f5f6;--becki-fg:#05505c;
--shadow-sm:0 1px 2px rgba(16,24,40,.05);--shadow:0 1px 3px rgba(16,24,40,.08),0 1px 2px -1px rgba(16,24,40,.06);
--shadow-lg:0 20px 40px -12px rgba(16,24,40,.25),0 4px 10px rgba(16,24,40,.06);--scrim:rgba(17,24,39,.45);--chart-grid:#eef0f3;--focus:rgba(28,100,242,.35);
--font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text-2);font:400 .9375rem/1.5 var(--font);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
a{color:var(--primary-text);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
input,select,textarea{font:inherit;color:var(--text)}
h1,h2,h3,h4{color:var(--text);margin:0}
p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
img{display:block;max-width:100%;height:auto}
svg{flex:none}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.sr{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html,body{overflow-x:clip}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}.strong{color:var(--text);font-weight:600}.small{font-size:.875rem}.xs{font-size:.8125rem}
.nowrap{white-space:nowrap}.grow{flex:1;min-width:0}.name{overflow-wrap:anywhere}
.row{display:flex;align-items:center;gap:10px;min-width:0}.row.wrap{flex-wrap:wrap}.row.top{align-items:flex-start}.row.between{justify-content:space-between}
.stack{display:flex;flex-direction:column;gap:12px;min-width:0}.s4{gap:4px}.s8{gap:8px}.s16{gap:16px}.s20{gap:20px}.s24{gap:24px}
.gap4{gap:4px}.gap6{gap:6px}.gap8{gap:8px}.gap12{gap:12px}
.mt4{margin-top:4px}.mt6{margin-top:6px}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}
.divider{height:1px;background:var(--border);border:0;margin:4px 0}

/* shell: sidebar, top bar */
.side{position:fixed;inset:0 auto 0 0;width:var(--side-w);background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:30;overflow-y:auto;overscroll-behavior:contain}
.side-logo{min-height:64px;display:flex;align-items:center;gap:12px;padding:8px 16px 8px 18px;border-bottom:1px solid var(--border);flex:none;color:inherit;text-decoration:none!important}
.logo-tile{display:block;width:34px;height:34px;flex:none}
span.logo-tile{border-radius:9px;background:#fdf2f2;box-shadow:inset 0 0 0 1px #f8b4b4;display:grid;place-items:center}
span.logo-tile img{width:20px;height:auto}
.logo-tile.lg{width:56px;height:56px}span.logo-tile.lg{border-radius:15px}span.logo-tile.lg img{width:33px}
.logo-name{font:700 .9375rem/1.2 var(--font);color:var(--text);letter-spacing:-.015em}
.side-logo .grow{min-width:0}
.side-logo :is(.logo-name,.logo-sub){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.logo-sub{font-size:.8125rem;line-height:1.3;color:var(--muted);font-weight:500;margin-top:1px}
.side-nav{flex:1 0 auto;padding:14px 12px 16px;display:flex;flex-direction:column;gap:2px}
.nav-item{display:flex;align-items:center;gap:12px;min-height:36px;padding:7px 12px;line-height:1.25;border-radius:8px;color:var(--text-2);font-weight:500;font-size:.9375rem;width:100%;text-align:left;text-decoration:none!important}
.nav-item svg{color:var(--muted);flex:none}
.nav-item>span:not(.nav-badge){min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-badge{flex:none}
.nav-item:hover{background:var(--hover)}
.nav-item.on{background:var(--nav-active-bg);color:var(--nav-active-text)}
.nav-item.on svg{color:var(--nav-active-text)}
.nav-badge{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--red-solid);color:#fff;font-size:.75rem;font-weight:700;display:inline-grid;place-items:center;line-height:1}
/* the sidebar groups: a small heading over its pages (Outreach over Messages, Emails and Automatic messages) */
.nav-grp{display:flex;flex-direction:column;gap:2px;margin-top:16px}
.nav-h{padding:0 12px 6px;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.nav-sep{height:1px;background:var(--border);margin:8px 12px}
.side-foot{border-top:1px solid var(--border);padding:12px;flex:none}
.side-foot .when{display:flex;align-items:center;gap:8px;padding:4px 8px;font-size:.875rem;color:var(--muted)}
.main{margin-left:var(--side-w);min-width:0}
.topbar{position:sticky;top:0;z-index:20;height:64px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px;padding:0 24px}
.topbar .sp{flex:1}
.icon-btn{width:40px;height:40px;border-radius:10px;display:inline-grid;place-items:center;color:var(--muted);position:relative;flex:none;text-decoration:none!important}
.icon-btn:hover{background:var(--hover);color:var(--text)}
.icon-btn .dot{position:absolute;top:2px;right:1px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--red-solid);color:#fff;font-size:.6875rem;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface);line-height:1}
.search-btn{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--surface-2);min-width:280px;font-size:.9375rem}
.search-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-btn kbd{margin-left:auto;font:500 .75rem var(--font);border:1px solid var(--border);border-radius:5px;padding:2px 6px;color:var(--muted);background:var(--surface)}
.top-sel{height:40px;display:inline-flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:var(--surface);color:var(--text-2);font-weight:500;font-size:.9375rem;white-space:nowrap}
.top-sel svg{color:var(--muted)}
.me-btn{display:flex;align-items:center;gap:10px;padding:4px 6px 4px 10px;border-radius:12px;text-align:right;flex:none;color:inherit}
.me-btn:hover{background:var(--hover)}
.me-btn svg{color:var(--muted)}
.me-name{font-weight:600;color:var(--text);font-size:.875rem;line-height:1.25;white-space:nowrap}
.me-role{font-size:.8125rem;color:var(--primary-text);font-weight:600;line-height:1.25;white-space:nowrap}
.content{padding:20px 28px 48px;max-width:1480px}
.crumbs{display:flex;align-items:center;gap:6px;font-size:.875rem;color:var(--muted);margin-bottom:6px;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere}
.crumbs a{color:var(--muted)}.crumbs svg{color:var(--faint)}.crumbs [aria-current]{color:var(--text-2)}
.page-head{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.page-head h1{font:700 1.75rem/1.2 var(--font);letter-spacing:-.015em;overflow-wrap:anywhere}
.page-head .sub{color:var(--muted);font-size:.9375rem;margin-top:3px}
.page-head .acts{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.back-btn{width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;color:var(--text-2);flex:none}
.ptop,.side-scrim{display:none}
.demo-foot{display:flex;align-items:flex-start;gap:8px;font-size:.875rem;line-height:1.45;color:var(--muted);max-width:640px;margin:24px auto 0}
.demo-foot svg{margin-top:1px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:8px;font-weight:600;font-size:.9375rem;white-space:nowrap;border:1px solid transparent;text-decoration:none!important;transition:background .15s,border-color .15s,transform .1s;flex:none;line-height:1}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--primary);color:var(--on-primary)}.btn.primary:hover{background:var(--primary-hover)}
.btn.secondary{border-color:var(--border-2);color:var(--text-2);background:var(--surface)}.btn.secondary:hover{background:var(--hover)}
.btn.outline{border-color:var(--primary);color:var(--primary-text);background:var(--surface)}.btn.outline:hover{background:var(--primary-soft)}
.btn.ghost{color:var(--text-2)}.btn.ghost:hover{background:var(--hover)}
.btn.soft{background:var(--surface-3);color:var(--text-2)}
.btn.danger{background:var(--red-solid);color:#fff}
.btn.danger-outline{border-color:var(--red-solid);color:var(--red);background:var(--surface)}
.btn.green{background:#057a55;color:#fff}
.btn.ink{background:var(--ink);color:var(--on-ink)}
.btn.sm{height:34px;padding:0 12px;font-size:.875rem;border-radius:7px;gap:6px}
.btn.lg{height:48px;padding:0 22px;font-size:1rem;border-radius:10px}
.btn.block{width:100%;white-space:normal;text-align:center}
.btn.icon{width:40px;padding:0}
.link-btn{display:inline-flex;align-items:center;gap:4px;color:var(--primary-text);font-weight:600;font-size:.875rem;text-decoration:none!important}

/* cards and grids */
.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);min-width:0}
.card.pad{padding:20px}
.card-h{display:flex;align-items:center;gap:10px;padding:16px 20px 0;min-width:0}
.card-h h2,.card-h h3{font:600 1.0625rem/1.3 var(--font)}
.card-h>svg{color:var(--muted)}
.card-h .acts{margin-left:auto;display:flex;gap:8px;align-items:center}
.card-b{padding:14px 20px 20px}
.card-b.flush{padding:8px 0 0}
.card-f{border-top:1px solid var(--border);padding:12px 20px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.875rem;color:var(--muted)}
.card-f .link-btn{margin-left:auto}
.panel{background:var(--surface-2);border-radius:10px;padding:14px 16px}
.count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:6px;background:var(--surface-3);color:var(--text-2);font-size:.8125rem;font-weight:700;line-height:1}
.count.blue{background:var(--primary-soft-2);color:var(--primary-text)}.count.red{background:var(--red-solid);color:#fff}
.sect-label{font:700 .78125rem/1.2 var(--font);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.h2{font:700 1.1875rem/1.3 var(--font);color:var(--text)}.h3{font:600 1rem/1.35 var(--font);color:var(--text)}
.grid{display:grid;gap:16px;min-width:0}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g-main{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start}
.g-side{grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start}

/* stat cards */
.stat{padding:18px 20px;display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none!important}
.stat .lbl{font-size:.875rem;color:var(--muted);font-weight:500;line-height:1.35}
.stat .val{font:700 1.875rem/1.1 var(--font);color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.stat .foot{font-size:.875rem;color:var(--muted);line-height:1.4}
.stat .ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-text);margin-left:auto;flex:none}
.stat .ico.purple{background:var(--purple-bg);color:var(--purple-solid)}.stat .ico.red{background:var(--red-bg);color:var(--red-solid)}
.stat .ico.green{background:var(--green-bg);color:#057a55}.stat .ico.yellow{background:var(--yellow-bg);color:#a16207}

/* pills, tags, avatars, dots */
.pill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font-size:.8125rem;font-weight:600;white-space:nowrap;flex:none;line-height:1}
.pill .d{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.pill.green{color:var(--green);background:var(--green-bg)}.pill.yellow{color:var(--yellow);background:var(--yellow-bg)}
.pill.red{color:var(--red);background:var(--red-bg)}.pill.purple{color:var(--purple);background:var(--purple-bg)}
.pill.blue{color:var(--blue);background:var(--blue-bg)}.pill.gray{color:var(--gray);background:var(--gray-bg)}
.pill.out{border:1px solid var(--border-2);color:var(--text-2);background:var(--surface)}
.pill.tina{color:var(--tina-fg);background:var(--tina-bg)}.pill.will{color:var(--will-fg);background:var(--will-bg)}
.pill.kim{color:var(--kim-fg);background:var(--kim-bg)}.pill.maxie{color:var(--maxie-fg);background:var(--maxie-bg)}.pill.becki{color:var(--becki-fg);background:var(--becki-bg)}
.sample{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:var(--surface);border:1px solid var(--border-2);color:var(--text-2);font-size:.8125rem;font-weight:600;white-space:nowrap}
.av{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;font-weight:700;font-size:.8125rem;flex:none;letter-spacing:.01em;background:var(--gray-bg);color:var(--gray);line-height:1}
.av.xs{width:24px;height:24px;font-size:.65625rem}.av.sm{width:30px;height:30px;font-size:.75rem}.av.lg{width:56px;height:56px;font-size:1.1875rem}.av.xl{width:84px;height:84px;font-size:1.75rem}
.av.tina{background:var(--tina-bg);color:var(--tina-fg)}.av.will{background:var(--will-bg);color:var(--will-fg)}
.av.kim{background:var(--kim-bg);color:var(--kim-fg)}.av.maxie{background:var(--maxie-bg);color:var(--maxie-fg)}.av.becki{background:var(--becki-bg);color:var(--becki-fg)}
.idot{width:10px;height:10px;border-radius:3px;display:inline-block;flex:none;background:var(--gray-solid)}
.idot.tina,.li-bar.tina{background:var(--tina)}.idot.will,.li-bar.will{background:var(--will)}.idot.kim,.li-bar.kim{background:var(--kim)}.idot.maxie,.li-bar.maxie{background:var(--maxie)}.idot.becki,.li-bar.becki{background:var(--becki)}

/* lists and rows */
.list{display:flex;flex-direction:column}
.li{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--border);min-width:0;text-align:left;width:100%;color:inherit;text-decoration:none!important}
.li:first-child{border-top:0}
a.li:hover,button.li:hover{background:var(--hover)}
.li .t{color:var(--text);font-weight:600;font-size:.9375rem;line-height:1.35;overflow-wrap:anywhere}
.li .s{color:var(--muted);font-size:.875rem;line-height:1.4;margin-top:2px;overflow-wrap:anywhere}
.li .chev{color:var(--faint);flex:none;display:flex}
.li .meta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.li-m{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.li-m>.grow{flex:1 1 180px}
.li-bar{width:4px;align-self:stretch;border-radius:4px;flex:none;background:var(--gray-solid)}
.li-time{width:auto;min-width:78px;flex:none;display:flex;flex-direction:column;gap:2px}
.li-time b{font-size:.9375rem;color:var(--text);font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.li-time small{font-size:.8125rem;color:var(--muted);white-space:nowrap}
.li-now{display:flex;align-items:center;gap:8px;padding:6px 16px;color:var(--red-solid);font-size:.8125rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-top:1px solid var(--border)}
.li-now::after{content:"";flex:1;height:2px;background:var(--red-solid);border-radius:2px}
.li-now+.li{border-top:0}
.li-ico{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex:none}
.li-ico.red{background:var(--red-bg);color:var(--red-solid)}.li-ico.yellow{background:var(--yellow-bg);color:#a16207}
.li-ico.purple{background:var(--purple-bg);color:var(--purple-solid)}.li-ico.blue{background:var(--primary-soft);color:var(--primary-text)}
.li-ico.green{background:var(--green-bg);color:#057a55}
.empty{text-align:center;padding:40px 20px;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:8px}
.empty b{color:var(--text);font-size:1rem}
.kv{display:grid;grid-template-columns:fit-content(45%) minmax(0,1fr);gap:10px 16px;font-size:.9375rem}
.kv dt{color:var(--muted)}.kv dd{margin:0;color:var(--text);font-weight:600;text-align:right;min-width:0;overflow-wrap:anywhere}
.ic-line{display:flex;align-items:center;gap:10px;font-size:.9375rem;color:var(--text-2);min-width:0}
.ic-line svg{color:var(--muted)}.ic-line span{overflow-wrap:anywhere;min-width:0}

/* small number tiles and meters */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:768px){.tiles.four{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tile{border:1px solid var(--border);border-radius:12px;padding:12px 14px;min-width:0}
.tile .v{font:700 1.5rem/1.15 var(--font);color:var(--text);font-variant-numeric:tabular-nums}
.tile .l{font-size:.875rem;color:var(--muted);margin-top:2px;line-height:1.35}
.meter{display:flex;gap:2px;height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden}
.meter i{display:block;height:100%}
.meter i.tina{background:var(--tina)}.meter i.will{background:var(--will)}.meter i.kim{background:var(--kim)}.meter i.maxie{background:var(--maxie)}
.meter i.togo{opacity:.35}
.wk{display:flex;flex-direction:column;gap:16px}
.wk-row{display:flex;gap:12px;align-items:center;min-width:0}
.wk-row .hd{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:.9375rem;margin-bottom:6px}
.wk-row .hd b{color:var(--text);font-weight:600}
.wk-row .s{font-size:.875rem;color:var(--muted);margin-top:5px}

/* forms */
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field+.field{margin-top:16px}
.field>label,.lab{font-size:.875rem;font-weight:600;color:var(--text)}
.field .hint{font-size:.875rem;color:var(--muted)}
.inp,.sel,.ta{width:100%;height:44px;border:1px solid var(--field-line);border-radius:8px;background:var(--surface-2);padding:0 12px;color:var(--text);font-size:.9375rem;outline:none;min-width:0;transition:border-color .15s,box-shadow .15s}
.ta{height:auto;min-height:96px;padding:10px 12px;resize:vertical;line-height:1.5}
.inp::placeholder,.ta::placeholder{color:var(--muted)}
.inp:focus,.sel:focus,.ta:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus)}
.inp-wrap{position:relative;min-width:0}
.inp-wrap>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.inp-wrap .inp{padding-left:40px}
.check{display:flex;align-items:flex-start;gap:10px;font-size:.9375rem;color:var(--text-2)}
.check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--primary);flex:none}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.875rem}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--border)}

/* switches: segmented, filter pills, underline tabs */
.seg{display:inline-flex;border:1px solid var(--border);border-radius:9px;background:var(--surface);overflow:hidden;flex:none;max-width:100%}
.seg>button,.seg>a{height:38px;padding:0 16px;font-weight:600;font-size:.875rem;color:var(--text-2);white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;min-width:0}
.seg>*+*{border-left:1px solid var(--border)}
.seg>[aria-pressed="true"],.seg>[aria-current]{background:var(--primary);color:#fff}
.ptabs{display:flex;gap:8px;flex-wrap:wrap}
.ptabs>*{height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--border-2);background:var(--surface);font-weight:600;font-size:.875rem;color:var(--text);white-space:nowrap;display:inline-flex;align-items:center;gap:6px;text-decoration:none!important}
.ptabs>[aria-pressed="true"],.ptabs>.on{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.utabs{display:flex;gap:4px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none;margin-bottom:18px}
.utabs>*{height:44px;padding:0 12px;font-weight:500;font-size:.9375rem;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;text-decoration:none!important}
.utabs>[aria-pressed="true"],.utabs>[aria-current]{color:var(--primary-text);border-bottom-color:var(--primary)}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.toolbar .sp{flex:1}

/* tables (desktop) */
.tbl-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm);min-width:0}
.tbl-scroll{overflow-x:auto}
table.tbl{width:100%;border-collapse:collapse;font-size:.9375rem}
.tbl th{text-align:left;font:600 .78125rem/1 var(--font);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:14px 16px;background:var(--surface);border-bottom:1px solid var(--border);white-space:nowrap}
.tbl td{padding:12px 16px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text-2)}
.tbl tr:last-child td{border-bottom:0}
.tbl tbody tr:hover{background:var(--hover)}
.tbl .nm{color:var(--primary-text);font-weight:600}
.tbl .sub{font-size:.875rem;color:var(--muted)}
.tbl .r{text-align:right}
.tbl input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}
.tbl-foot{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--border);font-size:.875rem;color:var(--muted);flex-wrap:wrap}
.tbl-foot b{color:var(--text)}
.pager{margin-left:auto;display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden;max-width:100%}
.pager>*{width:38px;height:36px;display:grid;place-items:center;color:var(--muted);font-weight:600;font-size:.875rem;flex:none;text-decoration:none!important}
.pager>*+*{border-left:1px solid var(--border)}
.pager>[aria-current]{background:var(--primary-soft);color:var(--primary-text);font-weight:700}
.t-list{display:none}

/* overlays: toast, side panel or sheet, menu */
.toast{position:fixed;z-index:80;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:var(--on-ink);border-radius:12px;padding:10px 10px 10px 16px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow-lg);font-weight:500;font-size:.9375rem;width:max-content;max-width:calc(100vw - 32px)}
.toast span{min-width:0;overflow-wrap:anywhere}
.toast button{flex:none;color:#fff;font-weight:700;padding:8px 14px;min-height:44px;border-radius:8px;background:rgba(255,255,255,.16)}
.scrim{position:fixed;inset:0;background:var(--scrim);z-index:60}
.drawer{position:fixed;z-index:61;top:0;right:0;bottom:0;width:min(520px,100vw);background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column}
.ov-h{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid var(--border);flex:none}
.ov-h h2{font:700 1.1875rem/1.3 var(--font);flex:1;min-width:0;overflow-wrap:anywhere}
.ov-b{padding:18px 20px;overflow-y:auto;flex:1;min-height:0}
.ov-f{padding:14px 20px;border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end;flex:none;flex-wrap:wrap}
.ov-x{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;color:var(--muted);border:1px solid var(--border);flex:none}
.grip{width:40px;height:5px;border-radius:3px;background:var(--border-2);margin:8px auto 0;display:none}
.menu{position:absolute;z-index:70;min-width:240px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);padding:6px}
.menu>a,.menu>button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 10px;border-radius:8px;color:var(--text-2);font-size:.9375rem;font-weight:500;text-align:left;text-decoration:none!important}
.menu>a:hover,.menu>button:hover{background:var(--hover)}
.menu .mh{padding:8px 10px 4px;font-size:.78125rem;font-weight:700;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}

/* notes: info, confirm with Tina, private, suggestion */
.note{display:flex;gap:10px;padding:12px 14px;border-radius:10px;font-size:.90625rem;line-height:1.45;border:1px solid transparent}
.note svg{flex:none;margin-top:1px}
.note.info{background:var(--blue-bg);color:var(--blue)}.note.warn{background:var(--yellow-bg);color:var(--yellow)}
.note.ok{background:var(--green-bg);color:var(--green)}.note.bad{background:var(--red-bg);color:var(--red)}
.note.plain{background:var(--surface-2);color:var(--text-2);border-color:var(--border)}
.todo{background:var(--yellow-bg);color:var(--yellow);border-radius:6px;padding:1px 6px;font-size:.84375rem;font-weight:600;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.private{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:var(--surface-2);border:1px dashed var(--border-2);color:var(--text-2);font-size:.875rem}
.private svg{color:var(--muted)}
.suggest{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;background:var(--primary-soft);border:1px solid var(--primary-soft-2);flex-wrap:wrap}
.suggest .t{font-weight:600;color:var(--text)}.suggest .s{font-size:.875rem;color:var(--text-2)}

/* schedule: week grid, day strip */
.cal{overflow-x:auto}
.cal-grid{display:grid;grid-template-columns:64px repeat(7,minmax(110px,1fr));position:relative}
.cal-grid.day{grid-template-columns:64px repeat(var(--cols,1),minmax(150px,1fr))}
.cal-hd{padding:12px 10px;border-bottom:1px solid var(--border);border-left:1px solid var(--border);background:var(--surface)}
.cal-hd .dw{font-size:.75rem;font-weight:700;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}
.cal-hd .dn{font:700 1.375rem/1.1 var(--font);color:var(--text)}
.cal-hd.today{background:var(--primary-soft)}.cal-hd.today .dn,.cal-hd.today .dw{color:var(--primary-text)}
.cal-time{height:56px;font-size:.78125rem;color:var(--muted);padding:0 8px;transform:translateY(-8px);text-align:right;white-space:nowrap}
.cal-col{position:relative;border-left:1px solid var(--border);background-image:linear-gradient(var(--chart-grid) 1px,transparent 1px);background-size:100% 56px}
.cal-col.today{background-color:color-mix(in srgb,var(--primary-soft) 45%,transparent)}
.ev{position:absolute;left:4px;right:4px;border-radius:8px;padding:6px 8px;color:#fff;font-size:.8125rem;line-height:1.3;overflow:hidden;text-align:left;box-shadow:0 1px 2px rgba(0,0,0,.15);display:flex;flex-direction:column;gap:1px;text-decoration:none!important}
.ev .tm{font-weight:700}.ev .nm{font-weight:600}.ev .sm{font-size:.78125rem}
.ev.tina{background:var(--tina-ev)}.ev.will{background:var(--will-ev)}.ev.kim{background:var(--kim-ev)}.ev.maxie{background:var(--maxie-ev)}
.ev.done{box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.ev.missed{background:var(--red-bg);color:var(--red);box-shadow:inset 3px 0 0 var(--red-solid)}
.ev .st{margin-top:auto;align-self:flex-start;background:rgba(255,255,255,.94);color:#1f2937;font-size:.6875rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;border-radius:4px;padding:2px 5px}
.now-line{position:absolute;left:0;right:0;height:2px;background:var(--red-solid);z-index:4}
.now-line::before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--red-solid)}
.daystrip{display:flex;gap:6px}
.daystrip>*{flex:1 1 0;min-width:0;height:62px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid var(--border);background:var(--surface);text-decoration:none!important}
.daystrip .w{font-size:.75rem;font-weight:700;color:var(--muted);letter-spacing:.04em}
.daystrip .n{font:700 1.125rem/1 var(--font);color:var(--text)}
.daystrip .dd{width:5px;height:5px;border-radius:50%;background:var(--primary)}
.daystrip>[aria-pressed="true"],.daystrip>[aria-current]{background:var(--primary);border-color:var(--primary)}
.daystrip>[aria-pressed="true"] .w,.daystrip>[aria-pressed="true"] .n,.daystrip>[aria-current] .w,.daystrip>[aria-current] .n{color:#fff}
.daystrip>[aria-pressed="true"] .dd,.daystrip>[aria-current] .dd{background:#fff}

/* breakpoints */
@media (max-width:1023px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.g-main{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1023px){.search-btn{min-width:0;width:220px;flex:0 1 220px}.search-btn kbd{display:none}.me-txt{display:none}}
@media (max-width:743px){
.topbar{display:none}
/* the sidebar slides in from the left when the menu button is tapped (Corey, 2026-10-20) */
.side{width:min(86vw,320px);z-index:70;transform:translateX(-102%);visibility:hidden;transition:transform .26s cubic-bezier(.32,.72,0,1),visibility 0s linear .26s;box-shadow:var(--shadow-lg);padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
html.side-open .side{transform:none;visibility:visible;transition:transform .26s cubic-bezier(.32,.72,0,1)}
.side-scrim{display:block;position:fixed;inset:0;background:var(--scrim);z-index:65;opacity:0;pointer-events:none;transition:opacity .2s}
html.side-open .side-scrim{opacity:1;pointer-events:auto}
html.side-open{overflow:hidden}
.side .nav-item{min-height:44px}
.main{margin-left:0}
.ptop{display:flex;position:sticky;top:0;z-index:20;align-items:center;gap:2px;min-height:56px;padding:8px 10px 8px 12px;background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--border)}
.ptop .logo-tile{margin-right:8px}
.ptop .ttl{font:700 1.125rem/1.2 var(--font);color:var(--text);flex:1;min-width:0;overflow-wrap:anywhere}
.content{padding:16px 16px calc(env(safe-area-inset-bottom) + 32px);max-width:760px;margin:0 auto}
.crumbs{display:none}
.page-head h1{font-size:1.625rem}
.drawer{top:auto;left:0;width:100%;max-height:92vh;border-radius:18px 18px 0 0}
.grip{display:block}
.toast{bottom:calc(env(safe-area-inset-bottom) + 16px)}
}
@media (max-width:767px){
body{font-size:1rem}
.g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}
.g2.keep,.g4.keep{grid-template-columns:repeat(2,minmax(0,1fr))}
.btn{height:46px;font-size:1rem}.btn.sm{height:44px;font-size:.9375rem}.btn.icon{width:46px}
.icon-btn{width:44px;height:44px}
.inp,.sel,.ta{font-size:1rem}.inp,.sel{height:48px}
.page-head{margin-bottom:16px}
.page-head .acts{margin-left:0;width:100%}
.page-head .acts .btn{flex:1 1 auto}
.card-h{padding:14px 16px 0}.card-b{padding:12px 16px 16px}.card-f{padding:12px 16px}
.card-h .acts .link-btn{min-height:44px;margin:-12px 0;font-size:.9375rem}.card-f .link-btn{min-height:44px;margin:-12px 0 -12px auto;font-size:.9375rem}
.li{padding:14px 16px}
.li .t{font-size:1rem}.li .s{font-size:.9375rem}
.li .meta{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 8px}
.stat{padding:16px}.stat .lbl{font-size:.9375rem}.stat .val{font-size:1.625rem}
.g4.keep .stat>.row:first-child,.g2.keep .stat>.row:first-child{flex-direction:column-reverse;align-items:flex-start;gap:8px}
.g4.keep .stat .ico,.g2.keep .stat .ico{margin-left:0;width:36px;height:36px}
.seg>button,.seg>a{height:44px;padding:0 12px}
.ptabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.ptabs>*{height:44px;flex:none}
.pager>*{width:44px;height:44px}
.tbl-foot{padding:10px 12px}
.ov-h,.ov-b,.ov-f{padding-left:16px;padding-right:16px}.ov-f .btn{flex:1 1 auto}.ov-x{width:44px;height:44px}
.t-desk{display:none!important}.t-list{display:flex}
.hide-phone{display:none!important}
}
@media (min-width:768px){.only-phone{display:none!important}}
@media (min-width:744px){.only-small{display:none!important}}
@media (max-width:743px){.only-desk{display:none!important}}
@media (max-width:359px){.card-h{flex-wrap:wrap}.card-h>svg{display:none}.li-time{min-width:70px}.li-time b{font-size:.875rem}.tab{font-size:.75rem}.page-head h1{font-size:1.4375rem}.ptop .ttl{font-size:1rem}.daystrip{gap:4px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* === V2 BASE END === */

/* === PAGES: the per page rules from the Dash2 artboards (dash2src/*.src.html), with clashing names scoped === */

/* sign in */
.si{min-height:100vh;display:flex;flex-direction:column;align-items:center;gap:16px;padding:20px 16px 112px}
.si>*{width:100%;max-width:440px}
.si-top{display:flex;align-items:center;gap:10px;min-width:0}
.si-top .logo-name{flex:1;min-width:0}
.si-card{padding:28px 24px 24px}
.si-card h1{font:700 1.5rem/1.25 var(--font);letter-spacing:-.015em;margin-top:18px}
.si-card .lead{font-size:1rem;color:var(--text-2);margin-top:8px}
.si-form{margin-top:22px}
.si-form .btn{margin-top:16px}
.si-help{font-size:.9375rem;color:var(--muted);margin-top:16px}
.demo-card .card-h{padding-top:18px}
.demo-card .card-b{padding-top:12px}
.si .who{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.si .who .li{padding:14px 14px}
.si .who .li .t{font-size:1rem}
.si .who-owner{border-color:#a4cafe}
.si-foot{display:flex;flex-direction:column;align-items:center;gap:0;text-align:center;font-size:.875rem;color:var(--muted);padding-top:4px}
.si-foot a{font-weight:600;display:inline-block;padding:12px 8px}
.si-a11y{display:inline-flex;align-items:center;gap:6px;padding:12px 8px;font:inherit;font-weight:600;color:var(--primary-text);background:none;border:0;cursor:pointer}
@media (max-width:359px){.si-card{padding:22px 18px 20px}.si-card h1{font-size:1.375rem}.si .who .li{padding:12px}}

/* home */
.home-cards{margin-top:16px}
.wait-list .li-m>.grow{flex-basis:150px}
.home-cols{display:flex;flex-direction:column;gap:16px}
@media (min-width:1024px){.home-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-areas:"today needs" "today week" "wait week";align-items:start;gap:16px}.home-cols>.hc-today{grid-area:today}.home-cols>.hc-needs{grid-area:needs}.home-cols>.hc-week{grid-area:week}.home-cols>.hc-wait{grid-area:wait}}

/* instructor home */
.viewas{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 14px;border-radius:12px;background:var(--will-bg);color:var(--will-fg);font-size:.9375rem;line-height:1.4;margin-bottom:16px;flex-wrap:wrap}
.viewas.kim{background:var(--kim-bg);color:var(--kim-fg)}.viewas.maxie{background:var(--maxie-bg);color:var(--maxie-fg)}.viewas.becki{background:var(--becki-bg);color:var(--becki-fg)}
.viewas svg{flex:none}
.viewas span{flex:1 1 180px;min-width:0}
.viewas button{font-weight:700;color:inherit;text-decoration:underline;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;margin:-10px 0}
.li-day{padding:12px 16px 6px;border-top:1px solid var(--border);font:700 .78125rem/1.2 var(--font);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.li-day:first-child{border-top:0}
.li-empty{padding:12px 16px;border-top:1px solid var(--border);font-size:.9375rem;color:var(--muted)}
.li-now+.li-empty{border-top:0}
.my-list .li-m>.grow{flex-basis:170px}
.when{display:inline-flex;align-items:center;gap:6px;font-size:.875rem;color:var(--text-2);font-weight:500;white-space:nowrap}
.when svg{color:var(--muted)}
.when.soft{color:var(--muted);font-weight:400}
.wkbars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end}
.wkb{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.wkb .n{font-size:.875rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.wkb .col{width:100%;max-width:44px;height:96px;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;border-bottom:1px solid var(--border-2)}
.wkb .col i{display:block;width:100%;border-radius:4px;background:var(--c,var(--will))}
.wkb .col i.togo{background:var(--cb,var(--will-bg));box-shadow:inset 0 0 0 1.5px var(--c,var(--will))}
.wkb .col i.nm,.wk-key i.nm{background:var(--nm)}
.wkb .d{font-size:.8125rem;font-weight:600;color:var(--muted)}
.wkb.today .d{color:var(--text)}
.wk-key{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:.875rem;color:var(--text-2);margin-top:14px}
.wk-key span{display:inline-flex;align-items:center;gap:6px}
.wk-key i{width:12px;height:12px;border-radius:3px;display:inline-block}
.c-tina{--c:var(--tina);--cb:var(--tina-bg)}.c-will{--c:var(--will);--cb:var(--will-bg)}.c-kim{--c:var(--kim);--cb:var(--kim-bg)}.c-maxie{--c:var(--maxie);--cb:var(--maxie-bg)}.c-becki{--c:var(--becki);--cb:var(--becki-bg)}

/* schedule: day view and list */
.datebar{display:flex;align-items:center;gap:4px;margin-bottom:12px;min-width:0}
.datebar .dt{font:700 1.125rem/1.25 var(--font);color:var(--text);margin-left:6px;min-width:0;overflow-wrap:anywhere}
.viewbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.ptabs.wrap{flex-wrap:wrap;overflow:visible}
.ptabs .idot,.pill.insp .idot{border-radius:50%}
.ptabs .n{font-weight:500;color:var(--muted)}
.ptabs>[aria-pressed="true"] .n{color:#d1d5db}
.ptabs .count{margin-left:2px}
.ptabs>[aria-pressed="true"] .count{background:rgba(255,255,255,.2);color:#fff}
.daystrip{margin:14px 0 16px}
.daystrip .w{text-transform:uppercase}
.daystrip .dd.red{background:var(--red-solid)}
.daystrip .dd.ring{width:8px;height:8px;background:transparent;box-shadow:inset 0 0 0 2px var(--red-solid)}
.daystrip .dd.none{background:transparent}
.daystrip>[aria-pressed="true"] .dd.red{background:#fff}.daystrip>[aria-pressed="true"] .dd.ring{background:transparent;box-shadow:inset 0 0 0 2px #fff}
.daystrip>[aria-pressed="true"] .dd.none{background:transparent}
.grp{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 16px 8px;border-top:1px solid var(--border);background:var(--surface-2);font:700 .78125rem/1.2 var(--font);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.grp:first-child{border-top:0}
.grp span{font-size:.8125rem;font-weight:600;letter-spacing:0;text-transform:none}
.grp+.li{border-top:1px solid var(--border)}
.li.picked{background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}
.day-note{margin-bottom:16px}
.note button.inline{font:inherit;font-weight:700;color:inherit;text-decoration:underline;background:none;border:0;padding:0;cursor:pointer}
@media (max-width:359px){.datebar .btn{padding:0 12px}.datebar .dt{font-size:1rem}}

/* schedule: week grid */
.weekbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.weekbar .dt{font:700 1.25rem/1.25 var(--font);color:var(--text);margin:0 8px 0 6px}
.weekbar .sp{flex:1}
.filterbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.filterbar .lab{font-size:.875rem;font-weight:600;color:var(--muted)}
.wk-note{margin-bottom:14px}
.cal-card{overflow:hidden}
.cal-grid{grid-template-columns:64px repeat(7,minmax(132px,1fr))}
.cal-corner,.cal-times{position:sticky;left:0;z-index:5;background:var(--surface)}
.cal-corner{border-bottom:1px solid var(--border)}
.cal-hd{display:flex;flex-direction:column;gap:2px}
.cal-hd .ct{font-size:.8125rem;color:var(--muted);font-weight:500}
.cal-hd.today .ct{color:var(--primary-text)}
.cal-time:first-child{transform:none;padding-top:4px}
.cal-col{height:672px}
.ev.lane{padding:6px 7px}
.ev .tm{display:flex;align-items:center;gap:3px;white-space:nowrap}
.ev .nm{font-size:.84375rem;overflow-wrap:break-word}
.ev .sm{opacity:.95}
.ev:hover{filter:brightness(1.08)}
button.ev{font:inherit;cursor:pointer;border:0}
.ev.missed .st{background:var(--surface);color:var(--red)}
.cal-key{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}
.cal-key .k{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}
.cal-key .k b{font-weight:600;color:var(--text)}
.cal-key .tagk{background:var(--surface-3);color:#1f2937;border:1px solid var(--border-2);font-size:.6875rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;border-radius:4px;padding:2px 5px}
@media (max-width:767px){.cal-grid{grid-template-columns:52px repeat(7,minmax(128px,1fr))}.weekbar .dt{font-size:1.125rem}}

/* the open drive (side panel on a computer, bottom sheet on a phone) */
.ov-h .grow{min-width:0}
.ov-h .ov-sub{font-size:.9375rem;color:var(--muted);margin-top:2px}
.drawer .contact{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;min-width:0}
.drawer .contact .t{font-weight:600;color:var(--text);overflow-wrap:anywhere}
.drawer .contact .s{font-size:.9375rem;color:var(--muted)}
.private.block{display:block;padding:12px 14px}
.private.block .ph{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--text-2);margin-bottom:8px;flex-wrap:wrap}
.private.block .ph b{color:var(--text)}
.private.block .kv{font-size:.9375rem;gap:6px 16px}
.drive-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.drive-acts .btn{width:100%}
.drive-acts .wide{grid-column:1/-1}
@media (min-width:744px){.drawer .grip{display:none}}

/* sign ups */
.lead-hint{display:flex;gap:8px;align-items:flex-start;font-size:.9375rem;color:var(--muted);margin:14px 0 16px}
.lead-hint svg{margin-top:2px}
.su{padding:16px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:12px;min-width:0}
.su:first-child{border-top:0}
.su-top{display:flex;align-items:flex-start;gap:12px;min-width:0}
.su-top .t{color:var(--text);font-weight:600;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.su-top .s{color:var(--muted);font-size:.9375rem;line-height:1.4;margin-top:2px;overflow-wrap:anywhere}
.su-top .meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.su-body{display:flex;flex-direction:column;gap:8px;padding-left:48px;min-width:0}
.su-body .ic-line{align-items:flex-start}
.su-body .ic-line svg{margin-top:2px}
.su .due{color:var(--red);font-weight:700;font-size:.875rem}
.su-acts{display:flex;gap:8px;flex-wrap:wrap;padding-left:48px}
.su-acts .btn{flex:1 1 auto}
.su.open{background:var(--surface-2)}
.su:last-child{border-radius:0 0 11px 11px}
.su:first-child{border-radius:11px 11px 0 0}
.su:only-child{border-radius:11px}
.su .note{margin-left:48px}
.pick{margin-left:48px;display:flex;flex-direction:column;gap:10px;min-width:0}
.pick .suggest .grow{flex:1 1 160px}
.pick .alt{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}
.pick .alt .li{padding:10px 12px}
.pick .alt .li .t{font-size:.9375rem}.pick .alt .li .s{font-size:.875rem}
@media (max-width:384px){.su-body,.su-acts,.pick,.su .note{padding-left:0;margin-left:0}}

/* students */
.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.st-tools{margin:14px 0 16px}
.st-list .li-m>.grow{flex-basis:170px}
.st-list .meta{align-items:center}
.sort-btn{display:inline-flex;align-items:center;gap:4px;font-size:.875rem;font-weight:600;color:var(--text-2);min-height:44px}
.sort-btn svg{color:var(--muted)}
.students-card .card-h{padding-bottom:4px}
@media (max-width:767px){.card-h .acts .sort-btn{margin:-12px 0}}
@media (max-width:359px){.pager .pg-far{display:none}}
@media (min-width:768px){.st-tools{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;align-items:start}.st-tools .filters{margin-top:0}}

/* one student */
.ptop .icon-btn.back{color:var(--text);margin-right:2px}
.prof{padding:20px;display:flex;flex-direction:column;gap:14px}
.prof .who{display:flex;gap:14px;align-items:center;min-width:0}
.prof h1{font:700 1.5rem/1.2 var(--font);letter-spacing:-.015em;overflow-wrap:anywhere}
.prof .sub{font-size:.9375rem;color:var(--muted);margin-top:2px}
.prof-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}
.prof-acts.one{grid-template-columns:minmax(0,1fr)}
.prof-acts .btn{width:100%;white-space:normal;height:auto;min-height:48px;padding-top:8px;padding-bottom:8px;line-height:1.25;text-align:center}
.utabs.st-tabs{margin:20px 0 16px}
.st-cards{display:flex;flex-direction:column;gap:16px}
.next{display:flex;gap:14px;align-items:flex-start;min-width:0}
.date-tile{width:56px;flex:none;border-radius:10px;background:var(--primary-soft);border:1px solid var(--primary-soft-2);color:var(--primary-text);text-align:center;padding:6px 0 7px;display:flex;flex-direction:column;gap:1px}
.date-tile small{font-size:.78125rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.2}
.date-tile b{font:700 1.375rem/1.1 var(--font)}
.next .t{color:var(--text);font-weight:600;font-size:1rem;line-height:1.35}
.next .s{color:var(--text-2);font-size:.9375rem;line-height:1.45;margin-top:2px;overflow-wrap:anywhere}
.btn-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.btn-row .btn{width:100%}
.big{font:700 1.625rem/1.15 var(--font);color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.big small{font:500 .9375rem/1.4 var(--font);color:var(--muted);letter-spacing:0;margin-left:6px}
.steps{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:4px;margin-top:12px}
.steps i{height:8px;border-radius:4px;background:var(--surface-3);box-shadow:inset 0 0 0 1px var(--border)}
.steps i.done{background:var(--c,var(--will));box-shadow:none}
.steps i.booked{background:var(--cb,var(--will-bg));box-shadow:inset 0 0 0 1px var(--c,var(--will))}
.steps i.nm{background:var(--yellow-bg);box-shadow:inset 0 0 0 1px var(--yellow-solid)}
.steps-l{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:4px;margin-top:6px;font-size:.8125rem;color:var(--muted);line-height:1.3}
.steps-l b{display:block;color:var(--text);font-weight:600}
.kv.money dd.due{color:var(--red)}
.kv dd .pill{font-size:.8125rem}
.sec-t{font-size:.875rem;font-weight:600;color:var(--text);margin:16px 0 8px}
.st-cards .contact{display:flex;flex-direction:column;gap:10px}
.log .li{align-items:flex-start}
.log .li-time b{font-size:.9375rem}
.log .note-line{display:block;font-size:.9375rem;color:var(--text-2);line-height:1.45;margin-top:4px;overflow-wrap:anywhere}
.log .li-bar.none{background:var(--border-2)}
.private-card .private{margin-top:14px}
@media (max-width:767px){.prof{padding:16px}.btn-row .btn,.prof-acts .btn{padding:0 10px}}
@media (max-width:359px){.prof-acts,.btn-row{grid-template-columns:minmax(0,1fr)}.prof h1{font-size:1.375rem}.st-tabs>*{padding:0 7px;font-size:.875rem}}

/* payments */
.span2{grid-column:1/-1}
.pay-tools{margin:14px 0 16px}
.pay-list .li-m>.grow{flex-basis:200px}
.pay{align-items:flex-start}
.pay>.av{margin-top:2px}
.pay .meta{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 12px}
.pay .li-m>.meta{flex:0 1 auto;max-width:100%;min-width:0}   /* shrinks and wraps where the sidebar leaves a narrow column (768) */
.stat.span2>.row:first-child{flex-direction:row!important;align-items:center!important}
.stat.span2 .ico{margin-left:auto!important}
.pay .due,.due-amt{font-weight:700;color:var(--red);font-size:1rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.of{font-size:.875rem;color:var(--muted);white-space:nowrap}
.amt{font-weight:700;color:var(--text);font-size:.9375rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.pay-list .s.next{color:var(--text-2)}
.pay-list .s.wait{color:var(--red)}
.total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 16px;border-top:1px solid var(--border);font-size:.9375rem;color:var(--text-2);flex-wrap:wrap}
.total b{font:700 1.25rem/1.2 var(--font);color:var(--red);font-variant-numeric:tabular-nums}
.recent .meta{gap:6px}
@media (max-width:767px){
.pay .li-m>.meta{flex:1 1 100%;justify-content:flex-start}
.pay .meta .btn{margin-left:auto}
.recent .li-m>.meta{flex:1 1 100%;flex-direction:row;justify-content:flex-start;align-items:center}
}
@media (min-width:1024px){.pay-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pay-stats .span2{grid-column:auto}.pay-stats .stat.span2>.row:first-child .ico{margin-left:auto!important}}

/* instructors */
.ins{padding:16px;display:flex;flex-direction:column;gap:16px}
.ins-h{display:flex;align-items:flex-start;gap:14px;min-width:0}
.ins-h .h3{font-size:1.125rem;line-height:1.3}
.ins-h .role{font-size:.9375rem;color:var(--muted);margin-top:2px}
.ins-h .todo{display:inline}
.ins-wk{border:1px solid var(--border);border-radius:12px;padding:12px 14px}
.ins-wk .lab{font-size:.9375rem}
.ins-wk .wkbars{gap:8px;margin-top:10px}
.wb{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.wb .n{font-size:.875rem;font-weight:700;color:var(--text)}
.wb .blk{display:flex;flex-direction:column-reverse;gap:3px;width:100%;max-width:40px;height:54px}
.wb .blk i{display:block;height:16px;border-radius:4px;flex:none}
.wb .d{font-size:.8125rem;font-weight:600;color:var(--muted)}
.wb.today .d{color:var(--primary-text);font-weight:700}
.wb.today .blk{box-shadow:0 0 0 2px var(--surface),0 0 0 3px var(--primary-soft-2);border-radius:5px}
.blk i.tina,.sw.tina{background:var(--tina)}.blk i.will,.sw.will{background:var(--will)}.blk i.kim,.sw.kim{background:var(--kim)}.blk i.maxie,.sw.maxie{background:var(--maxie)}
.blk i.togo,.sw.togo{opacity:.35}
.blk i.nm,.sw.nm{background:var(--nm)}
.key{display:flex;gap:16px;flex-wrap:wrap;font-size:.875rem;color:var(--text-2);margin-top:10px}
.key span{display:inline-flex;align-items:center;gap:6px}
.sw{display:inline-block;width:12px;height:12px;border-radius:3px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;background:var(--surface-3);color:var(--text-2);font-size:.875rem;font-weight:600;white-space:nowrap}
.chip.all{background:var(--primary-soft-2);color:var(--primary-text)}
.login{display:flex;align-items:flex-start;gap:8px;font-size:.9375rem;color:var(--text-2)}
.login svg{color:var(--muted);margin-top:2px}
.ins-f{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:14px;margin:auto -16px 0;padding-left:16px;padding-right:16px}
.ins-f .btn{flex:1 1 auto;white-space:normal;height:auto;min-height:44px;padding-top:8px;padding-bottom:8px;line-height:1.25;text-align:center}
.ins-list{margin-top:16px}
.towns{margin-top:16px}
.tw-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tw{display:flex;flex-direction:column;gap:4px;padding:10px 16px;border-top:1px solid var(--border);min-width:0}
.tw:nth-child(-n+2){border-top:0}
.tw:nth-child(odd){border-right:1px solid var(--border)}
.tw b{font-weight:600;font-size:1rem;line-height:1.3;color:var(--text);overflow-wrap:anywhere}
.tw .who{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:.875rem;line-height:1.4;color:var(--text-2);min-width:0}
.tw .who span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.tw .idot{border-radius:50%;width:9px;height:9px}
@media (min-width:768px){.tw-list{grid-template-columns:repeat(3,minmax(0,1fr))}.tw:nth-child(-n+3){border-top:0}.tw:nth-child(odd){border-right:0}.tw:not(:nth-child(3n)){border-right:1px solid var(--border)}}
@media (min-width:768px){.ins-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}

/* results */
.res-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.res-bar .seg{flex:1 1 auto}
.res-bar .seg>*{flex:1 1 0}
.sample svg{color:var(--muted)}
.res-cards{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.vchart{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;margin-top:4px}
.vc-y{position:relative;height:160px}
.vc-y span{position:absolute;right:0;transform:translateY(50%);font-size:.78125rem;color:var(--muted);line-height:1;font-variant-numeric:tabular-nums}
.vc-plot{position:relative;height:160px;border-bottom:1px solid var(--border-2)}
.vc-plot .gl{position:absolute;left:0;right:0;height:1px;background:var(--chart-grid)}
.vc-bars{position:absolute;inset:0;display:flex;align-items:flex-end;gap:2px}
.vc-bars.wide{gap:10px}
.vc-bars i{flex:1 1 0;min-width:0;background:var(--primary);border-radius:3px 3px 0 0;opacity:.9}
.vc-bars i.today{background:var(--primary-hover);opacity:1}
.vc-x{position:relative;height:22px;margin-left:34px}
.vc-x span{position:absolute;top:6px;font-size:.78125rem;color:var(--muted);white-space:nowrap;transform:translateX(-50%);line-height:1.2}
.vc-x span.first{transform:none;left:0}
.vc-x span.last{transform:none;right:0;left:auto}
.chart-key{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:.875rem;color:var(--text-2);margin-top:12px}
.chart-key b{color:var(--text)}
.hrows{display:flex;flex-direction:column;gap:14px}
.hrow .hd{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:.9375rem;margin-bottom:6px}
.hrow .hd span{min-width:0;overflow-wrap:anywhere;color:var(--text-2)}
.hrow .hd b{color:var(--text);font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.hrow .hd small{font-size:.875rem;color:var(--muted);font-weight:500;margin-left:6px}
.hbar{height:10px;border-radius:5px;background:var(--surface-3);overflow:hidden}
.hbar i{display:block;height:100%;border-radius:5px;background:var(--primary);min-width:6px}
.hbar.purple i{background:var(--purple-solid)}.hbar.green i{background:#057a55}.hbar.gray i{background:#6b7280}
.split{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;margin-top:10px}
.split i{display:block;height:100%}
.split i.ph{background:var(--primary)}.split i.pc{background:#93c5fd}
.split-k{display:flex;justify-content:space-between;gap:10px;font-size:.875rem;color:var(--text-2);margin-top:8px;flex-wrap:wrap}
.split-k span{display:inline-flex;align-items:center;gap:6px}
.split-k i{width:10px;height:10px;border-radius:3px;display:inline-block}
.what{display:flex;flex-direction:column;gap:10px}
.what li{display:flex;gap:10px;font-size:.9375rem;line-height:1.45;color:var(--text-2)}
.what li svg{color:var(--muted);margin-top:2px}
@media (min-width:1024px){.res-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.res-cards .span2{grid-column:1/-1}}

/* more */
.me-card{display:flex;align-items:center;gap:14px;padding:16px;flex-wrap:wrap}
.me-card .grow{flex:1 1 160px;min-width:0}
.me-card .nm{font:700 1.125rem/1.3 var(--font);color:var(--text);overflow-wrap:anywhere}
.me-card .rl{font-size:.9375rem;color:var(--muted);margin-top:2px}
.me-card .btn{flex:1 1 auto}
.more-cards{display:flex;flex-direction:column;gap:16px;margin-top:16px}

/* === APP: what the working dashboard adds on top of the artboards === */
.skip{position:absolute;left:12px;top:-80px;z-index:100;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;font-weight:600;text-decoration:none!important}
.skip:focus{top:12px}
.li .t,.li .s{display:block}
button.li,button.nav-item,button.tab{font:inherit;cursor:pointer}
button.li{border-left:0;border-right:0;border-bottom:0;background:none}
button.li:first-child{border-top:0}
.li.flat{cursor:default}
.li.flat:hover{background:none}
.content{padding-bottom:120px}
.content.narrow{max-width:760px;margin:0 auto}
.content.mid{max-width:1040px;margin:0 auto}
.content.slim{max-width:720px;margin:0 auto}
.demo-foot{justify-content:center}
main:focus{outline:none}
h1:focus{outline:none}
[hidden]{display:none!important}

/* selects look like the artboard's select buttons */
.sel{appearance:none;-webkit-appearance:none;padding-right:38px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23636a76' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") no-repeat right 12px center/18px;font-weight:500;cursor:pointer;text-overflow:ellipsis}
.ta{background:var(--surface-2)}
.field-err{color:var(--red);font-size:.875rem;font-weight:600}
.inp[aria-invalid="true"]{border-color:var(--red-solid)}

.side-foot{padding-bottom:12px}
.side-foot .btn{flex:1 1 auto}
.top-sel{cursor:pointer}
.me-btn{cursor:pointer}

/* booking steps; Pick a time (DESIGN-V2.md section 13): the hours box, the rules line, one block a day with the
   hours, what is booked and the times (start in bold, end under it), a muted line for a day with no open time */
.hrs{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border);font-size:.9375rem;line-height:1.45;color:var(--text-2)}
.hrs>svg{color:var(--muted);margin-top:2px}
.hrs b{color:var(--text);font-weight:600}
.hrs .hs{font-size:.875rem;color:var(--muted);margin-top:4px;line-height:1.6}
.pk-rules{font-size:.9375rem;line-height:1.45;color:var(--text-2);margin:14px 0 18px}
.pk-day{padding:16px 0;border-top:1px solid var(--border)}
.sect-label+.pk-day,.sect-label+.pk-none{margin-top:8px}
.pk-dh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pk-dh h3{font:600 1rem/1.3 var(--font);color:var(--text)}
.pk-meta{margin-top:6px;display:flex;flex-direction:column;gap:4px;font-size:.875rem;line-height:1.4;color:var(--muted)}
.pk-meta li{display:flex;align-items:center;gap:8px;min-width:0}
.pk-meta li>span:last-child{min-width:0;overflow-wrap:anywhere}
.pk-meta svg{color:var(--muted)}
.pk-meta .bk-bar{width:4px;height:16px;border-radius:2px;flex:none;margin:0 6px;background:var(--will)}
.pk-meta .bk-bar.tina{background:var(--tina)}.pk-meta .bk-bar.kim{background:var(--kim)}.pk-meta .bk-bar.maxie{background:var(--maxie)}
.pk-meta b{color:var(--text-2);font-weight:600;font-variant-numeric:tabular-nums}
.pk-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:12px}
.btn.slot{height:auto;min-height:60px;padding:8px 6px;flex-direction:column;gap:4px;border-radius:10px;color:var(--text);width:100%}
.btn.slot b{font:700 1rem/1.2 var(--font);font-variant-numeric:tabular-nums}
.btn.slot small{font-size:.875rem;line-height:1.2;font-weight:500;color:var(--muted)}
.btn.slot:hover{border-color:var(--primary);background:var(--primary-soft)}
.pk-none{padding:12px 0;border-top:1px solid var(--border);font-size:.875rem;line-height:1.5;color:var(--muted)}
.pk-none b{color:var(--text-2);font-weight:600}
.pk-end{display:flex;gap:8px;align-items:flex-start;padding:14px 0 2px;border-top:1px solid var(--border);font-size:.875rem;line-height:1.45;color:var(--muted)}
.pk-end svg{margin-top:1px}
@media (max-width:359px){.pk-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* waiting on the Aceable certificate: the note and the action take the place of the times */
.cert-todo{margin-top:8px;font-size:.875rem;line-height:1.6}
.cert-next{font-size:.9375rem;line-height:1.45;color:var(--text-2);margin:16px 0 12px}
.cert-act .btn{width:100%}
@media (min-width:768px){.cert-act .btn{width:auto}}
.step-lab{font-size:.875rem;color:var(--muted);margin-bottom:10px}
.sheet-list{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.sheet-list .li{padding:12px 14px}

/* bell */
.bell-li .ud{width:9px;height:9px;border-radius:50%;background:var(--primary);flex:none}
.bell-li .ud.read{background:transparent}

/* menus: top bar instructor filter and the me button */
.menu{position:fixed}
.menu>[aria-checked="true"]{color:var(--primary-text);font-weight:600}
.menu>[aria-checked="true"]::after{content:"";margin-left:auto;width:8px;height:8px;border-radius:50%;background:var(--primary)}

/* sheet open: the page is locked and the accessibility button steps aside */
body.modal-open{overflow:hidden}
/* the floating accessibility button would sit on the sidebar: the top bar's button (or More, or the sign in page) opens the menu */
#ace-a11y-btn{display:none!important}
@media (min-width:744px){#ace-a11y-panel{top:72px!important;right:16px!important;bottom:auto!important;left:auto!important;max-height:calc(100vh - 96px)!important}}
body.modal-open #ace-a11y-btn,body.modal-open #ace-a11y-panel{display:none!important}
.drawer:focus{outline:none}
.toast[hidden]{display:none}
/* signing full screen: no toast over the Clear and Done bar, and no Undo under the signer's finger */
body.pad-full .toast{display:none}
/* with a panel open the toast moves out of its way: beside the side panel on a computer, above the sheet on a phone */
body.modal-open .toast{left:24px;transform:none;max-width:calc(100vw - 568px)}
.side-foot .when{white-space:normal}.side-foot .when span{min-width:0}
.side-foot .row .btn{padding:0 10px;min-width:0}

/* week: the five day grid on a wide screen; below 1280 the columns get too thin, so it is a day by day list */
.ev .st{text-transform:none;letter-spacing:0;font-size:.71875rem;max-width:100%}
.ev.l3 .st{font-size:.65625rem;padding:2px 3px}
.cal-key .tagk{text-transform:none;letter-spacing:0;font-size:.75rem}
.ev.lane:has(.st) .sm,.ev.l3 .sm{display:none}
.ev.l3{padding:6px 5px}
.ev .nm{overflow-wrap:anywhere}
.wk-phone{display:none}
.wk-li{padding:10px 16px;gap:10px}
.wk-li .li-bar{align-self:stretch}
.wk-t{width:auto;min-width:74px;flex:none;font-weight:700;font-size:.9375rem;color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}
.wk-li .t,.wk-li .s{display:block}
.wk-ok{color:var(--green);display:inline-flex;flex:none}
.wk-li .pill{flex:none}
.wk-tag{display:block;margin-top:4px}
@media (max-width:359px){.wk-t{min-width:66px;font-size:.875rem}.wk-li{padding:10px 12px;gap:8px}}
.wk-none{padding:12px 16px;border-top:1px solid var(--border);color:var(--muted);font-size:.9375rem;margin:0}
.grp.today{color:var(--primary-text);background:var(--primary-soft)}
@media (max-width:767px){.li .meta{flex:0 1 auto;max-width:100%}}
@media (max-width:1023px){
.cal-card .cal{display:none}
.wk-phone{display:block}
.cal-key .k{display:none}
}
/* a [Confirm with Tina] note that wraps keeps its yellow edge without pushing past the line */
.todo{padding-left:0;padding-right:0;box-shadow:-5px 0 0 var(--yellow-bg),5px 0 0 var(--yellow-bg)}

/* small pieces the working pages need */
.me-txt>span{display:block}
.btn:disabled,.icon-btn:disabled,.pager button:disabled{opacity:.45;cursor:default}
.btn:disabled:active{transform:none}
.filters.one{grid-template-columns:minmax(0,1fr)}
.empty svg{color:var(--muted)}
.ov-f .drive-acts{width:100%}
.ov-f .btn{flex:1 1 auto}
.sheet-list .li .meta{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sheet-list+.sect-label{margin-top:16px}
.note-form{border-top:1px solid var(--border)}
.pay .t a{color:var(--text);text-decoration:none}
.pay .t a:hover{text-decoration:underline}
button.sort-btn,button.link-btn{cursor:pointer}
.su-acts .btn[aria-expanded]{cursor:pointer}
.pk-dh h3{overflow-wrap:anywhere;min-width:0}
.kv dd .todo{text-align:left}
.drawer .kv dd{text-align:left}
@media (min-width:768px){.town-list .li{padding-left:20px;padding-right:20px}}

@media (max-width:1023px){.ins-home-cols{display:flex;flex-direction:column;gap:16px;margin-top:16px}}
@media (min-width:1024px){
.st-wrap .st-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.st-wrap .st-cards .span2{grid-column:1/-1}
.st-wrap .st-cols{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.st-wrap .st-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.ins-home-cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;align-items:start;margin-top:16px}
}
@media (max-width:743px){
.content{padding-bottom:calc(env(safe-area-inset-bottom) + 32px)}
#ace-a11y-panel{bottom:calc(env(safe-area-inset-bottom) + 16px)!important;left:12px!important;max-height:calc(100vh - 150px)!important}
.toast{left:16px;transform:none;max-width:calc(100vw - 32px)}
.drawer{max-height:88vh}
body.modal-open .toast{top:calc(env(safe-area-inset-top) + 12px);bottom:auto;left:16px;right:16px;width:auto;max-width:none}
.ptop .icon-btn{width:44px;height:44px}
}
@media (max-width:767px){
.datebar .btn{height:44px}
.weekbar .seg{width:100%}
.weekbar .seg>*{flex:1 1 0}
.viewbar .seg{width:100%}
.viewbar .seg>*{flex:1 1 0}
}
@media (max-width:359px){.ptop{padding-left:8px;padding-right:6px}.ptop .logo-tile{margin-right:4px}}

/* === fixes from the review === */
:root{--nm:#b45309}
/* L1: the accessibility menu's contrast, grayscale and invert filters go on the root element. A filter on #ace-page
   makes the fixed tab bar, the sheets and the side panel position against the page instead of the screen. */
#ace-page.ax-contrast,#ace-page.ax-grayscale,#ace-page.ax-invert{filter:none!important}
html:has(#ace-page.ax-contrast){filter:contrast(1.42) saturate(1.12)}
html:has(#ace-page.ax-grayscale){filter:grayscale(1)}
html:has(#ace-page.ax-invert){filter:invert(1) hue-rotate(180deg)}
#ace-page{background:var(--bg);min-height:100vh}
/* L4: keyboard focus never ends up under the sticky top bar or the fixed tab bar */
@media (max-width:743px){html{scroll-padding-top:72px;scroll-padding-bottom:calc(env(safe-area-inset-bottom) + 16px)}}
@media (min-width:744px){html{scroll-padding-top:80px}}
/* L6: wider text (the reading font, text spacing) wraps instead of running out of its box */
.li .meta .when{white-space:normal;min-width:0}
#ace-page.ax-dyslexic .tab span,#ace-page.ax-spacing .tab span{white-space:normal;line-height:1.1;text-align:center}
/* F8: a not marked part of a meter */
.meter i.nm{background:var(--nm)}
/* [Confirm with Tina] notes at the end of a card */
.card-todo{margin-top:12px;font-size:.875rem;line-height:1.6;color:var(--text-2)}
.card-b.flush>.card-todo{margin:0;padding:12px 16px 14px;border-top:1px solid var(--border)}
.card-todo+.card-todo{margin-top:8px}
.mb12{margin-bottom:12px}
/* L11: targets of 44px on phones */
.ptop>a[aria-label="Home"]{min-width:44px;min-height:44px;display:grid;place-items:center}
.pay .t a{display:inline-block;padding:11px 0;margin:-11px 0}
@media (max-width:767px){
.link-btn{min-height:44px;display:inline-flex;align-items:center}
.note button.inline{padding:11px 4px;margin:-11px -4px}
}
/* L8: labels Tina reads every day are 14px or more on a phone */
@media (max-width:767px){
.pill,.kv dd .pill{font-size:.875rem;min-height:28px}
.li-time small,.li-now,.grp,.sect-label,.li-day,.count{font-size:.875rem}
.todo{font-size:.9375rem}
.tab{font-size:.8125rem}
.date-tile small{font-size:.8125rem}
}
@media (max-width:359px){.tab{font-size:.75rem}}
/* L12: on a phone, search opens from the top so the keyboard does not cover it */
@media (max-width:743px){
.drawer.k-search{top:env(safe-area-inset-top);bottom:auto;max-height:100dvh;border-radius:0 0 18px 18px}
.drawer.k-search .grip{display:none}
}
/* the week board: all instructors on a computer, five day columns of drive cards */
.wbd{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}
.wbd-col{min-width:0;border-left:1px solid var(--border)}
.wbd-col:first-child{border-left:0}
.wbd-col .cal-hd{border-left:0}
.wbd-col.today{background:var(--primary-soft)}
.wbd-list{display:flex;flex-direction:column;gap:8px;padding:10px 8px 14px}
.wbd-ev{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-width:0;text-align:left;padding:8px 10px 9px 12px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--c,var(--will));border-radius:10px;color:var(--text);font:inherit;font-size:.9375rem;line-height:1.35;cursor:pointer}
.wbd-ev:hover{border-color:var(--border-2);border-left-color:var(--c,var(--will));background:var(--surface-2)}
.wbd-ev.tina{--c:var(--tina)}.wbd-ev.will{--c:var(--will)}.wbd-ev.kim{--c:var(--kim)}.wbd-ev.maxie{--c:var(--maxie)}
.wbd-ev .tm{display:flex;align-items:center;gap:4px;font-weight:700;font-variant-numeric:tabular-nums}
.wbd-ev .nm{font-weight:600;overflow-wrap:anywhere;max-width:100%}
.wbd-ev .sm{font-size:.875rem;color:var(--text-2);overflow-wrap:anywhere;max-width:100%}
.wbd-ev .pill{margin-top:4px;max-width:100%}
.wbd-list .li-now{padding:2px;border-top:0;font-size:.875rem;letter-spacing:.02em;color:#c81e1e}
.wbd-none{margin:0;padding:4px 4px;color:var(--muted);font-size:.875rem}
/* L2 follow up: with the text made bigger, or the reading font on, labels wrap inside their box instead of running out of it.
   At the normal size nothing here changes how a page looks. */
.pill{height:auto;min-height:26px;max-width:100%;white-space:normal;line-height:1.2;padding-top:3px;padding-bottom:3px;border-radius:14px;overflow-wrap:anywhere}
.av{width:2.7692em;height:2.7692em}.av.xs{width:2.2857em;height:2.2857em}.av.sm{width:2.5em;height:2.5em}
.icon-btn .av{font-size:min(.75rem,14px)}
/* bigger text, the reading font or wider spacing: pieces that sit side by side wrap or stack */
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .btn{white-space:normal;height:auto;min-height:44px;padding-top:8px;padding-bottom:8px;line-height:1.2;text-align:center}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .btn-row{grid-template-columns:minmax(0,1fr)}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .ptabs>*{white-space:normal;height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;line-height:1.2;max-width:100%}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .su-top{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .su-top .meta{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .li .meta{flex:0 1 auto;min-width:0;max-width:100%}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .wk-li{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .wk-li .grow{flex:1 1 120px}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .note>*{min-width:0;overflow-wrap:anywhere}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .stat .row{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .si-top{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .si-top .logo-name{flex:1 1 140px}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .steps-l{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .ins-h{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .alt .li{flex-wrap:wrap}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .alt .li .grow{flex:1 1 120px}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .ins-h>.grow{flex:1 1 160px}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .tiles{grid-template-columns:minmax(0,1fr)}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .wb .d,:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .wkb .d{font-size:min(.8125rem,15px)}
.note button.inline{max-width:100%}
:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .wkbars{gap:4px}
@media (max-width:479px){:is(html.ace-fs-2,html.ace-fs-3,html.ace-fs-4,html:has(#ace-page.ax-dyslexic),html:has(#ace-page.ax-spacing)) .grid.keep{grid-template-columns:minmax(0,1fr)}}

/* 2026-10-18: seven day weeks, and one tap to call the student or the parent */
.ins-wk .wkbars{gap:5px}
.daystrip{gap:4px}
.daystrip .n{font-size:1.0625rem}
.wbd-ev{padding:7px 8px 8px 10px;font-size:.875rem}
.wbd-list{padding:10px 6px 14px}
.li-call{border-top:1px solid var(--border)}
.li-call:first-child,.li-now+.li-call,.li-day+.li-call{border-top:0}
.li-call>.li{border-top:0}
.li-calls{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px 32px;margin-top:-4px}
.call-a{max-width:100%;min-width:0}
.call-a span{overflow:hidden;text-overflow:ellipsis}
.icon-a{padding:0;width:34px}
.ppl{display:flex;flex-direction:column;gap:8px}
.ppl-r{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;min-width:0}
.ppl-r .t{font-weight:600;color:var(--text);overflow-wrap:anywhere}
.ppl-r .s{font-size:.875rem;color:var(--muted)}
.fc{align-items:flex-start}
.fc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fc-note b{color:inherit}
@media (max-width:767px){.icon-a{width:44px}.li-calls{padding-left:16px}}
@media (max-width:384px){.ppl-r{flex-wrap:wrap}.ppl-r .grow{flex-basis:calc(100% - 42px)}.ppl-r .btn:not(.icon-a){flex:1 1 auto}}

/* 2026-10-18: classes (class dates families pick from) and texts and emails, on Tina's login */
.cs{display:flex;flex-direction:column;gap:12px;padding:16px 20px;border-top:1px solid var(--border);min-width:0}
.cs-list>.cs:first-child{border-top:0}
.cs-top{display:flex;align-items:flex-start;gap:12px;min-width:0}
.cs-top .grow{flex:1;min-width:0}
.cs-top .t{color:var(--text);font-weight:600;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.cs-top .s{color:var(--muted);font-size:.875rem;line-height:1.4;margin-top:2px}
.cs-top .sample{white-space:normal;height:auto;min-height:26px;padding:3px 10px}
.cs-body{display:flex;flex-direction:column;gap:10px;padding-left:52px;min-width:0}
.cs-body .ic-line{align-items:flex-start}
.cs-body .ic-line svg{margin-top:2px}
.seats{display:flex;flex-direction:column;gap:6px;max-width:360px}
.seats .meter i{background:var(--primary)}
.cs-stu{border:1px solid var(--border);border-radius:10px;overflow:hidden}
.cs-stu .li{padding:10px 12px}
.cs-acts{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding-left:52px;min-width:0}
.cs-acts .small{flex:1 1 200px;min-width:0}
.cs .note{margin-left:52px}
.cs .note a{color:inherit;font-weight:700;text-decoration:underline}
@media (max-width:479px){.cs{padding:16px}.cs-body,.cs-acts{padding-left:0}.cs .note{margin-left:0}.cs-acts .btn.primary{width:100%}}
.msg-cards{display:flex;flex-direction:column;gap:16px;margin-top:16px}
@media (min-width:1024px){.msg-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
.msg-when{display:flex;gap:8px;align-items:flex-start;font-size:.9375rem;color:var(--text-2)}
.msg-when svg{color:var(--muted);margin-top:2px}
.sms{background:var(--surface-3);border-radius:16px 16px 16px 4px;padding:12px 14px;font-size:.9375rem;line-height:1.5;color:var(--text);max-width:440px;overflow-wrap:anywhere}
.mail{border:1px solid var(--border);border-radius:10px;overflow:hidden;min-width:0}
.mail-h{padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--border);font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}
.mail-h b{color:var(--text)}
.mail-b{padding:12px 14px;font-size:.9375rem;line-height:1.5;color:var(--text);display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}
.mail-b b{font-weight:600}
.fake-link{color:var(--primary-text);text-decoration:underline;font-weight:600}
/* 2026-10-19: sign up open or closed, the minimum students to run a class, Move 2 weeks later */
.li-ico.gray{color:var(--gray);background:var(--gray-bg)}
.cs.off{background:var(--surface-2)}
.cs.off .cs-top .t,.cs.off .cs-body{opacity:.72}
.cs .note.warn{margin-left:0}

/* sidebar foot: Settings, then the signed in person (computer only; a phone has the picture at the top right) */
.side-foot{display:flex;flex-direction:column;gap:10px}
.me-card-side{display:flex;align-items:center;gap:10px;padding:10px 6px 10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);min-width:0}
.me-card-side .grow{flex:1;min-width:0}
.me-card-side .nm{font-weight:600;font-size:.9375rem;color:var(--text);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-card-side .rl{font-size:.8125rem;color:var(--primary-text);font-weight:600;line-height:1.3}
.menu-btn .dot{position:absolute;top:2px;right:1px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--red-solid);color:#fff;font-size:.6875rem;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface);line-height:1}
.content.wide{max-width:1480px}

/* Settings */
.set-jump{margin-bottom:16px}
.set-jump>a{color:var(--text)}
.set-sec{scroll-margin-top:80px}
.set-sec>.h3{font-size:1.125rem;margin-bottom:4px}
[id^="st-"]{scroll-margin-top:80px}
.set-r{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--border);min-width:0}
.set-r:first-child{border-top:0}
.set-r .lab{font-size:.875rem;color:var(--muted);font-weight:500}
.set-r .set-v{font-size:.9375rem;color:var(--text);font-weight:600;margin-top:2px;overflow-wrap:anywhere}
.checks{display:flex;flex-wrap:wrap;gap:8px}
.chk{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);font-weight:500;cursor:pointer}
.chk input{width:18px;height:18px;accent-color:var(--primary);margin:0}
.hrs-r{border:0;padding:10px 0;margin:0;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}
.hrs-r:first-child{border-top:0}
.hrs-r legend{float:left;width:100px;font-weight:600;padding:0}
.hrs-r .inp{width:auto;flex:1 1 110px;min-width:0}

/* Outreach: the list and the open conversation side by side on a computer, one at a time on a phone */
.out-seg .count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--red-solid);color:#fff;font-size:.75rem;font-weight:700;display:inline-grid;place-items:center;margin-left:6px;line-height:1}
.out-grid{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:16px;align-items:start}
.out-grid>.out-list:only-child{grid-column:1/-1;max-width:760px}
.out-list .list>.li:first-child{border-top:0}
.out-list .li.on{background:var(--primary-soft)}
.th-top{display:flex;align-items:baseline;gap:8px;min-width:0}
.th-top .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-w{font-size:.8125rem;color:var(--muted);flex:none}
.th-p{display:block;color:var(--muted);font-size:.875rem;line-height:1.4;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-dot{width:10px;height:10px;border-radius:50%;background:var(--primary);flex:none}
.out-th{display:flex;flex-direction:column;min-width:0}
.out-none{min-height:320px;justify-content:center}
.th-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);min-width:0}
.th-head .grow{flex:1;min-width:0}
.th-back{display:none!important}
.th-subj{padding:10px 16px;font-weight:600;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.bbs{display:flex;flex-direction:column;gap:8px;padding:16px;max-height:min(60vh,560px);overflow-y:auto;background:var(--surface-2)}
.bb-day{align-self:center;font-size:.8125rem;font-weight:600;color:var(--muted);padding:6px 0 2px}
.bb{max-width:min(80%,520px);display:flex;flex-direction:column;gap:3px}
.bb .bb-t{padding:10px 14px;border-radius:16px;font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}
.bb.them{align-self:flex-start}.bb.them .bb-t{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px;color:var(--text)}
.bb.us{align-self:flex-end;align-items:flex-end}.bb.us .bb-t{background:var(--primary);color:#fff;border-bottom-right-radius:4px}
.bb.mailb{max-width:100%;width:100%}.bb.mailb .bb-t{border-radius:10px}
.bb.us.mailb .bb-t{background:var(--primary-soft);color:var(--text);border:1px solid var(--primary-soft-2)}
.bb-m{font-size:.75rem;color:var(--muted);padding:0 4px}
.th-reply{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;border-top:1px solid var(--border);align-items:flex-end}
.th-reply .ta{flex:1 1 220px;min-width:0;resize:vertical}
.th-reply .field-err{flex-basis:100%}
@media (max-width:1023px){
.out-grid{grid-template-columns:minmax(0,1fr)}
.out-grid.has-th>.out-list{display:none}
.out-grid.has-th{margin-top:0}
.content:has(.out-grid.has-th)>.page-head,.content:has(.out-grid.has-th)>.out-seg,.content:has(.out-grid.has-th)>.note{display:none}
.bbs{max-height:none}
}

/* attendance on the student page; a class roster row with its Move button */
.att{display:flex;flex-direction:column}
.att-r{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:10px 0;border-top:1px solid var(--border);min-width:0}
.att-r:first-child{border-top:0}
.att-mk{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:0 0 10px;min-width:0;color:var(--muted)}.att-mk .grow{flex:1 1 200px;min-width:0}
.att-r .grow{flex:1 1 160px;min-width:0;font-weight:500}
.seg.sm>button{height:34px;padding:0 12px;font-size:.8125rem}
.cs-row{display:flex;align-items:center;border-top:1px solid var(--border);min-width:0}
.cs-row>.li{flex:1;min-width:0;border-top:0}
.cs-row>.cs-mv{margin-right:12px}
@media (max-width:767px){.seg.sm>button{height:44px}.cs-row>.cs-mv{margin-right:8px;padding:0 10px}}

/* who still owes */
.s.late{color:var(--red);font-weight:600}.s.soon{color:var(--yellow);font-weight:600}

/* sign in, welcome and reset: the Cardinal website look (website DESIGN.md: asphalt, cream paper, red, the yellow
   lane line, Archivo and Source Sans 3). Phone: a dusk street with a car on top, the form on a cream sheet.
   Computer: roads run in from the corners to a cream plate in the middle. */
.au{position:relative;min-height:100vh;min-height:100dvh;background:#1E1F22;color:#2A2725;font:400 1.0625rem/1.5 "Source Sans 3",system-ui,sans-serif;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.au-roads{display:none}
.au-scene{display:block;position:relative;width:100%;height:300px;flex:none;overflow:hidden;background:#191C23}
.au-scene img,.au-scene svg{position:absolute;inset:0;width:100%;height:100%}
.au-scene img{object-fit:cover;object-position:50% 100%}
.au-brand{position:absolute;top:16px;left:16px;display:flex;align-items:center;gap:10px;color:#FBF6EE;font:800 1rem/1.2 Archivo,system-ui,sans-serif;font-stretch:112%;z-index:2}
.au-brand .logo-tile{width:36px;height:36px}
.au-brand>span:last-child{max-width:calc(100vw - 190px)}
.au-plate{position:relative;z-index:1;margin-top:-14px;flex:1 0 auto;background:#FBF6EE;border-radius:12px 12px 0 0;outline:none}
.au-card{padding:28px 20px 8px;max-width:480px;margin:0 auto}
.au-logo{display:none}
.au h1{font:900 2rem/1.05 Archivo,system-ui,sans-serif;font-stretch:125%;letter-spacing:-.012em;color:#1E1F22;text-wrap:balance;outline:none}
.au-sub{color:#57514C;margin-top:8px;text-wrap:pretty}
.au-form{display:flex;flex-direction:column;gap:16px;margin-top:24px}
.au-f label{display:block;font:700 .8125rem/1.2 Archivo,system-ui,sans-serif;font-stretch:112%;letter-spacing:.08em;text-transform:uppercase;color:#2A2725;margin-bottom:8px}
.au-in{display:flex;align-items:center;gap:10px;height:52px;padding:0 4px 0 14px;border:2px solid #2A2725;border-radius:6px;background:#fff;color:#57514C}
.au-in:focus-within{border-color:#C8102E;box-shadow:0 0 0 3px rgba(200,16,46,.22)}
.au-in.bad{border-color:#C8102E}
.au-in input{flex:1;min-width:0;height:100%;border:0;background:none;outline:none;font:400 1.0625rem "Source Sans 3",system-ui,sans-serif;color:#1E1F22}
.au-in input::placeholder{color:#8a827a}
.au-eye{width:44px;height:44px;display:grid;place-items:center;border-radius:6px;color:#57514C}
.au-eye[aria-pressed="true"]{color:#C8102E}
.au-err{color:#C8102E;font-weight:600;font-size:.9375rem;margin-top:6px}
.au-hint{color:#57514C;font-size:.9375rem;margin-top:-8px}
.au-row{display:flex;justify-content:flex-end;margin:-8px 0 -4px}
.au-link{color:#C8102E;font:700 .9375rem/1 Archivo,system-ui,sans-serif;font-stretch:112%;min-height:44px;padding:0 2px;display:inline-flex;align-items:center}
.au-link:hover{text-decoration:underline}
.au-btn{width:100%;height:54px;border-radius:6px;background:#C8102E;color:#FBF6EE;font:800 1.0625rem/1 Archivo,system-ui,sans-serif;font-stretch:112%;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;transition:background .15s}
.au-btn:hover{background:#A50D26}
.au-btn:focus-visible,.au-google:focus-visible,.au-link:focus-visible,.au-eye:focus-visible{outline:3px solid #1E1F22;outline-offset:2px}
.au-or{display:flex;align-items:center;gap:12px;margin:20px 0;color:#57514C;font:700 .75rem/1 Archivo,system-ui,sans-serif;font-stretch:112%;letter-spacing:.1em;text-transform:uppercase}
.au-or::before,.au-or::after{content:"";flex:1;height:1px;background:#d8cdbd}
.au-google{width:100%;height:52px;border-radius:6px;border:2px solid #2A2725;background:#fff;color:#1E1F22;display:flex;align-items:center;justify-content:center;gap:10px;font:700 1rem/1 Archivo,system-ui,sans-serif;font-stretch:112%}
.au-google:hover{background:#F3EADB}
.au-foot{text-align:center;color:#57514C;font-size:.9375rem;margin-top:18px}
.au-foot .au-link{font-size:.9375rem}
.au-links{position:relative;z-index:1;background:#FBF6EE;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 6px;padding:4px 16px calc(env(safe-area-inset-bottom) + 24px);color:#57514C;font-size:.9375rem}
.au-links a,.au-links button{color:#2A2725;font-weight:600;min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:0 4px}
/* the account button, top right */
/* the car drives: the lane line slides under it and the wheels turn */
.au-lane{animation:au-lane .6s linear infinite}
.au-roads .au-lane{animation-duration:1.4s;animation-name:au-lane2}
.au-wh{transform-box:fill-box;transform-origin:center;animation:au-spin .85s linear infinite}
@keyframes au-spin{to{transform:rotate(360deg)}}
@keyframes au-lane{to{stroke-dashoffset:260}}
@keyframes au-lane2{to{stroke-dashoffset:-32}}
@media (min-width:768px){
.au{align-items:center;justify-content:center;padding:96px 24px 40px}
.au-scene{display:none}
.au-roads{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.au-brand{top:28px;left:32px}
.au-brand>span:last-child{max-width:none}
.au-plate{flex:none;margin:0;width:100%;max-width:448px;background:#2A2B2F;border:1px solid #3a3b40;border-radius:12px;padding:7px;box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
.au-card{background:#FBF6EE;border-radius:6px;padding:32px 36px 28px;max-width:none;text-align:center}
.au-logo{display:flex;justify-content:center;margin-bottom:18px}
.au h1{font-size:2rem}
.au-form{text-align:left}
.au-links{background:none;color:#C9C2B8;padding:20px 0 0}
.au-links a,.au-links button{color:#FBF6EE}
}
/* short screens (iPad sideways inside the app, under the clock bar): the sign in fits with no scroll */
@media (min-width:768px) and (max-height:820px){.au{padding:76px 24px 16px}.au-card{padding:22px 36px 18px}.au-logo{margin-bottom:10px}.au-links{padding-top:10px}}
@media (max-width:359px){.au-brand>span:last-child{max-width:calc(100vw - 130px)}.au h1{font-size:1.75rem}.au-card{padding-left:16px;padding-right:16px}}
/* one card per student (Sign ups) and per class (Classes), spaced apart; each student in a class is its own grey bubble */
.su-cards{display:flex;flex-direction:column;gap:16px}
.su-cards>.su,.su-cards>.su:first-child,.su-cards>.su:last-child{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);padding:18px 20px}
.su-cards>.su.open{background:var(--surface-2)}
/* Sign ups in two groups, each with one sentence saying what to do */
.su-grp+.su-grp{margin-top:32px}
.su-grp-h{display:flex;align-items:center;gap:10px}
.su-grp-h h2{font:700 1.1875rem/1.3 var(--font);color:var(--text);margin:0}
.su-grp-hint{color:var(--muted);font-size:.9375rem;line-height:1.45;margin:4px 0 14px}
.su-top .t .pill{vertical-align:2px;margin-left:4px}
.ic-line.owes{color:var(--red);font-weight:600}.ic-line.owes svg{color:var(--red)}
.cgrp-h{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.cgrp-h h2{font:600 1.0625rem/1.3 var(--font)}
.cgrp-h>svg{color:var(--muted)}
.cgrp-cards{display:flex;flex-direction:column;gap:16px}
.cgrp-cards>.cs{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);padding:18px 20px}
.cgrp-cards>.cs.off{background:var(--surface-2)}
.cgrp-f{margin-top:10px;font-size:.875rem;color:var(--muted)}
.cgrp-f a{color:inherit;font-weight:600;text-decoration:underline}
.cs-stu{border:0;border-radius:0;overflow:visible;display:flex;flex-direction:column;gap:8px}
.cs-stu>.cs-row{border-top:0;background:var(--surface-3);border-radius:12px}
.cs-stu>.cs-row>.li{border-radius:12px}
.cs-stu>.cs-row>.li:hover{background:var(--hover-2,#eceef1)}
@media (max-width:767px){.su-cards>.su,.su-cards>.su:first-child,.su-cards>.su:last-child,.cgrp-cards>.cs{padding:16px}}
@media (max-width:767px){.cgrp-cards .cs-body,.cgrp-cards .cs-acts{padding-left:0}.cgrp-cards .cs .note{margin-left:0}
.cs-stu>.cs-row{flex-wrap:wrap}.cs-stu>.cs-row>.li{flex:1 1 100%}.cs-stu>.cs-row>.cs-mv{margin:-8px 12px 10px auto}.cs-stu .li-m>.grow{flex-basis:140px}}
/* pop-ups: a centered card on a tablet or computer; a phone keeps the bottom sheet */
@media (min-width:768px){
.drawer{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 48px));max-height:min(86vh,860px);border-radius:16px;overflow:hidden}
.drawer.pop{animation:pop-in .16s ease-out}
.drawer .grip{display:none}
.drawer.k-search{top:max(48px,8vh);transform:translateX(-50%);border-radius:16px;max-height:min(80vh,720px)}
body.modal-open .toast{top:16px;bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px)}
}
@keyframes pop-in{from{opacity:0;margin-top:10px}to{opacity:1;margin-top:0}}
/* automatic messages: numbered cards, when and what it sends, the text, the email folded away */
.am-n{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft,var(--surface-3));color:var(--primary-text);font-weight:700;font-size:.875rem}
.am-card.off .sms{opacity:.6}
.am-facts{display:grid;gap:8px;margin:0}
.am-facts>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:start}
.am-facts dt{display:flex;align-items:center;gap:6px;font-size:.875rem;font-weight:600;color:var(--muted)}
.am-facts dd{margin:0;font-size:.9375rem;color:var(--text)}
.am-mail summary{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-weight:600;color:var(--primary-text);cursor:pointer;list-style:none}
.am-mail summary::-webkit-details-marker{display:none}
.am-mail[open] summary{margin-bottom:8px}
.am-toks ul{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.am-toks code{font:600 .875rem/1.4 ui-monospace,Menlo,monospace;background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:1px 6px}
@media (max-width:359px){.am-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}}
/* Classes: the students in a class open in a pop-up from this button, under Seats */
.cs-view{align-self:flex-start;gap:8px}
.cs-view .count{margin-left:2px}
.drawer .cs-stu .cs-row{flex-wrap:wrap}.drawer .cs-stu .cs-row>.li{flex:1 1 100%}.drawer .cs-stu .cs-row>.cs-mv{margin:-8px 12px 10px auto}
/* student overview: two stacking columns on a computer; on a phone the cards keep one column in their own order */
.st-cols{display:flex;flex-direction:column;gap:16px}
.st-col{display:contents}
/* Help: the round button at the bottom right (Tina's login) and its step by step guides */
.help-fab{position:fixed;z-index:40;right:24px;bottom:24px;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 20px 0 16px;border-radius:999px;background:var(--blue);color:#fff;font-weight:700;font-size:1rem;box-shadow:var(--shadow-lg)}
.help-fab:hover{filter:brightness(1.08)}
.help-fab:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
html.side-open .help-fab,body.modal-open .help-fab{display:none}
.help-list{display:flex;flex-direction:column;gap:8px}
.help-q{border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.help-q summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;font-weight:600;cursor:pointer;color:var(--text)}
.help-q summary::-webkit-details-marker{display:none}
.help-q summary svg{flex:none;color:var(--muted);transition:transform .15s}
.help-q[open] summary svg{transform:rotate(180deg)}
.help-q[open]{border-color:var(--blue)}
.help-steps{margin:0;padding:0 16px 4px 36px;color:var(--text);line-height:1.5}
.help-steps li{margin:0 0 8px}
.help-go{margin:0 14px 12px}
@media (max-width:743px){.help-fab{right:16px;bottom:calc(env(safe-area-inset-bottom) + 16px);padding:0 16px 0 14px}.toast{max-width:calc(100vw - 132px)}}
.content{padding-bottom:calc(env(safe-area-inset-bottom) + 96px)}

/* Sign ups (2026-10-21): search, filters, sort and three views (List, Grid, Large); a tap on a card opens the student */
.su-how{margin-top:4px}
.su-hint{color:var(--muted);font-size:.9375rem;line-height:1.45;margin:10px 0 0}
.su-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.su-tools .inp-wrap{flex:1 1 260px;min-width:0}
.su-tools .sel{flex:0 1 auto;width:auto;min-width:0;max-width:100%}
.su-views>button{gap:6px}
.su-res{font:700 1.0625rem/1.3 var(--font);color:var(--text);margin:22px 0 10px}
.su{position:relative}
.su-link{color:inherit;text-decoration:none!important}
.su-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.su-link:hover{text-decoration:underline!important}
.su-link:focus-visible{outline:none}
.su:has(.su-link:focus-visible),.su-row:has(.su-link:focus-visible){outline:2px solid var(--focus,var(--primary));outline-offset:2px}
.su-acts,.su .pick,.su .note,.su-row-acts{position:relative;z-index:1}
.su-top .chev{color:var(--faint);display:flex;align-self:center}
.su-cards>.su{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.su-cards>.su:hover{border-color:var(--border-2);box-shadow:var(--shadow)}
.su-cards.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:16px;align-items:start}
.su-cards.grid .su-body,.su-cards.grid .su-acts,.su-cards.grid .pick{padding-left:0}
.su-cards.grid .su .note{margin-left:0}
.su-acts .btn.rm{flex:0 0 auto;margin-left:auto}
.btn.rm{color:var(--red)}
.btn.rm.icon{width:34px;padding:0;justify-content:center}
.su-list .li.su-row{position:relative;flex-wrap:wrap;cursor:pointer}
.su-list .li.su-row:hover{background:var(--hover)}
.su-list .li.su-row:first-child{border-top:0}
.su-row .owes{color:var(--red);font-weight:600}
.su-row-acts{display:flex;gap:8px;flex:none;align-items:center}
.su-row-open{border-top:1px solid var(--border)}
.su-row-open>.su{border-top:0;background:var(--surface-2)}
.su-pager:empty{display:none}
.link-btn.danger{color:var(--red);margin-left:14px}
.gone-note{align-items:center;margin-bottom:16px}
.gone-note .btn{flex:none}
.rm-list{margin:0;padding-left:20px;display:grid;gap:6px;color:var(--text-2)}
@media (max-width:767px){
.su-tools .inp-wrap{flex-basis:100%}
.su-tools .sel{flex:1 1 140px}
.su-views{width:100%}.su-views>button{flex:1 1 0}
.su-row-acts{width:100%;padding-left:44px;flex-wrap:wrap}
.su-row-acts .btn:not(.icon){flex:1 1 auto}
.gone-note{flex-wrap:wrap}
}
@media (max-width:384px){.su-row-acts{padding-left:0}}
/* in the Grid view the pill goes under the name, so the class and instructor keep the card's width */
.su-cards.grid .su-top{flex-wrap:wrap}
.su-cards.grid .su-top .meta{order:3;flex-basis:100%;flex-direction:row;align-items:flex-start;padding-left:48px}
@media (max-width:384px){.su-cards.grid .su-top .meta{padding-left:0}}
/* Class progress: a class with more than 4 days puts its day labels on two rows on a phone */
@media (max-width:640px){.steps-l.many{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:8px}}
/* the student tabs stay on one row on a phone and scroll sideways; a fade at the right edge shows there is more (2026-11-24) */
@media (max-width:640px){.utabs.st-tabs{gap:0 2px}.utabs.st-tabs>*{padding:0 10px}}
@media (max-width:440px){.utabs.st-tabs>*{padding:0 7px;font-size:.875rem}}
/* payments (2026-10-21): how they are paying, status buttons, the sort */
.pay-plan .seg.pay-how{display:flex;width:100%}
.pay-plan .seg.pay-how>button{flex:1 1 0;min-width:0;padding:0 8px;height:44px}
.owe-tools{border-bottom:1px solid var(--border)}
.owe-tools .su-hint{margin:10px 0 0}
.card-h .acts .sel.sm{height:40px;font-size:.875rem;width:auto;max-width:100%}
.pay-top .sel{flex:1 1 160px}
@media (max-width:640px){.pay-top .inp-wrap{flex-basis:100%}.pay-top .sel{flex:1 1 0}}
.pill.pnote{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:26px}.pill.pnote .d{display:inline-block;vertical-align:middle;margin-right:6px}
@media (max-width:400px){.pay-plan .seg.pay-how>button{padding:0 4px;font-size:.8125rem;white-space:normal;line-height:1.15;text-align:center}}
/* the narrowest landscape iPads (1024 to 1179 wide): week board cards a little tighter so a time stays on one line */
@media (min-width:1024px) and (max-width:1179px){.wbd-list{padding:10px 5px 14px}.wbd-ev{padding:7px 6px 8px 8px;font-size:.8125rem}.wbd-ev .tm{white-space:nowrap;gap:3px}}
/* Driving progress: one tile per drive, tap to open it (Corey, 2026-10-21); five across, then a new row */
.stps{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:8px;margin-top:12px}
.stp{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:8px 8px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);text-align:left;font:inherit;color:inherit;line-height:1.25}
button.stp{cursor:pointer}
button.stp:hover{background:var(--surface-2);border-color:var(--border-2)}
button.stp:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.stp i{display:block;width:100%;height:8px;margin-bottom:6px;border-radius:4px;background:var(--surface-3);box-shadow:inset 0 0 0 1px var(--border)}
.stp i.done{background:var(--c,var(--will));box-shadow:none}
.stp i.booked{background:var(--cb,var(--will-bg));box-shadow:inset 0 0 0 1px var(--c,var(--will))}
.stp i.nm{background:var(--yellow-bg);box-shadow:inset 0 0 0 1px var(--yellow-solid)}
.stp b{font-size:.875rem;font-weight:600;color:var(--text);white-space:nowrap}
.stp .w{font-size:.8125rem;color:var(--muted);overflow-wrap:anywhere}
.stp .d{font-size:.75rem;color:var(--muted)}
.stp.off{background:transparent}
@media (max-width:640px){.stps{grid-template-columns:repeat(var(--np,3),minmax(0,1fr))}}
@media (max-width:359px){.stps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2026-10-22: on a phone, what needs doing comes before the tiles: Needs you on Tina's Home; Not marked and My
   drives on an instructor's Home. The columns let their cards line up in one list here, in this order. */
@media (max-width:743px){
.home-flow,.ih-flow{display:flex;flex-direction:column;gap:16px}
.home-flow>.home-cols,.ih-flow>.ins-home-cols,.ih-flow>.ins-home-cols>.stack{display:contents}
.home-flow>.home-cols>.hc-needs{order:-2}
.home-flow>.oh-stats{order:-1}
.ih-flow .ih-nm{order:-4}
.ih-flow .ih-drives{order:-3}
.ih-flow>.ih-stats{order:-1}
}
/* the date at the top of the Schedule opens a date picker */
.dt-go{position:relative;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.dt-go>svg{color:var(--muted);flex:none}
.dt-pick{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0;margin:0}
/* Pick a time: the days with open times as chips at the top, days in a row without one folded into one line */
.pk-chips{display:flex;gap:8px;overflow-x:auto;margin:0 0 14px;padding-bottom:4px;min-width:0;-webkit-overflow-scrolling:touch}
.pk-chip{flex:none;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:64px;min-height:44px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer}
.pk-chip b{font:700 .875rem/1.2 var(--font);white-space:nowrap}
.pk-chip small{font-size:.75rem;color:var(--muted);white-space:nowrap}
.pk-chip:hover{border-color:var(--primary);background:var(--primary-soft)}
.pk-fold{border-top:1px solid var(--border)}
.pk-fold>summary{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:12px 0;min-height:44px;font-size:.875rem;line-height:1.5;color:var(--muted);cursor:pointer;list-style:none}
.pk-fold>summary::-webkit-details-marker{display:none}
.pk-fold>summary b{color:var(--text-2);font-weight:600}
.pk-fold[open]>summary svg{transform:rotate(180deg)}
.pk-fold .pk-none{padding-left:12px}
.pk-day{scroll-margin-top:8px}
.btn.slot small.pk-after{font-size:.75rem;color:var(--yellow);font-weight:600;white-space:normal;text-align:center}
/* the phone week: past days and days off folded into one line */
.wk-past>summary{cursor:pointer;list-style:none;min-height:44px;align-items:center}
.wk-past>summary::-webkit-details-marker{display:none}
.wk-past>summary span{display:inline-flex;align-items:center;gap:4px}
.wk-past[open]>summary svg{transform:rotate(180deg)}
.wk-past+.grp,.wk-past>.grp{border-top:1px solid var(--border)}
/* a class opened from a link (Home, Needs you) lights up for a moment */
.cs.hi{animation:cs-hi 2.4s ease-out}
@keyframes cs-hi{0%,40%{box-shadow:0 0 0 3px var(--primary)}100%{box-shadow:0 0 0 3px transparent}}
/* Outreach: the student a conversation is about, with their page and Book a drive */
.th-stu{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:10px 16px;border-bottom:1px solid var(--border);background:var(--surface);min-width:0}
.th-stu .grow{flex:1 1 160px;min-width:0}
.th-stu .t{font-weight:600;color:var(--text);overflow-wrap:anywhere}
.th-stu .s{font-size:.875rem;color:var(--muted);line-height:1.4}
.th-stu-b{display:flex;flex-wrap:wrap;gap:8px}
/* classes: the teacher (class blocks are gray and striped: purple is Will's color), attendance by class day, the roster and the folded groups */
fieldset{border:0;padding:0;margin:0;min-width:0}
fieldset>legend{padding:0;font-weight:600}
.roll{display:flex;flex-direction:column;min-width:0}
.roll>legend{margin-bottom:6px}
.roll-r{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 0;border-top:1px solid var(--border);min-width:0}
.roll>legend+.roll-r{border-top:0}
.roll-n{display:flex;align-items:center;gap:10px;flex:1 1 160px;min-width:0}
.roll-n .t{font-weight:600;overflow-wrap:anywhere;min-width:0}
.roll-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border-2);border-radius:9px;overflow:hidden;flex:1 1 320px;min-width:0;max-width:100%}
.roll-seg label{position:relative;display:flex;min-width:0;cursor:pointer}
.roll-seg label+label{border-left:1px solid var(--border-2)}
.roll-seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.roll-seg span{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:4px 6px;font-size:.875rem;font-weight:600;color:var(--text-2);line-height:1.2;background:var(--surface)}
.roll-seg input:focus-visible+span{outline:2px solid var(--primary);outline-offset:-3px}
.roll-seg .here input:checked+span{background:#057a55;color:#fff}
.roll-seg .late input:checked+span,.roll-seg .left input:checked+span{background:var(--yellow-bg);color:var(--yellow);box-shadow:inset 0 -3px 0 currentColor}
.roll-seg .missed input:checked+span{background:var(--red-solid);color:#fff}
.roll-t{flex:1 1 100%;min-width:0}
.roll-t .inp{max-width:180px}
.roster{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}
.roster>li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 0;border-top:1px solid var(--border);min-width:0}
.roster>li:first-child{border-top:0}
.roster .grow{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.roster .t{display:block;font-weight:600}.roster .s{display:block;font-size:.875rem;color:var(--muted);line-height:1.4}
.roster.fin{margin-top:0}
.cls-day{align-items:flex-start}
.cls-day .fc-acts{margin-top:12px}
.li-bar.cls{background:repeating-linear-gradient(180deg,var(--text-2) 0 6px,var(--gray-solid) 6px 12px)}
.ev.cls{background:repeating-linear-gradient(135deg,var(--gray-bg) 0 10px,var(--surface-3) 10px 20px);color:var(--text);box-shadow:inset 3px 0 0 var(--text-2);z-index:0}
.ev.cls .sm{opacity:1}
.wbd-ev.cls{--c:var(--text-2);background:repeating-linear-gradient(135deg,var(--surface) 0 10px,var(--surface-2) 10px 20px)}
.cs-teach .btn{margin-left:auto;flex:none}
.cs-teach{flex-wrap:wrap}
details.cs-more{border-top:1px solid var(--border);margin-top:4px}
details.cs-more>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 0;font-weight:600;color:var(--text-2);cursor:pointer;list-style:none}
details.cs-more>summary::-webkit-details-marker{display:none}
details.cs-more>summary svg{margin-left:auto;color:var(--muted)}
details.cs-more[open]>summary svg{transform:rotate(180deg)}
details.cs-more>.cgrp-cards{padding-bottom:8px}
.att-r .s{display:block;font-size:.875rem;color:var(--muted);font-weight:400;line-height:1.4}
/* a class today: right under My drives on a phone (on a computer the page order does it) */
@media (max-width:743px){.ih-flow .ih-cls{order:-2}}
@media (max-width:440px){.roll-seg{flex-basis:100%}.roll-seg span{font-size:.8125rem;padding:4px 3px}}
/* days off and time off (2026-10-22): gray and striped like a class, nothing to tap */
.li-bar.off{background:repeating-linear-gradient(180deg,var(--gray-solid) 0 4px,var(--border-2) 4px 8px)}
.off-li .t{font-weight:600}.off-li{color:var(--text-2)}
.ev.off{background:repeating-linear-gradient(135deg,var(--surface-2) 0 8px,var(--surface-3) 8px 16px);color:var(--text-2);box-shadow:inset 3px 0 0 var(--gray-solid);z-index:0;pointer-events:none}
.ev.off .sm{opacity:1}
.wbd-ev.off{--c:var(--gray-solid);background:repeating-linear-gradient(135deg,var(--surface) 0 10px,var(--surface-2) 10px 20px);color:var(--text-2)}
.off-s{color:var(--text-2)}
/* a canceled drive in the drive log: kept, greyed */
.cx-li{opacity:.72}.cx-li .t{text-decoration:line-through;text-decoration-color:var(--muted)}
/* Record a payment: how they paid */
fieldset.pr-fs{border:0;margin:0;padding:0;min-width:0}
fieldset.pr-fs legend{font-size:.875rem;font-weight:600;color:var(--text);padding:0;margin-bottom:8px}
.pr-ways{display:flex;flex-wrap:wrap;gap:8px}
.pr-ways label{position:relative;display:inline-flex}
.pr-ways input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.pr-ways span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--text);font-weight:600}
.pr-ways input:checked+span{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-text)}
.pr-ways input:focus-visible+span{outline:2px solid var(--primary);outline-offset:2px}
/* Payment buttons on a phone: one a row, so "Send payment link" and "Promised to pay on" fit with their icons */
@media (max-width:440px){.pay-plan .btn-row{grid-template-columns:minmax(0,1fr)}}
#off-form .grid>.field+.field,#roll-form .grid>.field+.field{margin-top:0}
#off-form .grid{gap:12px;align-items:end}
/* Classes, from the class screen mockups (2026-10-23): the numbers on top, day dots, who signed up, the attendance sheet */
.cls-stats{margin-bottom:4px}
.cs-days .steps{margin-top:6px}
.cs-who{line-height:1.45;overflow-wrap:anywhere}
.r-tm{display:flex;gap:8px;align-items:center;min-width:0}.r-tm .inp{flex:1;min-width:0}.r-tm .r-now{flex:none}
.roll-n>.grow{display:flex;flex-direction:column;min-width:0}
.roll-n .s{color:var(--muted);font-size:.8125rem;line-height:1.35;overflow-wrap:anywhere}
.roll-cnt{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 4px;color:var(--text-2)}
.roll-cnt b{font-variant-numeric:tabular-nums;color:var(--text)}
.roll-cnt .missed b{color:var(--red-solid)}.roll-cnt .late b,.roll-cnt .left b{color:#a16207}
@media (max-width:640px){.cls-stats{gap:8px}.cls-stats .stat{padding:12px 14px;gap:2px}.cls-stats .stat .ico,.cls-stats .stat .foot{display:none}
.cls-stats .stat .lbl{font-size:.8125rem}.cls-stats .stat .val{font-size:1.375rem}}
.cls-stats .stat .ico{display:none}

/* Facebook posts (2026-11-01): each post as Facebook shows it, picture on top, then the words and the buttons */
.out-seg.four>a{padding:0 12px}
@media (max-width:480px){.out-seg.four{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.out-seg.four>*+*{border-left:0}.out-seg.four>:nth-child(even){border-left:1px solid var(--border)}.out-seg.four>:nth-child(n+3){border-top:1px solid var(--border)}}
.post-card{padding:0;overflow:hidden;max-width:560px}
.post-card.is-wait{border-color:var(--yellow-solid,#d9a400);box-shadow:0 0 0 1px var(--yellow-solid,#d9a400)}
.post-img{display:block;width:100%;height:auto;aspect-ratio:1.91/1;object-fit:cover;background:var(--surface-2,#eef1f5)}
.post-b{padding:16px;display:grid;gap:10px;min-width:0}
.post-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.post-top .h3{margin:0}
.post-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.post-acts{display:flex;flex-wrap:wrap;gap:8px}
.post-acts .btn{flex:0 1 auto}
.post-card.is-wait .post-acts .btn{flex:1 1 140px}
.post-auto{max-width:560px}
.post-auto p{margin:8px 20px 12px}
.post-auto .post-acts{margin:0 20px 20px}
@media (max-width:767px){.post-auto p{margin:8px 16px 12px}.post-auto .post-acts{margin:0 16px 16px}}
/* Randy, former instructor (left October 2026): his past drives keep a plain grey */
:root{--randy:#6b7280;--randy-ev:#4b5563;--randy-bg:#f3f4f6;--randy-fg:#374151}
.pill.randy{color:var(--randy-fg);background:var(--randy-bg)}.av.randy{background:var(--randy-bg);color:var(--randy-fg)}
.idot.randy,.li-bar.randy,.meter i.randy,.blk i.randy,.sw.randy,.pk-meta .bk-bar.randy{background:var(--randy)}
.ev.randy{background:var(--randy-ev)}.c-randy{--c:var(--randy);--cb:var(--randy-bg)}.wbd-ev.randy{--c:var(--randy)}
/* Reports (2026-11-02): range buttons, the instructor picker, downloads, and plain tables inside cards */
.rep-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}
.rep-seg{flex-wrap:wrap;max-width:100%}.rep-ins{width:auto;min-width:0;max-width:100%}
.rep-dl .btn{flex:0 1 auto}
.rep-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}
@media (min-width:1100px){.rep-cards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rep-cards>section:first-child,.rep-cards>.rep-wide{grid-column:1/-1}}
.rtab-w{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.rtab{width:100%;border-collapse:collapse;font-size:.875rem;font-variant-numeric:tabular-nums}
.rtab th{font-weight:600;color:var(--muted,#6b7280);text-align:left;padding:8px 8px;border-bottom:1px solid var(--border);white-space:nowrap;font-size:.8125rem}
.rtab td{padding:9px 8px;border-bottom:1px solid var(--border);vertical-align:top}
.rtab .r{text-align:right;white-space:nowrap}.rtab tfoot td{font-weight:700;border-bottom:0}
.rtab td .av{vertical-align:middle;margin-right:4px}
@media (max-width:520px){.rtab{font-size:.8125rem}.rtab th,.rtab td{padding:7px 5px}}
/* Pick a time: drive length chips and Pick any time */
.pk-len{align-items:center;margin-top:14px}.pk-len .pk-chip{min-width:84px;justify-content:center}.pk-chip.on{border-color:var(--primary,#1c64f2);box-shadow:inset 0 0 0 1px var(--primary,#1c64f2);background:var(--tina-bg)}
.pk-any{border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:var(--surface)}
.pk-any summary{cursor:pointer;display:flex;gap:6px;align-items:center;list-style:none;min-height:32px}.pk-any summary::-webkit-details-marker{display:none}
.pk-any .any-d{flex:1 1 150px;min-width:0;width:auto}.pk-any .any-t{flex:1 1 120px;min-width:0;width:auto}
.any-l{margin:6px 0 0 18px;padding:0}.any-l li{margin:2px 0}
.rtab td:first-child{min-width:8.5em}
/* the state drive log and signatures (2026-11-05) */
.sig-pad{position:relative;border:1px solid var(--field-line);border-radius:12px;background:var(--surface);height:170px;touch-action:none}
.sig-pad.err{border-color:var(--red-solid);box-shadow:0 0 0 1px var(--red-solid)}
.sig-pad canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:crosshair;border-radius:12px;z-index:1}
.sig-line{position:absolute;left:16px;right:16px;bottom:38px;border-bottom:1px solid var(--border-2);pointer-events:none}
.sig-x{position:absolute;left:16px;bottom:42px;color:var(--faint);font-weight:700;pointer-events:none}
.sig-clear{position:absolute;right:8px;top:6px;z-index:2;min-height:32px;padding:0 6px}
.sig-img.ini-img{max-width:min(120px,100%);max-height:48px;margin-top:6px}
.sig-big{position:absolute;left:8px;top:6px;z-index:2;min-height:32px;padding:0 6px;display:inline-flex;align-items:center;gap:6px}
.sig-top{display:none}
/* full screen: the whole phone is the box; the sheet loses its centring so the box can cover the screen */
.drawer.sig-full{top:0;left:0;right:0;bottom:0;transform:none;width:100%;max-height:none;border-radius:0;animation:none}
.sig-pad.full{position:fixed;inset:0;z-index:80;height:auto;border:0;border-radius:0;background:#fff}
.sig-pad.full canvas{top:calc(64px + env(safe-area-inset-top));left:env(safe-area-inset-left);right:env(safe-area-inset-right);bottom:auto;width:calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right));height:calc(100% - 64px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:0}
.sig-pad.full .sig-top{display:flex;align-items:center;gap:10px;position:absolute;left:0;right:0;top:0;z-index:2;height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left));border-bottom:1px solid var(--border);background:var(--surface)}
.sig-pad.full .sig-t{flex:1;min-width:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sig-pad.full .sig-clear,.sig-pad.full .sig-big{display:none}
.sig-pad.full .sig-line{left:calc(32px + env(safe-area-inset-left));right:calc(32px + env(safe-area-inset-right));bottom:calc(25% + env(safe-area-inset-bottom))}
.sig-pad.full .sig-x{left:calc(32px + env(safe-area-inset-left));bottom:calc(25% + 4px + env(safe-area-inset-bottom));font-size:1.5rem}
.sig-img{display:block;max-width:min(220px,100%);max-height:72px;margin-left:auto;background:#fff;border:1px solid var(--border);border-radius:8px;padding:4px}
.dr-live{border:1px solid var(--green-solid);background:var(--green-bg);border-radius:12px;padding:12px 14px}
.dr-live .dl-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--green);margin-bottom:10px}
.dr-live .dl-h .muted{margin-left:auto}
.dl-ctl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}
.dl-ctl .field+.field{margin-top:0}
.dl-sig{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--border)}
.dl-sig:first-child{border-top:0;padding-top:0}
/* the first drive permit check: a full width box that wraps its sentence (2026-11-05) */
.k-permit .chk{display:flex;align-items:flex-start;min-height:44px;height:auto;padding:12px 14px;line-height:1.4}
.k-permit .chk input{margin-top:2px;flex:none}
.k-permit .chk.err{border-color:var(--red-solid)}
/* the class card's roster PDFs, one per class day taken (2026-11-05) */
.cs-ros{display:flex;flex-direction:column;gap:6px}
.cs-ros .btn{min-height:36px}
/* fields side by side line up: the grid's gap spaces them, so no extra top margin on the second one (End drive's time and break) */
.grid.g2>.field+.field,.grid.g3>.field+.field{margin-top:0}
/* the Inbox (2026-11-07): Tina's Gmail, each conversation its own card with space between; unread in bold */
.ibx-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.ibx-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);min-width:0}
.ibx-card.unread{border-color:var(--primary-soft-2);box-shadow:var(--shadow)}
.ibx-main{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;min-width:0;color:var(--text);text-decoration:none!important;border-radius:12px}
.ibx-main:hover{background:var(--hover)}
.ibx-main .grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ibx-main .t{font-weight:500}
.ibx-subj{display:block;color:var(--text-2);font-size:.9375rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ibx-card.unread .t,.ibx-card.unread .ibx-subj{font-weight:700;color:var(--text)}
.ibx-card.unread .th-w{color:var(--primary-text);font-weight:600}
.ibx-card .th-dot{margin-top:6px}
.ibx-foot{padding:0 16px 14px 58px;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ibx-chips{padding:10px 16px;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px}
.stu-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;max-width:100%;padding:4px 12px;border-radius:999px;background:var(--primary-soft);color:var(--primary-text);font-size:.8125rem;font-weight:600;line-height:1.3;text-decoration:none!important}
.stu-chip span{overflow-wrap:anywhere;min-width:0}
.stu-chip:hover{background:var(--primary-soft-2)}
.ibx-th .th-head .t{overflow-wrap:anywhere}
.bb-send{min-height:32px;margin-left:4px}
@media (max-width:440px){.ibx-foot{padding-left:16px}.ibx-main{padding:12px 14px;gap:10px}}
/* the Inbox as a mail client (2026-11-07): folders, search, one card per email in a conversation, writing */
.ibx-find{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}
.ibx-views{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ibx-views>button{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-2);font-weight:600;font-size:.875rem;white-space:nowrap}
.ibx-views>button:hover{background:var(--hover)}
.ibx-views>[aria-pressed="true"]{background:var(--primary);border-color:var(--primary);color:#fff}
.ibx-vn{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--red-solid);color:#fff;font-size:.6875rem;font-weight:700;display:inline-grid;place-items:center}
.ibx-res{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:var(--text-2);font-size:.9375rem}
.ibx-n{font-weight:600;color:var(--muted);font-size:.8125rem}
.ibx-clip{display:inline-flex;align-items:center;gap:4px;min-height:32px;color:var(--muted);font-size:.8125rem}
.ibx-card.out .ibx-main:hover{background:none}
.ibx-card.out .av{background:var(--surface-2);color:var(--muted)}
.ibm-star{color:#d97706;display:inline-flex;vertical-align:-2px;margin-right:4px}
.ibx-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ibx-chips.mt12{padding:0;border:0}
.ibm-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.ibm{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);min-width:0;overflow:hidden}
.ibm-h{display:flex;align-items:flex-start;gap:12px;width:100%;padding:14px 16px;text-align:left;color:var(--text);min-width:0}
.ibm-h:hover{background:var(--hover)}
.ibm-h .grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ibm-who{overflow-wrap:anywhere}
.ibm-addr{display:block;color:var(--muted);font-size:.8125rem;font-weight:400;overflow-wrap:anywhere}
.ibm-to{color:var(--muted);font-size:.8125rem;overflow-wrap:anywhere}
.ibm.closed .ibm-to{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ibm-when{flex:none;color:var(--muted);font-size:.8125rem;text-align:right;max-width:40%;display:inline-flex;align-items:center}
.ibm-note{margin:0 16px 12px;color:var(--muted);font-size:.875rem}
.ibm-frame{display:block;width:100%;height:120px;border:0;padding:0 16px 8px;box-sizing:border-box;background:var(--surface)}
.ibm-text{padding:0 16px 16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:.9375rem}
.ibm-text a{color:var(--primary-text)}
.ibm-q{color:var(--muted)}
.ibm-imgs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 16px 10px;padding:8px 12px;border-radius:8px;background:var(--surface-2);color:var(--text-2);font-size:.8125rem}
.ibm-imgs span{flex:1;min-width:0}
.ibm-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:8px;padding:0 16px 16px}
.ibm-file{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 10px 6px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;min-width:0}
button.ibm-file:hover{background:var(--hover)}
.ibm-file .grow{flex:1;min-width:0;display:flex;flex-direction:column}
.ibm-file b{font-weight:600;font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ibm-file .grow span{color:var(--muted);font-size:.75rem}
.ibm-file.off{color:var(--muted)}
.ibm-file>svg{flex:none;color:var(--muted)}
.ibx-write-b{display:flex;flex-wrap:wrap;gap:8px}
.ibx-write .card-b{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.ibx-att{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ibx-att .ibm-file{flex:1 1 220px;max-width:100%}
.ibx-attach{cursor:pointer;position:relative}
.ibx-attach:focus-within{box-shadow:0 0 0 3px var(--focus)}
@media (max-width:440px){.ibm-h{padding:12px 14px;gap:10px}.ibm-frame{padding:0 10px 8px}.ibm-text{padding:0 14px 14px}.ibm-files{padding:0 14px 14px}.ibx-views>button{padding:0 12px}.ibx-acts .btn{flex:1 1 auto}}

/* Cardinal Books (2026-11-11): money in and out, payroll review, costs */
.bk-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:560px}
.bk-tabs>a{padding:0 8px}
.bk-pos{color:var(--green)}.bk-neg{color:var(--red)}
.bk-pnav{align-items:center}.bk-ptxt{font-size:1rem;padding:0 4px}
.bk-fl{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.bk-fl .pill{font-size:.75rem}
.bk-approve .btn{width:100%;max-width:520px;justify-content:center;white-space:normal;height:auto;min-height:44px;padding-top:10px;padding-bottom:10px;text-align:center}
.bk-list{list-style:none;margin:0;padding:0}
.bk-list>li{border-bottom:1px solid var(--border);padding:10px 0}.bk-list>li:last-child{border-bottom:0}
.bk-li{display:flex;gap:12px;align-items:center;width:100%;text-align:left;background:none;border:0;padding:2px 0;color:inherit;font:inherit;cursor:pointer;min-height:44px}
.bk-li-w{display:flex;flex-direction:column;min-width:0}.bk-li-w b{overflow-wrap:anywhere}
.bk-amt{flex:none;font-variant-numeric:tabular-nums}
.bk-rc{flex:none;color:var(--muted);display:inline-flex}
.bk-num{width:96px;max-width:100%;text-align:right}
.bk-cost-f{border-top:1px solid var(--border)}
.bk-imp{list-style:none;margin:0;padding:0}
.bk-imp>li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border)}
.bk-imp>li.dup{opacity:.6}
.bk-imp .chk{margin-top:2px}.bk-imp .sel{margin-top:6px;width:100%}
.bk-imp-w{min-width:0;overflow-wrap:anywhere;font-weight:600}
.bk-rc-img{display:block;max-width:100%;height:auto;border-radius:10px;margin:0 auto}
@media (max-width:520px){.bk-tabs>a{font-size:.8125rem;padding:0 4px}.bk-num{width:58px}.bk-rates th,.bk-rates td{padding-left:6px;padding-right:6px}.bk-rates .rtab th.r{white-space:normal}}
.bk-stats .val{white-space:nowrap;font-size:clamp(1.25rem,2.3vw,1.875rem)}

/* Books charts and layout (Corey, 2026-11-11: "more polished, add charts"). Colors from the dataviz reference palette,
   checked with its validator: 1 blue, 2 orange, 3 aqua, 4 yellow; text stays in text colors */
:root{--s1:#2a78d6;--s2:#eb6834;--s3:#1baf7a;--s4:#eda100;--s5:#e87ba4}
.s0{background:var(--gray-solid)}.s1{background:var(--s1)}.s2{background:var(--s2)}.s3{background:var(--s3)}.s4{background:var(--s4)}.s5{background:var(--s5)}
.stat.dark{background:var(--ink);border-color:var(--ink)}
.stat.dark .lbl,.stat.dark .foot{color:#c7ccd6}.stat.dark .val{color:#fff}
.stat.dark .ico{background:rgba(255,255,255,.12);color:#fff}
.bk-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.bk-bar .rep-seg{flex:0 1 auto}
.bk-ink{color:var(--text)}
.bkc-key{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.875rem;color:var(--text-2);margin-bottom:14px}
.bkc-key span{display:inline-flex;align-items:center;gap:8px}
.bkc-key i{width:12px;height:12px;border-radius:3px;display:inline-block}
.bkc{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:200px auto}
.bkc-y{position:relative;grid-row:1;grid-column:1}
.bkc-y span{position:absolute;right:10px;transform:translateY(50%);font-size:.75rem;color:var(--muted);line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.bkc-plot{position:relative;grid-row:1;grid-column:2;border-bottom:1px solid var(--border-2)}
.bkc-plot .gl{position:absolute;left:0;right:0;height:1px;background:var(--chart-grid)}
.bkc-cols{position:absolute;inset:0;display:flex;align-items:stretch}
.bkc-col{flex:1 1 0;min-width:0;display:flex;align-items:flex-end;justify-content:center;gap:2px;padding:0 6%;border-radius:6px;outline:0;cursor:default}
.bkc-col:hover,.bkc-col:focus-visible{background:var(--hover-ink,rgba(17,24,39,.04))}
.bkc-col:focus-visible{box-shadow:0 0 0 3px var(--focus)}
.bkc-col i{flex:1 1 0;max-width:28px;border-radius:4px 4px 0 0;min-height:0}
.bkc-x{grid-row:2;grid-column:2;display:flex}
.bkc-x span{flex:1 1 0;min-width:0;text-align:center;font-size:.75rem;color:var(--muted);padding-top:8px;white-space:nowrap;overflow:hidden}
.bkc-x span.cur{color:var(--text);font-weight:600}
.bk-tbl{margin-top:12px;font-size:.875rem}
.bk-tbl summary{cursor:pointer;color:var(--primary-text);font-weight:600;min-height:32px;display:flex;align-items:center}
.bk-tbl .rtab{margin-top:8px}
.bk-tip{position:fixed;z-index:90;display:none;pointer-events:none;background:var(--ink);color:#fff;border-radius:10px;padding:8px 12px;font-size:.8125rem;line-height:1.45;box-shadow:var(--shadow-lg);max-width:240px}
.bk-tip b{display:block;font-weight:600;margin-bottom:2px}.bk-tip span{display:block;color:var(--tip-2,#d6dae2);font-variant-numeric:tabular-nums}
.bkh-top{display:flex;gap:28px;flex-wrap:wrap;margin-bottom:16px}
.bkh-top div{display:flex;flex-direction:column}
.bkh-top span{font-size:.875rem;color:var(--muted)}
.bkh-top b{font:700 1.75rem/1.15 var(--font);letter-spacing:-.02em;color:var(--text)}
.bkh-top b.bk-pos{color:var(--green)}.bkh-top b.bk-neg{color:var(--red)}
.bkh-top small{font-size:.8125rem;color:var(--muted)}
.bks{position:relative;display:flex;gap:2px;height:20px}
.bks i{flex:0 1 auto;min-width:4px;height:100%}
.bks i:first-child{border-radius:4px 0 0 4px}.bks i:last-child{border-radius:0 4px 4px 0}.bks i:only-child{border-radius:4px}
.bks-m{position:absolute;top:-6px;bottom:-6px;width:2px;background:var(--text);margin-left:-1px;border-radius:1px}
.bkh-key{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column}
.bkh-key li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);font-size:.9375rem;color:var(--text-2)}
.bkh-key li:last-child{border-bottom:0}
.bkh-key i{width:12px;height:12px;border-radius:3px;flex:none}
.bkh-key b{color:var(--text);font-variant-numeric:tabular-nums}
.bkh-key .muted{width:44px;text-align:right;font-size:.875rem;font-variant-numeric:tabular-nums}
.bkbs{display:flex;flex-direction:column;gap:16px}
.bkb-h{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.9375rem;margin-bottom:7px}
.bkb-h span{min-width:0;color:var(--text-2);display:inline-flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.bkb-h span small{color:var(--muted);font-size:.8125rem;margin-left:2px}
.bkb-h b{color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}
.bkb-h b small{color:var(--muted);font-weight:500;font-size:.8125rem;margin-left:8px}
.bkb-t{height:8px;border-radius:4px;background:var(--surface-3);overflow:hidden;flex:1 1 auto;min-width:0}
.bkb-t i{display:block;height:100%;border-radius:4px;min-width:4px}
.bkb-s{font-size:.8125rem;color:var(--muted);margin-top:6px}
.bkls{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.bkl-h{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}
.bkl-h span{font-weight:700;font-variant-numeric:tabular-nums}
.bkl-r{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:.875rem}
.bkl-r>span{width:28px;color:var(--muted);flex:none}
.bkl-r>b{width:82px;text-align:right;flex:none;font-variant-numeric:tabular-nums}
@media (min-width:640px){.bk-cars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}}
.bkp{padding:0}
.bkp-h{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}
.bkp-h h2{margin:0;font:700 1.0625rem/1.3 var(--font);color:var(--text)}
.bkp-h .grow{min-width:0}.bkp-h .grow>span{font-size:.875rem;color:var(--muted)}
.bkp-pay{font:700 1.375rem/1.2 var(--font);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.bkd{list-style:none;margin:0;padding:0}
.bkd>li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--border)}
.bkd>li:first-child{padding-top:0}.bkd>li:last-child{border-bottom:0;padding-bottom:0}
.bkd-d{flex:none;width:56px;height:52px;border-radius:10px;background:var(--surface-3);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.2}
.bkd-d b{font-size:.875rem}.bkd-d span{font-size:.75rem;color:var(--muted)}
.bkd-w{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.bkd-w>span{font-size:.875rem;color:var(--muted)}
.bkd-t{display:flex;align-items:baseline;gap:10px}.bkd-t a{font-weight:600;flex:1 1 auto;min-width:0}
.bkd-h{flex:none;font-size:.8125rem;color:var(--muted);white-space:nowrap}.bkd-h b{font-size:1.0625rem;color:var(--text);font-variant-numeric:tabular-nums}
.bkd-f{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}.bkd-f .bk-fl{margin-top:0}.bkd-f .btn{margin-left:auto;margin-right:-10px}
.bkp-cls{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;font-size:.9375rem;color:var(--text-2)}
.bkp-cls svg{color:var(--muted);margin-top:3px;flex:none}
.bkd>li~.bkp-cls,.bkd+.bkp-cls{padding-top:12px;border-top:1px solid var(--border)}
.bkp-h+.card-b>.bkp-cls:first-child{margin-top:0}
.bk-csum{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
@media (min-width:900px){.bk-csum{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px}}
.bk-big{font:700 2.25rem/1.1 var(--font);letter-spacing:-.02em;color:var(--text)}
.bk-csum .bkc{margin-top:16px;grid-template-rows:160px auto}
.bk-h3{font:600 .9375rem/1.3 var(--font);color:var(--text);margin:0 0 14px}
.bk-li-d{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:44px;color:var(--muted);height:44px;border-radius:10px;background:var(--surface-3);line-height:1.1}
.bk-li-d b{font-size:.9375rem;color:var(--text)}.bk-li-d span{font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}
.bk-li>svg{color:var(--faint);flex:none}
@media (max-width:520px){.bk-dl{width:100%}.bk-dl .btn{flex:1 1 auto;justify-content:center}.bkc{grid-template-columns:38px minmax(0,1fr);grid-template-rows:170px auto}.bkc-col{padding:0 3%}.bkd-d{width:48px;height:48px}.bkp-h{padding:14px 16px}.bkh-top{gap:20px}.bkh-top b{font-size:1.5rem}.bkl-r>b{width:72px}}

/* Books, laid out like Corey's rendering (2026-11-11): a photo header, four money cards with an icon each, the month
   chart beside quick actions and the latest payments, money in by course, who still owes, and where the numbers go */
:root{--brand:#c8102e;--brand-soft:#fdf2f2;--brand-line:#f8b4b4}
.side-logo{min-height:92px;gap:12px;padding:14px 16px 14px 18px}
.side-bird{width:46px;height:auto;flex:none}
.side-logo .logo-name{font:800 1.5rem/1 var(--font);letter-spacing:-.025em}
.side-logo .logo-name2{font:700 1rem/1.15 var(--font);color:var(--text);letter-spacing:-.01em;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-logo .logo-sub{margin-top:4px}
.bk-kpis{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1360px){.bk-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1360px) and (max-width:1499px){.bk-kpi .val{font-size:1.5rem}}
.bk-kpi{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;color:inherit;text-decoration:none!important}
a.bk-kpi:hover{border-color:var(--border-2)}
.bk-kpi-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none}
.bk-kpi-ic.green{background:var(--green-bg);color:var(--green-solid)}.bk-kpi-ic.red{background:var(--red-bg);color:var(--red-solid)}.bk-kpi-ic.yellow{background:var(--yellow-bg);color:var(--yellow)}
.bk-kpi .lbl{font-size:.875rem;color:var(--muted);font-weight:500;line-height:1.35}
.bk-kpi .val{font:700 1.75rem/1.15 var(--font);color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-top:4px;white-space:nowrap}
.bk-kpi .foot{font-size:.8125rem;color:var(--muted);margin-top:4px;line-height:1.4}
.bk-dt{font-weight:700;white-space:nowrap}.bk-dt.good{color:var(--green)}.bk-dt.bad{color:var(--red)}
.bk-kpi.dark{background:var(--ink);border-color:var(--ink)}
.bk-kpi.dark .lbl,.bk-kpi.dark .foot{color:#c7ccd6}.bk-kpi.dark .val{color:#fff}
.bk-kpi-ic.dark{background:rgba(255,255,255,.12);color:#fff}
.bk-row{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
@media (min-width:1100px){.bk-row-a{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.bk-row-b{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.bk-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.bk-col>.bk-chart{flex:1 1 auto}
.bk-chart .bkc{grid-template-rows:250px auto}
@media (min-width:1100px){.bk-row-a .bk-chart{display:flex;flex-direction:column}.bk-row-a .bk-chart .bkc{flex:1 1 auto;grid-template-rows:minmax(250px,1fr) auto}}
.bk-qa{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bk-qa-t{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px 6px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:600;font-size:.8125rem;line-height:1.25;text-align:center;cursor:pointer;text-decoration:none!important;min-width:0;overflow-wrap:break-word}
.bk-qa-t svg{color:var(--brand)}
.bk-qa-t:hover{border-color:var(--border-2);background:var(--hover)}
.bk-qa-t:focus-within{outline:2px solid var(--primary);outline-offset:2px}
@media (max-width:400px),(min-width:1100px) and (max-width:1439px){.bk-qa{grid-template-columns:repeat(2,minmax(0,1fr))}.bk-qa-t{min-height:76px}}
@media (max-width:360px){.bk-kpi .val{font-size:1.2rem}}
.bk-pl{list-style:none;margin:0;padding:0}
.bk-pl>li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.bk-pl>li:first-child{padding-top:0}.bk-pl>li:last-child{border-bottom:0;padding-bottom:0}
.bk-pl .bk-li-w a{font-weight:600;color:var(--text);overflow-wrap:anywhere}
.bk-pl .bk-li-w .small{overflow-wrap:anywhere}
.bk-pl-r{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.bk-pl-r .bk-amt{color:var(--text)}
.bk-ring{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.bk-ring-c{position:relative;width:184px;height:184px;flex:none;margin:0 auto}
.bk-ring svg{width:100%;height:100%;display:block}
.bk-ring circle{fill:none;stroke-width:20;outline:0;cursor:default;transition:stroke-width .15s}
.bk-ring circle:hover,.bk-ring circle:focus-visible{stroke-width:25}
.ds0{stroke:var(--gray-solid)}.ds1{stroke:var(--s1)}.ds2{stroke:var(--s2)}.ds3{stroke:var(--s3)}.ds4{stroke:var(--s4)}.ds5{stroke:var(--s5)}
.bk-ring-v{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
.bk-ring-v b{font:700 1.625rem/1.1 var(--font);color:var(--text);letter-spacing:-.02em}.bk-ring-v span{font-size:.8125rem;color:var(--muted)}
.bk-ring-k{flex:1 1 240px;margin:0;min-width:0}
.bk-ex{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr)}
@media (min-width:1100px){.bk-ex{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px}.bk-ex>li:nth-last-child(2){border-bottom:0}}
.bk-ex>li{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border);min-width:0}
.bk-ex>li:last-child{border-bottom:0}
.bk-ex-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--brand-soft);color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand-line)}
.bk-ex .grow{display:flex;flex-direction:column;min-width:0}.bk-ex b{color:var(--text)}
.bk-ex .btn{flex:none}
.bk-sec{font:700 1.25rem/1.3 var(--font);color:var(--text);margin:36px 0 0}
@media (min-width:1100px){.rep-cards.bk-det>section:first-child{grid-column:auto}}
@media (max-width:520px){.bk-kpi{flex-direction:column;gap:10px;padding:14px}.bk-kpi-ic{width:38px;height:38px;border-radius:10px}.bk-kpi .val{font-size:1.375rem}
.bk-ex>li{flex-wrap:wrap}.bk-ex .btn{width:100%;justify-content:center}.bk-chart .bkc{grid-template-rows:200px auto}.bk-ring-c{width:164px;height:164px}}

/* Dark mode (Corey, 2026-11-11: "add a dark mode, just like the rendering"): near black, Cardinal red for actions.
   Each color is its own dark step, not a flip; chart colors use the dataviz palette's dark column */
:root[data-theme="dark"]{color-scheme:dark;
--bg:#0b0b0d;--surface:#151517;--surface-2:#1b1b1e;--surface-3:#24242a;--border:#2a2a30;--border-2:#3b3b42;--field-line:#6b6b74;--hover:#1e1e23;
--text:#f4f4f5;--text-2:#d4d4d8;--muted:#a1a1aa;--faint:#71717a;
--primary:#d0192f;--primary-hover:#e3293f;--primary-soft:rgba(208,25,47,.16);--primary-soft-2:rgba(208,25,47,.24);--primary-text:#ff7c87;--on-primary:#fff;
--nav-active-bg:#5c111b;--nav-active-text:#fff;--ink:#2a2a31;--on-ink:#fff;
--green:#6ee7b7;--green-bg:rgba(16,185,129,.16);--green-solid:#10b981;--yellow:#fcd34d;--yellow-bg:rgba(234,179,8,.16);--yellow-solid:#eab308;
--red:#fca5a5;--red-bg:rgba(239,68,68,.17);--red-solid:#ef4444;--purple:#c4b5fd;--purple-bg:rgba(139,92,246,.2);--purple-solid:#a78bfa;
--blue:#93c5fd;--blue-bg:rgba(59,130,246,.2);--blue-solid:#60a5fa;--orange:#fdba74;--orange-bg:rgba(249,115,22,.17);--orange-solid:#fb923c;
--pink:#f9a8d4;--pink-bg:rgba(236,72,153,.17);--pink-solid:#f472b6;--gray:#d4d4d8;--gray-bg:#2a2a30;--gray-solid:#71717a;
--tina-bg:rgba(59,130,246,.2);--tina-fg:#93c5fd;--will-bg:rgba(139,92,246,.22);--will-fg:#c4b5fd;--kim-bg:rgba(234,179,8,.18);--kim-fg:#fcd34d;
--maxie-bg:rgba(16,185,129,.18);--maxie-fg:#6ee7b7;--becki-bg:rgba(6,182,212,.18);--becki-fg:#67e8f9;--randy-bg:#2a2a30;--randy-fg:#d4d4d8;
--shadow-sm:0 1px 2px rgba(0,0,0,.45);--shadow:0 1px 3px rgba(0,0,0,.55),0 1px 2px -1px rgba(0,0,0,.45);--shadow-lg:0 20px 40px -12px rgba(0,0,0,.75),0 4px 10px rgba(0,0,0,.4);
--scrim:rgba(0,0,0,.62);--chart-grid:#24242a;--focus:rgba(255,124,135,.45);
--s1:#3987e5;--s2:#d95926;--s3:#199e70;--s4:#c98500;--s5:#d55181;--hover-ink:rgba(255,255,255,.05);--tip-2:#c3c2b7;
--brand:#ff5a6a;--brand-soft:rgba(208,25,47,.14);--brand-line:rgba(208,25,47,.42)}
:root[data-theme="dark"] body{background:var(--bg)}
:root[data-theme="dark"] .stat .ico.green,:root[data-theme="dark"] .li-ico.green{color:var(--green-solid)}
:root[data-theme="dark"] .stat .ico.yellow{color:var(--yellow-solid)}
:root[data-theme="dark"] span.logo-tile{background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand-line)}
:root[data-theme="dark"] .help-fab{background:var(--primary)}
:root[data-theme="dark"] .help-fab:focus-visible{outline-color:var(--primary-text)}
:root[data-theme="dark"] .bk-kpi.dark,:root[data-theme="dark"] .stat.dark{background:linear-gradient(135deg,#6e101e,#2b0b11);border-color:#7f1d2d}
:root[data-theme="dark"] .bk-tip{background:#2a2a31;box-shadow:0 0 0 1px #3b3b42,var(--shadow-lg)}
/* How to use the dashboard (#guide), and printing it */
.guide-steps{list-style:decimal;margin:12px 0 0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:14px}
.guide-steps>li{padding-left:4px}.guide-steps>li::marker{font-weight:700;color:var(--muted)}
.guide-steps>li>p{margin:0;color:var(--text);line-height:1.5}
.guide-sec{font:700 1.25rem/1.3 var(--font);color:var(--text);margin:40px 0 0}
@media print{.side,.topbar,.ptop,.crumbs,.help-fab,.side-scrim,.toast,.page-head .acts,.help-go{display:none!important}
.main{margin:0!important}.content{padding:0!important;max-width:none!important}body{background:#fff}
.card{box-shadow:none!important}.help-q{break-inside:avoid}.card-h{break-after:avoid}.help-q summary svg{display:none}.guide-sec{break-before:page}}

/* a tablet (iPad size, 744 to 1279 wide): the sidebar is a strip of icons, like TikTok Backstage on the iPad mini; the button at its top opens it full width with the names over a dimmed page (Corey, 2026-11-20) */
.rail-btn{display:none}
@media (min-width:744px) and (max-width:1279px){
.main{margin-left:76px}
.side{width:76px;overflow-x:hidden;transition:width .22s cubic-bezier(.32,.72,0,1),box-shadow .22s}
.side .rail-btn{display:inline-grid;flex:none;margin:12px 0 0 18px;width:40px;height:40px}
html:not(.side-open) .side .side-logo{min-height:0;padding:10px 0;justify-content:center;border-bottom:1px solid var(--border)}
html:not(.side-open) .side .side-logo .grow{display:none}
html:not(.side-open) .side .side-bird{width:32px}
html:not(.side-open) .side .side-nav{padding:10px 12px 14px}
html:not(.side-open) .side .nav-h{display:none}
html:not(.side-open) .side .nav-grp{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}
html:not(.side-open) .side .nav-item{justify-content:center;padding:0;min-height:44px;position:relative}
html:not(.side-open) .side .nav-item>span:not(.nav-badge){display:none}
html:not(.side-open) .side .nav-badge{position:absolute;top:1px;right:1px;margin:0;min-width:18px;height:18px;padding:0 4px;font-size:.625rem;border:2px solid var(--surface)}
html:not(.side-open) .side .side-foot{padding:10px 12px}
html:not(.side-open) .side .me-card-side{justify-content:center;padding:4px 0;border:0;background:none}
html:not(.side-open) .side .me-card-side :is(.grow,.icon-btn){display:none}
html.side-open .side{width:min(86vw,300px);z-index:70;box-shadow:var(--shadow-lg)}
.side-scrim{display:block;position:fixed;inset:0;background:var(--scrim);z-index:65;opacity:0;pointer-events:none;transition:opacity .2s}
html.side-open .side-scrim{opacity:1;pointer-events:auto}
}

/* iPad and iPhone: a date or time box keeps its own minimum width and ignores width:100%, so in a two column row
   the start and end times ran into each other and the panel slid sideways (Corey, 2026-11-20). Plain boxes that fill
   their column, and a panel that never scrolls sideways. */
.inp[type=date],.inp[type=time],.inp[type=datetime-local]{display:block;-webkit-appearance:none;appearance:none;max-width:100%;min-width:0;line-height:42px}
.inp::-webkit-date-and-time-value{text-align:left;margin:0;min-height:1.5em}
.ov-b{overflow-x:hidden}

/* instructors Tina adds herself (Settings, Add an instructor; Corey 2026-11-20): four more colors, given in turn. app.js
   (staffCss) writes each new person's rules with these, the same places the built in instructors have theirs */
:root{--x1:#6366f1;--x1-ev:#4338ca;--x1-bg:#e0e7ff;--x1-fg:#3730a3;--x2:#e11d48;--x2-ev:#be123c;--x2-bg:#ffe4e6;--x2-fg:#9f1239;
--x3:#7c3aed;--x3-ev:#6d28d9;--x3-bg:#ede9fe;--x3-fg:#5b21b6;--x4:#c026d3;--x4-ev:#a21caf;--x4-bg:#fae8ff;--x4-fg:#86198f}
:root[data-theme="dark"]{--x1-bg:rgba(99,102,241,.2);--x1-fg:#a5b4fc;--x2-bg:rgba(225,29,72,.18);--x2-fg:#fda4af;
--x3-bg:rgba(124,58,237,.2);--x3-fg:#c4b5fd;--x4-bg:rgba(192,38,211,.18);--x4-fg:#f0abfc}
/* Staff and logins, Locations and Towns: the row buttons sit side by side (they wrap on a phone), not in a tall stack */
.li.staff .meta,.li.place .meta{flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px 8px}
/* Class patterns (Settings): each location's name heads its rows */
.pat-loc{padding:16px 16px 6px;border-top:1px solid var(--border)}
.list>.pat-loc:first-child{border-top:0}
/* The class roster signature (ACE-253): the words the student reads before signing */
.csig-say{margin:0;font-size:1.0625rem;line-height:1.5;color:var(--text);font-weight:500}
/* High schools (ACE-255): the typed names to match sit under the list */
.hs-um{border-top:1px solid var(--border)}
.hs-d+.hs-d{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}
/* The live map (ACE-224) on Home, and a finished drive's route replay */
.live-l .li-m{flex-wrap:nowrap}
.live-dot{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:0 0 0 2px var(--surface),0 0 0 3px var(--border-2)}
.live-map{height:340px;margin-top:12px;border-radius:12px;overflow:hidden;border:1px solid var(--border);z-index:0}
.rp-map{height:280px;border-radius:12px;overflow:hidden;border:1px solid var(--border);z-index:0}
.live-map .leaflet-tooltip,.rp-map .leaflet-tooltip{font:600 .75rem var(--font)}
.mph-key{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.8125rem;color:var(--muted)}
.mph-key li{display:inline-flex;align-items:center;gap:6px}
.mph-key span{width:18px;height:5px;border-radius:3px;display:inline-block}
.rp-at{width:100%;accent-color:var(--ink)}
.rp-now{margin:4px 0 0;color:var(--text);font-variant-numeric:tabular-nums}
@media (max-width:640px){.live-map{height:260px}.rp-map{height:230px}}
/* Countersign (ACE-250): the photo ID beside the family's details, one column on a phone, two from 640px */
.id-chk{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media (min-width:640px){.id-chk{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.id-ph{display:block;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface-2)}
.id-ph img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain}
.id-ph.none{display:grid;place-items:center;min-height:160px;padding:16px;text-align:center;color:var(--muted);font-size:.875rem}
.id-kv{margin:0}.id-kv dd{overflow-wrap:anywhere}
.id-warn{color:var(--red);display:flex;gap:6px;align-items:flex-start}

/* Take attendance as cards (2026-11-23): one card per student, tap when here */
.roll-view{align-items:center;margin:0 0 8px}
.roll-view .roll-cnt{margin:0}
.roll-cnt .none b{color:var(--muted)}
.roll-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:12px;margin-top:4px}
@media (max-width:440px){.roll-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.roll-card{min-width:0}
.roll-card .rc-b{width:100%;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:16px 10px 0;border:1px solid var(--border-2);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer;overflow:hidden;text-align:center;box-shadow:0 1px 2px rgba(16,24,40,.05);transition:transform .12s ease,box-shadow .12s ease,background-color .15s ease}
.roll-card .rc-b:active{transform:scale(.97)}
.roll-card .rc-b:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.roll-card .rc-n{font-weight:700;line-height:1.25;overflow-wrap:anywhere;min-width:0;max-width:100%}
.roll-card .rc-x{font-size:.75rem;color:var(--muted);line-height:1.3}
/* a medical note (an allergy, an EpiPen): small red text on the attendance card and the student's class page (Batch 3) */
.roll-card .rc-med{font-size:.75rem;color:var(--red);line-height:1.3;font-weight:600;overflow-wrap:anywhere;max-width:100%}
.med-t{color:var(--red)}
.roster .s.med-t{display:block;font-size:.75rem}
/* Final tests sheet: one block per student, the first without its line on top */
.ft-list>.divider:first-child{display:none}
.ft-list>.divider:first-child+.row{margin-top:4px}
.roll-card .rc-s{margin-top:auto;align-self:stretch;display:flex;align-items:center;justify-content:center;gap:4px;min-height:36px;margin-left:-10px;margin-right:-10px;padding:6px 8px;font-size:.8125rem;font-weight:700;background:var(--gray-bg);color:var(--text-2)}
.roll-card.none .rc-b{border-style:dashed}
.roll-card.here .rc-b{border-color:#057a55;background:#ecfdf3}
.roll-card.here .rc-s{background:#057a55;color:#fff}
.roll-card.late .rc-b,.roll-card.left .rc-b{border-color:#d4a514;background:var(--yellow-bg)}
.roll-card.late .rc-s,.roll-card.left .rc-s{background:#fde68a;color:#713f12}
.roll-card.missed .rc-b{border-color:var(--red-solid);background:#fef2f2}
.roll-card.missed .rc-s{background:var(--red-solid);color:#fff}
.roll-card.missed .rc-x,.roll-card.here .rc-x{color:var(--text-2)}
@media (prefers-reduced-motion:reduce){.roll-card .rc-b{transition:none}.roll-card .rc-b:active{transform:none}}
:root[data-theme="dark"] .roll-card.here .rc-b{border-color:var(--green-solid);background:var(--green-bg)}
:root[data-theme="dark"] .roll-card.here .rc-s{background:#057a55}
:root[data-theme="dark"] .roll-card.late .rc-b,:root[data-theme="dark"] .roll-card.left .rc-b{border-color:var(--yellow-solid);background:var(--yellow-bg)}
:root[data-theme="dark"] .roll-card.late .rc-s,:root[data-theme="dark"] .roll-card.left .rc-s{background:rgba(234,179,8,.28);color:var(--yellow)}
:root[data-theme="dark"] .roll-card.missed .rc-b{background:var(--red-bg)}
/* Take attendance on a phone (2026-11-23): each time field gets the full width, so the time and its Now button both fit */
@media (max-width:520px){#roll-form .grid.g2.keep{grid-template-columns:minmax(0,1fr)}}
/* Phone layout and getting around (2026-11-24) */
/* Home: a drive of your own under way, first thing; Needs you shows 5 on a phone with See all */
.live-bar{margin-bottom:16px}
.need-more .t{color:var(--primary-text)}
.need-more>svg{color:var(--muted);flex:none}
/* the menu button: a plain red dot when something is on Needs you (the number is on Needs you itself) */
.menu-btn .dot.plain{min-width:0;width:12px;height:12px;padding:0;top:8px;right:8px}
/* a phone has Help in its header, so the round button never covers a button at the right edge */
@media (max-width:743px){.help-fab{display:none}.content{padding-bottom:calc(env(safe-area-inset-bottom) + 32px)}.toast{max-width:calc(100vw - 32px)}}
/* Schedule on a phone: Day, Week and List beside Book a drive */
.page-head .acts .sched-seg{flex:1 1 auto}.sched-seg>*{flex:1 1 0}
/* the date that opens the date picker: a finger sized target */
.dt-go{min-height:44px}
/* Sign ups: how the list works, folded to one line */
details.su-how{display:block}
.su-how>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;min-height:24px}
.su-how>summary::-webkit-details-marker{display:none}
.su-how>summary>span{flex:1;min-width:0}
.su-how>summary>svg:last-child{color:var(--muted)}
.su-how[open]>summary>svg:last-child{transform:rotate(180deg)}
.su-how>span{display:block;margin-top:8px;padding-left:28px}
/* a row that scrolls sideways fades at the right edge while more is hidden there (app.js markEdges) */
.more-r{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent)}
.rtab-more{display:none;align-items:center;gap:4px;margin:6px 0 0;font-size:.8125rem;color:var(--muted)}
.rtab-w.more-r+.rtab-more{display:flex}
/* Reports and Books on a phone: the date choices on one row that scrolls sideways */
@media (max-width:743px){.rep-seg{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.rep-seg>button{flex:none}}
/* Settings on a phone: the jump chips on one row, kept at the top while scrolling */
@media (max-width:743px){.set-jump{position:sticky;top:56px;z-index:15;background:var(--bg);margin:0 -16px 16px;padding:8px 16px}}
/* Home on a computer: Needs you, the list Tina works through, gets the wide column */
@media (min-width:1024px){.home-cols{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:"needs today" "needs week" "wait week"}}
