:root {
  --bg: #f1eee6;
  --bg-deep: #e7e2d6;
  --paper: #fffcf6;
  --ink: #1c1915;
  --muted: #5c564d;
  --line: #d8d1c4;
  --accent: #143f33;
  --accent-soft: #d9ece4;
  --tag: #ece7dc;
  --tag-ink: #2a3d35;
  --shadow: 0 16px 40px rgba(40, 32, 18, 0.08);
  --radius: 18px;
  --sans: "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, #fbf8f0 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #0b2b22; }
img { max-width: 100%; display: block; }
.site-header, .day-header, .day-main, .site-footer, .empty, .card-list, .about-intro, .about-page, .page-status, .archive-main, .prose-wrap, .subcard-list, .section-head, .page-header {
  width: min(1080px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.site-nav {
  display: flex;
  gap: 1.1rem;
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a.current { color: var(--accent); }
.site-nav a.current { font-weight: 600; }
.about-intro {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.4rem 1.35rem;
  margin-bottom: 1.8rem;
}
.about-page .about-intro { margin-top: 0; box-shadow: none; background: transparent; border: 0; padding: 0 0 2.5rem; }
.about-intro h2 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 0.7rem; }
.about-page .about-intro h2 { display: none; }
.about-intro h3 { font-size: 1rem; margin: 1rem 0 0.45rem; }
.about-intro p { margin: 0; max-width: 46rem; }
.about-intro .sources-link-note, .about-intro .suggest { margin-top: 0.85rem; }
.source-list {
  margin: 0;
  padding-left: 1.15rem;
  max-width: 40rem;
}
.source-list li { margin: 0.2rem 0; }
.site-header, .day-header { padding: 2.6rem 0 1.4rem; }
.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}
.site-header h1, .day-header h1, .day-header time {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
}
.site-header h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.day-header time {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.2rem 0 0.4rem;
}
.day-header h1 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--muted);
}
.lede, .summary {
  color: var(--ink);
  max-width: 40rem;
}
.lede { margin: 0.85rem 0 0; font-size: 1.05rem; }
.card-list {
  display: grid;
  gap: 1.4rem;
  padding: 0.4rem 0 3rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-link {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  color: inherit;
  text-decoration: none;
  min-height: 240px;
}
.card-link:hover { color: inherit; }
.card-link:hover .summary { color: var(--accent); }
.media {
  min-height: 220px;
  background: #d9e3dc;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1.2rem;
  background:
    linear-gradient(160deg, #1c3f35 0%, #31574b 42%, #c9b498 100%);
  color: #f6f1e8;
}
.placeholder-mark {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 252, 246, 0.75);
  border-radius: 10px;
  transform: rotate(12deg);
  position: relative;
}
.placeholder-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255, 252, 246, 0.55);
}
.placeholder-date {
  font-family: var(--serif);
  font-size: 1.25rem;
}
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.card-body time {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.2;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tags li {
  background: var(--tag);
  color: var(--tag-ink);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.82rem;
}
.summary { margin: 0; color: var(--muted); }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: flex-start;
}
.badge {
  align-self: flex-start;
  margin: 0;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
}
.day-header .back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
}
.hero {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}
.hero .media, .hero img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero .placeholder { min-height: 240px; border-radius: 18px; }
.credit { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.88rem; }
.day-main { padding-bottom: 3rem; display: grid; gap: 2rem; }
.topic h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}
.item + .item { margin-top: 1.15rem; }
.item h3 { margin: 0 0 0.3rem; font-size: 1.08rem; }
.item .note { margin: 0 0 0.35rem; color: var(--ink); }
.item .meta { margin: 0; color: var(--muted); font-size: 0.88rem; word-break: break-all; }
.item .meta time { margin-left: 0.8rem; }
.empty { padding: 3rem 0 5rem; }
.empty h1, .empty h2 { font-family: var(--serif); margin-bottom: 0.6rem; }
.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 800px) {
  .card-link { grid-template-columns: 1fr; min-height: 0; }
  .media img, .hero img, .hero .media { aspect-ratio: 16 / 9; min-height: 0; }
  .card-body time { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

.site-nav a + a { margin-left: 0.2rem; }
.page-status { margin: 0 auto 1rem; color: var(--muted); font-size: 0.95rem; }
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0 3rem;
}
.pager a, .pager span {
  display: inline-block;
  min-width: 2.3rem;
  text-align: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .current { background: var(--accent); border-color: var(--accent); color: #fffcf6; }
.pager .disabled { color: var(--line); }
.pager .gap { border: 0; background: transparent; min-width: 0; padding: 0.35rem 0.2rem; }
.archive-main { padding-bottom: 3rem; display: grid; gap: 2rem; }
.archive-month h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.archive-month h2 .count { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); margin-left: 0.6rem; font-weight: 400; }
.archive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.archive-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.8rem; align-items: baseline; }
.archive-list a.day { font-family: var(--serif); font-weight: 600; }
.archive-list .kw { color: var(--muted); font-size: 0.92rem; }
.day-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 0 0 2rem; font-size: 0.95rem; }
@media (max-width: 600px) { .archive-list li { grid-template-columns: 1fr; gap: 0.1rem; } }
/* Topic research additions */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-bottom: 2rem;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}
.topic-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.topic-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.topic-card a.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  color: inherit;
  text-decoration: none;
}
.topic-card a.card-link:hover { color: inherit; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.card-emoji { font-size: 1.6rem; line-height: 1; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--tag);
  color: var(--tag-ink);
}
.badge.tracking { background: var(--accent-soft); color: var(--accent); }
.badge.closed { background: #ece7dc; color: var(--muted); }
.topic-card h2 {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0.15rem 0 0;
}
.topic-card .summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.topic-card .tags, .article-header .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topic-card .tags li, .article-header .tags li {
  background: var(--tag);
  color: var(--tag-ink);
  font-size: 0.78rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.topic-card .card-meta {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
}
.filters a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--paper);
}
.filters a:hover { border-color: var(--accent); color: var(--accent); }
.filters a.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffcf6;
}
.article-header { padding: 2.6rem 0 1.2rem; width: min(800px, calc(100% - 2rem)); margin: 0 auto; }
.article-header .back { font-size: 0.9rem; }
.article-header h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 2rem;
  line-height: 1.3;
  margin: 0.4rem 0 0.8rem;
}
.article-header .lede { color: var(--muted); margin: 0.8rem 0 0; }
.article-header .meta-line { color: var(--muted); font-size: 0.92rem; margin: 0.6rem 0 0; }
.article-main, .section-wrap {
  width: min(800px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 2.2rem 0 0.8rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.article-body h2:first-child { border-top: 0; margin-top: 0; }
.article-body h3 {
  font-size: 1.12rem;
  margin: 1.6rem 0 0.55rem;
}
.article-body p { margin: 0.7rem 0; }
.article-body ul, .article-body ol { margin: 0.5rem 0 0.9rem; padding-left: 1.3rem; }
.article-body li { margin: 0.28rem 0; }
.article-body a { overflow-wrap: anywhere; }
.article-body blockquote {
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.4rem;
  display: block;
  overflow-x: auto;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
.article-body th { background: var(--tag); font-weight: 600; }
.article-body td { background: var(--paper); }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--tag);
  padding: 0.05em 0.3em;
  border-radius: 4px;
}
.article-body pre {
  background: #1c1915;
  color: #fffcf6;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.85rem;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body strong { font-weight: 650; }
.sources-section, .updates-section {
  width: min(800px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
}
.sources-section h2, .updates-section h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.9rem;
}
.source-item, .update-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.7rem;
}
.source-item h3, .update-item h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}
.source-item .meta, .update-item .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.source-item .note, .update-item .body { margin: 0.4rem 0 0; font-size: 0.95rem; }
.source-item .type {
  font-size: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}
