/* ============================================================
   ZeroSpread — Indicators Intelligence Center
   Ported 1:1 from the provided HTML/CSS design.
   Everything scoped under .zsii to avoid global collisions.
   Fonts: project fonts (IBM Plex Sans Arabic / JetBrains Mono)
   ============================================================ */

.zsii {
  --page-bg: #000000;
  --surface-bg: rgba(5, 10, 18, 0.92);
  --bg: #000000;
  --bg2: #02040a;
  --panel: rgba(6, 12, 22, 0.88);
  --panel2: rgba(8, 16, 28, 0.86);
  --border: rgba(90, 130, 180, 0.22);
  --border2: rgba(90, 130, 180, 0.16);
  --green: #00e68a;
  --blue: #16a8ff;
  --cyan: #22d3ee;
  --purple: #8b5cf6;
  --red: #ff4d5e;
  --orange: #f59e0b;
  --text: #e5edf7;
  --muted: #8fa3b8;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(22, 168, 255, 0.06), transparent 60%),
    radial-gradient(900px 500px at 80% 110%, rgba(0, 230, 138, 0.04), transparent 60%),
    radial-gradient(700px 420px at 12% 42%, rgba(139, 92, 246, 0.04), transparent 55%),
    var(--page-bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 0;
}

.zsii * {
  box-sizing: border-box;
}

.zsii .num {
  font-family: var(--mono);
  font-feature-settings: "tnum";
  direction: ltr;
  unicode-bidi: isolate;
}

.zsii .app {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 12px 14px 0;
}

/* ============ HEADER ============ */
.zsii[dir='ltr'] .header {
  direction: ltr;
}

.zsii[dir='rtl'] .header {
  direction: rtl;
}

.zsii .header {
  margin-bottom: 12px;
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.96), rgba(2, 4, 10, 0.92));
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.zsii .header-v3 {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.zsii .header-v3__main {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 35%) minmax(0, 35%);
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 6px 12px 5px;
}

.zsii .header-v3__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding-inline-end: 4px;
}

.zsii .header-v3__asset {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.zsii .header-v3__coin {
  width: 24px;
  height: 24px;
  flex: none;
}

.zsii .header-v3__pair {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.zsii .header-v3__symbol {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.zsii .header-v3__symbol b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.zsii .header-v3__symbol svg {
  color: #8fa3b8;
  flex: none;
}

.zsii .header-v3__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  line-height: 1.15;
  color: var(--muted);
}

.zsii .header-v3__spot {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 160, 200, 0.16);
  color: #b8c9d9;
  font-size: 7.5px;
  font-weight: 600;
}

.zsii .header-v3__price-hero {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-inline-start: 31px;
}

.zsii .header-v3__price {
  font-size: clamp(29px, 2.85vw, 36px);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.zsii .header-v3__change {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  opacity: 0.92;
}

.zsii .header-v3__change--up {
  color: var(--green);
}

.zsii .header-v3__change--down {
  color: var(--red);
}

.zsii .header-v3__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(120, 160, 200, 0.035);
  border: 1px solid rgba(120, 160, 200, 0.1);
}

.zsii .header-v3__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
  min-width: 0;
  padding: 0 6px;
  border-inline-start: 1px solid rgba(120, 160, 200, 0.1);
}

.zsii .header-v3__stat:first-child {
  border-inline-start: none;
}

.zsii .header-v3__stat small {
  font-size: 7.5px;
  line-height: 1.15;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.zsii .header-v3__stat b {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: #eef4fc;
  font-family: var(--mono);
}

.zsii .header-v3__unit {
  font-size: 7.5px;
  line-height: 1;
  color: #7f93a8;
  font-family: var(--mono);
}

.zsii .header-v3__loading-text {
  font-size: 10px;
  font-weight: 600;
  color: #8fa3b8;
  opacity: 0.85;
}

.zsii .header-v3__skeleton {
  display: block;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(120, 160, 200, 0.12) 0%,
    rgba(120, 160, 200, 0.24) 50%,
    rgba(120, 160, 200, 0.12) 100%
  );
  background-size: 200% 100%;
  animation: header-v3-shimmer 1.2s ease-in-out infinite;
}

.zsii .header-v3__price-hero .header-v3__skeleton {
  width: 140px;
  height: 28px;
}

@keyframes header-v3-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.zsii .header-v3__right {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 34%);
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.zsii[dir='rtl'] .header-v3__right {
  grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
}

.zsii[dir='rtl'] .header-v3__right .header-v3__sparkline-zone {
  order: 2;
}

.zsii[dir='rtl'] .header-v3__right .header-v3__signal-card {
  order: 1;
}

.zsii .header-v3__sparkline-zone {
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
  min-height: 58px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(120, 160, 200, 0.1);
  overflow: hidden;
}

.zsii .header-v3__sparkline {
  display: block;
  width: 100%;
  height: 56px;
  flex: 1 1 auto;
  min-width: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.zsii .header-v3__signal-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(120, 160, 200, 0.05);
  border: 1px solid rgba(120, 160, 200, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.zsii .header-v3__signal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: center;
}

.zsii .header-v3__sparkline--up {
  color: var(--green);
}

.zsii .header-v3__sparkline--down {
  color: var(--red);
}

.zsii .header-v3__sparkline--empty {
  display: grid;
  place-items: center;
}

.zsii .header-v3__signal small {
  font-size: 7.5px;
  line-height: 1.15;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.zsii .header-v3__signal b {
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 900;
  line-height: 0.95;
  color: #eef4fc;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 10px rgba(238, 244, 252, 0.35),
    0 0 22px rgba(22, 168, 255, 0.14);
}

.zsii .header-v3__signal span {
  font-size: 8.5px;
  line-height: 1.15;
  color: #9fb0c2;
}

.zsii .header-v3__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  padding: 4px 12px;
  border-top: 1px solid rgba(120, 160, 200, 0.12);
  background: rgba(0, 0, 0, 0.22);
  font-size: 8.5px;
  line-height: 1.2;
  color: #8fa3b8;
}

.zsii .header-v3__status-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.zsii .header-v3__status-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.zsii .header-v3__status-item--live {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.zsii .header-v3__status-item--source {
  gap: 5px;
}

.zsii .header-v3__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 138, 0.55);
  flex: none;
}

.zsii .header-v3__status-divider {
  width: 1px;
  height: 11px;
  background: rgba(120, 160, 200, 0.16);
  flex: none;
}

.zsii .header-v3__shield {
  width: 13px;
  height: 13px;
  color: var(--green);
  flex: none;
}

.zsii .header-v3__status-bias {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.zsii .header-v3__bias-label {
  color: #8fa3b8;
  font-weight: 600;
}

.zsii .header-v3__bias-up {
  color: var(--green);
  font-weight: 700;
}

.zsii .header-v3__bias-down {
  color: var(--red);
  font-weight: 700;
}

.zsii .brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.zsii .brand .logo {
  width: 34px;
  height: 34px;
  flex: none;
}
.zsii .brand .b-txt b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
}
.zsii .brand .b-txt span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 3px;
}

/* ============ PRODUCT STORY (copy layer) ============ */
.zsii .intel-story__subtitle {
  margin: -4px 0 8px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .intel-story__bridge {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.45;
  opacity: 0.92;
}
.zsii .intel-story__helper {
  margin: 4px 0 0;
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.4;
  opacity: 0.9;
}
.zsii .intel-story__helper--core {
  text-align: center;
  margin-top: 2px;
}
.zsii .intel-seed-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.28);
}
.zsii .intel-seed-badge--inline {
  margin-inline-start: 8px;
  vertical-align: middle;
}
.zsii .intel-seed-badge--ticker {
  margin-top: 4px;
}
.zsii .intel-cached-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.zsii .intel-cached-badge--feed {
  margin: 0 0 10px;
}
.zsii .intel-cached-badge--horizon {
  align-self: flex-start;
  margin-top: 4px;
}
.zsii .card-title--with-badge,
.zsii .foot-title--with-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.zsii .card--demo-intel .ime-note,
.zsii .card--demo-intel .lab-cases,
.zsii .card--demo-intel .lab-layers,
.zsii .card--demo-intel .dte-paths,
.zsii .card--demo-intel .reg-grid,
.zsii .card--demo-intel .reg-active-best {
  opacity: 0.92;
}
.zsii .intel-label-tip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zsii .intel-label-tip__label {
  font-weight: inherit;
}
.zsii .intel-label-tip__helper {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: normal;
  text-transform: none;
}
.zsii .intel-story__helper--ticker {
  margin-top: 4px;
  font-size: 10px;
}
.zsii .ticker-card .tc-price {
  display: none;
}
.zsii .sg-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.zsii .intel-page-head .intel-story__bridge {
  margin-top: 6px;
  font-size: 11px;
}
.zsii .se-signal .intel-story__subtitle {
  margin-top: -6px;
  margin-bottom: 10px;
}
.zsii .se-signal .intel-story__helper {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--se-divider, var(--border));
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}
.zsii .se-horizon .intel-story__subtitle {
  margin-top: -6px;
}
.zsii .se-horizon .intel-story__bridge {
  margin-bottom: 10px;
}
.zsii .se-horizon .intel-story__helper {
  margin: 2px 0 10px;
}
.zsii .col--hero .intel-story__subtitle {
  margin: 2px 0 10px;
  text-align: center;
}
.zsii .col--hero .intel-story__bridge {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--se-divider, var(--border));
  text-align: center;
}
.zsii [title] {
  cursor: help;
}

.zsii .ticker-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(5, 10, 18, 0.82);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 16px;
}
.zsii .tc-sym {
  display: flex;
  align-items: center;
  gap: 9px;
}
.zsii .tc-sym .btc {
  width: 26px;
  height: 26px;
  flex: none;
}
.zsii .tc-sym .nm b {
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}
.zsii .tc-sym .nm small {
  font-size: 10px;
  color: var(--muted);
}
.zsii .tc-price b {
  font-size: 19px;
  color: var(--green);
  font-family: var(--mono);
}
.zsii .tc-price small {
  display: block;
  font-size: 11px;
  color: var(--green);
  font-family: var(--mono);
  margin-top: 2px;
}
.zsii .tc-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.zsii .tc-stat small {
  font-size: 9.5px;
  color: var(--muted);
}
.zsii .tc-stat b {
  font-size: 12.5px;
  color: var(--text);
  font-family: var(--mono);
}

.zsii .h-icons {
  display: flex;
  gap: 8px;
}
.zsii .h-icons .ib {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(5, 10, 18, 0.72);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  transition: 0.15s;
}
.zsii .h-icons .ib:hover {
  color: var(--text);
  border-color: var(--blue);
}

/* ============ GRID — side columns share row height for bottom baseline ============ */
.zsii .grid,
.zsii .se-grid {
  display: grid;
  grid-template-columns: minmax(0, 22fr) minmax(0, 56fr) minmax(0, 22fr);
  gap: 12px;
  align-items: stretch;
}
.zsii .col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.zsii .col--hero {
  align-items: stretch;
  gap: 20px;
  align-self: start;
}
/* Decision evolution timeline — follows impact panel in hero column */
.zsii .se-decision-evolution {
  --evo-node: 56px;
  --evo-node-final: 88px;
  --evo-tag-h: 13px;
  --evo-step-gap: 5px;
  --evo-node-copy-gap: 8px;
  --evo-impact-gap: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 200px;
  max-height: 248px;
  padding: 10px 18px 10px !important;
  overflow: hidden;
}
.zsii .se-decision-evolution__head {
  flex-shrink: 0;
}
.zsii .se-decision-evolution__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.3;
}
.zsii .se-decision-evolution__subtitle {
  margin: 3px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
}
.zsii .se-decision-evolution__track {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(18px, 1.15fr)
    minmax(0, 1fr) minmax(18px, 1.15fr)
    minmax(0, 1fr) minmax(18px, 1.15fr)
    minmax(0, 1fr) minmax(18px, 1.15fr)
    minmax(0, 1.12fr);
  align-items: center;
  align-content: center;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}
.zsii .se-decision-evolution__segment {
  display: contents;
}
.zsii .se-decision-evolution__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--evo-step-gap);
  min-width: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0 4px;
  direction: inherit;
}
.zsii .se-decision-evolution__step--final {
  gap: 6px;
  justify-content: center;
}
.zsii .se-decision-evolution__tag {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.zsii .se-decision-evolution__tag--final {
  color: var(--green);
  font-size: 10.5px;
}
.zsii .se-decision-evolution__node {
  --evo-c: var(--blue);
  position: relative;
  width: var(--evo-node);
  height: var(--evo-node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(7, 15, 30, 0.88);
  border: 2px solid color-mix(in srgb, var(--evo-c) 62%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--evo-c) 14%, transparent),
    0 0 22px color-mix(in srgb, var(--evo-c) 42%, transparent);
}
.zsii .se-decision-evolution__node-core {
  width: calc(var(--evo-node) * 0.19);
  height: calc(var(--evo-node) * 0.19);
  border-radius: 50%;
  background: var(--evo-c);
  box-shadow: 0 0 14px color-mix(in srgb, var(--evo-c) 85%, transparent);
}
.zsii .se-decision-evolution__node--final {
  width: var(--evo-node-final);
  height: var(--evo-node-final);
  border-width: 2.75px;
  border-color: rgba(0, 230, 138, 0.65);
  box-shadow:
    0 0 0 5px rgba(0, 230, 138, 0.12),
    0 0 36px rgba(0, 230, 138, 0.48),
    0 0 64px rgba(0, 230, 138, 0.18);
  background: radial-gradient(circle at 50% 40%, rgba(0, 230, 138, 0.2), rgba(7, 15, 30, 0.94));
}
.zsii .se-decision-evolution__hero-pct {
  font-family: var(--mono);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(0, 230, 138, 0.55);
}
.zsii .se-decision-evolution__story {
  font-size: 9px;
  line-height: 1.35;
  color: #c5d2df;
  max-width: 100%;
  margin-top: var(--evo-node-copy-gap);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.zsii .se-decision-evolution__impact {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: var(--evo-impact-gap);
}
.zsii .se-decision-evolution__impact--up {
  color: var(--green);
}
.zsii .se-decision-evolution__impact--down {
  color: var(--red);
}
.zsii .se-decision-evolution__impact--neutral {
  color: var(--blue);
}
.zsii .se-decision-evolution__impact--text {
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.zsii .se-decision-evolution__mini-reason {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 160, 200, 0.12);
  font-size: clamp(8px, 0.85vw, 10px);
  line-height: 1.4;
  color: #9fb0c2;
  opacity: 0.72;
  word-break: break-word;
}
.zsii .se-decision-evolution__hero-band {
  font-size: 11px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zsii .se-decision-evolution__hero-confidence {
  font-size: 9px;
  font-weight: 600;
  color: #9fb0c2;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zsii .se-decision-evolution__hero-support {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.88;
}
.zsii .se-decision-evolution__connector {
  --evo-from: var(--blue);
  --evo-to: var(--green);
  position: relative;
  width: 100%;
  min-width: 0;
  height: 2px;
  opacity: 0.7;
  margin-top: 0;
  align-self: center;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--evo-from) 75%, transparent),
    color-mix(in srgb, var(--evo-to) 90%, transparent)
  );
  box-shadow:
    0 0 6px color-mix(in srgb, var(--evo-from) 45%, transparent),
    0 0 12px color-mix(in srgb, var(--evo-to) 30%, transparent);
  overflow: hidden;
}
.zsii .se-decision-evolution__connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: se-devo-flow 3.6s ease-in-out infinite;
}

