.companions{width:268px;max-width:100%;margin:0 auto 16px}.companions-scene{position:relative;display:flex;align-items:flex-end;justify-content:center;height:146px;gap:4px}.companion{position:relative;display:block;flex:1 1 0;min-width:44px;max-width:132px;height:100%;padding:0;border-radius:42%;isolation:isolate}.companion:active:not(:disabled){transform:none}.companion-shadow{position:absolute;bottom:4px;left:19%;right:19%;height:8px;background:var(--accent);border-radius:50%;opacity:.11;filter:blur(4px);z-index:-1}.companion-tilt,.companion-figure{display:block;position:relative;width:100%;height:100%;transform-origin:50% 88%;pointer-events:none}.companion-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;opacity:0;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transition:opacity .14s ease-out}.companion-image.is-loaded{opacity:1}.companion-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.companion-initial{display:grid;place-items:center;width:54px;height:60px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--line-strong);border-radius:44% 44% 38% 38%;font-size:22px;font-weight:600}.companion--galya .companion-initial{color:var(--zhenya-text);background:var(--zhenya)}.companion-fallback-name{color:var(--muted);font-size:11px;line-height:14px}.companion-heart{position:absolute;right:7%;top:13%;width:16px;height:16px;fill:var(--zhenya);stroke:var(--zhenya-text);stroke-width:1.4;pointer-events:none}.companions-caption{display:block;min-height:16px;margin-top:7px;color:var(--muted);font-size:11px;font-weight:450;line-height:16px;text-align:center}.companions--celebrate .companion-shadow{background:var(--success)}.companions--compact{width:204px;margin-bottom:12px}.companions--compact .companions-scene{height:108px}.pets-entry{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:12px auto 0;padding:9px 14px;border-radius:14px;color:var(--muted);font-size:12px}.pets-entry:hover{background:var(--accent-soft);color:var(--accent)}.pets-room{padding:4px 24px 28px;text-align:center}.pets-room .companions{width:360px;margin:0 auto 20px}.pets-room .companions-scene{height:218px}.pets-room .companion{max-width:180px}.pets-room>p{color:var(--muted);font-size:13px;line-height:1.8}@media(max-width:700px){.companions{width:208px;margin-bottom:13px}.companions-scene{height:108px}.companions--compact{width:184px}.companions--compact .companions-scene{height:96px}.companions-caption{margin-top:3px}.empty-state .companions{margin-bottom:8px}.empty-state .empty-add{margin-top:18px}.empty-state .demo-link{margin-top:3px}.empty-state>p{margin-top:10px}}@media(prefers-reduced-motion:reduce){.companion,.companion-tilt,.companion-figure,.companion-heart{transform:none!important;transition:none}}@media(prefers-contrast:more){.companions-caption{color:var(--text)}}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");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:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");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{font-family:-apple-system,BlinkMacSystemFont,Manrope Variable,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:light;color:var(--text);background:var(--background);--background: #f3f5f8;--surface: #ffffff;--surface-soft: #edf0f5;--text: #20252d;--muted: #596575;--subtle: #657286;--accent: #4c5bcd;--accent-hover: #3e4bb5;--accent-soft: #e8ebfc;--on-accent: #fff;--line: #e5e9ef;--line-strong: #c8cfda;--check-border: #8b96a7;--glass: rgb(255 255 255 / .77);--glass-line: rgb(255 255 255 / .9);--shadow: 0 12px 40px rgb(37 48 82 / .09), 0 2px 8px rgb(37 48 82 / .03);--dock-shadow: 0 12px 44px rgb(49 59 105 / .15), inset 0 1px 0 rgb(255 255 255 / .9);--success: #347566;--success-soft: #e5f3ee;--danger: #b3414e;--danger-soft: #fbecef;--danya: #dce8f7;--danya-text: #375d89;--zhenya: #ede3f4;--zhenya-text: #78538c;--ambient-blue: #e0eaf9;--ambient-pink: #eee4f5;--ambient-green: #e4f0ed;--backdrop: rgb(33 40 58 / .27);--toast: #283044;--toast-text: #fff;--space: 4px;--radius: 22px}:root[data-theme=dark]{color-scheme:dark;--background: #171b24;--surface: #222833;--surface-soft: #2c3341;--text: #f0f2f7;--muted: #b2bdcf;--subtle: #a2aec2;--accent: #a5afff;--accent-hover: #bac1ff;--accent-soft: #333c63;--on-accent: #1c2340;--line: #343c4a;--line-strong: #505e73;--check-border: #8896ad;--glass: rgb(35 42 56 / .84);--glass-line: rgb(140 155 189 / .18);--shadow: 0 12px 40px rgb(0 0 0 / .16), 0 2px 8px rgb(0 0 0 / .1);--dock-shadow: 0 12px 44px rgb(0 0 0 / .3), inset 0 1px 0 rgb(255 255 255 / .06);--success: #8fd1b9;--success-soft: #243d38;--danger: #ffadb5;--danger-soft: #422d36;--danya: #304359;--danya-text: #b2d0f2;--zhenya: #473750;--zhenya-text: #d9b8ec;--ambient-blue: #202e47;--ambient-pink: #32283f;--ambient-green: #223a38;--backdrop: rgb(4 7 14 / .6);--toast: #e6eaf3;--toast-text: #20252d}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 9% 2%,var(--ambient-blue),transparent 48%),radial-gradient(ellipse at 100% 23%,var(--ambient-pink),transparent 42%),radial-gradient(ellipse at 55% 99%,var(--ambient-green),transparent 46%)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation}button:disabled{cursor:wait;opacity:.55}button:active:not(:disabled){transform:scale(.97)}button,a{transition:background-color .16s,color .16s,box-shadow .16s,transform .12s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}svg{flex-shrink:0}a{color:inherit}.app-shell{max-width:1120px;margin-inline:auto;padding:0 48px}.app-header{height:116px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-.045em}.brand-dot{color:var(--accent);margin-left:-11px}.brand-mark{position:relative;width:32px;height:30px;display:inline-block}.brand-mark i{position:absolute;width:21px;height:28px;top:1px;border:2px solid var(--accent);border-radius:12px;transform:rotate(28deg)}.brand-mark i:first-child{left:2px;opacity:.55}.brand-mark i:last-child{left:10px;transform:rotate(-28deg)}.header-right{display:flex;align-items:center;gap:22px}.sync-status{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;min-height:44px;text-align:left}.status-dot{width:6px;height:6px;border-radius:100%;background:var(--muted);flex-shrink:0}.status-error{color:var(--danger)}.couple-button{display:flex;padding:6px 0 6px 6px;min-height:44px}.avatar{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;background:var(--surface-soft);color:var(--muted);flex-shrink:0}.avatar-danya{background:var(--danya);color:var(--danya-text)}.avatar-zhenya{background:var(--zhenya);color:var(--zhenya-text)}.couple-button .avatar{width:36px;height:36px;border:3px solid var(--background)}.couple-button .avatar+.avatar{margin-left:-9px}.main-content{max-width:720px;margin:30px auto 0;padding-bottom:150px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px}h1{font-size:40px;line-height:1.1;font-weight:700;letter-spacing:-.038em}.page-subtitle{font-size:14px;color:var(--muted);margin-top:10px;line-height:1.5}.page-subtitle:first-letter{text-transform:uppercase}.heading-actions{display:flex;gap:8px}.icon-button{width:44px;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--surface);color:var(--muted)}.icon-button:hover{color:var(--accent);background:var(--accent-soft)}.icon-button.quiet{background:transparent}.selected,.icon-button.selected{color:var(--accent);background:var(--accent-soft)}.filter-bar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:35px}.filter-pills,.people-filter{display:flex;gap:6px;flex-wrap:wrap}.filter-pills button,.people-filter button{border-radius:30px;padding:10px 18px;min-height:44px;font-size:13px;font-weight:550;color:var(--muted)}.filter-pills button:hover,.people-filter button:hover{background:var(--surface)}.filter-pills button.active,.people-filter button.active{background:var(--text);color:var(--background);box-shadow:0 3px 10px #20252d14}.quiet-count{color:var(--muted);white-space:nowrap;font-size:12px}.search-field{display:flex;align-items:center;gap:10px;border-radius:15px;border:1px solid var(--line);padding:0 15px;margin:-9px 0 21px;background:var(--surface);color:var(--muted)}.search-field input{border:0;background:none;min-width:0;width:100%;min-height:49px;outline:none;color:var(--text);font-size:16px}.search-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}.people-filter{margin:-8px 0 20px;padding:5px;border-radius:18px;background:var(--surface-soft)}.people-filter button{flex:1;padding:8px 10px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 5px 12px;gap:14px}.section-heading h2{font-size:14px;font-weight:650;letter-spacing:-.01em}.section-heading>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.section-overdue .section-heading h2{color:var(--danger)}.list-section+.list-section{margin-top:29px}.record-list{border-radius:var(--radius);background:var(--surface);box-shadow:0 3px 14px #29354e06;padding-inline:18px;border:1px solid var(--glass-line);overflow:hidden}.task-row,.expense-row{min-height:84px;display:flex;align-items:center;gap:14px}.task-row+.task-row,.expense-row+.expense-row{border-top:1px solid var(--line)}.section-heading h2{display:flex;align-items:center;gap:7px}.section-urgent .section-heading h2,.urgent-flag{color:var(--danger)}.urgent-flag{display:inline;vertical-align:-1px;margin-right:7px}.filter-pills button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.task-filter-bar{flex-wrap:wrap}.area-filter{display:inline-flex;align-items:center;gap:7px;min-height:44px;border:1px solid var(--line-strong);border-radius:25px;padding:9px 14px;font-size:12px;color:var(--muted)}.area-filter:hover,.area-filter.area-chosen{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.area-picker{padding:4px 26px 27px}.area-all{display:flex;width:100%;gap:10px;align-items:center;min-height:49px;border-radius:14px;padding:11px 16px;background:var(--surface-soft);font-size:14px;margin-bottom:14px}.area-all>svg:last-child:not(:first-child){margin-left:auto}.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.area-grid button{display:flex;flex-direction:column;align-items:flex-start;padding:17px;gap:8px;min-height:112px;background:var(--surface-soft);border:1px solid transparent;border-radius:17px;text-align:left}.area-grid button.selected{background:var(--accent-soft);border-color:var(--accent)}.area-grid button>svg{color:var(--accent)}.area-grid button>span{font-size:14px;font-weight:550}.area-grid small{color:var(--muted);font-size:10px}.area-picker>.field-note{margin-top:16px}.task-options{display:flex;gap:14px;align-items:flex-end}.task-options>.field{flex:1;min-width:0}.urgency-switch{display:flex;align-items:center;gap:7px;font-size:12px;min-height:50px;padding:8px 12px;border-radius:13px;background:var(--surface-soft)}.urgency-switch i{display:inline-flex;width:25px;height:15px;border-radius:20px;padding:2px;background:var(--check-border)}.urgency-switch i:before{content:"";width:11px;height:11px;background:var(--surface);border-radius:50%}.urgency-switch.urgent-on{color:var(--danger);background:var(--danger-soft)}.urgency-switch.urgent-on i{background:var(--danger);justify-content:flex-end}.add-note{justify-content:flex-start;margin-block:-8px}.category-cat,.category-dog,.category-parents{background:var(--success-soft);color:var(--success)}.category-danya{background:var(--danya);color:var(--danya-text)}.category-zhenya{background:var(--zhenya);color:var(--zhenya-text)}.check-button{position:relative;width:24px;min-width:24px;height:24px;border:1.5px solid var(--check-border);border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center}.check-button:after{content:"";position:absolute;width:46px;height:46px;left:50%;top:50%;transform:translate(-50%,-50%)}.check-button:hover{border-color:var(--accent);background:var(--accent-soft)}.is-complete .check-button,.check-button.checked{background:var(--success);border-color:var(--success);color:var(--surface)}.is-complete .record-title{text-decoration:line-through;color:var(--muted)}.record-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:6px;padding:19px 0;min-height:72px}.record-main:hover .record-title{color:var(--accent)}.record-title{font-size:15px;line-height:1.45;font-weight:550;overflow-wrap:anywhere;transition:color .15s}.record-meta{color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:3px;font-size:11px;line-height:1.4}.record-meta>span+span:before{content:"·";margin-right:10px;opacity:.65}.record-meta .overdue-text{color:var(--danger)}.completed-section{margin-top:30px}.completed-toggle{min-height:44px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;padding:8px 3px}.completed-toggle span{font-size:12px;padding:3px 7px;background:var(--surface-soft);border-radius:6px}.completed-toggle svg{transform:rotate(-90deg);transition:transform .18s}.completed-toggle svg.rotated{transform:rotate(0)}.completed-list{margin-top:10px}.empty-state{text-align:center;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px 32px}.empty-art{width:160px;height:148px;position:relative;margin-bottom:27px}.empty-art:before{content:"";position:absolute;inset:20px 2px 0;border-radius:50%;background:linear-gradient(130deg,var(--ambient-blue),var(--ambient-pink));filter:blur(18px);opacity:.9}.empty-paper{width:94px;height:119px;border-radius:19px;position:absolute;top:11px;left:33px;background:var(--glass);border:1px solid var(--glass-line);box-shadow:0 16px 25px #414f821a;transform:rotate(-8deg);padding:20px 17px}.empty-paper:before{content:"";position:absolute;inset:-3px -8px 3px 8px;transform:rotate(17deg);border-radius:19px;background:var(--surface);opacity:.5;z-index:-1;border:1px solid var(--line)}.empty-tick{display:flex;color:var(--accent);margin-bottom:12px}.empty-paper i{display:block;height:4px;width:45px;border-radius:3px;background:var(--line-strong);opacity:.7;margin-top:8px}.empty-paper i:last-child{width:28px}.art-orbit{position:absolute;width:28px;height:28px;border-radius:50%;bottom:13px;right:17px;border:5px solid var(--glass);background:var(--accent-soft);box-shadow:0 5px 12px #444e8017}.empty-state h2{font-size:22px;font-weight:650;letter-spacing:-.025em}.empty-state p{color:var(--muted);margin-top:12px;white-space:pre-line;font-size:14px;line-height:1.7}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;border-radius:15px;background:var(--accent);color:var(--on-accent);font-size:14px;font-weight:650;padding:13px 24px}.primary-button:hover{background:var(--accent-hover)}.empty-add{margin-top:25px;min-height:47px;border-radius:14px;padding:12px 22px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--accent);min-height:44px;font-size:13px;font-weight:550}.text-button:hover{text-decoration:underline}.demo-link{color:var(--muted);margin-top:10px;font-size:12px}.page-footnote{display:flex;justify-content:center;align-items:center;gap:9px;color:var(--muted);font-size:11px;margin-top:52px;line-height:1.6;text-align:center}.tiny-pair{display:flex}.tiny-pair i{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.4}.tiny-pair i+i{margin-left:2px;opacity:.8}.bottom-dock{position:fixed;z-index:20;left:50%;transform:translate(-50%);bottom:max(24px,env(safe-area-inset-bottom));display:flex;align-items:center;width:300px;height:76px;gap:5px;padding:8px 10px;border-radius:29px;background:var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(22px) saturate(1.5);-webkit-backdrop-filter:blur(22px) saturate(1.5);box-shadow:var(--dock-shadow)}.dock-tab{display:flex;flex:1;align-items:center;justify-content:center;gap:4px;flex-direction:column;height:58px;border-radius:20px;color:var(--muted);font-size:10px;font-weight:550}.dock-tab.active{color:var(--accent);background:var(--accent-soft)}.dock-tab:hover{background:var(--surface-soft)}.dock-add{background:var(--accent);color:var(--on-accent);border-radius:50%;width:52px;height:52px;display:flex;align-items:center;justify-content:center;margin:0 3px 0 5px;box-shadow:0 4px 11px #4c5bcd2b}.dock-add:hover{background:var(--accent-hover)}.dock-divider{height:27px;width:1px;background:var(--line-strong);margin-inline:4px;opacity:.7}.all-done{text-align:center;padding:35px 15px 22px}.done-symbol{display:inline-flex;align-items:center;justify-content:center;background:var(--success-soft);color:var(--success);width:62px;height:62px;border-radius:50%;margin-bottom:20px}.all-done h2{font-size:22px;letter-spacing:-.02em}.all-done p{color:var(--muted);font-size:13px;margin:12px 0}.month-nav{display:flex;justify-content:space-between;align-items:center;margin:-6px 0 18px}.month-name{font-size:15px;font-weight:600;min-height:44px;text-transform:capitalize}.money-summary{position:relative;border-radius:26px;padding:29px 32px 25px;background:linear-gradient(116deg,var(--surface) 8%,var(--ambient-blue) 100%);border:1px solid var(--glass-line);overflow:hidden;margin-bottom:28px}.money-summary>p{color:var(--muted);font-size:13px}.money-total{display:block;font-size:clamp(36px,5vw,48px);font-weight:650;letter-spacing:-.04em;line-height:1.15;margin:10px 0 29px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.money-breakdown{display:flex;gap:28px;align-items:center}.money-breakdown>div{display:flex;flex-direction:column;gap:6px}.money-breakdown>div>span{color:var(--muted);display:flex;align-items:center;gap:6px;font-size:11px}.money-breakdown strong{font-size:17px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.summary-divider{height:31px;width:1px;background:var(--line-strong)}.paid-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--success)}.expenses-filter{margin-bottom:27px}.category-icon{display:flex;align-items:center;justify-content:center;border-radius:14px;width:42px;height:42px;min-width:42px;background:var(--surface-soft);color:var(--muted)}.category-groceries{background:var(--success-soft);color:var(--success)}.category-home,.category-transport{background:var(--danya);color:var(--danya-text)}.category-joy,.category-health{background:var(--zhenya);color:var(--zhenya-text)}.expense-row{gap:12px;min-height:86px}.expense-amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px;font-weight:600;letter-spacing:-.015em}.expense-check{width:20px;height:20px;min-width:20px;margin-left:7px}.expense-check:after{width:46px;height:46px}.category-section{margin-top:30px}.category-breakdown{padding:12px 3px}.category-line{display:flex;align-items:center;gap:18px;font-size:12px;margin:14px 0}.category-line>span{min-width:90px;color:var(--muted)}.category-line>strong{min-width:80px;text-align:right;font-weight:550}.category-bar{height:5px;flex:1;background:var(--line);border-radius:5px;overflow:hidden}.category-bar i{display:block;height:100%;background:var(--accent);border-radius:5px}.toast,.update-prompt{position:fixed;left:50%;transform:translate(-50%);z-index:45;bottom:calc(max(24px,env(safe-area-inset-bottom)) + 94px);width:max-content;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:10px;padding:10px 12px 10px 18px;background:var(--toast);color:var(--toast-text);border-radius:17px;box-shadow:var(--shadow);font-size:13px}.toast>span{overflow-wrap:anywhere}.toast button{font-weight:600;font-size:12px;padding:10px;min-height:44px}.toast-close{display:inline-flex;align-items:center;padding:9px!important}.toast-close{min-width:44px;justify-content:center}.update-prompt{bottom:auto;top:16px}.update-prompt>button{font-weight:600;min-height:44px}.update-prompt .icon-button{background:transparent;color:inherit}.demo-banner{background:var(--accent-soft);border-radius:0 0 15px 15px;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--accent);font-size:11px}.demo-banner button{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;min-height:44px}.sheet-dialog{padding:0;border:0;background:none;color:var(--text);width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:visible;outline:none}.sheet-dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.sheet{background:var(--surface);border:1px solid var(--glass-line);border-radius:30px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;box-shadow:var(--shadow)}.sheet-handle{display:none}.sheet-header{position:sticky;top:0;z-index:1;background:var(--glass);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:21px 24px 13px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-radius:30px 30px 0 0}.sheet-header h2{font-size:23px;font-weight:650;letter-spacing:-.03em}.sheet-header h2{display:flex;align-items:center;gap:10px}.sheet-badge{font-size:10px;line-height:1.5;font-weight:550;letter-spacing:0;padding:5px 8px;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.dock-demo-label{position:absolute;top:-13px;left:50%;transform:translate(-50%);background:var(--accent-soft);color:var(--accent);border:1px solid var(--surface);border-radius:7px;padding:3px 9px;font-size:10px;font-weight:600}.expense-category-grid button{min-height:90px}.expenses-filter{flex-wrap:wrap}.expenses-filter .filter-pills{flex-wrap:nowrap}.expense-category-filter{margin-left:auto}.entry-form{padding:8px 28px 28px;display:flex;flex-direction:column;gap:23px}.field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:550}.field>span{display:flex;gap:6px;align-items:center}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:50px;padding:12px 14px;background:var(--surface-soft);color:var(--text);border:1px solid transparent;border-radius:13px;font-size:16px;font-weight:400}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:1}.field input[type=date]{min-width:100%;min-height:48px}.field select{appearance:auto;border-right:12px solid transparent}.amount-field input{min-height:76px;font-size:42px;font-weight:600;letter-spacing:-.025em;padding:6px 0;border-radius:0;background:transparent;border-bottom:1px solid var(--line)}fieldset{padding:0;margin:0;border:0;min-width:0}legend{padding:0;margin:0 0 10px;font-size:13px;font-weight:550}.segmented{display:flex;padding:4px;border-radius:13px;background:var(--surface-soft);gap:3px}.segmented button{flex:1;min-height:44px;padding:8px;border-radius:10px;color:var(--muted);font-size:12px;font-weight:550;overflow-wrap:anywhere}.segmented button.selected{background:var(--surface);color:var(--text);box-shadow:0 2px 5px #20252d0f}.person-options{display:flex;gap:7px}.person-options>button{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:13px;padding:8px 7px;min-height:50px;font-size:12px;min-width:0;overflow-wrap:anywhere}.person-options>button.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.person-options .avatar{width:25px;height:25px;font-size:10px}.date-shortcuts{display:flex;gap:7px;margin-top:7px}.date-shortcuts button{min-height:44px;padding:7px 10px;border-radius:9px;font-size:11px;color:var(--muted)}.date-shortcuts button.active{color:var(--accent);background:var(--accent-soft)}.field-note{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6}.form-actions{display:flex;gap:12px;align-items:center}.form-actions .primary-button{flex:1}.danger{color:var(--danger)}.icon-button.danger{background:var(--danger-soft);width:50px;height:50px;border-radius:14px}.form-error{color:var(--danger);background:var(--danger-soft);border-radius:12px;padding:12px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.settings-content{padding:7px 28px 24px}.settings-section+.settings-section{border-top:1px solid var(--line);margin-top:27px;padding-top:26px}.settings-section h3{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:650;margin-bottom:17px}.names-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:21px}.names-grid .field{font-size:11px}.theme-options{display:flex;flex-direction:column;gap:6px}.theme-options button{display:flex;gap:10px;align-items:center;min-height:45px;padding:10px 13px;border-radius:12px;font-size:13px;text-align:left}.theme-options button>span{flex:1}.muted{color:var(--muted);font-size:13px;line-height:1.7}.connection-note{display:flex;gap:10px;align-items:flex-start}.connection-note .status-dot{margin-top:6px}.connection-note strong{font-size:13px;font-weight:550}.connection-note p{color:var(--muted);font-size:12px;line-height:1.7;margin-top:7px}.setting-row{display:flex;align-items:center;gap:12px;min-height:48px;font-size:13px;width:100%;text-align:left;padding:9px 4px}.setting-row:hover{color:var(--accent)}.setting-row svg{color:var(--muted)}.cloud-form{display:flex;flex-direction:column;gap:16px}.join-form{margin-top:20px;display:flex;flex-direction:column;gap:12px}.settings-section .field-note{margin-top:9px}.settings-section .form-error{margin-top:12px}.settings-section>.muted{margin-bottom:9px}.account-email{font-size:13px;margin-bottom:10px;overflow-wrap:anywhere}.invite-code{display:flex;align-items:center;flex-wrap:wrap;gap:9px;background:var(--surface-soft);border-radius:14px;padding:12px}.invite-code code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.invite-code p{width:100%;color:var(--muted);font-size:11px;line-height:1.5}.conflict-options{display:flex;flex-direction:column;gap:10px;font-size:12px;line-height:1.6}.secondary-button{background:var(--surface-soft);color:var(--text);min-height:46px;padding:11px 16px;border-radius:13px;font-size:12px;font-weight:550}.secondary-button:hover{background:var(--accent-soft)}.import-confirm,.discard-confirm{background:var(--surface-soft);padding:15px;border-radius:14px;font-size:12px;line-height:1.6}.discard-confirm{margin:0 28px 15px}.button-pair{display:flex;gap:9px;align-items:center;margin-top:12px}.button-pair>button{flex:1;padding-inline:10px}.button-pair .primary-button{font-size:12px;min-height:46px}.demo-setting{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.version-note{color:var(--muted);font-size:10px;text-align:center;margin-top:24px}.install-button{margin-bottom:17px;width:100%}.demo-form-note{color:var(--accent);padding:10px 12px;border-radius:12px;background:var(--accent-soft)}.error-banner{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:15px;border-radius:15px;color:var(--danger);background:var(--danger-soft);font-size:12px;line-height:1.6;margin-bottom:25px}.error-banner button{text-decoration:underline;min-height:36px}.skip-link{position:fixed;left:15px;top:-70px;z-index:100;background:var(--accent);color:var(--on-accent);padding:14px;border-radius:12px}.skip-link:focus{top:15px}.fatal-error{padding:30px;max-width:600px;margin:12vh auto}.fatal-error p{margin:20px 0;line-height:1.7}@media(min-width:1400px){.app-shell{max-width:1260px}.main-content{max-width:760px;margin-top:40px}}@media(max-width:700px){.app-shell{padding:0 20px}.app-header{height:78px;padding-top:env(safe-area-inset-top)}.brand{font-size:23px;gap:9px}.brand-mark{transform:scale(.9);transform-origin:left center;width:30px}.header-right{gap:12px}.sync-status{font-size:10px;max-width:150px}.sync-status span:last-child{max-width:130px}.couple-button .avatar{width:33px;height:33px;font-size:10px}.main-content{margin-top:14px;padding-bottom:143px}h1{font-size:34px}.page-heading{margin-bottom:22px}.page-subtitle{font-size:12px;margin-top:9px}.heading-actions{gap:5px}.heading-actions .icon-button{width:44px;min-width:44px;height:44px}.filter-bar{gap:6px;margin-bottom:20px}.filter-pills{gap:3px}.filter-pills button{padding:10px 13px;font-size:12px;min-height:44px}.quiet-count{display:none}.section-heading{margin:0 4px 10px}.section-heading h2{font-size:13px}.section-heading>span{font-size:11px}.record-list{padding-inline:15px;border-radius:21px}.task-row{min-height:79px;gap:13px}.record-title{font-size:15px}.record-meta{font-size:10px;column-gap:8px}.record-meta>span+span:before{margin-right:8px}.record-main{padding:16px 0}.task-row>.avatar{width:29px;height:29px;font-size:11px}.empty-state{min-height:320px;padding:10px 0 20px}.empty-art{height:110px;margin-bottom:8px;transform:scale(.75);transform-origin:center}.empty-state h2{font-size:21px}.empty-state p{font-size:13px}.bottom-dock{bottom:max(18px,env(safe-area-inset-bottom));width:284px;height:74px}.page-footnote{font-size:10px;margin-top:40px}.main-expenses .page-subtitle{display:none}.main-expenses .page-heading{margin-bottom:16px}.month-nav{margin-bottom:10px}.money-summary{padding:20px 24px 19px;border-radius:24px;margin-bottom:20px}.money-total{font-size:36px;margin:7px 0 18px}.money-breakdown{gap:22px}.money-breakdown strong{font-size:16px}.expense-row{gap:10px;min-height:83px;flex-wrap:nowrap}.expense-row .record-meta{column-gap:5px}.expense-row .record-meta>span+span:before{margin-right:5px}.expense-row .record-meta .payer-label{display:block;width:100%}.expense-row .record-meta .payer-label:before{display:none}.expense-amount{font-size:12px}.category-icon{width:35px;height:38px;min-width:35px;border-radius:12px}.expense-check{margin-left:3px}.expense-row .record-title{font-size:13px}.sheet-dialog{position:fixed;bottom:0;top:auto;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - 24px);border-radius:27px 27px 0 0}.sheet{max-height:calc(100dvh - 24px);border-radius:27px 27px 0 0;padding-bottom:env(safe-area-inset-bottom)}.sheet-handle{display:block;width:34px;height:4px;background:var(--line-strong);border-radius:3px;margin:9px auto -1px}.sheet-header{padding:13px 18px 12px 22px;border-radius:27px 27px 0 0}.sheet-header h2{font-size:22px}.entry-form{padding:6px 22px 26px;gap:21px}.settings-content{padding:5px 22px 24px}.demo-banner{margin-inline:-6px;padding:0 10px;gap:6px;font-size:10px}.demo-banner button{font-size:10px}.demo-banner{display:none}.tab-expenses .app-header{height:64px}.tab-expenses .main-content{margin-top:8px}.tab-expenses .money-summary{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:17px 20px;margin-bottom:16px}.tab-expenses .money-summary>p{align-self:end;font-size:11px}.tab-expenses .money-total{font-size:clamp(25px,7vw,34px);margin:7px 0 0;grid-column:1;align-self:start}.tab-expenses .money-breakdown{grid-column:2;grid-row:1 / 3;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-left:18px;border-left:1px solid var(--line-strong)}.tab-expenses .summary-divider{display:none}.tab-expenses .money-breakdown>div{gap:3px}.tab-expenses .money-breakdown>div>span{font-size:10px}.tab-expenses .money-breakdown strong{font-size:14px}.expenses-filter .filter-pills button{padding-inline:11px}.expense-category-filter{padding-inline:10px;font-size:10px;gap:5px;max-width:145px}.discard-confirm{margin-inline:22px}}@media(max-width:370px){.app-shell{padding-inline:16px}.sync-status span:last-child{max-width:95px}.header-right{gap:7px}.filter-pills button{padding-inline:11px}.person-options>button{flex-direction:column;gap:5px}.expense-row{gap:8px}.category-icon{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(prefers-contrast:more){:root{--muted: var(--text);--glass: var(--surface)}.record-list{border-color:var(--line-strong)}}.filter-pills button,.people-filter button,.dock-tab{position:relative;isolation:isolate}.selection-surface{position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--text);box-shadow:0 3px 10px #20252d14;pointer-events:none}.choice-content{display:inline-flex;align-items:center;justify-content:center;gap:6px}.filter-pills button.active,.people-filter button.active{background:transparent;box-shadow:none}.dock-tab.active{background:transparent}.dock-selection{background:var(--accent-soft);box-shadow:inset 0 1px 0 var(--glass-line)}.dock-icon,.add-symbol{display:inline-flex;align-items:center;justify-content:center}.dock-icon,.dock-label,.record-list{position:relative}.animated-value{display:inline-block}.motion-reveal{overflow:hidden}.sheet-dialog::backdrop{transition:background-color .16s ease-out,backdrop-filter .16s ease-out}.sheet-dialog[data-closing=true]::backdrop{background:transparent;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}.sheet-dialog[data-closing=true]{pointer-events:none}.check-button{transition:background-color .18s,border-color .18s,color .18s,transform .12s}@media(prefers-reduced-transparency:reduce){.bottom-dock,.sheet-header{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}@supports not (backdrop-filter: blur(1px)){.bottom-dock,.sheet-header{background:var(--surface)}}
