/* Zently app — clean business-tool theme.
   Deliberately NOT Bar Wars: teal primary, soft rounding, friendly type.
   No gold, no tournament look. (Pass 4 adds the panther's own blue-
   violet as a brand-gradient/sector accent — still no gold, no
   tournament styling; Bar Wars colors appear only inside the splash's
   sister-brand badge, its recorded exception.)
   Visual polish pass (2026-11-13): radius + soft layered shadow tokens,
   floating bottom nav, bubblier cards/buttons/bubbles.
   Visual polish pass 2 (2026-11-13): real SVG icon family (icons.py),
   local variable fonts (Baloo 2 display + Nunito body, latin/latin-ext),
   subtle load/press/success motion (reduced-motion safe), CSS tip chart
   + presence trends, and a full dark theme driven by CSS variables —
   per-user pref (Profile: Light / Dark / Follow phone), phone default
   via prefers-color-scheme. Per-bar color theming intentionally absent:
   bar colors appear only as data (switcher dots, schedule accents). */

/* ---- local fonts (variable woff2, self-hosted — no runtime CDN) ---- */
@font-face{font-family:"Baloo 2"; src:url("fonts/baloo2-latin.woff2") format("woff2");
  font-weight:400 800; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Baloo 2"; src:url("fonts/baloo2-latin-ext.woff2") format("woff2");
  font-weight:400 800; font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Nunito"; src:url("fonts/nunito-latin.woff2") format("woff2");
  font-weight:200 1000; font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito"; src:url("fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight:200 1000; font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  color-scheme:light;
  --teal:#0e7c7b; --teal-dark:#0a5e5d; --teal-soft:#e6f4f3;
  --ink:#17242b; --muted:#63727c; --line:#e3eaed;
  --bg:#eef4f4; --card:#ffffff; --warn:#b3261e; --warn-soft:#fdeceb;
  --amber:#b45309; --ok:#177245;
  /* pass-4 brand + sector accents (panther blue-violet family; the
     sector set is one consistent family: teal / violet / blue / amber) */
  --violet:#5a51c0; --violet-soft:#ebe9fb;
  --blue:#1f6fc4; --blue-soft:#e2eefb;
  --grad-btn:linear-gradient(160deg,#12908e,#0a5e5d);
  --grad-danger:linear-gradient(160deg,#cf352b,#8f1d16);
  --grad-hero:linear-gradient(155deg,#0a5e5d 0%,#0e7c7b 52%,#5a51c0 135%);
  /* pass-2 surface tokens (dark theme re-tints through these) */
  --line-a:rgba(227,234,237,.75); --field:#fcfefe;
  --topbar:rgba(255,255,255,.94); --navbg:rgba(255,255,255,.97);
  --hi:rgba(255,255,255,.9); --ring:#ffffff;
  --bg-top:#e7f3f2; --bg-grad:#f2f7f6;
  --alert-line:#f0c6c2; --alert-ink:#7a1d17;
  --amber-soft:#fdf0e0; --pill-grey:#eef2f3;
  --pin-bg:#fff8e6; --pin-line:#f0dc9a;
  --me-line:#cfe8e7; --notice-line:#c4e3e2;
  --e86face:#5b2320;
  /* fonts + type scale */
  --font-body:"Nunito",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-display:"Baloo 2","Nunito",-apple-system,"Segoe UI",sans-serif;
  --fs-title:1.5rem; --fs-h2:1.12rem; --fs-h3:.98rem; --fs-small:.8rem;
  /* radius scale */
  --radius:22px;              /* cards / sheets */
  --r-md:16px;                /* rows, tiles, notices */
  --r-sm:12px;                /* small controls */
  --r-pill:999px;             /* buttons, chips, pills */
  /* soft layered shadows (teal-ink tinted, never harsh) */
  --sh-card:0 1px 2px rgba(13,42,44,.05), 0 12px 26px -14px rgba(13,42,44,.20);
  --sh-lift:0 2px 5px rgba(13,42,44,.06), 0 18px 36px -14px rgba(13,42,44,.26);
  --sh-btn:0 10px 22px -8px rgba(14,124,123,.62), 0 2px 5px rgba(13,42,44,.10);
  --sh-btn-danger:0 10px 22px -8px rgba(179,38,30,.52), 0 2px 5px rgba(13,42,44,.10);
  --sh-chip:0 3px 8px -3px rgba(13,42,44,.18);
  --sh-nav:0 14px 34px -10px rgba(13,42,44,.30), 0 3px 10px rgba(13,42,44,.08);
  --sh-bar:0 10px 24px -12px rgba(13,42,44,.28);
  --ease:cubic-bezier(.2,.7,.3,1);
}

/* ---- dark theme -------------------------------------------------------
   Explicit Dark (Profile) wins always; "Follow phone" (data-theme=
   system, or no attribute on standalone public pages) follows the OS. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --teal:#159a92; --teal-dark:#6fd3c8; --teal-soft:#10312f;
  --ink:#e9f2f3; --muted:#9db4ba; --line:#27434c;
  --bg:#0b1518; --card:#13272d; --warn:#ff9a8a; --warn-soft:#3a1712;
  --amber:#f2a950; --ok:#4cc38a;
    --violet:#a89ef7; --violet-soft:#28224e;
    --blue:#7ab8f7; --blue-soft:#122a42;
    --grad-btn:linear-gradient(160deg,#17a89e,#0c6b64);
    --grad-danger:linear-gradient(160deg,#d84a3e,#93231b);
    --grad-hero:linear-gradient(155deg,#07403f 0%,#0a5e5d 52%,#37308a 135%);
  --line-a:rgba(126,166,176,.22); --field:#0d1e23;
  --topbar:rgba(11,22,26,.92); --navbg:rgba(13,26,31,.96);
  --hi:rgba(255,255,255,.07); --ring:#13272d;
  --bg-top:#0d2126; --bg-grad:#0b1518;
  --alert-line:#6e2a22; --alert-ink:#ffb4a6;
  --amber-soft:#38280f; --pill-grey:#1d333a;
  --pin-bg:#2e2a10; --pin-line:#6b5d1e;
  --me-line:#1d4a47; --notice-line:#1d4a47;
  --e86face:#7a2d24;
  --sh-card:0 1px 2px rgba(0,0,0,.35), 0 12px 26px -14px rgba(0,0,0,.65);
  --sh-lift:0 2px 5px rgba(0,0,0,.4), 0 18px 36px -14px rgba(0,0,0,.75);
  --sh-btn:0 10px 22px -8px rgba(21,154,146,.55), 0 2px 5px rgba(0,0,0,.35);
  --sh-btn-danger:0 10px 22px -8px rgba(255,120,100,.45), 0 2px 5px rgba(0,0,0,.35);
  --sh-chip:0 3px 8px -3px rgba(0,0,0,.55);
  --sh-nav:0 14px 34px -10px rgba(0,0,0,.75), 0 3px 10px rgba(0,0,0,.4);
  --sh-bar:0 10px 24px -12px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark){
  :root[data-theme="system"], :root:not([data-theme]){
    color-scheme:dark;
    --teal:#159a92; --teal-dark:#6fd3c8; --teal-soft:#10312f;
    --ink:#e9f2f3; --muted:#9db4ba; --line:#27434c;
    --bg:#0b1518; --card:#13272d; --warn:#ff9a8a; --warn-soft:#3a1712;
    --amber:#f2a950; --ok:#4cc38a;
    --violet:#a89ef7; --violet-soft:#28224e;
    --blue:#7ab8f7; --blue-soft:#122a42;
    --grad-btn:linear-gradient(160deg,#17a89e,#0c6b64);
    --grad-danger:linear-gradient(160deg,#d84a3e,#93231b);
    --grad-hero:linear-gradient(155deg,#07403f 0%,#0a5e5d 52%,#37308a 135%);
    --line-a:rgba(126,166,176,.22); --field:#0d1e23;
    --topbar:rgba(11,22,26,.92); --navbg:rgba(13,26,31,.96);
    --hi:rgba(255,255,255,.07); --ring:#13272d;
    --bg-top:#0d2126; --bg-grad:#0b1518;
    --alert-line:#6e2a22; --alert-ink:#ffb4a6;
    --amber-soft:#38280f; --pill-grey:#1d333a;
    --pin-bg:#2e2a10; --pin-line:#6b5d1e;
    --me-line:#1d4a47; --notice-line:#1d4a47;
    --e86face:#7a2d24;
    --sh-card:0 1px 2px rgba(0,0,0,.35), 0 12px 26px -14px rgba(0,0,0,.65);
    --sh-lift:0 2px 5px rgba(0,0,0,.4), 0 18px 36px -14px rgba(0,0,0,.75);
    --sh-btn:0 10px 22px -8px rgba(21,154,146,.55), 0 2px 5px rgba(0,0,0,.35);
    --sh-btn-danger:0 10px 22px -8px rgba(255,120,100,.45), 0 2px 5px rgba(0,0,0,.35);
    --sh-chip:0 3px 8px -3px rgba(0,0,0,.55);
    --sh-nav:0 14px 34px -10px rgba(0,0,0,.75), 0 3px 10px rgba(0,0,0,.4);
    --sh-bar:0 10px 24px -12px rgba(0,0,0,.7);
  }
}

*{box-sizing:border-box; -webkit-tap-highlight-color:transparent}
html{font-size:17px}
body{margin:0; font-family:var(--font-body); font-weight:600;
  background:linear-gradient(180deg,var(--bg-top) 0,var(--bg-grad) 300px) no-repeat, var(--bg);
  color:var(--ink); padding-bottom:118px}
a{color:var(--teal-dark); text-decoration:none}
h1{font-family:var(--font-display); font-size:var(--fs-title); font-weight:700;
  letter-spacing:.2px; margin:.2rem 0 .6rem; line-height:1.15}
h2{font-family:var(--font-display); font-size:var(--fs-h2); font-weight:700;
  letter-spacing:.2px; margin:1.1rem 0 .5rem;
  position:relative; padding-left:13px}
h2::before{content:""; position:absolute; left:0; top:.16em; bottom:.16em;
  width:5px; border-radius:99px;
  background:linear-gradient(180deg,var(--teal),var(--violet))}
h2.acc-sched::before{background:var(--teal)}
h2.acc-studio::before{background:var(--violet)}
h2.acc-chat::before{background:var(--blue)}
h2.acc-amber::before{background:var(--amber)}
h3{font-size:var(--fs-h3); font-weight:800; margin:.8rem 0 .4rem}
.wrap{max-width:560px; margin:0 auto; padding:16px 16px 8px}

/* ---- icons (icons.py inline SVG, one stroke family) ---- */
.ic{width:1.25em; height:1.25em; flex:0 0 auto}
.ic-h{width:1.02em; height:1.02em; vertical-align:-.14em; margin-right:.18em}
.ic-lg{width:28px; height:28px}
.ic-sm{width:15px; height:15px; vertical-align:-2.5px}
.rowic{display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; flex:0 0 auto; border-radius:13px;
  background:var(--teal-soft); color:var(--teal-dark);
  box-shadow:inset 0 1px 0 var(--hi)}
.rowic .ic{width:21px; height:21px}
.listrow>.chev{color:var(--muted); font-weight:800}

/* standalone public pages (menu / where-I'm-working): a floating white
   sheet on the tinted backdrop — product, not a form */
div.wrap{background:var(--card); border:1px solid var(--line-a);
  border-radius:26px; box-shadow:var(--sh-lift); margin-top:16px; margin-bottom:26px;
  padding:20px 20px 10px}

/* header */
.topbar{position:sticky; top:0; z-index:30; background:var(--topbar);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);
  backdrop-filter:blur(16px) saturate(1.5);
  box-shadow:var(--sh-bar);
  display:flex; align-items:center; gap:10px; padding:calc(10px + env(safe-area-inset-top)) 14px 10px}
.topbar img.mark{width:34px; height:34px; object-fit:contain}
.topbar .brand{font-family:var(--font-display); font-weight:700; font-size:1.22rem; letter-spacing:.2px}
.demo-chip{background:var(--amber); color:#fff; font-size:.62rem; font-weight:800;
  padding:3px 7px; border-radius:999px; letter-spacing:.6px;
  box-shadow:0 3px 8px -3px rgba(180,83,9,.55)}
.topbar .spacer{flex:1}
.topbar .chip .ic{width:15px; height:15px; vertical-align:-2.5px; margin-right:3px}
.avatar-chip{width:38px;height:38px;border-radius:50%;background:var(--teal);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;
  text-decoration:none;cursor:pointer;
  box-shadow:0 0 0 2px var(--ring), 0 5px 12px -3px rgba(13,42,44,.45);
  transition:transform .12s var(--ease);
  -webkit-tap-highlight-color:transparent}
a.avatar-chip:active{transform:scale(.93)}
.avatar-chip.on{box-shadow:0 0 0 2px var(--ring), 0 0 0 5px var(--teal), 0 5px 12px -3px rgba(13,42,44,.45)}

/* bar switcher */
.switcher{display:flex; gap:8px; overflow-x:auto; padding:12px 14px 10px; scrollbar-width:none}
.switcher::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto; border:1.5px solid var(--line); background:var(--card); color:var(--ink);
  border-radius:999px; padding:9px 14px; font-size:.9rem; font-weight:700; cursor:pointer;
  box-shadow:var(--sh-chip); transition:transform .12s var(--ease), box-shadow .15s var(--ease)}
.chip:active{transform:scale(.96)}
.chip.on{border-color:var(--teal); background:var(--teal-soft); color:var(--teal-dark);
  box-shadow:0 2px 6px -2px rgba(14,124,123,.35)}
.dot{display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:6px; vertical-align:1px}

/* cards & lists */
.card{background:var(--card); border:1px solid var(--line-a); border-radius:var(--radius);
  box-shadow:inset 0 1px 0 var(--hi), var(--sh-card);
  padding:16px; margin:12px 0}
.card.hero{border:none; color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), var(--sh-lift)}
.row{display:flex; align-items:center; gap:10px}
.row .grow{flex:1}
.muted{color:var(--muted); font-size:.88rem}
.small{font-size:var(--fs-small)}
.big{font-family:var(--font-display); font-size:1.32rem; font-weight:700}
.listrow{display:flex; align-items:center; gap:12px; padding:13px 2px; border-bottom:1px solid var(--line)}
.listrow:last-child{border-bottom:none}
.pill{font-size:.7rem; font-weight:800; padding:3px 8px; border-radius:999px; background:var(--teal-soft); color:var(--teal-dark)}
.pill.warn{background:var(--warn-soft); color:var(--warn)}
.pill.amber{background:var(--amber-soft); color:var(--amber)}
.pill.grey{background:var(--pill-grey); color:var(--muted)}
.pill .ic{width:12px; height:12px; vertical-align:-1.5px}

