/* Oogubi Goobers app, Oogubi design system. Eye path per card: city and status, then venue and productions, then times, then team. Everything else lives in Details. */
/* Sofia ships two sets of line measurements: iPhones use one, Android, Windows and Linux the other (and it differs by weight).
   The overrides pin every browser to the same set, so text sits in the same place on every phone. */
@font-face{font-family:"Sofia Pro Soft";src:url("fonts/SofiaProSoftLight.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap;ascent-override:75%;descent-override:25%;line-gap-override:0%}
@font-face{font-family:"Sofia Pro Soft";src:url("fonts/SofiaProSoftRegular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;ascent-override:75%;descent-override:25%;line-gap-override:0%}
@font-face{font-family:"Sofia Pro Soft";src:url("fonts/SofiaProSoftMedium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;ascent-override:75%;descent-override:25%;line-gap-override:0%}
@font-face{font-family:"Sofia Pro Soft";src:url("fonts/SofiaProSoftBold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;ascent-override:75%;descent-override:25%;line-gap-override:0%}
:root{
  --white:#ffffff; --indigo:#1d194e; --linen:#fbf6f2; --cream:#f4e5d9; --sand:#edd4c0; --carbon:#111315; --slate:#424a54; --mist:#b3b7bb; --fog:#d9dbdd;
  --neon-lime:#e4fe52; --mint:#28df99; --lavender:#c9abe0; --violet:#3e10cc; --pink:#ea337a;
  --surface:var(--linen); --surface-alt:var(--cream); --surface-raised:var(--white);
  --ink:var(--indigo); --ink-muted:var(--slate); --title:var(--violet); --hairline:var(--fog); --field-border:var(--slate);
  --action:var(--indigo); --on-action:var(--white); --highlight:var(--sand); --focus:var(--violet);
  --success:var(--mint); --attention:var(--pink); --info:var(--lavender);
  --scrim:rgba(29,25,78,.5);
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-6:24px; --space-8:32px; --space-12:48px;
  --radius-sm:8px; --radius-md:16px; --radius-lg:32px; --radius-pill:999px;
  --font-sans:"Sofia Pro Soft", ui-rounded, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --surface:var(--indigo); --surface-alt:var(--carbon); --surface-raised:#26224f;
  --ink:var(--linen); --ink-muted:var(--mist); --title:var(--neon-lime); --hairline:var(--slate); --field-border:var(--mist);
  --action:var(--neon-lime); --on-action:var(--indigo); --highlight:var(--violet); --focus:var(--neon-lime); --scrim:rgba(0,0,0,.6); color-scheme:dark }}
:root[data-theme="dark"]{
  --surface:var(--indigo); --surface-alt:var(--carbon); --surface-raised:#26224f;
  --ink:var(--linen); --ink-muted:var(--mist); --title:var(--neon-lime); --hairline:var(--slate); --field-border:var(--mist);
  --action:var(--neon-lime); --on-action:var(--indigo); --highlight:var(--violet); --focus:var(--neon-lime); --scrim:rgba(0,0,0,.6); color-scheme:dark }
*{box-sizing:border-box}
body{background:var(--surface);color:var(--ink);font-family:var(--font-sans);font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--indigo);pointer-events:none}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
a{color:inherit}
.eyebrow{font-size:12px;line-height:16px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0}
.hint{margin:0;color:var(--ink-muted);font-size:13px;line-height:18px;font-weight:400}

/* Header */
.previewbar{background:var(--neon-lime);color:var(--indigo);display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:8px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));font-weight:700;font-size:14px}
.previewbar .btn{background:var(--indigo);color:var(--white)}
.appbar{background:var(--indigo)}
.appbar-in{max-width:720px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:28px 16px;display:flex;flex-direction:column;align-items:center;gap:20px}
.logo{height:66px;width:auto;max-width:100%;display:block}
.navpills{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.navpills button{border:0;background:none;color:var(--fog);height:36px;padding:0 16px;border-radius:var(--radius-pill);font-size:14px;font-weight:500;white-space:nowrap}
.navpills button[aria-current="page"]{background:var(--neon-lime);color:var(--indigo)}

.wrap{max-width:720px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:24px 64px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 24px;border:0;border-radius:var(--radius-pill);font-size:15px;line-height:20px;font-weight:700;text-decoration:none;white-space:nowrap;background:var(--action);color:var(--on-action)}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--field-border)}
.btn.small{height:36px;padding:0 16px;font-size:14px}
.textlink{background:none;border:0;padding:0;font-weight:500;font-size:14px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.textlink.danger{color:var(--attention)}
.chip{height:36px;padding:0 16px;border-radius:var(--radius-pill);border:0;background:var(--surface-alt);color:var(--ink);font-size:14px;font-weight:500}
.chip[aria-pressed="true"]{background:var(--highlight);font-weight:700}

/* Badges */
.badge{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;line-height:16px;color:var(--carbon);white-space:nowrap;flex:none}
.badge.open{background:var(--attention);color:var(--white)}
.badge.full{background:var(--success)}
.badge.pending{background:var(--info);color:var(--indigo)}
.badge.neutral{background:var(--highlight);color:var(--ink)}

.announce{display:flex;flex-direction:column;gap:2px;padding:0 0 20px;margin-bottom:20px;border-bottom:1.5px solid var(--hairline)}
.announce .eyebrow{color:var(--title)}
.announce p{margin:0;color:var(--ink-muted);font-size:15px;line-height:22px;white-space:pre-line}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.spacer{flex:1}

h2.month{font-size:28px;line-height:36px;font-weight:300;color:var(--title);margin:32px 0 12px}
main > h2.month:first-child, .guide h2.month, .announce + h2.month, .toolbar + h2.month{margin-top:0}
.list{display:flex;flex-direction:column;gap:12px}

/* Event card */
.ev{background:var(--surface-alt);border-radius:var(--radius-md);padding:16px;display:grid;grid-template-columns:52px 1fr;gap:14px}
.ev.mine{box-shadow:inset 0 0 0 2px var(--highlight)}
.date{width:52px;height:52px;border-radius:50%;background:var(--indigo);color:var(--linen);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:none}
.date .dow{font-size:11px;line-height:13px;font-weight:700;letter-spacing:.12em;color:var(--neon-lime)}
.date .day{font-size:20px;line-height:22px;font-weight:700;font-variant-numeric:tabular-nums}
.evbody{min-width:0;display:flex;flex-direction:column;gap:12px}
.evinfo{display:flex;flex-direction:column;gap:10px}
.evtop{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.evcta{display:flex;flex-direction:column;align-items:center;gap:4px;flex:none;text-align:center}
.spotsleft{font-size:13px;line-height:16px;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.btn.join{height:38px;padding:0 18px;font-size:14px;background:var(--pink);color:var(--white);box-shadow:0 0 0 0 rgba(234,51,122,.6),0 0 14px 2px rgba(234,51,122,.45)}
@media (prefers-reduced-motion:no-preference){.btn.join{animation:glow 1.8s ease-in-out infinite}@keyframes glow{0%,100%{box-shadow:0 0 0 0 rgba(234,51,122,.6),0 0 10px 1px rgba(234,51,122,.35)}50%{box-shadow:0 0 0 8px rgba(234,51,122,0),0 0 22px 6px rgba(234,51,122,.6)}}}
.evtop h3{font-size:24px;line-height:30px;font-weight:700;margin:0;min-width:0;overflow-wrap:anywhere}
.venueline{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:-6px;font-size:15px;line-height:20px}
.venue{font-weight:500}
.evname{color:var(--ink-muted)}
.maplink{font-weight:500;font-size:14px;color:var(--title);text-underline-offset:3px}
.prods{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.prod{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--radius-pill);background:var(--highlight);color:var(--ink);font-size:12px;font-weight:700}
.updated{font-size:12px;font-weight:700;color:var(--title)}
.times{display:flex;flex-wrap:wrap;gap:4px 20px;margin:0}
.times div{display:flex;flex-direction:column}
.times dt{font-size:11px;line-height:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}
.times dd{margin:0;font-weight:500;font-size:15px;line-height:20px;font-variant-numeric:tabular-nums}
.team{display:flex;flex-direction:column;gap:8px;background:var(--surface-raised);border-radius:var(--radius-sm);padding:12px 14px}
.team .slot{background:var(--surface-alt)}
.team .slot.me{background:var(--highlight)}
.reqs{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1.5px solid var(--hairline)}
.req{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.leads{display:flex;flex-wrap:wrap;gap:4px 20px;font-size:15px;line-height:20px}
.leads b{font-weight:700}
.lbl{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted);margin-right:4px}
.slots{display:flex;flex-wrap:wrap;gap:6px}
.slot{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:var(--surface-raised);font-size:13px;line-height:16px;font-weight:500;white-space:nowrap}
.slot.me{background:var(--highlight);font-weight:700}
.count{font-size:12px;line-height:16px;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.more{padding-top:0}
.more summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink-muted)}
.more summary::-webkit-details-marker{display:none}
.more summary::before{content:"+";display:inline-block;width:12px;font-weight:300;font-size:17px}
.more[open] summary::before{content:"\2212"}
.hasnote{font-size:12px;font-weight:700;color:var(--title)}
.morebody{display:flex;flex-direction:column;gap:12px;padding-top:10px}
.note{background:var(--surface-raised);border-radius:var(--radius-sm);padding:10px 14px;font-size:15px;line-height:22px;white-space:pre-line;display:flex;flex-direction:column;gap:2px}
.note .eyebrow{color:var(--title)}
.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0;font-size:15px;line-height:22px}
.facts div{display:contents}
.facts dt{font-size:11px;line-height:22px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}
.facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.actions:empty{display:none}

.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:48px 24px;background:var(--surface-alt);border-radius:var(--radius-md)}
.empty img{width:140px;height:auto;display:block}
.empty p{margin:0;font-size:22px;line-height:30px;font-weight:500}
.pastbtn{margin-top:32px}

/* Guide */
.guide{display:flex;flex-direction:column;gap:10px}
.guide details{background:var(--surface-alt);border-radius:var(--radius-md);padding:0 20px}
.guide summary{font-size:17px;line-height:24px;font-weight:500;padding:14px 0;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
.guide summary::-webkit-details-marker{display:none}
.guide summary::after{content:"+";color:var(--ink-muted);font-weight:300}
.guide details[open] summary::after{content:"\2212"}
.guide ul{margin:0 0 16px;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.guide li{overflow-wrap:anywhere}
.guide a{font-weight:500;color:var(--title)}
.beliefs{background:var(--indigo);color:var(--linen);border-radius:var(--radius-md);padding:24px 20px;margin-bottom:6px;display:flex;flex-direction:column;gap:14px}
.beliefs .eyebrow{color:var(--neon-lime)}
.bintro{margin:0;font-size:20px;line-height:28px;font-weight:300}
.beliefs ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.beliefs li{display:flex;flex-direction:column;gap:2px}
.beliefs li b{font-size:17px;line-height:24px;font-weight:700}
.beliefs li span{font-size:15px;line-height:22px;color:var(--fog)}
.tagline{margin-top:48px;text-align:center;color:var(--ink-muted);font-size:14px}

/* Crew roster */
.roster{display:flex;flex-direction:column;background:var(--surface-alt);border-radius:var(--radius-md);overflow:hidden}
.rrow{display:grid;grid-template-columns:1fr auto;grid-template-areas:"name count" "full count";align-items:center;gap:0 12px;text-align:left;border:0;background:none;padding:12px 16px;border-bottom:1.5px solid var(--surface)}
.rrow:last-child{border-bottom:0}
.rname{grid-area:name;font-weight:700}
.rfull{grid-area:full;font-size:13px;color:var(--ink-muted)}
.rcount{grid-area:count;font-size:13px;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.shiftlist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.shiftlist .lbl{margin-left:6px}

/* Forms */
.panel{background:var(--surface-alt);border-radius:var(--radius-md);padding:20px;display:flex;flex-direction:column;gap:16px;margin-bottom:20px}
.panel h3{font-size:20px;line-height:28px;font-weight:500;margin:0}
.form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label,.flabel{font-size:14px;line-height:20px;font-weight:500;color:var(--ink)}
.field input,.field textarea,.field select{width:100%;min-height:44px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:9px 14px;font-size:16px;color:var(--ink)}
.field input:disabled{opacity:.6}
.field textarea{min-height:88px;resize:vertical;line-height:22px}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.check{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:500}
.check input{width:20px;height:20px;accent-color:var(--violet)}
.pickrow{display:flex;flex-wrap:wrap;gap:6px}
.toggle{height:32px;padding:0 12px;border-radius:var(--radius-pill);border:0;background:var(--surface-raised);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--hairline);font-size:14px;font-weight:500}
.toggle[aria-pressed="true"]{background:var(--action);color:var(--on-action);box-shadow:none;font-weight:700}
.formmore summary{cursor:pointer;font-weight:500;font-size:15px;padding:4px 0 8px}
.venue-row{display:flex;flex-direction:column;gap:10px;padding-bottom:16px;border-bottom:1.5px solid var(--hairline)}
.autofill{font-size:13px;line-height:18px;color:var(--title);font-weight:500}

/* Sheets */
.scrim{position:fixed;inset:0;background:var(--scrim);z-index:20;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--surface);width:100%;max-width:600px;max-height:92%;overflow:auto;border-radius:var(--radius-md) var(--radius-md) 0 0;padding:24px max(16px,env(safe-area-inset-left,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-right,0px));display:flex;flex-direction:column;gap:16px}
@media (min-width:700px){.scrim{align-items:center}.sheet{border-radius:var(--radius-md);max-height:88%;padding-inline:32px}}
.sheet h3{font-size:22px;line-height:30px;font-weight:700;margin:0}
.sheet p{margin:0}
.sheethead{display:flex;justify-content:space-between;align-items:center;gap:12px}
.close{border:0;background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-pill);width:36px;height:36px;font-size:20px;line-height:1;flex:none}
.msg{background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 16px;white-space:pre-wrap;font-size:15px;line-height:22px;user-select:all;overflow-wrap:anywhere}
.phone{font-weight:700;font-variant-numeric:tabular-nums;user-select:all}
.sheetfoot{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--indigo);color:var(--linen);padding:10px 20px;border-radius:var(--radius-pill);font-weight:500;z-index:30;max-width:calc(100% - 32px);text-align:center}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .toast{background:var(--neon-lime);color:var(--indigo)} }
:root[data-theme="dark"] .toast{background:var(--neon-lime);color:var(--indigo)}
@media (prefers-reduced-motion:no-preference){.sheet,.toast{animation:fade .25s ease-out}@keyframes fade{from{opacity:0}to{opacity:1}}}
@media (max-width:400px){.ev{grid-template-columns:44px 1fr;gap:10px;padding:14px}.date{width:44px;height:44px}.date .day{font-size:17px;line-height:22px}.btn.join{padding:0 14px}.evtop h3{font-size:22px;line-height:28px}.logo{height:56px}}

/* Sign-in */
.login{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding-block:32px}
.login h1{font-size:32px;line-height:40px;font-weight:700;margin:0}
.login p{margin:0;color:var(--ink-muted);max-width:360px}
.login form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:12px;text-align:left}
.login .btn{width:100%}
.codeinput{letter-spacing:.4em;font-size:22px!important;text-align:center;font-variant-numeric:tabular-nums}
.err{color:var(--attention);font-size:14px;font-weight:500}
.loading{padding:64px 0;text-align:center;color:var(--ink-muted)}
.signout{margin-top:8px}
.stats{display:flex;gap:24px;flex-wrap:wrap}
.stat b{display:block;font-size:32px;line-height:36px;font-weight:700;color:var(--title)}
.stat span{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}
.inline{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.inline .field{flex:1;min-width:160px}
.rtag{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--title);margin-left:6px}
.reqbadge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--pink);color:var(--white);font-size:11px;font-weight:700;margin-left:6px}

/* Add to home screen tutorial */
.install{min-height:100vh;min-height:100dvh;background:var(--indigo);color:var(--linen);display:flex;justify-content:center;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));padding-block:calc(32px + env(safe-area-inset-top,0px)) calc(32px + env(safe-area-inset-bottom,0px))}
.install-in{width:100%;max-width:440px;display:flex;flex-direction:column;gap:20px}
.ilogo{height:40px;width:auto;align-self:flex-start;margin-bottom:8px}
.install .eyebrow{color:var(--neon-lime)}
.install h1{font-size:32px;line-height:38px;font-weight:700;margin:0;text-wrap:balance;color:var(--white)}
.isub{margin:0;font-size:17px;line-height:25px;color:var(--fog)}
.inote{margin:0;font-size:15px;line-height:22px;background:rgba(255,255,255,.08);border-radius:var(--radius-sm);padding:12px 14px;color:var(--white)}
.isteps{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.istep{display:grid;grid-template-columns:32px 1fr 44px;align-items:center;gap:14px;background:rgba(255,255,255,.06);border-radius:var(--radius-md);padding:14px 14px 14px 16px}
.inum{width:32px;height:32px;border-radius:50%;background:var(--neon-lime);color:var(--indigo);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center}
.itext{display:flex;flex-direction:column;gap:2px;min-width:0}
.itext b{font-size:17px;line-height:23px;font-weight:700;color:var(--white)}
.itext span{font-size:14px;line-height:20px;color:var(--mist)}
.iicon{width:44px;height:44px;border-radius:12px;border:1.5px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center}
.iicon svg{width:24px;height:24px;fill:none;stroke:var(--white);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.iicon svg circle[r="1.2"]{fill:var(--white)}
.iactions{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:8px}
.iactions .btn{width:100%;height:50px;font-size:16px}
.install .btn.lime{background:var(--neon-lime);color:var(--indigo)}
#install-now{width:100%;height:50px;font-size:16px}
.ilink{background:none;border:0;color:var(--fog);font-size:15px;font-weight:500;padding:10px;cursor:pointer}
.itag{margin:auto 0 0;padding-top:24px;text-align:center;color:var(--mist);font-size:14px}

/* Brand bubble artwork has a white ground: multiply lets it sit on light surfaces without a box */
.empty img{mix-blend-mode:multiply}

/* ---------- v2: bottom tab bar ---------- */
.wrap{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:15;background:var(--indigo);border-top:1px solid rgba(255,255,255,.08);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.tabbar-in{max-width:560px;margin:0 auto;display:flex}
.tabbar button{flex:1;min-width:0;border:0;background:none;color:var(--mist);display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px 8px;font-size:11px;line-height:14px;font-weight:500;-webkit-tap-highlight-color:transparent}
.tabbar button[aria-current="page"]{color:var(--neon-lime)}
.ticon{position:relative;width:28px;height:28px;display:flex;align-items:center;justify-content:center}
.ticon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tabbar button[aria-current="page"] .ticon svg{stroke-width:2.2}
.tlabel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tbadge{position:absolute;top:-2px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--pink);color:var(--white);font-size:11px;line-height:13px;font-weight:700;text-align:center;box-shadow:0 0 0 2px var(--indigo)}
.tbadge:empty{min-width:10px;width:10px;height:10px;padding:0;top:0;right:-2px}
.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.appbar-in{padding-block:24px 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Welcome */
.welcome{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.welcome h1{margin:0;font-size:30px;line-height:36px;font-weight:700;color:var(--title);text-wrap:balance}
.welcome > p{margin:0;font-size:16px;line-height:24px;color:var(--ink-muted)}
.wchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.wnote{display:flex;flex-direction:column;gap:2px;background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 14px;margin-top:4px}
.wnote .eyebrow{color:var(--title)}
.wnote p{margin:0;font-size:15px;line-height:22px;white-space:pre-line}

/* Segmented choice */
.seg{display:flex;background:var(--surface-raised);border-radius:var(--radius-pill);padding:4px;gap:4px;box-shadow:inset 0 0 0 1.5px var(--hairline)}
.seg button{flex:1;border:0;background:none;height:36px;border-radius:var(--radius-pill);font-size:14px;font-weight:500;color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--action);color:var(--on-action);font-weight:700}

/* Home screen notice on Profile */
.hsnotice{background:var(--indigo);color:var(--linen);border-radius:var(--radius-md);padding:20px;display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.hsnotice .eyebrow{color:var(--neon-lime)}
.hsnotice h3{margin:0;font-size:22px;line-height:28px;font-weight:700;color:var(--white)}
.hsnotice > p{margin:0;color:var(--fog);font-size:15px;line-height:22px}
.hsnotice .seg{background:rgba(255,255,255,.08);box-shadow:none}
.hsnotice .seg button{color:var(--fog)}
.hsnotice .seg button[aria-pressed="true"]{background:var(--neon-lime);color:var(--indigo)}
.btn.lime{background:var(--neon-lime);color:var(--indigo)}
.ministeps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ministeps li{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start}
.ministeps .inum{width:28px;height:28px;font-size:14px}
.ministeps b{display:block;font-size:16px;line-height:22px;color:var(--white)}
.ministeps span:not(.inum){display:block;font-size:14px;line-height:20px;color:var(--mist)}
.hscheck{background:rgba(255,255,255,.08);border-radius:var(--radius-sm);padding:12px 14px;color:var(--white)}
.hscheck input{accent-color:var(--neon-lime)}

/* Feedback and inbox */
.fbintro{font-size:15px;line-height:22px}
.fblist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.fblist li{display:flex;flex-direction:column;gap:4px;padding-bottom:14px;border-bottom:1.5px solid var(--surface)}
.fblist li:last-child{border-bottom:0;padding-bottom:0}
.fblist p,.fbitem p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.fbmeta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.fbkind{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-pill);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--highlight);color:var(--ink)}
.fbkind.idea{background:var(--neon-lime);color:var(--indigo)}
.fbkind.question{background:var(--lavender);color:var(--indigo)}
.fbstatus{margin-left:auto;font-size:12px;font-weight:700;color:var(--ink-muted)}
.fbitem{background:var(--surface-alt);border-radius:var(--radius-md);padding:16px;display:flex;flex-direction:column;gap:10px}
.fbitem.done{opacity:.7}

/* Roster search and invite link */
.searchbar{position:relative;margin-bottom:12px}
.searchbar input{width:100%;height:46px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-pill);padding:0 16px 0 44px;font-size:16px;color:var(--ink);-webkit-appearance:none;appearance:none}
.sicon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--ink-muted);pointer-events:none}
.sicon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.rrow[hidden]{display:none}
.rnone{margin:0;padding:16px;color:var(--ink-muted);text-align:center}
.rtag.minor{color:var(--pink)}
.linkbox{background:var(--surface-raised);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;line-height:20px;font-weight:500;overflow-wrap:anywhere;user-select:all}
.pdetails{background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.pdetails .eyebrow{color:var(--title)}

/* Sign-up */
.pinkeye{color:var(--pink)}
.login form .row{grid-template-columns:1fr 1fr}

/* Date fields: stop iPhone Safari from widening them over the next field */
.field input[type="date"]{-webkit-appearance:none;appearance:none;display:block;min-width:0;max-width:100%;text-align:left;line-height:24px}
.field input[type="date"]::-webkit-date-and-time-value{text-align:left}
.row > *{min-width:0}

/* Finish your profile: one question at a time */
.onb{min-height:100vh;min-height:100dvh;background:var(--indigo);color:var(--linen);display:flex;justify-content:center;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));padding-block:calc(16px + env(safe-area-inset-top,0px)) calc(32px + env(safe-area-inset-bottom,0px))}
.onb-in{width:100%;max-width:520px;display:flex;flex-direction:column}
.onb-top{display:grid;grid-template-columns:40px 1fr 52px;align-items:center;gap:12px;height:48px}
.onb-back{width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.08);color:var(--white);display:flex;align-items:center;justify-content:center}
.onb-back[hidden]{display:flex!important;visibility:hidden}
.onb-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.onb-bar{height:6px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden}
.onb-bar span{display:block;height:100%;background:var(--neon-lime);border-radius:999px;transition:width .45s cubic-bezier(.2,.8,.2,1)}
.onb-count{font-size:13px;font-weight:500;color:var(--mist);text-align:right;font-variant-numeric:tabular-nums}
.onb-q{flex:1;display:flex;flex-direction:column;justify-content:center;gap:16px;padding-block:32px 15vh}
.onb-q form{display:flex;flex-direction:column;gap:16px}
.onb-logo{height:44px;width:auto;align-self:flex-start;margin-bottom:12px}
.onb .eyebrow{color:var(--neon-lime)}
.onb h1,.onb-label{margin:0;font-size:32px;line-height:40px;font-weight:700;color:var(--white);text-wrap:balance}
.onb-sub{margin:0;font-size:17px;line-height:25px;color:var(--fog)}
.onb-input{width:100%;background:transparent;border:0;border-bottom:2px solid rgba(255,255,255,.35);border-radius:0;color:var(--white);font-size:26px;line-height:34px;padding:10px 0;margin-top:8px;-webkit-appearance:none;appearance:none;min-width:0;color-scheme:dark}
.onb-input::placeholder{color:rgba(255,255,255,.3)}
.onb-input:focus{outline:none;border-bottom-color:var(--neon-lime)}
.onb-input[type="date"]{min-height:56px;text-align:left}
.onb-input::-webkit-date-and-time-value{text-align:left}
.onb-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}
.onb-choices button{height:56px;border-radius:var(--radius-md);border:1.5px solid rgba(255,255,255,.3);background:transparent;color:var(--white);font-size:17px;font-weight:700}
.onb-choices button[aria-pressed="true"]{background:var(--neon-lime);border-color:var(--neon-lime);color:var(--indigo)}
.onb-actions{display:flex;gap:12px;align-items:center;margin-top:8px}
.btn.big{height:52px;padding:0 32px;font-size:17px}
.onb .err{color:#ff8fb8}
@media (prefers-reduced-motion:no-preference){
  .onb-q.fwd{animation:qin .42s cubic-bezier(.2,.8,.2,1) both}
  .onb-q.back{animation:qback .42s cubic-bezier(.2,.8,.2,1) both}
  @keyframes qin{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
  @keyframes qback{from{opacity:0;transform:translateY(-28px)}to{opacity:1;transform:none}}
  .welcome{animation:fade .4s ease-out}
}

/* ---------- v2.1: waitlist, Today's Event, hours, surveys, who's online, venue search ---------- */
.textlink.small{font-size:13px}
.standby{display:inline-flex;align-items:center;gap:6px;margin-top:2px}
.infobtn{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--ink-muted);background:none;color:var(--ink-muted);font-size:12px;line-height:1;font-weight:700;font-style:italic;font-family:Georgia,serif;display:inline-flex;align-items:center;justify-content:center;padding:0}
.btn.wait{height:38px;padding:0 18px;font-size:14px;background:var(--lavender);color:var(--indigo)}
.rkind{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:2px 7px;border-radius:999px;margin-left:6px;background:var(--lavender);color:var(--indigo);vertical-align:2px}
.rkind.oncall{background:var(--neon-lime)}
.due{color:var(--pink)}
.myshift,.hoursline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;line-height:20px;color:var(--ink-muted)}
.myshift{background:var(--surface-raised);border-radius:var(--radius-sm);padding:10px 12px}
.hoursline{padding-top:8px;border-top:1.5px solid var(--hairline)}

