:root {
  --atlas-motion-instant: 100ms;
  --atlas-motion-fast: 180ms;
  --atlas-motion-standard: 280ms;
  --atlas-motion-deliberate: 420ms;
  --atlas-motion-ceremony: 820ms;
  --atlas-ease-enter: cubic-bezier(.16, 1, .3, 1);
  --atlas-ease-exit: cubic-bezier(.7, 0, .84, 0);
  --atlas-ease-emphasis: cubic-bezier(.22, 1, .36, 1);
  --atlas-ease-settle: cubic-bezier(.2, .9, .25, 1.12);
  --atlas-shell-navy: #03111d;
  --atlas-shell-panel: rgba(5, 22, 36, .92);
  --atlas-shell-panel-strong: #071b2a;
  --atlas-shell-cyan: #3dd9e9;
  --atlas-shell-cyan-soft: rgba(61, 217, 233, .13);
  --atlas-shell-green: #25d49a;
  --atlas-shell-gold: #f4c857;
  --atlas-shell-text: #f4fbff;
  --atlas-shell-muted: #a9c1d2;
  --atlas-shell-line: rgba(103, 222, 236, .22);
  --atlas-shell-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html[data-theme="light"] {
  --atlas-shell-navy: #eef7fb;
  --atlas-shell-panel: rgba(248, 252, 255, .94);
  --atlas-shell-panel-strong: #ffffff;
  --atlas-shell-cyan: #08718d;
  --atlas-shell-cyan-soft: rgba(8, 113, 141, .10);
  --atlas-shell-green: #087c62;
  --atlas-shell-gold: #8b6500;
  --atlas-shell-text: #071827;
  --atlas-shell-muted: #4b6273;
  --atlas-shell-line: rgba(7, 91, 116, .22);
}

@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--atlas-motion-standard);
  animation-timing-function: var(--atlas-ease-enter);
}

::view-transition-old(root) { animation-name: atlas-shell-page-out; }
::view-transition-new(root) { animation-name: atlas-shell-page-in; }

::view-transition-group(atlas-command-dock),
::view-transition-group(atlas-mobile-topbar),
::view-transition-old(atlas-command-dock),
::view-transition-new(atlas-command-dock),
::view-transition-old(atlas-mobile-topbar),
::view-transition-new(atlas-mobile-topbar) {
  animation: none;
  opacity: 1;
  mix-blend-mode: normal;
}

::view-transition-group(atlas-command-dock),
::view-transition-group(atlas-mobile-topbar) { z-index: 2147482000; }

@keyframes atlas-shell-page-out {
  to { opacity: 0; transform: translate3d(-10px, 0, 0); }
}

@keyframes atlas-shell-page-in {
  from { opacity: 0; transform: translate3d(10px, 0, 0); }
}

html[data-atlas-route-direction="back"]::view-transition-old(root) {
  animation-name: atlas-shell-page-out-back;
}

html[data-atlas-route-direction="back"]::view-transition-new(root) {
  animation-name: atlas-shell-page-in-back;
}

@keyframes atlas-shell-page-out-back {
  to { opacity: 0; transform: translate3d(10px, 0, 0); }
}

@keyframes atlas-shell-page-in-back {
  from { opacity: 0; transform: translate3d(-10px, 0, 0); }
}

.atlas-command-trigger {
  position: relative;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--atlas-shell-line);
  border-radius: 12px;
  background: var(--atlas-shell-cyan-soft);
  color: var(--atlas-shell-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--atlas-motion-instant) ease, border-color var(--atlas-motion-fast) ease;
}

.atlas-command-trigger:active { transform: scale(.94); }
.atlas-command-trigger svg { width: 22px; height: 22px; stroke-width: 2; }
.fc-mobile-theme-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke-width: 2;
}
.atlas-command-trigger .atlas-command-trigger__close { display: none; }
body.atlas-command-map-open .atlas-command-trigger .atlas-command-trigger__menu { display: none; }
body.atlas-command-map-open .atlas-command-trigger .atlas-command-trigger__close { display: block; }

.fc-mobile-overflow-menu[data-fc-mobile-overflow] {
  display: none !important;
}