/* buttons — big touch targets, pill-shaped, soft colored shadow */
.btn{display:block; width:100%; text-align:center; border:none; cursor:pointer;
  background:var(--grad-btn); color:#fff; font-weight:800; font-size:1rem;
  font-family:var(--font-body);
  padding:15px 16px; border-radius:var(--r-pill); margin:8px 0;
  box-shadow:var(--sh-btn);
  transition:transform .1s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease)}
.btn:active{background:var(--teal-dark); transform:scale(.98);
  box-shadow:0 4px 10px -4px rgba(14,124,123,.5)}
.btn.ghost{background:var(--card); color:var(--teal-dark); border:1.5px solid var(--teal);
  box-shadow:0 5px 12px -6px rgba(13,42,44,.28)}
.btn.ghost:active{background:var(--teal-soft)}
.btn.light{background:var(--teal-soft); color:var(--teal-dark);
  box-shadow:0 4px 10px -6px rgba(14,124,123,.35)}
.btn.danger{background:var(--grad-danger); box-shadow:var(--sh-btn-danger)}
.btn.danger:active{background:#8f1d16}
.btn.small{padding:10px 14px; font-size:.88rem; width:auto; display:inline-block; margin:2px 0}
.btn .ic{width:17px; height:17px; vertical-align:-3px; margin-right:5px}
.btnrow{display:flex; gap:8px}
.btnrow .btn{flex:1}

/* forms */
label{display:block; font-size:.85rem; font-weight:700; margin:10px 0 4px}
input[type=text],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=email],input[type=password],select,textarea{
  width:100%; padding:13px 15px; font-size:1rem; border:1.5px solid var(--line);
  border-radius:15px; background:var(--field); font-family:inherit; color:var(--ink);
  box-shadow:inset 0 1px 3px rgba(13,42,44,.05);
  transition:border-color .15s var(--ease), box-shadow .15s var(--ease)}
