/* Shared visual layer. Execution, permissions and scientific results are unchanged.
   All decoration is local CSS/SVG: no external fonts, scripts or image services. */
:root {
  --ink: #182a43;
  --muted: #60728a;
  --line: #dce5ef;
  --surface: #ffffff;
  --canvas: #f1f5fa;
  --accent: #087f96;
  --accent-dark: #07677b;
  --soft-accent: #eaf7f9;
  --blue: #3267bc;
  --navy: #101e35;
  --cyan: #79e0e8;
  --shadow: 0 6px 24px rgb(22 47 81 / 4%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 92% 0, #e3edf9 0, transparent 45%), var(--canvas);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #c2edf1; color: #102840; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #168fa8;
  outline-offset: 4px;
}
.skip-link {
  position: fixed; top: 10px; left: 20px; z-index: 100;
  padding: 12px 18px; border-radius: 8px; background: white; color: var(--ink);
  transform: translateY(-160%); opacity: 0; pointer-events: none;
}
.skip-link:focus { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* The navigation remains scrollable instead of squeezing tool names. */
.topbar {
  min-height: 86px;
  padding: 16px max(24px, calc((100vw - 1380px) / 2));
  gap: 24px;
  background: var(--navy);
  color: #f5f9ff;
  border-bottom: 1px solid #2c425b;
  box-shadow: 0 4px 24px rgb(16 30 53 / 9%);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-symbol { width: 38px; height: 42px; flex-shrink: 0; color: var(--cyan); }
.brand .brand-copy { display: grid; gap: 2px; margin: 0; color: #f4f8ff; }
.brand-copy strong { font-size: 18px; font-weight: 750; letter-spacing: -.4px; }
.brand-copy b { color: var(--cyan); font-weight: 500; }
.brand-copy small { font-size: 10px; letter-spacing: 1.5px; color: #b0c1d6; font-weight: 400; }
.topnav { min-width: 0; overflow-x: auto; padding: 3px 1px; scrollbar-width: thin; scrollbar-color: #47617c transparent; }
.topnav a { flex-shrink: 0; padding: 10px 11px; color: #bfcde0; border-radius: 7px; white-space: nowrap; font-weight: 500; }
.topnav a:hover { background: #21354f; color: #fff; }
.topnav a[aria-current="page"] { color: var(--cyan); background: #203b51; box-shadow: inset 0 -2px var(--cyan); }
.topbar > form { flex-shrink: 0; margin: 0; }
.topbar .icon-button { color: #bfcde0; background: #1c2e47; border-color: #3c5069; border-radius: 9px; }
.topbar .icon-button:hover { color: var(--cyan); border-color: var(--cyan); }
.shell { flex: 1; width: 100%; max-width: 1380px; min-width: 0; padding: 36px 28px 64px; }
.site-footer {
  width: calc(100% - 56px); max-width: 1324px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 18px;
  padding: 21px 0 26px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 10px; letter-spacing: 1.4px;
}
.site-footer b { color: var(--accent); font-weight: 600; }
.footer-divider { margin: 0 12px; color: #8b9bb0; }
h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.3; font-weight: 750; letter-spacing: -.7px; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; }
p { line-height: 1.75; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
.mono, .execution-card strong { font-variant-numeric: tabular-nums; }

/* A recognisable, restrained scientific identity for every major workspace. */
.page-heading, .workspace-heading {
  min-width: 0;
  align-items: center;
  padding: 32px;
  margin: 0 0 28px;
  min-height: 174px;
  border: 1px solid #2b435e;
  border-radius: 18px;
  color: #f5f9ff;
  background-color: var(--navy);
  background-image: url("./research-grid.svg"), linear-gradient(115deg, #101e35, #1a3a55);
  background-position: right center, center;
  background-size: 640px auto, cover;
  background-repeat: no-repeat;
  box-shadow: 0 12px 32px rgb(16 30 53 / 9%);
}
.page-heading > div, .workspace-heading > div { min-width: 0; }
.page-heading h1, .workspace-heading h1 { margin: 12px 0 8px; overflow-wrap: anywhere; }
.page-heading p, .workspace-heading p { margin-bottom: 0; }
.page-heading .muted, .workspace-heading .muted { color: #b8cce0; }
.page-heading .eyebrow, .workspace-heading .eyebrow { color: var(--cyan); }
.page-heading p.eyebrow { margin: 0; }
.page-heading .button-quiet, .workspace-heading .button-quiet {
  color: #eff7ff; border-color: #638199; background: #203e55;
}
.page-heading .button-quiet:hover, .workspace-heading .button-quiet:hover { background: #31536a; border-color: #9bd9e6; }
.page-heading .button-primary { border-color: #72dce6; background: #92e7e6; color: #102840; box-shadow: none; }
.page-heading .button-primary:hover { background: #b6f5ed; }
.page-heading .catalog-actions { justify-content: flex-end; flex-shrink: 0; max-width: 42%; margin: 0; }
.workspace-heading .step-label, .workspace-heading .project-chip { color: #b2f0f3; border: 1px solid #48687c; background: #214256; }
.project-chip { max-width: 100%; overflow-wrap: anywhere; }
.step-label, .project-chip, .panel-index { border-radius: 7px; }

/* Shared controls also cover legacy screens whose buttons have no class. */
button, .button {
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid #cad8e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
button:hover, .button-quiet:hover { border-color: #7bb9c8; background: #f0f8fc; }
button:disabled, .button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
button:disabled:hover { border-color: #cad8e6; background: #fff; }
.button-primary { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 3px 8px rgb(8 127 150 / 12%); }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-primary:disabled:hover { background: var(--accent); border-color: var(--accent); }
.button-quiet { background: #fff; }
.button-small { min-height: 31px; padding: 5px 10px; font-size: 12px; }
.icon-button { padding: 0; min-height: 36px; border-radius: 8px; }
label { gap: 8px; font-size: 13px; font-weight: 600; }
input, select, textarea { min-width: 0; padding: 11px 12px; border-color: #cbd8e5; border-radius: 8px; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: 3px solid #c9eaf0; outline-offset: 0; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #74869a; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--accent); }
input[type="file"] { padding: 8px; font-size: 12px; background: #f8fafd; }
input::file-selector-button { margin-right: 12px; padding: 7px 12px; border: 0; border-radius: 5px; background: #e4edf7; color: #28527a; cursor: pointer; }
select:disabled { background: #f4f7fb; color: #738397; }
fieldset { border-radius: 10px; border-color: var(--line); }
summary { padding: 9px 0; color: var(--muted); font-size: 13px; cursor: pointer; }
summary:hover { color: var(--accent); }
details[open] > summary { color: var(--ink); }
.callout { padding: 15px 18px; border-radius: 0 9px 9px 0; background: #e8f3f8; border-left-color: #2394ab; color: #3a6077; line-height: 1.8; }
.alert { border-radius: 9px; }

/* Panels use one surface system; data always stays on light, high-contrast paper. */
.project-card, .tool-panel, .wide-tool-panel, .upload-panel, .progress-panel,
.source-card, .execution-panel, .pipeline-panel, .catalog-taxonomy-panel,
.catalog-upload-form, .catalog-import-detail, .auth-panel, .inline-tool,
.artifact-list, .event-list, .recent-table, .table-scroll, .alignment-viewport {
  border-color: var(--line); border-radius: 13px; box-shadow: var(--shadow);
}
.tool-panel, .wide-tool-panel, .upload-panel, .execution-panel, .pipeline-panel { padding: 26px; }
.panel-title { padding-bottom: 19px; }
.panel-index { width: 36px; height: 36px; flex-basis: 36px; background: #e6f3f9; color: #236881; }
.tool-panel > h2 { margin-bottom: 0; }
.tool-panel > p { margin-top: 0; color: var(--muted); font-size: 14px; }
.tool-panel .stack { margin-top: 0; }
.workflow-aside { padding: 22px; background: #e8eff7; border-radius: 13px; }
.output-list { margin-bottom: 0; }
.output-list dd { color: #526a83; }
.drop-zone { background: #f5f9fd; border-color: #9bbbd0; border-radius: 10px; }
.drop-zone:hover { border-color: var(--accent); background: #edf7fa; }
.tool-link { border-radius: 8px; background: #fbfdff; color: #3e627c; }
.tool-link:hover { border-color: #85b9cb; background: #f0f8fc; }
.source-header { background: #f5f8fc; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > .muted { padding-bottom: 18px; font-size: 12px; }
.status { display: inline-flex; justify-content: center; width: fit-content; gap: 5px; padding: 5px 10px; font-size: 11px; }
.status::before { content: ""; align-self: center; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-running, .status-processing { color: #086884; background: #dff2f8; }
.status-waiting_review { color: #8c5c12; background: #fff0d1; }
.progress-track { height: 6px; background: #e8eef6; }
.progress-bar { background: linear-gradient(90deg, #168198, #4cbac6); }
.execution-card { background: #f6f9fd; border-color: #e0e9f2; border-radius: 9px; }
.execution-card strong { margin-top: 9px; }
.artifact-row, .event-row { border-color: #e6edf4; }
.artifact-row:hover { background: #f8fbfe; }
.file-type { background: #e4f4f7; color: #266c81; border-radius: 5px; }
.event-row { line-height: 1.8; }
.recent-row { padding: 16px 20px; }
.recent-row:hover { background: #f3f8fd; }
.recent-name .mono { margin-top: 2px; color: #6e8298; font-size: 10px; }
.empty-state { padding: 24px; }
.recent-table > .muted { padding: 22px; }
.dialog { border-radius: 15px; box-shadow: 0 30px 100px #0b1d3545; }
.dialog::backdrop { background: #101e3599; backdrop-filter: blur(4px); }
.dialog form { padding: 28px; }
pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Project overview counts are derived from the visible server-side lists. */
.workspace-overview { display: grid; grid-template-columns: 1fr 1fr 1.65fr; gap: 18px; margin: 0 0 25px; }
.overview-item { min-width: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.overview-label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: #506980; }
.overview-label small { font-size: 9px; letter-spacing: 1px; color: #607790; }
.overview-item > strong { display: block; margin-top: 13px; font-size: 31px; line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; }
.overview-item > strong small { color: var(--muted); font-size: 12px; font-weight: 400; }
.overview-item p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.overview-item .overview-text { font-size: 20px; margin-top: 19px; }
.overview-text > span { float: right; color: var(--accent); }
.overview-link { background: linear-gradient(115deg, #fff, #eaf5fa); }
.overview-link:hover { border-color: #7db9ca; }
.project-section-heading { margin-top: 28px; }
.project-section-heading h2 { margin-top: 6px; }
.project-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.project-card { padding: 25px; gap: 8px; transition: border-color .16s, box-shadow .16s; }
.project-card:hover { border-color: #9ebdce; box-shadow: 0 10px 26px rgb(24 61 99 / 7%); }
.project-card-label { display: flex; justify-content: space-between; align-items: center; color: #6b8199; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 1px; }
.project-card-dot { width: 7px; height: 7px; border: 1.5px solid #61b3bb; border-radius: 50%; }
.project-card h2 { margin: 12px 0 7px; }
.project-card p { font-size: 13px; margin: 0; }
.project-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 4px; }
.project-card details { margin: 3px 0; }
.project-card summary { font-size: 11px; }
.project-meta { margin-top: 8px; padding-top: 14px; border-top: 1px solid #e6edf4; font-size: 10px; overflow-wrap: anywhere; }

/* Manual navigation is a step selector, never an automatic execution trigger. */
.manual-steps { gap: 6px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.manual-steps a { padding: 11px 13px; border: 1px solid transparent; border-radius: 7px; color: #536b82; font-size: 13px; font-weight: 600; }
.manual-steps a:hover { background: #f0f6fb; color: var(--accent); }
.manual-steps a[aria-current="step"] { color: #08677b; background: #e6f3f8; border-color: #c2e2ed; }
.manual-stage-grid { gap: 22px; }
.manual-stage-grid > article { position: relative; align-content: start; border-top: 3px solid #69b6ca; }
.manual-stage-grid > article:nth-child(3) { border-top-color: #7e96ce; }
.manual-stage-grid > article:nth-child(4) { border-top-color: #81b9ae; }
.manual-stage-grid > article:nth-child(5) { border-top-color: #ab9bc7; }
.manual-stage-grid > article > h2 { margin: 0; font-size: 19px; }
.manual-stage-grid > article > p { margin: 0; }
.manual-stage-grid .tool-link { font-size: 12px; }
.manual-stage-grid .button-primary { width: fit-content; max-width: 100%; }
.pipeline-stages li { padding: 20px 17px; border-radius: 10px; }
.pipeline-stages .is-current { background: #eaf6fa; border-color: #77bccc; box-shadow: inset 0 3px #168198; }

/* Atlas: distinct taxonomy / resources surfaces and a bounded data viewport. */
.atlas-guide { display: flex; align-items: center; gap: 17px; margin: 0 0 24px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.atlas-guide > span:not(.atlas-guide-line) { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #536b82; }
.atlas-guide i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d5e6ee; border-radius: 50%; color: #2f748a; background: #f0f8fc; font: 11px ui-monospace, monospace; }
.atlas-guide-line { height: 1px; background: #d8e5ee; flex: 1; }
.atlas-help { margin: -8px 0 16px; }
.atlas-help > summary { width: fit-content; font-size: 12px; }
.atlas-help .atlas-guide { margin: 12px 0; }
.catalog-browser-toolbar {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px; align-items: end; padding: 20px 24px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.catalog-species-controls { gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 16px; }
.catalog-browser-toolbar .catalog-species-controls { border: 0; border-radius: 0; padding: 0; margin: 0; }
.catalog-browser-toolbar > .catalog-actions { gap: 8px; margin: 0; flex-wrap: nowrap; }
.catalog-browser-toolbar > .catalog-actions button { min-width: 0; min-height: 44px; padding: 10px 14px; flex: 1; font-size: 12px; }
.catalog-species-page [aria-pressed="true"] { color: #08677b; border-color: #91c8d5; background: #e2f2f8; box-shadow: inset 0 -2px #168198; }
#species-status { margin: 16px 0; font-size: 12px; color: #5d748c; }
.catalog-species-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 22px; margin-top: 20px; }
.catalog-taxonomy-panel { padding: 22px 18px; border-top: 3px solid #278aa3; }
.catalog-taxonomy-panel .eyebrow { font-size: 9px; }
.catalog-taxonomy-panel h2 { margin: 8px 0 18px; }
.catalog-taxonomy-panel .catalog-actions { gap: 7px; }
.catalog-taxonomy-panel .catalog-actions button { font-size: 11px; padding: 7px 10px; }
#species-tree-status, #species-record-status { color: var(--muted); font-size: 12px; }
#species-breadcrumbs button { padding: 5px 8px; min-height: 29px; border-color: #e1eaf3; font-size: 11px; font-weight: 400; }
#species-breadcrumbs button:disabled { opacity: 1; color: #296d85; background: #edf6fa; }
.catalog-taxonomy-nodes { margin: 16px 0; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #c6d6e3 transparent; }
.catalog-taxonomy-nodes li + li { margin-top: 5px; }
.catalog-taxonomy-nodes button { min-height: 43px; padding: 11px 10px; border: 1px solid transparent; background: #f4f8fc; font-size: 12px; font-weight: 500; }
.catalog-taxonomy-nodes button:hover { border-color: #b4d5e2; background: #e8f4fa; }
.catalog-taxonomy-nodes button span:last-child { align-self: center; padding: 1px 7px; border-radius: 5px; background: #e5edf6; color: #42647f; font: 11px/1.7 ui-monospace, monospace; }
.catalog-species-results { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.catalog-species-results > h2 { margin-top: 8px; margin-bottom: 12px; }
.catalog-species-results > .muted { font-size: 12px; }
.catalog-species-search { padding: 16px; border-radius: 10px; background: #f2f6fb; }
.catalog-species-search button { color: #fff; border-color: var(--accent); background: var(--accent); }
.catalog-species-search button:hover { background: var(--accent-dark); }
.pipeline-table-wrap { border: 1px solid #e0e8f1; border-radius: 9px; }
.pipeline-table-wrap th, .review-table th { padding: 13px 14px; background: #ecf2f8; color: #45627b; font-size: 11px; font-weight: 700; }
.pipeline-table-wrap td { padding: 13px 14px; font-size: 12px; border-bottom-color: #e7edf4; }
.pipeline-table-wrap tr:last-child td { border-bottom: 0; }
.pipeline-table-wrap tbody tr:hover, .review-table tbody tr:hover { background: #f2f8fc; }
.pipeline-table-wrap td:first-child a { color: var(--accent-dark); font-family: ui-monospace, monospace; font-weight: 600; }
.catalog-search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.catalog-search-grid > button { grid-column: 1 / -1; justify-self: end; min-width: 120px; }
.catalog-records-page > section:not(.catalog-empty) { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.catalog-empty { padding: 25px; background: #eaf4f9; border-radius: 12px; }
.catalog-import-steps li { border: 1px solid #d7e7f0; border-radius: 9px; background: #edf5fa; }
.catalog-import-steps span { font-size: 12px; }

/* Login has the same identity without an external illustration dependency. */
.auth-panel { position: relative; max-width: 460px; margin: 30px auto; padding: 38px; border-top: 3px solid #3ba5ba; }
.auth-panel h1 { font-size: 28px; margin-top: 15px; }
.auth-panel > .muted { font-size: 13px; }
.auth-emblem { position: relative; width: 54px; height: 54px; margin-bottom: 25px; border: 1px solid #c7e6ed; border-radius: 14px; background: #eaf6fa; overflow: hidden; }
.auth-emblem span { position: absolute; inset: 12px 8px; border: 1.5px solid #3f9cb0; border-radius: 50%; transform: rotate(-45deg); }
.auth-emblem span:nth-child(2) { transform: rotate(45deg); }
.auth-emblem span:nth-child(3) { inset: 23px; border: 0; border-radius: 50%; background: #087f96; }
.auth-note { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 11px; }

/* Page width is never sacrificed for decoration or long labels. Tables scroll locally. */
@media (max-width: 1120px) {
  .topbar { flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 24px 9px; }
  .topnav { order: 3; width: 100%; margin: 0; }
  .page-heading .catalog-actions { max-width: 45%; }
  .catalog-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-browser-toolbar { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 850px) {
  .catalog-species-layout, .catalog-species-controls { grid-template-columns: minmax(0, 1fr); }
  .catalog-taxonomy-nodes { max-height: 240px; }
  .workspace-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-link { grid-column: 1 / -1; }
  .atlas-guide { gap: 12px; padding: 16px; }
}
@media (max-width: 720px) {
  .topbar { padding: 14px 16px 9px; }
  .brand .brand-copy { display: grid; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 9px; }
  .brand-symbol { width: 32px; height: 37px; }
  .topnav { display: flex; gap: 4px; justify-content: flex-start; }
  .topnav a { padding: 10px 12px; font-size: 12px; }
  .shell { padding: 22px 16px 40px; }
  .site-footer { width: calc(100% - 32px); flex-direction: column; gap: 7px; padding: 18px 0; font-size: 9px; }
  .page-heading, .workspace-heading { padding: 24px 21px; min-height: 0; border-radius: 13px; gap: 20px; align-items: flex-start; background-size: 480px auto, cover; background-position: calc(100% + 140px) center, center; }
  .page-heading h1, .workspace-heading h1 { font-size: 27px; }
  .page-heading .muted, .workspace-heading .muted { font-size: 12px; }
  .page-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .page-heading .catalog-actions { justify-content: flex-start; max-width: 100%; flex-shrink: 1; }
  .page-heading .catalog-actions .button { font-size: 11px; padding: 8px 12px; }
  .tool-panel, .wide-tool-panel, .upload-panel, .execution-panel, .pipeline-panel { padding: 20px; }
  .project-card { padding: 22px; }
  .project-section-heading > .muted { display: none; }
  .workspace-overview { gap: 12px; }
  .overview-item { padding: 18px 16px; }
  .overview-label { flex-direction: column; gap: 3px; }
  .overview-item > strong { font-size: 28px; }
  .overview-item .overview-text { font-size: 18px; margin-top: 10px; }
  .manual-steps { gap: 3px; padding: 5px; }
  .manual-steps a { padding: 9px 10px; font-size: 11px; }
  .manual-stage-grid .button-primary { width: 100%; }
  .callout { font-size: 12px; padding: 12px 14px; }
  .atlas-guide { flex-direction: column; align-items: stretch; gap: 10px; }
  .atlas-guide-line { display: none; }
  .atlas-guide > span:not(.atlas-guide-line) { font-size: 12px; }
  .atlas-guide i { width: 24px; height: 24px; font-size: 10px; }
  .catalog-species-controls { padding: 18px; gap: 14px; }
  .catalog-species-results { padding: 18px; }
  .catalog-browser-toolbar { padding: 18px; }
  .catalog-browser-toolbar > .catalog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-browser-toolbar > .catalog-actions button { font-size: 11px; padding: 10px; min-width: 0; }
  .catalog-species-search { padding: 13px; }
  .catalog-search-grid { padding: 18px; }
  .auth-panel { padding: 28px; margin: 12px auto; }
  .auth-panel h1 { font-size: 26px; }
}
@media (max-width: 480px) {
  .catalog-search-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-search-grid > button { justify-self: stretch; }
  .atlas-guide { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
