:root {
  --paper: #f3f5f2;
  --sheet: #ffffff;
  --sheet-subtle: #f9faf8;
  --ink: #1f2521;
  --ink-secondary: #4f5b54;
  --ink-muted: #6f7c74;
  --line: rgba(31, 37, 33, 0.14);
  --line-soft: rgba(31, 37, 33, 0.08);
  --control: #e9ede8;
  --control-hover: #e3e8e2;
  --seal: #923942;
  --seal-strong: #762a32;
  --seal-soft: #f7eaec;
  --action: #923942;
  --action-hover: #762a32;
  --verified: #176c57;
  --verified-soft: #e6f2ed;
  --warning: #8a5a12;
  --warning-soft: #f8efd9;
  --danger: #8d343b;
  --danger-soft: #f8e9ea;
  --link: #285969;
  --focus: rgba(40, 89, 105, 0.22);
  --radius-control: 5px;
  --radius-panel: 8px;
  --rail-width: 236px;
  color-scheme: light;
  font-family: Aptos, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] {
  --paper: #101412;
  --sheet: #171c19;
  --sheet-subtle: #141916;
  --ink: #edf1ee;
  --ink-secondary: #bac4bd;
  --ink-muted: #929e96;
  --line: rgba(237, 241, 238, 0.13);
  --line-soft: rgba(237, 241, 238, 0.075);
  --control: #0d110f;
  --control-hover: #202722;
  --seal: #c4747b;
  --seal-strong: #d88b91;
  --seal-soft: #342125;
  --action: #963b45;
  --action-hover: #7d3038;
  --verified: #69bea4;
  --verified-soft: #19382f;
  --warning: #dfad59;
  --warning-soft: #3b2e18;
  --danger: #e38b91;
  --danger-soft: #402529;
  --link: #82b9c9;
  --focus: rgba(130, 185, 201, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
}

button, input, select { font: inherit; letter-spacing: 0; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:disabled { cursor: not-allowed; opacity: 0.55; }

.app-shell {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  min-height: 100dvh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border: 1px solid color-mix(in srgb, var(--seal) 42%, transparent);
  border-radius: var(--radius-control);
  background: var(--seal-soft);
  color: var(--seal);
  font: 600 13px/1 Bahnschrift, "Arial Narrow", sans-serif;
}

.brand-copy { min-width: 0; display: grid; gap: 2px; }
.brand-copy strong { font: 600 14px/1.2 Bahnschrift, "Arial Narrow", sans-serif; }
.brand-copy small { color: var(--ink-muted); font-size: 11px; }

.rail-nav { display: grid; gap: 4px; margin-top: 36px; }

.nav-item {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms cubic-bezier(0.23, 1, 0.32, 1), color 140ms cubic-bezier(0.23, 1, 0.32, 1), border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-item:hover { background: var(--control); color: var(--ink); }
.nav-item:active { transform: scale(0.98); }
.nav-item:focus-visible,
.icon-button:focus-visible,
.row-action:focus-visible,
.primary-button:focus-visible,
.system-notice button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.nav-item.is-active { border-color: var(--line); background: var(--sheet); color: var(--ink); font-weight: 600; }
.nav-subscribe { margin-top: 12px; color: var(--seal); }

.nav-count {
  min-width: 28px;
  padding: 2px 6px;
  border-radius: var(--radius-control);
  background: var(--control);
  color: var(--ink-muted);
  font-size: 11px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.rail-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-size: 11px;
}

.system-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verified); }

.workspace { min-width: 0; padding: 28px 32px 48px; }

.system-notice {
  max-width: 1480px;
  min-height: 56px;
  margin: 0 auto 16px;
  padding: 10px 10px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid color-mix(in srgb, var(--verified) 35%, var(--line));
  border-radius: var(--radius-panel);
  background: var(--verified-soft);
  color: var(--verified);
}
.system-notice[hidden] { display: none; }
.system-notice[data-tone="error"] { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); background: var(--danger-soft); color: var(--danger); }
.system-notice > div { display: grid; gap: 2px; }
.system-notice strong { font-size: 12px; }
.system-notice span { font-size: 11px; }
.system-notice button { width: 40px; height: 40px; border: 0; border-radius: var(--radius-control); background: transparent; color: currentColor; cursor: pointer; font-size: 18px; }

