@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(/static/fonts/onest-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(/static/fonts/onest-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Onest';font-style:normal;font-weight:400 700;font-display:swap;src:url(/static/fonts/onest-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/static/fonts/unbounded-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/static/fonts/unbounded-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 700;font-display:swap;src:url(/static/fonts/unbounded-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* base reset the claude.ai artifact skeleton used to provide */
[hidden]{display:none!important}
html,body{margin:0}
img{max-width:100%}

/* Layout: bento-сетка 12 колонок на десктопе, одна колонка на телефоне; 5 вкладок — нижняя панель на телефоне, сегменты в шапке на десктопе */
:root{
  --bg:#FFFFFF; --surface:#F3F5EE; --surface-2:#E9ECE2; --ink:#0B0C0A; --muted:#676D62; --line:#E2E5DB;
  --lime:#C6F135; --on-lime:#0B0C0A; --lime-text:#4A6B00; --lime-soft:#EEF9C8;
  --hero:#0B0C0A; --on-hero:#F3F6EA; --hero-muted:#9DA593; --hero-line:#25281F;
  --gain:#14853F; --loss:#D23A26; --warn:#9A6400;
  --c1:#C6F135; --c2:#0B0C0A; --c3:#6F8F12; --c4:#A9B09F; --c5:#3E4A17; --c6:#DDE7B5; --c7:#5C6157;
  --shadow:0 1px 2px rgba(11,12,10,.06),0 8px 24px -12px rgba(11,12,10,.18);
  --f-ui:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-num:"Unbounded","Onest",system-ui,sans-serif;
  --r-lg:22px; --r:16px; --r-sm:12px;
  --nav-h:64px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#090A08; --surface:#141612; --surface-2:#1C1F18; --ink:#F1F4EA; --muted:#979E8F; --line:#23261F;
  --lime:#C6F135; --on-lime:#0B0C0A; --lime-text:#C6F135; --lime-soft:#24300A;
  --hero:#151812; --on-hero:#F3F6EA; --hero-muted:#9DA593; --hero-line:#2A2E24;
  --gain:#53D08A; --loss:#FF7A63; --warn:#E8B847;
  --c1:#C6F135; --c2:#F1F4EA; --c3:#7FA31A; --c4:#5F6658; --c5:#B7D86B; --c6:#3B4A12; --c7:#A2A99A;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 10px 30px -14px rgba(0,0,0,.7); color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#090A08; --surface:#141612; --surface-2:#1C1F18; --ink:#F1F4EA; --muted:#979E8F; --line:#23261F;
  --lime:#C6F135; --on-lime:#0B0C0A; --lime-text:#C6F135; --lime-soft:#24300A;
  --hero:#151812; --on-hero:#F3F6EA; --hero-muted:#9DA593; --hero-line:#2A2E24;
  --gain:#53D08A; --loss:#FF7A63; --warn:#E8B847;
  --c1:#C6F135; --c2:#F1F4EA; --c3:#7FA31A; --c4:#5F6658; --c5:#B7D86B; --c6:#3B4A12; --c7:#A2A99A;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 10px 30px -14px rgba(0,0,0,.7); color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--f-ui);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));
  padding-block:calc(12px + env(safe-area-inset-top,0px)) calc(var(--nav-h) + 40px + env(safe-area-inset-bottom,0px))}
@media (min-width:900px){body{padding-block:calc(20px + env(safe-area-inset-top,0px)) 56px}}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--lime-text);outline-offset:2px}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)} .gain{color:var(--gain)} .loss{color:var(--loss)} .warn{color:var(--warn)}
.app{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:16px}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.logo{width:34px;height:34px;border-radius:11px;background:var(--lime);color:var(--on-lime);display:grid;place-items:center;font-family:var(--f-num);font-weight:700;font-size:14px;flex:none}
.brand h1{margin:0;font-size:18px;font-weight:700;letter-spacing:-.01em}
.brand p{margin:0;font-size:12.5px;color:var(--muted)}
.top-actions{display:flex;gap:8px;align-items:center}
.icon-btn{width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;flex:none}
.icon-btn svg{width:20px;height:20px}
.icon-btn.spin svg{animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.top .add-desk{display:none}
@media (min-width:900px){.top .add-desk{display:inline-flex}}

/* nav: bottom bar on phone, segmented control on desktop */
.nav{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bg);border-top:1px solid var(--line);
  padding:6px max(6px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
.nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border-radius:14px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.01em}
.nav button svg{width:22px;height:22px}
.nav button[aria-current="page"]{color:var(--ink)}
.nav button[aria-current="page"] .pill{background:var(--lime);color:var(--on-lime)}
.nav .pill{display:grid;place-items:center;width:52px;height:28px;border-radius:999px;transition:background .15s}
@media (min-width:900px){
  .nav{position:sticky;top:env(safe-area-inset-top,0px);bottom:auto;left:auto;right:auto;z-index:30;display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);width:max-content;margin:0 auto}
  .nav button{flex-direction:row;min-height:40px;padding:0 16px 0 10px;font-size:14px;gap:6px;border-radius:999px}
  .nav .pill{width:auto;height:auto;background:none!important;color:inherit!important}
  .nav button[aria-current="page"]{background:var(--ink);color:var(--bg)}
  .nav button svg{width:18px;height:18px}
}
.fab{position:fixed;z-index:41;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(var(--nav-h) + 18px + env(safe-area-inset-bottom,0px));
  width:56px;height:56px;border-radius:18px;border:0;background:var(--lime);color:var(--on-lime);display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(80,110,0,.55)}