@media (max-width: 640px) {
  .zsii .se-decision-evolution {
    --evo-node: 49px;
    --evo-node-final: 73px;
    --evo-node-copy-gap: 8px;
    --evo-impact-gap: 6px;
    flex: 0 0 auto;
    min-height: 188px;
    max-height: none;
  }
  .zsii .se-decision-evolution__track {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    direction: ltr;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .zsii .se-decision-evolution__track::-webkit-scrollbar {
    display: none;
  }
  .zsii .se-decision-evolution__segment {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 108px;
  }
  .zsii .se-decision-evolution__segment--final {
    min-width: 124px;
  }
  .zsii .se-decision-evolution__step {
    flex: 1 1 auto;
    height: auto;
    padding: 0 4px;
  }
  .zsii .se-decision-evolution__mini-reason {
    margin-top: 10px;
    padding-top: 8px;
  }
  .zsii .se-decision-evolution__connector {
    flex: 0 0 32px;
    width: 32px;
    min-width: 28px;
    opacity: 0.7;
  }
}

@keyframes se-devo-flow {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Signal Engine — intelligence card (reference layout) */
.zsii .se-signal {
  --signal-bull: #089981;
  --signal-bear: #f23645;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zsii .se-signal:hover {
  border-color: rgba(96, 125, 170, 0.34);
  box-shadow: var(--se-shadow, 0 12px 36px rgba(0, 0, 0, 0.26));
}
.zsii .se-signal .card-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #c5d2df;
  line-height: 1.35;
}
.zsii .se-signal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.zsii .se-signal__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 11px;
  background: var(--panel2);
  border: 1px solid var(--se-border-inner, rgba(64, 98, 130, 0.22));
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zsii .se-signal__cell:hover {
  border-color: rgba(96, 125, 170, 0.32);
  box-shadow: 0 0 12px -4px rgba(22, 168, 255, 0.1);
}
.zsii .se-signal__cell--age {
  grid-column: 1 / -1;
  min-height: 52px;
}
.zsii .se-signal__icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
}
.zsii .se-signal__icon svg {
  width: 14px;
  height: 14px;
}
.zsii .se-signal__icon--support {
  color: var(--signal-bull);
  background: rgba(8, 153, 129, 0.1);
  border-color: rgba(8, 153, 129, 0.22);
}
.zsii .se-signal__icon--oppose {
  color: var(--signal-bear);
  background: rgba(242, 54, 69, 0.08);
  border-color: rgba(242, 54, 69, 0.2);
}
.zsii .se-signal__icon--shield-green {
  color: var(--green);
  background: rgba(0, 230, 138, 0.08);
  border-color: rgba(0, 230, 138, 0.18);
}
.zsii .se-signal__icon--clock {
  color: var(--blue);
  background: rgba(22, 168, 255, 0.1);
  border-color: rgba(22, 168, 255, 0.24);
}
.zsii .se-signal__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.zsii .se-signal__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.zsii .se-signal__value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #eef4fc;
}
.zsii .se-signal__value.num {
  font-family: var(--mono);
}
.zsii .se-signal__cell--support .se-signal__value {
  color: var(--signal-bull);
  text-shadow: none;
}
.zsii .se-signal__cell--oppose .se-signal__value {
  color: var(--signal-bear);
  text-shadow: none;
}
.zsii .se-signal__cell--confidence .se-signal__value {
  color: var(--green);
}
.zsii .se-signal__cell--stability--very-stable .se-signal__value {
  color: var(--green);
}
.zsii .se-signal__cell--stability--stable .se-signal__value {
  color: var(--blue);
}
.zsii .se-signal__cell--stability--moderate .se-signal__value {
  color: var(--orange);
}
.zsii .se-signal__cell--stability--weak .se-signal__value {
  color: var(--red);
}
.zsii .se-signal__cell--age .se-signal__value--age {
  font-size: 16px;
  color: var(--blue);
}
.zsii .se-signal__status {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--green);
}
.zsii .se-signal__cell--stability--stable .se-signal__status {
  color: var(--blue);
}
.zsii .se-signal__cell--stability--moderate .se-signal__status {
  color: var(--orange);
}
.zsii .se-signal__cell--stability--weak .se-signal__status {
  color: var(--red);
}
.zsii .se-signal__status--age {
  color: var(--blue);
}
.zsii .se-signal__health {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--se-divider, rgba(64, 98, 130, 0.14));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zsii .se-signal__health-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.zsii .se-signal__health-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--se-border-inner, rgba(64, 98, 130, 0.18));
}
.zsii .se-signal__health-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.zsii .se-signal__health-value {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #eef4fc;
}
.zsii .se-signal__health-value--split {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
}
.zsii .se-signal__count {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--mono);
  font-feature-settings: 'tnum';
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.zsii .se-signal__count-suffix {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  font-family: inherit;
  white-space: nowrap;
}
.zsii .se-signal__health-item--align .se-signal__count {
  color: var(--signal-bull);
}
.zsii .se-signal__health-item--align .se-signal__count-suffix {
  color: rgba(8, 153, 129, 0.82);
}
.zsii .se-signal__health-item--oppose .se-signal__count {
  color: var(--signal-bear);
}
.zsii .se-signal__health-item--oppose .se-signal__count-suffix {
  color: rgba(242, 54, 69, 0.78);
}
.zsii .se-signal__health-item--align .se-signal__health-value {
  color: var(--signal-bull);
}
.zsii .se-signal__health-item--oppose .se-signal__health-value {
  color: var(--signal-bear);
}
.zsii .se-signal__health-item--confidence .se-signal__health-value {
  color: var(--green);
}
.zsii .se-signal__stability-track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.zsii .se-signal__stability-track-head .num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--mono);
}
.zsii .se-signal__stability-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .se-signal__stability-bar .se-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(22, 168, 255, 0.55), var(--blue));
  box-shadow: 0 0 8px rgba(22, 168, 255, 0.35);
}

/* Signal Engine — top drivers card */
.zsii .se-drivers {
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zsii .se-drivers:hover {
  border-color: rgba(96, 125, 170, 0.34);
  box-shadow: var(--se-shadow, 0 12px 36px rgba(0, 0, 0, 0.26));
}
.zsii .se-drivers .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.zsii .se-drivers__bolt {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--purple);
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.45));
}
.zsii .se-drivers__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zsii .se-drivers__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 11px;
  background: var(--panel2);
  border: 1px solid var(--se-border-inner, rgba(64, 98, 130, 0.22));
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zsii .se-drivers__row:hover {
  border-color: rgba(96, 125, 170, 0.32);
  box-shadow: 0 0 12px -4px rgba(22, 168, 255, 0.1);
}
.zsii .se-drivers__icon {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px -5px var(--c);
}
.zsii .se-drivers__name {
  width: 74px;
  flex: none;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #dfe8f3;
  font-family: var(--mono);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zsii .se-drivers__bar {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .se-drivers__bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.zsii .se-drivers__pct {
  width: 42px;
  flex: none;
  text-align: end;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.zsii .se-drivers__leader {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--se-divider, rgba(64, 98, 130, 0.14));
}
.zsii .se-drivers__leader-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.zsii .se-drivers__leader-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.zsii .se-drivers__leader-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--leader-c, var(--green));
  font-family: var(--mono);
  line-height: 1.2;
}
.zsii .se-drivers__leader-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--leader-c, var(--green));
  font-family: var(--mono);
  line-height: 1.2;
}
.zsii .se-drivers__leader-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--leader-c, var(--green));
  background: color-mix(in srgb, var(--leader-c, var(--green)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--leader-c, var(--green)) 38%, transparent);
}
.zsii .se-drivers__leader-hint {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.zsii .se-drivers__podium {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--se-divider, rgba(64, 98, 130, 0.14));
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.zsii .se-drivers__podium-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.zsii .se-drivers__podium-rank {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.zsii .se-drivers__podium-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.zsii .se-drivers__podium-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--leader-c, var(--green));
  font-family: var(--mono);
  line-height: 1.2;
}
.zsii .se-drivers__podium-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--leader-c, var(--green));
  font-family: var(--mono);
  line-height: 1.2;
}
.zsii .se-drivers__foot {
  margin: 8px 0 0;
  padding: 8px 6px 0;
  border-top: 1px solid var(--se-divider, rgba(64, 98, 130, 0.14));
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

/* Top drivers — hug content; list + podium stack as one block */
.zsii .se-engine .se-drivers.se-drivers--fit {
  align-self: start;
  flex: 0 0 auto;
  width: 100%;
  height: fit-content;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.zsii .se-engine .se-drivers.se-drivers--fit .se-drivers__list {
  flex: 0 0 auto;
  flex-grow: 0;
  margin-bottom: 0;
}

.zsii .se-engine .grid > .col--side:first-child > .se-drivers.se-drivers--fit {
  margin-top: 0;
}

.zsii .col--hero > .card:first-child {
  padding: 12px 14px;
}
.zsii .col--hero .center-sub {
  margin-bottom: 0;
}
.zsii .col--hero .cs-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #c5d2df;
  line-height: 1.35;
}
.zsii .col--hero .decision-bar {
  margin-top: 8px;
}

/* Side panels — stretch to grid row; last card shares bottom baseline */
.zsii .col--side {
  gap: 20px !important;
  align-self: stretch;
  min-height: 100%;
  padding-bottom: 0;
}
/* Intelligence sidebar (first side / RTL right): tighter stack; no row-height reserve */
.zsii .se-engine .grid > .col--side:first-child {
  gap: 15px !important;
  align-self: start;
  min-height: 0;
  height: fit-content;
}
.zsii .col--side > :last-child {
  margin-top: auto;
}
.zsii .grid > .col--side:first-child > :last-child {
  margin-top: 0;
}
.zsii .grid > .col--side:last-child {
  gap: 20px !important;
}
.zsii .grid > .col--side:last-child .card,
.zsii .grid > .col--side:last-child .dde-card {
  padding: 12px 14px;
}
.zsii .grid > .col--side:last-child .card-title {
  margin-bottom: 10px;
  line-height: 1.35;
}
.zsii .grid > .col--side:last-child .lv-row,
.zsii .grid > .col--side:last-child .sg-row {
  padding: 6px 0;
}
.zsii .grid > .col--side:last-child .sg-btn {
  margin-top: 10px;
  padding: 8px;
}
.zsii .grid > .col--side:last-child .trend-donut {
  width: 104px;
  height: 104px;
}
.zsii .grid > .col--side:last-child .trend-donut::before {
  inset: 10px;
}
.zsii .grid > .col--side:last-child .trend-donut .tv span {
  font-size: 22px;
}
.zsii .grid > .col--side:last-child .tf-tabs {
  margin-top: 7px;
}
.zsii .grid > .col--side:last-child .dde-list {
  gap: 6px;
}
.zsii .col--side > .card,
.zsii .col--side .iae-card,
.zsii .col--side .cfe-card,
.zsii .col--side .card--support {
  background: var(--se-card-bg, rgba(6, 12, 22, 0.88));
  border: 1px solid var(--se-border, rgba(64, 98, 130, 0.28));
  box-shadow: var(--se-shadow, 0 12px 36px rgba(0, 0, 0, 0.26));
}
.zsii .col--side .card-title {
  color: #c5d2df;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.zsii .col--side .iae-ring {
  width: 76px;
  height: 76px;
  box-shadow: none;
}
.zsii .col--side .iae-ring-inner b {
  font-size: 18px;
}
.zsii .col--side .iae-count {
  font-size: 22px;
}
.zsii .col--side .cfe-level {
  box-shadow: none;
  padding: 6px 9px;
}
.zsii .col--side .card--support .sg-btn {
  background: rgba(22, 168, 255, 0.05);
  border-color: rgba(22, 168, 255, 0.2);
}
.zsii .col--side .card--support .trend-donut {
  box-shadow: none;
}

/* ============ CURRENT TREND AGE ============ */
.zsii .col--side > .se-trend-age {
  flex: 1 1 auto;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 12px !important;
  overflow: hidden;
}
.zsii .se-trend-age__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}
.zsii .se-trend-age__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0, 230, 138, 0.08);
  border: 1px solid rgba(0, 230, 138, 0.22);
  color: var(--green);
}
.zsii .se-trend-age__icon svg {
  width: 14px;
  height: 14px;
}
.zsii .se-trend-age__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.zsii .se-trend-age__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.zsii .se-trend-age__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.3;
}
.zsii .se-trend-age__subtitle {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
}
.zsii .se-trend-age__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.zsii .se-trend-age__badge--birth {
  color: #6ee7b7;
  background: rgba(0, 230, 138, 0.1);
  border: 1px solid rgba(0, 230, 138, 0.24);
}
.zsii .se-trend-age__badge--expansion {
  color: #93c5fd;
  background: rgba(22, 168, 255, 0.1);
  border: 1px solid rgba(22, 168, 255, 0.22);
}
.zsii .se-trend-age__badge--maturity {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
}
.zsii .se-trend-age__badge--exhaustion {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.24);
}
.zsii .se-trend-age__badge--live {
  color: var(--green);
  background: rgba(0, 230, 138, 0.1);
  border: 1px solid rgba(0, 230, 138, 0.24);
}
.zsii .se-trend-age__badge--est {
  align-self: flex-start;
  color: #b8c8da;
  background: rgba(120, 160, 200, 0.1);
  border: 1px solid rgba(120, 160, 200, 0.18);
  text-transform: uppercase;
}

.zsii .se-trend-age__center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  padding: 4px 0;
}
.zsii .se-trend-age__ring-wrap {
  --se-trend-age-ring: 136px;
  position: relative;
  width: min(100%, var(--se-trend-age-ring));
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  container-type: inline-size;
}
.zsii .se-trend-age__ring-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.zsii .se-trend-age__hero {
  position: absolute;
  inset: 11%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
  min-width: 0;
}
.zsii .se-trend-age__hero-single {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 55%;
  min-width: 0;
}
.zsii .se-trend-age__hero-single b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(16px, 19cqw, 26px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--green);
  text-shadow: 0 0 18px rgba(0, 230, 138, 0.35);
}
.zsii .se-trend-age__ring-lbl {
  max-width: 62%;
  font-size: clamp(7px, 6.2cqw, 8.5px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.zsii .se-trend-age__state {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #c5d2df;
  line-height: 1.25;
  text-align: center;
}
.zsii .se-trend-age__maturity {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.55);
  border: 1px solid rgba(120, 160, 200, 0.12);
}
.zsii .se-trend-age__maturity-lbl {
  font-size: 9.5px;
  color: var(--muted);
}
.zsii .se-trend-age__maturity-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.zsii .se-trend-age__lifecycle-rail {
  flex-shrink: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(120, 160, 200, 0.1);
}
.zsii .se-trend-age__lifecycle-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 6px;
}
.zsii .se-trend-age__lifecycle-lbl {
  font-size: 7.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zsii .se-trend-age__lifecycle-lbl.is-active {
  color: #eef4fc;
  font-weight: 700;
}
.zsii .se-trend-age__lifecycle-track {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}
.zsii .se-trend-age__lifecycle-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 230, 138, 0.35) 0%,
    rgba(22, 168, 255, 0.55) 33%,
    rgba(99, 102, 241, 0.55) 66%,
    rgba(245, 158, 11, 0.75) 100%
  );
}
.zsii .se-trend-age__lifecycle-marker {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(0, 230, 138, 0.14), 0 0 12px rgba(0, 230, 138, 0.55);
  animation: se-trend-age-pulse 2.4s ease-in-out infinite;
}

