/* FahamPesa premium Reports workspace */
.reports-workspace {
  --reports-navy: #17243a;
  --reports-slate: #526276;
  --reports-muted: #6b7789;
  --reports-blue: #075fca;
  --reports-blue-soft: #edf6ff;
  --reports-border: #dce6f1;
  width: min(1440px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  overflow-x: clip;
  color: var(--reports-navy);
}

.reports-workspace *,
.reports-workspace *::before,
.reports-workspace *::after { box-sizing: border-box; min-width: 0; }

.reports-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reports-page-header > div:first-child { flex: 1; }

.reports-page-header h1 {
  margin: 0;
  color: var(--reports-navy);
  font-size: clamp(1.55rem, 1.25rem + 1vw, 1.9rem);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.reports-page-header p,
.reports-section-heading p,
.reports-active-report > header p {
  margin: 5px 0 0;
  color: var(--reports-slate);
  font-size: .875rem;
  line-height: 1.45;
}

.reports-export-wrap { position: relative; z-index: 42; }

.reports-export-button,
.reports-apply-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--reports-blue);
  border-radius: 10px;
  padding: 8px 13px;
  background: var(--reports-blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 680;
  white-space: nowrap;
  cursor: pointer;
}

.reports-export-button:hover,
.reports-apply-button:hover { background: #064fa8; border-color: #064fa8; }
.reports-export-button .icon { width: 17px; height: 17px; }

.reports-filter-card,
.reports-integrity-card,
.reports-section,
.reports-detail-workspace,
.reports-card,
.reports-inline-error {
  border: 1px solid var(--reports-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(23, 50, 81, .045);
}

.reports-filter-card {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(450px, 1.8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
}

.reports-filter-field { display: grid; gap: 5px; }
.reports-filter-field > span,
.reports-custom-range label > span {
  color: var(--reports-slate);
  font-size: .78rem;
  font-weight: 650;
}

.reports-scope-select {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  color: var(--reports-blue);
}

.reports-scope-select .icon { width: 16px; height: 16px; }
.reports-scope-select select {
  width: 100%;
  min-height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--reports-navy);
  font-size: .875rem;
  font-weight: 590;
}

.reports-period-segments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  background: #f5f8fc;
}

.reports-period-segments button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 5px 7px;
  background: transparent;
  color: var(--reports-slate);
  font-size: .78rem;
  font-weight: 630;
  white-space: nowrap;
  cursor: pointer;
}

.reports-period-segments button:hover { background: #eaf2fb; color: var(--reports-navy); }
.reports-period-segments button.active { background: var(--reports-blue); color: #fff; }

.reports-filter-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 1px;
}

.reports-state-chip,
.reports-integrity-status,
.reports-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef3f8;
  color: var(--reports-slate);
  font-size: .72rem;
  font-weight: 660;
  line-height: 1.2;
  white-space: nowrap;
}

.reports-state-chip .icon { width: 13px; height: 13px; }
.reports-state-chip.online { background: #e7f8ef; color: #087a43; }
.reports-state-chip.offline { background: #fff0e8; color: #9a4812; }

.reports-custom-range {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(150px, 220px) auto;
  gap: 8px;
  align-items: end;
  padding-top: 2px;
}

.reports-custom-range label { display: grid; gap: 4px; }
.reports-custom-range input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--reports-border);
  border-radius: 9px;
  padding: 7px 9px;
  background: #fff;
  color: var(--reports-navy);
  font-size: .875rem;
  font-weight: 520;
}

.reports-active-scope {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--reports-slate);
  font-size: .78rem;
  line-height: 1.4;
}
.reports-active-scope strong { color: var(--reports-blue); font-weight: 680; }

.reports-inline-error {
  padding: 11px 13px;
  border-color: #efc8c8;
  background: #fff5f5;
  color: #9d2525;
  font-size: .875rem;
  font-weight: 580;
}

.reports-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reports-kpi-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--reports-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(23, 50, 81, .04);
}

