:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #66736b;
  --line: #d9e1dc;
  --paper: #f5f7f3;
  --surface: #fff;
  --accent: #c84b32;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, #e3eee5, transparent 34rem),
    var(--paper);
  color: var(--ink);
  font:
    15px/1.5 Georgia,
    serif;
}
.shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 48px 28px 72px;
}
.hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.eyebrow {
  color: var(--accent);
  font:
    700 12px/1.2 ui-sans-serif,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-title {
  margin: 8px 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.95;
}
.intro {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 18px 0 0;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 24px 0;
  flex-wrap: wrap;
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font:
    700 11px/1.2 ui-sans-serif,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
input,
select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  font:
    15px Georgia,
    serif;
  padding: 0 12px;
}
.search-field {
  flex: 1 1 300px;
}
select {
  min-width: 220px;
}
.result-count {
  color: var(--muted);
  margin: 0 0 10px auto;
}
.table-frame {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 45px #20382b0d;
}
.category-block {
  margin-top: 46px;
}
.category-block > h1 {
  border-bottom: 2px solid var(--accent);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 26px;
  padding-bottom: 12px;
}
.subcategory-block {
  margin: 0 0 34px;
}
.subcategory-block h2 {
  color: var(--muted);
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 12px;
}
table {
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}
th {
  background: #edf2ed;
  color: var(--muted);
  cursor: pointer;
  font:
    700 11px/1.2 ui-sans-serif,
    sans-serif;
  letter-spacing: 0.07em;
  padding: 14px 12px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
th:hover {
  color: var(--accent);
}
td {
  border-top: 1px solid var(--line);
  padding: 13px 12px;
  vertical-align: top;
}
tbody tr:hover {
  background: #fffaf8;
}
td:nth-child(1),
td:nth-child(2) {
  color: var(--ink);
  font-size: 13px;
}
td:nth-child(3) {
  font-weight: 400;
}
td.na {
  color: var(--muted);
  font-style: italic;
}
.doc-list {
  margin: 0;
  padding: 0 0 0 1.1em;
}
.doc-list li + li {
  margin-top: 4px;
}
a {
  color: var(--accent);
}
.empty {
  margin: 0;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 650px) {
  .shell {
    padding: 30px 16px 48px;
  }
  .result-count {
    margin-left: 0;
    width: 100%;
  }
  .page-title {
    font-size: 3rem;
  }
}
