@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #05070b;
  --bg-elevated: #0a1018;
  --surface: rgba(8, 13, 22, 0.92);
  --surface-strong: #0d1320;
  --surface-soft: rgba(255, 255, 255, 0.03);
  --ink: #f6fbff;
  --muted: #a8cae6;
  --line: rgba(86, 197, 255, 0.14);
  --green: #7ef2bf;
  --green-soft: rgba(126, 242, 191, 0.12);
  --red: #ff7f90;
  --red-soft: rgba(255, 127, 144, 0.12);
  --amber: #e0ba4d;
  --amber-soft: rgba(224, 186, 77, 0.12);
  --blue: #3a8cff;
  --blue-soft: rgba(58, 140, 255, 0.12);
  --violet: #58caff;
  --violet-soft: rgba(88, 202, 255, 0.12);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  --page-max-width: 1360px;
  --page-gutter: clamp(12px, 1.8vw, 26px);
  --section-inset: clamp(12px, 1.4vw, 18px);
  --site-header-height: 104px;
  --market-ticker-height: 46px;
  --site-chrome-gap: 0px;
  --site-chrome-offset: calc(var(--site-header-height) + var(--market-ticker-height) + var(--site-chrome-gap));
  --market-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='820' height='520' viewBox='0 0 820 520'%3E%3Crect width='820' height='520' fill='%2305070b'/%3E%3Cg opacity='.16'%3E%3Cpath d='M46 396C118 365 168 328 230 306C291 284 348 286 411 255C478 221 545 149 619 146C676 143 729 173 782 176' fill='none' stroke='%2356c5ff' stroke-width='4'/%3E%3Cpath d='M50 425C121 394 177 360 247 334C321 305 386 311 454 279C521 247 581 178 649 173C702 169 746 191 792 198' fill='none' stroke='%237ef2bf' stroke-width='3'/%3E%3C/g%3E%3Cg opacity='.14' stroke='%23f6fbff' stroke-width='1'%3E%3Cpath d='M84 98V432M178 98V432M272 98V432M366 98V432M460 98V432M554 98V432M648 98V432M742 98V432'/%3E%3Cpath d='M84 140H742M84 208H742M84 276H742M84 344H742M84 412H742'/%3E%3C/g%3E%3Cg fill='%2356c5ff' opacity='.22'%3E%3Ccircle cx='230' cy='306' r='6'/%3E%3Ccircle cx='411' cy='255' r='6'/%3E%3Ccircle cx='619' cy='146' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(63, 145, 255, 0.2), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(0, 234, 255, 0.12), transparent 22%),
    radial-gradient(circle at 54% 58%, rgba(30, 255, 169, 0.08), transparent 35%),
    linear-gradient(180deg, #05070b 0%, #070b12 38%, #040509 100%);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-up {
  color: var(--green) !important;
}

.is-down {
  color: var(--red) !important;
}

.is-flat {
  color: var(--amber) !important;
}

.is-neutral {
  color: var(--amber) !important;
}

.tone-up {
  border-color: rgba(79, 124, 99, 0.24) !important;
}

.tone-down {
  border-color: rgba(180, 93, 88, 0.24) !important;
}

.tone-flat {
  border-color: rgba(224, 186, 77, 0.22) !important;
}

.rag-tinted {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease;
}

.rag-tinted[data-rag-tone="up"] {
  border-color: rgba(79, 124, 99, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(79, 124, 99, 0.08),
    0 16px 32px rgba(79, 124, 99, 0.10);
}

.rag-tinted[data-rag-tone="down"] {
  border-color: rgba(180, 93, 88, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(180, 93, 88, 0.08),
    0 16px 32px rgba(180, 93, 88, 0.10);
}

.rag-tinted[data-rag-tone="flat"] {
  border-color: rgba(224, 186, 77, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(224, 186, 77, 0.08),
    0 14px 28px rgba(224, 186, 77, 0.08);
}

.site-header {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: auto minmax(0, max-content) minmax(0, max-content);
  grid-template-areas:
    "brand auth tools"
    "nav nav nav";
  align-items: center;
  gap: 8px 12px;
  min-height: 104px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(71, 176, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(8, 11, 17, 0.9), rgba(7, 9, 13, 0.84)),
    var(--market-texture);
  backdrop-filter: blur(16px);
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8f4ff;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.nav-links {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #cdeeff;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #cdeeff;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #cdeeff;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.97), rgba(6, 8, 12, 0.98)),
    var(--market-texture);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown[open] .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a,
.nav-dropdown-menu span[aria-disabled="true"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d8ecff;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  border-color: rgba(86, 197, 255, 0.24);
  background: rgba(86, 197, 255, 0.1);
  color: var(--ink);
}

.nav-dropdown-menu span[aria-disabled="true"] {
  color: rgba(216, 236, 255, 0.58);
}

.nav-dropdown-menu span[aria-disabled="true"] span {
  color: rgba(152, 200, 236, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dropdown-menu .menu-copy {
  display: grid;
  gap: 2px;
}

.nav-dropdown-menu .menu-rate {
  color: #f6fbff;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-dropdown-menu .menu-change {
  color: #9dc7ea;
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-dropdown.is-current summary,
.nav-dropdown:hover summary,
.nav-dropdown:focus-within summary {
  color: var(--ink);
  border-color: rgba(86, 197, 255, 0.22);
  background: rgba(86, 197, 255, 0.1);
}

.market-ticker {
  position: relative;
  z-index: 4;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid rgba(86, 197, 255, 0.12);
  border-bottom: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.96), rgba(6, 8, 12, 0.98)),
    var(--market-texture);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

body:has(.site-header .nav-dropdown[open]) .nav-dropdown-menu {
  z-index: 60;
}

.market-ticker--standalone {
  position: relative;
  top: auto;
}

.market-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  padding: 9px 0;
  animation: market-ticker-scroll 34s linear infinite;
  will-change: transform;
}

.market-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  padding: 0 14px;
  color: #d8ecff;
  font-size: 0.91rem;
  font-weight: 800;
  white-space: nowrap;
}

.market-ticker__item strong {
  color: #f4ead8;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.market-ticker__item em {
  font-style: normal;
}

@keyframes market-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.header-tools {
  grid-area: tools;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
  width: max-content;
  max-width: min(360px, 32vw);
  padding: 6px 10px 5px;
  border: 1px solid rgba(200, 167, 104, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.header-auth {
  grid-area: auth;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-self: end;
  align-self: center;
}

.auth-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  overflow: hidden;
}

.auth-user-chip__label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.auth-user-chip__name {
  min-width: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.auth-user-chip__action {
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.auth-user-chip__action:hover {
  color: var(--ink);
  background: rgba(86, 197, 255, 0.1);
}

.refresh-button {
  min-width: 120px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(13, 25, 44, 0.98), rgba(7, 13, 24, 0.95));
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.refresh-button:hover {
  border-color: rgba(115, 218, 255, 0.24);
  background: rgba(115, 218, 255, 0.07);
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.refresh-status {
  max-width: 100%;
  color: rgba(216, 236, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: right;
}

.live-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98)),
    var(--market-texture);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-clock--nav {
  width: fit-content;
  min-width: 152px;
  margin-left: auto;
  padding: 8px 13px;
  border-color: rgba(86, 197, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98)),
    var(--market-texture);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #cdeeff;
}

.live-clock__label {
  color: rgba(198, 225, 255, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.live-clock__time {
  color: #f6fbff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

main {
  min-height: calc(100vh - var(--site-chrome-offset));
}

.hero-band,
.page-title {
  position: relative;
  overflow: hidden;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(560px, 1.42fr);
  align-items: start;
  gap: clamp(20px, 3.5vw, 46px);
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(22px, 3.4vw, 38px) var(--section-inset) 24px;
}

.hero-band::before,
.feature-title::before {
  content: "";
  position: absolute;
  inset: 12px 0 0;
  border: 1px solid rgba(86, 197, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(63, 145, 255, 0.11), rgba(85, 113, 141, 0.08) 48%, rgba(126, 242, 191, 0.08)),
    var(--market-texture),
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98));
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right top, center center, center center;
  background-size: auto, cover, cover;
  box-shadow: var(--shadow);
}

.hero-copy,
.market-visual,
.page-title > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 500px;
  padding: 16px 0 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #7ee6ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin: 0;
  font-size: 1rem;
}

.lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: #9da8b5;
  font-size: 0.94rem;
}

.section-lead {
  max-width: 900px;
  margin-top: 8px;
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action {
  background: linear-gradient(135deg, #41c3ff, #2d7dff);
  color: #031018;
  box-shadow: 0 18px 36px rgba(45, 125, 255, 0.26);
}

.secondary-action {
  border: 1px solid rgba(86, 197, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-badges,
.title-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-badges span,
.title-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98)),
    var(--market-texture);
  color: #d8ecff;
  font-size: 0.8rem;
  font-weight: 700;
}

.feedback-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  margin-top: 0;
  padding: 12px 14px 12px 10px;
  border: 1px solid rgba(86, 197, 255, 0.15);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 145, 255, 0.14), rgba(8, 13, 22, 0.88));
  color: #d8ecff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 14px 28px rgba(4, 8, 18, 0.14);
  white-space: nowrap;
}

.hero-visual-stack {
  display: grid;
  gap: 6px;
  align-self: start;
}

.signed-in-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 16, 28, 0.96), rgba(6, 9, 15, 0.98));
  box-shadow: 0 20px 42px rgba(5, 8, 12, 0.2);
}

.signed-in-card__eyebrow {
  color: #7ee6ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signed-in-card__name {
  color: #f6fbff;
  font-size: 1.05rem;
  font-weight: 800;
}

.signed-in-card__meta {
  color: rgba(168, 202, 230, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
}

.signed-in-card__action {
  justify-self: start;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.signed-in-card__action:hover {
  background: rgba(86, 197, 255, 0.10);
}

.feedback-banner::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(200, 167, 104, 0.18);
  color: #f4e4bc;
  font-weight: 900;
}

.feedback-banner__track {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  min-width: max-content;
  animation: feedback-banner-scroll 18s linear infinite;
  will-change: transform;
}

.feedback-banner__item {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  letter-spacing: 0;
}

.feedback-banner:hover .feedback-banner__track {
  animation-play-state: paused;
}

@keyframes feedback-banner-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.market-visual {
  position: relative;
  min-height: 374px;
  margin: -10px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(18, 22, 29, 0.98), rgba(11, 14, 20, 0.98)),
    var(--market-texture);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  box-shadow: 0 26px 68px rgba(5, 8, 12, 0.38);
}

.market-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(129, 153, 188, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(129, 153, 188, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.26;
  pointer-events: none;
}

.terminal-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(214px, 0.32fr) minmax(0, 0.68fr);
  width: 100%;
  min-height: 374px;
  gap: 0;
}

.terminal-watchlist {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(18, 22, 29, 0.94), rgba(12, 15, 20, 0.96)),
    rgba(12, 15, 20, 0.96);
}

.watchlist-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.watchlist-head span {
  color: #8e9bb0;
  font-size: 0.78rem;
  font-weight: 700;
}

.watchlist-head strong {
  color: #edf2f7;
  font-size: 1.02rem;
  font-weight: 800;
}

.watchlist-list {
  display: grid;
  gap: 9px;
}

.watch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(20, 26, 35, 0.98), rgba(14, 18, 24, 0.96));
  box-shadow: 0 10px 24px rgba(4, 8, 18, 0.18);
}

.watch-row--active {
  border-color: rgba(121, 180, 125, 0.28);
  background: linear-gradient(90deg, rgba(121, 180, 125, 0.16), rgba(20, 26, 35, 0.98));
  box-shadow: 0 14px 30px rgba(55, 85, 67, 0.14);
}

.watch-symbol {
  display: grid;
  gap: 2px;
  grid-row: 1 / span 2;
  min-width: 0;
}

.watch-symbol strong {
  color: #eff4fa;
  font-size: 0.88rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-symbol span {
  color: #8e9bb0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.watch-change {
  color: var(--green);
  grid-column: 2;
  grid-row: 2;
  max-width: 132px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: right;
}

.watch-level {
  color: #dfe6ee;
  grid-column: 2;
  grid-row: 1;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}

.terminal-chart {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 14px;
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(10, 13, 19, 0.98)),
    var(--market-texture);
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(19, 25, 34, 0.92);
  color: #d9e0ea;
  font-size: 0.74rem;
  font-weight: 700;
}

.chip--symbol {
  background: rgba(200, 167, 104, 0.16);
  color: #f4e4bc;
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.chart-header strong {
  display: block;
  color: #eef3f8;
  font-size: 0.92rem;
  font-weight: 800;
}

.chart-header p {
  margin: 4px 0 0;
  color: #93a2b7;
  font-size: 0.8rem;
}

.chart-price-block {
  text-align: right;
}

.chart-price-block span {
  display: block;
  color: #8e9bb0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-price-block strong {
  display: block;
  color: #eef3f8;
  font-size: 1.14rem;
  line-height: 1.05;
}

.chart-price-block em {
  color: var(--green);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 800;
}

.terminal-chart canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 292px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(11, 15, 22, 0.98), rgba(8, 11, 16, 0.98));
}

.chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #8892a1;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-card em,
.index-panel em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

#niftySignalNote,
#marketSignalNote,
#indexSignalNote {
  white-space: pre-line;
  line-height: 1.45;
}

.overview-grid,
.dashboard-grid,
.nifty-focus,
.telegram-layout {
  display: grid;
  gap: 12px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--section-inset) 28px;
}

.index-zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 2px var(--section-inset) 28px;
}

.trading-zones-band {
  margin-top: -4px;
  padding-top: 18px;
  padding-bottom: 20px;
}

.trading-zones-band .section-heading {
  margin-bottom: 10px;
}

.zone-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(34, 37, 33, 0.94), rgba(18, 21, 20, 0.97)),
    var(--market-texture);
  box-shadow: 0 16px 34px rgba(4, 8, 18, 0.24);
}

.zone-card span {
  display: block;
  margin-bottom: 7px;
  color: #72ddff;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.zone-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.zone-card p {
  margin: 10px 0 12px;
  color: var(--muted);
}

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

.zone-levels div {
  padding: 10px 10px 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.zone-levels em {
  display: block;
  margin-bottom: 4px;
  color: #9c8f76;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zone-levels strong {
  font-size: 0.92rem;
}

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

.metric-card,
.quote-card,
.index-panel,
.watch-panel,
.message-preview,
.telegram-panel,
.level-panel,
.analysis-card,
.cue-list li,
.sector-row {
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.metric-card,
.quote-card {
  padding: 16px;
}

.metric-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(8, 28, 33, 0.97), rgba(5, 10, 14, 0.98)),
    var(--market-texture);
}

.metric-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(30, 10, 18, 0.97), rgba(8, 7, 13, 0.98)),
    var(--market-texture);
}

.metric-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(8, 20, 35, 0.97), rgba(6, 10, 18, 0.98)),
    var(--market-texture);
}

.metric-card span,
.quote-card span,
.index-panel span,
.message-preview span,
.analysis-card span {
  display: block;
  margin-bottom: 7px;
  color: rgba(156, 217, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong,
.quote-card strong,
.index-panel strong {
  display: block;
  font-size: clamp(1.22rem, 2vw, 1.85rem);
  line-height: 1;
}

.analysis-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.metric-card p,
.quote-card p,
.watch-panel p,
.telegram-panel p,
.message-preview p,
.analysis-card p {
  margin: 9px 0 0;
  color: var(--muted);
}

.expert-view-hero .lead {
  max-width: 940px;
}

.expert-view-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 20px;
  max-width: 1040px;
}

.expert-view-search__field {
  flex: 1 1 420px;
}

.expert-view-search__field input {
  min-height: 52px;
  border-radius: 14px;
  padding: 14px 16px;
}

.expert-view-universe-field {
  max-width: 760px;
}

.expert-view-universe-notice {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(92, 183, 255, 0.22);
  border-radius: 999px;
  background: rgba(92, 183, 255, 0.1);
  color: #bfeaff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expert-view-universe-dropdown {
  position: relative;
  z-index: 4;
}

.expert-view-universe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.expert-view-universe-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 46px 14px 16px;
  border: 1px solid rgba(92, 183, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(13, 19, 31, 0.96), rgba(9, 12, 20, 0.98));
  color: #d8f1ff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  outline: none;
  cursor: pointer;
  list-style: none;
}

.expert-view-universe-summary::-webkit-details-marker {
  display: none;
}

.expert-view-universe-summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.82;
}

.expert-view-universe-dropdown[open] .expert-view-universe-summary {
  border-color: rgba(86, 195, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(86, 195, 255, 0.14);
}

.expert-view-universe-row > .expert-view-universe-dropdown {
  flex: 1 1 auto;
  min-width: 0;
}

.expert-view-universe-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(92, 183, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.98), rgba(7, 9, 14, 0.99)),
    var(--market-texture);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  max-height: min(60vh, 460px);
  overflow: auto;
}

.expert-view-universe-group {
  display: grid;
  gap: 8px;
}