.zsii .se-trend-age__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  flex-shrink: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(120, 160, 200, 0.1);
}
.zsii .se-trend-age__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  text-align: center;
  padding: 4px 2px;
}
.zsii .se-trend-age__stat-lbl {
  font-size: 8.5px;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.zsii .se-trend-age__stat-val {
  font-size: 11.5px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.2;
}
.zsii .se-trend-age__stat-val--accent {
  color: var(--green);
}

@keyframes se-trend-age-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(0, 230, 138, 0.1), 0 0 8px rgba(0, 230, 138, 0.4);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(0, 230, 138, 0.14), 0 0 14px rgba(0, 230, 138, 0.65);
  }
}

@media (max-width: 520px) {
  .zsii .se-trend-age__ring-wrap {
    --se-trend-age-ring: 132px;
  }
  .zsii .se-trend-age__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .zsii .se-trend-age__stat-lbl {
    font-size: 8px;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .zsii .se-trend-age__ring-wrap {
    --se-trend-age-ring: 124px;
  }
  .zsii .se-trend-age__stats {
    grid-template-columns: 1fr 1fr;
  }
  .zsii .se-trend-age__stat:last-child {
    grid-column: 1 / -1;
  }
}

.zsii .hero-tail {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  margin-inline: auto;
  min-width: 0;
  position: relative;
  z-index: 2;
  clear: both;
}

.zsii .hero-tail .intel-details {
  width: 100%;
  max-width: none;
  margin: 0 0 48px;
}

.zsii .hero-tail .intel-summary {
  width: 100%;
  max-width: none;
  margin: 24px 0 48px;
}

.zsii .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}
.zsii .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #eaf2fb;
  margin-bottom: 11px;
}
.zsii .card-title .ti {
  color: var(--muted);
  display: flex;
}

/* ============ MINI SUMMARY GRID ============ */
.zsii .mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.zsii .mini {
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 6px 9px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.zsii .mini-lbl {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1px;
}
.zsii .ring {
  --p: 50;
  --c: var(--green);
  --ring-size: 54px;
  --ring-inset: 5px;
  --ring-inner: calc(var(--ring-size) - 2 * var(--ring-inset));
  --ring-safe: 0.7;
  --gauge-ch: 5;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--c) calc(var(--p) * 3.6deg), rgba(255, 255, 255, 0.06) 0);
}
.zsii .ring::before {
  content: "";
  position: absolute;
  inset: var(--ring-inset);
  border-radius: 50%;
  background: #0a1626;
}
.zsii .ring b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--ring-inner) * var(--ring-safe));
  max-width: calc(var(--ring-inner) * var(--ring-safe));
  font-family: var(--mono);
  font-size: clamp(
    8px,
    min(max(10px, 2vw), calc(var(--ring-inner) * var(--ring-safe) / (var(--gauge-ch) * 0.58))),
    11px
  );
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c);
  text-align: center;
  white-space: nowrap;
}
.zsii .ring b span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zsii .mini-st {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1px;
}

/* ============ STRENGTH CARD ============ */
.zsii .strength {
  display: flex;
  align-items: center;
  gap: 16px;
}
.zsii .big-gauge {
  --p: 78;
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(from -90deg, var(--purple), var(--blue) calc(var(--p) * 3.6deg), rgba(255, 255, 255, 0.06) 0);
}
.zsii .big-gauge::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0a1626;
}
.zsii .big-gauge .gv {
  position: relative;
  z-index: 1;
  text-align: center;
}
.zsii .big-gauge .gv b {
  display: block;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.zsii .big-gauge .gv small {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
}
.zsii .strength .sx {
  flex: 1;
}
.zsii .strength .sx .lab {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.zsii .track {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .track i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* ============ DETAILS TABLE ============ */
.zsii .dt {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.zsii .dt th {
  color: var(--muted);
  font-weight: 500;
  font-size: 10.5px;
  text-align: right;
  padding: 0 4px 9px;
}
.zsii .dt td {
  padding: 6px 4px;
  border-top: 1px solid rgba(64, 98, 130, 0.14);
  text-align: right;
}
.zsii .dt td.name {
  color: #dfe8f3;
  font-family: var(--mono);
  font-size: 11px;
}
.zsii .dt td.val {
  font-family: var(--mono);
  color: var(--text);
}
.zsii .dt td.sig {
  font-weight: 600;
}
.zsii .dt td.imp {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap;
}
.zsii .up {
  color: var(--green);
}
.zsii .down {
  color: var(--red);
}

/* ============ CENTER ARENA ============ */
.zsii .center-head {
  text-align: center;
  margin: 0 0 10px;
}
.zsii .col--hero .center-head b {
  font-size: 16px;
  color: #f4f8fc;
}
.zsii .col--hero .center-head .card-title {
  font-size: 16px;
  color: #f4f8fc;
}
.zsii .center-head b {
  font-size: 15px;
  color: #eef4fc;
  font-weight: 600;
}
.zsii .center-head .intel-card-title-row {
  justify-content: center;
}
.zsii .center-head .intel-card-title-row .card-title {
  flex: 0 1 auto;
  font-size: 15px;
  color: #eef4fc;
  font-weight: 600;
}
.zsii .col--hero .center-head .intel-card-title-row .card-title {
  font-size: 16px;
  color: #f4f8fc;
}
.zsii .center-head span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blue);
  margin-top: 3px;
  font-family: var(--mono);
}

/* ============ INTELLIGENCE HELP POPOVER ============ */
.zsii .col--hero > .card,
.zsii .col--side > .card {
  overflow: visible;
}
.zsii .card--has-help,
.zsii .foot-card--has-help,
.zsii .intel-summary--has-help,
.zsii .reg-active-banner--has-help {
  position: relative;
}
.zsii .intel-card-help-corner {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 3;
}
.zsii .card--has-help > .card-title {
  padding-inline-end: 38px;
}
.zsii .foot-card--has-help > .foot-title {
  padding-inline-end: 38px;
}
.zsii .intel-summary--has-help .intel-summary__verdict {
  padding-inline-end: 38px;
}
.zsii .reg-active-banner--has-help .reg-active-copy {
  padding-inline-end: 38px;
}
.zsii .card--has-help .cs-title,
.zsii .card--has-help .dte-head {
  padding-inline-end: 38px;
}
.zsii .intel-card-help-title {
  margin-bottom: 11px;
}
.zsii .intel-card-help-title--flat {
  margin-bottom: 0;
}
.zsii .intel-card-help-title .card-title,
.zsii .intel-card-help-title .se-horizon__title,
.zsii .intel-card-help-title .se-decision-evolution__title {
  margin: 0;
  padding-inline-end: 38px;
}
.zsii .se-trend-age__title-row .se-trend-age__title {
  padding-inline-end: 38px;
}
.zsii .center-head {
  padding-inline-end: 38px;
}
.zsii .intel-help-popover {
  position: relative;
  flex-shrink: 0;
}
.zsii .intel-help-popover__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.zsii .intel-help-popover__trigger:hover,
.zsii .intel-help-popover__trigger[aria-expanded='true'] {
  background: rgba(22, 168, 255, 0.1);
  border-color: rgba(22, 168, 255, 0.28);
  color: var(--cyan);
}
.zsii .intel-help-popover__trigger:focus-visible {
  outline: 2px solid rgba(22, 168, 255, 0.45);
  outline-offset: 2px;
}
.zsii .intel-help-popover__panel--floating,
.intel-help-popover__panel--floating {
  --text: #e5edf7;
  --muted: #8fa3b8;
  --green: #00e68a;
  --red: #ff4d5e;
  --cyan: #22d3ee;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  box-sizing: border-box;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  text-align: start;
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  position: fixed;
  z-index: var(--zs-z-d-page-popover, 1000); /* Desktop V2 layer scale (was 9999) */
  width: 420px;
  max-width: calc(100vw - 24px);
  max-height: min(78vh, 620px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  pointer-events: auto;
  animation: intel-help-popover-in 0.14s ease-out;
}
.intel-help-popover__panel--floating::-webkit-scrollbar,
.intel-help-popover__panel::-webkit-scrollbar {
  display: none;
}
.intel-help-popover__panel--floating .intel-help-popover__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.intel-help-popover__panel--floating .intel-help-popover__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #f4f8fc;
}
.intel-help-popover__panel--floating .intel-help-popover__close {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.intel-help-popover__panel--floating .intel-help-popover__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.intel-help-popover__panel--floating .intel-help-popover__service {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 168, 255, 0.16);
  background: rgba(22, 168, 255, 0.07);
}
.intel-help-popover__panel--floating .intel-help-popover__service-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(22, 168, 255, 0.22);
  background: rgba(22, 168, 255, 0.12);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}
.intel-help-popover__panel--floating .intel-help-popover__service-title {
  margin: 8px 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #f4f8fc;
}
.intel-help-popover__panel--floating .intel-help-popover__step {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.intel-help-popover__panel--floating .intel-help-popover__step:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.intel-help-popover__panel--floating .intel-help-popover__step--why {
  padding: 10px 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 196, 86, 0.22);
  background: rgba(255, 196, 86, 0.07);
}
.intel-help-popover__panel--floating .intel-help-popover__step--why .intel-help-popover__label {
  color: #ffd98a;
}
.intel-help-popover__panel--floating .intel-help-popover__step--why .intel-help-popover__text {
  color: #f8f4ea;
}
.intel-help-popover__panel--floating .intel-help-popover__label--sub {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.intel-help-popover__panel--floating .intel-help-popover__label--live {
  margin-bottom: 10px;
  color: var(--cyan);
}
.intel-help-popover__panel--floating .intel-help-popover__block--live .intel-help-popover__label:not(.intel-help-popover__label--live) {
  margin-top: 10px;
}
.intel-help-popover__panel--floating .intel-help-popover__block--live .intel-help-popover__label:not(.intel-help-popover__label--live):first-of-type {
  margin-top: 0;
}
.intel-help-popover__panel--floating .intel-help-popover__service .intel-help-popover__label {
  margin-top: 10px;
}
.intel-help-popover__panel--floating .intel-help-popover__service .intel-help-popover__label:first-of-type {
  margin-top: 0;
}
.intel-help-popover__panel--floating .intel-help-popover__bullets {
  margin: 0 0 4px;
  padding-inline-start: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text);
}
.intel-help-popover__panel--floating .intel-help-popover__service + .intel-help-popover__block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.intel-help-popover__panel--floating .intel-help-popover__block + .intel-help-popover__block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.intel-help-popover__panel--floating .intel-help-popover__label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.intel-help-popover__panel--floating .intel-help-popover__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}
.intel-help-popover__panel--floating .intel-help-popover__drivers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.intel-help-popover__panel--floating .intel-help-popover__driver {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.intel-help-popover__panel--floating .intel-help-popover__driver-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.intel-help-popover__panel--floating .intel-help-popover__driver-impact {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
}
.intel-help-popover__panel--floating .intel-help-popover__driver-impact--up {
  color: var(--green);
}
.intel-help-popover__panel--floating .intel-help-popover__driver-impact--down {
  color: var(--red);
}
.intel-help-popover__panel--floating .intel-help-popover__driver-impact--neutral {
  color: var(--cyan);
}
@keyframes intel-help-popover-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zsii .arena {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

/* Decision engine — final size balance (internal scene only, card box unchanged) */
.zsii .card--decision-hero .arena {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* Bottom bubble (Volume @ ~91% top) + glow/float need clearance below the square box */
  padding-bottom: clamp(18px, 5.5%, 40px);
}

.zsii .card--decision-hero .arena-scene {
  --arena-scene-scale: 0.945;
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
  transform: scale(var(--arena-scene-scale));
  transform-origin: center center;
}

.zsii .card--decision-hero .arena-nodes {
  position: absolute;
  inset: 0;
}

.zsii .arena svg.rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
@keyframes zsii-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes zsii-spinr {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes zsii-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes zsii-core-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.015);
  }
}

@keyframes zsii-node-float {
  0%,
  100% {
    transform: translate(-50%, calc(-50% - 2px));
  }
  50% {
    transform: translate(-50%, calc(-50% + 2px));
  }
}

@keyframes zsii-energy-glow {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 0.94;
  }
}

@keyframes zsii-core-radial-glow {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}
.zsii .ring-spin {
  transform-origin: 300px 300px;
  animation: zsii-spin 60s linear infinite;
}
.zsii .ring-spin2 {
  transform-origin: 300px 300px;
  animation: zsii-spinr 90s linear infinite;
}

