@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f6f6f6;--ink:#29382f;--muted:#707070;--accent:#376b4b;--accent-soft:#f2f2f2;--line:#f0f0f0;--green:#707070;--radius:15px;--sidebar:238px;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-size:16px;font-weight:400}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}svg{width:20px;height:20px;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #aaecc6;outline-offset:3px}button{color:inherit}input,select{min-width:0}strong,h1,h2,h3{font-weight:600}h1,h2,h3,p{margin:0}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);padding:35px 22px 0;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;font-family:Manrope,sans-serif;font-size:36px;font-weight:800;letter-spacing:-1.8px;padding-left:12px}.brand-mark{display:grid;place-items:center;width:35px;height:37px;margin-right:10px;color:var(--accent)}.brand-mark svg{width:32px;height:32px;stroke-width:2}.brand-dot{color:var(--accent)}.workspace{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:10px;margin:35px 0 31px;padding:13px 11px}.workspace-icon{display:grid;place-items:center;background:#f4f4f4;color:#78cf9c;border-radius:8px;width:36px;height:36px}.workspace strong,.profile strong{display:block;font-size:14px}.workspace div>span,.profile div>span{display:block;color:var(--muted);font-size:14px;margin-top:4px}.nav-label{font-size:12px;letter-spacing:1.9px;color:#707070;font-weight:600;padding:0 13px;margin-bottom:13px}.nav-link{display:flex;align-items:center;gap:12px;padding:14px 15px;margin:5px 0;border-radius:8px;color:#707070;font-weight:500;transition:background .18s,color .18s}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#f8f8f8;color:var(--accent)}.nav-link.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-badge{margin-left:auto;background:#eaeaea;color:#67c990;border-radius:5px;font-size:14px;width:21px;height:21px;display:grid;place-items:center}.sidebar-bottom{margin-top:auto;padding-top:48px}.quiet-note{padding:24px 17px;margin-bottom:32px;background:linear-gradient(145deg,#f8f8f8,#fbfbfb);border-radius:13px;position:relative;overflow:hidden}.quiet-note:after{content:'';width:100px;height:100px;border:1px solid #ececec;border-radius:50%;position:absolute;right:-50px;top:20px;box-shadow:0 0 0 20px #f0f0f080,0 0 0 40px #f3f3f360}.quiet-note>span{display:block;color:#85cda3;margin-bottom:14px}.quiet-note strong{line-height:1.6;font-size:15px}.quiet-note p{font-size:14px;line-height:1.8;margin-top:8px;color:#707070}.profile{border-top:1px solid var(--line);display:flex;gap:9px;align-items:center;margin:0 -22px;padding:21px 18px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eee8de;color:#8b7762;font-weight:600;font-size:14px;flex-shrink:0}.local-label{font-size:12px;letter-spacing:1px;color:#707070;margin-left:auto}.main-shell{margin-left:var(--sidebar)}.topbar{height:83px;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:#707070;display:flex;gap:15px}.breadcrumb>span{color:#d2d2d2}.breadcrumb strong{font-weight:500;color:#686868}.topbar-right{display:flex;align-items:center;gap:22px}.private-label{font-size:14px;color:#707070;display:flex;align-items:center;gap:7px}.private-label svg{height:14px;width:14px;color:#707070}.small{width:32px;height:32px;font-size:12px}main{max-width:1540px;margin:auto;padding:36px 42px 28px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:29px}.eyebrow{display:block;font-size:12px;letter-spacing:1.85px;color:#707070;font-weight:600;margin-bottom:10px}h1{font-family:Manrope,'DM Sans',sans-serif;letter-spacing:-.85px;font-weight:750;font-size:28px;line-height:1.4}.page-heading p{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.6}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:8px;min-height:42px;padding:11px 16px;font-size:14px;font-weight:500;border:1px solid transparent;white-space:nowrap;transition:background .18s,transform .18s}.button svg{width:16px;height:16px}.primary{background:var(--accent);color:#fff;box-shadow:0 3px 5px #376b4b13}.primary:hover{background:#2d593e}.secondary{background:#fff;border-color:#e8e8e8;color:#686868}.secondary:hover{background:#f7f7f7}.period-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.period-control{display:flex;align-items:center;gap:9px}.icon-button{padding:8px;display:inline-flex;justify-content:center;align-items:center;min-width:34px;min-height:34px;border:0;border-radius:7px;background:transparent;color:#707070}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:#f1f1f1;color:var(--accent)}.period-control>.icon-button{background:#fff;border:1px solid #eaeaea;min-width:29px;min-height:29px;padding:6px}.period-control>.icon-button svg{width:13px;height:13px}.prev svg{transform:rotate(180deg)}.month-form{position:relative;padding:4px 7px}.month-form label{font-size:14px;font-weight:550;pointer-events:none}.month-form input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.month-form input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.export-link{display:flex;align-items:center;gap:7px;font-size:14px;color:#707070}.export-link svg{width:14px;height:14px}.export-link:hover{color:var(--accent)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}.stat-title{display:flex;align-items:center;justify-content:space-between;color:#707070;font-size:14px}.stat-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center}.stat-icon svg{width:16px;height:16px}.green{background:#f2f2f2;color:#707070}.sage{background:#f3f3f3;color:#77d09c}.orange{background:#fcf3e9;color:#d8a773}.stat-value{font-family:Manrope,sans-serif;font-size:25px;font-weight:750;letter-spacing:-.8px;margin-top:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.stat-foot{font-size:12px;color:#707070;margin-top:9px}.balance-card{background:#f0f0f0;border-color:#ebebeb}.balance-card .stat-title{color:#707070}.balance-card .stat-icon{background:#e7e7e7;color:#70bd90}.balance-card .stat-value{color:#707070}.balance-card .stat-foot{color:#707070}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:24px;margin-bottom:24px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:24px 25px 0}h2{font-size:15px;font-weight:600;letter-spacing:-.2px}.panel-heading p,.transaction-toolbar p{font-size:14px;color:#707070;margin-top:7px;line-height:1.6}.small-chip{border:1px solid var(--line);border-radius:6px;padding:7px 10px;font-size:12px;color:#707070;white-space:nowrap}.chart-headline{padding:20px 25px 0;display:flex;gap:10px;align-items:baseline}.chart-headline strong{font-family:Manrope,sans-serif;font-size:25px;font-weight:750;letter-spacing:-.7px}.chart-headline>span{font-size:12px;color:#707070}.chart-legend{display:flex;justify-content:flex-end;gap:19px;padding:0 26px;font-size:12px;color:#707070;margin-top:3px}.chart-legend>span{display:flex;align-items:center;gap:6px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:2px;flex-shrink:0}.sage-dot{background:#707070}.mint-dot{background:#707070}.orange-dot{background:#ebba88}.chart{display:flex;margin:21px 26px 0 20px;height:155px;gap:13px}.chart-axis{width:26px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:25px;color:#707070;font-size:12px}.chart-plot{position:relative;flex:1;min-width:0}.grid-lines{position:absolute;inset:0 0 25px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{width:100%;border-top:1px dashed #eeeeee}.bar-groups{display:flex;position:relative;height:100%;justify-content:space-around;gap:15px}.bar-group{height:100%;display:flex;flex-direction:column;align-items:center;flex:1}.bars{height:calc(100% - 25px);width:100%;display:flex;align-items:flex-end;justify-content:center;gap:6px;padding-top:2px}.bar{width:21px;max-width:35%;height:var(--height);border-radius:5px 5px 0 0;min-height:2px;transition:height .3s}.expense-bar{background:linear-gradient(0deg,#707070,#707070)}.saving-bar{background:linear-gradient(0deg,#dddddd,#707070)}.bar-group>span{font-size:12px;color:#707070;margin-top:11px}.chart-caption{display:flex;justify-content:space-between;font-size:12px;color:#707070;padding:17px 26px 21px 58px}.tiny-icon{color:#707070}.tiny-icon svg{height:18px;width:18px}.donut-wrap{display:grid;place-items:center;margin:20px auto}.donut{width:145px;height:145px;border-radius:50%;background:conic-gradient(from 0deg,#707070 0% calc(var(--progress)*1%),#f2f2f2 calc(var(--progress)*1%) 100%);padding:13px;transform:rotate(-2deg)}.donut>div{width:100%;height:100%;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(2deg)}.donut strong{font-family:Manrope,sans-serif;font-size:32px;font-weight:750;color:#707070;letter-spacing:-1px}.donut strong small{font-size:19px;margin-left:2px}.donut>div>span{font-size:12px;color:#707070;margin-top:3px}.over-budget{background:conic-gradient(#c06960 100%,#f2f2f2 0)}.budget-totals{display:flex;justify-content:space-between;gap:12px;padding:0 26px 19px}.budget-totals div{display:flex;flex-direction:column;gap:7px}.budget-totals div:last-child{text-align:right}.budget-totals span{font-size:12px;color:#707070}.budget-totals strong{font-size:14px;font-weight:600}.budget-status{display:flex;align-items:center;justify-content:center;gap:7px;background:#f6f6f6;border-top:1px solid #f1f1f1;padding:13px 10px;color:#707070;font-size:12px}.budget-status svg{width:13px;height:13px}.text-link{color:#707070;font-size:12px;white-space:nowrap}.text-link:hover{text-decoration:underline}.recent-list{padding:10px 25px 8px}.entry-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f4f4f4}.entry-row:last-child{border:0}.category-icon{display:grid;place-items:center;border-radius:10px;width:38px;height:38px;background:color-mix(in srgb,var(--category-color) 13%,white);color:var(--category-color);flex-shrink:0}.category-icon svg{width:18px;height:18px}.entry-description{min-width:0}.entry-description strong{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-description>span{display:block;color:#707070;font-size:12px;margin-top:5px}.entry-description i{font-style:normal;padding:0 4px}.entry-amount{text-align:right;margin-left:auto;white-space:nowrap}.entry-amount strong{display:block;font-size:14px;font-weight:550}.entry-amount>span{display:block;color:#707070;font-size:12px;margin-top:5px}.income-text{color:#707070}.category-list{padding:17px 25px 3px}.category-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:19px}.category-item .category-icon{width:33px;height:33px;border-radius:9px}.category-item svg{width:16px;height:16px}.category-detail{flex:1;min-width:0}.category-detail>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:8px}.category-detail strong{font-weight:500}.category-detail>div:first-child>span{color:#707070;font-size:12px}.progress-track{background:#f3f3f3;border-radius:4px;height:5px;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:4px}.category-numbers{display:flex;justify-content:space-between;font-size:12px;gap:5px;margin-top:7px;color:#707070}.category-numbers>span:first-child{color:#707070}.all-categories{border-top:1px solid #f3f3f3;display:block;text-align:center;font-size:12px;color:#707070;padding:14px}.template-banner{display:flex;align-items:center;gap:18px;padding:22px 25px;border:1px solid #ebebeb;border-radius:13px;background:linear-gradient(110deg,#f2f2f2,#f8f8f8)}.banner-icon{display:grid;place-items:center;color:#8acba5;background:#e9e9e9;width:43px;height:43px;border-radius:12px;transform:rotate(-7deg)}.banner-icon svg{width:23px;height:23px}.template-banner strong{font-size:14px;color:#707070}.template-banner p{font-size:12px;color:#707070;margin-top:7px}.banner-action{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:#707070;white-space:nowrap}.banner-action svg{width:16px;height:16px}footer{max-width:1540px;margin:0 auto;padding:3px 42px 25px;color:#707070;font-size:12px;display:flex;justify-content:space-between}.mobile-nav{display:none}.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f0f0f0;color:#707070;padding:9px 13px;border-radius:7px;margin-bottom:24px;font-size:12px}.demo-bar>span{display:flex;align-items:center;gap:7px}.demo-bar svg{width:13px;height:13px}.demo-bar>button{border:0;background:transparent;color:#707070;font-size:12px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.notice{display:flex;align-items:center;gap:8px;background:#f2f2f2;color:#686868;padding:10px 14px;border-radius:8px;margin-bottom:20px;font-size:14px}.notice>svg{width:17px;height:17px}.notice .icon-button{margin-left:auto}.empty-state{text-align:center;padding:45px 24px}.empty-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--accent-soft);color:#707070;border-radius:14px;margin:0 auto 17px}.empty-state h3{font-size:16px}.empty-state p{font-size:14px;color:var(--muted);line-height:1.8;margin:10px 0 20px}.transaction-toolbar{padding:24px;display:flex;gap:18px;align-items:center;justify-content:space-between}.filters{display:flex;gap:8px}.search-field{display:flex;align-items:center;border:1px solid #eaeaea;border-radius:7px;padding-left:11px;max-width:230px}.search-field svg{width:16px;height:16px;color:#707070}.search-field input{border:0;width:100%;background:transparent;font-size:14px}.filters select{font-size:14px;max-width:160px}.filters .button{padding:9px 14px}.table-head,.table-row{display:grid;grid-template-columns:minmax(200px,2fr) 110px 90px minmax(130px,1fr) 75px;align-items:center;gap:15px;padding:16px 25px}.table-head{font-size:12px;letter-spacing:1.1px;background:#fbfbfb;color:#707070;border-block:1px solid #f2f2f2}.table-head>span:nth-child(4){text-align:right}.table-row{border-bottom:1px solid #f3f3f3;min-height:86px}.table-row:last-child{border:0}.table-description{display:flex;align-items:center;gap:12px;min-width:0}.table-description>div{min-width:0}.table-description strong{font-size:14px;font-weight:500;display:block;overflow-wrap:anywhere}.table-description>div>span{display:block;font-size:12px;color:#707070;margin-top:5px}.table-date,.table-account{font-size:14px;color:#707070}.table-amount{font-size:14px;text-align:right;font-weight:550;white-space:nowrap}.row-actions{display:flex;gap:2px}.row-actions .icon-button svg{width:14px;height:14px}.delete-entry:hover{color:#bd6a63;background:#fbf0ef}.budget-intro{display:flex;justify-content:space-between;align-items:center;padding:26px 29px;background:#f1f1f1;border:1px solid #e9e9e9;border-radius:14px;margin-bottom:23px}.budget-intro strong{display:block;font-family:Manrope,sans-serif;font-size:30px;color:#707070;font-weight:750}.budget-intro p{margin-top:9px;font-size:14px;color:#707070}.budget-table-head,.budget-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:25px;padding:18px 25px;align-items:center}.budget-table-head{font-size:12px;letter-spacing:1px;color:#707070;background:#fcfcfc;margin-top:25px;border-block:1px solid #f0f0f0}.budget-row{border-bottom:1px solid #f3f3f3;min-height:91px}.budget-table-head>span:last-child,.budget-remaining{text-align:right}.budget-input{display:flex;align-items:center;border:1px solid #e8e8e8;border-radius:7px;overflow:hidden;max-width:180px}.budget-input>span{padding-left:12px;color:#707070;font-size:14px}.budget-input input{width:100%;border:0;font-size:14px;padding:12px 8px;background:transparent;text-align:right}.budget-realization strong{font-size:14px;display:block;margin-bottom:9px;font-weight:500}.budget-realization .progress-track{max-width:140px;height:4px}.budget-remaining{font-size:14px;color:#707070}.danger-text{color:#bd6d66!important}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 25px}.form-footer p{display:flex;align-items:center;gap:7px;color:#707070;font-size:12px}.form-footer p svg{width:14px;height:14px}.template-note{background:#f2f2f2;border-radius:10px;padding:18px 21px;display:flex;align-items:center;gap:15px;color:#707070;margin-bottom:24px;font-size:14px;line-height:1.7}.template-note>svg{color:#8bcba6;width:25px;height:25px}.template-note strong{font-weight:550;color:#707070}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin-bottom:25px}.template-card{padding:25px}.template-tag{color:#707070;background:#f5f5f5;border-radius:5px;padding:5px 9px;font-size:12px;display:inline-block}.highlight-tag{background:#f2f2f2;color:#79c398}.template-visual{height:84px;display:flex;gap:5px;align-items:flex-end;margin:22px 0}.template-visual div{height:100%;border-radius:7px}.template-visual div:nth-child(2){height:75%}.template-visual div:nth-child(3){height:56%}.template-card h2{font-family:Manrope,sans-serif;font-size:23px;font-weight:750;letter-spacing:-.6px}.template-card>p{font-size:14px;color:#707070;line-height:1.9;min-height:48px;margin-top:11px}.template-card dl{margin:23px 0;padding:18px 0;border-block:1px solid #f2f2f2}.template-card dl>div{display:flex;justify-content:space-between;margin:13px 0;font-size:14px}.template-card dt{display:flex;align-items:center;gap:9px;color:#707070}.template-card dd{font-weight:550}.template-card>.button{width:100%}.how-it-works{padding:27px}.how-it-works>h2{font-size:18px}.how-it-works>div{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:27px}.how-it-works article>span{color:#707070}.how-it-works h3{font-size:14px;margin-top:14px}.how-it-works p{font-size:14px;line-height:1.9;margin-top:9px;color:#707070}.template-source{margin-top:20px;font-size:12px;color:#707070;line-height:1.7}.template-source a{text-decoration:underline;text-underline-offset:3px}.modal{border:1px solid #eaeaea;border-radius:18px;padding:28px;width:min(480px,calc(100% - 30px));color:var(--ink);box-shadow:0 25px 100px #13372222;max-height:90dvh;overflow-y:auto}.modal::backdrop{background:#202f2655;backdrop-filter:blur(4px)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:16px}.modal-heading h2{font-family:Manrope,sans-serif;font-size:23px;font-weight:750;letter-spacing:-.6px}.modal-heading .eyebrow{font-size:12px}.modal input:not([type=radio]),.modal select{width:100%}.modal .form-label{display:block;font-size:14px;font-weight:500;margin:20px 0 9px;color:#707070}input,select{border:1px solid #e8e8e8;background:#fff;border-radius:7px;min-height:42px;padding:10px 12px;color:#597263;font-size:14px}input::placeholder{color:#707070}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b8a76' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}.kind-picker{border:0;padding:4px;margin:0 0 23px;background:#f5f5f5;border-radius:8px;display:flex;gap:3px}.kind-picker label{flex:1;position:relative;cursor:pointer}.kind-picker input{position:absolute;opacity:0;width:1px;height:1px}.kind-picker span{display:block;padding:10px 5px;text-align:center;border-radius:6px;font-size:14px;color:#707070}.kind-picker input:checked+span{background:#fff;box-shadow:0 2px 8px #467b5c0b;color:#707070;font-weight:550}.kind-picker input:focus-visible+span{outline:2px solid #7fc59c}.amount-input{display:flex;align-items:center;gap:12px;border:1px solid #e8e8e8;border-radius:9px;padding:5px 15px}.amount-input>span{font-size:18px;color:#707070}.amount-input input{font-family:Manrope,sans-serif;font-size:30px;border:0;padding:12px 0;font-weight:650}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-hint{display:flex;gap:7px;align-items:center;font-size:12px;color:#707070;margin-top:23px}.form-hint svg{width:14px;height:14px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:25px;margin-top:23px;border-top:1px solid #f0f0f0}.modal-actions .button{min-width:85px}.form-error{border-radius:7px;background:#fbefed;color:#b76e65;font-size:14px;padding:12px;line-height:1.7;margin-bottom:15px}.form-error[hidden]{display:none}.confirm-copy{font-size:14px;color:#707070;line-height:1.8}.danger-button{background:#b9746e;color:#fff}.danger-button:hover{background:#a5625d}.plan-preview{background:#f6f6f6;padding:15px;border-radius:8px;color:#707070;font-size:14px;line-height:2;margin-top:18px}.plan-preview>div{display:flex;justify-content:space-between}.global-error{position:fixed;bottom:24px;right:24px;z-index:100;max-width:400px;background:#a45f59;color:#fff;padding:18px 24px;border-radius:10px;box-shadow:0 5px 20px #0002;font-size:14px;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1550px){:root{--sidebar:260px}.sidebar{padding-top:40px}.stat-card{padding:24px}.stat-value{font-size:30px}.chart{height:185px}.donut{width:168px;height:168px}.donut-wrap{margin:25px auto}.entry-row{padding:17px 0}}
@media(max-width:1200px){:root{--sidebar:208px}.sidebar{padding-inline:16px}.profile{margin-inline:-16px;padding-inline:14px}.brand{font-size:33px}.workspace{padding:12px 9px;gap:8px}.workspace div>span{font-size:12px}.nav-link{padding-inline:12px;font-size:14px;gap:10px}.topbar{padding-inline:28px}main{padding:30px 28px 25px}h1{font-size:24px}.page-heading p{font-size:14px}.eyebrow{font-size:12px}.stats-grid{gap:12px}.stat-card{padding:17px}.stat-value{font-size:21px}.stat-foot{font-size:12px}.dashboard-grid{gap:18px;grid-template-columns:1.45fr 1fr}.panel-heading{padding:22px 21px 0}.panel-heading p{font-size:12px}.chart-headline{padding-inline:21px}.chart-headline strong{font-size:23px}.chart-headline>span{font-size:12px}.recent-list,.category-list{padding-inline:21px}.entry-description strong{font-size:14px}.entry-amount strong{font-size:12px}.entry-row{gap:10px}.budget-totals{padding-inline:21px}.budget-totals strong{font-size:14px}.template-card{padding:21px}.template-grid{gap:17px}.template-card h2{font-size:21px}.transaction-toolbar{align-items:flex-start;flex-direction:column}.filters{width:100%}.search-field{max-width:none;flex:1}.table-head,.table-row{grid-template-columns:minmax(150px,2fr) 85px 60px minmax(105px,1fr) 70px;gap:12px;padding-inline:20px}.table-amount{font-size:14px}.table-description{gap:9px}.budget-row,.budget-table-head{gap:18px;grid-template-columns:1.6fr 1fr 1.15fr 1fr}.budget-remaining{font-size:14px}.budget-input input{font-size:14px}.banner-action{font-size:12px}footer{padding-inline:28px}}
@media(max-width:960px){:root{--sidebar:185px}.brand{padding-left:7px}.workspace-icon{display:none}.workspace{padding:12px 13px}.nav-link{font-size:14px;padding:13px 10px}.nav-link svg{width:17px;height:17px}.nav-badge{font-size:12px;width:17px;height:17px}.quiet-note{padding:20px 12px}.quiet-note strong{font-size:14px}.quiet-note p{font-size:12px}.profile div>span{font-size:12px}.profile strong{font-size:14px}.local-label{display:none}.topbar{height:72px;padding-inline:24px}main{padding-inline:24px}.page-heading{flex-wrap:wrap;gap:18px}.page-heading .button{min-height:38px;font-size:14px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stat-value{font-size:26px}.stat-foot{font-size:12px}.dashboard-grid{grid-template-columns:1fr}.spending-panel .chart{height:180px}.budget-summary{display:grid;grid-template-columns:1fr 1fr}.budget-summary .panel-heading{grid-column:1/-1}.budget-summary .donut-wrap{margin:24px auto}.budget-summary .budget-totals{flex-direction:column;justify-content:center;gap:20px}.budget-summary .budget-totals div:last-child{text-align:left}.budget-summary .budget-status{grid-column:1/-1}.budget-totals strong{font-size:15px}.budget-totals span{font-size:14px}.recent-panel .entry-description strong{font-size:14px}.recent-panel .entry-amount strong{font-size:14px}.category-panel .category-detail>div:first-child{font-size:14px}.category-panel .category-numbers{font-size:12px}.category-panel .category-list{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;padding-top:25px}.template-banner{flex-wrap:wrap;gap:12px;padding:20px}.template-banner>div{flex:1}.banner-action{margin-left:56px}.table-head{display:none}.table-row{grid-template-columns:1fr auto;gap:8px;padding-block:18px;position:relative}.table-description{grid-row:1 / 3}.table-date{display:none}.table-account{grid-column:1;grid-row:3;padding-left:47px;font-size:12px}.table-amount{grid-column:2;grid-row:1;font-size:14px}.row-actions{grid-column:2;grid-row:2 / 4;justify-content:flex-end}.budget-table-head{display:none}.budget-row{grid-template-columns:1.3fr 1fr;gap:17px;padding:20px}.budget-row .table-description{grid-column:1}.budget-realization{grid-column:1;grid-row:2;padding-left:50px}.budget-realization strong{font-size:12px}.budget-input{grid-column:2;grid-row:1}.budget-remaining{grid-column:2;grid-row:2}.form-footer{align-items:flex-start;flex-direction:column}.form-footer .button{align-self:flex-end}.budget-intro{padding:23px;gap:18px;flex-wrap:wrap}.budget-intro p{font-size:14px}.template-grid{grid-template-columns:1fr}.template-card{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;padding:26px}.template-tag{justify-self:start}.template-visual{grid-column:2;grid-row:1 / 4;height:90px;align-self:center;margin:0}.template-card h2{margin-top:20px}.template-card>p{grid-column:1;min-height:0}.template-card dl{grid-column:1 / -1;display:flex;gap:25px}.template-card dl>div{flex:1;margin:0;font-size:14px}.template-card dt{gap:6px}.template-card dd{margin-left:8px}.template-card>.button{grid-column:1/-1}.how-it-works>div{grid-template-columns:1fr;gap:25px}.how-it-works article{padding-left:38px;position:relative}.how-it-works article>span{position:absolute;left:0;top:10px}.how-it-works h3{margin-top:8px}.how-it-works p{margin-top:6px}.demo-bar{font-size:12px}.demo-bar>button{font-size:12px}.private-label{font-size:12px}footer>span{display:none}}
@media(max-width:700px){:root{font-size:16px}.sidebar{display:none}.main-shell{margin:0}.topbar{height:66px;padding:0 20px}.breadcrumb{font-size:14px}.breadcrumb:before{content:'ruma.';font-family:Manrope,sans-serif;font-size:24px;font-weight:800;letter-spacing:-1.2px;color:#376b4b}.breadcrumb{align-items:center;gap:11px}.breadcrumb>span,.breadcrumb>strong{display:none}.private-label{font-size:0;gap:0}.private-label svg{height:17px;width:17px}.topbar-right{gap:12px}.topbar .small{width:29px;height:29px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;z-index:20;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid #ededed;padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.mobile-nav .nav-link{flex:1;display:flex;flex-direction:column;justify-content:center;gap:5px;margin:0;min-height:50px;padding:7px 6px;border-radius:9px;font-size:12px}.mobile-nav .nav-link svg{width:20px;height:20px}.mobile-nav .desktop-only{display:none}main{padding:25px 20px 24px}.eyebrow{font-size:12px;letter-spacing:1.55px;margin-bottom:10px}h1{font-size:25px;line-height:1.4;max-width:330px;letter-spacing:-.8px}.page-heading{margin-bottom:25px;gap:20px}.page-heading>div{width:100%}.page-heading p{font-size:14px;line-height:1.8;max-width:330px}.page-heading .button{font-size:14px;min-height:42px;padding:11px 14px}.period-row{margin-bottom:19px}.period-control{gap:6px}.month-form label{font-size:14px}.export-link{font-size:12px;gap:5px}.export-link svg{width:13px;height:13px}.stats-grid{gap:12px;margin-bottom:19px}.stat-card{padding:16px 15px;border-radius:13px}.stat-title{font-size:14px}.stat-icon{width:26px;height:26px;border-radius:7px}.stat-icon svg{width:14px;height:14px}.stat-value{font-size:23px;margin-top:15px;letter-spacing:-.8px}.stat-foot{font-size:12px;line-height:1.7;margin-top:7px}.balance-card .stat-foot{max-width:135px}.dashboard-grid{gap:19px;margin-bottom:19px}.panel{border-radius:13px}.panel-heading{padding:22px 20px 0}.panel-heading h2{font-size:15px}.panel-heading p{font-size:14px}.small-chip{font-size:12px;padding:6px 9px}.chart-headline{padding:21px 20px 0;gap:8px}.chart-headline strong{font-size:25px}.chart-headline>span{font-size:12px}.chart-legend{font-size:12px;margin-top:17px;padding-right:20px;gap:14px}.chart{margin-right:20px;margin-top:22px}.spending-panel .chart{height:165px}.chart-axis{font-size:12px;width:25px}.bar-groups{gap:10px}.bar{width:18px;max-width:37%}.bars{gap:5px}.bar-group>span{font-size:12px}.chart-caption{font-size:12px;padding:17px 20px 21px 57px}.donut{width:130px;height:130px;padding:12px}.donut strong{font-size:30px}.donut-wrap{margin:24px auto}.budget-summary .budget-totals{padding:0 20px 0 5px;gap:21px}.budget-totals strong{font-size:14px}.budget-totals span{font-size:12px}.budget-status{font-size:12px;padding:14px}.recent-list{padding:9px 20px 7px}.entry-row{gap:10px;padding:16px 0}.entry-row .category-icon{width:34px;height:34px;border-radius:9px}.entry-row .entry-description strong{font-size:14px}.entry-row .entry-description>span{font-size:12px}.entry-row .entry-amount strong{font-size:14px}.entry-amount>span{font-size:12px}.text-link{font-size:12px}.category-panel .category-list{grid-template-columns:1fr;padding:24px 20px 1px}.category-panel .category-detail>div:first-child{font-size:14px}.category-numbers{font-size:12px}.category-item{margin-bottom:22px}.all-categories{font-size:14px}.template-banner{padding:20px 17px;gap:12px;align-items:flex-start}.template-banner strong{font-size:14px;line-height:1.7;display:block}.template-banner p{font-size:12px;line-height:1.8}.banner-action{margin-left:55px;font-size:14px}.banner-icon{width:40px;height:40px}.banner-icon svg{width:21px;height:21px}footer{padding:0 20px 105px;font-size:12px;line-height:1.8}.demo-bar{align-items:flex-start;gap:8px;padding:10px 12px;margin-bottom:22px;font-size:12px;line-height:1.7;flex-direction:column}.demo-bar>button{padding:0 0 2px 20px;font-size:12px}.demo-bar>span{align-items:flex-start}.demo-bar svg{margin-top:2px}.notice{font-size:14px;padding:10px;line-height:1.8;align-items:flex-start}.notice>svg{margin-top:5px}.transaction-toolbar{padding:20px;gap:22px}.transaction-toolbar p{font-size:14px}.filters{display:grid;grid-template-columns:1fr auto;gap:9px}.search-field{grid-column:1/-1;max-width:none;min-height:44px}.search-field input{font-size:14px}.filters select{max-width:none;width:100%;font-size:14px}.filters .button{font-size:14px;min-width:65px}.table-row{padding:18px 20px;gap:9px}.table-description .category-icon{height:33px;width:33px;border-radius:9px}.table-description>div>strong{font-size:14px}.table-description>div>span{font-size:12px}.table-amount{font-size:14px}.table-account{padding-left:42px;font-size:12px}.row-actions .icon-button{min-width:35px;min-height:35px}.table-description{grid-row:1/3;align-self:start}.budget-intro{padding:23px 20px;gap:22px}.budget-intro strong{font-size:29px}.budget-intro p{font-size:14px;line-height:1.8}.budget-intro .button{font-size:14px}.budget-row{padding:20px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:13px}.budget-row .category-icon{width:32px;height:32px;border-radius:8px}.budget-row .category-icon svg{width:16px;height:16px}.budget-row .table-description{grid-row:1;gap:9px}.budget-row .table-description strong{font-size:14px}.budget-input{width:100%;max-width:none}.budget-input input{font-size:14px;padding:11px 7px;min-height:42px}.budget-input>span{font-size:14px;padding-left:9px}.budget-remaining{font-size:14px}.budget-realization{padding-left:41px}.budget-realization strong{font-size:12px}.budget-realization .progress-track{max-width:110px}.form-footer{padding:20px}.form-footer p{font-size:12px;line-height:1.8;align-items:flex-start}.form-footer p svg{margin-top:3px}.form-footer .button{width:100%;min-height:44px}.template-note{padding:17px;gap:12px;align-items:flex-start;font-size:14px}.template-note svg{width:20px;height:20px;margin-top:4px}.template-grid{gap:19px}.template-card{padding:23px;gap:0 20px}.template-card h2{font-size:22px}.template-card>p{font-size:14px}.template-visual{height:85px}.template-tag{font-size:12px}.template-card dl{flex-direction:column;gap:16px;margin:22px 0;padding:20px 0}.template-card dl>div{font-size:14px}.template-card dt{gap:8px}.template-card .button{font-size:14px;min-height:44px}.how-it-works{padding:24px}.how-it-works h2{font-size:17px;line-height:1.7}.how-it-works>div{gap:20px}.how-it-works h3{font-size:14px}.how-it-works p{font-size:14px}.template-source{font-size:12px;line-height:1.9}.modal{padding:24px 22px;max-height:90dvh;border-radius:16px}.modal-heading h2{font-size:22px}.modal .form-label{font-size:14px}.modal input:not([type=radio]),.modal select{font-size:16px;min-height:46px}.kind-picker span{font-size:14px;min-height:40px;display:grid;place-items:center;padding-inline:5px}.modal .amount-input input{font-size:30px}.form-columns{gap:12px}.form-hint{font-size:12px;line-height:1.8}.modal-actions .button{font-size:14px;min-height:44px}.global-error{bottom:90px;left:20px;right:20px;font-size:14px}.confirm-copy{font-size:14px}.empty-state{padding:40px 20px}.empty-state h3{font-size:15px}.empty-state p{font-size:14px}}
@media(max-width:370px){main{padding-inline:15px}.stat-card{padding:14px 12px}.stat-value{font-size:20px}.stat-foot{font-size:12px}.entry-row .entry-amount strong{font-size:12px}.entry-row .entry-description strong{font-size:12px}.template-card{padding:20px}.template-card h2{font-size:20px}.budget-row{padding-inline:15px;gap:10px}.budget-row .table-description strong{font-size:12px}.panel-heading{padding-inline:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:1200px){.nav-link>span>.desktop-only{display:none}}
@media(max-width:960px){.nav-badge.desktop-only{display:none}.nav-link{font-size:14px}.nav-link svg{width:18px;height:18px}.template-card dl{gap:14px}}
@media(max-width:700px){.mobile-nav .nav-link{font-size:12px}.stat-value{font-size:22px}.stat-foot{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.stat-title{font-size:14px;gap:5px}.stat-icon{width:23px;height:23px;flex-shrink:0}.budget-input input{font-size:16px}.filters input,.filters select{font-size:16px}.kind-picker span{font-size:12px}.entry-description>span{line-height:1.5}.entry-row .entry-description strong{white-space:normal;line-height:1.6;overflow-wrap:anywhere}.entry-amount{flex-shrink:0}.entry-row .entry-amount strong{font-size:12px}.stat-value{font-size:clamp(18px,5.3vw,23px)}.period-row{gap:8px}.period-control{gap:3px}.month-form{padding-inline:4px}.month-form label{font-size:14px}.export-link{font-size:12px}.recent-list{padding-inline:17px}.entry-row{gap:9px}.entry-amount>span{font-size:12px}.table-description strong{font-size:14px}.budget-row .table-description strong{font-size:14px}.budget-row .table-description>div>span{font-size:12px}.category-detail>div:first-child>span{font-size:12px}.form-columns input{max-width:100%}.template-card>p{font-size:14px;min-height:0}.template-card dl>div{font-size:14px}.demo-bar{font-size:12px}.demo-bar>button{font-size:12px}}
@media(max-width:370px){.stat-title{font-size:12px}.stat-value{font-size:18px}.stat-card{padding:14px 11px}.stat-foot{font-size:12px}.period-control>.icon-button{min-width:27px;min-height:32px}.month-form label{font-size:13px}.export-link{font-size:12px}.table-row{padding-inline:15px}.table-amount{font-size:12px}}
.stat-foot{color:#707070}.balance-card .stat-foot{color:#707070}.form-label{color:#707070}.template-source{color:#707070}.htmx-request .add-transaction{cursor:progress}
.bucket-summary{margin-bottom:24px}.bucket-head,.bucket-row{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:16px;align-items:center;padding:18px 25px}.bucket-head{margin-top:24px;background:#fbfbfb;font-size:12px;color:#707070;letter-spacing:.7px}.bucket-head>span:not(:first-child),.bucket-row>strong,.bucket-row>span{text-align:right}.bucket-row{border-top:1px solid var(--line);font-size:14px}.bucket-row>div{display:flex;align-items:center;gap:10px}.bucket-row>div>strong{font-size:14px}.bucket-row .small-chip{padding:4px 7px}.bucket-row>span{color:#707070}.plan-preview{font-size:14px}.plan-preview>div{gap:15px}.plan-preview strong{white-space:nowrap}.template-card dt{line-height:1.6}
@media(max-width:700px){.bucket-head,.bucket-row{grid-template-columns:1.5fr 1fr 1fr;gap:10px;padding:16px}.bucket-head{font-size:11px;letter-spacing:0}.bucket-row{font-size:12px}.bucket-row>div{flex-wrap:wrap;gap:6px}.bucket-row>div>strong{font-size:12px;flex-basis:calc(100% - 20px)}.bucket-row .small-chip{margin-left:13px;font-size:12px}.bucket-row>strong{font-size:12px}.plan-preview{font-size:12px}}
.logout-button{border:1px solid #e6e6e6;background:#fff;border-radius:7px;padding:9px 13px;font-size:14px;min-height:40px;color:#707070}.logout-button:hover{background:#f5f5f5;color:#376b4b}.login-body{min-height:100dvh;background:radial-gradient(ellipse at 50% 30%,#f2f2f2,transparent 65%),#f6f6f6}.login-main{max-width:520px;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;margin:auto}.login-brand{padding:0;margin-bottom:32px}.login-card{padding:38px;width:100%;border:1px solid #eaeaea;border-radius:21px;background:#ffffffef;box-shadow:0 12px 55px #70707008}.login-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f2f2f2;color:#83c9a0;margin-bottom:26px}.login-symbol svg{width:25px;height:25px}.login-card h1{font-size:27px;line-height:1.5;letter-spacing:-.9px}.login-card .eyebrow{font-size:11px;line-height:1.7}.login-copy{font-size:16px;color:#707070;line-height:1.8;margin-top:12px}.login-card form{margin-top:28px}.login-card .form-label{display:block;font-size:14px;margin:0 0 10px}.login-card input[type=password]{width:100%;font-size:16px;min-height:48px}.login-card .button{width:100%;min-height:48px;font-size:14px;margin-top:18px}.login-hint{font-size:12px;line-height:1.9;color:#707070;text-align:center;margin-top:22px}.login-footer{font-size:12px;color:#707070;margin-top:25px;line-height:1.8;text-align:center}.login-card .form-error{font-size:14px}
@media(max-width:700px){.login-main{padding:28px 20px}.login-card{padding:28px 24px;border-radius:17px}.login-card h1{font-size:25px}.login-brand{margin-bottom:26px}.login-copy{font-size:16px}.topbar-right{gap:9px}.logout-button{font-size:14px;padding:8px 11px}.topbar-right .small{display:none}}
.password-card form .form-label:not(:first-child){margin-top:20px}.password-card form .form-error+.form-label{margin-top:0}.password-policy{font-size:12px;color:#707070;line-height:1.8;margin-top:8px}.password-back{display:block;text-align:center;color:#707070;font-size:14px;margin-top:22px;padding:10px}.topbar-right>a.logout-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
@media(max-width:700px){.topbar-right .private-label{display:none}.topbar-right>a.logout-button{font-size:12px;min-height:40px;padding:8px}.topbar-right{gap:7px}}
@media(max-width:700px){.topbar .breadcrumb{font-size:0;gap:0}}
@media(min-width:701px) and (max-width:1000px){.topbar-right .private-label,.topbar-right .small{display:none}.topbar-right{gap:10px}.topbar .breadcrumb{gap:10px}}
/* The active monthly budget stays visible throughout the workspace. */
.period-with-label{display:flex;align-items:center;gap:15px}.period-with-label>span{font-size:14px;color:#707070}.active-budget{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:23px 25px 0;background:#fff;border:1px solid #e0e0e0;border-left:4px solid #707070;border-radius:13px;margin-bottom:26px}.active-budget-main{flex:1;min-width:210px}.active-budget-label{font-size:12px;letter-spacing:1.1px;color:#6e6e6e;font-weight:600;margin-bottom:10px}.active-budget-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.active-budget h2{font-family:Manrope,sans-serif;font-size:23px;font-weight:750;color:#2c4d38;letter-spacing:-.5px}.active-budget-main>p{font-size:14px;line-height:1.8;color:#707070;margin-top:8px}.active-budget-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;font-size:12px;background:#efefef;color:#397650;white-space:nowrap}.active-budget-badge svg{width:14px;height:14px}.active-budget-actions{display:flex;align-items:center;gap:22px}.active-budget-total{display:flex;flex-direction:column;gap:8px}.active-budget-total>span{font-size:12px;color:#707070}.active-budget-total>strong{font-family:Manrope,sans-serif;font-size:23px;font-weight:750;color:#2c4d38;white-space:nowrap}.active-budget-foot{flex-basis:calc(100% + 50px);margin:0 -25px;padding:12px 25px;background:#f8f8f8;border-top:1px solid #ececec;font-size:12px;color:#707070;line-height:1.8}.active-budget.no-budget{background:#f8f8f8}.no-budget .active-budget-foot{background:#f3f3f3}.budget-section-heading{margin:3px 0 20px}.budget-section-heading h2{font-size:18px}.budget-section-heading p{font-size:14px;line-height:1.8;color:#707070;margin-top:8px}.allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:26px}.allocation-card{padding:23px}.allocation-heading{display:flex;align-items:center;gap:8px}.allocation-heading h3{font-size:15px;line-height:1.6;flex:1}.allocation-heading .small-chip{font-size:12px;padding:5px 7px}.allocation-card>p{color:#707070;line-height:1.7;font-size:13px;margin-top:9px;min-height:23px}.allocation-value{font-family:Manrope,sans-serif;font-size:26px;font-weight:750;color:#314c3a;letter-spacing:-.6px;margin-top:22px;overflow-wrap:anywhere}.allocation-label{display:block;color:#707070;font-size:12px;margin-top:6px}.allocation-card>.progress-track{height:7px;margin-top:22px}.allocation-card dl{margin:20px 0 0;font-size:13px}.allocation-card dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;line-height:1.8;margin-top:12px}.allocation-card dt{color:#707070}.allocation-card dd{margin:0;white-space:nowrap;font-weight:600}.allocation-card .danger-text dt{color:inherit}.category-editor{border:1px solid #e5e5e5;background:#fff;border-radius:13px;overflow:hidden}.category-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:22px 25px;list-style:none}.category-editor>summary::-webkit-details-marker{display:none}.category-editor>summary strong{font-size:15px}.category-editor>summary span{display:block;font-size:13px;color:#707070;margin-top:8px}.category-editor>summary svg{color:#707070;width:18px;height:18px}.category-editor[open]>summary svg{transform:rotate(180deg)}.category-editor>.panel{border:0;border-top:1px solid #e9e9e9;border-radius:0}.category-editor>summary:focus-visible{outline:3px solid #707070;outline-offset:-3px}.budget-start-note{padding:3px 0 23px;color:#707070;font-size:14px;line-height:1.9}.current-template{border:2px solid #707070}.template-tag.highlight-tag{background:#ececec;color:#2e7047}.transaction-context{background:#f4f4f4;border:1px solid #e8e8e8;border-radius:9px;padding:14px;margin-bottom:20px}.transaction-context strong,.transaction-context>span{display:block;font-size:13px;line-height:1.8;color:#686868}.transaction-context>p{font-size:12px;line-height:1.8;color:#707070;margin-top:7px}
@media(max-width:1200px){.active-budget{align-items:flex-start}.active-budget-actions{gap:15px}.active-budget-total>strong{font-size:21px}.allocation-grid{gap:14px}.allocation-card{padding:19px}.allocation-heading{flex-wrap:wrap}.allocation-heading h3{font-size:14px}.allocation-value{font-size:23px}.allocation-card dl{font-size:12px}}
@media(max-width:960px){.active-budget-actions{width:100%;justify-content:space-between}.allocation-grid{grid-template-columns:1fr}.allocation-card{padding:22px}.allocation-heading h3{font-size:16px}.allocation-card>p{font-size:14px;min-height:0}.allocation-value{font-size:28px}.allocation-card dl{font-size:14px}.active-budget-total>strong{font-size:24px}}
@media(max-width:700px){.period-with-label{flex-direction:column;align-items:flex-start;gap:8px}.period-with-label>span{font-size:12px}.period-row{align-items:flex-end}.active-budget{padding:20px 18px 0;gap:20px;margin-bottom:24px}.active-budget-label{font-size:12px;letter-spacing:.6px;line-height:1.7}.active-budget h2{font-size:23px}.active-budget-main>p{font-size:14px}.active-budget-actions{align-items:flex-start;gap:12px;flex-direction:column}.active-budget-actions>.button{width:100%;font-size:14px;min-height:44px}.active-budget-total{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.active-budget-total>span{font-size:14px}.active-budget-total>strong{font-size:24px}.active-budget-foot{flex-basis:calc(100% + 36px);margin:0 -18px;padding:12px 18px;font-size:12px}.allocation-grid{gap:16px}.allocation-card{padding:22px}.allocation-card .small-chip{font-size:13px}.allocation-heading h3{font-size:16px}.allocation-card dl{font-size:14px}.allocation-label{font-size:13px}.allocation-value{font-size:29px}.category-editor>summary{padding:20px}.category-editor>summary strong{font-size:14px}.category-editor>summary span{font-size:13px}.budget-section-heading h2{font-size:18px}.budget-section-heading p{font-size:14px}.transaction-context strong,.transaction-context>span{font-size:14px}.template-card>.button{font-size:14px}.template-note{font-size:14px}}
.budget-comparison-empty{text-align:center;padding:27px 24px 30px}.budget-comparison-empty h3{font-size:16px;line-height:1.7}.budget-comparison-empty p{font-size:14px;line-height:1.8;color:#707070;margin:10px 0 20px}
@media(min-width:701px) and (max-width:960px){.budget-summary .budget-comparison-empty{grid-column:1/-1}}
.budget-summary .budget-comparison-empty{grid-column:1/-1}
@media(max-width:700px){.active-budget-total{flex-wrap:wrap}.active-budget-total>strong{font-size:clamp(20px,6vw,24px)}}
.template-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.template-toolbar h2{font-size:18px}.template-toolbar p{font-size:14px;color:#707070;line-height:1.8;margin-top:7px}.template-card-actions{display:flex;justify-content:space-between;gap:14px;margin-top:17px}.template-card-actions button{border:0;background:transparent;padding:7px 0;color:#487957;font-size:13px;line-height:1.6;cursor:pointer;white-space:normal;text-align:left}.template-card-actions .delete-template{color:#a6665b}.percentage-help{font-size:14px;color:#707070;line-height:1.8;margin:20px 0 13px}.percentage-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.percentage-fields>label{font-size:13px;color:#6d6d6d;line-height:1.7;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.percentage-fields label>div{display:flex;align-items:center;gap:7px}.percentage-fields label>div>input{width:calc(100% - 21px)!important;min-width:0;font-size:16px}.percentage-fields label>div>span{font-size:14px}.percentage-total{font-size:13px;color:#42784f;line-height:1.8;margin-top:13px}.button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.5}.template-card-actions{grid-column:1/-1}
@media(max-width:700px){.template-toolbar{flex-direction:column;align-items:flex-start;gap:16px}.template-toolbar>.button{width:100%;font-size:14px;min-height:44px}.template-card-actions button{font-size:14px;min-height:40px}.percentage-fields{grid-template-columns:1fr;gap:14px}.percentage-fields>label{flex-direction:row;align-items:center;font-size:14px;gap:18px}.percentage-fields label>div{width:100px;flex-shrink:0}.percentage-total{font-size:14px}}
/* Quiet neutral surfaces; green is reserved for actions and financial status. */
:root{--bg:#f4f4f5;--ink:#27272a;--muted:#71717a;--line:#e7e7ea;--accent:#376b4b;--accent-soft:#f0f3f0;--green:#376b4b}body{background:var(--bg);color:var(--ink)}.panel,.stat-card,.workspace,.modal{border-color:var(--line)}.sidebar,.topbar{background:#fff}.brand-mark,.brand-dot{color:var(--accent)}.workspace-icon,.stat-icon,.green,.sage,.orange,.avatar,.category-icon{background:#f3f3f4;color:#626268}.avatar{color:#626268}.nav-link{color:#71717a}.nav-link.active{background:#f0f2f0;color:#34583e}.nav-link:hover{background:#f6f6f6}.quiet-note{background:#fafafa;border:1px solid var(--line)}.quiet-note:after{display:none}.quiet-note>span{color:#637766}.quiet-note strong{color:#52525b}.quiet-note p{color:var(--muted)}.primary{background:var(--accent);box-shadow:none}.primary:hover{background:#2d593e}.secondary{background:#fff;border-color:#dedee2;color:#52525b}.secondary:hover{background:#f6f6f7}.balance-card{background:#fff;border-color:var(--line)}.balance-card .stat-title,.balance-card .stat-foot{color:var(--muted)}.balance-card .stat-value,.allocation-value,.active-budget h2,.active-budget-total>strong,.donut strong{color:var(--ink)}.balance-card .stat-icon{background:#f0f2f0;color:#526c58}.page-heading p,.panel-heading p,.stat-title,.stat-foot,.category-numbers,.entry-description>span,.entry-amount>span,.table-date,.table-account,.template-card>p,.template-note,.login-copy,.form-hint,.confirm-copy{color:var(--muted)}.eyebrow{color:#71717a}.expense-bar{background:#718a77}.saving-bar{background:#bdc9bf}.sage-dot{background:#718a77}.mint-dot{background:#bdc9bf}.donut{background:conic-gradient(#718a77 0% calc(var(--progress)*1%),#efeff1 calc(var(--progress)*1%) 100%)}.donut.over-budget{background:#bb756b}.donut>div{background:#fff}.budget-status{background:#fafafa;border-color:var(--line);color:#5e6b61}.progress-track{background:#efeff1}.template-banner,.template-note,.budget-intro{background:#fff;border-color:var(--line)}.template-banner strong,.banner-action{color:#52525b}.template-banner p{color:var(--muted)}.banner-icon{background:#f2f3f2;color:#637766}.template-note strong{color:#3f5344}.template-note>svg{color:#637766}.template-card{display:flex;flex-direction:column;border-color:var(--line)}.template-visual{height:8px;display:flex;align-items:stretch;margin:23px 0;grid-row:auto}.template-visual div{height:100%!important;border-radius:2px}.template-card>.button{margin-top:auto}.template-tag{background:#f4f4f5;color:#71717a}.current-template{border:2px solid #6d8c73}.template-tag.highlight-tag{background:#f0f3f0;color:#46624c}.active-budget,.active-budget.no-budget{background:#fff;border-color:var(--line);border-left-color:#6d8c73}.active-budget-label{color:#62626a}.active-budget-badge{background:#f0f3f0;color:#46624c}.active-budget-main>p{color:var(--muted)}.active-budget-foot,.no-budget .active-budget-foot{background:#fafafa;border-color:var(--line);color:#71717a}.active-budget-total>span{color:var(--muted)}.allocation-card>p,.allocation-label,.allocation-card dt{color:var(--muted)}.allocation-heading h3{color:var(--ink)}.category-editor{border-color:var(--line)}.category-editor>.panel{border-color:var(--line)}.category-editor>summary span{color:var(--muted)}.demo-bar{background:#efeff1;color:#71717a}.demo-bar>button{color:#52525b}.transaction-context,.plan-preview{background:#fafafa;border-color:var(--line);color:#52525b}.transaction-context strong,.transaction-context>span,.transaction-context>p{color:#71717a}.kind-picker{background:#f4f4f5}.kind-picker input:checked+span{color:#3f5344;box-shadow:0 1px 4px #00000009}.kind-picker span,.form-label,.modal .form-label,.percentage-fields>label,.percentage-help{color:#62626a}.amount-input,.budget-input,input,select{border-color:#dedee2;color:#3f3f46}.login-body{background:#f4f4f5}.login-card{background:#fff;border-color:var(--line);box-shadow:0 8px 32px #00000004}.login-symbol{background:#f1f3f1;color:#637766}.login-hint,.login-footer,.password-policy{color:var(--muted)}.login-card h1{color:var(--ink)}.logout-button{border-color:#e0e0e4;color:#62626a}.logout-button:hover{background:#f6f6f7;color:#3f5344}.template-card-actions button,.text-link,.all-categories{color:#526a58}.income-text{color:#3f6c4d}.notice{background:#f0f4f0;color:#486b4e}.all-categories{border-color:var(--line)}.mobile-nav{border-color:var(--line);background:#ffffffed}.percentage-total{color:#486b4e}footer{color:#85858c}
.period-actions{display:flex;align-items:center;gap:20px}.history-link{display:inline-flex;align-items:center;gap:7px;color:#52525b;font-size:14px}.history-link svg{width:16px;height:16px}.history-link:hover{color:var(--accent)}.history-panel .panel-heading{padding-bottom:23px}.history-table-head,.history-row{display:grid;grid-template-columns:minmax(180px,1.4fr) 1fr 1fr 1fr 140px;align-items:center;gap:20px;padding:20px 25px}.history-table-head{background:#fafafa;border-block:1px solid var(--line);font-size:12px;line-height:1.7;color:#71717a}.history-row{border-bottom:1px solid var(--line);padding-block:25px}.history-row:last-child{border-bottom:0}.history-period h3{font-size:16px;line-height:1.7}.history-period h3 a:hover{text-decoration:underline}.history-period p{font-size:14px;color:#71717a;line-height:1.8;margin-top:5px}.history-period>span{display:block;color:#85858c;font-size:12px;margin-top:5px}.history-number{font-size:14px;text-align:right;font-variant-numeric:tabular-nums}.history-table-head>span:not(:first-child){text-align:right}.history-number>span{display:none}.history-number>strong{font-weight:550;white-space:nowrap}.history-row-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.history-row-actions>.button{font-size:13px;width:100%}.history-row-actions>.text-link{font-size:13px}.selected-history{background:#fafbfa}
@media(max-width:1200px){.history-table-head,.history-row{grid-template-columns:minmax(140px,1.3fr) 1fr 1fr 1fr 120px;gap:15px;padding-inline:20px}.history-number{font-size:13px}.history-table-head{font-size:12px}.history-period h3{font-size:15px}}
@media(max-width:1000px){.history-table-head{display:none}.history-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 16px;padding:24px}.history-period{grid-column:1/-1}.history-period h3{font-size:18px}.history-number{text-align:left;font-size:14px}.history-number>span{display:block;font-size:12px;color:#71717a;line-height:1.8;margin-bottom:7px}.history-row-actions{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.history-row-actions>.button{width:auto;font-size:14px}.history-row-actions>.text-link{font-size:14px}}
@media(max-width:700px){.period-actions{flex-direction:column;align-items:flex-end;gap:13px}.history-link{font-size:12px;gap:5px}.history-link svg{width:14px;height:14px}.history-row{padding:22px 20px;grid-template-columns:1fr;gap:17px}.history-period{padding-bottom:4px}.history-number{display:flex;align-items:baseline;justify-content:space-between;gap:15px;font-size:15px}.history-number>span{font-size:14px;margin:0}.history-row-actions{margin-top:5px;gap:14px}.history-row-actions>.button{flex:1;min-height:44px}.history-row-actions>.text-link{font-size:14px;min-height:44px;display:flex;align-items:center}.mobile-nav .nav-link{padding-inline:3px;min-width:0}.mobile-nav .nav-link>span{font-size:12px;letter-spacing:-.15px}.template-visual{height:8px;margin-block:22px}.template-card{display:flex;flex-direction:column}.history-period h3{font-size:18px}}
.period-with-label>label{font-size:14px;color:#71717a}.month-switcher{display:flex;align-items:center;gap:12px}.month-dropdown{padding:0;position:static}.month-dropdown select{min-height:44px;width:235px;max-width:100%;font-size:14px;font-weight:550;color:#3f3f46;border:1px solid #dedee2;border-radius:8px;background-color:#fff;padding:10px 34px 10px 13px;cursor:pointer}.month-switcher .period-control{gap:7px}.month-switcher .period-control>.icon-button{width:34px;min-height:44px;background:#fff;border:1px solid #e4e4e7}.current-month-badge{display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#62626a;background:#ededee;border:1px solid #e4e4e7;padding:9px 11px;border-radius:7px;white-space:nowrap}.today-month{font-size:13px;min-height:42px}.period-row{gap:20px;flex-wrap:wrap}.period-with-label{flex-direction:column;align-items:flex-start;gap:10px}.period-actions{margin-left:auto;align-self:flex-end;padding-bottom:8px}
@media(max-width:700px){.period-with-label{width:100%;gap:10px}.period-with-label>label{font-size:14px}.month-switcher{width:100%;flex-wrap:wrap;gap:10px}.month-switcher .period-control{width:100%;display:flex;gap:8px}.month-dropdown{flex:1;min-width:0}.month-dropdown select{width:100%;font-size:16px;min-height:46px}.month-switcher .period-control>.icon-button{width:36px;min-width:36px;min-height:46px}.current-month-badge{font-size:12px;padding:7px 10px}.today-month{font-size:14px;min-height:40px}.period-actions{width:100%;margin-left:0;flex-direction:row;align-items:center;justify-content:space-between;padding:0}.history-link{font-size:14px}.export-link{font-size:14px}.period-row{gap:16px}.month-switcher .month-form{margin:0}}
.item-editor-modal{width:min(780px,calc(100% - 32px));padding:28px;max-height:92dvh}.item-editor-modal .modal-heading{margin-bottom:22px}.item-editor-help{font-size:14px;line-height:1.8;color:#71717a;margin:22px 0 18px}.item-editor-help strong{font-weight:550;color:#52525b}.item-editor-heading,.budget-item-row{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(170px,1.2fr) minmax(130px,1fr) 34px;gap:12px;align-items:center}.item-editor-heading{font-size:12px;color:#71717a;padding-bottom:10px}.budget-item-row{margin-bottom:12px}.budget-item-row>label{min-width:0}.budget-item-row input,.budget-item-row select{width:100%;font-size:14px;min-height:44px}.budget-item-row input[name=item_amount]{text-align:right}.item-mobile-label{display:none}.add-budget-item{margin-top:4px;font-size:14px}.item-budget-summary{margin-top:24px;border:1px solid #e7e7ea;border-radius:10px;padding:18px;background:#fafafa}.item-budget-summary>div{display:grid;grid-template-columns:1fr auto 55px;gap:15px;align-items:baseline;font-size:14px;margin-top:13px;color:#62626a}.item-budget-summary>div>strong{font-size:14px;color:#3f3f46;font-weight:550;white-space:nowrap}.item-budget-summary>div>small{text-align:right;font-size:12px}.item-budget-summary>.item-grand-total{grid-template-columns:1fr auto;margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid #e7e7ea;color:#3f3f46}.item-grand-total>strong[data-item-total]{font-family:Manrope,sans-serif;font-size:25px;font-weight:750;letter-spacing:-.5px}.item-editor-status{font-size:13px;line-height:1.8;margin-top:12px;color:#71717a}.item-month-context{padding:14px 16px;border:1px solid #e7e7ea;border-radius:8px;background:#fafafa}.item-month-context strong{font-size:16px}.item-month-context p{font-size:14px;color:#71717a;line-height:1.8;margin-top:7px}.budget-item-toolbar{margin-bottom:20px}.template-item-preview{margin:20px 0;border-block:1px solid #eeeef0;padding:16px 0}.template-item-preview>div{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.8;margin:7px 0}.template-item-preview>div>span{color:#71717a;overflow-wrap:anywhere}.template-item-preview strong{font-weight:550;white-space:nowrap}.template-item-preview p{font-size:12px;color:#71717a;margin-top:12px}
@media(max-width:700px){.item-editor-modal{width:calc(100% - 24px);padding:23px 18px;max-height:92dvh}.item-editor-heading{display:none}.budget-item-row{grid-template-columns:1fr 38px;gap:12px;padding:17px;border:1px solid #e7e7ea;border-radius:10px;margin-bottom:15px;position:relative}.budget-item-row>label{grid-column:1/-1}.budget-item-row>label:first-child{grid-column:1}.budget-item-row>.remove-budget-item{position:absolute;top:32px;right:13px}.item-mobile-label{display:block;font-size:13px;color:#71717a;margin-bottom:7px}.budget-item-row input,.budget-item-row select{font-size:16px;min-height:46px}.budget-item-row input[name=item_amount]{text-align:left}.item-budget-summary{padding:17px 14px}.item-budget-summary>div{grid-template-columns:1fr auto;gap:5px 10px;font-size:14px}.item-budget-summary>div>small{grid-column:1/-1;text-align:left;font-size:12px;color:#85858c}.item-grand-total>strong[data-item-total]{font-size:23px}.item-editor-modal .modal-actions{flex-wrap:wrap;gap:10px}.item-editor-modal .modal-actions>.primary{flex:1;min-width:190px;white-space:normal;line-height:1.7}.budget-item-toolbar>.button{width:100%;font-size:14px;min-height:44px}.template-item-preview>div{font-size:14px}}
.group-summary-heading{margin-top:29px}.budget-item-row input:disabled{background:#f5f5f6;color:#85858c}.item-editor-modal .form-hint{line-height:1.8}
@media(max-width:700px){.budget-item-row>.remove-budget-item{position:static;top:auto;right:auto;grid-column:2;grid-row:1;align-self:end;margin-bottom:6px}}
.active-budget.is-current-budget{background:#edf5ee;border-color:#bed0c0;border-left-color:#597e60}.active-budget.is-current-budget .active-budget-foot{background:#e7f0e8;border-top-color:#d5e2d7;color:#526957}.active-budget.is-current-budget .active-budget-label,.active-budget.is-current-budget .active-budget-main>p,.active-budget.is-current-budget .active-budget-total>span{color:#526957}.active-budget.is-current-budget h2,.active-budget.is-current-budget .active-budget-total>strong{color:#294330}.active-budget.is-current-budget .secondary{background:#fff;border-color:#bdcebf;color:#35513d}.active-budget.is-current-budget .secondary:hover{background:#f8fcf8}
.currency-help{font-size:13px;line-height:1.8;color:#71717a;margin:12px 0 18px}.currency-help strong{font-weight:550;color:#52525b}[data-currency]{font-variant-numeric:tabular-nums}.budget-item-row input[name=item_amount]{font-size:15px}
@media(max-width:700px){.currency-help{font-size:13px}.budget-item-row input[name=item_amount]{font-size:16px}}
.item-group-section{padding:16px;border:1px solid #e7e7ea;border-radius:10px;margin-bottom:20px}.item-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:15px;margin-bottom:14px;border-bottom:1px solid #ededee}.item-group-heading h3{font-size:16px;line-height:1.7;color:#3f3f46}.item-group-heading>div>span{font-size:12px;color:#71717a;display:block;margin-top:3px}.item-group-heading>strong{font-size:16px;white-space:nowrap;font-weight:600}.item-group-empty{font-size:14px;color:#85858c;line-height:1.8;margin:0 0 12px}.monthly-group-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 25px;background:#f7f7f8;border-block:1px solid #e7e7ea}.monthly-group-heading h3{font-size:16px;color:#3f3f46;line-height:1.7}.monthly-group-heading span{font-size:12px;color:#71717a;display:block;margin-top:3px}.monthly-group-heading>strong{font-size:15px;font-weight:600;white-space:nowrap}.monthly-budget-group .budget-row:last-child{border-bottom:0}.template-item-preview .template-preview-group{display:block;padding:0 0 13px;margin-bottom:13px;border-bottom:1px solid #ededee}.template-preview-group h4{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;margin:0 0 9px;line-height:1.7}.template-preview-group h4>span{color:#52525b}.template-preview-group h4>strong{font-weight:600;color:#3f3f46}.template-preview-group>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;line-height:1.8;color:#71717a;margin-top:4px}.template-preview-group>div>span:last-child{white-space:nowrap}.template-preview-group>p{margin-top:6px!important;font-size:12px!important;color:#85858c}.template-item-preview .template-preview-group:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}
@media(max-width:700px){.item-group-section{padding:15px 13px;margin-bottom:18px}.item-group-heading{align-items:flex-start;gap:12px}.item-group-heading h3{font-size:15px}.item-group-heading>strong{font-size:14px;padding-top:4px}.item-group-section .budget-item-row{border:0;border-bottom:1px solid #ededee;border-radius:0;padding:14px 0;margin-bottom:12px}.item-group-section .budget-item-row:last-child{border-bottom:0}.item-group-section .add-budget-item{width:100%;min-height:44px}.monthly-group-heading{padding:17px 20px;align-items:flex-start}.monthly-group-heading h3{font-size:15px}.monthly-group-heading>strong{font-size:14px;padding-top:4px}.template-preview-group h4{font-size:14px}.template-preview-group>div{font-size:13px}}
.kind-picker label>span{height:100%;display:flex;align-items:center;justify-content:center;line-height:1.5;white-space:normal}
@media(min-width:701px){.monthly-budget-group .budget-row{min-height:78px}}

.category-expenses{margin-bottom:24px}
.category-expenses-list{display:grid;gap:14px;list-style:none;margin:0;padding:0 clamp(16px,3vw,25px) 24px}
.category-expense-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:14px;overflow-wrap:anywhere}
.category-expense-label strong{flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.category-expense-track{height:9px}
.category-expense-track i{min-width:2px;background:var(--accent)}
.category-expenses-empty{padding:0 clamp(16px,3vw,25px) 24px;color:var(--muted);font-size:14px}
.manage-sources-link{display:inline-flex;border:0;background:transparent;padding:0;margin-top:10px;color:#526a58;font-size:12px;line-height:1.7;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.source-manager-modal{width:min(500px,calc(100% - 28px))}.source-manager-intro{font-size:14px;line-height:1.8;color:#71717a;margin-bottom:18px}.funding-body{padding:24px}.source-manager-modal .funding-body{padding:0}.source-add-form>label{display:block;font-size:14px;color:#62626a;margin-bottom:10px}.source-add-form>div{display:flex;gap:10px}.source-add-form input[name=name]{flex:1;min-width:0;font-size:16px}.source-add-form .button{font-size:14px}.source-list{margin-top:24px;border-top:1px solid #e7e7ea}.source-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #ededee}.source-row>strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.source-remove{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:0;padding:9px 8px;color:#9d6860;font-size:13px;min-height:38px;cursor:pointer}.source-remove svg{width:15px;height:15px}.source-remove:hover{background:#fbf2f0;border-radius:6px}.source-history-note,.source-empty{font-size:13px;line-height:1.8;color:#71717a;margin-top:18px}.source-notice{font-size:13px;line-height:1.8;border:1px solid #dfe8df;border-radius:7px;padding:10px 13px;margin:0 0 15px;background:#f3f6f3;color:#526a58}.sources-back{margin-top:20px}
@media(max-width:700px){.manage-sources-link{font-size:13px;min-height:30px}.source-manager-modal{padding:23px 20px}.funding-body{padding:22px 20px}.source-manager-modal .funding-body{padding:0}.source-add-form>div{flex-wrap:wrap}.source-add-form input[name=name]{flex-basis:100%;min-height:46px}.source-add-form .button{width:100%;min-height:44px}.source-row>strong{font-size:15px}.source-remove{font-size:14px;min-height:44px}.source-history-note{font-size:13px}}
.table-account,.entry-description>span{overflow-wrap:anywhere}
@media(max-width:700px){.transaction-modal .form-columns{grid-template-columns:1fr}}

.theme-toggle {display:grid;place-items:center;min-width:40px;min-height:40px;padding:8px}
.theme-toggle svg {width:18px;height:18px}
.theme-toggle[aria-pressed="true"] {background:var(--accent-soft);color:var(--accent)}
.household-daily {margin-bottom:16px}
.household-body {display:grid;gap:16px;padding:0 clamp(16px,3vw,25px) 18px}
.household-summary {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:12px 24px;margin:0;padding:14px 16px;border-radius:10px;background:var(--accent-soft)}
.household-summary dt {color:var(--muted);font-size:13px}
.household-summary dd {margin:4px 0 0;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.household-spending {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.household-spendable {border:1px solid var(--line);border-radius:10px;padding:16px}
.household-spendable h3 {display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;font-size:15px}
.household-spendable time,.household-spendable p,.household-note,.household-ledger p {color:var(--muted);font-size:13px;line-height:1.6}
.household-spendable > strong {display:block;color:var(--accent);font-size:clamp(18px,4vw,26px);margin-top:6px;overflow-wrap:anywhere}
.household-spendable dl {display:grid;gap:5px;margin:12px 0 0;border-top:1px solid var(--line);padding-top:10px;font-size:13px}
.household-spendable dl div {display:flex;justify-content:space-between;flex-wrap:wrap;gap:0 8px}
.household-spendable dt {color:var(--muted)}
.household-spendable dd {margin:0;font-variant-numeric:tabular-nums}
.household-note {margin:0}
.household-ledger {border-top:1px solid var(--line)}
.household-ledger summary {cursor:pointer;font-size:14px;font-weight:600;padding-block:12px}
.household-ledger summary:focus-visible,.household-table-wrap:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.household-ledger p {margin:0 0 12px}
.household-table-wrap {overflow-x:auto}
.household-table {width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.household-table th,.household-table td {padding:8px 6px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.household-table th:first-child {text-align:left}
.household-table thead {color:var(--muted)}
.household-table .household-today {background:var(--accent-soft)}
.household-table small {display:block;color:var(--accent);font-size:11px}

:root[data-theme="dark"] {
  color-scheme:dark;
  --bg:#151917;
  --ink:#e7ece8;
  --muted:#aebcb3;
  --line:#39443d;
  --accent:#9bd4ae;
  --accent-soft:#253b2e;
  --green:var(--accent);
  --surface:#1b211e;
  --subtle:#242d27;
  --danger:#ffaba3;
}
[data-theme="dark"] :is(.sidebar,.topbar,.panel,.modal,.login-card,.stat-card,.category-editor,
  .mobile-nav,.donut>div,.template-banner,.template-note,.budget-intro,.active-budget,.active-budget.no-budget) {
  background:var(--surface);
  border-color:var(--line);
}
[data-theme="dark"] :is(.login-body) {background:var(--bg)}
[data-theme="dark"] :is(.workspace-icon,.stat-icon,.avatar,.category-icon,.balance-card .stat-icon,
  .active-budget-badge,.template-tag,.small-chip,.current-month-badge,.banner-icon,.login-symbol,.brand-mark,
  .quiet-note,.nav-link.active,.notice,.source-notice,.active-budget.is-current-budget) {
  background:var(--accent-soft);
  color:var(--accent);
  border-color:var(--line);
}
[data-theme="dark"] :is(.budget-status,.progress-track,.active-budget-foot,.no-budget .active-budget-foot,
  .active-budget.is-current-budget .active-budget-foot,.table-head,.budget-table-head,.bucket-head,
  .history-table-head,.selected-history,.monthly-group-heading,.item-month-context,.item-budget-summary,
  .kind-picker,.transaction-context,.plan-preview,.demo-bar,.budget-start-note,.form-footer,.empty-icon,.grid-lines) {
  background:var(--subtle);
  color:var(--muted);
  border-color:var(--line);
}
[data-theme="dark"] :is(.secondary,.active-budget.is-current-budget .secondary,.logout-button,.icon-button,
  .month-dropdown select,.month-switcher .period-control>.icon-button,input,select,.budget-input,.amount-input,
  .kind-picker input:checked+span) {
  background-color:var(--surface);
  color:var(--ink);
  border-color:var(--line);
}
[data-theme="dark"] .search-field input {background:transparent}
[data-theme="dark"] :is(.secondary,.active-budget.is-current-budget .secondary,.logout-button,.icon-button,.nav-link,.source-remove):hover,
[data-theme="dark"] .theme-toggle[aria-pressed="true"] {background:var(--accent-soft);color:var(--accent)}
[data-theme="dark"] :is(.primary,.primary:hover) {background:#38664a;color:#fff;border-color:#4d7e5e}
[data-theme="dark"] .primary:hover {background:#477958}
[data-theme="dark"] :is(.danger-text,.source-remove) {color:var(--danger)!important}
[data-theme="dark"] :is(.form-error,.global-error,.danger-button) {background:#492a29;color:var(--danger);border-color:#754744}
[data-theme="dark"] :is(.income-text,.text-link,.all-categories,.template-card-actions button,.manage-sources-link,.password-back,
  .banner-action,.template-note strong,.template-note>svg,.percentage-total,.brand-dot) {color:var(--accent)}
[data-theme="dark"] :is(.brand,.breadcrumb strong,.quiet-note strong,.monthly-group-heading h3,.item-group-heading h3,.template-preview-group h4>strong,
  .item-budget-summary>div>strong,.active-budget.is-current-budget h2,.active-budget.is-current-budget .active-budget-total>strong) {color:var(--ink)}
[data-theme="dark"] :is(.breadcrumb,.nav-label,.nav-link:not(.active),.workspace span,.profile span,.quiet-note p,.private-label,
  .period-with-label>label,.history-link,.export-link,.history-period p,.history-period>span,.history-number>span,
  .budget-input>span,.budget-realization,.bucket-row>span,.monthly-group-heading span,.item-group-heading>div>span,
  .item-editor-help,.item-editor-help strong,.item-editor-heading,.item-mobile-label,.item-month-context p,.item-editor-status,
  .item-budget-summary>div,.item-group-empty,.template-banner strong,.template-preview-group>div,.template-preview-group h4>span,
  .template-item-preview p,.currency-help,.currency-help strong,.form-label,.modal .form-label,.form-hint,.kind-picker span,
  .percentage-fields>label,.percentage-help,.source-manager-intro,.source-history-note,.source-empty,.source-add-form>label,
  .transaction-context strong,.transaction-context>span,.transaction-context>p,.active-budget-label,.active-budget.is-current-budget .active-budget-label,
  .active-budget.is-current-budget .active-budget-main>p,.active-budget.is-current-budget .active-budget-total>span,
  .search-field svg,.demo-bar>button,footer) {color:var(--muted)}
[data-theme="dark"] :is(.search-field,.item-group-section,.item-group-heading,.budget-item-row,
  .item-budget-summary>.item-grand-total,.template-item-preview,.template-item-preview .template-preview-group,
  .source-list,.source-row) {border-color:var(--line)}
[data-theme="dark"] :is(input:disabled,select:disabled) {background:var(--subtle);color:var(--muted)}
[data-theme="dark"] .donut:not(.over-budget) {
  background:conic-gradient(var(--accent) 0% calc(var(--progress)*1%),var(--subtle) calc(var(--progress)*1%) 100%);
}