.expert-view-universe-group__label {
  color: rgba(156, 217, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expert-view-universe-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #d8f1ff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.expert-view-universe-option:hover,
.expert-view-universe-option:focus-visible {
  border-color: rgba(86, 195, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.expert-view-universe-option[aria-selected="true"] {
  border-color: rgba(173, 221, 255, 0.96);
  background: linear-gradient(180deg, rgba(66, 147, 255, 0.96), rgba(34, 100, 224, 0.96));
  color: #f8fcff;
  box-shadow: 0 10px 24px rgba(35, 103, 197, 0.24);
}

.expert-view-search__submit {
  min-height: 52px;
  white-space: nowrap;
}

.expert-view-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.expert-view-chip {
  padding: 10px 12px;
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8dcc5;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.expert-view-chip:hover {
  border-color: rgba(200, 167, 104, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.primary-action:disabled,
.secondary-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.expert-view-note,
.expert-view-status {
  color: #d1c3a7;
}

.expert-view-note {
  margin-top: 14px;
  font-size: 0.93rem;
}

.expert-view-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(200, 167, 104, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.expert-view-report {
  display: grid;
  gap: 16px;
}

.expert-view-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.expert-view-summary-card {
  min-height: 104px;
}

.expert-view-summary-card strong {
  font-size: 1.16rem;
}

.expert-view-summary-card p {
  font-size: 0.95rem;
}

.expert-view-summary-card--bullish {
  background:
    linear-gradient(180deg, rgba(24, 44, 32, 0.95), rgba(18, 25, 22, 0.98)),
    var(--market-texture);
}

.expert-view-summary-card--bearish {
  background:
    linear-gradient(180deg, rgba(51, 23, 22, 0.95), rgba(25, 18, 18, 0.98)),
    var(--market-texture);
}

.expert-view-summary-card--neutral {
  background:
    linear-gradient(180deg, rgba(33, 30, 24, 0.95), rgba(20, 21, 23, 0.98)),
    var(--market-texture);
}

.expert-view-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(25, 27, 30, 0.96), rgba(17, 18, 20, 0.98)),
    var(--market-texture);
  box-shadow: 0 18px 38px rgba(4, 8, 18, 0.24);
}

.expert-view-section .section-heading {
  margin-bottom: 12px;
}

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

.expert-view-mini-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.expert-view-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.expert-view-mini-card p,
.expert-view-mini-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.expert-view-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expert-view-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(200, 167, 104, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ece0c8;
  font-size: 0.82rem;
  font-weight: 800;
}

.expert-view-pill.is-up {
  color: #8ecf96;
  border-color: rgba(114, 172, 125, 0.22);
}

.expert-view-pill.is-down {
  color: #f28c7f;
  border-color: rgba(222, 108, 99, 0.22);
}

.expert-view-pill.is-flat {
  color: var(--amber);
}

.expert-view-table-wrap {
  overflow-x: auto;
}

.expert-view-table {
  min-width: 760px;
}

.expert-view-verdict {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.expert-view-verdict strong {
  font-size: 1.45rem;
}

.expert-view-confidence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 68px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(200, 167, 104, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
}

.expert-view-confidence.is-up {
  color: #9ddeaa;
}

.expert-view-confidence.is-down {
  color: #f08e85;
}

.expert-view-confidence.is-flat {
  color: var(--amber);
}

body[data-page="expert-view"] {
  background:
    radial-gradient(circle at 18% 12%, rgba(63, 145, 255, 0.2), transparent 26%),
    radial-gradient(circle at 80% 8%, rgba(0, 234, 255, 0.15), transparent 22%),
    radial-gradient(circle at 52% 58%, rgba(30, 255, 169, 0.09), transparent 35%),
    linear-gradient(180deg, #05070b 0%, #070b12 38%, #040509 100%);
}

body[data-page="expert-view"] .site-header {
  background:
    linear-gradient(180deg, rgba(8, 11, 17, 0.9), rgba(7, 9, 13, 0.84)),
    var(--market-texture);
  border-bottom: 1px solid rgba(71, 176, 255, 0.12);
  backdrop-filter: blur(16px);
}

body[data-page="expert-view"] .nav-links a,
body[data-page="expert-view"] .nav-dropdown-toggle {
  color: #e8f4ff;
}

body[data-page="expert-view"] .nav-links a[aria-current="page"] {
  color: #7ee6ff;
  background: rgba(87, 198, 255, 0.11);
  border-color: rgba(87, 198, 255, 0.24);
}

body[data-page="expert-view"] .nav-links a:hover,
body[data-page="expert-view"] .nav-dropdown-toggle:hover {
  color: #bdf3ff;
}

.expert-view-page {
  display: grid;
  gap: 18px;
  padding-bottom: 20px;
}

body[data-page="expert-view"] .is-hidden {
  display: none !important;
}

.expert-view-hero-shell {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 24px var(--section-inset) 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.expert-view-hero-copy,
.expert-view-hero-stage,
.expert-view-tape-band,
.expert-view-dashboard-card,
.expert-view-robot-card,
.expert-view-section,
.expert-view-empty,
.expert-view-status {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 164, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.88), rgba(5, 7, 12, 0.96)),
    var(--market-texture);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.expert-view-hero-copy {
  padding: 28px;
  border-radius: 32px;
}

.expert-view-hero-copy::before,
.expert-view-hero-stage::before,
.expert-view-tape-band::before,
.expert-view-section::before,
.expert-view-dashboard-card::before,
.expert-view-robot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(95, 203, 255, 0.05), transparent 35%),
    linear-gradient(320deg, rgba(45, 255, 199, 0.04), transparent 30%);
  pointer-events: none;
}

.expert-view-hero-copy .lead {
  max-width: 820px;
  color: #cae7ff;
}

body[data-page="expert-view"] .expert-view-hero-copy h1 {
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(1.5rem, 3vw, 3.05rem);
}

.expert-view-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.expert-view-search {
  flex: 1 1 100%;
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
}

.expert-view-search__field {
  flex: 1 1 100%;
}

.expert-view-search__inputwrap {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(86, 195, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 15, 26, 0.96), rgba(9, 11, 16, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(47, 120, 255, 0.08),
    0 0 32px rgba(40, 182, 255, 0.1);
}

.expert-view-search__field input {
  flex: 1 1 auto;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  background: transparent;
  color: #f6fbff;
  box-shadow: none;
}

.expert-view-search__field input::placeholder {
  color: rgba(192, 223, 255, 0.45);
}

.expert-view-voice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(115, 218, 255, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 30%, rgba(98, 241, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(13, 25, 44, 0.98), rgba(7, 13, 24, 0.95));
  color: #88edff;
  box-shadow:
    0 0 0 1px rgba(86, 195, 255, 0.08),
    0 0 26px rgba(86, 195, 255, 0.16);
}

.expert-view-voice__icon {
  width: 14px;
  height: 18px;
  border-radius: 8px;
  border: 2px solid currentColor;
  border-top-width: 6px;
  position: relative;
}

.expert-view-voice__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 10px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-50%);
}

.expert-view-search__submit,
.expert-view-search__secondary {
  min-height: 54px;
  border-radius: 16px;
}

.expert-view-bestpick-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.expert-view-bestpick-nav__button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  border: 1px solid rgba(150, 255, 187, 0.86);
  background:
    radial-gradient(circle at 30% 25%, rgba(219, 255, 230, 0.98), rgba(97, 238, 143, 0.98) 44%, rgba(30, 174, 81, 0.98)),
    linear-gradient(180deg, rgba(59, 216, 117, 0.98), rgba(19, 131, 64, 0.98));
  color: #05200f;
  box-shadow:
    0 10px 22px rgba(38, 175, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.expert-view-bestpick-nav__button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 28px rgba(38, 175, 96, 0.28),
    0 0 0 3px rgba(126, 255, 176, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.expert-view-bestpick-nav__button:active {
  transform: translateY(0) scale(0.98);
}

.expert-view-bestpick-nav__button:focus-visible {
  outline: none;
  box-shadow:
    0 14px 28px rgba(38, 175, 96, 0.3),
    0 0 0 3px rgba(126, 255, 176, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.expert-view-search__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(86, 195, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #cdeeff;
}

@media (max-width: 760px) {
  .expert-view-universe-row {
    flex-wrap: wrap;
  }

  .expert-view-bestpick-nav {
    width: 100%;
  }

  .expert-view-bestpick-nav__button {
    flex: 1 1 0;
    width: auto;
    min-height: 44px;
    min-width: 0;
  }
}

.expert-view-examples {
  margin-top: 16px;
}

.expert-view-chip {
  border-color: rgba(92, 183, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(13, 19, 31, 0.96), rgba(9, 12, 20, 0.98));
  color: #d8f1ff;
  box-shadow: 0 0 0 1px rgba(86, 195, 255, 0.08);
}

.expert-view-chip:hover {
  border-color: rgba(86, 195, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(18, 28, 45, 0.98), rgba(10, 16, 28, 0.99));
}

.expert-view-hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.expert-view-hero-metric {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(86, 195, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(10, 17, 28, 0.9), rgba(8, 11, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.expert-view-hero-metric span {
  display: block;
  color: rgba(194, 228, 255, 0.64);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.expert-view-hero-metric strong {
  display: block;
  margin-top: 6px;
  color: #f7fbff;
  font-size: 1.18rem;
  font-weight: 800;
}

.expert-view-hero-metric p {
  margin: 7px 0 0;
  color: #9dc7ea;
  font-size: 0.9rem;
  line-height: 1.45;
}

.expert-view-hero-stage {
  min-height: 640px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 26%, rgba(51, 204, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 56%, rgba(27, 255, 187, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.98), rgba(5, 7, 12, 1));
}

.expert-view-hero-stage__frame {
  position: absolute;
  inset: 0;
  padding: 26px;
}

.expert-view-hero-stage__image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92%, 540px);
  height: min(92%, 640px);
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1.08);
  z-index: 4;
  pointer-events: none;
  filter:
    drop-shadow(0 0 22px rgba(64, 205, 255, 0.34))
    drop-shadow(0 0 84px rgba(48, 255, 202, 0.16))
    brightness(1.04)
    saturate(1.08);
  mix-blend-mode: normal;
  opacity: 1;
}

body[data-page="expert-view"] .expert-view-hero-stage,
body[data-page="expert-view"] .expert-view-tape-band {
  display: none;
}

.expert-view-hero-stage__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(81, 149, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 149, 255, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1));
  opacity: 0.45;
}

.expert-view-hero-stage__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.expert-view-hero-stage__orb--outer {
  inset: 10% 18%;
  border: 1px solid rgba(97, 206, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(74, 187, 255, 0.05),
    inset 0 0 28px rgba(84, 204, 255, 0.08);
}

.expert-view-hero-stage__orb--inner {
  inset: 24% 30%;
  border: 1px solid rgba(115, 255, 215, 0.14);
  box-shadow: inset 0 0 20px rgba(41, 255, 179, 0.06);
}

.expert-view-hero-robot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 500px);
  height: min(78%, 560px);
  transform: translate(-50%, -46%);
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0.26;
}

.expert-view-hero-robot__halo {
  position: absolute;
  inset: 14% 9% 10%;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 34%, rgba(93, 236, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 60%, rgba(40, 255, 177, 0.1), transparent 40%);
  filter: blur(8px);
}

.expert-view-hero-robot__head {
  position: relative;
  width: 220px;
  height: 210px;
  border-radius: 44% 44% 38% 38%;
  background:
    radial-gradient(circle at 50% 33%, rgba(161, 232, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(204, 233, 255, 0.96), rgba(83, 114, 150, 0.9) 46%, rgba(33, 52, 78, 0.95) 72%, rgba(18, 25, 34, 0.98));
  border: 1px solid rgba(143, 205, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(63, 179, 255, 0.22),
    inset 0 -14px 42px rgba(0, 0, 0, 0.28);
}

.expert-view-hero-robot__head::before,
.expert-view-hero-robot__head::after {
  content: "";
  position: absolute;
  top: 88px;
  width: 18px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184, 226, 255, 0.85), rgba(84, 122, 158, 0.8));
  box-shadow: 0 0 18px rgba(86, 195, 255, 0.2);
}

.expert-view-hero-robot__head::before {
  left: -18px;
}

.expert-view-hero-robot__head::after {
  right: -18px;
}

.expert-view-hero-robot__eye {
  position: absolute;
  top: 90px;
  width: 64px;
  height: 26px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(48, 255, 240, 0.95), rgba(48, 255, 240, 0.18) 55%, transparent 72%),
    linear-gradient(180deg, rgba(32, 72, 108, 0.98), rgba(7, 11, 19, 0.98));
  box-shadow:
    0 0 14px rgba(49, 234, 255, 0.8),
    0 0 28px rgba(49, 234, 255, 0.18);
}

.expert-view-hero-robot__eye--left {
  left: 34px;
}

.expert-view-hero-robot__eye--right {
  right: 34px;
}

.expert-view-hero-robot__lens {
  position: absolute;
  left: 50%;
  top: 108px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(37, 255, 219, 0.95) 36%, rgba(17, 67, 88, 0.96) 68%, rgba(0, 0, 0, 0.08));
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(51, 255, 224, 0.6);
}

.expert-view-hero-robot__torso {
  position: absolute;
  top: 188px;
  width: 300px;
  height: 254px;
  border-radius: 36px 36px 50px 50px;
  background:
    linear-gradient(180deg, rgba(41, 64, 92, 0.98), rgba(12, 20, 31, 0.98));
  border: 1px solid rgba(121, 217, 255, 0.2);
  box-shadow:
    0 0 36px rgba(53, 175, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 20px 40px rgba(0, 0, 0, 0.14);
}

.expert-view-hero-robot__core {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 78px;
  height: 78px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(84, 255, 202, 0.95) 36%, rgba(28, 136, 180, 0.92) 66%, rgba(7, 20, 30, 0.98));
  box-shadow:
    0 0 0 14px rgba(61, 224, 255, 0.08),
    0 0 32px rgba(61, 224, 255, 0.55);
}

.expert-view-hero-robot__trace {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 118px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(88, 228, 255, 0.94), rgba(88, 228, 255, 0.12));
  box-shadow: 0 0 16px rgba(88, 228, 255, 0.48);
}

.expert-view-float {
  position: absolute;
  min-width: 200px;
  max-width: 250px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(94, 214, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 21, 37, 0.92), rgba(7, 12, 21, 0.96));
  box-shadow:
    0 0 0 1px rgba(94, 214, 255, 0.06),
    0 0 24px rgba(49, 194, 255, 0.1);
  backdrop-filter: blur(8px);
}

.expert-view-float span {
  display: block;
  color: rgba(198, 225, 255, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.expert-view-float strong {
  display: block;
  margin-top: 6px;
  color: #f4fbff;
  font-size: 1rem;
}

.expert-view-float--trend {
  left: 0;
  top: 88px;
}

.expert-view-float--risk {
  right: 0;
  top: 188px;
}

.expert-view-float--flow {
  left: 14px;
  bottom: 96px;
}

.expert-view-float--signal {
  right: 18px;
  bottom: 58px;
}

.expert-view-tape-band {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 16px var(--section-inset);
  border-radius: 24px;
}

.expert-view-ticker {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow: auto hidden;
  padding-bottom: 4px;
}

.expert-view-ticker__chip {
  flex: 0 0 auto;
  display: inline-grid;
  gap: 2px;
  min-width: 172px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(110, 191, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 18, 31, 0.96), rgba(8, 11, 18, 0.98));
  color: #eaf8ff;
  box-shadow: 0 0 24px rgba(45, 160, 255, 0.08);
}

.expert-view-ticker__chip strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(193, 225, 255, 0.72);
}

.expert-view-ticker__chip span {
  font-size: 1.08rem;
  font-weight: 800;
}

.expert-view-ticker__chip em {
  color: rgba(213, 231, 255, 0.66);
  font-style: normal;
  font-size: 0.78rem;
}

.expert-view-ticker__chip.is-up {
  border-color: rgba(87, 255, 194, 0.22);
  box-shadow: 0 0 24px rgba(42, 255, 176, 0.08);
}

.expert-view-ticker__chip.is-down {
  border-color: rgba(255, 111, 132, 0.22);
  box-shadow: 0 0 24px rgba(255, 107, 125, 0.08);
}

.expert-view-ticker__chip.is-flat {
  border-color: rgba(224, 186, 77, 0.16);
}

.expert-view-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.expert-view-dashboard-card {
  padding: 18px;
  border-radius: 20px;
}

.expert-view-dashboard-card strong {
  display: block;
  margin-top: 10px;
  color: #f4fbff;
  font-size: 1.28rem;
}

.expert-view-dashboard-card p {
  margin: 8px 0 0;
  color: #9dc7ea;
  line-height: 1.5;
}

.expert-view-summary-card--visual {
  display: grid;
  gap: 10px;
}

.expert-view-summary-card--visual .expert-view-pill-row {
  gap: 6px;
}

.expert-view-meter {
  position: relative;
  margin-top: 14px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.expert-view-meter__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6278 0%, #ffe16f 35%, #67f2ff 72%, #55f57c 100%);
  box-shadow: 0 0 16px rgba(87, 255, 194, 0.3);
}

.expert-view-systems-shell {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.expert-view-robot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.expert-view-robot-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  min-height: 220px;
}

body[data-page="expert-view"] .expert-view-robot-card.is-up {
  border-color: rgba(87, 255, 194, 0.2);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(87, 255, 194, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="expert-view"] .expert-view-robot-card.is-down {
  border-color: rgba(255, 111, 132, 0.22);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 111, 132, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="expert-view"] .expert-view-robot-card.is-flat {
  border-color: rgba(224, 186, 77, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(224, 186, 77, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.expert-view-robot-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(84, 236, 255, 0.18), rgba(24, 100, 170, 0.12));
  color: #8cecff;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.expert-view-robot-card strong {
  display: block;
  margin-top: 14px;
  color: #f4fbff;
  font-size: 1.1rem;
}

.expert-view-robot-card p {
  margin: 0;
  color: #9ac4e6;
  line-height: 1.55;
}

.expert-view-robot-card__foot {
  display: inline-block;
  margin-top: 16px;
  color: #87edff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="expert-view"] .expert-view-section,
body[data-page="expert-view"] .expert-view-status,
body[data-page="expert-view"] .expert-view-empty,
body[data-page="expert-view"] .expert-view-summary-card,
body[data-page="expert-view"] .expert-view-dashboard-card,
body[data-page="expert-view"] .expert-view-robot-card {
  border-color: rgba(91, 186, 255, 0.16);
}

body[data-page="expert-view"] .expert-view-section {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
}

body[data-page="expert-view"] .expert-view-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="expert-view"] .expert-view-summary-card {
  min-height: 98px;
  padding: 12px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(11, 16, 27, 0.96), rgba(6, 8, 14, 0.98)),
    var(--market-texture);
}

body[data-page="expert-view"] .expert-view-summary-card span {
  color: rgba(156, 217, 255, 0.7);
  margin-bottom: 5px;
  font-size: 0.7rem;
}

body[data-page="expert-view"] .expert-view-summary-card strong {
  color: #f6fcff;
  font-size: 0.94rem;
  line-height: 1.08;
}

body[data-page="expert-view"] .expert-view-summary-card p {
  color: #a8cae6;
  margin-top: 5px;
  font-size: 0.84rem;
  line-height: 1.34;
}

body[data-page="expert-view"] .expert-view-summary-card--bullish {
  background:
    linear-gradient(180deg, rgba(8, 28, 33, 0.97), rgba(5, 10, 14, 0.98)),
    var(--market-texture);
}

body[data-page="expert-view"] .expert-view-summary-card--bearish {
  background:
    linear-gradient(180deg, rgba(30, 10, 18, 0.97), rgba(8, 7, 13, 0.98)),
    var(--market-texture);
}

body[data-page="expert-view"] .expert-view-summary-card--visual .expert-view-pill-row {
  margin-top: 6px;
  gap: 6px;
}

body[data-page="expert-view"] .expert-view-summary-card--visual .expert-view-pill {
  padding: 5px 8px;
  font-size: 0.68rem;
}

body[data-page="expert-view"] .expert-view-pill {
  border-color: rgba(96, 195, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e7f7ff;
}

body[data-page="expert-view"] .expert-view-pill.is-up {
  color: #76ffbf;
  border-color: rgba(94, 255, 190, 0.24);
}

body[data-page="expert-view"] .expert-view-pill.is-down {
  color: #ff7f90;
  border-color: rgba(255, 118, 136, 0.24);
}

body[data-page="expert-view"] .expert-view-table thead th {
  color: rgba(163, 218, 255, 0.78);
}

body[data-page="expert-view"] .section-heading .eyebrow {
  color: #7ee6ff;
}

body[data-page="expert-view"] .section-heading h2 {
  color: #f6fbff;
}

body[data-page="expert-view"] .expert-view-table tbody td {
  color: #d8e9f8;
}

body[data-page="expert-view"] .expert-view-table tbody tr:hover td {
  background: rgba(58, 132, 255, 0.06);
}

body[data-page="expert-view"] .expert-view-confidence {
  background:
    radial-gradient(circle at 50% 50%, rgba(87, 255, 194, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98));
}

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

.expert-view-diagram-grid {
  display: grid;
  gap: 14px;
}

.expert-view-diagram-grid--trend {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expert-view-diagram-grid--meter {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expert-view-diagram-grid--prediction {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expert-view-diagram-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(86, 195, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(74, 188, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(11, 17, 28, 0.96), rgba(6, 9, 14, 0.98));
  overflow: hidden;
}

.expert-view-diagram-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.expert-view-diagram-card__label {
  display: block;
  color: rgba(165, 215, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expert-view-diagram-card strong {
  display: block;
  margin-top: 4px;
  color: #f6fbff;
  font-size: 1.14rem;
}

.expert-view-diagram-card p {
  margin: 0;
  color: #a8cae6;
  font-size: 0.92rem;
  line-height: 1.45;
}

.expert-view-diagram-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: #bfd6ea;
  font-size: 0.8rem;
}

.expert-view-bar-meter {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 84, 84, 0.2), rgba(255, 193, 79, 0.2), rgba(72, 255, 188, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.expert-view-bar-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(106, 225, 255, 0.96), rgba(87, 255, 194, 0.96));
  box-shadow: 0 0 18px rgba(86, 195, 255, 0.26);
}

.expert-view-bar-meter__fill.is-up {
  background: linear-gradient(90deg, rgba(87, 255, 194, 0.96), rgba(131, 216, 255, 0.96));
}

.expert-view-bar-meter__fill.is-down {
  background: linear-gradient(90deg, rgba(255, 112, 127, 0.96), rgba(255, 168, 105, 0.92));
}

.expert-view-bar-meter__fill.is-flat {
  background: linear-gradient(90deg, rgba(255, 193, 79, 0.94), rgba(224, 186, 77, 0.92));
}

.expert-view-bar-meter__marker {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 18px;
  background: #f7fbff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
  transform: translateX(-1px);
}

.expert-view-zone-map {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(86, 195, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(11, 17, 28, 0.96), rgba(6, 9, 14, 0.98));
}

.expert-view-zone-map__rail {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 128px;
  gap: 14px;
  align-items: center;
}

.expert-view-zone-map__side {
  color: rgba(165, 215, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expert-view-zone-map__side--support {
  text-align: right;
}

.expert-view-zone-map__track {
  position: relative;
  min-height: 220px;
  border: 1px solid rgba(86, 195, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.94), rgba(4, 6, 11, 0.98));
  overflow: hidden;
}

.expert-view-zone-map__track::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(123, 198, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 44px;
  opacity: 0.55;
}

.expert-view-zone-map__marker {
  position: absolute;
  left: 50%;
  width: 78%;
  min-height: 12px;
  border-radius: 999px;
  transform: translate(-50%, 50%);
}

.expert-view-zone-map__marker--support {
  background: linear-gradient(90deg, rgba(90, 255, 189, 0.3), rgba(90, 255, 189, 0.9), rgba(90, 255, 189, 0.3));
  box-shadow: 0 0 16px rgba(90, 255, 189, 0.18);
}

.expert-view-zone-map__marker--resistance {
  background: linear-gradient(90deg, rgba(255, 109, 118, 0.3), rgba(255, 109, 118, 0.9), rgba(255, 109, 118, 0.3));
  box-shadow: 0 0 16px rgba(255, 109, 118, 0.18);
}

.expert-view-zone-map__marker--current {
  width: 92%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 214, 111, 0.3), rgba(255, 214, 111, 0.98), rgba(255, 214, 111, 0.3));
  box-shadow: 0 0 20px rgba(255, 214, 111, 0.35);
}

.expert-view-zone-map__legend,
.expert-view-zone-map__cue {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expert-view-zone-map__cue {
  align-items: flex-start;
  padding-top: 2px;
}

.expert-view-zone-map__cue strong {
  color: #f6fbff;
}

.expert-view-zone-map__cue p {
  margin: 0;
  color: #a8cae6;
  line-height: 1.45;
}

.expert-view-momentum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.expert-view-momentum-card {
  min-height: 220px;
  align-content: end;
}

.expert-view-momentum-card__bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 118px;
  border-radius: 16px;
  border: 1px solid rgba(86, 195, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.expert-view-momentum-card__bar::before {
  content: "";
  position: absolute;
  inset: 14px 0 14px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
}

.expert-view-momentum-card__fill {
  width: 64%;
  border-radius: 18px 18px 8px 8px;
  box-shadow: 0 0 18px rgba(86, 195, 255, 0.22);
}

.expert-view-momentum-card__fill.is-up {
  background: linear-gradient(180deg, rgba(87, 255, 194, 0.95), rgba(87, 177, 255, 0.92));
}

.expert-view-momentum-card__fill.is-down {
  background: linear-gradient(180deg, rgba(255, 123, 135, 0.96), rgba(255, 168, 105, 0.92));
}

.expert-view-momentum-card__fill.is-flat {
  background: linear-gradient(180deg, rgba(255, 193, 79, 0.94), rgba(224, 186, 77, 0.92));
}

.expert-view-momentum-card strong {
  font-size: 1rem;
}

.expert-view-risk-lane {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(86, 195, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(11, 17, 28, 0.96), rgba(6, 9, 14, 0.98));
}

.expert-view-risk-lane__track {
  position: relative;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 109, 118, 0.26) 0 24%, rgba(255, 193, 79, 0.26) 24% 68%, rgba(87, 255, 194, 0.26) 68% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.expert-view-risk-lane__node {
  position: absolute;
  top: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  color: #f6fbff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.expert-view-risk-lane__node--stop {
  background: rgba(255, 109, 118, 0.22);
  border: 1px solid rgba(255, 109, 118, 0.18);
}

.expert-view-risk-lane__node--entry {
  background: rgba(255, 214, 111, 0.22);
  border: 1px solid rgba(255, 214, 111, 0.18);
}

.expert-view-risk-lane__node--target {
  background: rgba(87, 255, 194, 0.22);
  border: 1px solid rgba(87, 255, 194, 0.18);
}

.expert-view-risk-lane__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expert-view-risk-lane__foot {
  display: grid;
  gap: 4px;
}

.expert-view-risk-lane__foot strong {
  color: #f6fbff;
}

.expert-view-risk-lane__foot p {
  margin: 0;
  color: #a8cae6;
}

.expert-view-confidence--dial {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 170px;
  min-height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 48%, transparent 49%),
    conic-gradient(from 225deg, rgba(255, 109, 118, 0.92) 0 calc(var(--confidence) * 1%), rgba(255, 193, 79, 0.92) calc(var(--confidence) * 1%) 72%, rgba(87, 255, 194, 0.96) 72% 100%);
  box-shadow:
    0 0 0 1px rgba(86, 195, 255, 0.1),
    inset 0 0 0 14px rgba(8, 13, 22, 0.95);
}

.expert-view-confidence--dial::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.98), rgba(5, 7, 12, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.expert-view-confidence--dial span,
.expert-view-confidence--dial em {
  position: relative;
  z-index: 1;
  text-align: center;
}

.expert-view-confidence--dial span {
  color: #f6fbff;
  font-size: 2rem;
  font-weight: 900;
}

.expert-view-confidence--dial em {
  max-width: 120px;
  color: #a8cae6;
  font-size: 0.82rem;
  line-height: 1.4;
}

body[data-page="expert-view"] .expert-view-master-diagram {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(74, 188, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(87, 255, 194, 0.05), transparent 26%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.96), rgba(5, 7, 12, 0.99)),
    var(--market-texture);
}

body[data-page="expert-view"] .expert-view-master-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.3;
  pointer-events: none;
}

body[data-page="expert-view"] .expert-view-master-diagram > * {
  position: relative;
  z-index: 1;
}

body[data-page="expert-view"] .expert-view-master-diagram__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

body[data-page="expert-view"] .expert-view-master-diagram__headcopy {
  display: grid;
  gap: 6px;
  max-width: 820px;
}

body[data-page="expert-view"] .expert-view-master-diagram__headcopy .lead {
  max-width: 980px;
}

body[data-page="expert-view"] .expert-view-master-diagram__badge {
  display: grid;
  gap: 3px;
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid rgba(96, 195, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="expert-view"] .expert-view-master-diagram__badge span {
  color: rgba(165, 215, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="expert-view"] .expert-view-master-diagram__badge strong {
  color: #f6fbff;
  font-size: 1.08rem;
  font-weight: 900;
}

body[data-page="expert-view"] .expert-view-master-diagram__badge em {
  color: #a8cae6;
  font-size: 0.8rem;
  font-style: normal;
}

body[data-page="expert-view"] .expert-view-master-diagram__badge.is-up {
  border-color: rgba(87, 255, 194, 0.22);
}

body[data-page="expert-view"] .expert-view-master-diagram__badge.is-down {
  border-color: rgba(255, 111, 132, 0.22);
}

body[data-page="expert-view"] .expert-view-master-diagram__badge.is-flat {
  border-color: rgba(224, 186, 77, 0.18);
}

body[data-page="expert-view"] .expert-view-master-diagram__core {
  position: relative;
}

body[data-page="expert-view"] .expert-view-master-diagram__core::before {
  content: "";
  position: absolute;
  inset: 46px 12px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 198, 255, 0.24), transparent);
  pointer-events: none;
}

body[data-page="expert-view"] .expert-view-master-diagram__prediction-band {
  display: grid;
  gap: 14px;
}

body[data-page="expert-view"] .expert-view-master-diagram__predictions {
  gap: 14px;
}

body[data-page="expert-view"] .expert-view-master-diagram__prediction {
  min-height: 180px;
}

body[data-page="expert-view"] .expert-view-master-diagram__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

body[data-page="expert-view"] .expert-view-master-diagram__note,
body[data-page="expert-view"] .expert-view-master-diagram__flow,
body[data-page="expert-view"] .expert-view-master-diagram__verdict-copy {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(86, 195, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="expert-view"] .expert-view-master-diagram__note span,
body[data-page="expert-view"] .expert-view-master-diagram__flow span,
body[data-page="expert-view"] .expert-view-master-diagram__verdict-copy span {
  color: rgba(165, 215, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="expert-view"] .expert-view-master-diagram__note strong,
body[data-page="expert-view"] .expert-view-master-diagram__flow strong,
body[data-page="expert-view"] .expert-view-master-diagram__verdict-copy strong {
  color: #f6fbff;
  font-size: 0.98rem;
}

body[data-page="expert-view"] .expert-view-master-diagram__note p,
body[data-page="expert-view"] .expert-view-master-diagram__flow p,
body[data-page="expert-view"] .expert-view-master-diagram__verdict-copy p {
  margin: 0;
  color: #a8cae6;
  font-size: 0.88rem;
  line-height: 1.38;
}

body[data-page="expert-view"] .expert-view-master-diagram__meta-pills {
  margin-top: 8px;
}

body[data-page="expert-view"] .expert-view-master-diagram__meta-pills .expert-view-pill {
  padding: 5px 8px;
  font-size: 0.68rem;
}

@media (max-width: 1360px) {
  .expert-view-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .expert-view-robot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .expert-view-summary-grid,
  .expert-view-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expert-view-hero-shell,
  .expert-view-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .expert-view-hero-stage {
    min-height: 560px;
  }

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

  body[data-page="expert-view"] .expert-view-master-diagram__footer {
    grid-template-columns: 1fr;
  }

  body[data-page="expert-view"] .expert-view-hero-copy h1 {
    font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  }
}

@media (max-width: 680px) {
  .expert-view-hero-shell {
    padding-top: 16px;
  }

  .expert-view-hero-copy {
    padding: 22px;
  }

  .expert-view-hero-metrics,
  .expert-view-summary-grid,
  .expert-view-grid-2,
  .expert-view-robot-grid {
    grid-template-columns: 1fr;
  }

  .expert-view-hero-stage {
    min-height: 460px;
  }

  .expert-view-float {
    max-width: 190px;
    min-width: 160px;
  }

  .expert-view-summary-grid,
  .expert-view-grid-2 {
    grid-template-columns: 1fr;
  }

  body[data-page="expert-view"] .expert-view-master-diagram {
    padding: 16px;
    border-radius: 22px;
  }

  body[data-page="expert-view"] .expert-view-master-diagram__head {
    flex-direction: column;
  }

  body[data-page="expert-view"] .expert-view-master-diagram__badge {
    min-width: 0;
    width: 100%;
  }

  body[data-page="expert-view"] .expert-view-master-diagram__footer {
    grid-template-columns: 1fr;
  }

  body[data-page="expert-view"] .expert-view-hero-copy h1 {
    font-size: clamp(1.22rem, 6vw, 2rem);
  }

  body[data-page="expert-view"] .expert-view-master-diagram__core,
  body[data-page="expert-view"] .expert-view-summary-grid,
  body[data-page="expert-view"] .expert-view-diagram-grid--prediction {
    grid-template-columns: 1fr;
  }
}

.content-band {
  position: relative;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 28px var(--section-inset) 34px;
  border-top: 1px solid rgba(86, 197, 255, 0.08);
  background: transparent;
}

.content-band > * {
  position: relative;
  z-index: 1;
}

#market-overview {
  scroll-margin-top: 0;
}

.soft-green-band::before,
.soft-blue-band::before,
.soft-amber-band::before {
  content: "";
  position: absolute;
  inset: 6px 0 0;
  border: 1px solid rgba(86, 197, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
}

.soft-green-band::before {
  background: linear-gradient(180deg, rgba(30, 255, 169, 0.08), rgba(255, 255, 255, 0.55));
}

.soft-blue-band::before {
  background: linear-gradient(180deg, rgba(63, 145, 255, 0.08), rgba(255, 255, 255, 0.55));
}

.soft-amber-band::before {
  background: linear-gradient(180deg, rgba(87, 198, 255, 0.08), rgba(255, 255, 255, 0.55));
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.levels-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.level-panel {
  padding: 16px;
}

.support-panel {
  background: linear-gradient(180deg, rgba(32, 37, 30, 0.92), rgba(18, 22, 18, 0.96));
}

.resistance-panel {
  background: linear-gradient(180deg, rgba(44, 31, 28, 0.92), rgba(25, 20, 19, 0.96));
}

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

.level-pill {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(43, 54, 72, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.94rem;
  font-weight: 850;
}

.page-title {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--section-inset) 32px;
}

.page-title > * {
  max-width: 820px;
}

.title-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  max-width: 960px;
}

.title-stat {
  min-height: 104px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(86, 197, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 17, 28, 0.9), rgba(8, 11, 18, 0.96));
  backdrop-filter: blur(10px);
}

.title-stat span {
  display: block;
  margin-bottom: 10px;
  color: rgba(156, 217, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.title-stat strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.15;
}

.brief-note {
  max-width: 860px;
  margin: 18px 0 0;
  color: #a8cae6;
  font-size: 1rem;
}

.feature-title {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: 44px;
}

.feature-title::before {
  inset: 20px 0 0;
}

.feature-title-nifty::before {
  background:
    linear-gradient(135deg, rgba(200, 167, 104, 0.11), rgba(111, 136, 151, 0.08) 48%, rgba(143, 164, 124, 0.08)),
    var(--market-texture),
    linear-gradient(180deg, rgba(24, 23, 21, 0.95), rgba(17, 19, 22, 0.96));
}

.page-title h1 {
  max-width: 15ch;
}

.contact-hero {
  max-width: none;
}

.contact-hero > * {
  max-width: none;
}

.contact-hero .lead {
  max-width: 960px;
  color: #d2c5aa;
}

.contact-hero-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(25, 28, 31, 0.84), rgba(17, 19, 22, 0.96)),
    rgba(17, 19, 22, 0.92);
  box-shadow: var(--shadow);
}

.contact-hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(200, 167, 104, 0.16);
  color: #f0d7a2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-note p {
  margin: 0;
  color: #d8cdb8;
  font-size: 0.96rem;
}

.contact-hero-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.contact-hero-matrix div {
  padding: 15px 16px 14px;
  border: 1px solid rgba(43, 54, 72, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.contact-hero-matrix span {
  display: block;
  color: #bcae92;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-matrix strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.compact-title h1 {
  max-width: none;
  white-space: nowrap;
}

.range-map-card {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin-top: 22px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(43, 54, 72, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(25, 28, 31, 0.9), rgba(17, 19, 22, 0.96)),
    rgba(17, 19, 22, 0.9);
  box-shadow: 0 18px 44px rgba(7, 8, 12, 0.22);
  --range-fill-start: rgba(104, 193, 120, 0.9);
  --range-fill-mid: rgba(224, 186, 79, 0.9);
  --range-fill-end: rgba(228, 89, 74, 0.92);
  --range-glow-left: rgba(104, 193, 120, 0.16);
  --range-glow-mid: rgba(224, 186, 79, 0.16);
  --range-glow-right: rgba(228, 89, 74, 0.16);
  --range-accent: #d6af63;
  --range-accent-soft: rgba(214, 175, 99, 0.16);
  --range-support: #97dfae;
  --range-resistance: #f29a8d;
  --range-spot: #f5e3bc;
}

.range-map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 110% at 0% 0%, var(--range-glow-left), rgba(0, 0, 0, 0) 40%),
    radial-gradient(110% 110% at 52% 20%, var(--range-glow-mid), rgba(0, 0, 0, 0) 46%),
    radial-gradient(120% 110% at 100% 0%, var(--range-glow-right), rgba(0, 0, 0, 0) 44%);
  opacity: 0.95;
}

.range-map-header,
.range-map-labels {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.range-map-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.range-map-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(200, 167, 104, 0.18);
  border-radius: 999px;
  background: rgba(200, 167, 104, 0.12);
  color: #f4e4bc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-map-card--green .range-map-tag {
  border-color: rgba(104, 193, 120, 0.32);
  background: rgba(104, 193, 120, 0.16);
  color: #d7f8de;
}

.range-map-card--amber .range-map-tag {
  border-color: rgba(224, 186, 79, 0.34);
  background: rgba(224, 186, 79, 0.16);
  color: #fff0bf;
}

.range-map-card--red .range-map-tag {
  border-color: rgba(228, 89, 74, 0.3);
  background: rgba(228, 89, 74, 0.16);
  color: #ffd0cb;
}

.range-map-note {
  margin: 0;
  max-width: 620px;
  color: #a9b2bd;
  font-size: 0.94rem;
}

.range-map-price {
  display: grid;
  gap: 4px;
  text-align: right;
}

.range-map-price span,
.range-map-labels span {
  color: #bcae92;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-map-price strong,
.range-map-labels strong {
  font-size: 1.3rem;
  line-height: 1;
}

.range-map-card--green .range-map-price strong {
  color: #f3fff5;
  text-shadow: 0 0 14px rgba(104, 193, 120, 0.12);
}

.range-map-card--amber .range-map-price strong {
  color: #fff7de;
  text-shadow: 0 0 14px rgba(224, 186, 79, 0.12);
}

.range-map-card--red .range-map-price strong {
  color: #fff0ed;
  text-shadow: 0 0 14px rgba(228, 89, 74, 0.12);
}

.range-map-scale {
  position: relative;
  height: 58px;
  margin-top: 18px;
}

.range-band {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(92, 187, 111, 0.72) 0%,
      rgba(136, 201, 96, 0.66) 24%,
      rgba(224, 186, 79, 0.64) 50%,
      rgba(228, 145, 73, 0.68) 74%,
      rgba(228, 89, 74, 0.76) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 18px rgba(224, 186, 79, 0.08);
}

.resistance-band {
  left: 50%;
  background: linear-gradient(
    90deg,
    rgba(224, 186, 79, 0.2) 0%,
    rgba(228, 145, 73, 0.5) 42%,
    rgba(228, 89, 74, 0.76) 100%
  );
}

.range-marker {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6fbff, var(--blue));
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.06),
    0 0 22px var(--range-accent-soft);
  transform: translateX(-50%);
}

.range-marker::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(245, 239, 226, 0.94);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff9ec 0%, var(--range-accent) 100%);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 18px var(--range-accent-soft);
  transform: translateX(-50%);
}

.range-map-labels {
  margin-top: 6px;
}

.range-map-card--green {
  --range-accent: #78d48c;
  --range-accent-soft: rgba(120, 212, 140, 0.22);
  --range-glow-left: rgba(104, 193, 120, 0.3);
  --range-glow-mid: rgba(224, 186, 79, 0.12);
  --range-glow-right: rgba(228, 89, 74, 0.1);
}

.range-map-card--amber {
  --range-accent: #efc25a;
  --range-accent-soft: rgba(239, 194, 90, 0.22);
  --range-glow-left: rgba(104, 193, 120, 0.14);
  --range-glow-mid: rgba(239, 194, 90, 0.32);
  --range-glow-right: rgba(228, 89, 74, 0.14);
}

.range-map-card--red {
  --range-accent: #f08a7d;
  --range-accent-soft: rgba(240, 138, 125, 0.22);
  --range-glow-left: rgba(104, 193, 120, 0.1);
  --range-glow-mid: rgba(224, 186, 79, 0.16);
  --range-glow-right: rgba(228, 89, 74, 0.32);
}

.range-map-card--green .range-map-price span,
.range-map-card--green .range-map-labels > div:first-child span,
.range-map-card--green .range-map-labels > div:first-child strong {
  color: #d6f6de;
}

.range-map-card--amber .range-map-price span,
.range-map-card--amber .range-map-labels > div:first-child span,
.range-map-card--amber .range-map-labels > div:first-child strong {
  color: #fff0c8;
}

.range-map-card--red .range-map-price span,
.range-map-card--red .range-map-labels > div:first-child span,
.range-map-card--red .range-map-labels > div:first-child strong {
  color: #ffd5d0;
}

.range-map-card--green .range-map-labels > div:last-child span,
.range-map-card--green .range-map-labels > div:last-child strong {
  color: #ffc8c2;
}

.range-map-card--amber .range-map-labels > div:last-child span,
.range-map-card--amber .range-map-labels > div:last-child strong {
  color: #ffc8c2;
}

.range-map-card--red .range-map-labels > div:last-child span,
.range-map-card--red .range-map-labels > div:last-child strong {
  color: #ffd8d2;
}

.news-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-key span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-key__bull {
  border: 1px solid rgba(143, 164, 124, 0.22);
  background: rgba(143, 164, 124, 0.12);
  color: #cde1bc;
}

.news-key__bear {
  border: 1px solid rgba(184, 93, 88, 0.22);
  background: rgba(184, 93, 88, 0.12);
  color: #f0c3bf;
}

.dashboard-grid,
.analysis-grid {
  position: relative;
  z-index: 1;
}

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

.live-context-band {
  padding-top: 6px;
  padding-bottom: 18px;
}

.live-context-band .market-driver-panel {
  width: 100%;
  margin: 0;
}

#market-overview {
  padding-top: 24px;
}

#market-overview .section-heading {
  margin-bottom: 12px;
}

