body.gelv-atlas-page {
  --gelv-atlas-ink: #f0e4c8;
  --gelv-atlas-muted: rgba(240,228,200,.66);
  --gelv-atlas-rust: #d07a58;
  background-color: #0a2926 !important;
  background-image: linear-gradient(180deg, rgba(7,29,27,.88), rgba(17,61,54,.72) 48%, rgba(5,24,23,.88)), url('/assets/platform/platform-ambient-gpt.png') !important;
  background-blend-mode: normal, soft-light !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position: center top !important;
}

/* Generated square icon atlas is the normal visual; emoji is only a no-network fallback. */
html.gelv-atlas-page i[class*="fa-"]:not([data-gelv-icon]),
html.gelv-icon-system i[class*="fa-"]:not([data-gelv-icon]) { visibility: hidden; }
html.gelv-atlas-page.gelv-icons-ready i[class*="fa-"][data-gelv-icon="image"],
html.gelv-atlas-page.gelv-icons-fallback i[class*="fa-"][data-gelv-icon="image"],
html.gelv-icon-system.gelv-icons-ready i[class*="fa-"][data-gelv-icon="image"],
html.gelv-icon-system.gelv-icons-fallback i[class*="fa-"][data-gelv-icon="image"] { visibility: visible; }
i[data-gelv-icon="image"] {
  display: inline-block;
  width: 1.18em;
  height: 1.18em;
  min-width: 1.18em;
  flex: 0 0 1.18em;
  overflow: hidden;
  vertical-align: -.2em;
  border: 1px solid rgba(213,170,88,.28);
  border-radius: 5px;
  background-color: #0a2926;
  background-image: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png'));
  background-position: var(--gelv-icon-x, 0%) var(--gelv-icon-y, 0%);
  background-size: var(--gelv-icon-bg-size, 400% 400%);
  background-repeat: no-repeat;
  color: transparent;
  font-style: normal;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 3px 10px rgba(0,0,0,.12);
}
 i[data-gelv-icon="image"]::before { content: none !important; }
html.gelv-icons-ready i[data-gelv-icon="image"] { font-family: inherit; }
html.gelv-icons-ready i.gelv-icon-animated { animation: gelvIconSpin 1.15s linear infinite; }
@keyframes gelvIconSpin { to { transform: rotate(360deg); } }
html.gelv-icons-fallback i[data-gelv-icon="image"] {
  border: 0;
  background: none;
  color: currentColor;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 1em;
  box-shadow: none;
}
html.gelv-icons-fallback i[data-gelv-icon="image"]::before { content: attr(data-gelv-icon-fallback) !important; }
html.gelv-icons-fallback i.gelv-icon-animated { animation: none; }

/* Tour seals are also image surfaces; the glyph is only a network fallback. */
.gelv-tour-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: transparent;
  font-size: 0;
  background: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png')) 66.6667% 0 / 400% 400% no-repeat;
  border: 1px solid rgba(255,246,232,.75);
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px #a63b2a, inset 0 0 0 5px rgba(255,246,232,.35);
}
.gelv-tour-seal[data-tour-icon="1"] { background-position: 33.3333% 0; }
.gelv-tour-seal[data-tour-icon="2"] { background-position: 100% 0; }
.gelv-tour-seal[data-tour-icon="3"] { background-position: 0 33.3333%; }
.gelv-tour-seal[data-tour-icon="4"] { background-position: 33.3333% 33.3333%; }
.gelv-tour-seal[data-tour-icon="5"] { background-position: 66.6667% 33.3333%; }
html.gelv-icons-fallback .gelv-tour-seal {
  color: #fff6e8;
  font-size: 20px;
  background: #a63b2a;
}
html.gelv-icons-fallback .gelv-tour-seal::before { content: '🪶'; }

