:root {
  color-scheme: light;
  --bg: #dfe6e1;
  --ink: #111817;
  --muted: #63716c;
  --panel: #fbfcf8;
  --line: #c5d0ca;
  --buy: #00a878;
  --sell: #e7425f;
  --accent: #e8a214;
  --graph: #246bfe;
  --violet: #6f48d9;
  --cyan: #00b8d9;
  --coral: #d85b28;
  --deep: #111817;
  --soft: #f3f6f1;
  --shadow: 0 18px 34px rgba(17, 24, 23, 0.12);
  --danger: #d83a46;
  --dark-panel: #0e1514;
  --terminal: #111817;
  --terminal-2: #1a2523;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080f12;
  --ink: #edf7f1;
  --muted: #9aaca5;
  --panel: #101a1d;
  --line: #26373b;
  --soft: #0c1518;
  --deep: #f5fff8;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  --terminal: #05090b;
  --terminal-2: #0e181b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(17, 24, 23, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 23, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ecf1ed 0%, #dce4df 100%),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body[data-theme="dark"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #081014 0%, #111b1e 100%),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  min-height: 100vh;
  padding: 18px;
}

.topbar {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 24, 23, 0.98), rgba(26, 37, 35, 0.96) 58%, rgba(34, 48, 45, 0.96)),
    var(--terminal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 24, 23, 0.22);
  color: #f9fffb;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto 10px;
  max-width: 1560px;
  min-height: 96px;
  padding: 18px 20px;
  position: relative;
}

.topbar::after {
  background: linear-gradient(90deg, var(--buy), var(--cyan), var(--accent), var(--sell));
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
  height: clamp(58px, 7vw, 82px);
  width: clamp(58px, 7vw, 82px);
}

.eyebrow {
  color: rgba(249, 255, 251, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 4px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 0.9;
}

h2 {
  font-size: 1rem;
}

.status-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-strip span,
.price-pill,
.range-readout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(249, 255, 251, 0.74);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 7px 10px;
}

.desk-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.desk-preferences {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.desk-preferences label {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  padding: 5px 6px 5px 10px;
}

.desk-preferences span {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.desk-preferences select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f9fffb;
  font-size: 0.72rem;
  font-weight: 850;
  min-height: 30px;
  padding: 4px 24px 4px 8px;
}

.desk-preferences option {
  color: #111817;
}

.desk-nav a,
.desk-nav button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(249, 255, 251, 0.76);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 11px;
  text-decoration: none;
}

.desk-nav a:hover,
.desk-nav a[aria-current="page"],
.desk-nav button:hover {
  background: rgba(0, 184, 217, 0.18);
  border-color: rgba(0, 184, 217, 0.42);
  color: #ffffff;
}

.ops-ribbon {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 16px;
  max-width: 1560px;
}

.preferred-api-banner {
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 184, 217, 0.14), rgba(66, 214, 151, 0.14));
  border: 1px solid rgba(0, 184, 217, 0.4);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin: 0 auto 16px;
  max-width: 1560px;
  padding: 12px 16px;
}

.preferred-api-banner strong {
  flex: 0 0 auto;
}

.preferred-api-banner span {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-contact {
  border-left: 5px solid var(--cyan);
}

.about-contact > span {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-contact > a {
  color: var(--cyan);
  display: inline-block;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  margin-top: 12px;
  text-decoration: none;
}

.about-contact > .about-contact-email {
  display: block;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  overflow-wrap: anywhere;
}

.about-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.about-contact-actions a {
  background: rgba(0, 184, 217, 0.12);
  border: 1px solid rgba(0, 184, 217, 0.35);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 8px 12px;
  text-decoration: none;
}

@media (max-width: 720px) {
  .preferred-api-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

.ops-ribbon article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 245, 0.9)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--buy);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(17, 24, 23, 0.08);
  min-height: 64px;
  padding: 12px 14px;
}

body[data-theme="dark"] .ops-ribbon article,
body[data-theme="dark"] .panel,
body[data-theme="dark"] .rules-console,
body[data-theme="dark"] .auth-box,
body[data-theme="dark"] .signal-journal-panel,
body[data-theme="dark"] .market-radar-row,
body[data-theme="dark"] .asset-group,
body[data-theme="dark"] .tradingview-signal-panel,
body[data-theme="dark"] .strategy-readout,
body[data-theme="dark"] .open-order-book article {
  background: rgba(16, 26, 29, 0.94);
  border-color: var(--line);
  color: var(--ink);
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #0b1417;
  border-color: #2b3f43;
  color: var(--ink);
}

body.auth-required .ops-ribbon,
body.payment-required .ops-ribbon,
body.auth-required .desk-jump-nav,
body.payment-required .desk-jump-nav,
body.auth-required .command-strip,
body.payment-required .command-strip,
body.auth-required .wealth-command,
body.payment-required .wealth-command,
body.auth-required .desk-section:not(#account):not(#about) {
  display: none;
}

body.payment-required .desk-section:not(#account):not(#about) {
  display: none;
}

body.auth-required .desk-sections {
  display: block;
}

body.payment-required .desk-sections {
  display: block;
}

body.auth-required #account {
  display: block;
}

body.payment-required #account {
  display: block;
}

body.auth-required #about {
  display: block;
  margin-top: 14px;
}

body.payment-required #about {
  display: block;
  margin-top: 14px;
}

body[data-theme="dark"] .desk-jump-nav a,
body[data-theme="dark"] .range-readout,
body[data-theme="dark"] label .range-readout {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  color: var(--muted);
}

.ops-ribbon article:nth-child(2) {
  border-left-color: var(--cyan);
}

.ops-ribbon article:nth-child(3) {
  border-left-color: var(--accent);
}

.ops-ribbon article:nth-child(4) {
  border-left-color: var(--sell);
}

.ops-ribbon span,
.group-title span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

label .range-readout {
  align-self: start;
  background: #eef4ef;
  border-color: var(--line);
  color: var(--muted);
}

.ops-ribbon strong,
.group-title strong {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}

.desk-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 14px;
  max-width: 1560px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 50;
}

.skip-link:focus { top: 12px; }

.desk-jump-nav a {
  background: rgba(17, 24, 23, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  padding: 8px 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.desk-jump-nav a:hover {
  border-color: rgba(54, 95, 107, 0.38);
  color: var(--ink);
}

.command-strip {
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 184, 217, 0.3), transparent 34%),
    linear-gradient(135deg, #0b2025, #162d2c 54%, #243228),
    var(--terminal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(17, 24, 23, 0.16);
  color: #f9fffb;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(230px, 0.8fr) minmax(210px, 0.65fr) minmax(0, 1.3fr) minmax(155px, 0.42fr);
  margin: 0 auto 14px;
  max-width: 1560px;
  padding: 18px;
  position: sticky;
  top: 10px;
  z-index: 7;
}

.command-heading { align-content: center; display: grid; gap: 6px; }
.command-heading > span {
  background: linear-gradient(90deg, var(--cyan), #67e5ae);
  border-radius: 999px;
  color: #071716;
  font-size: .66rem;
  font-weight: 950;
  justify-self: start;
  padding: 5px 9px;
  text-transform: uppercase;
}
.command-heading h2 { color: #fff; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.05; }
.command-heading p { color: rgba(249,255,251,.68); font-size: .75rem; line-height: 1.4; margin: 0; }

.command-actions { display: grid; gap: 7px; }
.command-actions a {
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  color: rgba(249,255,251,.82);
  display: flex;
  font-size: .72rem;
  font-weight: 900;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  text-decoration: none;
}
.command-actions a:hover, .command-actions .command-primary { background: rgba(0,184,217,.2); border-color: rgba(0,184,217,.5); color: #fff; }

.command-state {
  border-left: 4px solid var(--accent);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 4px 0 4px 12px;
}

.command-state.ready {
  border-left-color: var(--buy);
}

.command-state.blocked {
  border-left-color: var(--danger);
}

.command-state span,
.command-metrics span {
  color: rgba(249, 255, 251, 0.58);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-state strong {
  color: #ffffff;
  font-size: 1.16rem;
  line-height: 1.05;
}

.command-state em {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.command-metrics article {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  min-height: 62px;
  min-width: 0;
  padding: 9px 10px;
}

.command-metrics strong {
  color: #ffffff;
  display: block;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.wealth-command {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(10, 16, 16, 0.98), rgba(21, 30, 28, 0.96) 58%, rgba(33, 42, 38, 0.96)),
    var(--terminal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 24, 23, 0.2);
  color: #f9fffb;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px) minmax(160px, 210px);
  margin: 0 auto 14px;
  max-width: 1560px;
  padding: 14px;
}

.wealth-command-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.wealth-command-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.wealth-command h2 {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.wealth-command-head > span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(249, 255, 251, 0.76);
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.wealth-command-head > span.elite,
.wealth-command-head > span.ready {
  background: rgba(0, 168, 120, 0.16);
  border-color: rgba(0, 168, 120, 0.5);
  color: #dffced;
}

.wealth-command-head > span.caution {
  background: rgba(232, 162, 20, 0.16);
  border-color: rgba(232, 162, 20, 0.5);
  color: #fff1c3;
}

.wealth-command-head > span.blocked {
  background: rgba(231, 66, 95, 0.14);
  border-color: rgba(231, 66, 95, 0.44);
  color: #ffd9e0;
}

#cioBrief {
  color: rgba(249, 255, 251, 0.86);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.cio-drivers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cio-drivers span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(249, 255, 251, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 7px 9px;
}

.opportunity-score {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
}

.opportunity-score span,
.opportunity-score em {
  color: rgba(249, 255, 251, 0.66);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.opportunity-score strong {
  color: #ffffff;
  font-size: 2.3rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.opportunity-score strong.elite,
.opportunity-score strong.ready {
  color: #67e5ae;
}

.opportunity-score strong.caution {
  color: #ffd166;
}

.opportunity-score strong.blocked {
  color: #ff8ca0;
}

.concierge-actions {
  display: grid;
  gap: 8px;
}

.concierge-actions button {
  background: rgba(0, 184, 217, 0.12);
  border: 1px solid rgba(0, 184, 217, 0.28);
  border-radius: 6px;
  color: #e8fbff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 10px;
  text-align: left;
}

.concierge-actions button:hover {
  background: rgba(0, 184, 217, 0.2);
}

.desk-sections {
  display: grid;
  align-items: start;
  gap: 14px;
  grid-template-areas:
    "account trade risk"
    "markets markets markets"
    "trainer trainer trainer"
    "about about about"
    "activity activity activity";
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr) minmax(310px, 370px);
  margin: 0 auto;
  max-width: 1560px;
}

#trade {
  grid-area: trade;
}

#risk {
  grid-area: risk;
}

#markets {
  grid-area: markets;
}

#trainer {
  grid-area: trainer;
}

#account {
  grid-area: account;
}

#activity {
  grid-area: activity;
}

#about {
  grid-area: about;
}

.desk-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 249, 245, 0.72)),
    var(--panel);
  border: 1px solid rgba(17, 24, 23, 0.08);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(17, 24, 23, 0.08);
  display: grid;
  gap: 14px;
  padding: 16px;
  scroll-margin-top: 14px;
}

