@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dmsans-latin.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/manrope-latin.woff2) format('woff2')}

:root{
  --paper:#faf8f2; --surface:#fff; --ink:#292524; --muted:#78716c; --line:#e7e0d8; --line-strong:#d6cdc2;
  --amber:#b45309; --amber-deep:#92400e; --amber-soft:#fbefe2; --amber-bright:#f2a253;
  --st-interested:#166534; --st-interested-bg:#dcfce7;
  --st-follow:#1e40af; --st-follow-bg:#dbeafe;
  --st-tried:#92400e; --st-tried-bg:#fef3c7;
  --st-no:#57534e; --st-no-bg:#efebe7;
  --st-bad:#991b1b; --st-bad-bg:#fee2e2;
  --focus:#1d4ed8;
  --head:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 var(--body);min-height:100vh;-webkit-tap-highlight-color:transparent}
button,input,textarea,select{font:inherit;color:inherit}
a{color:var(--amber-deep)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}
.hidden{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── buttons & fields ─────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:10px;
  border:1px solid var(--line-strong);background:var(--surface);font-weight:600;cursor:pointer;text-decoration:none;color:var(--ink)}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--amber);border-color:var(--amber);color:#fff}
.btn.primary:hover{background:var(--amber-deep);border-color:var(--amber-deep)}
.btn.quiet{border-color:transparent;background:transparent;color:var(--muted);padding:0 10px}
.btn.quiet:hover{color:var(--ink)}
.btn[disabled]{opacity:.55;cursor:default}
.btn.block{width:100%}
label.field{display:block;margin:0 0 14px}
label.field > span{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
input[type=email],input[type=password],input[type=text],input[type=search],input[type=date],textarea,select{
  width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface)}
textarea{min-height:96px;resize:vertical}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px rgba(29,78,216,.18)}
input.code{font:800 28px/1 var(--head);letter-spacing:.32em;text-align:center;padding-left:.32em}
.err{color:var(--st-bad);font-size:14px;margin:4px 0 12px;min-height:1px}
.note{color:var(--muted);font-size:14px}