.zsii .core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  text-align: center;
  z-index: 5;
}
.zsii .core .ct {
  font-size: 12.5px;
  color: #cdd9e6;
  margin-bottom: 6px;
}
.zsii .core .cd {
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 26px rgba(0, 230, 138, 0.55);
}
.zsii .core .cp {
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
  line-height: 1.05;
  margin: 2px 0 6px;
  text-shadow: 0 0 30px rgba(0, 230, 138, 0.6);
}
.zsii .core .cs {
  font-size: 12px;
  color: #cdd9e6;
}
.zsii .core .cs2 {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.zsii .core--interactive {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.zsii .core--interactive:hover {
  transform: translate(-50%, -50%) scale(1.02);
  filter: brightness(1.06);
}

.zsii .core--interactive:focus-visible {
  outline: 2px solid rgba(0, 230, 138, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}

.zsii .core-read-hint {
  display: block;
  font-size: 9px;
  line-height: 1.2;
  color: var(--muted);
  opacity: 0.72;
  margin-top: 5px;
  letter-spacing: 0.01em;
}

.zsii .bub {
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1.5px solid var(--c);
  background: radial-gradient(circle at 50% 38%, rgba(5, 10, 18, 0.55), rgba(2, 4, 10, 0.94));
  box-shadow: 0 0 22px -4px var(--c), inset 0 0 18px -8px var(--c);
  text-decoration: none;
}
.zsii a.bub {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.zsii a.bub:hover {
  box-shadow: 0 0 30px -2px var(--c), inset 0 0 18px -8px var(--c);
}
.zsii .col--hero .bub {
  width: 120px;
  height: 120px;
}
.zsii .col--hero .bub .bv {
  font-size: 20px;
}
.zsii .bub .bn {
  font-size: 10px;
  color: #cfdae7;
  font-weight: 500;
}
.zsii .bub .bv {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: var(--mono);
  line-height: 1.05;
}
.zsii .bub .bs {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--c);
}
.zsii .bub .spark {
  margin-top: 2px;
}
.zsii .bub.bub--na {
  opacity: 0.78;
  border-style: dashed;
  box-shadow:
    0 0 16px -6px rgba(143, 163, 184, 0.35),
    inset 0 0 14px -8px rgba(143, 163, 184, 0.18);
}
.zsii .bub.bub--na .bn {
  color: var(--muted);
}
.zsii .bub.bub--na .bv,
.zsii .bub.bub--na .bs {
  color: var(--muted);
}

/* ============ IMPACT CARDS ============ */
.zsii .center-sub {
  margin-top: 0;
}
.zsii .cs-title {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #eef4fc;
  margin: 0 0 10px;
}
.zsii .impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.zsii .imp-card {
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: 11px;
  padding: 9px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zsii .imp-card .k {
  font-size: 11px;
  color: #cfdae7;
  font-family: var(--mono);
}
.zsii .imp-card .v {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--mono);
}
.zsii .imp-card .t {
  font-size: 9px;
  color: var(--muted);
}

/* Impact panel — simplified (Signal Engine) */
.zsii .se-impact__leaders {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.zsii .se-impact__leaders-head {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  line-height: 1.4;
}
.zsii .se-impact__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(64, 98, 130, 0.22);
}
.zsii .se-impact__name {
  font-size: 12px;
  font-weight: 600;
  color: #dfe8f3;
  font-family: var(--mono);
  line-height: 1.35;
}
.zsii .se-impact__val {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
  flex: none;
  line-height: 1.2;
}
.zsii .se-impact__val.up {
  color: var(--green);
}
.zsii .se-impact__val.down {
  color: var(--red);
}
.zsii .decision-bar--compact {
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(64, 98, 130, 0.14);
}

/* ============ DECISION TRANSITION ENGINE ============ */
.zsii .dte-card {
  padding: 12px 14px 13px;
}
.zsii .dte-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.zsii .dte-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #eef4fc;
}
.zsii .dte-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 230, 138, 0.08);
  border: 1px solid rgba(0, 230, 138, 0.28);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
}
.zsii .dte-current-lbl {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
}
.zsii .dte-current-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}
.zsii .dte-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.zsii .dte-path {
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: 11px;
  padding: 9px 10px 8px;
}
.zsii .dte-path--up {
  border-color: rgba(0, 230, 138, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 138, 0.04);
}
.zsii .dte-path--down {
  border-color: rgba(255, 77, 94, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 94, 0.04);
}
.zsii .dte-path-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.zsii .dte-path-arrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}
.zsii .dte-path-target {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}
.zsii .dte-path--up .dte-path-target {
  color: var(--green);
}
.zsii .dte-path--down .dte-path-target {
  color: var(--red);
}
.zsii .dte-path-lbl {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.zsii .dte-conds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.zsii .dte-cond {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #c7d3e0;
}
.zsii .dte-cond-mark {
  width: 14px;
  height: 14px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
.zsii .dte-cond.is-met .dte-cond-mark {
  background: rgba(0, 230, 138, 0.14);
  border-color: rgba(0, 230, 138, 0.35);
  color: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 138, 0.25);
}
.zsii .dte-cond-txt {
  font-family: var(--mono);
  font-size: 10.5px;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ============ DECISION DRIVER ENGINE ============ */
.zsii .dde-card .card-title,
.zsii .sme-card .card-title,
.zsii .iae-card .card-title,
.zsii .cfe-card .card-title {
  margin-bottom: 11px;
}
.zsii .dde-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zsii .dde-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 11px;
  background: var(--panel2);
  border: 1px solid rgba(64, 98, 130, 0.22);
}
.zsii .dde-row.is-top {
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.1), rgba(8, 20, 34, 0.86));
  border-color: rgba(0, 230, 138, 0.28);
  box-shadow: 0 0 14px -8px rgba(0, 230, 138, 0.28);
}
.zsii .dde-rank {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
}
.zsii .dde-row.is-top .dde-rank {
  color: var(--green);
  background: rgba(0, 230, 138, 0.12);
  border-color: rgba(0, 230, 138, 0.3);
}
.zsii .dde-name {
  width: 74px;
  flex: none;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #dfe8f3;
  font-family: var(--mono);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zsii .dde-row.is-top .dde-name {
  color: #fff;
}
.zsii .dde-bar {
  flex: 1;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .dde-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.zsii .dde-pct {
  width: 34px;
  flex: none;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ============ SIGNAL MATURITY ENGINE ============ */
.zsii .sme-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--sme-c) 10%, var(--panel2));
  border: 1px solid color-mix(in srgb, var(--sme-c) 32%, transparent);
  box-shadow: 0 0 20px -10px var(--sme-c);
}
.zsii .sme-active-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}
.zsii .sme-active-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--sme-c);
}
.zsii .sme-track-wrap {
  margin-bottom: 10px;
}
.zsii .sme-track {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 12px;
  overflow: visible;
}
.zsii .sme-track-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  opacity: 0.85;
  box-shadow: 0 0 10px var(--sme-c, rgba(0, 230, 138, 0.4));
}
.zsii .sme-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sme-c, var(--green));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
.zsii .sme-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.zsii .sme-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.zsii .sme-phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.15s;
}
.zsii .sme-phase.is-past .sme-phase-dot {
  background: color-mix(in srgb, var(--sme-c) 55%, transparent);
  border-color: color-mix(in srgb, var(--sme-c) 70%, transparent);
}
.zsii .sme-phase.is-active .sme-phase-dot {
  width: 10px;
  height: 10px;
  background: var(--sme-c);
  border-color: var(--sme-c);
  box-shadow: 0 0 10px var(--sme-c);
}
.zsii .sme-phase-lbl {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.zsii .sme-phase.is-active .sme-phase-lbl {
  color: var(--sme-c);
  font-weight: 700;
}
.zsii .sme-hint {
  margin: 0 0 9px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #c7d3e0;
}
.zsii .sme-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 9px;
  border-top: 1px solid rgba(64, 98, 130, 0.18);
  font-size: 10.5px;
  color: var(--muted);
}
.zsii .sme-meta b {
  color: var(--text);
  font-weight: 700;
}

/* ============ INDICATOR AGREEMENT ENGINE ============ */
.zsii .iae-body {
  display: flex;
  align-items: center;
  gap: 16px;
}
.zsii .iae-ring {
  --p: 78;
  --c: var(--green);
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--c) calc(var(--p) * 3.6deg), rgba(255, 255, 255, 0.06) 0);
  box-shadow: 0 0 18px -10px var(--c);
}
.zsii .iae-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0a1626;
}
.zsii .iae-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.zsii .iae-ring-inner b {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c);
  line-height: 1;
}
.zsii .iae-copy {
  flex: 1;
  min-width: 0;
}
.zsii .iae-count {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.zsii .iae-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: #dfe8f3;
  margin-bottom: 5px;
}
.zsii .iae-sub {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ============ CONFLICT ENGINE ============ */
.zsii .cfe-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cfe-c) 10%, var(--panel2));
  border: 1px solid color-mix(in srgb, var(--cfe-c) 32%, transparent);
  box-shadow: 0 0 18px -10px var(--cfe-c);
}
.zsii .cfe-level-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}
.zsii .cfe-level-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--cfe-c);
  font-family: var(--mono);
}
.zsii .cfe-signals {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 11px;
}
.zsii .cfe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}
.zsii .cfe-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #dfe8f3;
  font-family: var(--mono);
}
.zsii .cfe-side {
  font-size: 11px;
  font-weight: 700;
}
.zsii .cfe-row--buy .cfe-side {
  color: var(--green);
}
.zsii .cfe-row--sell .cfe-side {
  color: var(--red);
}
.zsii .cfe-row--neutral .cfe-side {
  color: var(--muted);
}
.zsii .cfe-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(64, 98, 130, 0.18);
}
.zsii .cfe-scale-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.zsii .cfe-scale-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.zsii .cfe-scale-item.is-active .cfe-scale-dot {
  width: 10px;
  height: 10px;
  background: var(--cfe-c);
  border-color: var(--cfe-c);
  box-shadow: 0 0 10px var(--cfe-c);
}
.zsii .cfe-scale-lbl {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
}
.zsii .cfe-scale-item.is-active .cfe-scale-lbl {
  color: var(--cfe-c);
  font-weight: 700;
}

/* ============ CHANGE DETECTION ENGINE ============ */
.zsii .cde-card .card-title {
  margin-bottom: 9px;
}
.zsii .cde-when {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(22, 168, 255, 0.08);
  border: 1px solid rgba(22, 168, 255, 0.22);
}
.zsii .cde-when b {
  color: var(--blue);
  font-weight: 700;
}
.zsii .cde-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 11px;
}
.zsii .cde-event {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}
.zsii .cde-event-ico {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
}
.zsii .cde-event-txt {
  font-size: 12px;
  font-weight: 600;
  color: #dfe8f3;
  line-height: 1.4;
}
.zsii .cde-delta {
  padding: 10px 11px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.08), rgba(8, 20, 34, 0.86));
  border: 1px solid rgba(0, 230, 138, 0.22);
}
.zsii .cde-delta-lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.zsii .cde-delta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zsii .cde-delta-from {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}
.zsii .cde-delta-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  direction: ltr;
}
.zsii .cde-delta-to {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 16px rgba(0, 230, 138, 0.4);
}
.zsii .cde-delta-change {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
}
.zsii .cde-delta-change.up {
  background: rgba(0, 230, 138, 0.12);
  border: 1px solid rgba(0, 230, 138, 0.28);
  color: var(--green);
}
.zsii .cde-delta-change.down {
  background: rgba(255, 82, 82, 0.12);
  border: 1px solid rgba(255, 82, 82, 0.28);
  color: var(--red);
}
.zsii .cde-delta-change.flat {
  background: rgba(120, 160, 200, 0.08);
  border: 1px solid rgba(120, 160, 200, 0.18);
  color: var(--muted);
}

/* ============ VERDICT MEMORY (Standing Verdict V1) ============ */
.zsii .se-verdict-memory__subtitle {
  margin: -4px 0 8px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .se-verdict-memory__intro {
  margin: 0 0 10px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}
.zsii .se-verdict-memory__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.zsii .se-verdict-memory__lbl {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 2px;
}
.zsii .se-verdict-memory__hint {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 4px;
  opacity: 0.85;
}
.zsii .se-verdict-memory__stats b {
  font-size: 15px;
  color: #eef4fc;
}
.zsii .se-verdict-memory__latest {
  margin: 0;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .se-verdict-memory__lifecycle {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .se-verdict-memory__footnote {
  margin: 6px 0 0;
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.4;
  opacity: 0.9;
}
.zsii .se-verdict-memory__empty {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.zsii .se-verdict-memory__empty--asset {
  padding: 8px 0 2px;
  line-height: 1.45;
}

/* ============ EPISTEMIC HORIZON ============ */
.zsii .se-horizon {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.zsii .se-horizon:hover {
  border-color: rgba(96, 125, 170, 0.34);
  box-shadow: var(--se-shadow, 0 12px 36px rgba(0, 0, 0, 0.26));
}
.zsii .se-horizon--green {
  border-color: rgba(0, 230, 138, 0.22);
}
.zsii .se-horizon--orange {
  border-color: rgba(245, 158, 11, 0.22);
}
.zsii .se-horizon--red {
  border-color: rgba(255, 77, 94, 0.2);
}

.zsii .se-horizon__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zsii .se-horizon__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.zsii .se-horizon__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.25;
}
.zsii .se-horizon__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  cursor: help;
}
.zsii .se-horizon__info svg {
  width: 15px;
  height: 15px;
}
.zsii .se-horizon__subtitle {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.zsii .se-horizon__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px 14px;
  align-items: center;
  direction: ltr;
}
.zsii .se-horizon__gauge {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
  aspect-ratio: 200 / 118;
}
.zsii .se-horizon__gauge-svg {
  display: block;
  width: 100%;
  height: auto;
}
.zsii .se-horizon__gauge-score {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.zsii .se-horizon__gauge-num {
  font-family: var(--mono);
  font-size: clamp(34px, 7vw, 44px);
  font-weight: 700;
  color: #f4f8ff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(0, 230, 138, 0.35);
}
.zsii .se-horizon__gauge-denom {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

.zsii .se-horizon__tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.zsii .se-horizon__tier {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(120, 160, 200, 0.1);
  color: #b8c8da;
  font-size: 11.5px;
  line-height: 1.3;
}
.zsii .se-horizon__tier:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.zsii .se-horizon__tier.is-active {
  color: #eef4fc;
}
.zsii .se-horizon__tier.is-active .se-horizon__tier-label {
  font-weight: 700;
  color: #fff;
}
.zsii .se-horizon__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.zsii .se-horizon__dot--green {
  background: var(--green);
  color: var(--green);
}
.zsii .se-horizon__dot--orange {
  background: var(--orange);
  color: var(--orange);
}
.zsii .se-horizon__dot--red {
  background: var(--red);
  color: var(--red);
}
.zsii .se-horizon__tier-label {
  font-weight: 600;
  white-space: nowrap;
}
.zsii .se-horizon__tier-range {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}
.zsii .se-horizon__tier.is-active .se-horizon__tier-range {
  color: #c5d2df;
}
.zsii .se-horizon__tier-desc {
  text-align: end;
  color: var(--muted);
  white-space: nowrap;
}
.zsii .se-horizon__tier.is-active .se-horizon__tier-desc {
  color: #dce6f2;
}

.zsii .se-horizon__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(120, 160, 200, 0.12);
  direction: ltr;
}
.zsii .se-horizon__intel-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(8, 14, 24, 0.55);
  border: 1px solid rgba(120, 160, 200, 0.1);
}
.zsii .se-horizon__intel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(22, 168, 255, 0.08);
  border: 1px solid rgba(22, 168, 255, 0.16);
  color: #8eb4d9;
}
.zsii .se-horizon__intel-icon svg {
  width: 15px;
  height: 15px;
}
.zsii .se-horizon__intel-icon--target {
  background: rgba(0, 230, 138, 0.07);
  border-color: rgba(0, 230, 138, 0.16);
  color: #6ee7b7;
}
.zsii .se-horizon__intel-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.zsii .se-horizon__intel-lbl {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.3;
}
.zsii .se-horizon__intel-val {
  font-size: 13px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1.35;
}

.zsii .se-horizon__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 2px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.35;
}
.zsii .se-horizon__footer svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.85;
}

.zsii .se-horizon__empty {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .zsii .se-horizon__main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .zsii .se-horizon__gauge {
    max-width: 200px;
  }
  .zsii .se-horizon__tier-desc {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .zsii .se-horizon__cards {
    grid-template-columns: 1fr;
  }
  .zsii .se-horizon__tier {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 3px;
  }
  .zsii .se-horizon__tier-range {
    grid-column: 2;
  }
  .zsii .se-horizon__tier-desc {
    grid-column: 1 / -1;
    text-align: start;
    padding-inline-start: 18px;
  }
}

/* ============ INDICATOR MEMORY ENGINE ============ */
.zsii .ime-card .card-title {
  margin-bottom: 6px;
}
.zsii .ime-note {
  margin: 0 0 11px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .ime-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zsii .ime-item {
  padding: 9px 10px;
  border-radius: 11px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}
.zsii .ime-item-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}
.zsii .ime-name {
  font-size: 12px;
  font-weight: 700;
  color: #dfe8f3;
  font-family: var(--mono);
}
.zsii .ime-eq {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  direction: ltr;
}
.zsii .ime-value {
  font-size: 14px;
  font-weight: 700;
}
.zsii .ime-sample {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.zsii .ime-sample b {
  color: var(--blue);
  font-weight: 700;
}
.zsii .ime-split {
  display: flex;
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 7px;
}
.zsii .ime-split-seg {
  display: block;
  height: 100%;
}
.zsii .ime-split-seg--up {
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 138, 0.45);
}
.zsii .ime-split-seg--down {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 77, 94, 0.35);
}
.zsii .ime-split-seg--neutral {
  background: var(--muted);
}
.zsii .ime-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.zsii .ime-outcome {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
}
.zsii .ime-outcome-pct {
  font-weight: 700;
  font-size: 11.5px;
}
.zsii .ime-outcome--up .ime-outcome-pct {
  color: var(--green);
}
.zsii .ime-outcome--down .ime-outcome-pct {
  color: var(--red);
}
.zsii .ime-outcome-lbl {
  color: #c7d3e0;
  font-weight: 500;
}