input[type=text]:focus,input[type=tel]:focus,input[type=number]:focus,input[type=date]:focus,
input[type=time]:focus,input[type=email]:focus,input[type=password]:focus,select:focus,textarea:focus{
  outline:none; border-color:var(--teal); background:var(--card);
  box-shadow:0 0 0 3px var(--teal-soft), inset 0 1px 2px rgba(13,42,44,.03)}
textarea{min-height:70px}
.checkrow{display:flex; align-items:center; gap:10px; padding:11px 2px; border-bottom:1px solid var(--line)}
.checkrow input{width:24px; height:24px; accent-color:var(--teal)}

/* bottom nav — floating rounded bar */
.bottomnav{position:fixed; left:12px; right:12px;
  bottom:calc(10px + env(safe-area-inset-bottom)); z-index:40;
  background:var(--navbg);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);
  backdrop-filter:blur(16px) saturate(1.5);
  border:1px solid var(--line-a); border-radius:27px;
  box-shadow:var(--sh-nav);
  display:flex; justify-content:space-around; padding:7px 6px}
.bottomnav a{display:flex; flex-direction:column; align-items:center; gap:2px; flex:1;
  color:var(--muted); font-size:.7rem; font-weight:700; min-width:60px;
  padding:7px 2px; border-radius:19px;
  transition:background .15s var(--ease), color .15s var(--ease), transform .1s var(--ease)}