.atlas-command-map {
  position: fixed;
  inset: 0;
  z-index: 2147483000 !important;
  isolation: isolate;
  visibility: hidden;
  pointer-events: none;
}

.atlas-command-map__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 7, 13, .58);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: opacity var(--atlas-motion-standard) ease, backdrop-filter var(--atlas-motion-standard) ease;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-map__scrim {
  inset: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(1, 7, 13, .72) !important;
  box-shadow: none !important;
}

.atlas-command-map__sheet {
  position: absolute;
  inset: max(8px, env(safe-area-inset-top, 0px)) 8px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(72, 224, 239, .32);
  border-radius: 22px;
  background:
    linear-gradient(rgba(61, 217, 233, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 217, 233, .03) 1px, transparent 1px),
    linear-gradient(180deg, #061b2b, #020d17);
  background-size: 42px 42px, 42px 42px, auto;
  color: #f4fbff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .58);
  opacity: 0;
  transform: translate3d(36px, -28px, 0) scale(.94);
  transform-origin: top right;
  transition: opacity var(--atlas-motion-standard) ease, transform var(--atlas-motion-deliberate) var(--atlas-ease-enter);
}

body[data-site="atlas"] .atlas-command-map .atlas-command-map__sheet {
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(72, 224, 239, .32) !important;
  background:
    linear-gradient(rgba(61, 217, 233, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 217, 233, .03) 1px, transparent 1px),
    linear-gradient(180deg, #061b2b, #020d17) !important;
  background-size: 42px 42px, 42px 42px, auto !important;
  color: #f4fbff !important;
  font: 400 16px/1.4 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
}

.atlas-command-map[data-open="true"] {
  visibility: visible;
  pointer-events: auto;
}

.atlas-command-map[data-open="true"] .atlas-command-map__scrim {
  opacity: 1;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.atlas-command-map[data-open="true"] .atlas-command-map__sheet {
  opacity: 1;
  transform: none;
}

.atlas-command-map__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(112, 222, 236, .18);
}

body[data-site="atlas"] .atlas-command-map .atlas-command-map__head {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px 18px 14px !important;
  color: #f4fbff !important;
  font: 400 16px/1.4 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-transform: none !important;
}

.atlas-command-map__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.atlas-command-map__identity img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(112, 222, 236, .26);
  border-radius: 10px;
  object-fit: contain;
  background: #05101b;
}

.atlas-command-map__identity span,
.atlas-command-map__identity strong,
.atlas-command-map__identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-command-map__identity span {
  color: #72e4ef;
  font: 850 .64rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.atlas-command-map__identity strong {
  margin-top: 4px;
  color: #f4fbff !important;
  font: 900 1.05rem/1.15 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.atlas-command-map__identity small {
  margin-top: 2px;
  color: #a9c1d2 !important;
  font: 600 .78rem/1.3 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.atlas-command-map__close {
  width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 222, 236, .24);
  border-radius: 12px;
  background: rgba(61, 217, 233, .10);
  color: #f4fbff;
}

.atlas-command-map__close svg { width: 22px; height: 22px; }

body[data-site="atlas"] .atlas-command-map .atlas-command-map__close {
  border: 1px solid rgba(112, 222, 236, .24) !important;
  background: rgba(61, 217, 233, .10) !important;
  color: #f4fbff !important;
  box-shadow: none !important;
}

.atlas-command-search {
  position: relative;
  display: block !important;
  box-sizing: border-box !important;
  margin: 14px 18px 0;
  padding: 0 !important;
}

.atlas-command-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #72e4ef;
  pointer-events: none;
}

.atlas-command-search input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px 12px 46px;
  border: 1px solid rgba(112, 222, 236, .25);
  border-radius: 14px;
  background: rgba(2, 13, 23, .86);
  color: #f4fbff;
  font: 700 .9rem/1.25 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  outline: 0;
}

.atlas-command-search input:focus {
  border-color: #3dd9e9;
  box-shadow: 0 0 0 3px rgba(61, 217, 233, .14);
}

.atlas-command-map__scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 18px 28px;
}