.section-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.section-head h2 {
  font-size: 1.1rem;
  line-height: 1.15;
}

.section-grid {
  display: grid;
  gap: 14px;
}

.trade-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
}

.risk-grid {
  grid-template-columns: 1fr;
}

.account-grid {
  grid-template-columns: 1fr;
}

.activity-grid {
  grid-template-columns: minmax(250px, 0.8fr) minmax(280px, 0.86fr) minmax(280px, 0.9fr) minmax(300px, 1fr);
}

.strategy-panel {
  align-self: start;
}

.tradingview-panel {
  display: grid;
  gap: 12px;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
}

.tradingview-panel .panel-head {
  padding: 16px 16px 0;
}

.tradingview-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tradingview-panel .panel-head span {
  background: rgba(0, 168, 120, 0.08);
  border: 1px solid rgba(0, 168, 120, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 6px 9px;
}

.tradingview-actions button {
  min-height: 34px;
  padding: 7px 10px;
}

.tradingview-widget {
  min-height: 420px;
  width: 100%;
}

.tradingview-widget iframe {
  border: 0;
  display: block;
  height: 420px;
  width: 100%;
}

.coinglass-services {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.coinglass-services article,
.research-stats article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 10px;
}

.coinglass-services article:nth-child(2) {
  border-left-color: var(--accent);
}

.coinglass-services article:nth-child(3) {
  border-left-color: var(--sell);
}

.coinglass-services article:nth-child(4) {
  border-left-color: var(--buy);
}

.coinglass-services span,
.research-stats span {
  color: rgba(249, 255, 251, 0.58);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coinglass-services strong,
.research-stats strong {
  color: #f9fffb;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.coinglass-services em {
  color: rgba(249, 255, 251, 0.62);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.panel.execution-ticket {
  align-self: start;
  background:
    linear-gradient(145deg, rgba(17, 24, 23, 0.98), rgba(25, 38, 36, 0.96)),
    var(--terminal);
  border-color: rgba(0, 184, 217, 0.24);
  color: #f9fffb;
  grid-column: 1 / -1;
}

.panel.execution-ticket .panel-head h2 {
  color: #f9fffb;
}

.ticket-summary {
  margin-top: 12px;
}

.ticket-call {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 4px solid var(--danger);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 11px;
}

.ticket-call.ready {
  border-left-color: var(--buy);
}

.ticket-call strong {
  font-size: 0.96rem;
}

.ticket-call span,
.ticket-note {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.42;
}

.ticket-sizing {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
}

.ticket-sizing article {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 10px;
}

.ticket-sizing.ready article:first-child {
  border-color: rgba(0, 168, 120, 0.32);
}

.ticket-sizing span {
  color: rgba(249, 255, 251, 0.55);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-sizing strong {
  color: #f9fffb;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.ticket-sizing em {
  color: rgba(249, 255, 251, 0.64);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.3;
}

.entry-ladder {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.entry-ladder article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(0, 184, 217, 0.72);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 9px;
}

.strategy-readout .entry-ladder article {
  background: #f4f6f2;
  border-color: var(--line);
  border-left-color: var(--cyan);
}

.entry-ladder article.fast {
  border-left-color: var(--accent);
}

.entry-ladder article.planned {
  border-left-color: var(--buy);
}

.entry-ladder article.confirm {
  border-left-color: var(--graph);
}

.entry-ladder span {
  color: rgba(249, 255, 251, 0.58);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.strategy-readout .entry-ladder span {
  color: var(--muted);
}

.entry-ladder strong {
  color: #f9fffb;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.strategy-readout .entry-ladder strong {
  color: var(--ink);
}

.entry-ladder em {
  color: rgba(249, 255, 251, 0.66);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.28;
}

.strategy-readout .entry-ladder em {
  color: var(--muted);
}

.ticket-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.ticket-grid article {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  min-height: 62px;
  padding: 10px;
}

.ticket-grid span {
  color: rgba(249, 255, 251, 0.55);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-grid strong {
  color: #f9fffb;
  display: block;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.execution-ticket button {
  width: 100%;
}

.ticket-note {
  margin: 10px 0 0;
}

.signal-chat {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.chat-messages {
  background: #f4f7f3;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  max-height: 300px;
  min-height: 168px;
  overflow: auto;
  padding: 10px;
}

.chat-messages article {
  display: grid;
  gap: 4px;
  max-width: 86%;
}

.chat-messages article.user {
  justify-self: end;
}

.chat-messages span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-messages p {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 720;
  line-height: 1.45;
  margin: 0;
  padding: 9px 10px;
  white-space: pre-wrap;
}

.chat-messages article.user p {
  background: #111817;
  border-color: rgba(17, 24, 23, 0.24);
  border-left-color: var(--accent);
  color: #f9fffb;
}

.chat-quick-actions,
.chat-form {
  display: grid;
  gap: 8px;
}

.chat-quick-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chat-quick-actions button {
  font-size: 0.76rem;
  min-height: 36px;
  padding: 8px;
}

.chat-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.chat-form input {
  min-width: 0;
}

.hedge-layer {
  border-left: 4px solid var(--violet);
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}

.hedge-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hedge-summary article {
  background: #f4f7f3;
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: 7px;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 10px;
}

.hedge-summary article.short {
  border-left-color: var(--sell);
}

.hedge-summary article.long {
  border-left-color: var(--buy);
}

.hedge-summary article.standby {
  border-left-color: var(--accent);
}

.hedge-summary span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hedge-summary strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.hedge-summary em,
.hedge-note {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.compact-backend {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: min(100%, 220px);
}

.panel,
.market-stage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 245, 0.94)),
    var(--panel);
  padding: 16px;
}

.controls,
.side-stack {
  position: relative;
  z-index: 1;
}

.panel-head,
.stage-head,
.button-row,
.input-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.controls {
  align-self: start;
  display: grid;
  gap: 14px;
}

.control-group {
  border-left: 3px solid rgba(0, 168, 120, 0.42);
  display: grid;
  gap: 11px;
  padding-left: 12px;
}

.asset-detail {
  background: rgba(0, 168, 120, 0.07);
  border: 1px solid rgba(0, 168, 120, 0.18);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.asset-detail strong {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.asset-detail span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.group-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 7px;
}

.input-row label {
  flex: 1;
  min-width: 0;
}

input,
select,
textarea {
  background: #f8faf5;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-width: 0;
  outline: none;
  padding: 10px 11px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--graph);
  box-shadow: 0 0 0 3px rgba(54, 95, 107, 0.16);
}

.password-field {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr auto;
}

.password-field input {
  border-radius: 6px 0 0 6px;
}

.password-field button {
  background: #101820;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  color: #f8faf5;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  min-width: 56px;
  padding: 0 10px;
  text-transform: uppercase;
}

.password-field:focus-within input {
  border-color: var(--graph);
  box-shadow: 0 0 0 3px rgba(54, 95, 107, 0.16);
}

.password-field:focus-within button {
  border-color: var(--graph);
}

.remember-login {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 9px;
}

.remember-login input {
  accent-color: var(--buy);
  height: 16px;
  width: 16px;
}

.remember-login span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: none;
}

.recovery-panel,
.recovery-code-box {
  background: #f4f6f2;
  border: 1px solid rgba(54, 95, 107, 0.2);
  border-radius: 6px;
  display: grid;
  gap: 9px;
  padding: 10px;
}

.recovery-panel[hidden],
.recovery-code-box[hidden] {
  display: none;
}

.recovery-code-box {
  grid-template-columns: minmax(0, 1fr) auto;
}

.recovery-code-box span {
  grid-column: 1 / -1;
}

.recovery-code-box strong {
  background: #101820;
  border-radius: 6px;
  color: #f8faf5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 9px;
}

.recovery-code-box button {
  min-height: 38px;
  white-space: nowrap;
}

input[type="range"] {
  accent-color: var(--buy);
  padding: 0;
}

textarea {
  height: 172px;
  line-height: 1.35;
  resize: vertical;
  white-space: pre;
}

button {
  background: #e9efeb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  min-height: 38px;
  padding: 9px 12px;
}

button:hover {
  border-color: #b5beb7;
}

.button-link {
  align-items: center;
  background: #e9efeb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
}

.button-link:hover {
  border-color: #b5beb7;
}

button.primary {
  background: linear-gradient(135deg, var(--terminal), #275d96);
  border-color: rgba(58, 134, 255, 0.5);
  color: #ffffff;
}

button.danger-primary {
  background: linear-gradient(135deg, #111817, var(--danger));
  border-color: rgba(230, 57, 70, 0.52);
}

button.live-running {
  background: linear-gradient(135deg, var(--buy), #0b5f51);
  border-color: rgba(0, 168, 120, 0.7);
}

.button-row button {
  flex: 1;
}

.page-topbar {
  min-height: 150px;
}

.page-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin: 0 auto;
  max-width: 1560px;
}

.page-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 245, 0.94)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

#markets .market-stage {
  min-height: 0;
}

#markets .market-radar {
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

#markets .asset-groups {
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.page-lede {
  background:
    linear-gradient(90deg, rgba(17, 24, 23, 0.98), rgba(26, 37, 35, 0.96)),
    var(--terminal);
  color: #f9fffb;
  min-height: 290px;
}

.page-lede h2 {
  font-size: clamp(1.8rem, 3vw, 3.35rem);
  line-height: 1;
  max-width: 920px;
}

.page-lede p {
  color: rgba(249, 255, 251, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 760px;
}

.page-panel p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.62;
}

.feature-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.learn-grid {
  align-items: start;
}

.lesson-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.onboarding-grid {
  align-items: start;
}

.path-grid,
.withdrawal-flow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.doctrine-output {
  background: rgba(17, 24, 23, 0.96);
  border: 1px solid rgba(232, 162, 20, 0.34);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: #f9fffb !important;
  font-size: 1.05rem;
  font-weight: 950 !important;
  margin-top: 12px;
  padding: 13px 14px;
}

.target-table {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.target-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.withdrawal-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article,
.lesson-grid article,
.path-grid article,
.target-table article,
.withdrawal-flow article,
.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 248, 244, 0.9)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(36, 107, 254, 0.5);
  border-radius: 6px;
  padding: 14px;
}

.feature-grid span,
.lesson-grid span,
.path-grid span,
.target-table span,
.contact-card span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-grid strong,
.lesson-grid strong,
.path-grid strong,
.target-table strong,
.withdrawal-flow strong,
.contact-card strong {
  display: block;
  font-size: 1.05rem;
  margin-top: 5px;
}

.feature-grid p,
.lesson-grid p,
.path-grid p,
.target-table p,
.withdrawal-flow p,
.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.learning-path {
  counter-reset: lesson;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.learning-path li {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-left: 3px solid var(--buy);
  border-radius: 6px;
  display: grid;
  gap: 5px;
  padding: 13px 13px 13px 48px;
  position: relative;
}

.learning-path li::before {
  background: #111817;
  border-radius: 999px;
  color: #f9fffb;
  content: counter(lesson);
  counter-increment: lesson;
  font-size: 0.76rem;
  font-weight: 900;
  height: 26px;
  left: 13px;
  line-height: 26px;
  position: absolute;
  text-align: center;
  top: 14px;
  width: 26px;
}

.learning-path strong {
  font-size: 0.98rem;
}

.learning-path span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.resource-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.resource-grid a {
  background:
    linear-gradient(145deg, rgba(17, 24, 23, 0.97), rgba(27, 38, 36, 0.95)),
    var(--terminal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--accent-2);
  border-radius: 6px;
  color: #f9fffb;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  text-decoration: none;
}

.resource-grid a:hover {
  border-left-color: var(--buy);
  transform: translateY(-1px);
}

.resource-grid span {
  color: rgba(249, 255, 251, 0.6);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-grid strong {
  font-size: 1rem;
  line-height: 1.25;
}

.resource-grid em {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.compact-resources a {
  min-height: 120px;
}

.risk-note {
  border-left: 4px solid var(--sell);
}

.dark-callout {
  background:
    linear-gradient(145deg, rgba(8, 13, 13, 0.98), rgba(17, 24, 23, 0.96) 56%, rgba(24, 38, 35, 0.96)),
    var(--dark-panel);
  border-color: rgba(0, 168, 120, 0.36);
  color: #f9fffb;
}

.dark-callout p,
.dark-callout .eyebrow {
  color: rgba(249, 255, 251, 0.68);
}

.desk-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.desk-list li {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 3px solid var(--buy);
  border-radius: 6px;
  color: rgba(249, 255, 251, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 11px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card a {
  color: var(--graph);
  display: inline-block;
  font-weight: 850;
  margin-top: 10px;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-note {
  align-self: stretch;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.contact-form textarea {
  min-height: 150px;
}

.market-stage {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(14, 21, 20, 0.98), rgba(24, 35, 33, 0.97) 48%, rgba(33, 35, 48, 0.97)),
    var(--terminal);
  background-size: 32px 32px, 32px 32px, auto;
  color: #f9fffb;
  min-height: 720px;
  overflow: hidden;
  padding: 18px;
}

.stage-head {
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.stage-head > div:first-child {
  min-width: 0;
}

#marketTitle {
  overflow-wrap: anywhere;
}

.price-pill {
  align-items: center;
  display: flex;
  gap: 8px;
  max-width: 100%;
}

.price-pill strong {
  color: #ffffff;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

canvas {
  display: block;
  max-width: 100%;
}

.market-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 12px;
}

.market-strip button {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 184, 217, 0.12), rgba(232, 162, 20, 0.1)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f9fffb;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 42px;
  white-space: normal;
}

.market-strip button strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.market-strip button span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.market-strip button.active {
  border-color: rgba(0, 184, 217, 0.82);
  box-shadow:
    0 0 0 3px rgba(58, 134, 255, 0.14),
    0 12px 26px rgba(58, 134, 255, 0.14);
}

.market-radar {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.market-radar-section {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 184, 217, 0.05)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  min-width: 0;
  padding: 10px;
}

.market-radar-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.market-radar-head strong {
  color: #f9fffb;
  font-size: 0.82rem;
}

.market-radar-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.market-radar-grid {
  display: grid;
  gap: 6px;
}

.market-radar-row,
.market-radar-empty {
  align-items: center;
  background: rgba(4, 9, 11, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(249, 255, 251, 0.9);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.25fr) minmax(80px, auto) 56px;
  min-height: 34px;
  padding: 6px 8px;
  text-align: left;
  width: 100%;
}

.market-radar-row strong {
  font-size: 0.74rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.market-radar-row span {
  color: #f9fffb;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  text-align: right;
}

.market-radar-row small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.market-radar-row.selectable {
  cursor: pointer;
}

.market-radar-row.selectable:hover,
.market-radar-row.active {
  border-color: rgba(0, 184, 217, 0.56);
  box-shadow: inset 3px 0 0 rgba(0, 184, 217, 0.74);
}

.market-radar-empty {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  grid-template-columns: 1fr;
}

.market-3d-map {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(0, 184, 217, 0.32), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(232, 162, 20, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(9, 14, 14, 0.98), rgba(18, 30, 33, 0.98) 46%, rgba(24, 25, 42, 0.98));
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  border: 1px solid rgba(0, 184, 217, 0.28);
  border-radius: 8px;
  height: clamp(260px, 34vw, 420px);
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.market-3d-map canvas {
  height: 100%;
  width: 100%;
}

.market-3d-overlay {
  background: rgba(5, 10, 12, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  left: 12px;
  max-width: min(340px, calc(100% - 24px));
  padding: 9px 10px;
  position: absolute;
  top: 12px;
  z-index: 2;
}

.market-3d-overlay strong {
  color: #f9fffb;
  font-size: 0.86rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.market-3d-overlay span {
  color: rgba(249, 255, 251, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
}

.liquidity-source {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(249, 255, 251, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.fib-analysis {
  background:
    linear-gradient(160deg, rgba(0, 168, 120, 0.11), rgba(232, 162, 20, 0.08)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
}

.fib-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.fib-head strong {
  color: #f9fffb;
  font-size: 0.86rem;
}

.fib-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
}

.fib-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fib-metrics span {
  background: rgba(4, 9, 11, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 7px;
}

.fib-metrics strong {
  color: #f9fffb;
  display: block;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.fib-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fib-level {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  min-height: 28px;
  padding: 5px 8px;
}

.fib-level strong,
.fib-level em {
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
}

.fvg-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.fvg-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.fvg-head strong {
  color: #f9fffb;
  font-size: 0.78rem;
}

.fvg-head span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: right;
}

.fvg-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fvg-metrics span,
.fvg-gap {
  background: rgba(4, 9, 11, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 7px;
}

.fvg-metrics strong,
.fvg-gap strong {
  color: #f9fffb;
  display: block;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.fvg-list {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fvg-gap {
  display: grid;
  gap: 3px;
}

.fvg-gap span,
.fvg-gap em {
  font-style: normal;
}

.fvg-gap.bullish {
  border-color: rgba(0, 168, 120, 0.34);
}

.fvg-gap.bearish {
  border-color: rgba(232, 87, 87, 0.34);
}

.fib-level.retracement strong {
  color: #74f3cf;
}

.fib-level.extension strong {
  color: #ffb3a8;
}

.fib-level em {
  color: rgba(249, 255, 251, 0.88);
  font-variant-numeric: tabular-nums;
}

.context-radar,
.quiver-context {
  background:
    linear-gradient(160deg, rgba(0, 184, 217, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(4, 9, 11, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
}

.quiver-context {
  background:
    linear-gradient(160deg, rgba(87, 215, 186, 0.12), rgba(232, 162, 20, 0.08)),
    rgba(4, 9, 11, 0.16);
}

.research-system {
  background:
    linear-gradient(160deg, rgba(232, 162, 20, 0.12), rgba(0, 168, 120, 0.08)),
    rgba(4, 9, 11, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.research-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.research-head strong {
  color: #f9fffb;
  font-size: 0.86rem;
}

.research-head span,
.research-system p {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.42;
  margin: 0;
}

.research-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.research-stats article {
  min-height: 74px;
}

.context-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.context-head strong {
  color: #f9fffb;
  font-size: 0.86rem;
}

.context-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
}

.context-action {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
}

.context-action strong {
  color: #f9fffb;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.context-action span {
  color: rgba(249, 255, 251, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
}

.context-action.normal {
  background: rgba(0, 168, 120, 0.16);
}

.context-action.supportive {
  background: rgba(0, 168, 120, 0.18);
}

.context-action.watch {
  background: rgba(232, 162, 20, 0.18);
}

.context-action.neutral {
  background: rgba(255, 255, 255, 0.08);
}

.context-action.widen {
  background: rgba(232, 162, 20, 0.18);
}

.context-action.reduce,
.context-action.pause {
  background: rgba(199, 71, 71, 0.2);
}

.context-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.context-metrics span {
  background: rgba(4, 9, 11, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  padding: 7px;
}

.context-metrics strong {
  color: #f9fffb;
  display: block;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.context-metrics small {
  color: rgba(249, 255, 251, 0.56);
  display: block;
  font-size: 0.58rem;
  line-height: 1.25;
  margin-top: 3px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.quiver-drivers {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiver-drivers span {
  background: rgba(4, 9, 11, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: rgba(249, 255, 251, 0.76);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.35;
  min-height: 36px;
  padding: 8px;
}

.context-assets {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-asset {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px;
}

.context-asset strong {
  color: #f9fffb;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.context-asset em,
.context-asset b {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.context-asset.live b {
  color: #74f3cf;
}

.context-reasons {
  color: rgba(249, 255, 251, 0.78);
  display: grid;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  padding-left: 16px;
}

.asset-groups {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.asset-group {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(0, 184, 217, 0.06)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px;
}

.asset-group h3 {
  color: #f9fffb;
  font-size: 0.82rem;
  margin: 0 0 8px;
}

.asset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.asset-list button,
.asset-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(249, 255, 251, 0.86);
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1.2;
  min-height: 28px;
  overflow-wrap: anywhere;
  padding: 5px 8px;
  text-align: left;
}

.asset-chip.unavailable {
  opacity: 0.52;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.metric-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.metric-grid.compact {
  gap: 8px;
}

.metric-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 249, 244, 0.9)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(36, 107, 254, 0.5);
  border-radius: 6px;
  padding: 12px;
}

.metric-grid span,
.fill-tape span,
.panel-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.metric-grid.compact strong {
  font-size: 0.92rem;
}

.fill-tape {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 310px;
  overflow: auto;
}

.audit-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 242, 0.96)),
    var(--panel);
}

.trade-audit-log {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 310px;
  overflow: auto;
}

.trade-audit-log article {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-left: 4px solid var(--graph);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.trade-audit-log article.warn {
  border-left-color: var(--accent);
}

.trade-audit-log article.error {
  border-left-color: var(--danger);
}

.trade-audit-log span {
  color: var(--muted);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  text-transform: uppercase;
}

.trade-audit-log strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.trade-audit-log em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.signal-journal-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 248, 0.96)),
    var(--panel);
}

.signal-journal {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 360px;
  overflow: auto;
}

.signal-journal article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-left: 4px solid var(--graph);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.signal-journal article.pass {
  border-left-color: var(--buy);
}

.signal-journal article.warn {
  border-left-color: var(--accent);
}

.signal-journal article.error {
  border-left-color: var(--danger);
}

.signal-journal span,
.signal-journal small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.35;
}

.signal-journal strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.signal-journal em {
  color: var(--ink);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.journal-path {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journal-path span {
  background: rgba(54, 95, 107, 0.08);
  border: 1px solid rgba(54, 95, 107, 0.16);
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  font-size: 0.62rem;
  font-weight: 900;
  gap: 2px;
  min-height: 43px;
  padding: 7px;
  text-transform: uppercase;
}

.journal-path span.done {
  border-color: rgba(0, 168, 120, 0.28);
  color: var(--buy);
}

.journal-path span.missed {
  border-color: rgba(214, 75, 75, 0.3);
  color: var(--danger);
}

.journal-path strong {
  color: var(--ink);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-transform: none;
}

.open-order-book {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  max-height: 240px;
  overflow: auto;
}

.order-row {
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--buy);
  border-radius: 6px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 10px;
}

.order-row.sell {
  border-left-color: var(--sell);
}

.order-row.empty {
  border-left-color: var(--muted);
}

.order-row.preview {
  background: rgba(255, 190, 11, 0.06);
  border-left-color: var(--accent);
}

.order-row.live {
  background: rgba(0, 168, 120, 0.06);
}

.order-row strong {
  font-size: 0.78rem;
}

.order-row span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.strategy-readout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
}

.tradingview-signal-panel {
  background: rgba(0, 184, 217, 0.06);
  border: 1px solid rgba(0, 184, 217, 0.18);
  border-left: 3px solid var(--info);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
}

.tradingview-signal-panel p {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.compact-tv-metrics {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.strategy-status {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.strategy-status strong {
  background: rgba(255, 190, 11, 0.14);
  border: 1px solid rgba(255, 190, 11, 0.34);
  border-radius: 999px;
  color: #765401;
  font-size: 0.72rem;
  padding: 5px 8px;
}

.strategy-status.aligned strong {
  background: rgba(0, 168, 120, 0.12);
  border-color: rgba(0, 168, 120, 0.32);
  color: #0b755b;
}

.strategy-status.wait strong {
  background: rgba(230, 57, 70, 0.1);
  border-color: rgba(230, 57, 70, 0.28);
  color: #a32632;
}

.strategy-status.conflict strong {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.36);
  color: #a32632;
}

.strategy-status span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.strategy-metrics {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signal-call {
  background:
    linear-gradient(135deg, rgba(0, 184, 217, 0.12), rgba(0, 168, 120, 0.1)),
    #f4f6f2;
  border: 1px solid rgba(0, 184, 217, 0.18);
  border-radius: 6px;
  display: grid;
  gap: 5px;
  padding: 10px;
}

.signal-call strong {
  color: var(--ink);
  font-size: 1rem;
}

.signal-call span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.signal-timing {
  background: #fffdf4;
  border: 1px solid rgba(232, 162, 20, 0.28);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
}

.signal-timing.valid {
  background: #f2fbf6;
  border-color: rgba(0, 168, 120, 0.28);
}

.signal-timing.paused {
  background: #fff4f4;
  border-color: rgba(230, 57, 70, 0.24);
}

.signal-timing strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.signal-timing span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.strategy-metrics span {
  background: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  font-size: 0.69rem;
  font-weight: 850;
  gap: 3px;
  min-height: 48px;
  padding: 8px;
  text-transform: uppercase;
}

.strategy-metrics strong {
  color: var(--ink);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
  text-transform: none;
}

.strategy-readout p {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.live-desk {
  background:
    linear-gradient(145deg, rgba(8, 13, 13, 0.98), rgba(17, 24, 23, 0.96) 56%, rgba(24, 38, 35, 0.96)),
    var(--dark-panel);
  border: 1px solid rgba(0, 168, 120, 0.36);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 24, 23, 0.18);
  color: #f6fff9;
  display: grid;
  gap: 12px;
  padding: 13px;
  position: relative;
  z-index: 3;
}

.live-desk-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.live-desk-head div {
  display: grid;
  gap: 3px;
}

.live-desk-head span,
.readiness-grid span {
  color: rgba(246, 255, 249, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.live-desk-head strong {
  font-size: 1rem;
}

#liveNetworkBadge {
  background: rgba(255, 190, 11, 0.16);
  border: 1px solid rgba(255, 190, 11, 0.42);
  border-radius: 999px;
  color: #fff5d0;
  padding: 6px 9px;
}

.readiness-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.readiness-grid article {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 9px;
}

.readiness-grid article.ready {
  border-color: rgba(0, 168, 120, 0.68);
}

.readiness-grid article.warn {
  border-color: rgba(255, 190, 11, 0.62);
}

.readiness-grid article.hot {
  border-color: rgba(230, 57, 70, 0.78);
}

.readiness-grid strong {
  color: #ffffff;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.readiness-checklist {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 7px;
  max-height: 292px;
  overflow: auto;
  padding-top: 10px;
}

.checklist-head,
.readiness-checklist article {
  align-items: center;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr auto;
}

.checklist-head strong {
  color: #ffffff;
  font-size: 0.82rem;
}

.checklist-head span {
  color: rgba(246, 255, 249, 0.62);
  font-size: 0.7rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

.readiness-checklist article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(255, 190, 11, 0.72);
  border-radius: 6px;
  padding: 8px 9px;
}

.readiness-checklist article.pass {
  border-left-color: var(--buy);
}

.readiness-checklist article.block {
  border-left-color: var(--danger);
}

.readiness-checklist article span {
  color: rgba(246, 255, 249, 0.82);
  font-size: 0.74rem;
  font-weight: 850;
}

.readiness-checklist article strong {
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.readiness-checklist article em {
  color: rgba(246, 255, 249, 0.58);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 750;
  grid-column: 1 / -1;
  line-height: 1.25;
}

.activation-panel {
  background:
    linear-gradient(145deg, rgba(251, 252, 248, 0.96), rgba(240, 246, 241, 0.96)),
    var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(17, 24, 23, 0.1);
  display: grid;
  gap: 12px;
  padding: 13px;
}

.activation-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.activation-head div {
  display: grid;
  gap: 3px;
}

.activation-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.activation-head strong {
  color: var(--ink);
  font-size: 1rem;
}

.activation-head em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  max-width: 260px;
  text-align: right;
}

.activation-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activation-list article {
  align-items: flex-start;
  background: rgba(17, 24, 23, 0.035);
  border: 1px solid rgba(17, 24, 23, 0.1);
  border-radius: 6px;
  display: grid;
  gap: 9px;
  grid-template-columns: auto 1fr;
  min-height: 78px;
  padding: 10px;
}

.activation-list article.done {
  background: rgba(0, 168, 120, 0.08);
  border-color: rgba(0, 168, 120, 0.28);
}

.activation-list article.current {
  background: rgba(232, 162, 20, 0.1);
  border-color: rgba(232, 162, 20, 0.36);
}

.activation-list article > span {
  align-items: center;
  background: rgba(17, 24, 23, 0.08);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.activation-list article.done > span {
  background: rgba(0, 168, 120, 0.18);
  color: #03684d;
}

.activation-list article.current > span {
  background: rgba(232, 162, 20, 0.2);
  color: #845800;
}

.activation-list strong {
  color: var(--ink);
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}

.activation-list em {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.3;
  margin-top: 3px;
}

.operator-console {
  background:
    linear-gradient(145deg, rgba(17, 24, 23, 0.97), rgba(25, 37, 36, 0.96)),
    var(--terminal);
  border: 1px solid rgba(0, 184, 217, 0.28);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 24, 23, 0.16);
  color: #f9fffb;
  display: grid;
  gap: 12px;
  padding: 13px;
}

.operator-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.operator-head div {
  display: grid;
  gap: 3px;
}

.operator-head span {
  color: rgba(249, 255, 251, 0.66);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.operator-head strong {
  color: #ffffff;
  font-size: 1rem;
}

.operator-head em {
  color: rgba(249, 255, 251, 0.62);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.operator-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-grid article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 3px solid rgba(232, 162, 20, 0.75);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  min-height: 84px;
  padding: 10px;
}

.operator-grid article.ok {
  border-left-color: var(--buy);
}

.operator-grid article.block {
  border-left-color: var(--danger);
}

.operator-grid span {
  color: rgba(249, 255, 251, 0.62);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.operator-grid strong {
  color: #ffffff;
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}

.operator-grid em,
.operator-runbook {
  color: rgba(249, 255, 251, 0.62);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.3;
}

.operator-runbook {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.trade-actions button {
  min-height: 44px;
}

.rules-console {
  background:
    linear-gradient(145deg, rgba(17, 24, 23, 0.96), rgba(26, 37, 35, 0.94)),
    var(--terminal);
  border: 1px solid rgba(0, 184, 217, 0.24);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  color: #f9fffb;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.rules-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.rules-head div {
  display: grid;
  gap: 2px;
}

.rules-head span,
.rules-summary {
  color: rgba(249, 255, 251, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
}

.rules-head span {
  text-transform: uppercase;
}

.rules-head strong {
  color: #ffffff;
  font-size: 0.94rem;
}

.rules-head button {
  background: rgba(0, 184, 217, 0.16);
  border-color: rgba(0, 184, 217, 0.38);
  color: #f9fffb;
  min-height: 34px;
  padding: 7px 10px;
}

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

.rules-console label {
  color: rgba(249, 255, 251, 0.72);
}

.rules-console input,
.rules-console select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.toggle-rule {
  align-items: center;
  display: flex;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.toggle-rule input {
  accent-color: var(--cyan);
  min-width: 16px;
}

.toggle-rule span {
  color: rgba(249, 255, 251, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.rules-summary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  line-height: 1.35;
  padding: 8px;
}

.backend-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.auth-box {
  border: 1px solid rgba(17, 24, 23, 0.12);
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.auth-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.auth-head div {
  display: grid;
  gap: 2px;
}

.auth-head button {
  min-height: 34px;
  padding: 7px 10px;
}

.registration-desk {
  background:
    linear-gradient(135deg, rgba(12, 18, 23, 0.96), rgba(28, 38, 42, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px);
  border: 1px solid rgba(209, 168, 91, 0.42);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(10, 16, 20, 0.18);
  color: #f8faf5;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.registration-desk[hidden] {
  display: none;
}

.registration-desk-head {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 9px;
}

.registration-desk-head span,
.onboarding-ledger span {
  color: rgba(248, 250, 245, 0.66);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-desk-head strong {
  color: #f1c56f;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.onboarding-ledger {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-ledger article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(209, 168, 91, 0.82);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
}

.onboarding-ledger strong {
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.registration-desk .button-row button {
  border-color: rgba(255, 255, 255, 0.18);
}

.backend-box div:first-child {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.side-stack .panel {
  box-shadow: 0 12px 26px rgba(17, 24, 23, 0.1);
}

.side-stack .panel h2,
.controls h2 {
  font-size: 0.98rem;
}

.auth-box span,
.backend-box span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.live-mode {
  color: var(--danger);
}

.auth-box strong,
.backend-box strong {
  font-size: 0.9rem;
}

.auth-box p {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.utility-hidden {
  display: none !important;
}

.compact-single {
  grid-template-columns: 1fr;
}

.fill-row {
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--buy);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  grid-template-columns: 1fr auto;
  padding: 9px 10px;
}

.fill-row.sell {
  border-left-color: var(--sell);
}

.fill-row strong {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.fill-row em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.runtime-log {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 160px;
  overflow: auto;
}

.runtime-log article {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
}

.runtime-log article.error {
  border-left: 4px solid var(--sell);
}

.runtime-log article.warn {
  border-left: 4px solid var(--accent);
}

.runtime-log article.info {
  border-left: 4px solid var(--buy);
}

.access-panel {
  align-self: start;
}

.access-panel p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 12px 0 0;
}

.payout-showcase {
  margin: 14px 0 0;
}

.payout-showcase img {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(17, 24, 23, 0.1);
  display: block;
  width: 100%;
}

.payout-showcase figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
  margin-top: 8px;
}

.spotify-panel {
  background: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 9px;
  padding: 10px;
}

.spotify-heading,
.spotify-empty {
  display: grid;
  gap: 5px;
}

.spotify-heading {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.spotify-heading span,
.spotify-empty strong {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spotify-empty p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.spotify-panel iframe {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  display: block;
  width: 100%;
}

.access-list {
  display: grid;
  gap: 8px;
}

.access-list article {
  background: #f4f6f2;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.access-list span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.access-list strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.access-list code {
  overflow-wrap: anywhere;
}

.about-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-lede,
.about-thesis {
  display: grid;
  gap: 10px;
}

.about-lede > span,
.about-thesis > span,
.about-principles span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-lede h3 {
  font-size: 1.35rem;
  line-height: 1.12;
}

.about-lede p,
.about-thesis p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.58;
}

.about-thesis,
.about-principles,
.trainer-callout,
.grid-discipline {
  grid-column: 1 / -1;
}

.about-thesis {
  background:
    linear-gradient(135deg, rgba(17, 24, 23, 0.98), rgba(22, 40, 38, 0.95)),
    var(--terminal);
  border-color: rgba(0, 184, 217, 0.28);
}

.about-thesis p {
  color: rgba(249, 255, 251, 0.84);
  font-size: 1.04rem;
  font-weight: 850;
}

.trainer-callout {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.trainer-callout span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trainer-callout h3 {
  font-size: 1.22rem;
  line-height: 1.18;
  margin-top: 6px;
}

.trainer-callout p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  margin-top: 8px;
}

.about-principles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-principles article {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terminal);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 13px;
}

.about-principles article:nth-child(2) {
  border-left-color: var(--accent);
}

.about-principles article:nth-child(3) {
  border-left-color: var(--buy);
}

.about-principles article:nth-child(4) {
  border-left-color: var(--cyan);
}

.about-principles strong {
  font-size: 0.9rem;
  line-height: 1.42;
}

.grid-discipline {
  display: grid;
  gap: 14px;
}

.grid-discipline > div:first-child {
  display: grid;
  gap: 8px;
}

.grid-discipline > div:first-child span,
.grid-discipline-rules span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.grid-discipline h3 {
  font-size: 1.22rem;
  line-height: 1.16;
}

.grid-discipline p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.58;
  max-width: 1040px;
}

.grid-discipline-rules {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-discipline-rules article {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  min-height: 134px;
  padding: 13px;
}

.grid-discipline-rules article:nth-child(2),
.grid-discipline-rules article:nth-child(5) {
  border-left-color: var(--buy);
}

.grid-discipline-rules article:nth-child(3),
.grid-discipline-rules article:nth-child(6) {
  border-left-color: var(--sell);
}

.grid-discipline-rules strong {
  font-size: 0.88rem;
  line-height: 1.43;
}

.plan-grid strong {
  font-size: 0.95rem;
}

.plan-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

#equityCanvas {
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 180px;
  margin-top: 12px;
  width: 100%;
}

.game-shell {
  margin: 0 auto;
  max-width: 1240px;
}

.game-board {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.game-stage {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.game-stage canvas {
  aspect-ratio: 49 / 26;
  display: block;
  width: 100%;
}

.game-panel {
  align-content: start;
  display: grid;
  gap: 14px;
}

.game-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-stat-grid div,
.scenario-card {
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.game-stat-grid span,
.scenario-card span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.game-stat-grid strong,
.scenario-card strong {
  color: var(--ink);
  display: block;
}

.scenario-card p,
.game-feedback p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
  margin: 8px 0 0;
}

.decision-buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.decision-buttons button.correct {
  background: linear-gradient(135deg, var(--buy), #0b5f51);
  border-color: rgba(0, 168, 120, 0.7);
  color: #ffffff;
  opacity: 1;
}

.decision-buttons button.wrong {
  background: linear-gradient(135deg, var(--danger), #7f1d2d);
  border-color: rgba(216, 58, 70, 0.72);
  color: #ffffff;
  opacity: 1;
}

.crypto-trainer-board {
  margin: 0 auto;
  max-width: 1240px;
}

.crypto-trainer-stage {
  min-height: 320px;
}

.crypto-context-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crypto-context-grid article,
.crypto-trainer-preview article {
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.crypto-context-grid span,
.crypto-trainer-preview span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.crypto-context-grid strong,
.crypto-trainer-preview strong {
  color: var(--ink);
  display: block;
  overflow-wrap: anywhere;
}

.game-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.setup-library-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.setup-library-grid article {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 13px;
}

.setup-library-grid article:nth-child(2),
.setup-library-grid article:nth-child(5) {
  border-left-color: var(--accent);
}

.setup-library-grid article:nth-child(3),
.setup-library-grid article:nth-child(6) {
  border-left-color: var(--buy);
}

.setup-library-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-library-grid strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.42;
}

@media (max-width: 1180px) {
  .command-strip {
    grid-template-columns: 1fr;
    position: static;
  }

  .wealth-command {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  }

  .concierge-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .desk-sections {
    grid-template-areas:
      "trade risk"
      "markets markets"
      "trainer trainer"
      "setups setups"
      "account account"
      "about about"
      "activity activity";
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }

  #account,
  #risk {
    position: static;
  }

  .trade-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principles,
  .setup-library-grid,
  .trainer-callout,
  .grid-discipline-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shell {
    padding: 10px;
  }

  .topbar,
  .side-stack,
  .command-metrics,
  .wealth-command,
  .desk-sections,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .desk-sections {
    grid-template-areas:
      "trade"
      "risk"
      "markets"
      "trainer"
      "setups"
      "account"
      "about"
      "activity";
  }

  .command-strip {
    margin-bottom: 10px;
    padding: 10px;
  }

  .wealth-command {
    margin-bottom: 10px;
    padding: 12px;
  }

  .wealth-command-head {
    align-items: flex-start;
  }

  .concierge-actions {
    grid-column: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .desk-section {
    border-radius: 8px;
    gap: 12px;
    padding: 12px;
  }

  .section-head {
    align-items: flex-start;
    display: grid;
    gap: 9px;
  }

  .section-head h2 {
    font-size: 1rem;
    line-height: 1.22;
  }

  .onboarding-ledger {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .about-principles,
  .setup-library-grid,
  .trainer-callout,
  .game-board,
  .grid-discipline-rules {
    grid-template-columns: 1fr;
  }

  .desk-jump-nav {
    background: rgba(236, 241, 237, 0.94);
    border: 1px solid rgba(17, 24, 23, 0.08);
    border-radius: 8px;
    flex-wrap: nowrap;
    margin-bottom: 10px;
    overflow-x: auto;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .desk-jump-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topbar {
    align-items: flex-start;
    display: grid;
    gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .desk-nav {
    justify-content: flex-start;
  }

  .ops-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .lesson-grid,
  .path-grid,
  .target-table,
  .withdrawal-flow,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .status-strip {
    justify-content: flex-start;
  }

  .status-strip span,
  .price-pill,
  .range-readout {
    font-size: 0.72rem;
    padding: 6px 8px;
  }

  .panel,
  .market-stage,
  .live-desk,
  .rules-console,
  .auth-box {
    border-radius: 7px;
    box-shadow: 0 12px 24px rgba(17, 24, 23, 0.08);
  }

  .panel {
    padding: 12px;
  }

  .input-row,
  .button-row {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  button,
  input,
  select {
    min-height: 42px;
  }

  .ticket-sizing,
  .ticket-grid,
  .chat-quick-actions,
  .coinglass-services,
  .hedge-summary,
  .research-stats,
  .strategy-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .market-stage {
    min-height: auto;
    padding: 12px;
  }

  .market-radar {
    grid-template-columns: 1fr;
  }

  .market-radar-row,
  .market-radar-empty {
    grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
  }

  .market-radar-row small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .fib-head {
    align-items: flex-start;
    display: grid;
  }

  .fib-head span {
    text-align: left;
  }

  .fvg-head {
    align-items: flex-start;
    display: grid;
  }

  .fvg-head span {
    text-align: left;
  }

  .fib-metrics,
  .fvg-metrics,
  .fvg-list {
    grid-template-columns: 1fr 1fr;
  }

  .context-head,
  .context-action {
    align-items: flex-start;
    display: grid;
  }

  .context-head span {
    text-align: left;
  }

  .context-metrics,
  .context-assets {
    grid-template-columns: 1fr 1fr;
  }

  .session-grid {
    grid-template-columns: 1fr 1fr;
  }

  .session-head {
    align-items: flex-start;
    display: grid;
  }

  #markets .market-radar,
  #markets .asset-groups {
    max-height: none;
    overflow: visible;
  }

  .asset-groups {
    grid-template-columns: 1fr;
  }

  .live-desk {
    position: static;
  }

  .activation-head {
    align-items: flex-start;
    display: grid;
  }

  .activation-head em {
    max-width: none;
    text-align: left;
  }

  .activation-list {
    grid-template-columns: 1fr;
  }

  .operator-head {
    align-items: flex-start;
    display: grid;
  }

  .operator-head em {
    text-align: left;
  }

  .operator-grid {
    grid-template-columns: 1fr;
  }

  .readiness-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .shell {
    padding: 8px;
  }

  .topbar {
    border-radius: 7px;
    padding: 14px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .desk-nav a,
  .desk-jump-nav a {
    font-size: 0.7rem;
    padding: 7px 9px;
  }

  .desk-sections {
    gap: 12px;
  }

  .desk-section {
    padding: 10px;
  }

  .concierge-actions {
    grid-template-columns: 1fr;
  }

  .wealth-command-head {
    display: grid;
  }

  .ops-ribbon {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .ticket-sizing,
  .ticket-grid,
  .chat-form,
  .chat-quick-actions,
  .coinglass-services,
  .hedge-summary,
  .entry-ladder,
  .research-stats,
  .strategy-metrics,
  .fib-metrics,
  .fvg-metrics,
  .fvg-list,
  .context-metrics,
  .context-assets,
  .session-grid {
    grid-template-columns: 1fr;
  }

  .input-row,
  .button-row {
    grid-template-columns: 1fr;
  }

  .group-title,
  .panel-head,
  .rules-head,
  .auth-head,
  .live-desk-head,
  .context-action {
    align-items: flex-start;
    display: grid;
    gap: 7px;
  }

  .ticket-sizing article,
  .ticket-grid article,
  .metric-grid article {
    min-height: 0;
    padding: 9px;
  }

  .open-order-book,
  .fill-tape,
  .trade-audit-log,
  .chat-messages {
    max-height: 260px;
  }

  .order-row,
  .fill-row {
    align-items: flex-start;
    display: grid;
    gap: 5px;
  }

  .order-row span,
  .fill-row span {
    text-align: left;
  }

  .market-strip {
    grid-template-columns: 1fr;
  }

  .market-radar-row,
  .market-radar-empty {
    grid-template-columns: 1fr;
  }

  .market-radar-row span,
  .market-radar-row small {
    text-align: left;
  }

  .session-grid {
    grid-template-columns: 1fr;
  }

  .market-3d-map {
    height: 240px;
  }

  .market-3d-overlay {
    bottom: 10px;
    top: auto;
  }

  #equityCanvas {
    height: 150px;
  }
}
.performance-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.performance-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.performance-filters label { color: var(--muted); display: grid; font-size: .72rem; font-weight: 850; gap: .25rem; min-width: 150px; }
.performance-filters select, .performance-filters input { min-height: 38px; }
.performance-chart { display: grid; gap: .55rem; margin: .85rem 0; }
.performance-bar { align-items: center; display: grid; gap: .65rem; grid-template-columns: 52px minmax(90px,1fr) 30px; }
.performance-bar span, .performance-bar strong { font-size: .74rem; font-variant-numeric: tabular-nums; }
.performance-bar div { background: color-mix(in srgb, var(--line) 55%, transparent); border-radius: 999px; height: 9px; overflow: hidden; }
.performance-bar i { background: var(--accent); border-radius: inherit; display: block; height: 100%; }
.performance-bar.win i { background: var(--buy); }
.performance-bar.loss i { background: var(--danger); }
.performance-bar.open i { background: var(--warning); }

@media (max-width: 980px) {
  .command-strip { grid-template-columns: 1fr; position: static; }
  .command-actions { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .command-actions { grid-template-columns: 1fr; }
}

.performance-breakdown article {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.performance-breakdown span,
.performance-breakdown em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.performance-breakdown strong {
  font-size: 1.05rem;
}

/* Market Atelier — editorial command desk */
:root {
  --bg: #e9e4da;
  --ink: #181a17;
  --muted: #6f7069;
  --panel: #f8f5ee;
  --line: #d7d0c2;
  --buy: #2d755c;
  --sell: #a8433c;
  --accent: #b9863f;
  --graph: #315f68;
  --violet: #665477;
  --cyan: #3d7a82;
  --coral: #aa5e3e;
  --deep: #181a17;
  --soft: #f1ede4;
  --shadow: 0 22px 70px rgba(51, 45, 35, 0.09);
  --terminal: #171915;
  --terminal-2: #242720;
}

body[data-theme="dark"] {
  --bg: #121411;
  --ink: #f2ede2;
  --muted: #aaa79e;
  --panel: #1b1d19;
  --line: #37382f;
  --soft: #20221d;
  --deep: #f8f3e8;
  --terminal: #0d0f0c;
  --terminal-2: #171a15;
}

body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 134, 63, 0.10), transparent 31rem),
    var(--bg);
  background-attachment: fixed;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.shell {
  padding: 0 30px 40px;
}

.topbar {
  background: rgba(23, 25, 21, 0.98);
  border: 0;
  border-radius: 0 0 24px 24px;
  box-shadow: none;
  max-width: 1600px;
  min-height: 112px;
  padding: 20px 28px;
}

.topbar::after {
  background: rgba(255, 255, 255, 0.11);
  height: 1px;
  left: 28px;
  right: 28px;
}

.brand-logo {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: none;
  height: 54px;
  width: 54px;
}

.brand-lockup h1,
.command-heading h2,
.wealth-command h2,
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.brand-lockup h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.eyebrow,
.brand-lockup .eyebrow {
  letter-spacing: 0.14em;
}

.desk-nav a,
.desk-nav button,
.status-strip span,
.desk-preferences label {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

.preferred-api-banner {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  margin: 0 auto;
  max-width: 1544px;
  padding: 12px 4px;
}

.preferred-api-banner strong {
  color: var(--ink);
}

.ops-ribbon {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  margin: 0 auto;
  max-width: 1544px;
}

.ops-ribbon article,
.ops-ribbon article:nth-child(n) {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  min-height: 84px;
  padding: 20px 24px;
}

.ops-ribbon article:last-child {
  border-right: 0;
}

.ops-ribbon strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.desk-jump-nav {
  background: rgba(248, 245, 238, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(51, 45, 35, 0.08);
  gap: 2px;
  margin: 18px auto;
  max-width: fit-content;
  padding: 5px;
}

body[data-theme="dark"] .desk-jump-nav {
  background: rgba(27, 29, 25, 0.9);
}

.desk-jump-nav a {
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  padding: 10px 16px;
}

.desk-jump-nav a:hover,
.desk-jump-nav a:focus-visible {
  background: var(--deep);
  color: var(--panel);
}

.command-strip {
  background:
    radial-gradient(circle at 78% 12%, rgba(185, 134, 63, 0.24), transparent 22rem),
    #1a1c18;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(31, 29, 24, 0.22);
  color: #f7f2e8;
  gap: 28px;
  grid-template-columns: minmax(300px, 1.4fr) minmax(220px, .75fr);
  margin: 0 auto 22px;
  max-width: 1544px;
  min-height: 470px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 76px);
  position: relative;
}

.command-strip::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  height: 340px;
  position: absolute;
  right: -90px;
  top: -100px;
  width: 340px;
}

.command-heading {
  align-self: center;
  max-width: 790px;
}

.command-heading > span {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dcbf8e;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.command-heading h2 {
  color: #f8f3e8;
  font-size: clamp(3.3rem, 7vw, 7.5rem);
  letter-spacing: -0.065em;
  line-height: 0.84;
  margin: 28px 0;
}

.command-heading p {
  color: rgba(248, 243, 232, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
  max-width: 610px;
}

.command-state {
  align-self: end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #f8f3e8;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.command-state span,
.command-state em {
  color: rgba(248, 243, 232, 0.58);
}

.command-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  grid-column: 1 / -1;
}

.command-metrics article {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.command-metrics span { color: rgba(248, 243, 232, 0.52); }
.command-metrics strong { color: #f8f3e8; }

.command-actions {
  grid-column: 1 / -1;
}

.command-actions a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8f3e8;
  min-height: 48px;
}

.command-actions .command-primary {
  background: #d8b477;
  border-color: #d8b477;
  color: #191b17;
}

.wealth-command,
.desk-section {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.wealth-command {
  background: var(--panel);
  color: var(--ink);
  max-width: 1544px;
  padding: 32px;
}

.wealth-command .eyebrow,
.wealth-command h2 { color: var(--ink); }
.wealth-command #cioBrief { color: var(--muted); }

.wealth-command h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
}

.opportunity-score {
  background: var(--deep);
  border-radius: 18px;
  color: var(--panel);
}

.desk-sections {
  max-width: 1544px;
}

.desk-section {
  background: rgba(248, 245, 238, 0.72);
  padding: clamp(20px, 3vw, 38px);
}

body[data-theme="dark"] .desk-section {
  background: rgba(27, 29, 25, 0.78);
}

.section-head {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 850px;
}

.panel {
  border-radius: 18px;
  box-shadow: none;
}

input,
select,
textarea {
  border-radius: 10px;
}

button,
.command-actions a {
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

button:hover,
.command-actions a:hover {
  transform: translateY(-1px);
}

button.primary {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--panel);
}

@media (max-width: 980px) {
  .shell { padding: 0 16px 28px; }
  .topbar { border-radius: 0 0 18px 18px; }
  .command-strip { grid-template-columns: 1fr; min-height: 0; }
  .command-state { align-self: auto; }
  .command-metrics,
  .command-actions { grid-column: 1; }
}

@media (max-width: 680px) {
  .shell { padding: 0 8px 20px; }
  .topbar { padding: 16px; }
  .status-strip { display: none; }
  .preferred-api-banner { padding-inline: 8px; }
  .ops-ribbon { grid-template-columns: 1fr 1fr; }
  .ops-ribbon article:nth-child(2) { border-right: 0; }
  .ops-ribbon article { border-bottom: 1px solid var(--line); min-height: 70px; padding: 14px; }
  .desk-jump-nav { border-radius: 18px; justify-content: flex-start; max-width: 100%; overflow-x: auto; }
  .desk-jump-nav a { white-space: nowrap; }
  .command-strip { border-radius: 22px; padding: 30px 22px; }
  .command-heading h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .command-metrics { grid-template-columns: 1fr 1fr; }
  .wealth-command,
  .desk-section { border-radius: 18px; }
}

/* Monatise Nexus — responsive market intelligence system */
:root {
  --bg: #eef2f7;
  --ink: #101723;
  --muted: #637083;
  --panel: #ffffff;
  --line: #dbe2eb;
  --buy: #10a77a;
  --sell: #e44d67;
  --accent: #5d5fef;
  --graph: #3578ff;
  --violet: #7357e8;
  --cyan: #08a8c4;
  --coral: #e06e48;
  --deep: #101723;
  --soft: #f5f7fb;
  --shadow: 0 18px 50px rgba(24, 39, 75, 0.08);
  --terminal: #0c1420;
  --terminal-2: #162131;
}

body[data-theme="dark"] {
  --bg: #08101b;
  --ink: #eef4fb;
  --muted: #91a0b5;
  --panel: #101b29;
  --line: #223247;
  --soft: #0d1724;
  --deep: #eef4fb;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --terminal: #050b13;
  --terminal-2: #101b29;
}

body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 92% 3%, rgba(93, 95, 239, 0.11), transparent 28rem),
    radial-gradient(circle at 5% 32%, rgba(8, 168, 196, 0.07), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand-lockup h1,
.command-heading h2,
.wealth-command h2,
.section-head h2 {
  font-family: inherit;
}

.topbar {
  background: rgba(9, 17, 29, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 40px rgba(4, 10, 18, 0.16);
  gap: 16px;
}

.topbar::after {
  background: linear-gradient(90deg, #5d5fef, #08a8c4, #10a77a);
  height: 2px;
  left: 0;
  right: 0;
}

.brand-logo {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.brand-lockup h1 {
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.055em;
}

.desk-nav a:hover,
.desk-nav button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.preferred-api-banner {
  border-bottom-color: var(--line);
  font-size: 0.78rem;
}

.ops-ribbon article,
.ops-ribbon article:nth-child(n) {
  border-color: var(--line);
}

.ops-ribbon strong {
  font-family: inherit;
  font-weight: 750;
}

.desk-jump-nav {
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(24, 39, 75, 0.07);
  max-width: min(100%, 900px);
  scrollbar-width: none;
}

.desk-jump-nav::-webkit-scrollbar { display: none; }

.desk-jump-nav a {
  border-radius: 9px;
  flex: 0 0 auto;
}

.desk-jump-nav a:hover,
.desk-jump-nav a:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

.command-strip {
  background:
    radial-gradient(circle at 86% 8%, rgba(93, 95, 239, 0.42), transparent 24rem),
    radial-gradient(circle at 55% 120%, rgba(8, 168, 196, 0.19), transparent 30rem),
    linear-gradient(135deg, #08111e, #111d2d 58%, #0b1725);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(10, 22, 39, 0.22);
  min-height: 440px;
}

.command-strip::after {
  border-color: rgba(98, 211, 226, 0.14);
  box-shadow: 0 0 0 70px rgba(93, 95, 239, 0.035), 0 0 0 140px rgba(8, 168, 196, 0.025);
}

.command-heading > span {
  border-color: rgba(99, 219, 235, 0.3);
  color: #74e4f2;
}

.command-heading h2 {
  font-size: clamp(3rem, 6.6vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.89;
}

.command-heading p {
  color: rgba(238, 244, 251, 0.7);
  max-width: 660px;
}

.command-state {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.command-actions .command-primary {
  background: #716ff6;
  border-color: #716ff6;
  color: #ffffff;
}

.command-actions a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.command-actions .command-primary:hover {
  background: #8583ff;
}

.wealth-command,
.desk-section {
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-color: var(--line);
  border-radius: 18px;
}

.wealth-command h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
  font-weight: 740;
}

.opportunity-score {
  background: linear-gradient(145deg, #101a29, #17263a);
  color: #ffffff;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  font-weight: 720;
}

.panel {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 14px;
}

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

button.primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, white);
}

@media (min-width: 1500px) {
  .command-strip { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); }
  .desk-sections { gap: 22px; }
}

@media (max-width: 1180px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; }
  .brand-lockup { flex: 1 1 260px; }
  .desk-nav { justify-content: flex-end; }
  .desk-preferences { margin-left: auto; }
  .status-strip { flex: 1 0 100%; justify-content: flex-start; }
  .command-strip { padding: clamp(32px, 5vw, 58px); }
}

@media (max-width: 820px) {
  .shell { padding-inline: 12px; }
  .topbar { display: grid; grid-template-columns: 1fr auto; }
  .brand-lockup { grid-column: 1; }
  .desk-preferences { grid-column: 2; grid-row: 1; }
  .desk-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .status-strip { display: none; }
  .ops-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .command-strip { grid-template-columns: 1fr; min-height: 0; }
  .command-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .command-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wealth-command { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { padding-inline: 8px; }
  .topbar { grid-template-columns: 1fr; padding: 14px; }
  .brand-logo { height: 44px; width: 44px; }
  .brand-lockup h1 { font-size: 2rem; }
  .brand-lockup .eyebrow { font-size: .62rem; }
  .desk-preferences { grid-column: 1; grid-row: auto; margin: 0; justify-content: flex-start; }
  .desk-preferences label { flex: 1; justify-content: space-between; }
  .desk-nav { gap: 6px; }
  .desk-nav a,
  .desk-nav button { font-size: .68rem; white-space: nowrap; }
  .preferred-api-banner { align-items: flex-start; display: grid; gap: 4px; }
  .ops-ribbon article { padding: 12px; }
  .ops-ribbon strong { font-size: .9rem; }
  .desk-jump-nav { margin-block: 12px; }
  .command-strip { border-radius: 16px; padding: 28px 18px; }
  .command-heading h2 { font-size: clamp(2.65rem, 14vw, 4rem); margin: 22px 0; }
  .command-heading p { font-size: .94rem; }
  .command-state { padding: 18px; }
  .command-metrics { gap: 0; }
  .command-metrics article { min-width: 0; padding: 12px; }
  .command-metrics strong { font-size: .9rem; overflow-wrap: anywhere; }
  .command-actions { grid-template-columns: 1fr; }
  .wealth-command,
  .desk-section { padding: 18px; }
  .section-grid,
  .trade-grid { min-width: 0; }
  .panel { min-width: 0; }
}

/* Minimal desk — only the information needed to decide */
.preferred-api-banner,
.ops-ribbon,
#wealth,
#hedge,
#activation,
#operator,
#trainer,
#about,
.coinglass-services,
.data-ecosystem,
#marketRadar,
#assetGroups,
#researchSystem {
  display: none !important;
}

.shell {
  padding-bottom: 24px;
}

.topbar {
  margin-bottom: 14px;
  min-height: 82px;
  padding-block: 14px;
}

.brand-logo {
  height: 46px;
  width: 46px;
}

.brand-lockup h1 {
  font-size: clamp(1.75rem, 2.2vw, 2.4rem);
}

.desk-jump-nav {
  margin-block: 14px;
}

.command-strip {
  gap: 18px;
  grid-template-columns: minmax(280px, 1.35fr) minmax(220px, .65fr);
  min-height: 310px;
  padding: clamp(28px, 4vw, 48px);
}

.command-heading h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.6rem);
  margin: 20px 0 14px;
}

.command-heading p {
  font-size: 1rem;
}

.command-metrics {
  margin-top: 2px;
}

.command-actions a {
  min-height: 42px;
}

.desk-sections {
  gap: 14px;
}

.desk-section {
  padding: clamp(18px, 2.2vw, 28px);
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.trade-grid {
  grid-template-columns: minmax(260px, .72fr) minmax(360px, 1.28fr);
}

#chat {
  grid-column: 1 / -1;
}

.chat-messages {
  max-height: 220px;
}

.risk-grid {
  grid-template-columns: 1fr;
}

.market-stage {
  gap: 14px;
}

.liquidity-source {
  margin: 0;
  padding: 10px 12px;
}

.market-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-strip button:nth-child(n + 5) {
  display: none;
}

.tradingview-panel {
  min-height: 420px;
}

#account,
#activity {
  scroll-margin-top: 12px;
}

@media (max-width: 820px) {
  .command-strip { grid-template-columns: 1fr; }
  .trade-grid { grid-template-columns: 1fr; }
  .market-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .command-strip { min-height: 0; padding: 24px 18px; }
  .command-heading h2 { font-size: clamp(2.5rem, 13vw, 3.7rem); }
  .command-metrics article:nth-child(n + 3) { display: none; }
  .desk-section { padding: 16px; }
  #chat { display: none; }
  .tradingview-panel { min-height: 340px; }
}

.preferred-analysis {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.preferred-analysis strong {
  background: rgba(116, 228, 242, 0.12);
  border: 1px solid rgba(116, 228, 242, 0.28);
  border-radius: 999px;
  color: #74e4f2;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.preferred-analysis span {
  color: rgba(238, 244, 251, 0.6);
  font-size: 0.78rem;
}