.workspace-head {
  max-width: 1480px;
  margin: 0 auto 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--ink-muted);
  font: 600 10px/1.2 Bahnschrift, "Arial Narrow", sans-serif;
  letter-spacing: 0;
}

h1, h2 {
  margin: 0;
  color: var(--ink);
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { font-size: 28px; line-height: 1.15; font-weight: 600; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 600; }
p { text-wrap: pretty; }

.head-actions { display: flex; align-items: center; gap: 8px; }
.sync-status { margin-right: 4px; color: var(--ink-muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--sheet);
  color: var(--ink-secondary);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1), color 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.icon-button:hover { border-color: color-mix(in srgb, var(--link) 48%, transparent); background: var(--control); color: var(--link); }
.icon-button:active { transform: scale(0.97); }

.stat-strip {
  max-width: 1480px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--sheet);
}

.stat-cell {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px 20px;
  border-left: 1px solid var(--line-soft);
}
.stat-cell:first-child { border-left: 0; }
.stat-primary { box-shadow: inset 3px 0 0 var(--seal); }
.stat-label { color: var(--ink-muted); font-size: 11px; font-weight: 600; }
.stat-value { color: var(--ink); font: 600 27px/1 Bahnschrift, "Arial Narrow", sans-serif; font-variant-numeric: tabular-nums; }
.stat-note { color: var(--ink-secondary); font-size: 11px; }

.view { max-width: 1480px; margin: 0 auto; }
.view[hidden] { display: none; }

.toolbar {
  min-height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: var(--sheet);
}

.field-label {
  display: block;
  margin: 0 0 5px 2px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
}
.search-field { flex: 1; min-width: 180px; }
.select-field { width: 220px; }
.search-field input, .select-field select, .form-field input, .form-field select {
  width: 100%;
  height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--control);
  color: var(--ink);
  outline: none;
}
.search-field input, .form-field input { padding: 0 12px; }
.select-field select, .form-field select { padding: 0 34px 0 10px; cursor: pointer; }
.search-field input:hover, .select-field select:hover, .form-field input:hover, .form-field select:hover { background: var(--control-hover); }
.search-field input:focus, .select-field select:focus, .form-field input:focus, .form-field select:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 3px var(--focus);
}
input::placeholder { color: var(--ink-muted); opacity: 1; }
.result-count { margin-left: auto; padding: 0 8px 11px; color: var(--ink-muted); font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.table-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  background: var(--sheet);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
th { height: 38px; background: var(--sheet-subtle); color: var(--ink-muted); font-size: 10px; font-weight: 600; }
td { min-height: 52px; color: var(--ink-secondary); font-size: 12px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--sheet-subtle); }
.coverage-table th:nth-child(1) { width: 34%; }
.coverage-table th:nth-child(2) { width: 15%; }
.coverage-table th:nth-child(3) { width: 13%; }
.coverage-table th:nth-child(4) { width: 22%; }
.coverage-table th:nth-child(5) { width: 9%; }
.coverage-table th:nth-child(6) { width: 52px; }
.source-table th:nth-child(1) { width: 32%; }
.source-table th:nth-child(2) { width: 14%; }
.source-table th:nth-child(3) { width: 28%; }
.source-table th:nth-child(4) { width: 19%; }
.source-table th:nth-child(5) { width: 7%; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }

.institution-name, .source-scope { display: grid; gap: 3px; min-width: 0; }
.institution-name strong, .source-scope strong { color: var(--ink); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.institution-name a, .source-scope a { color: var(--link); font-size: 10px; text-decoration: none; overflow-wrap: anywhere; }
.institution-name a:hover, .source-scope a:hover, .source-url:hover { text-decoration: underline; }
.source-scope span { color: var(--ink-muted); font-size: 10px; overflow-wrap: anywhere; }
.source-scope a { display: none; }
.type-label { color: var(--ink-secondary); font-size: 11px; }

.coverage-cell { display: flex; align-items: center; gap: 10px; }
.coverage-track { width: 96px; height: 5px; border-radius: 3px; background: var(--control); overflow: hidden; }
.coverage-fill { display: block; height: 100%; border-radius: inherit; background: var(--verified); }
.coverage-fill.is-gap { width: 10% !important; background: var(--warning); }
.coverage-text { color: var(--ink-muted); font-size: 10px; white-space: nowrap; }

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: var(--radius-control);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill.is-active { background: var(--verified-soft); color: var(--verified); }
.status-pill.is-warning { background: var(--warning-soft); color: var(--warning); }
.status-pill.is-error { background: var(--danger-soft); color: var(--danger); }

.health-cell { display: grid; justify-items: start; gap: 4px; }
.health-cell small { color: var(--ink-muted); font-size: 9px; }
.row-action {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 20px;
}
.row-action:hover { border-color: var(--line); background: var(--control); color: var(--link); }
.row-action:active { transform: scale(0.97); }
.source-url { display: block; color: var(--link); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.table-state { padding: 28px 16px; color: var(--ink-muted); font-size: 12px; text-align: center; }
.table-state[hidden] { display: none; }
.skeleton-line { width: min(640px, 86%); height: 10px; display: block; margin: 10px auto; border-radius: 3px; background: var(--control); }
.skeleton-line:nth-child(2) { width: min(520px, 72%); }
.skeleton-line:nth-child(3) { width: min(580px, 79%); }
.table-pagination {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px;
  border-top: 1px solid var(--line-soft);
  background: var(--sheet-subtle);
}
.table-pagination[hidden] { display: none; }
.table-pagination span { margin-right: 6px; color: var(--ink-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.table-pagination button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--sheet); color: var(--ink-secondary); cursor: pointer; font-size: 19px; }
.table-pagination button:hover:not(:disabled) { background: var(--control); color: var(--link); }
.table-pagination button:active:not(:disabled) { transform: scale(0.97); }
.table-pagination button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.announcement-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 0 0 var(--radius-panel) var(--radius-panel); background: var(--sheet); }
.announcement-feed { background: var(--sheet); }
.announcement-item { min-height: 78px; display: grid; grid-template-columns: 160px minmax(0, 1fr) 40px; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.announcement-item:last-child { border-bottom: 0; }
.announcement-meta { display: grid; gap: 4px; color: var(--ink-muted); font-size: 10px; }
.announcement-title { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; text-wrap: pretty; }
.announcement-title:hover { color: var(--link); }
.announcement-unit { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 10px; }
.external-arrow { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-muted); font-size: 18px; text-decoration: none; }
.external-arrow:hover { color: var(--link); }
.empty-state { min-height: 240px; display: grid; place-content: center; gap: 6px; padding: 32px; text-align: center; }
.empty-state strong { color: var(--ink); font-size: 14px; }
.empty-state span { color: var(--ink-muted); font-size: 12px; }

.subscription-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--sheet);
}
.subscription-form { padding: 28px; }
.form-intro { max-width: 620px; margin-bottom: 28px; }
.form-intro p { margin: 8px 0 0; color: var(--ink-secondary); font-size: 13px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; align-content: start; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > span, .delivery-field legend { color: var(--ink-secondary); font-size: 11px; font-weight: 600; }
.form-field small { color: var(--ink-muted); font-size: 10px; font-weight: 400; }
.scope-mode-field { margin: 0; padding: 0; border: 0; }
.scope-mode-field legend { margin-bottom: 8px; color: var(--ink-secondary); font-size: 11px; font-weight: 600; }
.scope-mode-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--radius-panel); background: var(--control); }
.scope-mode-control label { position: relative; cursor: pointer; }
.scope-mode-control input { position: absolute; opacity: 0; pointer-events: none; }
.scope-mode-control span { min-height: 42px; display: grid; place-items: center; padding: 0 10px; border: 1px solid transparent; border-radius: var(--radius-control); color: var(--ink-secondary); font-size: 12px; text-align: center; }
.scope-mode-control input:checked + span { border-color: var(--line); background: var(--sheet); color: var(--ink); font-weight: 600; }
.scope-mode-control input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.conditional-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.conditional-scope[hidden] { display: none; }
.delivery-field { margin: 20px 0 0; padding: 0; border: 0; }
.delivery-field legend { margin-bottom: 8px; }
.segmented-control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: var(--radius-panel); background: var(--control); }
.segmented-control label { position: relative; cursor: pointer; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { min-height: 38px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius-control); color: var(--ink-secondary); font-size: 12px; }
.segmented-control input:checked + span { border-color: var(--line); background: var(--sheet); color: var(--ink); font-weight: 600; }
.segmented-control input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.consent-field { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 20px; color: var(--ink-secondary); font-size: 11px; line-height: 1.45; cursor: pointer; }
.consent-field input { width: 18px; height: 18px; margin: 0; accent-color: var(--seal); }
.form-actions { min-height: 48px; display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.primary-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--action-hover);
  border-radius: var(--radius-control);
  background: var(--action);
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 140ms cubic-bezier(0.23, 1, 0.32, 1), transform 100ms cubic-bezier(0.23, 1, 0.32, 1);
}
.primary-button:hover { background: var(--action-hover); }
.primary-button:active { transform: scale(0.98); }
.form-message { color: var(--ink-muted); font-size: 11px; line-height: 1.45; }
.form-message.is-success { color: var(--verified); }
.form-message.is-error { color: var(--danger); }
.form-message a { font-weight: 600; text-underline-offset: 2px; }