.update-item .body p:first-child { margin-top: 0.4rem; }
.update-item .body p:last-child { margin-bottom: 0; }
.update-item .body ul { margin: 0.3rem 0; padding-left: 1.2rem; }
.type-filters-note { font-size: 0.88rem; color: var(--muted); }
.article-body h1 { display: none; }

.filters, .card-grid, .pager {
  width: min(1080px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.card-grid { width: min(1080px, calc(100% - 2rem)); }
main .pager { margin-bottom: 1rem; }

.topic-extra-nav {
  width: min(800px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  font-size: 0.95rem;
}
.topic-extra-nav a {
  color: var(--accent);
  font-weight: 600;
}
.entities-page {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
}
.entities-page .lede-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
}
.entity-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.entity-counts a {
  display: inline-block;
  background: var(--tag);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--line);
}
.entity-counts a:hover { background: var(--accent-soft); }
.entity-group { margin: 0 0 2.2rem; }
.entity-group h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.8rem;
}
.entity-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  margin: 0 0 0.75rem;
}
.entity-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin: 0 0 0.45rem;
}
.entity-card h3 {
  font-size: 1.08rem;
  margin: 0;
  font-family: var(--serif);
}
.status-pill {
  font-size: 0.75rem;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: var(--tag);
  color: var(--accent);
  white-space: nowrap;
}
.status-pill.ga, .status-pill.active, .status-pill.published {
  background: var(--accent-soft);
  color: var(--accent);
}
.status-pill.preview { background: #f3e6c8; color: #6a4a08; }
.status-pill.stale, .status-pill.unmaintained, .status-pill.behind {
  background: #f0e4dc;
  color: #7a2e1b;
}
.status-pill.unverified { background: #ececec; color: #555; border: 1px dashed var(--line); }
.status-pill.open, .status-pill.watching { background: var(--tag); }
.entity-card .what, .entity-card .latest, .entity-card .why, .entity-card .notes, .entity-card .checked, .entity-card .repo-stats {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}
.entity-card .checked, .entity-card .repo-stats { color: var(--muted); font-size: 0.88rem; }
.entity-card .entity-sources {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
}
.entity-card .entity-sources li { margin: 0.15rem 0; }
.entities-back { margin: 0 0 1rem; }

.topic-extra-nav a.subpage-highlight {
  display: inline-block;
  margin: 0.15rem 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #1d4e3a;
  color: #f4efe4;
  font-weight: 600;
  text-decoration: none;
}
.topic-extra-nav a.subpage-highlight:hover,
.topic-extra-nav a.subpage-highlight:focus {
  background: #163d2e;
  color: #fff;
}
.topic-extra-nav a.subpage-highlight.current {
  outline: 2px solid #1d4e3a;
  outline-offset: 2px;
}
.article-body pre.mermaid {
  background: #f4efe4;
  border: 1px solid #d9d0c0;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  text-align: center;
}

.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  line-height: 1.55;
}
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current="page"] { color: var(--ink); font-weight: 600; }
.card-grid.page-cards {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 1.8rem;
  padding-bottom: 0.4rem;
}
.page-cards-heading {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0.4rem 0 0.15rem;
}
.article-body .katex-display {
  margin: 1rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}