body[data-site="atlas"] .atlas-command-map section,
body[data-site="atlas"] .atlas-quick-sheet section {
  min-height: 0;
  margin: 0;
  background: transparent;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-block {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.atlas-command-block {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.atlas-command-block > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.atlas-command-block > header span {
  color: #72e4ef;
  font: 850 .61rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.atlas-command-block > header small {
  color: #7793a7;
  font: 650 .67rem/1.25 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  text-align: right;
}

.atlas-command-continue {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(61, 217, 233, .32);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(61, 217, 233, .16), rgba(37, 212, 154, .06));
  color: #f4fbff;
  text-decoration: none;
}

.atlas-command-continue::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #3dd9e9, #25d49a);
}

.atlas-command-continue strong { display: block; font-size: 1rem; line-height: 1.25; }
.atlas-command-continue small { display: block; margin-top: 5px; color: #bed0dd; line-height: 1.4; }
.atlas-command-continue svg { width: 24px; height: 24px; color: #72e4ef; }

body[data-site="atlas"] .atlas-command-map .atlas-command-continue strong {
  color: #f4fbff !important;
  font: 900 1rem/1.25 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-continue small {
  color: #bed0dd !important;
  font: 600 .82rem/1.4 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.atlas-command-launches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.atlas-command-launch {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(112, 222, 236, .18);
  border-radius: 12px;
  background: rgba(7, 27, 42, .86);
  color: #f4fbff;
  text-decoration: none;
  transition: border-color var(--atlas-motion-fast) ease, transform var(--atlas-motion-instant) ease;
}

.atlas-command-launch:active { transform: scale(.975); }
.atlas-command-launch[data-active="true"] {
  border-color: rgba(61, 217, 233, .56);
  background: linear-gradient(135deg, rgba(61, 217, 233, .18), rgba(7, 27, 42, .92));
  box-shadow: inset 0 -2px 0 rgba(61, 217, 233, .7);
}
.atlas-command-launch svg { width: 24px; height: 24px; color: #72e4ef; }
.atlas-command-launch strong { display: block; font-size: .86rem; }
.atlas-command-launch small { display: block; margin-top: 4px; color: #9fb7c8; font-size: .69rem; line-height: 1.35; }

body[data-site="atlas"] .atlas-command-map .atlas-command-launch strong,
body[data-site="atlas"] .atlas-command-map .atlas-command-search-result strong {
  color: #f4fbff !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-launch small,
body[data-site="atlas"] .atlas-command-map .atlas-command-search-result small {
  color: #9fb7c8 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-site="atlas"] .atlas-command-map a,
body[data-site="atlas"] .atlas-command-map button {
  text-decoration: none !important;
}

.atlas-command-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.atlas-command-link,
.atlas-command-links .atlas-command-link {
  position: relative;
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(112, 222, 236, .17);
  border-radius: 12px;
  background: linear-gradient(105deg, rgba(9, 34, 51, .94), rgba(4, 20, 33, .9));
  color: #f4fbff;
  font: 700 .8rem/1.25 Inter, system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color var(--atlas-motion-fast) ease, background var(--atlas-motion-fast) ease, transform var(--atlas-motion-instant) var(--atlas-ease-settle);
}

.atlas-command-link:active { transform: scale(.985); }

.atlas-command-link[data-active="true"] {
  border-color: rgba(61, 217, 233, .6);
  background: linear-gradient(105deg, rgba(61, 217, 233, .17), rgba(4, 20, 33, .94));
  box-shadow: inset 3px 0 0 #3dd9e9, inset 0 1px 0 rgba(255, 255, 255, .04);
}

.atlas-command-link__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 222, 236, .2);
  border-radius: 10px;
  background: rgba(61, 217, 233, .08);
  color: #72e4ef;
}

.atlas-command-link__icon svg { width: 19px; height: 19px; }
.atlas-command-link__copy { min-width: 0; display: block; }
.atlas-command-link__copy strong,
.atlas-command-link__copy small { display: block; }
.atlas-command-link__copy strong {
  color: #f4fbff;
  font: 850 .82rem/1.2 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}
.atlas-command-link__copy small {
  margin-top: 4px;
  color: #91aabd;
  font: 600 .7rem/1.35 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}
.atlas-command-link__arrow {
  display: grid;
  place-items: center;
  color: #6f91a5;
  transition: color var(--atlas-motion-fast) ease, transform var(--atlas-motion-fast) var(--atlas-ease-settle);
}
.atlas-command-link__arrow svg { width: 18px; height: 18px; }
.atlas-command-link:active .atlas-command-link__arrow { color: #72e4ef; transform: translateX(2px); }

body[data-site="atlas"] .atlas-command-map .atlas-command-link {
  min-height: 68px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 18px !important;
  padding: 10px 12px !important;
  color: #f4fbff !important;
  text-align: left !important;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-link__copy strong {
  color: #f4fbff !important;
  font: 850 .82rem/1.2 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body[data-site="atlas"] .atlas-command-map .atlas-command-link__copy small {
  color: #91aabd !important;
  font: 600 .7rem/1.35 Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.atlas-command-search-results[hidden] { display: none; }
.atlas-command-map [hidden] { display: none !important; }

.atlas-command-search-results {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.atlas-command-search-result {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(112, 222, 236, .18);
  border-radius: 11px;
  background: rgba(7, 27, 42, .82);
  color: #f4fbff;
  text-decoration: none;
}

.atlas-command-search-result > a {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.atlas-command-search-result > button {
  width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 222, 236, .18);
  border-radius: 9px;
  background: rgba(61, 217, 233, .09);
  color: #72e4ef;
}

.atlas-command-search-result strong,
.atlas-command-search-result small { display: block; }
.atlas-command-search-result small { margin-top: 3px; color: #9fb7c8; font-size: .7rem; }
.atlas-command-search-result svg { width: 18px; height: 18px; color: #72e4ef; }

/* The Command Map is part of the active theme, not a permanently dark modal. */
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__scrim {
  background: rgba(15, 39, 56, .34) !important;
}

html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__sheet {
  border-color: rgba(7, 91, 116, .25) !important;
  background:
    linear-gradient(rgba(8, 113, 141, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 113, 141, .03) 1px, transparent 1px),
    linear-gradient(180deg, #f8fcff, #eaf4f9) !important;
  background-size: 42px 42px, 42px 42px, auto !important;
  color: #071827 !important;
  box-shadow: 0 32px 90px rgba(15, 39, 56, .22) !important;
}

html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__head {
  border-bottom-color: rgba(7, 91, 116, .16) !important;
  color: #071827 !important;
}

html[data-theme="light"] .atlas-command-map__identity img {
  border-color: rgba(7, 91, 116, .24);
  background: #ffffff;
}

html[data-theme="light"] .atlas-command-map__identity span,
html[data-theme="light"] .atlas-command-block > header span { color: #08718d; }

html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__identity strong,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-launch strong,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-link__copy strong,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-search-result strong {
  color: #071827 !important;
}

html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__identity small,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-launch small,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-link__copy small,
html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-search-result small,
html[data-theme="light"] .atlas-command-block > header small {
  color: #4b6273 !important;
}

html[data-theme="light"] body[data-site="atlas"] .atlas-command-map .atlas-command-map__close {
  border-color: rgba(7, 91, 116, .22) !important;
  background: rgba(8, 113, 141, .08) !important;
  color: #071827 !important;
}

html[data-theme="light"] .atlas-command-search svg,
html[data-theme="light"] .atlas-command-launch svg,
html[data-theme="light"] .atlas-command-link__icon,
html[data-theme="light"] .atlas-command-search-result svg { color: #08718d; }

html[data-theme="light"] .atlas-command-search input {
  border-color: rgba(7, 91, 116, .22);
  background: rgba(255, 255, 255, .94);
  color: #071827;
}

html[data-theme="light"] .atlas-command-search input::placeholder { color: #647989; }

html[data-theme="light"] .atlas-command-launch,
html[data-theme="light"] .atlas-command-link,
html[data-theme="light"] .atlas-command-links .atlas-command-link,
html[data-theme="light"] .atlas-command-search-result {
  border-color: rgba(7, 91, 116, .16);
  background: rgba(255, 255, 255, .88);
  color: #071827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

html[data-theme="light"] .atlas-command-launch[data-active="true"],
html[data-theme="light"] .atlas-command-link[data-active="true"] {
  border-color: rgba(8, 113, 141, .48);
  background: linear-gradient(105deg, rgba(8, 113, 141, .14), rgba(255, 255, 255, .96));
}

html[data-theme="light"] .atlas-command-link__icon,
html[data-theme="light"] .atlas-command-search-result > button {
  border-color: rgba(7, 91, 116, .17);
  background: rgba(8, 113, 141, .08);
}

html[data-theme="light"] .atlas-command-link__arrow { color: #537082; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.atlas-quick-sheet {
  position: fixed;
  inset: 0;
  z-index: 2147483100 !important;
  display: grid;
  align-items: end;
  visibility: hidden;
  pointer-events: none;
}

.atlas-quick-sheet__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1, 7, 13, .56);
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity var(--atlas-motion-standard) ease;
}

.atlas-quick-sheet__panel {
  position: relative;
  width: min(100% - 16px, 520px);
  margin: 0 auto calc(90px + var(--atlas-shell-safe-bottom));
  padding: 8px 14px 16px;
  border: 1px solid var(--atlas-shell-line);
  border-radius: 18px;
  background: var(--atlas-shell-panel-strong);
  color: var(--atlas-shell-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--atlas-motion-fast) ease, transform var(--atlas-motion-standard) var(--atlas-ease-enter);
}

.atlas-quick-sheet[data-open="true"] { visibility: visible; pointer-events: auto; }
.atlas-quick-sheet[data-open="true"] .atlas-quick-sheet__scrim { opacity: 1; }
.atlas-quick-sheet[data-open="true"] .atlas-quick-sheet__panel { opacity: 1; transform: none; }

.atlas-quick-sheet__grab {
  width: 42px;
  height: 4px;
  margin: 2px auto 12px;
  border-radius: 999px;
  background: var(--atlas-shell-line);
}

.atlas-quick-sheet__panel h2 { margin: 0 0 3px; font-size: 1.05rem; }
.atlas-quick-sheet__panel p { margin: 0 0 12px; color: var(--atlas-shell-muted); font-size: .78rem; }
.atlas-quick-sheet__actions { display: grid; gap: 7px; }
.atlas-quick-sheet__actions a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--atlas-shell-line);
  border-radius: 11px;
  background: var(--atlas-shell-cyan-soft);
  color: var(--atlas-shell-text);
  font-weight: 800;
  text-decoration: none;
}

body[data-site="atlas"] .atlas-quick-sheet__panel {
  padding: 8px 14px 16px;
}

body[data-site="atlas"] .atlas-quick-sheet__actions svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  flex: 0 0 20px;
}

.atlas-os-dock.fc-mobile-bottom-nav {
  --dock-index: 0;
  position: fixed !important;
  z-index: 11000 !important;
  left: 9px !important;
  right: 9px !important;
  bottom: calc(7px + var(--atlas-shell-safe-bottom)) !important;
  width: auto !important;
  min-height: 72px !important;
  height: 72px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
  padding: 6px !important;
  overflow: hidden !important;
  border: 1px solid var(--atlas-shell-line) !important;
  border-radius: 19px !important;
  background: var(--atlas-shell-panel) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  transform: translateZ(0);
  isolation: isolate;
  view-transition-name: atlas-command-dock;
}

html[data-atlas-route-key="home"] .atlas-os-dock.fc-mobile-bottom-nav { --dock-index: 0; }
html[data-atlas-route-key="desk"] .atlas-os-dock.fc-mobile-bottom-nav { --dock-index: 1; }
html[data-atlas-route-key="today"] .atlas-os-dock.fc-mobile-bottom-nav { --dock-index: 2; }
html[data-atlas-route-key="reports"] .atlas-os-dock.fc-mobile-bottom-nav { --dock-index: 3; }
html[data-atlas-route-key="pro"] .atlas-os-dock.fc-mobile-bottom-nav { --dock-index: 4; }

html[data-atlas-route-key="home"] [data-atlas-os-tab="home"],
html[data-atlas-route-key="desk"] [data-atlas-os-tab="desk"],
html[data-atlas-route-key="today"] [data-atlas-os-tab="today"],
html[data-atlas-route-key="reports"] [data-atlas-os-tab="reports"],
html[data-atlas-route-key="pro"] [data-atlas-os-tab="pro"] { color: var(--atlas-shell-text) !important; }

html[data-atlas-route-key="home"] [data-atlas-os-tab="home"] svg,
html[data-atlas-route-key="desk"] [data-atlas-os-tab="desk"] svg,
html[data-atlas-route-key="today"] [data-atlas-os-tab="today"] svg,
html[data-atlas-route-key="reports"] [data-atlas-os-tab="reports"] svg,
html[data-atlas-route-key="pro"] [data-atlas-os-tab="pro"] svg {
  transform: translateY(-1px) scale(1.08);
  color: var(--atlas-shell-cyan);
}

.atlas-os-dock__plate {
  position: absolute;
  z-index: 0;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 5);
  border: 1px solid rgba(84, 225, 239, .44);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(61, 217, 233, .19), rgba(61, 217, 233, .09));
  box-shadow: inset 0 -3px 0 rgba(61, 217, 233, .84), 0 8px 24px rgba(29, 198, 217, .12);
  transform: translate3d(calc(var(--dock-index) * 100%), 0, 0);
  transition: transform 220ms var(--atlas-ease-settle);
}

.atlas-os-dock__link,
.atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link {
  position: relative;
  z-index: 1;
  min-width: 0 !important;
  min-height: 60px !important;
  display: grid !important;
  grid-template-rows: 29px 16px !important;
  place-items: center !important;
  align-content: center !important;
  gap: 3px !important;
  box-sizing: border-box !important;
  padding: 4px 2px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: transparent !important;
  color: var(--atlas-shell-muted) !important;
  font: 800 .61rem/1 ui-monospace, SFMono-Regular, Menlo, monospace !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--atlas-motion-fast) ease, transform var(--atlas-motion-instant) ease !important;
  touch-action: manipulation;
}

.atlas-os-dock__link:active { transform: scale(.94); }
.atlas-os-dock__link svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9;
  transition: transform var(--atlas-motion-fast) var(--atlas-ease-settle), filter var(--atlas-motion-fast) ease;
}

.atlas-os-dock__link[data-active="true"] { color: var(--atlas-shell-text) !important; }
.atlas-os-dock__link[data-active="true"] svg {
  transform: translateY(-1px) scale(1.09);
  color: var(--atlas-shell-cyan);
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--atlas-shell-cyan) 42%, transparent));
}

body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link::before,
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link::after {
  display: none !important;
  content: none !important;
}

body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link[data-active="true"],
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link[aria-current="page"],
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link.is-active,
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link[data-active="true"]:hover,
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link[data-active="true"]:focus,
body[data-site="atlas"] .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link[data-active="true"]:active {
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.atlas-os-dock__badge {
  position: absolute;
  top: 4px;
  right: max(5px, calc(50% - 23px));
  min-width: 17px;
  height: 17px;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 4px;
  border: 1px solid var(--atlas-shell-panel-strong);
  border-radius: 999px;
  background: var(--atlas-shell-green);
  color: #01150f;
  font: 900 .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.atlas-os-dock__badge[data-visible="true"] { display: inline-flex; }
.atlas-os-dock__symbol {
  position: absolute;
  top: 3px;
  left: 50%;
  max-width: 42px;
  overflow: hidden;
  padding: 2px 4px;
  border-radius: 5px;
  background: var(--atlas-shell-gold);
  color: #1b1500;
  font: 900 .47rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  transform: translateX(5px);
  white-space: nowrap;
}

body.atlas-command-map-open,
body.atlas-quick-sheet-open { overflow: hidden !important; }

body[data-site="atlas"] { padding-bottom: calc(92px + var(--atlas-shell-safe-bottom)) !important; }

/* One mobile header contract across Home, Pro, Desk, Today, Reports, Radar,
   Docs, generated market pages and the Command Map entry point. This layer is
   deliberately stronger than route-local legacy rules. */
@media (max-width: 820px) {
  html[data-atlas-os-shell="ready"] body[data-site="atlas"][data-atlas-public-discovery="profile"] {
    padding-top: 0 !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] > nav.top {
    display: none !important;
  }

  body[data-site="atlas"] .fc-mobile-topbar { view-transition-name: atlas-mobile-topbar; }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-topbar {
    display: grid !important;
    min-height: 58px !important;
    grid-template-columns: auto minmax(0, 1fr) 44px 64px 48px !important;
    align-items: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    padding: calc(7px + env(safe-area-inset-top, 0px)) 10px 7px !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px !important;
    line-height: normal !important;
    letter-spacing: 0 !important;
    border-bottom: 1px solid var(--atlas-shell-line) !important;
    background: var(--atlas-shell-panel) !important;
    color: var(--atlas-shell-text) !important;
    backdrop-filter: blur(16px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-topbar:not(:has(.fc-mobile-account-button)) {
    grid-template-columns: auto minmax(0, 1fr) 44px 48px !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-topbar__brand {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    font: 900 13px/1 "JetBrains Mono", ui-monospace, monospace !important;
    letter-spacing: .04em !important;
    color: var(--atlas-shell-text) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-topbar__label {
    min-width: 0 !important;
    overflow: hidden !important;
    font: 900 10px/1.1 "JetBrains Mono", ui-monospace, monospace !important;
    letter-spacing: 0 !important;
    text-overflow: ellipsis !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-theme-toggle {
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: inline-grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid var(--atlas-shell-line) !important;
    border-radius: 9px !important;
    appearance: none !important;
    background: var(--atlas-shell-cyan-soft) !important;
    color: var(--atlas-shell-text) !important;
    box-shadow: none !important;
    font: 900 13px/1 "JetBrains Mono", ui-monospace, monospace !important;
    letter-spacing: .08em !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-account-button {
    width: auto !important;
    min-width: 64px !important;
    max-width: 72px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    border: 1px solid var(--atlas-shell-line) !important;
    border-radius: 9px !important;
    background: var(--atlas-shell-cyan-soft) !important;
    font: 900 10px/1 "JetBrains Mono", ui-monospace, monospace !important;
    letter-spacing: .03em !important;
    color: var(--atlas-shell-text) !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .atlas-command-trigger {
    width: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: 1px solid var(--atlas-shell-line) !important;
    border-radius: 12px !important;
    background: var(--atlas-shell-cyan-soft) !important;
    color: var(--atlas-shell-text) !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .fc-mobile-overflow-menu,
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] > .mobile-dropdown,
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] > .nav .nav-hamburger {
    display: none !important;
  }

  /* Mobile control contract: route-local legacy rules may style these
     controls, but they may not shrink their usable touch area. */
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] :is(.atlas-hero-cta, .tier-cta),
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .atlas-calendar-controls .aw-input,
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .atlas-world-page .hub-chip,
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .atlas-market-profile .atlas-email-form button,
  html[data-atlas-os-shell="ready"] body[data-site="atlas"] .atlas-market-profile .atlas-pro-actions button {
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 821px) {
  body[data-site="atlas"] .fc-mobile-topbar,
  .atlas-os-dock.fc-mobile-bottom-nav,
  .atlas-command-trigger,
  .atlas-command-map,
  .atlas-quick-sheet { display: none !important; }

  body[data-site="atlas"] { padding-bottom: 0 !important; }
}

@media (max-width: 390px) {
  .atlas-os-dock.fc-mobile-bottom-nav {
    left: 6px !important;
    right: 6px !important;
  }

  .atlas-os-dock__link,
  .atlas-os-dock.fc-mobile-bottom-nav .atlas-os-dock__link {
    font-size: .56rem !important;
  }

  .atlas-command-map__head,
  .atlas-command-map__scroll { padding-inline: 14px; }
  .atlas-command-search { margin-inline: 14px; }
}

@media (max-width: 350px) {
  .atlas-command-launches,
  .atlas-command-links { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
  html.atlas-route-leaving body,
  .atlas-os-dock__plate,
  .atlas-command-map__scrim,
  .atlas-command-map__sheet,
  .atlas-quick-sheet__scrim,
  .atlas-quick-sheet__panel,
  .atlas-os-dock__link,
  .atlas-os-dock__link svg {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