.scope-summary {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: var(--sheet-subtle);
}
.scope-label { display: block; margin-bottom: 8px; color: var(--ink-muted); font-size: 10px; font-weight: 600; }
.scope-summary strong { display: block; color: var(--ink); font: 600 18px/1.25 Bahnschrift, "Arial Narrow", sans-serif; overflow-wrap: anywhere; }
.scope-summary > div > span:last-child { display: block; margin-top: 8px; color: var(--ink-secondary); font-size: 11px; line-height: 1.45; }
.scope-summary dl { margin: 0; display: grid; gap: 12px; }
.scope-summary dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.scope-summary dt { color: var(--ink-muted); font-size: 10px; }
.scope-summary dd { margin: 0; color: var(--ink); font-size: 11px; font-weight: 600; text-align: right; }

.unit-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--sheet); color: var(--ink); }
.unit-dialog::backdrop { background: rgba(16, 20, 18, 0.52); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dialog-body { padding: 8px 20px 20px; overflow: auto; }
.unit-row { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-soft); }
.unit-row:last-child { border-bottom: 0; }
.unit-row strong { display: block; color: var(--ink); font-size: 12px; }
.unit-row span { color: var(--ink-muted); font-size: 10px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .rail { position: static; width: 100%; height: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-copy small, .rail-foot { display: none; }
  .rail-nav { display: flex; justify-content: flex-end; gap: 4px; margin: 0; }
  .nav-item { width: auto; min-width: 84px; }
  .nav-subscribe { margin-top: 0; }
  .workspace { padding: 20px 16px 40px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .subscription-shell { grid-template-columns: 1fr; }
  .scope-summary { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 600px) {
  .rail { grid-template-columns: 1fr; }
  .rail-nav { justify-content: stretch; }
  .nav-item { flex: 1; min-width: 0; padding: 0 8px; font-size: 12px; }
  .nav-count { display: none; }
  .workspace-head { align-items: center; }
  .sync-status { display: none; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell { min-height: 96px; padding: 14px; }
  .stat-value { font-size: 23px; }
  .toolbar { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .select-field { flex: 1; width: auto; }
  .result-count { padding-bottom: 11px; }
  .table-frame { overflow: hidden; }
  .coverage-table th:nth-child(3), .coverage-table td:nth-child(3),
  .coverage-table th:nth-child(4), .coverage-table td:nth-child(4) { display: none; }
  .coverage-table th:nth-child(1) { width: 58%; }
  .coverage-table th:nth-child(2) { width: 18%; }
  .coverage-table th:nth-child(5) { width: 12%; }
  .coverage-table th:nth-child(6) { width: 44px; }
  .source-table th:nth-child(2), .source-table td:nth-child(2),
  .source-table th:nth-child(3), .source-table td:nth-child(3),
  .source-table th:nth-child(5), .source-table td:nth-child(5) { display: none; }
  .source-table th:nth-child(1) { width: 62%; }
  .source-table th:nth-child(4) { width: 38%; }
  .source-scope a { display: block; }
  th, td { padding: 10px; }
  .health-cell small { white-space: normal; }
  .announcement-item { grid-template-columns: minmax(0, 1fr) 40px; }
  .announcement-meta { grid-column: 1 / -1; display: flex; gap: 10px; }
  .subscription-form, .scope-summary { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .scope-mode-control, .conditional-scope { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
