/* Four complete workflow arrangements. Loaded last to avoid older layout overrides. */
body #content .classic-module-dashboard:is(.wf-layout-1,.wf-layout-2,.wf-layout-3,.wf-layout-4){--wf-gap:10px;--wf-line:#cde1ed;--wf-ink:#133e58}
body #content .classic-module-dashboard .workflow-layout-grid{display:grid!important;gap:var(--wf-gap);align-items:start;min-width:0;margin:8px 0 12px}
body #content .classic-module-dashboard .workflow-layout-grid>.accounting-dual-centers{margin:0!important;gap:var(--wf-gap)!important;min-width:0}
body #content .classic-module-dashboard .workflow-layout-grid>.workspace-action-buckets{margin:0!important;gap:var(--wf-gap)!important;min-width:0}
body #content .classic-module-dashboard .workflow-layout-grid :is(.accounting-center,.workspace-action-bucket){background:#fff!important;border:1px solid var(--wf-line)!important;border-radius:8px!important;padding:10px!important;min-height:0!important;min-width:0;align-self:start;box-shadow:0 2px 6px #123a5705!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center{gap:8px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center>header{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:0!important;min-height:25px!important}
body #content .classic-module-dashboard .workflow-layout-grid :is(.accounting-center h3,.workspace-action-bucket>h3){display:flex!important;align-items:center;gap:6px;margin:0 0 6px!important;padding:0 0 6px!important;min-height:22px!important;font:600 12px/1.3 'Segoe UI',Arial,sans-serif!important;color:var(--wf-ink)!important;text-transform:none!important;letter-spacing:0!important;border-bottom:1px solid #e1edf3!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center h3{border:0!important;margin:0!important;padding:0!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center>header>span{font-size:10px!important;color:#618397}
.workflow-group-symbol{display:inline-flex!important;width:25px;height:25px;padding:5px;box-sizing:border-box;flex:none;border-radius:6px;background:#eaf5fb;color:var(--wf-group-color,#1689c7)}.workflow-group-symbol svg{width:100%;height:100%;fill:none}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center-metrics{display:flex!important;gap:25px!important;margin:0!important;padding:0!important;min-height:36px;flex:none!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center-metrics small{font-size:10px!important}.workflow-layout-grid .accounting-center-metrics strong{font-size:19px!important;line-height:1.4}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:none!important;margin:0!important}
body #content .classic-module-dashboard .workflow-layout-grid .workspace-action-bucket>div{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(74px,1fr))!important;gap:5px!important}
body #content .classic-module-dashboard .workflow-layout-grid .workspace-shortcut{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;min-height:54px!important;height:auto!important;padding:5px 3px!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;font:500 10px/1.3 'Segoe UI',Arial,sans-serif!important;text-align:center!important;color:#28506c!important;min-width:0;overflow-wrap:anywhere}
body #content .classic-module-dashboard .workflow-layout-grid .workspace-shortcut:hover{background:#edf8fb!important;border-color:#b7dfe9!important;color:#07627d!important}
body #content .classic-module-dashboard .workflow-layout-grid .workspace-shortcut>.submenu-icon{display:flex!important;width:29px!important;height:29px!important;padding:6px!important;margin:0!important;background:#eaf3f8!important;color:#33738d!important;border-radius:6px!important;flex:none!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center>footer{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:0!important;padding:0!important;flex:none!important}
body #content .classic-module-dashboard .workflow-layout-grid .accounting-center>footer .btn{min-height:29px!important;font-size:10px!important;padding:5px 8px!important}
body #content .classic-module-dashboard #classic-module-workflows .workspace-insight-strip{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))!important;gap:7px!important;margin:8px 0!important}
body #content .classic-module-dashboard #classic-module-workflows .workspace-insight-strip>.card{min-height:58px!important;padding:8px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:5px!important;border:1px solid #d2e3ee!important;border-radius:6px!important;background:#fff!important}
body #content .classic-module-dashboard #classic-module-workflows .workspace-insight-strip>.card small{font-size:10px!important;line-height:1.3!important}.classic-module-dashboard .workspace-insight-strip>.card strong{font-size:20px!important;line-height:1.1!important}
body #content .classic-module-dashboard .workflow-area-nav{display:none!important}
body #content .classic-module-dashboard .workflow-quick-actions{display:none!important}
/* 1: Main centers, balanced icon groups, full-width setup. */
body #content .classic-module-dashboard.wf-layout-1 .workflow-layout-grid{grid-template-columns:minmax(0,1fr)!important}
body #content .classic-module-dashboard.wf-layout-1 .workflow-layout-grid>.accounting-dual-centers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-1 .workflow-layout-grid>.workspace-action-buckets{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket{grid-column:span 3!important}
body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket[data-workflow-group="Transactions"]{grid-column:span 2!important}
body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket[data-workflow-group="Payments & Banking"]{grid-column:span 3!important}
body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket[data-workflow-group="Machine & Vehicle Expenses"]{grid-column:span 7!important}
body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket[data-workflow-group="Company Setup"]{grid-column:1/-1!important}
/* 2: Area navigation, tinted headers, card grid. */
body #content .classic-module-dashboard.wf-layout-2 .workflow-area-nav{display:flex!important;gap:6px;overflow-x:auto;padding:8px 10px;margin:8px 0;border-radius:7px;background:#073956;color:white}
.workflow-area-nav button{flex:none;border:0;border-radius:5px;background:transparent;color:inherit;padding:6px 9px;font:600 11px 'Segoe UI',Arial;cursor:pointer}.workflow-area-nav button:hover{background:#ffffff24}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid{grid-template-columns:minmax(0,1fr)!important}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid>.accounting-dual-centers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid>.workspace-action-buckets{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid :is(.accounting-center,.workspace-action-bucket){padding:0 10px 10px!important;border-top:2px solid var(--wf-group-color)!important}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid :is(.accounting-center>header,.workspace-action-bucket>h3){background:color-mix(in srgb,var(--wf-group-color) 9%,white)!important;color:var(--wf-group-color)!important;margin:0 -10px 8px!important;padding:8px 10px!important;border:0!important;min-height:30px!important}
body #content .classic-module-dashboard.wf-layout-2 .workflow-group-symbol{background:var(--wf-group-color);color:white}
body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid .workspace-shortcut{border-color:#e8f1f7!important;background:#fbfdff!important;min-height:61px!important}
body #content .classic-module-dashboard.wf-layout-2 .workspace-action-bucket[data-workflow-group="Imports & Analytics"]{grid-column:span 2!important}
/* 3: Quick actions plus small list sections including the two centers. */
body #content .classic-module-dashboard.wf-layout-3 .workflow-quick-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:9px;padding:16px!important;border-radius:9px;background:linear-gradient(110deg,#064578,#087f94)!important;margin:8px 0!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-quick-actions:before{content:'Quick Actions';color:white;font-size:16px;font-weight:600;margin-right:14px}
body #content .classic-module-dashboard.wf-layout-3 .workflow-quick-actions .btn{background:#fff!important;color:#145274!important;border:1px solid #d3e5f1!important;font-size:11px!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid>:is(.accounting-dual-centers,.workspace-action-buckets){display:contents!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid :is(.accounting-center,.workspace-action-bucket){border-top:3px solid var(--wf-group-color)!important;padding:9px!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid .accounting-center>header{display:block!important}.wf-layout-3 .accounting-center>header>span{display:none}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid :is(.accounting-center-links,.workspace-action-bucket>div){display:flex!important;flex-direction:column!important;gap:3px!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid .workspace-shortcut{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;min-height:28px!important;padding:3px!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid .workspace-shortcut>.submenu-icon{width:23px!important;height:23px!important;padding:4px!important}
body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid .accounting-center-metrics{gap:10px!important;flex-wrap:wrap!important}.wf-layout-3 .accounting-center-metrics strong{font-size:16px!important}
/* 4: Two center columns and the compact quick-link grid alongside. */
body #content .classic-module-dashboard.wf-layout-4.wf-has-centers .workflow-layout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.45fr)!important;align-items:start}
body #content .classic-module-dashboard.wf-layout-4.wf-has-centers .workflow-layout-grid>.accounting-dual-centers{display:contents!important}
body #content .classic-module-dashboard.wf-layout-4.wf-has-centers .workflow-layout-grid>.workspace-action-buckets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-column:3!important;grid-row:1!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .accounting-center-links{grid-template-columns:minmax(0,1fr)!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .accounting-center>header>span{display:none}.wf-layout-4 .accounting-center-metrics{flex-wrap:wrap}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .accounting-center .workspace-shortcut{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;min-height:35px!important;text-align:left!important;border-color:#deebf3!important;background:#f7fbfe!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket{padding:7px!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket>h3{font-size:10px!important;min-height:20px!important;margin-bottom:4px!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket .workflow-group-symbol{width:20px;height:20px;padding:4px}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket>div{grid-template-columns:minmax(0,1fr)!important;gap:2px!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket .workspace-shortcut{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important;font-size:9px!important;min-height:24px!important;padding:2px!important;gap:4px!important}
body #content .classic-module-dashboard.wf-layout-4 .workflow-layout-grid .workspace-action-bucket .submenu-icon{width:20px!important;height:20px!important;padding:4px!important}
body #content .classic-module-dashboard.wf-layout-4:not(.wf-has-centers) .workflow-layout-grid{grid-template-columns:minmax(0,1fr)!important}
body #content .classic-module-dashboard.wf-layout-4:not(.wf-has-centers) .workflow-layout-grid>.workspace-action-buckets{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body #content .classic-module-dashboard.wf-layout-4:not(.wf-has-centers) .workflow-layout-grid .workspace-action-bucket>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.workspace-layout-picker>header h2{margin:0 0 5px}.workspace-layout-picker>header p{margin:0 0 15px;color:#557185}.workspace-layout-picker>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.workspace-layout-picker [data-workflow-choice]{cursor:pointer}.workspace-layout-picker [data-workflow-choice]>small{display:block;color:#557185;margin-top:8px;line-height:1.4}.workspace-layout-picker [data-workflow-choice][aria-pressed=true]{border-color:#078598;background:#edf9fc;outline:2px solid #078598}
@media(max-width:1100px){body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket{grid-column:span 4!important}body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket[data-workflow-group="Machine & Vehicle Expenses"]{grid-column:span 8!important}}
@media(max-width:800px){body #content .classic-module-dashboard:is(.wf-layout-1,.wf-layout-2,.wf-layout-4) .workflow-layout-grid{grid-template-columns:minmax(0,1fr)!important}body #content .classic-module-dashboard.wf-layout-4.wf-has-centers .workflow-layout-grid>.accounting-dual-centers{display:grid!important;grid-column:1!important;grid-row:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body #content .classic-module-dashboard.wf-layout-4.wf-has-centers .workflow-layout-grid>.workspace-action-buckets{grid-column:1!important;grid-row:auto!important}body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid>.workspace-action-buckets{grid-template-columns:repeat(2,minmax(0,1fr))!important}body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body #content .classic-module-dashboard .workflow-layout-grid>.accounting-dual-centers{grid-template-columns:minmax(0,1fr)!important}body #content .classic-module-dashboard.wf-layout-1 .workspace-action-bucket{grid-column:1/-1!important}body #content .classic-module-dashboard.wf-layout-3 .workflow-layout-grid{grid-template-columns:minmax(0,1fr)!important}body #content .classic-module-dashboard.wf-layout-2 .workflow-layout-grid>.workspace-action-buckets{grid-template-columns:minmax(0,1fr)!important}}
@media print{.workflow-area-nav,.workflow-quick-actions,.workspace-layout-picker{display:none!important}}
/* Shared Overview presentation; deliberately excludes Accounts Overview. */
body #content .module-insights-design{background:#f8fafc;border-radius:10px;padding:6px 0;color:#223747}
body #content .overview-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:9px 0 18px}
body #content .overview-welcome h2{font:650 22px/1.3 'Segoe UI',Arial,sans-serif!important;color:#132d41;margin:0 0 5px!important}.overview-welcome h2>span{font-size:21px}.overview-welcome p{font-size:12px;margin:0;color:#617183}.overview-period{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #e0e8ed;border-radius:6px;background:white;color:#405367;font-size:11px;white-space:nowrap}
body #content .overview-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:15px}
body #content .overview-kpis .overview-kpi{display:flex!important;flex-direction:column;gap:12px;padding:15px!important;background:white!important;border:1px solid #e3eaf0!important;border-radius:8px!important;min-height:112px!important;margin:0!important;box-shadow:0 2px 4px #14374c04!important}
.overview-kpi>div{display:flex;align-items:center;gap:9px;min-height:35px}.overview-kpi small{font-size:11px;line-height:1.4;color:#405369}.overview-kpi-icon{display:inline-flex;flex:none;width:35px;height:35px;align-items:center;justify-content:center;border-radius:7px;background:#e9f8f4}.overview-kpi-icon .submenu-icon{margin:0!important;width:22px;height:22px}.overview-kpi-icon svg{width:100%;height:100%}
body #content .overview-kpi>strong{display:block;font:700 23px/1.2 'Segoe UI',Arial,sans-serif!important;color:#16374a}.overview-kpi-caption{font-size:10px;color:#718394;line-height:1.35}.overview-kpi[role=button]{cursor:pointer}.overview-kpi[role=button]:hover{outline:1px solid #68baae;background:#fbfffe!important}.overview-kpi[role=button]:focus-visible{outline:2px solid #128e81;outline-offset:2px}
body #content .overview-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
body #content .overview-chart-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0e8ef;border-radius:8px;padding:14px 15px;box-shadow:0 2px 4px #15364d04;min-height:235px}
body #content .overview-chart-card>h3{font:600 12px/1.4 'Segoe UI',Arial,sans-serif!important;margin:0 0 17px!important;color:#293e50;text-transform:none!important;letter-spacing:0!important}.overview-chart-note{margin:12px 0 0;font-size:10px;line-height:1.45;color:#788795}.overview-no-data{display:flex;align-items:center;justify-content:center;flex:1;min-height:140px;background:#fbfcfd;border-radius:5px;font-size:12px;line-height:1.5;color:#82939f;padding:15px;text-align:center}
.overview-trend{width:100%;height:210px;overflow:visible}.overview-trend text{font:8px Arial;fill:#718391}
.overview-donut-row{display:flex;align-items:center;justify-content:space-around;gap:13px;flex:1;min-height:170px}.overview-donut{flex:0 0 min(45%,160px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center}.overview-donut>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:65%;aspect-ratio:1;border-radius:50%;background:white}.overview-donut strong{font-size:22px;color:#2f4252}.overview-donut small{font-size:10px;color:#84929f}.overview-donut-key{display:grid;gap:11px;min-width:0;flex:1}.overview-donut-key>div{display:flex;gap:6px;align-items:center;font-size:10px}.overview-donut-key i{width:8px;height:8px;border-radius:2px;flex:none}.overview-donut-key span{flex:1;min-width:0;overflow-wrap:anywhere}.overview-donut-key b{font-weight:600;color:#3c596b}
.overview-bars{display:grid;gap:16px;align-content:center;flex:1}.overview-bars>div{display:grid;grid-template-columns:minmax(70px,1fr) minmax(45px,1.4fr) auto;gap:8px;align-items:center}.overview-bars>div>span{font-size:10px;line-height:1.4;overflow-wrap:anywhere;color:#526877}.overview-bars i{height:12px;border-radius:2px;background:#f1f6f8;overflow:hidden}.overview-bars i b{display:block;height:100%;min-width:0;border-radius:2px}.overview-bars strong{font-size:10px;font-weight:600;color:#247b7b}
.overview-record-table{overflow:auto;max-height:210px;flex:1}.overview-record-table table{width:100%;border-collapse:collapse;font-size:10px}.overview-record-table td,.overview-record-table th{padding:7px 5px!important;border-bottom:1px solid #e8eef2!important;text-align:left;font-size:10px!important}.overview-record-table th{text-transform:none!important;background:#f4f8fb!important;font-weight:600}.overview-registers{padding:13px 0;margin-top:10px;font-size:11px;color:#718495}.overview-registers>summary{cursor:pointer;font-weight:600}.overview-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.overview-value-summary{padding:35px 12px;text-align:center}.overview-value-summary strong{font-size:27px;color:#278e86}.overview-value-summary p{font-size:11px;color:#72828f}.overview-recommendations{font-size:11px;line-height:1.5;max-height:210px;overflow:auto}.user-admin-overview:has(.module-insights-design){border:0!important;padding:0!important;background:transparent!important}
@media(max-width:1050px){body #content .overview-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-welcome{flex-wrap:wrap}.overview-kpis{gap:8px!important}}
@media(max-width:650px){body #content .overview-chart-grid,.overview-support-grid{grid-template-columns:minmax(0,1fr)}body #content .overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-welcome h2{font-size:18px!important}.overview-period{white-space:normal}.overview-donut{max-width:145px}.overview-chart-card{min-height:220px!important}}