#market-overview .dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 10px;
  padding-bottom: 22px;
}

#market-overview .quote-card {
  min-height: auto;
  padding: 13px 14px;
}

#market-overview .quote-card strong {
  font-size: clamp(1rem, 1.35vw, 1.34rem);
}

#market-overview .quote-card p {
  margin-top: 7px;
  font-size: 0.82rem;
  line-height: 1.38;
}

.trade-spotlight-band {
  padding-top: 20px;
}

.trade-spotlight-band .section-heading {
  margin-bottom: 10px;
}

.trade-spotlight-band .eyebrow {
  margin-bottom: 6px;
  color: #bea46e;
  font-size: 0.72rem;
  font-weight: 700;
}

.trade-spotlight-band h2 {
  font-size: 1.08rem;
  font-weight: 650;
}

.trade-spotlight-band .section-lead {
  max-width: 620px;
  margin-top: 8px;
  color: #9aa4af;
  font-size: 0.88rem;
  line-height: 1.45;
}

.trade-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trade-spotlight-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.96), rgba(5, 8, 13, 0.98)),
    var(--market-texture);
  box-shadow: 0 14px 34px rgba(5, 8, 12, 0.26);
  overflow: hidden;
}

.trade-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(86, 197, 255, 0.62), rgba(255, 255, 255, 0));
}