/* ============ INDICATOR FUTURE SCENARIOS ============ */
.zsii .ifs-card .card-title {
  margin-bottom: 6px;
}
.zsii .ifs-note {
  margin: 0 0 11px;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}
.zsii .ifs-stack {
  display: flex;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}
.zsii .ifs-stack-seg {
  display: block;
  height: 100%;
}
.zsii .ifs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zsii .ifs-row {
  padding: 9px 10px;
  border-radius: 11px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}
.zsii .ifs-row.is-top {
  border-color: rgba(0, 230, 138, 0.28);
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.08), rgba(8, 20, 34, 0.86));
  box-shadow: 0 0 20px -10px rgba(0, 230, 138, 0.4);
}
.zsii .ifs-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.zsii .ifs-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef4fc;
}
.zsii .ifs-row--up .ifs-label {
  color: var(--green);
}
.zsii .ifs-row--neutral .ifs-label {
  color: var(--orange);
}
.zsii .ifs-row--down .ifs-label {
  color: var(--red);
}
.zsii .ifs-pct {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.zsii .ifs-row--up .ifs-pct {
  color: var(--green);
}
.zsii .ifs-row--neutral .ifs-pct {
  color: var(--orange);
}
.zsii .ifs-row--down .ifs-pct {
  color: var(--red);
}
.zsii .ifs-bar {
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 7px;
}
.zsii .ifs-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.zsii .ifs-drivers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.zsii .ifs-driver {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
}

.zsii .decision-bar {
  margin-top: 10px;
}
.zsii .db-top {
  text-align: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.zsii .db-track {
  position: relative;
  height: 11px;
  border-radius: 7px;
  background: linear-gradient(90deg, #0a9d63, #19c47d 30%, #e3c84a 62%, #ff5e6e 88%);
}
.zsii .db-knob {
  position: absolute;
  top: 50%;
  left: 63%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0a1626;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.zsii .db-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
}
.zsii .db-labels .r {
  color: var(--red);
}
.zsii .db-labels .g {
  color: var(--green);
}
.zsii .db-labels .num {
  color: var(--muted);
}

/* ============ LEVELS LIST ============ */
.zsii .lv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(64, 98, 130, 0.14);
}
.zsii .lv-row:first-of-type {
  border-top: 0;
}
.zsii .ico {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
}
.zsii .lv-name {
  font-size: 12px;
  color: #dfe8f3;
  font-family: var(--mono);
  width: 84px;
  flex: none;
}
.zsii .lv-bar {
  flex: 1;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .lv-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.zsii .lv-val {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text);
  width: 42px;
  text-align: left;
  flex: none;
}
.zsii .lv-st {
  font-size: 11px;
  font-weight: 600;
  width: 96px;
  flex: none;
  text-align: left;
}

/* ============ SIGNALS ============ */
.zsii .sg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(64, 98, 130, 0.14);
}
.zsii .sg-row:first-of-type {
  border-top: 0;
}
.zsii .sg-name {
  font-size: 12px;
  color: #dfe8f3;
  font-family: var(--mono);
  width: 78px;
  flex: none;
}
.zsii .sg-txt {
  flex: 1;
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
}
.zsii .dots {
  display: flex;
  gap: 4px;
  flex: none;
}
.zsii .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.zsii .dots i.on {
  background: var(--c);
  box-shadow: 0 0 6px var(--c);
}
.zsii .sg-btn {
  margin-top: 9px;
  width: 100%;
  background: rgba(22, 168, 255, 0.08);
  border: 1px solid rgba(22, 168, 255, 0.3);
  color: var(--blue);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.15s;
}
.zsii .sg-btn:hover {
  background: rgba(22, 168, 255, 0.15);
}
.zsii .sg-btn:focus-visible {
  outline: 2px solid rgba(22, 168, 255, 0.55);
  outline-offset: 2px;
}
.zsii #intel-signal-arena {
  scroll-margin-top: 88px;
  scroll-margin-bottom: 24px;
}
.zsii #intel-signal-arena.is-signal-focus {
  outline: 2px solid rgba(22, 168, 255, 0.42);
  outline-offset: 3px;
  border-radius: var(--se-r-lg, 16px);
}

/* ============ TREND ============ */
.zsii .trend {
  display: flex;
  align-items: center;
  gap: 14px;
}
.zsii .trend-donut {
  --p: 68;
  width: 118px;
  height: 118px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(from -125deg, var(--green) calc(var(--p) * 3.6deg), rgba(255, 255, 255, 0.06) 0);
  box-shadow: 0 0 20px -12px var(--green);
}
.zsii .trend-donut::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #0a1626;
}
.zsii .trend-donut .tv {
  position: relative;
  z-index: 1;
  text-align: center;
}
.zsii .trend-donut .tv b {
  display: block;
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  line-height: 1.25;
}
.zsii .trend-donut .tv span {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  font-family: var(--mono);
}
.zsii .trend-chart {
  flex: 1;
}
.zsii .tf-tabs {
  display: flex;
  gap: 4px;
  margin-top: 11px;
  justify-content: flex-start;
}
.zsii .tf-tabs button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.zsii .tf-tabs button.on {
  background: var(--green);
  color: #04140d;
  border-color: var(--green);
}

/* ============ INDICATOR DETAILS TABLE ============ */
.zsii .intel-rel-details {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.zsii .hero-tail .intel-details,
.zsii .intel-details.intel-details--spread {
  margin-top: 0;
  padding: 10px 12px 11px;
  background: rgba(6, 13, 24, 0.68);
  border-color: rgba(64, 98, 130, 0.18);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
  border-radius: 12px;
}

.zsii .hero-tail .intel-details .card-title,
.zsii .intel-details.intel-details--spread .card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(184, 200, 216, 0.85);
  margin-bottom: 6px;
}
.zsii .intel-details__scroll {
  max-height: none;
  overflow: visible;
  overflow-x: visible;
  scrollbar-width: auto;
}
.zsii .hero-tail .intel-details .dt,
.zsii .intel-details.intel-details--spread .dt {
  font-size: 10px;
}
.zsii .hero-tail .intel-details .dt th,
.zsii .intel-details.intel-details--spread .dt th {
  font-size: 9px;
  padding: 0 3px 5px;
  color: rgba(143, 163, 184, 0.75);
  position: static;
  background: transparent;
}
.zsii .hero-tail .intel-details .dt td,
.zsii .intel-details.intel-details--spread .dt td {
  padding: 4px 3px;
  border-top-color: rgba(64, 98, 130, 0.08);
}
.zsii .hero-tail .intel-details .dt td.name,
.zsii .intel-details.intel-details--spread .dt td.name {
  font-size: 9.5px;
}
.zsii .hero-tail .intel-details .dt td.sig,
.zsii .hero-tail .intel-details .dt td.val,
.zsii .hero-tail .intel-details .dt td.imp,
.zsii .intel-details.intel-details--spread .dt td.sig,
.zsii .intel-details.intel-details--spread .dt td.val,
.zsii .intel-details.intel-details--spread .dt td.imp {
  font-size: 9.5px;
}

/* ============ FINAL STATUS CHIPS (inside Final Conclusion) ============ */
.zsii .final-status-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 28px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 13, 24, 0.45);
  border: 1px solid rgba(64, 98, 130, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zsii .final-status-chips__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.zsii .final-status-chips__sep {
  margin: 0 9px;
  color: rgba(143, 163, 184, 0.42);
  font-size: 10px;
  line-height: 1;
  user-select: none;
}

.zsii .final-status-chips__label {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(143, 163, 184, 0.88);
  letter-spacing: 0.01em;
}

.zsii .final-status-chips__value {
  font-size: 10px;
  font-weight: 700;
  color: #eef4fc;
  line-height: 1;
}

.zsii .final-status-chips__value.num {
  font-family: var(--mono);
  color: var(--green);
}

.zsii .intel-summary,
.zsii .final-conclusion,
.zsii .final-summary {
  position: relative !important;
  z-index: 1 !important;
  transform: none !important;
  margin-top: 24px !important;
  margin-bottom: 48px !important;
  clear: both !important;
}

.zsii .intel-summary *,
.zsii .final-conclusion *,
.zsii .final-summary * {
  position: relative;
}

/* Arena internals keep absolute positioning */
.zsii .arena .bub,
.zsii .arena .core,
.zsii .arena svg.rings,
.zsii .arena svg.rings * {
  position: absolute;
}

.zsii .arena .core {
  transform: translate(-50%, -50%);
}

.zsii .arena .bub {
  transform: translate(-50%, -50%);
}

.zsii .intel-summary {
  padding: 22px 28px 26px;
  border-radius: 16px;
  border: 1px solid rgba(96, 125, 170, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 230, 138, 0.14), transparent 48%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(6, 12, 22, 0.96), rgba(5, 10, 18, 0.92));
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.zsii .intel-summary__verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

.zsii .intel-summary__eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2.6px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--mono);
  margin-bottom: 10px;
}

.zsii .intel-summary__decision {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 auto 8px;
  padding: 14px 26px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 230, 138, 0.14), transparent 72%);
  border: 1px solid rgba(0, 230, 138, 0.22);
  box-shadow: 0 0 40px -12px rgba(0, 230, 138, 0.45);
}

.zsii .intel-summary__decision strong {
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.05;
  text-shadow:
    0 0 32px rgba(0, 230, 138, 0.6),
    0 0 10px rgba(0, 230, 138, 0.35);
}

.zsii .intel-summary__pct {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow:
    0 0 28px rgba(0, 230, 138, 0.35),
    0 0 8px rgba(255, 255, 255, 0.25);
}

.zsii .intel-summary__window {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.zsii .intel-summary__divider {
  height: 1px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, transparent, rgba(96, 125, 170, 0.35), transparent);
}

.zsii .intel-summary__head {
  text-align: center;
  margin-bottom: 7px;
}

.zsii .intel-summary__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #d8e4f0;
}

.zsii .intel-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
}

/* Redistributed summary blocks (Decision Lab / Relationships / Memory) */
.zsii .intel-summary--standalone {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.zsii .intel-page-block {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.zsii .intel-rel-foot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.zsii .intel-rel-agreement-grid {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 0 auto 18px;
}

.zsii .foot-card--rel,
.zsii .foot-card--memory {
  min-height: 0;
}

.zsii .foot-card {
  background: rgba(6, 14, 26, 0.55);
  border: 1px solid rgba(64, 105, 145, 0.24);
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.zsii .foot-card--advice {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 230, 138, 0.07), transparent 42%),
    rgba(6, 14, 26, 0.55);
}

.zsii .foot-title {
  font-size: 11px;
  font-weight: 600;
  color: #b8c9d9;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.zsii .chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.zsii .chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(64, 98, 130, 0.22);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
}
.zsii .chip .nm {
  color: #dfe8f3;
  font-family: var(--mono);
}
.zsii .chip .vl {
  font-family: var(--mono);
  font-weight: 700;
}
.zsii .advice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.zsii .advice p {
  margin: 0;
  font-size: 11px;
  color: #c0ced9;
  line-height: 1.45;
}
.zsii .advice .target {
  flex: none;
}

/* ============ INTEL NAV + SUB-PAGES ============ */
.zsii .intel-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 14px;
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.07) 0%, rgba(139, 92, 246, 0.025) 40%, transparent 72%),
    radial-gradient(ellipse 130% 95% at 50% -28%, rgba(139, 92, 246, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.94), rgba(2, 4, 10, 0.88));
  border: 1px solid rgba(90, 130, 180, 0.22);
  border-bottom: 1px solid rgba(90, 130, 180, 0.24);
  border-radius: 0 0 16px 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-x: auto;
  overflow-y: visible;
}

.zsii .intel-nav__bar {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 260px);
  align-items: stretch;
  min-height: 66px;
  width: 100%;
}

.zsii .intel-nav__inner {
  height: 66px;
  min-width: 0;
  display: block;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-inline: clamp(32px, 3.5vw, 56px);
}

.zsii .intel-nav__tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(56px, 4vw, 72px);
  width: max-content;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.zsii .intel-nav__spacer {
  min-width: 0;
  pointer-events: none;
}

.zsii .intel-nav__inner::-webkit-scrollbar {
  display: none;
}

.zsii .intel-asset-selector {
  flex: none;
  align-self: center;
  width: min(100%, 280px);
  min-width: 220px;
  max-width: 320px;
  padding-inline: 10px 8px;
  z-index: 2;
  position: relative;
  overflow: visible;
}

.zsii .intel-asset-selector__trigger-wrap {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.zsii .intel-asset-selector__trigger {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.96), rgba(5, 10, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #eef4fc;
  cursor: pointer;
  text-align: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.zsii .intel-asset-selector__trigger:hover,
.zsii .intel-asset-selector__trigger[aria-expanded='true'] {
  border-color: rgba(96, 125, 170, 0.28);
  background:
    linear-gradient(180deg, rgba(10, 18, 30, 0.98), rgba(6, 12, 22, 0.94));
}

.zsii .intel-asset-selector__trigger.is-pulse-once {
  animation: intel-asset-pulse-once 2s ease 1;
}

.zsii .intel-asset-selector__trigger.is-switching {
  opacity: 0.88;
}

.zsii .intel-asset-selector__trigger-favorite {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 196, 86, 0.24);
  background: rgba(255, 196, 86, 0.08);
  color: #ffd98a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.zsii .intel-asset-selector__trigger-favorite:hover {
  border-color: rgba(255, 196, 86, 0.38);
  background: rgba(255, 196, 86, 0.14);
  color: #ffe8a8;
}

.zsii .intel-asset-selector__trigger-favorite span:first-child {
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 960px) {
  .zsii .intel-asset-selector__trigger-favorite-label {
    display: none;
  }

  .zsii .intel-asset-selector__trigger-favorite {
    padding: 0 8px;
  }
}

@keyframes intel-asset-pulse-once {
  0% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 0 color-mix(in srgb, var(--asset-c, var(--blue)) 0%, transparent);
  }
  35% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 0 0 3px color-mix(in srgb, var(--asset-c, var(--blue)) 28%, transparent),
      0 0 22px -4px color-mix(in srgb, var(--asset-c, var(--blue)) 55%, transparent);
  }
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 0 transparent;
  }
}

.intel-asset-transition {
  position: relative;
  width: 100%;
}

.intel-asset-transition__content {
  opacity: 1;
  transition: opacity 120ms ease;
}

.intel-asset-transition--fade-out .intel-asset-transition__content {
  opacity: 0;
  transition-duration: 120ms;
}

.intel-asset-transition--loading .intel-asset-transition__content {
  opacity: 0.22;
  pointer-events: none;
  filter: blur(1px);
}

.intel-asset-transition--fade-in .intel-asset-transition__content {
  opacity: 1;
  transition-duration: 180ms;
}

.intel-asset-transition__loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  font-size: 13px;
  font-weight: 700;
  color: #eef4fc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.intel-asset-transition__loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(22, 168, 255, 0.65);
  animation: intel-asset-loader-pulse 900ms ease infinite;
}

