.bi-report {
  --bi-rule: #d2dfdf;
  --bi-primary: #17737a;
  --bi-prior: #afc6ce;
  color: var(--ai-ink);
  background: #f0f5f4;
  padding-block: clamp(48px, 5.4vw, 94px);
  font-variant-numeric: tabular-nums;
}
.bi-report .ai-section-heading { align-items: end; }
.bi-dashboard { background: #fff; border: 1px solid #beced0; border-top: 0; }
.bi-report h3 { color: inherit; font-size: clamp(1.05rem, 1.4vw, 1.38rem); font-weight: 620; letter-spacing: -.015em; }
.bi-toolbar {
  padding: clamp(20px, 2.3vw, 36px) clamp(18px, 2.7vw, 46px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px;
  color: #fff; background: #163947; border-top: 3px solid #449093;
}
.bi-report-name h3 { color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.85rem); }
.bi-report-name p { margin-top: 6px; color: #e2edf0; font-size: .9rem; line-height: 1.55; }
.bi-sample-note { display: inline-block; padding-inline-start: .7em; margin-inline-start: .7em; border-inline-start: 1px solid #73949d; }
.bi-filters { display: flex; align-items: end; gap: 10px 18px; max-width: 100%; }
.bi-filters label { display: grid; gap: 3px; min-width: 0; color: #dbe8eb; font-size: .85rem; }
.bi-filters select {
  display: block; width: 100%; min-width: 7em; min-height: 42px; border: 1px solid #7d9ca5; border-radius: 2px;
  padding: 5px 6px; background: #fff; color: #173c49; font-weight: 600; font-size: .95rem;
}
.bi-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(20px, 2.5vw, 38px) clamp(18px, 2.7vw, 46px); border-bottom: 1px solid var(--bi-rule);
}
.bi-metrics > div { min-width: 0; padding-inline-end: 7px; }
.bi-metrics > div + div { padding-inline-start: clamp(12px, 2vw, 34px); border-inline-start: 1px solid var(--bi-rule); }
.bi-metrics dt { color: #49606a; font-size: .92rem; font-weight: 550; line-height: 1.5; }
.bi-metric-value {
  margin-block: 5px 2px; color: #183b48; font-size: clamp(1.55rem, 2.4vw, 2.8rem); line-height: 1.23;
  font-weight: 650; letter-spacing: -.035em;
}
.bi-metrics > div:first-child .bi-metric-value { color: #12656c; }
.bi-metric-change { color: #4f6772; font-size: .86rem; }
.bi-analysis {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: clamp(24px, 3vw, 60px); row-gap: 25px;
  padding: clamp(22px, 2.8vw, 44px) clamp(18px, 2.7vw, 46px);
}
.bi-trend, .bi-channel-summary { min-width: 0; }
.bi-figure-heading { display: flex; gap: 4px 14px; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.bi-figure-heading > span { color: #536a74; font-size: .83rem; }
.bi-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 15px; margin-block: 10px 8px; color: #475d69; font-size: .82rem; }
.bi-legend span { display: inline-flex; gap: 6px; align-items: center; }
.bi-legend span::before { content: ""; width: 11px; height: 8px; background: var(--bi-prior); }
.bi-legend span + span::before { background: var(--bi-primary); }
.bi-chart-layout { --bi-bars-height: clamp(115px, 11vw, 180px); display: flex; gap: 7px; align-items: flex-start; }
.bi-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: end; height: var(--bi-bars-height); font-size: .71rem; color: #586e77; line-height: 1; padding-top: 1px; }
.bi-report #bi-chart {
  flex: 1; min-width: 0; list-style: none; display: grid; grid-template-columns: repeat(7,minmax(0,1fr));
  padding: 0; margin: 0; background: linear-gradient(to bottom, #dce6e6 1px,transparent 1px) left top / 100% calc(var(--bi-bars-height) / 2) repeat-y;
}
.bi-bar-day { min-width: 0; padding: 0; }
.bi-chart-point {
  display: grid; grid-template-rows: var(--bi-bars-height) auto; width: 100%; padding: 0;
  appearance: none; border: 0; border-radius: 0; background: transparent; color: var(--ai-body);
}
.bi-bar-pair {
  width: 100%; height: 100%; display: flex; justify-content: center; align-items: end; gap: clamp(1px,.28vw,5px);
  border-bottom: 1px solid #9db7be;
}
.bi-bar-pair i { display: block; width: min(24%, 20px); height: var(--bi-height); background: var(--bi-prior); }
.bi-bar-pair .bi-bar-now { background: var(--bi-primary); }
.bi-bar-date {
  display: block; padding: 5px 0; line-height: 1.4; font-size: .79rem; background: #fff;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.bi-chart-point:hover, .bi-chart-point[aria-pressed=true] { background: #16798210; }
.bi-chart-point[aria-pressed=true] .bi-bar-date { font-weight: 650; color: #124d5f; border-color: #22787a; }
.bi-chart-point:focus-visible { outline-offset: -2px; }
.bi-chart-reading { min-height: 1.5em; margin-top: 10px; color: #395664; font-size: .9rem; }
.bi-table-scroll { max-width: 100%; overflow-x: auto; }
.bi-table-scroll:focus-visible { outline-offset: -2px; }
.bi-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9rem; color: #284753; }
.bi-table th, .bi-table td { border: 0; border-bottom: 1px solid var(--bi-rule); text-align: end; vertical-align: middle; padding: 9px 6px; }
.bi-table :is(th,td):first-child { text-align: left; padding-left: 2px; }
.bi-table :is(th,td):last-child { padding-right: 2px; }
.bi-table thead th { color: #4c6571; font-size: .81rem; font-weight: 600; line-height: 1.5; }
.bi-table tbody th, .bi-table tbody td { white-space: nowrap; }
.bi-channel-table { min-width: 347px; margin-top: 9px; }
.bi-channel-drill { padding: 6px 0; border: 0; background: transparent; color: #175e73; font-size: .92rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a2bdc2; }
.bi-channel-drill:hover { text-decoration-color: currentColor; }
.bi-brief {
  display: grid; grid-template-columns: minmax(8em,.32fr) minmax(0,1.45fr) auto; align-items: center; gap: 8px 25px;
  margin-inline: clamp(18px, 2.7vw, 46px); padding: 16px clamp(13px,1.6vw,25px); color: #234b51;
  background: #edf5f3; border-inline-start: 3px solid #448b88;
}
.bi-brief h3 { font-size: 1.06rem; font-weight: 650; }
.bi-brief #bi-insight-date { font-size: .82rem; }
.bi-brief > p { line-height: 1.7; font-size: .96rem; }
.bi-report #bi-investigate, .bi-report #bi-export {
  background: transparent; border: 1px solid #94adb1; border-radius: 2px; min-height: 39px;
  padding: 6px 11px; color: #184f60; font-size: .89rem; font-weight: 600; white-space: nowrap;
}
.bi-report #bi-investigate:hover, .bi-report #bi-export:hover { background: #e3efed; }
.bi-ledger { position: relative; margin: 17px clamp(18px, 2.7vw, 46px) 0; border-top: 1px solid var(--bi-rule); }
.bi-ledger summary, .bi-definitions summary { color: #24596b; font-size: .94rem; font-weight: 600; }
.bi-ledger summary { width: fit-content; max-width: calc(100% - 125px); display: list-item; padding-block: 19px; line-height: 1.55; }
.bi-report #bi-export { position: absolute; top: 10px; right: 0; }
.bi-detail-table { min-width: 640px; margin-bottom: 14px; }
.bi-detail-table caption { text-align: left; color: #526a74; font-size: .85rem; }
.bi-detail-table .bi-focus-day { background: #e3f1eb; }
.bi-detail-table .bi-focus-day > :first-child { box-shadow: inset 3px 0 #207b79; padding-left: 10px; }
.bi-definitions { margin-top: 16px; }
.bi-definitions summary { width: fit-content; }
.bi-definitions dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; margin-top: 10px; }
.bi-definitions dl div { padding-block: 10px; border-top: 1px solid var(--bi-rule); }
.bi-definitions dt { color: #274e5a; font-size: .94rem; font-weight: 600; }
.bi-definitions dd { color: var(--ai-body); font-size: .91rem; line-height: 1.75; }
.bi-fallback { padding: 16px 20px; border-left: 3px solid #356f73; color: var(--ai-body); background: #fff; }
.bi-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 990px) {
  .bi-analysis { grid-template-columns: minmax(0,1fr); }
  .bi-brief { grid-template-columns: minmax(0,1fr) auto; }
  .bi-brief > p { grid-column: 1 / -1; grid-row: 2; }
  .bi-brief #bi-investigate { grid-column: 2; grid-row: 1; }
  .bi-channel-table :is(th,td) { padding-block: 7px; }
}
@media (max-width: 700px) {
  .bi-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding-block: 0; }
  .bi-metrics > div { padding-block: 13px; }
  .bi-metrics > div:nth-child(n+3) { border-top: 1px solid var(--bi-rule); }
  .bi-metrics > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .bi-filters { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 10px; }
  .bi-filters select { min-width: 0; }
  .bi-definitions dl { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 399px) {
  .bi-toolbar, .bi-analysis, .bi-metrics { padding-inline: 12px; }
  .bi-brief, .bi-ledger { margin-inline: 12px; }
  .bi-brief { display: flex; flex-direction: column; align-items: flex-start; }
  .bi-metric-value { font-size: 1.4rem; }
  .bi-bar-date { font-size: .72rem; }
  .bi-chart-layout { gap: 4px; }
}
