/* Accounts overview and accounting setup */
.accounts-page,.account-setup-page{display:grid;gap:1rem;padding-bottom:2rem}.accounts-heading,.account-setup-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.accounts-heading h1,.account-setup-heading h1{margin:.15rem 0 .25rem;color:#101c2e;font-size:clamp(2rem,3.3vw,2.8rem);line-height:1}.accounts-heading p,.account-setup-heading p{margin:0;color:#65748a}.accounts-heading>.button{flex:0 0 auto}.accounts-heading>.button svg{width:1.1rem;height:1.1rem}.accounts-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem;color:#69788c;font-size:.72rem}.accounts-breadcrumbs a,.accounts-back-link{color:#087443;text-decoration:none}.accounts-breadcrumbs b{color:#a3aea7;font-size:1rem;font-weight:400}.accounts-eyebrow{margin:0 0 .55rem!important;color:#087443!important;font-size:.72rem;font-weight:850;letter-spacing:.15em}.accounts-kpi-grid{display:grid;gap:.8rem;grid-template-columns:repeat(4,minmax(0,1fr))}.accounts-kpi{display:grid;min-width:0;min-height:6.4rem;align-items:center;gap:.8rem;padding:1rem;border:1px solid #dfe6e2;border-radius:.8rem;background:#fff;box-shadow:0 5px 18px rgb(19 61 42/5%);grid-template-columns:3rem minmax(0,1fr)}.accounts-kpi-icon{display:grid;width:3rem;height:3rem;place-items:center;color:#087843;background:#e8f5ed;border-radius:50%}.accounts-kpi-icon.tone-blue{color:#276bd9;background:#eaf1ff}.accounts-kpi-icon.tone-purple{color:#355c8a;background:#eaf1ff}.accounts-kpi-icon svg{width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.accounts-kpi>div{display:grid;min-width:0}.accounts-kpi span:not(.accounts-kpi-icon){color:#3d4d62;font-size:.72rem}.accounts-kpi strong{overflow:hidden;color:#111e31;font-size:1.35rem;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.accounts-kpi small{overflow:hidden;margin-top:.18rem;color:#718096;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}.accounts-hierarchy-note{display:grid;align-items:center;gap:.85rem;padding:.9rem 1rem;color:#294057;border:1px solid #cfe2d6;border-radius:.75rem;background:#f2faf5;grid-template-columns:2.5rem minmax(0,1fr) auto}.accounts-hierarchy-note>svg{width:2rem;height:2rem;color:#087843;fill:none;stroke:currentColor;stroke-width:1.8}.accounts-hierarchy-note>div{display:grid;gap:.12rem}.accounts-hierarchy-note strong{color:#163525;font-size:.8rem}.accounts-hierarchy-note span{color:#617186;font-size:.7rem;line-height:1.45}.accounts-hierarchy-note>a{color:#087443;font-size:.72rem;font-weight:750;text-decoration:none;white-space:nowrap}.accounts-chart-card{min-width:0;overflow:hidden;border:1px solid #dfe6e2;border-radius:.9rem;background:#fff;box-shadow:0 6px 20px rgb(17 60 39/5%)}.accounts-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1rem .7rem}.accounts-chart-heading h2{margin:0;color:#142136;font-size:1.05rem}.accounts-chart-heading p{margin:.18rem 0 0;color:#6c7a8d;font-size:.68rem}.accounts-chart-search{width:min(100%,22rem)}.accounts-chart-search input{width:100%;min-height:2.4rem;font-size:.72rem}.accounts-chart-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.55rem;padding:0 1rem .75rem}.accounts-chart-filters label{display:grid;gap:.2rem;color:#6b788b;font-size:.58rem;font-weight:750;text-transform:uppercase}.accounts-chart-filters select{min-width:8rem;min-height:2.2rem;padding:.35rem .5rem;font-size:.69rem;text-transform:none}.accounts-chart-filters .button{min-height:2.2rem;padding:.35rem .65rem;font-size:.68rem}.accounts-chart-filters>span{margin-left:auto;color:#6d7b8e;font-size:.68rem}.accounts-table-wrap{max-width:100%;overflow-x:auto;border-top:1px solid #e1e7e3}.accounts-table{width:100%;min-width:56rem;table-layout:fixed;border-collapse:collapse;font-size:.7rem}.accounts-tree-table th:nth-child(1){width:8%}.accounts-tree-table th:nth-child(2){width:29%}.accounts-tree-table th:nth-child(3){width:22%}.accounts-tree-table th:nth-child(4){width:15%}.accounts-tree-table th:nth-child(5){width:8%}.accounts-tree-table th:nth-child(6){width:11%}.accounts-tree-table th:nth-child(7){width:7%}.accounts-table th{padding:.55rem .65rem;color:#66758a;background:#f8faf9;font-size:.58rem;text-align:left;text-transform:uppercase;white-space:nowrap}.accounts-table td{padding:.5rem .65rem;color:#4b5a6e;border-top:1px solid #e7ece9;vertical-align:middle}.accounts-table td:first-child strong{color:#203047}.accounts-tree-name{display:flex;min-width:0;align-items:center;gap:.28rem;padding-inline-start:calc(var(--tree-depth)*1.25rem);color:#203047;font-weight:700}.accounts-tree-name>button,.accounts-tree-leaf{display:grid;width:1.15rem;height:1.15rem;flex:0 0 1.15rem;place-items:center}.accounts-tree-name>button{padding:0;color:#577066;background:transparent;border:0;border-radius:.2rem}.accounts-tree-name>button:hover{color:#087843;background:#eaf5ee;transform:none}.accounts-tree-name>button svg{width:.72rem;height:.72rem;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}.accounts-tree-name>button[aria-expanded=false] svg{transform:rotate(-90deg)}.accounts-tree-leaf::before{width:.35rem;height:.35rem;background:#c6d4cc;border-radius:50%;content:""}.accounts-tree-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accounts-tree-table td:nth-child(3){display:grid;gap:.18rem}.accounts-tree-table td:nth-child(3) small{overflow:hidden;max-width:17rem;color:#738196;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}.accounts-level-badge{width:max-content;padding:.12rem .35rem;color:#456052;background:#eef4f0;border-radius:999px;font-size:.55rem;font-weight:750}.accounts-account-type{display:block;color:#213148;font-size:.67rem}.accounts-tree-table td:nth-child(4) small{color:#738196;font-size:.58rem}.accounts-status{display:inline-flex;align-items:center;justify-content:center;padding:.2rem .5rem;color:#68736f;background:#edf1ef;border-radius:999px;font-size:.6rem;font-weight:750;white-space:nowrap}.accounts-status.is-success{color:#087443;background:#e2f3e8}.accounts-status.is-warning{color:#8b5d00;background:#fff0cb}.accounts-row-action{display:grid;width:1.8rem;height:1.8rem;place-items:center;color:#34475c;border-radius:.35rem;text-decoration:none;letter-spacing:.05em}.accounts-row-action:hover{color:#087843;background:#edf7f1}.accounts-filter-empty{padding:2rem;color:#69788b;text-align:center}
/* Focused accounting setup */
.account-setup-page{gap:1.05rem}.account-setup-heading{align-items:flex-start}.accounts-back-link{display:inline-block;margin-bottom:.7rem;font-size:.72rem;font-weight:700}.account-setup-layout{display:grid;align-items:start;gap:1rem;grid-template-columns:minmax(0,1fr) 18rem}.account-setup-main{display:grid;min-width:0;gap:1rem}.account-setup-foundations{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.account-setup-card,.account-custom-card,.account-progress-card,.account-setup-tip{position:relative;border:1px solid #dde5e0;border-radius:.85rem;background:#fff;box-shadow:0 6px 20px rgb(17 60 39/5%)}.account-setup-card{display:grid;min-height:11.5rem;align-items:start;gap:.8rem;padding:1rem;grid-template-columns:auto minmax(0,1fr) 5rem}.account-setup-number{display:grid;width:1.45rem;height:1.45rem;place-items:center;color:#fff;background:#087443;border-radius:50%;font-size:.68rem;font-weight:850}.account-setup-card h2,.account-custom-card h2,.account-progress-card h2{margin:0;color:#152236;font-size:.92rem}.account-setup-card p,.account-custom-card header p{margin:.25rem 0 .6rem;color:#66758a;font-size:.68rem;line-height:1.45}.account-setup-illustration{display:grid;width:4.7rem;height:4.7rem;place-items:center;color:#087843;background:radial-gradient(circle,#f5fbf7 20%,#eaf5ed);border-radius:50%}.account-setup-illustration svg{width:2.3rem;height:2.3rem;fill:none;stroke:currentColor;stroke-width:1.6}.account-setup-card>form,.account-setup-card>details{grid-column:2/-1}.account-setup-card .button{min-height:2.2rem;font-size:.67rem}.account-setup-periods>summary{color:#087443;cursor:pointer;font-size:.7rem;font-weight:750}.accounts-period-list{display:grid;gap:.35rem;margin-top:.6rem}.accounts-period-list>div{display:grid;align-items:center;gap:.4rem;padding:.48rem .55rem;border:1px solid #e1e7e3;border-radius:.45rem;grid-template-columns:auto minmax(0,1fr) auto}.accounts-period-list strong{font-size:.68rem}.accounts-period-list small{overflow:hidden;color:#738196;font-size:.6rem;text-overflow:ellipsis;white-space:nowrap}.account-period-form{display:grid;gap:.45rem;margin-top:.55rem;padding:.65rem;background:#f7faf8;border-radius:.5rem;grid-template-columns:repeat(3,minmax(0,1fr))}.account-period-form label,.account-custom-form label{display:grid;min-width:0;gap:.22rem;color:#334358;font-size:.64rem;font-weight:750}.account-period-form input,.account-custom-form input,.account-custom-form select,.account-custom-form textarea{width:100%;min-height:2.25rem;padding:.4rem .55rem;font-size:.68rem}.account-period-form .button{grid-column:1/-1}.account-custom-card{padding:1rem}.account-custom-card>header{display:flex;align-items:flex-start;gap:.65rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8e4}.account-custom-form{margin-top:.8rem}.account-form-columns{display:grid;gap:.8rem;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(13rem,.7fr)}.account-form-columns fieldset{display:grid;align-content:start;gap:.48rem;min-width:0;margin:0;padding:.75rem;border:1px solid #e1e7e3;border-radius:.65rem}.account-form-columns legend{padding:0 .3rem;color:#233249;font-size:.7rem;font-weight:800}.account-custom-form label>span{color:#bd2f2f}.account-settings-fieldset label{display:flex;min-height:2.15rem;align-items:center;justify-content:space-between;gap:.65rem;padding:.35rem .4rem;border-bottom:1px solid #edf0ee}.account-settings-fieldset label:last-child{border-bottom:0}.account-settings-fieldset label>span{color:#334358}.account-settings-fieldset input[type=checkbox]{width:2rem;height:1.1rem;min-height:1.1rem;appearance:none;background:#d8ddda;border:0;border-radius:999px;cursor:pointer}.account-settings-fieldset input[type=checkbox]::before{display:block;width:.85rem;height:.85rem;margin:.125rem;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgb(0 0 0/25%);content:"";transition:transform .15s}.account-settings-fieldset input[type=checkbox]:checked{background:#087443}.account-settings-fieldset input[type=checkbox]:checked::before{transform:translateX(.9rem)}.account-advanced-fields{margin-top:.75rem;border:1px solid #dfe7e2;border-radius:.6rem}.account-advanced-fields>summary{padding:.65rem .75rem;color:#087443;cursor:pointer;font-size:.68rem;font-weight:750}.account-advanced-fields>div{display:grid;gap:.55rem;padding:.7rem;border-top:1px solid #e2e8e4;grid-template-columns:repeat(5,minmax(0,1fr))}.account-custom-form>footer{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #e2e8e4}.account-custom-form>footer .button{min-height:2.3rem;font-size:.68rem}.account-setup-sidebar{display:grid;gap:1rem}.account-progress-card{padding:1rem}.account-progress-ring{display:grid;width:4.4rem;height:4.4rem;margin:1rem auto .55rem;place-items:center;background:conic-gradient(#087443 var(--setup-progress),#e8edeb 0);border-radius:50%}.account-progress-ring::before{position:absolute;width:3.25rem;height:3.25rem;background:#fff;border-radius:50%;content:""}.account-progress-ring strong{position:relative;color:#163525;font-size:.9rem}.account-progress-card h3{margin:.3rem 0 0;text-align:center;font-size:.82rem}.account-progress-card>p{margin:.25rem 0 .8rem;color:#6a788c;font-size:.66rem;line-height:1.45;text-align:center}.account-progress-card ol{display:grid;gap:.35rem;margin:0 0 .8rem;padding:0;list-style:none}.account-progress-card li{display:grid;align-items:center;gap:.55rem;padding:.5rem;border:1px solid #e5eae7;border-radius:.5rem;grid-template-columns:1.35rem minmax(0,1fr)}.account-progress-card li>span{display:grid;width:1.3rem;height:1.3rem;place-items:center;color:#65748a;border:1px solid #cfd9d3;border-radius:50%;font-size:.6rem;font-weight:800}.account-progress-card li.is-complete>span{color:#fff;background:#087443;border-color:#087443}.account-progress-card li>div{display:grid}.account-progress-card li strong{font-size:.66rem}.account-progress-card li small{color:#728095;font-size:.58rem}.account-progress-card .button{font-size:.68rem}.account-setup-tip{display:grid;align-items:start;gap:.65rem;padding:.8rem;color:#214433;background:#f1faf4;grid-template-columns:1.8rem minmax(0,1fr)}.account-setup-tip svg{width:1.5rem;height:1.5rem;fill:none;stroke:#087443;stroke-width:1.8}.account-setup-tip strong{font-size:.7rem}.account-setup-tip p{margin:.2rem 0 0;color:#627568;font-size:.62rem;line-height:1.5}
@media(max-width:78rem){.accounts-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-setup-layout{grid-template-columns:1fr}.account-setup-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.account-form-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.account-settings-fieldset{grid-column:1/-1}.account-advanced-fields>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:52rem){.accounts-heading,.accounts-chart-heading{align-items:stretch;flex-direction:column}.accounts-heading>.button{width:100%}.accounts-kpi-grid,.account-setup-foundations,.account-setup-sidebar,.account-form-columns{grid-template-columns:1fr}.accounts-hierarchy-note{grid-template-columns:2.5rem minmax(0,1fr)}.accounts-hierarchy-note>a{grid-column:2}.accounts-chart-search{width:100%}.accounts-chart-filters>span{width:100%;margin-left:0}.account-advanced-fields>div,.account-period-form{grid-template-columns:1fr}.account-setup-card{grid-template-columns:auto minmax(0,1fr)}.account-setup-illustration{display:none}.account-setup-card>form,.account-setup-card>details{grid-column:2}.account-settings-fieldset{grid-column:auto}}
.accounts-fx-note{display:grid;align-items:center;gap:.75rem;padding:.75rem 1rem;color:#405268;background:#f3f8f5;border-top:1px solid #dfe9e3;grid-template-columns:2.25rem minmax(0,1fr) auto}.accounts-fx-note-icon{display:grid;width:2.25rem;height:2.25rem;place-items:center;color:#087443;background:#dff2e6;border-radius:50%;font-size:.65rem;font-weight:850}.accounts-fx-note>div{display:grid;gap:.12rem}.accounts-fx-note strong{color:#193a29;font-size:.72rem}.accounts-fx-note span:not(.accounts-fx-note-icon){font-size:.64rem;line-height:1.4}.accounts-fx-note>a{color:#087443;font-size:.68rem;font-weight:750;text-decoration:none;white-space:nowrap}.accounts-tree-table{min-width:68rem}.accounts-tree-table th:nth-child(1){width:8%}.accounts-tree-table th:nth-child(2){width:21%}.accounts-tree-table th:nth-child(3){width:10%}.accounts-tree-table th:nth-child(4){width:10%}.accounts-tree-table th:nth-child(5){width:19%}.accounts-tree-table th:nth-child(6){width:8%}.accounts-tree-table th:nth-child(7){width:15%}.accounts-tree-table th:nth-child(8){width:9%}.accounts-balance-cell{display:grid!important;gap:.08rem}.accounts-balance-cell strong{color:#17283e;font-size:.7rem}.accounts-balance-cell span{color:#52637a;font-size:.65rem}.accounts-balance-cell small{color:#7b8798!important;font-size:.54rem!important;line-height:1.25;text-transform:uppercase}.accounts-balance-cell small+span{margin-top:.16rem}@media(max-width:52rem){.accounts-fx-note{align-items:start;grid-template-columns:2.25rem minmax(0,1fr)}.accounts-fx-note>a{grid-column:2;white-space:normal}}
/* 2026-07-31 compact chart browser and account editor */
.accounts-tree-table{min-width:58rem}.accounts-tree-table th:nth-child(1){width:17%}.accounts-tree-table th:nth-child(2){width:20%}.accounts-tree-table th:nth-child(3){width:10%}.accounts-tree-table th:nth-child(4){width:10%}.accounts-tree-table th:nth-child(5){width:10%}.accounts-tree-table th:nth-child(6){width:21%}.accounts-tree-table th:nth-child(7){width:12%}.accounts-tree-code{position:relative;display:flex;min-width:0;align-items:center;gap:.3rem;padding-inline-start:calc(var(--tree-depth)*1rem);color:#203047}.accounts-tree-code>button,.accounts-tree-code>.accounts-tree-leaf{display:grid;width:1.1rem;height:1.1rem;flex:0 0 1.1rem;place-items:center}.accounts-tree-code>button{padding:0;color:#577066;background:transparent;border:0;border-radius:.2rem}.accounts-tree-code>button:hover{color:#087843;background:#eaf5ee;transform:none}.accounts-tree-code>button svg{width:.68rem;height:.68rem;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}.accounts-tree-code>button[aria-expanded=false] svg{transform:rotate(-90deg)}.accounts-tree-code>.accounts-tree-leaf::before{width:.28rem;height:.28rem;background:#c6d4cc;border-radius:50%;content:""}.accounts-tree-code strong,.accounts-account-name,.accounts-statement-section{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accounts-account-name{color:#203047}.accounts-type-badge{display:inline-flex;padding:.16rem .42rem;color:#52645b;background:#eef3f0;border:1px solid #dce5df;border-radius:.32rem;font-size:.58rem;font-weight:750}.accounts-type-badge.is-posting{color:#087443;background:#e9f7ee;border-color:#acd8bd}.accounts-quick-actions{display:flex;align-items:center;gap:.2rem}.accounts-quick-actions>a{display:grid;width:1.72rem;height:1.72rem;place-items:center;color:#33475b;border:1px solid #e1e7e3;border-radius:.36rem;text-decoration:none}.accounts-quick-actions>a:hover{color:#087843;background:#edf7f1;border-color:#cfe2d6}.accounts-quick-actions svg{width:.82rem;height:.82rem;fill:none;stroke:currentColor;stroke-width:1.8}.accounts-statement-section{color:#546479}.accounts-tree-table td:nth-child(3){display:table-cell}.accounts-tree-table td:nth-child(4) small{display:none}.account-edit-page{max-width:88rem;margin:0 auto}.account-edit-page .account-setup-heading{align-items:center}.account-edit-summary{display:grid;align-items:center;gap:.9rem;padding:1rem;border:1px solid #dfe6e2;border-radius:.85rem;background:#fff;box-shadow:0 6px 20px rgb(17 60 39/5%);grid-template-columns:1.35fr 1.1fr .65fr auto}.account-edit-summary>div{display:grid;min-width:0;gap:.1rem;padding-right:.8rem;border-right:1px solid #e5ebe7}.account-edit-summary>div:nth-child(3){border-right:0}.account-edit-summary span{color:#68788c;font-size:.62rem}.account-edit-summary strong{overflow:hidden;color:#162338;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.account-edit-summary small{overflow:hidden;color:#748196;font-size:.59rem;text-overflow:ellipsis;white-space:nowrap}.account-edit-summary .button{min-height:2.35rem;font-size:.67rem}.account-edit-summary .button svg{width:.9rem;height:.9rem}.account-edit-card{padding:1rem}.account-edit-card .account-custom-form label small{color:#748196;font-size:.56rem;font-weight:500;line-height:1.35}.account-edit-card input:disabled{color:#637185;background:#f3f6f4;cursor:not-allowed}.account-edit-card .account-settings-fieldset{grid-auto-rows:minmax(2.15rem,auto)}
@media(max-width:72rem){.account-edit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-edit-summary>div:nth-child(2){border-right:0}.account-edit-summary .button{width:100%}}
@media(max-width:52rem){.account-edit-summary{grid-template-columns:1fr}.account-edit-summary>div{padding:0 0 .65rem;border-right:0;border-bottom:1px solid #e5ebe7}.account-edit-summary .button{grid-column:1}}
/* Contextual FX adds a posted-balance column to the chart browser. Keep these final in the cascade. */
.accounts-tree-table{min-width:68rem}.accounts-tree-table th:nth-child(1){width:8%}.accounts-tree-table th:nth-child(2){width:21%}.accounts-tree-table th:nth-child(3){width:10%}.accounts-tree-table th:nth-child(4){width:10%}.accounts-tree-table th:nth-child(5){width:19%}.accounts-tree-table th:nth-child(6){width:8%}.accounts-tree-table th:nth-child(7){width:15%}.accounts-tree-table th:nth-child(8){width:9%}
/* Wuaci Finance product accent. */
.accounts-kpi-icon.tone-finance{color:#355c8a;background:#e9eff4}