.trade-spotlight-card.tone-up::before {
  background: linear-gradient(90deg, rgba(126, 242, 191, 0.68), rgba(86, 197, 255, 0.12));
}

.trade-spotlight-card.tone-down::before {
  background: linear-gradient(90deg, rgba(255, 127, 144, 0.72), rgba(86, 197, 255, 0.12));
}

.trade-spotlight-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.trade-spotlight-card__label {
  color: #72ddff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trade-spotlight-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(200, 167, 104, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade-spotlight-card__pnl {
  font-size: clamp(1.45rem, 1.9vw, 2.1rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trade-spotlight-card__signal {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

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

.trade-spotlight-card__meta span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.trade-spotlight-card__meta em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trade-spotlight-card__meta strong {
  font-size: 0.91rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.trade-spotlight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(200, 167, 104, 0.12);
}

.trade-spotlight-card__note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.trade-spotlight-card__link {
  color: #f0d79b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade-spotlight-card--empty {
  min-height: 220px;
}

.trade-spotlight-card__empty-title {
  font-size: 1.08rem;
  line-height: 1.35;
}

.trade-spotlight-card__empty-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.quote-card--mood {
  background:
    linear-gradient(180deg, rgba(35, 37, 31, 0.94), rgba(19, 22, 21, 0.96)),
    var(--market-texture);
}

.quote-card__split {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(86, 197, 255, 0.14);
}

.quote-card__split span {
  margin-bottom: 6px;
}

.quote-card__split strong {
  font-size: 1rem;
}

.market-driver-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: -14px auto 30px;
  padding: 18px var(--section-inset);
  border: 1px solid rgba(86, 197, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 16, 26, 0.94), rgba(7, 10, 16, 0.97)),
    var(--market-texture);
  box-shadow: 0 18px 42px rgba(5, 8, 12, 0.26);
}

.market-driver-copy span {
  display: block;
  margin-bottom: 7px;
  color: #72ddff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-driver-copy strong {
  display: block;
  color: #f6fbff;
  font-size: 1.16rem;
  line-height: 1.15;
}

.market-driver-copy p {
  margin: 8px 0 0;
  color: #aab2bd;
  font-size: 0.94rem;
  line-height: 1.5;
}

.market-driver-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-driver-list li {
  padding: 9px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7ddd7;
  font-size: 0.94rem;
  line-height: 1.45;
}

.market-driver-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.market-study-band {
  padding-top: 6px;
  padding-bottom: 18px;
}

.market-study-band .market-study-panel {
  margin: 0;
}

.market-study-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto 30px;
  padding: 18px var(--section-inset);
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 16, 26, 0.94), rgba(7, 10, 16, 0.97)),
    var(--market-texture);
  box-shadow: 0 18px 42px rgba(5, 8, 12, 0.24);
}

.market-study-copy span,
.market-study-grid span {
  display: block;
  margin-bottom: 7px;
  color: #72ddff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-study-copy strong {
  display: block;
  color: #f6fbff;
  font-size: 1.16rem;
  line-height: 1.15;
}

.market-study-copy p {
  margin: 8px 0 0;
  color: #aab2bd;
  font-size: 0.94rem;
  line-height: 1.5;
}

.market-study-grid {
  display: grid;
  gap: 10px;
}

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

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

.market-study-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(86, 197, 255, 0.08);
  border-radius: 12px;
  background: rgba(8, 13, 22, 0.42);
}

.market-study-card strong {
  display: block;
  color: #f6fbff;
  font-size: 0.98rem;
  line-height: 1.15;
}

.market-study-card p {
  margin-top: 6px;
  color: #aab2bd;
  font-size: 0.84rem;
  line-height: 1.45;
}

.market-study-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-study-list li {
  padding: 9px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7ddd7;
  font-size: 0.94rem;
  line-height: 1.45;
}

.market-study-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.data-health-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 14px;
  width: 100%;
  margin-top: 12px;
  padding: 16px var(--section-inset);
  border: 1px solid rgba(43, 54, 72, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(5, 8, 12, 0.08);
}

.data-health-panel.is-up {
  border-color: rgba(79, 124, 99, 0.24);
}

.data-health-panel.is-down {
  border-color: rgba(184, 93, 88, 0.26);
}

.data-health-copy span,
.data-health-grid span {
  display: block;
  margin-bottom: 5px;
  color: #7a6d57;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-health-copy strong {
  display: block;
  color: #1f2730;
  font-size: 1.08rem;
}

.data-health-copy p {
  margin: 7px 0 0;
  color: #657184;
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.data-health-grid div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(43, 54, 72, 0.07);
  border-radius: 11px;
  background: rgba(248, 250, 252, 0.9);
}

.data-health-grid strong {
  display: block;
  color: #25303c;
  font-size: 0.88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.index-heatmap,
.sector-map {
  display: grid;
  gap: 8px;
}

.index-heat-tile {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11, 17, 28, 0.94), rgba(6, 9, 14, 0.97)),
    radial-gradient(circle at 85% 14%, rgba(86, 197, 255, 0.16), transparent 28%);
  box-shadow: 0 12px 28px rgba(4, 8, 18, 0.2);
}

.index-heat-tile span {
  color: #72ddff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-heat-tile strong {
  font-size: 1.55rem;
  line-height: 1;
}

.index-heat-tile em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.index-heat-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.index-heat-bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.index-heat-fill {
  height: 100%;
  border-radius: inherit;
}

.index-heat-tile.tone-bullish .index-heat-fill {
  background: linear-gradient(90deg, rgba(94, 255, 185, 0.56), rgba(86, 197, 255, 0.84));
}

.index-heat-tile.tone-bearish .index-heat-fill {
  background: linear-gradient(90deg, rgba(255, 127, 144, 0.56), rgba(86, 197, 255, 0.84));
}

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

.leader-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 17, 28, 0.96), rgba(5, 8, 13, 0.98));
  box-shadow: 0 18px 44px rgba(4, 8, 18, 0.22);
}

.leader-card span {
  display: block;
  margin-bottom: 12px;
  color: #72ddff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leader-list {
  display: grid;
  gap: 10px;
}

.leader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.leader-row strong {
  font-size: 0.98rem;
}

.leader-row span {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.leader-row.tone-up span {
  color: var(--green);
}

.leader-row.tone-down span {
  color: var(--red);
}

.leader-empty {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.sector-row {
  display: grid;
  grid-template-columns: 110px minmax(120px, 1fr) 74px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
}

.sector-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(43, 54, 72, 0.09);
}

.sector-fill {
  height: 100%;
  border-radius: inherit;
}

.tone-strong .sector-fill,
.tone-steady .sector-fill {
  background: linear-gradient(90deg, #7ef2bf, #56c5ff);
}

.tone-flat .sector-fill {
  background: linear-gradient(90deg, #72ddff, #bdf3ff);
}

.tone-soft .sector-fill,
.tone-weak .sector-fill {
  background: linear-gradient(90deg, #ff7f90, #ffb9c5);
}

.cue-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cue-list li {
  color: #d0dcf1;
  padding: 16px 18px;
}

.nifty-focus {
  grid-template-columns: 1fr;
}

.index-panel,
.watch-panel,
.message-preview,
.telegram-panel,
.analysis-card {
  padding: 22px;
}

.watch-panel {
  background: linear-gradient(180deg, rgba(31, 29, 27, 0.96), rgba(19, 20, 22, 0.98));
}

.signal-card--watchlist {
  border-color: rgba(224, 186, 77, 0.28);
}

.signal-card--trade,
.signal-card--active {
  border-color: rgba(126, 242, 191, 0.3);
}

.signal-card--none {
  border-color: rgba(224, 186, 77, 0.18);
}

.signal-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98)),
    var(--market-texture);
  color: #d8ecff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-status-watchlist-only {
  color: #f0cf85;
  border-color: rgba(224, 186, 77, 0.24);
  background: rgba(224, 186, 77, 0.08);
}

.signal-status-trade-signal,
.signal-status-active-trade {
  color: #7ef2bf;
  border-color: rgba(126, 242, 191, 0.24);
  background: rgba(126, 242, 191, 0.08);
}

.signal-status-no-trade {
  color: #f0cf85;
  border-color: rgba(224, 186, 77, 0.2);
  background: rgba(224, 186, 77, 0.08);
}

.profit-metrics {
  margin-bottom: 18px;
}

.profit-table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.94), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  box-shadow: 0 18px 44px rgba(4, 8, 18, 0.22);
}

.watch-panel h2 {
  color: var(--ink);
}

.watch-panel p {
  color: #a8cae6;
}