/* Shared close controls use the generated atlas instead of text glyphs. */
body.gelv-atlas-page :where(.modal-close, .poly-modal-close, .coze-modal-close, .page-error-close, .connection-banner-close, .selected-author-remove, .gelv-lens-close),
body.gelv-admin-page :where(.modal-close, .poly-modal-close, .coze-modal-close, .page-error-close, .connection-banner-close, .selected-author-remove, .gelv-lens-close) {
  font-size: 0 !important;
  line-height: 0 !important;
}
body.gelv-atlas-page :where(.modal-close, .poly-modal-close, .coze-modal-close, .page-error-close, .connection-banner-close, .selected-author-remove, .gelv-lens-close)::after,
body.gelv-admin-page :where(.modal-close, .poly-modal-close, .coze-modal-close, .page-error-close, .connection-banner-close, .selected-author-remove, .gelv-lens-close)::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-image: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png'));
  background-position: 33.3333% 100%;
  background-size: 400% 400%;
  background-repeat: no-repeat;
  border: 1px solid rgba(229, 210, 164, .28);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* Section seals retain their accessible text while presenting a generated image surface. */
body.gelv-atlas-page .seal,
body.gelv-admin-page .seal {
  color: transparent !important;
  font-size: 0 !important;
  text-shadow: none !important;
  background-color: #244d4a !important;
  background-image: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png')) !important;
  background-position: 0 0 !important;
  background-size: 400% 400% !important;
  background-repeat: no-repeat !important;
  border-color: rgba(229, 210, 164, .34) !important;
}
body.gelv-admin-page .grid a.card:nth-child(2) .seal { background-position: 33.3333% 0 !important; }
body.gelv-admin-page .grid a.card:nth-child(3) .seal { background-position: 66.6667% 0 !important; }
body.gelv-admin-page .grid a.card:nth-child(4) .seal { background-position: 100% 0 !important; }
body.gelv-admin-page .brand .seal { background-position: 66.6667% 33.3333% !important; }
body.gelv-atlas-page #gelvLensFab .gelv-lens-seal,
body.gelv-atlas-page .gelv-lens-mark {
  color: transparent !important;
  font-size: 0 !important;
  background-color: #244d4a !important;
  background-image: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png')) !important;
  background-position: 0 0 !important;
  background-size: 400% 400% !important;
  background-repeat: no-repeat !important;
}

