@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-ext-400-normal-Bo67NYBq.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-400-normal-D592xEk3.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-400-normal-C7us6pn1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-400-normal-BwL4n7Pb.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-ext-400-normal-BjKcJWKY.woff2) format("woff2"),url(/assets/golos-text-latin-ext-400-normal-BXgyX_iE.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-400-normal-Coi1FYaD.woff2) format("woff2"),url(/assets/golos-text-latin-400-normal-DOuJOmdK.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-ext-500-normal-CLsu_eDI.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-500-normal-InHNvB7v.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-cyrillic-500-normal-BSLQUuP1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-500-normal-hXinzVVQ.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-ext-500-normal-9vZPKadr.woff2) format("woff2"),url(/assets/golos-text-latin-ext-500-normal-BmtMVntR.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/golos-text-latin-500-normal-BznAvurO.woff2) format("woff2"),url(/assets/golos-text-latin-500-normal-BQo4s7Kn.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-ext-600-normal-uuhKjiyO.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-600-normal-rSWq63aw.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-600-normal-lpQ9rVRR.woff2) format("woff2"),url(/assets/golos-text-cyrillic-600-normal-BgvEFMNR.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-ext-600-normal-DLLCs_GQ.woff2) format("woff2"),url(/assets/golos-text-latin-ext-600-normal-C6iohuVX.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-600-normal-Bhk8uV1U.woff2) format("woff2"),url(/assets/golos-text-latin-600-normal-B_o32mE8.woff) format("woff");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:Golos Text;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/golos-text-cyrillic-ext-700-normal-D3ZaBy6G.woff2) format("woff2"),url(/assets/golos-text-cyrillic-ext-700-normal-DPkDx3rk.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/golos-text-cyrillic-700-normal-BKmY45Ip.woff2) format("woff2"),url(/assets/golos-text-cyrillic-700-normal-ClsrbE7_.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/golos-text-latin-ext-700-normal-0O3DoeVP.woff2) format("woff2"),url(/assets/golos-text-latin-ext-700-normal-CezX9NlQ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/golos-text-latin-700-normal-CxmN_Nfd.woff2) format("woff2"),url(/assets/golos-text-latin-700-normal-DAuVRgMH.woff) format("woff");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:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-cyrillic-ext-500-normal-DcrB4vVx.woff2) format("woff2"),url(/assets/caveat-cyrillic-ext-500-normal-DqTXtm5N.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-cyrillic-500-normal-DpMZbbjM.woff2) format("woff2"),url(/assets/caveat-cyrillic-500-normal-DLSfp5IU.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-latin-ext-500-normal-jKqJW7bC.woff2) format("woff2"),url(/assets/caveat-latin-ext-500-normal-wUUXxlbS.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/caveat-latin-500-normal-B9SDL8cy.woff2) format("woff2"),url(/assets/caveat-latin-500-normal-Do9veZfZ.woff) format("woff");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:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-ext-700-normal-CrK2-ngJ.woff2) format("woff2"),url(/assets/caveat-cyrillic-ext-700-normal-DjFGiEhD.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-cyrillic-700-normal-BIyejhEL.woff2) format("woff2"),url(/assets/caveat-cyrillic-700-normal-Bhcx9qBB.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-ext-700-normal-DFbRgDry.woff2) format("woff2"),url(/assets/caveat-latin-ext-700-normal-DjJQd59I.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Caveat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/caveat-latin-700-normal-D8_1Nw6V.woff2) format("woff2"),url(/assets/caveat-latin-700-normal-cPyBTTZN.woff) format("woff");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}:root{--bg: #f4eee2;--surface: #fdfaf2;--surface-2: #ece4d2;--ink: #33291d;--muted: #8f8268;--line: rgba(60, 46, 28, .12);--p1: #466a8c;--p1-soft: rgba(70, 106, 140, .16);--p2: #c25e4c;--p2-soft: rgba(194, 94, 76, .16);--accent: #c25e4c;--accent-ink: #f7f1e3;--ok: #5d7c50;--danger: #b3402e;--shadow: 0 1px 2px rgba(60, 46, 28, .06), 0 6px 18px rgba(60, 46, 28, .07);--radius: 16px}@media(prefers-color-scheme:dark){:root{--bg: #191613;--surface: #221e19;--surface-2: #2c2720;--ink: #ece3d2;--muted: #9b8e79;--line: rgba(236, 227, 210, .12);--p1: #7ea7c9;--p1-soft: rgba(126, 167, 201, .18);--p2: #e08a76;--p2-soft: rgba(224, 138, 118, .18);--accent: #d97f6a;--accent-ink: #1c1310;--ok: #8aa97c;--danger: #e07a64;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .35)}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--ink);font-family:Golos Text,sans-serif;font-size:16px;line-height:1.45;min-height:100dvh;overscroll-behavior-y:none}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:999;opacity:.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}button{font:inherit;color:inherit;border:none;background:none;padding:0;cursor:pointer}.wordmark{font-family:Caveat,cursive;font-weight:700;color:var(--ink);transform:rotate(-2deg);display:inline-block}.wordmark-big{font-size:64px;line-height:1;margin:8px 0 0}.wordmark-small{font-size:34px;line-height:1}.splash{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.splash .wordmark{font-size:56px;animation:breathe 1.6s ease-in-out infinite alternate}@keyframes breathe{0%{opacity:.45}to{opacity:1}}.splash-error{color:var(--muted);max-width:280px;text-align:center}.login{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom))}.login-card{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;max-width:360px;animation:rise .5s cubic-bezier(.2,.8,.3,1) both}.login-icon{border-radius:22px;box-shadow:var(--shadow);transform:rotate(3deg)}.login-sub{font-family:Caveat,cursive;font-weight:500;font-size:24px;color:var(--muted);margin:2px 0 28px;transform:rotate(-1deg)}.btn-telegram{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:54px;border-radius:27px;background:#2aabee;color:#fff;font-weight:600;font-size:17px;box-shadow:var(--shadow);transition:transform .15s ease}.btn-telegram:active{transform:scale(.97)}.btn-telegram svg{width:22px;height:22px;fill:#fff}.login-pending{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--muted)}.dots{display:flex;gap:7px;height:12px}.dots i{width:9px;height:9px;border-radius:50%;background:var(--accent);animation:bounce 1s ease-in-out infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,to{transform:translateY(0);opacity:.5}50%{transform:translateY(-5px);opacity:1}}.login-hint{margin-top:30px;font-size:13.5px;color:var(--muted);max-width:280px}.app{min-height:100dvh;display:flex;flex-direction:column}.offline-banner{position:sticky;top:0;z-index:60;text-align:center;font-size:13px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px;background:var(--surface-2);color:var(--muted);border-bottom:1px solid var(--line)}.app-header{display:flex;align-items:baseline;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 20px 6px}.header-date{font-size:13.5px;color:var(--muted)}.app-main{flex:1;padding:4px 16px calc(140px + env(safe-area-inset-bottom))}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:8px 2px 14px}.chips::-webkit-scrollbar{display:none}.chip{flex-shrink:0;padding:7px 15px;border-radius:19px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:14px;font-weight:500;transition:all .18s ease}.chip[data-active=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.group{margin-bottom:18px;animation:rise .45s cubic-bezier(.2,.8,.3,1) both;animation-delay:calc(var(--i, 0) * 60ms)}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.group-title{font-family:Caveat,cursive;font-weight:700;font-size:25px;margin:0 0 8px 6px;transform:rotate(-1deg);color:var(--muted)}.group-title[data-overdue=true]{color:var(--danger)}.done-toggle{display:block;text-align:left}.group-done .task-title{opacity:.5}.cards{display:flex;flex-direction:column;gap:8px}.task{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:13px 14px;box-shadow:var(--shadow)}.check{flex-shrink:0;width:27px;height:27px;border:2px solid var(--muted);border-radius:9px;display:grid;place-items:center;background:transparent;transition:all .2s ease}.check[data-done=true]{background:var(--ok);border-color:var(--ok)}.check svg{width:17px;height:17px;fill:none;stroke:var(--accent-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.check svg path{stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .25s ease .05s}.check[data-done=true] svg path{stroke-dashoffset:0}.task-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.task-title{font-weight:500;background-image:linear-gradient(currentColor,currentColor);background-size:0% 1.5px;background-position:0 62%;background-repeat:no-repeat;transition:background-size .3s ease,opacity .3s ease}.task[data-done=true] .task-title{background-size:100% 1.5px;opacity:.45}.task-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);min-width:0}.due{flex-shrink:0;padding:1.5px 8px;border-radius:9px;background:var(--surface-2);font-weight:500}.due[data-overdue=true]{background:var(--p2-soft);color:var(--danger)}.meta-details{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:14px}.avatar.p1{background:var(--p1-soft);color:var(--p1)}.avatar.p2{background:var(--p2-soft);color:var(--p2)}.empty{font-family:Caveat,cursive;font-size:27px;font-weight:500;color:var(--muted);text-align:center;margin-top:16vh;transform:rotate(-2deg);line-height:1.3}.hint-center{text-align:center;color:var(--muted);margin-top:10vh}.fab{position:fixed;right:20px;bottom:calc(86px + env(safe-area-inset-bottom));width:58px;height:58px;border-radius:50%;background:var(--accent);box-shadow:0 6px 20px #b2503c73;display:grid;place-items:center;z-index:40;transition:transform .15s ease,opacity .2s}.fab:active{transform:scale(.92) rotate(8deg)}.fab:disabled{opacity:.4}.fab svg{width:26px;height:26px;fill:none;stroke:var(--accent-ink);stroke-width:2.6;stroke-linecap:round}.tabbar{position:fixed;left:50%;transform:translate(-50%);bottom:calc(14px + env(safe-area-inset-bottom));display:flex;gap:4px;padding:5px;border-radius:26px;background:color-mix(in srgb,var(--surface) 82%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line);box-shadow:var(--shadow);z-index:50}.tab{display:flex;align-items:center;gap:7px;padding:9px 18px;border-radius:21px;font-size:14.5px;font-weight:600;color:var(--muted);transition:all .2s ease}.tab[data-active=true]{background:var(--ink);color:var(--bg)}.tab svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.sheet-backdrop{position:fixed;inset:0;background:#19120c73;z-index:70;animation:fade .25s ease both;display:flex;align-items:flex-end}@keyframes fade{0%{opacity:0}to{opacity:1}}.sheet{width:100%;background:var(--surface);border-radius:24px 24px 0 0;padding:10px 20px calc(22px + env(safe-area-inset-bottom));animation:slide-up .32s cubic-bezier(.32,.72,.24,1) both;max-height:86dvh;overflow-y:auto}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet:before{content:"";display:block;width:38px;height:4.5px;border-radius:3px;background:var(--line);margin:0 auto 12px}.form{display:flex;flex-direction:column;gap:10px}.form-title{font-family:Caveat,cursive;font-weight:700;font-size:28px;margin:0 0 2px;transform:rotate(-1deg)}.form-label{font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-top:4px}.input{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:13px;color:var(--ink);font:inherit;padding:13px 14px;outline:none;transition:border-color .15s}.input:focus{border-color:var(--muted)}.input-area{resize:none}.seg{display:flex;gap:6px;flex-wrap:wrap}.seg-item{padding:9px 14px;border-radius:12px;background:var(--bg);border:1px solid var(--line);font-size:14.5px;font-weight:500;color:var(--muted);transition:all .15s ease}.seg-item[data-active=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.btn-primary{margin-top:8px;height:52px;border-radius:26px;background:var(--accent);color:var(--accent-ink);font-weight:600;font-size:16.5px;transition:transform .15s ease,opacity .2s}.btn-primary:active{transform:scale(.97)}.btn-primary:disabled{opacity:.5}.btn-danger{height:44px;border-radius:22px;color:var(--danger);font-weight:600}.btn-secondary{padding:10px 22px;border-radius:21px;border:1px solid var(--line);background:var(--surface);font-weight:500}.btn-ghost{padding:8px 12px;border-radius:12px;color:var(--muted);font-weight:600;font-size:15px}.btn-ghost[data-active=true]{color:var(--accent)}.btn-ghost-danger{color:var(--danger)}.notes{display:flex;flex-direction:column;gap:10px;padding-top:6px}.note-card{position:relative;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;display:flex;flex-direction:column;gap:3px;animation:rise .45s cubic-bezier(.2,.8,.3,1) both;animation-delay:calc(var(--i, 0) * 40ms)}.note-card:nth-child(odd){transform:rotate(-.4deg)}.note-card:nth-child(2n){transform:rotate(.4deg)}.pin-mark{position:absolute;top:10px;right:13px;color:var(--accent);font-size:15px}.note-first{font-weight:600;padding-right:20px}.note-rest{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-foot{margin-top:5px;font-size:12.5px;color:var(--muted);opacity:.8}.editor{position:fixed;inset:0;z-index:80;background:var(--bg);display:flex;flex-direction:column;animation:fade .2s ease both}.editor-bar{display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 12px 8px;border-bottom:1px solid var(--line)}.editor-actions{display:flex;gap:4px}.editor-area{flex:1;border:none;outline:none;resize:none;background:transparent;color:var(--ink);font:inherit;font-size:17px;line-height:1.6;padding:18px 20px calc(20px + env(safe-area-inset-bottom))}.month-bar{display:flex;align-items:center;justify-content:center;gap:18px;padding:6px 0 10px}.month-arrow{width:38px;height:38px;border-radius:50%;background:var(--surface);border:1px solid var(--line);font-size:22px;line-height:1;color:var(--muted);display:grid;place-items:center}.month-arrow:active{background:var(--surface-2)}.month-name{font-family:Caveat,cursive;font-weight:700;font-size:30px;min-width:170px;text-align:center;transform:rotate(-1deg)}.pay-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 6px 14px;font-size:14px;color:var(--muted)}.pay-remaining{font-weight:600;color:var(--ink)}.templates-link{margin-left:auto;font-weight:600;color:var(--accent);font-size:14px}.group-sum{font-family:Golos Text,sans-serif;font-weight:500;font-size:14px;color:var(--muted);transform:rotate(1deg);display:inline-block}.pay-row{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;box-shadow:var(--shadow)}.pay-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.pay-title{font-weight:500}.pay-row[data-paid=true] .pay-title{opacity:.5}.pay-day{font-size:12.5px;color:var(--muted)}.pay-amount{flex-shrink:0;font-weight:600;font-variant-numeric:tabular-nums}.pay-amount[data-paid=true]{color:var(--muted);text-decoration:line-through;font-weight:500}.toggle{flex-shrink:0;width:44px;height:27px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);position:relative;transition:background .2s ease}.toggle[data-on=true]{background:var(--ok);border-color:var(--ok)}.toggle-knob{position:absolute;top:2px;left:2px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .2s ease}.toggle[data-on=true] .toggle-knob{transform:translate(17px)}.form-row{display:flex;gap:8px}.form-row .input{flex:1}.input-day{flex:0 0 84px}.check-line{display:flex;align-items:center;gap:10px;font-size:15px;padding:4px 2px;color:var(--ink)}.check-line input{width:20px;height:20px;accent-color:var(--accent)}.sub-header{display:flex;align-items:center;gap:8px;padding:2px 0 8px}.sub-title{font-family:Caveat,cursive;font-weight:700;font-size:26px;transform:rotate(-1deg)}.sub-hint{font-size:13px;color:var(--muted);padding:0 4px 12px;line-height:1.4}.toast{position:fixed;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:100;background:var(--ink);color:var(--bg);padding:11px 20px;border-radius:22px;font-size:14.5px;font-weight:500;box-shadow:var(--shadow);max-width:calc(100vw - 40px);animation:toast-in .3s cubic-bezier(.2,.8,.3,1) both}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}
