@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #fff;
  --surface-soft: #f0f1f6;
  --text: #25253a;
  --muted: #67677a;
  --border: #e2e4ed;
  --accent: #6250d7;
  --accent-soft: #f0edfc;
  --hero: #eeecfb;
  --hero-end: #f2f5ef;
  --lime: #d8f4ac;
  --shadow: 0 4px 18px #29244706;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10121b;
  --surface: #181b28;
  --surface-soft: #202434;
  --text: #ececf6;
  --muted: #adb0c4;
  --border: #30344a;
  --accent: #b5a7ff;
  --accent-soft: #2b2545;
  --hero: #25203d;
  --hero-end: #1e2b2b;
  --lime: #d8f4ac;
  --shadow: 0 4px 18px #0002;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --bg: #10121b;
    --surface: #181b28;
    --surface-soft: #202434;
    --text: #ececf6;
    --muted: #adb0c4;
    --border: #30344a;
    --accent: #b5a7ff;
    --accent-soft: #2b2545;
    --hero: #25203d;
    --hero-end: #1e2b2b;
    --lime: #d8f4ac;
    --shadow: 0 4px 18px #0002;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
input,
select {
  border: 1px solid var(--border);
}
button {
  background: var(--surface);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button:focus-visible {
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 15px;
  top: 10px;
  background: var(--surface);
  padding: 10px 18px;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 88px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 16px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.7px;
}
.brand:hover {
  text-decoration: none;
}
.brand strong {
  font-weight: 750;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: -2px;
}
.brand-mark {
  width: 42px;
  height: 44px;
  border-radius: 13px;
  background: #6250d7;
  color: white;
  font-size: 38px;
  line-height: 36px;
  font-weight: 800;
  padding-left: 10px;
  position: relative;
}
.brand-mark span {
  position: absolute;
  right: 5px;
  top: 4px;
  font-size: 18px;
  color: var(--lime);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.header-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.github-link {
  color: var(--text);
}
.icon-button {
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  font-size: 19px;
  display: inline-grid;
  place-items: center;
}
.icon-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.menu-toggle {
  display: none;
}
.page-shell {
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
.sidebar {
  padding: 30px 20px 30px 22px;
  border-right: 1px solid var(--border);
  height: calc(100vh - 88px);
  position: sticky;
  top: 0;
  overflow: auto;
  background: var(--bg);
  scrollbar-width: thin;
}
.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: 2px 10px 22px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #7d9855;
  border-radius: 50%;
}
.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 11px;
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  min-height: 42px;
}
.category-link:hover {
  background: var(--surface-soft);
  text-decoration: none;
  color: var(--text);
}
.category-link[aria-current="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}
.all-category {
  font-size: 13px;
  font-weight: 650;
}
.nav-count {
  font-size: 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 5px;
  border-radius: 5px;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.category-link[aria-current="true"] .nav-count {
  border-color: transparent;
  color: var(--accent);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 25px 11px 14px;
}
.sidebar-note {
  border-top: 1px solid var(--border);
  margin: 28px 10px 0;
  padding-top: 23px;
  font-size: 11px;
  color: var(--muted);
}
.sidebar-note strong {
  font-size: 12px;
  color: var(--text);
}
.sidebar-note p {
  margin: 8px 0 13px;
}
.sidebar-note a {
  font-size: 11px;
}
main {
  padding: 35px 36px 0;
  min-width: 0;
}
.hero {
  min-height: 305px;
  background: linear-gradient(120deg, var(--hero), var(--hero-end));
  border: 1px solid var(--border);
  border-radius: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 38px;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  max-width: 580px;
  z-index: 1;
}
.eyebrow {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.hero .eyebrow {
  color: var(--accent);
}
.hero .eyebrow span {
  font-size: 14px;
  margin-right: 6px;
}
.hero h1 {
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  font-weight: 750;
  margin: 18px 0 17px;
}
.hero h1 > span {
  color: var(--accent);
}
.hero-description {
  max-width: 410px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 22px;
}
.hero-meta a {
  margin-left: 13px;
  font-weight: 650;
}
.snapshot-dot {
  height: 5px;
  width: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-art {
  width: 260px;
  height: 240px;
  position: relative;
  flex: none;
  margin-left: 10px;
}
.orbit {
  position: absolute;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.18;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 146px;
  height: 146px;
}
.orbit-two {
  width: 212px;
  height: 212px;
}
.orbit-three {
  width: 277px;
  height: 277px;
}
.decision-core {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%) rotate(-9deg);
  width: 106px;
  height: 106px;
  border-radius: 28px;
  background: #6250d7;
  box-shadow: 10px 15px 30px #6250d730;
  color: white;
  font-size: 50px;
  font-weight: 800;
  line-height: 65px;
  padding: 10px 18px;
  letter-spacing: -4px;
}
.decision-core > span {
  font-size: 38px;
  letter-spacing: -2px;
}
.decision-core small {
  display: block;
  font-size: 7px;
  font-weight: 500;
  line-height: 10px;
  letter-spacing: 1px;
  color: #e7e2ff;
  white-space: nowrap;
  margin-left: -3px;
}
.orbit-node {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  padding: 9px 12px;
  display: flex;
  gap: 14px;
}
.orbit-node span {
  color: var(--accent);
  font-size: 10px;
}
.node-choice {
  left: 12px;
  top: 23px;
  transform: rotate(-7deg);
}
.node-score {
  right: -4px;
  top: 95px;
  transform: rotate(7deg);
}
.node-noul {
  left: 16px;
  bottom: 32px;
  transform: rotate(5deg);
}
.art-label {
  position: absolute;
  bottom: 0;
  left: 32px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 1.6px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 20px 0 36px;
  padding: 20px 6px;
}
.stat-strip > div {
  padding: 0 22px;
  border-right: 1px solid var(--border);
}
.stat-strip > div:last-child {
  border: 0;
}
.stat-strip strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
}
.stat-strip span {
  font-size: 10px;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 21px;
}
.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 4px 0 0;
}
.download-link {
  color: var(--muted);
  font-size: 11px;
  flex: none;
  margin-bottom: 3px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 220px;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.search-field {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--bg);
}
.search-field:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-field > span {
  font-size: 27px;
  color: var(--muted);
  line-height: 1;
}
.search-field input {
  background: transparent;
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  height: 43px;
  font-size: 12px;
}
.search-field input:focus-visible {
  outline: none;
}
.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-field kbd {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
}
.select-field {
  position: relative;
  min-width: 0;
}
.select-field label {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin: 0 0 4px 2px;
}
.select-field select {
  height: 30px;
  padding: 0 24px 0 9px;
  width: 100%;
  border-radius: 6px;
  background: var(--bg);
  font-size: 10px;
  text-overflow: ellipsis;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 21px 0 15px;
  color: var(--muted);
  font-size: 11px;
  min-height: 36px;
}
.results-toolbar p {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.result-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.result-actions select {
  border: 0;
  background: transparent;
  max-width: 130px;
  font-size: 10px;
  padding: 6px 2px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  padding: 8px 5px;
  white-space: nowrap;
  border-radius: 5px;
}
.text-button:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.text-button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}
#saved-count {
  display: inline-block;
  padding: 0 4px;
  background: var(--surface-soft);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  scroll-margin-top: 15px;
}
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px 21px 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.resource-card:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 5px 22px #6250d70a;
}
.card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.resource-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--border));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  flex: none;
}
.resource-domain {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.save-button {
  border: 0;
  color: var(--muted);
  margin-left: auto;
  font-size: 21px;
  padding: 0 2px;
  min-width: 29px;
  min-height: 30px;
  border-radius: 5px;
  line-height: 1;
  background: transparent;
}
.save-button[aria-pressed="true"] {
  color: var(--accent);
}
.resource-card h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}
.resource-card h3 a {
  color: var(--text);
}
.external-arrow {
  color: var(--muted);
  font-size: 12px;
  padding-left: 3px;
  font-weight: 400;
}
.resource-description {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 15px;
  overflow-wrap: anywhere;
}
.category-tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 9px;
  line-height: 1.4;
  padding: 4px 7px;
  border-radius: 5px;
  margin-bottom: 16px;
}
.source-details {
  margin: 0 -21px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 10px 21px;
  font-size: 9px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-soft) 20%, var(--surface));
}
.source-details summary {
  cursor: pointer;
  min-height: 20px;
  line-height: 20px;
}
.source-details summary:hover {
  color: var(--accent);
}
.source-details ul {
  margin: 8px 0 4px;
  padding-left: 15px;
}
.source-details li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.source-details a {
  font-size: 9px;
}
.resource-grid.compact {
  display: block;
}
.compact .resource-card {
  margin-bottom: 10px;
  padding: 15px 20px 0;
}
.compact .card-topline {
  float: none;
  margin: 0 0 5px;
}
.compact .resource-icon {
  height: 25px;
  width: 25px;
}
.compact .resource-card h3 {
  margin-top: -27px;
  margin-left: 35px;
  margin-right: 35px;
}
.compact .resource-domain {
  display: none;
}
.compact .resource-description {
  margin-bottom: 9px;
}
.compact .category-tag {
  margin-bottom: 9px;
}
.compact .source-details {
  margin-left: -20px;
  margin-right: -20px;
  padding: 8px 20px;
}
.load-more {
  text-align: center;
  margin: 28px 0 35px;
}
.primary-button {
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: var(--surface);
  border-radius: 8px;
}
.primary-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
#page-status {
  font-size: 10px;
  color: var(--muted);
  margin-top: 11px;
}
.empty-state {
  text-align: center;
  padding: 58px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.empty-state > span {
  font-size: 40px;
  color: var(--accent);
}
.empty-state h3 {
  font-size: 18px;
  margin: 8px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 22px;
}
.error-message,
.no-script {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  background: var(--surface);
  font-size: 12px;
  line-height: 1.8;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 20px;
}
.site-footer p {
  margin: 0;
  max-width: 650px;
}
.site-footer strong {
  color: var(--text);
}
.prose-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px 50px;
}
.prose-page h1 {
  font-size: 38px;
  letter-spacing: -1px;
}
.prose-page h2 {
  margin: 35px 0 14px;
  font-size: 22px;
}
.prose-page p {
  color: var(--muted);
  max-width: 800px;
}
.prose-page table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.prose-page th,
.prose-page td {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.prose-page .table-scroll {
  overflow: auto;
}
.prose-page li {
  margin: 10px 0;
  color: var(--muted);
}
.prose-page code {
  background: var(--surface-soft);
  padding: 2px 5px;
  border-radius: 3px;
}
.prose-page .audit-callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  background: var(--surface);
}
@media (min-width: 1450px) {
  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero-art {
    margin-right: 25px;
  }
}
@media (max-width: 1150px) {
  .page-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  main {
    padding: 25px 24px 0;
  }
  .sidebar {
    padding-left: 14px;
    padding-right: 13px;
  }
  .hero {
    padding: 28px;
  }
  .hero-art {
    width: 190px;
    transform: scale(0.85);
    margin-left: -20px;
    margin-right: -20px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .stat-strip > div {
    padding: 0 14px;
  }
  .stat-strip strong {
    font-size: 22px;
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 74px;
    padding: 0 20px;
  }
  .page-shell {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 10;
    top: 74px;
    right: 0;
    width: 300px;
    height: calc(100dvh - 74px);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 35px #0002;
  }
  .sidebar.open {
    display: block;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .header-actions {
    gap: 17px;
  }
  main {
    padding: 24px 22px 0;
  }
  .hero-art {
    width: 235px;
    margin-right: 0;
    margin-left: 0;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy {
    max-width: 440px;
  }
  .header-link {
    font-size: 11px;
  }
  .resource-card {
    padding-top: 19px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 0 16px;
    gap: 10px;
  }
  .brand {
    font-size: 20px;
    gap: 9px;
  }
  .brand-mark {
    height: 38px;
    width: 36px;
    line-height: 32px;
    font-size: 33px;
    border-radius: 11px;
    padding-left: 8px;
  }
  .brand-mark span {
    right: 4px;
    top: 3px;
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-link {
    display: none;
  }
  .icon-button {
    height: 36px;
    min-width: 36px;
  }
  .page-shell main {
    padding: 18px 16px 0;
  }
  .hero {
    padding: 27px 23px;
    min-height: 270px;
    border-radius: 14px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .hero-art {
    display: none;
  }
  .hero-meta {
    font-size: 9px;
    gap: 5px;
  }
  .hero-meta a {
    margin-left: 8px;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
    margin: 14px 0 27px;
    padding: 0;
  }
  .stat-strip > div {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
  }
  .stat-strip > div:nth-child(2) {
    border-right: 0;
  }
  .stat-strip > div:nth-child(3) {
    border-bottom: 0;
  }
  .stat-strip > div:nth-child(4) {
    border: 0;
  }
  .stat-strip strong {
    font-size: 22px;
  }
  .stat-strip span {
    font-size: 9px;
  }
  .section-heading {
    margin-bottom: 17px;
    align-items: center;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .download-link {
    font-size: 9px;
    max-width: 80px;
    line-height: 1.6;
    text-align: right;
  }
  .filters {
    padding: 11px;
    gap: 11px;
  }
  .select-field select {
    font-size: 10px;
    height: 36px;
  }
  .select-field label {
    font-size: 8px;
  }
  .search-field input {
    font-size: 12px;
    height: 40px;
  }
  .search-field kbd {
    display: none;
  }
  .results-toolbar {
    flex-wrap: wrap;
    margin: 17px 0 12px;
    gap: 10px;
  }
  .results-toolbar p {
    font-size: 10px;
    flex: 1 0 100%;
  }
  .result-actions {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }
  .result-actions select {
    max-width: 135px;
    font-size: 10px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .resource-card {
    padding: 19px 19px 0;
  }
  .resource-card h3 {
    font-size: 14px;
  }
  .resource-description {
    font-size: 12px;
    line-height: 1.7;
  }
  .category-tag {
    font-size: 9px;
  }
  .source-details {
    margin-left: -19px;
    margin-right: -19px;
    padding: 10px 19px;
    font-size: 10px;
  }
  .source-details a {
    font-size: 10px;
  }
  .sidebar {
    width: min(320px, 90vw);
  }
  .site-footer {
    display: block;
    font-size: 10px;
    line-height: 1.8;
  }
  .site-footer p + p {
    margin-top: 7px;
  }
  .prose-page {
    margin-top: 25px;
    padding: 0 18px 30px;
  }
  .prose-page h1 {
    font-size: 29px;
  }
  .prose-page th,
  .prose-page td {
    padding: 10px;
  }
  .compact .resource-card h3 {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.resource-card > .category-tag {
  margin-top: auto;
}
.resource-card {
  padding-bottom: 5px;
}
.nav-group {
  border-bottom: 1px solid var(--border);
  margin: 2px 0;
  padding: 3px 0;
}
.nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 11px 8px;
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
}
.nav-group > summary::-webkit-details-marker {
  display: none;
}
.nav-group > summary > span:first-child::before {
  content: "›";
  display: inline-block;
  width: 12px;
  color: var(--muted);
}
.nav-group[open] > summary > span:first-child::before {
  content: "⌄";
}
.nav-group > summary:hover {
  color: var(--accent);
}
.subcategory-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px 8px 20px;
  font-size: 10px;
  color: var(--muted);
  border-radius: 6px;
  min-height: 34px;
  line-height: 1.4;
}
.subcategory-link:hover,
.subcategory-link[aria-current="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.nav-group > .category-link {
  font-size: 10px;
  min-height: 30px;
  padding: 7px 9px 7px 20px;
}
.filter-breadcrumb {
  font-size: 10px;
  color: var(--muted);
  padding: 0 2px;
  margin: 0 0 13px;
}
.filters {
  grid-template-columns: minmax(180px, 1fr) 180px 180px;
}
.resource-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  font-size: 11px;
}
.resource-table th {
  text-align: left;
  background: var(--surface-soft);
  padding: 12px 14px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.4px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.resource-table th:first-child {
  width: 24%;
}
.resource-table th:nth-child(2) {
  width: 74px;
  text-align: right;
}
.resource-table th:nth-child(4) {
  width: 18%;
}
.resource-table th:last-child {
  width: 39px;
}
.resource-table td {
  vertical-align: top;
  padding: 17px 14px;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.resource-table tbody tr:last-child td {
  border-bottom: 0;
}
.resource-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface));
}
.resource-name a {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--text);
}
.resource-name a:hover {
  color: var(--accent);
}
.resource-host {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}
.resource-table td.stars-cell {
  text-align: right;
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.description-cell {
  color: var(--muted);
  font-size: 11px;
}
.category-cell a,
.category-cell > span {
  color: var(--accent);
  font-size: 9px;
  line-height: 1.6;
}
.category-cell small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
}
.resource-table td.save-cell {
  padding-left: 2px;
  padding-right: 4px;
}
.resource-table .save-button {
  font-size: 18px;
  min-width: 28px;
}
.card-stars {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.resource-card > .category-tag {
  line-height: 1.6;
}
.static-subheading {
  margin: 27px 0 13px;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.static-subheading span {
  font-size: 10px;
  color: var(--muted);
  margin-left: 8px;
}
.static-save {
  display: block;
  text-align: center;
  font-size: 18px;
  color: var(--muted);
}
@media (max-width: 1150px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .resource-table th:first-child {
    width: 25%;
  }
  .resource-table th:nth-child(4) {
    width: 17%;
  }
  .resource-table td {
    padding: 14px 11px;
  }
  .resource-table th {
    padding: 11px;
  }
  .resource-table td.stars-cell {
    font-size: 9px;
  }
  .description-cell {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .resource-table,
  .resource-table tbody {
    display: block;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .resource-table thead {
    display: none;
  }
  .resource-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    margin-bottom: 12px;
    position: relative;
    padding: 16px 17px;
  }
  .resource-table td {
    display: block;
    border: 0;
    padding: 0 !important;
  }
  .resource-table .resource-name {
    grid-column: 1;
    padding-right: 10px !important;
  }
  .resource-name a {
    font-size: 14px;
  }
  .resource-host {
    font-size: 9px;
    margin-top: 4px;
  }
  .resource-table td.stars-cell {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-right: 30px;
    margin-top: 11px;
    font-size: 10px;
  }
  .resource-table td.stars-cell::before {
    content: "★ ";
    color: var(--accent);
  }
  .description-cell {
    grid-column: 1/-1;
    font-size: 12px;
    margin-top: 13px;
    line-height: 1.75 !important;
  }
  .category-cell {
    grid-column: 1;
    grid-row: 2;
    margin-top: 11px;
    max-width: 160px;
  }
  .category-cell a {
    font-size: 9px;
  }
  .category-cell small {
    font-size: 9px;
    margin-top: 2px;
  }
  .resource-table td.save-cell {
    position: absolute;
    right: 12px;
    bottom: 13px;
  }
  .resource-table .save-button {
    font-size: 21px;
    min-height: 34px;
  }
  .resource-table tbody tr:hover {
    background: var(--surface);
  }
  .filter-breadcrumb {
    font-size: 9px;
    line-height: 1.65;
  }
  .nav-group > summary {
    font-size: 12px;
  }
  .subcategory-link {
    font-size: 11px;
    min-height: 39px;
  }
  .card-stars {
    font-size: 10px;
  }
}

.site-footer a,
.prose-page p a,
.prose-page li a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.description-cell {
  font-size: 12px;
}
.resource-name a {
  font-size: 13px;
}
.resource-table th:last-child {
  width: 40px;
}

/* Native disclosures keep tables available without JavaScript. */
.group-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.group-controls[hidden] {
  display: none;
}
.result-category {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 18px;
  overflow: clip;
}
.result-category > summary,
.result-subcategory > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.result-category > summary::-webkit-details-marker,
.result-subcategory > summary::-webkit-details-marker {
  display: none;
}
.result-category > summary::before,
.result-subcategory > summary::before {
  content: "▸";
  color: var(--accent);
}
.result-category[open] > summary::before,
.result-subcategory[open] > summary::before {
  content: "▾";
}
.result-category > summary:hover,
.result-subcategory > summary:hover {
  background: var(--hero);
}
.group-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}
.category-content {
  padding: 0 12px 12px;
}
.result-subcategory {
  border-top: 1px solid var(--border);
}
.result-subcategory > summary {
  padding: 16px 8px;
  font-size: 14px;
}
.result-subcategory .resource-grid {
  padding-bottom: 16px;
}
@media (max-width: 600px) {
  .result-category > summary {
    padding: 14px 12px;
    font-size: 14px;
  }
  .category-content {
    padding: 0 8px 8px;
  }
  .group-count {
    max-width: 95px;
    flex-shrink: 0;
    font-size: 11px;
  }
}
/* Explicit hiding also covers WebKit's nested open-disclosure rendering. */
.result-category:not([open]) > .category-content,
.result-subcategory:not([open]) > .resource-table,
.result-subcategory:not([open]) > .resource-grid {
  display: none;
}
