.resources-page { padding: 36px 0 48px; }
.resources-shell { width: min(100% - 48px, 1280px); margin: 0 auto; }
.resources-panel { overflow: hidden; margin-bottom: 24px; border: 1px solid var(--bioatlas-line); border-radius: 12px; background: var(--bioatlas-surface); color: var(--bioatlas-ink); }
.resources-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--bioatlas-line); }
.resources-panel-head h2 { margin: 0; color: var(--bioatlas-ink); font-size: 1.12rem; font-weight: 720; }
.resources-panel-head > span { color: var(--bioatlas-muted); font-size: .85rem; }
.resources-panel-body { padding: 0 22px; }
.resource-atlas { padding: 20px 0 8px; }
.resource-atlas + .resource-atlas { border-top: 1px solid var(--bioatlas-line); margin-top: 10px; }
.resource-atlas-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 6px; }
.resource-atlas-head h3 { margin: 0; color: var(--bioatlas-ink); font-size: .98rem; font-weight: 700; }
.resource-atlas-head h3 a { color: inherit; text-decoration: none; }
.resource-atlas-head h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.resource-atlas-head > span { color: var(--bioatlas-muted); font-size: .79rem; overflow-wrap: anywhere; }
.resource-file { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--bioatlas-line); }
.resource-file:last-child { border-bottom: 0; }
.resource-file-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 9px; background: var(--bioatlas-soft); color: var(--bioatlas-accent); }
.resource-file svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.resource-file-main { flex: 1; min-width: 0; }
.resource-file-name { font-size: .9rem; font-weight: 650; }
.resource-file-description { margin-top: 3px; color: var(--bioatlas-muted); font-size: .8rem; line-height: 1.5; }
.resource-file-format { flex: 0 0 auto; padding: 3px 8px; border-radius: 5px; background: var(--bioatlas-soft); color: var(--bioatlas-muted); font: .75rem ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.resource-download { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 84px; min-height: 34px; border: 1px solid var(--bioatlas-line); color: var(--bioatlas-ink); background: transparent; font-size: .83rem; }
.resource-download:hover, .resource-download:focus-visible { background: var(--bioatlas-soft); border-color: var(--bioatlas-accent); color: var(--bioatlas-ink); }
.resource-download:focus-visible { outline: 2px solid var(--bioatlas-accent); outline-offset: 2px; }
.resource-unavailable { min-width: 84px; text-align: center; color: var(--bioatlas-muted); font-size: .8rem; }
.resources-marker-body { min-height: 38px; }
html[data-theme="dark"] .resources-page { --bioatlas-accent: #78c7de; }
@media (max-width: 575px) {
  .resources-page { padding: 22px 0 28px; }
  .resources-shell { width: calc(100% - 28px); }
  .resources-panel-head { padding: 16px; }
  .resources-panel-body { padding: 0 16px; }
  .resource-atlas-head { display: block; }
  .resource-atlas-head > span { display: block; margin-top: 5px; }
  .resource-file { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px 10px; padding: 14px 0; }
  .resource-file-icon { width: 30px; height: 34px; grid-row: 1 / 3; align-self: start; }
  .resource-file-main { grid-column: 2 / 4; }
  .resource-file-format { grid-column: 2; justify-self: start; }
  .resource-download, .resource-unavailable { grid-column: 3; min-height: 36px; }
}
