/* Legal-status record. Deliberately NOT the site accent: ember orange reads as highlight or
   alarm on a list of abuse cases. One cool, low-chroma accent for links and the active mark;
   status chips are monochrome and carry their meaning in words. No animation anywhere. */
.rec {
  --rec-accent: #8a9bb0;
  --rec-chip-bg: #222;
  --rec-chip-fg: #cfcfcf;
  --rec-chip-border: #555;
  --rec-quote-bar: #444;
  --rec-text: var(--text-primary, #e8e8e8);
  --rec-muted: #9a9a9a;
  --rec-line: var(--border, #333);
  max-width: 1040px;
  padding-left: 16px;
  padding-right: 16px;
  color: var(--rec-text);
}
.rec a { color: var(--rec-accent); text-decoration: underline; text-underline-offset: 2px; }
.rec a:hover { color: #b3c1d1; }
.rec :focus-visible { outline: 2px solid var(--rec-accent); outline-offset: 2px; }
.rec h1, .rec h2, .rec h3, .rec h4, .rec h5 { text-shadow: none; letter-spacing: normal; color: var(--text-heading, #f0f0f0); }
.rec h1 { font-size: 1.9rem; margin: 0.2rem 0 0.8rem; }
.rec h2 { font-size: 1.25rem; margin: 0; display: inline; }
.rec h3 { font-size: 1.02rem; margin: 1.4rem 0 0.5rem; }
.rec h4 { font-size: 1rem; margin: 0 0 0.3rem; }
.rec h5 { font-size: 0.92rem; margin: 1rem 0 0.3rem; }
.rec-head { padding: 2rem 0 1rem; border-bottom: 1px solid var(--rec-line); }
.rec-kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rec-muted); margin: 0; }
.rec-method { max-width: 72ch; line-height: 1.65; }
.rec-meta { color: var(--rec-muted); font-size: 0.9rem; }

.rec details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 0.5rem; }
.rec details > summary { list-style: none; }
.rec details > summary::-webkit-details-marker { display: none; }
.rec details > summary::before { content: "\25B8"; color: var(--rec-muted); flex: none; width: 1rem; }
.rec details[open] > summary::before { content: "\25BE"; }
.rec-lead { max-width: 72ch; color: var(--rec-muted); line-height: 1.6; }
.rec-table td[data-label="Era"], .rec-table td[data-label="Checked"] { white-space: nowrap; }
.rec-vocab, .rec-section { border-bottom: 1px solid var(--rec-line); padding: 0.8rem 0; }
.rec-vocab dl { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: 0.35rem 1.2rem; margin: 0; }
.rec-vocab dt { font-weight: 600; }
.rec-vocab dd { margin: 0; line-height: 1.55; }
.rec-means, .rec-not { color: var(--rec-muted); }

.rec-filters { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: end; padding: 1rem 0; border-bottom: 1px solid var(--rec-line); }
.rec-filters label { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--rec-muted); gap: 0.25rem; }
.rec-filters .rec-check { flex-direction: row; align-items: center; gap: 0.4rem; min-height: 44px; }
.rec-filters select, .rec-filters input[type=search], .rec-filters button {
  background: #1e1e1e; color: var(--rec-text); border: 1px solid var(--rec-chip-border);
  border-radius: 3px; padding: 0.45rem 0.55rem; font: inherit; min-height: 40px;
}
.rec-filters button { cursor: pointer; }
.rec-count { color: var(--rec-muted); font-size: 0.9rem; min-height: 40px; display: flex; align-items: center; }

.rec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.rec-table caption { text-align: left; color: var(--rec-muted); font-size: 0.88rem; padding: 0.4rem 0; }
.rec-table th, .rec-table td { border-top: 1px solid var(--rec-line); padding: 0.7rem 0.6rem; vertical-align: top; text-align: left; }
.rec-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rec-muted); font-weight: 600; }
.rec-case { font-weight: 600; width: 34%; }
.rec-table tbody { border-top: 1px solid var(--rec-chip-border); }
.rec-table .rec-expand td { border-top: 0; padding-top: 0; }
.rec-expand summary { color: var(--rec-accent); font-size: 0.9rem; }
.rec-expand details[open] > summary { color: var(--text-heading, #f0f0f0); }
.rec-detail { font-weight: normal; padding: 0.2rem 0 1rem 1.5rem; line-height: 1.6; max-width: 78ch; }
.rec-detail > h3:first-of-type { margin-top: 0.8rem; }
.rec-person > :first-child, .rec-counter > :first-child { margin-top: 0; }
.rec-person > :last-child, .rec-counter > :last-child { margin-bottom: 0; }
.rec-people { list-style: none; margin: 0; padding: 0; }
.rec-people li { margin-bottom: 0.35rem; }
.rec-chip {
  display: inline-block; background: var(--rec-chip-bg); color: var(--rec-chip-fg);
  border: 1px solid var(--rec-chip-border); border-radius: 3px; padding: 0 0.4rem;
  font-size: 0.8rem; line-height: 1.5; white-space: nowrap;
}
.rec-local { color: var(--rec-muted); font-size: 0.88rem; }
.rec-arrow { color: var(--rec-muted); }
.rec-active::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rec-accent); margin-right: 0.35rem; vertical-align: middle; }
.rec-person { border-left: 2px solid var(--rec-line); padding-left: 0.9rem; margin: 0.9rem 0; }
.rec-def, .rec-notes { color: var(--rec-muted); font-size: 0.9rem; }
.rec-steps { padding-left: 1.2rem; }
.rec-steps li { margin-bottom: 0.8rem; }
.rec-steps p, .rec-civil p { margin: 0.2rem 0; }
.rec blockquote { border-left: 3px solid var(--rec-quote-bar); margin: 0.35rem 0; padding: 0.1rem 0 0.1rem 0.8rem; color: var(--rec-text); font-style: normal; background: none; }
.rec blockquote p { margin: 0.2rem 0; }
.rec-src { font-size: 0.85rem; color: var(--rec-muted); }
.rec-counter { border-left: 2px solid var(--rec-line); padding-left: 0.9rem; margin: 0.8rem 0; }
.rec-counter p { margin: 0.3rem 0; }
.rec-cats, .rec-changes { padding-left: 1.2rem; }
.rec-rules { padding: 1rem 0 2.5rem; }
.rec-rules h2 { display: block; margin-bottom: 0.6rem; }
.rec-rules ul { padding-left: 1.2rem; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .rec-vocab dl { grid-template-columns: 1fr; }
  .rec-vocab dd { margin-bottom: 0.5rem; }
  .rec-table thead { display: none; }
  .rec-table, .rec-table tbody, .rec-table tr, .rec-table th, .rec-table td { display: block; width: 100%; }
  .rec-table tr { padding: 0.3rem 0; }
  .rec-table .rec-expand td::before { content: none; }
  .rec-detail { padding-left: 0; }
  .rec-table th, .rec-table td { border: 0; padding: 0.2rem 0; }
  .rec-table td::before { content: attr(data-label) ": "; color: var(--rec-muted); font-size: 0.82rem; }
  .rec-case { width: 100%; }
  .rec-chip { white-space: normal; }
  /* a block-display table keeps its caption at min-content width: one word per line */
  .rec-table caption { display: block; width: 100%; }
}
.rec-active { white-space: nowrap; }
