﻿:root {
  --paper: #fdf9f5;
  --paper-deep: #f4eee8;
  --ink: #1a140d;
  --ink-soft: #564b3d;
  --muted: #9b8e7c;
  --rule: #1a140d;
  --hair: #e6d8c6;
  --accent: #d8412a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.6;
}

::selection {
  background: rgba(216, 65, 42, 0.18);
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

.compass-lines {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  width: 100vw;
  height: 100vh;
  overflow: visible;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.compass-line {
  fill: none;
  stroke: rgba(216, 65, 42, 0.52);
  stroke-linecap: round;
  stroke-width: 0.72;
  vector-effect: non-scaling-stroke;
}

.compass-line-shadow {
  fill: none;
  stroke: rgba(216, 65, 42, 0.13);
  stroke-linecap: round;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.compass-origin {
  fill: var(--accent);
  opacity: 0.58;
}

.wrap {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 120px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 24px 0 22px;
}

.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  width: 100%;
}

.rail-foot {
  display: flex;
  align-items: stretch;
  gap: 14px 28px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(210px, 28vw, 360px);
  max-width: 100%;
  height: auto;
}

.brand h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 4.4vw, 82px);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.controls {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  border: 1px solid var(--rule);
  min-height: 70px;
}

.controls > * + * {
  border-left: 1px solid var(--hair);
}

.ctl-btn,
.dd > .trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 27px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.15s;
  text-decoration: none;
}

.ctl-btn:hover,
.dd > .trigger:hover {
  color: var(--accent);
}

.issue-now {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  padding: 0;
}