.signal-confidence {
  margin-top: 8px;
  color: #7ee6ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.riskometer {
  --risk-accent: #8fb76b;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.78fr);
  gap: 18px 24px;
  align-items: center;
  margin-top: 8px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(106, 98, 74, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 14%, rgba(250, 221, 78, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(29, 26, 22, 0.98), rgba(16, 14, 11, 0.99)),
    var(--market-texture);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.riskometer--pending,
.riskometer--none,
.riskometer--no-trade {
  --risk-accent: #e0ba4d;
}

.riskometer--low {
  --risk-accent: #8fb76b;
}

.riskometer--medium {
  --risk-accent: #e0ba4d;
}

.riskometer--high {
  --risk-accent: #e36d59;
}

.riskometer--watchlist,
.riskometer--watchlist-only {
  border-color: rgba(224, 186, 77, 0.34);
}

.riskometer--trade-signal,
.riskometer--active-trade {
  border-color: rgba(142, 182, 107, 0.34);
}

.riskometer-stage {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 410px;
  width: 100%;
  margin-inline: 0;
  justify-self: start;
}

.riskometer-gauge {
  width: 100%;
  display: block;
  overflow: visible;
}

.riskometer-outline {
  fill: none;
  stroke: rgba(240, 236, 227, 0.78);
  stroke-width: 3.5;
  stroke-linejoin: round;
}

.riskometer-segment {
  stroke: rgba(245, 239, 228, 0.84);
  stroke-width: 2.3;
  stroke-linejoin: round;
}

.riskometer-segment--low {
  fill: #7ea92d;
}

.riskometer-segment--low-mid {
  fill: #a8bf57;
}

.riskometer-segment--moderate {
  fill: #f5d73a;
}

.riskometer-segment--high-mid {
  fill: #f2a72c;
}

.riskometer-segment--high {
  fill: #ee3826;
}

.riskometer-gauge-label {
  fill: #111110;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-anchor: middle;
}

.riskometer-gauge-label--multi {
  font-size: 10.2px;
  line-height: 1;
}

.riskometer-needle {
  fill: none;
  stroke: #111111;
  stroke-width: 6.2;
  stroke-linecap: round;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.1))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.36));
}

.riskometer-hub {
  fill: #11100e;
  stroke: #3a2816;
  stroke-width: 4.5;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.38));
}

.riskometer-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7aa92a 0%, #a8c93b 24%, #f4da36 49%, #f3a92b 75%, #ef3e24 100%);
  color: #111;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.36),
    0 5px 12px rgba(0, 0, 0, 0.18);
}

.riskometer-band span {
  text-shadow: none;
}

.riskometer-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-self: center;
  justify-self: start;
  max-width: 300px;
  padding-top: 4px;
}

.riskometer-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.riskometer-head span {
  color: #a89c86;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.riskometer-head strong {
  color: var(--risk-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 6px 14px;
  border: 1px solid rgba(123, 104, 72, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.riskometer-copy p {
  margin: 0;
}

.riskometer-copy p:first-of-type {
  color: #f3eadb;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.22;
}

.riskometer-caption {
  color: #bcb19c;
  font-size: 0.8rem;
  line-height: 1.28;
}

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

.projection-card {
  --projection-accent: #98a0ad;
  --projection-meter: 0%;
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(150, 160, 173, 0.16);
  overflow: hidden;
}

.projection-card--up {
  --projection-accent: #7fb76f;
  border-color: rgba(127, 183, 111, 0.18);
}

.projection-card--down {
  --projection-accent: #c95b59;
  border-color: rgba(201, 91, 89, 0.18);
}

.projection-card--flat {
  --projection-accent: #d1b262;
  border-color: rgba(209, 178, 98, 0.18);
}

.projection-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.projection-card__head span {
  display: block;
  color: #9ca7b6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projection-card__head strong {
  display: block;
  margin-top: 3px;
  color: var(--projection-accent);
  font-size: 1.06rem;
  font-weight: 900;
}

.projection-card__score {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 104px;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.projection-card__score::before {
  content: "Probability";
  display: block;
  color: #9ca7b6;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projection-card__score span {
  display: block;
  color: #9ca7b6;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projection-card__score strong {
  display: block;
  color: var(--projection-accent);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.projection-meter {
  position: relative;
  height: 14px;
  padding: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(201, 91, 89, 0.32) 0%, rgba(201, 91, 89, 0.18) 18%, rgba(209, 178, 98, 0.22) 50%, rgba(127, 183, 111, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.projection-meter::before {
  content: "";
  position: absolute;
  inset: 2px auto 2px 2px;
  width: var(--projection-meter, 0%);
  border-radius: inherit;
  transition: width 220ms ease;
  background:
    linear-gradient(90deg, rgba(201, 91, 89, 0.95) 0%, rgba(209, 178, 98, 0.98) 52%, rgba(127, 183, 111, 0.98) 100%);
  box-shadow: 0 0 14px rgba(127, 183, 111, 0.18);
}

.projection-meter::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--projection-meter, 0%);
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(15, 18, 23, 0.92);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72) 35%, rgba(255, 255, 255, 0.1) 68%, rgba(255, 255, 255, 0) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.projection-card[data-probability-tone="up"] .projection-meter {
  background:
    linear-gradient(90deg, rgba(201, 91, 89, 0.25) 0%, rgba(209, 178, 98, 0.3) 42%, rgba(127, 183, 111, 0.34) 100%);
}

.projection-card[data-probability-tone="up"] .projection-meter::before {
  box-shadow:
    0 0 18px rgba(127, 183, 111, 0.22),
    0 0 28px rgba(127, 183, 111, 0.12);
}

.projection-card[data-probability-tone="up"] .projection-meter::after {
  border-color: rgba(127, 183, 111, 0.9);
  box-shadow:
    0 0 0 2px rgba(127, 183, 111, 0.16),
    0 0 16px rgba(127, 183, 111, 0.26);
}

.projection-card[data-probability-tone="down"] .projection-meter {
  background:
    linear-gradient(90deg, rgba(201, 91, 89, 0.34) 0%, rgba(209, 178, 98, 0.28) 56%, rgba(127, 183, 111, 0.22) 100%);
}

.projection-card[data-probability-tone="down"] .projection-meter::before {
  box-shadow:
    0 0 18px rgba(201, 91, 89, 0.22),
    0 0 28px rgba(201, 91, 89, 0.12);
}

.projection-card[data-probability-tone="down"] .projection-meter::after {
  border-color: rgba(201, 91, 89, 0.9);
  box-shadow:
    0 0 0 2px rgba(201, 91, 89, 0.16),
    0 0 16px rgba(201, 91, 89, 0.24);
}

.projection-card[data-probability-tone="flat"] .projection-meter {
  background:
    linear-gradient(90deg, rgba(201, 91, 89, 0.22) 0%, rgba(209, 178, 98, 0.38) 50%, rgba(127, 183, 111, 0.24) 100%);
}

.projection-card[data-probability-tone="flat"] .projection-meter::before {
  box-shadow:
    0 0 18px rgba(209, 178, 98, 0.2),
    0 0 28px rgba(209, 178, 98, 0.1);
}

.projection-card[data-probability-tone="flat"] .projection-meter::after {
  border-color: rgba(209, 178, 98, 0.88);
  box-shadow:
    0 0 0 2px rgba(209, 178, 98, 0.16),
    0 0 16px rgba(209, 178, 98, 0.24);
}

.projection-card[data-probability-tone="up"] .projection-card__score,
.projection-card[data-probability-tone="flat"] .projection-card__score,
.projection-card[data-probability-tone="down"] .projection-card__score {
  border-color: rgba(255, 255, 255, 0.12);
}

.projection-card[data-probability-tone="up"] .projection-card__score {
  background: linear-gradient(180deg, rgba(127, 183, 111, 0.14), rgba(31, 29, 27, 0.66));
}

.projection-card[data-probability-tone="down"] .projection-card__score {
  background: linear-gradient(180deg, rgba(201, 91, 89, 0.14), rgba(31, 29, 27, 0.66));
}

.projection-card[data-probability-tone="flat"] .projection-card__score {
  background: linear-gradient(180deg, rgba(209, 178, 98, 0.14), rgba(31, 29, 27, 0.66));
}

.projection-chart {
  width: 100%;
  min-height: 126px;
}

.projection-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.projection-axis {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
  stroke-linecap: round;
}

.projection-guide {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
}

.projection-band {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

.projection-marker {
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 2;
  stroke-linecap: round;
}

.projection-spot {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.projection-label {
  fill: #dfe6ef;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.01em;
  text-anchor: middle;
}

.projection-label--top {
  font-size: 12px;
}

.projection-card__band {
  color: var(--projection-accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.projection-card p {
  margin: 0;
  color: #bec8d7;
  font-size: 0.79rem;
  line-height: 1.34;
}

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

.signal-meta div {
  display: grid;
  gap: 4px;
  padding: 9px 11px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.signal-meta span {
  color: #a8cae6;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-meta strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
}

.signal-audit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-audit div {
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(86, 197, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.signal-audit-wide {
  grid-column: 1 / -1;
}

.signal-audit span {
  display: block;
  margin-bottom: 4px;
  color: #a8cae6;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-audit strong {
  display: block;
  color: #f6fbff;
  font-size: 0.77rem;
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.quality-checklist {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(86, 197, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(13, 17, 24, 0.98), rgba(8, 12, 18, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

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

.quality-checklist__head span {
  display: block;
  color: #a8cae6;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quality-checklist__head strong {
  display: block;
  margin-top: 4px;
  color: #f6fbff;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.3;
}

.quality-checklist__score {
  flex: 0 0 auto;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
}

.quality-checklist__score--compact {
  width: auto;
  min-width: 104px;
  height: auto;
  padding: 10px 12px 9px;
  justify-items: center;
  align-content: center;
  gap: 1px;
  border: 1px solid rgba(200, 167, 104, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quality-checklist__score--compact strong {
  display: block;
  color: #f6fbff;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.quality-checklist__rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 12px;
}

.quality-checklist__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(200, 167, 104, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(18, 20, 26, 0.96), rgba(10, 12, 16, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.quality-checklist__panel--high {
  border-color: rgba(125, 177, 132, 0.18);
  background:
    radial-gradient(circle at 16% 14%, rgba(125, 177, 132, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(17, 24, 20, 0.96), rgba(10, 12, 16, 0.98));
}

.quality-checklist__panel--medium {
  border-color: rgba(221, 177, 89, 0.18);
  background:
    radial-gradient(circle at 16% 14%, rgba(221, 177, 89, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(23, 21, 15, 0.96), rgba(10, 12, 16, 0.98));
}

.quality-checklist__panel--low {
  border-color: rgba(223, 101, 97, 0.18);
  background:
    radial-gradient(circle at 16% 14%, rgba(223, 101, 97, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(24, 16, 16, 0.96), rgba(10, 12, 16, 0.98));
}

.quality-checklist__panel-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 10px 11px 9px;
  border: 1px solid rgba(200, 167, 104, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.quality-checklist__panel-item:last-child {
  padding-bottom: 9px;
}

.quality-checklist__row-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 18px;
}

.quality-checklist__row-head span {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d8ecff;
  font-size: 0.72rem;
  font-weight: 860;
  line-height: 1;
  white-space: nowrap;
}

.quality-checklist__row strong {
  color: #f6fbff;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.quality-checklist__arrow {
  display: inline-block;
  color: currentColor;
  font-size: 0.68rem;
  line-height: 1;
  opacity: 0.88;
  transform: translateY(-0.5px);
}

.quality-checklist__panel-item.tone-up {
  color: rgba(125, 177, 132, 0.94);
  border-left: 3px solid rgba(125, 177, 132, 0.72);
  padding-left: 10px;
}

.quality-checklist__panel-item.tone-up .quality-checklist__row-head span {
  color: #92e29f;
  background: rgba(125, 177, 132, 0.12);
}

.quality-checklist__panel-item.tone-flat {
  color: rgba(221, 177, 89, 0.92);
  border-left: 3px solid rgba(221, 177, 89, 0.72);
  padding-left: 10px;
}

.quality-checklist__panel-item.tone-flat .quality-checklist__row-head span {
  color: #f0cf85;
  background: rgba(221, 177, 89, 0.12);
}

.quality-checklist__panel-item.tone-down {
  color: rgba(223, 101, 97, 0.94);
  border-left: 3px solid rgba(223, 101, 97, 0.72);
  padding-left: 10px;
}

.quality-checklist__panel-item.tone-down .quality-checklist__row-head span {
  color: #ffaaa5;
  background: rgba(223, 101, 97, 0.12);
}

.quality-checklist--high .quality-checklist__score {
  color: #8fe09a;
  border-color: rgba(125, 177, 132, 0.24);
  background: rgba(73, 138, 88, 0.12);
}

.quality-checklist--medium .quality-checklist__score {
  color: #f0cf85;
  border-color: rgba(221, 177, 89, 0.24);
  background: rgba(193, 145, 58, 0.12);
}

.quality-checklist--low .quality-checklist__score {
  color: #ffaaa5;
  border-color: rgba(223, 101, 97, 0.24);
  background: rgba(184, 72, 67, 0.12);
}

.risk-policy-diagram {
  display: grid;
  gap: 10px;
}

.risk-policy-diagram__top {
  display: grid;
  gap: 6px;
}

.risk-policy-diagram__badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #72ddff;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-policy-diagram__status {
  color: #f6fbff;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.25;
}

.risk-policy-diagram__note {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

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

.risk-policy-diagram__column {
  min-height: 100%;
  padding: 11px;
  border-radius: 16px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.risk-policy-diagram__column--do {
  background:
    radial-gradient(circle at top left, rgba(126, 242, 191, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(8, 18, 28, 0.9), rgba(6, 10, 16, 0.95));
}

.risk-policy-diagram__column--dont {
  background:
    radial-gradient(circle at top left, rgba(255, 127, 144, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(26, 10, 18, 0.92), rgba(11, 7, 13, 0.95));
}

.risk-policy-diagram__column-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.risk-policy-diagram__column-head span {
  color: #f6fbff;
  font-size: 0.8rem;
  font-weight: 840;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.risk-policy-diagram__column-head small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.risk-policy-diagram__single {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: start;
  margin-top: 2px;
}

.risk-policy-diagram__single-line {
  width: 10px;
  min-height: 46px;
  border-radius: 999px;
}

.risk-policy-diagram__column--do .risk-policy-diagram__single-line {
  background: linear-gradient(180deg, rgba(125, 177, 132, 0.95), rgba(73, 138, 88, 0.95));
}

.risk-policy-diagram__column--dont .risk-policy-diagram__single-line {
  background: linear-gradient(180deg, rgba(223, 101, 97, 0.95), rgba(184, 72, 67, 0.95));
}

.risk-policy-diagram__single-text strong {
  display: block;
  color: #f6fbff;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.25;
}

.risk-policy-diagram__single-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.risk-policy-diagram__rail {
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #a8cae6;
  font-size: 0.72rem;
  line-height: 1.45;
}

.risk-policy-diagram__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.risk-policy-diagram__footer span {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #a8cae6;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.profit-table th,
.profit-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: nowrap;
}

.profit-table th {
  color: #72ddff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profit-table td {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.01);
}

.profit-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.profit-table tbody tr:last-child td {
  border-bottom: none;
}

.profit-profit {
  color: var(--green);
  font-weight: 800;
}

.profit-loss {
  color: var(--red);
  font-weight: 800;
}

.profit-ambiguous {
  color: #d7c18c;
  font-weight: 800;
}

.profit-confidence {
  color: #d7c18c;
  font-weight: 800;
}

.profit-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.telegram-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
}

.news-hero {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(198, 174, 121, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(87, 112, 160, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(22, 24, 28, 0.98), rgba(16, 18, 21, 0.98));
  border: 1px solid rgba(226, 210, 170, 0.14);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(4, 8, 18, 0.34);
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.36;
  pointer-events: none;
}

.news-hero > * {
  position: relative;
  z-index: 1;
}

.news-hero .lead {
  max-width: 820px;
  color: #d8d1c1;
}

.news-hero__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-hero__rail span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4e4bc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-spotlight-grid {
  gap: 18px;
}

.news-spotlight-grid .analysis-card {
  position: relative;
  min-height: 180px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(198, 174, 121, 0.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(198, 174, 121, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(25, 26, 28, 0.76), rgba(14, 15, 18, 0.94));
  box-shadow: none;
  overflow: hidden;
}

.news-spotlight-grid .analysis-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 174, 121, 0.12), transparent 70%);
  pointer-events: none;
}

.news-spotlight-grid .analysis-card span {
  color: #8f97a4;
  letter-spacing: 0.1em;
}

.news-spotlight-grid .analysis-card strong {
  font-size: clamp(1.18rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}

.news-spotlight-grid .analysis-card p {
  max-width: 100%;
  color: #d9deea;
  font-size: 0.96rem;
  line-height: 1.55;
}

.news-column-note {
  margin: 0;
  color: #a9b0bc;
  font-size: 0.93rem;
  line-height: 1.55;
}

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

.news-column {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(226, 210, 170, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(21, 22, 25, 0.82), rgba(12, 13, 16, 0.94)),
    radial-gradient(circle at top right, rgba(198, 174, 121, 0.06), transparent 26%);
  box-shadow: 0 16px 40px rgba(4, 8, 18, 0.2);
}

.news-list {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-item {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 13px 0 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 3px;
  background: rgba(198, 174, 121, 0.4);
  border-radius: 999px;
}

.news-item::after {
  display: none;
}

.news-item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.news-item__headline,
.news-item__headline:visited {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: #f6fbff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.news-item__insights {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.news-item__insight {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tone-bullish::before {
  background: rgba(143, 164, 124, 0.9);
}

.tone-bearish::before {
  background: rgba(184, 123, 115, 0.9);
}

.tone-neutral::before {
  background: rgba(224, 186, 77, 0.88);
}

.news-item.tone-bullish,
.trade-spotlight-card.tone-up,
.leader-row.tone-up,
.sector-row.tone-strong,
.sector-row.tone-steady,
.index-heat-tile.tone-bullish,
.study-rotation-row.tone-up,
.study-calibration-bar .tone-up,
.quality-checklist__panel-item.tone-up {
  border-color: rgba(79, 124, 99, 0.24);
  box-shadow:
    0 0 0 1px rgba(79, 124, 99, 0.06),
    0 16px 32px rgba(79, 124, 99, 0.08);
}

.news-item.tone-bearish,
.trade-spotlight-card.tone-down,
.leader-row.tone-down,
.sector-row.tone-soft,
.sector-row.tone-weak,
.index-heat-tile.tone-bearish,
.study-rotation-row.tone-down,
.study-calibration-bar .tone-down,
.quality-checklist__panel-item.tone-down {
  border-color: rgba(180, 93, 88, 0.24);
  box-shadow:
    0 0 0 1px rgba(180, 93, 88, 0.06),
    0 16px 32px rgba(180, 93, 88, 0.08);
}

.news-item.tone-neutral,
.trade-spotlight-card.tone-neutral,
.leader-row.tone-flat,
.sector-row.tone-flat,
.index-heat-tile.tone-neutral,
.study-rotation-row.tone-flat,
.study-calibration-bar .tone-flat,
.quality-checklist__panel-item.tone-flat {
  border-color: rgba(224, 186, 77, 0.22);
  box-shadow:
    0 0 0 1px rgba(224, 186, 77, 0.05),
    0 14px 28px rgba(224, 186, 77, 0.06);
}

.news-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 1px;
}

.news-pill,
.news-item__source,
.news-item__time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #d8d1c1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-pill.tone-bullish {
  padding: 4px 10px;
  border: 1px solid rgba(143, 164, 124, 0.26);
  border-radius: 999px;
  background: rgba(143, 164, 124, 0.1);
  color: #cde1bc;
}

.news-pill.tone-bearish {
  padding: 4px 10px;
  border: 1px solid rgba(184, 123, 115, 0.24);
  border-radius: 999px;
  background: rgba(184, 123, 115, 0.1);
  color: #efc0b8;
}

.news-pill.tone-neutral {
  padding: 4px 10px;
  border: 1px solid rgba(224, 186, 77, 0.2);
  border-radius: 999px;
  background: rgba(224, 186, 77, 0.08);
  color: #f0cf85;
}

.news-item__source,
.news-item__time {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa2af;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.news-item__headline,
.news-item__headline:visited {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 800;
}

.news-item__headline:hover {
  color: #f2d79a;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.news-item__summary {
  margin: 0;
  color: #aeb5c1;
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 68ch;
}

.news-item__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 0;
  border-top: none;
}

.news-item__cue {
  color: #9aa2af;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-item__action {
  color: #72ddff;
  font-size: 0.8rem;
  font-weight: 800;
}

.news-item__action:hover {
  color: #bdf3ff;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.news-item--empty {
  min-height: 150px;
  align-content: center;
  justify-items: start;
  text-align: left;
  padding: 24px 0 24px 16px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-item--empty span {
  color: #72ddff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-item--empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}

.tone-bullish {
  border-color: rgba(126, 242, 191, 0.22);
}

.tone-bearish {
  border-color: rgba(255, 127, 144, 0.24);
}

.tone-neutral {
  border-color: rgba(224, 186, 77, 0.18);
}

.message-preview {
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.96), rgba(5, 7, 12, 0.98));
  color: var(--ink);
}

.message-preview p,
.message-preview span {
  color: var(--muted);
}

.message-preview a {
  display: inline-flex;
  margin-top: 18px;
  color: #72ddff;
  font-weight: 850;
}

.telegram-panel {
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.94), rgba(5, 8, 13, 0.96));
}

.telegram-panel .primary-action[aria-disabled="true"] {
  margin-top: 20px;
  cursor: not-allowed;
  opacity: 0.72;
}

.telegram-panel .secondary-action {
  margin-top: 12px;
}

.status-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.status-card,
.methodology-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.94), rgba(5, 7, 12, 0.98));
  box-shadow: 0 16px 38px rgba(4, 8, 18, 0.2);
}

.status-card--primary,
.methodology-card--important {
  border-color: rgba(86, 197, 255, 0.24);
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.95), rgba(5, 7, 12, 0.98));
}

.status-card--wide {
  grid-column: span 2;
}

.status-card span,
.methodology-card span {
  display: block;
  margin-bottom: 8px;
  color: #72ddff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.status-card p,
.methodology-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.methodology-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.methodology-visual-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.methodology-hero-card,
.methodology-panel {
  min-width: 0;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.methodology-hero-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(63, 145, 255, 0.18), rgba(17, 20, 23, 0.98) 42%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.96), rgba(5, 7, 12, 0.98));
}

.methodology-panel {
  padding: 18px;
}

.pattern-panel {
  grid-column: span 7;
}

.confidence-panel {
  grid-column: span 5;
}

.regime-panel,
.risk-panel,
.ai-panel {
  grid-column: span 4;
}

.trade-quality-guide-panel {
  grid-column: span 8;
  border-color: rgba(86, 197, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.96), rgba(5, 7, 12, 0.98));
}

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

.trade-quality-guide-item {
  min-width: 0;
  padding: 12px 12px 10px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.96), rgba(7, 10, 16, 0.98));
}

.trade-quality-guide-item[open] {
  border-color: rgba(86, 197, 255, 0.24);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(7, 10, 16, 0.99));
}

.trade-quality-guide-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.trade-quality-guide-summary::-webkit-details-marker {
  display: none;
}

.trade-quality-guide-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trade-quality-guide-item__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trade-quality-guide-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(86, 197, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #72ddff;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trade-quality-guide-toggle::before {
  content: "+";
}

.trade-quality-guide-item[open] .trade-quality-guide-toggle::before {
  content: "–";
}

.trade-quality-guide-item__head strong {
  color: #f6fbff;
  font-size: 0.8rem;
  font-weight: 870;
  line-height: 1.12;
}

.trade-quality-guide-item__head span {
  color: #a8cae6;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade-quality-guide-rail {
  position: relative;
  height: 14px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 127, 144, 0.98) 0%, rgba(224, 186, 77, 0.98) 50%, rgba(126, 242, 191, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trade-quality-guide-rail::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 13, 22, 0.05) 0%, rgba(8, 13, 22, 0.12) 100%);
}

.trade-quality-guide-rail::after {
  content: "";
  position: absolute;
  left: var(--pin, 50%);
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(11, 11, 12, 0.85);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.96), rgba(240, 226, 193, 0.92) 45%, rgba(224, 186, 77, 0.88) 75%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 8px rgba(224, 186, 77, 0.06);
}

.trade-quality-guide-item--support .trade-quality-guide-rail::after {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 8px rgba(126, 242, 191, 0.08);
}

.trade-quality-guide-item--mixed .trade-quality-guide-rail::after {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 8px rgba(224, 186, 77, 0.08);
}

.trade-quality-guide-item--against .trade-quality-guide-rail::after {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 8px rgba(255, 127, 144, 0.08);
}

.trade-quality-guide-item__note {
  margin: 9px 2px 0;
  color: #c9bea7;
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.methodology-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(125, 177, 132, 0.22);
  border-radius: 999px;
  background: rgba(125, 177, 132, 0.1);
  color: #b6e6bf;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.methodology-link-chip:hover {
  background: rgba(86, 197, 255, 0.16);
  color: #f6fbff;
}

.methodology-note-panel {
  grid-column: 1 / -1;
  border-color: rgba(86, 197, 255, 0.24);
  background: linear-gradient(90deg, rgba(63, 145, 255, 0.16), rgba(8, 13, 22, 0.98));
}

.method-label,
.method-panel-heading span {
  display: block;
  margin-bottom: 8px;
  color: #7ee6ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.methodology-hero-card h2,
.methodology-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.42rem);
  line-height: 1.12;
}

.methodology-hero-card p,
.methodology-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.signal-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.flow-step {
  position: relative;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(245, 239, 226, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(245, 239, 226, 0.08), rgba(245, 239, 226, 0.02)),
    rgba(12, 16, 20, 0.58);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 2px;
  background: rgba(200, 167, 104, 0.45);
}

.flow-step strong {
  display: block;
  color: rgba(200, 167, 104, 0.72);
  font-size: 0.78rem;
}

.flow-step span {
  display: block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 850;
}

.method-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.method-panel-copy {
  margin: -2px 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

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

.study-visual-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.study-gauge-card,
.study-rotation-panel,
.study-pattern-panel,
.study-calibration-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.42);
}

.study-gauge-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: center;
}

.study-gauge {
  position: relative;
  min-height: 172px;
  padding: 14px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 127, 144, 0.14), transparent 34%),
    radial-gradient(circle at 52% 18%, rgba(224, 186, 77, 0.16), transparent 36%),
    radial-gradient(circle at 80% 16%, rgba(126, 242, 191, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 23, 0.92), rgba(10, 13, 18, 0.98));
}

.study-gauge::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 239, 226, 0.06);
  background:
    linear-gradient(90deg, transparent 0, transparent 33.2%, rgba(245, 239, 226, 0.05) 33.2%, rgba(245, 239, 226, 0.05) 33.8%, transparent 33.8%, transparent 66.2%, rgba(245, 239, 226, 0.05) 66.2%, rgba(245, 239, 226, 0.05) 66.8%, transparent 66.8%),
    linear-gradient(180deg, rgba(11, 15, 19, 0.06), rgba(11, 15, 19, 0.42));
  pointer-events: none;
}

.study-cycle-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.study-cycle-head__label {
  display: block;
  color: #72ddff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.study-cycle-head strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.12;
}

.study-cycle-track {
  position: absolute;
  inset: 58px 14px 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(224, 186, 77, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 127, 144, 0.18), rgba(224, 186, 77, 0.16), rgba(126, 242, 191, 0.18)),
    rgba(255, 255, 255, 0.03);
}

.study-cycle-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 14px 14px 16px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.study-cycle-step::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.study-cycle-step--range::after {
  background: linear-gradient(90deg, rgba(255, 127, 144, 0.58), rgba(255, 127, 144, 0.22));
}

.study-cycle-step--build::after {
  background: linear-gradient(90deg, rgba(224, 186, 77, 0.58), rgba(224, 186, 77, 0.22));
}

.study-cycle-step--trend::after {
  background: linear-gradient(90deg, rgba(126, 242, 191, 0.58), rgba(126, 242, 191, 0.22));
}

.study-gauge[data-stage="range"] .study-cycle-step--range,
.study-gauge[data-stage="build"] .study-cycle-step--build,
.study-gauge[data-stage="trend"] .study-cycle-step--trend {
  color: #f6fbff;
}

.study-gauge[data-stage="range"] .study-cycle-step--range::after,
.study-gauge[data-stage="build"] .study-cycle-step--build::after,
.study-gauge[data-stage="trend"] .study-cycle-step--trend::after {
  box-shadow: 0 0 0 1px rgba(246, 251, 255, 0.16), 0 0 18px rgba(224, 186, 77, 0.16);
}

.study-gauge[data-stage="range"] .study-cycle-step--range::after {
  box-shadow: 0 0 0 1px rgba(246, 251, 255, 0.16), 0 0 18px rgba(255, 127, 144, 0.16);
}

.study-gauge[data-stage="build"] .study-cycle-step--build::after {
  box-shadow: 0 0 0 1px rgba(246, 251, 255, 0.16), 0 0 18px rgba(224, 186, 77, 0.18);
}

.study-gauge[data-stage="trend"] .study-cycle-step--trend::after {
  box-shadow: 0 0 0 1px rgba(246, 251, 255, 0.16), 0 0 18px rgba(126, 242, 191, 0.16);
}

.study-cycle-caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.study-cycle-caption span {
  text-align: center;
}

.study-gauge__needle {
  position: absolute;
  left: var(--study-needle-position, 50%);
  top: 50%;
  z-index: 2;
  width: 3px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0b1018, #214466 62%, #56c5ff);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.study-gauge__needle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
  background: linear-gradient(135deg, #0f1114, #56c5ff);
  box-shadow: 0 0 0 3px rgba(13, 17, 23, 0.84), 0 0 20px rgba(86, 197, 255, 0.18);
}

.study-gauge-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}

.study-gauge-copy span {
  color: #72ddff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-gauge-copy strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.18;
}

.study-gauge-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.study-rotation-panel {
  grid-column: span 4;
  min-height: 100%;
}

.study-pattern-panel {
  grid-column: span 4;
  min-height: 100%;
}

.study-calibration-panel {
  grid-column: span 4;
  min-height: 100%;
}

.study-rotation-chart,
.study-calibration-chart {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.study-rotation-row,
.study-calibration-row {
  display: grid;
  grid-template-columns: minmax(84px, 1.05fr) minmax(0, 1.55fr) auto;
  gap: 10px;
  align-items: center;
}

.study-rotation-row strong,
.study-calibration-row strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
}

.study-rotation-row span,
.study-calibration-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.study-rotation-track,
.study-calibration-bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 239, 226, 0.08);
}

