/*
 * Coyoti Command beta skin.
 * Adapted from the approved "create-a-re-designed-clickthrough-demo" reference.
 * Presentation only: application IDs and action contracts remain unchanged.
 */
:root {
  --command-bg: #02070b;
  --command-rail: #030b10;
  --command-surface: #06121a;
  --command-surface-raised: #091924;
  --command-surface-active: #0b2330;
  --command-border: rgba(117, 181, 201, .19);
  --command-border-strong: rgba(86, 221, 239, .42);
  --command-text: #f4fbfd;
  --command-muted: #9cb1bb;
  --command-cyan: #59d9e9;
  --command-blue: #3797ff;
  --command-green: #58dda3;
  --command-amber: #ffc568;
  --command-red: #ff7483;
  --command-shadow: 0 22px 60px rgba(0, 0, 0, .36);
  --command-radius: 8px;
}

body[data-design-system="command-beta"] {
  background: var(--command-bg);
  color: var(--command-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-design-system="command-beta"] * {
  scrollbar-color: rgba(89, 217, 233, .3) transparent;
}

body[data-design-system="command-beta"] :focus-visible {
  outline: 2px solid var(--command-cyan);
  outline-offset: 3px;
}

body[data-design-system="command-beta"] button,
body[data-design-system="command-beta"] input,
body[data-design-system="command-beta"] select,
body[data-design-system="command-beta"] textarea {
  letter-spacing: 0;
}

body[data-site="app"] {
  --app-rail-width: 224px;
  --app-content-max: 1580px;
  --app-content-pad: 24px;
  background: var(--command-bg);
}

body[data-site="app"]:before {
  opacity: .035;
  background-position: 54% top;
  filter: saturate(.7);
}

body[data-site="app"] .app {
  grid-template-columns: var(--app-rail-width) minmax(0, 1fr);
}

body[data-site="app"] .rail {
  gap: 18px;
  padding: 22px 14px 18px;
  border-right: 1px solid var(--command-border);
  background: rgba(3, 11, 16, .98);
  box-shadow: 12px 0 42px rgba(0, 0, 0, .18);
}

body[data-site="app"] .rail:after {
  top: 18px;
  bottom: 18px;
  background: rgba(89, 217, 233, .28);
  box-shadow: 0 0 16px rgba(89, 217, 233, .18);
}

body[data-site="app"] .brand {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-height: 58px;
  padding: 2px 9px 18px;
  border-bottom: 1px solid var(--command-border);
}

body[data-site="app"] .brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 15px rgba(89, 217, 233, .28));
}

body[data-site="app"] .brand strong {
  color: #eaf5f8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .08em;
}

body[data-site="app"] .brand > span > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--command-muted);
  font-size: 11px;
  font-weight: 650;
}

body[data-site="app"] .beta-badge {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding: 0 6px;
  border: 1px solid rgba(89, 217, 233, .3);
  border-radius: 4px;
  background: rgba(89, 217, 233, .08);
  color: var(--command-cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

body[data-site="app"] .nav {
  gap: 5px;
  margin-top: 2px;
}

body[data-site="app"] .nav a,
body[data-site="app"] .rail-actions a {
  position: relative;
  border: 1px solid transparent;
  color: #adbec7;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body[data-site="app"] .nav a {
  min-height: 48px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 14px;
}

body[data-site="app"] .nav a:before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -1px;
  width: 2px;
  content: "";
  border-radius: 2px;
  background: transparent;
}

body[data-site="app"] .nav a:hover,
body[data-site="app"] .nav a.active {
  border-color: rgba(89, 217, 233, .14);
  background: rgba(89, 217, 233, .075);
  color: var(--command-cyan);
  transform: none;
}

body[data-site="app"] .nav a.active:before {
  background: var(--command-cyan);
  box-shadow: 0 0 12px rgba(89, 217, 233, .55);
}

body[data-site="app"] .rail-actions {
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--command-border);
}

body[data-site="app"] .rail-actions a {
  min-height: 42px;
  padding: 0 13px;
  font-size: 12px;
}

body[data-site="app"] .topbar {
  min-height: 68px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--command-border);
  background: rgba(2, 8, 12, .9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(20px);
}

body[data-site="app"] .title-row h1 {
  font-size: 18px;
  font-weight: 780;
}

body[data-site="app"] .health-pill {
  gap: 7px;
  font-size: 12px;
}

body[data-site="app"] .health-pill .dot {
  width: 8px;
  height: 8px;
  animation: command-status 2.4s ease-in-out infinite;
}

body[data-site="app"] .top-actions {
  gap: 8px;
}

