
:root {
  color-scheme: light;
  --ink: #161719;
  --muted: #68707a;
  --line: #c9d8cb;
  --soft: #e2ece3;
  --panel: #fcfff9;
  --bg: #e9f1e8;
  --paper: #f5fbf2;
  --openai: #0f8f79;
  --anthropic: #9f5528;
  --google: #2f63c7;
  --focus: #b62328;
  --warning: #8a6318;
  --danger: #8c1d22;
  --shadow: 0 15px 30px rgba(29, 48, 34, 0.11);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(252, 255, 249, 0.78), rgba(252, 255, 249, 0.12) 320px),
    repeating-linear-gradient(90deg, rgba(22, 23, 25, 0.018) 0, rgba(22, 23, 25, 0.018) 1px, transparent 1px, transparent 48px);
}
a { color: inherit; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 2px solid var(--ink);
  background: rgba(245, 251, 242, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 2;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 320px; }
.brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
}
.last-updated {
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  background: rgba(252, 255, 249, 0.8);
  border-radius: 4px;
  padding: 5px 9px;
  white-space: nowrap;
}
.actions { display: flex; gap: 10px; align-items: center; }
.actions form { margin: 0; }
.key-menu {
  position: relative;
}
.key-menu summary { list-style: none; }
.key-menu summary::-webkit-details-marker { display: none; }
.key-button[aria-label] { min-width: 76px; }
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}
.key-menu[open] .key-button {
  border-color: var(--focus);
  box-shadow: 0 3px 10px rgba(29, 48, 34, 0.12);
}
.key-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(380px, calc(100vw - 32px));
  border: 1px solid var(--ink);
  border-top: 3px solid var(--focus);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 5;
}
.key-panel h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0;
}
.key-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.key-row p {
  margin: 0;
  color: #4e5a67;
  font-size: 12px;
  line-height: 1.45;
}
button, .button, select, input {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 4px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1;
}
button, .button {
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}
button:hover, .button:hover { border-color: #95aa98; box-shadow: 0 3px 10px rgba(29, 48, 34, 0.1); }
button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  font-weight: 650;
}
button.primary:hover { background: #2f2220; }
input { min-width: 220px; line-height: normal; }
select { min-width: 128px; }
main { position: relative; padding: 26px 28px 44px; max-width: 1400px; margin: 0 auto; }
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metric {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(252, 255, 249, 0.9);
  padding: 14px 15px 13px;
  box-shadow: 0 8px 22px rgba(29, 48, 34, 0.06);
}
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--focus);
}
.metric.OpenAI::before { background: var(--openai); }
.metric.Anthropic::before { background: var(--anthropic); }
.metric.Google::before { background: var(--google); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}
.metric span { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.metric .label-with-dot { display: inline-flex; align-items: center; gap: 7px; }
.metric .lab-logo { display: inline-flex; margin-top: 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(252, 255, 249, 0.8);
  box-shadow: 0 8px 22px rgba(29, 48, 34, 0.05);
}
.admin-login {
  align-items: stretch;
  max-width: 520px;
}
.admin-login input {
  min-width: 260px;
}
.auth-error {
  color: var(--danger);
}
.quality-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #4e5a67;
  font-size: 12px;
  margin: -6px 0 18px;
}
.feed.is-loading tbody {
  opacity: 0.56;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
.coverage-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--focus);
  border-radius: 4px;
  background: rgba(252, 255, 249, 0.88);
  box-shadow: 0 8px 22px rgba(29, 48, 34, 0.06);
  padding: 14px 15px;
}
.coverage-card.OpenAI { border-top-color: var(--openai); }
.coverage-card.Anthropic { border-top-color: var(--anthropic); }
.coverage-card.Google { border-top-color: var(--google); }
.coverage-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0;
}
.coverage-card p {
  margin: 8px 0 0;
  color: #4e5a67;
  font-size: 12px;
  line-height: 1.45;
}
.coverage-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.distribution-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--focus);
  border-radius: 4px;
  background: rgba(252, 255, 249, 0.86);
  box-shadow: 0 8px 22px rgba(29, 48, 34, 0.05);
  padding: 14px 15px;
  margin: 0 0 18px;
}
.distribution-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}
.distribution-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.admin-notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--focus);
  border-radius: 4px;
  background: #f7faf5;
  color: #24362d;
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 13px;
}
.admin-notice.error {
  border-left-color: #8c1d22;
  color: #8c1d22;
  background: #fff4f4;
}
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(252, 255, 249, 0.88);
  box-shadow: 0 8px 22px rgba(29, 48, 34, 0.05);
  padding: 14px;
  margin: 0 0 18px;
}
.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.admin-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}
.admin-subhead {
  margin: 12px 0 8px;
  color: #2f3935;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.admin-actions form { margin: 0; }
.admin-grid-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: start;
}
.admin-facts {
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.admin-facts div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
}
.admin-facts dt {
  margin: 0;
  color: #58636d;
  font-weight: 750;
}
.admin-facts dd { margin: 0; min-width: 0; word-break: break-word; }
.token-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.token-created {
  border: 1px solid #afd8c5;
  border-radius: 4px;
  background: #ecf8f0;
  margin: 0 0 12px;
  padding: 12px;
}
.token-created input {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.admin-run-table,
.admin-token-table {
  box-shadow: none;
}
.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.feed-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.feed-link-group + .feed-link-group { margin-top: 8px; }
.feed {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feed th, .feed td {
  border-bottom: 1px solid var(--line);
  padding: 15px 15px;
  vertical-align: top;
  text-align: left;
}
.feed th {
  background: #dfeadd;
  color: #304133;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}
.feed tr:last-child td { border-bottom: 0; }
.feed tbody tr { transition: background 140ms ease, box-shadow 140ms ease; }
.feed tbody tr:hover { background: #f6fbf3; }
.date { width: 116px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.lab { width: 148px; font-size: 13px; }
.labmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.dot.OpenAI { background: var(--openai); }
.dot.Anthropic { background: var(--anthropic); }
.dot.Google { background: var(--google); }
.lab-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fcfff9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--ink);
  flex: 0 0 auto;
}
.lab-logo svg { width: 22px; height: 22px; display: block; }
.lab-logo.small { width: 27px; height: 27px; }
.lab-logo.small svg { width: 19px; height: 19px; }
.lab-logo.OpenAI { color: #111; border-color: rgba(15, 143, 121, 0.28); background: #eef8f1; }
.lab-logo.Anthropic { color: #111; border-color: rgba(159, 85, 40, 0.28); background: #f8f2ed; }
.lab-logo.Google { color: var(--google); border-color: rgba(47, 99, 199, 0.26); background: #f2f6ff; }
.generic-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}
.item-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.28;
  font-size: 18px;
}
.item-title:hover { text-decoration: underline; }
.feed tr[id] {
  scroll-margin-top: 112px;
}
.feed tr:target {
  background: #fff9e7;
  box-shadow: inset 4px 0 0 var(--focus);
}
.summary { color: #4e5a67; margin-top: 7px; line-height: 1.48; font-size: 13px; max-width: 820px; }
.meta-stack {
  margin-top: 11px;
  display: grid;
  gap: 7px;
}
.meta-line, .topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.source-label {
  color: #332a26;
  font-size: 12px;
  font-weight: 680;
}
.meta-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a8b3bf;
}
.category, .inclusion, .topic, .topic-more {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fcfff9;
  color: #52606f;
  font-size: 12px;
  line-height: 1;
}
.category {
  color: #094f44;
  background: #e8f5ee;
  border-color: #afd8c5;
  font-weight: 620;
}
.inclusion {
  color: #4d5965;
  background: #f7faf5;
  border-color: #d5e0d4;
}
.inclusion.duplicate {
  color: #5f4211;
  background: #fff7df;
  border-color: #ead190;
}
.topic {
  background: #f7fafc;
  color: #455364;
}
.topic-more {
  background: transparent;
  color: var(--muted);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin: 0 0 18px;
}
.page-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.15;
}
.page-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.source-name {
  font-weight: 720;
  text-decoration: none;
}
.source-name:hover { text-decoration: underline; }
.source-url {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  word-break: break-word;
}
.source-mode {
  color: #332a26;
  font-size: 12px;
  font-weight: 650;
}
.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.source-run {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  max-width: 340px;
}
.source-diagnostics {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.source-diagnostics div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}
.source-diagnostics dt {
  margin: 0;
  color: #58636d;
  font-weight: 750;
}
.source-diagnostics dd {
  margin: 0;
  min-width: 0;
}
.status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fcfff9;
  color: #52606f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}
.status.Healthy {
  color: #094f44;
  background: #e8f5ee;
  border-color: #afd8c5;
}
.status.Error {
  color: #8c1d22;
  background: #fff1f1;
  border-color: #efb8b8;
}
.status.Running {
  color: #244f89;
  background: #eef5ff;
  border-color: #b9cfee;
}
.status.Interrupted {
  color: #7a4a00;
  background: #fff7df;
  border-color: #ead18c;
}
.status.Inactive, .status.Notfetched {
  color: #636b75;
  background: #f3f6f1;
  border-color: #d8e0d5;
}
.source-count {
  color: #332a26;
  font-size: 13px;
  white-space: nowrap;
}
.empty {
  padding: 38px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 4px;
}
.daily-summary {
  margin: 0 0 18px;
}
.daily-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.daily-summary-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.12;
}
.summary-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--front-rule);
}
.summary-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  border-bottom: 1px solid var(--front-rule);
  background: transparent;
  box-shadow: none;
  padding: 30px 0;
}
.summary-card.featured {
  display: grid;
  background: transparent;
}
.summary-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.028em;
}
.summary-card .summary-meta {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  margin-top: 0;
}
.summary-card .summary-meta .category,
.summary-card .summary-meta .inclusion {
  border-radius: 0;
  background: rgba(251, 250, 247, 0.34);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.summary-card .summary-meta .category {
  color: var(--front-editorial-link);
  border-color: rgba(127, 42, 45, 0.28);
}
.summary-card .summary-body {
  margin-top: 20px;
  color: #383834;
  font-size: 16px;
  line-height: 1.65;
}
.summary-card .summary-body h4 {
  margin: 24px 0 9px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.summary-card-main {
  min-width: 0;
}
.archive-page {
  padding-bottom: 56px;
}
.archive-hero {
  margin: 40px 0 34px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--front-rule);
}
.archive-hero h2 {
  max-width: 880px;
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.archive-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--front-muted);
  font-size: 18px;
  line-height: 1.55;
}
.summary-body p {
  margin: 0 0 10px;
}
.summary-body p:last-child {
  margin-bottom: 0;
}
.summary-body ul, .summary-body ol {
  margin: 0 0 12px 20px;
  padding: 0;
}
.summary-body li {
  margin: 5px 0;
}
.summary-body h4 {
  margin: 14px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.25;
}
.summary-body strong {
  color: #172019;
}
.summary-body code {
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f5faf2;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}
.summary-body a {
  color: var(--front-editorial-link);
  font-weight: 650;
  text-decoration-color: rgba(127, 42, 45, 0.32);
  text-underline-offset: 3px;
}
.summary-body a:hover {
  color: var(--front-editorial);
  text-decoration-color: currentColor;
}
@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 16px; gap: 12px; }
  .brand { align-items: flex-start; flex-direction: column; gap: 7px; min-width: 0; }
  .brand h1 { font-size: 25px; }
  .actions { width: 100%; }
  .actions > .key-menu, .actions > .button, .actions > form {
    flex: 1 1 120px;
    min-width: 0;
  }
  .actions .button, .actions button { min-width: 0; padding-left: 9px; padding-right: 9px; }
  .key-menu .key-button { width: 100%; }
  .actions form button { width: 100%; }
  .key-panel { right: auto; left: 0; }
  main { padding: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: 1fr; }
  .distribution-panel { align-items: flex-start; flex-direction: column; }
  .admin-panel-head { flex-direction: column; }
  .admin-grid-panel { grid-template-columns: 1fr; }
  .admin-actions, .token-form { justify-content: flex-start; width: 100%; }
  .feed-links { justify-content: flex-start; width: 100%; }
  .feed-link-group { justify-content: flex-start; }
  .metric { min-height: 82px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters input { grid-column: 1 / -1; min-width: 0; width: 100%; }
  .filters button, .filters .button, .filters select { width: 100%; }
  .feed, .feed tbody, .feed tr, .feed td { display: block; width: 100%; }
  .feed thead { display: none; }
  .feed { border: 0; background: transparent; box-shadow: none; }
  .feed tr {
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
    padding: 13px;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(23, 32, 42, 0.06);
  }
  .feed td { border: 0; padding: 4px 0; }
  .daily-summary-head { align-items: flex-start; flex-direction: column; }
  .source-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
  .page-heading { align-items: start; flex-direction: column; }
  .date { font-size: 12px; }
  .lab { padding-bottom: 8px; }
}
@media (max-width: 1040px) and (min-width: 761px) {
  .stats { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
}

/* Editorial front page */
:root {
  --front-paper: #f3f6f0;
  --front-wash: #fbfaf7;
  --front-ink: #191919;
  --front-muted: #5f625d;
  --front-rule: #d2d5ca;
  --front-fine-rule: #e2e3db;
  --front-accent: #1b5a48;
  --front-accent-soft: #dfeee7;
  --front-editorial: #9d2528;
  --front-editorial-link: #7f2a2d;
}
body {
  background: var(--front-paper);
  color: var(--front-ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body::before {
  background:
    linear-gradient(90deg, rgba(25, 25, 25, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(25, 25, 25, 0.016) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.38;
}
.top-rule {
  height: 4px;
  background: var(--front-ink);
}
.shell {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
  position: relative;
}
.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--front-rule);
}
.masthead .brand {
  display: block;
  min-width: 0;
}
.masthead .brand h1 {
  margin: 0;
  color: var(--front-editorial);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.masthead .last-updated {
  display: inline-block;
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: var(--front-muted);
  padding: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3px;
}
.nav a,
.nav button,
.nav .key-button {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--front-rule);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 22px;
  min-height: 0;
  font: inherit;
  line-height: 1;
  color: var(--front-ink);
  cursor: pointer;
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  border-radius: 0;
  box-shadow: none;
}
.nav a:first-child { border-left: 0; }
.nav a.newsletter-nav {
  color: var(--front-editorial);
  font-weight: 900;
}
.nav a:hover,
.nav button:hover,
.nav .key-button:hover {
  color: var(--front-accent);
  box-shadow: none;
}
.nav form { margin: 0; }
.nav .key-menu { display: inline-flex; }
.nav .button-icon { display: none; }
.editorial-main {
  padding: 0 0 42px;
  max-width: none;
}
.synthesis {
  border: 1px solid var(--front-rule);
  background: rgba(251, 250, 247, 0.35);
  margin: 40px 0 34px;
  padding: clamp(28px, 4vw, 42px);
}
.kicker,
.front-section-title h2,
.feed-column h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.synthesis-header {
  margin-bottom: 26px;
}
.synthesis-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 48px;
  align-items: start;
}
.synthesis h2 {
  margin: 0;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.coverage-stamp {
  min-width: 170px;
  text-align: right;
  padding-top: 8px;
}
.stamp {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--front-rule);
  border-radius: 50%;
  margin-bottom: 12px;
  color: var(--front-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}
.coverage-stamp time,
.coverage-stamp span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.7;
}
.coverage-stamp .meta-label {
  color: var(--front-accent);
  letter-spacing: 0.18em;
}
.synthesis-body {
  max-width: 980px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--front-fine-rule);
  color: #383834;
}
.synthesis-body p {
  max-width: 900px;
  margin: 0 0 18px;
  color: #282826;
  font-size: 18px;
  line-height: 1.65;
}
.synthesis-body h4 {
  margin: 28px 0 10px;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.synthesis-body li {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.56;
}
.status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--front-rule);
  border-bottom: 1px solid var(--front-rule);
  margin: 0 0 34px;
}
.front-metric {
  padding: 16px 18px;
  border-left: 1px solid var(--front-rule);
  min-height: 78px;
}
.front-metric:first-child { border-left: 0; }
.front-metric b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.front-metric span {
  display: block;
  margin-top: 8px;
  color: var(--front-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.front-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--front-rule);
  margin: 0 0 30px;
  background: transparent;
  box-shadow: none;
}
.front-filters select,
.front-filters input,
.front-filters button,
.front-filters .button,
.front-section-title .button,
.feed-more {
  min-height: 38px;
  border: 1px solid var(--front-rule);
  border-radius: 0;
  background: rgba(251, 250, 247, 0.42);
  color: var(--front-ink);
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
}
.front-filters input {
  min-width: 250px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
}
.front-filters button:hover,
.front-filters .button:hover,
.front-section-title .button:hover,
.feed-more:hover {
  border-color: var(--front-ink);
  background: var(--front-ink);
  color: var(--front-paper);
  box-shadow: none;
}
.front-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}
.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-bottom: 44px;
}
.update-grid.is-loading {
  opacity: 0.58;
}
.feed-column {
  border-left: 1px solid var(--front-rule);
  padding-left: 44px;
}
.feed-column:first-child {
  border-left: 0;
  padding-left: 0;
}
.feed-column h3 {
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--front-rule);
}
.feed-entry {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  margin: 0 0 18px;
  height: 330px;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--front-rule);
  background: transparent;
  overflow: hidden;
  scroll-margin-top: 120px;
}
.feed-entry[hidden] {
  display: none;
}
.feed-entry:target {
  background: #fff8df;
  box-shadow: 4px 0 0 var(--focus) inset;
}
.feed-entry .lab-logo {
  width: 44px;
  height: 44px;
  background: rgba(251, 250, 247, 0.82);
}
.feed-entry .lab-logo svg {
  width: 24px;
  height: 24px;
}
.entry-mark time {
  display: block;
  margin-top: 7px;
  color: var(--front-ink);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.entry-copy {
  display: grid;
  grid-template-rows: auto minmax(58px, auto) 1fr;
  min-width: 0;
  min-height: 0;
}
.entry-copy h4 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.entry-copy h4 a {
  text-decoration: none;
}
.entry-copy h4 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.entry-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  min-height: 0;
  margin: 0;
  color: var(--front-muted);
  font-size: 14px;
  line-height: 1.42;
  max-width: 30em;
}
.entry-meta {
  display: flex;
  align-self: end;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid var(--front-rule);
  padding: 3px 7px;
  color: var(--front-muted);
  background: rgba(251, 250, 247, 0.36);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.pill.primary {
  border-color: #b7d4c5;
  background: var(--front-accent-soft);
  color: var(--front-accent);
}
.feed-more {
  width: 100%;
  justify-content: center;
  margin: -8px 0 38px;
}
.front-empty {
  grid-column: 1 / -1;
}
.column-empty {
  padding: 18px;
}
.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin: 18px 0 42px;
  padding: 28px 0;
  border-top: 1px solid var(--front-rule);
  border-bottom: 1px solid var(--front-rule);
}
.newsletter-panel.standalone {
  grid-template-columns: 1fr;
  align-items: start;
  margin: 0;
  padding: 44px 0;
}
.newsletter-panel h2 {
  margin: 9px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 0.95;
  letter-spacing: 0;
}
.newsletter-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--front-muted);
  font-size: 16px;
  line-height: 1.5;
}
.newsletter-note {
  margin-top: 10px !important;
  color: var(--front-accent) !important;
  font-weight: 700;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form .website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.newsletter-form input {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid var(--front-rule);
  border-radius: 0;
  background: rgba(251, 250, 247, 0.52);
  color: var(--front-ink);
  min-height: 45px;
  padding: 0 12px;
  font: inherit;
}
.newsletter-form button {
  min-height: 45px;
  border: 1px solid var(--front-ink);
  border-radius: 0;
  background: var(--front-ink);
  color: var(--front-paper);
  padding: 0 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.newsletter-form button:disabled,
.newsletter-form input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.newsletter-modal[hidden] {
  display: none !important;
}
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
}
.newsletter-backdrop {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.42);
  backdrop-filter: blur(2px);
}
.newsletter-dialog {
  position: relative;
  width: min(560px, 100%);
  border: 1px solid var(--front-ink);
  background: var(--front-paper);
  box-shadow: 0 24px 60px rgba(25, 25, 25, 0.18);
  padding: 28px;
}
.newsletter-dialog h2 {
  margin: 8px 34px 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.96;
  letter-spacing: 0;
}
.newsletter-dialog p {
  margin: 0 0 18px;
  color: var(--front-muted);
  line-height: 1.5;
}
.newsletter-close {
  appearance: none;
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: transparent;
  color: var(--front-ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px;
}
.newsletter-close:hover {
  color: var(--front-editorial);
}
.editorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0;
  border-top: 1px solid var(--front-rule);
  color: var(--front-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.editorial-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.editorial-footer a {
  color: var(--front-ink);
  text-decoration: none;
}
.editorial-footer a:hover {
  color: var(--front-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .shell { width: min(100vw - 32px, 760px); }
  .masthead { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .nav a, .nav button, .nav .key-button { padding: 0 12px; }
  .nav a:first-child { padding-left: 0; }
  .synthesis-title-row { grid-template-columns: 1fr; gap: 22px; }
  .coverage-stamp { text-align: left; padding-top: 0; }
  .summary-card { grid-template-columns: 1fr; gap: 18px; }
  .summary-card .summary-meta {
    display: flex;
    flex-wrap: wrap;
  }
  .status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-metric { border-top: 1px solid var(--front-rule); }
  .front-metric:nth-child(1), .front-metric:nth-child(2) { border-top: 0; }
  .front-metric:nth-child(odd) { border-left: 0; }
  .update-grid { grid-template-columns: 1fr; gap: 30px; }
  .feed-column { border-left: 0; padding-left: 0; }
  .feed-entry { height: auto; min-height: 0; overflow: visible; }
  .front-filters input { flex: 1 1 100%; min-width: 0; }
  .newsletter-panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 540px) {
  .shell { width: min(100vw - 24px, 420px); }
  .masthead .brand h1 { font-size: 42px; }
  .synthesis { padding: 22px; }
  .synthesis h2 { font-size: 35px; }
  .synthesis-body p { font-size: 16px; }
  .status-strip { grid-template-columns: 1fr; }
  .front-metric { border-left: 0; }
  .feed-entry { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .entry-copy h4 { font-size: 20px; }
  .newsletter-form { flex-direction: column; }
  .editorial-footer { flex-direction: column; align-items: flex-start; }
}
