/* ==========================================================================
   Admin corpus browser (#191)

   Minimal styling for the read-only corpus dashboards. Olfantic has no
   design-token system yet, so this scopes a small local palette to
   `.corpus-container`, drawn from the same olive/cream brand values the
   Changes view (changes.css) uses. When a real design system lands these
   can be promoted to :root tokens.
   ========================================================================== */

.corpus-container {
  --co-ink: #1b1715;
  --co-ink-muted: #8a7d70;
  --co-accent: #7a4e2d;
  --co-border: rgba(122, 78, 45, 0.22);
  --co-bg-alt: #f6efe7;
  --co-notice-bg: #fff4d6;
  --co-notice-border: #d8b24a;

  max-width: 60rem;
  margin: 1.5rem auto;
  padding: 0 1rem 3rem;
  color: var(--co-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

.corpus-container h1 {
  font-family: ui-serif, Georgia, "Iowan Old Style", serif;
}

.corpus-container section {
  margin-top: 1.75rem;
}

.corpus-breadcrumb {
  font-size: 0.85rem;
  color: var(--co-ink-muted);
  margin-bottom: 0.25rem;
}

.corpus-breadcrumb a {
  color: var(--co-accent);
}

.corpus-lead {
  color: var(--co-ink-muted);
}

.corpus-subtle {
  color: var(--co-ink-muted);
  font-weight: normal;
}

.corpus-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 0.5rem;
}

.corpus-table th,
.corpus-table td {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--co-border);
  vertical-align: top;
}

.corpus-table thead th {
  border-bottom: 2px solid var(--co-border);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--co-ink-muted);
}

/* Attribute tables (show pages) put the label in the first column. */
.corpus-attrs th {
  width: 12rem;
  color: var(--co-ink-muted);
  font-weight: 600;
}

.corpus-table a {
  color: var(--co-accent);
}

.corpus-table code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

.corpus-cap-notice {
  background: var(--co-notice-bg);
  border: 1px solid var(--co-notice-border);
  border-radius: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}
