:root{--brand:#397b83;--canvas:#f7f8f5;--surface:#fff;--ink:#202d36;--muted:#697c85;--line:#dee6e3;--sage:#56856b;--brand-soft:#e7f0ee;--brand-strong:#306b72;--on-brand:#fff;--negative:#ac4e3b;--chip:#e6f0e8;--chip-ink:var(--sage);--utility-0:#fcece6;--utility-1:#e5f3fa;--utility-2:#fbf0de;--utility-0-ink:#c96a58;--utility-1-ink:#3598bd;--utility-2-ink:#a97225;--notice-bg:#e7f0ee;--notice-ink:#2b5960;--warm-bg:#fbf0de;--warm-ink:#795b27;--alert-bg:#fcece6;--scrim:#202d3655;--crop-stage:#d7e2df;--mark:#c96a58;--chart-1:#397b83;--chart-2:#56856b;--chart-3:#c96a58;--chart-4:#8cabb8;--chart-5:#b69760;--chart-6:#a4bdb6;--chart-7:#e5c6bc;--chart-8:#9cb39c;--chart-9:#c7dce5;--chart-10:#ccc8b7;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=pop]{--brand:#e8337a;--brand-strong:#d42669;--canvas:#fff;--surface:#f4f5fa;--ink:#1f2233;--muted:#6f748c;--line:#e5e7f0;--sage:#0b8a66;--brand-soft:#ffe5ef;--mark:#ff8a3d;--negative:#e11d48;--chip:var(--pop-purple-soft);--chip-ink:var(--pop-purple-ink);--notice-bg:var(--pop-blue-soft);--notice-ink:var(--pop-blue-ink);--warm-bg:var(--pop-yellow-soft);--warm-ink:var(--pop-yellow-ink);--pop-pink:#ff4f8b;--pop-pink-ink:#d61f66;--pop-pink-soft:#ffe5ef;--pop-orange:#ff8a3d;--pop-orange-ink:#c2560a;--pop-orange-soft:#fed;--pop-yellow:#ffc233;--pop-yellow-ink:#8f6200;--pop-yellow-soft:#fff4cf;--pop-green:#16c79a;--pop-green-ink:#0b8a66;--pop-green-soft:#dcf7ee;--pop-blue:#3d7bff;--pop-blue-ink:#2458d6;--pop-blue-soft:#e5edff;--pop-purple:#8b5cf6;--pop-purple-ink:#6b3fd6;--pop-purple-soft:#efe7ff;--chart-1:#ff4f8b;--chart-2:#ffc233;--chart-3:#3d7bff;--chart-4:#16c79a;--chart-5:#ff8a3d;--chart-6:#8b5cf6;--chart-7:#0fb5d6;--chart-8:#ff9ec0;--chart-9:#a5c8ff;--chart-10:#c9ced9}html[data-theme=matcha]{--brand:#5f7f4e;--brand-strong:#4e6b40;--canvas:#f4f7f0;--surface:#fff;--ink:#243024;--muted:#6d7d68;--line:#dce6d6;--sage:#7a9a5c;--brand-soft:#e6efe0;--mark:#c4783a;--chart-1:#5f7f4e;--chart-2:#8fae6e;--chart-3:#c4783a;--chart-4:#6d9a8a;--chart-5:#b7a35c;--chart-6:#a3c4a0;--chart-7:#d9c7a3;--chart-8:#7f9e78;--chart-9:#c5d9b8;--chart-10:#cfc6b0}html[data-theme=night]{--brand:#6eb4bc;--brand-strong:#82c2c9;--on-brand:#0f2328;--negative:#f2a192;--chip:#2b4038;--chip-ink:#a9d8b6;--utility-0:#3b2b29;--utility-1:#1e3542;--utility-2:#3a3125;--utility-0-ink:#f09b89;--utility-1-ink:#6cc6ec;--utility-2-ink:#e6b567;--notice-bg:#2f4148;--notice-ink:#dcefef;--warm-bg:#3a3125;--warm-ink:#f1d9a6;--alert-bg:#3b2b29;--scrim:#000000a6;--crop-stage:#11181d;--canvas:#1a2228;--surface:#243038;--ink:#e8eef1;--muted:#9aadb6;--line:#35444c;--sage:#8fbf9a;--brand-soft:#2f4148;--mark:#e08978;--chart-1:#6eb4bc;--chart-2:#8fbf9a;--chart-3:#e08978;--chart-4:#8cabb8;--chart-5:#d4b06a;--chart-6:#7f9e98;--chart-7:#c9a399;--chart-8:#9cb39c;--chart-9:#6d8fa0;--chart-10:#a8a390;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-size:16px;line-height:1.65}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.55;cursor:default}button,input,select,textarea{outline-offset:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand)}h1,h2,p{margin:0}h1{font-size:24px;line-height:1.5}h2{margin:20px 0 14px;font-size:18px}p{margin:10px 0}strong{font-weight:700}small,.small{color:var(--muted);font-size:13px}.brand{color:var(--brand);letter-spacing:3px;font-size:22px;font-weight:500}.shell{max-width:1000px;margin:auto;padding:24px 28px 130px}header,.header-actions,.section-title,.family-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}header{margin-bottom:28px}.header-actions{gap:20px}.family-heading p{color:var(--muted);margin:4px 0;font-size:14px}.month-label{min-width:160px;margin-left:auto;font-size:12px}.month-label input{padding:8px 12px}.card{background:var(--surface);border-radius:24px;padding:24px}.overview{grid-template-columns:1.6fr 1fr;gap:20px;display:grid}.metric .section-title{color:var(--muted);font-size:15px}.badge{color:var(--brand);background:var(--brand-soft);border-radius:20px;padding:4px 12px;font-size:13px}.big-amount{letter-spacing:-1px;margin:8px 0;font-size:44px;display:block}.positive{color:var(--sage)}.pending-amount{color:var(--muted);font-weight:500}.negative{color:var(--negative)}.recurring-badge{background:var(--brand-soft);color:var(--brand);vertical-align:middle;border-radius:999px;align-items:center;margin-left:6px;padding:2px 8px;font-size:11px;font-weight:500;display:inline-flex}.transaction-row.needs-amount,.home-record.needs-amount{box-shadow:inset 3px 0 0 var(--brand)}.recurring-form-note{margin:12px 0}progress{appearance:none;background:var(--line);border:0;border-radius:8px;width:100%;height:8px;overflow:hidden}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--brand);border-radius:8px}progress::-moz-progress-bar{background:var(--brand)}.balance{flex-direction:column;justify-content:center;display:flex}.balance>span{color:var(--muted);font-size:14px}.balance strong{font-size:26px}hr{border:0;border-top:1px solid var(--line);width:100%;margin:16px 0}.utilities{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.utility{border-radius:16px;flex-direction:column;gap:8px;padding:20px;display:flex}.utility strong{font-size:22px}.utility-0{background:var(--utility-0)}.utility-1{background:var(--utility-1)}.utility-2{background:var(--utility-2)}.utility img{width:26px;height:26px}.entry-list{flex-direction:column;gap:10px;display:flex}.entry{background:var(--surface);text-align:left;width:100%;color:var(--ink);border-radius:16px;align-items:center;gap:14px;padding:16px;display:flex}.entry:hover{box-shadow:0 0 0 1px var(--line)}.category-icon,.avatar{background:var(--chip);color:var(--chip-ink);border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;font-weight:700;display:grid}.entry-detail{flex-direction:column;flex:1;min-width:0;display:flex}.entry-detail strong{overflow-wrap:anywhere}.entry small{margin-top:2px;font-size:12px}.entry>strong{white-space:nowrap}.text-button{color:var(--brand);background:0 0;padding:8px;font-size:14px}.text-button.negative{color:var(--negative)}.primary,.secondary,.danger{border-radius:24px;width:100%;padding:14px 20px;font-size:14px;font-weight:700}.primary{background:var(--brand);color:var(--on-brand)}.primary:hover{background:var(--brand-strong)}.secondary{background:var(--brand-soft);color:var(--brand);margin:10px 0}.danger{color:#fff;background:#ac4e3b}.compact{width:auto}.empty{text-align:center;color:var(--muted);padding:40px 20px}nav{background:var(--surface);border:1px solid var(--line);z-index:5;border-radius:24px;gap:8px;padding:8px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 10px 40px #202d3610}nav button{background:var(--surface);color:var(--muted);border-radius:16px;flex-direction:column;align-items:center;gap:4px;min-width:85px;padding:10px 24px;font-size:12px;display:flex}nav img{width:22px;height:22px}nav button.active{background:var(--brand-soft);color:var(--brand)}nav button.add-nav{background:var(--brand);color:var(--on-brand)}label{color:var(--muted);flex-direction:column;gap:8px;margin:14px 0;font-size:14px;display:flex}input,select,textarea{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:var(--surface);border-radius:8px;padding:13px 15px}input[type=file]{font-size:13px}textarea{resize:vertical}.editor{max-width:640px;margin:auto}.editor h2{margin:0}.amount-input{font-size:32px;font-weight:700}.form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.form-grid>label:first-child{grid-column:1/-1}.segments{background:var(--canvas);border-radius:12px;gap:8px;margin-top:20px;padding:4px;display:flex}.segments button{color:var(--muted);background:0 0;border-radius:8px;flex:1;padding:10px}.segments .selected{background:var(--brand-soft);color:var(--brand);font-weight:700}fieldset{border:0;min-width:0;margin:0;padding:0}.category-row{margin:24px 0}.category-row small{font-size:12px}.family-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.family-grid h2:first-child{margin-top:0}.member{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 0;display:flex}.member .small{margin-left:auto}.notice,.demo-bar{background:var(--notice-bg);color:var(--notice-ink);overflow-wrap:anywhere;border-radius:12px;padding:12px 16px;font-size:14px}.notice{z-index:8;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));width:min(520px,100% - 32px);margin:0;position:fixed;transform:translate(-50%);box-shadow:0 10px 32px #202d3624}.welcome .notice,.landing .notice{width:auto;box-shadow:none;margin:16px 0;position:static;transform:none}.demo-bar{background:var(--warm-bg);color:var(--warm-ink)}.entry>strong,.transaction-row>strong,.home-record>strong{font-variant-numeric:tabular-nums}.receipt{border-radius:8px;max-width:100%;height:auto}.delete-confirm{border-top:1px solid var(--line);margin:20px 0;padding-top:12px}.welcome{max-width:480px;margin:60px auto;padding:24px}.welcome>.brand{text-align:center;margin-bottom:40px}.welcome-card{background:var(--surface);border-radius:24px;padding:32px}.eyebrow{color:var(--brand);font-size:13px}.welcome h1{margin:14px 0 20px;font-size:30px;line-height:1.6}.welcome p{color:var(--muted);font-size:14px}.welcome .small{text-align:center;font-size:12px}.welcome-sample{background:var(--brand-soft);color:var(--brand);border-radius:16px;flex-direction:column;gap:6px;margin:30px 0;padding:20px;display:flex}.welcome-sample span{font-size:13px}.onboarding{max-width:550px;margin:auto}@media (max-width:600px){.shell{padding:20px 20px 110px}header{margin-bottom:20px}.header-actions{gap:4px}.header-actions>.small{display:none}.family-heading{background:var(--surface);border-radius:16px;flex-wrap:wrap;gap:4px;padding:16px}.family-heading h1{font-size:16px}.family-heading>div{width:100%}.month-label{flex:1;margin:8px 0 0}.overview{grid-template-columns:1fr;gap:12px}.card{padding:20px}.big-amount{font-size:36px}.balance{grid-template-columns:1fr 1fr;align-items:center;gap:8px;display:grid}.balance strong{text-align:right;font-size:20px}.balance hr{display:none}.balance p{grid-column:1/-1;margin:0}.utility{gap:6px;padding:12px}.utility strong{font-size:17px}.utility .small{font-size:11px}.entry{gap:10px;padding:12px;font-size:14px}.category-icon{width:40px;height:40px}.entry small{font-size:11px}.entry-detail strong{font-size:14px}nav{width:100%;padding:8px 8px max(8px,env(safe-area-inset-bottom));border:0;border-radius:0;justify-content:space-around;gap:4px;bottom:0}nav button{flex:1;min-width:0;padding:8px 4px;font-size:11px}.family-grid{grid-template-columns:1fr}.welcome{margin:24px auto}.welcome-card{padding:24px}.form-grid{grid-template-columns:1fr}.form-grid>label:first-child{grid-column:auto}}.invite-back,.invite-back:visited{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--brand);border-radius:24px;justify-content:center;align-items:center;gap:8px;margin-top:20px;padding:10px 16px;font-size:14px;font-weight:500;text-decoration:none;display:flex}.invite-back:hover{background:var(--brand-soft);border-color:var(--brand-soft)}.invite-back:focus-visible{outline:3px solid var(--brand);outline-offset:4px}.tab-analysis .family-heading,.tab-insights .family-heading{display:none}.insights-view{max-width:620px;margin:0 auto}.insights-range{margin:0 0 8px}.insights-range .month-picker{max-width:none;margin:0 auto 8px}.insights-axis{margin:8px 0 12px}.insights-filters{flex-wrap:wrap;align-items:flex-start;gap:8px;margin:0 0 12px;display:flex}.insights-filter{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin:0;font-size:13px;position:relative}.insights-filter>summary{cursor:pointer;color:var(--brand);-webkit-user-select:none;user-select:none;padding:10px 14px;font-weight:500;list-style:none}.insights-filter>summary::-webkit-details-marker{display:none}.insights-filter[open]>summary{border-bottom:1px solid var(--line)}.insights-filter-options{flex-direction:column;gap:2px;min-width:160px;max-height:220px;padding:8px;display:flex;overflow:auto}.insights-filter-option{color:var(--ink);cursor:pointer;border-radius:8px;flex-direction:row;align-items:center;gap:8px;margin:0;padding:6px 4px;display:flex}.insights-filter-option:hover{background:var(--canvas)}.insights-filter-option input{width:auto;min-width:0;accent-color:var(--brand);margin:0}.insights-clear-filters{padding:8px 4px;font-size:13px}.insights-entries-heading{margin-top:24px}.insights-view .dated-list{margin-bottom:8px}.insights-compare{background:var(--surface);color:var(--ink);cursor:pointer;border-radius:16px;flex-direction:row;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;font-size:13px;display:inline-flex}.insights-compare input{width:auto;min-width:0;accent-color:var(--brand);margin:0}.insights-compare.is-disabled{opacity:.55;cursor:not-allowed}.insights-compare-key{color:var(--muted);justify-content:flex-end;gap:14px;margin:-4px 0 12px;font-size:12px;display:flex}.insights-compare-key-current:before,.insights-compare-key-prior:before{content:"";vertical-align:-1px;border-radius:2px;width:10px;height:10px;margin-right:6px;display:inline-block}.insights-compare-key-current:before{background:var(--brand)}.insights-compare-key-prior:before{background:var(--brand);opacity:.35}.insights-stacked-chart{background:var(--surface);border-radius:24px;margin:16px 0;padding:20px}.insights-stacked-chart .section-title{align-items:baseline;margin:0 0 16px}.insights-stacked-chart .section-title small{color:var(--muted);font-size:12px;font-weight:400}.insights-stacked-columns{-webkit-overflow-scrolling:touch;align-items:stretch;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.insights-stacked-column{flex-direction:column;flex:1 0 44px;align-items:center;gap:6px;min-width:44px;max-width:72px;display:flex}.insights-stacked-columns.is-compare .insights-stacked-column{flex-basis:56px;min-width:56px;max-width:88px}.insights-stacked-track{justify-content:center;align-items:flex-end;gap:4px;width:100%;height:180px;display:flex}.insights-stacked-track.is-pair .insights-stacked-bar{width:42%}.insights-stacked-bar{border-radius:10px 10px 4px 4px;flex-direction:column-reverse;width:70%;min-height:2px;display:flex;overflow:hidden}.insights-stacked-bar.is-prior{opacity:.38}.insights-stacked-bar>span{width:100%;min-height:2px}.insights-stacked-column>small{color:var(--muted);font-size:11px}.insights-stacked-column>b{font-variant-numeric:tabular-nums;color:var(--ink);text-align:center;font-size:10px;font-weight:500;line-height:1.2}.insights-prior-total{color:var(--muted)!important;font-weight:400!important}.insights-row-prior{color:var(--muted);margin-top:2px;display:block}.analysis-view{max-width:620px;margin:0 auto}.analysis-hero{background:var(--surface);border-radius:16px;flex-direction:column;margin:14px 0;padding:24px;display:flex}.analysis-hero>span{color:var(--muted);font-size:13px}.analysis-hero>strong{letter-spacing:-.5px;font-size:32px}.analysis-hero>small{margin-top:8px}.analysis-row{border-bottom:1px solid var(--line);padding:16px 0}.analysis-row .section-title>span{flex-direction:column;display:flex}.analysis-row .section-title>span:last-child{text-align:right}.analysis-row small{font-weight:400}.analysis-row progress{margin-top:10px}.budget-fields{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.money-input{position:relative}.money-input>span{color:var(--muted);position:absolute;top:50%;left:15px;transform:translateY(-50%)}.money-input input{text-align:right;padding-left:34px}.budget-total{background:var(--brand-soft);color:var(--brand);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:18px 0;padding:18px;display:flex}.budget-total small{width:100%;color:inherit;margin-top:4px}.copy-confirm{background:var(--warm-bg);color:var(--warm-ink);border-radius:16px;margin-top:16px;padding:20px}.copy-confirm>strong{font-size:20px;line-height:1.5}.copy-confirm p{font-size:13px}.copy-confirm .text-button{width:100%;color:var(--warm-ink)}.trend-list{flex-direction:column;gap:10px;display:flex}.trend-row{background:var(--surface);border-radius:16px;grid-template-columns:110px 1fr auto;align-items:center;gap:16px;padding:16px;display:grid}.trend-row>span{align-items:center;gap:8px;display:flex}.trend-row>span:nth-child(2){grid-template-columns:auto 1fr;column-gap:8px;font-size:13px;display:grid}.trend-row>span:last-child{font-size:13px}.trend-row b{text-align:right}@media (max-width:600px){.budget-fields{grid-template-columns:1fr}.trend-row{grid-template-columns:80px 1fr}.trend-row>span:last-child{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;padding-top:8px}}.tab-ledger .family-heading,.tab-recurring .family-heading{display:none}.ledger-view,.recurring-view{max-width:620px;margin:0 auto}.screen-heading{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.screen-heading h2{margin:0;font-size:20px}.heading-spacer{width:36px}.icon-button{width:40px;height:40px;color:var(--ink);background:0 0;border-radius:50%;place-items:center;display:grid}.icon-button:hover{background:var(--brand-soft)}.setting-row{background:var(--surface);width:100%;color:var(--brand);text-align:left;border:0;border-radius:16px;justify-content:space-between;align-items:center;margin:12px 0;padding:16px;display:flex}.setting-row>span:first-child{color:var(--ink);flex-direction:column;gap:3px;display:flex}.setting-row strong{font-size:14px}.setting-row small{font-size:12px;font-weight:400}.setting-row>span:last-child{align-items:center;gap:4px;font-size:12px;display:flex}.view-switch,.kind-switch{gap:8px;margin:12px 0;display:flex}.view-switch button,.kind-switch button{background:var(--surface);color:var(--brand);border-radius:24px;flex:1;justify-content:center;align-items:center;gap:6px;padding:12px;font-size:12px;display:flex}.view-switch button.active,.kind-switch button.active{background:var(--brand);color:var(--on-brand)}.search-trigger{cursor:pointer}.dated-list{flex-direction:column;gap:12px;margin-top:16px;display:flex}.date-group{flex-direction:column;gap:8px;display:flex}.date-summary{color:var(--muted);gap:14px;margin:0;font-size:12px;display:flex}.transaction-row{background:var(--surface);text-align:left;width:100%;color:var(--ink);border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.transaction-row .entry-detail{flex:1}.transaction-row>strong{white-space:nowrap;font-size:14px}.ledger-empty{background:var(--surface);color:var(--muted);text-align:center;border-radius:16px;padding:30px 16px;font-size:13px}.month-calendar{background:var(--surface);border-radius:16px;margin:12px 0;padding:14px 10px}.weekdays,.calendar-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.weekdays{color:var(--muted);font-size:12px}.weekdays span{padding:4px}.calendar-grid button,.calendar-grid>span{aspect-ratio:1;color:var(--ink);font-variant-numeric:tabular-nums;background:0 0;border-radius:50%;place-items:center;padding:0;font-size:13px;line-height:1;display:grid;position:relative}.calendar-grid button.selected{background:var(--brand);color:var(--on-brand)}.calendar-grid .cal-mark{background:var(--mark);pointer-events:none;border-radius:50%;width:6px;height:6px;margin-left:-3px;position:absolute;bottom:5px;left:50%}.calendar-grid button.selected .cal-mark{background:var(--surface)}.calendar-notice{background:var(--brand-soft);color:var(--brand);border-radius:16px;flex-direction:column;gap:3px;margin:12px 0;padding:16px;display:flex}.calendar-notice strong{font-size:14px}.calendar-notice small{color:inherit;font-size:12px}.ledger-add{margin-top:16px}.filter-backdrop{z-index:20;background:var(--scrim);justify-content:center;align-items:flex-end;padding:20px;display:flex;position:fixed;inset:0}.filter-panel{background:var(--canvas);border-radius:24px;width:min(100%,440px);max-height:90vh;padding:24px;overflow:auto;box-shadow:0 16px 50px #202d3630}.filter-panel label{margin:14px 0}.recurring-list{flex-direction:column;gap:12px;margin:12px 0;display:flex}.recurring-row{background:var(--surface);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.recurring-row.editing{box-shadow:inset 0 0 0 2px var(--brand)}.recurring-row-main{min-width:0;color:var(--ink);text-align:left;background:0 0;flex-direction:column;flex:1;gap:2px;padding:0;display:flex}.recurring-row-main strong{font-size:14px}.recurring-row-main small{color:var(--muted);font-size:12px}.recurring-row>span{flex-direction:column;display:flex}.recurring-row strong{font-size:14px}.recurring-row small{font-size:12px}.recurring-toggle{color:var(--brand);background:0 0;flex-shrink:0;align-items:center;gap:4px;font-size:12px;display:flex}.recurring-form{margin-top:8px}.recurring-form h2{margin-top:0}.recurring-view>.primary,.recurring-view>.secondary{justify-content:center;align-items:center;gap:6px;width:100%;margin-top:16px;display:flex}.recurring-pick-list{flex-direction:column;gap:8px;margin:8px 0 12px;display:flex}.recurring-pick{background:var(--canvas);border:1px solid var(--line);cursor:pointer;border-radius:16px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.recurring-pick.selected{border-color:var(--brand);background:var(--brand-soft)}.recurring-pick input{flex-shrink:0;margin-top:3px}.recurring-pick>span{flex-direction:column;gap:2px;min-width:0;display:flex}.recurring-pick strong{font-size:14px}.recurring-pick small{color:var(--muted);font-size:12px}.payment-accounts h2{margin-top:0}.payment-account-form{margin-top:12px}.payment-account-form .secondary{width:100%;margin-top:8px}.payment-account-edit{background:var(--surface);box-shadow:inset 0 0 0 2px var(--brand);border-radius:16px;padding:16px}.payment-account-edit .payment-account-form{margin:0}.payment-account-form .member-actions{gap:8px;margin-top:12px;display:flex}.payment-account-form .member-actions>*{flex:1;width:auto;margin:0}.payment-accounts .recurring-row .text-button{flex-shrink:0}.ledger-bulk-edit{flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;margin:0;display:flex}.ledger-sheet-toolbar{border-bottom:1px solid var(--line);background:var(--surface);flex-shrink:0;align-items:flex-start;gap:8px;padding:8px 12px;display:flex}.ledger-sheet-toolbar-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.ledger-sheet-title{flex-wrap:wrap;align-items:baseline;gap:8px 12px;display:flex}.ledger-sheet-title strong{font-size:16px}.ledger-sheet-title small{color:var(--muted);font-size:12px}.ledger-sheet-toolbar .month-picker{border-radius:12px;width:100%;max-width:none;margin:0;padding:6px 8px}.ledger-sheet-toolbar .month-range-summary{font-size:11px}.ledger-sheet-wrap{background:var(--surface);-webkit-overflow-scrolling:touch;border-radius:0;flex:1;min-height:0;margin:0;overflow:auto}.ledger-sheet{border-collapse:collapse;border-spacing:0;width:max-content;min-width:100%;font-size:13px}.ledger-sheet th,.ledger-sheet td{border:1px solid var(--line);vertical-align:middle;white-space:nowrap;padding:0}.ledger-sheet th{z-index:2;background:var(--canvas);color:var(--muted);text-align:left;box-shadow:inset 0 -1px 0 var(--line);padding:8px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.ledger-sheet input,.ledger-sheet select{width:100%;min-width:0;height:100%;min-height:40px;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:8px 10px;font-size:13px;display:block}.ledger-sheet input:focus,.ledger-sheet select:focus{outline:2px solid var(--brand);outline-offset:-2px;background:var(--brand-soft)}.ledger-sheet input[type=date]{min-width:132px}.ledger-sheet input[type=number]{text-align:right;font-variant-numeric:tabular-nums;min-width:88px}.ledger-sheet td:nth-child(3),.ledger-sheet th:nth-child(3){min-width:160px}.ledger-sheet td:nth-child(9),.ledger-sheet th:nth-child(9){min-width:180px}.ledger-sheet td:nth-child(5) select,.ledger-sheet td:nth-child(7) select,.ledger-sheet td:nth-child(8) select{min-width:112px}.ledger-sheet-recurring{min-width:120px}.ledger-sheet-recurring select{min-width:112px}.ledger-sheet-check{text-align:center;background:var(--canvas);z-index:3;width:40px;min-width:40px;max-width:40px;box-shadow:inset -1px 0 0 var(--line);padding:0;position:sticky;left:0}.ledger-sheet thead .ledger-sheet-check{z-index:4}.ledger-sheet-check input{width:18px;min-width:18px;height:18px;min-height:18px;accent-color:var(--brand);cursor:pointer;margin:0;padding:0;display:inline-grid}.ledger-sheet tr.is-selected td,.ledger-sheet tr.is-selected .ledger-sheet-check,.ledger-sheet tr.is-selected .ledger-sheet-author,.ledger-sheet tr.is-selected .ledger-sheet-status,.ledger-sheet tr.is-selected .ledger-sheet-na{background:var(--brand-soft)}.ledger-sheet-bulk-bar{border-bottom:1px solid var(--line);background:var(--brand-soft);-webkit-overflow-scrolling:touch;flex-wrap:wrap;flex-shrink:0;align-items:flex-end;gap:10px 12px;padding:10px 12px;display:flex;overflow-x:auto}.ledger-sheet-bulk-summary{flex-direction:column;gap:2px;min-width:72px;display:flex}.ledger-sheet-bulk-summary strong{color:var(--brand);font-size:13px}.ledger-sheet-bulk-summary span{color:var(--muted);font-size:11px}.ledger-sheet-bulk-fields{flex-wrap:nowrap;flex:1;align-items:flex-end;gap:8px;min-width:0;display:flex}.ledger-sheet-bulk-field{min-width:108px;color:var(--muted);flex-direction:column;gap:4px;margin:0;font-size:11px;display:flex}.ledger-sheet-bulk-field>span{line-height:1.2}.ledger-sheet-bulk-field input,.ledger-sheet-bulk-field select{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-height:36px;padding:6px 8px;font-size:13px}.ledger-sheet-bulk-field input[type=date]{min-width:132px}.ledger-sheet-bulk-field input[type=number]{text-align:right;min-width:88px}.ledger-sheet-bulk-note{flex:1;min-width:160px}.ledger-sheet-bulk-actions{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:flex}.ledger-sheet-bulk-actions .primary{width:auto;min-width:72px;padding:10px 16px}.ledger-sheet-author{color:var(--muted);background:var(--canvas);padding:8px 10px;font-size:12px}.ledger-sheet-na{text-align:center;color:var(--muted);background:var(--canvas);padding:8px 10px;display:block}.ledger-sheet-status{white-space:normal;min-width:96px;max-width:180px;color:var(--muted);background:var(--canvas);padding:6px 8px;font-size:11px}.ledger-sheet tr.is-saving .ledger-sheet-status{color:var(--brand)}.ledger-sheet tr.is-saved .ledger-sheet-status{color:var(--sage)}.ledger-sheet tr.is-error .ledger-sheet-status{color:var(--negative)}.ledger-sheet tr.is-error td{background:#ac4e3b12}.ledger-bulk-edit>.ledger-empty{border-radius:16px;margin:24px}.ledger-sheet-th{position:relative;overflow:visible}.ledger-sheet-th.is-open{z-index:13}.ledger-sheet-th-inner{justify-content:space-between;align-items:center;gap:6px;display:flex}.ledger-sheet-filter{width:24px;height:24px;color:var(--muted);background:0 0;border-radius:6px;flex-shrink:0;place-items:center;margin:0;padding:0;display:grid}.ledger-sheet-filter:hover,.ledger-sheet-filter[aria-expanded=true]{background:var(--brand-soft);color:var(--brand)}.ledger-sheet-filter.active,.ledger-sheet-th.is-filtered .ledger-sheet-filter{background:var(--brand);color:var(--on-brand)}.ledger-sheet-filter-panel{z-index:12;border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:8px;width:min(240px,70vw);max-height:min(280px,50vh);padding:10px;display:flex;position:absolute;top:calc(100% + 2px);left:0;box-shadow:0 12px 32px #202d3628}.ledger-sheet-filter-actions{flex-shrink:0;justify-content:space-between;gap:8px;display:flex}.ledger-sheet-filter-actions .text-button{padding:4px 6px;font-size:12px}.ledger-sheet-filter-list{-webkit-overflow-scrolling:touch;flex-direction:column;gap:2px;display:flex;overflow:auto}.ledger-sheet-filter-option{color:var(--ink);cursor:pointer;border-radius:8px;flex-direction:row;align-items:center;gap:8px;margin:0;padding:6px 4px;font-size:13px;display:flex}.ledger-sheet-filter-option:hover{background:var(--canvas)}.ledger-sheet-filter-option input{width:auto;min-width:0;accent-color:var(--brand);margin:0}.ledger-sheet-filter-option span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ledger-sheet-clear-filters{vertical-align:baseline;margin-left:8px;padding:0;font-size:12px;display:inline}.ledger-sheet-empty-filter{text-align:center;color:var(--muted);white-space:normal;padding:24px 16px;font-size:13px}.shell.sheet-mode{max-width:none;min-height:100dvh;padding:0 0 calc(76px + env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.shell.sheet-mode>header{display:none}.shell.sheet-mode .demo-bar{border-radius:0;margin:0}.shell.sheet-mode .family-heading{display:none}.shell.sheet-mode>main{flex-direction:column;flex:1;min-height:0;display:flex}.shell.sheet-mode .pane{flex-direction:column;flex:1;min-height:0;margin:0;display:flex}.shell.sheet-mode .notice{bottom:calc(84px + env(safe-area-inset-bottom))}@media (min-width:1000px){.shell.sheet-mode{width:100%;max-width:none;padding:0 0 0 240px;overflow:hidden}.shell.sheet-mode>nav{top:16px;bottom:16px;left:16px}.shell.sheet-mode .notice{width:min(420px,100% - 280px);bottom:24px;left:auto;right:24px}.ledger-sheet-toolbar{padding:10px 16px}.ledger-sheet-toolbar-main{flex-direction:row;justify-content:space-between;align-items:center;gap:16px}.ledger-sheet-toolbar .month-picker{width:min(420px,46vw)}}@media (max-width:600px){.ledger-sheet-toolbar{padding:6px 8px}.ledger-sheet-title strong{font-size:15px}.ledger-sheet input,.ledger-sheet select{min-height:44px;font-size:14px}}@media (min-width:601px){.filter-backdrop{align-items:center}.ledger-view,.recurring-view{max-width:700px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.month-picker-sticky{z-index:6;background:var(--canvas);margin:0 0 4px;padding:8px 0 12px;position:sticky;top:0}.month-picker-sticky .month-picker{margin:0 auto}.month-picker{background:var(--surface);border-radius:16px;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;column-gap:8px;max-width:700px;margin:12px auto 16px;padding:10px 12px;display:grid}.month-picker .month-prev{grid-area:1/1}.month-picker label{cursor:pointer;flex-direction:row;grid-area:1/2;justify-content:center;align-items:center;min-width:0;min-height:40px;margin:0;display:flex;position:relative}.month-picker .month-next{grid-area:1/3}.month-picker-current{letter-spacing:.04em;color:var(--ink);font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.month-picker input{opacity:0;cursor:pointer;appearance:none;border:0;width:100%;height:100%;margin:0;padding:0;font-size:16px;position:absolute;inset:0}.month-picker input::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.month-picker button{background:var(--brand-soft);color:var(--brand);border-radius:50%;width:36px;height:36px;font-size:24px}.month-picker .this-month{background:0 0;border-radius:8px;grid-area:2/2;justify-self:center;width:auto;height:auto;min-height:32px;margin-top:2px;padding:0 12px;font-size:12px;font-weight:500}.month-picker .month-prev:disabled,.month-picker .month-next:disabled{background:var(--canvas)}.export-view{max-width:620px;margin:auto}.export-view h1{margin-top:28px;font-size:28px}.export-view .primary{margin-top:16px}.connection-state{text-align:center;max-width:540px;margin:auto}.refresh-status{text-align:center;color:var(--brand);padding:8px;font-size:12px}.category-shortcuts{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.category-shortcuts button{background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:24px;padding:8px 14px;font-size:12px}.category-shortcuts button.selected{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}.tab-add .family-heading,.tab-export .family-heading,.tab-add .install-app,.tab-add .ios-install{display:none}.tab-family .family-heading{display:block}.shell header{margin-bottom:20px}.family-heading{margin:12px 0}.family-heading h1{font-size:20px}.metric .big-amount{font-size:36px;line-height:1.5}.metric p{font-size:12px}.metric .text-button{padding:4px 0;font-size:12px}.utility{color:var(--ink)}.utility-0 svg{color:var(--utility-0-ink)}.utility-1 svg{color:var(--utility-1-ink)}.utility-2 svg{color:var(--utility-2-ink)}.entry-detail strong{font-weight:500}.analysis-row{background:var(--surface);border:0;border-radius:16px;margin-bottom:10px;padding:16px}.family-grid .member{background:var(--canvas);border:0;border-radius:16px;margin:12px 0;padding:16px}.family-grid .avatar{background:var(--brand-soft);color:var(--brand);border-radius:50%}.editor{background:0 0;padding:0}.editor .segments{background:0 0;margin-top:16px;padding:0}.editor .segments button{background:var(--surface);color:var(--brand);border-radius:24px;font-size:12px}.editor .segments button.selected{background:var(--brand);color:var(--on-brand)}.editor label{font-size:12px}.editor .amount-input{padding:18px;font-size:36px}.editor textarea{font-size:14px}.budget-fields label{font-size:12px}.analysis-hero>strong{font-variant-numeric:tabular-nums}.copy-confirm .primary{background:var(--brand)}@media (max-width:600px){body{font-size:14px}.shell{padding:20px 20px 104px}.brand{font-size:20px}.family-heading{margin:8px 0;padding:16px}.family-heading h1{font-size:14px}.family-heading p{font-size:12px}.overview{gap:12px}.balance{padding:14px 20px}.balance>span{font-size:12px}.balance strong{font-size:18px}.balance p{display:none}h2{margin:18px 0 12px;font-size:16px}.utility{min-width:0}.utility strong{overflow-wrap:anywhere;font-size:16px}.utility>span{font-size:12px}.utilities{gap:12px}.entry{min-height:66px}.entry>strong{font-size:14px}.entry-detail small{font-size:11px}.family-grid>.card{background:0 0;padding:0}.family-grid .member{background:var(--surface)}.family-grid .member strong{font-size:14px}.family-grid .small{font-size:12px}nav{border-top:1px solid #dee6e370}nav button{min-width:0;padding:8px 2px;font-size:10px}.screen-heading h2{font-size:20px}.analysis-view,.insights-view,.ledger-view,.recurring-view{max-width:100%}.insights-axis{gap:4px}.insights-axis button{padding:10px 6px;font-size:11px}.month-picker{margin-bottom:12px;padding:8px}}.spending-chart{background:var(--surface);border-radius:24px;align-items:center;gap:24px;margin:16px 0;padding:20px;display:flex}.donut{border-radius:50%;flex-shrink:0;place-items:center;width:156px;height:156px;display:grid}.donut>div{background:var(--surface);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:118px;height:118px;display:flex}.donut strong{font-size:17px}.donut small{font-size:11px}.chart-legend{flex:1;gap:8px;display:grid}.chart-legend>div{align-items:center;gap:8px;font-size:12px;display:flex}.chart-legend>div>span{border-radius:50%;flex-shrink:0;width:8px;height:8px}.chart-legend strong{margin-left:auto}.monthly-chart{background:var(--surface);border-radius:24px;margin:16px 0;padding:20px}.chart-key{justify-content:flex-end;gap:16px;margin-bottom:16px;font-size:12px;display:flex}.chart-key>span:first-child{color:var(--sage)}.chart-key>span:last-child{color:var(--brand)}.chart-columns{gap:12px;display:flex}.chart-column{text-align:center;flex:1;min-width:0}.bar-pair{border-bottom:1px solid var(--line);justify-content:center;align-items:flex-end;gap:4px;height:140px;display:flex}.bar-pair span{border-radius:4px 4px 0 0;width:24px}.income-bar{background:var(--sage)}.expense-bar{background:var(--brand)}@media (max-width:400px){.spending-chart{gap:14px;padding:16px}.donut{width:136px;height:136px}.donut>div{width:102px;height:102px}.donut strong{font-size:14px}.chart-legend>div{gap:4px}}.tab-home>.family-heading{display:none}.home-view{max-width:1158px;margin:auto}.home-family-row{background:var(--surface);border-radius:16px;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 12px;padding:16px;display:flex}.home-family-name{text-align:left;color:var(--ink);background:0 0;flex-direction:column;gap:4px;min-width:0;padding:0;display:flex}.home-family-name strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}.home-family-name small{font-size:12px}.home-family-row .month-picker{background:0 0;width:100%;max-width:none;margin:0;padding:0}.home-family-row .month-picker-current{font-size:18px}.home-metrics{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.home-metrics>section{background:var(--surface);border-radius:24px;flex-direction:column;gap:8px;min-width:0;padding:20px;display:flex}.home-metric-label{color:var(--muted);justify-content:space-between;font-size:14px;display:flex}.home-metric-label>span:last-child{color:var(--brand);font-size:12px}.home-amount{letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:36px;line-height:1.5}.home-expense p{margin:0;font-size:12px}.home-expense small{font-size:12px}.home-income>span,.home-balance>span{color:var(--muted);font-size:14px}.home-content-grid{grid-template-columns:repeat(3,1fr);gap:24px;margin:12px 0;display:grid}.home-content-grid h2,.home-recent h2{margin:8px 0 12px;font-size:16px}.home-content-grid .text-button,.home-recent .text-button{padding:4px 0;font-size:12px}.home-utility-cards{gap:12px;display:flex}.home-utility{text-align:left;min-width:0;color:var(--ink);border-radius:16px;flex-direction:column;flex:1;align-items:flex-start;gap:8px;padding:12px;display:flex}.home-utility>span,.home-utility>small{font-size:12px}.home-utility strong{font-size:16px}.home-utility.utility-0 svg{color:var(--utility-0-ink)}.home-utility.utility-1 svg{color:var(--utility-1-ink)}.home-utility.utility-2 svg{color:var(--utility-2-ink)}.home-breakdown-card{background:var(--surface);border-radius:24px;padding:16px}.home-breakdown-card button{width:100%;color:var(--ink);background:0 0;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 0;font-size:12px;display:flex}.home-family-summary .calendar-notice{margin:0}.home-records{gap:8px;display:grid}.home-record,.home-table-heading{background:var(--surface);text-align:left;color:var(--ink);grid-template-columns:80px 2fr 1fr 1fr 110px;align-items:center;gap:16px;width:100%;padding:16px;font-size:14px;display:grid}.home-table-heading{background:var(--brand-soft);color:var(--muted);margin-bottom:8px;font-size:12px}.home-record>.category-icon,.home-record-title small{display:none}.home-record-title{min-width:0}.home-record-title strong{overflow-wrap:anywhere;font-weight:500}.home-record>strong,.home-table-heading>span:last-child{text-align:right}.home-record-date,.home-record-category,.home-record-member{color:var(--muted);font-size:12px}.home-desktop-title{justify-content:space-between;align-items:center;margin:0 0 24px;display:flex}.home-desktop-title p{color:var(--muted);font-size:12px}.home-desktop-title .primary{width:220px}.home-recent{margin-top:20px}@media (min-width:1000px){.shell{max-width:1440px;padding:24px 32px 40px 248px}.shell>header>.brand{z-index:7;padding-left:3px;position:fixed;top:44px;left:max(120px,50vw - 600px);transform:translate(-50%)}.shell>header{justify-content:flex-end}.shell>nav{width:208px;box-shadow:none;border:0;border-radius:24px;flex-direction:column;gap:12px;padding:96px 24px 24px;top:16px;bottom:16px;left:max(16px,50vw - 704px);transform:none}.shell>nav button{background:var(--brand-soft);width:100%;min-height:48px;color:var(--brand);border-radius:24px;flex-direction:row;justify-content:center;gap:8px;font-size:14px}.shell>nav button.active,.shell>nav button.add-nav{background:var(--brand);color:var(--on-brand)}.home-family-name{display:none}.home-family-row{background:0 0;margin:0 0 16px;padding:0}.home-utility-cards{flex-direction:column}.home-utility{background:var(--surface);grid-template-columns:26px 1fr auto;align-items:center;display:grid}.home-utility small{grid-column:2/-1}.home-utility svg{grid-row:1/3}.home-family-row .month-picker{max-width:none}}@media (max-width:999px){.home-desktop-title,.home-breakdown,.home-family-summary,.home-income,.home-balance{display:none!important}.home-metrics,.home-content-grid{display:block}.home-content-grid{margin:16px 0 0}.home-view{max-width:620px}.home-recent{margin-top:16px}.home-record{border-radius:16px;gap:12px;min-height:66px;padding:12px;display:flex}.home-record>.category-icon{border-radius:8px;width:40px;height:40px;display:grid}.home-record-title{flex-direction:column;flex:1;gap:4px;display:flex}.home-record-title strong{font-size:14px}.home-record-title small{font-size:11px;display:block}.home-record>strong{white-space:nowrap;font-size:14px}.home-table-heading,.home-record-date,.home-record-category,.home-record-member,.home-extra-record{display:none}.home-records{gap:12px}.home-view .home-expense{gap:8px;min-height:191px}.home-expense .home-amount{font-size:36px;line-height:54px}.home-utility{min-height:134px}.tab-home>header{margin-bottom:16px}.tab-home .demo-bar{margin-bottom:12px;padding:6px 12px;font-size:11px}}@media (min-width:1000px){.shell .notice{width:min(420px,100% - 280px);bottom:32px;left:auto;right:32px;transform:none}}.entry-date-category{grid-template-columns:1fr 1fr;gap:12px;display:grid}.entry-optional{margin:12px 0 16px}.entry-optional summary{cursor:pointer;color:var(--brand);min-height:44px;padding:12px 0;font-size:13px;display:list-item}.entry-optional[open]{border-top:1px solid var(--line)}@media (max-width:600px){.tab-add{padding:12px 20px 88px}.tab-add>header{margin-bottom:8px}.tab-add .editor .section-title{min-height:36px}.tab-add .editor .segments{margin-top:8px}.tab-add .editor label{gap:6px;margin:10px 0}.tab-add .editor input,.tab-add .editor select,.tab-add .editor textarea{min-height:44px;padding:10px 12px;font-size:16px}.tab-add .editor .amount-input{height:64px;padding:10px 14px;font-size:32px}.tab-add .entry-optional{margin:4px 0 10px}.tab-add .entry-optional summary{font-size:12px}.tab-add .editor .primary{min-height:48px;padding:12px 16px}.tab-add .demo-bar{margin-bottom:8px;padding:6px 10px;font-size:10px}.tab-add .notice{padding:8px 12px;font-size:12px}}.landing{width:100%;max-width:390px;min-height:100svh;color:var(--ink);margin:0 auto;padding:20px 20px 24px}.landing p{margin:0}.landing-identity{flex-direction:column;align-items:center;gap:12px;padding:48px 0 24px;display:flex}.landing-identity img{flex-shrink:0;width:96px;height:96px;display:block}.landing .landing-wordmark{letter-spacing:5px;color:var(--brand);font-size:32px;font-weight:500;line-height:48px}.landing-tagline{color:var(--muted);text-align:center;font-size:14px;line-height:21px}.landing-intro{flex-direction:column;gap:12px;margin-top:16px;display:flex}.landing-intro h1{margin:0;font-size:28px;font-weight:700;line-height:42px}.landing-intro>p{color:var(--muted);font-size:14px;line-height:21px}.landing-notice{background:var(--brand-soft);color:var(--brand);border-radius:16px;flex-direction:column;gap:4px;padding:16px;display:flex}.landing-notice strong{font-size:14px;line-height:21px}.landing-notice span{font-size:12px;line-height:18px}.landing-actions{flex-direction:column;gap:12px;margin-top:16px;display:flex}.landing-actions .primary,.landing-actions .secondary{border-radius:24px;min-height:53px;margin:0;padding:16px;font-size:14px;line-height:21px}.landing-actions>p{color:var(--muted);font-size:11px;line-height:17px}.landing-demo{align-self:center;margin-top:8px;padding:8px;font-size:11px}@media (max-width:600px){.tab-add .editor label{gap:4px;margin:6px 0}.tab-add .editor .amount-input{height:56px;padding:8px 12px;font-size:30px}.tab-add .category-shortcuts{flex-wrap:wrap;gap:6px;margin:4px 0 6px;display:flex}.tab-add .category-shortcuts button{white-space:nowrap;flex:1;min-height:36px;padding:8px 4px;font-size:11px}.tab-add .entry-extra-fields textarea{resize:vertical;height:48px;min-height:44px;padding:8px 12px}.tab-add .editor .primary{margin-top:6px}.tab-add .editor .segments button{min-height:36px;padding:8px}.tab-add .entry-date-category{gap:10px}.tab-add .category-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}}.month-picker button{justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.month-picker button svg{flex-shrink:0;display:block}.month-picker label{min-width:0}.month-range-picker{row-gap:2px}.month-range-picker .month-range-fields{grid-area:1/2;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.month-range-picker .month-range-fields label{flex:1;grid-area:auto;margin:0}.month-range-picker .month-range-sep{color:var(--muted);flex-shrink:0;font-size:14px;font-weight:700}.month-range-picker .month-range-summary{text-align:center;color:var(--muted);grid-area:2/1/auto/-1;margin:0;font-size:12px}.month-range-picker.is-range .month-range-summary{color:var(--brand);font-weight:500}.month-range-picker:not(.is-range) .month-range-summary{display:none}.month-range-picker .this-month{grid-row:3}.calendar-month-switch{align-items:center}.calendar-month-switch strong{text-align:center;color:var(--ink);flex:1;font-size:14px}@media (max-width:600px){.month-range-picker .month-picker-current{font-size:13px}.month-range-picker .month-range-fields{gap:2px}}.member-manager .member-name{overflow-wrap:anywhere;flex:1;min-width:0}.member-manager .member-name small{display:block}.member-manager .member{flex-wrap:wrap}.member-manager .member-confirm{background:var(--alert-bg);border-radius:16px;width:100%;padding:16px}.member-confirm p{font-size:13px}.member-actions{gap:8px;display:flex}.member-actions button{flex:1;margin:0}.member-manager .profile-setup{background:0 0;max-width:none;margin:12px 0 0;padding:0}.install-app{max-width:480px;color:var(--brand);background:var(--brand-soft);border-radius:20px;align-items:flex-start;gap:14px;margin:24px auto 120px;padding:20px;display:flex}.install-app img{border-radius:12px;flex-shrink:0}.install-app strong{font-size:14px}.install-app p{margin:4px 0 8px;font-size:12px}.install-app summary{cursor:pointer;font-size:13px}.install-app .text-button{padding:4px 0;font-weight:700}@media (max-width:600px){.install-app{margin:12px 20px 110px}}.ios-install{z-index:10;left:16px;right:16px;bottom:calc(82px + env(safe-area-inset-bottom));background:#f2f8f5;border:1px solid #c4d9d6;border-radius:24px;max-width:460px;max-height:60dvh;margin:0 auto;padding:20px;display:block;position:fixed;overflow:auto;box-shadow:0 12px 48px #202d3633}.ios-install-heading{align-items:center;gap:12px;padding-right:16px;display:flex}.ios-install-heading strong{font-size:16px;line-height:1.5;display:block}.ios-install-eyebrow{font-size:11px}.ios-install-close{width:40px;height:40px;color:var(--brand);background:0 0;border-radius:50%;place-items:center;display:grid;position:absolute;top:4px;right:4px}.ios-install-steps{background:var(--surface);border-radius:14px;margin:12px 0;padding:12px 14px;list-style:none}.ios-install-steps li{align-items:center;gap:10px;padding:5px 0;font-size:13px;display:flex}.ios-install-steps svg{flex-shrink:0}.ios-install-steps strong{font-size:13px}.ios-install>.text-button{min-height:36px;margin-left:auto;padding:4px 12px;display:block}.ios-install>p{color:var(--muted);font-size:11px}@media (prefers-reduced-motion:no-preference){button,a,.invite-back{transition:background-color .16s,color .16s,box-shadow .16s,border-color .16s,opacity .16s,transform .16s}nav button,.view-switch button,.kind-switch button,.segments button,.category-shortcuts button,.calendar-grid button{transition:background-color .16s,color .16s,transform .16s}progress::-webkit-progress-value{transition:width .22s}progress::-moz-progress-bar{transition:width .22s}.bar-pair span{transition:height .22s}.home-amount,.big-amount,.analysis-hero>strong{transition:color .18s}button:active:not(:disabled),.invite-back:active,nav button:active:not(:disabled){transform:scale(.98)}@keyframes pane-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes notice-in{0%{opacity:0;transform:translate(-50%)translateY(8px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@keyframes notice-in-end{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-in{0%{opacity:.7;transform:translateY(10px)}to{opacity:1;transform:none}}.pane{animation:.2s ease-out pane-in}.notice{animation:.2s ease-out notice-in}.welcome .notice,.landing .notice{animation:.18s ease-out fade-in}.landing,.welcome,.onboarding,.connection-state{animation:.22s ease-out fade-in}.filter-backdrop,.receipt-viewer{animation:.16s ease-out fade-in}.filter-panel,.copy-confirm,.delete-confirm,.ios-install,.avatar-crop-panel{animation:.2s ease-out sheet-in}.avatar-crop{animation:.16s ease-out fade-in}}@media (prefers-reduced-motion:no-preference) and (min-width:1000px){.shell .notice{animation-name:notice-in-end}nav button:active:not(:disabled){transform:scale(.99)}}.bulk-rows{flex-direction:column;gap:12px;margin:12px 0;display:flex}.bulk-row{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:1fr 1fr;gap:0 12px;margin:0;padding:16px;display:grid}.bulk-row label{margin:8px 0}.bulk-row-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.bulk-preview{background:var(--brand-soft);color:var(--brand);border-radius:16px;margin:12px 0;padding:16px}.bulk-entry .notice{width:auto;box-shadow:none;margin:8px 0;position:static;transform:none}@media (min-width:800px){.bulk-row{grid-template-columns:140px 120px 1fr 1fr 1fr auto}.bulk-row-actions{flex-direction:column;grid-column:auto;justify-content:center;margin:0}}.add-choice{flex-direction:column;gap:12px;margin-top:16px;display:flex}.add-choice-card{background:var(--surface);color:var(--ink);text-align:left;border-radius:20px;flex-direction:column;align-items:flex-start;gap:4px;min-height:88px;margin:0;padding:20px;display:flex;position:relative}.add-choice-card strong{font-size:16px}.add-choice-card small{color:var(--muted);font-size:12px}.add-choice-card svg{color:var(--brand);margin-bottom:4px}.add-choice-card input{opacity:0;cursor:pointer;font-size:16px;position:absolute;inset:0}.add-choice-scan{background:var(--brand-soft);color:var(--brand);border-radius:16px;margin:12px 0;padding:16px;font-size:14px}.receipt-field{flex-direction:column;gap:8px;margin:16px 0;display:flex}.receipt-field>span{color:var(--muted);font-size:12px}.receipt{background:var(--surface);border-radius:12px;max-width:100%;height:auto}.receipt-thumbs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.receipt-thumb{flex-direction:column;gap:4px;margin:0;display:flex}.receipt-thumb .receipt{width:100%}.receipt-open{text-align:left;cursor:zoom-in;background:0 0;border-radius:12px;width:100%;padding:0;display:block}.receipt-open .receipt{width:100%;display:block}.receipt-viewer{z-index:40;background:#202d36f2;flex-direction:column;display:flex;position:fixed;inset:0}.receipt-viewer-bar{color:#fff;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:8px 12px;display:flex}.receipt-viewer-bar .icon-button{color:#fff}.receipt-viewer-bar .icon-button:hover{background:#fff2}.receipt-viewer-stage{min-height:0;padding:8px 12px calc(24px + env(safe-area-inset-bottom));flex:1;justify-content:center;align-items:flex-start;gap:8px;display:flex;overflow:auto}.receipt-viewer-image{background:var(--surface);border-radius:12px;width:min(100%,920px);height:auto}.receipt-viewer-nav{color:#fff;background:#fff2;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid;position:sticky;top:42vh}.receipt-viewer-nav:disabled{opacity:.3}.receipt-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.receipt-pick{background:var(--brand-soft);min-height:44px;color:var(--brand);border-radius:24px;justify-content:center;align-items:center;padding:12px;font-size:14px;font-weight:700;display:flex;position:relative}.receipt-pick input{opacity:0;cursor:pointer;font-size:16px;position:absolute;inset:0}.avatar.avatar-photo{object-fit:cover;background:var(--line);border-radius:50%;padding:0}.avatar.avatar-preset{background:0 0;border-radius:50%;padding:0;overflow:hidden}.avatar.avatar-preset svg{width:100%;height:100%;display:block}.header-actions .avatar{width:28px;height:28px;font-size:12px}.profile-setup{max-width:520px;margin:0 auto}.profile-preview{justify-content:center;margin:16px 0;display:flex}.avatar-picker{border:0;margin:16px 0;padding:0}.avatar-picker legend{color:var(--muted);margin-bottom:8px;font-size:12px}.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.avatar-grid button{aspect-ratio:1;background:0 0;border-radius:50%;padding:0;box-shadow:0 0 0 2px #0000}.avatar-grid button.selected{box-shadow:0 0 0 3px var(--brand)}.avatar-grid svg{width:100%;height:100%;display:block}.avatar-photo-actions{margin-top:12px}.avatar-crop{z-index:30;background:var(--scrim);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.avatar-crop-panel{background:var(--canvas);border-radius:24px;width:min(100%,420px);max-height:90vh;padding:24px;overflow:auto}.avatar-crop-panel h2{margin:0 0 8px}.avatar-crop-stage{aspect-ratio:1;background:var(--crop-stage);touch-action:none;cursor:grab;border-radius:50%;justify-content:center;align-items:center;width:280px;max-width:100%;height:280px;margin:16px auto;display:flex;position:relative;overflow:hidden}.avatar-crop-stage img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:none;position:absolute;top:50%;left:50%}.avatar-zoom{margin:12px 0}@media (max-width:600px){.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.avatar-crop-stage{width:min(280px,100vw - 80px);height:auto}}.theme-picker h2{margin-top:0}.theme-options{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 4px;display:grid}.theme-option{border:1px solid var(--line);background:var(--canvas);color:var(--ink);text-align:left;border-radius:16px;flex-direction:column;gap:10px;padding:14px;display:flex}.theme-option.selected{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.theme-swatch{border-radius:10px;height:36px;display:flex;overflow:hidden}.theme-swatch>span{flex:1}.theme-swatch>span:first-child{flex:1.5}.theme-copy{flex-direction:column;gap:2px;display:flex}.theme-copy strong{font-size:14px}.theme-copy small{color:var(--muted);font-size:12px}.donut>div{background:var(--surface)}html[data-theme=night] nav{background:var(--surface);border-top-color:var(--line)}html[data-theme=night] .ios-install{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:0 12px 48px #0006}html[data-theme=night] ::placeholder{color:var(--muted);opacity:1}html[data-theme=night] .filter-panel,html[data-theme=night] .avatar-crop-panel{border:1px solid var(--line)}html[data-theme=pop] .brand,html[data-theme=pop] .landing .landing-wordmark{background:linear-gradient(90deg,var(--pop-pink),var(--pop-orange) 30%,#f5b400 48%,var(--pop-green) 66%,var(--pop-blue) 83%,var(--pop-purple));color:#0000;-webkit-background-clip:text;background-clip:text;font-weight:800}html[data-theme=pop] .primary{box-shadow:0 4px #b8175a}html[data-theme=pop] .primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #b8175a}html[data-theme=pop] .secondary{background:var(--pop-blue-soft);color:var(--pop-blue-ink)}html[data-theme=pop] .recurring-badge{background:var(--pop-purple-soft);color:var(--pop-purple-ink)}html[data-theme=pop] progress::-webkit-progress-value{background:linear-gradient(90deg,var(--pop-pink),var(--pop-orange))}html[data-theme=pop] progress::-moz-progress-bar{background:linear-gradient(90deg,var(--pop-pink),var(--pop-orange))}html[data-theme=pop] nav{background:#fff}html[data-theme=pop] nav button{background:0 0}html[data-theme=pop] nav .nav-home{--hue:var(--pop-blue);--hue-ink:var(--pop-blue-ink);--hue-soft:var(--pop-blue-soft)}html[data-theme=pop] nav .nav-ledger{--hue:var(--pop-orange);--hue-ink:var(--pop-orange-ink);--hue-soft:var(--pop-orange-soft)}html[data-theme=pop] nav .nav-insights{--hue:var(--pop-green);--hue-ink:var(--pop-green-ink);--hue-soft:var(--pop-green-soft)}html[data-theme=pop] nav .nav-family{--hue:var(--pop-purple);--hue-ink:var(--pop-purple-ink);--hue-soft:var(--pop-purple-soft)}html[data-theme=pop] nav button:not(.add-nav) svg{color:var(--hue)}html[data-theme=pop] nav button.active:not(.add-nav){background:var(--hue-soft);color:var(--hue-ink)}html[data-theme=pop] nav button.active:not(.add-nav) svg{color:var(--hue-ink)}html[data-theme=pop] nav button.add-nav{background:var(--brand);color:#fff;box-shadow:0 3px #b8175a}@media (min-width:1000px){html[data-theme=pop] .shell>nav{background:var(--surface)}html[data-theme=pop] .shell>nav button:not(.add-nav){background:var(--hue-soft);color:var(--hue-ink)}html[data-theme=pop] .shell>nav button.active:not(.add-nav){box-shadow:inset 0 0 0 2px var(--hue)}}html[data-theme=pop] .month-picker .month-prev,html[data-theme=pop] .month-picker .month-next{background:var(--pop-yellow);color:var(--ink)}html[data-theme=pop] .month-picker .month-prev:disabled,html[data-theme=pop] .month-picker .month-next:disabled{background:var(--surface);color:var(--muted)}html[data-theme=pop] .view-switch button:first-child{--hue:#e8337a}html[data-theme=pop] .view-switch button:nth-child(2){--hue:#2f6bff}html[data-theme=pop] .view-switch button:nth-child(3){--hue:#8b5cf6}html[data-theme=pop] .view-switch button{color:var(--ink)}html[data-theme=pop] .view-switch button svg{color:var(--hue)}html[data-theme=pop] .view-switch button.active{background:var(--hue);color:#fff}html[data-theme=pop] .view-switch button.active svg{color:#fff}html[data-theme=pop] .kind-switch button:first-child{--hue:#2f6bff}html[data-theme=pop] .kind-switch button:nth-child(2){--hue:#e8337a}html[data-theme=pop] .kind-switch button:nth-child(3){--hue:#0b8a66}html[data-theme=pop] .kind-switch button{color:var(--ink)}html[data-theme=pop] .kind-switch button.active{background:var(--hue);color:#fff}html[data-theme=pop] .editor .segments button{color:var(--ink)}html[data-theme=pop] .editor .segments button.selected{color:#fff;background:#e8337a}html[data-theme=pop] .editor .segments button:nth-child(2).selected{background:#0b8a66}html[data-theme=pop] [data-category=食費]{--cat:#ff7a1a;--cat-soft:#fed;--cat-ink:#c2560a}html[data-theme=pop] [data-category=日用品]{--cat:#16c79a;--cat-soft:#dcf7ee;--cat-ink:#0b8a66}html[data-theme=pop] [data-category=電気]{--cat:#f5b400;--cat-soft:#fff4cf;--cat-ink:#8f6200}html[data-theme=pop] [data-category=水道]{--cat:#3d7bff;--cat-soft:#e5edff;--cat-ink:#2458d6}html[data-theme=pop] [data-category=ガス]{--cat:#ff5a4f;--cat-soft:#ffe4e1;--cat-ink:#c9362c}html[data-theme=pop] [data-category=住居]{--cat:#8b5cf6;--cat-soft:#efe7ff;--cat-ink:#6b3fd6}html[data-theme=pop] [data-category=交通]{--cat:#0fb5d6;--cat-soft:#dcf5fb;--cat-ink:#0a7f99}html[data-theme=pop] [data-category=医療]{--cat:#ff4f8b;--cat-soft:#ffe5ef;--cat-ink:#d61f66}html[data-theme=pop] [data-category=通信費]{--cat:#6366f1;--cat-soft:#eef0ff;--cat-ink:#4338ca}html[data-theme=pop] [data-category=教養・娯楽]{--cat:#d946ef;--cat-soft:#fae8ff;--cat-ink:#a21caf}html[data-theme=pop] [data-category=給与]{--cat:#22c55e;--cat-soft:#dcfce7;--cat-ink:#15803d}html[data-theme=pop] [data-category=その他]{--cat:#8a8fa3;--cat-soft:#eceef4;--cat-ink:#5b6075}html[data-theme=pop] .category-icon[data-category]{background:var(--cat-soft);color:var(--cat-ink)}html[data-theme=pop] .category-shortcuts button[data-category]{color:var(--cat-ink)}html[data-theme=pop] .category-shortcuts button[data-category].selected{background:var(--cat-soft);border-color:var(--cat);color:var(--cat-ink)}html[data-theme=pop] .home-metrics>.home-expense{color:#fff;background:linear-gradient(135deg,#ff4f8b 0%,#e8337a 45%,#8b5cf6 100%)}html[data-theme=pop] .home-expense .home-metric-label,html[data-theme=pop] .home-expense .home-metric-label>span:last-child,html[data-theme=pop] .home-expense p,html[data-theme=pop] .home-expense small{color:#ffffffe6}html[data-theme=pop] .home-expense progress{background:#ffffff4d}html[data-theme=pop] .home-expense progress::-webkit-progress-bar{background:#ffffff4d}html[data-theme=pop] .home-expense progress::-webkit-progress-value{background:#fff}html[data-theme=pop] .home-expense progress::-moz-progress-bar{background:#fff}html[data-theme=pop] .home-metrics>.home-income{background:var(--pop-green-soft)}html[data-theme=pop] .home-income .home-amount{color:var(--pop-green-ink)}html[data-theme=pop] .home-metrics>.home-balance{background:var(--pop-blue-soft)}html[data-theme=pop] .home-balance .home-amount{color:var(--pop-blue-ink)}html[data-theme=pop] .home-utility.utility-0{background:var(--pop-yellow-soft)}html[data-theme=pop] .home-utility.utility-0 svg{color:#f0a500}html[data-theme=pop] .home-utility.utility-1{background:var(--pop-blue-soft)}html[data-theme=pop] .home-utility.utility-1 svg{color:var(--pop-blue)}html[data-theme=pop] .home-utility.utility-2{background:var(--pop-orange-soft)}html[data-theme=pop] .home-utility.utility-2 svg{color:var(--pop-orange)}html[data-theme=pop] .weekdays span:nth-child(6),html[data-theme=pop] .calendar-grid>:nth-child(7n+6){color:var(--pop-blue-ink)}html[data-theme=pop] .weekdays span:nth-child(7),html[data-theme=pop] .calendar-grid>:nth-child(7n){color:var(--pop-pink-ink)}html[data-theme=pop] .calendar-grid>button.selected{background:var(--brand);color:#fff}html[data-theme=pop] .calendar-notice{background:var(--pop-yellow-soft);color:var(--pop-yellow-ink)}html[data-theme=pop] .analysis-hero{color:#fff;background:linear-gradient(135deg,#8b5cf6,#2f6bff)}html[data-theme=pop] .analysis-hero>span,html[data-theme=pop] .analysis-hero>small{color:#ffffffe6}html[data-theme=pop] .analysis-hero .positive,html[data-theme=pop] .analysis-hero .negative{color:#fff}html[data-theme=pop] .income-bar{background:var(--pop-green)}html[data-theme=pop] .expense-bar{background:var(--pop-pink)}html[data-theme=pop] .chart-key>span:first-child{color:var(--pop-green-ink)}html[data-theme=pop] .chart-key>span:last-child{color:var(--pop-pink-ink)}html[data-theme=pop] .add-choice-card:nth-child(2){background:var(--pop-pink-soft)}html[data-theme=pop] .add-choice-card:nth-child(2) svg{color:var(--pop-pink)}html[data-theme=pop] .add-choice-card:nth-child(3){background:var(--pop-orange-soft)}html[data-theme=pop] .add-choice-card:nth-child(3) svg{color:var(--pop-orange)}html[data-theme=pop] .add-choice-card:nth-child(4){background:var(--pop-blue-soft)}html[data-theme=pop] .add-choice-card:nth-child(4) svg{color:var(--pop-blue)}html[data-theme=pop] .add-choice-card:nth-child(5){background:var(--pop-green-soft)}html[data-theme=pop] .add-choice-card:nth-child(5) svg{color:var(--pop-green)}html[data-theme=pop] .add-choice-card:nth-child(6){background:var(--pop-purple-soft)}html[data-theme=pop] .add-choice-card:nth-child(6) svg{color:var(--pop-purple)}html[data-theme=pop] .add-choice-scan{background:var(--pop-yellow-soft);color:var(--pop-yellow-ink)}.ai-choice{background:var(--surface);border:2px solid var(--brand);grid-column:1/-1}.ai-intro{align-items:flex-start;gap:12px;margin:12px 0;display:flex}.ai-intro h3{margin:0 0 6px}.ai-chat{flex-direction:column;gap:12px;max-height:360px;padding:12px 0;display:flex;overflow:auto}.ai-message{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface,#f5f5f5);border:1px solid var(--line);border-radius:16px;max-width:92%;padding:14px 16px;line-height:1.7}.ai-message.user{background:var(--brand-soft);align-self:flex-end}.ai-composer{margin:16px 0}.ai-composer textarea{resize:vertical;width:100%;min-height:110px}.ai-composer-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.ai-composer-actions button,.ai-file-button{justify-content:center;align-items:center;gap:8px;display:flex}.ai-file-button{cursor:pointer;margin:0;position:relative}.ai-file-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.ai-attachments{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.ai-attachment{border:1px solid var(--line);border-radius:12px;max-width:180px;padding:10px;position:relative}.ai-attachment a{color:inherit;overflow-wrap:anywhere;flex-direction:column;gap:6px;text-decoration:none;display:flex}.ai-attachment img{object-fit:contain;width:100%;height:100px}.ai-attachment button{position:absolute;top:2px;right:2px}.ai-draft{border:1px solid var(--line);border-radius:16px;min-width:0;margin:16px 0;padding:16px}.ai-draft legend{padding:0 8px;font-weight:700}.ai-draft.excluded{opacity:.65}.ai-include{align-items:center;gap:8px;display:flex}.ai-include input{width:auto}.ai-question{margin:14px 0}.ai-question strong{margin-bottom:8px;display:block}.ai-options{flex-wrap:wrap;gap:8px;display:flex}.ai-options .secondary{width:auto;padding:8px 12px;font-size:13px}.ai-options button[aria-pressed=true]{outline:2px solid var(--brand);background:var(--brand-soft)}.ai-duplicate{color:#5d430d;background:#fff7e5;border:1px solid #e8c57e;border-radius:12px;margin:14px 0;padding:14px}.ai-save-bar{border-top:1px solid var(--line);padding-top:16px}.ai-save-bar>strong{margin-bottom:12px;display:block}.ai-save-bar>.primary{width:100%}@media (max-width:480px){.ai-composer-actions{flex-wrap:wrap;align-items:stretch}.ai-composer-actions>*{flex:1}.ai-draft{padding:12px}.ai-message{max-width:100%}}.ai-entry .notice{width:auto;max-width:none;box-shadow:none;margin:12px 0;position:static;transform:none}
