@charset "UTF-8";
:root{--bg:#f5f7f8;--surface:#fff;--ink:#273a35;--muted:#8a9491;--green:#315f50;--green-dark:#244e42;--line:#edf0ee;--soft:#edf4ef;--sidebar:234px;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #87b6a1;outline-offset:3px}input:focus,select:focus{outline:2px solid #a2c6b2;outline-offset:1px}svg{width:20px;height:20px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);padding:38px 24px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:650;white-space:nowrap;letter-spacing:.5px}.brand-mark{width:43px;height:43px;background:var(--green-dark);color:#fff;border-radius:13px;display:grid;place-items:center}.brand-mark svg{width:25px;height:25px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:500;color:#9ca7a1;margin-top:6px}.sidebar-label{font-size:13px;color:#a3aca8;margin:54px 14px 16px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:13px;width:100%;padding:14px 16px;border-radius:10px;font-size:15px;color:#88948e;margin:3px 0;text-align:left}.nav-item.active{color:var(--green);background:var(--soft);font-weight:600}.sidebar-bottom{margin-top:auto}.little-line{width:28px;height:3px;background:#a4b8a8;margin:25px 15px}.sidebar-bottom p{font-size:15px;color:#9ba69f;line-height:2;margin:0 15px 30px}.local-label{font-size:12px;color:#9ca7a0;display:flex;gap:7px;margin:0 15px 18px;align-items:center}.local-label svg{width:14px;height:14px}.sidebar-bottom .nav-item{border-top:1px solid var(--line);border-radius:0;padding-top:22px}
main{margin-left:var(--sidebar)}.topbar{height:87px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:14px;color:#9aa39f;display:flex;gap:15px}.breadcrumb b{font-weight:500;color:#596b61}.breadcrumb span{color:#ced4d0}.header-actions{display:flex;align-items:center;gap:23px}.connection{font-size:12px;color:#899b8d;display:flex;gap:7px;align-items:center}.connection:before{content:"";height:5px;width:5px;background:#83a68c;border-radius:50%}.avatar{height:34px;width:34px;display:grid;place-items:center;background:#eff3ee;border:1px solid #e2e9e2;border-radius:50%;font-size:13px;color:#7c907c}.mobile-brand,.mobile-settings{display:none!important}.text-button{padding:7px 0;border:0;background:none;color:#688372;font-size:13px;white-space:nowrap}.text-button:hover{color:#244e42}.page{max-width:1520px;margin:auto;padding:38px 42px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:20px}.eyebrow{color:#9aa89d;font-size:10px;letter-spacing:2.1px;margin-bottom:12px}h1{font-size:28px;font-weight:650;letter-spacing:1px;margin:0 0 10px}.page-heading p{font-size:14px;margin:0;color:#95a097}.month-control{display:flex;gap:7px;align-items:center;background:#fff;border:1px solid #e5ebe7;border-radius:10px;padding:5px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;border-radius:7px;color:#87958c}.icon-button:hover{background:#eef3ef;color:#315f50}.icon-button svg{width:18px;height:18px}.month-control input{border:0;background:transparent;width:133px;color:#4d6256;font-size:14px;padding:5px 2px;min-width:0}.month-reset{background:#edf3ef;border:0;color:#678673;border-radius:6px;padding:6px 8px;font-size:12px;margin-right:3px}.summary-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:19px;margin-bottom:25px}.stat-card{background:#fff;border-radius:var(--radius);padding:22px 23px 19px;min-width:0;min-height:166px;border:1px solid #edf0ed}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#87958c;min-height:24px}.stat-top>span:last-child>svg{width:18px;height:18px}.total-card{background:var(--green-dark);color:#fff;border:0;position:relative;overflow:hidden}.total-card:after{content:"";position:absolute;width:165px;height:165px;border:1px solid #ffffff0c;border-radius:50%;right:-75px;bottom:-70px;box-shadow:0 0 0 25px #ffffff03,0 0 0 50px #ffffff03;pointer-events:none}.total-card .stat-top{color:#ceded3}.money{display:flex;align-items:baseline;gap:8px;margin:16px 0 13px;white-space:nowrap}.money>span{font-size:20px;color:#c4d8cd}.money strong{font-size:37px;font-weight:550;letter-spacing:1px;font-variant-numeric:tabular-nums}.total-footer{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#b6d1c1;gap:6px}.leaf{color:#b3cbb9}.stat-number{display:flex;align-items:baseline;gap:7px;margin-top:20px;white-space:nowrap}.stat-number strong{font-size:29px;font-weight:550;letter-spacing:.3px;font-variant-numeric:tabular-nums}.stat-number>span{font-size:17px;color:#8e9c93}.stat-number .unit{font-size:14px;margin-left:2px}.stat-card>p{font-size:12px;color:#9ba69f;margin:16px 0 0;line-height:1.5}.pale-icon{display:grid;place-items:center;background:#f1f5f1;color:#8eaa96;border-radius:8px;width:30px;height:30px}.small{width:24px;height:24px}.budget-card .stat-number{margin-top:17px}.progress{height:4px;border-radius:6px;background:#edf2ec;margin-top:15px;overflow:hidden}.progress>span{display:block;height:100%;background:#83a78c;border-radius:6px;transition:width .25s}.budget-card>p{margin-top:9px}.progress.over>span{background:#c47a6c}
.content-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,1fr);gap:24px;margin-bottom:24px}.panel{background:#fff;border:1px solid #edf0ed;border-radius:var(--radius);padding:25px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{font-size:17px;font-weight:600;margin:0 0 8px;letter-spacing:.3px}.section-heading p{font-size:12px;color:#9aa69e;margin:0;line-height:1.6}.section-tag{font-size:11px;color:#96a399;border:1px solid #e8ede9;border-radius:6px;padding:5px 8px;white-space:nowrap}.category-body{display:flex;align-items:center;gap:26px;margin-top:26px;min-height:210px}.donut-wrap{width:47%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.donut{border-radius:50%;width:min(100%,218px);aspect-ratio:1;background:#eef2ee;position:relative;display:grid;place-items:center;transform:rotate(-90deg)}.donut:before{content:"";position:absolute;inset:24px;border-radius:50%;background:#fff}.donut-center{z-index:1;transform:rotate(90deg);text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.donut-center>span{font-size:12px;color:#9baa9e}.donut-center strong{font-size:31px;font-weight:550;line-height:1.1}.donut-center strong span{font-size:12px;font-weight:400;color:#9ba89f}.donut-center small{font-size:10px;color:#a6b0a9}.category-legend{flex:1;min-width:0;display:grid;gap:14px}.legend-row{display:grid;grid-template-columns:8px 1fr auto;gap:9px;align-items:center;font-size:12px}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-name{color:#7d8d81;white-space:nowrap}.legend-numbers{color:#596f5d;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.legend-numbers small{display:inline-block;color:#a1aba4;margin-left:8px;width:28px;font-size:10px}.legend-empty{color:#a3ada5;font-size:13px;line-height:2}.legend-empty strong{display:block;color:#6d8673;font-weight:500;font-size:14px}.add-panel{grid-row:span 2}.add-symbol{background:#f0f5ef;color:#89a58d;display:grid;place-items:center;width:32px;height:32px;border-radius:9px}.add-panel form{margin-top:25px}.field-label{display:block;font-size:13px;color:#7f9083;margin-bottom:10px}.amount-input{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e8eee8;padding:0 1px 15px;margin-bottom:23px}.amount-input>span{font-size:22px;color:#71937c}.amount-input input{font-size:38px;letter-spacing:1px;font-weight:450;border:0;background:none;min-width:0;width:100%;color:#315f50;padding:0;line-height:1.3}.amount-input input::placeholder{color:#cbd4cc}.amount-input input:focus{outline:none}.amount-input:focus-within{border-bottom-color:#629475}.category-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px;margin:12px 0 24px}.category-option{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid transparent;background:transparent;border-radius:9px;padding:9px 0 8px;font-size:11px;color:#94a096;white-space:nowrap}.category-option .category-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f4f6f3;color:#91a58f}.category-option[aria-pressed="true"]{background:#edf5ee;border-color:#d8e7d9;color:#477252}.category-option[aria-pressed="true"] .category-icon{background:#dbeadd;color:#477252}.category-option:hover{background:#f5f8f4}.form-row{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}.form-row label{font-size:12px;color:#7f9083}.optional{color:#b3bcb6;font-size:10px;margin-left:3px}input:not([type="month"]):not(#amount),select{background:#fbfcfb;border:1px solid #e6ece6;border-radius:8px;padding:11px 10px;width:100%;color:#607565;font-size:13px;min-height:41px}.form-row input{margin-top:9px;min-width:0}input::placeholder{color:#b3bcb6}.submit-row{display:flex;align-items:center;gap:15px;margin-top:25px}.primary-button{border:0;border-radius:9px;padding:13px 18px;background:#315f50;color:#fff;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.primary-button:hover{background:#244e42}.primary-button svg{width:18px;height:18px}.submit-row .primary-button{flex:1}.form-error{color:#b66451;font-size:12px;line-height:1.6;margin:10px 0 0}.secondary-button{border:1px solid #dae6dc;background:#f2f7f2;color:#4b7257;border-radius:8px;padding:11px 16px;font-size:14px;min-height:44px}.trend-panel{padding-bottom:18px}.chart-frame{display:flex;height:124px;margin-top:22px;gap:13px}.chart-scale{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:4px;width:34px;font-size:9px;color:#acb6ae;flex-shrink:0}.bar-chart{display:flex;align-items:end;justify-content:space-between;gap:4px;flex:1;position:relative;border-bottom:1px solid #e8eee8;background:repeating-linear-gradient(to top,transparent 0,transparent calc(33.33% - 1px),#f0f3ef calc(33.33% - 1px),#f0f3ef 33.33%)}.bar{min-width:1px;flex:1;background:#a2bfa7;position:relative;z-index:1;border-radius:3px 3px 0 0;max-height:100%;min-height:2px}.bar.today{background:#426e53}.bar:hover{background:#426e53}.bar-chart .chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:#b0bab2;font-size:12px;z-index:2;pointer-events:none}.chart-dates{display:flex;justify-content:space-between;color:#acb6ae;font-size:10px;margin:9px 0 0 47px}.records-panel{padding-bottom:12px}.record-controls{display:flex;gap:20px;align-items:center}.record-controls select{width:112px;font-size:12px;background:#fff;min-height:32px;padding:6px 24px 6px 9px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2391a195' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}.record-day-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#a0aca3;background:#f8faf8;padding:9px 12px;border-radius:6px;margin:20px 0 3px}.record-row{display:flex;align-items:center;gap:13px;padding:15px 9px;border-bottom:1px solid #f0f3ef}.record-row:last-child{border-bottom:0}.record-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.record-main{flex:1;min-width:0}.record-main strong{font-size:13px;font-weight:500;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.6}.record-main small{font-size:10px;color:#a5b0a7;display:block;margin-top:3px}.record-amount{font-size:15px;font-weight:550;color:#56725c;font-variant-numeric:tabular-nums;white-space:nowrap}.record-actions{display:flex;gap:3px;margin-left:12px}.record-actions button{height:29px;width:29px;color:#a5b2a8}.record-actions svg{width:14px;height:14px}.record-actions .delete:hover{background:#fcf0ed;color:#b76d5e}.empty-state{text-align:center;padding:39px 20px 45px}.empty-icon{width:56px;height:56px;display:grid;place-items:center;background:#f2f6f1;border-radius:18px;margin:0 auto 17px;color:#94af98}.empty-icon svg{width:27px;height:27px}.empty-state h3{font-size:15px;font-weight:500;margin:0 0 10px;color:#6a836f}.empty-state p{font-size:12px;color:#a1ada4;line-height:1.8;margin:0}.empty-state .text-button{margin-top:14px}.page-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#a5b0a8;margin:23px 2px 0;line-height:1.8}.page-footer>span:first-child{display:flex;gap:5px;align-items:center}.page-footer svg{height:12px;width:12px}.demo-banner{display:flex;justify-content:space-between;gap:12px;background:#e9f2e9;color:#5e8064;border:1px solid #dce8dc;padding:11px 16px;border-radius:10px;font-size:12px;margin-bottom:22px;align-items:center}.demo-banner button{border:0;background:none;color:#3f6e49;white-space:nowrap;font-size:12px;text-decoration:underline}.mobile-nav{display:none}
dialog{border:1px solid #e5ece5;border-radius:21px;padding:28px;max-width:460px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 24px 100px #16332622}dialog::backdrop{background:#162e244d;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head h2{font-size:19px;font-weight:600;margin:0}.dialog-copy{font-size:14px;line-height:1.9;color:#8b9a8e;margin:17px 0 23px}.settings-block{border-top:1px solid var(--line);padding:20px 0 4px;margin-top:16px}.settings-block h3{font-size:14px;font-weight:550;margin:0 0 9px}.settings-block p{font-size:12px;color:#94a197;line-height:1.9;margin:0 0 15px}.button-pair{display:flex;gap:12px}.button-pair>*{flex:1}.category-form{display:flex;gap:9px}.category-form input{flex:1;min-width:0}.category-form button{white-space:nowrap}.settings-note{font-size:11px;color:#a1ada4;line-height:1.8;margin:22px 0 0}#budget-form>.primary-button{width:100%;margin-top:20px}#remove-budget{display:block;margin:14px auto 0}.toast{position:fixed;bottom:30px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%);background:#294f3f;color:#fff;border:1px solid #6b8b70;box-shadow:0 8px 40px #1a402029;padding:13px 20px;border-radius:11px;display:flex;align-items:center;gap:18px;z-index:100;font-size:13px;max-width:calc(100% - 32px);line-height:1.7}.toast button{border:0;background:transparent;color:#cce4b9;text-decoration:underline;white-space:nowrap}.editing{border-color:#8dad93;box-shadow:0 0 0 3px #edf5ef}.demo-dot{color:#7b9b80}.toast-message{overflow-wrap:anywhere}
@media(min-width:1500px){.page{padding:43px 50px 26px}.topbar{padding:0 50px}.content-grid{grid-template-columns:1.4fr 1fr}.category-body{gap:42px}.category-legend{gap:16px}.legend-row{font-size:13px}.category-option{font-size:12px}}
@media(max-width:1180px){:root{--sidebar:195px}.sidebar{padding:30px 17px}.brand{font-size:18px;gap:8px}.brand-mark{width:36px;height:36px}.brand small{font-size:7px;letter-spacing:1px}.topbar{padding:0 28px}.page{padding:30px 27px}.summary-grid{gap:12px;grid-template-columns:1.2fr 1fr 1fr}.stat-card{padding:20px 18px}.budget-card{display:none}.content-grid{gap:18px;grid-template-columns:minmax(0,1.1fr) minmax(310px,1fr)}.panel{padding:22px 20px}.category-body{flex-direction:column;gap:23px;min-height:0}.donut-wrap{width:170px}.donut:before{inset:20px}.category-legend{width:100%;grid-template-columns:1fr 1fr;gap:12px 17px}.legend-row{grid-template-columns:7px 1fr;gap:6px}.legend-numbers{grid-column:2;text-align:left;font-size:11px}.legend-numbers small{margin-left:4px}.category-panel{grid-row:span 2}.add-panel{grid-row:auto}.trend-panel{grid-column:2}.page-heading{align-items:flex-start}.month-control{margin-top:25px}.month-control input{width:124px}.month-reset{display:none}.chart-frame{height:95px}.record-controls{gap:13px}.page-footer{flex-direction:column;gap:3px}.section-tag{font-size:10px}}
@media(max-width:950px){:root{--sidebar:0px}.sidebar{display:none}.topbar{height:72px}.mobile-brand{display:flex!important;align-items:center;gap:9px;color:#315f50;font-size:19px;font-weight:600}.mobile-brand svg{width:24px;height:24px}.breadcrumb{display:none}.mobile-settings{display:grid!important}.avatar{display:none}.header-actions{gap:18px}.page{max-width:900px}.content-grid{grid-template-columns:minmax(0,1fr) minmax(320px,1fr)}.category-panel{grid-row:span 2}.category-legend{grid-template-columns:1fr}.legend-row{grid-template-columns:7px 1fr auto}.legend-numbers{grid-column:auto;text-align:right}.summary-grid{grid-template-columns:1.3fr 1fr 1fr}.page-footer{padding-bottom:65px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid #e6eee6;z-index:20;justify-content:space-around;padding:9px 18px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-nav>button{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;font-size:10px;color:#9aa79c;min-width:62px;padding:1px 10px}.mobile-nav>button.active{color:#315f50}.mobile-nav .mobile-add{color:#315f50}.mobile-add>svg{background:#315f50;color:white;border-radius:9px;box-sizing:content-box;padding:6px;width:20px;height:20px;margin-top:-8px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));left:50%}}
@media(max-width:640px){.topbar{padding:0 20px;height:67px}.mobile-brand{font-size:18px}.header-actions{gap:14px}.connection{display:none}.header-actions .text-button{font-size:12px}.page{padding:25px 17px 20px}.page-heading{display:block;margin-bottom:22px}.eyebrow{font-size:8px;margin-bottom:10px;letter-spacing:1.8px}h1{font-size:25px;letter-spacing:.3px}.page-heading p{font-size:12px;line-height:1.8}.month-control{margin-top:20px;display:inline-flex;padding:3px;gap:8px}.month-control input{width:137px;font-size:14px}.month-reset{display:block}.summary-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:18px}.stat-card{min-height:132px;border-radius:14px;padding:17px 16px}.total-card{grid-column:span 2;min-height:168px;padding:22px}.money{margin:15px 0 13px}.money strong{font-size:42px}.total-footer{font-size:12px}.total-card .stat-top{font-size:14px}.stat-top{font-size:12px}.stat-number{margin-top:14px;gap:5px}.stat-number strong{font-size:27px}.stat-card>p{font-size:10px;margin-top:12px}.pale-icon{width:25px;height:25px}.pale-icon svg{width:15px;height:15px}.budget-card{display:block;grid-column:span 2;min-height:0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.budget-card .stat-top{grid-column:1;gap:15px;justify-content:flex-start}.budget-card .stat-number{grid-column:2;grid-row:1;margin:0}.budget-card .stat-number strong{font-size:20px}.budget-card .stat-number>span{font-size:13px}.budget-card .progress{grid-column:span 2;margin-top:0}.budget-card>p{grid-column:span 2;margin-top:0;font-size:10px}.content-grid{display:flex;flex-direction:column;gap:18px;margin-bottom:18px}.panel{padding:21px 19px;border-radius:15px}.section-heading h2{font-size:16px}.section-heading p{font-size:11px}.category-panel{order:2}.add-panel{order:1}.trend-panel{order:3}.category-body{flex-direction:row;gap:20px;margin-top:23px}.donut-wrap{width:46%;max-width:180px}.donut:before{inset:18px}.donut-center{gap:6px}.donut-center>span{font-size:10px}.donut-center strong{font-size:27px}.donut-center small{font-size:8px}.category-legend{width:auto;gap:12px}.legend-row{font-size:11px;gap:7px;grid-template-columns:6px 1fr}.legend-numbers{grid-column:2;text-align:left;font-size:11px}.legend-numbers small{font-size:9px}.category-option{font-size:11px;padding:8px 0}.category-picker{gap:9px 5px;margin-bottom:20px}.category-option .category-icon{height:36px;width:36px}.add-panel form{margin-top:23px}.amount-input input{font-size:36px}.form-row{gap:11px;grid-template-columns:1fr 1.15fr}.form-row input{font-size:12px!important;padding:10px 7px!important}.chart-frame{height:115px;margin-top:25px}.record-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}.record-controls{width:100%;gap:17px;border-top:1px solid #f2f5f1;padding-top:12px}.record-controls select{margin-right:auto;font-size:11px}.record-controls .text-button{font-size:11px}.record-row{padding:14px 0;gap:10px}.record-icon{width:35px;height:35px;border-radius:10px}.record-icon svg{width:18px;height:18px}.record-main strong{font-size:12px}.record-main small{font-size:10px}.record-amount{font-size:13px}.record-actions{gap:0;margin-left:0}.record-actions button{width:25px;height:29px}.record-actions svg{width:13px;height:13px}.record-day-heading{font-size:10px;padding:8px 9px}.page-footer{font-size:9px;margin-top:20px;gap:6px;padding-bottom:70px}.page-footer>span:first-child{align-items:flex-start}.demo-banner{font-size:11px;align-items:flex-start;padding:11px 12px;line-height:1.8}.empty-state{padding:31px 8px}.empty-state p{font-size:11px}.toast{width:max-content;max-width:calc(100% - 30px);font-size:12px;padding:12px 16px}.dialog-head h2{font-size:18px}dialog{padding:23px}.dialog-copy{font-size:13px}.primary-button{min-height:46px}.mobile-nav>button{font-size:11px}.section-tag{font-size:10px}}
.field-label,.form-row label,.stat-top,.category-option,.legend-row,.record-main strong,.record-controls .text-button{font-size:14px}.category-option{white-space:normal}.record-main small,.record-day-heading,.section-heading p,.stat-card>p,.page-heading p{font-size:12px}.form-row input,input:not([type="month"]):not(#amount){font-size:16px!important}.record-controls select{font-size:14px}.mobile-nav>button{font-size:12px}.page-footer{font-size:11px}.record-amount{font-size:15px}
@media(max-width:640px){.form-row{grid-template-columns:1fr}.category-picker{gap:7px 3px}.category-option{font-size:12px}.category-legend{gap:10px}.legend-row{font-size:12px}.legend-numbers{font-size:12px}.section-heading p,.stat-card>p{font-size:12px}.record-controls{gap:14px}.record-controls .text-button{font-size:12px}.record-controls select{font-size:12px}.record-main strong{font-size:14px}.record-day-heading{font-size:12px}.record-main small{font-size:12px}.record-actions button{width:29px}.record-actions svg{width:15px}.page-footer{font-size:11px}.connection{font-size:12px}.donut-center small{display:none}}
.mobile-tools{display:none}
.summary-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.budget-card{display:block}.budget-card .stat-number{margin-top:17px}.budget-card .stat-top{justify-content:space-between}.budget-card .progress{margin-top:15px}.budget-card>p{margin-top:9px}
.category-option{padding:0;border:0;position:relative;background:transparent!important;cursor:pointer}.category-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 2px;min-height:81px;width:100%;height:100%;border:1px solid transparent;border-radius:10px;line-height:1.5;overflow-wrap:anywhere}.category-radio{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important}.category-radio:checked+.category-choice{background:#e8f3e9;border-color:#a8c7ae;color:#315f50;font-weight:600}.category-radio:checked+.category-choice .category-icon{background:#d7e8db;color:#315f50}.category-radio:focus-visible+.category-choice{outline:3px solid #87b6a1;outline-offset:2px}.category-choice:hover{background:#f3f8f3}.runtime-warning{padding:14px 17px;background:#fff6e5;border:1px solid #f0dfbd;border-radius:10px;font-size:14px;color:#916e36;line-height:1.8;margin-bottom:20px}.money strong{font-size:clamp(25px,3.3vw,42px);overflow-wrap:anywhere;white-space:normal}.money{min-width:0}.legend-name{overflow-wrap:anywhere;white-space:normal}
@media(max-width:640px){.summary-grid{grid-template-columns:1fr}.total-card,.budget-card{grid-column:auto}.budget-card{display:grid}.budget-card .stat-number{margin-top:0}.budget-card .stat-top{justify-content:flex-start}.budget-card .progress{margin-top:0}.budget-card>p{margin-top:0}.money strong{font-size:clamp(23px,8vw,38px)}.category-option{font-size:13px}.category-choice{min-height:87px;gap:7px}.category-picker{gap:9px 5px}.category-choice:active{background:#e8f3e9}.record-amount{font-size:14px}}
@media(max-width:950px){.topbar{display:none}.page{padding-top:calc(25px + env(safe-area-inset-top))}.mobile-tools{display:flex;align-items:center;justify-content:space-between;padding:17px 4px 0}.mobile-tools .text-button{display:flex;gap:7px;align-items:center;font-size:14px}.mobile-tools svg{width:17px;height:17px}}
@media(max-width:350px){.category-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-choice{flex-direction:row;justify-content:flex-start;min-height:55px;gap:7px;padding:8px 6px}.category-option .category-icon{width:28px;height:28px;border-radius:8px;flex-shrink:0}.category-icon svg{width:18px;height:18px}.category-choice>span:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