.study-rotation-track i,
.study-calibration-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.study-rotation-row.tone-up .study-rotation-track i,
.study-calibration-bar .tone-up {
  background: var(--green);
}

.study-rotation-row.tone-down .study-rotation-track i,
.study-calibration-bar .tone-down {
  background: var(--red);
}

.study-rotation-row.tone-flat .study-rotation-track i,
.study-calibration-bar .tone-flat {
  background: var(--amber);
}

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

.study-pattern-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 12px;
  background: rgba(10, 14, 20, 0.38);
}

.study-pattern-item strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.94rem;
}

.study-pattern-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.52;
}

.study-empty {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(245, 239, 226, 0.12);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.pattern-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.42);
}

.pattern-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.98rem;
}

.pattern-card p {
  margin-top: 6px;
  font-size: 0.86rem;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 7px;
  height: 78px;
  padding: 8px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent 31%, rgba(245, 239, 226, 0.08) 32%, transparent 33%),
    linear-gradient(180deg, transparent 63%, rgba(245, 239, 226, 0.07) 64%, transparent 65%),
    rgba(245, 239, 226, 0.04);
}

.mini-chart i {
  position: relative;
  display: block;
  width: 100%;
  min-width: 5px;
  border-radius: 6px 6px 2px 2px;
}

.mini-chart i::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 2px;
  height: calc(100% + 14px);
  transform: translateX(-50%);
  opacity: 0.45;
}

.mini-chart--up i,
.mini-chart--up i::before {
  background: var(--green);
}

.mini-chart--down i,
.mini-chart--down i::before,
.mini-chart--blocked i,
.mini-chart--blocked i::before {
  background: var(--red);
}

.mini-chart--flat i,
.mini-chart--flat i::before {
  background: var(--amber);
}

.mini-chart--up i:nth-child(1) { height: 24px; opacity: 0.58; }
.mini-chart--up i:nth-child(2) { height: 34px; opacity: 0.68; }
.mini-chart--up i:nth-child(3) { height: 42px; opacity: 0.78; }
.mini-chart--up i:nth-child(4) { height: 55px; opacity: 0.9; }
.mini-chart--up i:nth-child(5) { height: 66px; }

.mini-chart--down i:nth-child(1) { height: 66px; }
.mini-chart--down i:nth-child(2) { height: 54px; opacity: 0.88; }
.mini-chart--down i:nth-child(3) { height: 43px; opacity: 0.78; }
.mini-chart--down i:nth-child(4) { height: 31px; opacity: 0.68; }
.mini-chart--down i:nth-child(5) { height: 22px; opacity: 0.58; }

.mini-chart--flat i:nth-child(1) { height: 33px; opacity: 0.74; }
.mini-chart--flat i:nth-child(2) { height: 39px; opacity: 0.82; }
.mini-chart--flat i:nth-child(3) { height: 31px; opacity: 0.7; }
.mini-chart--flat i:nth-child(4) { height: 37px; opacity: 0.82; }
.mini-chart--flat i:nth-child(5) { height: 34px; opacity: 0.74; }

.mini-chart--blocked {
  position: relative;
}

.mini-chart--blocked::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(180, 93, 88, 0.58);
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 46%, rgba(180, 93, 88, 0.76) 47%, rgba(180, 93, 88, 0.76) 53%, transparent 54%);
}

.mini-chart--blocked i:nth-child(1) { height: 46px; opacity: 0.48; }
.mini-chart--blocked i:nth-child(2) { height: 27px; opacity: 0.48; }
.mini-chart--blocked i:nth-child(3) { height: 61px; opacity: 0.48; }
.mini-chart--blocked i:nth-child(4) { height: 33px; opacity: 0.48; }
.mini-chart--blocked i:nth-child(5) { height: 52px; opacity: 0.48; }

.confidence-band-chart {
  padding: 12px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.42);
}

.confidence-track {
  display: grid;
  grid-template-columns: 60fr 15fr 25fr;
  min-height: 74px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 127, 144, 0.18), rgba(224, 186, 77, 0.16), rgba(126, 242, 191, 0.18));
}

.confidence-track span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.band-low {
  background: rgba(255, 127, 144, 0.36);
}

.band-mid {
  background: rgba(224, 186, 77, 0.42);
}

.band-high {
  background: rgba(126, 242, 191, 0.46);
}

.confidence-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 239, 226, 0.08);
  color: var(--muted);
}

.confidence-marker strong {
  color: var(--amber);
  font-size: 1.24rem;
}