body[data-site="app"] .network,
body[data-site="app"] .wallet-mini,
body[data-site="app"] .avatar {
  min-height: 42px;
  border-color: var(--command-border);
  border-radius: 7px;
  background: rgba(6, 18, 26, .9);
  box-shadow: none;
}

body[data-site="app"] .wallet-mini {
  min-width: 194px;
}

body[data-site="app"] .content {
  padding: 20px 24px 34px;
}

body[data-site="app"] .cockpit-layout,
body[data-site="app"] .section.screen-visible {
  width: 100%;
}

body[data-site="app"] .strategy-shell {
  display: grid;
  gap: 12px;
}

body[data-site="app"] .strategy-command {
  position: relative;
  isolation: isolate;
  min-height: 214px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 34px 36px;
  border: 1px solid rgba(89, 217, 233, .34);
  border-radius: var(--command-radius);
  background-color: #030c11;
  background-image: url('/assets/coyoti-intelligence-hero.png');
  background-position: center 34%;
  background-size: cover;
  box-shadow: var(--command-shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}

body[data-site="app"] .strategy-command:before {
  z-index: -2;
  background: rgba(1, 8, 11, .48);
  opacity: 1;
}

body[data-site="app"] .strategy-command:after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 52%;
  content: "";
  background: rgba(2, 9, 13, .72);
  mask-image: linear-gradient(to bottom, transparent, #000 64%);
}

body[data-site="app"] .strategy-command > div:not(.command-telemetry) {
  position: relative;
  z-index: 2;
}

body[data-site="app"] .strategy-command .strategy-kicker {
  color: #bdeef3;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

body[data-site="app"] .strategy-command h2 {
  margin: 10px 0 8px;
  max-width: 760px;
  color: #f6fcfd;
  font-size: 46px;
  font-weight: 880;
  line-height: 1.02;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .56);
}

body[data-site="app"] .strategy-command p {
  max-width: 600px;
  color: #b7c8cf;
  font-size: 15px;
}

body[data-site="app"] .command-telemetry {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 38%;
  height: 76%;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 18px 0 10%;
  opacity: .3;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 42%);
}

body[data-site="app"] .command-telemetry i {
  width: 7px;
  height: var(--level);
  min-height: 10px;
  display: block;
  transform-origin: bottom;
  border-radius: 2px 2px 0 0;
  background: var(--command-cyan);
  box-shadow: 0 0 12px rgba(89, 217, 233, .28);
  animation: command-telemetry 3.2s var(--delay) ease-in-out infinite;
}

body[data-site="app"] .command-telemetry i:nth-child(3n) {
  background: var(--command-green);
}

body[data-site="app"] .strategy-key-metrics {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--command-border);
  border-radius: var(--command-radius);
  background: var(--command-border);
}

body[data-site="app"] .strategy-key-metric {
  min-height: 92px;
  padding: 16px 18px;
  background: rgba(5, 16, 23, .98);
}

body[data-site="app"] .strategy-key-metric > span {
  color: #8ba5b0;
  font-size: 10px;
  letter-spacing: .07em;
}

body[data-site="app"] .strategy-key-metric b {
  margin-top: 7px;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
}

body[data-site="app"] .strategy-key-metric small {
  margin-top: 5px;
  color: #91a7b1;
  font-size: 11px;
}

