:root {
  color-scheme: dark;
  --v2-bg: var(--pineva-bg);
  --v2-surface: var(--pineva-surface);
  --v2-surface-2: var(--pineva-elevated);
  --v2-surface-3: var(--pineva-subtle);
  --v2-line: var(--pineva-border);
  --v2-line-strong: var(--pineva-border-strong);
  --v2-text: var(--pineva-text);
  --v2-muted: var(--pineva-secondary);
  --v2-disabled: var(--pineva-muted);
  --v2-blue: var(--pineva-link);
  --v2-amber: var(--pineva-near);
  --v2-green: var(--pineva-ready);
  --v2-red: var(--pineva-invalid);
  --v2-gray: var(--pineva-muted);
  --v2-candle-up: #18b784;
  --v2-candle-down: #e45f73;
  --v2-chart-grid: #1b2a3d;
  --v2-chart-live: #f2c14e;
  --v2-chart-entry: #4f8ef7;
  --v2-chart-trigger: #e5ae3d;
  --v2-chart-stop: #e65b70;
  --v2-chart-target: #24b68a;
  --v2-state: var(--v2-blue);
  --v2-font: Inter, "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --v2-number: "SFMono-Regular", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--v2-bg);
}

body.futures-v2-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  padding: 12px 12px 84px;
  color: var(--v2-text);
  background: var(--v2-bg);
  font-family: var(--v2-font);
  font-size: 14px;
  line-height: 1.45;
}

button,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid #7ea6ff;
  outline-offset: 2px;
}

button {
  min-height: 44px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--v2-text);
  background: var(--v2-surface-3);
  border: 1px solid var(--v2-line-strong);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.v2-product-bar,
.v2-market-bar,
.v2-watchlist,
.v2-decision,
.v2-chart-card,
.v2-lifecycle,
.v2-summary-card {
  min-width: 0;
  background: var(--v2-surface);
  border: 1px solid var(--v2-line);
  border-radius: 8px;
}

.v2-product-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
}

.v2-brand,
.v2-user,
.v2-market-identity,
.v2-market-price,
.v2-section-heading,
.v2-chart-heading {
  display: flex;
  align-items: center;
}

.v2-brand {
  min-width: 180px;
  gap: 9px;
  color: var(--v2-text);
  text-decoration: none;
}

.v2-brand-mark,
.v2-user-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 800;
}

.v2-brand-mark {
  width: 32px;
  height: 32px;
  color: #07101a;
  background: #5b8def;
  border-radius: 7px;
}

.v2-brand strong,
.v2-brand small,
.v2-user-copy strong,
.v2-user-copy small {
  display: block;
}

.v2-brand strong {
  font-size: 13px;
}

.v2-brand small,
.v2-user-copy small {
  color: var(--v2-muted);
  font-size: 9px;
  letter-spacing: .08em;
}

.v2-product-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: #09111d;
  border: 1px solid var(--v2-line);
  border-radius: 7px;
}

.v2-product-nav a,
.v2-product-nav span {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--v2-muted);
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
}

.v2-product-nav span {
  color: var(--v2-text);
  background: #16243a;
}