.quality-bars {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quality-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.quality-row div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 239, 226, 0.08);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.bar-fill--low {
  width: 48%;
  background: var(--red);
}

.bar-fill--mid {
  width: 68%;
  background: var(--amber);
}

.bar-fill--high {
  width: 86%;
  background: var(--green);
}

.quality-row strong {
  color: var(--ink);
  font-size: 0.78rem;
  text-align: right;
}

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

.regime-matrix div,
.ai-check-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.42);
}

.regime-matrix span,
.ai-check-grid span,
.risk-rail span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.regime-matrix strong,
.ai-check-grid strong,
.risk-rail strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.24;
}

.risk-rail {
  display: grid;
  gap: 10px;
}

.risk-rail div {
  position: relative;
  min-width: 0;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(86, 197, 255, 0.08);
  border-radius: 12px;
  background: rgba(8, 13, 22, 0.42);
}

.risk-rail div::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 15px;
  width: 11px;
  height: 11px;
  border: 2px solid #72ddff;
  border-radius: 50%;
  background: var(--bg);
}

.risk-rail div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  bottom: -12px;
  left: 20px;
  width: 1px;
  background: rgba(86, 197, 255, 0.42);
}

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

.text-page {
  max-width: 900px;
}

.text-page p:not(.lead) {
  color: var(--muted);
  font-size: 1rem;
}

.analysis-card a {
  color: #4d6d8e;
}

.contact-band {
  padding-top: 18px;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.contact-identity-panel,
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(200, 167, 104, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(25, 28, 31, 0.92), rgba(17, 19, 22, 0.97)),
    rgba(17, 19, 22, 0.92);
  box-shadow: var(--shadow);
}

.contact-identity {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-monogram {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border: 1px solid rgba(200, 167, 104, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(200, 167, 104, 0.22), rgba(85, 113, 141, 0.18)),
    rgba(25, 28, 31, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.contact-identity-copy {
  min-width: 0;
}

.contact-identity-copy h2 {
  margin-top: 4px;
  font-size: 1.9rem;
}

.contact-identity-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.contact-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.contact-principles div {
  padding: 16px 16px 14px;
  border: 1px solid rgba(43, 54, 72, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-principles span {
  display: block;
  color: #bcae92;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-principles strong {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.contact-story {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(86, 197, 255, 0.14);
}

.contact-story p {
  margin: 0;
  color: #d8ecff;
  font-size: 1rem;
  line-height: 1.65;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-panel h2 {
  margin-top: 6px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.94), rgba(5, 8, 13, 0.98)),
    rgba(255, 255, 255, 0.02);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  border-color: rgba(86, 197, 255, 0.28);
  background: rgba(86, 197, 255, 0.08);
}

.contact-link-label {
  color: #72ddff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link-value {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-link-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.contact-points li {
  position: relative;
  padding-left: 22px;
  color: #d8ecff;
}

.contact-points li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #56c5ff, #7ef2bf);
  box-shadow: 0 0 0 6px rgba(86, 197, 255, 0.12);
  transform: translateY(-50%);
}

.contact-policy-panel {
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.98), rgba(5, 7, 12, 0.98)),
    rgba(5, 7, 12, 0.96);
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

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

.form-field {
  display: grid;
  gap: 10px;
}

.form-field span {
  color: #dbe6f8;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(43, 54, 72, 0.12);
  border-radius: 16px;
  background: rgba(43, 54, 72, 0.06);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8fa3c4;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(97, 168, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(97, 168, 255, 0.14);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 18px var(--section-inset);
  border-top: 1px solid rgba(86, 197, 255, 0.08);
  color: rgba(216, 236, 255, 0.7);
  font-size: 0.94rem;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-band,
  .two-column,
  .nifty-focus,
  .telegram-layout,
  .news-board {
    grid-template-columns: 1fr;
  }

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

  .overview-grid,
  .dashboard-grid,
  .analysis-grid,
  .trade-spotlight-grid,
  .title-stats,
  .index-zone-grid,
  .index-heatmap,
  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .market-study-grid--home,
  .market-study-grid--methodology {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-health-panel {
    grid-template-columns: 1fr;
  }

  .data-health-grid,
  .status-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-layout {
    grid-template-columns: 1fr;
  }

  .methodology-visual-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .study-visual-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .methodology-hero-card {
    grid-template-columns: 1fr;
  }

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

  .pattern-panel,
  .confidence-panel,
  .regime-panel,
  .risk-panel,
  .ai-panel {
    grid-column: 1 / -1;
  }

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

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

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

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

  .range-map-header,
  .range-map-labels {
    align-items: flex-start;
    flex-direction: column;
  }

  .range-map-price {
    text-align: left;
  }

  .terminal-watchlist {
    border-right: 0;
    border-bottom: 1px solid rgba(43, 54, 72, 0.08);
  }
}

@media (min-width: 681px) {
  body[data-page]:not([data-page="login"]) {
    padding-top: 0;
  }

  .site-header {
    position: relative;
    z-index: 50;
    margin: 0 auto;
  }

  .market-ticker {
    position: relative;
    z-index: 45;
    margin: 0 auto;
  }

  .header-auth {
    width: 304px;
    min-height: 38px;
  }

  .header-auth:empty {
    visibility: hidden;
  }

  body[data-page="home"] .hero-visual-stack {
    padding-top: 10px;
  }

  body[data-page="home"] .feedback-banner {
    white-space: normal;
  }

  body[data-page="home"] .feedback-banner__track {
    display: block;
    width: 100%;
    min-width: 0;
    animation: none;
  }

  body[data-page="home"] .feedback-banner__item {
    display: block;
  }

  body[data-page="home"] .feedback-banner__item + .feedback-banner__item {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: relative;
    z-index: 55;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "auth"
      "nav"
      "tools";
    width: 100%;
    align-items: stretch;
    padding: 10px 12px;
    min-height: 0;
  }

  .nav-links {
    position: relative;
    z-index: 2;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    font-size: 0.82rem;
  }

  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown[open] {
    width: 100%;
  }

  .nav-links a,
  .nav-dropdown summary {
    min-height: 34px;
    padding: 7px 11px;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    display: none;
    width: min(320px, calc(100vw - 24px));
    min-width: 220px;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
    max-height: min(56vh, 460px);
    overflow: auto;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: grid;
  }

  body {
    font-size: 14px;
  }

  .index-zone-grid {
    grid-template-columns: 1fr;
  }

  .index-heatmap {
    grid-template-columns: 1fr;
  }

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

  .nav-dropdown[open] .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: translateX(-50%);
  }

  .header-tools {
    width: 100%;
    align-items: flex-start;
    gap: 6px;
    max-width: none;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .header-auth {
    width: 100%;
    align-items: flex-start;
  }

  .auth-user-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .market-ticker {
    position: relative;
    top: auto;
    width: calc(100% - 16px);
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .market-ticker::-webkit-scrollbar {
    display: none;
  }

  .market-ticker__track {
    gap: 12px;
    padding: 8px 0;
    animation: none;
    width: max-content;
  }

  .market-ticker__item {
    gap: 6px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .market-ticker__item strong {
    font-size: 0.76rem;
  }

  .market-ticker__value {
    color: #f6fbff;
    font-weight: 800;
  }

  .market-ticker__move {
    font-weight: 800;
  }

  .refresh-status {
    text-align: left;
  }

  .live-clock {
    align-self: flex-start;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 1.18rem;
    line-height: 1.12;
  }

  h3 {
    font-size: 1.1rem;
    line-height: 1.18;
  }

  p,
  li,
  .nav-links,
  .refresh-status,
  .form-field span,
  .signal-confidence,
  .signal-meta strong,
  .profit-table th,
  .profit-table td {
    font-size: 0.9rem;
  }

  .compact-title h1 {
    white-space: normal;
  }

  .overview-grid,
  .dashboard-grid,
  .analysis-grid,
  .trade-spotlight-grid,
  .title-stats,
  .levels-layout {
    grid-template-columns: 1fr;
  }

  .market-driver-panel {
    width: min(var(--page-max-width), calc(100% - 20px));
    margin-top: -12px;
    padding: 16px 12px;
  }

  .live-context-band .market-driver-panel {
    width: 100%;
    margin-top: 0;
  }

  .market-study-panel {
    width: min(var(--page-max-width), calc(100% - 20px));
    margin-top: 0;
    padding: 16px 12px;
  }

  .market-study-grid--home,
  .market-study-grid--methodology {
    grid-template-columns: 1fr;
  }

  .data-health-panel {
    padding: 13px 12px;
  }

  .data-health-grid,
  .status-layout {
    grid-template-columns: 1fr;
  }

  .methodology-visual-board {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .study-visual-board {
    grid-template-columns: 1fr;
  }

  .methodology-hero-card,
  .methodology-panel {
    grid-column: auto;
    padding: 14px;
    border-radius: 12px;
  }

  .trade-quality-guide-grid {
    grid-template-columns: 1fr;
  }

  .signal-flow,
  .pattern-grid,
  .regime-matrix,
  .ai-check-grid {
    grid-template-columns: 1fr;
  }

  .study-gauge-card,
  .study-pattern-grid {
    grid-template-columns: 1fr;
  }

  .study-rotation-row,
  .study-calibration-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .study-rotation-row span,
  .study-calibration-row span {
    text-align: left;
  }

  .flow-step {
    min-height: 82px;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -7px;
    left: 18px;
    width: 2px;
    height: 14px;
  }

  .flow-step span {
    margin-top: 14px;
  }

  .mini-chart {
    height: 64px;
  }

  .confidence-track {
    min-height: 58px;
  }

  .quality-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quality-row strong {
    text-align: left;
  }

  .status-card--wide {
    grid-column: auto;
  }

  #market-overview .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .trade-spotlight-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .sector-row {
    grid-template-columns: 84px minmax(80px, 1fr) 64px;
  }

  .hero-band,
  .page-title,
  .content-band,
  .overview-grid,
  .dashboard-grid,
  .nifty-focus,
  .telegram-layout {
    width: min(var(--page-max-width), calc(100% - 20px));
  }

  .hero-band,
  .page-title,
  .content-band {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-band {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .feedback-banner {
    margin-top: 12px;
    padding: 10px 12px 10px 8px;
    font-size: 0.8rem;
  }

  .feedback-banner::before {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }

  .feedback-banner__track {
    gap: 28px;
    animation-duration: 22s;
  }

  .contact-hero-note {
    grid-template-columns: 1fr;
  }

  .contact-identity {
    flex-direction: column;
  }

  .contact-monogram {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .contact-identity-copy h2 {
    font-size: 1.55rem;
  }

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

  .contact-hero-matrix {
    grid-template-columns: 1fr;
  }

  .market-visual,
  .terminal-shell {
    min-height: 280px;
  }

  .terminal-watchlist {
    display: none;
  }

  .terminal-chart canvas {
    min-height: 230px;
  }

  .metric-card,
  .quote-card,
  .zone-card,
  .analysis-card,
  .level-panel,
  .watch-panel,
  .telegram-panel,
  .message-preview {
    padding: 13px;
  }

  .hero-band::before,
  .feature-title::before,
  .soft-green-band::before,
  .soft-blue-band::before,
  .soft-amber-band::before {
    left: 0;
    right: 0;
  }

  .chart-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-price-block {
    text-align: left;
  }

  .range-map-card {
    padding: 20px 18px 18px;
  }

  .profit-table-wrap {
    border-radius: 14px;
  }

  .profit-table {
    min-width: 640px;
  }

  .signal-meta {
    grid-template-columns: 1fr;
  }

  .signal-audit {
    grid-template-columns: 1fr;
  }

  .quality-checklist__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .quality-checklist__panel {
    grid-template-columns: 1fr;
  }

  .projection-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .projection-card__score {
    min-width: 0;
    width: fit-content;
  }

  .projection-chart {
    min-height: 116px;
  }

  .quality-checklist__score {
    width: auto;
    min-width: 116px;
    padding: 8px 10px 7px;
  }

  .quality-checklist__panel-item {
    min-height: 0;
  }

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

  .riskometer {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    justify-items: stretch;
    padding: 12px 12px 11px;
    gap: 10px 14px;
  }

  .riskometer-stage {
    max-width: 300px;
  }

  .riskometer-gauge-label {
    font-size: 11px;
  }

  .riskometer-gauge-label--multi {
    font-size: 8px;
  }

  .riskometer-needle {
    stroke-width: 5.2;
  }

  .riskometer-hub {
    stroke-width: 3.5;
  }

  .riskometer-band {
    height: 22px;
    font-size: 0.45rem;
  }

  .riskometer-copy {
    width: 100%;
    justify-items: start;
    text-align: left;
    max-width: none;
    padding-top: 0;
  }

  .riskometer-head {
    width: 100%;
  }
}

@media (max-width: 1360px) {
  .quality-checklist__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trade-quality-guide-panel {
    grid-column: span 12;
  }
}

@media (max-width: 1024px) {
  .quality-checklist__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 460px) {
  .riskometer {
    grid-template-columns: 1fr;
  }

  .riskometer-stage {
    max-width: 198px;
  }
}

body[data-page="news"] {
  background:
    radial-gradient(circle at top left, rgba(33, 145, 255, 0.15), transparent 24%),
    radial-gradient(circle at top right, rgba(22, 255, 197, 0.12), transparent 20%),
    linear-gradient(180deg, #04070b 0%, #05080d 50%, #04070b 100%);
}

body[data-page="news"] .site-header {
  background: rgba(4, 8, 13, 0.84);
  border-color: rgba(86, 197, 255, 0.12);
}

body[data-page="news"] .brand span,
body[data-page="news"] .nav-links a,
body[data-page="news"] .nav-dropdown-toggle,
body[data-page="news"] .header-tools {
  color: #d8ecff;
}

body[data-page="news"] .site-footer {
  border-top-color: rgba(86, 197, 255, 0.12);
}

.news-terminal-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--section-inset) 18px;
  overflow-x: hidden;
  align-items: start;
}

.news-terminal-page > * {
  min-width: 0;
}

body[data-page="news"] .news-terminal-page {
  gap: 14px;
}

.news-terminal-hero,
.news-category-shell,
.news-feed-shell,
.news-sidebar-card,
.news-sentiment-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.92), rgba(4, 6, 10, 0.98)),
    var(--market-texture);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.news-terminal-hero {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 24px var(--section-inset);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 18px;
}

body[data-page="news"] .news-terminal-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 16px var(--section-inset) 14px;
  align-items: start;
}

.news-terminal-hero__copy {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(61, 178, 255, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(6, 10, 17, 0.98), rgba(4, 6, 10, 0.98));
}

.news-terminal-hero__copy .eyebrow {
  color: #72ddff;
}

.news-terminal-hero__copy h1 {
  max-width: 12ch;
  color: #f7fbff;
}

.news-terminal-hero__copy .lead {
  max-width: 900px;
  color: #d4e1f3;
}

body[data-page="news"] .news-terminal-hero__copy {
  padding: 18px;
}

body[data-page="news"] .news-terminal-hero__copy h1 {
  max-width: 18ch;
}

body[data-page="news"] .news-terminal-hero__stage {
  display: none;
}

.news-search {
  display: grid;
  gap: 12px;
}

.news-search__field {
  display: grid;
  gap: 8px;
}

.news-search__field > span {
  color: #8cb8df;
}

.news-search__inputwrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(86, 197, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.96), rgba(5, 8, 13, 0.96));
  box-shadow:
    0 0 0 1px rgba(22, 255, 197, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.news-search__inputwrap input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: #f7fbff;
  font-size: 1rem;
}

.news-search__inputwrap input::placeholder {
  color: rgba(176, 206, 238, 0.65);
}

.news-search__inputwrap input:focus {
  outline: none;
}

.news-search__voice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(86, 197, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(96, 233, 255, 0.18), rgba(10, 16, 28, 0.92)),
    linear-gradient(180deg, rgba(12, 20, 32, 0.98), rgba(5, 8, 13, 0.98));
  color: #7ef0ff;
}

.news-search__voice-icon {
  width: 12px;
  height: 16px;
  border: 2px solid currentColor;
  border-bottom-width: 5px;
  border-radius: 10px;
  position: relative;
}

.news-search__voice-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.news-search__status {
  margin: -2px 0 0;
  color: #a7c0d8;
  font-size: 0.9rem;
}

.news-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9eef8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 236, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(108, 226, 255, 0.12), 0 14px 24px rgba(18, 89, 130, 0.18);
}

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

.news-terminal-stat {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.96), rgba(5, 8, 13, 0.98)),
    var(--market-texture);
}

.news-terminal-stat span {
  color: #8eb7d8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-terminal-stat strong {
  color: #f6fbff;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.news-terminal-stat p {
  margin: 0;
  color: #a8bfd5;
  font-size: 0.88rem;
  line-height: 1.45;
}

.news-terminal-hero__stage {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 20%, rgba(66, 201, 255, 0.18), transparent 18%),
    radial-gradient(circle at 65% 60%, rgba(36, 255, 195, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(6, 11, 17, 0.98), rgba(4, 6, 10, 0.99));
}

body[data-page="news"] .news-terminal-hero__stage {
  min-height: 320px;
}

.news-terminal-hero__frame {
  position: absolute;
  inset: 0;
  padding: 24px;
}

body[data-page="news"] .news-terminal-hero__frame {
  padding: 16px;
}

.news-terminal-hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(105, 189, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 189, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  opacity: 0.42;
}

.news-terminal-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.news-terminal-hero__glow--cyan {
  inset: 12% 14% 12% 24%;
  background: radial-gradient(circle, rgba(63, 225, 255, 0.18), transparent 65%);
}

.news-terminal-hero__glow--green {
  inset: 24% 4% 10% 38%;
  background: radial-gradient(circle, rgba(28, 255, 193, 0.14), transparent 62%);
}