.reports-kpi-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--reports-blue-soft);
  color: var(--reports-blue);
}
.reports-kpi-icon .icon { width: 18px; height: 18px; }
.reports-kpi-card.success .reports-kpi-icon { background: #e7f8ef; color: #078448; }
.reports-kpi-card.danger .reports-kpi-icon { background: #fff0f2; color: #c52a46; }
.reports-kpi-card.warning .reports-kpi-icon { background: #fff5e5; color: #a75d00; }

.reports-kpi-card > div:last-child { display: grid; gap: 3px; }
.reports-kpi-card span { color: var(--reports-slate); font-size: .82rem; font-weight: 620; }
.reports-kpi-card strong {
  overflow-wrap: anywhere;
  color: var(--reports-navy);
  font-size: clamp(1.15rem, 1rem + .45vw, 1.5rem);
  font-weight: 735;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}
.reports-kpi-card small { color: var(--reports-muted); font-size: .75rem; line-height: 1.35; }

.reports-integrity-card { overflow: hidden; }
.reports-integrity-card > header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
}
.reports-integrity-card > header > div { display: flex; align-items: center; gap: 9px; }
.reports-integrity-card > header .icon { width: 19px; height: 19px; color: var(--reports-blue); }
.reports-integrity-card strong,
.reports-integrity-card small { display: block; }
.reports-integrity-card strong { color: var(--reports-navy); font-size: .9rem; font-weight: 690; }
.reports-integrity-card small { margin-top: 2px; color: var(--reports-slate); font-size: .82rem; line-height: 1.4; }
.reports-integrity-status.attention { background: #fff3df; color: #8e5208; }
.reports-integrity-status.complete { background: #e7f8ef; color: #087a43; }

.reports-integrity-list { border-top: 1px solid var(--reports-border); }
.reports-integrity-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 9px 13px;
  border-bottom: 1px solid #edf2f7;
  background: #fffaf2;
}
.reports-integrity-list article:last-child { border-bottom: 0; }
.reports-integrity-list button,
.reports-text-button {
  border: 0;
  background: transparent;
  color: var(--reports-blue);
  font-size: .8rem;
  font-weight: 680;
  cursor: pointer;
  white-space: nowrap;
}

.reports-integrity-ok,
.reports-success-note {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--reports-border);
  padding: 10px 13px;
  color: #087a43;
}
.reports-integrity-ok .icon,
.reports-success-note .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.reports-success-note { border: 1px solid #cbead9; border-radius: 10px; background: #f0fbf5; }

.reports-section,
.reports-detail-workspace { padding: 13px; }

.reports-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reports-section-heading h2,
.reports-active-report h2 {
  margin: 0;
  color: var(--reports-navy);
  font-size: 1.08rem;
  font-weight: 710;
  line-height: 1.25;
}

.reports-performance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reports-card { overflow: hidden; box-shadow: none; }
.reports-card > header {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--reports-border);
}
.reports-card > header .icon { width: 17px; height: 17px; color: var(--reports-blue); }
.reports-card > header h3,
.reports-breakdown-card h3,
.reports-subheading {
  margin: 0;
  color: var(--reports-navy);
  font-size: .9rem;
  font-weight: 680;
}

.reports-bar-list,
.reports-ranked-list { display: grid; }

.reports-bar-row {
  display: grid;
  grid-template-columns: 66px minmax(70px, 1fr) minmax(90px, auto);
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border-bottom: 1px solid #edf2f7;
  color: var(--reports-slate);
  font-size: .78rem;
}
.reports-bar-row:last-child { border-bottom: 0; }
.reports-bar-row i { height: 7px; overflow: hidden; border-radius: 999px; background: #e7eef6; }
.reports-bar-row i b { display: block; height: 100%; border-radius: inherit; background: var(--reports-blue); }
.reports-bar-row strong { color: var(--reports-navy); font-size: .8rem; font-weight: 660; text-align: right; font-variant-numeric: tabular-nums; }

.reports-ranked-list > div {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-bottom: 1px solid #edf2f7;
}
.reports-ranked-list > div:last-child { border-bottom: 0; }
.reports-ranked-list strong,
.reports-ranked-list small { display: block; }
.reports-ranked-list strong { color: var(--reports-navy); font-size: .84rem; font-weight: 630; }
.reports-ranked-list small { margin-top: 2px; color: var(--reports-muted); font-size: .74rem; }
.reports-ranked-list em { flex: 0 0 auto; color: var(--reports-navy); font-size: .79rem; font-style: normal; font-weight: 660; text-align: right; font-variant-numeric: tabular-nums; }

.reports-empty {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  color: var(--reports-slate);
  text-align: left;
}
.reports-empty > span .icon,
.reports-empty > .icon { width: 20px; height: 20px; color: #8090a4; }
.reports-empty strong,
.reports-empty small { display: block; }
.reports-empty strong { color: var(--reports-navy); font-size: .82rem; font-weight: 640; }
.reports-empty small { margin-top: 2px; color: var(--reports-muted); font-size: .74rem; }

.reports-inventory-summary,
.reports-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.reports-inventory-summary article,
.reports-metric-grid article {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  background: #fafdff;
}
.reports-inventory-summary span,
.reports-metric-grid span { color: var(--reports-slate); font-size: .76rem; font-weight: 620; }
.reports-inventory-summary strong,
.reports-metric-grid strong { color: var(--reports-navy); font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.reports-inventory-summary small,
.reports-metric-grid small { color: var(--reports-muted); font-size: .72rem; line-height: 1.3; }

.reports-inventory-list {
  overflow: hidden;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
}
.reports-inventory-list > div {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(70px, auto) minmax(84px, auto);
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid #edf2f7;
}
.reports-inventory-list > div:last-child { border-bottom: 0; }
.reports-inventory-list strong,
.reports-inventory-list small { display: block; }
.reports-inventory-list strong { overflow: hidden; color: var(--reports-navy); font-size: .84rem; font-weight: 630; text-overflow: ellipsis; white-space: nowrap; }
.reports-inventory-list small { margin-top: 1px; color: var(--reports-muted); font-size: .72rem; }
.reports-inventory-list em { color: var(--reports-navy); font-size: .78rem; font-style: normal; font-weight: 620; text-align: right; }
.reports-stock-status.in_stock { background: #e7f8ef; color: #087a43; }
.reports-stock-status.low_stock { background: #fff3df; color: #8e5208; }
.reports-stock-status.out_of_stock { background: #ffeaee; color: #b3213d; }

.reports-group-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 8px;
  padding: 3px;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  background: #f4f8fc;
}
.reports-group-tabs button,
.reports-report-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 6px 11px;
  background: transparent;
  color: var(--reports-slate);
  font-size: .8rem;
  font-weight: 630;
  white-space: nowrap;
  cursor: pointer;
}
.reports-group-tabs button.active { background: #fff; color: var(--reports-blue); box-shadow: 0 1px 5px rgba(23, 50, 81, .12); }

.reports-report-tabs {
  max-width: 100%;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  padding: 0 0 8px;
}
.reports-report-tabs button { flex: 0 0 auto; border: 1px solid var(--reports-border); background: #fff; }
.reports-report-tabs button.active { border-color: #a9caef; background: var(--reports-blue-soft); color: var(--reports-blue); }

.reports-detail-panel {
  min-height: 150px;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.reports-active-report { padding: 12px; }
.reports-active-report > header { margin-bottom: 10px; }

.reports-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.reports-breakdown-card { overflow: hidden; border: 1px solid var(--reports-border); border-radius: 10px; }
.reports-breakdown-card h3 { min-height: 40px; display: flex; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--reports-border); background: #f8fbfe; }

.reports-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  background: #fff;
}
.reports-breakdown-card .reports-table-scroll { border: 0; border-radius: 0; }

.reports-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: auto;
}
.reports-table th,
.reports-table td {
  height: 40px;
  padding: 7px 10px;
  border-bottom: 1px solid #edf2f7;
  color: var(--reports-slate);
  font-size: .8rem;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.reports-table th { background: #f5f8fc; color: var(--reports-slate); font-size: .75rem; font-weight: 680; }
.reports-table td { font-size: .84rem; font-weight: 500; }
.reports-table td.primary { color: var(--reports-navy); font-weight: 640; }
.reports-table tbody tr:last-child td { border-bottom: 0; }

.reports-warning-block { display: grid; gap: 6px; margin-bottom: 10px; }
.reports-warning-block > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #efd5ab;
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff9ed;
}
.reports-warning-block .icon { width: 17px; height: 17px; flex: 0 0 auto; color: #a05c04; }
.reports-warning-block strong,
.reports-warning-block small { display: block; }
.reports-warning-block strong { color: #754304; font-size: .8rem; font-weight: 680; }
.reports-warning-block small { margin-top: 2px; color: #735526; font-size: .82rem; line-height: 1.4; }

.reports-subheading { margin: 14px 0 8px; }
.reports-policy-note {
  display: grid;
  gap: 4px;
  border: 1px solid var(--reports-border);
  border-radius: 10px;
  padding: 10px;
  background: #f8fbfe;
}
.reports-policy-note strong { color: var(--reports-navy); font-size: .84rem; }
.reports-policy-note span { color: var(--reports-slate); font-size: .8rem; line-height: 1.45; }

.reports-unavailable {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: left;
}
.reports-unavailable > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--reports-blue-soft);
  color: var(--reports-blue);
}
.reports-unavailable .icon { width: 19px; height: 19px; }
.reports-unavailable strong { color: var(--reports-navy); font-size: 1rem; font-weight: 700; }
.reports-unavailable p { max-width: 600px; margin: 4px 0 0; color: var(--reports-slate); font-size: .85rem; line-height: 1.45; }

.reports-export-menu {
  position: absolute;
  z-index: 44;
  top: calc(100% + 7px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--reports-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(20, 42, 70, .2);
}
.reports-export-menu header { display: grid; gap: 2px; padding: 10px 11px; border-bottom: 1px solid var(--reports-border); }
.reports-export-menu header strong { color: var(--reports-navy); font-size: .86rem; }
.reports-export-menu header span,
.reports-export-menu > p { color: var(--reports-muted); font-size: .76rem; }
.reports-export-menu > p { margin: 0; padding: 12px; }
.reports-export-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #edf2f7;
}
.reports-export-row:last-child { border-bottom: 0; }
.reports-export-row > span { overflow: hidden; color: var(--reports-navy); font-size: .8rem; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.reports-export-row button {
  min-height: 30px;
  border: 1px solid var(--reports-border);
  border-radius: 8px;
  padding: 4px 8px;
  background: #fff;
  color: var(--reports-blue);
  font-size: .75rem;
  font-weight: 660;
  cursor: pointer;
}
.reports-export-backdrop { position: fixed; z-index: 41; inset: 0; border: 0; background: transparent; }

@media (max-width: 1100px) {
  .reports-filter-card { grid-template-columns: minmax(180px, .7fr) minmax(390px, 1.5fr); }
  .reports-filter-state { grid-column: 1 / -1; justify-content: flex-start; }
  .reports-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .reports-filter-card { grid-template-columns: 1fr; }
  .reports-filter-state,
  .reports-custom-range,
  .reports-active-scope { grid-column: auto; }
  .reports-performance-grid,
  .reports-breakdown-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .reports-workspace { gap: 10px; overflow-x: hidden; }
  .reports-page-header { align-items: flex-start; }
  .reports-page-header p { max-width: 250px; }
  .reports-export-button { min-height: 38px; padding-inline: 10px; }
  .reports-export-button span { font-size: .8rem; }
  .reports-filter-card,
  .reports-section,
  .reports-detail-workspace { padding: 10px; border-radius: 12px; }
  .reports-period-segments {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .reports-period-segments button { flex: 0 0 auto; min-width: 72px; }
  .reports-custom-range { grid-template-columns: 1fr 1fr; }
  .reports-custom-range .reports-apply-button { grid-column: 1 / -1; }
  .reports-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .reports-kpi-card { min-height: 108px; grid-template-columns: 30px minmax(0, 1fr); gap: 7px; padding: 10px 8px; }
  .reports-kpi-icon { width: 30px; height: 30px; border-radius: 8px; }
  .reports-kpi-icon .icon { width: 16px; height: 16px; }
  .reports-kpi-card strong { font-size: clamp(.98rem, 4.2vw, 1.2rem); }
  .reports-kpi-card small { font-size: .7rem; }
  .reports-integrity-card > header { align-items: flex-start; }
  .reports-integrity-list article { grid-template-columns: 1fr; gap: 5px; }
  .reports-integrity-list button { justify-self: start; padding: 0; }
  .reports-section-heading { align-items: flex-start; }
  .reports-bar-row { grid-template-columns: 58px minmax(50px, 1fr) minmax(82px, auto); gap: 6px; }
  .reports-ranked-list > div { align-items: flex-start; }
  .reports-inventory-list > div { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .reports-inventory-list .reports-stock-status { grid-column: 1 / -1; justify-self: start; min-height: 22px; }
  .reports-group-tabs { width: 100%; }
  .reports-group-tabs button { padding-inline: 5px; font-size: .76rem; }
  .reports-active-report { padding: 10px; }
  .reports-inventory-summary,
  .reports-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .reports-table th,
  .reports-table td { height: 38px; padding: 6px 8px; font-size: .82rem; }
}

@media (max-width: 430px) {
  .reports-page-header h1 { font-size: 1.4rem; }
  .reports-page-header p { font-size: .8rem; }
  .reports-export-button .icon { display: none; }
  .reports-filter-state { flex-wrap: wrap; }
  .reports-custom-range { grid-template-columns: 1fr; }
  .reports-custom-range .reports-apply-button { grid-column: auto; }
  .reports-kpi-card { min-height: 112px; }
  .reports-kpi-card > div:last-child { align-content: start; }
  .reports-kpi-card span { font-size: .78rem; }
  .reports-section-heading p,
  .reports-active-report > header p { font-size: .8rem; }
  .reports-bar-row strong { font-size: .76rem; }
  .reports-export-menu { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; }
}

@media (max-width: 375px) {
  .reports-workspace { gap: 9px; }
  .reports-page-header { gap: 8px; }
  .reports-export-button { padding-inline: 8px; }
  .reports-kpi-card { min-height: 116px; grid-template-columns: 1fr; }
  .reports-kpi-icon { width: 28px; height: 28px; }
  .reports-kpi-card strong { font-size: .98rem; }
  .reports-group-tabs button { font-size: .72rem; }
}