/* pm-ideas: idea landing sub-cards and long-form prose */
.subcard-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 0.2rem 0 1.8rem;
}
.subcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.subcard-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  padding: 1.15rem 1.2rem 1.25rem;
  gap: 0.45rem;
}
.subcard-link:hover { color: inherit; }
.subcard-link:hover h3 { color: var(--accent); }
.subcard-link h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.3;
}
.subcard-link p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.subcard.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.idea-hero {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 1.6rem;
}
.idea-hero .lede { max-width: 44rem; }
.prose-wrap { padding-bottom: 3.5rem; }
.prose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem 2rem;
  overflow-x: auto;
}
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--serif);
  line-height: 1.3;
  margin: 1.6rem 0 0.7rem;
}
.prose h1 { font-size: 1.7rem; }
.prose h2 { font-size: 1.35rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 1.12rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 0.9rem; }
.prose li { margin: 0.2rem 0; }
.prose blockquote {
  margin: 0 0 1rem;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--tag);
  padding: 0.05em 0.35em;
  border-radius: 5px;
  word-break: break-word;
}
.prose pre {
  background: #1c3f35;
  color: #f6f1e8;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.55;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose pre.mermaid {
  background: #f6f3eb;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: center;
}
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.1rem; }
.prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 36rem;
  margin: 0;
  font-size: 0.9rem;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--bg); font-weight: 600; }
.prose tr:nth-child(even) td { background: #faf7f0; }
.source-note {
  font-size: 0.88rem;
  color: var(--muted);
}
.crumb {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.callout {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.2rem;
}
.callout p { margin: 0; }
.page-nav-subs {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto 1.2rem;
}
@media (max-width: 800px) {
  .prose { padding: 1.1rem 1rem 1.4rem; }
  .prose table { font-size: 0.84rem; min-width: 28rem; }
}

.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; color: var(--muted); font-size: 0.9rem; margin: 0; }
.card-body .title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; margin: 0; }
.badge.research { background: var(--accent-soft); color: var(--accent); }
.badge.draft { background: #efe4cc; color: #5a4518; }
.badge.active { background: #dce8f5; color: #1a3a5c; }
.badge.parked { background: var(--tag); color: var(--tag-ink); }
.site-header .tags { margin-top: 0.9rem; }