@keyframes intel-asset-loader-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 1; }
}

.zsii [data-evo-replay='true'] .se-decision-evolution__segment {
  opacity: 0;
  transform: translateY(6px);
  animation: intel-evo-step-in 320ms ease forwards;
}

.zsii [data-evo-replay='true'] .se-decision-evolution__segment:nth-child(1) { animation-delay: 40ms; }
.zsii [data-evo-replay='true'] .se-decision-evolution__segment:nth-child(2) { animation-delay: 110ms; }
.zsii [data-evo-replay='true'] .se-decision-evolution__segment:nth-child(3) { animation-delay: 180ms; }
.zsii [data-evo-replay='true'] .se-decision-evolution__segment:nth-child(4) { animation-delay: 250ms; }
.zsii [data-evo-replay='true'] .se-decision-evolution__segment:nth-child(5) { animation-delay: 320ms; }
.zsii [data-evo-replay='true'] .se-decision-evolution__segment--final { animation-delay: 420ms; }

@keyframes intel-evo-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zsii .intel-asset-selector__icon,
.intel-asset-icon,
.intel-asset-icon--image {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.zsii .intel-asset-selector__icon {
  padding: 0;
}

.intel-asset-icon--forex {
  position: relative;
  display: inline-block;
  flex: none;
  overflow: visible;
}

.intel-asset-icon__flag {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 0 0 1.5px rgba(8, 12, 20, 0.88);
}

.intel-asset-icon__flag--primary {
  inset-inline-end: 0;
  top: 0;
  z-index: 2;
}

.intel-asset-icon__flag--secondary {
  inset-inline-start: 0;
  bottom: 0;
  z-index: 1;
}

.intel-asset-icon--badge {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--badge-accent, #0066cc) 35%, white), transparent 55%),
    linear-gradient(160deg, var(--badge-bg, #071428), color-mix(in srgb, var(--badge-accent, #0066cc) 28%, #071428));
  border: 1px solid color-mix(in srgb, var(--badge-accent, #0066cc) 45%, transparent);
  color: #eef4fc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--mono);
}

.intel-asset-icon--generated,
.intel-asset-icon--commodity {
  flex: none;
  display: block;
}

.zsii .intel-asset-selector__pair {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #eef4fc;
  font-family: var(--mono);
}

.zsii .intel-asset-selector__chev {
  flex: none;
  font-size: 10px;
  line-height: 1;
  color: var(--muted);
  opacity: 0.85;
}

.intel-asset-selector__menu,
.intel-asset-selector__menu--floating {
  box-sizing: border-box;
  position: fixed;
  z-index: var(--zs-z-d-page-popover, 1000); /* Desktop V2 layer scale (was 9999) */
  display: flex;
  flex-direction: column;
  width: 380px;
  min-width: 360px;
  max-width: 420px;
  max-height: 420px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  pointer-events: auto;
}

.intel-asset-selector__menu-head {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: none;
  padding: 10px 10px 8px;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.99), rgba(8, 12, 20, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.intel-asset-selector__search {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4fc;
  font-size: 12px;
  outline: none;
}

.intel-asset-selector__search::placeholder {
  color: var(--muted);
}

.intel-asset-selector__search:focus {
  border-color: rgba(22, 168, 255, 0.28);
}

.intel-asset-selector__menu-scroll {
  flex: 1;
  min-height: 0;
  max-height: min(360px, calc(420px - 58px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 10px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.intel-asset-selector__menu-scroll::-webkit-scrollbar {
  display: none;
}

.intel-asset-selector__group + .intel-asset-selector__group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.intel-asset-selector__group-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(199, 211, 224, 0.72);
}

.intel-asset-selector__group-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  opacity: 0.72;
  background: currentColor;
}

.intel-asset-selector__group-label--crypto {
  color: rgba(139, 92, 246, 0.72);
}

.intel-asset-selector__group-label--forex {
  color: rgba(0, 227, 140, 0.72);
}

.intel-asset-selector__group-label--stocks {
  color: rgba(245, 158, 11, 0.72);
}

.intel-asset-selector__group-label--commodities {
  color: rgba(251, 191, 36, 0.72);
}

.intel-asset-selector__group-label--indices {
  color: rgba(56, 189, 248, 0.72);
}

.intel-asset-selector__group-label--neutral {
  color: rgba(199, 211, 224, 0.58);
}

.intel-asset-selector__group-label--favorites {
  color: rgba(255, 211, 106, 0.88);
}

.intel-asset-selector__group-label--favorites::before {
  background: rgba(255, 196, 86, 0.72);
}

.intel-asset-selector__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 8px 7px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #dfe8f3;
  text-align: start;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.intel-asset-selector__option-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: start;
}

.intel-asset-selector__favorite-btn {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(199, 211, 224, 0.72);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.intel-asset-selector__favorite-btn:hover {
  border-color: rgba(255, 196, 86, 0.28);
  background: rgba(255, 196, 86, 0.1);
  color: #ffd98a;
}

.intel-asset-selector__favorite-btn.is-on {
  border-color: rgba(255, 196, 86, 0.34);
  background: rgba(255, 196, 86, 0.14);
  color: #ffd98a;
  box-shadow: 0 0 12px rgba(255, 196, 86, 0.12);
}

.intel-asset-selector__option.is-favorited {
  border-color: rgba(255, 196, 86, 0.08);
}

.intel-asset-selector__option.is-active {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.18);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.06), 0 0 18px rgba(139, 92, 246, 0.08);
}

.intel-asset-selector__option.is-soon {
  opacity: 0.72;
}

.intel-asset-selector__option.is-soon .intel-asset-selector__option-main {
  cursor: not-allowed;
}

.intel-asset-selector__option:not(.is-soon):hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.03);
}

[dir='ltr'] .intel-asset-selector__option:not(.is-soon):hover {
  transform: translateX(-2px);
}

[dir='rtl'] .intel-asset-selector__option:not(.is-soon):hover {
  transform: translateX(2px);
}

.intel-asset-selector__option-icon,
.zsii .intel-asset-selector__option-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.intel-asset-selector__option-pair {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}

.intel-asset-selector__option-check {
  flex: none;
  color: #00e38c;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.intel-asset-selector__proxy-badge,
.zsii .intel-asset-selector__proxy-badge {
  flex: none;
  font-size: 9px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(199, 211, 224, 0.58);
  background: rgba(199, 211, 224, 0.07);
  border: 1px solid rgba(199, 211, 224, 0.14);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.35;
  cursor: help;
}

.intel-asset-selector__option-price {
  flex: none;
  min-width: 52px;
  text-align: end;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  color: rgba(199, 211, 224, 0.72);
  letter-spacing: 0.01em;
}

.intel-asset-selector__empty {
  padding: 12px 8px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.zsii .intel-nav__item {
  position: relative;
  height: 66px;
  width: auto;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: #c7d3e0;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: 18px 18px 0 0;
  transition: color 0.18s ease, background 0.18s ease;
  flex: 0 0 auto;
  flex-shrink: 0;
  overflow: visible;
}

.zsii .intel-nav__tab-label {
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  flex-shrink: 0;
  width: auto;
  min-width: fit-content;
}

.zsii .intel-nav__item svg {
  width: 20px;
  height: 20px;
  flex: none;
  opacity: 0.9;
}

.zsii .intel-nav__item:hover {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.08);
}

.zsii .intel-nav__item.active {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.04));
}

.zsii .intel-nav__item.active svg {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.55));
}

.zsii .intel-nav__item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.9);
}

.zsii .intel-nav__item.active::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.75), transparent);
}

.zsii .intel-page-head {
  margin-bottom: 12px;
}
.zsii .intel-page-head h1 {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 700;
  color: #eef4fc;
  letter-spacing: -0.01em;
}
.zsii .intel-page-head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.zsii .intel-sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.zsii .intel-sub-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zsii .intel-sub-grid--rel {
  gap: 14px;
}

.zsii .lab-breakdown-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.zsii .lab-breakdown-val {
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
}
.zsii .lab-breakdown-lbl {
  font-size: 14px;
  font-weight: 600;
  color: #dfe8f3;
}
.zsii .lab-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.zsii .lab-breakdown-item {
  padding: 8px;
  border-radius: 9px;
  background: var(--panel2);
  border: 1px solid var(--border2);
  text-align: center;
}
.zsii .lab-breakdown-k {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 4px;
}
.zsii .lab-breakdown-v {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}

.zsii .lab-why-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #c7d3e0;
  line-height: 1.6;
}

.zsii .lab-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zsii .lab-layer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zsii .lab-layer-lbl {
  width: 130px;
  flex: none;
  font-size: 11px;
  color: var(--muted);
}
.zsii .lab-layer-bar {
  flex: 1;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.zsii .lab-layer-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.zsii .lab-layer-pct {
  width: 36px;
  flex: none;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.zsii .lab-cases {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zsii .lab-case-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--panel2);
  border: 1px solid var(--border2);
  font-size: 11px;
}
.zsii .lab-case-date {
  color: var(--muted);
  width: 78px;
  flex: none;
}
.zsii .lab-case-rsi {
  color: #dfe8f3;
  width: 64px;
  flex: none;
}
.zsii .lab-case-outcome {
  margin-inline-start: auto;
  font-weight: 700;
}

.zsii .ifs-expanded {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(64, 98, 130, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zsii .ifs-exp-block {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.zsii .ifs-exp-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  width: 100%;
}
.zsii .ifs-exp-confirm {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
}

.zsii .rel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.zsii .rel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.zsii .rel-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.zsii .rel-estimated-badge {
  flex-shrink: 0;
  margin-inline-start: 0;
}
.zsii .rel-node {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: var(--mono);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel2);
  border: 1px solid var(--border2);
}
.zsii .rel-link {
  font-size: 16px;
  color: var(--blue);
  direction: ltr;
}
.zsii .rel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.zsii .rel-metric {
  text-align: center;
}
.zsii .rel-metric-lbl {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 3px;
}
.zsii .rel-metric-val {
  font-size: 15px;
  font-weight: 700;
}
.zsii .rel-bar {
  display: flex;
  height: 6px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.zsii .rel-bar-agree {
  display: block;
  height: 100%;
  background: var(--green);
}
.zsii .rel-bar-conflict {
  display: block;
  height: 100%;
  background: var(--red);
}

.zsii .reg-active-banner {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-color: color-mix(in srgb, var(--reg-c) 35%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--reg-c) 12%, var(--panel)), var(--panel2));
  box-shadow: 0 0 24px -10px var(--reg-c);
}
.zsii .reg-active-lbl {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
}
.zsii .reg-active-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--reg-c);
}
.zsii .reg-active-best {
  margin-top: 6px;
  font-size: 11px;
  color: #c7d3e0;
}
.zsii .reg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.zsii .reg-card.is-active {
  border-color: color-mix(in srgb, var(--reg-c) 40%, transparent);
  box-shadow: 0 0 22px -10px var(--reg-c);
}
.zsii .reg-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.zsii .reg-label {
  font-size: 13px;
  font-weight: 700;
  color: #eef4fc;
  font-family: var(--mono);
}
.zsii .reg-label-ar {
  font-size: 11px;
  color: var(--muted);
}
.zsii .reg-badge {
  margin-inline-start: auto;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--reg-c);
  background: color-mix(in srgb, var(--reg-c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--reg-c) 30%, transparent);
}
.zsii .reg-section {
  margin-bottom: 8px;
}
.zsii .reg-section-lbl {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}
.zsii .reg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.zsii .reg-chip {
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border2);
}
.zsii .reg-chip--best {
  color: var(--green);
  background: rgba(0, 230, 138, 0.08);
}
.zsii .reg-chip--worst {
  color: var(--red);
  background: rgba(255, 77, 94, 0.08);
}

/* ============ SIGNAL ENGINE — VISUAL POLISH (layout unchanged) ============ */
.zsii .se-engine {
  --se-r-lg: 14px;
  --se-r-md: 11px;
  --se-r-sm: 8px;
  --se-border: rgba(90, 130, 180, 0.22);
  --se-border-inner: rgba(90, 130, 180, 0.16);
  --se-divider: rgba(90, 130, 180, 0.12);
  --se-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
  --se-glow-bar: 0 0 10px;
  --se-card-bg: rgba(6, 12, 22, 0.88);
  --se-card-pad: 12px 14px;
  --se-title-gap: 10px;
  --se-list-gap: 6px;
  --se-row-gap: 6px;
  --se-inner-bg: rgba(8, 16, 28, 0.86);
  --se-inner-border: rgba(90, 130, 180, 0.16);
}

/* ============ SIGNAL ENGINE — CARD CONSISTENCY PASS ============ */
/* Unified shell: summary, strength, signal intel, top drivers, levels,
   signals, trend, primary drivers, impact on decision */
.zsii .se-engine .grid .card,
.zsii .se-engine .grid .dde-card,
.zsii .se-engine .grid .center-sub.se-impact {
  background: var(--se-card-bg);
  border: 1px solid var(--se-border);
  border-radius: var(--se-r-lg);
  padding: var(--se-card-pad);
  box-shadow: var(--se-shadow);
  backdrop-filter: blur(14px);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.zsii .se-engine .grid .card-title,
.zsii .se-engine .grid .cs-title {
  margin-bottom: var(--se-title-gap);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #c5d2df;
}

.zsii .se-engine .grid .se-signal:hover,
.zsii .se-engine .grid .se-drivers:hover {
  border-color: rgba(96, 125, 170, 0.34);
  box-shadow: var(--se-shadow);
}

.zsii .se-engine .dde-list,
.zsii .se-engine .se-drivers__list,
.zsii .se-engine .se-impact__leaders {
  gap: var(--se-list-gap);
}

.zsii .se-engine .dde-row,
.zsii .se-engine .se-drivers__row,
.zsii .se-engine .se-impact__row {
  min-height: 36px;
  padding: 7px 9px;
  border-radius: var(--se-r-md);
  background: var(--se-inner-bg);
  border: 1px solid var(--se-inner-border);
  gap: 8px;
}

.zsii .se-engine .se-signal__grid {
  gap: var(--se-list-gap);
}

.zsii .se-engine .se-signal__cell {
  background: var(--se-inner-bg);
  border: 1px solid var(--se-inner-border);
  border-radius: var(--se-r-md);
}

.zsii .se-engine .se-signal__cell:hover,
.zsii .se-engine .se-drivers__row:hover {
  border-color: rgba(96, 125, 170, 0.32);
  box-shadow: none;
}

.zsii .se-engine .lv-row,
.zsii .se-engine .sg-row {
  padding: var(--se-row-gap) 0;
}

.zsii .se-engine .dde-card .card-title {
  margin-bottom: var(--se-title-gap);
}

.zsii .se-engine .se-impact__leaders-head {
  margin-bottom: 4px;
  line-height: 1.4;
}

.zsii .se-engine .decision-bar--compact {
  padding-top: 10px;
  border-top: 1px solid var(--se-divider);
}

.zsii .se-engine .se-drivers__foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--se-divider);
}

/* Side cards — ~12% density pass (padding, row heights, vertical gaps) */
.zsii .se-engine .card.card--dense-side {
  padding: 10px 12px;
}

.zsii .se-engine .card.card--dense-side > .card-title,
.zsii .se-engine .card.card--dense-side .intel-card-title-row {
  margin-bottom: 9px;
}