.news-terminal-hero__robot {
  position: absolute;
  right: -1%;
  top: 0;
  width: min(92%, 620px);
  height: min(92%, 680px);
  object-fit: contain;
  z-index: 4;
  pointer-events: none;
  filter:
    drop-shadow(0 0 24px rgba(66, 205, 255, 0.34))
    drop-shadow(0 0 84px rgba(36, 255, 194, 0.18))
    brightness(1.04)
    saturate(1.08);
  mix-blend-mode: normal;
  opacity: 1;
}

body[data-page="news"] .news-terminal-hero__robot {
  right: 4%;
  top: 2%;
  width: min(84%, 520px);
  height: min(84%, 420px);
}

.news-terminal-hero__float {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 16, 26, 0.96), rgba(5, 8, 13, 0.96)),
    var(--market-texture);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(80, 225, 255, 0.05);
  z-index: 4;
}

.news-terminal-hero__float span {
  color: #89b9db;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-terminal-hero__float strong {
  color: #f7fbff;
  font-size: 0.98rem;
}

.news-terminal-hero__float--analysis {
  left: 3%;
  top: 16%;
}

.news-terminal-hero__float--risk {
  left: 7%;
  bottom: 21%;
}

.news-terminal-hero__float--flow {
  right: 22%;
  bottom: 18%;
}

.news-terminal-hero__float--signal {
  right: 8%;
  top: 18%;
}

body[data-page="news"] .news-terminal-hero__float--analysis {
  left: 3%;
  top: 8%;
}

body[data-page="news"] .news-terminal-hero__float--signal {
  right: 4%;
  top: 10%;
}

body[data-page="news"] .news-terminal-hero__float--flow {
  right: 14%;
  bottom: 14%;
}

body[data-page="news"] .news-terminal-hero__float--risk {
  left: 5%;
  bottom: 12%;
}

.news-ticker-band {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--section-inset);
}

.news-ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 12px 0;
  animation: news-ticker-scroll 34s linear infinite;
}

.news-ticker:hover {
  animation-play-state: paused;
}

.news-ticker__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 17, 27, 0.96), rgba(5, 8, 13, 0.96));
  color: #dcecff;
  white-space: nowrap;
}

.news-ticker__chip strong {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-ticker__chip span {
  color: #ffffff;
  font-weight: 800;
}

.news-ticker__chip em {
  color: #90b3d4;
  font-size: 0.76rem;
}

.news-ticker__chip.is-up {
  border-color: rgba(94, 255, 185, 0.18);
  box-shadow: 0 0 0 1px rgba(94, 255, 185, 0.04);
}

.news-ticker__chip.is-down {
  border-color: rgba(255, 126, 146, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 126, 146, 0.04);
}

.news-ticker__chip.is-flat {
  border-color: rgba(224, 186, 77, 0.16);
}

@keyframes news-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-12%);
  }
}

.news-category-band {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
}

.news-category-band .section-heading {
  margin-bottom: 18px;
}

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

.news-category-card {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(11, 18, 29, 0.96), rgba(5, 8, 13, 0.98)),
    var(--market-texture);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.news-category-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0cf85;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-category-card span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.news-category-card strong {
  color: #f6fbff;
  font-size: 1.02rem;
}

.news-category-card p {
  margin: 0;
  color: #a8bfd5;
  font-size: 0.92rem;
  line-height: 1.55;
}

.news-category-card em {
  color: #f0cf85;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-category-card.tone-up {
  border-color: rgba(97, 255, 191, 0.18);
}

.news-category-card.tone-down {
  border-color: rgba(255, 128, 150, 0.18);
}

.news-category-card.tone-flat {
  border-color: rgba(224, 186, 77, 0.16);
}

.news-dashboard-grid {
  width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--section-inset) 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.news-main-column {
  display: grid;
  gap: 20px;
}

.news-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="news"] .news-feature-card {
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(86, 197, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(5, 8, 13, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

body[data-page="news"] .news-feature-card span {
  color: #8bb3d6;
}

body[data-page="news"] .news-feature-card strong {
  color: #f6fbff;
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
}

body[data-page="news"] .news-feature-card p {
  color: #aac0d5;
}

.news-feed-shell {
  padding: 24px 24px 20px;
}

.news-feed-shell .section-heading {
  margin-bottom: 10px;
}

.news-feed-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.news-column {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(11, 17, 26, 0.96), rgba(5, 8, 13, 0.98)),
    var(--market-texture);
}

.news-column__label {
  margin: 0;
  color: #a1c1de;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-column-note {
  margin: 0;
  color: #a8bfd5;
  font-size: 0.93rem;
  line-height: 1.55;
}

.news-list {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

body[data-page="news"] .news-item {
  gap: 14px;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(86, 197, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

body[data-page="news"] .news-item::before {
  inset: 18px auto 18px 16px;
  width: 4px;
  background: linear-gradient(180deg, rgba(114, 221, 255, 0.88), rgba(114, 221, 255, 0.18));
}

body[data-page="news"] .news-item__meta {
  gap: 10px;
}

body[data-page="news"] .news-item__headline,
body[data-page="news"] .news-item__headline:visited {
  color: #f6fbff;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height: 1.38;
  font-weight: 800;
}

body[data-page="news"] .news-item__summary {
  color: #a8bfd5;
  font-size: 0.94rem;
  line-height: 1.58;
  max-width: none;
}

body[data-page="news"] .news-item__content {
  gap: 10px;
}

body[data-page="news"] .news-item__insights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

body[data-page="news"] .news-item__insight {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(224, 186, 77, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f0cf85;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="news"] .news-item__insight--impact {
  border-color: rgba(92, 245, 198, 0.18);
  color: #8ff3cd;
}

body[data-page="news"] .news-item__insight--impact.tone-bullish {
  border-color: rgba(92, 245, 198, 0.18);
  color: #8ff3cd;
}

body[data-page="news"] .news-item__insight--impact.tone-bearish {
  border-color: rgba(255, 127, 144, 0.18);
  color: #ff9ca7;
}

body[data-page="news"] .news-item__insight--impact.tone-neutral {
  border-color: rgba(224, 186, 77, 0.18);
  color: #f0cf85;
}

body[data-page="news"] .news-item__insight--live {
  border-color: rgba(224, 186, 77, 0.18);
  color: #f0cf85;
}

body[data-page="news"] .news-item__meter {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 84, 84, 0.22), rgba(255, 193, 79, 0.26), rgba(72, 255, 188, 0.28));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="news"] .news-item__meter span {
  position: absolute;
  inset: 1px auto 1px 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(71, 245, 195, 0.94), rgba(88, 194, 255, 0.96));
  box-shadow: 0 0 16px rgba(71, 245, 195, 0.3);
}

body[data-page="news"] .news-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="news"] .news-item__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d4e8ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="news"] .news-item__footer {
  justify-content: space-between;
}

.news-sidebar {
  display: grid;
  gap: 18px;
  position: static;
  top: auto;
}

.news-sentiment-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.news-sentiment-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-sentiment-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(86, 197, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 20, 32, 0.96), rgba(5, 8, 13, 0.98));
  object-fit: cover;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.2);
}

.news-sentiment-panel h2,
.news-sidebar-card h2 {
  margin: 0;
  color: #f6fbff;
}

.news-sentiment-panel__copy {
  display: grid;
  gap: 4px;
}

.news-sentiment-panel__copy p {
  margin: 0;
  color: #a8bfd5;
  line-height: 1.5;
}

.news-sentiment-meter {
  display: grid;
  gap: 10px;
}

.news-sentiment-meter__track {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 79, 79, 0.26), rgba(255, 197, 77, 0.34), rgba(62, 255, 184, 0.34));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.news-sentiment-meter__fill {
  position: absolute;
  inset: 2px auto 2px 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92, 245, 198, 0.95), rgba(65, 195, 255, 0.96));
  box-shadow: 0 0 18px rgba(92, 245, 198, 0.4);
}

.news-sentiment-meter__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #a8bfd5;
  font-size: 0.84rem;
}

.news-sentiment-grid {
  display: grid;
  gap: 10px;
}

.news-sentiment-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(86, 197, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.news-sentiment-row span {
  color: #a8bfd5;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-sentiment-row strong {
  color: #f6fbff;
  font-size: 0.95rem;
  text-align: right;
}

.news-sidebar-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.news-trending-grid {
  display: grid;
  gap: 12px;
}

.news-trending-card {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(5, 8, 13, 0.98)),
    var(--market-texture);
}

.news-trending-card__head {
  display: grid;
  gap: 3px;
}

.news-trending-card__head p {
  margin: 0;
  color: #a8bfd5;
  font-size: 0.86rem;
  line-height: 1.45;
}

.news-trending-card__head h2 {
  margin: 0;
  color: #f6fbff;
  font-size: 1.02rem;
}

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

.news-trending-card__tile {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 92px;
  padding: 12px 12px 11px;
  border: 1px solid rgba(86, 197, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(86, 197, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(11, 17, 26, 0.96), rgba(5, 8, 13, 0.98));
  color: #d2e3f4;
  font-size: 0.82rem;
  line-height: 1.45;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.news-trending-card__tile:hover {
  transform: translateY(-1px);
}

.news-trending-card__tile strong {
  color: #f6fbff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.news-trending-card__tile.is-up {
  border-color: rgba(92, 245, 198, 0.18);
  box-shadow: 0 16px 28px rgba(92, 245, 198, 0.06);
}

.news-trending-card__tile.is-down {
  border-color: rgba(255, 127, 144, 0.18);
  box-shadow: 0 16px 28px rgba(255, 127, 144, 0.06);
}

.news-trending-card__tile.is-flat {
  border-color: rgba(224, 186, 77, 0.14);
  box-shadow: 0 16px 28px rgba(224, 186, 77, 0.05);
}

.news-trending-card__pill {
  justify-self: start;
  align-self: end;
  min-width: 62px;
  padding: 4px 8px;
  border: 1px solid rgba(96, 195, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0cf85;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-trending-card__tile.is-up .news-trending-card__pill {
  color: #8ff3cd;
  border-color: rgba(92, 245, 198, 0.18);
  background: rgba(92, 245, 198, 0.08);
}

.news-trending-card__tile.is-down .news-trending-card__pill {
  color: #ff9ca7;
  border-color: rgba(255, 127, 144, 0.18);
  background: rgba(255, 127, 144, 0.08);
}

.news-trending-card__tile.is-flat .news-trending-card__pill {
  color: #f0cf85;
  border-color: rgba(224, 186, 77, 0.14);
  background: rgba(224, 186, 77, 0.06);
}

.news-cta-card {
  display: grid;
  gap: 10px;
}

.news-cta-card h2 {
  margin: 0;
  color: #f6fbff;
}

.news-cta-card p {
  margin: 0;
  color: #a8bfd5;
  line-height: 1.6;
}

.news-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-cta-actions .secondary-action {
  min-height: 40px;
}

.news-feature-card[data-news-search] {
  cursor: pointer;
}

@media (max-width: 1280px) {
  .news-terminal-hero,
  .news-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }

  .news-terminal-hero__stage {
    min-height: 560px;
  }

  .news-feature-grid,
  .news-category-grid,
  .news-terminal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="news"] .news-terminal-hero__copy,
body[data-page="news"] .news-feed-shell,
body[data-page="news"] .news-sidebar-card,
body[data-page="news"] .news-sentiment-panel,
body[data-page="news"] .news-category-shell {
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  border-color: rgba(91, 186, 255, 0.16);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 900px) {
  .news-terminal-hero__copy,
  .news-feed-shell,
  .news-sidebar-card,
  .news-sentiment-panel,
  .news-category-shell {
    padding: 20px;
  }

  .news-feature-grid,
  .news-feed-columns,
  .news-category-grid,
  .news-terminal-stats {
    grid-template-columns: 1fr;
  }

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

  .news-terminal-hero__stage {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .news-terminal-hero {
    padding-top: 16px;
  }

  .news-terminal-hero__copy {
    padding: 22px;
  }

  body[data-page="news"] .news-terminal-page {
    width: 100%;
    padding: 0 8px 14px;
  }

  body[data-page="news"] .news-terminal-hero,
  body[data-page="news"] .news-feed-shell,
  body[data-page="news"] .news-sidebar-card,
  body[data-page="news"] .news-sentiment-panel,
  body[data-page="news"] .news-category-shell {
    border-radius: 20px;
  }

  body[data-page="news"] .news-feed-shell {
    padding: 18px 14px 16px;
  }

  body[data-page="news"] .news-feed-shell .section-heading {
    margin-bottom: 12px;
  }

  body[data-page="news"] .news-feed-shell .section-heading h2 {
    font-size: 1.28rem;
    line-height: 1.15;
  }

  body[data-page="news"] .news-feed-columns {
    gap: 12px;
  }

  body[data-page="news"] .news-column {
    gap: 14px;
    padding: 16px 12px;
    border-radius: 18px;
  }

  body[data-page="news"] .news-column__label {
    font-size: 0.72rem;
  }

  body[data-page="news"] .news-list {
    gap: 14px;
  }

  body[data-page="news"] .news-item {
    padding: 18px 16px 16px 20px;
    gap: 10px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(8, 13, 22, 0.97), rgba(5, 7, 12, 0.99)),
      var(--market-texture);
  }

  body[data-page="news"] .news-item::before {
    inset: 16px auto 16px 12px;
    width: 4px;
  }

  body[data-page="news"] .news-item__content {
    gap: 10px;
  }

  body[data-page="news"] .news-item__meta {
    gap: 6px 8px;
    margin-bottom: 0;
  }

  body[data-page="news"] .news-item__source,
  body[data-page="news"] .news-item__time {
    font-size: 0.7rem;
  }

  body[data-page="news"] .news-item__headline,
  body[data-page="news"] .news-item__headline:visited {
    font-size: 1.08rem;
    line-height: 1.38;
  }

  body[data-page="news"] .news-item__summary {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body[data-page="news"] .news-item__insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-page="news"] .news-item__insight {
    width: 100%;
    min-height: 24px;
    justify-content: center;
    padding: 4px 8px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  body[data-page="news"] .news-item__insight--live {
    grid-column: 1 / -1;
  }

  .news-terminal-hero__stage {
    min-height: 420px;
  }

  .news-terminal-hero__float {
    min-width: 150px;
    max-width: 180px;
  }

  .news-terminal-hero__float--analysis {
    left: 3%;
    top: 10%;
  }

  .news-terminal-hero__float--signal {
    right: 4%;
    top: 10%;
  }

  .news-terminal-hero__float--flow {
    right: 6%;
    bottom: 14%;
  }

  .news-terminal-hero__float--risk {
    left: 4%;
    bottom: 12%;
  }

  .news-trending-card__grid {
    grid-template-columns: 1fr;
  }
}

body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .content-band,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .analysis-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .metric-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .quote-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .watch-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .trade-spotlight-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .index-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .watch-row,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .zone-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .signal-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .market-study-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .market-study-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .market-driver-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .data-health-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .quality-checklist__panel-item,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .quality-checklist__score--compact,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-terminal-hero,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-category-shell,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-feed-shell,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-sidebar-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-sentiment-panel,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-terminal-stat,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-category-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-stock-card,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-item {
  border-color: rgba(91, 186, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 13, 22, 0.95), rgba(5, 7, 12, 0.98)),
    var(--market-texture);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .section-heading .eyebrow,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-column__label,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-category-card span,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-terminal-stat span,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-stock-card__head strong,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-sentiment-panel .eyebrow {
  color: #72ddff;
}

body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .section-heading h2,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-terminal-hero__copy h1,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-feature-card strong,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-sentiment-panel h2,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-sidebar-card h2 {
  color: #f6fbff;
}

body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-pill,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .expert-view-pill,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-item__insight,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-item__tag {
  border-color: rgba(96, 195, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e7f7ff;
}

body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-item__insight--impact,
body:not([data-page="expert-view"]):not([data-page="login"]):not([data-page="redirect"]) .news-item__insight--live {
  border-color: rgba(86, 197, 255, 0.24);
}

@media (max-width: 768px) {
  body[data-page="methodology"] .methodology-visual-board {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="methodology"] .methodology-visual-board > * {
    grid-column: 1 / -1;
    min-width: 0;
  }

  body[data-page="methodology"] .methodology-hero-card,
  body[data-page="methodology"] .methodology-panel {
    padding: 14px;
    border-radius: 12px;
  }

  body[data-page="methodology"] .method-panel-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body[data-page="methodology"] .methodology-hero-card h2,
  body[data-page="methodology"] .methodology-panel h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.65rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body[data-page="methodology"] .methodology-hero-card p,
  body[data-page="methodology"] .methodology-panel p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  body[data-page="methodology"] .signal-flow,
  body[data-page="methodology"] .pattern-grid,
  body[data-page="methodology"] .trade-quality-guide-grid,
  body[data-page="methodology"] .confidence-track {
    grid-template-columns: 1fr;
  }

  body[data-page="methodology"] .confidence-track {
    min-height: auto;
  }

  body[data-page="methodology"] .confidence-track span {
    justify-content: flex-start;
    text-align: left;
    min-height: 40px;
    padding: 10px 12px;
  }

  body[data-page="methodology"] .quality-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  body[data-page="methodology"] .quality-row strong {
    text-align: left;
  }

  body[data-page="methodology"] .trade-quality-guide-item__head {
    align-items: flex-start;
  }

  body[data-page="methodology"] .trade-quality-guide-item__head span {
    white-space: normal;
    line-height: 1.2;
  }

  body[data-page="methodology"] .trade-quality-guide-item__note {
    font-size: 0.74rem;
    line-height: 1.42;
  }

  body[data-page="methodology"] .methodology-link-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
