.reset-main {
  --reset-border: #353539;
  --reset-mid: #aeb0b7;
  --reset-blue: #73b4ff;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: clamp(20px,2.1vw,32px) clamp(14px,2.4vw,36px) 24px;
}
.reset-lead, .reset-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.reset-lead h1 {
  margin: 0;
  color: #f1f1f3;
  font-size: clamp(1.2rem,1.8vw,1.6rem);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.035em;
}
.reset-lead p, .reset-count, .reset-references {
  margin: 0;
  color: var(--reset-mid);
  font-size: .8125rem;
}
.reset-lead time, .reset-date { font-variant-numeric: tabular-nums; }
.reset-toolbar { margin: 16px 0 12px; }
.reset-filters {
  display: inline-flex;
  padding: 2px;
  border: 1px solid #444449;
  border-radius: 7px;
  background: #29292d;
}
.reset-filters button {
  min-height: 25px;
  padding: 3px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #c1c1c6;
  font: inherit;
  font-size: .8125rem;
  line-height: 1.3;
}
.reset-filters button:hover { background: #35353a; color: white; }
.reset-filters button[aria-pressed="true"] {
  border-color: #347ddb;
  background: #175aa9;
  color: white;
  box-shadow: 0 1px 2px #0005;
}
.reset-main :focus-visible { outline: 2px solid var(--reset-blue); outline-offset: 2px; }
.reset-records table { width: 100%; border-spacing: 0; font-size: .875rem; line-height: 1.45; }
.reset-records th, .reset-records td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--reset-border);
  text-align: left;
  vertical-align: middle;
}
.reset-records thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #2a2a2e;
  color: #bcbcc3;
  border-top: 1px solid #404045;
  font-size: .8125rem;
  font-weight: 570;
  white-space: nowrap;
}
.reset-row:hover { background: #29292c; }
.reset-date, .reset-type, .reset-stage, .reset-sources { white-space: nowrap; }
.reset-date { width: 148px; color: #ededf0; font-family: var(--mono); font-size: .8125rem; }
.reset-date span { color: var(--reset-mid); }
.reset-type { width: 86px; color: #d5d5da; font-size: .8125rem; }
.reset-stage { width: 68px; color: var(--reset-mid); font-size: .8125rem; }
.reset-event { width: 20%; color: #f1f1f3; font-weight: 600; }
.reset-description { color: #c0c0c6; }
.reset-sources { width: 84px; }
.reset-sources a { display: block; width: fit-content; font-size: .8125rem; }
.reset-sources a + a { margin-top: 3px; }
.reset-page :is(.reset-sources,.reset-references) a { color: var(--reset-blue); text-decoration: none; }
.reset-page :is(.reset-sources,.reset-references) a:hover { text-decoration: underline; text-underline-offset: 3px; }
.reset-references { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 15px; }
.reset-references span { margin-left: 6px; }
@media (max-width: 1120px) {
  .reset-main { padding-inline: 14px; }
  .reset-records td, .reset-records th { padding: 7px; }
  .reset-date { width: 95px; }
  .reset-date span { display: block; }
}
@media (max-width: 820px) {
  .reset-main { padding: 16px 12px 22px; }
  .reset-lead { align-items: baseline; }
  .reset-toolbar { margin: 12px 0; }
  .reset-records table, .reset-records tbody { display: block; }
  .reset-records table { border-top: 1px solid var(--reset-border); }
  .reset-records thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .reset-row {
    display: grid;
    grid-template-columns: auto auto minmax(0,1fr);
    align-items: center;
    gap: 4px 10px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--reset-border);
  }
  .reset-records tbody th, .reset-records tbody td { width: auto; padding: 0; border: 0; }
  .reset-date span { display: inline; }
  .reset-event, .reset-description, .reset-sources { grid-column: 1 / -1; }
  .reset-event { font-size: .94rem; }
  .reset-sources { display: flex; gap: 10px; flex-wrap: wrap; }
  .reset-sources a { padding-block: 2px; }
  .reset-sources a + a { margin: 0; }
}