body.gelv-atlas-page::before {
  content: "";
  position: fixed;
  inset: 52px 0 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 15% 16%, rgba(197,166,103,.12), transparent 28%), linear-gradient(90deg, rgba(7,31,29,.22), transparent 32%, rgba(22,74,65,.18));
}
.gelv-atlas-rail-shell {
  position: relative;
  z-index: 20;
  width: min(1240px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 11px 14px 12px;
  border: 1px solid rgba(229, 210, 164, .24);
  background: rgba(8, 38, 35, .78);
  box-shadow: 0 18px 44px -32px rgba(25, 58, 55, .54);
  -webkit-backdrop-filter: blur(20px) saturate(128%);
  backdrop-filter: blur(20px) saturate(128%);
}
.gelv-atlas-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--gelv-atlas-ink); }
.gelv-atlas-head-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; min-width: 0; }
.gelv-atlas-head .gelv-atlas-kicker { color: var(--gelv-atlas-rust); font-size: 9px; letter-spacing: .18em; }
.gelv-atlas-head b { font-family: "Songti SC", "Noto Serif SC", serif; font-size: 17px; }
.gelv-atlas-head small { color: var(--gelv-atlas-muted); font-size: 11px; }
.gelv-atlas-focus { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; padding: 0; border: 1px solid rgba(229,210,164,.28); border-radius: 50%; color: var(--gelv-atlas-ink); background: rgba(255,255,255,.08); cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease; }
.gelv-atlas-focus i { pointer-events: none; }
.gelv-atlas-focus:hover, .gelv-atlas-focus:focus-visible { color: #fff4cf; border-color: rgba(213,170,88,.72); background: rgba(213,170,88,.18); transform: translateY(-1px); }
.gelv-atlas-track {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 82px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(213, 170, 88, .42) transparent;
  padding: 5px 7px 9px;
  touch-action: pan-x;
  cursor: grab;
  scroll-snap-type: x proximity;
}
.gelv-atlas-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.gelv-atlas-track::-webkit-scrollbar { height: 4px; }
.gelv-atlas-track::-webkit-scrollbar-thumb { background: rgba(213, 170, 88, .42); }
.gelv-atlas-item {
  position: relative;
  flex: 0 0 138px;
  min-height: 68px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: var(--gelv-atlas-ink);
  text-decoration: none;
  border: 1px solid rgba(229,210,164,.20);
  background: rgba(18, 65, 58, .62);
  transform: translateY(var(--atlas-y, 0)) scale(var(--atlas-scale, .92));
  opacity: var(--atlas-opacity, .72);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .25s ease, border-color .2s ease, background-color .2s ease;
  scroll-snap-align: center;
}
.gelv-atlas-item:hover, .gelv-atlas-item.is-current { border-color: rgba(213,170,88,.60); background: rgba(42, 101, 88, .68); }
.gelv-atlas-item.is-current { box-shadow: 0 12px 22px -18px rgba(41,75,73,.68); }
.gelv-atlas-icon {
  width: 44px;
  height: 44px;
  display: block;
  background-image: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png'));
  background-size: 400% 400%;
  background-position: var(--icon-x, 0%) var(--icon-y, 0%);
  background-repeat: no-repeat;
  border: 1px solid rgba(47,88,83,.30);
  border-radius: 6px;
  background-color: #244d4a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 18px -14px rgba(0,0,0,.65);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), filter .25s ease;
}
.gelv-atlas-item:hover .gelv-atlas-icon,
.gelv-atlas-item.is-current .gelv-atlas-icon { transform: scale(1.06); filter: saturate(1.12) brightness(1.08); }
.gelv-atlas-item[data-icon="0"] { --icon-x: 33.3333%; --icon-y: 0%; }
.gelv-atlas-item[data-icon="1"] { --icon-x: 66.6667%; --icon-y: 0%; }
.gelv-atlas-item[data-icon="2"] { --icon-x: 100%; --icon-y: 0%; }
.gelv-atlas-item[data-icon="3"] { --icon-x: 33.3333%; --icon-y: 33.3333%; }
.gelv-atlas-item[data-icon="4"] { --icon-x: 66.6667%; --icon-y: 33.3333%; }
.gelv-atlas-item[data-icon="5"] { --icon-x: 33.3333%; --icon-y: 66.6667%; }
.gelv-atlas-item[data-icon="6"] { --icon-x: 100%; --icon-y: 33.3333%; }
.gelv-atlas-item[data-icon="7"] { --icon-x: 0%; --icon-y: 33.3333%; }
.gelv-atlas-item[data-icon="8"] { --icon-x: 0%; --icon-y: 66.6667%; }
.gelv-atlas-item[data-icon="9"] { --icon-x: 33.3333%; --icon-y: 66.6667%; }
.gelv-atlas-item[data-icon="10"] { --icon-x: 66.6667%; --icon-y: 66.6667%; }
.gelv-atlas-item[data-icon="11"] { --icon-x: 100%; --icon-y: 66.6667%; }
.gelv-atlas-item[data-icon="12"] { --icon-x: 0%; --icon-y: 100%; }
.gelv-atlas-item[data-icon="13"] { --icon-x: 33.3333%; --icon-y: 100%; }
.gelv-atlas-item[data-icon="14"] { --icon-x: 66.6667%; --icon-y: 100%; }
.gelv-atlas-item[data-icon="15"] { --icon-x: 100%; --icon-y: 100%; }
.gelv-atlas-copy { min-width: 0; }
.gelv-atlas-copy b, .gelv-atlas-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gelv-atlas-copy b { font: 600 14px/1.25 "Songti SC", "Noto Serif SC", serif; }
.gelv-atlas-copy small { margin-top: 4px; color: var(--gelv-atlas-muted); font-size: 9px; }
.gelv-atlas-item > i { color: var(--gelv-atlas-rust); font-size: 13px; font-style: normal; }
html.gelv-icons-fallback .gelv-atlas-icon { background: rgba(213,170,88,.12); }
html.gelv-icons-fallback .gelv-atlas-icon::before { content: "🧭"; display: grid; place-items: center; height: 100%; color: currentColor; font: 18px/1 "Segoe UI Emoji", "Apple Color Emoji", sans-serif; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="1"] .gelv-atlas-icon::before { content: "🪶"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="2"] .gelv-atlas-icon::before { content: "📖"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="3"] .gelv-atlas-icon::before { content: "🔎"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="4"] .gelv-atlas-icon::before { content: "👁️"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="5"] .gelv-atlas-icon::before { content: "🔔"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="6"] .gelv-atlas-icon::before { content: "🎓"; }
html.gelv-icons-fallback .gelv-atlas-item[data-icon="7"] .gelv-atlas-icon::before { content: "🔬"; }
html.gelv-icons-fallback .gelv-admin-entry-icon,
html.gelv-icons-fallback .gelv-admin-focus-icon,
html.gelv-icons-fallback .gelv-admin-entry-arrow {
  position: relative;
  background-image: none;
  background-color: rgba(213,170,88,.12);
}
html.gelv-icons-fallback .gelv-admin-entry-icon::before,
html.gelv-icons-fallback .gelv-admin-focus-icon::before,
html.gelv-icons-fallback .gelv-admin-entry-arrow::before {
  content: "🧭";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font: 16px/1 "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="1"] .gelv-admin-entry-icon::before { content: "🪶"; }
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="2"] .gelv-admin-entry-icon::before { content: "📖"; }
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="3"] .gelv-admin-entry-icon::before { content: "🔎"; }
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="4"] .gelv-admin-entry-icon::before { content: "🔔"; }
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="5"] .gelv-admin-entry-icon::before { content: "👁️"; }
html.gelv-icons-fallback .gelv-admin-entry-item[data-icon="6"] .gelv-admin-entry-icon::before { content: "🔬"; }
.gelv-atlas-reveal { opacity: 0; transform: translateY(14px); }
.gelv-atlas-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }

/* Keep the shared module rail visually aligned with research and workbench entry shells. */
body.gelv-atlas-page main,
body.gelv-atlas-page > .container,
body.gelv-atlas-page > .main-container,
body.gelv-atlas-page > .page-container { position: relative; z-index: 1; }
body.gelv-atlas-page .gelv-atlas-rail-shell { border-radius: 8px; }
body.gelv-atlas-page .gelv-atlas-item:focus-visible { outline: 2px solid rgba(229, 210, 164, .82); outline-offset: 3px; }
body.gelv-atlas-page .gelv-gloria-portrait,
body.gelv-admin-page .gelv-gloria-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
body.gelv-atlas-page .page-header { isolation: isolate; }
body.gelv-atlas-page .page-header::before {
  content: "";
  z-index: -1;
  width: 340px;
  height: 220px;
  right: 0;
  background: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png')) 100% 33.3333% / 400% 400% no-repeat;
  opacity: .10;
}

/* Ordinary modules share one generated stage behind their existing controls. */
body.gelv-atlas-page .main-container,
body.gelv-atlas-page .main-content,
body.gelv-atlas-page > .container,
body.gelv-atlas-page > .page-container,
body.gelv-atlas-page > main {
  position: relative;
  isolation: isolate;
}
body.gelv-atlas-page .main-container::before,
body.gelv-atlas-page .main-content::before,
body.gelv-atlas-page > .container::before,
body.gelv-atlas-page > .page-container::before,
body.gelv-atlas-page > main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/platform/platform-ambient-gpt.png') center / cover no-repeat;
  opacity: .055;
  mix-blend-mode: multiply;
}
body.gelv-atlas-page .card:focus-within,
body.gelv-atlas-page .panel:focus-within,
body.gelv-atlas-page .content-card:focus-within,
body.gelv-atlas-page .search-card:focus-within,
body.gelv-atlas-page .table-card:focus-within {
  border-color: rgba(201,151,47,.42) !important;
  box-shadow: 0 0 0 3px rgba(201,151,47,.10), 0 18px 44px -22px rgba(96,58,24,.22) !important;
}

