/* Long-history panels (BoE hairline chart + expandable realised SONIA table) */

.agg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.agg-table thead th {
  background: #0a2540;
  color: #fd7e14;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 8px 10px;
  text-align: right;
  position: sticky;
  top: 0;
  z-index: 1;
}

.agg-table thead th.agg-period { text-align: left; }

.agg-table tbody tr {
  border-bottom: 1px solid #f1f3f5;
}

.agg-table tbody td {
  padding: 5px 10px;
  text-align: right;
  color: #212529;
}

.agg-table tbody td.agg-period {
  text-align: left;
  color: #212529;
  font-weight: 400;
}

.agg-table tr.agg-clickable {
  cursor: pointer;
}
.agg-table tr.agg-clickable:hover {
  background: #fff5e9;
}
.agg-table tr.agg-clickable:hover td { background: #fff5e9; }

.agg-table tr.agg-row-y td { font-weight: 600; }
.agg-table tr.agg-row-y td.agg-period { background: #fafbfc; }
.agg-table tr.agg-row-q td { background: #fbfcfd; font-weight: 500; }
.agg-table tr.agg-row-m td { background: #fdfdfe; }
.agg-table tr.agg-row-d td { background: #ffffff; color: #495057; font-size: 0.78rem; }

.agg-indent-1 { padding-left: 26px !important; }
.agg-indent-2 { padding-left: 42px !important; }
.agg-indent-3 { padding-left: 58px !important; }

.agg-caret {
  display: inline-block;
  width: 10px;
  margin-right: 6px;
  color: #adb5bd;
  font-size: 0.7rem;
  transition: transform 0.15s ease;
}
.agg-caret::before { content: "▶"; }
.agg-clickable.agg-open .agg-caret { transform: rotate(90deg); }

.agg-faint { color: #6c757d; font-weight: 400; font-size: 0.78rem; }