.issue-now .no {
  max-width: 150px;
  overflow: hidden;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.issue-now .dt {
  font-family: "Neuton", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  white-space: nowrap;
}

.article-total {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar.shrunk .topbar-inner {
  padding: 10px 0;
}

.topbar.shrunk .brand h1 {
  font-size: 28px;
  line-height: 0.86;
}

.topbar.shrunk .brand img {
  width: 170px;
}

.topbar.shrunk .controls {
  min-height: 48px;
}

.topbar.shrunk .ctl-btn,
.topbar.shrunk .dd > .trigger {
  padding: 0 15px;
  font-size: 11px;
}

.topbar.shrunk .issue-now .dt {
  font-size: 18px;
}

.dd {
  position: relative;
  display: flex;
}

.controls > * + * {
  border-left: 1px solid var(--hair);
}

.fbadge {
  color: var(--accent);
  font-weight: 800;
}

.dd.open > .trigger {
  background: var(--ink);
  color: var(--paper);
}

.dd.open > .trigger .fbadge {
  color: var(--paper);
}

.panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  display: none;
  min-width: 316px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  border: 2px solid var(--rule);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(26, 20, 13, 0.12);
}

.rail-sets {
  display: none;
}

.dd.open .panel {
  display: block;
}

.filter-panel {
  width: min(560px, calc(100vw - 44px));
}

.archive-panel {
  width: 360px;
}

.archive-panel .iopt {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  text-align: left;
  transition: 0.12s;
}

.archive-panel .iopt:last-child {
  border-bottom: 0;
}

.archive-panel .iopt:hover {
  background: var(--paper-deep);
}

.archive-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.archive-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.archive-check .box {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1.5px solid var(--muted);
}

.archive-check input:checked + .box {
  border-color: var(--accent);
  background: var(--accent);
}

.archive-date {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.archive-count {
  margin-left: auto;
  color: var(--muted);
}

.archive-panel .iopt .l {
  display: block;
  font-family: "Neuton", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.18;
}

.archive-date-text {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fg {
  padding: 15px 20px;
  border-bottom: 1px solid var(--hair);
}

.fg > .lab {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fg.inline {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.fg.inline > .lab {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.inline-opts {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.inline-opts button,
.pfoot button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.inline-opts button {
  color: var(--muted);
  font-family: "Neuton", Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.inline-opts button[aria-pressed="true"] {
  color: var(--accent);
}

.filter-top {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--hair);
}

.filter-top .fg {
  border-bottom: 1px solid var(--hair);
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px 13px;
}

.filter-summary .c,
.filter-summary button {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-summary button {
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  cursor: pointer;
}

.opt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: "Neuton", Georgia, serif;
  font-size: 17px;
  text-align: left;
}

.opt-row:hover,
.opt-row[aria-pressed="true"] {
  color: var(--ink);
}

.opt-row .box {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1.5px solid var(--muted);
}

.opt-row[aria-pressed="true"] .box {
  border-color: var(--accent);
  background: var(--accent);
}

.opt-row .rt {
  margin-left: auto;
  color: var(--muted);
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.pfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-top: 2px solid var(--rule);
  background: var(--paper-deep);
}

.pfoot .c,
.pfoot a,
.pfoot button {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pfoot a,
.pfoot button {
  color: var(--accent);
  text-decoration: none;
}

.source-fg {
  padding-bottom: 0;
}

.source-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hair);
}

.source-tools input,
.search-line input,
.details-panel select {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  padding: 9px 10px;
}

.source-actions {
  display: flex;
  gap: 6px;
}

.source-actions button {
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 10px;
  text-transform: uppercase;
}

.source-scroll {
  max-height: min(42vh, 500px);
  overflow: auto;
  margin: 0 -20px;
}

.source-opt {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
}

.source-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.source-opt > .box {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  border: 1.5px solid var(--muted);
}

.source-opt input:checked + .box {
  border-color: var(--accent);
  background: var(--accent);
}

.source-opt:has(input:disabled) {
  opacity: 0.5;
}

.source-copy {
  min-width: 0;
}

.source-title {
  display: block;
  font-family: "Neuton", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.source-meta,
.source-latest {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.source-latest {
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
}

.source-detail-link {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.listhead {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 36px;
  padding: 14px 0 6px;
}

.search-line {
  display: grid;
  grid-template-columns: auto minmax(220px, 390px);
  gap: 12px;
  align-items: center;
}

.search-line span,
.listhead-meta,
.clearall {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-line span,
.listhead-meta {
  color: var(--muted);
}

.listhead-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clearall {
  border: none;
  background: none;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.clearall.show {
  opacity: 1;
  pointer-events: auto;
}

.list {
  padding-bottom: 96px;
}

.entry {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 0;
  transition: background-color 0.16s ease;
}

.entry + .entry {
  margin-top: 18px;
}

.entry.active {
  background: rgba(216, 65, 42, 0.05);
  box-shadow: inset 3px 0 0 var(--accent);
}

.e-num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.e-num .fig {
  color: var(--accent);
  font-family: "Anton", Impact, sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.74;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 5px 11px;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.pdf-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.e-body {
  min-width: 0;
  max-width: 68ch;
}

.e-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.e-body h2 {
  margin: -0.08em 0 0;
  font-family: "Neuton", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
}

.e-body h2 a {
  color: var(--ink);
  text-decoration: none;
}

.e-body h2 a:hover,
.entry-links a:hover {
  color: var(--accent);
}

.byline {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
}

.sourceline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  margin: 9px 0 0;
}

.sourceline .source-links {
  flex: 0 1 auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.sourceline .jrnl {
  color: var(--accent);
  text-decoration: none;
}

.sourceline .jrnl:hover {
  color: var(--ink);
}

.source-sep {
  color: var(--muted);
}

.sourceline .cats {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sourceline .cats::before {
  content: "|";
  margin-right: 12px;
  color: var(--muted);
}

.note {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-links a {
  color: var(--accent);
  text-decoration: none;
}

.version-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty {
  padding: 70px 0;
  color: var(--muted);
  font-family: "Neuton", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  text-align: center;
}

.empty.compact {
  padding: 26px 16px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 20, 13, 0.42);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 84vh;
  overflow: auto;
  padding: 46px 48px 40px;
  border: 2px solid var(--rule);
  background: var(--paper);
  box-shadow: 14px 14px 0 rgba(26, 20, 13, 0.14);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: "Neuton", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal h2 {
  margin: 0 0 18px;
  font-family: "Neuton", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.modal-body {
  padding-left: 18px;
  border-left: 1px solid var(--hair);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.modal-body p {
  margin: 0 0 14px;
}

.chooser-modal {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  max-height: 84vh;
  overflow: clip;
  padding: 42px 44px 0;
}

.chooser-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  margin: 0 -44px;
  padding: 0 44px 34px;
  border-left: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
}

.chooser-body .archive-panel,
.chooser-body .filter-panel {
  width: 100%;
  min-width: 0;
}

.chooser-body .source-scroll {
  max-height: none;
  overflow: visible;
}

.details-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 48px 64px;
}

.details-panel {
  border-top: 2px solid var(--rule);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}

.panel-heading h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}

.details-panel select {
  width: min(460px, 100%);
}

.details-body {
  padding-top: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.detail-metric {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--white);
}

.detail-metric span {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-metric label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-section {
  padding: 20px 0;
  border-top: 1px solid var(--hair);
}

.detail-section h2 {
  margin: 0 0 10px;
  font-family: "Neuton", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.detail-section p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.detail-list {
  margin: 0;
  padding-left: 20px;
}

.detail-list li {
  margin-bottom: 6px;
}

.coordinate-list {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.coordinate-list dt {
  color: var(--muted);
  font-weight: 800;
}

.coordinate-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.coordinate-list a,
.audit-title a,
.watch-item a {
  color: var(--accent);
}

.watch-list {
  display: grid;
  gap: 10px;
}

.watch-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--white);
}

.watch-item p,
.watch-date,
.audit-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.badge,
.status {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hair);
  background: var(--white);
  color: var(--ink-soft);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status.ok,
.status.success {
  border-color: rgba(216, 65, 42, 0.35);
  color: var(--accent);
}

.status.error,
.status.partial,
.status.interrupted {
  border-color: var(--accent);
  color: var(--accent);
}

.source-audit-list {
  border: 1px solid var(--rule);
}

.audit-item {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hair);
  background: var(--white);
}

.audit-item:last-child {
  border-bottom: 0;
}

.audit-title {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.audit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

@media (max-width: 1280px) {
  .wrap {
    padding-left: 48px;
    padding-right: 48px;
  }

  .topbar-inner {
    gap: 14px 20px;
  }

  .controls {
    min-height: 56px;
  }

  .ctl-btn,
  .dd > .trigger {
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .issue-now {
    gap: 8px;
    padding: 0 14px;
  }

  .issue-now .no {
    font-size: 10px;
  }

  .issue-now .dt {
    font-size: 18px;
  }
}

@media (min-width: 961px) {
  .compass-lines {
    display: block;
  }

  body {
    display: grid;
    grid-template-columns:
      minmax(220px, 20vw)
      minmax(80px, 10vw)
      minmax(0, min(60vw, 920px))
      minmax(80px, 1fr);
    align-items: start;
  }

  .topbar {
    position: sticky;
    top: 0;
    grid-column: 1;
    align-self: start;
    min-height: 100vh;
    border-bottom: 0;
  }

  .topbar-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    gap: 28px;
    overflow-y: auto;
    padding: 20px 28px 32px;
  }

  .rail-head {
    display: grid;
    width: 100%;
    gap: 5.18px;
  }

  .rail-foot {
    display: grid;
    width: 100%;
    gap: 26px;
    margin-top: auto;
  }

  .topbar .wrap {
    max-width: none;
    margin: 0;
  }

  .brand {
    width: 100%;
  }

  .brand img,
  .topbar.shrunk .brand img {
    width: 220px;
    max-width: 100%;
    transform: translateX(-6.984px);
  }

  .controls,
  .topbar.shrunk .controls {
    width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border: 0;
  }

  .controls > * + * {
    border-left: 0;
  }

  .issue-now {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .issue-now .no {
    max-width: 100%;
  }

  .issue-now .dt,
  .topbar.shrunk .issue-now .dt {
    white-space: normal;
    font-size: 22px;
    line-height: 1.1;
  }

  .ctl-btn,
  .dd > .trigger,
  .topbar.shrunk .ctl-btn,
  .topbar.shrunk .dd > .trigger {
    min-height: 30px;
    justify-content: flex-start;
    padding: 0;
    font-size: 14px;
  }

  .dd {
    display: block;
    width: 100%;
  }

  .dd.open > .trigger {
    background: transparent;
    color: var(--accent);
  }

  .dd.open > .trigger .fbadge {
    color: var(--accent);
  }

  .panel {
    right: auto;
    left: 0;
    top: calc(100% + 8px);
    max-height: min(70vh, 720px);
  }

  .archive-panel {
    width: min(380px, calc(100vw - 32px));
  }

  .filter-panel {
    width: min(560px, calc(100vw - 32px));
  }

  .rail-sets {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 0;
    padding-top: 0;
  }

  .rail-sets-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .rail-set {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .rail-set input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .rail-set .box {
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--muted);
  }

  .rail-set input:checked + .box {
    border-color: var(--accent);
    background: var(--accent);
  }

  .rail-set:hover {
    color: var(--ink);
  }

  body > .wrap {
    position: relative;
    grid-column: 3;
    width: 100%;
    max-width: 920px;
    margin: 0;
    padding: 112px 0 0;
  }

  .details-shell {
    grid-column: 3;
    width: 100%;
    max-width: 920px;
    margin: 0;
    padding: 112px 0 80px;
  }

  .topbar.shrunk .topbar-inner {
    padding: 20px 28px 32px;
  }

  .list {
    padding-bottom: 110px;
  }

  .listhead {
    min-height: 0;
    height: 0;
    padding: 0;
  }

  .clearall {
    position: absolute;
    top: -36px;
    right: 0;
  }

  .entry {
    padding: 0 0 42px;
  }

  .entry:hover {
    background: rgba(26, 20, 13, 0.035);
  }

  .e-body h2 {
    margin-top: 0;
  }

  .entry + .entry {
    margin-top: 22px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .wrap,
  .details-shell {
    padding-left: 22px;
    padding-right: 22px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .rail-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .rail-foot {
    display: block;
    width: 100%;
  }

  .controls {
    align-self: stretch;
    flex-wrap: wrap;
    width: 100%;
    overflow: visible;
  }

  .controls > * {
    min-width: 0;
  }

  .controls > * + * {
    border-left: 1px solid var(--hair);
  }

  .ctl-btn,
  .dd {
    flex: 1 1 0;
  }

  .ctl-btn,
  .dd > .trigger {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    gap: 5px;
    padding: 0 5px;
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .issue-now .dt {
    font-size: 20px;
  }

  .brand img {
    width: min(72vw, 260px);
  }

  .panel {
    right: auto;
    left: 0;
    width: min(100vw - 44px, 420px);
  }

  .listhead,
  .search-line,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search-line {
    display: flex;
  }

  .source-tools {
    grid-template-columns: 1fr;
  }

  .source-actions {
    min-height: 36px;
  }

  .source-opt {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .source-detail-link {
    grid-column: 2;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .e-num {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .e-num .fig {
    font-size: 48px;
  }

  .e-body h2 {
    font-size: 25px;
  }

  .sourceline .cats::before {
    content: "";
    margin-right: 0;
  }

  .detail-grid,
  .watch-item,
  .coordinate-list {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 40px 26px 30px;
  }
}

@media (min-width: 561px) and (max-width: 760px) {
  .entry {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 0 24px;
  }

  .e-num {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .e-num .fig {
    font-size: 64px;
    line-height: 0.74;
  }

  .e-body h2 {
    font-size: 30px;
  }
}

/* D1 homepage design */
:root {
  --paper: #fbf9f4;
  --paper-deep: #f3eee4;
  --ink: #1e1b16;
  --ink-soft: #5e5747;
  --muted: #9a917f;
  --rule: #e8e2d3;
  --hair: #e8e2d3;
  --accent: #c73a1d;
  --white: #ffffff;
  --grot: "IBM Plex Sans", sans-serif;
  --serif: "Literata", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
}

body {
  display: block;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  max-width: 1320px;
  margin: 0 auto;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: fit-content;
  padding: 72px 0 72px 32px;
}

.wordmark {
  display: block;
  width: fit-content;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
  color: var(--ink);
  font-family: var(--grot);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-decoration: none;
}

.wordmark span {
  display: block;
}

.issue {
  margin: 26px 0 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2;
}

.issue span {
  display: block;
}

.issue #issueNo {
  color: var(--accent);
  font-weight: 500;
}

.railnav {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
}

.railnav a,
.railnav button {
  display: block;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
  text-transform: none;
}

.railnav a:hover,
.railnav button:hover {
  color: var(--accent);
  text-decoration: none;
}

.fbadge {
  color: var(--accent);
}

.tagline {
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.95;
}

.tagline span {
  display: block;
}

.rail-types {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
}

.fields {
  display: block;
  margin-top: 14px;
}

.rail-type {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.rail-type input {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: var(--accent);
}

.rail-type.on {
  color: var(--accent);
}

.rail-type.off {
  color: var(--muted);
}

.field {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.95;
  text-align: left;
}

.field.on {
  color: var(--accent);
}

.field.off {
  color: var(--muted);
}

.field:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.read {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 40px 120px;
}

.entry {
  position: relative;
  display: block;
  margin: 0 0 104px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.entry:hover,
.entry.active {
  background: transparent;
  box-shadow: none;
}

.hang {
  position: absolute;
  top: 8px;
  left: -86px;
  width: 58px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.margin-note {
  position: absolute;
  top: 10px;
  right: -196px;
  width: 168px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.9;
}

.margin-note .v,
.margin-note .jrnl,
.inline-meta .jrnl {
  color: var(--ink);
}

.margin-note a,
.inline-meta a {
  display: inline-block;
  margin-top: 8px;
}

.read h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 29px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.26;
}

.read h2 a {
  color: inherit;
}

.read h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.authors {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 17px;
  font-style: italic;
}

.summary {
  margin: 0;
  color: #2c2820;
}

.inline-meta {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  text-transform: lowercase;
}

.version-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
}

.empty {
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 27, 22, 0.45);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(580px, 92vw);
  max-height: 86vh;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--ink);
  border-top: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.chooser-modal {
  display: flex;
  flex-direction: column;
  width: min(680px, 92vw);
  max-width: 680px;
  max-height: 86vh;
  overflow: clip;
  padding: 0;
}

.dlg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 32px 0;
}

.modal h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--grot);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.modal-close {
  position: static;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  padding: 18px 32px 30px;
  border-left: 0;
  color: #2c2820;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.7;
}

.modal-body p {
  margin: 0;
}

.modal-body p + p {
  margin-top: 14px;
}

.chooser-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  margin: 0;
  padding: 18px 32px 30px;
  border-left: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.archive-panel,
.filter-panel {
  width: 100%;
}

.archive-panel .iopt {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 16px 2px;
  border-top: 1px solid var(--rule);
  border-bottom: 0;
}

.archive-panel .iopt:last-child {
  border-bottom: 1px solid var(--rule);
}

.archive-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.archive-check input,
.source-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.archive-check .box,
.opt-row .box,
.source-opt > .box {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1px solid var(--muted);
}

.archive-check input:checked + .box,
.opt-row[aria-pressed="true"] .box,
.source-opt input:checked + .box {
  border-color: var(--accent);
  background: var(--accent);
}

.archive-date {
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.archive-date:hover .archive-date-text,
.archive-date:hover .l {
  color: var(--accent);
}

.archive-panel .iopt .l {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.archive-date-text {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.archive-panel .latest .archive-date-text::after {
  content: "Current";
  display: inline-block;
  margin-left: 12px;
  padding: 1px 7px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.4;
  vertical-align: 2px;
}

.archive-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.filter-top {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.fg {
  padding: 16px 2px;
  border-bottom: 1px solid var(--rule);
}

.fg > .lab {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.inline-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.inline-opts button,
.filter-summary button,
.source-actions button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
}

.inline-opts button[aria-pressed="true"] {
  color: var(--accent);
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 2px 16px;
  border-bottom: 1px solid var(--rule);
}

.filter-summary .c,
.filter-summary button {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.filter-summary button {
  color: var(--accent);
}

.opt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
  text-align: left;
}

.opt-row:hover,
.opt-row[aria-pressed="true"] {
  color: var(--accent);
}

.opt-row .rt {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
}

.source-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--rule);
}

.source-tools input,
.search-line input,
.details-panel select {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.source-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.source-scroll {
  max-height: none;
  overflow: visible;
  margin: 0;
}

.source-opt {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.source-title {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
}

.source-meta,
.source-latest,
.source-detail-link {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.source-detail-link {
  color: var(--accent);
}

.clearall {
  display: none;
}

@media (max-width: 1240px) {
  .margin-note {
    display: none;
  }

  .inline-meta {
    display: block;
  }
}

@media (max-width: 1020px) {
  .hang {
    position: static;
    width: auto;
    margin-bottom: 8px;
    text-align: left;
  }
}

@media (max-width: 880px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--ink);
  }

  .wordmark {
    padding-top: 10px;
    border-top-width: 2px;
    font-size: 21px;
  }

  .wordmark span {
    display: inline;
  }

  .wordmark span + span {
    margin-left: 6px;
  }

  .issue {
    margin-top: 10px;
    line-height: 1.7;
  }

  .issue span {
    display: inline;
  }

  .issue span + span::before,
  .tagline span + span::before {
    content: " - ";
    color: var(--muted);
  }

  .railnav {
    margin-top: 12px;
    line-height: 2;
  }

  .railnav a,
  .railnav button {
    display: inline-block;
    margin-right: 18px;
  }

  .tagline {
    margin-top: 14px;
    padding-top: 12px;
    line-height: 1.8;
  }

  .tagline span {
    display: inline;
  }

  .fields {
    display: inline;
    margin-top: 6px;
  }

  .field {
    display: inline-block;
    margin-right: 14px;
  }

  .read {
    padding: 48px 24px 80px;
  }

  .entry {
    margin-bottom: 64px;
  }

  .read h2 {
    font-size: 23px;
  }

  .modal-overlay {
    padding: 18px;
  }

  .dlg-head,
  .modal-body,
  .chooser-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .source-tools {
    grid-template-columns: 1fr;
  }

  .source-opt {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .source-detail-link {
    grid-column: 2;
  }
}

/* D1 details page */
.details-page .issue span:first-child {
  color: var(--accent);
  font-weight: 500;
}

.details-page .details-layout {
  grid-template-columns: 250px minmax(0, 1fr);
}

.details-read {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 40px 120px;
}

.details-page .details-panel {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.details-page .panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 0 0 34px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--ink);
}

.details-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}

.details-page .panel-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.12;
}

.details-page .details-panel select {
  width: min(340px, 100%);
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}

.details-page .details-body {
  color: #2c2820;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.68;
}

.details-page .detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0 0 36px;
}

.details-page .detail-metric {
  padding: 13px 0 15px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.details-page .detail-metric span {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.details-page .detail-metric label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.details-page .detail-section {
  margin: 34px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}

.details-page .detail-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.006em;
  line-height: 1.2;
}

.details-page .detail-section p {
  margin: 0;
  color: #2c2820;
}

.details-page .detail-section p + p {
  margin-top: 12px;
}

.details-page .detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-page .detail-list li {
  position: relative;
  padding-left: 18px;
}

.details-page .detail-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.details-page .coordinate-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
}

.details-page .coordinate-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.details-page .coordinate-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.details-page .watch-list,
.details-page .source-audit-list {
  display: grid;
  gap: 0;
}

.details-page .watch-item,
.details-page .audit-item {
  display: grid;
  gap: 6px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.details-page .watch-item {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
}

.details-page .watch-item p,
.details-page .audit-meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
}

.details-page .audit-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
}

.details-page .audit-title a {
  color: var(--ink);
}

.details-page .audit-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.details-page .audit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}

.details-page .badge {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
}

.details-page .badge.off {
  border-color: var(--muted);
  color: var(--muted);
}

.details-page .watch-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

/* Source catalog */
.source-list-heading {
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--ink);
}

.source-list-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.05;
}

.source-list-body {
  color: #2c2820;
  font-family: var(--serif);
}

.source-list-intro {
  max-width: 760px;
  margin: 0 0 54px;
  font-size: 21px;
  line-height: 1.58;
}

.source-list-group {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--rule);
}

.source-list-group h2 {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.source-list-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list-group li {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 880px) {
  .details-page .details-layout {
    grid-template-columns: 1fr;
  }

  .details-read {
    padding: 44px 24px 80px;
  }

  .details-page .panel-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .details-page .detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .details-page .coordinate-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .details-page .watch-item {
    grid-template-columns: 1fr;
  }

  .details-page .watch-date {
    white-space: normal;
  }

  .source-list-intro {
    margin-bottom: 38px;
    font-size: 19px;
  }

  .source-list-group {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0 28px;
  }
}

