:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#203930;background:#f5f7f5;font-size:16px;line-height:1.5;--green:#176e54;--ink:#203930;--muted:#74837c;--line:#e3e9e4;--paper:#fff;--pale:#e7f0e9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button svg{width:18px;height:18px;flex:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7db99e;outline-offset:3px}button{color:inherit}a{color:inherit}p,h1,h2,h3{margin:0}button,input,select,textarea{font-size:.875rem}input,select,textarea{border:1px solid #d4ded6;border-radius:7px;background:#fff;padding:10px 12px;color:var(--ink);min-width:0;width:100%}select{appearance:none;padding-right:33px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%235a7163' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex:none}label{font-size:.875rem;font-weight:550;display:block}label input,label select,label textarea{margin-top:7px}small{font-size:.8125rem}svg{vertical-align:middle}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#fdfefd;border-right:1px solid var(--line);padding:28px 18px 23px;position:fixed;top:0;bottom:0;left:0;width:232px;display:flex;flex-direction:column;overflow:auto}.brand{font-size:1.65rem;font-weight:700;letter-spacing:-1.2px;display:flex;align-items:center;text-decoration:none;padding:0 10px;margin-bottom:42px}.brand-mark{display:grid;place-items:center;border-radius:10px;background:var(--green);color:#fff;width:33px;height:36px;font-family:Georgia,serif;font-style:italic;font-size:29px;margin-right:10px}.brand-dot{color:#579d76}.nav-label{font-size:.6875rem;letter-spacing:1.8px;font-weight:650;color:#84938a;padding:0 13px;margin-bottom:12px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-item{border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;color:#738279;width:100%;font-weight:500}.nav-item svg{width:18px;height:18px}.nav-item.active{background:#e5efe7;color:#245e43}.nav-item:hover{background:#eff5f0}.nav-item b{font-size:.75rem;margin-left:auto;padding:1px 6px;background:#e8ddc4;border-radius:4px;color:#83612f}.scope-label{margin-top:37px}.area-list{display:flex;flex-direction:column;gap:6px}.area-item{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid transparent;border-radius:9px;padding:11px 8px;text-align:left}.area-item.selected{background:#f0f5ef;border-color:#dce7da}.area-icon{width:31px;height:34px;border:1px solid #dce4db;display:grid;place-items:center;border-radius:7px;color:#7b8c7d;background:#fff;flex:none}.area-icon svg{width:17px;height:17px}.area-item strong{display:block;font-size:.8125rem;font-weight:600}.area-item small{display:block;font-size:.6875rem;color:#8d978e;margin-top:1px}.selection-dot{width:6px;height:6px;border-radius:50%;background:#5a8a5e;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:32px 12px 0;font-size:.8125rem;color:#8b978e}.local-label{display:flex;align-items:center;gap:6px;color:#627b68;font-size:.75rem}.local-label svg{width:15px;height:15px}.sidebar-bottom p{margin:9px 0}.sidebar-bottom button{display:block;margin-top:2px;font-size:.75rem}.main{grid-column:2;min-width:0}.topbar{height:77px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.crumb{font-size:.875rem;color:#687c70}.crumb span{margin:0 12px;color:#bfccc1}.top-controls{display:flex;align-items:center;gap:16px}.mode-switch{display:flex;border:1px solid var(--line);padding:3px;background:#f5f7f4;border-radius:8px}.mode-switch button{border:0;background:transparent;border-radius:5px;padding:6px 13px;font-size:.8125rem;color:#7a887b}.mode-switch button.selected{background:#fff;color:#244b33;box-shadow:0 1px 4px #16371915}.currency{font-size:.75rem;color:#789079;font-weight:600;letter-spacing:.6px}.content{max-width:1630px;margin:0 auto;padding:26px 42px 40px}.example-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#edf0e5;border:1px solid #e3e7d4;border-radius:8px;padding:9px 15px;font-size:.8125rem;color:#74805e;margin-bottom:30px}.example-banner strong{font-weight:600;color:#5c714c}.local-banner{background:#edf3f0;border-color:#dfe9e2;color:#64836c}.page-head{margin-bottom:28px}.eyebrow{font-size:.6875rem;letter-spacing:1.7px;font-weight:600;color:#74907b;margin-bottom:9px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.heading-row h1{font-size:clamp(1.6rem,2.25vw,2.2rem);font-weight:540;letter-spacing:-1.1px;line-height:1.25}.heading-row p{color:#879489;font-size:.875rem;margin-top:10px}.head-actions{display:flex;gap:10px;flex-shrink:0}.head-actions select{width:auto;min-width:163px;background-color:transparent}.button{border:1px solid #dbe4dc;border-radius:7px;background:#fff;padding:10px 15px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.button:hover{background:#edf4ed}.button.primary{background:#246e50;border-color:#246e50;color:#fff}.button.primary:hover{background:#1b5940}.text-button{border:0;background:none;color:#4b7657;font-weight:550;padding:4px 0;font-size:.8125rem;text-align:left}.text-button:hover{text-decoration:underline}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px 22px 18px;min-width:0}.metric.accent{background:#e9f0e4;border-color:#dfe7d8}.metric-label{font-size:.8125rem;color:#6b7e6b;margin-bottom:15px}.metric-value{font-size:clamp(1.35rem,1.85vw,1.9rem);font-weight:550;letter-spacing:-.7px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#284c35}.metric-note{font-size:.6875rem;color:#8a9888;margin-top:10px;line-height:1.6}.metric.accent .metric-note{color:#75886d}.panel{border:1px solid var(--line);background:#fff;border-radius:11px;overflow:hidden}.panel-head{padding:23px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-head h2,.mapping-note h2{font-size:1rem;font-weight:600;letter-spacing:-.2px}.panel-head p{font-size:.75rem;color:#95a094;margin-top:5px}.panel-head .text-button{white-space:nowrap}.dashboard-grid{display:grid;grid-template-columns:1.17fr 1fr;gap:22px;margin-bottom:24px}.spending-layout{display:grid;grid-template-columns:minmax(180px,.86fr) 1.2fr;align-items:center;gap:15px;padding:10px 24px 24px}.donut-wrap{text-align:center}.donut{width:178px;height:178px;max-width:100%;aspect-ratio:1;border-radius:50%;padding:19px;display:grid;place-items:center;margin:auto}.donut-hole{width:100%;height:100%;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-hole small{font-size:.5625rem;letter-spacing:1px;color:#8a9b8d}.donut-hole strong{font-size:1.6rem;line-height:1.3;font-weight:550;letter-spacing:-.8px;margin:4px 0}.donut-hole span{font-size:.625rem;color:#9eaa9e}.donut-wrap>p{color:#a0aa9c;font-size:.6875rem;margin-top:15px}.category-bars{display:flex;flex-direction:column;gap:12px}.category-bar{display:block;text-align:left;border:0;background:transparent;width:100%;padding:0}.category-bar:hover .bar-title{text-decoration:underline}.bar-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.6875rem;color:#5f7564}.bar-title>span{display:flex;align-items:center;gap:6px}.bar-title i,.category-tag i{display:inline-block;width:7px;height:7px;border-radius:2px;flex:none}.bar-title strong{font-weight:550;font-size:.6875rem}.bar-track{display:block;height:4px;background:#f1f4ef;border-radius:5px;overflow:hidden;margin:6px 0 2px}.bar-track>span{display:block;height:100%;border-radius:5px}.bar-caption{font-size:.5625rem;color:#aab4a5;display:none}.panel-foot{border-top:1px solid #eff2ed;padding:11px 24px;font-size:.6875rem;color:#93a08f;background:#fdfefd}.pill{font-size:.6875rem;color:#82947b;background:#f1f5ee;border-radius:5px;padding:4px 7px;white-space:nowrap}.trend-chart{padding:0 17px}.trend-chart svg{display:block;width:100%;height:220px}.trend-legend{display:flex;justify-content:center;gap:22px;font-size:.6875rem;color:#83947e;margin-top:-3px}.trend-legend span{display:flex;align-items:center;gap:7px}.trend-legend i{display:inline-block;width:14px;height:3px;border-radius:3px;background:#18745e}.trend-legend i.previous{background:#bac7c2}.trend-bottom{display:flex;gap:20px;align-items:center;border-top:1px solid #edf1eb;margin:20px 24px 0;padding:17px 0;color:#547051}.trend-bottom strong{font-size:1.25rem;font-weight:550}.trend-bottom span{font-size:.6875rem;color:#94a08e;line-height:1.65}.lower-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:23px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.8125rem;white-space:nowrap}th{font-size:.6875rem;font-weight:500;text-align:left;color:#92a08e;padding:11px 20px;background:#fafcf8;border-top:1px solid #f0f3ed;border-bottom:1px solid #edf2e9}td{padding:14px 20px;border-bottom:1px solid #edf2e9;color:#5d735e}tr:last-child td{border-bottom:0}td small{display:block;font-size:.6875rem;color:#a1aa9c;margin-top:3px}.transaction-name{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;font-size:.8125rem;font-weight:500;color:#4b654d}.num{text-align:right;font-variant-numeric:tabular-nums;font-size:.8125rem}.positive{color:#28805b}.category-tag{font-size:.6875rem;background:#f2f5ef;padding:4px 7px;border-radius:4px;display:inline-flex;align-items:center;gap:6px}.status{font-size:.6875rem;color:#8f9c86;background:#f4f6f1;padding:4px 8px;border-radius:4px}.status.pending{color:#ad8a48;background:#faf4e4}.amber{color:#b18b45}.type-label{font-size:.6875rem}.review-card{background:#edf2e9;padding:23px 25px;border-color:#e2e9dc;display:flex;flex-direction:column;align-items:flex-start}.review-symbol{display:grid;place-items:center;width:36px;height:36px;background:#e0e9d8;border-radius:9px;color:#6c8762;margin-bottom:20px}.review-symbol svg{width:20px;height:20px}.review-card .eyebrow{font-size:.625rem;line-height:1.7}.review-card h2{font-size:1.35rem;font-weight:500;line-height:1.35;letter-spacing:-.5px;margin-bottom:10px;max-width:240px}.review-card>p{font-size:.8125rem;line-height:1.7;color:#8c9d84;margin-bottom:18px}.review-card .button{font-size:.75rem}.cash-notes{width:100%;border-top:1px solid #dfe8d8;margin-top:22px;padding-top:13px}.cash-notes>div{display:flex;justify-content:space-between;font-size:.6875rem;color:#8b9b80;margin:6px 0}.cash-notes strong{font-size:.75rem;font-weight:500;color:#708366}.ledger-tools{display:flex;align-items:center;gap:15px;margin-bottom:18px}.ledger-tools>input{flex:2}.ledger-tools>select{flex:1;min-width:160px}.check{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:.8125rem;font-weight:400}.check input{margin:0}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:.75rem;color:#8a9b83;border-top:1px solid var(--line)}.table-footer>div{display:flex;align-items:center;gap:15px}.table-footer .button{font-size:.75rem;padding:6px 10px}.structure-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#eaf0e5;border:1px solid #dfe8d7;padding:23px 25px;border-radius:10px;margin-bottom:25px}.structure-strip>div{display:grid;grid-template-columns:30px 1fr;gap:2px 9px}.structure-strip span{grid-row:span 2;color:#9bae8c;font-size:.875rem}.structure-strip strong{font-size:.875rem;font-weight:550}.structure-strip p{color:#8a9b7c;font-size:.75rem}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.category-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:22px;display:flex;flex-direction:column}.category-card-head{display:flex;align-items:center;gap:10px;margin-bottom:17px}.category-card-head .text-button{margin-left:auto}.category-emblem{display:grid;place-items:center;width:32px;height:32px;border-radius:8px}.category-emblem svg{width:18px;height:18px}.category-card h2{font-size:1.05rem;font-weight:550;letter-spacing:-.2px}.category-card>p{font-size:.75rem;color:#899983;line-height:1.7;margin:9px 0 17px}.detail-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}.detail-chips span{font-size:.6875rem;background:#f2f5ef;border-radius:4px;padding:4px 7px;color:#87997b}.category-card-foot{margin-top:auto;border-top:1px solid #edf1e7;padding-top:13px}.category-card-foot strong{display:block;font-size:.875rem;font-weight:500;color:#6c865f}.category-card-foot small{font-size:.625rem;color:#a0ad95}.mapping-note{padding:25px}.mapping-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:20px}.mapping-grid strong{font-size:.8125rem;font-weight:550;color:#57714b}.mapping-grid p{font-size:.75rem;line-height:1.8;color:#9aab8b;margin-top:7px}.import-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:23px;margin-bottom:25px}.upload-zone{text-align:center;padding:40px 25px}.upload-icon{display:grid;place-items:center;width:49px;height:49px;background:#eaf1e4;border-radius:12px;color:#6a8d54;margin:0 auto 18px}.upload-icon svg{width:26px;height:26px}.upload-zone h2{font-size:1.25rem;font-weight:500;letter-spacing:-.3px}.upload-zone p{font-size:.875rem;color:#8a9d7c;line-height:1.8;margin:12px 0 22px}.upload-zone>small{display:block;font-size:.6875rem;color:#a7b39a;margin-top:16px}.import-notes{padding:29px}.import-notes h2{font-size:1.25rem;font-weight:500;letter-spacing:-.5px;margin-bottom:24px}.import-notes>div:not(.eyebrow){display:flex;gap:12px;margin:21px 0}.import-notes b{width:25px;height:25px;background:#edf2e6;border-radius:50%;display:grid;place-items:center;flex:none;font-size:.75rem;font-weight:500;color:#7a9365}.import-notes strong{font-size:.8125rem;font-weight:550;color:#6d855a}.import-notes p{font-size:.75rem;line-height:1.8;color:#9eaf8d;margin-top:5px}.import-notes .pdf-note{border-top:1px solid #e9efdf;padding-top:15px;margin-top:22px}.mapping-form{padding:23px;border-top:1px solid var(--line)}.file-name{font-size:.875rem;overflow-wrap:anywhere;margin-bottom:19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.preview-summary{display:flex;gap:45px;padding:5px 24px 22px}.preview-summary small{display:block;color:#96a786;font-size:.75rem}.preview-summary strong{font-size:1.1rem;font-weight:500;display:block;margin-top:6px}.preview-table{max-height:500px}.preview-table th{position:sticky;top:0;z-index:1}.preview-table td:first-child{padding-right:0}.preview-table strong{font-weight:500;font-size:.75rem}.notice{padding:13px 18px;margin:0 23px 20px;background:#faf4e5;color:#a3864e;border:1px solid #eee2c5;font-size:.8125rem;border-radius:7px}.notice.error{background:#fff0ed;color:#ab5a48;border-color:#f0d6ce;max-height:240px;overflow:auto}.empty-state{text-align:center;padding:60px 25px;border:1px dashed #cdddc5;border-radius:12px;background:#fbfdf9}.empty-icon{display:block;color:#789e60;margin-bottom:17px}.empty-icon svg{width:38px;height:38px}.empty-state h2{font-size:1.4rem;font-weight:500;letter-spacing:-.4px}.empty-state p{font-size:.875rem;color:#9cad89;line-height:1.8;max-width:530px;margin:13px auto 23px}.empty-state.small{border:0;padding:40px 25px}.empty-small{text-align:center;padding:50px 25px;color:#a6b493;font-size:.875rem}.rule-list{padding:0 23px}.rule-list>div{display:flex;align-items:center;gap:17px;border-top:1px solid #edf2e5;padding:20px 0}.rule-list>div>div{flex:1}.rule-list strong{font-size:.875rem;font-weight:500;display:block}.rule-list small{color:#94a77e;display:block;font-size:.75rem;margin-top:4px}.rule-list svg{width:23px;height:23px;color:#93ad79}.rule-icon{background:#eef4e6;padding:10px;border-radius:8px}footer{max-width:1630px;margin:0 auto;padding:0 42px 30px;color:#99ae87;font-size:.8125rem}footer span{font-size:.6875rem;margin-left:14px;color:#b5c3a7}dialog{border:1px solid #dce6d6;padding:0;border-radius:13px;width:min(650px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #193d2540}dialog::backdrop{background:#193b2766;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:22px 25px;gap:15px}.modal-head h2{font-size:1.15rem;font-weight:550}.icon-button{background:none;border:0;color:#8a9d7d;font-size:25px;line-height:1}.modal-body{padding:24px 25px}.modal-body p{font-size:.875rem;line-height:1.7;color:#829570;margin-bottom:15px}.transaction-summary{background:#f2f6ed;border-radius:8px;padding:15px 17px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:24px}.transaction-summary strong{font-size:.875rem;font-weight:550;max-width:350px}.transaction-summary>span{font-size:1rem;font-weight:550}.transaction-summary small{flex-basis:100%;color:#90a37d;font-size:.75rem}.help{font-size:.75rem!important;margin:17px 0;color:#a1b18f!important}.remember{margin-top:16px;align-items:flex-start;white-space:normal}.remember small{display:block;color:#99ac83;font-size:.6875rem;margin-top:5px}.remember input{margin-top:3px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.form-error{color:#aa5943!important;margin:15px 0 0!important}.form-error:empty{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#254d32;color:#fff;padding:13px 20px;border-radius:9px;font-size:.875rem;max-width:calc(100% - 30px);box-shadow:0 5px 30px #23472d20;opacity:0;pointer-events:none;transition:opacity .15s;z-index:100}#toast.visible{opacity:1}.boot{min-height:100vh;display:grid;place-items:center;color:#5d7e4d}
@media(min-width:1650px){.content{padding-top:31px}.spending-layout{padding-top:20px;padding-bottom:30px}.donut{width:200px;height:200px}.bar-title,.bar-title strong{font-size:.8125rem}.category-bars{gap:15px}.trend-chart svg{height:251px}.trend-bottom{margin-top:25px}}
@media(max-width:1350px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding-left:12px;padding-right:12px}.content{padding:23px 25px 35px}.topbar{padding:0 25px}.heading-row{align-items:flex-start;flex-direction:column}.head-actions{align-self:flex-start}.metric{padding:18px}.metric-value{font-size:1.5rem}.dashboard-grid{grid-template-columns:1fr 1fr}.spending-layout{grid-template-columns:1fr;gap:22px}.donut{width:156px;height:156px}.category-bars{display:grid;grid-template-columns:1fr 1fr;gap:15px}.trend-panel{display:flex;flex-direction:column}.trend-chart{margin:auto 0}.trend-bottom{margin-top:auto}.lower-grid{grid-template-columns:1.5fr 1fr}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-tools{flex-wrap:wrap}.preview-summary{gap:23px;flex-wrap:wrap}}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-value{font-size:1.7rem}.lower-grid{grid-template-columns:1fr}.review-card{display:block}.review-card h2{max-width:none}.review-card .review-symbol{float:right}.cash-notes{display:flex;gap:25px;flex-wrap:wrap}.cash-notes>div{gap:15px}.import-layout{grid-template-columns:1fr}.structure-strip{gap:13px;padding:20px 16px}.structure-strip>div{display:block}.structure-strip span{display:none}.mapping-grid{grid-template-columns:1fr;gap:20px}.table-wrap td{padding:12px 15px}.top-controls{gap:9px}}
@media(max-width:780px){.shell{display:block}.sidebar{position:static;width:auto;padding:16px 18px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{margin:0 0 15px;padding:0}.nav-label,.sidebar-bottom,.scope-label{display:none}.sidebar nav{flex-direction:row;overflow:auto;gap:5px}.nav-item{white-space:nowrap;width:auto;padding:9px 11px;font-size:.8125rem}.nav-item svg{display:none}.area-list{flex-direction:row;gap:7px;overflow:auto;margin-top:16px}.area-item{padding:7px 10px;white-space:nowrap}.area-item small,.area-icon,.selection-dot{display:none}.area-item strong{font-size:.75rem}.topbar{height:66px;padding:0 18px}.crumb{font-size:.75rem}.crumb span{margin:0 5px}.mode-switch button{font-size:.6875rem;padding:5px 8px}.content{padding:19px 18px 30px}.example-banner{align-items:flex-start;padding:11px 13px;margin-bottom:23px;font-size:.6875rem}.example-banner .text-button{font-size:.6875rem;white-space:nowrap}.heading-row h1{font-size:1.7rem}.heading-row p{font-size:.8125rem}.head-actions{width:100%;flex-wrap:wrap}.head-actions select{flex:1}.head-actions .button{font-size:.75rem}.metrics{gap:10px}.metric{padding:17px 14px}.metric-value{font-size:1.4rem}.metric-label{font-size:.75rem}.metric-note{font-size:.625rem}.dashboard-grid{grid-template-columns:1fr;gap:17px}.spending-layout{grid-template-columns:.8fr 1.2fr}.category-bars{display:flex;gap:13px}.bar-title,.bar-title strong{font-size:.6875rem}.panel-head{padding:19px}.panel-head h2{font-size:.9375rem}.panel-head .pill{display:none}.trend-chart{margin:0}.trend-bottom{margin-top:20px}.category-grid{grid-template-columns:1fr}.structure-strip{grid-template-columns:1fr;gap:15px}.structure-strip>div{display:grid;grid-template-columns:28px 1fr}.structure-strip span{display:block}.preview-summary{gap:20px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.table-footer{padding:12px}.table-footer>div{gap:7px}.table-footer .button{padding:5px 7px}.ledger-tools>input{flex-basis:100%}.ledger-tools{gap:12px}.review-card{padding:23px}.review-card .eyebrow{max-width:220px}.rule-list{padding:0 16px}.rule-list>div{gap:11px}.rule-list .rule-icon{display:none}footer{padding:0 18px 25px}footer span{display:block;margin:7px 0 0}.modal-head,.modal-body{padding:20px}.transaction-summary strong{max-width:100%}}
@media(max-width:420px){.spending-layout{grid-template-columns:1fr}.donut{width:165px;height:165px}.category-bars{display:grid;grid-template-columns:1fr 1fr}.metrics{grid-template-columns:1fr 1fr}.metric-value{font-size:1.2rem}.currency{display:none}.head-actions select{width:100%}.head-actions .button{flex:1}}

/* Keep task labels readable across desktop and narrow layouts. */
.nav-item,.area-item strong,.button,.text-button,.metric-label,.bar-title,.bar-title strong,table,.num,.transaction-name,.category-tag,.type-label,.check,.category-card>p,.detail-chips span,.mapping-grid p,.mapping-grid strong,.import-notes p,.import-notes strong,.structure-strip p,.rule-list small{font-size:.875rem}
.nav-label,.eyebrow,.area-item small,.metric-note,.panel-head p,.panel-foot,.pill,th,td small,.status,.donut-wrap>p,.trend-legend,.trend-bottom span,.category-card-foot small,.upload-zone>small,.sidebar-bottom,.local-label,.sidebar-bottom button,.currency,.cash-notes>div,.example-banner,.preview-summary small,.help,.remember small{font-size:.8125rem}
.metric-note,.panel-head p,.panel-foot,th,td small,.trend-legend,.trend-bottom span,.category-card>p,.detail-chips span,.category-card-foot small,.mapping-grid p,.import-notes p,.upload-zone p,.upload-zone>small,.structure-strip p,.rule-list small,.help,.remember small,.cash-notes>div,.review-card>p,.heading-row p,.area-item small,.sidebar-bottom,.donut-wrap>p{color:#6d7e70}
.bar-title,.bar-title strong,.category-tag,.mapping-grid strong,.import-notes strong{color:#49634f}.metric-note,.panel-foot{line-height:1.6}.preview-table strong{font-size:.875rem}.spending-layout{grid-template-columns:1fr;padding-top:16px}.category-bars{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bar-title{align-items:flex-start;flex-wrap:wrap}.donut{width:170px;height:170px}.donut-hole small{font-size:.6875rem}.donut-hole span{font-size:.8125rem}.trend-panel{display:flex;flex-direction:column}.trend-chart{margin:auto 0}.trend-bottom{margin-top:auto}.example-banner .text-button{font-size:.8125rem}.preview-summary{flex-wrap:wrap}.remember small{font-size:.8125rem}.sidebar-bottom .text-button{font-size:.8125rem}.rule-list small{overflow-wrap:anywhere}.upload-zone small{line-height:1.7}
@media(min-width:1650px){.spending-layout{grid-template-columns:.9fr 1.3fr;gap:22px}.category-bars{display:flex;gap:15px}.donut{width:200px;height:200px}.bar-title{flex-wrap:nowrap}.trend-chart svg{height:260px}}
@media(max-width:780px){.spending-layout{grid-template-columns:1fr}.trend-bottom{margin-top:20px}.trend-chart{margin:0}.example-banner{flex-direction:column;gap:5px}.category-bars{grid-template-columns:1fr}.bar-title{flex-wrap:nowrap}.nav-item{font-size:.875rem}.metric-value{font-size:1.35rem}.metric-label{font-size:.8125rem}.metric-note{font-size:.8125rem}.topbar{flex-wrap:wrap}.crumb{font-size:.8125rem}.mode-switch button{font-size:.8125rem}.ledger-tools .check{white-space:normal}.area-item strong{font-size:.875rem}}
.movement-details{min-width:240px;max-width:440px;white-space:normal;overflow-wrap:anywhere;line-height:1.55}.movement-details .bank-text-label{display:block;color:#6d7e70;font-size:.8125rem;margin-bottom:3px}.movement-details .transaction-name{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;font-size:.875rem;color:#304f3b}.movement-details .transaction-note{font-size:.875rem;color:#486d52;margin-top:9px;padding-left:9px;border-left:2px solid #dbe8d8}.transaction-note>span{display:block;font-size:.8125rem;color:#6d7e70}.movement-details .statement-source{font-size:.8125rem;color:#6d7e70;margin-top:5px}.transaction-summary .movement-details{flex:1;min-width:220px;max-width:100%}.transaction-summary>span{align-self:flex-start}.preview-table .movement-details{max-width:540px}td{vertical-align:top}
.taxonomy-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.taxonomy-intro strong{font-size:1rem;font-weight:600}.taxonomy-intro p{font-size:.875rem;color:#6d7e70;max-width:680px;margin-top:5px}.taxonomy-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:23px;align-items:start}.taxonomy-nav{padding-bottom:16px}.taxonomy-nav .panel-head{padding:20px}.taxonomy-category{width:100%;display:flex;align-items:center;text-align:left;gap:11px;padding:15px 20px;border:0;border-left:3px solid transparent;background:#fff}.taxonomy-category:hover{background:#f4f8f2}.taxonomy-category.selected{background:#eaf2e7;border-left-color:#246e50}.taxonomy-category>i{height:10px;width:10px;border-radius:3px;flex:none}.taxonomy-category strong{display:block;font-size:.9375rem;font-weight:550}.taxonomy-category small{display:block;font-size:.8125rem;color:#6d7e70;margin-top:3px}.taxonomy-add{margin:18px 20px 0}.taxonomy-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:27px;gap:20px}.taxonomy-heading h2{font-size:1.7rem;font-weight:550;letter-spacing:-.5px;margin-top:9px}.taxonomy-heading p{font-size:.875rem;color:#6d7e70;max-width:480px;margin-top:7px}.taxonomy-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;justify-content:flex-end}.taxonomy-period{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 27px;background:#f5f8f1;border-block:1px solid var(--line);font-size:.875rem;color:#466648}.taxonomy-period select{max-width:190px}.subcategory-row{display:flex;align-items:center;gap:20px;padding:17px 27px;border-bottom:1px solid #edf2e9}.subcategory-title{flex:1;min-width:100px;border:0;background:transparent;text-align:left;padding:0}.subcategory-title strong{font-size:.9375rem;font-weight:500;display:block}.subcategory-title small{font-size:.8125rem;color:#6d7e70;display:block;margin-top:4px}.subcategory-title:hover strong{text-decoration:underline}.subcategory-amount{font-size:.875rem;white-space:nowrap;font-variant-numeric:tabular-nums}.subcategory-row .text-button{white-space:nowrap}.taxonomy-detail-footer{display:flex;align-items:center;gap:23px;padding:23px 27px}.taxonomy-detail-footer>span{font-size:.8125rem;color:#6d7e70;max-width:310px}.batch-toolbar{padding:15px 20px;background:#edf5e7;border-bottom:1px solid #dce8d3;display:flex;align-items:center;gap:18px;font-size:.875rem}.batch-toolbar strong{font-weight:550}.subcategory-label{font-size:.875rem!important;color:#4f7053!important}.subcategory-dashboard{margin-bottom:25px}.subcategory-dashboard .panel-head select{width:230px;max-width:45%}.subcategory-dashboard-total{display:flex;align-items:center;gap:18px;padding:1px 24px 21px}.subcategory-dashboard-total strong{font-size:1.35rem;font-weight:550}.subcategory-dashboard-total>span{font-size:.875rem;color:#6d7e70}.subcategory-dashboard-total .text-button{margin-left:auto}.subcategory-chart{padding:0 24px 22px;display:grid;grid-template-columns:1fr 1fr;gap:7px 35px}.subcategory-chart-row{display:flex;align-items:center;gap:16px;width:100%;border:0;background:transparent;padding:12px 0;text-align:left}.subcategory-chart-row:hover strong{text-decoration:underline}.subcategory-chart-row>span:first-child{min-width:145px;max-width:180px;flex:1}.subcategory-chart-row strong{display:block;font-weight:500;font-size:.875rem}.subcategory-chart-row small{font-size:.8125rem;color:#6d7e70;display:block;margin-top:3px}.subcategory-chart-track{display:block;flex:1;min-width:40px;background:#f1f4ed;height:7px;border-radius:6px}.subcategory-chart-track i{display:block;height:100%;border-radius:6px}.subcategory-chart-row b{min-width:90px;text-align:right;font-size:.875rem;font-weight:500;font-variant-numeric:tabular-nums}.ledger-tools{flex-wrap:wrap}.ledger-tools>input{min-width:240px}.ledger-tools>select{min-width:170px}.form-grid input[type=color]{height:42px;padding:5px;width:100%}
@media(max-width:1250px){.taxonomy-layout{grid-template-columns:210px minmax(0,1fr)}.taxonomy-heading{flex-direction:column}.taxonomy-actions{justify-content:flex-start}.subcategory-row{flex-wrap:wrap;gap:10px 16px}.subcategory-title{flex-basis:55%}.subcategory-chart{grid-template-columns:1fr}.taxonomy-detail-footer{flex-wrap:wrap}.taxonomy-period{flex-wrap:wrap}.taxonomy-period select{max-width:100%}.taxonomy-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:850px){.taxonomy-layout{grid-template-columns:1fr}.taxonomy-nav{display:flex;flex-wrap:wrap;padding:14px;gap:7px}.taxonomy-nav .panel-head{width:100%;padding:4px 5px 11px}.taxonomy-category{width:auto;max-width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 13px;gap:8px}.taxonomy-category small{display:none}.taxonomy-category.selected{border-color:#85ac79}.taxonomy-category strong{font-size:.875rem}.taxonomy-add{margin:0}.taxonomy-heading,.taxonomy-period,.subcategory-row,.taxonomy-detail-footer{padding:20px}.taxonomy-heading h2{font-size:1.5rem}.subcategory-dashboard-total{flex-wrap:wrap;gap:10px}.subcategory-dashboard-total .text-button{margin-left:0}.subcategory-chart-row{gap:10px}.subcategory-chart-row>span:first-child{min-width:110px}.subcategory-chart-row b{min-width:75px}.batch-toolbar{flex-wrap:wrap;gap:12px}}

.sync-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;margin:1rem 0 1.5rem;background:#edf6f1;border:1px solid #c9e2d5;border-radius:10px;font-size:.9rem}.sync-banner strong,.sync-banner small{display:block}.sync-banner small{margin-top:.3rem;color:#4a6259}.sync-banner[data-state="error"],.sync-banner[data-state="conflict"]{background:#fff3df;border-color:#e7c58f;color:#5e421e}.sync-banner[data-state="loading"],.sync-banner[data-state="saving"],.sync-banner[data-state="pending"]{background:#edf3fc;border-color:#cbd8ed}@media(max-width:650px){.sync-banner{align-items:flex-start;flex-direction:column}}

.account-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;padding:1.3rem}.account-card{padding:1.3rem;border:1px solid #dce7e1;border-radius:12px;display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.account-card h3{font-size:1.05rem;overflow-wrap:anywhere;margin:.8rem 0}.account-card p,.account-import-action small{font-size:.875rem;color:#60766a;line-height:1.5}.account-import-action{display:flex;flex-direction:column;gap:.6rem;align-items:flex-start;justify-content:end}.legacy-activities{margin-top:1.5rem;padding-bottom:1.2rem}.legacy-activities>.button{margin-left:1rem}.account-source{color:#476557!important}
.workspace-switcher{margin-bottom:1.5rem}
.hogar-people{display:flex;gap:2rem;padding:0 1.5rem 1.5rem;flex-wrap:wrap}
.hogar-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding:0 1.5rem 1.5rem}
.hogar-person h3{margin:0 0 1rem;font-size:1.1rem}
.hogar-category{border:1px solid var(--line,#dfe7e2);border-radius:10px;margin-bottom:.7rem;background:#fff}
.hogar-category summary{padding:1rem;cursor:pointer;list-style:none}
.hogar-category summary small{display:block;margin:.35rem 0 0 1.75rem;color:#576b61;font-size:.875rem}
.hogar-category summary .check{font-weight:600}
.hogar-subcategories{padding:0 1rem 1rem 2.5rem;display:grid;gap:.8rem}
.hogar-subcategories .check{font-size:.95rem}
#hogar-form>.button{margin-top:.5rem}
@media(max-width:760px){.hogar-settings-grid{grid-template-columns:1fr}.hogar-people{gap:1rem}.workspace-switcher{margin-bottom:1rem}}
.period-controls{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.period-switch{display:flex;padding:4px;border:1px solid #d9e4dc;background:#edf2ee;border-radius:9px}
.period-switch button{border:0;background:transparent;padding:.55rem .85rem;border-radius:6px;font-size:.9rem;color:#435b4d}
.period-switch button.selected{background:#fff;box-shadow:0 1px 4px #20393016;color:#155d47;font-weight:650}
.period-controls select{min-width:100px;max-width:230px}
.report-coverage{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.25rem;padding:1rem 1.2rem;background:#fff;border:1px solid #dfe6e1;border-radius:10px}
.report-coverage strong{display:inline-block;margin-right:.85rem}
.report-coverage span,.report-coverage p{font-size:.875rem;color:#53695d}
.report-coverage p{margin:.35rem 0 0}
.report-coverage .button{flex:none}
.category-summary{margin-bottom:1.5rem}
.category-summary table{min-width:800px;width:100%}
.category-summary th,.category-summary td,.monthly-breakdown th,.monthly-breakdown td{font-size:.9rem;padding:1rem 1.2rem}
.category-summary tfoot,.monthly-breakdown tfoot{font-weight:700;background:#edf5f0;border-top:2px solid #d9e7de}
.category-summary td small{display:block;white-space:normal}
.summary-category{border:0;background:none;padding:0;display:flex;align-items:center;text-align:left;gap:.65rem;font-weight:600;min-width:155px}
.summary-category i{width:9px;height:9px;border-radius:50%;flex:none}
.summary-category small{font-weight:400;color:#53695d}
.summary-amount{font-weight:700;white-space:nowrap}
.report-chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:1.5rem;margin-bottom:1.5rem}
.report-chart-grid>.panel{min-width:0}
.report-trend .trend-chart{padding-top:1rem}
.report-facts{padding:0 1.4rem 1.4rem;display:grid;gap:1.2rem}
.report-facts>div+div{border-top:1px solid #e4ebe6;padding-top:1.15rem}
.report-facts small,.report-facts span{display:block;font-size:.875rem;color:#53695d}
.report-facts strong{display:block;font-size:1.25rem;margin:.25rem 0;color:#234c38}
.report-facts .text-button{margin:.35rem 0;font-weight:600;text-align:left}
.year-chart{overflow-x:auto;padding:1rem 1.25rem 1.4rem}
.year-bars{display:grid;grid-template-columns:repeat(12,minmax(45px,1fr));gap:7px;min-width:620px}
.year-column{padding:0;border:0;background:none;text-align:center;color:#3e5d4d;display:flex;flex-direction:column;gap:8px;font-size:.875rem}
.year-column.no-records{opacity:1;color:#87968d}
.year-column small{font-size:.8rem;white-space:nowrap;letter-spacing:-.02em}
.year-bar-space{position:relative;height:185px;width:100%;display:block;background:linear-gradient(#f8fbf9,#f1f6f3);border-radius:5px}
.year-fill{position:absolute;left:17%;width:66%;background:#20785b;border-radius:4px 4px 0 0;min-height:1px}
.year-fill.refund{background:#7b92bc;border-radius:0 0 4px 4px}
.year-zero{position:absolute;left:0;right:0;height:1px;background:#c5d5ca}
.year-column:hover:not(:disabled) .year-fill{background:#125f45}
.monthly-breakdown{margin-bottom:1.5rem}
.monthly-breakdown table{min-width:700px;width:100%}
.monthly-breakdown td small{font-size:.8rem;color:#60756a}
@media(max-width:1200px){.report-chart-grid{grid-template-columns:1fr}.report-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.report-facts>div+div{border-top:0;border-left:1px solid #e4ebe6;padding-top:0;padding-left:1rem}.year-bars{min-width:620px}}
@media(max-width:700px){.report-coverage{align-items:flex-start;flex-direction:column}.report-coverage strong,.report-coverage span{display:block}.report-facts{grid-template-columns:1fr}.report-facts>div+div{border-left:0;border-top:1px solid #e4ebe6;padding:1rem 0 0}.head-actions .period-controls{width:100%}.year-chart{padding-left:1rem;padding-right:1rem}.category-summary .panel-head{align-items:flex-start}}

.merchant-panel,.rule-tester{margin-bottom:1.5rem}.rules-explainer{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:1rem 1.5rem;background:#eff6f2;font-size:.9rem;line-height:1.6}.merchant-list{padding:0 1.5rem}.merchant-rule{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 0;border-bottom:1px solid #e5ece7}.merchant-rule .pill{margin-left:1rem}.merchant-rule small{display:block;color:#60756a}.keyword-chip{display:inline-block;padding:.3rem .5rem;border-radius:5px;background:#eef3f0;font-size:.85rem}.rule-actions{display:flex;gap:1rem}.rule-tools{display:flex;justify-content:space-between;align-items:center;gap:1rem}.rule-tester{padding:1.5rem}.rule-tester form{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:1rem;align-items:end}.rule-tester label{display:flex;flex-direction:column;gap:.5rem;font-size:.9rem}.rule-tester input,.rule-tester select{width:100%}.rule-tester h2{margin:0 0 1rem}.rule-preview{max-height:50vh;overflow:auto;margin:1rem 0}.rule-preview article{padding:1rem 0;border-bottom:1px solid #dfe8e2}.rule-preview strong,.rule-preview small{display:block;margin-top:.5rem}.rule-reason{color:#18745e}.rule-tester p{line-height:1.5}@media(max-width:800px){.rules-explainer,.rule-tester form{grid-template-columns:1fr}.merchant-rule,.rule-tools{align-items:flex-start;flex-direction:column}}

.brand img{display:block;width:100%;max-width:160px;height:145px;object-fit:contain}.brand{justify-content:center;padding:10px 0!important;height:auto!important;margin-bottom:1rem!important}.sidebar-bottom>a{display:block;margin-top:.6rem}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#f4f8f5}.login-story{padding:3rem 7vw;background:#dceee3;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.login-brand{text-decoration:none;color:#164c3e;font-size:1.25rem;font-weight:750}.login-brand span{display:block;letter-spacing:.25em;font-size:.8rem;margin-top:.3rem}.login-mascot{width:min(350px,80%);height:290px;object-fit:contain;align-self:center;margin:1rem 0}.login-story h1{font-size:clamp(2rem,3.7vw,3.5rem);line-height:1.08;color:#164c3e;margin:0 0 1rem}.login-story p{font-size:1rem;line-height:1.7;color:#426153}.login-features{display:flex;gap:.7rem;margin:1rem 0}.login-features span{padding:.5rem 1rem;border:1px solid #a8c5b5;border-radius:30px}.login-card{align-self:center;max-width:480px;padding:3rem;margin:2rem auto}.login-card h2{font-size:2.5rem;letter-spacing:-.04em;margin:.7rem 0}.login-card>p{line-height:1.6;color:#5d7065}.login-card form{margin:1.7rem 0}.login-card label{display:flex;flex-direction:column;gap:.6rem;font-size:.95rem;margin-bottom:1rem}.login-card input{width:100%;height:48px}.login-card .primary{display:inline-flex;justify-content:center;width:100%;min-height:48px;text-decoration:none;align-items:center}.login-footnote{font-size:.85rem;margin-top:2rem}.login-card [hidden]{display:none}.logo-gallery{max-width:1100px;margin:auto;padding:2rem}.logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.logo-card{background:white;border:1px solid #dce6df;border-radius:18px;padding:1.5rem;text-align:center}.logo-card img{height:260px;width:100%;object-fit:contain}.logo-card.selected{grid-column:1/-1}.logo-card.selected img{height:380px}.logo-gallery h1{font-size:2rem}@media(max-width:800px){.login-shell{grid-template-columns:1fr}.login-story{padding:2rem}.login-story h1{font-size:2rem}.login-mascot{height:220px}.login-card{padding:1.8rem;margin:0 auto;width:100%}.brand img{height:110px}.logo-grid{grid-template-columns:1fr}.logo-card.selected{grid-column:auto}}
