.page:has(.reports-workspace){background:#f5f7fb}.reports-workspace{display:grid;gap:10px;color:#0b1f3a}.reports-workspace h2,.reports-workspace h3,.reports-workspace p{margin:0}.reports-workspace .panel,.reports-kpi-card,.reports-widget,.reports-category-nav{border:1px solid #dbe5f0;border-radius:9px;background:#fff;box-shadow:0 3px 12px rgba(15,43,77,.045)}
.reports-scope-control{display:flex;align-items:center;gap:8px}.reports-scope-control>label{color:#60758e;font-size:11px}.reports-scope-control>span{display:flex;align-items:center;gap:5px;height:34px;padding:0 8px;border:1px solid #cbd9e9;border-radius:7px;background:#fff;color:#1769ee}.reports-scope-control select{border:0;background:transparent;color:#173151;font-size:11px;font-weight:700;outline:0}
.reports-command.panel{margin:0;padding:12px}.reports-filter-bar{display:grid;grid-template-columns:minmax(210px,1.45fr) minmax(150px,.85fr) minmax(235px,1.05fr) minmax(150px,.85fr) auto;gap:10px;align-items:end}.reports-filter-bar>label{display:grid;gap:5px;color:#243b5d;font-size:10px;font-weight:800}.reports-filter-bar :is(input,select){box-sizing:border-box;width:100%;height:36px;padding:0 10px;border:1px solid #cfdcec;border-radius:6px;background:#fff;color:#173151;font-size:11px}.reports-input-wrap{position:relative;display:block}.reports-input-wrap input{padding-right:34px}.reports-input-wrap .nav-icon{position:absolute;right:10px;top:9px;width:16px;height:16px;color:#244b7f}.reports-date-range{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;height:36px;padding:0 7px;border:1px solid #cfdcec;border-radius:6px;background:#fff}.reports-date-range>.nav-icon{width:15px;height:15px;color:#496482}.reports-date-range input{min-width:0;height:34px;border:0;padding:0 4px}.reports-date-range>span{color:#6b7f99}.reports-filter-actions{display:flex;gap:8px}.reports-filter-actions .btn{min-width:76px;height:36px;justify-content:center;border-radius:6px}
.reports-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.reports-kpi-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:94px;padding:13px 15px;border-radius:0;text-align:left;cursor:pointer}.reports-kpi-card:first-child{border-radius:9px 0 0 9px}.reports-kpi-card:last-child{border-radius:0 9px 9px 0}.reports-kpi-card:hover,.reports-kpi-card:focus-visible{z-index:1;border-color:#78a9f3;box-shadow:0 6px 17px rgba(15,43,77,.1);outline:0}.reports-kpi-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#e9f1ff;color:#1769ee}.reports-kpi-icon .nav-icon{width:23px;height:23px}.reports-kpi-card>span:last-child{display:grid;min-width:0;gap:2px}.reports-kpi-card small{color:#243b5d;font-size:11px;font-weight:800}.reports-kpi-card strong{overflow:hidden;color:#071b39;font-size:19px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.reports-kpi-card em{color:#60758e;font-size:10px;font-style:normal}.reports-kpi-card b{justify-self:start;margin-top:2px;padding:2px 6px;border-radius:999px;background:#fff0e3;color:#e56806;font-size:9px}.reports-kpi-card.profit .reports-kpi-icon{background:#e4f7ec;color:#0a9e4b}.reports-kpi-card.profit strong{color:#0a9e4b}.reports-kpi-card.loss .reports-kpi-icon{background:#ffe8ea;color:#e23a48}.reports-kpi-card.loss strong{color:#d72e3e}.reports-kpi-card.cash .reports-kpi-icon{background:#e8f1ff;color:#1769ee}.reports-kpi-card.receivable .reports-kpi-icon{background:#fff0df;color:#f17b0a}.reports-kpi-card.receivable strong{color:#e87500}.reports-kpi-card.payable .reports-kpi-icon{background:#ffe8ea;color:#df3b48}.reports-kpi-card.payable strong{color:#d93845}
.reports-category-nav{display:flex;overflow-x:auto}.reports-category-tab{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 0 auto;min-width:105px;height:42px;padding:0 10px;border:0;border-right:1px solid #e2e9f2;background:#fff;color:#263d5c;font-size:10px;cursor:pointer;white-space:nowrap}.reports-category-tab:first-child{border-radius:8px 0 0 8px}.reports-category-tab:last-child{border-right:0;border-radius:0 8px 8px 0}.reports-category-tab .nav-icon{width:16px;height:16px}.reports-category-tab.active{background:#f2f7ff;color:#075eff;box-shadow:inset 0 -2px #075eff}.reports-category-tab:focus-visible{outline:2px solid #75a6f4;outline-offset:-2px}
.reports-intelligence-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(330px,.9fr);gap:10px;align-items:start}.reports-main-column,.reports-executive-panels{display:grid;gap:10px}.reports-library.panel,.reports-catalogue.panel{margin:0;padding:12px}.reports-library-head,.reports-catalogue>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.reports-library-head h2,.reports-catalogue h2{font-size:14px}.reports-catalogue header span{display:block;margin-top:2px;color:#60758e;font-size:9px}.reports-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.reports-launch-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:7px;border:1px solid #dce5f0;border-radius:7px;background:#fff}.reports-launch-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#e9f1ff;color:#1769ee}.reports-launch-icon .nav-icon{width:17px;height:17px}.reports-launch-card h3{font-size:10px}.reports-launch-card p{overflow:hidden;margin-top:2px;color:#60758e;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.reports-launch-card footer{grid-column:3;grid-row:1}.reports-launch-card footer .workflow-link,.reports-catalogue .workflow-link{width:auto;padding:5px 9px;border:1px solid #b9d0f2;border-radius:5px;color:#075eff;font-size:9px}
.reports-table-scroll{overflow-x:auto}.reports-catalogue table{width:100%;min-width:720px;border-collapse:collapse}.reports-catalogue th{padding:7px 8px;background:#f7f9fc;border-bottom:1px solid #dce5f0;color:#506782;font-size:8px;text-align:left}.reports-catalogue td{height:34px;padding:5px 8px;border-bottom:1px solid #e6ecf3;color:#223a59;font-size:9px}.reports-catalogue td:nth-child(2){max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reports-catalogue>footer{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding-top:9px;color:#5c718c;font-size:9px}.reports-catalogue nav{display:flex;gap:4px}.reports-catalogue nav button{width:27px;height:27px;border:1px solid #d5e0ed;border-radius:5px;background:#fff}.reports-catalogue nav button.active{background:#1769ee;color:#fff}.reports-catalogue footer label{display:flex;align-items:center;gap:5px}.reports-catalogue footer select{height:27px;border:1px solid #d5e0ed;border-radius:5px}
.reports-executive-panels{gap:7px}.reports-widget{padding:10px}.reports-widget header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.reports-widget h3{font-size:11px}.reports-widget header span{display:block;margin-top:3px;color:#61758e;font-size:8px}.reports-widget header span i{font-style:normal}.reports-widget header button{border:0;background:transparent;color:#075eff;font-size:8px;font-weight:700}.reports-widget-table,.reports-activity-table{margin-top:7px}.reports-widget-table>.head,.reports-widget-row{display:grid;grid-template-columns:minmax(100px,1.25fr) .8fr .65fr .8fr;align-items:center;gap:6px}.reports-widget-table>.head,.reports-activity-table>.head{padding:5px 4px;background:#f7f9fc;color:#536a85;font-size:7px;text-transform:uppercase}.reports-widget-row{width:100%;min-height:27px;padding:3px 4px;border:0;border-bottom:1px solid #edf1f5;background:transparent;color:#19314f;text-align:left;cursor:pointer}.reports-widget-row span:first-child{display:grid;min-width:0}.reports-widget-row strong{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.reports-widget-row small,.reports-widget-row>span{color:#526985;font-size:7px}.reports-widget-row>b{text-align:right;font-size:8px}.reports-widget-row .overdue{color:#dc3545}.reports-widget-empty{padding:13px 4px;color:#64748b;font-size:9px;text-align:center}.reports-activity-table>.head,.reports-activity-row{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:6px}.reports-activity-row{padding:5px 4px;border-bottom:1px solid #edf1f5;font-size:8px}.reports-activity-row span{color:#526985}.reports-footer{display:flex;align-items:center;justify-content:center;gap:10px;color:#536b88;font-size:9px}.reports-footer .nav-icon{width:13px;height:13px;color:#075eff}
@media(max-width:1200px){.reports-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-filter-actions{justify-content:flex-end}.reports-metric-grid{grid-template-columns:repeat(2,1fr);gap:8px}.reports-kpi-card,.reports-kpi-card:first-child,.reports-kpi-card:last-child{border-radius:9px}.reports-intelligence-grid{grid-template-columns:1fr}.reports-executive-panels{grid-template-columns:repeat(2,1fr)}.reports-activity-widget{grid-column:1/-1}}
@media (max-width:1024px){.reports-category-nav{overflow-x:auto}.reports-category-tab{flex:0 0 145px}.reports-table-scroll{max-width:100%}}
@media(max-width:760px){.reports-scope-control{align-items:flex-start;flex-direction:column}.reports-filter-bar{grid-template-columns:1fr}.reports-filter-actions{display:grid;grid-template-columns:1fr 1fr}.reports-metric-grid{grid-template-columns:1fr}.reports-category-tab{flex:0 0 135px}.reports-library-grid{grid-template-columns:1fr}.reports-executive-panels{grid-template-columns:1fr}.reports-activity-widget{grid-column:auto}.reports-catalogue>footer{grid-template-columns:1fr}.reports-catalogue nav{justify-content:center}.reports-catalogue footer label{justify-content:flex-end}.reports-footer{flex-wrap:wrap;text-align:center}}
@media(prefers-reduced-motion:reduce){.reports-kpi-card{transition:none}}
.reports-workspace .reports-filter-actions{grid-column:auto!important}.reports-workspace .reports-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1200px){.reports-workspace .reports-filter-actions{grid-column:auto!important}.reports-workspace .reports-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.reports-workspace .reports-filter-actions{grid-column:auto!important}.reports-workspace .reports-metric-grid{grid-template-columns:1fr!important}}
.reports-workspace .reports-filter-bar{grid-template-columns:minmax(260px,1.4fr) minmax(180px,.8fr) minmax(250px,1fr) minmax(190px,.8fr) auto!important;align-items:end!important}.reports-workspace .reports-filter-bar>label{font-size:11px!important}.reports-workspace .reports-filter-bar :is(input,select){height:42px!important;font-size:13px!important}.reports-workspace .reports-date-range{height:42px!important}.reports-workspace .reports-date-range input{height:40px!important}.reports-workspace .reports-filter-actions{display:flex!important;align-items:center;gap:8px;white-space:nowrap}.reports-workspace .reports-filter-actions .btn{height:42px!important;min-width:92px;font-size:13px!important}
.reports-workspace .reports-filter-bar>*{grid-column:auto!important;grid-row:auto!important}.reports-workspace .reports-kpi-card{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;min-height:121px!important;height:121px!important;padding:18px!important}.reports-workspace .reports-kpi-icon{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}.reports-workspace .reports-kpi-icon .nav-icon{width:22px!important;height:22px!important}.reports-workspace .reports-kpi-card>span:last-child{display:grid!important;gap:2px!important}.reports-workspace .reports-kpi-card small{font-size:16px!important;line-height:1.15!important}.reports-workspace .reports-kpi-card strong{font-size:18px!important;line-height:1.2!important}.reports-workspace .reports-kpi-card em{font-size:12px!important;line-height:1.35!important}.reports-workspace .reports-kpi-card b{font-size:10px!important}
.reports-workspace .reports-category-tab{min-width:125px;height:46px;font-size:12px!important}.reports-workspace .reports-category-tab .nav-icon{width:18px;height:18px}.reports-workspace .reports-library-head h2,.reports-workspace .reports-catalogue h2{font-size:16px!important}.reports-workspace .reports-catalogue header span{font-size:11px!important}.reports-workspace .reports-launch-card{grid-template-columns:38px minmax(0,1fr) auto;min-height:66px;padding:9px}.reports-workspace .reports-launch-icon{width:38px;height:38px}.reports-workspace .reports-launch-icon .nav-icon{width:20px;height:20px}.reports-workspace .reports-launch-card h3{font-size:12px!important}.reports-workspace .reports-launch-card p{font-size:11px!important;line-height:1.35}.reports-workspace .reports-launch-card footer .workflow-link,.reports-workspace .reports-catalogue .workflow-link{padding:7px 11px;font-size:11px!important}
.reports-workspace .reports-catalogue th{font-size:10px!important}.reports-workspace .reports-catalogue td{height:42px;font-size:11px!important}.reports-workspace .reports-catalogue>footer{font-size:11px!important}.reports-workspace .reports-catalogue footer label{display:flex!important;flex-wrap:nowrap!important;white-space:nowrap!important}.reports-workspace .reports-catalogue footer select{flex:0 0 auto;height:32px;min-width:62px;font-size:11px}.reports-workspace .reports-catalogue nav button{width:32px;height:32px;font-size:11px}
.reports-workspace .reports-widget h3{font-size:13px!important}.reports-workspace .reports-widget header span,.reports-workspace .reports-widget header button{font-size:10px!important}.reports-workspace .reports-widget-table>.head,.reports-workspace .reports-activity-table>.head{font-size:9px!important}.reports-workspace .reports-widget-row{min-height:34px}.reports-workspace .reports-widget-row strong,.reports-workspace .reports-widget-row>b{font-size:10px!important}.reports-workspace .reports-widget-row small,.reports-workspace .reports-widget-row>span,.reports-workspace .reports-activity-row{font-size:9px!important}.reports-workspace .reports-footer{font-size:11px!important}
@media(max-width:1200px){.reports-workspace .reports-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.reports-workspace .reports-filter-actions{justify-content:flex-end}}
@media(max-width:760px){.reports-workspace .reports-filter-bar{grid-template-columns:1fr!important}.reports-workspace .reports-filter-actions{display:grid!important;grid-template-columns:1fr 1fr}}
.reports-workspace .reports-filter-bar{grid-template-columns:minmax(280px,1.35fr) minmax(175px,.72fr) minmax(320px,1.08fr) minmax(175px,.72fr) auto!important}.reports-workspace .reports-date-range{grid-template-columns:20px minmax(132px,1fr) 12px minmax(132px,1fr)!important;overflow:hidden}.reports-workspace .reports-date-range input{width:100%!important;min-width:132px!important;padding:0 2px!important;font-size:12px!important}.reports-workspace .reports-category-nav{display:flex!important;overflow:hidden!important}.reports-workspace .reports-category-tab{flex:1 1 auto!important;min-width:0!important;padding-inline:11px!important}.reports-workspace .reports-category-tab .nav-icon{flex:0 0 18px}.reports-workspace .reports-catalogue footer label{width:auto!important;min-width:0!important;overflow:visible!important}.reports-workspace .reports-catalogue footer select{box-sizing:border-box!important;width:64px!important;min-width:64px!important;max-width:64px!important;padding:0 24px 0 10px!important;overflow:hidden!important}
@media(max-width:1200px){.reports-workspace .reports-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.reports-workspace .reports-category-nav{flex-wrap:wrap!important;overflow:hidden!important}.reports-workspace .reports-category-tab{flex:1 1 33.333%!important;min-width:0!important}}
@media(max-width:760px){.reports-workspace .reports-filter-bar{grid-template-columns:1fr!important}.reports-workspace .reports-category-tab{flex-basis:50%!important}}

/* Keep the two filter commands together on desktop instead of stacking them. */
.reports-workspace .reports-filter-bar{
  grid-template-columns:minmax(260px,1.35fr) minmax(170px,.72fr) minmax(310px,1.08fr) minmax(170px,.72fr) minmax(188px,auto)!important;
}
.reports-workspace .reports-filter-actions{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:188px!important;
}
.reports-workspace .reports-filter-actions .btn{
  flex:1 1 0!important;
  min-width:86px!important;
}
@media(max-width:1200px){
  .reports-workspace .reports-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .reports-workspace .reports-filter-actions{min-width:0!important}
}
@media(max-width:760px){
  .reports-workspace .reports-filter-bar{grid-template-columns:1fr!important}
}