/* Floating "Today's Event" pill */
.todo-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:16;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px 0 18px;border:0;border-radius:999px;background:var(--pink);color:var(--white);font-size:16px;font-weight:700;white-space:nowrap;max-width:calc(100% - 32px);overflow:hidden;box-shadow:0 0 0 0 rgba(234,51,122,.6),0 6px 22px rgba(234,51,122,.45)}
.todo-pill span:first-of-type{overflow:hidden;text-overflow:ellipsis}
.todo-pill svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.tcount{flex:none;min-width:22px;height:22px;border-radius:999px;background:var(--white);color:var(--pink);font-size:12px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
@media (prefers-reduced-motion:no-preference){.todo-pill{animation:pillglow 1.8s ease-in-out infinite}@keyframes pillglow{0%,100%{box-shadow:0 0 0 0 rgba(234,51,122,.55),0 6px 18px rgba(234,51,122,.4)}50%{box-shadow:0 0 0 10px rgba(234,51,122,0),0 6px 30px rgba(234,51,122,.7)}}}
.todo-pill ~ .tabbar{}
body:has(.todo-pill) .wrap{padding-bottom:calc(176px + env(safe-area-inset-bottom,0px))}
body:has(.todo-pill) .toast{bottom:calc(136px + env(safe-area-inset-bottom,0px))}

/* Shift screen */
.backlink{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:4px 0;margin-bottom:12px;font-size:15px;font-weight:500;color:var(--ink)}
.backlink svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.shifthead{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.shifthead .eyebrow{color:var(--pink)}
.shifthead h1{margin:0;font-size:34px;line-height:40px;font-weight:700;color:var(--title)}
.shiftsub{margin:0;color:var(--ink-muted)}
.shiftsub a{color:var(--title);font-weight:500}
.shiftlead{margin:0;font-size:15px}
.clockrow{display:grid;grid-template-columns:auto minmax(118px,1fr) auto;gap:10px;align-items:center}
.clockrow label{font-size:14px;font-weight:500}
.clockrow input{width:100%;min-width:0;min-height:44px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:8px 12px;font-size:17px;color:var(--ink);-webkit-appearance:none;appearance:none}
.clockrow .btn{min-width:0;padding:0 16px}
.clockrow label{white-space:nowrap}
.clockline{margin:0;font-size:17px}
.okline{margin:0;font-weight:700;color:#14915f}
.recapcard .btn.join{animation:none}
.btn:disabled{opacity:.45}

/* Survey runner extras (reuses the onboarding screen) */
.sv-opts{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.sv-opts.two{flex-direction:row}
.sv-opts.two button{flex:1}
.sv-opts button{min-height:56px;padding:12px 18px;border-radius:var(--radius-md);border:1.5px solid rgba(255,255,255,.3);background:transparent;color:var(--white);font-size:17px;font-weight:500;text-align:left;line-height:22px}
.sv-opts.two button{text-align:center;font-weight:700}
.sv-opts button[aria-pressed="true"]{background:var(--neon-lime);border-color:var(--neon-lime);color:var(--indigo);font-weight:700}
.sv-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:8px}
.sv-scale button{height:60px;border-radius:var(--radius-md);border:1.5px solid rgba(255,255,255,.3);background:transparent;color:var(--white);font-size:22px;font-weight:700}
.sv-scale button[aria-pressed="true"]{background:var(--neon-lime);border-color:var(--neon-lime);color:var(--indigo)}
.onb-area{font-size:20px;line-height:30px;resize:none;border:2px solid rgba(255,255,255,.25);border-radius:var(--radius-md);padding:12px 14px}
.onb-area:focus{border-color:var(--neon-lime)}
.onb-sub.small{font-size:14px}
.opt{font-weight:400;font-size:17px;color:var(--mist)}

/* Inbox */
.ihead{display:flex;align-items:center;gap:8px;font-size:17px;line-height:24px;font-weight:700;margin:8px 0 10px}
.icount{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--pink);color:var(--white);font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.ilist{margin-bottom:28px}
.fbkind.recap{background:var(--mint);color:var(--indigo)}
.answers{margin:0;display:flex;flex-direction:column;gap:8px}
.answers div{display:flex;flex-direction:column}
.answers dt{font-size:13px;line-height:18px;color:var(--ink-muted)}
.answers dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}

/* Survey builder and results */
.svlist{display:flex;flex-direction:column;gap:12px}
.svrow{display:flex;flex-direction:column;gap:8px;padding-bottom:12px;border-bottom:1.5px solid var(--surface)}
.svrow > div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.svrow .hint{flex-basis:100%}
.qcard{background:var(--surface-alt);border-radius:var(--radius-md);padding:14px;display:flex;flex-direction:column;gap:12px}
.qhead{display:flex;justify-content:space-between;align-items:center}
.qtools{display:flex;gap:6px}
.iconbtn{width:34px;height:34px;border-radius:50%;border:0;background:var(--surface-raised);color:var(--ink);font-size:16px;font-weight:700}
.iconbtn:disabled{opacity:.35}
.iconbtn.danger{color:var(--pink)}
.tally{display:flex;flex-direction:column;gap:6px;background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 14px}
.trow{display:grid;grid-template-columns:minmax(0,1.3fr) 2fr 28px;gap:10px;align-items:center;font-size:14px}
.tlab{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tbar{height:10px;border-radius:999px;background:var(--surface-raised);overflow:hidden}
.tbar i{display:block;height:100%;background:var(--violet);border-radius:999px}
.tnum{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}
.hrow{display:flex;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1.5px solid var(--hairline)}
.hname{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.hrow input[type=time]{-webkit-appearance:none;appearance:none;min-width:0}

/* Who's online, activity */
.onlinebar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:16px;min-height:28px}
.olabel{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted);margin-right:2px}
.opill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;background:var(--surface-alt);font-size:13px;font-weight:700}
.otab{font-weight:400;color:var(--ink-muted)}
.odot{width:8px;height:8px;border-radius:50%;background:#1fc77e;display:inline-block;box-shadow:0 0 0 3px rgba(31,199,126,.2)}
.rrow .odot{display:none;margin-right:6px;vertical-align:1px}
.rrow.on .odot{display:inline-block}
.rrow{grid-template-areas:"name count" "full count" "seen count"}
.rseen{grid-area:seen;font-size:12px;line-height:16px;color:var(--ink-muted)}
.rrow.on .rseen{color:#14915f;font-weight:500}
.sortbar{margin-bottom:12px}
.live{color:#14915f}

/* Venue search */
.vwrap{position:relative}
.suggbox{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:5;background:var(--surface-raised);border-radius:var(--radius-sm);box-shadow:0 8px 28px rgba(29,25,78,.18),inset 0 0 0 1.5px var(--hairline);overflow:hidden;max-height:300px;overflow-y:auto}
.sugg{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;border:0;background:none;text-align:left;padding:10px 14px;border-bottom:1px solid var(--hairline)}
.sugg:last-child{border-bottom:0}
.sugg b{font-size:15px;font-weight:700}
.sugg span{font-size:13px;color:var(--ink-muted)}
.savedtag{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--title)}
.pastlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pastlist button{width:100%;text-align:left;border:0;background:none;padding:10px 0;border-bottom:1.5px solid var(--surface);display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.pastlist li:last-child button{border-bottom:0}
.pl-sub{font-size:13px;color:var(--ink-muted)}

/* Google usage alert */
/* Google search allowance: a calm, solid note. Never pink: it stops itself before any charge. */
.gbanner{background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-md);padding:14px 16px;font-size:15px;line-height:22px;margin-bottom:16px;overflow-wrap:break-word}
.gbanner b{font-weight:700}

/* Crew changes */
.flagged{text-decoration:line-through;text-decoration-color:var(--pink);text-decoration-thickness:2px}
.slot.flagged{box-shadow:inset 0 0 0 1.5px var(--pink)}
.cants{display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1.5px solid var(--hairline)}
.cant{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;line-height:20px}
.cant b{color:var(--pink)}
.cants.mine{font-size:14px;line-height:20px;color:var(--pink);font-weight:500}
.fbkind.cant{background:var(--pink);color:var(--white)}
.fbkind.left{background:var(--lavender);color:var(--indigo)}

/* Date wheel: scroll month, day, year */
.dwheel{position:relative;display:grid;grid-template-columns:1.5fr .8fr 1.1fr;height:200px;border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:inset 0 0 0 1.5px var(--field-border);overflow:hidden;user-select:none;-webkit-user-select:none;max-width:420px}
.dwband{position:absolute;left:8px;right:8px;top:80px;height:40px;border-radius:10px;background:var(--surface-alt);pointer-events:none}
.dwcol{position:relative;z-index:1;height:200px;overflow-y:scroll;scroll-snap-type:y mandatory;padding:80px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent)}
.dwcol::-webkit-scrollbar{display:none}
.dwcol:focus-visible{outline:none}
.dwi{height:40px;line-height:24px;text-align:center;scroll-snap-align:center;font-size:17px;color:var(--ink-muted);cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums}
.dwi.on{color:var(--ink);font-weight:700}
.dwi.off{opacity:.25}
.dwheel.blank .dwi.on{color:var(--ink-muted);font-weight:400}
.dwnote{display:block;font-size:13px;color:var(--ink-muted);margin-top:6px}
.onb-wheel{margin-top:12px}
.onb .dwheel{background:rgba(255,255,255,.06);box-shadow:none;max-width:none}
.onb .dwband{background:rgba(255,255,255,.12)}
.onb .dwi{color:rgba(255,255,255,.4)}
.onb .dwi.on{color:var(--white)}
.onb .dwheel.blank .dwi.on{color:rgba(255,255,255,.55)}
.onb .dwnote{color:var(--mist)}

/* Pay */
.paybox{display:flex;flex-direction:column;gap:8px;background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 14px}
.row.three{grid-template-columns:1fr 1fr .8fr}
.adj summary{cursor:pointer;font-size:14px;font-weight:500;color:var(--ink-muted);padding:2px 0}
.adj .row{margin-top:8px}
.paycalc{margin:0;font-size:15px;line-height:21px}
.paycalc b{font-size:17px;margin-right:4px}
.paytotal{margin:8px 0 0;font-size:16px;text-align:right}
.payline{margin:6px 0 0;font-size:15px}
.paidtag{color:#14915f}
.paysum{background:var(--indigo);color:var(--linen);border-radius:var(--radius-md);padding:18px 20px;display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.paysum .eyebrow{color:var(--neon-lime)}
.paysum .hint{color:var(--fog)}
.paysum .btn.ghost{color:var(--white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4);align-self:flex-start;margin-top:6px}
.paysum .textlink.due{color:#ff8fb8}
.paybig{margin:0;font-size:40px;line-height:46px;font-weight:700;color:var(--white)}
.payrange{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.payperson{background:var(--surface-alt);border-radius:var(--radius-md);padding:16px;display:flex;flex-direction:column;gap:10px}
.pphead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.ppamt{display:flex;flex-direction:column;align-items:flex-end}
.ppamt b{font-size:20px}
.pplines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pplines li{display:flex;justify-content:space-between;gap:10px;font-size:14px;line-height:20px;padding-top:8px;border-top:1.5px solid var(--surface)}
.ppl{display:flex;flex-direction:column;align-items:flex-end;font-weight:700;white-space:nowrap}
.yearrep{margin-top:28px}
.yrlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.yrlist li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1.5px solid var(--surface)}
.rtag.due{color:var(--pink)}
.rtag.needs{color:var(--pink)}
.seg.wrap{flex-wrap:wrap;border-radius:var(--radius-md)}
.seg.wrap button{flex:1 0 30%}
.toggle.needs{box-shadow:inset 0 0 0 1.5px var(--pink)}
.toggle i{font-style:normal;color:var(--pink);font-weight:700}
.toggle[aria-pressed="true"] i{color:var(--neon-lime)}

/* Apply */
.filepick{display:flex;align-items:center;justify-content:center;min-height:72px;border:2px dashed rgba(255,255,255,.35);border-radius:var(--radius-md);color:var(--white);font-size:17px;font-weight:500;cursor:pointer;margin-top:8px;padding:12px}
.filepick input{position:absolute;opacity:0;width:1px;height:1px}
.onb-input + .onb-input{margin-top:4px}
.applicant .actions{align-items:center}

/* Moving Goobers off a crew */
.crewbtn{border:0;font:inherit;color:inherit;cursor:pointer}
.crewbtn.lead{background:none;padding:0;font-weight:700;text-decoration:underline;text-decoration-color:var(--hairline);text-underline-offset:3px}
.slot.crewbtn{background:var(--surface-alt)}
.crewhint{font-size:12px}
.menulist{display:flex;flex-direction:column;gap:8px}
.menuitem{display:flex;flex-direction:column;gap:2px;text-align:left;border:0;background:var(--surface-alt);border-radius:var(--radius-sm);padding:12px 14px;color:var(--ink);text-decoration:none;font:inherit;cursor:pointer}
.menuitem b{font-size:16px}
.menuitem span{font-size:13px;color:var(--ink-muted)}
.bumplead{font-weight:700}
.bumplist{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:22px}
.carebox{background:#ffe3ee;color:var(--indigo);border-radius:var(--radius-sm);padding:12px 14px;font-size:15px;line-height:22px}
.btn.danger{background:var(--pink);color:var(--white)}
.noticemsg{white-space:pre-line;font-size:16px;line-height:24px}

/* Consent */
.consentlist{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:22px}
.onb-consent{background:rgba(255,255,255,.06);border-radius:var(--radius-md);padding:14px 16px}
.onb-consent .consentlist{color:var(--fog)}
.onb-consent .hint{color:var(--mist)}

/* ---------- Growth: the six attributes and the web ---------- */
.growhero{background:var(--indigo);color:var(--linen);border-radius:var(--radius-md);padding:22px 18px;display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.growhero .eyebrow{color:var(--neon-lime)}
.growhero h1{margin:0;font-size:30px;line-height:36px;font-weight:700;color:var(--white);text-wrap:balance}
.growhero > p{margin:0;color:var(--fog);font-size:16px;line-height:24px}
.growhero .radar{align-self:center}
.growhero .lbl{color:var(--mist);margin:4px 0 -4px}
.ghead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.infobtn.light{border-color:var(--fog);color:var(--fog);width:26px;height:26px;font-size:14px;flex:none}
.gchips{display:flex;flex-wrap:wrap;gap:6px}
.gchips span{font-size:14px;font-weight:700;padding:5px 12px;border-radius:999px;background:rgba(228,254,82,.16);color:var(--neon-lime)}
.panel .gchips span,.gabout .gchips span{background:var(--surface-raised);color:var(--ink)}
.gchips.good span{box-shadow:inset 0 0 0 1.5px var(--mint)}
.gchips.grow span{box-shadow:inset 0 0 0 1.5px var(--pink)}
.gabout{gap:10px}
.gabout .lbl{margin:0}
.ghow{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:22px;color:var(--fog)}
.ghow b{color:var(--white)}
.ghow.dark{color:var(--ink)}
.ghow.dark b{color:var(--ink)}
.growcta{background:var(--pink);color:var(--white);border-radius:var(--radius-md);padding:20px;display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.growcta h3{margin:0;font-size:22px;line-height:28px}
.growcta p{margin:0;font-size:15px;line-height:22px}
.growcta .btn{align-self:flex-start;margin-top:4px}
.radar{width:100%;max-width:320px;height:auto;display:block}
.radar .rg{fill:none;stroke:rgba(255,255,255,.14);stroke-width:1}
.radar .rs{stroke:rgba(255,255,255,.14);stroke-width:1}
.radar .rp-now{fill:rgba(228,254,82,.22);stroke:var(--neon-lime);stroke-width:2.5;stroke-linejoin:round}
.radar .rp-start{fill:rgba(201,171,224,.14);stroke:var(--lavender);stroke-width:2;stroke-linejoin:round}
.radar .rp-self{fill:rgba(234,51,122,.16);stroke:var(--pink);stroke-width:2;stroke-linejoin:round}
.radar .rl{fill:var(--fog);font-size:12px;font-weight:700;letter-spacing:.08em;font-family:var(--font-sans)}
.radar .rv{fill:var(--neon-lime);font-size:16px;font-weight:700;font-family:var(--font-sans)}
@media (prefers-reduced-motion:no-preference){.radar .rp-now{animation:webin .7s cubic-bezier(.2,.8,.2,1) both;transform-origin:160px 160px}@keyframes webin{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}}
.rlegend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;font-size:12px;color:var(--fog)}
.lg{display:inline-flex;align-items:center;gap:6px}
.lg::before{content:"";width:12px;height:12px;border-radius:3px;background:rgba(228,254,82,.3);box-shadow:inset 0 0 0 2px var(--neon-lime)}
.lg.start::before{background:rgba(201,171,224,.25);box-shadow:inset 0 0 0 2px var(--lavender)}
.lg.self::before{background:rgba(234,51,122,.25);box-shadow:inset 0 0 0 2px var(--pink)}
.legendlist{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:10px}
.legendlist li{display:flex;gap:10px;align-items:flex-start}
.sw{flex:none;width:18px;height:18px;border-radius:4px;margin-top:3px}
.sw.now{background:rgba(228,254,82,.5);box-shadow:inset 0 0 0 2px #9db800}
.sw.start{background:rgba(201,171,224,.4);box-shadow:inset 0 0 0 2px var(--lavender)}
.sw.self{background:rgba(234,51,122,.3);box-shadow:inset 0 0 0 2px var(--pink)}
.gnote{margin:0;text-align:center;color:var(--mist);font-size:13px;line-height:18px}
.gfocus .eyebrow{color:var(--pink)}
.gfocus h3{margin-top:-8px}
.gfocus > .hint{margin-top:-8px}
.gnext,.gtip{background:var(--surface-raised);border-radius:var(--radius-sm);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.gnext p,.gtip p{margin:0;font-size:16px;line-height:23px;font-weight:500}
.gtip{background:var(--indigo);color:var(--linen)}
.gtip .lbl{color:var(--neon-lime)}
.gtip.alt{background:var(--surface-raised);color:var(--ink)}
.gtip.alt .lbl{color:var(--ink-muted)}
.ihead{margin:24px 0 10px}
.glist,.gpicks{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.gpicks{margin:0}
.grow-row{display:flex;align-items:center;gap:14px;text-align:left;border:0;background:var(--surface-alt);border-radius:var(--radius-md);padding:14px 16px;color:var(--ink);font:inherit;cursor:pointer;width:100%}
.grow-row[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--action)}
.gr-score{flex:none;width:48px;height:48px;border-radius:12px;background:var(--indigo);color:var(--neon-lime);font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.gr-score.none{color:var(--mist)}
.gr-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.gr-text b{font-size:17px}
.gr-text span{font-size:14px;line-height:20px;color:var(--ink-muted)}
.gacc{background:var(--surface-alt);border-radius:var(--radius-md)}
.gacc > summary{display:flex;align-items:center;gap:14px;padding:14px 16px;cursor:pointer;list-style:none}
.gacc > summary::-webkit-details-marker,.gq > summary::-webkit-details-marker,.beliefs > summary::-webkit-details-marker{display:none}
.gacc > summary::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(45deg);margin:0 4px 4px 0;transition:transform .2s}
.gacc[open] > summary::after{transform:rotate(-135deg);margin-bottom:-4px}
.gacc-body{padding:0 12px 12px;display:flex;flex-direction:column;gap:8px}
.gq{background:var(--surface-raised);border-radius:var(--radius-sm)}
.gq > summary{list-style:none;cursor:pointer;padding:12px 14px;font-weight:700;font-size:15px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--title)}
.gq > summary::after{content:"+";font-size:20px;line-height:1;font-weight:500}
.gq[open] > summary::after{content:"–"}
.gq-body{padding:0 14px 12px}
.gq-body .lbl{display:block;margin:4px 0 6px}
@media (prefers-reduced-motion:no-preference){.gacc[open] .gacc-body,.gq[open] .gq-body{animation:fade .25s ease-out}}
.gfoot{display:flex;flex-wrap:wrap;gap:4px 16px;margin-bottom:12px}
.gtips,.gsigs,.gread{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:8px}
.gtips li{background:var(--surface-alt);border-radius:var(--radius-sm);padding:10px 12px;font-size:15px;line-height:22px}
.gsigs li{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:15px;line-height:21px;padding-bottom:8px;border-bottom:1.5px solid var(--hairline)}
.gsigs li:last-child{border-bottom:0}
.gsigs li span{display:flex;flex-direction:column;gap:2px}
.gsigs i{font-style:normal;font-size:13px;color:var(--ink-muted)}
.mk{flex:none;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--mint);color:var(--indigo)}
.mk.not_yet{background:var(--lavender)}
.gread li{display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:21px;padding-bottom:8px;border-bottom:1.5px solid var(--hairline)}
.sheet .growhero{margin-bottom:16px}
/* the review runner and "tell us about yourself" */
.gr-mean{margin-top:-8px}
.grlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.grlist li{display:flex;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.12)}
.grlist p{margin:0;color:var(--white);font-size:17px;line-height:24px;font-weight:500}
.grhere{font-size:13px;color:var(--mist);margin-top:-4px}
.grseg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.grseg.three{grid-template-columns:1fr 1fr 1.25fr}
.grseg button{min-height:44px;padding:0 6px;border-radius:999px;border:1.5px solid rgba(255,255,255,.3);background:transparent;color:var(--white);font-size:15px;font-weight:700;line-height:18px}
.grseg button[data-v="met"][aria-pressed="true"]{background:var(--neon-lime);border-color:var(--neon-lime);color:var(--indigo)}
.grseg button[data-v="not_yet"][aria-pressed="true"]{background:var(--lavender);border-color:var(--lavender);color:var(--indigo)}
.grseg button[data-v="skip"][aria-pressed="true"]{background:var(--white);border-color:var(--white);color:var(--indigo)}
.btn.waiting{opacity:.45}
.onb-q:has(.grlist),.onb-q:has(.onb-chips){justify-content:flex-start;padding-bottom:48px}
.onb .sv-opts button,.onb-chips button{border-radius:var(--radius-md);border:1.5px solid rgba(255,255,255,.3);background:transparent;color:var(--white);font-size:17px;font-weight:700}
.onb .sv-opts button{min-height:56px;text-align:left;padding:0 18px}
.onb .sv-opts button[aria-pressed="true"],.onb-chips button[aria-pressed="true"]{background:var(--neon-lime);border-color:var(--neon-lime);color:var(--indigo)}
.onb-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.onb-chips button{border-radius:999px;padding:10px 16px;font-size:16px}
.onb-terms{margin:4px 0 0;color:var(--mist);font-size:14px}
.onb-terms .textlink{color:var(--white);font-size:14px}
/* captains */
.crewrev{display:flex;flex-direction:column}
.crow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1.5px solid var(--surface)}
.crow .actions{align-items:center}
/* admins */
.ideas,.vlog{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ideas li{background:var(--surface-raised);border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.ideas p{margin:0}
.vlog li{font-size:14px;line-height:20px}
.sigblock{border:1.5px solid var(--hairline);border-radius:var(--radius-sm);padding:12px;display:flex;flex-direction:column;gap:10px;margin-bottom:10px}
.sighead{display:flex;align-items:baseline;gap:6px}
/* terms */
.terms h4{margin:16px 0 4px;font-size:16px}
.terms p{margin:0;font-size:15px;line-height:22px}
/* What we believe, collapsible */
details.beliefs{display:block}
details.beliefs > summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
details.beliefs > summary::after{content:"+";font-size:22px;font-weight:500;letter-spacing:0}
details.beliefs[open] > summary::after{content:"–"}
details.beliefs[open] ol{margin-top:14px}
/* What we believe stays deep purple even though it now opens and closes */
.guide details.beliefs{background:var(--indigo);color:var(--linen);padding:20px}
.guide details.beliefs > summary{padding:0;font-size:12px;line-height:16px;font-weight:700;color:var(--neon-lime)}
.guide details.beliefs > summary::after{color:var(--neon-lime);font-size:22px;font-weight:400}
.guide details.beliefs ol{padding-left:0}
.guide details.beliefs li span{color:var(--fog)}
/* Growth: we're on your team */
.gcommit{margin:0;font-size:15px;line-height:22px;font-weight:700;color:var(--neon-lime)}
.growhero .gcommit{color:var(--neon-lime)}
.vbox{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1.5px solid var(--hairline)}
/* Settings menu, like a phone's settings list */
.setmenu{display:flex;flex-direction:column;background:var(--surface-alt);border-radius:var(--radius-md);overflow:hidden;margin-bottom:20px}
.setrow{display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;padding:16px 18px;color:var(--ink);font:inherit;cursor:pointer;border-bottom:1.5px solid var(--surface)}
.setrow:last-child{border-bottom:0}
.setrow > span:first-child{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.setrow b{font-size:17px;font-weight:700}
.setrow > span:first-child span{font-size:14px;line-height:20px;color:var(--ink-muted)}
.chev{flex:none;width:9px;height:9px;border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(-45deg)}
/* Test the Goober app */
.testbar{position:fixed;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--neon-lime);color:var(--indigo);padding:calc(8px + env(safe-area-inset-top,0px)) 14px 8px;font-size:14px;line-height:18px;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.testbar i{font-style:normal;opacity:.7;margin-left:4px}
.testbar button{flex:none;border:0;border-radius:999px;background:var(--indigo);color:var(--white);font-weight:700;font-size:14px;padding:8px 14px}
body.testing{padding-top:48px}
.tprogress{height:8px;border-radius:999px;background:var(--surface-raised);overflow:hidden}
.tprogress span{display:block;height:100%;background:var(--mint);border-radius:999px}
.tready{margin:0;font-weight:700}
.tready.yes{color:#14915f}
.tlist{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.tflow{background:var(--surface-alt);border-radius:var(--radius-md);padding:16px;display:flex;flex-direction:column;gap:8px;border-left:5px solid var(--hairline)}
.tflow.approved{border-left-color:var(--mint)}
.tflow.changes{border-left-color:var(--pink)}
.tf-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tf-top b{font-size:17px}
.tchip{flex:none;font-size:11px;font-weight:700;letter-spacing:.04em;padding:3px 9px;border-radius:999px;background:var(--surface-raised);color:var(--ink-muted);white-space:nowrap}
.tchip.approved{background:var(--mint);color:var(--indigo)}
.tchip.changes{background:var(--pink);color:var(--white)}
.tjust{font-size:20px;font-weight:700;margin:0 0 6px}
.tnotes{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.tnotes li{background:var(--surface-alt);border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:4px}
.tnotes li p{margin:0}
.tnotes li.fixed{opacity:.6}
.tn-meta{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.tkind{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:2px 8px;border-radius:999px;background:var(--surface-raised)}
.tkind.approve{background:var(--mint);color:var(--indigo)}
.tkind.change{background:var(--pink);color:var(--white)}
/* Pay: tap a shift to edit it; notes log */
.ppedit{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;background:none;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.ppedit-l{display:block;font-size:12px;font-weight:700;color:var(--title);text-decoration:underline;text-underline-offset:3px;margin-top:2px}
.ppnote{display:block;margin-top:4px;font-size:13px;line-height:18px;background:var(--surface-raised);border-radius:8px;padding:4px 8px;color:var(--ink)}
.ppnote i{font-style:normal;color:var(--ink-muted)}
.snotes{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.snotes li{background:var(--surface-raised);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}
.snotes li.auto{background:transparent;box-shadow:inset 0 0 0 1.5px var(--hairline)}
.snotes li p{margin:0;font-size:14px;line-height:20px}
.snotes li.more{background:none;padding:0 2px}
.notebox{display:flex;flex-direction:column;gap:10px;margin-top:16px;padding-top:16px;border-top:1.5px solid var(--hairline)}
.notebox .chip{font-size:13px}
.paidbox{background:#e6f9f0;color:var(--indigo);border-radius:var(--radius-sm);padding:12px 14px;display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.paidbox p{margin:0}
.paidbox .hint{color:var(--slate)}
.paidbox .btn{align-self:flex-start}
.ev.flash{animation:flash 1.6s ease-out}
@keyframes flash{0%,40%{box-shadow:0 0 0 4px var(--pink)}100%{box-shadow:0 0 0 0 transparent}}
/* Point of contact (admins and that event's captains) */
.evcontact{background:var(--surface-raised);border-radius:var(--radius-sm);padding:12px 14px;display:flex;flex-direction:column;gap:6px;margin-bottom:12px;box-shadow:inset 0 0 0 1.5px var(--lavender)}
.evcontact p{margin:0;font-size:15px;line-height:22px}
.evcontact .eyebrow{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;color:var(--title)}
.evcontact a{font-weight:700;color:var(--title)}
.evc-note .lbl{display:block}
.lockt{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:none;color:var(--ink-muted);background:var(--surface-alt);padding:1px 8px;border-radius:999px}
.evcbox .flabel{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.evcbox textarea{min-height:72px}

/* ---------- San Francisco Forest School (flow.sfforest.school) ----------
   Same family as Oogubi, quieter: white canvas, charcoal type, panels and buttons,
   Faustina headings over Sofia Pro Soft, chartreuse once or twice and only on dark. */
:root[data-brand="sffs"]{
  --charcoal:#111315; --cream-sffs:#fbf6f2; --frame:#424a54; /* charcoal grey: header, tab bar, setup */
  --surface:var(--white); --surface-alt:var(--cream-sffs); --surface-raised:var(--white);
  --ink:var(--charcoal); --ink-muted:var(--slate); --title:var(--charcoal); --hairline:var(--fog); --field-border:var(--slate);
  --action:var(--charcoal); --on-action:var(--white); --highlight:var(--neon-lime); --focus:var(--charcoal);
  --scrim:rgba(17,19,21,.5);
  --font-display:"Faustina", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark){ :root[data-brand="sffs"]:not([data-theme="light"]){
  --surface:#424a54; --surface-alt:#4b545f; --surface-raised:#545e6a; --frame:#353b43;
  --ink:var(--cream-sffs); --ink-muted:var(--fog); --title:var(--white); --hairline:var(--slate); --field-border:var(--mist);
  --action:var(--neon-lime); --on-action:var(--charcoal); --highlight:var(--neon-lime); --focus:var(--neon-lime); --scrim:rgba(0,0,0,.6); color-scheme:dark }}
:root[data-brand="sffs"][data-theme="dark"]{
  --surface:#424a54; --surface-alt:#4b545f; --surface-raised:#545e6a; --frame:#353b43;
  --ink:var(--cream-sffs); --ink-muted:var(--fog); --title:var(--white); --hairline:var(--slate); --field-border:var(--mist);
  --action:var(--neon-lime); --on-action:var(--charcoal); --highlight:var(--neon-lime); --focus:var(--neon-lime); --scrim:rgba(0,0,0,.6); color-scheme:dark }
[data-brand="sffs"] body::before,
[data-brand="sffs"] .appbar,
[data-brand="sffs"] .install,
[data-brand="sffs"] .growhero{background:var(--frame)}
[data-brand="sffs"] .install{color:var(--cream-sffs)}
[data-brand="sffs"] .logo{height:40px}
[data-brand="sffs"] .ilogo{height:40px;width:auto;align-self:flex-start}
/* Faustina only for big headers; everything else is Sofia Pro Soft. */
[data-brand="sffs"] h1,[data-brand="sffs"] h2.month,[data-brand="sffs"] .hbtitle{font-family:var(--font-display);font-weight:700;letter-spacing:0}
[data-brand="sffs"] h2:not(.month),[data-brand="sffs"] h3{font-family:var(--font-sans);font-weight:700}
[data-brand="sffs"] .login h1,[data-brand="sffs"] .growhero h1{font-weight:800}
[data-brand="sffs"] .pinkeye{color:var(--ink-muted)}
/* Chartreuse buttons only on dark; on light they become charcoal. */
[data-brand="sffs"] .btn.lime{background:var(--action);color:var(--on-action)}
[data-brand="sffs"] .growhero .btn.lime,[data-brand="sffs"] .install .btn.lime{background:var(--neon-lime);color:var(--charcoal)}
/* The call to action is a quiet panel, not a pink block. */
[data-brand="sffs"] .growcta{background:var(--surface-alt);color:var(--ink);box-shadow:inset 0 0 0 1px var(--hairline)}
/* Left-aligned by default (brand guide: asymmetry over centring). */
[data-brand="sffs"] .login{align-items:stretch;text-align:left;max-width:360px;margin-inline:auto}
[data-brand="sffs"] .login p{max-width:none}
[data-brand="sffs"] .tagline{text-align:left;max-width:360px;margin-inline:auto}
/* Chartreuse once: the main button. Step numbers stay quiet. */
[data-brand="sffs"] .inum{background:var(--cream-sffs);color:var(--charcoal)}

/* Header and tab bar: one charcoal grey frame, the wordmark centred. */
[data-brand="sffs"] .tabbar{background:var(--frame);border-top-color:rgba(255,255,255,.1)}
[data-brand="sffs"] .tabbar button{color:var(--mist)}
[data-brand="sffs"] .previewbar .btn{background:var(--charcoal)}
[data-brand="sffs"] .previewbar{color:var(--charcoal)}
/* The emblem, drawn in the text colour so it shows in light and dark. */
.lmark,.emark,.hbmark,.onbmark{-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;background:var(--ink);flex-shrink:0}
.lmark{width:min(300px,72vw);height:min(300px,72vw);align-self:center;margin:8px 0 28px}
.emark{width:150px;height:150px;opacity:.9}
[data-brand="sffs"] .login{justify-content:flex-start;min-height:0;padding-top:44px}
/* Today */
.dayhead{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.daytitle{flex:1;min-width:0}
.daytitle .month{margin:0}
.daynav{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--hairline);background:var(--surface-raised);color:var(--ink);display:grid;place-items:center;flex-shrink:0}
.daynav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.daynav.next svg{transform:scaleX(-1)}
.dayme{margin-bottom:16px}
.dmine{margin:4px 0 0;font-size:17px;line-height:26px}
.dmine span{color:var(--ink-muted);font-size:15px}
.duties{list-style:none;margin:0 0 20px;padding:0;border-top:1px solid var(--hairline)}
.duty{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:baseline;padding:14px 4px;border-bottom:1px solid var(--hairline)}
.duty.mine{background:var(--surface-alt);margin-inline:-12px;padding-inline:16px;border-radius:var(--radius-sm)}
.dtime{color:var(--ink-muted);font-size:14px;font-variant-numeric:tabular-nums}
.dwhat{font-weight:700;font-size:17px;line-height:24px}
.dwho{text-align:right;font-size:15px}
.dwho i{font-style:normal;font-size:12px;font-weight:700;background:var(--highlight);color:var(--charcoal);padding:1px 8px;border-radius:999px;margin-left:4px}
.dwho i.open{background:none;color:var(--ink-muted);font-weight:500;font-size:15px;padding:0}
@media (max-width:420px){.duty{grid-template-columns:56px 1fr;}.dwho{grid-column:2;text-align:left;color:var(--ink-muted)}}
.usual{background:var(--surface-alt);border-radius:var(--radius-md);padding:0 18px;margin-bottom:12px}
.usual summary{padding:14px 0;font-weight:500;cursor:pointer}
.usual ol{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:8px}
.usual li{display:grid;grid-template-columns:110px 1fr;gap:10px;font-size:15px;line-height:22px}
.usual li span{color:var(--ink-muted)}
.dprows{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.dprow{display:grid;grid-template-columns:72px 1fr 36px;gap:6px;align-items:center}
.dprow select{grid-column:1/3}
.dprow .dpx{grid-row:1;grid-column:3;width:36px;height:36px;border-radius:50%;border:0;background:var(--surface-alt);color:var(--ink);font-size:20px}
.dprow input,.dprow select{min-width:0}
.dprow + .dprow{border-top:1px solid var(--hairline);padding-top:8px}
/* Reps for leads */
.repseg{margin-bottom:20px}
.teamhint{margin:-4px 0 12px}
/* Handbook: chapters fold, sections fold inside them. */
.hb .hbch{padding:0 18px}
.hb .hbch > summary{font-family:var(--font-display,inherit);font-weight:700;font-size:20px;justify-content:flex-start;align-items:baseline}
.hb .hbch > summary::after{margin-left:auto}
.hbn{font-family:var(--font-body,inherit);font-size:13px;font-weight:700;color:var(--ink-muted);min-width:22px}
.hbbody{padding-bottom:12px;font-size:16px;line-height:25px}
.hbbody p{margin:0 0 10px}
.hb .hbsec{background:var(--surface-raised);border-radius:var(--radius-sm);padding:0 14px;margin:8px 0;box-shadow:inset 0 0 0 1px var(--hairline)}
.hb .hbsec > summary{font-size:16px;font-weight:700;padding:12px 0}
.hbbox{background:var(--surface-raised);border-left:3px solid var(--ink);padding:10px 14px;margin:0 0 12px;border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.hbsec .hbbox{background:var(--surface-alt)}
.hbbox ol,.hbbox ul,.hbbody ol,.hbbody ul{margin:0 0 6px;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.hbtable{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.hbrow{background:var(--surface-raised);border-radius:var(--radius-sm);padding:10px 12px;display:flex;flex-direction:column;gap:6px;box-shadow:inset 0 0 0 1px var(--hairline)}
.hbsec .hbrow{background:var(--surface-alt);box-shadow:none}
.hbrow > div{display:flex;flex-direction:column}
.hbrow .lbl{font-size:12px;letter-spacing:.04em;color:var(--ink-muted)}
.dprow input,.dprow select{width:100%;min-height:44px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:9px 12px;font-size:16px;color:var(--ink)}
.dprow .dpt{padding-inline:10px}
/* Oogubi's indigo is charcoal at the school, everywhere it appears (setup, toasts, scores). */
:root[data-brand="sffs"]{--indigo:var(--frame)}
[data-brand="sffs"] .onb .btn.lime,[data-brand="sffs"] .hsnotice .btn.lime{background:var(--neon-lime);color:var(--charcoal)}

.dayempty p{font-size:15px;white-space:nowrap}
@media (max-width:360px){.dayempty p{white-space:normal}}
.hbmark{width:140px;height:140px;align-self:center;margin:8px 0 4px}
.hb .hbtitle{text-align:center}
/* The daily log button: always one tap away, above the tab bar. */
.logfab{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:17;display:inline-flex;align-items:center;gap:8px;height:56px;padding:0 22px 0 18px;border:0;border-radius:999px;background:var(--neon-lime);color:#111315;font-size:17px;font-weight:700;box-shadow:0 0 0 0 rgba(228,254,82,.6),0 6px 22px rgba(17,19,21,.35)}
.logfab svg,.micbtn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){.logfab{animation:logglow 2.2s ease-in-out infinite}@keyframes logglow{0%,100%{box-shadow:0 0 0 0 rgba(228,254,82,.7),0 6px 18px rgba(17,19,21,.3)}50%{box-shadow:0 0 0 12px rgba(228,254,82,0),0 6px 26px rgba(17,19,21,.4)}}}
.logfab ~ .tabbar{}
[data-brand="sffs"] .todo-pill{bottom:calc(144px + env(safe-area-inset-bottom,0px))}
[data-brand="sffs"] main.wrap{padding-bottom:180px}
.logform{display:flex;flex-direction:column;gap:12px}
.logform textarea{width:100%;min-height:110px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:12px 14px;font-size:17px;line-height:24px;color:var(--ink)}
.logtalk{display:flex;align-items:center;gap:14px}
.micbtn{width:72px;height:72px;border-radius:50%;border:0;background:var(--action);color:var(--on-action);display:grid;place-items:center;flex:none}
.micbtn svg{width:30px;height:30px}
.micbtn.on{background:var(--charcoal,#111315);color:var(--neon-lime);box-shadow:0 0 0 3px var(--neon-lime);animation:micpulse 1.2s ease-in-out infinite}
@keyframes micpulse{0%,100%{box-shadow:0 0 0 3px var(--neon-lime)}50%{box-shadow:0 0 0 9px rgba(228,254,82,.35)}}
.lgkinds{display:flex;flex-wrap:wrap;gap:8px}
.urgentchk{font-weight:700;color:var(--ink)}
.reportbox{background:var(--surface-alt);color:var(--ink);border-left:4px solid var(--ink);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:22px}
.reportbox p{margin:0}
.reportbox .hint{color:var(--ink-muted)}
.btn.danger{background:var(--charcoal,#111315);color:#fff}
.urgentbar{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;border:0;text-align:left;background:var(--charcoal,#111315);color:#fff;box-shadow:inset 6px 0 0 var(--neon-lime);border-radius:var(--radius-md);padding:14px 16px 14px 22px;margin-bottom:16px;font-size:15px}
.urgentbar b{font-size:17px}
.logpanel{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-md);padding:14px 18px;margin-bottom:16px}
.logpanel > span{display:flex;flex-direction:column;gap:2px}
.logpanel > span > span{color:var(--ink-muted);font-size:14px}
.loglist{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.logitem{background:var(--surface-alt);border-radius:var(--radius-md);padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.logitem.urgent{box-shadow:inset 4px 0 0 var(--ink)}
.logitem p{margin:0;white-space:pre-line}
.logitem input,.logitem textarea,.logitem select{width:100%;min-height:44px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:9px 12px;font-size:16px;color:var(--ink)}
.logitem select{width:auto}
.logrow{display:flex;justify-content:space-between;align-items:center}
.urgtag{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--charcoal,#111315);color:#fff;padding:2px 8px;border-radius:999px}
.logactions{flex-wrap:wrap;gap:10px;margin-bottom:8px}
.logperson{background:var(--surface-alt);border-radius:var(--radius-md);padding:0 16px;margin-bottom:10px}
.logperson summary{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 0;cursor:pointer}
.logperson .logitem{background:var(--surface-raised)}
.logperson .actions{padding-bottom:14px}
.dayhead.small .daynav{width:36px;height:36px}
.dayhead.small{margin:4px 0 12px}
.trainbox h3{margin:2px 0 8px}
.trainbar{height:8px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--hairline);overflow:hidden;margin-bottom:8px}
.trainbar span{display:block;height:100%;background:var(--action);border-radius:999px}
.gboth{margin-top:8px}
.onbmark{width:min(300px,72vw);height:min(300px,72vw);background:#fff;margin:0 auto 28px}
.pinfo summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none}
.pinfo summary h3{margin:0}
.pinfo summary::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:4px}
.pinfo[open] summary::after{transform:rotate(-135deg)}
.pinfo form{margin-top:14px;display:flex;flex-direction:column;gap:14px}
[data-brand="sffs"] .todo-pill{background:var(--frame);color:#fff;box-shadow:0 6px 22px rgba(17,19,21,.3)}
.signin{display:flex;flex-direction:column;gap:10px;width:100%}
.signin input{width:100%;min-height:52px;border:1.5px solid var(--field-border);background:var(--surface-raised);border-radius:var(--radius-sm);padding:12px 14px;font-size:17px;color:var(--ink)}
.signin .btn{width:100%;min-height:52px}
.applybox{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:28px;padding-top:20px;border-top:1px solid var(--hairline)}
.applybox p{margin:0;font-weight:500}
.applybox p{flex:1}.applybox .btn{flex:none;padding-inline:32px}
/* ---------- Field Observations: one full screen for the school day ---------- */
.fscreen{position:fixed;inset:0;z-index:40;overflow-y:auto;background:var(--frame,#424a54);color:#fff;font-weight:700;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 16px);-webkit-user-select:none;user-select:none}
.fscreen *{font-weight:700}
.ftop{display:flex;justify-content:space-between;align-items:center;gap:12px}
.fback,.flock,.fsmall{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 18px;border-radius:999px;border:2px solid rgba(255,255,255,.55);background:transparent;color:#fff;font-size:17px}
.fback svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.fmark{-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;background:#fff;width:96px;height:96px;align-self:center;flex:none}
.ftitle{margin:0;text-align:center;font-size:28px;line-height:34px;color:#fff;font-family:inherit}
.fbtn{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:16px;width:100%;border:0;border-radius:28px;padding:22px;text-align:left;color:#111315;transition:transform .08s}
.fbtn:active{transform:scale(.985)}
.fbtn:disabled{opacity:.35}
.fb-tap_talk,.fb-urgent{background:#e4fe52;min-height:min(42vh,340px)}
.fb-quote{background:var(--cream-sffs,#fbf6f2);min-height:110px}
.fb-urgent{background:#fff}
.fmic{width:76px;height:76px;border-radius:50%;background:#111315;color:#fff;display:grid;place-items:center;flex:none}
.fmic svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fbody{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.fbody b{font-size:30px;line-height:36px}
.fb-quote .fbody b{font-size:26px}
.fbody span{font-size:17px}
.fb-tap_talk:not(.on),.fb-urgent:not(.on){flex-direction:column;justify-content:center;text-align:center}
.fb-tap_talk:not(.on) .fmic,.fb-urgent:not(.on) .fmic{width:110px;height:110px}
.fb-tap_talk:not(.on) .fmic svg,.fb-urgent:not(.on) .fmic svg{width:52px;height:52px}
.fb-tap_talk:not(.on) .fbody,.fb-urgent:not(.on) .fbody{flex:none;align-items:center}
.fb-tap_talk:not(.on) .fbody b,.fb-urgent:not(.on) .fbody b{font-size:38px;line-height:44px}
/* Recording: red, a pulsing ring, a running clock, a square stop sign, the words as they come. */
.fbtn.on{background:var(--charcoal,#111315);color:#fff;align-content:flex-start;box-shadow:0 0 0 4px var(--neon-lime)}
.fbtn.on .fmic{background:var(--neon-lime);color:var(--charcoal,#111315)}
.fstop{width:28px;height:28px;border-radius:6px;background:var(--charcoal,#111315);display:block}
.fclock{font-size:20px;font-variant-numeric:tabular-nums}
.flive{flex-basis:100%;font-size:20px;line-height:28px;background:rgba(255,255,255,.1);border-radius:16px;padding:14px 16px;min-height:84px;max-height:30vh;overflow:auto;white-space:pre-wrap}
@media (prefers-reduced-motion:no-preference){.fbtn.on{animation:frec 1.4s ease-in-out infinite}@keyframes frec{0%,100%{box-shadow:0 0 0 4px var(--neon-lime)}50%{box-shadow:0 0 0 12px rgba(228,254,82,.3)}}}
.frow{display:flex;gap:12px}
.furgent{flex:1;min-height:60px;border-radius:999px;border:3px solid #fff;background:transparent;color:#fff;font-size:20px}
.fsaved{flex:1;min-height:60px;border-radius:999px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:17px}
.fdone{margin:0;text-align:center;font-size:20px;color:#e4fe52}
.fnote{margin:0;font-size:17px;line-height:25px}
.fcalls{display:flex;gap:12px}
.fcall{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;border-radius:20px;background:#fff;color:#111315;text-decoration:none;font-size:22px}
.fcall span{font-size:14px}
.fcall.red{background:var(--neon-lime);color:var(--charcoal,#111315)}
.fscreen.urgentmode{background:var(--charcoal,#111315)}
/* Locked: the whole screen is covered; press and hold to come back. */
.funlock{position:fixed;inset:0;z-index:41;border:0;background:rgba(36,40,46,.94);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:17px;touch-action:none}
.funlock b{font-size:34px}
.funlock .fill{position:absolute;left:0;bottom:0;height:10px;width:0;background:#e4fe52;transition:width .03s linear}
/* The bigger Observations button */
.logfab{height:68px;padding:0 28px 0 22px;font-size:20px}
.logfab svg{width:28px;height:28px}
/* Your places */
.placebtn{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:inherit;padding:0;cursor:pointer}
.placebtn .chev.down{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;display:inline-block}
.places{display:flex;flex-direction:column;gap:10px}
.place{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border-radius:var(--radius-md);background:var(--surface-alt);color:var(--ink);text-decoration:none}
.place b{font-size:17px}
.place span{color:var(--ink-muted);font-size:14px}
.place.here{box-shadow:inset 0 0 0 2px var(--ink)}
/* Growth: all my work / just here */
.gscope{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.gscope p{margin:0;font-size:14px;opacity:.85}
/* Observations for admins */
.captag{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:var(--surface-raised);border-radius:999px;padding:2px 8px}
.captag.quote{background:var(--ink);color:var(--surface)}
.isquote p{font-style:italic}
.orig summary{font-size:13px;color:var(--ink-muted);cursor:pointer}
.orig p{margin:6px 0 0;padding:8px 10px;border-left:3px solid var(--hairline);color:var(--ink-muted)}
.obsgrid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:8px 10px;padding-bottom:14px;font-size:15px}
.obsgrid .lbl{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-muted)}
.fscreen > *{flex-shrink:0}.fsmall{align-self:center;padding:0 40px;font-size:20px}

/* Brand: chartreuse only on dark. The Observations button is charcoal grey with chartreuse on it. */
[data-brand="sffs"] .logfab{background:var(--frame);color:#fff;box-shadow:0 0 0 3px var(--neon-lime),0 6px 22px rgba(17,19,21,.35)}
[data-brand="sffs"] .logfab svg{stroke:var(--neon-lime)}
@media (prefers-reduced-motion:no-preference){[data-brand="sffs"] .logfab{animation:sffsglow 2.2s ease-in-out infinite}@keyframes sffsglow{0%,100%{box-shadow:0 0 0 3px var(--neon-lime),0 6px 18px rgba(17,19,21,.3)}50%{box-shadow:0 0 0 9px rgba(228,254,82,.28),0 6px 26px rgba(17,19,21,.4)}}}
[data-brand="sffs"]:not([data-theme="dark"]) .dwho i:not(.open){background:var(--charcoal);color:#fff}
@media (prefers-color-scheme: dark){[data-brand="sffs"]:not([data-theme="light"]) .dwho i:not(.open){background:var(--neon-lime);color:var(--charcoal)}}
/* No Oogubi pink at the school: reminders and badges use the school's own colours. */
[data-brand="sffs"] .tbadge{background:var(--neon-lime);color:var(--charcoal)}
@media (prefers-reduced-motion:no-preference){[data-brand="sffs"] .todo-pill{animation:none}}
[data-brand="sffs"] .todo-pill{box-shadow:0 0 0 2px var(--neon-lime),0 6px 22px rgba(17,19,21,.3)}
/* Oogubi's accent colours (pink, violet, lavender, mint) don't exist in the school's guide.
   At the school they map onto its own palette: charcoal and greys on light, chartreuse and mist on dark. */
:root[data-brand="sffs"]{--pink:#111315; --violet:#111315; --lavender:#b3b7bb; --mint:#424a54; --on-pink:#ffffff; --on-mint:#ffffff}
@media (prefers-color-scheme: dark){:root[data-brand="sffs"]:not([data-theme="light"]){--pink:#e4fe52; --violet:#e4fe52; --lavender:#d9dbdd; --mint:#e4fe52; --on-pink:#111315; --on-mint:#111315}}
:root[data-brand="sffs"][data-theme="dark"]{--pink:#e4fe52; --violet:#e4fe52; --lavender:#d9dbdd; --mint:#e4fe52; --on-pink:#111315; --on-mint:#111315}
[data-brand="sffs"] .carebox{background:var(--surface-alt);color:var(--ink)}
/* The Growth web sits on charcoal grey: start line in mist, self-check in white, now in chartreuse. */
[data-brand="sffs"] .radar .rp-start{fill:rgba(179,183,187,.14);stroke:#b3b7bb}
[data-brand="sffs"] .radar .rp-self{fill:rgba(255,255,255,.12);stroke:#fff;stroke-dasharray:5 4}
[data-brand="sffs"] .lg.start::before,[data-brand="sffs"] .sw.start{background:rgba(179,183,187,.3);box-shadow:inset 0 0 0 2px #b3b7bb}
[data-brand="sffs"] .lg.self::before,[data-brand="sffs"] .sw.self{background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 2px #fff}
[data-brand="sffs"] .btn.join{background:var(--charcoal);color:#fff}
@media (prefers-reduced-motion:no-preference){[data-brand="sffs"] .btn.join{animation:none}}
[data-brand="sffs"] .tcount{color:var(--charcoal)}
:root[data-brand="sffs"]{--highlight:#111315}
[data-brand="sffs"] .fbkind{background:var(--ink);color:var(--surface)}
@media (prefers-color-scheme: dark){:root[data-brand="sffs"]:not([data-theme="light"]){--highlight:#e4fe52}}
:root[data-brand="sffs"][data-theme="dark"]{--highlight:#e4fe52}
:root[data-brand="sffs"]{--on-highlight:#fff}
@media (prefers-color-scheme: dark){:root[data-brand="sffs"]:not([data-theme="light"]){--on-highlight:#111315}}
:root[data-brand="sffs"][data-theme="dark"]{--on-highlight:#111315}
[data-brand="sffs"] .chip[aria-pressed="true"],[data-brand="sffs"] .badge.neutral,[data-brand="sffs"] .slot.me,[data-brand="sffs"] .team .slot.me,[data-brand="sffs"] .prod,[data-brand="sffs"] .dwho i:not(.open){color:var(--on-highlight)}
[data-brand="sffs"] .dwho i:not(.open){background:var(--highlight)}

/* School calendar, day panel, briefs, rundown, children, resources (schools). Brand colors only. */
.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:4px 0 12px}
.calwd{text-align:center;font-size:12px;font-weight:700;color:var(--ink-muted);letter-spacing:.08em}
.calday{position:relative;aspect-ratio:1/1;min-height:40px;border:1px solid var(--hairline);border-radius:10px;background:var(--surface-alt);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;font-weight:500}
.calday .cdnum{font-size:15px;line-height:18px}
.calday.weekend,.calday.out{background:transparent;border-color:transparent;color:var(--ink-muted);font-weight:400}
.calday.closed{background:var(--mist);border-color:var(--mist);color:var(--carbon)}
.calday.closed .cdnum{text-decoration:line-through;text-decoration-thickness:2px}
.calday.summer{background:var(--fog);border-color:var(--fog);color:var(--carbon)}
.calday.firstlast{background:var(--carbon);border-color:var(--neon-lime);color:var(--neon-lime);font-weight:700}
.calday.today{box-shadow:0 0 0 2px var(--ink)}
.calday.sel{box-shadow:0 0 0 3px var(--ink);transform:translateY(-1px)}
.caldots{display:flex;gap:3px;align-items:center;height:12px}
.caldots i{font-style:normal}
.caldots .cdn{font-size:11px;line-height:13px;font-weight:700;background:var(--ink);color:var(--surface);border-radius:999px;padding:0 5px;min-width:16px;text-align:center}
.caldots .cdr{width:7px;height:7px;border-radius:2px;background:var(--ink-muted)}
.caldots .cdu{width:8px;height:8px;border-radius:50%;border:2px solid var(--ink);background:transparent}
.calday.firstlast .cdn{background:var(--neon-lime);color:var(--carbon)}
.callegend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--ink-muted);margin-bottom:20px}
.callegend span{display:inline-flex;align-items:center;gap:6px}
.callegend .lg{width:14px;height:14px;border-radius:4px;border:1px solid var(--hairline);display:inline-block}
.lg.firstlast{background:var(--carbon);border-color:var(--neon-lime)!important}.lg.open{background:var(--surface-alt)}.lg.closed{background:var(--mist)}.lg.summer{background:var(--fog)}
.calup{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.calup li{display:flex;justify-content:space-between;gap:12px}.calup span{color:var(--ink-muted);font-size:14px}
.calpanel{border-top:1px solid var(--hairline);padding-top:20px;scroll-margin-top:16px}
.cphead{margin-bottom:12px}.cphead h3{margin:2px 0 0;font-size:22px;line-height:28px}
.aicard{background:var(--surface-alt);border-radius:var(--radius-md);padding:16px;margin-bottom:14px;display:flex;flex-direction:column;gap:10px}
.aicard.shared{border:2px solid var(--ink)}
.aihead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aihead .eyebrow{flex:1}
.aibody p{margin:0 0 6px}.aibody ul,.aibody ol{margin:0 0 10px;padding-left:20px}.aibody li{margin:2px 0}
.sharedtag,.drafttag,.energy{font-size:12px;font-weight:700;border-radius:999px;padding:2px 10px;border:1px solid var(--ink)}
.sharedtag{background:var(--ink);color:var(--surface)}
.drafttag{color:var(--ink-muted);border-color:var(--hairline)}
.aicard textarea,.rdq textarea{width:100%;border:1px solid var(--field-border);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface-raised);resize:vertical}
.todaybrief summary{cursor:pointer;list-style:none}.todaybrief summary::-webkit-details-marker{display:none}
.rdrow .lbl{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.rdrow p{margin:2px 0 0;white-space:pre-wrap}
.rdform{display:flex;flex-direction:column;gap:20px;margin:8px 0 20px}
.rdq{display:flex;flex-direction:column;gap:8px}.rdq b{font-size:17px}
.energypick{display:flex;flex-wrap:wrap;gap:8px}
.echip{border:1.5px solid var(--ink);background:transparent;border-radius:999px;padding:10px 16px;font-weight:600;min-height:44px}
.echip[aria-pressed="true"]{background:var(--ink);color:var(--surface)}
.icount.plain{background:var(--surface-alt);color:var(--ink)}
.reslist{display:flex;flex-direction:column;gap:12px;margin:8px 0 24px}
.rescard{background:var(--surface-alt);border-radius:var(--radius-md);overflow:hidden}
.resopen{display:flex;align-items:center;gap:14px;padding:16px;text-decoration:none}
.resicon{flex:none;width:44px;height:44px;border-radius:12px;background:var(--frame,var(--ink));display:flex;align-items:center;justify-content:center}
.resicon svg{width:24px;height:24px;fill:none;stroke:var(--white);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.restext{flex:1;display:flex;flex-direction:column;gap:2px}.restext b{font-size:17px}.restext>span:not(.restag){color:var(--ink-muted);font-size:14px;line-height:19px}
.restag{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--carbon);color:var(--neon-lime);border-radius:999px;padding:2px 8px;margin-bottom:2px}
.rescal{margin:0 16px 14px}
.hbold .hbin{padding-top:12px}
.kidnote{margin-bottom:16px}.kidnote>.hint{margin-bottom:4px}
.kidlist .setrow{width:100%}
.kidlist{background:var(--surface-alt);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column}

/* ===== SFFS look: the Oogubi palette, solid blocks only =====
   Brand rule (Oogubi and SFFS): no outlined boxes. Solid color, curved edges, white space between blocks.
   One meaning per color, used the same way everywhere:
   LIME      look here: the morning brief, the main button, "to check" counts (sparingly)
   MINT      good or done: sent, shared, kept, a smooth day, summer
   PINK      urgent only: urgent notes, a hard day, someone hurt
   BLUE      now: today, the day you're looking at, your jobs today
   LAVENDER  children and families: kids' quotes, child folders, the family handbook
   INDIGO    AI: the summary of the day
   CHARCOAL  actions you tap
   WARM/SAND staff notes and context
   Soft tints carry text in the "on-soft" color (charcoal in light mode, cream in dark). */
:root[data-brand="sffs"]{
  --sf-lime:#e4fe52; --sf-mint:#28df99; --sf-pink:#ea337a; --sf-blue:#3c88f7; --sf-lav:#c9abe0; --sf-violet:#3e10cc; --sf-indigo:#1d194e; --sf-sand:#edd4c0;
  --sf-warm:#f4e5d9; --sf-cream:#fbf6f2; --sf-lime-soft:#f6ffc9; --sf-mint-soft:#d9f9ec; --sf-pink-soft:#fde4ee; --sf-blue-soft:#e2edfe; --sf-lav-soft:#f1e8f8;
  --sf-on-soft:#111315; --sf-on-soft-muted:#424a54; --sf-field:#ffffff; --sf-gap:16px;
}
@media (prefers-color-scheme: dark){ :root[data-brand="sffs"]:not([data-theme="light"]){
  --sf-warm:#4b545f; --sf-cream:#4b545f; --sf-lime-soft:#4d5631; --sf-mint-soft:#2f5549; --sf-pink-soft:#5e3346; --sf-blue-soft:#33486a; --sf-lav-soft:#4e4560;
  --sf-on-soft:#fbf6f2; --sf-on-soft-muted:#d9dbdd; --sf-field:#3a4149 }}
:root[data-brand="sffs"][data-theme="dark"]{
  --sf-warm:#4b545f; --sf-cream:#4b545f; --sf-lime-soft:#4d5631; --sf-mint-soft:#2f5549; --sf-pink-soft:#5e3346; --sf-blue-soft:#33486a; --sf-lav-soft:#4e4560;
  --sf-on-soft:#fbf6f2; --sf-on-soft-muted:#d9dbdd; --sf-field:#3a4149 }

/* Type: bigger and friendlier. Faustina only for the logo and big page titles. */
[data-brand="sffs"] body{font-size:17px;line-height:26px}
[data-brand="sffs"] .hint{font-size:15px;line-height:22px}
[data-brand="sffs"] .eyebrow{font-size:13px;line-height:18px}
[data-brand="sffs"] .logitem p{font-size:17px;line-height:26px}
[data-brand="sffs"] .logpanel > span > span,[data-brand="sffs"] .setrow > span:first-child span{font-size:16px;line-height:22px}
[data-brand="sffs"] .captag,[data-brand="sffs"] .fbkind,[data-brand="sffs"] .urgtag{font-size:12px;height:auto;padding:3px 10px;border-radius:999px}
[data-brand="sffs"] .btn.small{height:42px;font-size:15px;padding:0 18px}
[data-brand="sffs"] .ihead{font-size:22px;line-height:28px;margin-top:28px}

/* White space between every block: nothing touches */
[data-brand="sffs"] .note,[data-brand="sffs"] .aicard,[data-brand="sffs"] .dayme,[data-brand="sffs"] .logpanel,[data-brand="sffs"] .urgentbar,
[data-brand="sffs"] .rescard,[data-brand="sffs"] .logitem,[data-brand="sffs"] .kidrow,[data-brand="sffs"] .panel{margin:0 0 var(--sf-gap)}
[data-brand="sffs"] .list{display:flex;flex-direction:column;gap:12px}
[data-brand="sffs"] .reslist{gap:var(--sf-gap)}
[data-brand="sffs"] .reslist .rescard{margin:0}
[data-brand="sffs"] .actions{gap:10px;flex-wrap:wrap}

/* Solid controls, no outlines */
[data-brand="sffs"] .btn.ghost,[data-brand="sffs"] .aicard .btn.ghost{border:0;box-shadow:none;background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .btn.ok{background:var(--sf-mint);color:#111315;border:0}
[data-brand="sffs"] .daynav{border:0;background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .seg{border:0;background:var(--sf-warm);padding:4px;border-radius:999px}
[data-brand="sffs"] .seg button{color:var(--sf-on-soft);border:0}
[data-brand="sffs"] .seg button[aria-pressed="true"]{background:var(--charcoal);color:#fff}
[data-brand="sffs"] .chip{background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .ihead::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--sf-blue);flex:none}

/* Urgent: the only pink */
[data-brand="sffs"] .urgentbar{background:var(--sf-pink);color:#fff;box-shadow:none;border-radius:20px;padding:16px 20px}
[data-brand="sffs"] .urgentbar b{font-size:20px}
[data-brand="sffs"] .urgtag{background:var(--sf-pink);color:#fff}
[data-brand="sffs"] .logitem{border-radius:20px}
[data-brand="sffs"] .logitem.urgent{background:var(--sf-pink-soft);color:var(--sf-on-soft);box-shadow:none}

/* Notes and tags */
[data-brand="sffs"] .captag{background:var(--sf-mint-soft);color:var(--sf-on-soft)}
[data-brand="sffs"] .captag.quote{background:var(--sf-lav);color:#111315}
[data-brand="sffs"] .logitem.isquote{background:var(--sf-lav-soft);box-shadow:none}
[data-brand="sffs"] .fbkind{background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .icount{background:var(--sf-lime);color:#111315;box-shadow:none}
[data-brand="sffs"] .icount.plain{background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .due{color:#111315;background:var(--sf-lime);padding:0 8px;border-radius:999px}

/* Things you tap to do */
[data-brand="sffs"] .logpanel{background:var(--charcoal);color:#fff;padding:18px 20px;border-radius:20px}
[data-brand="sffs"] .logpanel b{font-size:17px}
[data-brand="sffs"] .logpanel > span > span{color:var(--fog)}
@media (prefers-color-scheme: dark){[data-brand="sffs"]:not([data-theme="light"]) .logpanel{background:#2b3138}}

/* Today */
[data-brand="sffs"] .dayme{background:var(--sf-blue-soft);color:var(--sf-on-soft);box-shadow:none;border-radius:20px}
[data-brand="sffs"] .dayme .dmine span{color:var(--sf-on-soft-muted)}
[data-brand="sffs"] .note{background:var(--sf-warm);color:var(--sf-on-soft);box-shadow:none;font-size:17px;line-height:26px;padding:16px 20px;border-radius:20px}
[data-brand="sffs"] .duty.mine{background:var(--sf-blue-soft);color:var(--sf-on-soft)}
[data-brand="sffs"] .dtime{font-weight:700}

/* Briefs, the AI summary, the rundown */
[data-brand="sffs"] .aicard{color:var(--sf-on-soft);padding:18px 20px;border-radius:20px;border:0;box-shadow:none;background:var(--sf-warm)}
[data-brand="sffs"] .aicard .hint{color:var(--sf-on-soft-muted)}
[data-brand="sffs"] .aicard.brief{background:var(--sf-lime);color:#111315}
[data-brand="sffs"] .aicard.brief .hint{color:#424a54}
[data-brand="sffs"] .aicard.brief .btn.ghost{background:#fff;color:#111315}
[data-brand="sffs"] .aicard.sum{background:var(--sf-blue-soft);padding:0;overflow:hidden}
[data-brand="sffs"] .aicard.sum .aihead{background:var(--sf-indigo);color:#fff;padding:12px 20px}
[data-brand="sffs"] .aicard.sum .aihead .eyebrow{color:var(--sf-lime)}
[data-brand="sffs"] .aicard.sum .aihead .btn,[data-brand="sffs"] .aicard.sum .aihead .btn.ghost{background:var(--sf-lime);color:#111315}
[data-brand="sffs"] .aicard.sum > :not(.aihead){margin-inline:20px}
[data-brand="sffs"] .aicard.sum > :last-child{margin-bottom:18px}
[data-brand="sffs"] .aicard .btn:not(.ghost){background:var(--charcoal);color:#fff}
[data-brand="sffs"] .aibody b{font-size:17px;display:inline-block;margin-top:6px}
[data-brand="sffs"] .aibody li,[data-brand="sffs"] .aibody p{font-size:17px;line-height:26px}
[data-brand="sffs"] .aicard textarea,[data-brand="sffs"] .rdq textarea{border:0;background:var(--sf-field);color:var(--sf-on-soft);border-radius:14px}
[data-brand="sffs"] .rdq textarea{background:var(--sf-warm)}
[data-brand="sffs"] .sharedtag{background:var(--sf-mint);color:#111315;border:0}
[data-brand="sffs"] .drafttag{background:#fff;color:#111315;border:0}
[data-brand="sffs"] .energy{color:#111315;border:0;padding:4px 12px}
[data-brand="sffs"] .energy.green{background:var(--sf-mint)}
[data-brand="sffs"] .energy.yellow{background:var(--sf-lime)}
[data-brand="sffs"] .energy.red{background:var(--sf-pink);color:#fff}
[data-brand="sffs"] .rdrow .lbl{color:var(--sf-on-soft-muted)}
[data-brand="sffs"] .rdrow p{font-size:17px;line-height:26px}
[data-brand="sffs"] .echip{border:0;background:var(--sf-warm);color:var(--sf-on-soft);font-size:16px}
[data-brand="sffs"] .echip[aria-pressed="true"]{background:var(--charcoal);color:#fff}
[data-brand="sffs"] .echip.green[aria-pressed="true"]{background:var(--sf-mint);color:#111315}
[data-brand="sffs"] .echip.yellow[aria-pressed="true"]{background:var(--sf-lime);color:#111315}
[data-brand="sffs"] .echip.red[aria-pressed="true"]{background:var(--sf-pink);color:#fff}
[data-brand="sffs"] .cphead{background:var(--sf-blue);color:#fff;border-radius:20px;padding:16px 20px;margin-bottom:var(--sf-gap)}
[data-brand="sffs"] .cphead .eyebrow{color:#fff;opacity:.9}
[data-brand="sffs"] .cphead h3{font-size:22px}
[data-brand="sffs"] .calpanel{border-top:0;padding-top:8px}

/* Calendar: solid cells, color only where it means something */
[data-brand="sffs"] .calgrid{gap:6px}
[data-brand="sffs"] .calday{border:0;border-radius:12px;background:var(--sf-warm);color:var(--sf-on-soft);box-shadow:none}
[data-brand="sffs"] .calday .cdnum{font-size:17px;font-weight:600}
[data-brand="sffs"] .calday.weekend,[data-brand="sffs"] .calday.out{background:transparent;color:var(--ink-muted)}
[data-brand="sffs"] .calday.closed{background:transparent;color:var(--ink-muted)}
[data-brand="sffs"] .calday.closed .cdnum{text-decoration:line-through;text-decoration-thickness:1.5px;font-weight:400}
[data-brand="sffs"] .calday.summer{background:var(--sf-mint-soft);color:var(--sf-on-soft)}
[data-brand="sffs"] .calday.firstlast{background:var(--sf-lime);color:#111315;border:0}
[data-brand="sffs"] .calday.today{background:var(--sf-blue);color:#fff}
[data-brand="sffs"] .calday.sel{background:var(--charcoal);color:#fff;transform:none}
[data-brand="sffs"] .calday.today.sel{background:var(--sf-blue)}
[data-brand="sffs"] .calday.sel::after{content:"";position:absolute;left:32%;right:32%;bottom:4px;height:3px;border-radius:2px;background:var(--sf-lime)}
[data-brand="sffs"] .caldots .cdn{background:var(--charcoal);color:#fff;font-size:11px}
[data-brand="sffs"] .calday.sel .cdn,[data-brand="sffs"] .calday.today .cdn{background:#fff;color:#111315}
[data-brand="sffs"] .caldots .cdr{background:var(--sf-mint);width:8px;height:8px;border-radius:50%;box-shadow:none}
[data-brand="sffs"] .caldots .cdu{background:var(--sf-pink);border:0;width:8px;height:8px;box-shadow:none}
[data-brand="sffs"] .calwd{font-size:13px}
[data-brand="sffs"] .callegend{font-size:14px;color:var(--ink);gap:8px 16px}
[data-brand="sffs"] .callegend .lg{border:0!important;border-radius:4px}
[data-brand="sffs"] .lg.today{background:var(--sf-blue)}
[data-brand="sffs"] .lg.firstlast{background:var(--sf-lime)}
[data-brand="sffs"] .lg.open{background:var(--sf-warm)}
[data-brand="sffs"] .lg.closed{background:transparent;position:relative}
[data-brand="sffs"] .lg.closed::after{content:"";position:absolute;left:1px;right:1px;top:6px;height:2px;background:var(--ink-muted)}
[data-brand="sffs"] .lg.summer{background:var(--sf-mint-soft)}
[data-brand="sffs"] .callegend .lg.dot{border-radius:50%;width:10px;height:10px}
[data-brand="sffs"] .lg.rd{background:var(--sf-mint)}
[data-brand="sffs"] .lg.ur{background:var(--sf-pink)}

/* Resources: one color per kind of document */
[data-brand="sffs"] .rescard{background:var(--sf-warm);color:var(--sf-on-soft);border-radius:20px}
[data-brand="sffs"] .restext > span:not(.restag){color:var(--sf-on-soft-muted);font-size:16px;line-height:22px}
[data-brand="sffs"] .restext b{font-size:20px}
[data-brand="sffs"] .resicon{box-shadow:none;border-radius:14px;background:var(--sf-lime)}
[data-brand="sffs"] .resicon svg{stroke:#111315}
[data-brand="sffs"] .rescard.r-safety .resicon{background:var(--sf-indigo)}
[data-brand="sffs"] .rescard.r-cal .resicon{background:var(--sf-blue)}
[data-brand="sffs"] .rescard.r-safety .resicon svg,[data-brand="sffs"] .rescard.r-cal .resicon svg{stroke:#fff}
[data-brand="sffs"] .rescard.r-family .resicon{background:var(--sf-lav)}
[data-brand="sffs"] .restag{background:var(--charcoal);color:var(--sf-lime);font-size:12px}

/* Child folders: each child is their own card */
[data-brand="sffs"] .kidlist{background:none;gap:12px;display:flex;flex-direction:column}
[data-brand="sffs"] .kidrow{display:flex;align-items:center;gap:14px;width:100%;border:0;border-radius:20px;background:var(--sf-warm);color:var(--sf-on-soft);padding:14px 18px;text-align:left;margin:0}
[data-brand="sffs"] .kidrow > span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:2px}
[data-brand="sffs"] .kidrow b{font-size:17px}
[data-brand="sffs"] .kidrow > span:nth-child(2) span{font-size:15px;color:var(--sf-on-soft-muted)}
.kidav{width:44px;height:44px;border-radius:50%;background:var(--sf-lav,#c9abe0);color:#111315;display:grid;place-items:center;font-weight:700;font-size:17px;flex:none}

/* Front page: Join the team first, staff sign in second. Open, white, one bright button. */
.front{display:flex;flex-direction:column;align-items:center;gap:0;width:100%;max-width:400px;margin:0 auto;padding:12px 0 8px;text-align:center}
.front .femark{width:min(220px,58vw);height:min(220px,58vw);background:var(--ink);-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;margin:8px 0 28px}
.front h1{margin:0 0 20px;font-size:40px;line-height:44px}
.front .applybtn{width:100%;height:60px;font-size:20px;background:var(--sf-lime,#e4fe52);color:#111315;border-radius:999px}
.fstaff{width:100%;display:flex;flex-direction:column;gap:10px;margin-top:48px;text-align:left}
.fstaff .eyebrow{color:var(--ink-muted)}
.fstaff input{width:100%;min-height:54px;border:0;background:var(--sf-warm,#f4e5d9);border-radius:16px;padding:12px 18px;font-size:17px;color:var(--sf-on-soft,#111315)}
.fstaff .btn{width:100%;min-height:54px;background:var(--charcoal);color:#fff;border-radius:999px}
@media (prefers-color-scheme: dark){[data-brand="sffs"]:not([data-theme="light"]) .fstaff .btn{background:var(--cream-sffs);color:#111315}}
.fstaff .err{margin:0}
[data-brand="sffs"] .login:has(.front){padding-top:8px}
[data-brand="sffs"] .seg{box-shadow:none;outline:0}

/* ===== SFFS v3: Home, indigo instead of black, the on-site switch ===== */
:root[data-brand="sffs"]:not([data-theme="dark"]){--action:#1d194e;--on-action:#fff}
@media (prefers-color-scheme: dark){:root[data-brand="sffs"]:not([data-theme="light"]){--action:#e4fe52;--on-action:#111315}}
[data-brand="sffs"] .seg button[aria-pressed="true"],[data-brand="sffs"] .echip[aria-pressed="true"]{background:var(--sf-indigo);color:#fff}
[data-brand="sffs"] .aicard .btn:not(.ghost),[data-brand="sffs"] .fstaff .btn{background:var(--sf-indigo);color:#fff}
[data-brand="sffs"] .calday.sel{background:var(--sf-indigo)}
[data-brand="sffs"] .restag{background:var(--sf-indigo)}
[data-brand="sffs"] .logpanel{background:var(--sf-indigo)}
[data-brand="sffs"] .logpanel > span > span{color:#d9d6f0}
[data-brand="sffs"] .logpanel.soft{background:var(--sf-blue-soft);color:var(--sf-on-soft)}
[data-brand="sffs"] .logpanel.soft > span > span{color:var(--sf-on-soft-muted)}
@media (prefers-color-scheme: dark){[data-brand="sffs"]:not([data-theme="light"]) .seg button[aria-pressed="true"],[data-brand="sffs"]:not([data-theme="light"]) .echip[aria-pressed="true"]{background:var(--sf-lime);color:#111315}
  [data-brand="sffs"]:not([data-theme="light"]) .logpanel:not(.soft){background:#2b2a5a}}
.home{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 0 4px}
.homemark{width:min(170px,46vw);height:min(170px,46vw);-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;background:var(--ink)}
.hquote{margin:18px 8px 6px;min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:opacity .45s ease}
.hquote.fade{opacity:0}
.hquote blockquote{margin:0;font-size:20px;line-height:28px;font-weight:500;max-width:30ch}
.hquote figcaption{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
@media (prefers-reduced-motion: reduce){.hquote{transition:none}}
.homedate{margin:14px 0 12px;color:var(--ink-muted)}
.onsite{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:0;text-align:left;border-radius:20px;padding:16px 20px;margin:0 0 16px;background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315)}
.onsite > span{display:flex;flex-direction:column;gap:2px}.onsite b{font-size:17px}.onsite > span > span{font-size:15px;color:var(--sf-on-soft-muted,#424a54)}
.onsite[aria-pressed="true"]{background:var(--sf-mint-soft,#d9f9ec)}
.switch{flex:none;width:52px;height:32px;border-radius:999px;background:var(--mist);position:relative;transition:background .2s}
.switch::after{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.onsite[aria-pressed="true"] .switch{background:var(--sf-mint,#28df99)}
.onsite[aria-pressed="true"] .switch::after{transform:translateX(20px)}
.homefoot{margin-top:8px}
[data-brand="sffs"] .logpanel.soft.res{background:var(--sf-lav-soft)}
/* No outlines on the field screen or search */
[data-brand="sffs"] .fback,[data-brand="sffs"] .flock,[data-brand="sffs"] .fsmall{border:0;box-shadow:none;background:rgba(255,255,255,.14);color:#fff}
[data-brand="sffs"] .furgent{border:0;box-shadow:none;background:var(--sf-pink);color:#fff}
[data-brand="sffs"] .searchbar input{border:0;background:var(--sf-warm);color:var(--sf-on-soft)}
[data-brand="sffs"] .field input,[data-brand="sffs"] .field textarea,[data-brand="sffs"] .field select{border:0;background:var(--sf-warm);color:var(--sf-on-soft);border-radius:14px}
[data-brand="sffs"] .chip[aria-pressed="true"]{background:var(--sf-indigo);color:#fff}
/* Child folders: where a note lives */
.folderrow{display:flex;flex-wrap:wrap;gap:8px}
.folderchip{border:0;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:700;background:var(--sf-lav,#c9abe0);color:#111315}
.folderchip.add{background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);font-weight:600}
.kidhead{display:flex;align-items:center;gap:18px;margin:8px 0 18px}.kidhead h1{margin:0}
.kidav.big{width:72px;height:72px;font-size:30px}
.kidcheck{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-6px 0 18px}
.kidcheck .hint{flex-basis:100%}
.kidwho{margin:0 0 6px}

/* Levels and skills */
.lvcard{background:var(--sf-indigo,#1d194e);color:#fff;border-radius:24px;padding:22px 20px;margin:4px 0 16px}
.lvcard .eyebrow{color:var(--sf-lime,#e4fe52)}
.lvcard .lvname{color:#fff;margin:4px 0 14px;font-size:34px;line-height:38px}
.lvmeans{margin:12px 0 0;color:#d9d6f0;font-size:16px;line-height:23px}
.ladder{list-style:none;margin:0;padding:0;display:flex;gap:6px}
.ladder li{flex:1;border-radius:999px;background:rgba(255,255,255,.14);color:#d9d6f0;text-align:center;font-size:13px;font-weight:700;padding:6px 0}
.ladder li.done{background:rgba(228,254,82,.35);color:#fff}
.ladder li.on{background:var(--sf-lime,#e4fe52);color:#111315}
.lflags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.lvrow .lflags{margin-top:6px}
.lflag{border-radius:999px;padding:3px 10px;font-size:13px;font-weight:700;background:var(--sf-blue-soft,#e2edfe);color:var(--sf-on-soft,#111315)}
.lflag.ready{background:var(--sf-mint,#28df99);color:#111315}
.lflag.soon{background:var(--sf-lime,#e4fe52);color:#111315}
.lflag.late{background:var(--sf-pink,#ea337a);color:#fff}
.lvnext{background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);border-radius:20px;padding:18px 20px;margin:0 0 8px}
.lvchecks{list-style:none;margin:10px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.lvchecks li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:22px}
.lvchecks li i{flex:none;width:22px;height:22px;border-radius:50%;background:#fff;margin-top:1px}
.lvchecks li.ok i{background:var(--sf-mint,#28df99)}
.lvchecks li.ok i::after{content:"✓";display:block;text-align:center;font-style:normal;font-weight:700;font-size:14px;line-height:22px;color:#111315}
.lvchecks em{font-style:normal;color:var(--sf-on-soft-muted,#424a54);font-size:14px;margin-left:4px}
.skgrp{margin:-4px 0 10px}
.sklist{display:flex;flex-direction:column;gap:10px}
.skrow{background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);border-radius:18px}
.skrow summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}
.skrow summary::-webkit-details-marker{display:none}
.skname{flex:1;display:flex;flex-direction:column;gap:2px}.skname b{font-size:17px}.skname span{font-size:14px;line-height:19px;color:var(--sf-on-soft-muted,#424a54)}
.skscore{display:flex;align-items:center;gap:8px}.skscore em{font-style:normal;font-weight:700;font-size:17px;min-width:12px}
.sbar{display:inline-flex;gap:3px}.sbar i{width:10px;height:22px;border-radius:3px;background:#fff}.sbar i.on{background:var(--sf-blue,#3c88f7)}
.skmore{padding:0 16px 16px;font-size:15px;line-height:22px}.skmore p{margin:0 0 6px}.skmore ul{margin:4px 0 0;padding-left:20px}
.skfive{background:var(--sf-lime-soft,#f6ffc9);border-radius:12px;padding:8px 12px;margin:8px 0!important}
.lvrow{display:flex;align-items:center;gap:10px;background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);border-radius:20px;padding:12px 14px}
.lvrowmain{flex:1;display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;padding:0;color:inherit;min-width:0}
.lvrowtext{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.lvrowtext b{font-size:17px}.lvrowtext > span:not(.lflags){font-size:14px;color:var(--sf-on-soft-muted,#424a54)}
.kidav.lv{background:var(--sf-indigo,#1d194e);color:var(--sf-lime,#e4fe52);font-size:14px}
.lvadmin{margin-top:16px}
.qrlist{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:12px}
.qritem{background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);border-radius:20px;padding:16px 18px}
.qritem.done{background:var(--sf-cream,#fbf6f2)}
.qrq{margin:4px 0 12px;font-size:17px;line-height:24px;font-weight:600}
.qrseg{display:flex;gap:8px}
.qrseg button{flex:1;border:0;border-radius:999px;min-height:46px;font-size:15px;font-weight:700;background:#fff;color:#111315}
.qrseg button.met[aria-pressed="true"]{background:var(--sf-mint,#28df99)}
.qrseg button.not_yet[aria-pressed="true"]{background:var(--sf-lime,#e4fe52)}
.qrseg button.skip[aria-pressed="true"]{background:var(--mist,#b3b7bb)}
.btn.big{min-height:56px;font-size:17px;width:100%}
[data-brand="sffs"] .logpanel.soft.check{background:var(--sf-mint-soft,#d9f9ec)}
.lvrow{flex-direction:column;align-items:stretch;gap:0;padding:14px 16px}
.lvrowtop{display:flex;align-items:center;gap:10px}
.lvrow > .lflags{margin-top:10px}

/* Field Observations v2: the whole card is the button; recording is lime, never black */
.fbtn.on{background:#fff;color:#111315;box-shadow:0 0 0 6px var(--sf-lime,#e4fe52);animation:none}
.fbtn.on .fmic{background:#111315;color:var(--sf-lime,#e4fe52)}
.fbtn.on .fstop{background:var(--sf-lime,#e4fe52)}
.fbtn.on .fbody b{font-size:30px;line-height:36px}
.fbtn.on .fclock{color:#111315;font-weight:700}
.fbtn.on .flive{background:var(--sf-cream,#fbf6f2);color:#111315}
@media (prefers-reduced-motion:no-preference){.fbtn.on .fmic{animation:fpulse 1.4s ease-in-out infinite}@keyframes fpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}}
.fbtn:not(.on):active{transform:scale(.97);filter:brightness(.92)}
.fbtn.kb{display:flex;flex-direction:column;align-items:stretch;gap:10px;cursor:default}
.fkbhead{display:flex;justify-content:space-between;align-items:baseline}.fkbhead b{font-size:26px}
.fkbhint{margin:0;font-size:17px;font-weight:600}
.fkb{width:100%;border:0;border-radius:16px;background:var(--sf-cream,#fbf6f2);color:#111315;font:inherit;font-weight:500;font-size:20px;line-height:26px;padding:14px 16px;min-height:150px;resize:none}
.fdone-btn{width:100%;min-height:64px;border:0;border-radius:999px;background:#111315;color:var(--sf-lime,#e4fe52);font-size:22px;font-weight:700}

/* A guide's Home: as simple as the field screen */
body.ghome-on{background:var(--frame,#424a54)}
body.ghome-on main.wrap{background:transparent}
.ghome{display:flex;flex-direction:column;gap:16px;color:#fff;padding-top:8px}
.ghmark{-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;background:#fff;width:110px;height:110px;align-self:center;flex:none}
.gpromise{text-align:center}
.gpro-head{margin:0 0 10px;font-size:26px;line-height:32px;font-weight:800;letter-spacing:0;text-transform:none;color:var(--sf-lime,#e4fe52)}
.gpromise ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.gpromise li{font-size:20px;line-height:26px;font-weight:600}
.gplan{background:#fff;color:#111315;border-radius:28px;padding:20px 22px}
.gplan .eyebrow{color:#424a54}
.gplan.empty p:last-child{margin:4px 0 0;font-size:17px;color:#424a54}
.gplan .aibody b{font-size:17px}
.gbig{display:flex;align-items:center;gap:18px;width:100%;border:0;border-radius:28px;padding:22px;text-align:left;color:#111315;transition:transform .08s}
.gbig:active{transform:scale(.97);filter:brightness(.92)}
.gbig.obs{background:var(--sf-lime,#e4fe52)}
.gbig.chk{background:var(--sf-mint,#28df99)}
.gbig.chk.done{background:rgba(255,255,255,.16);color:#fff}
.gbicon{flex:none;width:72px;height:72px;border-radius:50%;background:#111315;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:700}
.gbig.obs .gbicon{color:var(--sf-lime,#e4fe52)}
.gbig.chk.done .gbicon{background:var(--sf-mint,#28df99);color:#111315}
.gbicon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gbtext{display:flex;flex-direction:column;gap:3px}.gbtext b{font-size:24px;line-height:29px}.gbtext span{font-size:16px;line-height:21px;font-weight:600}

/* Words for today, on Growth */
.gquote{background:var(--sf-lav-soft,#f1e8f8);color:var(--sf-on-soft,#111315);border-radius:20px;padding:14px 20px;margin:0 0 16px}
.gquote summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.gquote summary::-webkit-details-marker{display:none}
.gquote summary::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 4px 0 0}
.gquote[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.gquote figure{margin:10px 0 6px}
.gquote blockquote{margin:0;font-style:italic;font-weight:400;font-size:20px;line-height:29px;letter-spacing:.005em}
.gquote figcaption{margin-top:8px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--sf-on-soft-muted,#424a54)}
.growcard .newdot{font-style:normal;font-size:12px;background:var(--sf-lime,#e4fe52);color:#111315;border-radius:999px;padding:2px 8px;margin-left:6px;vertical-align:middle}

/* SFFS: the selected tab is brand lime; the places arrow is white on the dark bar */
[data-brand="sffs"] .tabbar button[aria-current="page"]{color:#e4fe52}
[data-brand="sffs"] .placebtn .chev,[data-brand="sffs"] .appbar .chev{border-color:#fff;color:#fff}

/* PDF reader inside the app */
.pdfbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;background:var(--surface,#fff);padding:10px 0;margin:0 0 8px}
.pdfbar .backlink{margin:0;flex:none;background:var(--sf-indigo,#1d194e);color:#fff;border-radius:999px;padding:8px 16px 8px 12px}
.pdfbar .backlink svg{stroke:#fff}
.pdfbar b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}
.pdfpages{display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:24px}
.pdfpage{display:block;border-radius:10px;background:#fff;box-shadow:0 1px 8px rgba(17,19,21,.12);max-width:100%}
.fscreen textarea.fkb,.fscreen textarea.fkb:focus{border:0!important;outline:none;box-shadow:none}
[data-brand="sffs"] .seg{box-shadow:none!important;border:0!important}

/* Improvement plans (admins and head guide) */
.ipcard{background:var(--sf-indigo,#1d194e);color:#fff;border-radius:24px;margin:0 0 16px;overflow:hidden}
.iphead{display:flex;align-items:center}
.ipmain{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:none;color:#fff;text-align:left;padding:22px 8px 22px 22px}
.ipmain b{font-size:22px;line-height:28px}
.ipmain .chev{border-color:#fff}
.ipmain .chev.up{transform:rotate(-135deg);margin-top:6px}
.ipmain .chev.down{transform:rotate(45deg);margin-top:-4px}
.ipinfo{flex:none;width:34px;height:34px;margin-right:18px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-weight:700;font-size:17px;font-style:italic;font-family:Georgia,serif}
.ipchoices{display:flex;gap:12px;padding:0 18px 18px}
.ipchoice{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:0;border-radius:18px;padding:18px;text-align:left;color:#111315;min-height:96px}
.ipchoice b{font-size:22px}.ipchoice span{font-size:14px;line-height:18px;font-weight:600}
.ipchoice.team{background:var(--sf-lime,#e4fe52)}
.ipchoice.guide{background:#fff}
.ipchoice:active{transform:scale(.97)}
.kidav.shared{background:var(--sf-mint,#28df99)}
.gplan.mine{background:var(--sf-blue,#3c88f7);color:#fff}
.gplan.mine .eyebrow{color:#fff;opacity:.92}
.gplan.mine.light{margin:0 0 16px}
.gpskill{background:#fff;color:#111315;border-radius:999px;padding:1px 8px;letter-spacing:0;text-transform:none;font-size:13px}
.gpbody{margin:6px 0 0;font-size:20px;line-height:26px;font-weight:600;white-space:pre-wrap}
.gplan.mine .hint{color:#fff;opacity:.85;margin:8px 0 0}
.rdq input[type=date]{border:0;background:var(--sf-warm,#f4e5d9);color:var(--sf-on-soft,#111315);border-radius:14px;padding:12px 14px;font:inherit;min-height:48px}
.shifthead .sharedtag,.shifthead .drafttag{display:inline-block;align-self:flex-start;margin-top:8px}

/* Urgent: a glowing pill that floats over every screen until an admin marks it read */
.urgentpill{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:18;height:52px;padding:0 22px;border:0;border-radius:999px;background:#ea337a;color:#fff;font-size:17px;font-weight:700;box-shadow:0 6px 18px rgba(234,51,122,.35)}
@media (prefers-reduced-motion:no-preference){.urgentpill{animation:upulse 1.6s ease-in-out infinite}@keyframes upulse{0%,100%{box-shadow:0 0 0 0 rgba(234,51,122,.65),0 6px 18px rgba(234,51,122,.35)}50%{box-shadow:0 0 0 14px rgba(234,51,122,0),0 6px 18px rgba(234,51,122,.35)}}}
.usheet{margin-bottom:16px}.usheet .actions{margin-top:8px}
/* On site: a plain switch at the top left */
.homebar{display:flex;justify-content:flex-start;margin:0 0 4px}
.onsitesw{display:inline-flex;align-items:center;gap:10px;border:0;background:none;padding:6px 0;color:var(--ink);font-size:16px;font-weight:700}
.onsitesw[aria-checked="true"] .switch{background:var(--sf-mint,#28df99)}
.onsitesw[aria-checked="true"] .switch::after{transform:translateX(20px)}
/* Improvement plans: smaller i, plain choices */
.ipinfo{width:24px;height:24px;font-size:13px;margin-right:20px}
.ipchoice{min-height:68px;align-items:center;justify-content:center;font-size:22px;font-weight:700}

body.urgent-on main.wrap{padding-bottom:calc(170px + env(safe-area-inset-bottom,0px))}
/* Schedule: My Shifts stands out, the month stays on top, Team opens on tap */
.btn.myshifts{background:var(--neon-lime);color:var(--indigo);font-weight:700}
.btn.myshifts[aria-pressed="true"]{background:var(--indigo);color:var(--white)}
h2.month.evmonth{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--surface);font-weight:700;margin-inline:-4px;padding:8px 4px}
.list + h2.month.evmonth{margin-top:24px}
.teamfold summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:var(--radius-pill);background:var(--surface-raised);color:var(--ink);font-size:14px;font-weight:700}
.teamfold summary::-webkit-details-marker{display:none}
.teamfold summary::after{content:"+";font-weight:400;font-size:17px;line-height:1}
.teamfold[open] summary::after{content:"\2212"}
.teamfold[open] summary{margin-bottom:8px}
.teamn{font-weight:500;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.evflags:empty{display:none}
.evflags{display:flex;flex-direction:column;gap:8px}
.evnote{margin:0;font-size:15px;line-height:22px;white-space:pre-line}
/* Text opt-in: the checkbox and the carrier disclosure beside it */
.smsopt{margin-top:4px}
.smsfine{font-size:13px;line-height:18px}
.smsfine a{color:var(--title);font-weight:700}
.smspanel{display:flex;flex-direction:column;gap:6px}
.smsok{display:inline-flex;margin-left:6px;vertical-align:-3px}
.smsok svg{width:22px;height:16px;fill:none;stroke:#1aa86f;stroke-width:2;stroke-linecap:round}
.smsart{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:#dff7ec;margin:0 0 14px}
.smsart svg{width:46px;height:34px;fill:none;stroke:#1aa86f;stroke-width:1.8;stroke-linecap:round}
.smsart.small{width:44px;height:44px;margin:0}
.smsart.small svg{width:28px;height:21px}
.smscount{display:flex;flex-direction:column;gap:10px}
.smscount h3{margin:0}
.todo-pill svg{fill:none}
/* Field: record mode, no keyboard. Urgent screen is pink. */
.fbtn.working{background:#fff;color:#111315;opacity:1}
.fbtn.retry{background:#fff;color:#111315;box-shadow:0 0 0 6px var(--sf-pink,#ea337a)}
.fspin{display:block;width:26px;height:26px;border-radius:50%;border:4px solid rgba(228,254,82,.35);border-top-color:var(--sf-lime,#e4fe52)}
@media (prefers-reduced-motion:no-preference){.fspin{animation:fspin .8s linear infinite}@keyframes fspin{to{transform:rotate(360deg)}}}
.fbars{display:inline-flex;align-items:flex-end;gap:4px;height:22px;margin-right:12px;vertical-align:-3px}
.fbars i{display:block;width:5px;height:8px;border-radius:3px;background:#111315}
@media (prefers-reduced-motion:no-preference){.fbars i{animation:fbar .9s ease-in-out infinite}.fbars i:nth-child(2){animation-delay:.15s}.fbars i:nth-child(3){animation-delay:.3s}.fbars i:nth-child(4){animation-delay:.45s}@keyframes fbar{0%,100%{height:8px}50%{height:22px}}}
.fdone span{display:block;margin:8px auto 0;max-width:34ch;font-size:16px;line-height:23px;font-style:italic;color:rgba(255,255,255,.85)}
.fscreen.urgentmode,[data-brand="sffs"] .fscreen.urgentmode{background:var(--sf-pink,#ea337a)}
.fscreen.urgentmode .fdone{color:#fff}
.fscreen.urgentmode .fbtn.on{box-shadow:0 0 0 6px #fff}
.fhotline{background:rgba(255,255,255,.16);border-radius:24px;padding:20px 22px;color:#fff}
.fhotline p{margin:0 0 12px;font-size:17px;line-height:25px}
.fhotlink{color:inherit;font-size:17px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.fhotmiss{opacity:.85}
.reportbox .fhotlink{color:inherit}
/* Loading: leaves blowing across the middle of the screen, in the Oogubi colors */
.loading{position:fixed;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:0;pointer-events:none}
.loading .leaves{position:relative;display:block;width:min(440px,100vw);height:170px;overflow:hidden}
.loading .ltext{font-family:var(--font-sans);font-weight:500;font-size:20px;letter-spacing:.02em;color:var(--ink-muted,#5b5f66)}
.loading .leaves{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
/* Each leaf and gust is moved by app.js (smooth, frame by frame). */
.leaves i{position:absolute;left:-16px;top:-8px;width:32px;height:17px;border-radius:0 100% 0 100%;background:linear-gradient(135deg,transparent 46%,rgba(0,0,0,.14) 48% 52%,transparent 54%),var(--lf,#28df99);opacity:0;will-change:transform,opacity}
.leaves b{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;will-change:opacity}
.leaves b svg{display:block;width:100%;height:100%;overflow:visible}
.leaves b path{fill:none;stroke:rgba(91,95,102,.55);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:reduce){
  .leaves b,.leaves i:nth-of-type(n+4){display:none}
  .leaves i{top:50%;animation:leafrest 2.4s ease-in-out infinite;opacity:.9}
  .leaves i:nth-of-type(1){left:calc(50% - 50px)}.leaves i:nth-of-type(2){left:calc(50% - 10px);--lf:#e4fe52}.leaves i:nth-of-type(3){left:calc(50% + 30px);--lf:#3c88f7}
  @keyframes leafrest{0%,100%{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-6px) rotate(10deg)}}
}
/* Daily Log: editing a sent note; admin edit trail */
.logrow.end{justify-content:flex-end}
.logitem.editing textarea{min-height:140px}
.logitem.editing .logrow{justify-content:space-between;align-items:center}
.edits .editstep{margin-top:10px;background:rgba(0,0,0,.04);border-radius:14px;padding:10px 12px}
.edits .was{text-decoration:line-through;opacity:.6;margin:4px 0}
.edits .now{margin:4px 0;font-weight:600}
/* Nav: icons only */
.tabbar button{padding:12px 2px 12px}
.ticon{width:32px;height:32px}.ticon svg{width:28px;height:28px}
/* Team page (schools) */
.teamrow .chev{margin-left:auto}
.teamrow > span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.tflag{display:inline-block;align-self:flex-start;margin-top:2px;padding:2px 10px;border-radius:999px;background:var(--sf-mint,#28df99);color:#111315;font-size:13px;font-weight:700}
.moreacts{margin:28px 0 8px;border-radius:22px;background:var(--sf-cream,#f4f4f2);padding:0}
.moreacts > summary{list-style:none;cursor:pointer;padding:16px 20px;font-weight:700;font-size:17px}
.moreacts > summary::-webkit-details-marker{display:none}
.moreacts > summary::after{content:"+";float:right;font-weight:500}
.moreacts[open] > summary::after{content:"–"}
.moreacts-in{padding:0 20px 18px;display:flex;flex-direction:column;gap:16px}
.morerow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.morerow .actions{margin:0}
.month.small{font-size:24px;margin-top:28px}
/* Roles & permissions */
.permhint{margin:0 0 8px}
.permgroup{margin:28px 0 10px;font-size:20px}
.permcard{background:var(--sf-cream,#f6f4f1);border-radius:20px;padding:16px 18px;margin:0 0 12px}
.permcard.locked{background:var(--sf-warm,#f1ece6)}
.permname{margin:0 0 10px;font-weight:700;font-size:17px;display:flex;align-items:center;gap:8px}
.permlock svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;opacity:.7;display:block}
.permcell{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
.permcell span{color:var(--ink-muted)}
.permcell b{font-weight:600}
.permcell select{max-width:60%;min-height:40px;border:0;border-radius:12px;background:var(--sf-field,#fff);padding:0 12px;font:inherit}
.permcard .hint{margin:8px 0 0;font-size:14px}
.morerow > span{display:flex;flex-direction:column;gap:4px;flex:1 1 220px}
.morerow > span .hint{margin:0;font-size:15px}
/* Van packing */
.gbig.van{background:var(--sf-blue,#3c88f7);color:#fff}
.gbig.van .gbicon{background:#fff;color:var(--sf-blue,#3c88f7)}
.gbig.van.open{background:var(--sf-lav,#c9abe0);color:#111315}
.gbig.van.open .gbicon{background:#111315;color:#fff}
.gbig.van.done{background:var(--sf-mint,#28df99);color:#111315}
.gbig.van.done .gbicon{background:#111315;color:#fff}
.gbicon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.logpanel.van.open,.logpanel.vanwarn{background:var(--sf-lav,#c9abe0);color:#111315}
.vantoday{background:var(--sf-blue,#3c88f7);color:#fff;border-radius:24px;padding:20px 22px;margin:0 0 8px}
.vantoday.done{background:var(--sf-mint,#28df99);color:#111315}
.vantoday.open{background:var(--sf-lav,#c9abe0);color:#111315}
.vantoday p{margin:0 0 10px;font-size:20px}.vantoday .eyebrow{font-size:13px;margin:0 0 4px;opacity:.85}
.vantoday .btn{background:#111315;color:#fff}
.vanlist{display:flex;flex-direction:column;gap:10px}
.vanrow{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--sf-cream,#f6f4f1);border-radius:18px;padding:14px 16px}
.vanrow.open{background:var(--sf-lav-soft,#efe6f7)}
.vanrow.mine{background:var(--sf-blue-soft,#e2edfe)}
.vanrow > span:first-child{display:flex;flex-direction:column;gap:2px}
.vanrow > span:first-child span{color:var(--ink-muted);font-size:15px}
.vanact{display:flex;align-items:center;gap:10px;flex-shrink:0}
.vanassign{display:flex;flex-wrap:wrap;gap:8px;padding:4px 4px 8px}
.vanitems{display:flex;flex-direction:column;gap:10px}
.vanitem{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--sf-cream,#f6f4f1);border-radius:18px;padding:6px 14px 6px 6px}
.vanitem.ok{background:var(--sf-mint-soft,#d9f8ec)}
.vanitem.miss{background:var(--sf-warm,#f4e5d9)}
.vantick{flex:1;display:flex;align-items:center;gap:14px;border:0;background:none;padding:10px;font:inherit;font-size:17px;text-align:left;color:inherit;min-height:56px}
.vantick i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#fff;font-style:normal;font-weight:800;flex-shrink:0}
.vanitem.ok .vantick i{background:var(--sf-mint,#28df99);color:#111315}
.vanitem.miss .vantick i{background:#111315;color:#fff}
.vanwhy{flex:1 1 100%;margin:0 8px 8px;min-height:44px;border:0 !important;outline:none;box-shadow:none;border-radius:12px;padding:0 12px;font:inherit;background:#fff}
.vansum{background:var(--sf-cream,#f6f4f1);border-radius:20px;padding:16px 18px;margin:0 0 16px}
.vansum p{margin:0 0 6px}
.vanpast{display:flex;flex-direction:column;gap:2px;padding:10px 0}
.vanpast span{color:var(--ink-muted);font-size:15px}.vanpast p{margin:4px 0 0;font-size:15px}
/* Field: Medical */
.fmed{flex:1;min-height:60px;border-radius:999px;border:0;background:var(--sf-blue,#3c88f7);color:#fff;font-size:20px;font-weight:700}
.fmed:disabled{opacity:.4}
.fscreen.medicalmode,[data-brand="sffs"] .fscreen.medicalmode{background:var(--sf-blue,#3c88f7)}
.fscreen.medicalmode .fbtn.on{box-shadow:0 0 0 6px #fff}
.captag.med{background:var(--sf-blue,#3c88f7);color:#fff}
/* End-of-Day Form and the Head Guide's daily log */
.efq{background:var(--sf-cream,#f6f4f1);border-radius:22px;padding:18px;margin:0 0 14px}
.efnum{margin:0 0 10px;font-weight:700;font-size:17px}
.eflabel{margin:12px 0 8px;font-size:15px;color:var(--ink-muted)}
.efq textarea,.efq select{width:100%;border:0;border-radius:14px;padding:12px;font:inherit;font-size:17px;background:var(--surface-raised,#fff);color:inherit}
.efq select{min-height:50px}
.qrseg.energy3 button[aria-pressed="true"].green{background:var(--sf-mint,#28df99);color:#111315}
.qrseg.energy3 button[aria-pressed="true"].yellow{background:var(--sf-lime,#e4fe52);color:#111315}
.qrseg.energy3 button[aria-pressed="true"].red{background:var(--sf-pink,#ea337a);color:#fff}
.raterow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0}
.ratename b{font-size:17px}
.rate5{display:flex;gap:6px;flex-shrink:0}
.rate5 button{width:42px;height:42px;border-radius:50%;border:0;background:var(--surface-raised,#fff);color:inherit;font:inherit;font-weight:700;font-size:17px}
.rate5 button[aria-pressed="true"]{background:var(--sf-indigo,#1d194e);color:var(--sf-lime,#e4fe52)}
.corrchips{display:flex;flex-wrap:wrap;gap:8px}
.corrchips .chip.on{background:var(--sf-indigo,#1d194e);color:#fff}
.cmpcard{background:var(--sf-lav-soft,#f1e8f8);border-radius:22px;padding:16px 18px;margin:0 0 16px}
.cmpcard p{margin:0 0 6px}
.frow{flex-wrap:wrap}.frow .fsaved{flex:1 1 100%}
/* Morning meeting card */
.logpanel.meet{background:var(--sf-indigo,#1d194e);color:#fff}
.logpanel.meet.soft{background:var(--sf-lime,#e4fe52);color:#111315}
.mcsec{background:var(--sf-cream,#f6f4f1);border-radius:22px;padding:18px;margin:0 0 14px}
.mcnum{margin:0 0 6px;font-weight:800;font-size:20px}
.mcl{display:block;margin:12px 0 6px;font-size:15px;color:var(--ink-muted)}
.mcsec textarea,.mcsec select{width:100%;border:0;border-radius:14px;padding:12px;font:inherit;font-size:17px;background:var(--surface-raised,#fff);color:inherit}
.mcsec select{min-height:50px}
.mcsec select + select{margin-top:8px}
.mcai{margin:10px 0 0;font-size:15px;color:var(--ink-muted);font-style:italic}
.mcwhy{margin:12px 0 0;background:var(--sf-lav-soft,#f1e8f8);border-radius:18px;padding:14px}
.mcwhy p{margin:0 0 10px}
.mcwhyrow{display:flex;align-items:center;gap:14px;margin:0 0 10px}
.mcwhydone{margin:10px 0 0;font-size:15px;color:var(--ink-muted)}
.mcvan{background:var(--sf-lav,#c9abe0);border-radius:18px;padding:14px 16px;margin:0 0 14px;color:#111315}
.loading.inline{position:relative;inset:auto;height:auto;padding:10px 0}
.loading.inline .leaves{height:120px}
/* Learn */
.gbig.quiz{background:var(--sf-indigo,#1d194e);color:#fff}
.gbig.quiz .gbicon{background:var(--sf-lime,#e4fe52);color:#111315;font-size:26px;font-weight:800}
.gbig.quiz.done{background:var(--sf-mint,#28df99);color:#111315}
.gbig.quiz.done .gbicon{background:#111315;color:#fff}
.focusrow{display:flex;flex-direction:column;gap:12px;margin:14px 0}
.focus{border-radius:22px;padding:16px 18px}
.focus b{display:block;font-size:20px;margin:2px 0 4px}.focus p{margin:0}.focus .eyebrow{font-size:12px;opacity:.8}
.focus.method{background:var(--sf-lav,#c9abe0);color:#111315}
.focus.nn{background:var(--sf-lime,#e4fe52);color:#111315}
.trcard{background:var(--sf-blue,#3c88f7);color:#fff;border-radius:24px;padding:20px 22px;margin:14px 0}
.trcard .lvname{color:#fff;margin:4px 0 6px}.trcard p{margin:0 0 8px}
.trbar{display:block;height:10px;border-radius:5px;background:rgba(255,255,255,.3);overflow:hidden;margin:8px 0}
.trbar i{display:block;height:100%;background:var(--sf-lime,#e4fe52);border-radius:5px}
.trn{font-size:15px;opacity:.9}
.trph{margin:14px 0 6px;font-weight:800}
.tritem{display:flex;flex-direction:column;background:var(--sf-cream,#f6f4f1);border-radius:16px;padding:4px 10px 6px;margin:0 0 8px}
.tritem.ok{background:var(--sf-mint-soft,#d9f9ec)}
.trtick{display:flex;align-items:center;gap:12px;padding:10px;font-size:17px}
.trtick i{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#fff;font-style:normal;font-weight:800;flex-shrink:0}
.tritem.ok i{background:var(--sf-mint,#28df99)}
.trwho{font-size:13px;color:var(--ink-muted);padding:0 10px 4px 58px}
.subjects{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 14px}
.subject{display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:0;border-radius:20px;padding:16px;text-align:left;font:inherit;color:#111315;min-height:110px}
.subject b{font-size:17px}.subject span:last-child{font-size:14px}
.subject .trbar{width:100%;background:rgba(0,0,0,.12)}.subject .trbar i{background:#111315}
.subject.s-flow{background:var(--sf-lime,#e4fe52)}.subject.s-safety{background:var(--sf-mint,#28df99)}.subject.s-method{background:var(--sf-lav,#c9abe0)}.subject.s-growth{background:var(--sf-blue-soft,#e2edfe)}
.subject:disabled{opacity:1}
.qzq{font-size:28px;line-height:34px}
.qzopts{display:flex;flex-direction:column;gap:10px;margin:8px 0 16px}
.qzopt{border:0;border-radius:18px;background:var(--sf-cream,#f6f4f1);padding:18px;text-align:left;font:inherit;font-size:17px;color:inherit;min-height:60px}
.qzopt.right{background:var(--sf-mint,#28df99);color:#111315}
.qzopt.wrong{background:var(--sf-warm,#f4e5d9);text-decoration:line-through}
.qzopt.dim{opacity:.5}
.qzwhy{border-radius:20px;padding:16px 18px;margin:0 0 8px}
.qzwhy.ok{background:var(--sf-mint-soft,#d9f9ec)}.qzwhy.no{background:var(--sf-lav-soft,#f1e8f8)}
.qzwhy p{margin:0 0 6px}
.fieldcard .fcrule{font-size:20px;font-weight:800;margin:0}
.fieldcard ol,.fieldcard ul{margin:0;padding-left:22px}.fieldcard li{margin:4px 0}
/* Reviews and sharing */
.rvgrid{display:grid;grid-template-columns:1fr auto auto;gap:8px 16px;align-items:center;font-size:16px}
.rvgrid b{font-size:13px;color:var(--ink-muted);text-align:center}
.rvgrid span:not(.rvname){text-align:center;font-weight:700;min-width:44px}
.rvname.gap{font-weight:700}.rvname em{font-style:normal;font-size:12px;background:var(--sf-lav,#c9abe0);border-radius:999px;padding:1px 8px;margin-left:4px}
.rvnotes{white-space:pre-wrap;margin:14px 0 0}
.shrow{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:12px;margin:6px 0}
.shrow .trbar{background:rgba(0,0,0,.1)}.shrow .trbar i{background:var(--sf-mint,#28df99)}
.sharesw{display:flex;width:100%;padding:10px 0}
/* Quiz & handbook editing */
.wdiff{line-height:1.6}
.wdiff del{background:var(--sf-warm,#f4e5d9);color:#8a2b2b;text-decoration:line-through;border-radius:4px;padding:0 2px}
.wdiff ins{background:var(--sf-lime,#e4fe52);color:#111315;text-decoration:none;border-radius:4px;padding:0 2px;font-weight:600}
.qchg{background:var(--sf-cream,#f6f4f1);border-radius:22px;padding:16px 18px;margin:0 0 14px}
.qchg .eyebrow{font-size:12px;margin:0 0 8px}
.qctx{margin:10px 0}
.qchg textarea,.hbedit textarea{width:100%;border:0;border-radius:14px;padding:12px;font:inherit;background:var(--surface-raised,#fff);color:inherit;margin:8px 0}
.hbcheck{margin-top:14px;background:var(--surface-raised,#fff);border-radius:18px;padding:14px}
.hbedit{background:var(--sf-cream,#f6f4f1);border-radius:14px;padding:12px;margin:10px 0}
.hbedit.off{opacity:.5}
.hbupd{background:var(--sf-cream,#f6f4f1);border-radius:14px;padding:12px;margin:0 0 10px}
.qrow{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;background:#fff;border-radius:14px;padding:12px 14px;text-align:left;font:inherit;color:inherit;margin:0 0 8px}
.qrow em{font-style:normal;font-weight:700;flex-shrink:0}
.qeopt{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.qeopt input{flex:1;min-height:48px;border:0;border-radius:14px;padding:0 12px;font:inherit;background:var(--surface-raised,#fff);color:inherit}
.qeright{width:30px;height:30px;border-radius:50%;border:0;background:#fff;flex-shrink:0;box-shadow:inset 0 0 0 3px var(--sf-mint,#28df99)}
.qeright.on{background:var(--sf-mint,#28df99);box-shadow:inset 0 0 0 7px #fff,0 0 0 2px var(--sf-mint,#28df99)}
.qerow{display:flex;gap:10px;flex-wrap:wrap}.qerow .mcl{flex:1 1 140px}
.qerow select,.qerow input{display:block;width:100%;margin-top:6px;min-height:48px;border:0;border-radius:14px;padding:0 12px;font:inherit;background:var(--surface-raised,#fff);color:inherit}
.qblock{border-radius:16px;padding:12px 14px;margin:0 0 10px}
.qblock.was{background:var(--surface-raised,#fff);opacity:.75}
.qblock.now{background:var(--sf-mint-soft,#d9f9ec)}
.qblock .eyebrow{font-size:11px;margin:0 0 4px}
.qbq{font-weight:700;margin:0 0 6px}
.qblock ul{margin:0 0 6px;padding-left:18px}.qblock li{margin:2px 0}.qblock li.right{font-weight:700}
/* Asks: questions for leaders (schools) */
.upnext{margin:12px 0 22px}
.unhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.unhead .month{margin:0 0 10px}
.unnone{margin:0 0 8px}
.askrow{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-md);padding:14px 18px;margin-bottom:10px;font:inherit}
.askrow > span{display:flex;flex-direction:column;gap:4px;min-width:0}
.askrow b{font-size:17px;line-height:23px;font-weight:500}
.askrow .eyebrow{color:var(--ink-muted);font-size:11px;letter-spacing:.1em}
.askdue{font-size:13px;line-height:18px;color:var(--ink-muted)}
.askdue.soon{align-self:flex-start;background:var(--sf-lime,#e4fe52);color:#111315;font-weight:700;border-radius:var(--radius-pill);padding:1px 10px}
.askset{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;text-align:left;border:0;background:var(--surface-alt);color:var(--ink);border-radius:20px;padding:18px 20px;margin-bottom:12px;font:inherit}
.askset b{font-size:20px;line-height:26px;font-weight:700}
.askset .eyebrow{color:var(--ink-muted);font-size:11px;letter-spacing:.1em}
.askabout{font-size:14px;line-height:20px;color:var(--ink-muted)}
.askset.quiet{opacity:.6}
.askset.fin .askbar i{background:var(--sf-mint,#28df99)}
.askbar{display:block;height:8px;border-radius:4px;background:var(--fog);overflow:hidden;margin:6px 0 2px}
.askbar i{display:block;height:100%;background:var(--sf-blue,#3c88f7);border-radius:4px}
.askhead .askbar{margin:10px 0 18px}
.askhead .askq{font-family:var(--font-sans);font-size:26px;line-height:32px;font-weight:700;margin:0 0 8px}
.askhead .sub{margin:0 0 6px}
.asklink{font-size:13px;line-height:18px;color:var(--ink-muted);margin:4px 0 0}
.askdraft{margin:4px 0 20px;background:var(--cream);color:#111315;border-radius:20px;padding:18px 20px;font-size:20px;line-height:26px;font-weight:500}
.askans{background:rgba(40,223,153,.18);border-radius:16px;padding:12px 16px;margin:0 0 18px}
.askans p{margin:2px 0}
.askans .eyebrow{font-size:11px;letter-spacing:.1em;color:var(--ink-muted)}
.askctl textarea,.askctl .asknum{display:block;width:100%;border:0;background:var(--surface-raised);border-radius:14px;padding:12px 14px;font-size:17px;line-height:24px;box-shadow:0 0 0 1px var(--hairline)}
.askctl .actions{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:12px}
.askbtns{display:flex;gap:10px}
.askbtns .btn{flex:1;padding:0 12px}
.askmore{display:flex;flex-wrap:wrap;gap:10px 22px;margin:20px 0 4px}
.asknav{display:flex;justify-content:space-between;margin:26px 0 8px;padding-top:16px;border-top:1px solid var(--hairline)}
.asknav .textlink[disabled]{opacity:.3;pointer-events:none}
.askactions{margin:10px 0 22px}
.askprog{margin:16px 0 4px}
.asklogrow{background:var(--surface-alt);border-radius:14px;padding:10px 14px;margin:0 0 8px}
.askwarn{font-size:13px;font-weight:500;color:var(--ink-muted);margin-left:8px}
/* Trunk sign-offs and trainers */
.trkey{margin:4px 0 10px}
.trunklist{display:flex;flex-direction:column;gap:8px;margin:0 0 20px}
.trunkrow{display:flex;align-items:center;gap:12px;width:100%;border:0;background:var(--surface-alt);color:var(--ink);border-radius:16px;padding:12px 14px;text-align:left;font:inherit}
.trunkrow.static{cursor:default}
.trnum{flex:0 0 28px;height:28px;border-radius:50%;background:var(--sf-indigo,#1d194e);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.trtitle{flex:1;display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:20px;min-width:0}
.tpills{display:flex;gap:4px;flex-shrink:0}
.tp{width:24px;height:24px;border-radius:7px;background:var(--fog);color:var(--slate);font-style:normal;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.tp.ok{background:var(--sf-mint,#28df99);color:#111315}
.tp.no{background:var(--sf-lime,#e4fe52);color:#111315}
.tp.wait{background:var(--sf-lav,#c9abe0);color:#111315}
.trflag{flex-shrink:0;font-size:12px;font-weight:700;background:var(--sf-lime,#e4fe52);color:#111315;border-radius:var(--radius-pill);padding:2px 10px}
.trsheet .trstep{display:flex;flex-direction:column;gap:2px;background:var(--surface-alt);border-radius:14px;padding:10px 14px;margin:0 0 8px}
.trsheet .trstep.ok{background:rgba(40,223,153,.2)}
.trsheet .trstep.no{background:rgba(228,254,82,.5)}
.trsheet > .hint{margin:4px 0 10px}
.trsignrow{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;width:100%}
.trpsheet{display:flex;flex-direction:column;gap:8px}
.trprow{display:flex;flex-direction:column;gap:8px;background:var(--surface-alt);border-radius:14px;padding:12px 14px}
.trprow.on{background:rgba(40,223,153,.2)}
.trprow > span{display:flex;flex-direction:column;gap:2px}
.trprow .actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.trprow input{flex:1;min-width:160px}
.trlv{font-weight:700;margin:4px 0}
.asklogday{color:var(--ink-muted);margin:16px 0 8px}
/* Oogubi loading: floating dots in the pop colors (the school keeps its leaves) */
.leaves.dots i{left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:var(--lf,#e4fe52)}
.leaves.dots i:nth-of-type(3n){width:9px;height:9px;left:-4.5px;top:-4.5px}
.leaves.dots i:nth-of-type(4n){width:18px;height:18px;left:-9px;top:-9px}
@media (prefers-reduced-motion:reduce){ .leaves.dots i{animation:dotrest 2.4s ease-in-out infinite;border-radius:50%} @keyframes dotrest{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}} }
/* Oogubi loading sits on white */
.loading.oo:not(.inline){background:#fff}
/* Inbox and Applicants: categories fold open and closed, with the count on the closed row */
.ifold{background:var(--surface-alt,#f4e5d9);border-radius:16px;margin:0 0 12px;overflow:hidden}
.ifold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:60px;padding:0 18px;font-size:17px;font-weight:700}
.ifold>summary::-webkit-details-marker{display:none}
.ifold .ifname{flex:1}
.ifold .icount{min-width:28px;height:28px;font-size:14px}
.ifold .izero{font-size:14px;font-weight:500;color:var(--ink-muted,#5b5f66)}
.ifold .chev{width:10px;height:10px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s;flex:none;opacity:.7}
.ifold[open] .chev{transform:rotate(-135deg) translate(-2px,-2px)}
.ifold .ifbody{padding:0 12px 14px}
.ifold .ifbody .list{margin:0}
/* Goobers who haven't joined the app yet: pink, with Send Invite Link right on their card */
.rrow.pend{background:#fde7ef;border-bottom:0}
.rinvite{background:#fde7ef;padding:0 16px 14px;border-bottom:1.5px solid var(--surface)}
.rinvite[hidden]{display:none}
/* Van schedule: a pink "!" when a day has nobody */
.urgentmark{flex:0 0 30px;height:30px;border-radius:50%;background:var(--sf-pink,#ea337a);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;line-height:1}
.vantellmsg{background:var(--surface-alt);border-radius:14px;padding:12px 14px;margin:8px 0 4px;font-size:17px;line-height:24px}
.vanname{display:flex;gap:8px;align-items:center;width:100%;margin-top:6px}
.vanname input{flex:1;min-width:0}
a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.vanname input{border:0;background:var(--surface-raised,#fff);border-radius:12px;padding:10px 12px;font-size:16px;box-shadow:0 0 0 1px var(--hairline)}
/* Home: every action has an icon */
.lpicon{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);color:currentColor}
.lpicon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.logpanel > .lpicon + span{flex:1;min-width:0}
.logpanel.soft .lpicon,.logpanel.vanwarn .lpicon,.logpanel.van.open .lpicon{background:rgba(17,19,21,.08)}
.askrow .lpicon{background:var(--sf-indigo,#1d194e);color:#fff}
.askrow .askrowtext{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.gbig.trunk{background:var(--sf-mint-soft,#d9f9ec)}
.gbig.trunk .gbicon{background:var(--sf-mint,#28df99);color:#111315}
.gbig.quiz .gbicon svg,.gbig.trunk .gbicon svg,.gbig.chk .gbicon svg{width:34px;height:34px;stroke-width:2}
/* Daily hello: the team's promise, once a day */
.hello{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:24px 8px}
.hello .letsgo{min-width:220px}
/* Field card */
.gbig.fcard{background:var(--sf-lav,#c9abe0)}
.gbig.fcard .gbicon{background:#111315;color:var(--sf-lav,#c9abe0)}
.fcseg{margin:4px 0 14px}
.fcimg{display:block;width:100%;height:auto;border-radius:18px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12)}
/* Today I'm working on */
.workingon{background:var(--sf-cream,#f6efe3);color:#111315;border-radius:24px;padding:18px 20px;margin:0 0 14px}
.workingon .eyebrow{color:#5b5f66}
.workingon .woline{font-size:20px;line-height:27px;font-weight:700;margin:4px 0 6px}
.workingon .hint{color:#5b5f66}
.mcdiff{margin:6px 0}
/* No scrolling when everything fits */
html.fits,html.fits body{overflow:hidden;overscroll-behavior:none}
/* Daily hello: big emblem, white words, a lime button */
.hello .hellomark{-webkit-mask:url(/brand/sffs/emblem.png) center/contain no-repeat;mask:url(/brand/sffs/emblem.png) center/contain no-repeat;background:#fff;width:min(78vw,340px);height:min(78vw,340px);flex:none}
.hello .gpromise,.hello .gpromise li{color:#fff}
.hello .gpro-head{color:var(--sf-lime,#e4fe52)}
.hello .letsgo{background:var(--sf-lime,#e4fe52);color:#111315;box-shadow:none}
/* Learn */
.learnquiz{margin-bottom:14px}
.learnquiz .gbsub{font-weight:400}
.subjects{margin-bottom:22px}
.subject.closed{opacity:.45;cursor:default}
.fclink{margin-top:4px}
/* Field Observations: Tap & Talk shrinks so My Observations fits without scrolling */
.fscreen .fb-tap_talk:not(.on){flex:1 1 auto;min-height:150px;max-height:340px;flex-shrink:1}
/* Quiz pop-ups */
.qzpop p{margin:4px 0 10px}
.qzpop .qzans{font-size:20px;line-height:26px;font-weight:700}

/* ---------- Van operation: today's four steps, the week, who did it ---------- */
.vsteps{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}
.vstep{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;background:var(--surface-alt);border-radius:var(--radius-md);padding:12px 14px}
.vstep>span{display:flex;flex-direction:column;min-width:0}
.vstep>span>span{font-size:14px;line-height:20px;color:var(--ink-muted)}
.vsdot{width:28px;height:28px;border-radius:50%;background:var(--surface-raised);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:14px}
.vstep.done .vsdot{background:var(--sf-mint,var(--mint));color:#0d0b25}
.vstep.wait{opacity:.6}
.vweekhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.vweekhead .month{margin:0}
.vweekhead .iconbtn{width:40px;height:40px;border-radius:50%;border:0;background:var(--surface-alt);color:var(--ink);font-size:22px}
.vweekhead .iconbtn:disabled{opacity:.35}
.vanalert{display:flex;align-items:center;gap:8px;background:var(--sf-pink-soft,var(--surface-alt));border-radius:var(--radius-sm);padding:10px 12px;font-size:14px;line-height:20px;margin:8px 0}
.urgentmark.sm{position:static;width:20px;height:20px;font-size:13px;flex:none}
.vweek{display:grid;grid-template-columns:1fr;gap:8px;margin:8px 0 20px}
@media (min-width:720px){.vweek{grid-template-columns:repeat(5,1fr)}}
.vday{display:flex;flex-direction:column;gap:6px;background:var(--surface-alt);border-radius:var(--radius-md);padding:12px}
.vday.today{background:var(--sf-blue-soft,var(--surface-alt))}
.vday.closed{opacity:.55}
.vleg{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;border-radius:var(--radius-sm);background:var(--surface-raised);color:var(--ink);padding:10px 12px;text-align:left;font:inherit;font-size:14px;line-height:20px;min-height:44px}
.vleg span{color:var(--ink-muted)}
.vleg.open{background:var(--sf-pink-soft,var(--surface-raised))}
.vleg.mine{background:var(--sf-mint-soft,var(--surface-raised))}
.vleg:disabled{cursor:default}
.vanassign{display:flex;flex-wrap:wrap;gap:6px}
.vtallyseg{margin:8px 0}
.vtally{display:flex;flex-direction:column;gap:4px;overflow-x:auto;margin-bottom:8px}
.vtr{display:grid;grid-template-columns:minmax(110px,1.6fr) repeat(5,minmax(54px,1fr));gap:6px;align-items:center;background:var(--surface-alt);border-radius:var(--radius-sm);padding:8px 10px;font-size:14px;line-height:20px;min-width:520px}
.vtr>span:not(:first-child){text-align:center}
.vtr>span:first-child{display:flex;flex-direction:column}
.vth{background:transparent;color:var(--ink-muted);font-size:12px;line-height:16px}
.vmin{font-size:12px;color:var(--ink-muted)}
.vmin.short{color:var(--sf-pink,var(--pink));font-weight:600}

/* ---------- Checklists editor (laid out for a computer) ---------- */
.wide{max-width:1040px}
.cllist{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.cledit{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:900px){.cledit{grid-template-columns:320px 1fr;align-items:start}.clmeta{position:sticky;top:16px}}
.clmeta{display:flex;flex-direction:column;gap:12px}
.clon{display:flex;gap:8px;align-items:center;font-size:15px}
.clsecs{display:flex;flex-direction:column;gap:12px}
.clsec{background:var(--surface-alt);border-radius:var(--radius-md);padding:12px;display:flex;flex-direction:column;gap:8px}
.clsechead{display:flex;gap:6px;align-items:center}
.clbox{flex:1;font-weight:600}
.clsec textarea{width:100%;font:inherit;font-size:15px;line-height:22px}
.clsechead .iconbtn{width:36px;height:36px;border-radius:50%;border:0;background:var(--surface-raised);color:var(--ink)}
.vdadd{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.vdadd select,.vdadd input{flex:1 1 220px;min-height:44px}
.vmindays{min-height:36px}
@media (min-width:900px){.wrap:has(.wide),.wrap:has(.vweek){max-width:1040px}}
.vanalert.calm{background:var(--sf-lav-soft,var(--surface-alt))}
.clsec input.clbox,.clsec textarea{border:0;border-radius:var(--radius-sm);background:var(--surface-raised);padding:10px 12px;color:var(--ink)}
.clsechead .dpx{border:0;border-radius:50%;width:36px;height:36px;background:var(--surface-raised);color:var(--ink)}

/* Van: steps as cards. Blue = yours to do now. */
.vmod{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;width:100%;border:0;text-align:left;font:inherit;color:var(--ink);background:var(--surface-alt);border-radius:var(--radius-md);padding:14px 16px;min-height:64px}
.vmod>span{display:flex;flex-direction:column;min-width:0}
.vmod>span>span{font-size:14px;line-height:20px;color:var(--ink-muted)}
.vmod.go{background:var(--sf-blue,#3c88f7);color:#fff}
.vmod.go>span>span{color:rgba(255,255,255,.85)}
.vmod.go .vsdot{background:rgba(255,255,255,.25)}
.vmod.go .chev{border-color:#fff}
.vmod.solo{padding:28px 22px;min-height:120px;font-size:20px;line-height:26px}
.vmod.solo>span>span{font-size:16px;line-height:22px}
.vmod.done .vsdot{background:var(--sf-mint,var(--mint));color:#0d0b25}
.vmod.wait{opacity:.55}
.vrestock{border:0;border-radius:var(--radius-pill);background:var(--surface-raised);color:var(--ink);font:inherit;font-size:13px;font-weight:600;padding:8px 12px;white-space:nowrap}
.vrestock.on{background:var(--sf-indigo,#3e10cc);color:#fff}
.vanitem.miss .vantick i{background:var(--sf-indigo,#3e10cc);color:#fff}
.vbig{display:block;width:100%;border:0;border-radius:var(--radius-md);background:var(--sf-blue,#3c88f7);color:#fff;font:inherit;font-size:20px;line-height:26px;padding:24px 20px;margin:20px 0;min-height:76px}
.vdone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:40px 0}
.vdonecheck{width:96px;height:96px;border-radius:50%;background:var(--sf-mint,var(--mint));color:#0d0b25;display:grid;place-items:center;font-style:normal;font-size:48px;font-weight:700}
/* Field Observations is the main button on a guide's Home: twice as tall. */
.ghome .gbig.obs{min-height:244px;padding:30px 24px;font-size:24px;line-height:30px}
.ghome .gbig.obs .gbicon{width:96px;height:96px}
.ghome .gbig.obs .gbicon svg{width:44px;height:44px}
.vdrivers{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.vdchip{background:var(--surface-alt);border-radius:var(--radius-pill);padding:6px 14px;font-size:14px;line-height:20px}
.vdchip.short{background:var(--sf-lav-soft,var(--surface-alt))}
.vleg.past{opacity:.6}
.vanassign{align-items:center;padding:4px 0 8px}
.vanassign .chip.on{background:var(--sf-mint,var(--mint));color:#0d0b25}
.vanassign .chip.off{background:var(--surface-raised);text-decoration:none}
.vlegother{min-height:40px;border:0;border-radius:var(--radius-pill);background:var(--surface-raised);padding:0 14px;font:inherit;font-size:14px}

/* Quotable Quotes in the Inbox */
.qai{display:block;width:100%;border:0;border-radius:var(--radius-md);background:var(--sf-indigo,#3e10cc);color:#fff;font:inherit;font-weight:600;font-size:16px;padding:16px;margin:4px 0 12px}
.qai:disabled{opacity:.6}
.qlist{display:flex;flex-direction:column;gap:12px;margin:8px 0}
.qcard{background:var(--surface-alt);border-radius:var(--radius-md);padding:14px;display:flex;flex-direction:column;gap:8px}
.qcard.skip{opacity:.55}
.qcard.sent .qtext{background:transparent}
.qtext{width:100%;border:0;border-radius:var(--radius-sm);background:var(--surface-raised);padding:12px;font:inherit;font-size:16px;line-height:24px;color:var(--ink);white-space:pre-wrap}
.qrow{display:flex;justify-content:space-between;align-items:center;gap:8px}
.qsent{background:var(--sf-mint,var(--mint));color:#0d0b25;border-radius:var(--radius-pill);padding:2px 10px;font-size:12px;font-weight:600}
.qmsg{white-space:pre-wrap;max-height:50vh;overflow:auto}
.obsf{flex-wrap:wrap;gap:6px;margin:8px 0}

/* Inbox sections: each one its own color band, so they're easy to tell apart. */
.ifold{margin:0 0 18px;background:var(--surface-alt,#f4e5d9)}
.ifold>summary{min-height:72px;padding:0 16px;gap:12px;color:#111315}
.ificon{flex:none;width:44px;height:44px;border-radius:50%;background:#111315;color:#fff;display:grid;place-items:center}
.ificon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ifold .icount,[data-brand="sffs"] .ifold .icount{background:#111315;color:#fff}
.ifold .izero{color:inherit;opacity:.75}
.ifold[open]>summary{border-radius:16px 16px 0 0}
.ifold .ifbody{padding:14px 12px 16px;background:var(--surface,#fff)}
.if-quotes>summary{background:var(--sf-lav,#c9b8ff)}
.if-obs>summary{background:var(--sf-lime,#e4fe52)}
.if-obs .ificon{color:var(--sf-lime,#e4fe52)}
.if-feedback>summary{background:var(--sf-blue,#3c88f7);color:#fff}
.if-feedback .ificon{background:#fff;color:var(--sf-blue,#3c88f7)}
.if-feedback .icount,[data-brand="sffs"] .if-feedback .icount{background:#fff;color:#111315}
.if-changes>summary,.if-hours>summary,.if-recaps>summary{background:var(--sf-mint,#2ade9a)}
.ifold[open]{background:var(--surface,#fff)}
.ifold[open] .ifbody{box-shadow:inset 0 0 0 0 transparent}
/* An open section keeps a light wash of its color, so you can see where it ends. */
.if-quotes .ifbody{background:color-mix(in srgb,var(--sf-lav,#c9b8ff) 22%,var(--surface,#fff))}
.if-obs .ifbody{background:color-mix(in srgb,var(--sf-lime,#e4fe52) 14%,var(--surface,#fff))}
.if-feedback .ifbody{background:color-mix(in srgb,var(--sf-blue,#3c88f7) 14%,var(--surface,#fff))}
.if-changes .ifbody,.if-hours .ifbody,.if-recaps .ifbody{background:color-mix(in srgb,var(--sf-mint,#2ade9a) 18%,var(--surface,#fff))}
.ifold .ifbody{border-radius:0 0 16px 16px}
.ifold .qcard,.ifold .logperson{background:var(--surface-raised,#fff)}
.ifold .qcard .qtext{background:var(--surface-alt,#f4e5d9)}
/* Quotes: show that the AI is working. */
.qcard.busy .qtext{opacity:.45}
.qbusy{display:flex;align-items:center;gap:8px;margin:0;font-weight:600;color:var(--sf-indigo,#3e10cc)}
.qspin{display:inline-block;width:16px;height:16px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;animation:qspin .8s linear infinite;vertical-align:-3px;margin-right:8px;flex:none}
.qbusy .qspin{margin-right:0}
@keyframes qspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.qspin{animation-duration:2.4s}}

/* Quotes as a numbered list of short cards: easy to scan ten a day. */
.qlist{list-style:none;padding:0;margin:8px 0 12px;display:flex;flex-direction:column;gap:14px}
.ifold .qcard{background:var(--surface-raised,#fff);border-radius:16px;padding:12px 14px 10px;gap:6px;box-shadow:0 1px 0 rgba(17,19,21,.06),0 4px 14px rgba(62,16,204,.08)}
.qhead{display:flex;align-items:center;gap:10px;font-size:14px;line-height:20px;color:var(--ink-muted)}
.qhead b{color:var(--ink)}
.qwho{flex:1;min-width:0}
.qnum{flex:none;width:28px;height:28px;border-radius:50%;background:var(--sf-lav,#c9b8ff);color:#111315;display:grid;place-items:center;font-weight:700;font-size:14px}
.qpreview{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;width:100%;border:0;background:transparent;text-align:left;font:inherit;font-size:16px;line-height:24px;color:var(--ink);white-space:pre-wrap;padding:2px 0;cursor:pointer}
.qrow{padding-top:4px}
.qinclabel{display:flex;align-items:center;gap:8px;font-size:14px}
.qinclabel input{width:20px;height:20px}
.qcard.skip .qpreview{color:var(--ink-muted);text-decoration:line-through;text-decoration-color:rgba(17,19,21,.25)}
.qcard.skip .qnum{background:var(--surface-alt)}
.qcard.sent .qnum{background:var(--sf-mint,var(--mint))}
.ifold .qcard.open{background:color-mix(in srgb,var(--sf-lav,#c9b8ff) 35%,var(--surface,#fff))}
.ifold .qcard.open .qtext{background:var(--surface-raised,#fff)}
.qdone{align-self:flex-end}
.qcopybar{display:block;width:100%;border:0;border-radius:14px;background:var(--sf-blue,#3c88f7);color:#fff;font:inherit;font-weight:700;font-size:17px;padding:16px;margin:4px 0 10px}
.ifold .qcard{padding:12px 14px;gap:6px}
.qpreview{font-size:15px;line-height:22px}
.qinclabel{flex:none;gap:6px;font-weight:600;color:var(--ink)}
.qrow{padding-top:0}
.ifold .qcard .qrow{background:transparent;padding:0;border-radius:0;min-height:0}
.qedrow{display:flex;justify-content:space-between;align-items:center;gap:12px}
/* Children tags on a quote, and the child filter in Observations */
.kidtags{display:flex;flex-wrap:wrap;gap:6px}
.kidtag{border:0;border-radius:var(--radius-pill);background:var(--sf-lav,#c9b8ff);color:#111315;font:inherit;font-size:13px;font-weight:600;padding:4px 12px;min-height:30px}
.kidtag.add{background:var(--surface-alt);color:var(--ink)}
.obskid{min-height:40px;border:0;border-radius:var(--radius-pill);background:var(--surface-raised,#fff);color:inherit;padding:0 14px;font:inherit;font-size:14px;margin:0 0 10px;max-width:100%}
#kd-list{width:100%;font:inherit;font-size:16px;line-height:24px;border:0;outline:0;border-radius:var(--radius-sm);background:var(--surface-alt);padding:12px;color:var(--ink)}
.kidtag{min-height:26px;padding:2px 10px;font-size:12px}

/* Yes/No and other choice buttons: the chosen one is clearly filled in. */
.qrseg button[aria-pressed="true"]{background:var(--sf-indigo,#3e10cc);color:#fff}
.qrseg button[aria-pressed="true"]::before{content:"✓ "}
.qrseg.energy3 button[aria-pressed="true"]::before{content:""}
.qrseg:has(button[aria-pressed="true"]) button[aria-pressed="false"]{opacity:.6}

/* Talk or type */
.talktype{display:flex;gap:8px;margin:6px 0 8px}
.ttbtn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;min-height:48px;font:inherit;font-size:15px;font-weight:700;background:#fff;color:#111315}
.ttbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ttbtn.talk{background:var(--sf-lime,#e4fe52)}
.ttbtn.rec{background:#111315;color:#fff}
.ttbtn:disabled{opacity:.5}
.recdot{width:12px;height:12px;border-radius:50%;background:var(--sf-pink,#ea337a);animation:recblink 1s ease-in-out infinite}
@keyframes recblink{50%{opacity:.3}}
.micsteps{padding-left:22px;margin:8px 0 0;display:flex;flex-direction:column;gap:8px;line-height:24px}

/* Handbook search: matches are highlighted, and you can jump between them */
mark.hbhit{background:var(--sf-lime,#e4fe52);color:inherit;border-radius:3px;padding:0 1px}
mark.hbhit.on{background:var(--sf-blue,#3c88f7);color:#fff}
.hbfind{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 12px;font-weight:600}
.hbfind:empty{display:none}
.hbfind{position:sticky;top:8px;z-index:3;background:var(--surface,#fff);border-radius:999px;padding:6px 6px 6px 16px;box-shadow:0 4px 14px rgba(17,19,21,.12)}
.front .fstaff{margin-top:8px}
.front h1 label{cursor:default}

/* A child's folder: search, categories, dates, calendar, report */
.kidsearch{margin:4px 0 12px}
.kftools{display:flex;flex-direction:column;gap:10px;margin:8px 0 14px}
.kfcats{display:flex;flex-wrap:wrap;gap:6px}
.kfn{opacity:.7;font-weight:500}
.kfdates{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.kfdates label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-muted)}
.kfdates input{min-height:44px;border:0;border-radius:12px;padding:0 10px;font:inherit;background:var(--surface-alt);color:inherit}
.kfview{margin:0}
.kfdayline{display:flex;align-items:center;gap:10px;margin:4px 0 8px}
.ksum{background:var(--surface-alt);border-radius:16px;padding:12px 14px;margin:6px 0 12px;display:flex;flex-direction:column;gap:8px}
.ksum p{margin:0}
.ksumchips{display:flex;flex-wrap:wrap;gap:6px}
.ksumchip{background:var(--surface-raised,#fff);border-radius:999px;padding:3px 10px;font-size:13px}
.kcalhead{display:flex;align-items:center;justify-content:space-between;margin:4px 0 8px}
.kcalhead .iconbtn{width:40px;height:40px;border-radius:50%;border:0;background:var(--surface-alt);color:inherit;font-size:22px}
.kcal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:12px}
.kcdow{text-align:center;font-size:12px;color:var(--ink-muted);padding:2px 0}
.kcday{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink-muted);font:inherit;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.kcday.has{background:var(--sf-lav-soft,var(--surface-alt));color:var(--ink);font-weight:600}
.kcday.has i{font-style:normal;font-size:11px;background:var(--sf-indigo,#1d194e);color:#fff;border-radius:999px;padding:0 6px;line-height:16px}
.kcday.sel{background:var(--sf-lav,#c9abe0);color:#111315}
.kreport{background:var(--surface-raised,#fff);border-radius:16px;padding:18px;margin-top:12px}
.kreport h1{margin:4px 0}
.krow{padding:10px 0;border-top:1px solid rgba(17,19,21,.1)}
.krowhead{margin:0 0 4px;font-size:14px}
.krowtext{margin:0;white-space:pre-wrap;line-height:1.5}
@media print{
  .appbar,.tabbar,.logfab,.noprint,.previewbar{display:none !important}
  body,html{background:#fff !important;color:#111315 !important}
  .kreport{box-shadow:none;padding:0;background:#fff;color:#111315}
  .krow{break-inside:avoid}
}
/* Quotable Quotes on the Head Guide's Home */
.gbig.quotes{background:var(--sf-lav,#c9abe0)}
.gbig.quotes .gbicon{color:var(--sf-lav,#c9abe0)}
/* A child's folder: three sections */
.ksecs{display:flex;gap:6px;margin:6px 0 10px}
.ksec{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border:0;border-radius:16px;background:var(--surface-alt,#f4e5d9);color:inherit;font:inherit;cursor:pointer}
.ksec.ksec-confidential{flex-grow:1.6}.ksec.ksec-all{flex-grow:.7}
.ksec b{font-size:15px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.ksec span{font-size:13px;opacity:.75}
.ksec[aria-selected=true]{background:var(--sf-indigo,#1d194e);color:#fff}
.ksec.ksec-wellness[aria-selected=true]{background:var(--sf-mint,#28df99);color:#111315}
.ksec.ksec-general[aria-selected=true]{background:var(--sf-blue,#3c88f7);color:#fff}
.ksec .kslock svg{width:14px;height:14px;display:block}
.ksec .kslock svg,.kconf .kslock svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kconf{display:flex;gap:10px;align-items:flex-start;background:var(--sf-indigo,#1d194e);color:#fff;border-radius:18px;padding:14px 16px;margin:0 0 10px}
.kconf p{margin:0;font-size:15px;line-height:21px}
.kconf .kslock{flex:none;margin-top:2px}
.ksechint{margin:0 0 8px}
.ksectag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700;background:var(--sf-blue-soft,#e2edfe);color:var(--sf-on-soft,#111315)}
.ksectag.ksec-wellness{background:var(--sf-mint-soft,#d9f9ec)}
.ksectag.ksec-confidential{background:var(--sf-indigo,#1d194e);color:#fff}
.kmove{display:flex;align-items:center;gap:6px;font-size:14px;margin-right:auto}
.kmove select{font:inherit;font-size:14px;padding:6px 8px;border-radius:10px;border:0;background:var(--surface-alt,#f4e5d9);color:inherit}

/* =====================================================================
   Oogubi design system, v2 (Liquid Glass, four themes, calm motion).
   The product layer every business shares. A business's skin (its logo,
   palette, fonts, words) sits on top: SFFS's overrides follow below.
   ===================================================================== */
:root{
  --black:#000000; --stone:#8e9298; --sky:#3c88f7;
  --on-indigo:var(--linen); --on-lime:var(--indigo); --on-mint:var(--indigo); --on-lavender:var(--indigo);
  --on-sky:var(--carbon); --on-violet:var(--white); --on-pink:var(--white); --on-sand:var(--indigo);
  --on-success:var(--indigo); --on-attention:var(--carbon); --on-info:var(--indigo);
  --selection:var(--neon-lime); --on-selection:var(--indigo); --toggle-on:var(--violet); --link:var(--violet);
  --track-off:rgba(29,25,78,.18); --fill-tertiary:rgba(29,25,78,.07); --separator:rgba(29,25,78,.12); --grabber:rgba(29,25,78,.25);
  --glass-regular:rgba(251,246,242,.72); --glass-edge:rgba(255,255,255,.85); --glass-rim:rgba(29,25,78,.06);
  --glass-ink:var(--ink); --glass-ink-muted:var(--ink-muted); --sheet-bg:var(--glass-regular);
  --scrim:rgba(29,25,78,.32);
  --shadow-float:0 10px 30px rgba(29,25,78,.12),0 1px 3px rgba(29,25,78,.08);
  --glass-blur:24px;
  --button-height:44px; --button-height-sm:36px;
  --ease-settle:cubic-bezier(.22,1,.36,1);
  --ease-exhale:linear(0, .12 6%, .42 16%, .74 30%, .93 46%, 1.02 62%, 1.01 78%, 1);
  --ease-exit:cubic-bezier(.4,0,1,1);
  --dur-press:120ms; --dur-quick:200ms; --dur-base:360ms; --dur-calm:620ms;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --surface:var(--indigo); --surface-alt:rgba(251,246,242,.05); --surface-raised:rgba(251,246,242,.09);
  --toggle-on:var(--neon-lime); --link:var(--neon-lime);
  --track-off:rgba(251,246,242,.24); --fill-tertiary:rgba(251,246,242,.10); --separator:rgba(251,246,242,.14); --grabber:rgba(251,246,242,.35);
  --glass-regular:rgba(29,25,78,.74); --glass-edge:rgba(255,255,255,.22); --glass-rim:rgba(255,255,255,.08);
  --scrim:rgba(0,0,0,.5); --shadow-float:0 10px 30px rgba(0,0,0,.35) }}
:root[data-theme="dark"]{
  --surface:var(--indigo); --surface-alt:rgba(251,246,242,.05); --surface-raised:rgba(251,246,242,.09);
  --toggle-on:var(--neon-lime); --link:var(--neon-lime);
  --track-off:rgba(251,246,242,.24); --fill-tertiary:rgba(251,246,242,.10); --separator:rgba(251,246,242,.14); --grabber:rgba(251,246,242,.35);
  --glass-regular:rgba(29,25,78,.74); --glass-edge:rgba(255,255,255,.22); --glass-rim:rgba(255,255,255,.08);
  --scrim:rgba(0,0,0,.5); --shadow-float:0 10px 30px rgba(0,0,0,.35) }
/* Increased Contrast: text reaches 7:1, glass turns solid with an outline, no shadows. */
@media (prefers-contrast: more){
  :root{ --hairline:var(--slate); --field-border:var(--indigo); --separator:rgba(29,25,78,.4); --track-off:var(--slate);
    --selection:var(--indigo); --on-selection:var(--neon-lime); --attention:var(--indigo); --on-attention:var(--linen);
    --glass-regular:var(--white); --glass-rim:var(--indigo); --shadow-float:none; --scrim:rgba(29,25,78,.55) }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
    --surface-alt:var(--indigo); --surface-raised:var(--carbon); --ink:var(--white); --hairline:var(--mist); --field-border:var(--fog);
    --separator:rgba(251,246,242,.45); --selection:var(--neon-lime); --on-selection:var(--indigo); --attention:var(--linen); --on-attention:var(--indigo);
    --glass-regular:var(--carbon); --glass-rim:var(--mist) }}
}

/* Calm motion: settle by default, a soft 97% press, nothing loops for decoration. */
.btn,.chip,.toggle,.gbig,.seg button,.qrseg button,.tabbar button,.ksec,.urgentpill,.logfab,.todo-pill{transition:transform var(--dur-press) var(--ease-settle),background-color var(--dur-quick) var(--ease-settle),color var(--dur-quick) var(--ease-settle)}
.btn:active,.chip:active,.toggle:active,.gbig:active,.seg button:active,.qrseg button:active,.tabbar button:active,.ksec:active,.urgentpill:active,.logfab:active,.todo-pill:active{transform:scale(.97)}
.urgentpill:active{transform:scale(.97)}
.btn.join,.todo-pill,.logfab,[data-brand="sffs"] .logfab,.urgentpill{animation:none !important}
.btn[disabled],.btn[aria-disabled="true"]{background:var(--fill-tertiary);color:var(--ink-muted);box-shadow:none;cursor:not-allowed}
.textlink{color:var(--link);text-decoration-thickness:1.5px}

/* Text on pink is white and bold. WCAG 2 scores it 4:1 but the newer APCA test, built for how eyes see
   saturated color, scores white far easier to read (Lc 71) than dark text (Lc 37). Travis confirmed on a phone. */
.btn.join,.reqbadge,.tbadge,.icount,.fbkind.cant,.growcta,.tchip.changes,.tkind.change,.badge.open,.urgentpill,
[data-brand="sffs"] .urgentbar,[data-brand="sffs"] .urgtag,[data-brand="sffs"] .energy.red,[data-brand="sffs"] .echip.red[aria-pressed="true"],
[data-brand="sffs"] .furgent,.lflag.late,.qrseg.energy3 button[aria-pressed="true"].red,.urgentmark{color:var(--on-pink)}
/* Not on pink, so not in the list above: the delete button is charcoal in every space (white text),
   and SFFS shows every feedback kind in its soft warm block (its own text color). */
[data-brand="sffs"] .fbkind.cant{color:var(--sf-on-soft)}
/* SFFS status badges: "full" is slate in light and lime in dark, so its text follows; "pending" is light grey, so charcoal. */
[data-brand="sffs"] .badge.full{color:var(--on-mint)}
[data-brand="sffs"] .badge.pending{color:#111315}

/* Liquid Glass tab bar: a floating capsule, an icon and one word per tab, the lime pill marks where you are. */
.tabbar{left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:6px;border:0;border-radius:var(--radius-pill);
  background:var(--glass-regular);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(170%);backdrop-filter:blur(var(--glass-blur)) saturate(170%);
  box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-rim),var(--shadow-float);max-width:560px;margin:0 auto}
.tabbar-in{max-width:none;gap:4px}
.tabbar button,.tabbar button{padding:6px 2px;min-height:54px;border-radius:var(--radius-pill);color:var(--glass-ink);justify-content:center;gap:1px}
.tabbar button[aria-current="page"]{background:var(--selection);color:var(--on-selection)}
.tabbar .ticon{width:26px;height:26px}.tabbar .ticon svg{width:24px;height:24px;stroke-width:1.6}
.tabbar button[aria-current="page"] .ticon svg{stroke-width:2}
.tabbar .tlabel{font-size:11px;line-height:13px;font-weight:500}
.tabbar button[aria-current="page"] .tlabel{font-weight:700}
.tbadge{box-shadow:0 0 0 2px var(--glass-regular)}
.tbadge,.reqbadge,.icount{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-weight:700}
/* Everything floating sits above the tab bar. */
.urgentpill,.todo-pill,.logfab{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.toast{bottom:auto;top:calc(14px + env(safe-area-inset-top,0px));color:var(--glass-ink);background:var(--glass-regular);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(170%);backdrop-filter:blur(var(--glass-blur)) saturate(170%);
  box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-rim),var(--shadow-float);padding:12px 22px;font-weight:700}
/* Toasts: one fixed width on phones. Corners are half a line's height, so one line reads as a pill
   and longer messages become a rounded box instead of a tall, narrow capsule. */
.toast{width:calc(100% - 32px);max-width:420px;box-sizing:border-box;border-radius:22px;line-height:20px;text-wrap:pretty;overflow-wrap:break-word}
@media (min-width:600px){.toast{width:max-content}}
/* Toasts sit at the top now. The old rule that lifted them above the reminder pill also set bottom, which
   stretched every toast from the top of the screen to the pill. Clear it. */
body:has(.todo-pill) .toast{bottom:auto}

/* Sheets rise from the bottom in glass, with concentric 36px corners and a grabber. */
.scrim{background:var(--scrim)}
.sheet{background:var(--sheet-bg);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(170%);backdrop-filter:blur(var(--glass-blur)) saturate(170%);
  box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-rim),var(--shadow-float);
  width:calc(100% - 16px);margin-bottom:calc(8px + env(safe-area-inset-bottom,0px));border-radius:36px;padding-top:12px;padding-bottom:24px;max-height:calc(92% - 8px)}
.sheet::before{content:"";flex:none;width:36px;height:5px;border-radius:var(--radius-pill);background:var(--grabber);align-self:center}
@media (prefers-reduced-motion:no-preference){
  .sheet{animation:og-rise var(--dur-base) var(--ease-settle) both}
  .toast{animation:og-settle var(--dur-calm) var(--ease-exhale) both}
}
@keyframes og-rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes og-settle{from{transform:translate(-50%,-8px);opacity:0}to{transform:translateX(-50%);opacity:1}}

/* Segmented control: a raised pill on a soft track. */
.seg{background:var(--fill-tertiary);box-shadow:none;padding:3px;gap:2px}
.seg button{height:38px;color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--surface-raised);color:var(--ink);box-shadow:var(--shadow-float)}

/* Switch */
.switch{background:var(--track-off);transition:background-color var(--dur-quick) var(--ease-settle)}
.switch::after{top:3px;left:3px;width:26px;height:26px;background:var(--white);box-shadow:0 2px 6px rgba(17,19,21,.18);transition:transform var(--dur-base) var(--ease-settle)}

/* Glass falls back to solid when people ask for it, or the browser can't blur. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .tabbar,.toast,.sheet{background:var(--surface-raised)}
}
@media (prefers-reduced-transparency: reduce),(prefers-contrast: more){
  .tabbar,.toast,.sheet{-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:inset 0 0 0 1.5px var(--field-border)}
  .tabbar{background:var(--surface-raised)}
  .toast{background:var(--surface-raised)}
  .sheet{background:var(--surface)}
}
@media (prefers-reduced-motion: reduce){
  .btn:active,.chip:active,.toggle:active,.gbig:active,.seg button:active,.tabbar button:active{transform:none}
}

/* ---- SFFS skin on the v2 layer: charcoal glass to match the header, lime marks where you are,
   links stay charcoal (SFFS has no violet), its white canvas and Faustina headings stay. ---- */
:root[data-brand="sffs"]{
  --link:var(--ink); --selection:var(--neon-lime); --on-selection:var(--charcoal); --toggle-on:var(--charcoal);
  --fill-tertiary:rgba(17,19,21,.06); --separator:rgba(17,19,21,.12); --grabber:rgba(17,19,21,.25); --track-off:rgba(17,19,21,.2);
  --glass-regular:rgba(66,74,84,.86); --glass-edge:rgba(255,255,255,.18); --glass-rim:rgba(255,255,255,.06);
  --glass-ink:var(--cream-sffs); --sheet-bg:rgba(255,255,255,.9);
  --shadow-float:0 10px 30px rgba(17,19,21,.16),0 1px 3px rgba(17,19,21,.1);
}
@media (prefers-color-scheme: dark){ :root[data-brand="sffs"]:not([data-theme="light"]){
  --link:var(--neon-lime); --toggle-on:var(--neon-lime); --surface-raised:#545e6a; --surface-alt:#4b545f;
  --fill-tertiary:rgba(251,246,242,.1); --separator:rgba(251,246,242,.14); --grabber:rgba(251,246,242,.35); --track-off:rgba(251,246,242,.24);
  --glass-regular:rgba(53,59,67,.86); --sheet-bg:rgba(66,74,84,.94); --shadow-float:0 10px 30px rgba(0,0,0,.35) }}
:root[data-brand="sffs"][data-theme="dark"]{
  --link:var(--neon-lime); --toggle-on:var(--neon-lime); --surface-raised:#545e6a; --surface-alt:#4b545f;
  --fill-tertiary:rgba(251,246,242,.1); --separator:rgba(251,246,242,.14); --grabber:rgba(251,246,242,.35); --track-off:rgba(251,246,242,.24);
  --glass-regular:rgba(53,59,67,.86); --sheet-bg:rgba(66,74,84,.94); --shadow-float:0 10px 30px rgba(0,0,0,.35) }
@media (prefers-contrast: more){ :root[data-brand="sffs"]{ --glass-regular:var(--frame); --ink-muted:var(--charcoal); --hairline:var(--slate); --selection:var(--neon-lime); --on-selection:var(--charcoal); --attention:var(--sf-pink,#ea337a); --on-attention:var(--carbon) } }
[data-brand="sffs"] .tabbar{background:var(--glass-regular);border:0}
[data-brand="sffs"] .tabbar button{color:var(--glass-ink)}
[data-brand="sffs"] .tabbar button[aria-current="page"]{background:var(--selection);color:var(--on-selection)}
[data-brand="sffs"] .tbadge{box-shadow:0 0 0 2px var(--frame)}
[data-brand="sffs"] .tabbar button[aria-current="page"] .tbadge{background:var(--charcoal);color:var(--neon-lime)}
[data-brand="sffs"] .toast{color:var(--glass-ink)}
@media (prefers-reduced-transparency: reduce),(prefers-contrast: more){ [data-brand="sffs"] .tabbar,[data-brand="sffs"] .toast{background:var(--frame)} }

/* =====================================================================
   Clean pass: the Oogubi look carried through every screen.
   Neutrals do the work, color only means something (lime: act here or
   you are here, mint: done, pink: needs attention). Rows group into one
   surface with hairlines. Icons sit centered in their circles.
   ===================================================================== */
/* Type ramp (Apple sizes in Sofia): page titles 32, card titles 22, rows 17, body 16, notes 13. */
h2.month{font-size:32px;line-height:40px}
.month.small,h2.month.small{font-size:22px;line-height:30px;margin-top:28px}
.evtop h3{font-size:22px;line-height:30px}
.gbtext b{font-size:22px;line-height:28px}
.askhead .askq{font-size:22px;line-height:30px}
.welcome h1,.growhero h1{font-size:32px;line-height:40px}
.hint{font-size:13px;line-height:18px}

/* Icon circles: always centered. */
.lpicon,.gbicon,.kidav,.urgentmark{display:grid !important;place-items:center;flex-direction:initial}
.lpicon > svg,.gbicon > svg{display:block;margin:0}

/* Home rows and cards: one neutral surface, the icon circle carries the brand color. */
:root .logpanel,:root[data-brand="sffs"] .logpanel,:root[data-brand="sffs"] .logpanel.soft,:root[data-brand="sffs"] .logpanel.soft.res,:root[data-brand="sffs"] .logpanel.soft.check,
:root .logpanel.meet,:root .logpanel.meet.soft,:root .logpanel.van.open,:root .logpanel.vanwarn,:root .askrow{
  background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-md);padding:14px 16px;min-height:72px;gap:14px;margin:0 0 10px}
:root .logpanel > span > span,:root[data-brand="sffs"] .logpanel > span > span,:root[data-brand="sffs"] .logpanel.soft > span > span{color:var(--ink-muted);font-size:15px;line-height:20px}
:root .logpanel b,:root[data-brand="sffs"] .logpanel b,:root .askrow b{font-size:17px;line-height:22px;font-weight:700}
:root .askrow .eyebrow{font-size:12px;line-height:16px;color:var(--ink-muted)}
:root .lpicon,:root .askrow .lpicon,:root .logpanel.soft .lpicon,:root .logpanel.vanwarn .lpicon,:root .logpanel.van.open .lpicon{background:var(--icon-bg,var(--action));color:var(--on-icon,var(--on-action));flex:0 0 44px;width:44px;height:44px}
:root .lpicon svg{width:22px;height:22px;stroke-width:1.8}
.logpanel .chev,.askrow .chev{flex:none}
/* Needs attention is a word on a pink pill, never a whole pink or purple card. */
.needbadge{flex:none;display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:var(--radius-pill);background:var(--pink);color:var(--on-pink);font-size:13px;line-height:16px;font-weight:700;white-space:nowrap}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .logpanel,:root[data-brand="sffs"]:not([data-theme="light"]) .logpanel{background:var(--surface-alt)} }

/* Improvement plans: a quiet row, not an Indigo slab. */
:root .ipcard{background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-md)}
:root .ipmain{color:var(--ink);padding:16px 8px 16px 18px}
:root .ipmain b{font-size:17px;line-height:22px}
:root .ipmain .chev{border-color:var(--ink-muted)}
:root .ipinfo{background:var(--fill-tertiary);color:var(--ink)}

/* Lists of people and children: rows grouped on one surface, divided by hairlines (List Group). */
:root[data-brand] .kidrow{background:var(--surface-alt);color:var(--ink);border-radius:0;margin:0;min-height:60px;padding:10px 16px}
:root[data-brand] .kidrow:not(.kidrow + .kidrow){border-top-left-radius:var(--radius-md);border-top-right-radius:var(--radius-md)}
:root[data-brand] .kidrow:not(:has(+ .kidrow)){border-bottom-left-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md);margin-bottom:16px}
:root[data-brand] .kidrow + .kidrow{box-shadow:inset 0 1px 0 var(--separator)}
:root[data-brand] .kidrow b{font-size:17px;line-height:22px}
:root[data-brand] .kidrow > span:nth-child(2) span{font-size:15px;line-height:20px;color:var(--ink-muted)}
.kidav{width:40px;height:40px;font-size:15px}
.kidav.lv{background:var(--icon-bg,var(--action));color:var(--on-icon,var(--on-action));font-size:13px}
/* In dark mode lime stays for "act here" only, so icon circles go quiet. */
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --icon-bg:var(--fill-tertiary); --on-icon:var(--ink) } }
:root[data-theme="dark"]{ --icon-bg:var(--fill-tertiary); --on-icon:var(--ink) }

/* Segmented controls: one look everywhere, a raised pill on a soft track. */
:root[data-brand] .seg,:root .seg{background:var(--fill-tertiary) !important;box-shadow:none !important;border:0;padding:3px;gap:2px;border-radius:var(--radius-pill)}
:root[data-brand] .seg button,:root .seg button{height:38px;color:var(--ink);font-size:15px;font-weight:500;background:none}
:root[data-brand] .seg button[aria-pressed="true"],:root .seg button[aria-pressed="true"]{background:var(--surface-raised);color:var(--ink);font-weight:700;box-shadow:var(--shadow-float)}
@media (prefers-color-scheme: dark){ :root[data-brand]:not([data-theme="light"]) .seg button[aria-pressed="true"]{background:var(--surface-raised);color:var(--ink)} }
.hsnotice .seg button[aria-pressed="true"]{background:var(--neon-lime) !important;color:var(--indigo) !important}

/* The urgent button: smaller, still pink, out of the content's way. */
.urgentpill{height:44px;padding:0 18px;font-size:15px;box-shadow:var(--shadow-float)}

/* ===== Text centered in every pill, badge, chip and button, on every phone and browser =====
   Sofia's capitals and numbers sit 0.097em above the middle of their line (cap height 0.694em on a 0.75/0.25em line).
   With the font measurements pinned above, Safari, Chrome and Firefox all lay text out the same way, so one fix works
   everywhere: 0.19em of extra top padding moves the text down 0.097em in any box that centers its contents.
   !important keeps variants that reset padding or line height (.btn.small) centered too. qa/check.py measures every pill in all three
   engines on each save and fails if text is more than 1px off. New pill styles: add sample text in qa/build_pills.py. */
.badge,.btn,.chip,.fbkind,.flock,.fsaved,.fsmall,.icount,.inum,.kidav,.needbadge,.prod,.qnum,.reqbadge,.tbadge,
.tcount,.todo-pill,.toggle,.trnum,.urgentmark,.urgentpill{padding-top:0.19em !important}
/* Line height equal to the font size: extra line spacing is placed slightly differently by each browser,
   so pills (always one line, fixed height) carry none. */
.badge,.btn,.chip,.fbkind,.flock,.fsaved,.fsmall,.icount,.inum,.kidav,.needbadge,.prod,.qnum,.reqbadge,.tbadge,
.tcount,.todo-pill,.toggle,.trnum,.urgentmark,.urgentpill,.close,.fmed,.furgent,.ttbtn,.kidtag,.echip{line-height:1 !important}
.close,.fmed,.furgent,.ttbtn{padding-top:calc(1px + 0.19em) !important}
.chip{padding-top:0.25em !important} /* native buttons center their contents a little higher than flex does */
.kidtag{padding-top:calc(2px + 0.19em) !important}
[data-brand="sffs"] .fbkind{padding-top:calc(3px + 0.19em) !important}
.echip{padding-top:calc(10px + 0.19em) !important}

/* Name check before AI (AI door). One word per screen, the word highlighted in its note. Tokens only. */
.nc{display:grid;gap:20px;margin-top:8px}
.nc-note{margin:0;background:var(--surface-alt);color:var(--ink);border-radius:var(--radius-lg);padding:20px;font-size:19px;line-height:1.5}
.nc-note mark{background:var(--neon-lime);color:var(--carbon);border-radius:6px;padding:1px 4px;font-weight:700}
.nc-q{margin:4px 0 0;font-size:30px;line-height:1.15;color:var(--title)}
.nc-picks{display:grid;gap:12px}
.nc-pick{width:100%;height:60px;font-size:19px}
.nc-list{display:flex;flex-wrap:wrap;gap:10px}
.nc-list .chip{height:44px;padding:0 18px;font-size:17px}

/* =====================================================================
   Task Manager (site/tasks.js). Shared part: tokens only, so each business's skin fills it in.
   ===================================================================== */
.appbar{position:relative}
.tmhead{position:absolute;z-index:11;top:calc(50% + env(safe-area-inset-top,0px) / 2);transform:translateY(-50%);touch-action:manipulation;-webkit-tap-highlight-color:transparent;right:max(16px,env(safe-area-inset-right,0px));display:inline-flex;align-items:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border:0;border-radius:var(--radius-pill);background:rgba(255,255,255,.14);color:var(--white);cursor:pointer}
.tmhead svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tmhead.run{background:var(--sky);color:var(--on-sky)}
.tmclock{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.tmdot{width:10px;height:10px;border-radius:50%;background:var(--neon-lime)}
.tmhome{display:flex;flex-direction:column;gap:16px}
.tmcard{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;width:100%;min-height:200px;padding:28px;border:0;border-radius:var(--radius-lg);background:var(--surface-alt);color:var(--ink);text-align:left;cursor:pointer}
.tmcard.go{background:var(--action);color:var(--on-action)}
.tmcard.small{flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;min-height:96px;padding:20px 28px}
.tmcard svg{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.tmcard.small svg{width:40px;height:40px}
.tmcard span{font-size:32px;line-height:38px;font-weight:700}
.tmcard.small span{font-size:26px;line-height:32px}
.tmrun{display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:var(--radius-lg);background:var(--surface-raised)}
.tmrunbody,.tmcheckbody{margin:0;font-size:24px;line-height:30px;font-weight:700;color:var(--ink)}
.tmcheckbody{font-size:17px;line-height:24px;font-weight:400}
.tmtimer{margin:0;font-size:56px;line-height:60px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.tmbig{width:100%;min-height:60px;font-size:20px}
.tmmeta{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;line-height:20px;color:var(--ink-muted)}
.tmbadge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:var(--radius-pill);font-size:12px;font-weight:700;line-height:1;white-space:nowrap;background:var(--fill-tertiary);color:var(--ink);align-self:flex-start}
.tmbadge.now{background:var(--sky);color:var(--on-sky)}
.tmbadge.look{background:var(--neon-lime);color:var(--on-lime)}
.tmbadge.ai{background:var(--indigo);color:var(--linen)}
.tmlist{display:flex;flex-direction:column;border-radius:var(--radius-md);background:var(--surface-raised);overflow:hidden}
.tmrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:12px 18px;border:0;background:none;color:var(--ink);font-size:18px;font-weight:500;text-align:left;cursor:pointer;list-style:none}
.tmrow::-webkit-details-marker{display:none}
.tmrow>span:first-child{flex:1 1 auto;min-width:0}
.tmrow .b{font-weight:700}
.tmrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tmlist>*+*{box-shadow:inset 0 1px 0 var(--separator)}
.tmval{color:var(--ink-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.tmrow .chev{width:8px;height:8px;border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(-45deg);flex:none}
details[open]>.tmrow .chev{transform:rotate(45deg)}
.tmgrp{margin:20px 4px 8px;font-size:13px;line-height:18px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.tmitem{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;padding:16px 18px;border:0;background:none;color:var(--ink);text-align:left}
.tmitem.tap{cursor:pointer}
.tmitembody{margin:0;font-size:18px;line-height:24px;font-weight:700;color:var(--ink)}
.tmrowbtns{display:flex;gap:8px}
.tmsub{display:flex;gap:12px;justify-content:space-between;padding:10px 18px 10px 28px;font-size:15px;line-height:20px;color:var(--ink)}
.tmsub em{font-style:normal;color:var(--ink-muted)}
.tmstat{margin:8px 0;font-size:56px;line-height:60px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.tmseg{margin-bottom:12px}
.tmempty{font-size:17px;color:var(--ink-muted)}
.tmfoot{margin-top:24px}
.tmswitch{width:22px;height:22px;accent-color:var(--action)}
.tmmic{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;min-height:360px;padding:32px;border:0;border-radius:var(--radius-lg);background:var(--surface-alt);color:var(--ink);cursor:pointer}
.tmmic b{font-size:26px;line-height:32px}
.tmmicdot{display:flex;align-items:center;justify-content:center;width:120px;height:120px;border-radius:50%;background:var(--neon-lime);color:var(--on-lime)}
.tmmicdot svg{width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tmmicclock{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--ink-muted)}
.tmcheck{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:var(--radius-lg);background:var(--surface-raised)}
.tmcheck .textlink{align-self:center;font-size:17px}
.tmpill{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;min-height:44px;padding:0 18px;border:0;border-radius:var(--radius-pill);box-shadow:inset 0 0 0 1.5px var(--field-border);background:none;color:var(--ink);font-size:17px;font-weight:500;cursor:pointer}
.tmpill .chev{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.tmtags{display:flex;flex-wrap:wrap;gap:8px}
.tmtag{min-height:44px;padding:0 16px;border:0;border-radius:var(--radius-pill);background:var(--fill-tertiary);color:var(--ink);font-size:16px;font-weight:500;cursor:pointer}
.tmtag.on{background:var(--action);color:var(--on-action);font-weight:700}
.tmsheet{display:flex;flex-direction:column;gap:16px}
.tmsheetbody{margin:0;font-size:22px;line-height:28px;font-weight:700;color:var(--ink)}
.tmfield{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:var(--ink)}
.tmfield select,.tmfield input{min-height:44px;padding:0 12px;border-radius:var(--radius-sm);border:1.5px solid var(--field-border);background:var(--surface-raised);color:var(--ink);font:inherit;font-size:16px}
.tmwho{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding:20px;border-radius:var(--radius-lg);background:var(--surface-raised)}
@media (min-width:900px){
  .tmhome{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .tmhome>.tmlist{grid-column:1/-1}
}
.tmsingles{margin-top:20px}
[data-brand="sffs"] .tmrun,[data-brand="sffs"] .tmcheck,[data-brand="sffs"] .tmwho,[data-brand="sffs"] .tmlist,[data-brand="sffs"] .tmcard:not(.go),[data-brand="sffs"] .tmmic{background:var(--sf-warm)}
/* Task Manager pills: centered the same way as every other pill (see the block above). */
.tmbadge,.tmpill,.tmclock{padding-top:0.19em !important;line-height:1 !important}
.tmtag,.tmseg button{padding-top:0.25em !important;line-height:1 !important}

/* Intellectual Property Acknowledgment and the legal line at the bottom of every page */
.ipack{padding-top:24px;padding-bottom:48px}
.ipack h1{font-size:28px;line-height:34px;margin:0 0 16px;text-wrap:balance}
.ipbody{font-size:16px;line-height:24px;margin:0 0 20px}
.ipask{font-size:16px;line-height:24px;margin:0 0 12px}
.ipboxes{display:flex;flex-direction:column;background:var(--surface-alt);border-radius:var(--radius-md);margin:0 0 24px}
.ipbox{display:flex;gap:14px;align-items:flex-start;padding:16px;font-size:16px;line-height:23px;cursor:pointer;min-height:44px}
.ipbox + .ipbox{box-shadow:inset 0 1px 0 var(--separator)}
.ipbox input{flex:none;width:24px;height:24px;margin:0;accent-color:var(--action)}
.ipbox a{color:var(--link);text-decoration:underline}
.ipagree{width:100%;min-height:52px;font-size:17px}
.ipagree[disabled]{background:var(--fill-tertiary);color:var(--ink-muted)}
.ipout{width:100%;margin-top:10px}
.legalfoot{margin:40px 0 0;padding:16px 0 0;font-size:12px;line-height:16px;color:var(--ink-muted);text-align:center;box-shadow:inset 0 1px 0 var(--separator)}
.ipexport{margin:8px 0 20px}
.iprows{display:flex;flex-direction:column;background:var(--surface-alt);border-radius:var(--radius-md)}
.iprow{display:flex;flex-direction:column;gap:2px;padding:12px 16px;font-size:15px;line-height:20px}
.iprow + .iprow{box-shadow:inset 0 1px 0 var(--separator)}
.iprow span{color:var(--ink-muted);font-size:13px;line-height:18px}
.psrow .textlink{align-self:flex-start;margin-top:4px}
.vdlink{flex-basis:100%;margin-top:6px}.vdlink select{font:inherit;font-size:14px;padding:8px 10px;border-radius:10px;border:0;background:var(--surface-alt);color:inherit;width:100%}.vanrow{flex-wrap:wrap}
/* App use */
.aurange{margin:0 0 12px}
.aulist{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.aucard{background:var(--surface-alt);border-radius:var(--radius-md);padding:14px 16px}
.auhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.auhead b{font-size:17px;line-height:22px}
.auhead > span{font-size:13px;line-height:18px;color:var(--ink-muted)}
.aunow{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:700}
.aumeta{margin:2px 0 10px;font-size:13px;line-height:18px;color:var(--ink-muted)}
.aubars{display:flex;flex-direction:column;gap:6px}
.aubar{display:grid;grid-template-columns:minmax(0,9.5em) 1fr auto;gap:10px;align-items:center;font-size:14px;line-height:18px}
.aulabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.autrack{height:8px;border-radius:999px;background:var(--fill-tertiary);overflow:hidden}
.autrack i{display:block;height:100%;border-radius:999px;background:var(--action)}
.auval{font-size:13px;color:var(--ink-muted);white-space:nowrap}

/* Quiz: "Something else", "I don't know", and the review loop */
.qzopt.qzalt{display:flex;align-items:center;gap:10px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--sf-warm,#f4e5d9);font-weight:600}
.qzopt.qzalt svg{width:20px;height:20px;flex:none}
.qzopt.qzalt.on{background:var(--sf-lav-soft,#f1e8f8);box-shadow:none;opacity:1}
.qzopt.qzalt.dim{opacity:.5}
.qzown{background:var(--sf-cream,#fbf6f2);border-radius:18px;padding:16px;margin:0 0 16px}
.qzown p{margin:2px 0 8px}
.qzown .qzownq{margin-top:4px;font-size:17px}
.qzown.sent{background:var(--sf-lav-soft,#f1e8f8)}
.qzown textarea{width:100%;margin-top:8px}
.qzsent{margin:4px 0 0;font-weight:700}
.qzpop.idk p:first-child{font-weight:600}
.qrhead{margin:14px 0 6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.qrkind{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-pill,999px);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--sf-lav-soft,#f1e8f8);color:var(--sf-on-soft,inherit)}
.qrkind.ch{background:var(--sf-lime-soft,#f6ffc9)}
.qr .qrq{font-weight:700;margin:0}
.qr p{margin:0}
.qr .qrbody{margin:0}
.qropts{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.qropts li{font-size:14px;line-height:20px;padding:6px 10px;border-radius:10px;background:var(--surface-raised);display:flex;gap:8px;justify-content:space-between}
.qropts li.right{background:var(--sf-mint-soft,#d9f9ec)}
.qropts li.picked{box-shadow:inset 0 0 0 1.5px var(--sf-warm,#f4e5d9)}
.qropts em{font-style:normal;font-size:12px;color:var(--ink-muted);white-space:nowrap}
.qrbody{white-space:pre-wrap;margin:2px 0 10px}
.qrstep{font-size:14px;line-height:20px;margin:0;padding:8px 10px;border-radius:10px;background:var(--surface-raised)}
.qrstep.final.win,.qrresult.win{background:var(--sf-mint-soft,#d9f9ec)}
.qrlog{margin:6px 0;font-size:13px}
.qrlog ul{margin:6px 0 0;padding-left:18px}
.qrlog li{margin:0 0 4px}
.qract{margin-top:10px}
.qract textarea{width:100%}
.qrbtns{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.qrwait{font-size:14px;color:var(--ink-muted);margin:4px 0 0}
.qrresult{border-radius:12px;padding:10px 12px;background:var(--surface-raised);margin:0}
.qrresult p{margin:2px 0 6px}
.qr.mine.new{box-shadow:inset 0 0 0 2px var(--sf-lav,#c9abe0)}
.qrshare{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--sf-warm,#f4e5d9)}
.qrshare p{margin:2px 0 0}
.qridk ul{margin:0;padding-left:18px}
.qridk li{margin:0 0 6px}

/* Canopy: leadership and culture lessons */
.cnhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.cnhead .hint{margin:0}
.cndefs p{margin:0 0 8px}
.qrkind.cn-leadership{background:var(--sf-lime-soft,#f6ffc9)}
.qrkind.cn-culture{background:var(--sf-mint-soft,#d9f9ec)}
.qrkind.cn-both{background:var(--sf-lav-soft,#f1e8f8)}
.fbitem.cn.new{box-shadow:inset 0 0 0 2px var(--sf-lav,#c9abe0)}
.cnlens{margin-top:6px}

/* Task Manager: back link stays at the top while scrolling, why and where on chat to-dos, and where a kept one went */
.backlink.tmback{position:sticky;top:max(8px,env(safe-area-inset-top,0px));z-index:5;padding:8px 14px 8px 10px;border-radius:var(--radius-pill);background:var(--surface-raised);box-shadow:0 2px 10px rgba(0,0,0,.12)}
.tmctxd{margin:6px 0 2px}
.tmctxd summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--ink)}
.tmctx{margin:6px 0 4px;font-size:14px;line-height:20px;color:var(--ink)}
.tmitem.flash{box-shadow:inset 0 0 0 2px var(--action);transition:box-shadow .4s}

/* Task Manager: several to-dos from one recording */
.tmmanyhead{margin:0 0 12px;font-size:16px;line-height:24px;color:var(--ink)}
.tmmany{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.tmcheck.tmone{gap:10px;padding:16px 16px 14px}
.tmonetop{display:flex;align-items:flex-start;gap:10px}
.tmonetop .tmcheckbody{flex:1}
.tmdrop{flex:none;width:44px;height:44px;margin:-10px -8px 0 0;border:0;border-radius:50%;background:transparent;color:var(--ink-muted);font-size:18px;cursor:pointer}
.tmagain{display:block;margin:8px auto 0;font-size:17px}

/* Partner Rooms (partners-admin.js): the Partners screen and the item editor (fields beside a live preview). */
.pa-head{display:flex;align-items:center;gap:16px}
.pa-head img{height:48px;width:auto;max-width:140px;object-fit:contain;background:var(--white);border-radius:var(--radius-sm);padding:4px 8px}
.pa-addr{word-break:break-all}
.pa-seg{margin-block:24px 16px}
.pa-list,.pa-seg+.btn+.list,.pa-seg+.panel+.list{margin-top:16px}
.pa-person{cursor:default}
.pa-acts{display:flex;gap:16px;flex:none}
.pa-logo{display:block;height:48px;width:auto;margin-bottom:8px}
html.pa-ed-open,html.pa-ed-open body{overflow:hidden}
.pa-ed{position:fixed;inset:0;z-index:15;background:var(--surface);display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}
.pa-edbar{display:flex;align-items:center;gap:12px;padding:12px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));border-bottom:1px solid var(--hairline)}
.pa-edbar .backlink{margin:0}
.pa-st{flex:1;color:var(--ink-muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-panes{margin:12px 16px 0}
.pa-edbody{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr)}
.pa-form{overflow-y:auto;padding:16px max(16px,env(safe-area-inset-left,0px)) 64px;display:grid;gap:16px;align-content:start}
.pa-prev{min-height:0;background:var(--cream)}
.pa-prev iframe{width:100%;height:100%;border:0;display:block;background:#fbf6f2}
.pa-ed[data-pane="edit"] .pa-prev{display:none}
.pa-ed[data-pane="preview"] .pa-form{display:none}
@media (min-width:1000px){
  .pa-panes{display:none}
  .pa-edbody{grid-template-columns:minmax(360px,440px) minmax(0,1fr)}
  .pa-ed[data-pane] .pa-prev,.pa-ed[data-pane] .pa-form{display:grid}
  .pa-ed[data-pane] .pa-prev{display:block}
}
.pe-group{display:grid;gap:12px}
.pe-group h3{margin:0}
.pe-toggle{font-size:16px}
.pe-list{display:grid;gap:8px}
.pe-list h4{margin:8px 0 0;font-size:15px}
.pe-item{background:var(--surface-alt);border-radius:var(--radius-md);padding:4px 16px}
.pe-item[open]{padding-bottom:16px}
.pe-item summary{cursor:pointer;font-weight:700;padding:12px 0}
.pe-item>.field,.pe-item>.pe-list,.pe-item>.pe-photo{margin-top:12px}
.pe-thumb{aspect-ratio:4/3;max-width:240px;border-radius:var(--radius-md);overflow:hidden;background:var(--surface-alt);margin-bottom:8px}
.pe-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pe-crop{display:grid;gap:8px;margin-block:8px}
.pe-crop label{display:grid;gap:4px;font-size:14px}