.bottomnav a:active{transform:scale(.95)}
.bottomnav a .ic{width:24px; height:24px}
.bottomnav a.on{color:var(--teal); background:var(--teal-soft)}
:root[data-theme="dark"] .bottomnav a.on,
:root[data-theme="dark"] .chip.on{color:var(--teal-dark)}
/* hero CTAs are white buttons: keep their label on the deep teal in dark */
:root[data-theme="dark"] .hero .btn{color:#0a5e5d !important}
@media (prefers-color-scheme: dark){
  :root[data-theme="system"] .hero .btn,
  :root:not([data-theme]) .hero .btn{color:#0a5e5d !important}
}

/* schedule */
.dayblock{margin:12px 0}
.dayhead{font-family:var(--font-display); font-weight:700; font-size:1rem; margin:6px 0}
.shift{display:flex; gap:10px; align-items:center; background:var(--card);
  border:1px solid var(--line-a);
  border-left:6px solid var(--teal); border-radius:var(--r-md);
  box-shadow:var(--sh-card); padding:11px 12px; margin:7px 0}
.shift .when{font-weight:800}
.availgrid{display:grid; grid-template-columns:repeat(7,1fr); gap:6px}
.availgrid .cell{border:1.5px solid var(--line); border-radius:14px; padding:10px 2px; text-align:center;
  font-size:.75rem; font-weight:700; background:var(--card); cursor:pointer;
  box-shadow:0 2px 5px -2px rgba(13,42,44,.12); transition:transform .1s var(--ease)}
.availgrid .cell:active{transform:scale(.95)}
.availgrid .cell.on{background:var(--teal); border-color:var(--teal); color:#fff;
  box-shadow:0 5px 12px -5px rgba(14,124,123,.6)}

/* chat — round bubbles, small tail corner on the speaker side */
.msg{max-width:82%; padding:7px 11px; margin:3px 0; background:var(--card);
  border:1px solid var(--line-a); border-radius:18px; border-bottom-left-radius:6px;
  box-shadow:0 1px 2px rgba(13,42,44,.05), 0 6px 14px -8px rgba(13,42,44,.22);
  font-size:.92rem; line-height:1.35}
.msg.me{margin-left:auto; background:var(--teal-soft); border-color:var(--me-line);
  border-bottom-left-radius:18px; border-bottom-right-radius:6px}
.msg .who{font-size:.68rem; font-weight:800; color:var(--teal-dark)}
.msg .when{font-size:.62rem; font-weight:600; color:var(--muted); margin-left:6px}
.pinned{background:var(--pin-bg); border:1px solid var(--pin-line); border-radius:var(--r-md);
  box-shadow:0 4px 12px -6px rgba(180,83,9,.25); padding:8px 12px; margin:6px 0; font-size:.82rem}
.pinned summary{cursor:pointer; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.pinned .pinned-item{margin-top:6px}
.pinned .ic{color:var(--amber)}

/* 86 board */
.e86{display:flex; gap:12px; background:var(--card); border:1px solid var(--alert-line); border-left:6px solid var(--warn);
  border-radius:18px; box-shadow:0 1px 2px rgba(13,42,44,.04), 0 10px 22px -12px rgba(179,38,30,.35);
  padding:12px; margin:8px 0}
.e86 .face{width:52px; height:52px; border-radius:50%; background:var(--e86face); color:#fff; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.05rem;
  box-shadow:0 0 0 3px rgba(179,38,30,.14), 0 4px 10px -3px rgba(13,42,44,.4)}

/* studio renders (canvas stays as designed in both themes) */
.phone{position:relative; margin:12px auto; border-radius:34px; overflow:hidden;
  background:linear-gradient(160deg,#3a4a52,#10181c); color:#fff;
  box-shadow:0 26px 50px -18px rgba(9,22,26,.5), 0 5px 14px rgba(9,22,26,.2)}
.phone.reel{width:270px; height:480px}
.phone.story{width:270px; height:480px}
.phone.feed{width:330px; height:412px}
.phone .scene{position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:18px}
.phone.reel .scene{padding-bottom:152px}   /* headline clears the caption block */
.phone.story .scene{padding-bottom:84px}   /* clears the reply box */
.phone .headline{font-family:var(--font-display); font-size:1.55rem; font-weight:800; line-height:1.12; text-shadow:0 2px 10px rgba(0,0,0,.5)}
.phone .sub{font-size:.95rem; opacity:.92; text-shadow:0 1px 6px rgba(0,0,0,.5)}
.wm{position:absolute; display:flex; align-items:center; gap:5px; background:rgba(255,255,255,.92);
  border-radius:999px; padding:4px 9px 4px 5px; font-size:.68rem; font-weight:800; color:#0a5e5d;
  box-shadow:0 3px 10px rgba(0,0,0,.22)}
.wm img{width:16px; height:16px; object-fit:contain}
.wm.reel{left:12px; bottom:118px}      /* above the viewer's profile-pic + caption block */
.wm.feed{right:12px; bottom:12px}
.wm.story{left:12px; top:64px}         /* clear of top profile bar and bottom reply box */
.wm.print{right:10px; bottom:10px}
.ig-ui{position:absolute; right:8px; bottom:96px; display:flex; flex-direction:column; gap:14px; text-align:center; color:#fff}
.ig-ui .ic{width:25px; height:25px; filter:drop-shadow(0 2px 5px rgba(0,0,0,.45))}
.ig-cap{position:absolute; left:12px; right:64px; bottom:14px; font-size:.78rem}
.ig-cap .avatar{width:30px;height:30px;border-radius:50%;background:#ddd;display:inline-flex;align-items:center;justify-content:center;color:#333;font-weight:800;vertical-align:-9px;margin-right:6px;
  box-shadow:0 0 0 2px rgba(255,255,255,.55)}
.storybar{position:absolute; top:10px; left:12px; right:12px; height:3px; background:rgba(255,255,255,.35); border-radius:2px}
.storybar i{display:block; height:100%; width:42%; background:#fff; border-radius:2px}
.printsheet{position:relative; margin:12px auto; width:330px; height:440px; border-radius:14px;
  background:linear-gradient(165deg,#274b4a,#0e7c7b); color:#fff; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; padding:20px;
  box-shadow:0 20px 40px -14px rgba(9,22,26,.42), 0 4px 12px rgba(9,22,26,.16)}
.printsheet .headline{font-family:var(--font-display)}

/* calendar */
.calday{border-left:4px solid var(--line); padding:8px 0 8px 12px; margin:10px 0}
.calshift{display:flex; gap:8px; align-items:center; background:var(--card);
  border:1px solid var(--line-a);
  border-radius:14px; box-shadow:0 1px 2px rgba(13,42,44,.04), 0 6px 14px -8px rgba(13,42,44,.18);
  padding:9px 11px; margin:5px 0; font-size:.92rem}
.alert{background:var(--warn-soft); border:1px solid var(--alert-line); color:var(--alert-ink); border-radius:var(--r-md);
  box-shadow:inset 0 1px 0 var(--hi), 0 8px 18px -10px rgba(179,38,30,.35);
  padding:11px 13px; margin:10px 0; font-size:.92rem}
.notice{background:var(--teal-soft); border:1px solid var(--notice-line); color:var(--teal-dark); border-radius:var(--r-md);
  box-shadow:inset 0 1px 0 var(--hi), 0 8px 18px -10px rgba(14,124,123,.35);
  padding:11px 13px; margin:10px 0; font-size:.92rem}

/* tip chart — pure CSS bars, one per logged night */
.chart{display:flex; align-items:flex-end; gap:6px; margin-top:12px}
.chart .col{flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0}
.chart .val{font-size:.62rem; font-weight:800; color:var(--muted); white-space:nowrap}
.chart .track{height:86px; width:100%; display:flex; align-items:flex-end; justify-content:center}
.chart .bar{width:100%; max-width:36px; min-height:4px; border-radius:8px 8px 4px 4px;
  background:linear-gradient(180deg,var(--teal),var(--teal-dark));
  box-shadow:var(--sh-chip); animation:grow .6s var(--ease) both}
.chart .bar.best{background:linear-gradient(180deg,#f59e0b,var(--amber))}
.chart .dlab{font-size:.62rem; font-weight:800; color:var(--muted)}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.chart .bar{transform-origin:bottom}

/* presence trends */
table.stats td.trend{text-align:right; font-weight:800; font-size:.88rem; white-space:nowrap; width:1%}
.trend.up{color:var(--ok)}
.trend.dn{color:var(--warn)}
.trend.flat{color:var(--muted)}

/* language screen */
.langwrap{max-width:480px; margin:0 auto; padding:48px 22px; text-align:center}
.langbtn{display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  padding:20px; margin:12px 0; font-size:1.2rem; font-weight:800; border-radius:22px;
  border:2px solid var(--line); background:var(--card); color:var(--ink); cursor:pointer;
  font-family:var(--font-body);
  box-shadow:var(--sh-card); transition:transform .1s var(--ease)}
.langbtn:active{transform:scale(.98)}
.langbtn.rec{border-color:var(--teal); background:var(--teal-soft)}
.langbtn .ic{width:24px; height:24px; color:var(--teal-dark)}
.person{display:flex; gap:12px; align-items:center; width:100%; text-align:left; background:var(--card);
  border:1.5px solid var(--line-a); border-radius:20px; padding:14px; margin:10px 0; cursor:pointer; font-size:1rem;
  box-shadow:var(--sh-card); transition:transform .1s var(--ease)}
.person:active{transform:scale(.985)}
.person .avatar-chip{flex:0 0 auto}
table.stats{width:100%; border-collapse:collapse}
table.stats td{padding:9px 4px; border-bottom:1px solid var(--line)}
table.stats td.n{font-weight:800; text-align:right; font-size:1.1rem}
.foot{padding:22px 0 8px; text-align:center; color:var(--muted); font-size:.8rem}
.foot img{width:20px; vertical-align:-5px}

/* ---- motion (pass 2): subtle, cheap-phone-safe -----------------------
   Screens settle in; cards rise with a slight stagger; confirm actions
   get a soft success ring on press. Reduced-motion disables all of it. */
@keyframes pagein{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0; transform:translateY(8px)}to{opacity:1; transform:translateY(0)}}
@keyframes pop{0%{transform:scale(.3); opacity:0}60%{transform:scale(1.18); opacity:1}100%{transform:scale(1); opacity:1}}
@keyframes okring{0%{box-shadow:0 0 0 0 rgba(23,114,69,.45), var(--sh-btn)}
  100%{box-shadow:0 0 0 16px rgba(23,114,69,0), var(--sh-btn)}}
main.wrap{animation:pagein .35s var(--ease) both}
main.wrap>*{animation:rise .45s var(--ease) both}
main.wrap>*:nth-child(2){animation-delay:.04s}
main.wrap>*:nth-child(3){animation-delay:.08s}
main.wrap>*:nth-child(4){animation-delay:.12s}
main.wrap>*:nth-child(5){animation-delay:.16s}
main.wrap>*:nth-child(6){animation-delay:.20s}
main.wrap>*:nth-child(7){animation-delay:.24s}
main.wrap>*:nth-child(n+8){animation-delay:.28s}
div.wrap{animation:rise .45s var(--ease) both}
.pop-in{display:inline-block; animation:pop .55s var(--ease) both}
.btn.confirm:active{animation:okring .45s var(--ease)}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important; transition:none !important}
}

/* ---- Visual polish pass 3 ("spice", 2026-11-13) -----------------------
   Panther mascot spots, celebrate confetti, approval swipes, count-up
   numbers (JS-driven, no CSS), a week-coverage progress ring, bottom
   sheets + glass, a splash sting (reworked post-pass-3 to a real
   prancing-panther VIDEO — see 6a), and home skeletons.
   All motion pieces are disabled under prefers-reduced-motion below;
   splash/skeleton/sheets are progressive enhancement (see app.js). */

/* -- 1. mascot spots: panther mark in a tinted blob + speech bubble -- */
.mascot{display:flex; align-items:center; gap:12px; margin:8px 0}
.mascot-blob{flex:0 0 auto; width:62px; height:62px;
  border-radius:42% 58% 55% 45%/48% 44% 56% 52%;
  background:var(--teal-soft); display:flex; align-items:center;
  justify-content:center;
  box-shadow:inset 0 1px 0 var(--hi), var(--sh-chip)}
.mascot-blob img{width:42px; height:42px; object-fit:contain}
.mascot-bubble{position:relative; background:var(--teal-soft);
  color:var(--teal-dark); border-radius:16px; padding:10px 13px;
  font-size:.9rem; font-weight:700; line-height:1.35;
  box-shadow:var(--sh-chip)}
.mascot-bubble::before{content:""; position:absolute; left:-5px; top:50%;
  width:12px; height:12px; background:inherit; border-radius:3px;
  transform:translateY(-50%) rotate(45deg)}
.mascot.hero{flex-direction:column; text-align:center; gap:12px; margin:10px 0 2px}
.mascot.hero .mascot-blob{width:104px; height:104px}
.mascot.hero .mascot-blob img{width:70px; height:70px}
.mascot.hero .mascot-bubble::before{left:50%; top:-5px;
  transform:translateX(-50%) rotate(45deg)}

/* -- 2. celebration confetti: pure CSS, ~1.2s, then off-screen ------- */
.confetti{position:fixed; inset:0; z-index:95; pointer-events:none;
  overflow:hidden}
.confetti i{position:absolute; top:-18px; width:8px; height:13px;
  border-radius:2px; background:var(--teal); opacity:1;
  animation-name:confall; animation-timing-function:var(--ease);
  animation-fill-mode:both}
.confetti i:nth-child(3n){background:var(--amber)}
.confetti i:nth-child(3n+1){background:var(--teal)}
.confetti i:nth-child(3n+2){background:#fff; box-shadow:0 0 0 1px var(--line)}
@keyframes confall{
  0%{transform:translate3d(0,-4vh,0) rotate(0)}
  25%{transform:translate3d(2.5vw,27vh,0) rotate(200deg)}
  55%{transform:translate3d(-2vw,56vh,0) rotate(420deg)}
  100%{transform:translate3d(1vw,108vh,0) rotate(680deg); opacity:.85}}

/* -- 3. approval swipes: colored reveal + stamp behind the row ------- */
.swipe{position:relative; overflow:hidden; border-radius:var(--radius);
  margin:12px 0; box-shadow:var(--sh-card)}
.swipe-bg{position:absolute; inset:0; display:flex; align-items:center;
  padding:0 22px; font-weight:800; font-size:1.02rem; color:#fff; opacity:0}
.swipe-bg.ok{background:var(--ok); justify-content:flex-start}
.swipe-bg.no{background:var(--warn); justify-content:flex-end}
.swipe-bg .stamp{display:inline-flex; align-items:center; gap:6px;
  transform:scale(.7)}
.swipe-bg .stamp .ic{width:20px; height:20px}
.swipe .card.swipe-row{margin:0; box-shadow:inset 0 1px 0 var(--hi);
  position:relative; touch-action:pan-y; will-change:transform;
  transition:transform .28s var(--ease)}
.swipe .card.swipe-row.drag{transition:none}
/* resting affordance: a faint dotted grip on the row's right edge */
.swipe .card.swipe-row::after{content:""; position:absolute; right:7px;
  top:50%; transform:translateY(-50%); width:4px; height:34px;
  border-radius:99px; opacity:.45;
  background:radial-gradient(circle, var(--muted) 1.3px, transparent 1.7px)
    0 0/4px 9px repeat-y}

/* -- 4b. week-coverage progress ring (owner home) --------------------- */
.ringbox{flex:0 0 auto; text-align:center}
.ringwrap{position:relative; width:64px; height:64px; margin:0 auto}
.ring{width:64px; height:64px; transform:rotate(-90deg)}
.ring circle{fill:none; stroke-width:7; stroke-linecap:round}
.ring .ring-bg{stroke:var(--line)}
.ring .ring-fg{stroke:var(--teal)}
.ring-c{position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; line-height:1.05}
.ring-c strong{font-family:var(--font-display); font-size:.92rem}
.ring-c small{font-size:.58rem; color:var(--muted); font-weight:800}

/* -- 5. bottom sheets + glass -----------------------------------------
   No-JS: a .sheet is just an inline .card (trigger buttons stay hidden).
   With JS: fixed sheet parked below the viewport until .open. */
.sheet-trigger{display:none}
html.js .sheet-trigger{display:block; width:100%; text-align:left;
  font:inherit; color:inherit; cursor:pointer}
.sheet-grab{display:none}
html.js .sheet{position:fixed; left:50%; bottom:0; width:100%;
  max-width:560px; z-index:80; margin:0; border-radius:26px 26px 0 0;
  transform:translate(-50%,112%); transition:transform .38s var(--ease);
  max-height:86vh; overflow-y:auto;
  padding-bottom:calc(18px + env(safe-area-inset-bottom));
  box-shadow:var(--sh-nav)}
html.js .sheet.open{transform:translate(-50%,0)}
html.js .sheet.drag{transition:none}
html.js .sheet-grab{display:block; width:44px; height:22px; margin:0 auto;
  cursor:grab; touch-action:none; position:relative}
html.js .sheet-grab::before{content:""; position:absolute; left:0; right:0;
  top:8px; height:5px; border-radius:99px; background:var(--line)}
.sheet-x{display:none}
html.js .sheet-x{display:flex; position:absolute; top:10px; right:12px;
  width:34px; height:34px; border-radius:50%; border:none; cursor:pointer;
  background:var(--pill-grey); color:var(--ink);
  align-items:center; justify-content:center}
.sheet-x .ic{width:17px; height:17px}
.backdrop{position:fixed; inset:0; z-index:75; pointer-events:none;
  background:rgba(8,24,27,.48); opacity:0;
  -webkit-backdrop-filter:blur(7px) saturate(1.3);
  backdrop-filter:blur(7px) saturate(1.3);
  transition:opacity .3s var(--ease)}
.backdrop.open{opacity:1; pointer-events:auto}

/* -- 6a. splash sting: the panther — standing tuxedo butler —
   walks at the camera carrying the drinks tray on one hand, then
   throws the drinks and the crown splash bursts across the screen
   (video) — and as the splash crests, the brand names come OUT of
   the still-moving liquid (Robert, 2026-11-14: no freeze, no
   pause — "splash then the name comes out") --
   Shown only when the head script adds .splash-on (first open of the
   browser session). Choreography: NO brand text rides over the walk
   (only the pass-4 glow + bokeh dots ambient layers); the 6.42s
   clip plays THROUGH the burst and never pauses; at ~5.0s, as the
   crown splash crests, app.js adds .names-on and "Zently", the
   tagline and the Bar Wars chip emerge over the live liquid in
   sequence while the hand-reach tail plays underneath; at ~6.55s
   app.js runs the usual dismissal (fade + confetti ring). Tap skips
   from any phase; the splashgone keyframes (7.8s) dismiss it even
   if JS dies. No-JS: never displayed. FULL-BLEED (Robert,
   2026-11-13): the video is a fixed inset-0 layer with
   object-fit:cover — the footage IS the whole screen, edge to edge,
   in both themes. PORTRAIT-NATIVE (Robert, 2026-11-13): the clip
   was generated for a tall phone frame (540×960, 9:16), so
   object-position stays plain center and almost nothing is
   cropped. The pale #e3eff3 stays only as the splash's own
   background (pre-play gap / poster surround). Reduced motion:
   display:none outright (see the media query below), so no video
   ever plays and the names never show. */
.splash{display:none}
html.splash-on .splash{display:flex; position:fixed; inset:0; z-index:100;
  flex-direction:column; align-items:center; padding:13vh 0 0;
  background:#e3eff3; cursor:pointer;
  animation:splashgone .35s var(--ease) 7.8s both}
.splash{transition:opacity .3s var(--ease), visibility 0s}
.splash.gone{opacity:0; visibility:hidden; transition:opacity .3s var(--ease),
  visibility 0s .3s}
@keyframes splashgone{to{opacity:0; visibility:hidden}}
/* -- names out of the splash: the overlay that carries the brand
   names over the LIVE clip. It is pointer-transparent (taps land on
   .splash and skip as always) and its children sit at opacity:0
   until app.js adds .names-on at ~5.0s; each then runs its entrance
   with fill both, so the delay phases hold the hidden from-state.
   The wordmark's emergence keyframe lives here: a rise + scale
   .85 -> 1 with a fade, like surfacing out of the liquid. -- */
.splash-names{position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center;
  padding:29vh 0 0; pointer-events:none}
@keyframes emerge{from{opacity:0; transform:translateY(26px) scale(.85)}
  to{opacity:1; transform:translateY(0) scale(1)}}
/* wordmark: the pass-4 teal-to-violet gradient + shine sweep, now
   over the live splash. The legibility halo is a drop-shadow FILTER
   (not text-shadow): with a transparent glyph fill a text-shadow
   shows THROUGH the letters and washes the gradient out, while the
   filter's shadow follows the glyph outline. Guarded: without
   background-clip:text support the solid ink wordmark stands. */
.splash-names-brand{position:relative; z-index:1; opacity:0;
  font-family:var(--font-display); font-weight:800;
  font-size:3.4rem; letter-spacing:.3px; color:#17242b;
  text-shadow:0 1px 16px rgba(227,239,243,.9), 0 0 4px rgba(227,239,243,.85)}
.splash-names.names-on .splash-names-brand{
  animation:emerge .45s ease-out both}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .splash-names-brand{color:transparent; -webkit-background-clip:text;
    background-clip:text;
    background-image:linear-gradient(100deg,#073f3e 0%,#0a5e5d 22%,
      #3d348f 45%,#57c8bb 50%,#3d348f 55%,#0a5e5d 78%,#073f3e 100%);
    background-size:230% 100%;
    text-shadow:none;
    filter:drop-shadow(0 2px 13px rgba(227,239,243,.85))
      drop-shadow(0 0 3px rgba(227,239,243,.75))}
  .splash-names.names-on .splash-names-brand{
    animation:emerge .45s ease-out both,
      splashshine 3.4s linear .4s infinite}
}
@keyframes splashshine{from{background-position:115% 0}
  to{background-position:-115% 0}}
.splash-names-tag{position:relative; z-index:1; opacity:0; color:#26343c;
  font-weight:800; font-size:1.03rem; letter-spacing:.5px;
  margin-top:.4rem; text-align:center; padding:0 2rem;
  text-shadow:0 1px 12px rgba(227,239,243,.95), 0 0 4px rgba(227,239,243,.9)}
.splash-names.names-on .splash-names-tag{
  animation:rise .5s ease-out .3s both}
/* full-bleed footage layer: covers the splash edge to edge;
   portrait-native clip, plain center framing, no steering — §6a */
.splash-video{position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center; background:#e3eff3;
  animation:rise .5s var(--ease) .3s both}
/* sister-brand badge: Bar Wars pops in LAST over the live splash
   (names +0.55s) as a dark tournament chip — deep navy, gold text,
   violet border (Bar Wars' own identity colors, borrowed from its
   app) so it reads as a distinct brand mark over the liquid, never
   as Zently UI. margin-top:auto parks it bottom-center. */
.splash-names-bw{position:relative; z-index:1; opacity:0;
  margin-top:auto; margin-bottom:6vh; padding:.55rem 1.15rem;
  border-radius:999px; background:#141C3A; color:#F5B942;
  border:1px solid #6D5DF0; font-family:var(--font-display);
  font-weight:800; font-size:1.02rem; letter-spacing:.8px;
  box-shadow:0 10px 24px -10px rgba(20,28,58,.55)}
.splash-names.names-on .splash-names-bw{
  animation:pop .5s var(--ease) .55s both}

/* -- 6b. home skeleton: brief shimmer, first load per session -------- */
.skel{display:none}
html.skel-on .skel{display:block; position:fixed; left:50%;
  transform:translateX(-50%); top:0; width:100%; max-width:592px;
  height:100%; z-index:55; background:var(--bg); padding:76px 16px 16px;
  transition:opacity .18s var(--ease);
  animation:skelgone .3s var(--ease) .85s both}
html.skel-on .skel.fade{opacity:0}
@keyframes skelgone{to{opacity:0; visibility:hidden}}
.skel-card{height:104px; border-radius:22px; margin:0 0 12px;
  box-shadow:var(--sh-card);
  background:linear-gradient(100deg, var(--pill-grey) 42%,
    var(--teal-soft) 50%, var(--pill-grey) 58%);
  background-size:220% 100%; animation:shimmer 1.15s linear infinite}
.skel-card.tall{height:158px}
@keyframes shimmer{from{background-position:180% 0}to{background-position:-40% 0}}

/* the pass-2 rise animation (fill both) must never touch the fixed
   pass-3 layers — it would override their positioning transforms */
main.wrap>.sheet, main.wrap>.backdrop, main.wrap>.skel{animation:none}

/* pass 3 under reduced motion: no splash, no confetti, no skeleton */
@media (prefers-reduced-motion: reduce){
  .splash, .confetti{display:none !important}
  html.skel-on .skel{display:none !important}
  .skel-card{animation:none !important}
}

/* ---- Panther animation pack (2026-11-13) ----------------------------
   The master clips, trimmed and framed as rounded "windows":
   the footage's pale background sits inside a card-radius frame with
   the app's chip shadow, so it reads as a deliberate picture in both
   themes (light card or dark card, same pale window). Every window
   carries its poster still under the video; reduced motion swaps to
   the still (CSS below) and app.js removes the video element, so
   nothing ever autoplays for reduced-motion users.
   FINAL TRIM (Robert's verdicts, 2026-11-13): only four placements
   survive — idle (sign-in hero), sleeping (86-board quiet state),
   celebration (approvals all-caught-up), shrug (empty schedule —
   swapped in for presenting the same night, Robert's pick).
   All other placements were removed; every clip file stays in
   static/ for future use. The splash sting above is separate. */
.panther-win{border-radius:var(--radius); overflow:hidden;
  background:#e3eff3; box-shadow:var(--sh-chip); line-height:0}
.panther-win video{display:block; width:100%; height:auto}
.panther-win .panther-still{display:none; width:100%; height:auto}
.panther-win.win-xs{max-width:150px}
/* mascot spots carrying a clip: window on top, bubble underneath */
.mascot.clip{flex-direction:column; align-items:stretch; gap:10px}
.mascot.clip .mascot-bubble{align-self:flex-start}
.mascot.clip .mascot-bubble::before{left:26px; top:-5px;
  transform:rotate(45deg)}
.mascot.hero.clip .panther-win{width:100%; max-width:320px; margin:0 auto}
/* staff invite landing (/join/<bar>): tray panther hero over the form */
.join-hero{max-width:340px; margin:10px auto 4px}
/* empty team-chat thread note */
.chat-empty{text-align:center; padding:6px 0 2px}

/* animation pack under reduced motion: poster stills only (the
   global rule above already kills every animation; these rules
   swap the media itself) */
@media (prefers-reduced-motion: reduce){
  .panther-win video{display:none !important}
  .panther-win .panther-still{display:block !important}
}

/* ---- Visual polish pass 4 ("spice", 2026-11-13) -----------------------
   Robert: the app read plain. Two surfaces: (1) the splash gains depth
   behind the footage (brand glow + vignette), drifting bokeh dots, a
   gradient wordmark with a shine sweep, and a confetti-ring burst at
   the dismissal moment; (2) the app screens gain a brand gradient hero
   band on the home greetings, sector accent tints (Schedule teal /
   Studio violet / Chat blue / Tips+Menu amber — one family, tokenized
   with dark variants), gradient primary buttons, and soft glows behind
   the mascot spots + login hero. Splash timing, gating, watermark
   geometry and the role nav are untouched. Splash decoration colors
   stay splash-local literals like the rest of section 6a (the splash
   backdrop is always the pale footage, in both themes). */

/* -- splash depth: radial teal/violet glow centered behind the
   panther + a soft vignette, above the video, below the wordmark -- */
.splash-glow{position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(58% 42% at 50% 46%, rgba(20,160,150,.30),
      rgba(20,160,150,0) 70%),
    radial-gradient(85% 60% at 50% 40%, rgba(106,90,205,.17),
      rgba(106,90,205,0) 70%),
    radial-gradient(125% 95% at 50% 45%, rgba(0,0,0,0) 56%,
      rgba(23,36,43,.15) 100%)}

/* -- splash bokeh: a few soft brand-color dots drifting up the frame
   during the approach (negative delays: already mid-drift at load) -- */
.splash-dots{position:absolute; inset:0; z-index:0; overflow:hidden;
  pointer-events:none}
.splash-dots i{position:absolute; bottom:-16px; border-radius:50%;
  opacity:.4; animation:dotrise linear infinite}
.splash-dots i:nth-child(1){left:7%;  width:9px;  height:9px;  background:#0e7c7b; animation-duration:6.8s; animation-delay:-1.2s}
.splash-dots i:nth-child(2){left:17%; width:6px;  height:6px;  background:#5a51c0; animation-duration:8.2s; animation-delay:-4.6s; opacity:.32}
.splash-dots i:nth-child(3){left:29%; width:11px; height:11px; background:#2f7fd0; animation-duration:7.4s; animation-delay:-2.8s; opacity:.26; filter:blur(1px)}
.splash-dots i:nth-child(4){left:43%; width:6px;  height:6px;  background:#e0483e; animation-duration:6.2s; animation-delay:-.6s;  opacity:.3}
.splash-dots i:nth-child(5){left:56%; width:9px;  height:9px;  background:#5a51c0; animation-duration:7.9s; animation-delay:-5.4s; opacity:.34}
.splash-dots i:nth-child(6){left:68%; width:6px;  height:6px;  background:#0e7c7b; animation-duration:6.5s; animation-delay:-3.4s}
.splash-dots i:nth-child(7){left:79%; width:11px; height:11px; background:#0e7c7b; animation-duration:8.6s; animation-delay:-6.2s; opacity:.24; filter:blur(1px)}
.splash-dots i:nth-child(8){left:88%; width:7px;  height:7px;  background:#2f7fd0; animation-duration:7.1s; animation-delay:-1.9s; opacity:.34}
.splash-dots i:nth-child(9){left:95%; width:6px;  height:6px;  background:#e0483e; animation-duration:6.9s; animation-delay:-4.1s; opacity:.28}
@keyframes dotrise{
  0%{transform:translate3d(0,0,0)}
  25%{transform:translate3d(6px,-27vh,0)}
  50%{transform:translate3d(-5px,-54vh,0)}
  75%{transform:translate3d(5px,-80vh,0)}
  100%{transform:translate3d(0,-107vh,0)}}

/* -- splash burst: a confetti ring fired by app.js at the dismissal
   moment (sibling layer above the fading splash, ~1s, tasteful) -- */
.splash-burst{position:fixed; inset:0; z-index:101; pointer-events:none;
  display:none}
.splash-burst.go{display:block}
.splash-burst i{position:absolute; left:50%; top:54%; width:9px;
  height:14px; border-radius:3px; background:#0e7c7b; opacity:0;
  --dx:0px; --dy:-170px; --rot:210deg}
.splash-burst i:nth-child(4n+2){background:#5a51c0}
.splash-burst i:nth-child(4n+3){background:#e0483e}
.splash-burst i:nth-child(4n){background:#2f7fd0}
.splash-burst i:nth-child(3n){border-radius:50%; width:10px; height:10px}
.splash-burst i:nth-child(2){--dx:47px;   --dy:-113px; --rot:300deg}
.splash-burst i:nth-child(3){--dx:120px;  --dy:-120px; --rot:180deg}
.splash-burst i:nth-child(4){--dx:113px;  --dy:-47px;  --rot:340deg}
.splash-burst i:nth-child(5){--dx:170px;  --dy:0px;    --rot:230deg}
.splash-burst i:nth-child(6){--dx:113px;  --dy:47px;   --rot:390deg}
.splash-burst i:nth-child(7){--dx:120px;  --dy:120px;  --rot:190deg}
.splash-burst i:nth-child(8){--dx:47px;   --dy:113px;  --rot:320deg}
.splash-burst i:nth-child(9){--dx:0px;    --dy:170px;  --rot:250deg}
.splash-burst i:nth-child(10){--dx:-47px; --dy:113px;  --rot:170deg}
.splash-burst i:nth-child(11){--dx:-120px;--dy:120px;  --rot:360deg}
.splash-burst i:nth-child(12){--dx:-113px;--dy:47px;   --rot:210deg}
.splash-burst i:nth-child(13){--dx:-170px;--dy:0px;    --rot:300deg}
.splash-burst i:nth-child(14){--dx:-113px;--dy:-47px;  --rot:180deg}
.splash-burst i:nth-child(15){--dx:-120px;--dy:-120px; --rot:330deg}
.splash-burst i:nth-child(16){--dx:-47px; --dy:-113px; --rot:240deg}
.splash-burst.go i{animation:burstfly .95s var(--ease) both}
@keyframes burstfly{
  0%{opacity:1; transform:translate(-50%,-50%) rotate(0) scale(1)}
  70%{opacity:1}
  100%{opacity:0; transform:translate(calc(-50% + var(--dx)),
    calc(-50% + var(--dy))) rotate(var(--rot)) scale(.7)}}

/* -- hero band: brand gradient behind the home greetings; the next
   card overlaps its lower edge and sits on it ---------------------- */
.hero-band{position:relative; overflow:hidden; border-radius:26px;
  background:var(--grad-hero); color:#fff;
  padding:20px 18px 32px; margin:0 0 -16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), var(--sh-lift)}
.hero-band::before{content:""; position:absolute; right:-56px; top:-72px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.30),
    rgba(255,255,255,0) 68%)}
.hero-band::after{content:""; position:absolute; left:-70px; bottom:-100px;
  width:210px; height:210px; border-radius:50%;
  background:radial-gradient(circle, rgba(120,108,255,.42),
    rgba(120,108,255,0) 70%)}
.hero-band>*{position:relative; z-index:1}
.hero-band h1{color:#fff; margin:.1rem 0 .15rem}
.hero-band .muted{color:rgba(255,255,255,.85)}
.hero-band .dot{box-shadow:0 0 0 3px rgba(255,255,255,.35)}
.hero-band + *{position:relative; z-index:1}

/* -- sector accent tints on the tool-list icon chips ---------------- */
.acc-sched .rowic{background:var(--teal-soft); color:var(--teal-dark)}
.acc-studio .rowic{background:var(--violet-soft); color:var(--violet)}
.acc-chat .rowic{background:var(--blue-soft); color:var(--blue)}
.acc-amber .rowic{background:var(--amber-soft); color:var(--amber)}

/* -- bottom nav: the active tab takes its sector tint --------------- */
.bottomnav a.acc-studio.on{background:var(--violet-soft); color:var(--violet)}
.bottomnav a.acc-chat.on{background:var(--blue-soft); color:var(--blue)}
.bottomnav a.acc-amber.on{background:var(--amber-soft); color:var(--amber)}
:root[data-theme="dark"] .bottomnav a.acc-studio.on{color:var(--violet)}
:root[data-theme="dark"] .bottomnav a.acc-chat.on{color:var(--blue)}
:root[data-theme="dark"] .bottomnav a.acc-amber.on{color:var(--amber)}
@media (prefers-color-scheme: dark){
  :root[data-theme="system"] .bottomnav a.acc-studio.on,
  :root:not([data-theme]) .bottomnav a.acc-studio.on{color:var(--violet)}
  :root[data-theme="system"] .bottomnav a.acc-chat.on,
  :root:not([data-theme]) .bottomnav a.acc-chat.on{color:var(--blue)}
  :root[data-theme="system"] .bottomnav a.acc-amber.on,
  :root:not([data-theme]) .bottomnav a.acc-amber.on{color:var(--amber)}
}

/* -- login hero + mascot spots: soft brand glow so the panther pops - */
.mascot.hero{border-radius:28px; padding:16px 12px 10px;
  background:
    radial-gradient(190px 140px at 16% 26%, var(--teal-soft), transparent 70%),
    radial-gradient(220px 160px at 86% 14%, var(--violet-soft), transparent 72%)}
.mascot.hero .panther-win{box-shadow:0 18px 38px -14px rgba(14,124,123,.45),
  0 0 0 6px var(--hi), var(--sh-lift)}
.mascot.clip .panther-win{box-shadow:0 14px 30px -12px rgba(14,124,123,.38),
  var(--sh-chip)}
.mascot-blob{background:linear-gradient(140deg, var(--teal-soft),
    var(--violet-soft));
  box-shadow:inset 0 1px 0 var(--hi), 0 10px 22px -10px rgba(90,81,192,.5)}
.person .avatar-chip{background:linear-gradient(140deg, var(--teal),
  var(--violet))}

/* pass 4 under reduced motion: no drifting dots, no burst ring (the
   shine sweep and the global animation kill above cover the rest).
   The names overlay likewise never animates — and since the splash
   itself is display:none under reduced motion and app.js removes
   it outright, the names in practice never show at all. */
@media (prefers-reduced-motion: reduce){
  .splash-dots, .splash-burst{display:none !important}
  .splash-names-brand, .splash-names-tag, .splash-names-bw{
    animation:none !important}
}

/* platform analytics (2026-11-14) — stat tiles + feature-use bars */
.statgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr));
  gap:10px; margin:10px 0 4px}
.stat{background:var(--card); border-radius:var(--r-md); box-shadow:var(--sh-card);
  padding:12px 10px; text-align:center}
.stat .num{font-family:var(--font-display); font-size:1.55rem; font-weight:800;
  color:var(--teal-dark); line-height:1.1}
.stat .lab{font-size:var(--fs-small); color:var(--muted); font-weight:700}
.featrow{padding:8px 0}
.featrow + .featrow{border-top:1px solid var(--line)}
.uabar{height:10px; border-radius:999px; background:var(--teal-soft);
  overflow:hidden; margin-top:6px}
.uabar > i{display:block; height:100%; border-radius:999px;
  background:linear-gradient(90deg,var(--teal),var(--violet))}

/* ---- Media library + Studio batch (2026-11-17) ---- */
.libgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px}
.libwrap{min-width:0}
.libpick{display:flex; flex-direction:column; gap:4px; margin-top:6px}
.libpick form{margin:0}
.libpick .btn.small{width:100%; font-size:.68rem; font-weight:700; padding:6px 4px; margin:0; text-align:center}
.libpick .pickbadge{text-align:center; font-size:.72rem; font-weight:700; color:var(--teal-dark,#0a5e5d); padding:4px 0}
.libitem{position:relative; border-radius:14px; overflow:hidden; background:#0d1512; aspect-ratio:1}
.libitem img,.libitem video{width:100%; height:100%; object-fit:cover; display:block}
.libbadge{position:absolute; left:6px; top:6px; background:rgba(10,20,18,.78); color:#fff;
  font-size:.62rem; font-weight:700; letter-spacing:.04em; padding:3px 8px; border-radius:99px}
.libbadge.zently{background:var(--teal-dark,#0a5e5d)}
.libacts{position:absolute; right:6px; bottom:6px; display:flex; gap:6px}
.libacts a,.libacts button{background:rgba(255,255,255,.94); color:#123; border:none; border-radius:99px;
  font-size:.68rem; font-weight:700; padding:5px 10px; cursor:pointer; text-decoration:none}
.pickgrid{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:6px 0 4px}
.pickopt{position:relative; border-radius:12px; overflow:hidden; aspect-ratio:1; cursor:pointer;
  background:linear-gradient(150deg,#37505a,#10181c); display:block}
.pickopt img{width:100%; height:100%; object-fit:cover; display:block}
.pickopt input{position:absolute; opacity:0; inset:0; cursor:pointer}
.pickopt:has(input:checked){outline:3px solid var(--gold,#f5b942); outline-offset:1px}
.pickopt .picknone{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:.66rem; font-weight:700; text-align:center; padding:6px}
.reqcheck{display:flex; align-items:center; gap:8px; padding:6px 0}
.reqcheck img{width:42px; height:42px; object-fit:cover; border-radius:9px}
.statuspill{font-size:.68rem; font-weight:800; letter-spacing:.03em; padding:3px 9px; border-radius:99px;
  background:#fdf0d5; color:#8a5a00}
.statuspill.delivered{background:#dff5e3; color:#14632e}
.statuspill.closed{background:#e8e8e8; color:#555}

/* Studio design variants — photo-first (dz1 Hero / dz2 Poster / dz3 Band) */
.dz .dz-bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.grad-text, .dz1 .headline{
  background:linear-gradient(92deg,#fff 15%,#ffe1a1 52%,#f5b942 82%,#fff 108%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent}
.dz1 .dz-scrim{position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.22) 32%, rgba(0,0,0,.66) 68%, rgba(0,0,0,.92) 92%)}
.dz1 .dz-body{position:absolute; left:0; right:0; bottom:0; padding:18px 86px 18px 18px; color:#fff}
.phone.reel.dz1 .dz-body{padding-bottom:172px}
.phone.story.dz1 .dz-body{padding-bottom:82px}
.dz-kicker{font-size:.66rem; font-weight:800; letter-spacing:.22em; text-transform:uppercase;
  opacity:.92; margin-bottom:6px}
.dz1 .headline{font-size:1.88rem; text-shadow:none;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.5))}
.dz1 .dz-chip{display:inline-block; margin-top:10px; opacity:1;
  background:linear-gradient(92deg,#f5b942,#ffdf9e); color:#231a05;
  font-weight:800; font-size:.88rem; padding:6px 14px; border-radius:99px;
  text-shadow:none; box-shadow:0 6px 18px rgba(0,0,0,.35)}
.dz2{display:flex; flex-direction:column}
.dz2 .dz-photo{flex:1 1 auto; min-height:0; position:relative;
  background:linear-gradient(160deg,#37505a,#10181c)}
.dz2 .dz-photo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.dz2 .dz-panel{flex:0 0 auto; padding:16px 18px 20px; color:#fff; position:relative; overflow:hidden}
.dz2 .dz-panel::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px),
  radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.15), transparent 55%)}
.dz2 .dz-panel > *{position:relative}
.dz2 .dz-rule{width:46px; height:4px; border-radius:2px; background:var(--gold,#f5b942); margin-bottom:10px}
.dz2 .headline{font-size:1.62rem; text-shadow:none}
.dz2 .sub{opacity:.94}
.dz2 .dz-barname{margin:0 0 9px; font-size:.78rem; font-weight:800; letter-spacing:.3em;
  text-transform:uppercase; opacity:.92}
.dz3 .dz-band{position:absolute; left:-6%; right:-6%; bottom:16%; transform:rotate(-4deg);
  padding:18px 30px; color:#fff;
  box-shadow:0 14px 30px rgba(0,0,0,.42), inset 0 0 0 2px rgba(255,255,255,.16)}
.dz3 .headline{font-size:1.66rem; text-shadow:none}
.dz3 .dz-subchip{position:absolute; left:16px; bottom:6.5%; background:rgba(8,12,14,.85); color:#fff;
  font-size:.85rem; font-weight:700; padding:6px 12px; border-radius:99px;
  border-left:4px solid var(--gold,#f5b942)}
.phone.reel.dz3 .dz-band{bottom:30%}
.phone.reel.dz3 .dz-subchip{bottom:23%}
.dz-picked{outline:3px solid var(--gold,#f5b942); outline-offset:2px}
.opthead{display:flex; align-items:center; gap:8px; margin:18px 0 2px}
.printsheet .dz-photo{position:absolute; left:0; right:0; top:0; height:56%; overflow:hidden;
  background:linear-gradient(160deg,#37505a,#10181c)}
.printsheet .dz-photo img{width:100%; height:100%; object-fit:cover}
.printsheet .dz-panel{position:absolute; left:0; right:0; bottom:0; height:44%; padding:18px; color:#fff}
.printsheet.dz2p{background:#fff}
.printsheet .dz-frame{position:absolute; inset:16px; border:3px solid #14201d; border-radius:8px;
  padding:14px; display:flex; flex-direction:column}
.printsheet .dz-frame .dz-photo{position:relative; height:auto; flex:1; border-radius:5px}
.printsheet .dz-band{position:absolute; left:0; right:0; bottom:0; padding:16px 18px; color:#fff}
.phone.dz3 .wm{top:12px; right:12px; left:auto; bottom:auto}
