/* Standing style rule (Law Information Center): no bordered or
   background boxes or cards. Separate sections with whitespace and, at
   most, thin rule lines and headings. Form controls may use a hairline
   for affordance. */

.data-source {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 0.85rem;
  margin: 0 0 1.5rem;
}
.data-source strong { color: var(--navy); font-weight: 600; }
.note-proj, .caveat {
  font-size: 0.95rem;
  background: none;
  border: 0;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  max-width: 46rem;
}

/* Open stat lines — typography only, no cards. */
.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem 2.75rem;
  margin: 0 0 2rem;
  padding: 0.15rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.kpi {
  background: none;
  border: 0;
  padding: 0;
  min-width: 6.5rem;
}
.kpi .n {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.kpi .l {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: end;
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.filters label {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  gap: 4px;
}
.filters input, .filters select {
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 6px 0;
  min-width: 140px;
  border-radius: 0;
}
.filters input:focus, .filters select:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.filters .chk {
  flex-direction: row;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--text);
  gap: 6px;
  min-height: 32px;
}
.filters button {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  padding: 6px 0;
  cursor: pointer;
}
.filters button:hover { color: var(--royal); }

.table-meta { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.5rem; }
.table-wrap { overflow-x: auto; margin: 0 0 2rem; }
table.judges { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: transparent; }
table.judges th, table.judges td {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 9px;
  text-align: left;
  vertical-align: top;
}
table.judges th {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  background: none;
  position: sticky;
  top: 0;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  border-bottom: 1px solid var(--navy);
}
table.judges th[data-sort] span.dir { opacity: 0.4; margin-left: 4px; }
table.judges th.sorted span.dir { opacity: 1; }
table.judges tbody tr:hover { background: transparent; }
table.judges .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
table.judges .muted, .muted { color: var(--muted); }
table.judges tr.is-hidden { display: none; }
table.judges tr.cji-now { background: none; }
table.judges tr.cji-now td:first-child { border-left: 2px solid var(--navy); padding-left: 7px; }

/* Tags are plain small text — never boxed. */
.tag {
  display: inline;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0;
  margin: 0 0 0 0.35em;
  border: 0;
  background: none;
  white-space: normal;
  color: var(--muted);
}
.tag.cj { color: var(--muted); }
.tag.acj { color: var(--teal); }
.tag.addl { color: var(--royal); }
.tag.xfer { color: var(--navy); }
.tag.bar { color: var(--muted); }
.tag.missing { color: var(--warn); }

/* Typographic succession list — a thin left rule only. */
.timeline { list-style: none; margin: 0 0 2rem; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.15rem 1.15rem; }
.timeline li::before { content: none; }
.timeline .who { font-family: var(--serif); font-weight: 600; color: var(--navy); }
.timeline .when { font-size: 0.9rem; color: var(--muted); }
.timeline .star { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bronze); }

.vac-bar { display: block; height: 2px; background: var(--line); width: 100%; min-width: 80px; }
.vac-bar > span { display: block; height: 100%; background: var(--navy); }
.vac-bar > span.high { background: var(--bad); }
.adv-pos { color: var(--ok); font-weight: 600; }
.adv-neg { color: var(--bad); font-weight: 600; }

.hc-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 2rem;
  margin: 0.5rem 0 2rem;
}
.hc-card {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0 1.15rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.hc-card:hover { border-top-color: var(--navy); }
.hc-card h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 4px; color: var(--navy); }
.hc-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.section-lead { margin: 2rem 0 0.75rem; }
.section-lead h2 { font-family: var(--serif); color: var(--navy); margin: 0 0 0.25rem; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 40px; }
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .kpi .n { font-size: 1.35rem; }
}

.page-intro { max-width: 46rem; }
.sub-nav-page { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 1.25rem; font-size: 0.92rem; }
.sub-nav-page a { color: var(--royal); }

/* Collegium: open text, thin rules, no cards. */
.collegium { margin: 0 0 2.25rem; padding: 0; background: none; border: 0; }
.collegium h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.collegium-as-on, .collegium-next {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  max-width: 46rem;
}
.collegium-next { color: var(--text); margin: 0.65rem 0 0; }
.collegium .table-wrap { margin: 0 0 0.35rem; }
.collegium-table { max-width: 40rem; }
@media (max-width: 800px) {
  .collegium h2 { font-size: 1.2rem; }
  .collegium-table { max-width: none; }
}
