@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.390ncx5urfkfu.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.21jp631_3pja2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.31988l_ccedte.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0r6juujl39pe6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--bg:#0f212e;--bg-deep:#0a1a24;--surface:#1a2c38;--surface-2:#213743;--surface-3:#2f4553;--border:#2f4553;--text:#fff;--muted:#b1bad3;--faint:#6f8199;--green:#00e701;--green-dark:#1fff20;--red:#ff4d5e;--blue:#1475e1;--radius:12px;--mono:var(--font-geist-mono), ui-monospace, monospace}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);color:var(--text);font-family:var(--font-geist-sans), system-ui, -apple-system, "Segoe UI", sans-serif;-webkit-font-smoothing:antialiased;min-height:100vh}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}button:disabled{opacity:.5;cursor:not-allowed}input{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.pos{color:var(--green)}.neg{color:var(--red)}.zero,.muted{color:var(--muted)}.small{font-size:12px}.upper{text-transform:uppercase;letter-spacing:.06em;font-weight:600}.dot{border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px;display:inline-block}.error{color:var(--red);font-size:13px;font-weight:600}.app{min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--surface-2);background:#0f212eeb;align-items:center;gap:16px;padding:12px 24px;display:flex;position:sticky;top:0;box-shadow:0 4px 20px #00000040}.brand{letter-spacing:-.01em;white-space:nowrap;align-items:center;gap:10px;font-size:18px;font-weight:700;display:flex}.brand b{color:var(--green)}.logo{background:linear-gradient(135deg, var(--green), #00a800);color:#05230a;border-radius:8px;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.tabs{background:var(--bg-deep);border-radius:999px;gap:4px;margin:0 auto;padding:4px;display:flex}.tabs button{color:var(--muted);border-radius:999px;align-items:center;padding:8px 16px;font-size:14px;font-weight:600;transition:background .15s,color .15s;display:flex}.tabs button:hover{color:var(--text)}.tabs button.active{background:var(--surface-3);color:var(--text);box-shadow:0 2px 6px #0000004d}.top-actions{align-items:center;gap:8px;display:flex}.lock{color:var(--faint);white-space:nowrap;font-size:13px}.content{flex-direction:column;gap:20px;max-width:1280px;margin:0 auto;padding:24px;display:flex}.card{background:var(--surface);border-radius:var(--radius);padding:20px;box-shadow:0 4px 14px #0000002e}.card-title{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:14px;font-size:15px;font-weight:700;display:flex}.icon-btn{background:var(--surface-2);width:34px;height:34px;color:var(--muted);border-radius:8px;place-items:center;font-size:18px;transition:background .15s;display:grid}.icon-btn:hover{background:var(--surface-3);color:var(--text)}.ghost-btn{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;transition:background .15s}.ghost-btn:hover{background:var(--surface-3);color:var(--text)}.primary-btn{background:var(--green);color:#04210a;border-radius:8px;padding:11px 18px;font-size:14px;font-weight:700;transition:filter .15s,transform 50ms}.primary-btn:hover:not(:disabled){filter:brightness(1.1)}.primary-btn:active:not(:disabled){transform:translateY(1px)}.danger-btn{color:var(--red);background:#ff4d5e1f;border-radius:8px;padding:11px 14px;font-size:14px;font-weight:700}.danger-btn:hover{background:#ff4d5e38}.field{background:var(--bg-deep);border:2px solid var(--surface-3);width:100%;color:var(--text);border-radius:8px;padding:11px 14px;font-size:14px;transition:border-color .15s}.field:focus{border-color:var(--blue);outline:none}input[type=date].field{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:auto}.hero{background:linear-gradient(135deg,#1a2c38 0%,#1d3442 100%);flex-direction:column;gap:16px;display:flex}.hero-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.hero-total{font-family:var(--mono);letter-spacing:-.03em;margin-top:6px;font-size:clamp(34px,6vw,52px);font-weight:600;line-height:1.1}.hero-side{gap:8px;display:flex}.hero-compare{flex-wrap:wrap;gap:40px;margin-top:6px;display:flex}.hero-compare>div{flex-direction:column;display:flex}.hero-compare .hero-total{margin-top:2px;font-size:clamp(28px,4.5vw,40px)}.hero-name{color:var(--muted);align-items:center;font-weight:600;display:flex}.pill{background:var(--bg-deep);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700}.periods{flex-wrap:wrap;gap:6px;display:flex}.periods button{background:var(--bg-deep);color:var(--muted);border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .15s}.periods button:hover{color:var(--text);background:var(--surface-3)}.periods button.active{background:var(--blue);color:#fff}.custom-range{flex-wrap:wrap;gap:12px;display:flex}.custom-range label{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:flex}.stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.stat{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:4px;min-width:0;padding:16px;display:flex}.stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:600}.stat-value{font-family:var(--mono);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-size:22px;font-weight:600;overflow:hidden}.stat-sub{color:var(--faint);min-height:15px;font-size:12px}.winbar{background:#ff4d5e59;border-radius:3px;height:6px;margin:4px 0 2px;overflow:hidden}.winbar span{background:var(--green);border-radius:3px;height:100%;display:block}.compare table{border-collapse:collapse;width:100%;font-size:14px}.compare th{text-align:right;padding:8px 12px;font-size:14px}.compare th:first-child{text-align:left}.compare td{border-top:1px solid var(--surface-2);text-align:right;font-family:var(--mono);padding:10px 12px}.compare td:first-child{text-align:left;font-family:inherit}.compare td.winner{background:#00e7010f;font-weight:700}.compare td.winner:after{content:" ★";color:#ffc800;font-size:11px}.layout{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.side{flex-direction:column;gap:20px;min-width:0;display:flex}.calendar{padding:18px}.cal-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.cal-nav{align-items:center;gap:8px;display:flex}.cal-nav h2{text-align:center;min-width:170px;font-size:20px;font-weight:700}.cal-nav h2 span{color:var(--muted);font-weight:500}.cal-month-totals{flex-wrap:wrap;gap:16px;display:flex}.month-total{align-items:center;gap:8px;font-size:13px;display:flex}.month-total strong{font-family:var(--mono);font-size:16px}.cal-grid{grid-template-columns:repeat(7,minmax(0,1fr)) minmax(0,.9fr);gap:6px;display:grid}.cal-dow{text-align:center;color:var(--faint);text-transform:uppercase;letter-spacing:.05em;padding:4px 0;font-size:12px;font-weight:600}.cal-cell{background:var(--surface-2);text-align:left;border:2px solid #0000;border-radius:8px;flex-direction:column;justify-content:space-between;min-height:84px;padding:8px;transition:transform .1s,border-color .15s,filter .15s;display:flex;position:relative}button.cal-cell:not(.readonly):hover{border-color:var(--surface-3);filter:brightness(1.15);transform:translateY(-1px)}.cal-cell.readonly{cursor:default}.cal-cell.out{opacity:.35;background:0 0}.cal-cell.today{border-color:var(--blue)}.cal-cell.selected{border-color:#fff}.cal-num{color:var(--muted);font-size:12px;font-weight:600}.cal-cell.today .cal-num{color:#fff;background:var(--blue);border-radius:4px;align-self:flex-start;padding:0 5px}.cal-val{font-family:var(--mono);letter-spacing:-.02em;font-size:14px;font-weight:600}.note-dot{background:#ffc800;border-radius:50%;width:6px;height:6px;position:absolute;top:9px;right:9px}.cal-multi{font-family:var(--mono);flex-direction:column;gap:2px;font-size:12px;font-weight:600;display:flex}.cal-multi span,.week-val{align-items:center;gap:4px;display:flex}.cal-multi i,.week-val i,.recap-line i,.chart-tip-row i{border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.cal-cell.week-col,.cal-dow.week-col{background:var(--bg-deep)}.cal-cell.week-col{justify-content:center;align-items:flex-end;gap:4px}.cal-dow.week-col{border-radius:6px}.week-val{font-family:var(--mono);font-size:13px;font-weight:700}.hint{color:var(--faint);text-align:center;margin-top:12px;font-size:12px}.chart-box{height:280px;margin:0 -6px}.chart-empty{height:200px;color:var(--faint);place-items:center;font-size:14px;display:grid}.chart-tip{background:var(--bg-deep);border:1px solid var(--surface-3);border-radius:8px;padding:10px 12px;font-size:13px;box-shadow:0 8px 24px #0006}.chart-tip-title{margin-bottom:6px;font-weight:700}.chart-tip-row{font-family:var(--mono);align-items:center;gap:8px;margin-top:2px;font-size:12px;display:flex}.recap-list{flex-direction:column;gap:2px;max-height:380px;margin:0 -8px;padding-right:4px;display:flex;overflow-y:auto}.recap-row{text-align:left;border-radius:8px;grid-template-columns:78px 1fr;align-items:center;gap:10px;padding:8px;display:grid}.recap-row:hover{background:var(--surface-2)}.recap-month{color:var(--muted);text-transform:capitalize;font-size:13px;font-weight:600}.recap-bars{flex-direction:column;gap:4px;min-width:0;display:flex}.recap-line{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;display:grid}.recap-line:not(:has(i)){grid-template-columns:1fr auto auto}.recap-track{background:var(--bg-deep);border-radius:4px;min-width:30px;height:8px;overflow:hidden}.recap-fill{border-radius:4px;min-width:2px;height:100%;display:block}.recap-fill.pos{background:var(--green)}.recap-fill.neg{background:var(--red)}.recap-fill.zero{background:var(--muted)}.recap-val{font-family:var(--mono);text-align:right;min-width:92px;font-size:13px;font-weight:600}.recap-meta{text-align:right;min-width:72px}.notes ul{flex-direction:column;gap:2px;list-style:none;display:flex}.notes li button{text-align:left;border-radius:8px;grid-template-columns:70px 120px 1fr;gap:12px;width:100%;padding:8px;font-size:14px;display:grid}.notes li button:hover{background:var(--surface-2)}.notes li button span:nth-child(2){font-family:var(--mono);font-weight:600}.note-text{color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#040c12b3;place-items:center;padding:16px;animation:.15s ease-out fade;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:16px;width:100%;max-width:440px;animation:.18s ease-out pop;box-shadow:0 24px 60px #00000080}.modal-head{justify-content:space-between;align-items:flex-start;padding:20px 20px 0;display:flex}.modal-head h3{text-transform:capitalize;margin-top:4px;font-size:18px;font-weight:700}.modal-profile{color:var(--muted);align-items:center;font-size:13px;font-weight:600;display:flex}.modal-body{flex-direction:column;gap:14px;padding:18px 20px 20px;display:flex}.modal-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.modal-actions .spacer{flex:1}.sign-toggle{background:var(--bg-deep);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.sign-toggle button{color:var(--muted);border-radius:8px;padding:10px;font-weight:700;transition:all .15s}.sign-toggle button.active.pos{color:var(--green);background:#00e70126}.sign-toggle button.active.neg{color:var(--red);background:#ff4d5e26}.amount-field{background:var(--bg-deep);border:2px solid var(--surface-3);font-family:var(--mono);border-radius:10px;align-items:center;gap:8px;padding:6px 16px;font-size:32px;font-weight:600;transition:border-color .15s;display:flex}.amount-field:focus-within{border-color:var(--blue)}.amount-field.pos span{color:var(--green)}.amount-field.neg span{color:var(--red)}.amount-field input{min-width:0;font:inherit;background:0 0;border:0;outline:none;flex:1;padding:6px 0}.quick{flex-wrap:wrap;gap:6px;display:flex}.quick button{background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:600;font-family:var(--mono);border-radius:6px;padding:6px 10px}.quick button:hover{background:var(--surface-3);color:var(--text)}.toast{z-index:60;background:var(--surface-3);border-radius:10px;padding:12px 18px;font-size:14px;font-weight:600;animation:.2s ease-out rise;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0006}.toast.ok{border-left:4px solid var(--green)}.toast.err{border-left:4px solid var(--red)}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:scale(.96)translateY(8px)}}@keyframes rise{0%{opacity:0;transform:translate(-50%,10px)}}@media (max-width:1024px){.layout{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:720px){html,body{-webkit-tap-highlight-color:transparent}.hide-sm{display:none}.topbar{padding:10px 16px;padding-top:max(10px, env(safe-area-inset-top));gap:10px}.topbar .tabs{display:none}.brand{font-size:17px}.logo{width:30px;height:30px}.top-actions{margin-left:auto}.top-actions .ghost-btn,.lock{padding:8px 11px;font-size:15px}.lock{background:var(--surface-2);border-radius:8px}.content{padding:12px 12px calc(96px + env(safe-area-inset-bottom));gap:12px}.card{padding:14px}.layout{display:contents}.hero{order:0}.calendar{order:1}.stats-grid,.compare{order:2}.side{order:3;gap:12px}.notes{order:4}.hero{gap:12px}.hero-top{align-items:center;gap:8px}.hero-top>div:first-child{width:100%}.hero-total{font-size:36px}.hero-side{width:100%}.pill{padding:5px 10px;font-size:12px}.hero-compare{gap:20px}.hero-compare .hero-total{font-size:26px}.periods{scrollbar-width:none;scroll-snap-type:x proximity;flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.periods::-webkit-scrollbar{display:none}.periods button{scroll-snap-align:start;flex:none;padding:9px 14px}.custom-range{flex-direction:column;gap:8px}.custom-range label{justify-content:space-between}.custom-range .field{flex:1}.stats-grid{grid-template-columns:repeat(2,1fr);gap:8px}.stat{gap:2px;padding:11px 12px}.stat-label{font-size:10px}.stat-value{font-size:17px}.stat-sub{font-size:11px}.compare{padding:8px 4px}.compare table{font-size:13px}.compare th,.compare td{padding:9px 8px}.calendar{margin:0 -4px;padding:12px 8px}.cal-head{gap:8px;margin-bottom:10px;padding:0 4px}.cal-nav{width:100%}.cal-nav h2{flex:1;min-width:0;font-size:18px}.cal-month-totals{justify-content:space-between;gap:8px;width:100%}.month-total strong{font-size:15px}.cal-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.cal-grid .week-col{display:none}.cal-dow{font-size:10px}.cal-cell{border-radius:7px;min-height:60px;padding:5px 4px}button.cal-cell:not(.readonly):hover{filter:none;transform:none}button.cal-cell:not(.readonly):active{transform:scale(.94)}.cal-num{font-size:11px}.cal-val{letter-spacing:-.04em;font-size:11px}.cal-multi{font-size:9px}.cal-multi i{display:none}.note-dot{width:5px;height:5px;top:6px;right:5px}.hint{display:none}.chart-box{height:230px}.notes li button{grid-template-columns:56px 96px 1fr;gap:8px;font-size:13px}.recap-row{grid-template-columns:64px 1fr}.recap-val{min-width:84px;font-size:12px}.recap-meta{display:none}.modal-backdrop{align-items:flex-end;padding:0;display:flex}.modal{max-width:none;padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0;animation:.22s ease-out sheet}.modal:before{content:"";background:var(--surface-3);border-radius:2px;width:40px;height:4px;margin:10px auto 0;display:block}.modal-head{padding:12px 16px 0}.modal-body{gap:12px;padding:14px 16px 18px}.modal-head h3,.field{font-size:16px}.amount-field{font-size:30px}.quick button{flex:1;padding:10px 0}.modal-actions{grid-template-columns:1fr 1fr;display:grid}.modal-actions .spacer{display:none}.modal-actions .primary-btn{order:-1;grid-column:1/-1;padding:15px;font-size:16px}.modal-actions button{padding:13px}.fab{z-index:30;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));background:var(--green);color:#04210a;border-radius:50%;place-items:center;width:58px;height:58px;font-size:32px;font-weight:500;line-height:1;display:grid;position:fixed;box-shadow:0 8px 24px #00e70159,0 4px 12px #0006}.fab:active{transform:scale(.94)}.bottom-nav{z-index:25;padding:6px 8px calc(6px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--surface-2);background:#0a1a24f5;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--faint);flex-direction:column;align-items:center;gap:3px;padding:6px 0;font-size:11px;font-weight:600;display:flex}.bottom-nav button.active{color:var(--text)}.bn-avatar{background:var(--surface-2);width:30px;height:30px;color:var(--text);border-radius:50%;place-items:center;font-size:14px;font-weight:800;transition:background .15s;display:grid}.bottom-nav button.active .bn-avatar{color:#04210a}.bottom-nav button.active:last-child .bn-avatar{background:var(--blue);color:#fff}.toast{bottom:calc(150px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 32px)}}.fab,.bottom-nav{display:none}@media (max-width:720px){.fab,.bottom-nav{display:grid}}@keyframes sheet{0%{transform:translateY(100%)}}.cal-cell.skip{background:repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 6px, #1c303c 6px, #1c303c 12px)}.cal-cell.skip .cal-num{color:var(--faint)}.skip-label{color:var(--faint);letter-spacing:0;font-size:12px;font-weight:600}.faint{opacity:.45}.sign-toggle{grid-template-columns:1fr 1fr 1fr}.sign-toggle button.active.skip{background:var(--surface-3);color:var(--text)}.skip-info{background:var(--bg-deep);color:var(--muted);text-align:center;border-radius:10px;padding:16px;font-size:14px}@media (max-width:720px){.skip-label,.cal-cell.skip .cal-val{font-size:9px}}.modal-title{min-width:0}.modal-day{align-items:center;gap:6px;margin-top:4px;display:flex}.modal-day h3{margin-top:0}.day-shift{background:var(--surface-2);width:28px;height:28px;color:var(--muted);border-radius:6px;flex:none;font-size:17px}.day-shift:hover{background:var(--surface-3);color:var(--text)}@media (max-width:720px){.modal{overscroll-behavior:contain;max-height:100%;overflow-y:auto}.modal-backdrop.kb-open .modal{border-radius:16px 16px 0 0;padding-bottom:0;animation:none}.modal-backdrop.kb-open .modal:before{display:none}.modal-backdrop.kb-open .modal-head{padding-top:10px}.modal-backdrop.kb-open .modal-body{gap:8px;padding-top:10px;padding-bottom:10px}.modal-backdrop.kb-open .modal-profile,.modal-backdrop.kb-open .muted.small{display:none}.modal-backdrop.kb-open .sign-toggle button{padding:7px}.modal-backdrop.kb-open .amount-field{padding:2px 14px;font-size:24px}.modal-backdrop.kb-open .quick button{padding:7px 0}.modal-backdrop.kb-open .field{padding:8px 12px}.modal-backdrop.kb-open .modal-actions .primary-btn{padding:12px}.modal-backdrop.kb-open .modal-actions button:not(.primary-btn){padding:9px}}.field-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-size:12px;font-weight:600}.sign-toggle.two{grid-template-columns:1fr 1fr}.sign-toggle.two button{justify-content:center;align-items:center;display:flex}.hour-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.hour-grid button{background:var(--bg-deep);color:var(--muted);font-family:var(--mono);border-radius:8px;padding:10px 0;font-size:14px;font-weight:600}.hour-grid button.active{background:var(--blue);color:#fff}.reminder-on{color:var(--green);font-size:14px;font-weight:600}.platforms{flex-direction:column;gap:8px;display:flex}.platform{background:var(--bg-deep);border:2px solid #0000;border-radius:10px;grid-template-columns:74px auto 1fr;align-items:center;gap:10px;padding:8px 10px;transition:border-color .15s;display:grid}.platform.focused{border-color:var(--blue)}.platform-name{font-size:15px;font-weight:700}.pm{background:var(--surface-2);border-radius:8px;gap:3px;padding:3px;display:flex}.pm button{width:34px;height:32px;color:var(--faint);border-radius:6px;font-size:20px;font-weight:700;line-height:1}.pm button.on.pos{color:var(--green);background:#00e7012e}.pm button.on.neg{color:var(--red);background:#ff4d5e2e}.platform-input{font-family:var(--mono);align-items:center;gap:6px;min-width:0;font-size:24px;font-weight:600;display:flex}.platform-input input{width:100%;min-width:0;font:inherit;text-align:right;background:0 0;border:0;outline:none;flex:1;padding:4px 0}.platform-input.pos input,.platform-input.pos span{color:var(--green)}.platform-input.neg input,.platform-input.neg span{color:var(--red)}.platform-input input::placeholder{color:var(--faint)}.platform-total{color:var(--muted);justify-content:space-between;align-items:baseline;padding:4px 12px 0;font-size:14px;display:flex}.platform-total strong{font-family:var(--mono);font-size:20px}.hero-split{color:var(--muted);flex-wrap:wrap;gap:14px;margin-top:6px;font-size:14px;display:flex}.hero-split b{font-family:var(--mono)}@media (max-width:720px){.platform{grid-template-columns:62px auto 1fr;gap:8px;padding:6px 8px}.platform-input{font-size:22px}.modal-backdrop.kb-open .platform{padding:3px 8px}.modal-backdrop.kb-open .platform-input{font-size:19px}.modal-backdrop.kb-open .pm button{height:28px}.modal-backdrop.kb-open .platform-total{padding-top:0}.modal-backdrop.kb-open .platforms{gap:5px}.modal-backdrop.kb-open .sign-toggle{display:none}}.recap-btn{padding:6px 12px}.recap-modal{max-width:420px}.recap-preview{background:var(--bg-deep);border-radius:12px;place-items:center;min-height:300px;display:grid;overflow:hidden}.recap-preview img{object-fit:contain;-webkit-touch-callout:default;width:100%;height:auto;max-height:62vh;display:block}a.ghost-btn{text-decoration:none;display:inline-block}@media (max-width:720px){.recap-btn{margin-left:auto}.recap-preview img{max-height:58vh}.recap-modal .modal-actions{display:flex}.recap-modal .modal-actions .primary-btn{flex:1}}.recap-btn.on{background:var(--blue);color:#fff}.cal-cell.locked{opacity:.35;cursor:not-allowed}.cal-cell.picked{border-color:var(--blue);box-shadow:inset 0 0 0 100px #1475e140}.pick-check{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:11px;font-weight:800;display:grid;position:absolute;top:6px;right:7px}.select-bar{z-index:40;background:var(--surface-3);border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;width:min(620px,100% - 24px);padding:12px 14px;animation:.2s ease-out rise;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 12px 36px #00000080}.select-info{color:var(--muted);font-size:14px}.select-info strong{color:var(--text);font-size:16px}.select-bar .field{width:150px;padding:8px 10px}.select-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.select-actions .primary-btn,.select-actions .ghost-btn{padding:9px 12px}:root{--hm-zero:#2a3f4d}.heatmap .hm-row+.hm-row{margin-top:14px}.hm-name{color:var(--muted);align-items:center;margin-bottom:6px;font-size:13px;font-weight:600;display:flex}.hm-scroll{scrollbar-width:thin;padding-bottom:4px;overflow-x:auto}.hm-body{gap:6px;width:max-content;display:flex}.hm-dow{color:var(--faint);flex-direction:column;gap:3px;padding-top:17px;font-size:10px;display:flex}.hm-dow span{height:13px;line-height:13px}.hm-months{height:14px;color:var(--faint);gap:3px;font-size:10px;display:flex}.hm-months span{white-space:nowrap;width:13px;overflow:visible}.hm-grid{gap:3px;display:flex}.hm-col{flex-direction:column;gap:3px;display:flex}.hm-cell{cursor:pointer;background:#15252f;border-radius:3px;width:13px;height:13px;display:block}.hm-cell.out{cursor:default;background:0 0}.hm-cell.future{opacity:.5;cursor:default}.hm-cell.skip,.hm-legend i.skip{background:repeating-linear-gradient(135deg,#1a2c38,#1a2c38 2px,#2a3f4d 2px 4px)}.hm-cell:hover{outline-offset:-1px;outline:2px solid #fff}.hm-legend{color:var(--faint);flex-wrap:wrap;gap:6px 14px;margin-top:12px;font-size:11px;display:flex}.hm-legend i{vertical-align:-1px;border-radius:3px;width:11px;height:11px;margin-right:5px;display:inline-block}@media (max-width:720px){.heatmap{order:2}.select-bar{bottom:calc(76px + env(safe-area-inset-bottom))}.select-bar .field{width:100%;font-size:16px}.select-actions{width:100%;margin-left:0}.select-actions button{flex:1}}@media (min-width:1025px){.hm-cell,.hm-months span{width:17px}.hm-cell{height:17px}.hm-dow{padding-top:17px}.hm-dow span{height:17px;line-height:17px}}.fab-icon{flex-direction:column;gap:5px;display:flex}.fab-icon i{background:#04210a;border-radius:2px;width:22px;height:3px;transition:transform .2s,opacity .2s;display:block}.fab.open .fab-icon i:first-child{transform:translateY(8px)rotate(45deg)}.fab.open .fab-icon i:nth-child(2){opacity:0}.fab.open .fab-icon i:nth-child(3){transform:translateY(-8px)rotate(-45deg)}.fab.open{z-index:32}.menu-backdrop{z-index:31;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#040c128c;animation:.15s ease-out fade;position:fixed;inset:0}.menu-sheet{right:16px;bottom:calc(146px + env(safe-area-inset-bottom));background:var(--surface);transform-origin:100% 100%;border-radius:16px;width:min(300px,100% - 32px);padding:6px;animation:.18s ease-out pop;position:fixed;box-shadow:0 16px 40px #00000080}.menu-sheet button{text-align:left;border-radius:10px;align-items:center;gap:12px;width:100%;padding:11px 10px;font-size:15px;font-weight:600;display:flex}.menu-sheet button:active,.menu-sheet button:hover{background:var(--surface-2)}.menu-sheet button>span:last-child{flex-direction:column;display:flex}.menu-sheet small{color:var(--faint);font-size:12px;font-weight:400}.mi{background:var(--surface-2);border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:16px;display:grid}@media (max-width:720px){.cal-month-totals .recap-btn:not(.on){display:none}}@media (min-width:721px){.menu-backdrop{display:none}}.photo-badge{color:var(--text);filter:drop-shadow(0 1px 2px #0009);font-size:11px;font-weight:700;line-height:1;position:absolute;bottom:5px;right:5px}.day-photos{flex-direction:column;display:flex}.dp-row{scrollbar-width:none;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.dp-row::-webkit-scrollbar{display:none}.dp-thumb,.dp-add{background:var(--bg-deep);border-radius:10px;flex:none;width:64px;height:64px;position:relative;overflow:hidden}.dp-thumb img{object-fit:cover;cursor:zoom-in;width:100%;height:100%;display:block}.dp-del{color:#fff;background:#000000a6;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid;position:absolute;top:3px;right:3px}.dp-thumb.loading span{border:3px solid var(--surface-3);border-top-color:var(--green);border-radius:50%;width:22px;height:22px;margin:auto;animation:.8s linear infinite spin;position:absolute;inset:0}.dp-add{border:2px dashed var(--surface-3);color:var(--muted);background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:600;display:flex}.dp-add span{font-size:20px;line-height:1}.dp-add:hover{border-color:var(--blue);color:var(--text)}@keyframes spin{to{transform:rotate(360deg)}}.lightbox{z-index:80;background:#000000f0;flex-direction:column;justify-content:center;align-items:center;padding:16px;animation:.15s ease-out fade;display:flex;position:fixed;inset:0}.lightbox img{object-fit:contain;border-radius:8px;max-width:100%;max-height:calc(100vh - 170px);box-shadow:0 10px 40px #0009}.lb-close{top:max(14px, env(safe-area-inset-top));color:#fff;background:#ffffff1f;border-radius:50%;width:40px;height:40px;font-size:18px;position:absolute;right:14px}.lb-nav{color:#fff;background:#ffffff1f;border-radius:50%;width:44px;height:44px;font-size:26px;position:absolute;top:50%;transform:translateY(-50%)}.lb-nav.prev{left:12px}.lb-nav.next{right:12px}.lb-caption{text-align:center;flex-direction:column;align-items:center;gap:4px;max-width:520px;margin-top:14px;font-size:15px;font-weight:600;display:flex}.lb-caption b{font-family:var(--mono)}.lb-date{text-transform:capitalize}.lb-caption .ghost-btn{margin-top:6px}.gallery-modal{flex-direction:column;max-width:720px;max-height:88vh;display:flex}.gallery-modal .modal-body{gap:16px;overflow-y:auto}.gallery-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.g-item{aspect-ratio:1;background:var(--bg-deep);border-radius:10px;position:relative;overflow:hidden}.g-item img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.g-item:hover img{transform:scale(1.04)}.g-tag{background:linear-gradient(#0000,#000000bf);align-items:center;gap:5px;padding:14px 6px 5px;font-size:11px;font-weight:700;display:flex;position:absolute;bottom:0;left:0;right:0}.g-tag i{border-radius:50%;width:6px;height:6px;display:inline-block}.g-tag b{font-family:var(--mono);margin-left:auto;font-size:10px}@media (max-width:720px){.gallery-grid{grid-template-columns:repeat(3,1fr);gap:4px}.gallery-modal{max-height:92vh}.photo-badge{font-size:9px;bottom:3px;right:3px}.modal-backdrop.kb-open .day-photos,.lb-nav{display:none}}.photo-badge{top:6px;bottom:auto;right:6px}.photo-badge+.note-dot{right:30px}@media (max-width:720px){.photo-badge{top:4px;right:3px}.photo-badge+.note-dot{top:6px;right:20px}}
