.rec-panel {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 30px);
  background: var(--paper, white);
  color: var(--ink, #162e33);
}
.rec-panel [hidden] { display: none !important; }
.rec-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 12px;
  background: #f0f5f4;
}
.rec-group, .rec-page-btn, .rec-reset {
  appearance: none;
  font: inherit;
  font-weight: 650;
  font-size: .88rem;
  cursor: pointer;
}
.rec-group {
  padding: 8px 15px;
  line-height: 1.5;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted, #526764);
}
.rec-group[aria-pressed="true"] {
  color: var(--teal, #096c64);
  background: #fff;
  box-shadow: 0 1px 4px #183d301b;
}
.rec-panel :focus-visible { outline: 2px solid var(--teal, #137d73); outline-offset: 3px; }
.rec-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 21px;
  border-bottom: 1px solid var(--border, #dae4e2);
}
.rec-field { min-width: 0; display: grid; gap: 6px; }
.rec-label { color: var(--muted, #526764); font-size: .8rem; font-weight: 650; }
.rec-field input, .rec-field select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border, #d8e2df);
  border-radius: 8px;
  background-color: white;
  padding: 0 11px;
  color: var(--ink, #162e33);
  font: inherit;
  font-size: .87rem;
}
.rec-field input { min-width: 148px; }
.rec-field input::-webkit-date-and-time-value { text-align: left; }
.rec-field select { min-width: 105px; }
.rec-reset, .rec-page-btn {
  min-height: 40px;
  border: 1px solid var(--border, #d8e2df);
  border-radius: 8px;
  padding-inline: 12px;
  color: var(--ink, #162e33);
  background: transparent;
}
.rec-panel button:disabled { cursor: default; opacity: .5; }
.rec-panel button:not(:disabled):hover { background-color: #e7f3f0; }
.rec-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 0 15px;
}
.rec-heading h2 { margin: 0; color: var(--ink, #162e33); font-size: 1.12rem; line-height: 1.45; }
.rec-total { color: var(--muted, #526764); font-size: .83rem; font-weight: 600; }
.rec-scroll { width: 100%; max-width: 100%; overflow-x: auto; }
.rec-table { width: 100%; border-collapse: collapse; font-size: .86rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.rec-table th, .rec-table td { padding: 12px 11px; border: 0; border-bottom: 1px solid var(--border, #dbe4e2); text-align: left; white-space: nowrap; }
.rec-table th { color: var(--muted, #526764); background: #f3f7f6; font-size: .76rem; font-weight: 650; }
.rec-table th:first-child { border-radius: 7px 0 0 0; }
.rec-table th:last-child { border-radius: 0 7px 0 0; }
.rec-table .rec-numeric { text-align: right; }
.rec-table .rec-note { min-width: 14ch; max-width: 38ch; white-space: pre-line; color: var(--muted, #526764); }
.rec-table .rec-missing { color: var(--muted, #526764); }
.rec-unit, .rec-time { display: block; font-size: .72rem; font-weight: 450; color: var(--muted, #526764); }
.rec-table tr:hover td { background: #f7faf9; }
.rec-kind { font-size: .77rem; color: var(--muted, #526764); }
.rec-kind-extra { display: inline-block; border-radius: 5px; padding: 1px 6px; background: #deefeb; color: #126558; }
.rec-empty { padding: 34px 8px; color: var(--muted, #526764); text-align: center; }
.rec-footer { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.rec-page-label { min-width: 4em; text-align: center; color: var(--muted, #526764); font-size: .85rem; font-variant-numeric: tabular-nums; }
.rec-sr { position: absolute; margin: -1px; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 570px) {
  .rec-groups { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; box-sizing: border-box; }
  .rec-group { padding: 9px 0; font-size: .82rem; }
  .rec-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 16px; }
  .rec-field input, .rec-field select { min-width: 0; font-size: 16px; padding-inline: 7px; }
  .rec-reset { justify-self: start; }
  .rec-table th, .rec-table td { padding-inline: 9px; }
}