body[data-site="app"] .strategy-market-bar,
body[data-site="app"] .strategy-tabs,
body[data-site="app"] .strategy-surface,
body[data-site="app"] .strategy-config-rail,
body[data-site="app"] .strategy-wizard,
body[data-site="app"] .panel,
body[data-site="app"] .mini-card,
body[data-site="app"] .message,
body[data-site="app"] .rule-row,
body[data-site="app"] .action-tile,
body[data-site="app"] .plan-card,
body[data-site="app"] .audit-tile {
  border-color: var(--command-border);
  border-radius: var(--command-radius);
  background: var(--command-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

body[data-site="app"] .strategy-market-bar {
  min-height: 58px;
  padding: 9px 12px;
}

body[data-site="app"] .strategy-market-controls {
  gap: 5px;
}

body[data-site="app"] .strategy-market-controls button,
body[data-site="app"] .strategy-market-mode,
body[data-site="app"] .strategy-market-mode button,
body[data-site="app"] .strategy-tabs,
body[data-site="app"] .strategy-tabs button,
body[data-site="app"] .seg button,
body[data-site="app"] .range-tabs button {
  border-radius: 6px;
  background: rgba(2, 10, 15, .72);
}

body[data-site="app"] .strategy-market-controls button,
body[data-site="app"] .strategy-market-mode button {
  min-height: 34px;
}

body[data-site="app"] .strategy-market-controls button.active,
body[data-site="app"] .strategy-market-mode button.active,
body[data-site="app"] .strategy-tabs button.active,
body[data-site="app"] .seg button.active,
body[data-site="app"] .range-tabs button.active {
  border-color: rgba(89, 217, 233, .52);
  background: var(--command-surface-active);
  color: var(--command-cyan);
  box-shadow: inset 0 0 0 1px rgba(89, 217, 233, .08), 0 0 18px rgba(89, 217, 233, .05);
}

body[data-site="app"] .strategy-tabs {
  gap: 3px;
  padding: 4px;
}

body[data-site="app"] .strategy-tabs button {
  min-height: 44px;
}

body[data-site="app"] .strategy-content {
  min-height: 520px;
}

body[data-site="app"] .strategy-view {
  gap: 12px;
}

body[data-site="app"] .strategy-overview-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 12px;
  align-items: start;
}

body[data-site="app"] .strategy-surface {
  overflow: hidden;
}

body[data-site="app"] .strategy-surface-head,
body[data-site="app"] .panel-head {
  padding: 15px 17px;
  border-bottom-color: var(--command-border);
}

body[data-site="app"] .strategy-surface-head h3,
body[data-site="app"] .panel-head h2 {
  font-size: 16px;
}

body[data-site="app"] .strategy-surface-head p,
body[data-site="app"] .panel-head p {
  margin-top: 3px;
  color: var(--command-muted);
  font-size: 11px;
}

body[data-site="app"] .strategy-chart {
  height: 470px;
  min-height: 470px;
  background: #030c12;
}

body[data-site="app"] .strategy-chart-legend {
  min-height: 44px;
  padding: 10px 14px;
  border-top: 1px solid var(--command-border);
  background: rgba(3, 11, 16, .92);
  font-size: 10px;
}

body[data-site="app"] .strategy-next,
body[data-site="app"] .strategy-runtime-position,
body[data-site="app"] .strategy-runtime-evidence {
  gap: 1px;
}

body[data-site="app"] .strategy-runtime-position > div,
body[data-site="app"] .strategy-runtime-evidence-row,
body[data-site="app"] .managed-vault-fact,
body[data-site="app"] .strategy-live-order-facts > div {
  background: rgba(4, 15, 22, .76);
}

body[data-site="app"] .managed-vault-boundary {
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--command-border);
  border-radius: var(--command-radius);
  background: var(--command-border);
}

body[data-site="app"] .managed-vault-boundary > div {
  border-left: 0;
  background: var(--command-surface);
}

body[data-site="app"] .btn {
  min-height: 40px;
  border-color: rgba(125, 181, 199, .27);
  border-radius: 6px;
  background: #07141c;
  color: #e8f3f6;
  font-size: 12px;
  font-weight: 760;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body[data-site="app"] .btn:hover:not(:disabled) {
  border-color: rgba(89, 217, 233, .48);
  background: #0a1c26;
  transform: translateY(-1px);
}

body[data-site="app"] .btn.primary {
  border-color: #54cfe1;
  background: #54cfe1;
  color: #021015;
  box-shadow: 0 10px 28px rgba(47, 177, 201, .17);
}

body[data-site="app"] .btn.primary:hover:not(:disabled) {
  background: #83e9f2;
  box-shadow: 0 13px 34px rgba(47, 177, 201, .23);
}

body[data-site="app"] input,
body[data-site="app"] select,
body[data-site="app"] textarea {
  border-color: rgba(125, 181, 199, .25);
  border-radius: 6px;
  background: #041017;
  color: var(--command-text);
}

body[data-site="app"] input:hover,
body[data-site="app"] select:hover,
body[data-site="app"] textarea:hover {
  border-color: rgba(89, 217, 233, .42);
}

body[data-site="app"] .status {
  border-radius: 5px;
}

body[data-site="app"] .status.success,
body[data-site="app"] .up,
body[data-site="app"] .good {
  color: var(--command-green);
}

body[data-site="app"] .transaction-screen,
body[data-site="app"] .positions-screen,
body[data-site="app"] #billing,
body[data-site="app"] #addons,
body[data-site="app"] #profile,
body[data-site="app"] #audit {
  animation: command-page-in .3s cubic-bezier(.2, .8, .2, 1) both;
}

body[data-site="app"] .transaction-table {
  border-color: var(--command-border);
  border-radius: var(--command-radius);
  background: #041017;
}

body[data-site="app"] .transaction-table-head {
  background: #071823;
  color: #8fa7b2;
}

