/* Cobalt terminal palette, sampled from the supplied Isle blue UI reference.
   Legacy token names remain compatible with existing components. */
html[data-theme=blue] {
  --bg:#02050c; --surface:#070d1a; --surface-high:#0b1730;
  --line:#244d9e; --text:#a6c3ff; --muted:#7899d5;
  --olive:#3977ec; --sand:#3977ec; --cool:#93b4fa;
  --earth-band:#102b62; --earth-grid:#3977ec08;
  --dinocom-signal:var(--olive); --dinocom-signal-ink:var(--bg); --dinocom-signal-edge:var(--earth-band);
  color-scheme:dark;
}
html[data-theme=blue] body {
  background-color:var(--bg);
  background-image:linear-gradient(var(--earth-grid) 1px,transparent 1px),linear-gradient(90deg,var(--earth-grid) 1px,transparent 1px);
}
html[data-theme=blue] ::selection { background:#3977ec; color:#02050c; }
html[data-theme=blue] :is(input,select,textarea) { accent-color:var(--olive); }
html[data-theme=blue] :is(input,textarea)::placeholder { color:var(--muted); opacity:1; }
html[data-theme=blue] .site-header {
  --header-fill:#02050c; --header-edge:#2058c8; --header-cell:#3977ec0d;
}
html[data-theme=blue] .site-header .nav-list>li:first-child>a::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 64' preserveAspectRatio='none'%3E%3Cpath d='M1 0V20L21 40V64' fill='none' stroke='%232058c8' stroke-width='1'/%3E%3C/svg%3E");
}
html[data-theme=blue] :is(.site-footer,.account-dropdown) { background:var(--bg); }
html[data-theme=blue] :is(.panel,.card,.state,.server-status,.tab-component) { box-shadow:none; }
html[data-theme=blue] .hero-art:after {
  background:linear-gradient(90deg,#02050ceb 0%,#02050cbf 35%,#02050c50 68%,#02050c20 100%),linear-gradient(0deg,#02050c 0%,transparent 45%);
}
html[data-theme=blue] :is(.notice,.terminal-toolbar,.tabs,.section-heading) { border-color:var(--line); }
html[data-theme=blue] :is(.notice,.terminal-toolbar) { background:var(--earth-band); }
html[data-theme=blue] .button { border-color:#2058c8; }
html[data-theme=blue] .button:not(.button-ghost):hover { background:#6798ff; color:#02050c; }

/* Field protocols and species dossiers: olive title strips and quiet grey rules. */
html[data-theme=blue] :is(.rules-navigation,.dossier-nav,.dossier-panel) { background:var(--surface); }
html[data-theme=blue] :is(.rules-panel-heading,.rules-pack-group h4) { background:var(--earth-band); }
html[data-theme=blue] :is(.rules-list li,.rules-pack-group,.rules-strike-steps li,.rules-future-limit,.dossier-card) { background:var(--surface); border-color:var(--line); }
html[data-theme=blue] :is(.rules-navigation li a,.rules-list li,.rules-pack-table tbody th,.rules-pack-group h4,.rules-strike-steps h3,.dossier-card p,.dossier-card li) { color:var(--text); }
html[data-theme=blue] :is(.rules-navigation li a span,.rules-step-label,.dossier-nav a,.dossier-visual-code,.dossier-visual figcaption) { color:var(--muted); }
html[data-theme=blue] .dossier-card { border-top-color:#3977ec; }
html[data-theme=blue] .dossier-visual { background:radial-gradient(ellipse at center,#3977ec0c,transparent 65%),var(--bg); }
html[data-theme=blue] .dossier-limitations { background:#0b1730; border-color:#315eb3; }
html[data-theme=blue] .dossier-limitations p { color:var(--text); }

/* The complete archive follows Earth, including locally themed specimen cards. */
html[data-theme=blue] .compendium-page.compendium-neo,
html[data-theme=blue] .compendium-page.compendium-neo :is(.archive-intro,.manual-guide,.species-card) {
  --archive-paper:#070d1a; --archive-shade:#102b62; --archive-ink:#a6c3ff;
  --archive-rule:#244d9e; --archive-accent:#3977ec; --archive-soft:#7899d5;
  --text:#a6c3ff; --muted:#7899d5; --line:#244d9e; --olive:#3977ec;
  color:var(--archive-ink); color-scheme:dark;
}
html[data-theme=blue] .compendium-page.compendium-neo { background:transparent; }
html[data-theme=blue] .compendium-page.compendium-neo :is(.archive-intro,.manual-guide,.species-card,.compendium-library,.compendium-edition>span) {
  border-width:1px; box-shadow:none;
}
html[data-theme=blue] .compendium-neo .archive-intro>div:first-child { border-top:4px solid #3977ec; }
html[data-theme=blue] .compendium-neo :is(.archive-start,.archive-start:hover) { color:#02050c; background:var(--archive-accent); border-color:var(--archive-accent); box-shadow:none; }
html[data-theme=blue] .compendium-neo :is(.compendium-library,.compendium-tools,.library-key) { color:var(--archive-ink); background:var(--archive-shade); border-color:var(--archive-rule); }
html[data-theme=blue] .compendium-neo .compendium-tools :is(input,select) { color:var(--archive-ink); background:var(--archive-paper); border-color:var(--archive-rule); }
html[data-theme=blue] .compendium-neo :is(.compendium-tools label,.compendium-count,.library-key,.reference-note) { color:var(--archive-soft); }
html[data-theme=blue] .compendium-neo :is(.archive-readout,.species-card .species-image) {
  background-color:#0b1730; background-image:linear-gradient(var(--earth-grid) 1px,transparent 1px),linear-gradient(90deg,var(--earth-grid) 1px,transparent 1px);
}
html[data-theme=blue] .compendium-neo :is(.archive-placeholder-art,.species-card .species-image .dino-art) { filter:grayscale(.6) brightness(1.1); opacity:.8; }
html[data-theme=blue] .compendium-page.compendium-neo .species-card:hover { box-shadow:0 0 0 1px var(--archive-accent); }
html[data-theme=blue] .compendium-neo .species-card .species-record-tag { background:var(--archive-shade); color:var(--archive-accent); border-color:var(--archive-rule); }

/* Gateway chrome only: terrain imagery and geographic marker semantics stay intact. */
html[data-theme=blue] :is(.gateway-shell,.gateway-sidebar) { background:var(--surface); }
html[data-theme=blue] :is(.gateway-top,.gateway-bottom) { background:var(--earth-band); color:var(--text); }
html[data-theme=blue] :is(.gateway-tag,.gateway-north,.gateway-waypoint output,.gateway-bottom output) { color:var(--olive); }
html[data-theme=blue] :is(.gateway-help,.gateway-waypoint p) { color:var(--muted); }
html[data-theme=blue] :is(.gateway-sidebar input[type=search],.gateway-results button,.gateway-tools button) { background:var(--bg); border-color:var(--line); color:var(--text); }
html[data-theme=blue] :is(.gateway-results button:hover,.gateway-tools button:hover) { background:var(--earth-band); }

/* Live specimen instruments inherit a single restrained phosphor palette. */
html[data-theme=blue] :is(body.live-dinosaur-view,.live-dinosaur-view #main,.content-wrap.live-dinosaur-page,.specimen-console) { background:#000; background-image:none; }
html[data-theme=blue] .content-wrap.live-dinosaur-page {
  --signal:#3977ec; --signal-line:#2058c8;
  --olive:#3977ec; --sand:#3977ec; --cool:#93b4fa; --muted:#7899d5; --line:#244d9e;
}
html[data-theme=blue] :is(.console-masthead,.live-dinosaur-page .terminal-toolbar,.live-dinosaur-page .tabs) { background:var(--earth-band); }
html[data-theme=blue] .live-dinosaur-page .specimen-stage .specimen-scan-art { filter:grayscale(.65) sepia(.15); }

/* Private staff workspace also respects the visitor's Earth preference. */
html[data-theme=blue] .admin-terminal-page {
  --staff-accent:#3977ec; --staff-text:#a6c3ff; --staff-muted:#7899d5; --staff-line:#2058c8;
  background:var(--bg); background-image:linear-gradient(var(--earth-grid) 1px,transparent 1px); background-size:100% 5px;
}
html[data-theme=blue] .staff-panel { background:var(--surface); border-width:1px; box-shadow:none; }
html[data-theme=blue] :is(.staff-panel>header,.case-list-heading,.suspect-filter,.suspect-owner-hint) { background:var(--earth-band); border-color:var(--line); }
html[data-theme=blue] .staff-feed-empty { background-image:linear-gradient(var(--earth-grid) 1px,transparent 1px),linear-gradient(90deg,var(--earth-grid) 1px,transparent 1px); }
html[data-theme=blue] :is(.admin-notes-form textarea,.suspect-form input,.suspect-form select,.suspect-form textarea,.suspect-filter input,.suspect-filter select,.suspect-record.case-row) { background:var(--bg); }
html[data-theme=blue] :is(.case-row[open],.case-row-summary:hover,.case-status-review) { background:#3977ec0c; }
html[data-theme=blue] :is(.staff-integration,.staff-intake-types span,.staff-panel>footer,.staff-evidence,.staff-evidence>div+div,.staff-handover-row+.staff-handover-row,.case-row+.case-row,.case-record-meta,.suspect-pagination) { border-color:var(--line); }
html[data-theme=blue] .case-status-closed { color:var(--muted); border-color:var(--line); }
html[data-theme=blue] :is(.suspect-filter button,.suspect-form-actions button:not(.suspect-remove),.admin-notes-form .button) { color:var(--bg); }

html[data-theme=blue] {
  --instrument-160e07:#02050c;
  --instrument-482b16:#102b62;
  --instrument-603b23:#2058c8;
  --instrument-633d23:#2058c8;
  --instrument-754a29:#2058c8;
  --instrument-81512c:#2058c8;
  --instrument-82542e:#2058c8;
  --instrument-82552e:#2058c8;
  --instrument-8d5b32:#2058c8;
  --instrument-925e34:#2058c8;
  --instrument-986437:#2058c8;
  --instrument-986c44:#2058c8;
  --instrument-9e6536:#7899d5;
  --instrument-a57449:#7899d5;
  --instrument-a58c73:#7899d5;
  --instrument-a7754d:#7899d5;
  --instrument-a98d74:#7899d5;
  --instrument-aa7d54:#7899d5;
  --instrument-aa815b:#7899d5;
  --instrument-b29b85:#7899d5;
  --instrument-b67f50:#7899d5;
  --instrument-c39266:#7899d5;
  --instrument-d3b594:#3977ec;
  --instrument-d4a37a:#3977ec;
  --instrument-dd9a5a:#3977ec;
  --instrument-e49a4a14:#3977ec0c;
  --instrument-e7ac72:#3977ec;
  --instrument-e89b54:#3977ec;
  --instrument-e99b4a13:#3977ec0c;
  --instrument-e9b17b:#3977ec;
  --instrument-eea263:#3977ec;
  --instrument-efa15b:#3977ec;
  --instrument-efb27b:#3977ec;
  --instrument-efb37b:#3977ec;
  --instrument-f0b47a:#3977ec;
  --instrument-f2a25a:#3977ec;
  --instrument-f2b77b:#3977ec;
  --instrument-f4b278:#3977ec;
  --instrument-f5b674:#3977ec;
  --instrument-f8b577:#3977ec;
  --instrument-ffb878:#3977ec;
  --instrument-ffd1a0:#3977ec;
}

html[data-theme=blue] .compendium-page.compendium-neo .species-card .species-image { background-color:#0b1730; background-image:linear-gradient(var(--earth-grid) 1px,transparent 1px),linear-gradient(90deg,var(--earth-grid) 1px,transparent 1px); }
html[data-theme=blue] .compendium-page.compendium-neo .species-card .species-image .dino-art { filter:grayscale(.6) brightness(1.1); }
html[data-theme=blue] .compendium-page.compendium-neo .species-card .species-record-tag { color:var(--archive-accent); }
html[data-theme=blue] .compendium-neo .compendium-library-key { background:var(--archive-shade); color:var(--archive-soft); border-color:var(--archive-rule); }
html[data-theme=blue] .compendium-neo .compendium-library-key :is(strong,b,a) { color:var(--archive-accent); }
html[data-theme=blue] .compendium-neo .compendium-library-key b { background:var(--archive-paper); }
html[data-theme=blue] .compendium-neo :is(.reference-note p,.compendium-tools label>span) { color:var(--archive-soft); }
html[data-theme=blue] .compendium-neo .empty-inline { background:var(--archive-paper); color:var(--archive-ink); border-color:var(--archive-rule); }
html[data-theme=blue] :is(th,.podium-first) { background:var(--earth-band); }
html[data-theme=blue] .podium-card:not(.podium-first) { background:var(--surface); }
html[data-theme=blue] :is(.podium-rank,.preview-notice) { color:var(--muted); }
html[data-theme=blue] .preview-notice { background:var(--earth-band); }
html[data-theme=blue] .compendium-neo .compendium-portal { color:var(--archive-accent); background:var(--archive-paper); border-color:var(--archive-rule); }
html[data-theme=blue] .live-dinosaur-page :is(.console-panel-label,.stage-top .eyebrow,.stage-bottom,.vital-scale span,.condition .eyebrow,.facts dt) { color:var(--muted); }

/* Dossier-strip buttons: pale lettering retains contrast on the reference olive. */
html[data-theme=blue] :is(.hero-discord,.community-discord),
html[data-theme=blue] .compendium-neo :is(.archive-start,.archive-start:hover) { background:var(--earth-band); color:var(--text); border-color:#2058c8; }
html[data-theme=blue] :is(.hero-discord,.community-discord):hover { background:#143574; color:#d6e3ff; }
html[data-theme=blue] .live-dinosaur-page .terminal-toolbar { background:transparent; }

/* Reference palette: yellow-green #3977ec, paired with deep green #102b62. */
html[data-theme=blue] .site-header {
  --header-ink:#3977ec; --header-accent:#3977ec; --header-soft:#7899d5;
  --header-hover:#3977ec12;
}


/* Finish the newer workspaces with the same cobalt signal and black field. */
html[data-theme=blue] body { background:#02050c; background-image:none; }
html[data-theme=blue] .site-header { --header-fill:#000; --header-edge:#2058c8; --header-ink:#6396fa; --header-accent:#3977ec; --header-soft:#7899d5; --header-hover:#3977ec12; }
html[data-theme=blue] .site-header :is(.account-dropdown,.nav-list .sub-menu) { background:#030712; }
html[data-theme=blue] .site-footer { background:#02050c; }
html[data-theme=blue] .hero.hero-with-bruce .button-row .hero-discord { background:#3977ec; color:#02050c; border-color:#3977ec; }
html[data-theme=blue] .hero.hero-with-bruce .button-row .hero-discord:hover { background:#6798ff; border-color:#6798ff; }
html[data-theme=blue] .home-terminal { background:#000; }
html[data-theme=blue] .home-terminal .homepage-body .server-strip { --home-status-ink:#02050c; }
html[data-theme=blue] .inventory-console { --inventory-edge:#2058c8; background:#000; }
html[data-theme=blue] .inventory-page .inventory-masthead { background:#102b62; color:#a6c3ff; border-color:#2058c8; }
html[data-theme=blue] .inventory-page .inventory-masthead>span { color:#a6c3ff; }
html[data-theme=blue] .inventory-page .inventory-masthead i { background:#6396fa; }
html[data-theme=blue].ap-loading #antipodea-loader { --ap-loader-accent:#6396fa; background:#02050c; }
html[data-theme=blue] .ap-loader-brand { background:#3977ec; color:#02050c; }
html[data-theme=blue] .faq-page { --fq-accent:#6396fa; --fq-text:#a6c3ff; --fq-soft:#7899d5; --fq-bg:#02050c; --fq-panel:#070d1a; --fq-edge:#2058c8; --fq-ink:#02050c; }
html[data-theme=blue] .rules-handbook.rules-portal { --rp-accent:#6396fa; --rp-text:#a6c3ff; --rp-soft:#7899d5; --rp-bg:#02050c; --rp-panel:#070d1a; --rp-edge:#2058c8; --rp-ink:#02050c; }
html[data-theme=blue] .rules-portal .rules-portal-bar { background:#3977ec; color:#02050c; }
html[data-theme=blue] .compendium-page .islecom-search-dock { --dock-accent:#6396fa; --dock-soft:#7899d5; background:#030712; }
html[data-theme=blue] .compendium-page .species-quick-dialog { --quick-accent:#6396fa; --quick-bg:#070d1a; --quick-text:#a6c3ff; --quick-muted:#7899d5; --quick-line:#2058c8; }
html[data-theme=blue] .compendium-page.compendium-neo .catalogue-card-bay .species-card { --archive-paper:#090f1b; --archive-shade:#16233d; --archive-ink:#c4d5f7; --archive-soft:#91a9d5; --archive-rule:#28446f; box-shadow:4px 4px 0 #02050c; }
html[data-theme=blue] .compendium-page.compendium-neo .catalogue-card-bay .species-card .species-image { background:#151c29; }
html[data-theme=blue] .compendium-page.compendium-neo .catalogue-card-bay .species-card .species-card-body { background:var(--archive-paper); color:var(--archive-ink); }
html[data-theme=blue] .compendium-page.compendium-neo .catalogue-card-bay .species-card .image-pending-label { color:var(--archive-soft); }
html[data-theme=blue] .compendium-page.compendium-neo .archive-intro>.archive-readout.archive-contribute { background-image:none; }

html[data-theme=blue] .live-dinosaur-page .console-masthead { color:#a6c3ff; }
html[data-theme=blue] .live-dinosaur-page .console-masthead .console-private { color:#91abd8; }
html[data-theme=blue] .live-dinosaur-page .tabs button { color:#91abd8; }
html[data-theme=blue] .live-dinosaur-page .tabs button[aria-selected=true] { color:#c4d5f7; border-bottom-color:#3977ec; }