/* Dense ordinary modules keep their existing controls, but gain one shared stage. */
body.gelv-atlas-page > .container,
body.gelv-atlas-page > .wrap,
body.gelv-atlas-page > main {
  position: relative;
  isolation: isolate;
}
body.gelv-atlas-page > .container::before,
body.gelv-atlas-page > .wrap::before,
body.gelv-atlas-page > main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/platform/platform-ambient-gpt.png') center / cover no-repeat;
  opacity: .04;
  mix-blend-mode: multiply;
}
body.gelv-atlas-page > .container::after,
body.gelv-atlas-page > .wrap::after,
body.gelv-atlas-page > main::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 4%;
  width: min(380px, 42vw);
  height: 240px;
  z-index: 0;
  pointer-events: none;
  background: var(--gelv-icon-atlas, url('/assets/platform/gelv-icon-atlas-gpt-v3.png')) 100% 33.3333% / 400% 400% no-repeat;
  opacity: .045;
  mix-blend-mode: multiply;
}
body.gelv-atlas-page > .container > *,
body.gelv-atlas-page > .wrap > *,
body.gelv-atlas-page > main > * {
  position: relative;
  z-index: 1;
}
body.gelv-atlas-page :where(.card, .panel, .band, .batch-toolbar, .filters, .search-section, .results-section) {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background-color .24s ease;
}
body.gelv-atlas-page :where(.card, .panel, .band, .batch-toolbar, .filters, .search-section, .results-section):focus-within {
  border-color: rgba(201,151,47,.46) !important;
  box-shadow: 0 0 0 3px rgba(201,151,47,.10), 0 18px 44px -22px rgba(96,58,24,.22) !important;
}
body.gelv-atlas-page :where(.table-wrap, .table-container, .table-responsive, .data-table-wrap) {
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(201,151,47,.46) transparent;
}
body.gelv-atlas-page :where(.table-wrap, .table-container, .table-responsive, .data-table-wrap)::-webkit-scrollbar-thumb {
  background: rgba(201,151,47,.38);
}
body.gelv-atlas-page :where(table, .data-table) tbody tr {
  transition: background-color .18s ease, box-shadow .18s ease;
}
body.gelv-atlas-page :where(table, .data-table) tbody tr:hover,
body.gelv-atlas-page :where(table, .data-table) tbody tr:focus-within {
  box-shadow: inset 3px 0 0 rgba(201,151,47,.76);
}
body.gelv-atlas-page :where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid rgba(201,151,47,.72) !important;
  outline-offset: 2px;
}
body.gelv-atlas-page .page-header,
body.gelv-atlas-page .page-title,
body.gelv-atlas-page .page-subtitle { position: relative; z-index: 1; }

