/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.sheet{overscroll-behavior:contain;overflow-y:auto;max-height:min(88dvh,720px)!important;padding:8px 20px calc(16px + env(safe-area-inset-bottom))!important}.sheet .kind-toggle button{padding:7px}.sheet label{margin:8px 0}.sheet .amount-input input{padding:3px 7px;font-size:28px}.sheet input,.sheet select{margin-top:4px;padding:9px}.sheet .primary{margin-top:5px;padding:12px;position:sticky;bottom:0}@media (width<=360px){.recurring-sub-fields{grid-template-columns:1fr 1fr}.recurring-sub-fields label:last-child{grid-column:1/-1}}:root{--ink:#17271f;--muted:#6e786f;--paper:#f6f2e9;--green:#1d5742;--mint:#dfe9dc;--coral:#ef795e;--line:#dcded5}*{box-sizing:border-box}body{color:var(--ink);-webkit-tap-highlight-color:transparent;background:#ddd9cf;margin:0;font-family:Avenir Next,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif}.shell{background:var(--paper);width:100%;max-width:480px;min-height:100dvh;margin:auto;padding:30px 22px 120px;position:relative;overflow:hidden}.top{justify-content:space-between;align-items:flex-start;display:flex}.eyebrow{letter-spacing:.2em;color:#788278;margin:0 0 8px;font-size:10px;font-weight:800}.top h1{letter-spacing:-.03em;margin:0;font-family:Georgia,Yu Mincho,serif;font-size:33px;line-height:1.2}.top h1 em{color:var(--green);font-style:normal}.avatar{width:44px;height:44px;color:var(--green);background:#e8ece2;border:1px solid #d4d8ce;border-radius:50%;font-weight:800}.tabs{background:#e9e8df;border-radius:13px;gap:7px;margin:26px 0 18px;padding:5px;display:flex}.tabs button{color:#7a817b;background:0 0;border:0;border-radius:9px;flex:1;padding:9px;font-weight:700}.tabs button.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #293b2914}.monthbar{justify-content:space-between;align-items:center;margin:5px 0 13px;display:flex}.monthbar button{color:var(--green);background:0 0;border:0;padding:0 15px;font-size:30px}.monthbar strong{font-size:15px}.balance-card{background:var(--green);color:#fff;border-radius:23px;padding:24px;box-shadow:0 15px 35px #1d57422e}.balance-card p{opacity:.7;margin:0 0 7px;font-size:12px}.balance-card>strong{letter-spacing:-.04em;font-family:Georgia,serif;font-size:37px}.meter{background:#ffffff30;border-radius:10px;height:5px;margin:22px 0 14px;overflow:hidden}.meter i{background:#ef8b6f;border-radius:10px;height:100%;display:block}.split{opacity:.85;justify-content:space-between;font-size:11px;display:flex}.split b{margin-top:3px;font-size:15px;display:block}.dates{grid-template-columns:1fr 1fr;gap:10px;margin:13px 0 25px;display:grid}.dates>div{background:#fff;border:1px solid #e7e5db;border-radius:15px;align-items:center;gap:10px;padding:13px;display:flex}.date-icon{color:var(--green);background:#dce9dc;border-radius:10px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.date-icon.coral{color:#b54f39;background:#fde3db}.dates p{margin:0;font-size:11px;font-weight:700}.dates small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.section-title{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.section-title h2{margin:0;font-family:Georgia,Yu Mincho,serif;font-size:21px}.section-title>span{color:var(--muted);font-size:11px}.list article{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:13px 0;display:flex}.badge{color:#786b3f;background:#ece9da;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.badge.income{color:var(--green);background:#dce9dc}.list article div{flex:1;min-width:0}.list article b{white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.list article small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.list article>strong{font-size:13px}.expense{color:#29352f}.income{color:var(--green)}.negative{color:var(--coral)!important}.empty{text-align:center;color:var(--muted);padding:35px 0;font-size:13px}.actions{z-index:5;background:linear-gradient(transparent,var(--paper) 25%);gap:10px;width:min(480px,100%);padding:14px 22px 22px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.actions button{border:0;border-radius:15px;padding:15px;font-weight:800}.receipt-btn{color:var(--green);background:#fff;flex:.8;box-shadow:0 7px 25px #1b251c20}.add-btn{background:var(--green);color:#fff;flex:1.2;box-shadow:0 7px 25px #1d57423b}.actions span{margin-right:4px;font-size:18px}.year-card,.recurring{background:#fff;border:1px solid #e5e2d8;border-radius:21px;padding:20px}.save-image{background:var(--mint);color:var(--green);border:0;border-radius:10px;padding:9px 11px;font-size:11px;font-weight:800}.year-head,.year-row{grid-template-columns:.45fr 1fr 1fr 1fr;align-items:center;gap:6px;display:grid}.year-head{color:var(--muted);padding:12px 0 7px;font-size:9px}.year-row{border-top:1px solid var(--line);text-align:right;padding:13px 0;font-size:10px}.year-head span{text-align:right}.year-head span:first-child,.year-row b{text-align:left}.year-row strong{font-size:10px}.scrim{z-index:10;background:#13231970;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--paper);border-radius:25px 25px 0 0;width:min(480px,100%);padding:10px 23px 30px;animation:.25s up}.handle{background:#c8cac2;border-radius:3px;width:38px;height:4px;margin:0 auto 18px}.close{color:var(--muted);background:0 0;border:0;font-size:25px}.kind-toggle{background:#e6e5dc;border-radius:12px;margin-bottom:15px;padding:4px;display:flex}.kind-toggle button{color:var(--muted);background:0 0;border:0;border-radius:9px;flex:1;padding:9px;font-weight:700}.kind-toggle .active{color:var(--green);background:#fff}label{color:var(--muted);margin:12px 0;font-size:11px;font-weight:800;display:block}.amount-input{border-bottom:2px solid var(--green);color:var(--green);align-items:center;display:flex}.amount-input span{font-size:25px}.amount-input input{width:100%;color:var(--ink);background:0 0;border:0;padding:7px;font-family:Georgia,serif;font-size:34px}input,select{width:100%;color:var(--ink);background:#fff;border:1px solid #d9dbd2;border-radius:10px;margin-top:5px;padding:11px;font-size:14px}.two{grid-template-columns:1.25fr 1fr;gap:10px;display:grid}.check{align-items:center;gap:8px;display:flex}.check input{width:auto;margin:0}.primary{background:var(--green);color:#fff;border:0;border-radius:14px;width:100%;margin-top:8px;padding:15px;font-weight:800}.toast{z-index:20;color:#fff;white-space:nowrap;background:#17271f;border-radius:20px;padding:12px 18px;font-size:12px;position:fixed;bottom:90px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #0003}@keyframes up{0%{transform:translateY(100%)}to{transform:none}}@media (width>=481px){.shell{border-radius:28px;min-height:calc(100dvh - 40px);margin:20px auto;box-shadow:0 20px 70px #151d1930}.actions{border-radius:0 0 28px 28px;bottom:20px}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.editable{cursor:pointer;border-radius:11px;transition:background .15s}.editable:active,.editable:focus-visible{background:#ecebe2;outline:none}.edit-mark{color:#a3aaa3;margin-left:-4px;font-size:22px}.delete-btn{color:#c44f3c;background:0 0;border:0;width:100%;margin-top:4px;padding:14px;font-weight:800}.category-picker{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.category-picker button{color:#1d5742;white-space:nowrap;background:#e6eee4;border:1px solid #bfcbbf;border-radius:10px;height:42px;padding:0 12px;font-size:11px;font-weight:800}.category-scrim{z-index:12;background:#1323198c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.category-dialog{background:#f6f2e9;border-radius:24px;width:min(390px,100%);padding:25px;animation:.2s category-in;box-shadow:0 24px 70px #101b153d}.category-symbol{color:#1d5742;background:#dfe9dc;border-radius:14px;place-items:center;width:44px;height:44px;margin-bottom:16px;font-size:25px;font-weight:700;display:grid}.category-dialog h2{color:#17271f;margin:0 0 8px;font-family:Georgia,Yu Mincho,serif;font-size:24px}.category-help{color:#6e786f;margin:0 0 18px;font-size:12px;line-height:1.65}.category-dialog label{margin:0 0 20px}.category-dialog input{border:2px solid #cad5ca;height:48px;padding:12px 14px}.category-dialog input:focus{border-color:#1d5742;outline:0;box-shadow:0 0 0 3px #1d574219}.category-dialog-actions{grid-template-columns:1fr 1.35fr;gap:9px;display:grid}.category-dialog-actions button{border:0;border-radius:13px;padding:14px;font-weight:800}.category-cancel{color:#687269;background:#e7e6de}.category-add{color:#fff;background:#1d5742;box-shadow:0 7px 18px #1d574228}.category-add:disabled{opacity:.4;box-shadow:none}@keyframes category-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}.badge.saving{color:#4a568b;background:#e1e4f3}.saving{color:#4a568b!important}.savings-view{gap:14px;display:grid}.savings-hero{color:#fff;background:linear-gradient(145deg,#273b31,#1d5742);border-radius:23px;padding:23px;box-shadow:0 15px 35px #1d57422e}.savings-hero h2{margin:0;font-family:Georgia,Yu Mincho,serif;font-size:20px}.savings-hero .eyebrow{color:#b9cdbf}.savings-hero>strong{letter-spacing:-.04em;margin:22px 0 18px;font-family:Georgia,serif;font-size:38px;display:block}.saving-add{color:#fff;background:#ffffff16;border:1px solid #ffffff38;border-radius:11px;padding:10px 12px;font-size:11px;font-weight:800}.saving-progress{background:#ffffff24;border-radius:20px;height:8px;overflow:hidden}.saving-progress i{background:#e9c67b;border-radius:20px;height:100%;display:block}.saving-meta{color:#dbe4dc;justify-content:space-between;margin-top:9px;font-size:11px;display:flex}.goal-card{background:#fff;border:1px solid #e5e2d8;border-radius:17px;justify-content:space-between;align-items:center;padding:17px 19px;display:flex}.goal-card p{color:#6e786f;margin:0 0 4px;font-size:10px;font-weight:800}.goal-card strong{font-family:Georgia,serif;font-size:22px}.goal-edit{color:#1d5742;background:#dfe9dc;border:0;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:800}.goal-editor{align-items:center;gap:5px;display:flex}.goal-editor input{width:135px;margin:0;padding:8px}.goal-editor button{color:#fff;background:#1d5742;border:0;border-radius:8px;padding:9px;font-size:11px;font-weight:800}.savings-list{background:#fff;border:1px solid #e5e2d8;border-radius:18px;padding:18px}.savings-list .empty small{margin-top:8px;display:block}.savings-list .section-title>span{text-align:right;max-width:150px}.tabs button{padding-left:4px;padding-right:4px;font-size:12px}.budget-presets{background:#fff;border:1px solid #e5e2d8;border-radius:17px;margin-top:13px;padding:16px}.preset-heading{justify-content:space-between;align-items:end;margin-bottom:12px;display:flex}.preset-heading h2,.calendar-head h2{margin:0;font-family:Georgia,Yu Mincho,serif;font-size:18px}.preset-heading small{color:#788278;font-size:9px}.preset-inputs{grid-template-columns:1fr 1fr;gap:9px;display:grid}.preset-inputs label{background:#f3f1e9;border-radius:11px;margin:0;padding:9px;font-size:10px}.preset-inputs label>span{border-radius:50%;width:7px;height:7px;margin-right:3px;display:inline-block}.weekday-dot{background:#6f927b}.weekend-dot{background:#ef795e}.preset-inputs label div{color:#6e786f;align-items:center;font-size:13px;display:flex}.preset-inputs input{background:0 0;border:0;margin:0;padding:3px 5px;font-size:16px;font-weight:800}.budget-calendar{background:#fff;border:1px solid #e5e2d8;border-radius:20px;margin-top:13px;padding:16px}.calendar-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.calendar-head p{color:#788278;margin:4px 0 13px;font-size:9px}.calendar-legend{color:#788278;gap:7px;margin-top:4px;font-size:8px;display:flex}.calendar-legend span{align-items:center;gap:3px;display:flex}.calendar-legend i{border-radius:50%;width:6px;height:6px}.plan-legend{background:#547761}.actual-legend{background:#ef795e}.week-labels,.calendar-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.week-labels span{text-align:center;color:#899089;padding-bottom:3px;font-size:8px}.week-labels span:first-child,.week-labels span:last-child{color:#d2634c}.calendar-day{background:#f5f4ee;border:0;border-radius:8px;flex-direction:column;align-items:flex-start;min-width:0;height:58px;padding:5px 3px;display:flex;position:relative;overflow:hidden}.calendar-day.weekend{background:#fbf1ed}.calendar-day.today{box-shadow:inset 0 0 0 2px #1d5742}.calendar-day b{font-size:10px}.calendar-day span{white-space:nowrap;text-overflow:clip;max-width:100%;font-size:8px;line-height:1.45;display:block;overflow:hidden}.day-plan{color:#547761}.day-plan:before{content:"¥"}.day-actual{color:#d15d47;letter-spacing:-.04em;font-weight:800}.override-mark{background:#e6ad4e;border-radius:50%;width:4px;height:4px;position:absolute;top:5px;right:5px}.calendar-blank{height:58px}.plan-dialog{max-width:350px}.plan-amount-input{color:#1d5742;border-bottom:2px solid #1d5742;align-items:center;font-size:22px;display:flex}.plan-amount-input input{background:0 0;padding:8px;font-family:Georgia,serif;font-size:30px;box-shadow:none!important;border:0!important}.plan-actions{grid-template-columns:1fr 1.35fr;gap:9px;display:grid}.plan-actions button{border:0;border-radius:13px;padding:14px;font-weight:800}.reset-plan{color:#b94c37;background:#f7e7e2}.calendar-day .day-plan{color:#3f674f;background:#e4eee6;border-radius:3px;padding:0 2px}.calendar-day .day-plan:before{content:"予 "}.calendar-day .day-actual{color:#a93f2b;background:#f8dfd8;border-radius:3px;padding:0 2px}.calendar-day .day-actual-empty{color:#bd5943;background:#fff1ed;border:1px dashed #dfa18f;border-radius:3px;padding:0 2px;font-weight:800}.comparison-title{margin:0 0 14px!important}.budget-comparison{grid-template-columns:1fr 1px 1fr;align-items:center;gap:16px;display:grid}.budget-comparison>i{background:#ffffff28;width:1px;height:42px}.budget-comparison span{color:#c6d8ce;margin-bottom:4px;font-size:10px;display:block}.budget-comparison strong{letter-spacing:-.04em;white-space:nowrap;font-family:Georgia,Yu Mincho,serif;font-size:23px;display:block}.budget-difference{color:#d8e4dd;background:#ffffff15;border-radius:20px;padding:5px 9px;margin:12px 0 0!important;font-size:9px!important;display:inline-block!important}.budget-difference b{font-size:10px}.budget-difference.over{color:#ffd5ca;background:#ef795e28}.balance-card .meter{margin:13px 0 10px}.available-money{background:#ffffff13;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:2px 7px;margin-bottom:11px;padding:8px 10px;display:grid}.available-money span{color:#c6d8ce;font-size:9px}.available-money strong{font-size:16px}.available-money small{color:#a9c1b3;grid-column:1/-1;font-size:7px}.month-comparisons{border-top:1px solid #ffffff1f;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:12px;display:grid}.month-comparisons>div{min-width:0}.month-comparisons span{color:#bcd0c4;font-size:9px;display:block}.month-comparisons b{white-space:nowrap;margin:3px 0 4px;font-size:13px;display:block}.month-comparisons small{color:#dce7df;white-space:nowrap;background:#ffffff12;border-radius:10px;padding:3px 5px;font-size:7px;display:inline-block}.month-comparisons small.up,.month-comparisons small.calm{color:#bde5c9}.month-comparisons small.down,.month-comparisons small.warning{color:#ffc3b5}.day-actual:before{content:"使 "}.day-plan.unset:before{content:""}.day-plan.unset{color:#a2aaa3;font-size:7px}.day-credit{font-weight:800;color:#5968a5!important}.day-credit:before{content:"カ "}.recent-toggle{width:100%;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.recent-toggle .section-title{margin-bottom:10px}.recent-list.closed{padding-bottom:4px}.credit-option{background:#eeeee7;border-radius:12px;margin:12px 0;padding:2px 11px}.credit-check{color:#334c40}.credit-select-row{grid-template-columns:1fr auto;align-items:center;gap:8px;padding:0 0 10px;display:grid}.credit-select-row select{margin:0}.credit-select-row small{color:#66736b;font-size:9px}.credit-settings{background:#fff;border:1px solid #e5e2d8;border-radius:21px;margin-top:14px;padding:18px}.settings-help{color:#6e786f;margin:-2px 0 14px;font-size:10px;line-height:1.55}.credit-card-setting{border-top:1px solid #e4e5dc;grid-template-columns:1.3fr .8fr .8fr 26px;align-items:end;gap:6px;padding:10px 0;display:grid}.credit-card-setting label{margin:0;font-size:8px}.credit-card-setting input,.credit-card-setting select{margin:3px 0 0;padding:8px 6px;font-size:11px}.card-name{font-weight:800}.remove-card{color:#b94c37;background:#f5e4df;border:0;border-radius:8px;height:33px}.remove-card:disabled{opacity:.3}.business-note{color:#7a847c;margin-top:8px;font-size:9px;display:block}.day-detail-summary{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.day-detail-summary>div{background:#eeeee6;border-radius:11px;padding:10px}.day-detail-summary span{color:#788278;font-size:9px;display:block}.day-detail-summary b{margin-top:3px;font-size:14px;display:block}.day-details{border-top:1px solid #dedfd6;border-bottom:1px solid #dedfd6;max-height:150px;overflow:auto}.day-details>button{text-align:left;background:0 0;border:0;border-bottom:1px solid #e7e7df;justify-content:space-between;align-items:center;width:100%;padding:10px 2px;display:flex}.day-details>button span{font-size:11px;font-weight:800}.day-details>button small{color:#788278;margin-top:3px;font-size:8px;display:block}.day-details>button b{font-size:11px}.day-details>p{text-align:center;color:#8a918b;padding:10px;font-size:10px}.add-from-day{color:#1d5742;background:#dfe9dc;border:0;border-radius:11px;width:100%;margin:12px 0 3px;padding:11px;font-weight:800}.plan-dialog{max-height:90dvh;overflow:auto}.recurring-recent{background:#eeefe9;border:1px solid #dde0d7;border-radius:13px;margin-top:10px;overflow:hidden}.recurring-recent-toggle{text-align:left;color:#59645d;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:11px 12px;display:flex}.recurring-recent-toggle>span:first-child{flex-direction:column;gap:2px;display:flex}.recurring-recent-toggle b{font-size:11px}.recurring-recent-toggle small{color:#7b847e;font-size:8px}.recurring-recent-toggle>span:last-child{font-size:9px}.recurring-recent .recurring-entry{background:#fff;padding-left:10px;padding-right:10px}.recurring-recent.closed{margin-bottom:4px}.tutorial-scrim{z-index:30;pointer-events:none;background:0 0;padding:0;display:block;position:fixed;inset:0}.tutorial-card{pointer-events:auto;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));background:#f6f2e9;border-radius:20px;width:min(390px,100% - 28px);padding:18px;animation:none;position:absolute;transform:translate(-50%);box-shadow:0 18px 60px #06100b66}.tutorial-skip{top:13px;right:15px}.tutorial-card h2{margin:0 0 8px;font-size:20px}.tutorial-text{line-height:1.65}.tutorial-hint{margin:9px 0;padding:8px 10px;font-size:11px;font-weight:800}.tutorial-hint span{margin-right:4px;font-size:18px;animation:.8s ease-in-out infinite alternate tutorial-point;display:inline-block}.tutorial-dots{margin:9px 0}.tutorial-actions button{padding:11px}.tutorial-target{pointer-events:none;outline-offset:5px;animation:1s ease-in-out infinite alternate tutorial-pulse;z-index:31!important;border-radius:14px!important;outline:4px solid #efb54f!important;position:relative!important;box-shadow:0 0 0 9999px #14241bb8,0 0 0 9px #fff7!important}.actions:has(.tutorial-target){z-index:31}@keyframes tutorial-pulse{to{outline-offset:8px;outline-color:#fff}}@keyframes tutorial-point{to{transform:translateY(-4px)}}.tutorial-card-top{top:calc(18px + env(safe-area-inset-top));bottom:auto}.tutorial-scrim{z-index:32}.tutorial-target{pointer-events:auto}.backup-settings{background:#fff;border:1px solid #e5e2d8;border-radius:16px;margin-top:14px;padding:0;overflow:hidden}.backup-toggle{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:13px 15px;display:flex}.backup-toggle>span:nth-child(2){flex:1}.backup-toggle b,.backup-toggle small{display:block}.backup-toggle b{font-size:12px}.backup-toggle small{color:var(--muted);margin-top:3px;font-size:9px}.backup-icon{background:var(--mint);width:30px;height:30px;color:var(--green);border-radius:9px;place-items:center;font-size:16px;font-weight:900;display:grid}.backup-chevron{color:var(--muted);font-size:20px;transition:transform .2s}.backup-settings.open .backup-chevron{transform:rotate(180deg)}.backup-content{border-top:1px solid var(--line);padding:14px 15px 16px}.backup-content .settings-help{margin-top:0}.backup-actions{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 10px;display:grid}.backup-actions button{text-align:left;border:0;border-radius:12px;min-width:0;padding:11px}.backup-actions span{border-radius:7px;place-items:center;width:24px;height:24px;margin-right:6px;font-weight:900;display:inline-grid}.backup-actions b{font-size:11px}.backup-actions small{opacity:.7;margin:5px 0 0 30px;font-size:9px;display:block}.backup-export{background:var(--green);color:#fff}.backup-export span{background:#ffffff24}.backup-import{background:var(--mint);color:var(--green)}.backup-import span{background:#fff}.backup-settings .business-note{color:var(--muted);font-size:9px;line-height:1.6;display:block}.actions .add-btn{flex:1}.security-settings{background:#fff;border:1px solid #e5e2d8;border-radius:16px;margin-top:10px;overflow:hidden}.security-toggle{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:13px 15px;display:flex}.security-toggle>span:nth-child(2){flex:1}.security-toggle b,.security-toggle small{display:block}.security-toggle b{font-size:12px}.security-toggle small{color:var(--muted);margin-top:3px;font-size:9px}.security-icon{color:#a74732;background:#fde3db;border-radius:9px;place-items:center;width:30px;height:30px;font-size:11px;font-weight:900;display:grid}.security-chevron{color:var(--muted);font-size:20px;transition:transform .2s}.security-settings.open .security-chevron{transform:rotate(180deg)}.security-content{border-top:1px solid var(--line);padding:14px 15px 16px}.security-content .settings-help{margin-top:0}.security-primary,.security-secondary{border:0;border-radius:12px;width:100%;padding:12px;font-size:11px;font-weight:800}.security-primary{background:var(--green);color:#fff}.security-secondary{color:var(--muted);background:#eeeae2;margin-top:8px}.security-settings .business-note{color:var(--muted);margin-top:10px;font-size:9px;line-height:1.6;display:block}.lock-shell{background:var(--paper);place-items:center;min-height:100dvh;padding:28px;display:grid}.lock-card{text-align:center;background:#fff;border:1px solid #e5e2d8;border-radius:26px;width:min(360px,100%);padding:38px 25px;box-shadow:0 20px 60px #1d302220}.lock-mark{background:var(--green);color:#fff;border-radius:20px;place-items:center;width:62px;height:62px;margin:0 auto 22px;font-family:Georgia,serif;font-size:25px;font-weight:800;display:grid}.lock-card h1{margin:8px 0;font-family:Georgia,Yu Mincho,serif;font-size:26px}.lock-card>p:not(.eyebrow){color:var(--muted);margin:0 0 22px;font-size:12px;line-height:1.7}.lock-card button{background:var(--green);color:#fff;border:0;border-radius:14px;width:100%;padding:15px;font-weight:800}.lock-card small{color:var(--coral);margin-top:13px;font-size:10px;display:block}.sheet{overscroll-behavior:contain;max-height:min(92dvh,680px);padding:6px 16px calc(10px + env(safe-area-inset-bottom));overflow-y:auto}.scrim{transition:height .12s,top .12s}.sheet .handle{margin-bottom:3px}.sheet .section-title{margin-bottom:2px}.sheet .section-title h2{font-size:17px}.sheet .close{min-width:34px;min-height:34px}.sheet .kind-toggle{margin-bottom:3px;padding:2px}.sheet .kind-toggle button{min-height:32px;padding:3px;font-size:12px}.sheet label{margin:3px 0;font-size:9px}.sheet .amount-input span{font-size:21px}.sheet .amount-input input{min-height:36px;padding:0 6px;font-size:24px}.sheet input,.sheet select{min-height:36px;margin-top:2px;padding:5px 7px;font-size:16px}.sheet .two,.sheet .category-picker{gap:6px}.sheet .category-picker button{height:36px;padding:0 8px;font-size:9px}.sheet .credit-option{border-radius:9px;margin:4px 0;padding:0 8px}.sheet .check{min-height:32px;margin:2px 0;font-size:10px}.sheet .check input{min-height:auto}.sheet .credit-select-row{padding-bottom:5px}.sheet .primary{margin-top:3px;padding:10px}.sheet .delete-btn{margin-top:0;padding:6px;font-size:11px}.sheet.keyboard-open{border-radius:16px 16px 0 0;padding-top:3px}.sheet.keyboard-open .handle{margin-bottom:3px}.sheet.keyboard-open .section-title{margin-bottom:2px}.sheet.keyboard-open .section-title h2{font-size:16px}.sheet.keyboard-open .kind-toggle{margin-bottom:3px}.sheet.keyboard-open .kind-toggle button{min-height:32px;padding:3px}.sheet.keyboard-open label{margin:3px 0}.sheet.keyboard-open input,.sheet.keyboard-open select{min-height:34px;padding:4px 7px}.sheet.keyboard-open .amount-input input{font-size:23px}.sheet.keyboard-open .primary{padding:9px}.sheet.keyboard-open .delete-btn{padding:6px}.recurring-quick-form{background:#f1f2eb;border:1px solid #dfe2d8;border-radius:15px;margin:10px 0 14px;padding:11px}.quick-kind{background:#e1e3da;border-radius:9px;padding:3px;display:flex}.quick-kind button{color:var(--muted);background:0 0;border:0;border-radius:7px;flex:1;padding:7px;font-weight:800}.quick-kind button.active{color:var(--green);background:#fff;box-shadow:0 1px 5px #17271f12}.recurring-main-fields{grid-template-columns:1.35fr 1fr;gap:7px;display:grid}.recurring-sub-fields{grid-template-columns:.8fr 1.1fr 1fr;gap:7px;display:grid}.recurring-quick-form label{margin:8px 0 0;font-size:9px}.recurring-quick-form input,.recurring-quick-form select{padding:8px 6px;font-size:12px}.quick-actions{grid-template-columns:1fr 1.4fr;gap:7px;margin-top:10px;display:grid}.quick-actions button{color:var(--muted);background:#e1e3da;border:0;border-radius:9px;padding:9px;font-weight:800}.quick-actions .quick-save{background:var(--green);color:#fff}@media (height<=700px){.sheet{border-radius:19px 19px 0 0;max-height:94dvh}.sheet .handle{margin-bottom:4px}.sheet .section-title h2{font-size:17px}.sheet label{margin:4px 0}.sheet input,.sheet select{min-height:38px;padding:6px 8px}.sheet .kind-toggle button{min-height:34px}.sheet .primary{padding:10px}.sheet .delete-btn{padding:7px}}.actual-record-action{align-items:center;gap:8px;display:flex;color:#b94f39!important;text-align:left!important;background:#fbe4dd!important;border:1px solid #f0b9aa!important}.actual-record-action span{color:#fff;background:#d85f45;border-radius:7px;padding:4px 6px;font-size:9px}.plan-section-label{color:#547761;margin:9px 0 2px;font-size:10px;font-weight:900}.plan-input-label{background:#eef3eb;border-radius:10px;padding:6px 9px}.plan-dialog .plan-actions .category-add{background:#1d5742}.plan-dialog .day-detail-summary>div:first-child{background:#fbeae5}.plan-dialog .day-detail-summary>div:first-child span,.plan-dialog .day-detail-summary>div:first-child b{color:#b9533d}.plan-dialog .day-detail-summary>div:last-child{background:#eceef8}.display-settings{background:#fff;border:1px solid #e5e2d8;border-radius:18px;margin-bottom:13px;padding:16px}.display-settings h2{margin:0 0 10px;font-family:Georgia,Yu Mincho,serif;font-size:18px}.display-mode-toggle{background:#e7e7df;border-radius:11px;gap:3px;padding:3px;display:flex}.display-mode-toggle button{color:#707a72;background:0 0;border:0;border-radius:8px;flex:1;padding:9px;font-weight:800}.display-mode-toggle button.active{color:#1d5742;background:#fff;box-shadow:0 2px 7px #17271f16}.display-settings label{margin:9px 0 0}.display-settings select{margin-top:4px}@media (width<=360px){.recurring-sub-fields{grid-template-columns:1fr 1fr}.recurring-sub-fields label:last-child{grid-column:1/-1}}.plan-scrim{padding:12px 18px calc(12px + env(safe-area-inset-bottom));place-items:end center}.plan-dialog{border-radius:20px;max-width:350px;overflow:auto;max-height:62dvh!important;padding:14px 16px!important}.plan-dialog:focus-within{max-height:46dvh!important}.plan-dialog-head{justify-content:space-between;align-items:center;display:flex}.plan-dialog-head h2{margin:0;font-size:18px}.plan-dialog-head .close{min-width:38px;min-height:38px}.plan-input-label{margin:2px 0 6px!important}.plan-dialog .plan-amount-input{font-size:18px}.plan-dialog .plan-amount-input input{min-height:42px;padding:3px 6px;font-size:25px}.plan-dialog .plan-actions{grid-template-columns:.8fr 1.35fr;gap:7px}.plan-dialog .plan-actions button{border-radius:10px;padding:10px}.plan-dialog .day-detail-summary{gap:6px;margin:8px 0}.plan-dialog .day-detail-summary>div{padding:7px 9px}.plan-dialog .day-detail-summary b{font-size:12px}.plan-dialog .day-details{max-height:76px}.plan-dialog .day-details>button{padding:7px 2px}.plan-dialog .add-from-day{margin:8px 0 0;padding:9px}@media (height<=700px){.plan-dialog{max-height:58dvh!important}.plan-dialog:focus-within{max-height:42dvh!important}}