/* ── auth screens ─────────────────────────────────────────────── */
/* sign-in screens: form column + a panel that shows the product (sample list, made-up businesses) */
.authwrap{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.authcol{flex:1}
.auth{max-width:400px;margin:0 auto;padding:28px 20px 48px}
.authcol .wordmark{display:none}
.authside{order:-1;background:var(--ink);color:#e7e1d8;overflow:hidden}
.side-in{max-width:520px;margin:0 auto;padding:18px 20px 0}
.authside .wordmark{display:inline-block;color:#fff;font-size:20px;margin-bottom:16px}
.authside .wordmark i{color:var(--amber-bright)}
.side-h{font:800 21px/1.18 var(--head);letter-spacing:-.02em;color:#fff;margin:0 0 16px;max-width:22ch;text-wrap:balance}
.mock{background:var(--paper);border-radius:14px 14px 0 0;padding:14px 12px 0;color:var(--ink);pointer-events:none;user-select:none;max-height:212px;overflow:hidden}
.mock-head b{display:block;font:800 19px/1.1 var(--head);letter-spacing:-.02em}
.mock-head span{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
.mock-bar{display:block;height:5px;background:#ece5dc;border-radius:3px;margin:9px 0 10px;overflow:hidden}
.mock-bar i{display:block;height:100%;width:24%;background:var(--amber)}
.mock .rows{border-radius:10px 10px 0 0;border-bottom:0}
.mock .row{padding:10px 10px 10px 12px;gap:10px;cursor:default}
.mock .row:hover{background:transparent}
.mock .row .biz{font-size:14.5px;white-space:nowrap;text-overflow:ellipsis}
.mock .row .meta{font-size:12.5px}
.mock .row{flex-wrap:nowrap}
.mock .row .acts{flex:none}
.mock .callpill{height:34px;padding:0 11px 0 9px;font-size:12.5px;gap:6px}
.mock .callpill svg{width:14px;height:14px}
.mock .rowstatus{height:34px;min-width:0;padding:0 10px;font-size:12px;background-image:none}
@media (max-width:899px){.mock .rowstatus{display:none}}
.mock .row:nth-child(n+3){display:none}
.perks{display:none}
.compact .mock{display:none}
.compact .side-h{margin-bottom:18px}
.paid{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:5px 10px 5px 7px;border-radius:999px;
  background:var(--st-interested-bg);color:var(--st-interested);font-weight:700;font-size:14px}
.paid svg{width:16px;height:16px}
.sent{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px}
.sent svg{flex:none;width:22px;height:22px;color:var(--st-interested);margin-top:2px}
.sent p{margin:4px 0 0;color:var(--muted);font-size:15px}
.err a{color:inherit;font-weight:700}
.nw{white-space:nowrap}
@media (min-width:900px){
  .authwrap{flex-direction:row}
  .authcol{display:flex;align-items:center;padding:40px clamp(28px,5vw,80px)}
  .auth{width:100%;padding:0}
  .authcol .wordmark{display:block;width:max-content;margin-bottom:36px}
  .authside{order:0;flex:0 0 min(50%,640px);position:sticky;top:0;height:100vh;display:flex;align-items:center}
  .side-in{padding:48px clamp(36px,5vw,72px);max-width:600px}
  .authside .wordmark{display:none}
  .side-h{font-size:clamp(30px,2.9vw,40px);line-height:1.08;margin-bottom:28px;max-width:15ch}
  .mock,.compact .mock{display:block;max-height:none;border-radius:16px;padding:18px 16px 16px;box-shadow:0 30px 60px -20px rgba(0,0,0,.55)}
  .mock .rows{border-radius:12px;border-bottom:1px solid var(--line)}
  .mock .row:nth-child(n+3){display:flex}
  .auth h1{font-size:34px}
  .perks{display:block;list-style:none;margin:28px 0 0;padding:0}
  .perks li{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;font-size:15.5px;line-height:1.45;color:#d9d2c8}
  .perks svg{flex:none;width:19px;height:19px;margin-top:2px;color:var(--amber-bright)}
}
.wordmark{font:800 22px/1 var(--head);letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.wordmark i{font-style:normal;color:var(--amber)}
.auth h1{font:800 28px/1.15 var(--head);letter-spacing:-.02em;margin:0 0 8px}
.auth p.lede{color:var(--muted);margin:0 0 24px}
.auth .or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;margin:18px 0}
.auth .or::before,.auth .or::after{content:"";flex:1;height:1px;background:var(--line)}
.auth .links{display:flex;justify-content:space-between;margin-top:14px;font-size:14px}
.auth .skip{margin:32px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:14px}
.auth .skip a{color:var(--muted)}
.gbtn{min-height:44px;display:flex;justify-content:center}

/* ── app shell ────────────────────────────────────────────────── */
.top{position:sticky;top:0;z-index:20;background:rgba(250,248,242,.94);backdrop-filter:saturate(1.4) blur(8px);
  border-bottom:1px solid var(--line)}
.top-in{max-width:1180px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:8px}
.top .wordmark{font-size:19px;margin-right:auto}
.iconbtn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 10px;border-radius:10px;
  border:0;background:transparent;cursor:pointer;color:var(--ink);font-weight:600;gap:6px;text-decoration:none}
.iconbtn:hover{background:#f1ece4}
.iconbtn svg{width:22px;height:22px}
.badge{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--st-follow);color:#fff;font-size:12px;line-height:20px;text-align:center}
.menu{position:absolute;right:12px;top:58px;min-width:220px;background:var(--surface);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 12px 32px rgba(41,37,36,.14);padding:6px;z-index:40}
.menu a,.menu button{display:block;width:100%;text-align:left;padding:11px 12px;border:0;background:none;border-radius:8px;cursor:pointer;
  color:var(--ink);text-decoration:none;font-weight:500}
.menu a:hover,.menu button:hover{background:#f4efe8}
.menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}
.viewas{background:var(--st-follow-bg);color:var(--st-follow);font-size:14px;text-align:center;padding:6px 12px}

.wrap{max-width:1180px;margin:0 auto;padding:0 16px 120px}
.layout{display:block}
@media (min-width:960px){
  .layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}
  .detail-pane{position:sticky;top:84px;max-height:calc(100vh - 100px);overflow:auto}
}

/* day header — the date is the page's headline */
.dayhead{padding:22px 0 10px;display:flex;align-items:flex-end;gap:12px}
.dayhead h1{font:800 clamp(28px,7vw,40px)/1.05 var(--head);letter-spacing:-.03em;margin:0}
.dayhead .sub{color:var(--muted);margin-top:6px}
.dayhead .nav{margin-left:auto;display:flex;gap:4px}
.dayhead .nav .iconbtn{border:1px solid var(--line-strong);background:var(--surface)}
.dayhead .nav .iconbtn[disabled]{opacity:.35;cursor:default}
.progress{height:6px;background:#ece5dc;border-radius:3px;overflow:hidden;margin:4px 0 16px}
.progress i{display:block;height:100%;background:var(--amber);border-radius:3px;transition:width .3s}

.exports{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.btn.exp{min-height:40px;padding:0 14px;font-size:14.5px;gap:7px;background:var(--surface)}
.btn.exp svg{width:17px;height:17px;color:var(--amber-deep)}
@media (max-width:520px){.exports{flex-wrap:nowrap}.btn.exp{flex:1 1 0;padding:0 8px;gap:5px}}
.filters{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:38px;padding:0 14px;border-radius:19px;border:1px solid var(--line-strong);background:var(--surface);
  font-weight:600;font-size:15px;cursor:pointer;color:var(--ink)}
.chip b{font-weight:700;color:var(--muted);margin-left:4px}
.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.chip[aria-pressed=true] b{color:#d6d3d1}
.searchrow{margin:0 0 12px}

/* lead rows */
.rows{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.row{display:flex;align-items:center;gap:10px 14px;padding:14px 14px 14px 16px;border-top:1px solid var(--line);cursor:pointer}
.row:first-child{border-top:0}
.row:hover{background:#fcfaf6}
.row[aria-current=true]{background:var(--amber-soft)}
.row .main{flex:1;min-width:0}
.row .biz{font:700 17px/1.25 var(--head);letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis}
.row .meta{color:var(--muted);font-size:14px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .ind{display:inline-block;vertical-align:2px;margin-left:1px;padding:3px 8px;border-radius:999px;background:#f1ece4;color:#57534e;
  font:600 11.5px/1.2 var(--body);letter-spacing:0;white-space:nowrap}
.row.leaving{opacity:.45;transition:opacity .4s}
.row.done .biz{color:var(--muted)}
.pill{display:inline-block;font-size:12px;font-weight:700;line-height:1;padding:5px 8px;border-radius:6px;margin-top:6px;white-space:nowrap}
.s-interested{background:var(--st-interested-bg);color:var(--st-interested)}
.s-follow_up{background:var(--st-follow-bg);color:var(--st-follow)}
.s-no_answer,.s-voicemail{background:var(--st-tried-bg);color:var(--st-tried)}
.s-not_interested{background:var(--st-no-bg);color:var(--st-no)}
.s-bad_number{background:var(--st-bad-bg);color:var(--st-bad)}
.acts{flex:none;display:flex;gap:8px;align-items:center}
.callpill{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 16px 0 13px;border-radius:22px;
  background:var(--amber);color:#fff;text-decoration:none;font:700 15.5px/1 var(--head);letter-spacing:-.005em;white-space:nowrap;
  font-variant-numeric:tabular-nums;box-shadow:0 1px 2px rgba(120,53,15,.28)}
.callpill:hover{background:var(--amber-deep)}
.callpill:active{transform:translateY(1px)}
.callpill svg{width:18px;height:18px;flex:none}
.callpill.none{background:#efe9e1;color:var(--muted);box-shadow:none;font:600 14px/1 var(--body)}
.rowstatus{height:44px;min-width:158px;padding:0 34px 0 13px;border-radius:10px;border:1px solid var(--line-strong);background-color:var(--surface);
  color:var(--ink);font:600 14.5px/1 var(--body);cursor:pointer;-webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 11px center;background-size:16px}
.rowstatus.s-new{color:var(--muted)}
.rowstatus.s-interested{border-color:#86c79b;background-color:var(--st-interested-bg);color:var(--st-interested)}
.rowstatus.s-follow_up{border-color:#9bb5ec;background-color:var(--st-follow-bg);color:var(--st-follow)}
.rowstatus.s-no_answer,.rowstatus.s-voicemail{border-color:#e5c07a;background-color:var(--st-tried-bg);color:var(--st-tried)}
.rowstatus.s-not_interested{border-color:#d6cdc2;background-color:var(--st-no-bg);color:var(--st-no)}
.rowstatus.s-bad_number{border-color:#e9a3a3;background-color:var(--st-bad-bg);color:var(--st-bad)}
.rowstatus option{color:var(--ink);background:#fff}
.rowstatus[disabled]{cursor:default;opacity:.8}
span.rowstatus{display:inline-flex;align-items:center}
@media (max-width:640px){
  .rows:not(.daylist) .row{flex-wrap:wrap}
  .row .acts{flex:1 1 100%}
  .row .callpill{flex:1.15 1 0;min-width:0;padding:0 12px}
  .row .rowstatus{flex:1 1 0;min-width:0;padding:0 28px 0 11px;background-position:right 8px center}
}
@media (max-width:380px){
  .row .callpill{font-size:14px;gap:6px;padding:0 10px}
  .row .rowstatus{font-size:13.5px}
}
.empty{padding:40px 20px;text-align:center;color:var(--muted)}
.empty h2{font:800 22px/1.2 var(--head);color:var(--ink);margin:0 0 6px}

/* detail (sheet on phones, side panel on desktop) */
.detail{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px}
.detail h2{font:800 24px/1.15 var(--head);letter-spacing:-.02em;margin:0 0 4px}
.detail .who{color:var(--muted);margin:0 0 16px}
.facts{margin:0 0 18px;padding:0;list-style:none;border-top:1px solid var(--line)}
.facts li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);align-items:center}
.facts .k{width:84px;flex:none;color:var(--muted);font-size:14px}
.facts .v{flex:1;min-width:0;overflow-wrap:anywhere}
.facts a{font-weight:600}
.bigcall{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;border-radius:12px;background:var(--amber);
  color:#fff;font:700 19px/1 var(--head);text-decoration:none;margin:0 0 18px;box-shadow:0 1px 3px rgba(120,53,15,.3);font-variant-numeric:tabular-nums}
.bigcall:hover{background:var(--amber-deep)}
.bigcall svg{width:21px;height:21px}
.outcomes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 14px}
.outcome{min-height:48px;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface);font-weight:600;cursor:pointer;
  text-align:left;padding:0 14px}
.outcome[aria-pressed=true]{border-width:2px;padding:0 13px}
.outcome[aria-pressed=true].s-interested{border-color:var(--st-interested);background:var(--st-interested-bg);color:var(--st-interested)}
.outcome[aria-pressed=true].s-follow_up{border-color:var(--st-follow);background:var(--st-follow-bg);color:var(--st-follow)}
.outcome[aria-pressed=true].s-no_answer,.outcome[aria-pressed=true].s-voicemail{border-color:var(--st-tried);background:var(--st-tried-bg);color:var(--st-tried)}
.outcome[aria-pressed=true].s-not_interested{border-color:var(--st-no);background:var(--st-no-bg);color:var(--st-no)}
.outcome[aria-pressed=true].s-bad_number{border-color:var(--st-bad);background:var(--st-bad-bg);color:var(--st-bad)}
.outcome:not([aria-pressed=true]){background:var(--surface);color:var(--ink)}
.section-label{font-weight:700;font-size:15px;margin:18px 0 6px}
.saved{display:inline;color:var(--st-interested);font-size:13px;font-weight:600;margin-left:8px}

/* bottom sheet (phones) */
.scrim{position:fixed;inset:0;background:rgba(41,37,36,.42);z-index:50;opacity:0;transition:opacity .2s}
.scrim.on{opacity:1}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:60;max-height:92vh;overflow:auto;background:var(--surface);
  border-radius:18px 18px 0 0;padding:10px 18px calc(22px + var(--safe-b));transform:translateY(100%);transition:transform .25s ease-out}
.sheet.on{transform:none}
.sheet .grab{width:40px;height:5px;border-radius:3px;background:var(--line-strong);margin:0 auto 12px}
.sheet .detail{border:0;padding:0}
.sheet .sheet-x{position:absolute;top:10px;right:10px;color:var(--muted)}
.sheet .detail h2,.sheet .aftercall h2{padding-right:44px}
@media (min-width:600px){.sheet{left:50%;right:auto;width:560px;margin-left:-280px}}

/* after-call prompt: the one moment that moves */
.aftercall h2{font:800 22px/1.2 var(--head);margin:4px 0 2px}
.aftercall .outcomes{grid-template-columns:1fr 1fr}
.aftercall .outcome{min-height:58px;font-size:17px}

/* pipeline & history */
.pagehead{padding:22px 0 14px}
.pagehead h1{font:800 32px/1.1 var(--head);letter-spacing:-.03em;margin:0}
.pagehead p{color:var(--muted);margin:6px 0 0}
h3.group{font:700 15px/1.2 var(--body);color:var(--muted);margin:22px 0 8px}
.due{color:var(--st-bad);font-weight:700}
.daylist .row .count{color:var(--muted);font-size:14px;text-align:right;white-space:nowrap}
.mini{width:90px;height:5px;background:#ece5dc;border-radius:3px;overflow:hidden;margin-top:6px;margin-left:auto}
.mini i{display:block;height:100%;background:var(--amber)}

/* account */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px;margin:0 0 16px;max-width:560px}
.panel h2{font:800 19px/1.2 var(--head);margin:0 0 12px}

/* bookmark tip (computers) */
.tip{position:fixed;right:20px;bottom:20px;z-index:30;width:340px;background:var(--ink);color:#fff;border-radius:14px;padding:16px;
  display:flex;gap:14px;align-items:flex-start;box-shadow:0 18px 40px -12px rgba(0,0,0,.45);opacity:0;transform:translateY(8px);
  transition:opacity .25s,transform .25s}
.tip.on{opacity:1;transform:none}
.tip > div{flex:1}
.tip strong{font:800 16px/1.2 var(--head)}
.tip p{margin:4px 0 0;font-size:14px;color:#d9d2c8}
.tip kbd{font:600 12.5px/1 var(--body);background:#3d3734;border:1px solid #57504b;border-radius:5px;padding:2px 6px}
.tip .btn{min-height:36px;padding:0 12px;flex:none}
/* home-screen and notification prompts (bottom sheet) */
.promo{text-align:left;padding-top:4px}
.sheet h2:focus{outline:none}
.promo h2{font:800 23px/1.15 var(--head);letter-spacing:-.02em;margin:12px 0 6px;padding-right:40px}
.promo .note{font-size:15px;margin:0 0 16px}
.promo-icon{display:block;width:56px;height:56px;border-radius:13px;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.promo-bell{display:inline-flex;width:52px;height:52px;border-radius:14px;align-items:center;justify-content:center;background:var(--amber-soft);color:var(--amber-deep)}
.promo-bell svg{width:28px;height:28px}
.steps{margin:0 0 16px;padding:0;list-style:none;counter-reset:s}
.steps li{counter-increment:s;display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid var(--line);font-size:15.5px;line-height:1.45}
.steps li > span{flex:1}
.steps li::before{content:counter(s);flex:none;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;
  font:800 14px/28px var(--head);text-align:center}
.glyph{display:inline-flex;vertical-align:-5px;width:24px;height:24px;border-radius:6px;background:#efe9e1;align-items:center;justify-content:center;color:#1d4ed8}
.glyph svg{width:16px;height:16px}
.promo .btn.block + .btn.block{margin-top:6px}
label.check{display:flex;gap:10px;align-items:center;padding:8px 0;font-weight:500;cursor:pointer}
label.check input{width:20px;height:20px;accent-color:var(--amber)}
.panel .btn svg{width:18px;height:18px}

.toast{position:fixed;left:50%;bottom:calc(24px + var(--safe-b));transform:translateX(-50%);background:var(--ink);color:#fff;
  padding:10px 16px;border-radius:10px;z-index:70;font-weight:600;font-size:15px}

/* admin analytics */
.tbl-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:14px}
table.stats{border-collapse:collapse;width:100%;font-size:14px;min-width:880px}
table.stats th,table.stats td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
table.stats th:first-child,table.stats td:first-child{text-align:left}
table.stats th{font-weight:700;color:var(--muted);background:#fcfaf6}
table.stats td:first-child{position:sticky;left:0;background:var(--surface);z-index:1}
table.stats th:first-child{position:sticky;left:0;z-index:1}
@media (max-width:700px){table.stats td:first-child,table.stats th:first-child{box-shadow:1px 0 0 var(--line)}}
.stack{display:flex;height:10px;border-radius:5px;overflow:hidden;width:140px;background:#ece5dc;margin-left:auto}
.stack i{display:block;height:100%}
.feed{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.feed li{padding:10px 14px;border-top:1px solid var(--line);font-size:14px;display:flex;gap:12px}
.feed li:first-child{border-top:0}
.feed time{color:var(--muted);width:118px;flex:none}
.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted);margin:8px 0 0}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media (max-width:520px){.hide-sm{display:none}}

/* ── usage page (admin) ─────────────────────────────────────────── */
.btn.small{min-height:36px;padding:0 14px;font-size:14px;border-radius:9px}
.ushead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 0 16px}
.ushead h1{font:800 32px/1.1 var(--head);letter-spacing:-.03em;margin:0}
.ushead .note{margin:6px 0 0}
.seg{display:inline-flex;background:#efe9e1;border-radius:11px;padding:3px;gap:2px}
.seg a{padding:7px 14px;border-radius:8px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none}
.seg a:hover{color:var(--ink)}
.seg a[aria-current]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(41,37,36,.12)}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.kpi-label{font-size:14px;font-weight:600;color:var(--muted)}
.kpi-value{font:800 34px/1.15 var(--head);letter-spacing:-.02em;margin:6px 0 4px}
.kpi-value span{font:600 17px var(--body);color:var(--muted);letter-spacing:0}
.kpi-sub{font-size:13.5px;color:var(--muted);line-height:1.4}
.ubox{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:0 0 14px}
.ubox-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ubox h2,.ush2{font:800 19px/1.25 var(--head);letter-spacing:-.01em;margin:0}
.ush2{margin:26px 0 10px}
.ubox .note{margin:4px 0 12px;font-size:14px}
.hm-legend{display:flex;align-items:center;gap:3px;font-size:12.5px;color:var(--muted)}
.hm-legend i{width:14px;height:14px;border-radius:3px;display:inline-block}
.hm-legend i:first-of-type{margin-left:5px}.hm-legend i:last-of-type{margin-right:5px}
.hm-wrap{overflow-x:auto;padding-bottom:4px}
.hm{display:grid;grid-template-columns:minmax(110px,170px) repeat(var(--n),minmax(18px,1fr));gap:4px;align-items:center;min-width:calc(130px + var(--n) * 22px)}
.hm-day{font-size:11.5px;color:var(--muted);text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.hm-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px;position:sticky;left:0;background:var(--surface);z-index:1}
.hm-cell{display:block;height:26px;border-radius:5px;background:#f3eee7;cursor:default}
.hm-cell.wk{background:#f8f5f0}
.hm-cell:hover,.hm-cell:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.ucards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ucard{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:14px}
.ucard header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ucard h3{font:800 19px/1.25 var(--head);margin:0}
.ucard header .note{margin:3px 0 0;font-size:14px}
.people{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.people li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px;align-items:center}
.people .who{font-weight:600;overflow-wrap:anywhere}
.people .who .note{font-weight:400}
.people .flags{display:flex;gap:6px;grid-row:span 2;align-self:center}
.people .seen{font-size:13px;color:var(--muted)}
.flag{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:999px;border:1px dashed var(--line-strong);color:var(--muted);white-space:nowrap}
.flag.on{border:1px solid #b9dfc4;background:#eaf6ee;color:#166534}
.flag svg{width:13px;height:13px}
.nosign{margin:0;padding:10px 12px;background:#faf6f0;border-radius:10px;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.nosign strong{color:var(--ink);font-weight:600}
.funnel{display:grid;gap:7px}
.fn-row{display:grid;grid-template-columns:118px minmax(0,1fr) 52px;gap:10px;align-items:center;font-size:14px}
.fn-label{color:var(--muted)}
.fn-track{height:10px;border-radius:5px;background:#f3eee7;overflow:hidden}
.fn-track i{display:block;height:100%;background:var(--amber);border-radius:0 4px 4px 0}
.fn-row.base .fn-track i{background:#e7c9a5}
.fn-val{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.outc-head{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:600;margin-bottom:8px;flex-wrap:wrap}
.outc-head .note{font-weight:400}
.stackbar{display:flex;gap:2px;height:14px}
.stackbar i{display:block;min-width:4px;height:100%}
.stackbar i:first-child{border-radius:4px 0 0 4px}.stackbar i:last-child{border-radius:0 4px 4px 0}.stackbar i:only-child{border-radius:4px}
.stackbar i:hover,.stackbar i:focus-visible{filter:brightness(1.12);outline:none}
.okeys{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0;padding:0;font-size:13.5px}
.okeys li{display:flex;align-items:center;gap:6px}
.okeys li.zero{color:#a8a29e}
.okeys i{width:10px;height:10px;border-radius:2px;display:inline-block}
.okeys b{font-variant-numeric:tabular-nums}
.feed-day{font:700 14px/1.2 var(--body);color:var(--muted);margin:16px 0 6px}
.feed li{align-items:baseline}
.feed .dot{width:8px;height:8px;border-radius:50%;background:#d6cdc2;flex:none;align-self:center}
.feed time{width:72px;font-variant-numeric:tabular-nums}
.vtip{position:fixed;z-index:80;max-width:280px;padding:7px 10px;border-radius:8px;background:var(--ink);color:#fff;font-size:13px;line-height:1.35;pointer-events:none;box-shadow:0 6px 18px rgba(41,37,36,.2)}
@media (max-width:900px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ucards{grid-template-columns:1fr}}
@media (max-width:520px){.kpi{padding:13px 14px}.kpi-value{font-size:28px}.people li{grid-template-columns:1fr}.people .flags{grid-row:auto}
  .fn-row{grid-template-columns:104px minmax(0,1fr) 46px}.hm{grid-template-columns:96px repeat(var(--n),18px)}}
.ucard header .btn{white-space:nowrap;flex:none}
.feed-more-wrap{margin:12px 0 0}
.hm{grid-template-columns:minmax(150px,210px) repeat(var(--n),minmax(18px,1fr))}
@media (max-width:520px){.hm{grid-template-columns:118px repeat(var(--n),18px)}}
.hm-name{align-self:stretch;display:flex;align-items:center;box-shadow:4px 0 0 var(--surface)}
.hm-name{min-width:0}
