:root {
  --night: #0D1412;
  --side: #0A100E;
  --card: #141D1A;
  --card-2: #192420;
  --line: #22302B;
  --line-2: #2C3C36;
  --text: #EAF2EE;
  --text-2: #A9BAB2;
  --muted: #73867D;
  --lime: #C6F36D;
  --mint: #6FE3B5;
  --coral: #FF8170;
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
  --head: 'Geist', 'Inter', -apple-system, sans-serif;
  --ui: 'Inter', -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--night); color: var(--text); font: 400 13.5px/1.45 var(--ui); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
[data-ico] svg, .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--head); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }

/* ---------- sidebar ---------- */
.side { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; flex-direction: column; padding: 22px 16px 18px; background: var(--side); border-right: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; padding: 2px 8px 22px; }
.logo__mark { width: 32px; height: 32px; border-radius: 10px; background: var(--lime); color: #0D1412; display: grid; place-items: center; box-shadow: 0 0 24px rgb(198 243 109 / 0.25); }
.logo__mark svg { width: 20px; height: 20px; }
.logo b { font: 600 21px/1 var(--head); letter-spacing: -0.02em; }
.snav { display: flex; flex-direction: column; gap: 2px; }
.snav a { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.snav a span:first-child { width: 18px; height: 18px; flex: none; }
.snav a:hover { background: rgb(255 255 255 / 0.04); color: var(--text); }
.snav a.on { background: rgb(198 243 109 / 0.1); color: var(--lime); }
.snav a em { margin-left: auto; font: 600 10.5px/1 var(--head); font-style: normal; padding: 4px 6px; border-radius: 6px; background: rgb(255 129 112 / 0.16); color: var(--coral); }
.views { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.views p { margin: 0 10px 8px; font: 600 10.5px/1 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.views a { display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-size: 13px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.views a:hover { background: rgb(255 255 255 / 0.04); color: var(--text); }
.views a i { width: 8px; height: 8px; border-radius: 3px; margin: 0 5px; }
.sumcard { margin-top: auto; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, rgb(198 243 109 / 0.14), rgb(111 227 181 / 0.04) 70%); border: 1px solid rgb(198 243 109 / 0.18); }
.sumcard__ico { display: block; width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: rgb(198 243 109 / 0.16); color: var(--lime); }
.sumcard b { display: block; margin-top: 12px; font: 600 14px/1.2 var(--head); }
.sumcard p { margin: 6px 0 12px; color: var(--text-2); font-size: 12.5px; }
.sumcard__btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12.5px; color: var(--lime); }
.sumcard__btn span:last-child { width: 14px; height: 14px; transition: transform 0.2s; }
.sumcard__btn:hover span:last-child { transform: translateX(3px); }
.me { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 8px 0; border-top: 1px solid var(--line); }
.me__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8EA2FF, #C79BFF); color: #0D1412; font: 700 12px/1 var(--head); }
.me b { display: block; font-size: 13px; }
.me div span { font-size: 11.5px; color: var(--muted); }
.sample { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 99px; background: rgb(255 196 107 / 0.12); color: #FFC46B; font: 600 10px/1 var(--ui); letter-spacing: 0.02em; white-space: nowrap; }
.sample::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sample--logo { margin-left: auto; }

/* ---------- main ---------- */
.main { display: grid; grid-template-rows: 52px 172px 296px minmax(340px, 1fr); gap: 16px; padding: 22px 26px 22px; min-width: 0; height: 100vh; min-height: 940px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top h1 { margin: 0; font: 600 25px/1.1 var(--head); letter-spacing: -0.02em; }
.top p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; }
.top__tools { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; width: 250px; height: 40px; padding: 0 10px 0 12px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s; }
.search:focus-within { border-color: var(--line-2); }
.search > span { width: 16px; height: 16px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 13px; }
.search input::placeholder { color: var(--muted); }
kbd { padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); font: 500 10.5px/1 var(--ui); }
.month { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 4px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); }
.month button { width: 30px; height: 30px; padding: 7px; border-radius: 8px; color: var(--text-2); transition: background 0.2s; }
.month button:hover:not(:disabled) { background: rgb(255 255 255 / 0.06); }
.month button:disabled { opacity: 0.25; cursor: default; }
.month b { min-width: 98px; text-align: center; font: 600 13px/1 var(--head); }
.btn-add { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 13px; border-radius: 11px; background: var(--lime); color: #0D1412; font-weight: 650; font-size: 13.5px; transition: filter 0.2s, transform 0.15s; box-shadow: 0 8px 24px -12px rgb(198 243 109 / 0.7); }
.btn-add span[data-ico] { width: 16px; height: 16px; }
.btn-add:hover { filter: brightness(1.06); }
.btn-add:active { transform: scale(0.97); }
.btn-ghost { height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 600; }

.row { display: grid; gap: 16px; min-height: 0; }
.row--a { grid-template-columns: 1.05fr 1fr; }
.row--b { grid-template-columns: 1.25fr 1.2fr 0.9fr; }
.row--c { grid-template-columns: 1.85fr 1fr; }
.card { position: relative; min-width: 0; min-height: 0; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.card__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__t { font: 600 14px/1.2 var(--head); letter-spacing: -0.01em; }
.card__s { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* net worth */
.nw { background: radial-gradient(120% 140% at 0% 0%, rgb(198 243 109 / 0.1), transparent 55%), var(--card); }
.nw__v { margin-top: 10px; font: 600 38px/1 var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nw__v small { font-size: 0.55em; color: var(--text-2); letter-spacing: -0.01em; }
.nw__d { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.chg { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 7px; font: 600 11.5px/1 var(--head); font-variant-numeric: tabular-nums; }
.chg--up { background: rgb(111 227 181 / 0.13); color: var(--mint); }
.chg--down { background: rgb(255 129 112 / 0.13); color: var(--coral); }
.nw__chart { position: absolute; right: 0; bottom: 0; width: 56%; height: 112px; }
.nw__chart svg { width: 100%; height: 100%; overflow: visible; }
.nw__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) 0.15s forwards; }
.nw__area { opacity: 0; animation: fade 1s ease 0.9s forwards; }
.nw__lab { font: 500 9.5px/1 var(--ui); fill: var(--muted); }
.nw__dot { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }

/* accounts */
.accts { padding: 14px 18px 10px; }
.alist { list-style: none; margin: 8px 0 0; padding: 0; }
.acct { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 112px; align-items: center; gap: 10px; height: 29px; padding: 0 6px; margin: 0 -6px; border-radius: 8px; transition: background 0.2s; border-top: 1px solid rgb(34 48 43 / 0.6); }
.acct:first-child { border-top: 0; }
.acct:hover { background: rgb(255 255 255 / 0.04); }
.acct__ico { width: 26px; height: 26px; padding: 5px; border-radius: 8px; }
.acct__n { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.acct__n b { font: 600 13px/1.2 var(--head); white-space: nowrap; }
.acct__n small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct__v { font: 600 14.5px/1 var(--head); font-variant-numeric: tabular-nums; text-align: right; letter-spacing: -0.01em; white-space: nowrap; }
.acct .chg { font-size: 10.5px; padding: 3px 6px; }

/* spending donut */
.spend__in { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.donut { position: relative; width: 164px; height: 164px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.seg-c { fill: none; transition: stroke-dasharray 1.1s var(--ease), stroke-dashoffset 1.1s var(--ease), stroke-width 0.25s var(--ease), opacity 0.25s; cursor: pointer; }
.donut.has-hi .seg-c { opacity: 0.32; }
.donut.has-hi .seg-c.hi { opacity: 1; stroke-width: 22; }
.donut__c { position: absolute; inset: 0; display: grid; place-content: center; place-items: center; text-align: center; pointer-events: none; }
.donut__c > div { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; transition: opacity 0.3s, transform 0.3s var(--ease); }
.donut__c b { font: 600 23px/1 var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.donut__c span { margin-top: 4px; font-size: 11px; color: var(--muted); }
.donut__hi { opacity: 0; transform: scale(0.94); }
.donut.show-hi .donut__all { opacity: 0; transform: scale(0.94); }
.donut.show-hi .donut__hi { opacity: 1; transform: none; }
.donut__hi .dh__n { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; color: var(--text-2); font-size: 11px; font-weight: 500; }
.donut__hi .dh__n i { width: 7px; height: 7px; border-radius: 2px; }
.donut__hi b { font-size: 21px; }
.donut__hi .dh__s { margin-top: 6px; padding: 3px 7px; border-radius: 6px; background: rgb(111 227 181 / 0.12); color: var(--mint); font: 600 10.5px/1 var(--head); }
.donut__hi .dh__s.is-over { background: rgb(255 129 112 / 0.15); color: var(--coral); }
.legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.legend li { display: flex; align-items: center; gap: 8px; height: 21px; padding: 0 6px; margin: 0 -6px; border-radius: 6px; font-size: 12px; color: var(--text-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.legend li i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.legend li span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend li b { font: 600 11.5px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--text); }
.legend li.hi { background: rgb(255 255 255 / 0.06); color: var(--text); }
.spend__foot { display: flex; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.spend__foot b { color: var(--text); font-family: var(--head); font-variant-numeric: tabular-nums; }
.spend__foot .in { color: var(--mint); }
.spend__foot span + span::before { content: '·'; margin-right: 8px; color: var(--muted); }

/* budget */
.bar { position: relative; height: 6px; border-radius: 99px; background: rgb(255 255 255 / 0.06); overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; width: 0; transition: width 1.2s var(--ease), background 0.3s; }
.bar--all { height: 8px; margin: 14px 0 12px; }
.bar--all i { background: linear-gradient(90deg, var(--mint), var(--lime)); }
.brows { list-style: none; margin: 0; padding: 0; }
.brow { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 25px; padding: 0 6px; margin: 0 -6px; border-radius: 7px; font-size: 12px; transition: background 0.2s; cursor: default; }
.brow b { font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow.hi { background: rgb(255 255 255 / 0.05); }
.brow.hi b { color: var(--text); }
.brow__v { font: 500 11.5px/1 var(--head); font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; text-align: right; min-width: 88px; }
.brow__v em { font-style: normal; color: var(--coral); font-weight: 600; }
.brow .bar { height: 6px; }
.brow.over .bar { background: rgb(255 129 112 / 0.15); }
.brow.over b { color: var(--coral); }

/* goals */
.glist { list-style: none; margin: 12px 0 0; padding: 0; }
.goal { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.goal:first-child { border-top: 0; padding-top: 2px; }
.ring { position: relative; width: 50px; height: 50px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .fg { stroke-linecap: round; transition: stroke-dasharray 1.3s var(--ease); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 600 11.5px/1 var(--head); font-variant-numeric: tabular-nums; }
.goal b { display: block; font: 600 13px/1.2 var(--head); }
.goal__v { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.goal__v strong { color: var(--text); font-family: var(--head); font-weight: 600; }
.goal small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.goal__add { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 26px; padding: 0 9px; border-radius: 8px; background: rgb(255 255 255 / 0.06); color: var(--text-2); font: 600 11px/1 var(--head); opacity: 0; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.goal:hover .goal__add { opacity: 1; }
.goal__add:hover { background: var(--lime); color: #0D1412; }

/* transactions */
.txs { display: flex; flex-direction: column; padding-bottom: 6px; }
.txs__h { gap: 14px; }
.chips { flex: 1; display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip i { width: 7px; height: 7px; border-radius: 50%; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); border-color: var(--text); color: #0D1412; }
.tsearch { display: flex; align-items: center; gap: 6px; width: 132px; height: 30px; padding: 0 9px; border-radius: 9px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--line); flex: none; }
.tsearch span { width: 14px; height: 14px; color: var(--muted); flex: none; }
.tsearch input { width: 100%; background: none; border: 0; outline: none; font-size: 12px; }
.tsearch input::placeholder { color: var(--muted); }
.thead, .trow { display: grid; grid-template-columns: 58px minmax(0, 1fr) 134px 60px 100px; align-items: center; gap: 10px; }
.thead { margin-top: 12px; padding: 0 8px 7px; border-bottom: 1px solid var(--line); font: 600 10.5px/1 var(--ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.thead span:last-child, .trow > :last-child { text-align: right; }
.tbody { flex: 1; overflow: auto; mask-image: linear-gradient(#000 calc(100% - 26px), transparent); margin: 0 -4px; padding: 0 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.trow { height: 41px; padding: 0 8px; border-bottom: 1px solid rgb(34 48 43 / 0.6); border-radius: 8px; transition: background 0.2s; }
.trow:hover { background: rgb(255 255 255 / 0.03); }
.trow.enter { animation: rowIn 0.6s var(--ease) both; }
.trow.is-new { animation: rowNew 0.9s var(--ease) both; }
.trow.is-new .trow__amt { color: var(--lime); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes rowNew { 0% { opacity: 0; transform: translateY(-14px); background: rgb(198 243 109 / 0.16); } 40% { opacity: 1; transform: none; background: rgb(198 243 109 / 0.14); } 100% { background: rgb(198 243 109 / 0.05); } }
.trow__d { color: var(--muted); font-size: 12px; white-space: nowrap; }
.trow__m { display: flex; align-items: center; gap: 10px; min-width: 0; }
.trow__m .cico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; flex: none; }
.trow__m b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 24px; padding: 0 7px 0 7px; border-radius: 7px; font-size: 11.5px; font-weight: 500; white-space: nowrap; transition: filter 0.2s, box-shadow 0.2s; }
.cpill i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.cpill span { overflow: hidden; text-overflow: ellipsis; }
.cpill svg { width: 10px; height: 10px; opacity: 0.6; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
button.cpill:hover { box-shadow: inset 0 0 0 1px currentColor; }
.acc-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 2px; vertical-align: 1px; }
.acc-dot--every { background: var(--lime); }
.acc-dot--credit { background: #FF8A73; }
.acc-dot--save { background: var(--mint); }
.trow__a { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow__amt { font: 600 13px/1 var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trow__amt.in { color: var(--mint); }
.tempty { padding: 30px 0; text-align: center; color: var(--muted); }

/* recurring */
.recur { display: flex; flex-direction: column; }
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin: 12px 0 8px; }
.sday { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 6px; border-radius: 8px; font-size: 10px; color: var(--muted); }
.sday b { font: 600 12px/1 var(--head); color: var(--text-2); }
.sday i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.sday.has i { background: var(--lime); box-shadow: 0 0 8px rgb(198 243 109 / 0.7); }
.sday.today { background: rgb(198 243 109 / 0.12); }
.sday.today b { color: var(--lime); }
.rlist { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; }
.ritem { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgb(34 48 43 / 0.7); }
.ritem .cico { width: 30px; height: 30px; padding: 7px; border-radius: 9px; }
.ritem b { display: block; font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ritem small { font-size: 11px; color: var(--muted); }
.ritem small em { font-style: normal; color: var(--lime); font-weight: 600; }
.ritem .num { font-weight: 600; font-size: 12.5px; text-align: right; }

/* tooltip, menu, toast, sheet */
.tip { position: fixed; z-index: 60; pointer-events: none; padding: 9px 11px; border-radius: 10px; background: #F4F8F6; color: #0D1412; box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.7); font-size: 12px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
.tip.on { opacity: 1; transform: none; }
.tip b { display: flex; align-items: center; gap: 6px; font: 600 12.5px/1.2 var(--head); }
.tip b i { width: 8px; height: 8px; border-radius: 3px; }
.tip span { display: block; margin-top: 3px; color: #4A5A53; font-variant-numeric: tabular-nums; }
.tip em { font-style: normal; font-weight: 600; color: #D0503F; }
.pop { position: fixed; z-index: 70; min-width: 190px; padding: 6px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.8); opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.98); transform-origin: top left; transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.pop.on { opacity: 1; visibility: visible; transform: none; }
.pop p { margin: 4px 8px 6px; font: 600 10.5px/1 var(--ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pop button { display: flex; align-items: center; gap: 9px; width: 100%; height: 30px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; text-align: left; color: var(--text-2); }
.pop button:hover { background: rgb(255 255 255 / 0.06); color: var(--text); }
.pop button i { width: 8px; height: 8px; border-radius: 3px; }
.pop button.cur { color: var(--text); }
.pop button.cur::after { content: '✓'; margin-left: auto; color: var(--lime); }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #F4F8F6; color: #0D1412; box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.8); opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
.toast__ico { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #0D1412; color: var(--lime); }
.toast b { display: block; font: 600 13px/1.2 var(--head); }
.toast div span { font-size: 12px; color: #4A5A53; font-variant-numeric: tabular-nums; }
.scrim { position: fixed; inset: 0; z-index: 85; background: rgb(5 9 8 / 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.scrim.on { opacity: 1; visibility: visible; }
.sheet { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: 380px; padding: 24px; background: var(--card); border-left: 1px solid var(--line-2); transform: translateX(105%); transition: transform 0.45s var(--ease); display: flex; flex-direction: column; gap: 18px; }
.sheet.on { transform: none; }
.sheet__h { display: flex; align-items: center; justify-content: space-between; }
.sheet__h h2 { margin: 0; font: 600 20px/1.2 var(--head); }
.x { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--text-2); }
.x:hover { background: rgb(255 255 255 / 0.06); }
.fld { display: block; }
.fld > span { display: block; margin-bottom: 8px; font: 600 10.5px/1 var(--ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fld input { width: 100%; height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--night); outline: none; font-size: 14px; }
.fld input:focus { border-color: var(--lime); }
.catpick { display: flex; flex-wrap: wrap; gap: 6px; }
.catpick button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); }
.catpick button i { width: 7px; height: 7px; border-radius: 50%; }
.catpick button.on { background: var(--text); color: #0D1412; border-color: var(--text); }
.seg { display: flex; padding: 3px; border-radius: 11px; background: var(--night); border: 1px solid var(--line-2); }
.seg button { flex: 1; height: 34px; border-radius: 8px; font-size: 12.5px; color: var(--text-2); }
.seg button.on { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sheet__f { margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 1180px) {
  .app { grid-template-columns: 72px minmax(0, 1fr); }
  .logo b, .snav a span:last-child, .snav a em, .sumcard, .me div, .sample--logo, .views { display: none; }
  .snav a { justify-content: center; }
  .search { width: 190px; }
}
