.rh-figure { min-width: 0; }
.rh-figure {
  --rh-border: #bdc8b9;
  margin: .65rem 0 1rem;
  color: var(--ink, #203b31);
}
.rh-figure figcaption {
  margin: 0 0 .35rem;
  font: 650 1.03rem/1.35 system-ui, sans-serif;
  color: inherit;
}
.rh-figure .rh-note, .rh-note {
  margin: .4rem 0 .75rem;
  line-height: 1.5;
}
.rh-note, .rh-figure .rh-note { color: var(--muted, #53675c); font-size: .91rem; }
.rh-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px 3px;
  font: .84rem/1.25 system-ui, sans-serif;
}
.rh-table th, .rh-table td {
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: middle;
}
.rh-table th { color: var(--ink, #203b31); }
.rh-table th[scope="row"], .rh-table th:first-child {
  width: clamp(5.8rem, 21%, 9.8rem);
  padding: 0 .45rem 0 0;
  text-align: left;
  overflow-wrap: anywhere;
}
.rh-table th[scope="row"] { font-weight: 540; }
.rh-table thead th {
  padding: .35rem .1rem;
  text-align: center;
  font-size: .78rem;
  line-height: 1.35;
}
.rh-table thead th:first-child { text-align: left; }
.rh-table small { display: block; font-size: .71rem; font-weight: 500; color: var(--muted, #53675c); }
.rh-figure .rh-cell {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: .3rem .1rem;
  border: 1px solid var(--rh-border);
  border-radius: .35rem;
  box-shadow: none;
  font: 660 .92rem/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.rh-figure .rh-zero { color: #46564e; background: #f4f4ed; }
.rh-figure .rh-one { color: #214c3c; background: #e1ebda; }
.rh-figure .rh-few { color: #163d2c; background: #adcbb2; }
.rh-figure .rh-many { color: #fff; background: #355e49; }
.rh-figure .rh-cell[aria-pressed="true"] { border: 2px solid #384b41; box-shadow: inset 0 0 0 2px #fff; }
.rh-cell:hover { filter: brightness(.96); }
.rh-figure button:focus-visible {
  outline: 3px solid #9a552d;
  outline-offset: 1px;
  position: relative;
  z-index: 1;
}
.rh-paging { display: flex; gap: .5rem; justify-content: space-between; align-items: center; margin: .65rem 0 .3rem; }
.rh-paging[hidden] { display: none; }
.rh-paging span { font: .8rem/1.3 system-ui, sans-serif; color: var(--muted, #53675c); }
.rh-paging button {
  min-height: 44px;
  margin: 0;
  padding: .45rem .65rem;
  border: 1px solid #a4b0a3;
  border-radius: .4rem;
  background: var(--surface, #fffdf6);
  color: var(--ink, #203b31);
  font: 550 .87rem/1.2 system-ui, sans-serif;
}
.rh-paging button:disabled { opacity: .55; }
.rh-figure .rh-detail {
  max-width: none;
  margin: .6rem 0;
  padding: .64rem .8rem;
  background: #ecf0e6;
  border-inline-start: 3px solid #698a72;
  border-radius: 0 .3rem .3rem 0;
  font: .91rem/1.5 system-ui, sans-serif;
}
.rh-detail > span { display: block; }
.rh-figure .rh-legend {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem;
  margin: .45rem 0 .2rem; padding: 0;
  list-style: none; color: var(--muted, #53675c);
  font: .78rem/1.35 system-ui, sans-serif;
}
.rh-legend li { display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.rh-key {
  display: inline-grid; place-items: center; min-width: 1.55rem; min-height: 1.3rem;
  padding: 0 .16rem; border: 1px solid var(--rh-border); border-radius: .18rem;
  font-size: .7rem; font-weight: 680;
}
.rh-guide { margin-top: .6rem; }
.rh-guide > summary {
  display: list-item; min-height: 44px; width: fit-content; padding: .55rem .1rem;
  color: var(--ink, #203b31); cursor: pointer; font-weight: 600;
}
.rh-guide > summary:focus-visible { outline: 3px solid #9a552d; outline-offset: 1px; }
.rh-figure .rh-cell.rh-finding, .rh-key.rh-finding { color: #244231; background: #cbdcc4; }
[data-summary-content] .rh-finding-summary {
  max-width: 48ch; margin: .5rem 0;
  font: 400 clamp(1.2rem, 2.1vw, 1.55rem)/1.4 Georgia, serif;
}
.rh-refresh {
  min-height: 44px; margin: 0 0 .7rem; padding: .35rem 0; border: 0; background: none;
  color: var(--muted, #53675c); font: inherit; text-decoration: underline; cursor: pointer;
}
.listing-panels:has(> :only-child) { grid-template-columns: 1fr; }
#current-reporting-period { max-width: 100%; scroll-margin-top: 1rem; }
.period-status {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; max-width: 100%;
  padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 2rem; background: var(--surface);
  color: var(--green); font: inherit; font-size: .88rem; font-weight: 600; text-align: start; cursor: pointer; list-style: none;
}
.period-status::-webkit-details-marker { display: none; }
.period-status:hover { border-color: var(--green); }
.period-status:focus-visible, .period-title button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.period-info-icon {
  display: inline-grid; place-items: center; flex: none; width: 1.1rem; height: 1.1rem;
  border: 1px solid currentColor; border-radius: 50%; font: 700 .8rem/1 Georgia, serif;
}
.period-dialog {
  box-sizing: border-box; width: min(27rem, calc(100% - 2rem)); max-height: calc(100% - 2rem);
  margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: .85rem;
  background: var(--surface); color: var(--ink); box-shadow: 0 1rem 4rem #172b2333;
}
.period-dialog::backdrop { background: rgb(20 37 30 / 48%); }
.period-information { max-width: 27rem; padding: clamp(1rem, 4vw, 1.5rem); }
details[open] > .period-information { margin-top: .5rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.period-title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .6rem; }
.period-title h3 { margin: 0; font-size: 1.45rem; }
.period-title button {
  min-height: 44px; padding: .25rem .5rem; background: transparent; color: var(--green);
  border: none; text-decoration: underline; text-underline-offset: .2em; font: inherit; cursor: pointer;
}
.period-information .period-dates { margin: 0; font-size: 1.2rem; font-weight: 650; }
.period-information .period-position { margin: .25rem 0 0; color: var(--muted); }
.period-information [data-period-context] { border-top: 1px solid var(--line); padding-top: .75rem; }
.period-information p:last-child { margin-bottom: 0; }
@media (forced-colors: active) {
  .rh-figure .rh-cell[aria-pressed="true"] { outline: 2px solid Highlight; }
}
