:root {
  --desk-v4-canvas: #020b14;
  --desk-v4-surface: #061824;
  --desk-v4-surface-2: #0a2231;
  --desk-v4-surface-3: #0c2b3c;
  --desk-v4-text: #f4fbff;
  --desk-v4-muted: #a9bfce;
  --desk-v4-dim: #6e899b;
  --desk-v4-cyan: #46d8eb;
  --desk-v4-cyan-strong: #0ab4cf;
  --desk-v4-green: #36d59d;
  --desk-v4-gold: #f3c75a;
  --desk-v4-risk: #ff7f8c;
  --desk-v4-line: rgba(111, 211, 236, 0.2);
  --desk-v4-line-strong: rgba(70, 216, 235, 0.48);
  --desk-v4-radius: 8px;
}

html[data-theme="light"] {
  --desk-v4-canvas: #edf5f9;
  --desk-v4-surface: #ffffff;
  --desk-v4-surface-2: #e8f3f7;
  --desk-v4-surface-3: #d8eaf1;
  --desk-v4-text: #061723;
  --desk-v4-muted: #405b6c;
  --desk-v4-dim: #698291;
  --desk-v4-cyan: #087894;
  --desk-v4-cyan-strong: #05627b;
  --desk-v4-green: #087e63;
  --desk-v4-gold: #9a6500;
  --desk-v4-risk: #b82d42;
  --desk-v4-line: rgba(14, 92, 115, 0.2);
  --desk-v4-line-strong: rgba(8, 120, 148, 0.5);
}