.zsii .se-engine .card.card--dense-side .strength {
  gap: 12px;
}

.zsii .se-engine .card.card--dense-side .big-gauge {
  width: 70px;
  height: 70px;
}

.zsii .se-engine .card.card--dense-side .big-gauge::before {
  inset: 6px;
}

.zsii .se-engine .card.card--dense-side .big-gauge .gv b {
  font-size: 19px;
}

.zsii .se-engine .card.card--dense-side .strength .sx .lab {
  margin-bottom: 7px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__grid {
  gap: 5px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__cell {
  min-height: 48px;
  padding: 7px 9px;
  gap: 7px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__cell--age {
  min-height: 46px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__health {
  margin-top: 9px;
  padding-top: 9px;
  gap: 9px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__health-row {
  gap: 5px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__health-item {
  min-height: 39px;
  padding: 6px 7px;
}

.zsii .se-engine .card.card--dense-side.se-signal .se-signal__stability-track-head {
  margin-bottom: 5px;
}

.zsii .se-engine .card.card--dense-side.se-drivers {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.zsii .se-engine .card.card--dense-side.se-drivers > .card-title {
  margin-bottom: 17px;
}

.zsii .se-engine .card.card--dense-side.se-drivers .se-drivers__list {
  gap: 5px;
  flex: 0 0 auto;
  flex-grow: 0;
  margin-bottom: 0;
}

.zsii .se-engine .card.card--dense-side.se-drivers .se-drivers__row {
  min-height: 32px;
  padding: 6px 8px;
}

.zsii .se-engine .card.card--dense-side .lv-row,
.zsii .se-engine .card.card--dense-side .sg-row {
  padding: 5px 0;
  gap: 8px;
}

.zsii .se-engine .card.card--dense-side .sg-btn {
  margin-top: 9px;
  padding: 7px;
}

.zsii .se-engine .intel-top-shell {
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid var(--se-border);
  border-radius: var(--se-r-lg);
  overflow: visible;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 18, 0.96) 0%,
    rgba(5, 10, 18, 0.93) 58%,
    rgba(4, 8, 16, 0.9) 100%
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.zsii .se-engine .intel-top-shell .header {
  margin-bottom: 0;
  border: 0;
  border-radius: var(--se-r-lg) var(--se-r-lg) 0 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.zsii .se-engine .intel-top-shell .intel-nav {
  margin: 0;
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: var(--se-r-lg);
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.045) 0%,
    rgba(139, 92, 246, 0.015) 24%,
    transparent 52%
  );
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ============ INTELLIGENCE EXPLANATION DRAWER ============ */
.zsii .intel-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.zsii .intel-card-title-row .card-title,
.zsii .intel-card-title-row .se-horizon__title,
.zsii .intel-card-title-row .se-decision-evolution__title {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.zsii .intel-explain-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(90, 130, 180, 0.28);
  background: rgba(22, 168, 255, 0.06);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.zsii .intel-explain-trigger:hover {
  background: rgba(22, 168, 255, 0.12);
  border-color: rgba(22, 168, 255, 0.35);
  color: #7dd3fc;
}
.zsii .intel-explain-trigger__icon {
  font-size: 12px;
  line-height: 1;
}
.zsii .intel-explain-trigger--compact {
  padding: 4px 7px;
}
.zsii.intel-explain-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}
.zsii.intel-explain-root .intel-explain-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: intel-explain-fade-in 0.22s ease-out;
}
.zsii.intel-explain-root .intel-explain-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 620px;
  max-width: min(620px, 90vw);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  overflow: hidden;
  padding: 0;
  border-radius: 18px 0 0 18px;
  border: 1px solid rgba(90, 130, 180, 0.32);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(22, 168, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(12, 14, 20, 0.96), rgba(8, 9, 13, 0.92));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(22, 168, 255, 0.08),
    inset 0 0 24px rgba(22, 168, 255, 0.03);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: intel-explain-drawer-in 0.22s ease-out;
}
.zsii.intel-explain-root[dir='ltr'] .intel-explain-drawer {
  right: 0;
  border-right: 0;
}
.zsii.intel-explain-root[dir='rtl'] .intel-explain-drawer {
  left: 0;
  border-radius: 0 18px 18px 0;
  border-left: 0;
  animation-name: intel-explain-drawer-in-rtl;
}
.zsii.intel-explain-root .intel-explain-drawer__hero {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.98) 0%, rgba(12, 14, 20, 0.94) 72%, rgba(12, 14, 20, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.zsii.intel-explain-root .intel-explain-drawer__context {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.zsii.intel-explain-root .intel-explain-drawer__hero-title {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: #f4f8fc;
  letter-spacing: -0.01em;
}
.zsii.intel-explain-root .intel-explain-drawer__close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.zsii.intel-explain-root .intel-explain-drawer__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}
.zsii.intel-explain-root .intel-explain-drawer__close:focus-visible {
  outline: 2px solid rgba(22, 168, 255, 0.45);
  outline-offset: 2px;
}
.zsii.intel-explain-root .intel-explain-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 20px 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.zsii.intel-explain-root .intel-explain-drawer__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.zsii.intel-explain-root .intel-explain-drawer__block {
  padding: 14px 0 2px;
}
.zsii.intel-explain-root .intel-explain-drawer__divider {
  margin: 0 0 14px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.zsii.intel-explain-root .intel-explain-drawer__section-title {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.zsii.intel-explain-root .intel-explain-drawer__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.zsii.intel-explain-root .intel-explain-drawer__drivers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zsii.intel-explain-root .intel-explain-drawer__driver {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
}
.zsii.intel-explain-root .intel-explain-drawer__driver-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}
.zsii.intel-explain-root .intel-explain-drawer__driver-impact {
  flex-shrink: 0;
  max-width: 58%;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  text-align: end;
}
.zsii.intel-explain-root .intel-explain-drawer__driver-impact--up {
  color: var(--green);
}
.zsii.intel-explain-root .intel-explain-drawer__driver-impact--down {
  color: var(--red);
}
.zsii.intel-explain-root .intel-explain-drawer__driver-impact--neutral {
  color: var(--cyan);
}
@keyframes intel-explain-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes intel-explain-drawer-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes intel-explain-drawer-in-rtl {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 640px) {
  .zsii.intel-explain-root .intel-explain-drawer {
    top: auto;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px;
    width: auto;
    max-width: none;
    max-height: min(82vh, 720px);
    border-radius: 18px;
    border: 1px solid rgba(90, 130, 180, 0.32);
    animation-name: intel-explain-sheet-in;
  }
  .zsii.intel-explain-root[dir='rtl'] .intel-explain-drawer {
    animation-name: intel-explain-sheet-in;
  }
}
@keyframes intel-explain-sheet-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zsii .se-engine .mini {
  border-radius: var(--se-r-md);
  border-color: var(--se-border-inner);
  padding: 9px 6px 8px;
  gap: 8px;
}

.zsii .se-engine .mini-lbl {
  line-height: 1.4;
}

.zsii .se-engine .mini-st {
  line-height: 1.35;
}

.zsii .se-engine .strength {
  align-items: center;
  gap: 14px;
}

.zsii .se-engine .strength .sx .lab {
  margin-bottom: 8px;
  line-height: 1.4;
}

.zsii .se-engine .track i {
  box-shadow: var(--se-glow-bar) rgba(139, 92, 246, 0.35);
}

.zsii .se-engine .lv-row,
.zsii .se-engine .sg-row {
  align-items: center;
  border-top-color: var(--se-divider);
  gap: 8px;
}

.zsii .se-engine .ico {
  border-radius: var(--se-r-sm);
  border-color: var(--se-border-inner);
}

.zsii .se-engine .lv-name,
.zsii .se-engine .sg-name {
  line-height: 1.35;
}

.zsii .se-engine .dots i.on {
  box-shadow: 0 0 8px var(--c);
}

.zsii .se-engine .sg-txt {
  line-height: 1.4;
}

.zsii .se-engine .sg-btn {
  margin-top: 10px;
  padding: 8px;
  border-radius: var(--se-r-md);
  border-color: rgba(22, 168, 255, 0.28);
  line-height: 1.35;
}

.zsii .se-engine .trend {
  align-items: center;
  gap: 12px;
}

.zsii .se-engine .trend-donut {
  box-shadow: 0 0 18px -10px var(--green);
}

.zsii .se-engine .trend-donut .tv b {
  line-height: 1.35;
}

.zsii .se-engine .tf-tabs button {
  border-radius: var(--se-r-sm);
}

.zsii .se-engine .core .cd,
.zsii .se-engine .core .cp {
  text-shadow: 0 0 22px rgba(0, 230, 138, 0.45);
}

.zsii .se-engine .bub {
  box-shadow: 0 0 18px -6px var(--c), inset 0 0 16px -8px var(--c);
}

.zsii .se-engine a.bub:hover {
  box-shadow: 0 0 24px -4px var(--c), inset 0 0 16px -8px var(--c);
}

.zsii .se-engine .center-head {
  margin-bottom: 10px;
  line-height: 1.35;
}

.zsii .se-engine .center-head span {
  line-height: 1.4;
}

/* ============ SIGNAL ENGINE — MICRO ANIMATION POLISH ============ */
@keyframes se-bar-reveal {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes se-support-glow {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(8, 153, 129, 0.12),
      0 0 6px rgba(8, 153, 129, 0.06);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(8, 153, 129, 0.18),
      0 0 10px rgba(8, 153, 129, 0.1);
  }
}

@keyframes se-support-text-glow {
  0%,
  100% {
    text-shadow: none;
  }
  50% {
    text-shadow: none;
  }
}

@keyframes se-support-dot-glow {
  0%,
  100% {
    box-shadow: 0 0 6px var(--c);
    opacity: 0.88;
  }
  50% {
    box-shadow: 0 0 10px var(--c);
    opacity: 1;
  }
}

.zsii .se-engine .se-bar-fill {
  transform-origin: inline-end;
  will-change: transform;
}

.zsii .se-engine .mini,
.zsii .se-engine .se-signal__cell,
.zsii .se-engine .se-impact__row,
.zsii .se-engine .dde-row,
.zsii .se-engine .se-drivers__row {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .zsii .arena .core {
    animation: zsii-core-breathe 5s ease-in-out infinite;
  }

  .zsii .arena .arena-core-glow {
    transform-origin: 300px 300px;
    animation: zsii-core-radial-glow 5s ease-in-out infinite;
  }

  .zsii .arena .bub {
    animation: zsii-node-float 11s ease-in-out infinite;
  }

  .zsii .arena .bub:nth-child(1) {
    animation-delay: 0s;
  }
  .zsii .arena .bub:nth-child(2) {
    animation-delay: -1.8s;
  }
  .zsii .arena .bub:nth-child(3) {
    animation-delay: -3.6s;
  }
  .zsii .arena .bub:nth-child(4) {
    animation-delay: -5.4s;
  }
  .zsii .arena .bub:nth-child(5) {
    animation-delay: -7.2s;
  }
  .zsii .arena .bub:nth-child(6) {
    animation-delay: -9s;
  }

  .zsii .arena .arena-energy-line line {
    animation: zsii-energy-glow 7s ease-in-out infinite;
    animation-delay: calc(var(--motion-i, 0) * 0.65s);
  }

  .zsii .arena .arena-energy-line circle:last-of-type {
    animation: zsii-energy-glow 7s ease-in-out infinite;
    animation-delay: calc(var(--motion-i, 0) * 0.65s + 0.2s);
  }

  .zsii .se-engine .se-bar-fill {
    transform: scaleX(0);
    animation: se-bar-reveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .zsii .se-engine .track .se-bar-fill {
    animation-delay: 0.06s;
  }

  .zsii .se-engine .lv-bar .se-bar-fill,
  .zsii .se-engine .dde-bar .se-bar-fill,
  .zsii .se-engine .se-drivers__bar .se-bar-fill {
    animation-delay: 0.1s;
  }

  .zsii .se-engine .se-signal__cell--support {
    animation: se-support-glow 4.5s ease-in-out infinite;
  }

  .zsii .se-engine .se-impact__val.up {
    animation: se-support-text-glow 4.5s ease-in-out infinite;
  }

  .zsii .se-engine .dots i.on.is-support {
    animation: se-support-dot-glow 4.5s ease-in-out infinite;
  }

  .zsii .se-engine .mini:hover,
  .zsii .se-engine .se-signal__cell:hover,
  .zsii .se-engine .se-impact__row:hover,
  .zsii .se-engine .dde-row:hover,
  .zsii .se-engine .se-drivers__row:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsii .arena .core,
  .zsii .arena .bub,
  .zsii .arena .arena-core-glow,
  .zsii .arena .arena-energy-line line,
  .zsii .arena .arena-energy-line circle:last-of-type {
    animation: none;
  }

  .zsii .se-engine .se-bar-fill {
    transform: none;
    animation: none;
  }

  .zsii .se-engine .se-signal__cell--support,
  .zsii .se-engine .se-impact__val.up,
  .zsii .se-engine .dots i.on.is-support {
    animation: none;
  }

  .zsii .se-engine .mini:hover,
  .zsii .se-engine .se-signal__cell:hover,
  .zsii .se-engine .se-impact__row:hover,
  .zsii .se-engine .dde-row:hover,
  .zsii .se-engine .se-drivers__row:hover {
    transform: none;
  }
}

/* ============ HERO DOMINANCE V1 — decision engine focal priority (desktop) ============ */
@media (min-width: 1181px) {
  .zsii .se-engine .grid,
  .zsii .se-engine .se-grid {
    grid-template-columns: minmax(0, 19fr) minmax(0, 62fr) minmax(0, 19fr);
    gap: 14px;
    grid-auto-rows: auto;
    align-items: start;
  }

  /* Hero + levels column keep stretch/baseline; intelligence sidebar stays content-height */
  .zsii .se-engine .grid > .col--hero,
  .zsii .se-engine .grid > .col--side:last-child {
    align-self: stretch;
  }

  .zsii .se-engine .card--decision-hero {
    position: relative;
    padding: 16px 18px 18px;
    border-color: rgba(0, 230, 138, 0.22);
    background:
      radial-gradient(ellipse 88% 62% at 50% 42%, rgba(0, 230, 138, 0.07), transparent 62%),
      radial-gradient(ellipse 72% 48% at 50% 50%, rgba(22, 168, 255, 0.05), transparent 70%),
      rgba(5, 11, 20, 0.94);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(0, 230, 138, 0.06),
      0 0 42px rgba(0, 230, 138, 0.07);
  }

  .zsii .se-engine .card--decision-hero .center-head b,
  .zsii .se-engine .card--decision-hero .center-head .card-title {
    font-size: 17px;
    color: #f8fbff;
    text-shadow: 0 0 18px rgba(0, 230, 138, 0.18);
  }

  .zsii .se-engine .card--decision-hero .arena {
    max-width: min(770px, 110%);
    aspect-ratio: 1 / 1.12;
    min-height: 0;
    overflow: visible;
    padding-bottom: clamp(22px, 4.5%, 48px);
  }

  .zsii .se-engine .card--decision-hero .arena::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 50%, rgba(0, 230, 138, 0.14), transparent 58%),
      radial-gradient(circle at 50% 50%, rgba(22, 168, 255, 0.08), transparent 72%);
    pointer-events: none;
    z-index: 1;
  }

  .zsii .se-engine .card--decision-hero .core .cp {
    font-size: 47px;
    text-shadow: 0 0 36px rgba(0, 230, 138, 0.68);
  }

  .zsii .se-engine .card--decision-hero .core .cd {
    color: #dce8f4;
  }

  .zsii .se-engine .card--decision-hero .bub {
    width: 132px;
    height: 132px;
    box-shadow: 0 0 26px -3px var(--c), inset 0 0 20px -7px var(--c);
  }

  .zsii .se-engine .card--decision-hero .bub .bv {
    font-size: 21px;
  }

  .zsii .se-engine .grid > .col--side:first-child > .card:nth-child(2),
  .zsii .se-engine .grid > .col--side:first-child > .se-horizon,
  .zsii .se-engine .grid > .col--side:first-child > .se-signal,
  .zsii .se-engine .grid > .col--side:first-child > .se-drivers {
    opacity: 0.9;
    border-color: rgba(90, 130, 180, 0.17);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
  }

  .zsii .se-engine .grid > .col--side:first-child > .card:nth-child(2) .card-title,
  .zsii .se-engine .grid > .col--side:first-child > .se-horizon .se-horizon__title,
  .zsii .se-engine .grid > .col--side:first-child > .se-signal .card-title,
  .zsii .se-engine .grid > .col--side:first-child > .se-drivers .card-title {
    font-size: 12px;
    color: rgba(197, 210, 223, 0.88);
  }

  .zsii .se-engine .grid > .col--side:first-child > .card:nth-child(2) .big-gauge .gv b,
  .zsii .se-engine .grid > .col--side:first-child > .se-horizon .se-horizon__gauge-num,
  .zsii .se-engine .grid > .col--side:first-child > .se-signal .se-signal__value,
  .zsii .se-engine .grid > .col--side:first-child > .se-drivers .se-drivers__pct {
    opacity: 0.92;
  }
}

/* ============ SIGNAL ENGINE — RESPONSIVE QA (layout unchanged) ============ */
.zsii .se-engine {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.zsii .se-engine .grid,
.zsii .se-engine .grid > .col {
  min-width: 0;
  max-width: 100%;
}

.zsii .se-engine .grid .card,
.zsii .se-engine .grid .dde-card {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

/* Decision Arena bubbles extend below the square stage — never clip vertically */
.zsii .se-engine .grid .card.card--decision-hero {
  overflow: visible;
}

.zsii .se-engine .mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zsii .se-engine .mini {
  min-width: 0;
}

.zsii .se-engine .mini-lbl,
.zsii .se-engine .mini-st {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zsii .se-engine .lv-row,
.zsii .se-engine .sg-row,
.zsii .se-engine .se-drivers__row,
.zsii .se-engine .dde-row,
.zsii .se-engine .se-impact__row {
  min-width: 0;
}

.zsii .se-engine .lv-bar,
.zsii .se-engine .se-drivers__bar,
.zsii .se-engine .dde-bar {
  min-width: 0;
  flex: 1 1 20px;
}

.zsii .se-engine .lv-st,
.zsii .se-engine .sg-txt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zsii .se-engine .lv-val,
.zsii .se-engine .se-drivers__pct,
.zsii .se-engine .dde-pct,
.zsii .se-engine .se-drivers__name,
.zsii .se-engine .dde-name {
  flex-shrink: 0;
}

.zsii .se-engine .se-drivers__name {
  width: 74px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zsii .se-engine .dde-name {
  width: 74px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zsii .se-engine .se-signal__body,
.zsii .se-engine .se-signal__value,
.zsii .se-engine .se-signal__value--age {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zsii .se-engine .se-signal__health-value--split {
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}

.zsii .se-engine .trend {
  min-width: 0;
}

.zsii .se-engine .trend-donut {
  flex-shrink: 0;
}

.zsii .se-engine .arena {
  overflow: visible;
}

.zsii .se-engine .trend-chart {
  min-width: 0;
}

/* Desktop side columns — 1440 / tight three-column */
@media (min-width: 1181px) and (max-width: 1540px) {
  .zsii .se-engine .lv-name {
    width: 68px;
    font-size: 11px;
  }

  .zsii .se-engine .lv-st {
    width: 72px;
    font-size: 10px;
  }

  .zsii .se-engine .lv-val {
    width: 36px;
    font-size: 11px;
  }

  .zsii .se-engine .sg-name {
    width: 64px;
    font-size: 11px;
  }

  .zsii .se-engine .sg-txt {
    font-size: 10.5px;
  }

  .zsii .se-engine .ring b {
    font-size: clamp(
      7.5px,
      min(max(9.5px, 2.2vw), calc(var(--ring-inner) * var(--ring-safe) / (var(--gauge-ch) * 0.58))),
      10.5px
    );
  }
}

/* Header — tablet rebalance */
@media (max-width: 1320px) {
  .zsii .header-v3__main,
  .zsii .se-engine .header-v3__main {
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
    grid-template-areas:
      'price signal'
      'stats stats';
    gap: 10px;
    padding: 5px 10px 4px;
  }

  .zsii .header-v3__left,
  .zsii .se-engine .header-v3__left {
    grid-area: price;
  }

  .zsii .header-v3__stats,
  .zsii .se-engine .header-v3__stats {
    grid-area: stats;
  }

  .zsii .header-v3__right,
  .zsii .se-engine .header-v3__right {
    grid-area: signal;
  }
}

@media (max-width: 900px) {
  .zsii .header-v3__main,
  .zsii .se-engine .header-v3__main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'price'
      'stats'
      'signal';
  }
}

@media (max-width: 1180px) {
  .zsii .grid,
  .zsii .se-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .zsii .col--side > :last-child {
    margin-top: 0;
  }
  .zsii .col--hero {
    order: -1;
    gap: 20px;
  }
  .zsii .se-engine {
    padding-inline: 12px;
  }
  .zsii .se-engine .grid {
    gap: 16px;
  }
  .zsii .se-engine .col--side,
  .zsii .se-engine .col--hero {
    gap: 16px !important;
  }
  .zsii .se-engine .lv-st {
    width: auto;
    flex: 1 1 84px;
    max-width: 128px;
  }
  .zsii .se-engine .trend {
    gap: 10px;
  }
  .zsii .se-engine .col--hero .bub {
    width: 104px;
    height: 104px;
  }
  .zsii .hero-tail {
    gap: 0;
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-inline: auto;
  }
  .zsii .hero-tail .intel-details {
    margin-bottom: 48px;
  }
  .zsii .intel-rel-foot-grid {
    grid-template-columns: 1fr;
  }
  .zsii .intel-rel-agreement-grid {
    grid-template-columns: 1fr;
  }
  .zsii .intel-summary__grid {
    grid-template-columns: 1fr;
  }
  .zsii .se-decision-evolution {
    min-height: 188px;
  }
  .zsii .arena {
    max-width: min(700px, 100%);
  }
  .zsii .card--decision-hero .arena-scene {
    --arena-scene-scale: 0.93;
  }
  .zsii .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .zsii .intel-sub-grid--2,
  .zsii .rel-grid,
  .zsii .reg-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) {
  .zsii .col--hero {
    align-self: stretch;
  }

  .zsii .se-decision-evolution {
    --evo-node: 58px;
    --evo-node-final: 84px;
    --evo-node-copy-gap: 16px;
    --evo-impact-gap: 12px;
    --evo-step-gap: 7px;
    flex: 1 1 auto;
    min-height: clamp(320px, 34vh, 400px);
    max-height: none;
    padding: 12px 18px 18px !important;
    gap: 10px;
  }

  .zsii .se-decision-evolution__track {
    align-items: center;
    align-content: center;
    padding: 6px 0 8px;
    grid-template-columns:
      minmax(0, 1fr) minmax(32px, 1.55fr)
      minmax(0, 1fr) minmax(32px, 1.55fr)
      minmax(0, 1fr) minmax(32px, 1.55fr)
      minmax(0, 1fr) minmax(32px, 1.55fr)
      minmax(0, 1.14fr);
  }

  .zsii .se-decision-evolution__step--final {
    gap: 8px;
    padding-bottom: 2px;
  }

  .zsii .se-decision-evolution__hero-pct {
    font-size: clamp(21px, 2.45vw, 29px);
    text-shadow: 0 0 26px rgba(0, 230, 138, 0.62);
  }

  .zsii .se-decision-evolution__hero-band {
    font-size: 12.5px;
  }

  .zsii .se-decision-evolution__hero-confidence {
    font-size: 10px;
  }

  .zsii .se-decision-evolution__hero-support {
    font-size: 9.5px;
  }

  .zsii .se-decision-evolution__node--final {
    border-width: 2.75px;
    box-shadow:
      0 0 0 7px rgba(0, 230, 138, 0.14),
      0 0 48px rgba(0, 230, 138, 0.63),
      0 0 83px rgba(0, 230, 138, 0.21);
  }
}

@media (min-width: 1366px) {
  .zsii .se-decision-evolution {
    min-height: clamp(340px, 36vh, 420px);
  }
}

@media (min-width: 1600px) {
  .zsii .se-decision-evolution {
    min-height: clamp(360px, 38vh, 440px);
  }
}

@media (min-width: 1920px) {
  .zsii .se-decision-evolution {
    min-height: clamp(380px, 40vh, 460px);
  }
}

@media (max-width: 520px) {
  .zsii .se-decision-evolution__hero-pct {
    font-size: 22px;
  }
  .zsii .se-decision-evolution__node--final {
    width: 68px;
    height: 68px;
  }
  .zsii .dte-paths {
    grid-template-columns: 1fr;
  }
  .zsii .sme-phase-lbl {
    font-size: 8px;
  }
}

@media (max-width: 640px) {
  .zsii .intel-nav {
    width: 100%;
    max-width: none;
    margin-bottom: 12px;
  }
  .zsii .intel-nav__bar {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .zsii .intel-nav__spacer {
    display: none;
  }
  .zsii .intel-asset-selector {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 8px 8px 0;
  }
  .zsii .intel-asset-selector__trigger {
    height: 50px;
  }
  .zsii .intel-nav__inner {
    height: 58px;
    padding: 0 8px;
  }
  .zsii .intel-nav__tabs {
    justify-content: flex-start;
    gap: 8px;
    min-width: max-content;
  }
  .zsii .intel-nav__item {
    height: 58px;
    padding: 0 14px;
    font-size: 13px;
    gap: 8px;
  }
  .zsii .intel-nav__item svg {
    width: 18px;
    height: 18px;
  }
  .zsii .se-engine {
    padding-inline: 10px;
  }
  .zsii .se-engine .grid {
    gap: 14px;
  }
  .zsii .se-engine .col--side,
  .zsii .se-engine .col--hero {
    gap: 14px !important;
  }
  .zsii .se-engine .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .zsii .se-engine .se-signal__grid {
    gap: 6px;
  }
  .zsii .se-engine .se-signal__cell {
    min-height: 48px;
    padding: 7px 8px;
  }
  .zsii .se-engine .core .cp {
    font-size: clamp(28px, 8vw, 42px);
  }
  .zsii .se-engine .col--hero .bub {
    width: 92px;
    height: 92px;
  }
  .zsii .se-engine .col--hero .bub .bv {
    font-size: 16px;
  }
  .zsii .card--decision-hero .arena-scene {
    --arena-scene-scale: 0.9;
  }
}

@media (max-width: 640px) {
  .zsii .header-v3__main {
    gap: 8px;
    padding: 5px 10px 4px;
  }

  .zsii .header-v3__price-hero {
    padding-inline-start: 31px;
  }

  .zsii .header-v3__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 4px;
  }

  .zsii .header-v3__stat {
    padding: 0 8px;
    border-inline-start: 0;
  }

  .zsii[dir='ltr'] .header-v3__stat:nth-child(odd) {
    border-inline-end: 1px solid rgba(120, 160, 200, 0.1);
  }

  .zsii[dir='rtl'] .header-v3__stat:nth-child(even) {
    border-inline-end: 1px solid rgba(120, 160, 200, 0.1);
  }

  .zsii .header-v3__right {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .zsii[dir='rtl'] .header-v3__right .header-v3__sparkline-zone,
  .zsii[dir='rtl'] .header-v3__right .header-v3__signal-card {
    order: unset;
  }

  .zsii .header-v3__sparkline-zone {
    min-height: 52px;
    padding: 4px 6px;
  }

  .zsii .header-v3__sparkline {
    height: 48px;
  }

  .zsii .header-v3__signal-card {
    padding: 5px 8px;
  }

  .zsii .header-v3__signal {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    text-align: start;
  }

  .zsii .header-v3__status {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 10px;
  }

  .zsii .header-v3__status-left {
    flex-wrap: wrap;
    gap: 8px;
  }

  .zsii .header-v3__status-bias {
    flex-wrap: wrap;
  }

  .zsii .header-v3__status-divider {
    display: none;
  }
}

/* ============ PAGE SHELL — TRUE BLACK CANVAS (indicators intel · dark only) ============ */
html:not(.light):not([data-theme='light']):has(.zsii),
html:not(.light):not([data-theme='light']) body:has(.zsii) {
  background: #000000 !important;
  background-color: #000000 !important;
}

html:not(.light):not([data-theme='light']) body:has(.zsii) > main {
  background: #000000 !important;
  background-color: #000000 !important;
}

body:has(.zsii) main,
body:has(.zsii) main > *,
body:has(.zsii) [class*="page"],
body:has(.zsii) [class*="layout"],
body:has(.zsii) [class*="wrapper"] {
  background-color: transparent !important;
}

/* ============ LIVE FEED EMPTY STATE ============ */
.zsii .intel-feed-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(52vh, 520px);
  padding: 24px 16px 40px;
}
.zsii .intel-feed-empty--loading {
  min-height: min(36vh, 320px);
}
.zsii .intel-feed-empty--rate-limit .intel-feed-empty__card {
  border-color: rgba(251, 191, 36, 0.28);
}
.zsii .intel-feed-empty--rate-limit .intel-feed-empty__icon {
  color: #fbbf24;
}
.zsii .intel-feed-empty--rate-limit .intel-feed-empty__title {
  color: #fde68a;
}
.zsii .intel-feed-empty__card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 24px;
}
.zsii .intel-feed-empty__icon {
  width: 52px;
  height: 52px;
  color: var(--blue);
  opacity: 0.9;
  margin-bottom: 4px;
}
.zsii .intel-feed-empty__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.zsii .intel-feed-empty__detail {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38em;
}
.zsii .intel-feed-empty__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.zsii .intel-feed-empty__btn {
  width: 100%;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.15s;
  border: 1px solid transparent;
}
.zsii .intel-feed-empty__btn--primary {
  background: rgba(22, 168, 255, 0.12);
  border-color: rgba(22, 168, 255, 0.34);
  color: var(--blue);
}
.zsii .intel-feed-empty__btn--primary:hover {
  background: rgba(22, 168, 255, 0.2);
}
.zsii .intel-feed-empty__btn--secondary {
  background: rgba(120, 160, 200, 0.08);
  border-color: rgba(120, 160, 200, 0.22);
  color: var(--text);
}
.zsii .intel-feed-empty__btn--secondary:hover {
  background: rgba(120, 160, 200, 0.14);
}

/* Light page shell: see indicators-intel-light.css */

@media (max-width: 767px) {
  html:not(.light):not([data-theme='light']):has(.zsii),
  html:not(.light):not([data-theme='light']) body:has(.zsii) {
    background-color: #000000 !important;
  }
}