/* A single focus state keeps ordinary pages, research tools and workbenches readable at high density. */
body.gelv-immersive-mode #gelvNav,
body.gelv-immersive-mode .research-suite-nav { opacity: 0; transform: translateY(-110%); pointer-events: none; transition: opacity .24s ease, transform .24s ease; }
body.gelv-immersive-mode .gelv-atlas-rail-shell { border-color: rgba(213,170,88,.48); box-shadow: 0 20px 46px -30px rgba(32,58,52,.72); }
body.gelv-immersive-mode .gelv-atlas-track { scrollbar-color: rgba(213,170,88,.58) transparent; }
body.gelv-immersive-mode.gelv-workbench .main-layout { grid-template-columns: minmax(0, 1fr) !important; }
body.gelv-immersive-mode.gelv-workbench .config-panel,
body.gelv-immersive-mode.gelv-workbench .side-panel { display: none !important; }
body.gelv-immersive-mode.gelv-workbench .main-content { max-height: none; min-height: 100vh; padding-top: 18px; }
body.gelv-immersive-mode.gelv-workbench .content-wrapper { width: min(100%, 1240px); max-width: 1240px; }
body.gelv-immersive-mode.research-page .research-suite-nav { visibility: hidden; }
body.gelv-immersive-mode .gelv-atlas-focus { color: #fff4cf; border-color: rgba(213,170,88,.72); background: rgba(213,170,88,.18); }

@media (max-width: 760px) {
  html,
  body.gelv-atlas-page { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
  body.gelv-atlas-page .main-content { width: 100vw !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-inline: 16px !important; }
  body.gelv-atlas-page .main-content,
  body.gelv-atlas-page .main-container,
  body.gelv-atlas-page .container,
  body.gelv-atlas-page .wrap,
  body.gelv-atlas-page .page-header,
  body.gelv-atlas-page .search-layout,
  body.gelv-atlas-page .content-area,
  body.gelv-atlas-page .search-section,
  body.gelv-atlas-page .results-section,
  body.gelv-atlas-page .ai-sidebar { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  body.gelv-atlas-page .page-header,
  body.gelv-atlas-page .search-section,
  body.gelv-atlas-page .results-section { overflow: hidden; }
  body.gelv-atlas-page .page-title { flex-wrap: wrap; max-width: 100%; }
  body.gelv-atlas-page .search-layout { display: block; }
  body.gelv-atlas-page .content-area { display: flex; }
  body.gelv-atlas-page .main-search,
  body.gelv-atlas-page .search-mode-section,
  body.gelv-atlas-page .search-actions,
  body.gelv-atlas-page .results-header { min-width: 0; max-width: 100%; }
  body.gelv-atlas-page .search-input-wrapper,
  body.gelv-atlas-page .search-input,
  body.gelv-atlas-page .refine-search-input { min-width: 0; max-width: 100%; }
  body.gelv-atlas-page .search-actions { flex-wrap: wrap; }
  body.gelv-atlas-page .search-actions .btn { flex: 1 1 130px; min-width: 0; }
  body.gelv-atlas-page .page-subtitle { overflow-wrap: anywhere; }
  body.gelv-atlas-page > .container::after,
  body.gelv-atlas-page > .wrap::after,
  body.gelv-atlas-page > main::after {
    top: 8px;
    right: -72px;
    width: 260px;
    height: 190px;
    opacity: .025;
  }
}
@media (max-width: 760px) {
  body.gelv-atlas-page { background-attachment: scroll !important; }
  .gelv-atlas-rail-shell { width: calc(100% - 20px); margin-top: 10px; padding: 9px 9px 10px; }
  .gelv-atlas-head { gap: 8px; flex-wrap: wrap; }
  .gelv-atlas-head-copy { gap: 8px; }
  .gelv-atlas-head small { width: 100%; }
  .gelv-atlas-track { min-height: 72px; margin-right: -4px; }
  .gelv-atlas-item { flex-basis: 128px; min-height: 62px; grid-template-columns: 38px minmax(0,1fr) 12px; }
  .gelv-atlas-icon { width: 36px; height: 36px; }
}
@media (max-width: 760px) {
  body.gelv-immersive-mode.gelv-workbench .main-content { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .gelv-atlas-item, .gelv-atlas-reveal.is-visible { transition: none; transform: none; }
}

/* The shared rail keeps its interaction model while inheriting each dense surface's visual language. */
body.research-page.gelv-atlas-page {
  --gelv-atlas-ink: #213035;
  --gelv-atlas-muted: #66777a;
  --gelv-atlas-rust: #a34838;
  background-color: #edf1ed !important;
  background-image: linear-gradient(rgba(247, 249, 245, .70), rgba(239, 244, 241, .78)), url('/assets/research/research-ambient-gpt.png'), url('/assets/research/research-atlas.png') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
body.research-page.gelv-atlas-page::before {
  background: linear-gradient(90deg, rgba(255,255,255,.32), transparent 26%, transparent 74%, rgba(255,255,255,.26));
}
body.research-page.gelv-atlas-page .gelv-atlas-rail-shell {
  border-color: rgba(47, 79, 80, .16);
  background: rgba(248, 250, 246, .84);
  box-shadow: 0 15px 42px -30px rgba(23, 48, 52, .64);
}
body.research-page.gelv-atlas-page .gelv-atlas-item {
  color: #304345;
  border-color: rgba(47, 79, 80, .16);
  background: rgba(234, 240, 236, .72);
}
body.research-page.gelv-atlas-page .gelv-atlas-item:hover,
body.research-page.gelv-atlas-page .gelv-atlas-item.is-current {
  border-color: rgba(52, 111, 115, .48);
  background: rgba(52, 111, 115, .12);
}
body.research-page.gelv-atlas-page .gelv-atlas-item.is-current { box-shadow: 0 12px 22px -18px rgba(23, 68, 70, .38); }
body.research-page.gelv-atlas-page .gelv-atlas-copy small { color: #66777a; }

body.gelv-workbench.gelv-atlas-page {
  --gelv-atlas-ink: #252a28;
  --gelv-atlas-muted: #69736e;
  --gelv-atlas-rust: #9b4031;
  background-color: #e7ebe8 !important;
  background-image: linear-gradient(rgba(241, 245, 242, .84), rgba(241, 245, 242, .90)), url('/assets/platform/workbench-ambient-gpt.png') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
body.gelv-workbench.gelv-atlas-page::before { background: rgba(241, 245, 242, .64); }
body.gelv-workbench.gelv-atlas-page .gelv-atlas-rail-shell {
  border-color: rgba(67, 73, 69, .18);
  background: rgba(243, 239, 229, .88);
  box-shadow: 0 18px 44px -32px rgba(54, 48, 39, .22);
}
body.gelv-workbench.gelv-atlas-page .gelv-atlas-item {
  color: #252a28;
  border-color: rgba(67, 73, 69, .16);
  background: rgba(251, 248, 240, .68);
}
body.gelv-workbench.gelv-atlas-page .gelv-atlas-item:hover,
body.gelv-workbench.gelv-atlas-page .gelv-atlas-item.is-current {
  border-color: rgba(155, 64, 49, .48);
  background: rgba(155, 64, 49, .10);
}
body.gelv-workbench.gelv-atlas-page .gelv-atlas-item.is-current { box-shadow: 0 12px 22px -18px rgba(92, 44, 34, .32); }
body.gelv-workbench.gelv-atlas-page .gelv-atlas-copy small { color: #69736e; }
body.research-page.gelv-atlas-page main::before,
body.research-page.gelv-atlas-page .wrap::before,
body.research-page.gelv-atlas-page .layout::before { opacity: 0; }
body.gelv-workbench.gelv-atlas-page .main-content::before { opacity: .025; }
body.gelv-workbench.gelv-atlas-page .main-layout { padding-top: 18px; }
body.gelv-workbench.gelv-atlas-page .main-content { overflow-x: hidden; }

body.research-page.media-research.gelv-atlas-page {
  background-color: #202720 !important;
  background-image: linear-gradient(rgba(30, 38, 33, .62), rgba(32, 39, 34, .76)), url('/assets/platform/media-ambient-gpt.png') !important;
  background-position: center top !important;
  background-size: cover !important;
}
body.research-page.media-research.gelv-atlas-page .hero {
  color: #f7ecd7 !important;
  background: linear-gradient(112deg, rgba(19, 31, 31, .92), rgba(37, 57, 51, .72)), url('/assets/platform/media-ambient-gpt.png') center / cover !important;
  border-color: rgba(213, 188, 137, .24) !important;
}
body.research-page.media-research.gelv-atlas-page .hero h1 {
  color: #f7ecd7 !important;
}
body.research-page.media-research.gelv-atlas-page .hero p,
body.research-page.media-research.gelv-atlas-page .hero .hero-lead {
  color: rgba(244, 231, 205, .78) !important;
}
body.research-page.media-research.gelv-atlas-page .hero .eyebrow,
body.research-page.media-research.gelv-atlas-page .hero > .tag {
  color: #e1b86c !important;
  border-color: rgba(225, 184, 108, .32) !important;
  background: rgba(13, 27, 27, .34) !important;
}
body.research-page.media-research.gelv-atlas-page .hero::after {
  background-image: url('/assets/platform/media-ambient-gpt.png');
  opacity: .34;
}

@media (max-width: 768px) {
  body.gelv-workbench.gelv-atlas-page .main-layout { padding-top: 16px; }
  body.gelv-workbench.gelv-atlas-page .main-content {
    width: auto !important;
    max-width: none !important;
    padding-inline: 14px !important;
    overflow-x: hidden;
  }
}

@media (max-width: 760px) {
  body.research-page.gelv-atlas-page { background-attachment: scroll !important; }
  body.gelv-workbench.gelv-atlas-page { background-attachment: scroll !important; }
}
