.finance-section-toggle {font-weight:700!important;justify-content:space-between!important}
#appScreen .sidebar-nav .finance-section-toggle {display:flex;gap:8px;margin-top:12px!important;padding:8px 10px!important;font-size:11px!important;background:transparent!important;border-radius:0!important;}
#appScreen .sidebar-nav .finance-section-toggle .nav-label {flex:1;white-space:normal;line-height:1.4;}
#appScreen .sidebar-nav .finance-group-icon {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border:1px solid var(--ui-border,#dce3ed);border-radius:4px;font-size:10px;}
#appScreen .sidebar-nav [data-finance-section] {margin-left:19px!important;padding:8px 10px 8px 14px!important;width:calc(100% - 19px)!important;border-left:1px solid var(--ui-border,#dce3ed)!important;border-radius:0 5px 5px 0!important;}
#appScreen .sidebar-nav [data-finance-section][aria-current=page] {border-left:3px solid var(--primary,#1764df)!important;font-weight:600;}
#appScreen .sidebar-nav .sidebar-manual-link {margin-top:20px!important;}
.finance-section-toggle svg {width:15px;height:15px;flex-shrink:0;transition:transform .15s}
.finance-section-toggle[aria-expanded=true] svg {transform:rotate(180deg)}
.sidebar-nav [data-finance-section] {padding-left:32px!important;font-size:12px}
.sidebar-nav [data-finance-section][hidden] {display:none!important}
/* Navigation lives in the sidebar; retain controls in the DOM for existing flows. */
.accounting-section-tabs, #billingWorkspace .billing-tabs {display:none!important}
.accounting-toolbar #accountingCatalogQuick {display:none}
.billing-dashboard-grid {grid-template-columns:1fr!important}
.billing-dashboard-grid>aside {display:none}
.xml-related-tools {display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}
#appScreen .work-context {position:relative;top:auto;margin-top:8px;box-shadow:none}
#appScreen .work-context-next {padding:7px 12px;border-top:0;border-radius:12px;gap:10px}
#appScreen .work-context-next>.context-next-copy {display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
#appScreen .work-context-next .context-inline-period {white-space:nowrap}
#appScreen .work-context-next button {min-height:32px!important;height:auto!important;padding:6px 10px!important;font-size:11px!important;flex-shrink:0}
#appScreen .work-context-next .context-refresh {width:32px!important;padding:4px!important}
@media(max-width:640px){#appScreen .work-context-next{flex-wrap:wrap}#appScreen .work-context-next>.context-next-copy{flex-basis:100%}}
.finance-catalog {border:1px solid #dce5f2;border-radius:14px;background:#fff;overflow:hidden}
.finance-catalog>header,.finance-catalog>footer {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}
.finance-catalog nav {display:flex;gap:8px;flex-wrap:wrap}
.finance-catalog>label {display:block;padding:0 18px;font-weight:600}
.finance-catalog input {display:block;width:100%;margin-top:8px}
.finance-catalog>p {padding:0 18px;color:#6b7f99;font-size:12px}
.finance-table-scroll {overflow:auto}
.finance-catalog table {width:100%;border-collapse:collapse;font-size:13px}
.finance-catalog th {background:#f4f7fb;text-align:left;color:#6b7f99;font-size:11px;text-transform:uppercase}
.finance-catalog td,.finance-catalog th {padding:12px 16px;border-bottom:1px solid #e4ebf5}
.finance-catalog td:first-child {white-space:nowrap}
@media(max-width:640px){.finance-catalog>header,.finance-catalog>footer {align-items:flex-start;flex-direction:column}}

.accounting-center-shell>header #accountingCatalogQuick,.accounting-center-shell>header #accountingImportContpaqi,.accounting-center-shell>header #accountingReset {display:none!important}
.accounting-center-shell:not([data-finance-view="policies"])>header #accountingManual,.accounting-center-shell:not([data-finance-view="policies"])>header #accountingGenerate {display:none!important}
.accounting-center-shell[data-finance-view="catalog"] #accountingSummary,.accounting-center-shell[data-finance-view="preferences"] #accountingSummary,.accounting-center-shell[data-finance-view="settings"] #accountingSummary {display:none}
#appScreen .shell-main .accounting-center-shell {gap:12px}
#appScreen .shell-main .accounting-center-shell>header {padding:12px 16px!important;border-radius:12px!important;background:#fff!important;gap:12px!important}
#appScreen .shell-main .accounting-center-shell>header h3 {margin:3px 0!important;font-size:18px!important}
#appScreen .shell-main .accounting-center-shell .accounting-toolbar {display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:flex-end!important;gap:10px!important;padding:10px 14px!important}
#appScreen .shell-main .accounting-center-shell .accounting-toolbar>label {flex:0 1 160px!important;width:160px!important}
#appScreen .shell-main .accounting-center-shell .accounting-toolbar>button {width:auto!important;min-width:110px!important}
#appScreen .shell-main .accounting-center-shell .accounting-toolbar[hidden],#appScreen .shell-main .accounting-section-tabs[hidden] {display:none!important}
@media(max-width:600px){#appScreen .shell-main .accounting-center-shell>header {flex-wrap:wrap}#appScreen .shell-main .accounting-center-shell .accounting-toolbar>label {flex:1 1 120px!important}}

#appScreen .sidebar-nav .finance-direct-menu > .nav-item {margin:0 0 2px 14px!important;width:calc(100% - 14px)!important;padding:8px 10px 8px 14px!important;border-left:1px solid var(--ui-border,#dce3ed)!important;border-radius:0 5px 5px 0!important;}
#appScreen .sidebar-nav .finance-direct-menu > .nav-item[aria-current=page] {border-left:3px solid var(--primary,#1764df)!important;}
#appScreen .sidebar-nav .finance-direct-menu .nav-label {white-space:normal;line-height:1.4;}
