/*! 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}}*{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>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}.actual-unconfirmed{background:#fff4e8;border-radius:13px;margin:5px 0;border:2px solid #ef9a62!important;padding:11px 9px!important}.confirmation-badge{background:#e96f45;border-radius:20px;width:max-content;margin:4px 0 0;padding:3px 6px;font-weight:900;color:#fff!important;font-size:8px!important;display:inline-block!important}.unconfirmed-alert,.withdrawal-alert{border-radius:10px;flex-direction:column;gap:3px;margin:2px 0 5px;padding:8px 10px;display:flex}.unconfirmed-alert{color:#9d482c;background:#fff0df;border:1px solid #efb27d}.withdrawal-alert{color:#4a568b;background:#edf0fb;border:1px solid #c9cee5}.unconfirmed-alert b,.withdrawal-alert b{font-size:10px}.unconfirmed-alert span,.withdrawal-alert span{font-size:8px;line-height:1.45}.saving-actions{flex-direction:column;gap:5px;display:flex}.saving-withdraw{color:#fff;background:#152d2377;border:1px solid #ffffff2e;border-radius:9px;padding:7px 9px;font-size:9px;font-weight:800}.badge.withdrawal{color:#b64d35;background:#f8ddd5}.year-head,.year-row{grid-template-columns:.42fr repeat(4,minmax(0,1fr));gap:4px}.year-row span,.year-row strong{white-space:nowrap;font-size:9px}.recurring-delete-scrim{z-index:30}.recurring-delete-dialog .category-symbol{color:#bd4e38;background:#f8e4de}.recurring-delete-actions{gap:8px;display:grid}.recurring-delete-actions button{border:0;border-radius:12px;width:100%;padding:13px;font-weight:800}.delete-once{color:#9f4b39;background:#f4eee9}.delete-future{color:#fff;background:#bd4e38}.recurring-delete-actions .category-cancel{color:#687269;background:#e7e6de}.amount-input input,.plan-amount-input input,.savings-hero>strong,.goal-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-family:Avenir Next,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-weight:800}.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}.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 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: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}.home-flow{flex-direction:column;display:flex}.home-flow>.monthbar{order:1}.home-flow>.home-calendar{order:2;margin-top:0;margin-bottom:13px}.home-flow>.home-balance{order:3}.home-flow>.dates{order:4}.home-flow>.recent-list{order:5}.top{align-items:center}.top .eyebrow{margin:0}.tabs{margin-top:10px;margin-bottom:12px}.calendar-day,.calendar-blank{height:64px}.calendar-day .day-plan:before,.calendar-day .day-actual:before,.calendar-day .day-credit:before{content:""}.calendar-day .day-income{color:#315f91;background:#e2edf7;border-radius:3px;padding:0 2px;font-weight:800}.home-calendar{touch-action:pan-y;overscroll-behavior-x:contain}.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}.scheduled-debit-summary{border:1px solid #ffffff1f;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:3px 8px;margin:0 0 8px;padding:7px 10px;display:grid}.scheduled-debit-summary>span{color:#d8e4dd;font-size:9px}.scheduled-debit-summary>strong{font-size:14px}.scheduled-debit-summary>small{color:#b9cbbf;grid-column:1/-1;font-size:7px}.scheduled-debit-summary>small span{color:#f1c6b9;opacity:.78}.available-money{background:#ffffff18;border:1px solid #ffffff24;border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:15px;padding:14px 15px;display:flex}.available-money span{color:#d8e8df;font-size:12px;font-weight:800}.available-money strong{letter-spacing:-.04em;color:#fff;font-family:Georgia,Yu Mincho,serif;font-size:31px;line-height:1.15}.available-money small{color:#b8cfc1;font-size:8px}.budget-comparison strong,.available-money strong{letter-spacing:-.025em;font-family:Kaisei Opti Money,Kaisei Opti,Yu Mincho,serif;font-weight:700}@font-face{font-family:Kaisei Opti Money;src:url(/fonts/kaisei-opti-money.woff2)format("woff2");font-style:normal;font-weight:700;font-display:swap;unicode-range:U+2C,U+30-39,U+A5}.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-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:auto;background:0 0;padding:0;display:block;position:fixed;inset:0}.tutorial-card{pointer-events:auto;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));background:#f6f2e9;border-radius:20px;width:min(390px,100% - 28px);padding:14px 18px;animation:none;position:absolute;transform:translate(-50%);box-shadow:0 18px 60px #06100b66}.tutorial-close{color:#4d6073;background:#fff;border:1px solid #d9e1e9;border-radius:12px;justify-content:center;align-items:center;padding:10px 14px;font-size:12px;font-weight:900;display:inline-flex}.tutorial-card h2{margin:0 0 7px;font-size:20px}.tutorial-text{margin:7px 0;line-height:1.5}.tutorial-dots{margin:7px 0}.tutorial-actions{align-items:center;gap:10px;display:flex}.tutorial-actions button{min-height:42px}.tutorial-target{pointer-events:none;cursor:default;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:#9bc9ee}}.tutorial-card-top{top:calc(10px + env(safe-area-inset-top));padding:14px 18px;bottom:auto}.tutorial-card-top .tutorial-text{margin:7px 0;line-height:1.45}.tutorial-card-top .tutorial-dots{margin:7px 0}.tutorial-actions .tutorial-back{color:#4d6073;background:#fff;border:1px solid #d9e1e9;border-radius:12px;font-weight:900}.tutorial-actions .tutorial-next{color:#fff;background:#27689f;border:0;border-radius:12px;flex:1;font-size:13px;font-weight:900;box-shadow:0 8px 18px #27689f28}.tutorial-scrim{z-index:32}.welcome-scrim{z-index:40;background:#14241bd9;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.welcome-card{background:var(--paper);border-radius:26px;width:min(400px,100%);padding:27px 24px 23px;box-shadow:0 24px 70px #0005}.welcome-card h1{letter-spacing:-.03em;text-wrap:balance;word-break:auto-phrase;margin:8px 0 22px;font-family:Kaisei Opti,Yu Mincho,serif;font-size:clamp(24px,7.2vw,28px);line-height:1.4}.welcome-card h1 em{color:var(--green);font-style:normal}.welcome-benefits{gap:9px;display:grid}.welcome-benefits p{background:#fff;border:1px solid #e2e3da;border-radius:15px;grid-template-columns:38px minmax(0,1fr);align-items:center;column-gap:11px;margin:0;padding:11px 12px;display:grid}.welcome-benefits p>span{background:var(--mint);width:36px;height:36px;color:var(--green);border-radius:11px;grid-row:1/3;place-items:center;font-weight:900;display:grid}.welcome-benefits b{text-wrap:pretty;font-size:12px;line-height:1.45}.welcome-benefits small{color:var(--muted);text-wrap:pretty;margin-top:2px;font-size:9px;line-height:1.5}.welcome-start{background:var(--green);color:#fff;white-space:nowrap;border:0;border-radius:14px;width:100%;margin-top:18px;padding:15px;font-size:14px;font-weight:800}.welcome-help{text-align:center;color:var(--muted);text-wrap:balance;margin-top:10px;font-size:9px;line-height:1.5;display:block}@media (height<=650px){.welcome-card{padding:20px}.welcome-card h1{margin-bottom:14px;font-size:23px}.welcome-benefits{gap:6px}.welcome-benefits p{padding:8px 10px}.welcome-start{margin-top:12px}}@media (width<=350px){.welcome-scrim{padding:12px}.welcome-card{padding:22px 17px 19px}.welcome-benefits p{grid-template-columns:34px minmax(0,1fr);column-gap:8px;padding:9px}.welcome-benefits p>span{width:32px;height:32px}.welcome-benefits b{font-size:11px}}.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}}.scrim.fullscreen-entry{background:var(--paper);align-items:stretch}.fullscreen-sheet{width:min(480px,100%);height:100dvh;max-height:100dvh!important;padding:calc(10px + env(safe-area-inset-top)) 18px calc(14px + env(safe-area-inset-bottom))!important;border-radius:0!important}.fullscreen-sheet .handle{display:none}.fullscreen-sheet .section-title{margin-bottom:5px}.fullscreen-sheet .section-title h2{font-size:18px;line-height:1.35}.fullscreen-sheet.keyboard-open{height:auto;min-height:100%;max-height:100%!important}.switch-to-plan{color:#245841;text-align:left;background:#e8f0e8;border:1px solid #b9cdbd;border-radius:10px;align-items:center;gap:8px;width:100%;margin:1px 0 5px;padding:8px 10px;font-size:10px;font-weight:900;display:flex}.switch-to-plan span{color:#fff;background:#547761;border-radius:6px;padding:3px 6px;font-size:8px}.fullscreen-sheet .primary{margin-top:6px}.form-day-details{border-top:1px solid #d8dbd2;margin-top:10px;padding-top:8px}.form-day-details-head{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;margin:0;padding:5px 2px;display:flex}.form-day-details-head>div{align-items:baseline;gap:6px;display:flex}.form-day-details-head b{font-size:12px}.form-day-details-head small{color:var(--muted);font-size:8px}.form-day-details-head>span{align-items:center;gap:8px;display:flex}.form-day-details-head strong{color:#b94f39;font-size:13px}.form-day-details-head i{color:var(--muted);font-size:17px;font-style:normal}.form-day-detail-list{overscroll-behavior:contain;gap:5px;max-height:180px;padding-top:5px;display:grid;overflow-y:auto}.form-day-detail-list>button{text-align:left;width:100%;color:var(--ink);background:#fff;border:1px solid #e1e1d9;border-radius:10px;grid-template-columns:auto 1fr auto auto;align-items:center;gap:7px;padding:8px;display:grid}.form-day-detail-list>button>span:nth-child(2){min-width:0}.form-day-detail-list>button b{white-space:nowrap;text-overflow:ellipsis;font-size:10px;display:block;overflow:hidden}.form-day-detail-list>button small{color:var(--muted);margin-top:2px;font-size:7px;display:block}.form-day-detail-list>button strong{white-space:nowrap;font-size:10px}.form-day-detail-list>button i{color:var(--muted);font-size:17px;font-style:normal}.detail-kind{border-radius:6px;padding:4px 5px;font-size:7px;font-weight:900}.detail-kind.cash{color:#a84632;background:#f9e2dc}.detail-kind.card{color:#5968a5;background:#e7e9f5}.sheet.keyboard-open .form-day-details{margin-top:5px;padding-top:4px}.sheet.keyboard-open .form-day-details-head{padding:2px}.calendar-day .day-credit:before{content:""}.plan-entry-sheet .plan-dialog-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.plan-entry-sheet .plan-dialog-head h2{margin:0;font-family:Georgia,Yu Mincho,serif;font-size:18px;line-height:1.35}.plan-entry-sheet .plan-dialog-head .close{min-width:38px;min-height:38px}.plan-mode-banner{color:#b84d36;background:#fde6df;border:1px solid #f0b6a5;border-radius:10px;align-items:center;gap:8px;margin-bottom:9px;padding:9px 10px;font-size:10px;font-weight:900;display:flex}.plan-mode-banner span{color:#fff;background:#dc6248;border-radius:6px;padding:4px 6px;font-size:8px}.plan-entry-sheet .plan-input-label{color:#a64b37;border-radius:11px;padding:9px 11px;background:#fdebe5!important;margin:5px 0!important}.plan-entry-sheet .plan-amount-input input{min-height:45px!important;font-size:30px!important}.plan-date-label{margin:9px 0!important}.plan-entry-sheet .plan-actions{grid-template-columns:.8fr 1.4fr;gap:8px;margin-top:10px;display:grid}.plan-entry-sheet .plan-actions button{border:0;border-radius:11px;padding:12px;font-weight:900}.plan-entry-sheet .plan-actions .category-add{color:#fff;background:#d95f46}.expense-entry-scrim.fullscreen-entry{background:#fff2ed}.expense-entry-sheet{background:#fff8f4}.expense-entry-sheet .amount-input{color:#c04c35;border-color:#d75e45}.expense-entry-sheet .primary{background:#d95f46}.plan-entry-scrim.compact-plan-scrim{background:#13231970!important}.record-mode-switch{background:#e9e8e1;border:1px solid #d9d9d1;border-radius:12px;grid-template-columns:1fr 1fr;gap:5px;margin:2px 0 9px;padding:4px;display:grid}.record-mode-switch button{color:#737c75;background:0 0;border:0;border-radius:9px;min-height:40px;font-size:11px;font-weight:900;position:relative}.record-mode-switch button:not(.active):after{content:"切り替える";opacity:.7;margin-top:1px;font-size:7px;font-weight:700;display:block}.expense-entry-sheet .record-mode-switch{background:#f6ddd6;border-color:#edc2b6}.plan-entry-sheet .record-mode-switch{background:#e3eee3;border-color:#bfd2c1}.plan-content-label{margin:7px 0!important}.planned-item-section{border-top:1px solid #d8dfd7;margin-top:10px;padding-top:9px}.planned-item-heading{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.planned-item-heading b{font-size:11px}.planned-item-heading small{color:var(--muted);font-size:8px}.planned-item-list{overscroll-behavior:contain;gap:5px;max-height:145px;display:grid;overflow-y:auto}.planned-item-list>div{background:#fff;border:1px solid #d9e3d9;border-radius:10px;grid-template-columns:1fr 34px;gap:5px;display:grid;overflow:hidden}.planned-item-edit{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;display:flex}.planned-item-edit span{white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:800;overflow:hidden}.planned-item-edit strong{white-space:nowrap;font-size:10px}.planned-item-delete{color:#b4513d;background:#f4eee9;border:0;border-left:1px solid #e4e8e1;font-size:17px}.plan-entry-sheet.keyboard-open .planned-item-section{display:none}.form-day-detail-list .record-item-row{background:#fff;border:1px solid #e1e1d9;border-radius:10px;grid-template-columns:minmax(0,1fr) 38px;gap:0;display:grid;overflow:hidden}.record-item-edit{text-align:left;min-width:0;color:var(--ink);background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;display:flex}.record-item-edit>span{min-width:0}.record-item-edit b{white-space:nowrap;text-overflow:ellipsis;font-size:10px;display:block;overflow:hidden}.record-item-edit small{color:var(--muted);margin-top:2px;font-size:7px;display:block}.record-item-edit strong{white-space:nowrap;font-size:10px}.record-item-delete{z-index:2;color:#bd4e38;touch-action:manipulation;background:#f8eeea;border:0;border-left:1px solid #eadfd9;min-width:38px;font-size:17px;position:relative}.section-title h2,.plan-dialog-head h2,.category-dialog h2,.tutorial-card h2,.calendar-head h2{text-wrap:balance;word-break:auto-phrase;overflow-wrap:anywhere}.tutorial-text,.unconfirmed-alert span,.withdrawal-alert span,.settings-help,.business-note{text-wrap:pretty;word-break:auto-phrase}.tabs button,.kind-toggle button,.record-mode-switch button,.plan-actions button,.quick-actions button,.actions button,.primary,.category-picker button,.available-money span,.comparison-title,.calendar-legend span,.monthbar strong,.planned-item-heading b{white-space:nowrap}.section-title,.section-title h2{min-width:0}.section-title .close{flex:none}@media (width<=380px){.shell{padding-left:16px;padding-right:16px}.section-title h2,.plan-dialog-head h2{font-size:clamp(16px,5vw,19px)}.record-mode-switch button{padding-left:5px;padding-right:5px;font-size:clamp(9px,3vw,11px)}.available-money span{font-size:clamp(10px,3.2vw,12px)}.calendar-legend{gap:4px;font-size:7px}.calendar-head{gap:5px}.plan-actions button,.quick-actions button,.primary{font-size:clamp(10px,3.2vw,13px)}.tutorial-card{padding-left:16px;padding-right:16px}.tutorial-card h2{font-size:clamp(17px,5.4vw,20px)}}:root{--ink:#17263a;--muted:#687789;--paper:#f4f7fb;--green:#245b8f;--mint:#dfeaf5;--coral:#e66f5c;--line:#d9e2ea}body{background:#dce4ec}.shell,.sheet{background:var(--paper)}.eyebrow{color:#6c7f93}.avatar{color:#245b8f;background:#e7f0f8;border-color:#cad8e5}.tabs{background:#e4ebf2}.tabs button{color:#718091}.tabs button.active{color:#183f67;box-shadow:0 2px 8px #173f6814}.balance-card{background:linear-gradient(145deg,#1d4b76,#28679f);box-shadow:0 15px 35px #245b8f30}.available-money{background:#ffffff17;border-color:#ffffff26}.meter i{background:#f18a76}.budget-calendar,.budget-presets,.year-card,.recurring,.credit-settings,.display-settings,.security-settings,.savings-list,.goal-card{border-color:#d9e2ea}.calendar-day{background:#eef3f8}.calendar-day.weekend{background:#f8f0f0}.calendar-day.today{box-shadow:inset 0 0 0 2px #245b8f}.plan-legend{background:#5f84a8}.day-plan{color:#4d7398}.income-legend{background:#3b8792}.calendar-day .day-income{color:#276b75;background:#dceff1}.date-icon,.badge.income{color:#245b8f;background:#dceaf6}.add-btn,.primary,.category-add,.quick-actions .quick-save,.goal-editor button,.welcome-start{box-shadow:0 7px 25px #245b8f30;background:#245b8f!important}.save-image,.add-from-day,.goal-edit,.category-picker button{color:#245b8f;background:#e1edf7;border-color:#bfd1e1}.amount-input{color:#245b8f;border-color:#245b8f}.kind-toggle,.quick-kind,.display-mode-toggle{background:#e3eaf1}.kind-toggle .active,.quick-kind button.active,.display-mode-toggle button.active{color:#245b8f}.recurring-quick-form{background:#edf3f8;border-color:#d4e0ea}.savings-hero{background:linear-gradient(145deg,#183f67,#2b6c9f);box-shadow:0 15px 35px #245b8f2e}.savings-hero .eyebrow{color:#bfd5e7}.saving-progress i{background:#8fc7e8}.saving-meta{color:#d7e7f2}.plan-entry-scrim{background:#edf5fb!important}.plan-entry-sheet{background:#f7fbfe!important}.plan-mode-banner{color:#285b84!important;background:#e2eef8!important;border-color:#b9d0e3!important}.plan-mode-banner span{background:#4d78a0!important}.plan-entry-sheet .plan-input-label{color:#315f85!important;background:#e5f0f8!important}.plan-entry-sheet .plan-amount-input{color:#315f85!important;border-color:#5280a8!important}.plan-entry-sheet input{border-color:#bfd3e3!important}.plan-entry-sheet .plan-actions .category-add{background:#2d6594!important}.plan-entry-sheet .reset-plan{color:#315f85!important;background:#dfebf4!important}.plan-section-label{color:#4d7398}.plan-input-label{background:#e8f1f8}.planned-item-list>div{border-color:#d5e2ec}.planned-item-list>div.editing{border-color:#4e7ca4;box-shadow:inset 0 0 0 1px #4e7ca4}.credit-option{background:#eaf0f5}.credit-check{color:#314e69}.security-icon{color:#245b8f;background:#deebf6}.security-primary,.lock-mark{background:#245b8f}.lock-card{border-color:#d9e2ea;box-shadow:0 20px 60px #173f681c}.welcome-scrim{background:#12283edb}.welcome-card{background:#f4f7fb}.welcome-benefits p{border-color:#dbe5ed}.tutorial-card{background:#f4f7fb}.tutorial-target{outline-color:#6eabe0!important;box-shadow:0 0 0 9999px #12283eb8,0 0 0 9px #f4f9ffcc!important}.scrim{background:#12283e70}.category-scrim{background:#12283e8c}.compact-plan-scrim{background:#12283e70!important}.toast{background:#17263a}.expense-entry-scrim.fullscreen-entry,.plan-entry-scrim{background:#eef2f6!important}.expense-entry-sheet,.plan-entry-sheet{background:#f8fafc!important}.record-mode-switch,.expense-entry-sheet .record-mode-switch,.plan-entry-sheet .record-mode-switch{background:#e9eef3;border-color:#d5dee7}.record-mode-switch .actual.active{color:#fff;background:#dc654f;box-shadow:0 3px 9px #b7472f30}.record-mode-switch .plan.active{color:#fff;background:#2f6798;box-shadow:0 3px 9px #245b8f30}.expense-entry-sheet input,.expense-entry-sheet select{border-color:#d5dee7}.expense-entry-sheet .category-picker button{color:#38536d;background:#eef3f7;border-color:#d5dee7}.expense-entry-sheet .credit-option{background:#eef2f5}.expense-entry-sheet .check{color:#4d5f70}.expense-entry-sheet .primary{box-shadow:0 7px 22px #c7584230;background:#dc654f!important}.plan-entry-sheet .plan-input-label{background:#e7f0f8!important}.plan-entry-sheet input,.plan-entry-sheet select{border-color:#c9d9e6}.plan-entry-sheet .category-cancel{color:#667483;background:#e9edf1}.plan-entry-sheet .plan-actions .category-add{box-shadow:0 7px 22px #245b8f2b;background:#2f6798!important}.kind-toggle{border:1px solid #dbe3ea}.expense-entry-sheet .kind-toggle .active{color:#c4513d;background:#fff}.plan-entry-sheet .kind-toggle .active{color:#245b8f;background:#fff}
