/* Budget settings workspace */
.page-content:has(.budget-settings-page){width:min(100%,100rem);padding:clamp(1rem,2vw,2rem)}
.budget-settings-page{--bs-ink:#122031;--bs-muted:#607086;--bs-border:#d9e2dd;--bs-green:#087842;--bs-green-dark:#075531;--bs-soft:#eff8f3;display:grid;gap:1.1rem;color:var(--bs-ink)}
.budget-settings-breadcrumbs{display:flex;gap:.55rem;color:var(--bs-muted);font-size:.75rem}.budget-settings-breadcrumbs a{color:var(--bs-green);text-decoration:none}
.budget-settings-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.budget-settings-hero>div{min-width:0}.budget-settings-eyebrow{margin:0 0 .35rem;color:var(--bs-green);font-size:.68rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.budget-settings-hero h1{margin:0;font-size:clamp(2rem,3vw,2.7rem);letter-spacing:-.045em;line-height:1}.budget-settings-hero p:last-child{max-width:62rem;margin:.5rem 0 0;color:var(--bs-muted);font-size:.86rem;line-height:1.5}
.budget-settings-stats{display:grid;gap:.75rem;grid-template-columns:repeat(6,minmax(0,1fr))}.budget-settings-stats.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}.budget-settings-stats article{display:grid;min-width:0;min-height:7rem;align-content:center;grid-template-columns:2.6rem minmax(0,1fr);gap:.08rem .75rem;padding:.9rem;background:#fff;border:1px solid var(--bs-border);border-radius:.8rem;box-shadow:0 5px 18px rgb(24 58 42 / 5%)}.budget-settings-stats strong{font-size:1.35rem;line-height:1}.budget-settings-stats article>span:not(.settings-stat-icon){font-size:.7rem;font-weight:750}.budget-settings-stats small{grid-column:2;color:var(--bs-muted);font-size:.62rem}.settings-stat-icon{display:grid;width:2.55rem;height:2.55rem;grid-row:1/4;place-items:center;color:#087842;background:#e9f7ef;border-radius:50%}.settings-stat-icon.is-amber{color:#b96a00;background:#fff3d7}.settings-stat-icon.is-blue{color:#2468d9;background:#e9f1ff}.settings-stat-icon.is-purple{color:#355c8a;background:#e9f1ff}.settings-stat-icon.is-teal{color:#07877f;background:#e6f8f6}.settings-stat-icon svg,.settings-search svg,.settings-group-icon svg{width:1.3rem;height:1.3rem;fill:none;stroke:currentcolor;stroke-width:1.8}
.budget-settings-shell{display:grid;min-width:0;align-items:start;gap:1rem;grid-template-columns:minmax(0,1fr) minmax(17rem,20rem)}.settings-overview-main{display:grid;min-width:0;gap:1rem}.settings-overview-grid{display:grid;min-width:0;gap:1rem;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.settings-panel,.settings-rail section{min-width:0;padding:1rem;background:#fff;border:1px solid var(--bs-border);border-radius:.85rem;box-shadow:0 5px 18px rgb(24 58 42 / 4%)}.settings-panel-heading,.settings-toolbar{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.8rem}.settings-panel-heading>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.1rem .55rem}.settings-panel-heading h2,.settings-toolbar strong,.settings-rail h2{margin:0;font-size:.9rem}.settings-panel-heading p,.settings-toolbar span{grid-column:2;margin:0;color:var(--bs-muted);font-size:.65rem}.settings-step{display:grid;width:1.35rem;height:1.35rem;grid-row:1/3;place-items:center;color:#fff;background:var(--bs-green);border-radius:50%;font-size:.62rem;font-weight:850}.settings-panel-heading a:not(.button),.settings-panel-footer a{color:var(--bs-green);font-size:.67rem;font-weight:800;text-decoration:none}
.settings-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.65rem}.settings-table th,.settings-table td{min-width:0;padding:.58rem .55rem;overflow-wrap:anywhere;border-bottom:1px solid #e6ece8;text-align:left;vertical-align:middle}.settings-table th{color:#536276;background:#fafcfb;font-size:.59rem;letter-spacing:.02em;text-transform:uppercase}.settings-table .number{text-align:right;font-variant-numeric:tabular-nums}.settings-table select{width:100%;min-width:0;padding:.45rem;border:1px solid #d3ddd7;border-radius:.45rem;background:#fff;font:inherit}.settings-table small{display:block;color:var(--bs-muted)}.settings-panel-footer{display:flex;justify-content:space-between;gap:.75rem;padding-top:.75rem;color:var(--bs-muted);font-size:.62rem}.settings-empty{padding:2rem!important;color:var(--bs-muted);text-align:center!important}
.settings-status{display:inline-flex;padding:.22rem .48rem;border-radius:999px;color:#486055;background:#edf2ef;font-size:.58rem;font-weight:800;white-space:nowrap}.settings-status.is-on_budget,.settings-status.is-active{color:#087842;background:#e7f6ed}.settings-status.is-off_budget,.settings-status.is-archived{color:#a66400;background:#fff2d8}.settings-status.is-tracking_only{color:#2468d9;background:#e8f0ff}.settings-check{color:#087842;font-weight:800}.settings-text-button{padding:0;color:var(--bs-green);background:none;border:0;font-size:.62rem;font-weight:800;cursor:pointer}
.settings-rail{display:grid;gap:1rem}.settings-rail section{box-shadow:none}.settings-rail section.is-tinted{background:linear-gradient(135deg,#fff,#f1faf5)}.settings-rail p,.settings-help-list dd{color:var(--bs-muted);font-size:.69rem;line-height:1.55}.settings-checklist{display:grid;gap:.65rem;margin:.8rem 0 0;padding:0;list-style:none}.settings-checklist li{font-size:.68rem}.settings-checklist li:before{display:inline-block;width:1.1rem;height:1.1rem;margin-right:.5rem;vertical-align:-.22rem;background:url("../img/check-circle-fill.e028bb6ecfcc.svg") center/contain no-repeat;content:''}.settings-rail-actions{display:grid;gap:.5rem}.settings-help-list{margin:0}.settings-help-list>div{padding:.75rem 0;border-bottom:1px solid var(--bs-border)}.settings-help-list dt{display:flex;align-items:center;gap:.5rem;font-size:.7rem;font-weight:850}.settings-help-list dd{margin:.35rem 0 0}.dot{width:.5rem;height:.5rem;border-radius:50%;background:#087842}.dot.is-amber{background:#f2ad13}.dot.is-blue{background:#3180e8}
.settings-toolbar>div{display:grid;gap:.1rem}.settings-search{display:flex;min-width:14rem;align-items:center;gap:.4rem;padding:.45rem .65rem;border:1px solid #d3ddd7;border-radius:.55rem}.settings-search svg{width:.95rem;height:.95rem;color:#687789}.settings-search input{width:100%;padding:0;border:0;outline:0;font-size:.7rem}.settings-toolbar>select{min-height:2.3rem;padding:.4rem .6rem;border:1px solid #d3ddd7;border-radius:.5rem;background:#fff;font-size:.68rem}.settings-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .7rem;padding:.65rem .75rem;color:var(--bs-muted);background:#f5faf7;border-radius:.6rem;font-size:.66rem}.settings-switch{display:flex;align-items:center;gap:.35rem}.settings-switch input{position:absolute;opacity:0}.settings-switch span{position:relative;width:2rem;height:1.05rem;background:#0b8550;border-radius:999px}.settings-switch span:after{position:absolute;top:.14rem;left:1.1rem;width:.77rem;height:.77rem;background:#fff;border-radius:50%;content:'';transition:.15s}.settings-switch input:checked+span{background:#929a96}.settings-switch input:checked+span:after{left:.14rem}.settings-switch small{font-size:.58rem}.settings-account-table th:nth-child(1){width:20%}.settings-account-table th:nth-child(4){width:14%}.settings-account-table th:nth-child(5){width:15%}.settings-account-table th:nth-child(6){width:13%}
.category-settings-layout{display:grid;min-width:0;align-items:start;gap:1rem;grid-template-columns:minmax(14rem,17rem) minmax(0,1fr)}.category-settings-main{display:grid;min-width:0;gap:1rem}.settings-groups-panel{position:sticky;top:1rem}.settings-group-list{display:grid;gap:.45rem}.settings-group-list button{display:grid;width:100%;min-width:0;align-items:center;gap:.55rem;padding:.65rem;color:var(--bs-ink);background:#fff;border:1px solid var(--bs-border);border-radius:.55rem;text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto}.settings-group-list button:hover,.settings-group-list button.is-active{border-color:#7ebe9a;background:#f0faf5}.settings-group-list button span:nth-child(2){display:grid;gap:.12rem}.settings-group-list small{color:var(--bs-muted);font-size:.56rem}.settings-group-list b{text-align:right;font-size:.7rem}.settings-group-icon{display:grid;width:2rem;height:2rem;place-items:center;color:#087842;background:#e8f6ed;border-radius:.45rem}.settings-inline-create{display:grid;gap:.55rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--bs-border)}.settings-inline-create h3{margin:0;font-size:.75rem}.settings-inline-create label,.settings-category-form label{display:grid;gap:.25rem;color:#536276;font-size:.62rem;font-weight:750}.settings-inline-create input,.settings-category-form input,.settings-category-form select{width:100%;padding:.52rem .6rem;border:1px solid #d3ddd7;border-radius:.45rem;background:#fff;font:inherit}.settings-category-table th:nth-child(1){width:7%}.settings-category-table th:nth-child(2){width:13%}.settings-category-table th:nth-child(3){width:11%}.settings-category-table th:nth-child(4){width:22%}.settings-category-table th:nth-child(5){width:12%}.settings-category-table th:nth-child(6){width:13%}.settings-category-table th:nth-child(7){width:10%}.settings-category-table tr{cursor:pointer}.settings-category-table tr.is-selected td{background:#f0faf5}.category-detail-grid{display:grid;min-width:0;gap:1rem;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.settings-policy-panel h2{margin:0 0 .8rem;font-size:.85rem}.settings-policy-panel [data-policy-detail]{padding:.85rem;color:#145b39;background:#eef8f2;border:1px solid #c5e1d0;border-radius:.55rem}.settings-policy-panel p{margin:.3rem 0 0;color:var(--bs-muted);font-size:.68rem}.settings-category-form{display:grid;gap:.65rem;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-category-form .settings-checkbox{display:flex;align-items:center;gap:.4rem}.settings-category-form .settings-checkbox input{width:auto}.settings-category-form button{align-self:end}
[hidden]{display:none!important}
@media(max-width:1350px){.budget-settings-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.budget-settings-shell,.settings-overview-grid,.category-detail-grid{grid-template-columns:1fr}.settings-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-account-table th:nth-child(2),.settings-account-table td:nth-child(2),.settings-account-table th:nth-child(4),.settings-account-table td:nth-child(4){display:none}}
@media(max-width:960px){.budget-settings-stats.is-four{grid-template-columns:repeat(2,minmax(0,1fr))}.category-settings-layout{grid-template-columns:1fr}.settings-groups-panel{position:static}.settings-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-rail{grid-template-columns:1fr}.settings-category-table th:nth-child(4),.settings-category-table td:nth-child(4),.settings-category-table th:nth-child(6),.settings-category-table td:nth-child(6){display:none}}
@media(max-width:680px){.budget-settings-hero,.settings-panel-heading,.settings-toolbar,.settings-bulk-bar{align-items:flex-start;flex-direction:column}.budget-settings-stats,.budget-settings-stats.is-four{grid-template-columns:1fr}.settings-group-list,.settings-category-form{grid-template-columns:1fr}.settings-search{width:100%;min-width:0}.settings-account-table th:nth-child(3),.settings-account-table td:nth-child(3),.settings-account-table th:nth-child(4),.settings-account-table td:nth-child(4),.settings-account-table th:nth-child(7),.settings-account-table td:nth-child(7){display:none}.settings-category-table th:nth-child(1),.settings-category-table td:nth-child(1),.settings-category-table th:nth-child(3),.settings-category-table td:nth-child(3),.settings-category-table th:nth-child(5),.settings-category-table td:nth-child(5){display:none}}
/* Wuaci Finance product accent. */
.settings-stat-icon.is-finance{color:#355c8a;background:#e9eff4}