.fab svg{width:26px;height:26px}
@media (min-width:900px){.fab{display:none}}

/* grid + cards */
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.grid>*{grid-column:1/-1;min-width:0}
@media (min-width:900px){.s4{grid-column:span 4}.s5{grid-column:span 5}.s6{grid-column:span 6}.s7{grid-column:span 7}.s8{grid-column:span 8}}
.card{background:var(--surface);border-radius:var(--r-lg);padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.card-h{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px}
.card-h h2{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em}
.card-h .aside{font-size:13px;color:var(--muted)}
.empty{color:var(--muted);font-size:14px;padding:6px 0}
.empty b{color:var(--ink)}

/* hero */
.hero{background:var(--hero);color:var(--on-hero);border-radius:26px;padding:20px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}
.hero .lbl{font-size:13px;color:var(--hero-muted);display:flex;justify-content:space-between;gap:10px;align-items:center}
.total{font-family:var(--f-num);font-weight:600;font-size:clamp(36px,10.5vw,60px);line-height:1;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.total .c{font-size:.45em;color:var(--hero-muted);font-weight:500}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:600;background:var(--hero-line);color:var(--on-hero);white-space:nowrap}
.chip.up{background:var(--lime);color:var(--on-lime)}
.chip.down{background:#3A1712;color:#FFB4A6}
.chip.warn{background:#3A2E0A;color:#F2CF6B}
.spark{width:100%;height:56px;display:block}
.split{display:flex;height:10px;border-radius:999px;overflow:hidden;background:var(--hero-line);gap:2px}
.split span{display:block;height:100%}
.legend{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;color:var(--hero-muted)}
.legend b{color:var(--on-hero);font-weight:600}
.dot{display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:6px;vertical-align:1px}
.status{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--hero-muted)}
.status span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:var(--hero-muted);vertical-align:1px}
.status .ok::before{background:var(--lime)} .status .bad::before{background:#FF7A63} .status .wait::before{background:#E8B847}
.linkbtn{border:0;background:none;padding:0;color:var(--lime-text);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hero .linkbtn{color:var(--lime)}

/* quick actions */
.quick{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * max(16px,env(safe-area-inset-left,0px)));padding:2px max(16px,env(safe-area-inset-left,0px))}
.quick::-webkit-scrollbar{display:none}
.qbtn{flex:none;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:0 16px 0 12px;min-height:44px;font-weight:600;font-size:14px}
.qbtn svg{width:18px;height:18px}
.qbtn.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.qbtn[disabled]{opacity:.45}

/* stats */
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:640px){.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stat{background:var(--bg);border-radius:var(--r);padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0}
.stat .k{font-size:12px;color:var(--muted)}
.stat .v{font-family:var(--f-num);font-size:17px;font-weight:600;letter-spacing:-.01em;overflow-wrap:anywhere}
.stat .s{font-size:12.5px;font-weight:600}

/* lists */
.list{display:flex;flex-direction:column}
.row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:11px 4px;border:0;border-top:1px solid var(--line);background:none;text-align:left;width:100%;border-radius:0}
.list>.row:first-child{border-top:0}
button.row{min-height:60px}
@media (hover:hover){button.row:hover{background:var(--surface-2);border-radius:12px}}
.avatar{width:42px;height:42px;border-radius:13px;background:var(--bg);display:grid;place-items:center;font-size:11px;font-weight:700;grid-row:span 2;overflow:hidden;letter-spacing:.02em}
.avatar.lime{background:var(--lime);color:var(--on-lime)}
.row .t{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .m{font-size:12.5px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .r{text-align:right;font-weight:700;white-space:nowrap}
.row .r2{text-align:right;font-size:12.5px;white-space:nowrap;font-weight:600}
.wal{background:var(--bg);border-radius:var(--r);padding:12px 12px 4px;display:flex;flex-direction:column;gap:4px;min-width:0}
.wal-h{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding-bottom:6px}
.wal .avatar{background:var(--surface)}
.wal-h .avatar{grid-row:auto}
.wal .avatar.lime{background:var(--lime)}
.wal-t{display:flex;flex-direction:column;min-width:0}
.wal-t b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.wal-t small,.wal-v small{font-size:12.5px}
.wal-v{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}
.wal-v b{font-family:var(--f-num);font-weight:600;font-size:15px}
.icon-btn.sm{width:38px;height:38px;border-radius:12px;font-size:18px;line-height:1;background:var(--surface)}
.wal .row{padding-inline:2px}
.wal .empty{padding:4px 2px 10px}
.tag.soft{background:var(--surface-2);color:var(--muted)}
.tag{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:2px 6px;border-radius:6px;background:var(--lime-soft);color:var(--lime-text);margin-left:6px;vertical-align:1px}

/* segmented */
.seg{display:inline-flex;background:var(--bg);border-radius:999px;padding:3px;gap:2px}
.seg button{border:0;background:none;border-radius:999px;padding:0 12px;min-height:32px;font-size:13px;font-weight:600;color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}

/* donut */
.donut-wrap{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:16px;align-items:center}
@media (max-width:380px){.donut-wrap{grid-template-columns:minmax(0,1fr)}.donut-wrap svg{max-width:170px;margin:0 auto}}
.donut-wrap svg{width:100%;height:auto;display:block}
.leg{display:flex;flex-direction:column;gap:8px;min-width:0}
.leg div{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:13.5px}
.leg i{width:12px;height:12px;border-radius:4px;display:block}
.leg span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leg b{font-weight:600;white-space:nowrap}

/* goals */
.goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:640px){.goals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.goals{grid-template-columns:repeat(4,minmax(0,1fr))}}
.goal{background:var(--bg);border:0;border-radius:var(--r);padding:14px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-height:200px;min-width:0}
.goal .ring{width:84px;height:84px;position:relative}
.goal .ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.goal .ring b{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--f-num);font-size:16px}
.goal .gn{font-weight:700;font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goal .ga{font-size:12.5px;color:var(--muted)}
.goal .gd{font-size:11.5px;font-weight:700;padding:3px 8px;border-radius:999px;background:var(--surface-2)}
.goal.add{border:1.5px dashed var(--line);background:none;justify-content:center;color:var(--muted);font-weight:600}
.goal.add .plus{width:40px;height:40px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center}
.gbar{height:8px;border-radius:999px;background:var(--bg);overflow:hidden}
.gbar i{display:block;height:100%;background:var(--lime);border-radius:999px}
.gline{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-top:1px solid var(--line)}
.gline:first-child{border-top:0;padding-top:0}
.gline .l{display:flex;justify-content:space-between;gap:10px;font-size:13.5px}
.gline .l b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* reports */
.month{background:var(--bg);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:10px}
.month-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.month-h h3{margin:0;font-size:15px;font-weight:700;text-transform:capitalize}
.bars{display:flex;flex-direction:column;gap:7px}
.bar{display:grid;grid-template-columns:minmax(92px,130px) minmax(0,1fr) auto;gap:10px;align-items:center;font-size:13px}
.bar .track{height:10px;border-radius:999px;background:var(--surface-2);position:relative;overflow:hidden}
.bar .track i{position:absolute;top:0;bottom:0;border-radius:999px}
.bar .track .mid{position:absolute;left:50%;top:-2px;bottom:-2px;width:1px;background:var(--line)}
.bar b{font-weight:600;white-space:nowrap;text-align:right;min-width:84px}
.note{font-size:12.5px;color:var(--muted)}
.chart{position:relative}
.chart svg{display:block;width:100%;height:auto;touch-action:pan-y}
.chart .tip{position:absolute;top:0;left:0;font-size:13px;color:var(--muted);pointer-events:none}
.chart .tip b{color:var(--ink);font-family:var(--f-num);font-weight:600}

/* events */
.ev{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:2px 10px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.ev:first-child{border-top:0}
.ev i{width:10px;height:10px;border-radius:50%;grid-row:span 2;background:var(--c4)}
.ev .t{font-weight:600;font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev .m{font-size:12px;color:var(--muted)}
.ev .r{font-weight:700;font-size:13.5px;white-space:nowrap;text-align:right;grid-row:span 2}

/* sheet */
#sheet-wrap{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}
#sheet-wrap .scrim{position:absolute;inset:0;background:rgba(5,6,4,.5)}
.sheet{position:relative;background:var(--bg);color:var(--ink);width:100%;max-width:560px;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:24px 24px 0 0;
  padding:10px max(18px,env(safe-area-inset-right,0px)) calc(22px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px}
.sheet .grab{width:40px;height:5px;border-radius:99px;background:var(--line);margin:0 auto 2px}
@media (min-width:640px){#sheet-wrap{align-items:center;padding:20px}.sheet{border-radius:24px;padding-top:18px}.sheet .grab{display:none}}
.sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.01em}
.x{border:0;background:var(--surface);width:40px;height:40px;border-radius:12px;font-size:22px;line-height:1;flex:none}
#sheet-body{display:flex;flex-direction:column;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-size:13px;font-weight:600;color:var(--muted)}
.field input,.field select{font:inherit;font-size:16px;color:var(--ink);background:var(--surface);border:1.5px solid transparent;border-radius:14px;padding:12px 14px;min-height:50px;width:100%;-webkit-appearance:none;appearance:none}
.field select{background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:36px}
.field input:focus,.field select:focus{border-color:var(--ink);outline:none}
.field input:disabled{opacity:.6}
.hint{font-size:12.5px;color:var(--muted)}
.err{font-size:13.5px;color:var(--loss);font-weight:500}
.err:empty{display:none}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.btns{display:flex;gap:8px;flex-wrap:wrap}
.btn{flex:1 1 140px;border:0;border-radius:14px;min-height:52px;padding:0 16px;font-weight:700;font-size:15px;background:var(--surface)}
.btn.primary{background:var(--ink);color:var(--bg)}
.btn.lime{background:var(--lime);color:var(--on-lime)}
.btn.danger{background:none;color:var(--loss);border:1.5px solid var(--loss)}
.btn:disabled{opacity:.5}
.opts{display:flex;flex-direction:column;gap:6px}
.opt{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;background:var(--bg);text-align:left;width:100%;min-height:52px}
.opt[aria-pressed="true"]{border-color:var(--ink);background:var(--lime-soft)}
.opt small{color:var(--muted)}
.toggle{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border-radius:14px;padding:4px;gap:4px}
.toggle button{border:0;background:none;border-radius:11px;min-height:42px;font-weight:600;font-size:14px;color:var(--muted)}
.toggle button[aria-pressed="true"]{background:var(--bg);color:var(--ink);box-shadow:var(--shadow)}
.actions-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.act{border:0;background:var(--surface);border-radius:18px;padding:16px;min-height:96px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;font-weight:700;gap:10px}
.act svg{width:24px;height:24px}
.act small{font-weight:500;color:var(--muted);font-size:12.5px}
.act.lime{background:var(--lime);color:var(--on-lime)} .act.lime small{color:#3D4A12}
.act[disabled]{opacity:.5}
.pos{background:var(--surface);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}
.pos .l{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;overflow-wrap:anywhere}

#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--nav-h) + 86px + env(safe-area-inset-bottom,0px));z-index:70;background:var(--ink);color:var(--bg);padding:12px 16px;border-radius:14px;font-size:14px;font-weight:500;width:max-content;max-width:calc(100% - 32px);box-shadow:var(--shadow)}
@media (min-width:900px){#toast{bottom:28px}}
@media (prefers-reduced-motion:no-preference){.sheet{animation:up .22s cubic-bezier(.2,.8,.2,1)}@keyframes up{from{transform:translateY(24px);opacity:.5}}}
@media (prefers-reduced-motion:reduce){.icon-btn.spin svg{animation:none}}

/* standalone pages: login, invite, settings */
a.qbtn{text-decoration:none;color:inherit}
.login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding-block:24px}
.login .box{width:100%;max-width:420px;display:flex;flex-direction:column;gap:18px}
.login form{background:var(--surface);border-radius:24px;padding:22px;display:flex;flex-direction:column;gap:14px}
.login .field input{background:var(--bg)}
.login h2{margin:0;font-family:var(--f-num);font-size:26px;font-weight:600;letter-spacing:-.02em}
.login p{margin:0;color:var(--muted);font-size:14px}
.stack{display:flex;flex-direction:column;gap:8px}
.stack>.btn{flex:none}
.pos .btn:not(.danger):not(.primary):not(.lime){background:var(--bg)}
.sec-h{margin:6px 0 0;font-size:16px;font-weight:700}