body[data-site="app"] .transaction-table-row {
  min-height: 60px;
  border-color: rgba(125, 181, 199, .1);
  background: #05121a;
}

body[data-site="app"] .transaction-table-row:nth-child(odd) {
  background: #06151e;
}

body[data-site="app"] .transaction-table-row:hover {
  background: #0a1d28;
  transform: none;
}

body[data-site="app"] .strategy-position-row {
  min-height: 66px;
  border-color: rgba(125, 181, 199, .12);
}

body[data-site="app"] .strategy-position-row:hover {
  background: rgba(89, 217, 233, .035);
}

body[data-site="app"] .billing-cycle,
body[data-site="app"] .checkout-summary-card,
body[data-site="app"] .native-checkout-status,
body[data-site="app"] .plan-card,
body[data-site="app"] .addon-card,
body[data-site="app"] .support-card {
  border-color: var(--command-border);
  border-radius: var(--command-radius);
  background: var(--command-surface);
}

body[data-site="app"] .plan-card {
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body[data-site="app"] .plan-card:hover,
body[data-site="app"] .plan-card.selected {
  border-color: var(--command-border-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22), 0 0 24px rgba(89, 217, 233, .06);
  transform: translateY(-2px);
}

body[data-site="app"] .addon-card:hover {
  border-color: var(--command-border-strong);
  transform: translateY(-2px);
}

body[data-site="app"] .floating-chat {
  right: 20px;
  bottom: 20px;
}

body[data-site="app"] .floating-chat-launcher {
  min-height: 50px;
  border: 1px solid rgba(89, 217, 233, .58);
  background: #106f85;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 24px rgba(89, 217, 233, .13);
  animation: command-chat-pulse 3.4s ease-in-out infinite;
}

body[data-site="app"] .floating-chat-drawer {
  border-color: rgba(89, 217, 233, .34);
  border-radius: var(--command-radius);
  background: #041017;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .58);
}

body[data-site="app"] .chat-thread {
  background: #020b10;
}

body[data-site="app"] .message.agent,
body[data-site="app"] .message.coyoti {
  border-color: rgba(89, 217, 233, .2);
  background: #071923;
}

body[data-site="app"] .strategy-notice.show {
  border-color: rgba(88, 221, 163, .45);
  background: #08241e;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .45);
}

body[data-site="app"] .section.screen-visible,
body[data-site="app"] .strategy-view {
  animation: command-page-in .3s cubic-bezier(.2, .8, .2, 1) both;
}

body[data-site="app"] .strategy-content.strategy-content-transitioning {
  transition: height .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, transform .2s ease;
}

body[data-site="app"] .strategy-content.strategy-content-transitioning > * {
  opacity: .62;
  transform: translateY(3px);
}

body[data-site="landing"] {
  --bg: var(--command-bg);
  --panel: var(--command-surface);
  --line: var(--command-border);
  --text: var(--command-text);
  --muted: var(--command-muted);
  --cyan: var(--command-cyan);
  --green: var(--command-green);
  background: var(--command-bg);
  overflow-x: clip;
}

body[data-site="landing"] .nav {
  border-bottom-color: var(--command-border);
  background: rgba(2, 8, 12, .9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .2);
  backdrop-filter: blur(20px);
}

body[data-site="landing"] .hero {
  min-height: 680px;
}

body[data-site="landing"] .hero h1 {
  font-size: 76px;
  letter-spacing: 0;
}

body[data-site="landing"] .hero-tagline {
  max-width: 620px;
  font-size: 36px;
  line-height: 1.08;
}

body[data-site="landing"] .start-panel,
body[data-site="landing"] .product-card,
body[data-site="landing"] .public-evidence,
body[data-site="landing"] .chat-band,
body[data-site="landing"] .plan-card {
  border-color: var(--command-border);
  border-radius: var(--command-radius);
  background: rgba(5, 17, 24, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

body[data-site="landing"] .start-panel {
  border-color: rgba(89, 217, 233, .36);
  box-shadow: var(--command-shadow);
}

body[data-site="landing"] .product-card:hover,
body[data-site="landing"] .plan-card:hover {
  border-color: var(--command-border-strong);
  background: #081b25;
  transform: translateY(-3px);
}

body[data-site="landing"] .btn.primary {
  border-color: #54cfe1;
  background: #54cfe1;
  color: #021015;
  box-shadow: 0 12px 30px rgba(47, 177, 201, .18);
}

@keyframes command-page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

@keyframes command-status {
  50% { opacity: .45; box-shadow: 0 0 0 6px rgba(88, 221, 163, .06); }
}

@keyframes command-telemetry {
  50% { transform: scaleY(.72); opacity: .58; }
}

@keyframes command-chat-pulse {
  50% { box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 30px rgba(89, 217, 233, .22); }
}

@media (max-width: 1180px) {
  body[data-site="app"] .app {
    grid-template-columns: 1fr;
  }

  body[data-site="app"] .strategy-overview-grid {
    grid-template-columns: 1fr;
  }

  body[data-site="app"] .strategy-command h2 {
    font-size: 40px;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  body[data-site="app"] .rail {
    grid-template-columns: 154px minmax(0, 1fr) auto;
    height: 64px;
    padding: 7px 12px;
  }

  body[data-site="app"] .rail:after {
    display: none;
  }

  body[data-site="app"] .brand {
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }

  body[data-site="app"] .topbar {
    top: 64px;
  }
}

@media (max-width: 820px) {
  body[data-site="app"] .app {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  body[data-site="app"] .rail {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 56px;
    padding: 6px 12px;
    background: rgba(2, 9, 13, .98);
  }

  body[data-site="app"] .rail:after {
    display: none;
  }

  body[data-site="app"] .brand {
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }

  body[data-site="app"] .brand img {
    width: 31px;
    height: 31px;
  }

  body[data-site="app"] .brand strong {
    font-size: 18px;
  }

  body[data-site="app"] .brand > span > span {
    margin-top: 3px;
    font-size: 9px;
  }

  body[data-site="app"] .beta-badge {
    display: none;
  }

  body[data-site="app"] .topbar {
    top: 56px;
    min-height: 50px;
    padding: 5px 12px;
  }

  body[data-site="app"] .content {
    padding: 12px 12px calc(88px + env(safe-area-inset-bottom));
  }

  body[data-site="app"] .strategy-command {
    min-height: 150px;
    padding: 20px;
    background-position: 54% 32%;
  }

  body[data-site="app"] .strategy-command h2 {
    font-size: 31px;
  }

  body[data-site="app"] .strategy-command p {
    display: block;
    font-size: 12px;
  }

  body[data-site="app"] .strategy-command .strategy-kicker {
    display: flex;
  }

  body[data-site="app"] .command-telemetry {
    left: 32%;
    height: 68%;
    gap: 3px;
    padding-right: 8px;
  }

  body[data-site="app"] .command-telemetry i {
    width: 4px;
  }

  body[data-site="app"] .strategy-key-metric {
    min-height: 82px;
    padding: 12px;
  }

  body[data-site="app"] .strategy-chart {
    height: 360px;
    min-height: 360px;
  }

  body[data-site="app"] .floating-chat {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body[data-site="app"] .floating-chat.open {
    right: 10px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    left: 10px;
  }
}

@media (max-width: 640px) {
  body[data-site="app"] .rail {
    height: 52px;
    padding: 5px 10px;
  }

  body[data-site="app"] .nav a {
    letter-spacing: 0;
  }

  body[data-site="app"] .nav a span:last-child {
    overflow: visible;
    font-size: 8.5px;
    text-overflow: clip;
    white-space: normal;
  }

  body[data-site="app"] .topbar {
    top: 52px;
  }

  body[data-site="app"] .strategy-command {
    min-height: 132px;
    align-items: flex-end;
    padding: 16px;
  }

  body[data-site="app"] .strategy-command h2 {
    margin: 7px 0 5px;
    font-size: 27px;
  }

  body[data-site="app"] .strategy-command p {
    max-width: 230px;
    font-size: 11px;
  }

  body[data-site="app"] .strategy-command-actions .btn {
    width: auto;
    min-height: 38px;
  }

  body[data-site="app"] .strategy-key-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-site="app"] .strategy-key-metric b {
    font-size: 19px;
  }

  body[data-site="app"] .strategy-market-bar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
  }

  body[data-site="app"] .strategy-market-controls {
    grid-column: 1 / -1;
    scrollbar-width: none;
  }

  body[data-site="app"] .strategy-tabs button {
    min-height: 40px;
    font-size: 11px;
  }

  body[data-site="app"] .strategy-chart {
    height: 330px;
    min-height: 330px;
  }

  body[data-site="app"] .strategy-chart-legend {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body[data-site="app"] .transaction-table-row {
    min-height: 0;
  }

  body[data-site="landing"] .hero {
    min-height: auto;
  }

  body[data-site="landing"] .hero h1 {
    font-size: 58px;
  }

  body[data-site="landing"] .hero-tagline {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-design-system="command-beta"] *,
  body[data-design-system="command-beta"] *:before,
  body[data-design-system="command-beta"] *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