.atlas-desk-v4-toolbar,
.atlas-desk-v4-stage,
.atlas-desk-v4-size-controls,
.atlas-desk-v4-resizer {
  display: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] {
  background-color: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] main {
  color: var(--desk-v4-text);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation.atlas-workstation-page {
  width: min(1760px, calc(100% - 28px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation > .atlas-command-center,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation > .atlas-workstation-page-head,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-ws-secondary-divider,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-how,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-support,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-tier-strip,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-paybar,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] > .tt-footer {
  display: none !important;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation > .atlas-workstation {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid var(--desk-v4-line-strong) !important;
  border-radius: var(--desk-v4-radius) !important;
  background: var(--desk-v4-surface) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

html[data-theme="light"][data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation > .atlas-workstation {
  box-shadow: 0 28px 64px rgba(13, 57, 72, 0.12);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--desk-v4-line);
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-brand,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pills {
  min-width: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-orb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-brand-name {
  color: var(--desk-v4-cyan);
  font: 800 15px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-brand-rail {
  color: var(--desk-v4-muted);
  font: 600 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 999px;
  color: var(--desk-v4-muted);
  background: var(--desk-v4-surface-2);
  font: 700 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pill[data-state="ready"],
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pill[data-state="idle"] {
  color: var(--desk-v4-green);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(420px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--desk-v4-line);
  background: var(--desk-v4-surface-2);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active::before {
  content: "";
  grid-row: 1 / 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--desk-v4-green);
  box-shadow: 0 0 18px color-mix(in srgb, var(--desk-v4-green) 70%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active span,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active small {
  color: var(--desk-v4-dim);
  font: 700 9px/1.25 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active strong {
  margin-block: 2px;
  color: var(--desk-v4-text);
  font-size: 20px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 7px;
  background: var(--desk-v4-line);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button {
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  color: var(--desk-v4-muted) !important;
  -webkit-text-fill-color: var(--desk-v4-muted) !important;
  background: var(--desk-v4-canvas) !important;
  font: 800 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 100ms ease;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button[aria-selected="true"] {
  color: #001018 !important;
  -webkit-text-fill-color: #001018 !important;
  background: var(--desk-v4-cyan) !important;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button:active {
  transform: scale(0.985);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 5px;
  color: var(--desk-v4-muted);
  background: var(--desk-v4-canvas);
  font: 750 9px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button:hover,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button:focus-visible,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button[aria-pressed="true"] {
  border-color: var(--desk-v4-line-strong);
  color: var(--desk-v4-cyan);
  outline: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--desk-v4-cyan) 10%, var(--desk-v4-canvas));
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls button:disabled {
  opacity: 0.42;
  cursor: default;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-body {
  min-width: 0;
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 14px;
  border-top: 1px solid var(--desk-v4-line);
  border-bottom: 1px solid var(--desk-v4-line);
  color: var(--desk-v4-dim);
  background: var(--desk-v4-surface-2);
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer__grip {
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: var(--desk-v4-line-strong);
  box-shadow: 0 0 14px color-mix(in srgb, var(--desk-v4-cyan) 18%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer strong,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer small {
  font: 750 9px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer small {
  color: var(--desk-v4-dim);
  font-size: 8px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer:hover,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer:focus-visible,
html[data-atlas-desk-resizing="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer {
  color: var(--desk-v4-cyan);
  background: color-mix(in srgb, var(--desk-v4-cyan) 8%, var(--desk-v4-surface-2));
  outline: none;
}

html[data-atlas-desk-resizing="true"],
html[data-atlas-desk-resizing="true"] body {
  cursor: ns-resize !important;
  user-select: none !important;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
  min-width: 0;
  border: 0;
  border-radius: 0;
  color: var(--desk-v4-text);
  background: var(--desk-v4-surface);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-label--ticker { order: 1; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .fc-quick-market-chips { order: 2; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-label--template { order: 3; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-run { order: 4; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-status { order: 5; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-workstation-rail { order: 6; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-receipt { order: 7; }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-research-history { order: 8; }

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-label {
  display: grid;
  gap: 7px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-label-text,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-eyebrow,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-list-wrap > span {
  color: var(--desk-v4-cyan);
  font: 700 10px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-input {
  min-height: 52px;
  border: 1px solid var(--desk-v4-line-strong);
  border-radius: 7px;
  color: var(--desk-v4-text);
  background: var(--desk-v4-canvas);
  font-size: 15px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-input:focus {
  border-color: var(--desk-v4-cyan);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--desk-v4-cyan) 20%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-ticker-toggle {
  top: 26px;
  right: 3px;
  width: 46px;
  height: 46px;
  color: var(--desk-v4-cyan);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-ws-hint {
  color: var(--desk-v4-muted);
  font-size: 12px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .fc-quick-market-chips {
  display: flex;
  gap: 7px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .fc-quick-market-chips::-webkit-scrollbar {
  display: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-symbol-chip {
  min-width: 52px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 999px;
  color: var(--desk-v4-cyan);
  background: var(--desk-v4-surface-2);
  font: 750 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-decoration: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-run {
  min-height: 56px;
  border: 1px solid var(--desk-v4-cyan) !important;
  border-radius: 7px;
  color: #001018 !important;
  -webkit-text-fill-color: #001018 !important;
  background: var(--desk-v4-cyan) !important;
  font-size: 14px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--desk-v4-cyan) 18%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-status {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 7px;
  color: var(--desk-v4-muted);
  background: var(--desk-v4-canvas);
  font: 650 11px/1.45 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-workstation-rail {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 7px;
  background: var(--desk-v4-surface-2);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-trust-line {
  margin: 0;
  color: var(--desk-v4-muted);
  font-size: 12px;
  font-style: normal;
  text-align: left;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-pro-chip {
  min-height: 48px;
  border-radius: 6px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
  padding: 20px;
  border-left: 1px solid var(--desk-v4-line);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context h3 {
  margin: 10px 0;
  color: var(--desk-v4-text);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context > p {
  margin: 0;
  color: var(--desk-v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-block: 20px;
  padding: 1px;
  border: 1px solid var(--desk-v4-line);
  background: var(--desk-v4-line);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid > div {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 12px;
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid span,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-list li {
  color: var(--desk-v4-dim);
  font: 650 10px/1.4 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid strong {
  color: var(--desk-v4-text);
  font-size: 13px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 18px;
  padding: 0;
  list-style: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-list li {
  position: relative;
  padding-left: 16px;
  color: var(--desk-v4-muted);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--desk-v4-green);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-details {
  border: 1px solid var(--desk-v4-line);
  border-radius: 6px;
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-details summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--desk-v4-cyan);
  font: 700 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  cursor: pointer;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-details > div {
  padding-inline: 12px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response {
  min-height: 610px;
  border-left: 1px solid var(--desk-v4-line);
  border-right: 1px solid var(--desk-v4-line);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--desk-v4-line);
  color: var(--desk-v4-muted);
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane-head strong {
  color: var(--desk-v4-cyan);
  font: 750 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane-state {
  color: var(--desk-v4-green);
  font: 700 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-response-toggle,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-copy {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--desk-v4-line);
  border-radius: 5px;
  color: var(--desk-v4-muted);
  background: var(--desk-v4-surface-2);
  font: 700 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage {
  min-height: 552px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 42px;
  background-color: var(--desk-v4-canvas);
  background-image:
    linear-gradient(var(--desk-v4-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--desk-v4-line) 1px, transparent 1px);
  background-size: 72px 72px;
  overflow: hidden;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage[hidden] {
  display: none !important;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--desk-v4-line-strong);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 34px color-mix(in srgb, var(--desk-v4-cyan) 22%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity div {
  display: grid;
  gap: 4px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity span {
  color: var(--desk-v4-cyan);
  font: 700 10px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity strong {
  color: var(--desk-v4-text);
  font-size: 20px;
  line-height: 1.1;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage h2 {
  max-width: 720px;
  margin: 0;
  color: var(--desk-v4-text);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage > p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--desk-v4-muted);
  font-size: 15px;
  line-height: 1.65;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  border-block: 1px solid var(--desk-v4-line);
  list-style: none;
  background: color-mix(in srgb, var(--desk-v4-surface) 82%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes li {
  min-height: 90px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 15px;
  border-right: 1px solid var(--desk-v4-line);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes li:last-child {
  border-right: 0;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes span,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes small {
  color: var(--desk-v4-dim);
  font: 650 9px/1.3 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes strong {
  color: var(--desk-v4-text);
  font-size: 13px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions button,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--desk-v4-line-strong);
  border-radius: 6px;
  color: var(--desk-v4-cyan);
  background: var(--desk-v4-surface);
  font: 750 10px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions button {
  color: #001018;
  background: var(--desk-v4-cyan);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-response-body {
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-foot {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border-top: 1px solid var(--desk-v4-line);
  background: var(--desk-v4-canvas);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-disclaimer {
  margin: 0;
  color: var(--desk-v4-dim);
  font-size: 11px;
  font-style: normal;
  text-align: left;
}

@media (min-width: 821px) {
  html[data-atlas-desk-v4="true"][data-atlas-desk-expanded="true"] body[data-site="atlas"] main {
    overflow: visible !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-custom-height="true"] .aw-body {
    min-height: var(--atlas-desk-body-height, 610px) !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation.atlas-workstation-page[data-desk-expanded="true"] {
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    justify-self: center !important;
  }
}

@media (min-width: 1180px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main {
    width: min(calc(100vw - 48px), 1760px) !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-inline: auto !important;
    padding: 58px 0 36px !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar {
    grid-column: 1 / -1;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(230px, 0.66fr) minmax(460px, 1fr) minmax(320px, 0.7fr);
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--desk-v4-line-strong);
    border-radius: var(--desk-v4-radius);
    background: var(--desk-v4-surface);
    box-shadow: none;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__identity strong {
    color: var(--desk-v4-text);
    font-size: 24px;
    letter-spacing: 0;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__identity span,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__identity small,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__status span {
    color: var(--desk-v4-muted);
    letter-spacing: 0;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__nav a,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__status span {
    min-height: 46px;
    border-radius: 6px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__nav a:first-child {
    color: #001018;
    background: var(--desk-v4-cyan);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-terminal-command-bar__status span {
    color: var(--desk-v4-green);
    background: color-mix(in srgb, var(--desk-v4-green) 10%, var(--desk-v4-surface));
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation.atlas-workstation-page {
    grid-column: 1 / -1;
    width: 100% !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-body {
    display: grid !important;
    grid-template-columns: minmax(300px, 0.74fr) minmax(460px, 1.42fr) minmax(270px, 0.64fr) !important;
    align-items: stretch;
    gap: 0 !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--form {
    display: contents !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form {
    grid-column: 1;
    grid-row: 1;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response {
    grid-column: 2;
    grid-row: 1;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
    grid-column: 3;
    grid-row: 1;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-focus="build"] .aw-form,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-focus="output"] .aw-pane--response,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-focus="context"] .aw-workflow-context {
    box-shadow: inset 0 3px 0 var(--desk-v4-cyan);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 1px solid var(--desk-v4-line) !important;
    border-radius: var(--desk-v4-radius) !important;
    background: var(--desk-v4-surface) !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer { grid-column: 1 / 5; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer--calendar { grid-column: 5 / 9; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer--templates { grid-column: 9 / 13; }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer > summary,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer > summary {
    min-height: 54px !important;
    display: flex;
    align-items: center;
    padding: 10px 14px !important;
    color: var(--desk-v4-text);
    font-size: 13px !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer:not([open]) > .atlas-market-center,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer--calendar:not([open]) > .atlas-calendar,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer--templates:not([open]) > .atlas-templates {
    display: none !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer[open],
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer[open] {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) and (max-width: 1179px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main {
    width: min(100% - 32px, 1120px) !important;
    margin-inline: auto !important;
    padding-block: 86px 34px !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-body {
    display: grid !important;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr) !important;
    gap: 0 !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
    grid-template-columns: minmax(210px, 0.72fr) minmax(330px, 1.28fr);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -6px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--form {
    display: contents !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form { grid-column: 1; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response { grid-column: 2; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
    grid-column: 1 / -1;
    border-top: 1px solid var(--desk-v4-line);
    border-left: 0;
  }
}

@media (max-width: 820px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"]:has(.atlas-workstation-page) {
    padding-bottom: 0 !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main {
    width: 100% !important;
    margin: 0 !important;
    padding: 72px 0 112px !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation.atlas-workstation-page {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation > .atlas-workstation {
    padding: 0 !important;
    border-inline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-bar {
    min-height: 58px;
    padding: 10px 14px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-brand-rail {
    display: none;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 56%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pill {
    flex: 0 0 auto;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active strong {
    font-size: 18px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button {
    min-height: 52px;
    font-size: 10px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-size-controls,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .atlas-desk-v4-resizer {
    display: none !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-body {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--form {
    display: contents !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    height: auto !important;
    min-height: 0;
    border: 0;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation:not([data-desk-panel="build"]) .aw-form,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation:not([data-desk-panel="output"]) .aw-pane--response,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation:not([data-desk-panel="context"]) .aw-workflow-context {
    display: none !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-panel="build"] .aw-form {
    display: flex !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-panel="output"] .aw-pane--response {
    display: block !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation[data-desk-panel="context"] .aw-workflow-context {
    display: block !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
    padding: 18px 14px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pane--response {
    min-height: 0;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage {
    min-height: 0;
    justify-content: flex-start;
    padding: 28px 18px;
    background-size: 56px 56px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity {
    margin-bottom: 22px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__identity img {
    width: 54px;
    height: 54px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage h2 {
    font-size: 27px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage > p {
    font-size: 14px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes li {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--desk-v4-line);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__lanes li:last-child {
    border-bottom: 0;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions button {
    grid-column: 1 / -1;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-foot {
    display: none;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-market-center-drawer,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] main > .atlas-workstation-drawer {
    display: none !important;
  }
}

@media (max-width: 380px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-bar {
    align-items: flex-start;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-pills {
    max-width: 52%;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form {
    padding-inline: 12px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions {
    grid-template-columns: 1fr;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-stage__actions button {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] *,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] *::before,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Ultra-HD workspace frame: preserve the mobile panel contract while allowing
   a real command-centre composition on 1080p-wide and 4K displays. */
@media (min-width: 1800px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation.atlas-workstation-page {
    width: min(var(--atlas-uhd-workspace-max, 2160px), calc(100vw - var(--atlas-uhd-gutter, 128px))) !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-body {
    grid-template-columns: minmax(360px, 0.72fr) minmax(720px, 1.5fr) minmax(340px, 0.68fr) !important;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
    grid-template-columns: minmax(260px, 0.56fr) minmax(560px, 1fr) auto;
    padding-inline: clamp(22px, 1.6vw, 36px);
  }
}

/* Desk visual strike v5: one compact command surface across Build, Output and Context. */
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(340px, 0.78fr) minmax(440px, 1fr) auto;
  overflow: hidden;
  background:
    linear-gradient(var(--desk-v4-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--desk-v4-line) 1px, transparent 1px),
    radial-gradient(circle at 13% 50%, color-mix(in srgb, var(--desk-v4-cyan) 14%, transparent), transparent 32%),
    var(--desk-v4-surface-2);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--desk-v4-cyan) 8%, transparent), transparent);
  pointer-events: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-command {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core {
  position: relative;
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  perspective: 240px;
  border: 1px solid var(--desk-v4-line-strong);
  border-radius: 50%;
  background: color-mix(in srgb, var(--desk-v4-canvas) 86%, transparent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--desk-v4-cyan) 12%, transparent), 0 0 24px color-mix(in srgb, var(--desk-v4-cyan) 10%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring {
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--desk-v4-cyan) 52%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring--one { transform: rotateX(64deg) rotateZ(8deg); }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring--two { transform: rotateY(62deg) rotateZ(58deg); }
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring--three {
  inset: 16px;
  border-color: color-mix(in srgb, var(--desk-v4-green) 62%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--desk-v4-green) 20%, transparent);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core > strong {
  position: relative;
  z-index: 1;
  max-width: 48px;
  color: var(--desk-v4-text);
  font: 800 9px/1 'JetBrains Mono', monospace;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core > small {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--desk-v4-green);
  font: 800 6px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-command .atlas-desk-v4-active {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 2px;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-command .atlas-desk-v4-active::before { display: none; }

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-path {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(12px, 1fr) auto minmax(12px, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--desk-v4-dim);
  font: 750 7px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-path i {
  height: 1px;
  background: linear-gradient(90deg, var(--desk-v4-line), var(--desk-v4-cyan), var(--desk-v4-line));
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-content: center;
  justify-items: start;
  padding: 9px 12px;
  overflow: hidden;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--desk-v4-cyan);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 220ms ease;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--desk-v4-cyan);
  font: 800 8px/1 'JetBrains Mono', monospace;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > strong {
  color: inherit;
  font: 800 11px/1.15 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > small {
  color: var(--desk-v4-dim);
  font: 700 7px/1.15 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button[aria-selected="true"] > span,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button[aria-selected="true"] > small {
  color: #063444;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context {
  background:
    linear-gradient(var(--desk-v4-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--desk-v4-line) 1px, transparent 1px),
    var(--desk-v4-surface);
  background-size: 48px 48px, 48px 48px, auto;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form > *,
html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context > * {
  position: relative;
  z-index: 1;
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: var(--desk-v4-line-strong);
}

html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid > div {
  min-height: 76px;
  align-content: space-between;
}

@media (max-width: 820px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px 14px 14px;
    border-top: 1px solid var(--desk-v4-line);
    background-size: 42px 42px, 42px 42px, auto, auto;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-command {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 12px;
    border: 1px solid var(--desk-v4-line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--desk-v4-canvas) 76%, transparent);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core { width: 78px; }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active strong {
    margin-block: 4px;
    font-size: clamp(22px, 7vw, 30px);
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active span,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-active small { font-size: 8px; }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-path {
    padding-top: 10px;
    border-top: 1px solid var(--desk-v4-line);
    font-size: 7px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button {
    min-height: 62px;
    padding: 10px 8px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > strong { font-size: 10px; }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-form,
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-workflow-context { padding: 20px 14px 24px; }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid > div {
    min-height: 88px;
    padding: 10px;
  }

  html[data-atlas-desk-v4="true"] body[data-site="atlas"] #workstation .aw-context-grid strong {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-command { grid-template-columns: 70px minmax(0, 1fr); }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core { width: 66px; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > small { display: none; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v4-panels button > strong { font-size: 9px; }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring--one { animation: atlas-desk-core-one 16s linear infinite; }
  html[data-atlas-desk-v4="true"] body[data-site="atlas"] .atlas-desk-v5-core__ring--two { animation: atlas-desk-core-two 20s linear infinite reverse; }
}

@keyframes atlas-desk-core-one {
  to { transform: rotateX(64deg) rotateZ(368deg); }
}

@keyframes atlas-desk-core-two {
  to { transform: rotateY(62deg) rotateZ(418deg); }
}
