:root{--brand:#397b83;--canvas:#f7f8f5;--surface:#fff;--ink:#202d36;--muted:#697c85;--line:#dee6e3;--sage:#56856b;--brand-soft:#e7f0ee}*{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:#fff;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)}.negative{color:#ac4e3b}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:#fcece6}.utility-1{background:#e5f3fa}.utility-2{background:#fbf0de}.utility img{width:26px;height:26px}.entry-list{flex-direction:column;gap:10px;display:flex}.entry{text-align:left;width:100%;color:var(--ink);background:#fff;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{color:var(--sage);background:#e6f0e8;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:#ac4e3b}.primary,.secondary,.danger{border-radius:24px;width:100%;padding:14px 20px;font-size:14px;font-weight:700}.primary{background:var(--brand);color:#fff}.primary:hover{background:#306b72}.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{border:1px solid var(--line);z-index:5;background:#fff;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{color:var(--muted);background:#fff;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:#fff}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:#fff;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{color:#2b5960;overflow-wrap:anywhere;background:#e7f0ee;border-radius:12px;padding:12px 16px;font-size:14px}.demo-bar{color:#795b27;background:#fbf0de}.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:#fff;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:#fff;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}}@media (prefers-reduced-motion:no-preference){button{transition:background .15s,box-shadow .15s}}.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{display:none}.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{color:#795b27;background:#fbf0de;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{color:#795b27;width:100%}.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:#fff}.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{text-align:left;width:100%;color:var(--ink);background:#fff;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{color:var(--muted);text-align:center;background:#fff;border-radius:16px;padding:30px 16px;font-size:13px}.month-calendar{background:#fff;border-radius:16px;margin:12px 0;padding:12px 8px}.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);background:0 0;border-radius:50%;place-items:center;font-size:12px;display:grid;position:relative}.calendar-grid button.selected{background:var(--brand);color:#fff}.calendar-grid button.has-entry:not(.selected):after{content:"";background:var(--brand);border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px}.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:#202d3655;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:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.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;align-items:center;gap:4px;font-size:12px;display:flex}.recurring-form{margin-top:16px}.recurring-form h2{margin-top:0}@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{background:var(--surface);border-radius:16px;align-items:center;gap:6px;max-width:700px;margin:12px auto 16px;padding:10px 12px;display:flex}.month-picker label{flex:1;margin:0}.month-picker input{background:0 0;border:0;padding:8px;font-size:14px;font-weight:500}.month-picker button{background:var(--brand-soft);color:var(--brand);border-radius:50%;flex-shrink:0;width:36px;height:36px;font-size:24px}.month-picker .this-month{border-radius:20px;width:48px;font-size:12px}.month-picker button: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{color:var(--muted);border:1px solid var(--line);background:#fff;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{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:#c96a58}.utility-1 svg{color:#3598bd}.utility-2 svg{color:#a97225}.entry-detail strong{font-weight:500}.analysis-row{background:#fff;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{color:var(--brand);background:#fff;border-radius:24px;font-size:12px}.editor .segments button.selected{background:var(--brand);color:#fff}.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:#fff}.family-grid .member strong{font-size:14px}.family-grid .small{font-size:12px}nav{border-top:1px solid #dee6e370}nav button{font-size:10px}.screen-heading h2{font-size:20px}.analysis-view,.ledger-view,.recurring-view{max-width:100%}.month-picker{margin-bottom:12px;padding:8px}}.spending-chart{background:#fff;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:#fff;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:#fff;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:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:8px;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-month-actions{flex-shrink:0;align-items:center;display:flex}.home-month-actions button{color:var(--brand);background:0 0;min-height:36px;padding:4px;font-size:12px}.home-month-actions button:not(:first-child){min-width:26px;font-size:20px}.home-metrics{grid-template-columns:repeat(3,1fr);gap:24px;display:grid}.home-metrics>section{background:#fff;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:#c96a58}.home-utility.utility-1 svg{color:#3598bd}.home-utility.utility-2 svg{color:#a97225}.home-breakdown-card{background:#fff;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{text-align:left;color:var(--ink);background:#fff;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;position:fixed;top:40px;left:max(24px,50vw - 696px)}.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:#fff}.home-family-row{display:none}.home-utility-cards{flex-direction:column}.home-utility{background:#fff;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-view>.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){.home-family-row{margin-bottom:20px;display:flex}.home-record:hover{background:var(--brand-soft)}}.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}.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:#fcece6;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 form{margin:16px 0 24px}.member-manager .text-button{flex-shrink:0}