.v2-user {
  min-width: 180px;
  padding: 3px 5px;
  justify-content: flex-end;
  gap: 8px;
  color: var(--v2-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}

.v2-user:hover,
.v2-user[aria-expanded="true"] {
  background: var(--v2-surface-2);
  border-color: var(--v2-line);
}

.v2-user-avatar {
  width: 30px;
  height: 30px;
  color: #dce7fa;
  background: var(--v2-surface-3);
  border-radius: 7px;
}

.v2-user-copy {
  min-width: 0;
  max-width: 170px;
  text-align: left;
}

.v2-user-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.v2-account-shell {
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.v2-user-controls {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.v2-gmt-clock {
  min-width: 92px;
  color: var(--v2-muted);
  font-family: var(--v2-number);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.v2-health-shell {
  position: relative;
}

.v2-health-trigger {
  min-height: 38px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9d7eb;
  background: transparent;
  border: 1px solid var(--v2-line);
  border-radius: 7px;
  font-size: 10px;
  cursor: pointer;
}

.v2-health-trigger:hover,
.v2-health-trigger[aria-expanded="true"] {
  color: var(--v2-text);
  background: var(--v2-surface-2);
  border-color: var(--v2-line-strong);
}

.v2-health-dot,
.v2-health-row-dot {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.v2-health-dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 3px rgba(229, 174, 61, .1);
}

.v2-health-dot.is-green,
.v2-health-row.is-green .v2-health-row-dot { background: var(--v2-green); }
.v2-health-dot.is-amber,
.v2-health-row.is-amber .v2-health-row-dot { background: var(--v2-amber); }
.v2-health-dot.is-red,
.v2-health-row.is-red .v2-health-row-dot { background: var(--v2-red); }
.v2-health-dot.is-green { box-shadow: 0 0 0 3px rgba(36, 182, 138, .1); }
.v2-health-dot.is-red { box-shadow: 0 0 0 3px rgba(200, 111, 125, .11); }

.v2-health-popover {
  width: min(380px, calc(100vw - 24px));
  padding: 12px;
  position: absolute;
  z-index: 125;
  top: calc(100% + 8px);
  right: 0;
  color: var(--v2-text);
  background: #0d1827;
  border: 1px solid var(--v2-line-strong);
  border-radius: 10px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .52);
}

.v2-health-popover[hidden] { display: none; }

.v2-health-popover > header {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-health-popover > header > span:first-child { display: grid; gap: 2px; }
.v2-health-popover > header small { color: var(--v2-muted); font-size: 8px; letter-spacing: .08em; }
.v2-health-popover > header strong { font-size: 13px; }

.v2-health-state {
  padding: 4px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
}
.v2-health-state.is-green { color: #78d6ba; background: rgba(36,182,138,.08); }
.v2-health-state.is-amber { color: #ebc779; background: rgba(229,174,61,.08); }
.v2-health-state.is-red { color: #efa0ad; background: rgba(200,111,125,.08); }

.v2-health-rows { padding-top: 7px; display: grid; gap: 3px; }
.v2-health-row {
  min-width: 0;
  padding: 8px 7px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
}
.v2-health-row:hover { background: rgba(22,119,255,.055); }
.v2-health-row-dot { width: 6px; height: 6px; }
.v2-health-row > span { min-width: 0; display: grid; gap: 1px; }
.v2-health-row > span:last-child { justify-items: end; text-align: right; }
.v2-health-row strong, .v2-health-row b { font-size: 9px; }
.v2-health-row small { color: var(--v2-muted); font-size: 8px; overflow-wrap: anywhere; }
.v2-health-footnote { margin: 8px 0 0; padding-top: 8px; color: var(--v2-muted); border-top: 1px solid var(--v2-line); font-size: 9px; line-height: 1.45; }

.v2-alert-trigger {
  min-height: 38px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c9d7eb;
  background: transparent;
  border: 1px solid var(--v2-line);
  border-radius: 7px;
  font-size: 10px;
}

.v2-alert-trigger[aria-expanded="true"] {
  color: var(--v2-text);
  background: var(--v2-surface-2);
  border-color: var(--v2-line-strong);
}

.v2-alert-trigger strong {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  color: #07101a;
  background: var(--v2-blue);
  border-radius: 999px;
  font-family: var(--v2-number);
  font-size: 9px;
}

.v2-alert-trigger strong[hidden] {
  display: none;
}

.v2-account-chevron {
  flex: 0 0 auto;
  color: var(--v2-muted);
  font-size: 12px;
}

.v2-account-menu {
  width: min(286px, calc(100vw - 24px));
  padding: 7px;
  position: absolute;
  z-index: 120;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  gap: 2px;
  color: var(--v2-text);
  background: #101b2b;
  border: 1px solid var(--v2-line-strong);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .46);
}

.v2-account-menu[hidden] {
  display: none;
}

.v2-account-menu-identity {
  min-width: 0;
  padding: 9px 10px 10px;
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-account-menu-identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.v2-account-menu-identity small,
.v2-account-menu #v2-account-status {
  color: var(--v2-muted);
  font-size: 9px;
}

.v2-account-menu a,
.v2-account-menu button {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: var(--v2-text);
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.v2-account-menu a:hover,
.v2-account-menu button:hover {
  background: rgba(22, 119, 255, .09);
}

.v2-account-menu button.is-danger {
  color: #eaa1ad;
}

.v2-account-menu #v2-account-status {
  margin: 3px 8px 6px;
}

.v2-account-menu #v2-account-status[hidden] {
  display: none;
}

.v2-market-bar {
  min-height: 54px;
  margin-top: 10px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v2-market-identity,
.v2-market-price {
  gap: 10px;
}

.v2-market-identity > strong {
  font-size: 17px;
}

.v2-timeframe-label select {
  min-height: 34px;
  padding: 0 26px 0 10px;
  color: var(--v2-text);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line-strong);
  border-radius: 999px;
}

.v2-data-status {
  padding: 5px 8px;
  color: #a9d7c8;
  background: rgba(36, 182, 138, .08);
  border: 1px solid rgba(36, 182, 138, .22);
  border-radius: 999px;
  font-size: 10px;
}

.v2-plan-upgrade {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #e8f1ff;
  background: #173760;
  border: 1px solid #4f78b9;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.v2-plan-upgrade:hover,
.v2-plan-upgrade:focus-visible {
  background: #214b80;
  border-color: #74a5ed;
}

.v2-plan-upgrade[hidden] { display: none; }

.v2-data-status.is-loading,
.v2-data-status.is-loading-decision,
.v2-data-status.is-using-saved-decision {
  color: #adc7f7;
  background: rgba(22, 119, 255, .08);
  border-color: rgba(22, 119, 255, .22);
}

.v2-data-status.is-error,
.v2-data-status.is-refresh-failed,
.v2-data-status.is-retry-required,
.v2-data-status.is-data-unavailable {
  color: #e9b0b9;
  background: rgba(200, 111, 125, .08);
  border-color: rgba(200, 111, 125, .24);
}

.v2-data-status.is-session-expired {
  color: #f0c7cf;
  background: rgba(230, 91, 112, .09);
  border-color: rgba(230, 91, 112, .38);
}

.v2-session-expired {
  margin: 0 14px 12px;
  padding: 10px 13px;
  border: 1px solid rgba(230, 91, 112, .38);
  border-radius: 10px;
  background: rgba(65, 24, 34, .72);
  color: #d8dee8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.v2-session-expired[hidden] { display: none; }

.v2-session-expired a {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e45f73;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.v2-data-status.is-stale,
.v2-data-status.is-snapshot,
.v2-data-status.is-fallback {
  color: #e2bd73;
  background: rgba(224, 169, 65, .08);
  border-color: rgba(224, 169, 65, .22);
}

.v2-data-status.is-unavailable {
  color: #d8a8b0;
  background: rgba(200, 111, 125, .07);
  border-color: rgba(200, 111, 125, .2);
}

.v2-market-price {
  justify-content: flex-end;
  text-align: right;
}

.v2-market-price strong {
  direction: ltr;
  font-family: var(--v2-number);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.v2-market-price small {
  color: var(--v2-muted);
  font-size: 9px;
}

.v2-shell {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.v2-watchlist {
  min-height: 572px;
  padding: 11px 9px;
}

.v2-section-heading,
.v2-chart-heading {
  justify-content: space-between;
  gap: 12px;
}

.v2-section-heading > div,
.v2-chart-heading > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.v2-section-heading strong,
.v2-chart-heading strong {
  font-size: 13px;
}

.v2-section-heading small,
.v2-chart-heading small {
  color: var(--v2-muted);
  font-size: 10px;
}

.v2-muted-badge {
  min-width: 28px;
  padding: 5px 8px;
  color: var(--v2-muted);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  text-align: center;
  font-size: 10px;
}

.v2-watchlist-heading-actions { display: flex; align-items: center; gap: 6px; }
.v2-watchlist-add { width: 44px; height: 44px; padding: 0; color: var(--v2-text); background: var(--v2-surface-2); border: 1px solid var(--v2-line-strong); border-radius: 7px; font-size: 20px; }

.v2-watchlist-rows {
  margin-top: 11px;
  display: grid;
}

.v2-watch-row {
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 9px 9px 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "pair"
    "price"
    "change";
  gap: 4px;
  align-items: center;
  color: var(--v2-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(34, 50, 74, .7);
  text-align: left;
}

.v2-watch-row:hover {
  background: rgba(22, 119, 255, .05);
}

.v2-watch-row.is-active {
  color: var(--v2-text);
  background: rgba(22, 119, 255, .1);
  box-shadow: inset 3px 0 0 var(--v2-blue);
}

.v2-watch-pair {
  grid-area: pair;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.2;
}

.v2-watch-pair::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--v2-disabled);
  vertical-align: 1px;
}

.v2-watch-row.is-active .v2-watch-pair::before {
  background: var(--v2-blue);
}

.v2-watch-row[data-freshness="fresh"] .v2-watch-pair::before {
  background: var(--v2-blue);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, .14);
}

.v2-watch-row[data-freshness="delayed"] .v2-watch-pair::before {
  background: var(--v2-amber);
}

.v2-watch-decision {
  margin-left: 7px;
  padding: 2px 5px;
  color: #a9c4ff;
  background: rgba(22, 119, 255, .10);
  border: 1px solid rgba(22, 119, 255, .28);
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.v2-watch-decision.is-near {
  color: #f2c875;
  background: rgba(224, 169, 65, .10);
  border-color: rgba(224, 169, 65, .30);
}

.v2-watch-decision.is-ready,
.v2-watch-decision.is-active {
  color: #86d9bd;
  background: rgba(38, 174, 132, .10);
  border-color: rgba(38, 174, 132, .30);
}

.v2-watch-decision.is-exit {
  color: #ef9dab;
  background: rgba(215, 82, 104, .10);
  border-color: rgba(215, 82, 104, .30);
}

.v2-watch-decision.is-no-trade {
  color: #a9b3c1;
  background: rgba(137, 149, 166, .10);
  border-color: rgba(137, 149, 166, .25);
}

.v2-watch-price,
.v2-watch-change {
  font-family: var(--v2-number);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
}

.v2-watch-price {
  grid-area: price;
  color: var(--v2-text);
  font-weight: 600;
}

.v2-watch-change {
  grid-area: change;
  justify-self: start;
  text-align: left;
  font-weight: 650;
}

.v2-watch-change.is-positive {
  color: #66d5b1;
}

.v2-watch-change.is-negative {
  color: #f08b9a;
}

.v2-empty {
  margin: 0;
  padding: 18px 8px;
  color: var(--v2-muted);
  font-size: 11px;
}

.v2-content {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.v2-primary-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  grid-template-areas: "chart decision";
  gap: 10px;
  align-items: start;
}

.v2-decision {
  grid-area: decision;
  min-height: 326px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--v2-state);
}

.v2-decision.state-wait,
.v2-decision.state-watch {
  --v2-state: var(--v2-blue);
}

.v2-decision.state-near {
  --v2-state: var(--v2-amber);
}

.v2-decision.state-ready,
.v2-decision.state-active {
  --v2-state: var(--v2-green);
}

.v2-decision.state-invalidated {
  --v2-state: var(--v2-red);
}

.v2-decision.state-expired,
.v2-decision.state-no-trade {
  --v2-state: var(--v2-gray);
}

.v2-decision-state {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.v2-wait-progress {
  flex: 1 0 100%;
  min-height: 28px;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  color: #c7d8f7;
  background: rgba(22, 119, 255, .075);
  border: 1px solid rgba(22, 119, 255, .2);
  border-radius: 6px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .035em;
}
.v2-wait-progress[hidden] { display: none; }
.v2-wait-progress-dot { width: 6px; height: 6px; background: var(--v2-state); border-radius: 50%; animation: v2-wait-pulse 1.8s ease-in-out infinite; }
.v2-wait-progress strong { font-family: var(--v2-number); font-size: 10px; font-variant-numeric: tabular-nums; }
.v2-wait-progress.is-checking { color: #e8c97e; border-color: rgba(229,174,61,.28); background: rgba(229,174,61,.07); }

@keyframes v2-wait-pulse {
  0%, 100% { opacity: .45; box-shadow: 0 0 0 0 color-mix(in srgb, var(--v2-state) 24%, transparent); }
  50% { opacity: 1; box-shadow: 0 0 0 4px transparent; }
}

.v2-state-badge {
  min-height: 22px;
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  color: var(--v2-state);
  background: color-mix(in srgb, var(--v2-state) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--v2-state) 34%, transparent);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.v2-decision h1 {
  margin: 0;
  font-size: 37px;
  line-height: .95;
  letter-spacing: -.035em;
}

.v2-decision-copy {
  display: grid;
  gap: 5px;
}

.v2-decision-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.v2-decision-copy p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v2-decision-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.v2-decision-badge {
  width: max-content;
  max-width: 100%;
  padding: 2px 6px;
  color: #a9bdd8;
  background: rgba(22, 119, 255, .07);
  border: 1px solid rgba(22, 119, 255, .18);
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.v2-decision-badge.is-blocked,
.v2-decision-badge.is-stale,
.v2-decision-badge.is-missing-futures,
.v2-decision-badge.is-missing-volume,
.v2-decision-badge.is-provider-unavailable {
  color: #e2bd73;
  background: rgba(224, 169, 65, .08);
  border-color: rgba(224, 169, 65, .22);
}

.v2-decision-badge.is-snapshot,
.v2-decision-badge.is-fallback,
.v2-decision-badge.is-unavailable {
  color: #e2bd73;
  background: rgba(224, 169, 65, .08);
  border-color: rgba(224, 169, 65, .22);
}

.v2-blocker-badges {
  display: grid;
  gap: 4px;
}
.v2-blocker-badges[hidden] { display: none; }
.v2-blocker-badge {
  min-width: 0;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: #f1d79c;
  background: rgba(229, 174, 61, .07);
  border: 1px solid rgba(229, 174, 61, .23);
  border-radius: 6px;
  font-size: 8.5px;
  line-height: 1.25;
}
.v2-blocker-badge strong { padding-right: 7px; border-right: 1px solid rgba(229,174,61,.23); font-size: 8px; text-transform: uppercase; }
.v2-blocker-badge span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-blocker-badge.is-critical { color: #f3c4cb; background: rgba(200,111,125,.075); border-color: rgba(200,111,125,.25); }
.v2-blocker-badge.is-critical strong { border-color: rgba(200,111,125,.25); }

.v2-chart-level-line,
.v2-chart-price-tag path,
.v2-chart-price-tag rect,
.v2-chart-price-tag circle {
  vector-effect: non-scaling-stroke;
}

.v2-countdown-row {
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-countdown-row[hidden],
.v2-market-scan-row[hidden] {
  display: none;
}

.v2-market-scan-row {
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-market-scan-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-market-scan-row > div:first-child strong {
  font-size: 11px;
}

.v2-market-scan-row > div:first-child span {
  color: var(--v2-muted);
  font-size: 9px;
  line-height: 1.35;
}

.v2-checkpoint-alert {
  min-height: 30px;
  margin-top: 6px;
  padding: 0 9px;
  display: block;
  color: #bfd2f5;
  background: rgba(22, 119, 255, .08);
  border: 1px solid rgba(22, 119, 255, .25);
  border-radius: 6px;
  font-size: 9px;
}

.v2-checkpoint-alert[aria-pressed="true"] {
  color: #c8e9df;
  border-color: rgba(36, 182, 138, .36);
  background: rgba(36, 182, 138, .08);
}

.v2-checkpoint-alert:disabled {
  color: var(--v2-disabled);
  border-color: var(--v2-line);
  background: transparent;
}

.v2-countdown-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-countdown-row small,
.v2-level small {
  color: var(--v2-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.v2-countdown-row > div:first-child strong {
  font-size: 11px;
}

.v2-next-review-label {
  width: max-content;
  padding: 3px 6px;
  color: #b9cef3 !important;
  background: rgba(22, 119, 255, .1);
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 999px;
}

.v2-countdown {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  color: var(--v2-text);
  background:
    radial-gradient(circle, var(--v2-surface) 57%, transparent 59%),
    conic-gradient(var(--v2-state) 0 62%, #203149 62% 100%);
  border-radius: 50%;
}

.v2-countdown strong {
  max-width: 56px;
  font-family: var(--v2-number);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: center;
}

.v2-countdown small {
  color: var(--v2-muted);
  font-size: 7px;
  letter-spacing: 0;
}

.v2-countdown.is-checking strong {
  font-family: var(--v2-font);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .01em;
}

.v2-countdown.is-checking small {
  color: #adc7f7;
  font-size: 8px;
}

.v2-primary-levels {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
}

.v2-level {
  min-width: 0;
  min-height: 55px;
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-right: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-level strong {
  direction: ltr;
  font-family: var(--v2-number);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  overflow-wrap: anywhere;
  unicode-bidi: isolate;
}

.v2-entry {
  grid-column: auto;
}

.v2-entry strong,
.v2-target strong {
  color: #7dc8b1;
}

.v2-stop strong {
  color: #f08b9a;
}

.v2-chart-card {
  grid-area: chart;
  min-height: 572px;
  padding: 10px;
  position: relative;
}

.v2-chart-heading {
  min-height: 38px;
  margin: 0 2px 5px;
  position: relative;
}

.v2-layers-menu {
  width: 214px;
  padding: 7px;
  position: absolute;
  z-index: 25;
  top: 43px;
  right: 0;
  display: grid;
  gap: 2px;
  color: var(--v2-text);
  background: #101b2b;
  border: 1px solid var(--v2-line-strong);
  border-radius: 7px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
}

.v2-layers-menu[hidden] {
  display: none;
}

.v2-layers-menu label {
  min-height: 40px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 5px;
  font-size: 11px;
}

.v2-layers-menu label:hover {
  background: rgba(22, 119, 255, .08);
}

.v2-layers-menu label.is-unavailable {
  color: var(--v2-muted);
  opacity: .72;
}

.v2-layer-reason {
  margin-left: auto;
  color: var(--v2-muted);
  font-size: 9px;
}

.v2-layers-menu input {
  width: 17px;
  height: 17px;
  accent-color: var(--v2-blue);
}

.v2-trade-structure rect,
.v2-trade-structure line {
  vector-effect: non-scaling-stroke;
}

.v2-preview-banner {
  min-height: 44px;
  margin: 0 0 6px;
  padding: 6px 8px 6px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dce8ff;
  background: rgba(22, 119, 255, .07);
  border: 1px solid rgba(22, 119, 255, .28);
  border-radius: 6px;
}

.v2-preview-banner[hidden] {
  display: none;
}

.v2-preview-banner > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.v2-preview-banner em {
  width: max-content;
  padding: 1px 5px;
  color: #bfd2f5;
  background: rgba(22, 119, 255, .12);
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .07em;
}

.v2-preview-banner strong,
.v2-preview-banner small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-preview-banner strong {
  font-size: 10px;
}

.v2-preview-banner small {
  color: var(--v2-muted);
  font-size: 9px;
}

.v2-preview-banner button,
.v2-preview-button,
.v2-drawer-close {
  min-height: 44px;
  color: var(--v2-text);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line-strong);
  border-radius: 6px;
}

.v2-preview-banner button {
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 10px;
}

.v2-chart:has(+ .v2-chart-loading) {
  position: relative;
}

.v2-scenario-updated {
  padding: 4px 7px;
  position: absolute;
  top: 60px;
  left: 20px;
  color: #c4d5f4;
  background: rgba(11, 20, 32, .9);
  border: 1px solid rgba(22, 119, 255, .26);
  border-radius: 999px;
  font-size: 9px;
  animation: v2-update-indicator 1.8s both;
}

@keyframes v2-update-indicator {
  0% { opacity: 0; transform: translateY(-3px); }
  15%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

.v2-projection-path {
  transition: d 300ms ease, opacity 300ms ease;
}

.v2-live-candle rect,
.v2-live-candle line {
  transition: y .28s ease, height .28s ease;
}

.v2-secondary-button {
  padding: 0 12px;
  color: var(--v2-muted);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line-strong);
  border-radius: 6px;
}

.v2-secondary-button[aria-disabled="true"] {
  cursor: default;
}

.v2-chart {
  width: 100%;
  height: 510px;
  min-height: 320px;
  overflow: hidden;
  background: #08111d;
  border: 1px solid #18273a;
  border-radius: 5px;
}

.v2-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
}

.v2-chart-crosshair > line {
  stroke: rgba(214, 223, 235, 0.72);
  stroke-width: 1px;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}

.v2-crosshair-price-tag rect,
.v2-crosshair-time-tag rect {
  fill: rgba(21, 34, 51, 0.98);
  stroke: rgba(166, 183, 204, 0.8);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.v2-crosshair-price-tag text,
.v2-crosshair-time-tag text {
  fill: #eef3f9;
  font: 9px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.v2-chart-ohlc rect {
  fill: rgba(8, 17, 29, 0.88);
  stroke: rgba(47, 68, 94, 0.78);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.v2-chart-ohlc text {
  font: 9px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1px;
}

.v2-chart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--v2-muted);
  text-align: center;
}

.v2-chart-loading {
  position: absolute;
  inset: 53px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--v2-muted);
  background: rgba(8, 17, 29, .78);
  border-radius: 5px;
  backdrop-filter: blur(3px);
}

.v2-chart-loading[hidden] {
  display: none;
}

.v2-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--v2-line-strong);
  border-top-color: var(--v2-blue);
  border-radius: 50%;
}

.v2-lifecycle {
  min-height: 142px;
  padding: 10px 12px;
}

.v2-lifecycle-scroll {
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.v2-lifecycle-scroll::-webkit-scrollbar {
  display: none;
}

.v2-lifecycle-steps {
  width: 100%;
  min-width: 650px;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(80px, 1fr));
  list-style: none;
}

.v2-lifecycle-steps::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--v2-line-strong);
}

.v2-lifecycle-steps li {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--v2-disabled);
  text-align: center;
}

.v2-lifecycle-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--v2-muted);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line-strong);
  border-radius: 50%;
  font-family: var(--v2-number);
  font-size: 10px;
}

.v2-lifecycle-steps li > small {
  max-width: 12ch;
  font-size: 9px;
  line-height: 1.2;
}

.v2-lifecycle-steps li.is-complete {
  color: var(--v2-muted);
}

.v2-lifecycle-steps li.is-complete > span {
  color: #07110e;
  background: #78aa9b;
  border-color: #78aa9b;
}

.v2-lifecycle-steps li.is-current {
  color: var(--v2-text);
}

.v2-lifecycle-steps li.is-current > span {
  color: #07101a;
  background: var(--v2-state);
  border-color: var(--v2-state);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--v2-state) 13%, transparent);
}

.v2-lifecycle-steps li.is-failed > span {
  color: #fff;
  background: var(--v2-red);
  border-color: var(--v2-red);
}

.v2-lifecycle-steps li.is-not-required {
  color: var(--v2-muted);
  opacity: .62;
}

.v2-lifecycle-steps li.is-not-required > span {
  background: var(--v2-panel-soft);
  border-color: var(--v2-line);
}

.v2-lifecycle-detail {
  min-height: 76px;
  margin: 10px auto 0;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(180px, 1.35fr) auto;
  align-items: center;
  gap: 7px 12px;
  color: var(--v2-muted);
  font-size: 10px;
  text-align: left;
  background: color-mix(in srgb, var(--v2-state) 5%, var(--v2-panel));
  border: 1px solid color-mix(in srgb, var(--v2-state) 28%, var(--v2-line));
  border-left: 3px solid var(--v2-state);
  border-radius: 7px;
}

.v2-lifecycle-detail strong {
  color: var(--v2-text);
  font-size: 12px;
}

.v2-user-action-kicker {
  color: var(--v2-state);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}

.v2-user-action-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.v2-user-action-meta b {
  padding: 4px 6px;
  color: #b9c8dc;
  background: rgba(111, 132, 160, .1);
  border: 1px solid var(--v2-line-strong);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: .04em;
}

.v2-user-action-meta b[data-entry-permission="granted"] {
  color: #88dfbf;
  border-color: rgba(36, 182, 138, .46);
}

.v2-lifecycle-clock-note {
  margin: 7px 0 0;
  color: var(--v2-muted);
  font-size: 9px;
  text-align: center;
}

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

.v2-summary-card {
  min-height: 70px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.v2-summary-card > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-engine-core {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}

.v2-engine-core > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.v2-engine-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #b9cef3 !important;
  background: rgba(22, 119, 255, .1);
  border: 1px solid rgba(22, 119, 255, .24);
  border-radius: 50%;
  font-family: var(--v2-number);
  font-size: 8px !important;
  font-weight: 800;
}

.v2-scenario-chip {
  max-width: min(24vw, 220px);
  padding: 5px 8px;
  overflow: hidden;
  color: var(--v2-text) !important;
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-button-count {
  color: inherit !important;
  font-size: inherit !important;
}

.v2-summary-card small {
  color: var(--v2-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.v2-summary-card strong {
  font-size: 13px;
}

.v2-summary-card span {
  color: var(--v2-muted);
  font-size: 10px;
}

.v2-summary-card .v2-actionability-label {
  color: #c6d7f7;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-placeholder-card {
  border-style: dashed;
}

.v2-copilot-fab {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  min-height: 48px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--v2-text);
  background: #18345c;
  border: 1px solid #4f78b9;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
  font-weight: 700;
  cursor: default;
}

.v2-page-error {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 78px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 13px;
  color: #f2c2ca;
  background: #27131a;
  border: 1px solid rgba(200, 111, 125, .5);
  border-radius: 7px;
}

.v2-overlay-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(3, 8, 14, .18);
}

body.has-v2-drawer {
  overflow: hidden;
}

.v2-overlay-backdrop[hidden],
.v2-drawer[hidden] {
  display: none;
}

.v2-drawer {
  width: min(440px, calc(100vw - 24px));
  height: 100dvh;
  padding: 16px;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  overflow: auto;
  color: var(--v2-text);
  background: #0b1420;
  border-left: 1px solid var(--v2-line-strong);
  box-shadow: -24px 0 60px rgba(0, 0, 0, .48);
  transform: translateX(0);
}

.v2-drawer[data-overlay-mode="inspector"] {
  width: min(410px, calc(100vw - 24px));
  height: calc(100dvh - 92px);
  top: 80px;
  right: 12px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 9px;
  box-shadow: -14px 18px 46px rgba(0, 0, 0, .34);
}

.v2-drawer-header {
  min-height: 54px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-drawer-header small,
.v2-drawer-header h2 {
  display: block;
}

.v2-drawer-header small {
  color: var(--v2-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.v2-drawer-header h2 {
  margin: 2px 0 0;
  font-size: 18px;
}

.v2-drawer-close {
  width: 44px;
  padding: 0;
  font-size: 22px;
}

.v2-drawer-intro {
  margin: 12px 0;
  color: var(--v2-muted);
  font-size: 11px;
}

.v2-drawer-notice {
  margin: 0 0 10px;
  padding: 9px 10px;
  color: #bfd2f5;
  background: rgba(22, 119, 255, .07);
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 6px;
  font-size: 10px;
}

.v2-drawer-notice[hidden] {
  display: none;
}

.v2-drawer-return-active {
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  color: #c7d8f7;
  background: rgba(22, 119, 255, .09);
  border: 1px solid rgba(22, 119, 255, .28);
  border-radius: 6px;
}

.v2-drawer-return-active[hidden] {
  display: none;
}

.v2-copilot-drawer { display: grid; grid-template-rows: auto auto minmax(120px, 1fr) auto auto auto; overflow: hidden; }
.v2-copilot-drawer[hidden] { display: none; }
.v2-copilot-context { margin-top: 10px; padding: 10px; display: grid; gap: 3px; background: var(--v2-surface-2); border: 1px solid var(--v2-line); border-radius: 7px; }
.v2-copilot-context span { color: var(--v2-muted); font-size: 11px; }
.v2-copilot-messages { min-height: 0; padding: 12px 2px; overflow-y: auto; display: grid; align-content: start; gap: 9px; }
.v2-copilot-message { max-width: 92%; padding: 9px 10px; border: 1px solid var(--v2-line); border-radius: 9px; background: var(--v2-surface-2); }
.v2-copilot-message.is-user { margin-inline-start: auto; background: rgba(22,119,255,.12); border-color: rgba(22,119,255,.3); }
.v2-copilot-message small { color: var(--v2-muted); font-size: 9px; }
.v2-copilot-message p { margin: 4px 0 0; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.v2-copilot-suggestions, .v2-watchlist-supported { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-copilot-suggestions button, .v2-watchlist-supported button { min-height: 44px; padding: 7px 10px; color: #bfd2f5; background: rgba(22,119,255,.08); border: 1px solid rgba(22,119,255,.28); border-radius: 999px; }
.v2-copilot-status { min-height: 18px; margin: 7px 0; color: var(--v2-muted); font-size: 10px; }
.v2-copilot-form textarea, .v2-watchlist-search input { width: 100%; min-height: 44px; padding: 10px; resize: vertical; color: var(--v2-text); background: #07111d; border: 1px solid var(--v2-line-strong); border-radius: 7px; font: inherit; }
.v2-copilot-form > div { margin-top: 7px; display: flex; justify-content: flex-end; gap: 7px; }
.v2-copilot-form button, .v2-watchlist-manage-row button { min-height: 44px; padding: 0 12px; color: var(--v2-text); background: var(--v2-surface-2); border: 1px solid var(--v2-line-strong); border-radius: 7px; }
.v2-copilot-form #v2-copilot-send { background: rgba(22,119,255,.22); border-color: var(--v2-blue); }
.v2-watchlist-search { margin: 12px 0; display: grid; gap: 6px; color: var(--v2-muted); font-size: 10px; }
.v2-watchlist-manage-rows { margin-top: 12px; display: grid; gap: 7px; }
.v2-watchlist-manage-row { min-width: 0; padding: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--v2-line); border-radius: 7px; }
.v2-watchlist-manage-row > span { display: flex; gap: 5px; }
.v2-watchlist-manage-row .is-danger { color: #ef8998; }

.v2-scenario-rows {
  display: grid;
  gap: 7px;
}

.v2-scenario-row {
  min-width: 0;
  padding: 9px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line);
  border-radius: 7px;
}

.v2-scenario-row[data-selection-status="ACTIVE"] {
  border-color: rgba(22, 119, 255, .42);
  box-shadow: inset 3px 0 0 var(--v2-blue);
}

.v2-scenario-rank {
  display: grid;
  justify-items: center;
}

.v2-scenario-rank strong {
  font-family: var(--v2-number);
  font-size: 14px;
}

.v2-scenario-rank small,
.v2-scenario-copy small,
.v2-scenario-copy > span {
  color: var(--v2-muted);
  font-size: 8.5px;
}

.v2-scenario-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.v2-scenario-metrics {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 8px;
}

.v2-scenario-metrics b {
  flex-basis: 100%;
  overflow: hidden;
  color: #c6d7f7;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8.5px;
  font-weight: 750;
}

.v2-scenario-metrics i {
  color: var(--v2-muted);
  font-size: 8.5px;
  font-style: normal;
}

.v2-scenario-metrics i span {
  font-family: var(--v2-number);
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.v2-scenario-copy > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.v2-scenario-copy strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.v2-direction-label {
  flex: 0 0 auto;
  padding: 2px 5px;
  color: #b7c6da;
  background: rgba(124, 141, 165, .1);
  border: 1px solid rgba(124, 141, 165, .22);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}

.v2-preview-button {
  min-width: 72px;
  padding: 0 9px;
  font-size: 10px;
}

.v2-preview-button:disabled {
  max-width: 90px;
  color: var(--v2-disabled);
  border-color: var(--v2-line);
  font-size: 8.5px;
}

.v2-show-more {
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  color: #c7d8f7;
  background: transparent;
  border: 1px solid var(--v2-line-strong);
  border-radius: 6px;
  font-size: 10px;
}

.v2-show-more[hidden] {
  display: none;
}

.v2-activity-tools {
  padding: 12px 0 9px;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-activity-tools > div {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.v2-activity-tools button {
  min-height: 36px;
  padding: 0 9px;
  flex: 0 0 auto;
  color: var(--v2-muted);
  background: transparent;
  border: 1px solid var(--v2-line);
  border-radius: 6px;
  font-size: 9px;
}

.v2-activity-tools button[aria-pressed="true"] {
  color: var(--v2-text);
  background: rgba(22, 119, 255, .09);
  border-color: rgba(22, 119, 255, .34);
}

#v2-mark-all-read {
  width: max-content;
  min-height: 32px;
}

.v2-away-summary {
  margin: 10px 0 0;
  padding: 9px 10px;
  color: #bfd2f5;
  background: rgba(22, 119, 255, .07);
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 6px;
  font-size: 10px;
}

.v2-away-summary[hidden] {
  display: none;
}

.v2-activity-list {
  padding: 10px 0;
  display: grid;
  gap: 7px;
}

.v2-activity-event {
  min-width: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line);
  border-left: 3px solid var(--event-color, var(--v2-blue));
  border-radius: 7px;
}

.v2-activity-event[data-severity="attention"] { --event-color: var(--v2-amber); }
.v2-activity-event[data-severity="success"] { --event-color: var(--v2-green); }
.v2-activity-event[data-severity="critical"] { --event-color: var(--v2-red); }
.v2-activity-event[data-severity="historical"] { --event-color: var(--v2-gray); }

.v2-event-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--event-color, var(--v2-blue));
  background: color-mix(in srgb, var(--event-color, var(--v2-blue)) 11%, transparent);
  border-radius: 6px;
  font-size: 11px;
}

.v2-event-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.v2-event-copy strong {
  font-size: 10.5px;
}

.v2-event-copy span,
.v2-event-copy small {
  color: var(--v2-muted);
  font-size: 9px;
}

.v2-event-copy span {
  overflow-wrap: anywhere;
}

.v2-event-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--v2-muted);
  font-family: var(--v2-number);
  font-size: 8px;
  white-space: nowrap;
}

.v2-event-ack {
  min-height: 30px;
  padding: 0 7px;
  color: #bfd2f5;
  background: transparent;
  border: 1px solid var(--v2-line-strong);
  border-radius: 5px;
  font-family: var(--v2-font);
  font-size: 8px;
}

.v2-judge-details {
  padding-top: 14px;
  display: grid;
  gap: 14px;
}

.v2-judge-details h3 {
  margin: 8px 0 4px;
  font-size: 15px;
}

.v2-judge-details p,
.v2-judge-details > small {
  margin: 0;
  color: var(--v2-muted);
  font-size: 11px;
}

.v2-judge-result {
  padding: 4px 7px;
  color: #bfd2f5;
  background: rgba(22, 119, 255, .09);
  border: 1px solid rgba(22, 119, 255, .24);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
}

.v2-judge-details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.v2-judge-details dl > div {
  min-width: 0;
  padding: 8px;
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line);
  border-radius: 6px;
}

.v2-judge-details dt {
  color: var(--v2-muted);
  font-size: 8px;
  text-transform: uppercase;
}

.v2-judge-details dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.v2-table-scroll {
  overflow-x: auto;
}

.v2-judge-details table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 9px;
}

.v2-judge-details th,
.v2-judge-details td {
  padding: 7px 5px;
  border-bottom: 1px solid var(--v2-line);
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1180px) {
  .v2-secondary-grid {
    margin-top: 0;
  }

  .v2-shell {
    grid-template-columns: 1fr;
  }

  .v2-content {
    order: 1;
  }

  .v2-watchlist {
    min-height: auto;
    order: 2;
  }

  .v2-watchlist-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .v2-watch-row {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "pair pair"
      "price change";
    gap: 5px 10px;
    border: 1px solid var(--v2-line);
    border-radius: 6px;
  }

  .v2-watch-change {
    justify-self: end;
    text-align: right;
  }

  .v2-primary-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "decision"
      "chart";
  }

  .v2-decision {
    min-height: 210px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
    grid-template-areas:
      "state countdown"
      "copy countdown"
      "levels levels";
    gap: 10px 18px;
  }

  .v2-decision-state {
    grid-area: state;
  }

  .v2-decision-copy {
    grid-area: copy;
  }

  .v2-countdown-row,
  .v2-market-scan-row {
    grid-area: countdown;
  }

  .v2-primary-levels {
    grid-area: levels;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-entry {
    grid-column: auto;
  }

  .v2-chart-card {
    min-height: 490px;
  }

  .v2-chart {
    height: 428px;
  }
}

@media (max-width: 760px) {
  body.futures-v2-page {
    padding: 8px 8px 78px;
  }

  .v2-product-bar {
    min-height: 48px;
    padding: 8px 9px;
    flex-wrap: wrap;
  }

  .v2-user-copy,
  .v2-brand small {
    display: none;
  }

  .v2-product-nav {
    width: 100%;
    order: 3;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .v2-product-nav::-webkit-scrollbar {
    display: none;
  }

  .v2-product-nav a,
  .v2-product-nav span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .v2-brand,
  .v2-user,
  .v2-account-shell,
  .v2-user-controls {
    min-width: 0;
  }

  .v2-alert-trigger > span:nth-child(2) {
    display: none;
  }

  .v2-gmt-clock {
    min-width: 72px;
    font-size: 8px;
  }

  .v2-health-label {
    display: none;
  }

  .v2-health-trigger {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .v2-health-popover {
    position: fixed;
    top: 58px;
    right: 8px;
  }

  .v2-user {
    padding: 3px;
  }

  .v2-account-chevron {
    display: none;
  }

  .v2-account-menu {
    position: fixed;
    top: 62px;
    right: 8px;
  }

  .v2-market-bar {
    min-height: 48px;
    margin-top: 8px;
    padding: 6px 8px;
  }

  .v2-data-status,
  .v2-market-price small {
    display: none;
  }

  .v2-market-identity > strong {
    font-size: 15px;
  }

  .v2-shell,
  .v2-content,
  .v2-primary-grid {
    gap: 8px;
  }

  .v2-shell {
    margin-top: 8px;
  }

  .v2-decision {
    min-height: 265px;
    padding: 12px;
    display: flex;
    gap: 9px;
  }

  .v2-decision h1 {
    font-size: 34px;
  }

  .v2-decision-copy h2 {
    font-size: 19px;
  }

  .v2-decision-copy p {
    font-size: 12px;
  }

  .v2-blocker-badge {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .v2-blocker-badge strong {
    padding: 0;
    border-right: 0;
  }

  .v2-blocker-badge span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .v2-primary-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-entry {
    grid-column: auto;
  }

  .v2-chart-card {
    min-height: 330px;
    padding: 8px;
  }

  .v2-chart {
    height: 270px;
    min-height: 270px;
  }

  .v2-chart-heading small {
    display: none;
  }

  .v2-layers-menu {
    width: min(260px, calc(100vw - 34px));
    right: -2px;
  }

  .v2-layers-menu label {
    min-height: 44px;
  }

  .v2-preview-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .v2-preview-banner > span {
    flex: 1 1 210px;
  }

  .v2-preview-banner button {
    margin-left: auto;
  }

  .v2-chart-loading {
    inset: 49px 8px 8px;
  }

  .v2-lifecycle {
    padding: 10px 8px;
  }

  .v2-lifecycle-steps {
    width: 620px;
    min-width: 620px;
    grid-template-columns: repeat(7, 84px);
  }

  .v2-lifecycle-detail {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: left;
  }

  .v2-user-action-meta {
    justify-items: start;
    text-align: left;
  }

  .v2-secondary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .v2-watchlist-rows {
    grid-template-columns: 1fr;
  }

  .v2-watchlist {
    padding: 10px 8px;
  }

  .v2-summary-card {
    min-height: 76px;
  }

  .v2-copilot-fab {
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .v2-copilot-fab span:last-child {
    display: none;
  }

  .v2-drawer {
    width: 100%;
    height: min(76dvh, 680px);
    padding: 14px 12px max(18px, env(safe-area-inset-bottom));
    top: auto;
    right: 0;
    bottom: 0;
    border-top: 1px solid var(--v2-line-strong);
    border-left: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .52);
  }

  .v2-overlay-backdrop {
    background: rgba(3, 8, 14, .62);
    backdrop-filter: blur(2px);
  }

  .v2-drawer[data-overlay-mode="inspector"] {
    width: 100%;
    height: min(76dvh, 680px);
    top: auto;
    right: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }

  .v2-copilot-drawer,
  .v2-copilot-drawer[data-overlay-mode="modal"],
  .v2-copilot-drawer[data-overlay-mode="inspector"] {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .v2-copilot-form { padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  .v2-watchlist-manage-row { align-items: flex-start; }
  .v2-watchlist-manage-row > span { flex-wrap: wrap; justify-content: flex-end; }

  .v2-drawer::before {
    content: "";
    width: 42px;
    height: 4px;
    margin: -5px auto 8px;
    display: block;
    background: var(--v2-line-strong);
    border-radius: 999px;
  }

  .v2-scenario-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .v2-activity-event {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .v2-event-meta {
    grid-column: 2;
    justify-items: start;
    grid-auto-flow: column;
    align-items: center;
  }

  .v2-preview-button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  body.futures-v2-page {
    padding-right: 6px;
    padding-left: 6px;
  }

  .v2-decision {
    padding: 10px;
  }

  .v2-market-bar {
    gap: 4px;
  }

  .v2-market-identity {
    min-width: 0;
    gap: 4px;
  }

  .v2-market-identity > strong {
    min-width: 0;
    max-width: 124px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v2-timeframe-label select {
    min-height: 32px;
    padding-right: 20px;
    padding-left: 7px;
  }

  .v2-market-price {
    min-width: 0;
    flex: 0 1 auto;
  }

  .v2-market-price strong {
    font-size: 12px;
  }

  .v2-decision h1 {
    font-size: 31px;
  }

  .v2-decision-copy h2 {
    font-size: 17px;
  }

  .v2-countdown {
    width: 60px;
    height: 60px;
  }

  .v2-level strong {
    font-size: 12px;
  }

  .v2-summary-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-scenario-chip {
    max-width: 100%;
  }

  .v2-account-menu {
    right: 6px;
  }

  .v2-scenario-row {
    padding: 8px;
    gap: 7px;
  }
}

.v2-inline-link {
  width: max-content;
  min-height: 30px;
  padding: 0;
  color: #b9cef3;
  background: transparent;
  border: 0;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.v2-risk-workspace {
  min-width: 0;
  padding: 12px;
  background: var(--v2-surface);
  border: 1px solid var(--v2-line);
  border-radius: 8px;
}

.v2-risk-actions {
  display: flex;
  gap: 7px;
}

.v2-risk-metrics {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
}

.v2-risk-metrics > div {
  min-width: 0;
  min-height: 62px;
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-right: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

.v2-risk-metrics small,
.v2-detail-group small {
  color: var(--v2-muted);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v2-risk-metrics strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--v2-number);
  font-size: 10px;
}

.v2-risk-status,
.v2-lifecycle-history-note {
  margin: 8px 0 0;
  color: var(--v2-muted);
  font-size: 10px;
}

.v2-risk-status[data-state="AVAILABLE"],
.v2-risk-status[data-state="ACTIVE_POSITION"] {
  color: #82d4ba;
}

.v2-risk-status[data-state="BLOCKED"] {
  color: #e2bd73;
}

.v2-lifecycle-history-note {
  padding-top: 7px;
  border-top: 1px solid var(--v2-line);
  text-align: center;
}

.v2-details-content,
.v2-history-list {
  display: grid;
  gap: 9px;
}

.v2-detail-group,
.v2-history-item {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 6px;
  background: rgba(22, 119, 255, .035);
  border: 1px solid var(--v2-line);
  border-radius: 7px;
}

.v2-detail-group h3,
.v2-history-item h3 {
  margin: 0;
  font-size: 12px;
}

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

.v2-detail-grid span {
  min-width: 0;
  display: grid;
  gap: 2px;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.v2-detail-grid b {
  font-family: var(--v2-number);
  font-size: 10px;
}

.v2-htf-matrix {
  margin-top: 3px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.v2-htf-pill {
  min-width: 0;
  min-height: 54px;
  padding: 7px;
  position: relative;
  display: grid;
  align-content: center;
  gap: 2px;
  color: #b8c5d7;
  background: rgba(124, 141, 165, .06);
  border: 1px solid rgba(124, 141, 165, .22);
  border-radius: 7px;
}

.v2-htf-pill small { color: inherit; font-size: 7.5px; }
.v2-htf-pill strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.v2-htf-pill em { color: inherit; font-size: 6.5px; font-style: normal; font-weight: 850; letter-spacing: .07em; }
.v2-htf-pill.is-bullish { color: #8cdec5; background: rgba(36,182,138,.075); border-color: rgba(36,182,138,.27); }
.v2-htf-pill.is-bearish { color: #f0a5b1; background: rgba(200,111,125,.075); border-color: rgba(200,111,125,.27); }
.v2-htf-pill.is-neutral,
.v2-htf-pill.is-pending { color: #e5c77e; background: rgba(229,174,61,.065); border-color: rgba(229,174,61,.23); }
.v2-htf-pill.is-selected::after { content: "SELECTED"; position: absolute; top: 4px; right: 5px; color: currentColor; font-size: 5.5px; font-weight: 850; letter-spacing: .08em; opacity: .78; }
.v2-htf-pill.is-blocking { border-color: #e5ae3d; box-shadow: 0 0 0 1px rgba(229,174,61,.25), 0 0 18px rgba(229,174,61,.08); animation: v2-htf-blocker-pulse 2.1s ease-in-out infinite; }

@keyframes v2-htf-blocker-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(229,174,61,.2), 0 0 0 rgba(229,174,61,0); }
  50% { box-shadow: 0 0 0 1px rgba(229,174,61,.42), 0 0 20px rgba(229,174,61,.13); }
}

.v2-htf-explanation { margin: 0; padding: 7px 8px; color: #ddc487; background: rgba(229,174,61,.055); border-left: 2px solid var(--v2-amber); border-radius: 0 5px 5px 0; font-size: 9px; line-height: 1.4; }
.v2-detail-blocker { padding: 7px; color: #e8cf95; background: rgba(229,174,61,.055); border: 1px solid rgba(229,174,61,.18); border-radius: 6px; }
.v2-detail-blocker.is-critical { color: #efbcc5; background: rgba(200,111,125,.06); border-color: rgba(200,111,125,.2); }

.v2-risk-form {
  display: grid;
  gap: 12px;
}

.v2-risk-form label {
  display: grid;
  gap: 5px;
  color: var(--v2-muted);
  font-size: 10px;
}

.v2-risk-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  color: var(--v2-text);
  background: var(--v2-surface-2);
  border: 1px solid var(--v2-line-strong);
  border-radius: 7px;
  font: inherit;
}

.v2-primary-button {
  min-height: 44px;
  color: #07101a;
  background: var(--v2-blue);
  border: 0;
  border-radius: 7px;
  font-weight: 750;
}

.v2-context-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  background: var(--v2-surface);
}

.v2-context-switcher [role="tablist"] { display: flex; gap: 5px; }
.v2-context-switcher button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--v2-muted);
  background: transparent;
  border: 1px solid var(--v2-line-strong);
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
}
.v2-context-switcher button[aria-selected="true"] {
  color: var(--v2-text);
  background: rgba(79,142,247,.14);
  border-color: var(--v2-blue);
}
.v2-context-switcher button:disabled { opacity: .42; cursor: not-allowed; }
.v2-context-switcher p { margin: 0; color: var(--v2-muted); font-size: 10px; }

.v2-entry-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.v2-entry-actions[hidden] { display: none; }
.v2-entry-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--v2-blue);
  border-radius: 7px;
  color: var(--v2-text);
  background: rgba(79,142,247,.13);
  font: inherit;
  font-weight: 750;
}
.v2-entry-actions small { flex-basis: 100%; color: var(--v2-muted); }
.v2-context-switcher.is-paper { border-color: #526074; }
.v2-context-switcher.is-paper p { color: #a9b4c3; }

@media (max-width: 760px) {
  .v2-context-switcher { align-items: stretch; flex-direction: column; }
  .v2-context-switcher [role="tablist"] { display: grid; grid-template-columns: repeat(3, 1fr); }
  .v2-context-switcher button { min-height: 44px; padding: 0 6px; }
}

.v2-history-item p {
  margin: 0;
  color: var(--v2-muted);
  font-size: 10px;
}

@media (max-width: 1180px) {
  .v2-risk-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .v2-risk-workspace {
    padding: 10px 8px;
  }

  .v2-risk-workspace .v2-section-heading {
    align-items: flex-start;
  }

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

  .v2-risk-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .v2-detail-grid {
    grid-template-columns: 1fr;
  }

  .v2-htf-matrix {
    gap: 4px;
  }

  .v2-htf-pill {
    min-height: 58px;
    padding: 6px;
  }
}

/* Decision-first reading order: action → next condition → supporting evidence. */
.v2-content { gap: 16px; }
.v2-decision-brief { display: grid; gap: 14px; padding: 14px 0; border-block: 1px solid var(--v2-line); }
.v2-decision-brief[hidden] { display: none; }
.v2-decision-brief small { color: var(--v2-muted); font-size: 11px; }
.v2-decision-brief p { margin: 5px 0 0; font-size: 13px; line-height: 1.65; }
.v2-permission-pill { font-size: 11px; color: var(--v2-amber); }
.v2-permission-pill[data-permission="granted"] { color: var(--v2-green); }
.v2-decision-copy { gap: 12px; }
.v2-decision-copy > p { font-size: 14px; }
.v2-blocker-badges { gap: 6px; }
.v2-blocker-badge { font-size: 11px; }
.v2-lifecycle-disclosure { margin-top: 14px; }
.v2-lifecycle-disclosure .v2-lifecycle-detail { margin: 12px; grid-template-columns: minmax(0,1fr) minmax(0,2fr); font-size: 13px; }
.v2-lifecycle-disclosure .v2-lifecycle-clock-note, .v2-lifecycle-disclosure .v2-lifecycle-history-note { margin: 12px; }
.v2-lifecycle-caption, #v2-lifecycle-caption { font-size: 12px; line-height: 1.6; }
.v2-summary-card { padding: 20px; gap: 12px; align-content: start; }
.v2-summary-card .v2-rationale-copy { margin: 0; color: var(--v2-text); font-size: 14px; line-height: 1.75; }
.v2-review-detail { margin-top: 12px; color: var(--v2-muted); font-size: 13px; line-height: 1.7; }
.v2-review-detail summary { cursor: pointer; color: var(--v2-blue); }
.v2-review-detail[open] summary { margin-bottom: 8px; }
.v2-scenario-diagnostics { grid-column: 1 / -1; border-top: 1px solid var(--v2-line); padding-top: 10px; font-size: 12px; line-height: 1.7; color: var(--v2-muted); }
.v2-scenario-diagnostics summary { cursor: pointer; }
.v2-scenario-copy > small { font-size: 13px; line-height: 1.7; }
.v2-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0 !important; }
@media(min-width:1200px) { .v2-primary-grid { grid-template-columns: minmax(0,1fr) 330px; } }
@media(max-width:700px) { .v2-lifecycle-disclosure .v2-lifecycle-detail { grid-template-columns: 1fr; } }
#v2-scenario-engine { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; }
#v2-scenario-engine .v2-engine-core, #v2-scenario-engine .v2-rationale-copy { grid-column: 1 / -1; }
#v2-ai-judge { align-items: flex-start; }
.v2-summary-card .v2-actionability-label { white-space: normal; font-size: 11px; }
.v2-summary-card strong { font-family: var(--pineva-heading); font-size: 15px; }
@media(max-width:700px) {
  #v2-scenario-engine { grid-template-columns: 1fr; }
  #v2-ai-judge { flex-direction: column; align-items: stretch; }
}
