:root {
  --bg: #050b15;
  --bg-soft: #0d1727;
  --bg-card: rgba(10, 18, 31, 0.84);
  --bg-card-strong: rgba(13, 24, 40, 0.96);
  --line: rgba(136, 170, 214, 0.18);
  --line-strong: rgba(136, 170, 214, 0.32);
  --text: #edf4ff;
  --muted: #96a9c4;
  --teal: #31d6bb;
  --sky: #74b8ff;
  --gold: #ffc36a;
  --red: #ff6a7e;
  --green: #3de5aa;
  --panel-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Bahnschrift, "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(49, 214, 187, 0.14), transparent 24%),
    radial-gradient(circle at 90% 7%, rgba(116, 184, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #040912 0%, #08111d 38%, #091321 100%);
}

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

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

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-left {
  top: 120px;
  left: -140px;
  background: rgba(49, 214, 187, 0.15);
}

.ambient-right {
  top: 360px;
  right: -180px;
  background: rgba(116, 184, 255, 0.14);
}

.utility-bar,
.navbar,
.hero,
.logo-ribbon,
.section,
.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.utility-bar {
  padding-top: 18px;
}

.utility-pill,
.navbar,
.terminal-card,
.capability-card,
.module-card,
.compare-card,
.price-card,
.faq-list details,
.cta-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(18px);
}

.utility-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
}

.utility-pill span,
.eyebrow,
.card-kicker,
.price-tag,
.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
}

.utility-pill span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(49, 214, 187, 0.12);
  color: var(--teal);
  white-space: nowrap;
}

.utility-pill p {
  margin: 0;
  color: var(--muted);
}

.navbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(7, 14, 24, 0.84);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: #04111b;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text small {
  color: var(--muted);
}

.nav-panel,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a,
.text-link,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), #80f0dc);
  color: #04131f;
  box-shadow: 0 12px 28px rgba(49, 214, 187, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
  padding: 72px 0 32px;
}

.eyebrow,
.card-kicker,
.panel-kicker,
.price-tag {
  display: inline-block;
  color: var(--teal);
}

.hero h1,
.section-copy h2,
.cta-card h2 {
  margin: 0;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.5vw, 5.4rem);
  max-width: 12ch;
}

.hero-text,
.section-copy p,
.module-copy p,
.compare-card p,
.faq-list p,
.cta-card p,
.feature-list li,
.watchlist span,
.sidebar-copy,
.assistant-thread p,
.insight-strip p,
.proof-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 60ch;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row,
.proof-grid,
.workspace-grid,
.capability-grid,
.compare-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.trust-row article,
.proof-grid article,
.sidebar-card,
.workspace-panel,
.module-visual article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.trust-row article {
  padding: 18px;
  border-radius: var(--radius-md);
}

.trust-row strong {
  display: block;
  margin-bottom: 6px;
}

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

.proof-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
}

.terminal-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(49, 214, 187, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(8, 15, 25, 0.98));
}

.terminal-topbar,
.terminal-toolbar,
.panel-header,
.sidebar-header,
.cta-card,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.terminal-topbar {
  align-items: start;
}

.terminal-label {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.terminal-topbar h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.status-pill,
.panel-badge {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.status-live {
  color: var(--teal);
  background: rgba(49, 214, 187, 0.12);
}

.terminal-toolbar {
  align-items: center;
  margin-top: 20px;
  padding: 14px 0 18px;
}

.module-tabs,
.symbol-switcher,
.mini-controls,
.logo-ribbon,
.stats-row,
.cta-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-tab,
.symbol-chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.module-tab.is-active,
.symbol-chip.is-active {
  color: #04131f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), #7cecd8);
}

.workspace-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.workspace-main {
  min-width: 0;
}

.workspace-panel {
  display: none;
  padding: 20px;
  border-radius: 26px;
}

.workspace-panel.is-active {
  display: block;
}

.panel-header {
  align-items: center;
  margin-bottom: 18px;
}

.panel-header h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.panel-badge {
  white-space: nowrap;
}

.mini-controls span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.mini-controls .is-highlight {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.chart-stage {
  position: relative;
  padding: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(49, 214, 187, 0.06), rgba(9, 17, 29, 0.16));
  overflow: hidden;
}

.chart-stage .price-chart-shell {
  height: 410px;
}

.price-chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-grid line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.trend-zone {
  fill: rgba(49, 214, 187, 0.12);
}

.trend-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 12 10;
}

.candle-wick {
  stroke-width: 2;
}

.candle-body {
  rx: 4;
}

.candle-up .candle-wick,
.candle-up .candle-body,
.volume-up {
  stroke: var(--green);
  fill: rgba(61, 229, 170, 0.72);
}

.candle-down .candle-wick,
.candle-down .candle-body,
.volume-down {
  stroke: var(--red);
  fill: rgba(255, 106, 126, 0.72);
}

.chart-annotations line {
  stroke-width: 2;
  stroke-dasharray: 8 8;
}

#entry-line {
  stroke: rgba(255, 195, 106, 0.7);
}

#stop-line {
  stroke: rgba(255, 106, 126, 0.65);
}

#target-line {
  stroke: rgba(61, 229, 170, 0.68);
}

.chart-annotations text {
  fill: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.chart-overlay article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.chart-overlay span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.chart-overlay strong {
  font-size: 1.05rem;
}

.scanner-table,
.assistant-thread,
.automation-grid,
.strategy-cards,
.insight-strip,
.visual-grid,
.visual-stats,
.visual-flow,
.compare-grid {
  display: grid;
  gap: 14px;
}

.scanner-table article,
.assistant-thread article,
.automation-grid article,
.strategy-cards article,
.insight-strip div,
.visual-chat article,
.visual-list article,
.visual-grid article,
.visual-stats article,
.visual-flow article {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.scanner-table article,
.watchlist article {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 14px;
  align-items: baseline;
}

.scanner-table em,
.watchlist em {
  font-style: normal;
  color: var(--teal);
}

.insight-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.insight-strip span,
.assistant-thread span,
.visual-chat span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.strategy-cards strong {
  display: block;
  margin: 8px 0;
  font-size: 1.4rem;
}

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

.assistant-thread {
  grid-template-columns: 1fr;
}

.workspace-sidebar {
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 18px;
  border-radius: 22px;
}

.sidebar-header {
  align-items: center;
  margin-bottom: 16px;
}

.sidebar-header span {
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-list,
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li,
.watchlist article,
.feature-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.signal-list li span {
  color: var(--muted);
}

.watchlist {
  display: grid;
}

.watchlist article {
  padding: 14px 0;
}

.signal-list li:last-child,
.watchlist article:last-child,
.feature-list li:last-child {
  border-bottom: 0;
}

.logo-ribbon {
  padding: 20px 0 4px;
  justify-content: center;
}

.logo-ribbon span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.section {
  padding: 92px 0 0;
}

.section-copy {
  max-width: 800px;
}

.section-copy h2,
.cta-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.section-copy p {
  margin-top: 18px;
}

.narrow {
  max-width: 720px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.capability-card,
.compare-card,
.price-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.capability-card h3,
.module-copy h3,
.compare-card h3,
.price-card h3 {
  margin: 10px 0 12px;
  font-size: 1.34rem;
}

.module-stack {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.module-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 26px;
  border-radius: 30px;
}

.feature-list li {
  padding: 12px 0;
}

.module-visual {
  align-self: stretch;
}

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

.visual-grid article strong,
.visual-stats article strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.visual-list,
.visual-flow,
.visual-chat {
  display: grid;
  gap: 12px;
}

.visual-list article,
.visual-flow article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

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

.featured-compare,
.featured-price {
  position: relative;
  background:
    radial-gradient(circle at top, rgba(49, 214, 187, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(14, 25, 41, 0.96), rgba(10, 19, 32, 0.96));
}

.price-value {
  margin: 10px 0 18px;
  font-size: 2.6rem;
  font-weight: 800;
}

.price-value span {
  font-size: 1rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-bottom: 0;
}

.cta-section {
  padding-bottom: 92px;
}

.cta-card {
  align-items: center;
  padding: 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at left center, rgba(49, 214, 187, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(11, 20, 34, 0.98), rgba(8, 16, 28, 0.98));
}

.footer {
  align-items: center;
  padding: 0 0 48px;
}

.footer p {
  max-width: 54ch;
  color: var(--muted);
}

.product-page {
  min-height: 100vh;
  padding-top: 1px;
}

.product-page .navbar {
  margin-top: 18px;
}

.product-hero,
.product-band,
.product-grid-section,
.scanner-console,
.lab-layout,
.automation-console,
.assistant-console,
.form-layout,
.pricing-page-grid,
.faq-page-list,
.product-terminal {
  width: min(calc(100% - 32px), var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.product-hero {
  padding: 78px 0 44px;
}

.product-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.product-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.product-band {
  padding: 36px 0;
}

.product-layout,
.scanner-console,
.lab-layout,
.automation-console,
.assistant-console,
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.product-copy,
.workflow-board,
.scanner-sidebar,
.scanner-results,
.rule-builder,
.test-results,
.automation-rule,
.automation-flow,
.assistant-console > .assistant-thread,
.ai-actions,
.lead-form,
.demo-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.product-copy,
.scanner-sidebar,
.rule-builder,
.automation-rule,
.lead-form {
  padding: 24px;
}

.product-copy h2,
.scanner-sidebar h2,
.rule-builder h2,
.automation-rule h2 {
  margin: 10px 0 12px;
  font-size: 2rem;
  letter-spacing: 0;
}

.product-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.workflow-board,
.test-results,
.automation-flow,
.ai-actions,
.demo-notes {
  display: grid;
  gap: 12px;
  padding: 18px;
}

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

.workflow-board article,
.test-results article,
.automation-flow article,
.ai-actions article,
.demo-notes article {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.workflow-board strong,
.test-results strong,
.automation-flow strong,
.ai-actions strong,
.demo-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
}

.workflow-board span,
.automation-flow span,
.ai-actions span,
.demo-notes span {
  color: var(--muted);
  line-height: 1.55;
}

.product-grid-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 42px 0 92px;
}

.product-grid-section .capability-card {
  border-radius: 8px;
}

.product-terminal {
  margin-bottom: 38px;
}

.scanner-console,
.lab-layout,
.automation-console,
.assistant-console,
.form-layout {
  padding: 0 0 42px;
}

.scanner-sidebar label,
.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.scanner-sidebar label span,
.lead-form label span {
  color: var(--muted);
}

.scanner-sidebar select,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background: rgba(5, 11, 21, 0.72);
}

.lead-form textarea {
  resize: vertical;
}

.scanner-results,
.automation-flow,
.ai-actions {
  padding: 18px;
}

.scanner-results article {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.scanner-results span,
.rule-builder span {
  color: var(--muted);
  line-height: 1.55;
}

.scanner-results em {
  font-style: normal;
  color: var(--teal);
}

.rule-builder {
  display: grid;
  gap: 14px;
}

.rule-builder article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

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

.test-results span {
  display: block;
  color: var(--muted);
}

.test-results strong {
  color: var(--text);
  font-size: 2rem;
}

.automation-rule .feature-list {
  margin-top: 18px;
}

.assistant-console > .assistant-thread {
  padding: 18px;
}

.faq-page-list,
.pricing-page-grid,
.form-layout {
  padding-bottom: 92px;
}

.app-page .navbar {
  position: sticky;
}

.tool-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 34px auto 92px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tool-shell.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-sidebar,
.tool-main {
  min-width: 0;
}

.tool-panel {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.tool-panel h2,
.tool-main h1 {
  margin: 0 0 14px;
  letter-spacing: 0;
}

.tool-panel h2 {
  font-size: 1.05rem;
}

.tool-main h1 {
  font-size: 2rem;
}

.vertical {
  display: grid;
  gap: 10px;
}

.tool-buttons button,
.mini-action {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.tool-buttons .is-highlight,
.mini-action:hover {
  color: #04131f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), #80f0dc);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: var(--muted);
}

.check-row input {
  accent-color: var(--teal);
}

.tool-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
  margin-top: 16px;
}

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

.inline-form input,
.inline-form select,
.ai-compose input,
.tool-panel select,
.tool-panel input[type="range"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(5, 11, 21, 0.74);
}

.tool-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
}

.live-results {
  margin-top: 18px;
}

.live-results article {
  grid-template-columns: 110px 1fr 90px auto;
}

.equity-chart {
  width: 100%;
  min-height: 320px;
  margin: 10px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.alert-builder,
.bot-builder {
  grid-template-columns: 1fr 1fr 1fr auto;
}

.app-thread {
  min-height: 420px;
  max-height: 540px;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.ai-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 14px;
}

.compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.chart-workstation {
  min-height: 100vh;
  background: #232636;
}

.page-shell.chart-workstation {
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.chart-workstation .page-shell,
.chart-workstation {
  overflow: hidden;
}

.chart-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #1d2130;
}

.compact-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.compact-brand .brand-text small {
  display: none;
}

.chart-nav-links {
  display: flex;
  gap: 16px;
  color: #aeb5c8;
  font-size: 0.88rem;
}

.chart-nav-links a:hover {
  color: #ffffff;
}

.chart-trial {
  min-height: 38px;
  padding: 0 14px;
}

.chart-app {
  height: calc(100vh - 58px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #242736;
}

.chart-toolbar {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #202331;
  color: #d6dbea;
}

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

.chart-toolbar-group.right {
  justify-content: end;
}

.tool-icon,
.chart-select,
.segmented button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #c7cde0;
  background: #272b3b;
}

.tool-icon {
  min-width: 34px;
  padding: 0 8px;
  color: #d4ad55;
  font-size: 0.82rem;
}

.tool-icon.active,
.segmented .is-highlight {
  color: #0b1721;
  border-color: #d2a647;
  background: #d2a647;
}

.chart-select {
  padding: 0 10px;
}

.zoom-readout {
  min-width: 62px;
  color: #aeb5c8;
  font-size: 0.8rem;
}

.segmented {
  display: flex;
  gap: 4px;
}

.segmented button {
  padding: 0 9px;
}

.chart-mainframe {
  position: relative;
  min-height: 0;
}

.chart-legend {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  width: min(520px, calc(100% - 24px));
  color: rgba(225, 231, 242, 0.78);
  font-size: 0.86rem;
  pointer-events: none;
}

.instrument-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.instrument-line strong {
  color: #dbe2f4;
}

.ohlc-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.ohlc-line b {
  color: #d95561;
  font-weight: 600;
}

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

.analysis-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(208, 216, 232, 0.58);
}

.analysis-list b {
  color: inherit;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.red { background: #e2525e; }
.dot.green { background: #6ccf67; }
.dot.blue { background: #2e83a6; }
.dot.gold { background: #d2a647; }

.pro-chart {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.pro-chart.is-dragging {
  cursor: grabbing;
}

.chart-bg {
  fill: #252838;
}

.pro-chart .chart-grid line {
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
}

.pro-chart .candle-wick {
  stroke-width: 1.4;
  opacity: 0.9;
}

.pro-chart .candle-body {
  rx: 1.5;
}

.pro-chart .candle-up .candle-body,
.pro-chart .candle-up .candle-wick {
  fill: #c7f5a6;
  stroke: #c7f5a6;
}

.pro-chart .candle-down .candle-body,
.pro-chart .candle-down .candle-wick {
  fill: #ff444d;
  stroke: #ff444d;
}

.pro-chart .hollow-candle .candle-body {
  fill: rgba(199, 245, 166, 0.08);
}

.block-candle {
  opacity: 0.92;
}

.raindrop-candle ellipse {
  fill: rgba(116, 184, 255, 0.18);
  stroke-width: 1.5;
}

.raindrop-candle line {
  stroke-width: 1.2;
}

.pro-chart .volume-up,
.pro-chart .volume-down {
  opacity: 0.16;
}

.pro-chart .trend-zone {
  fill: rgba(60, 127, 150, 0.07);
}

.pro-chart .trend-line {
  stroke: rgba(122, 207, 243, 0.28);
  stroke-width: 1.5;
}

.pro-chart .signal-line {
  stroke: rgba(255, 215, 117, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
}

.analysis-line {
  stroke-width: 2.2;
  opacity: 0.82;
}

.analysis-red {
  stroke: #f05861;
}

.analysis-green {
  stroke: #69bf62;
}

.analysis-blue {
  stroke: #2e7d9c;
}

.fib-line {
  stroke: rgba(210, 166, 71, 0.35);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.fib-label,
.axis-label,
.timezone-label {
  fill: rgba(229, 234, 246, 0.82);
  font-size: 11px;
}

.axis-tick {
  stroke: rgba(229, 234, 246, 0.34);
}

.pattern-tag rect {
  opacity: 0.95;
}

.pattern-tag text {
  font-size: 17px;
  font-weight: 600;
}

.tag-blue rect { fill: #9fd0ff; }
.tag-blue text { fill: #345c82; }
.tag-red rect { fill: #ffc0c0; }
.tag-red text { fill: #b84752; }
.tag-green rect { fill: #d7ffd6; }
.tag-green text { fill: #4a9a54; }

.watermark {
  fill: rgba(255, 255, 255, 0.025);
  font-size: 92px;
  font-weight: 800;
  text-anchor: middle;
}

.last-price-tag {
  fill: #df3544;
}

.last-price-text {
  fill: white;
  font-size: 11px;
  font-weight: 700;
}

.user-drawing {
  stroke: #f4c85d;
  stroke-width: 2;
  stroke-dasharray: 8 6;
  pointer-events: none;
}

.measure-drawing {
  stroke: #8bd6ff;
}

.drawing-label {
  fill: #e7edf8;
  font-size: 13px;
  font-weight: 700;
}

.position-zone {
  opacity: 0.18;
  pointer-events: none;
}

.position-zone.reward {
  fill: #4ee29f;
}

.position-zone.risk {
  fill: #ff5266;
}

.chart-statusbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #202331;
}

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

.chart-status-grid article {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.chart-status-grid span {
  display: block;
  color: #8f98ae;
  font-size: 0.74rem;
}

.chart-status-grid strong {
  color: #e7edf8;
  font-size: 0.9rem;
}

.chart-action-row {
  display: grid;
  grid-template-columns: 92px 132px 110px auto;
  gap: 8px;
}

.chart-action-row input,
.chart-action-row select {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  color: #e7edf8;
  background: #272b3b;
  padding: 0 9px;
}

.chart-workstation {
  background: #000;
}

.browser-strip {
  display: grid;
  grid-template-columns: auto minmax(220px, 280px) minmax(220px, 340px) 1fr;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid #121722;
  background: #2a2e3a;
}

.window-dots,
.browser-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.browser-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px 9px 0 0;
  color: #b9beca;
  background: rgba(17, 21, 31, 0.52);
}

.browser-tab.active {
  color: #f5f7fb;
  background: #020304;
  box-shadow: inset 0 -3px 0 #31b95d;
}

.browser-tab button {
  margin-left: auto;
  border: 0;
  color: #7c8290;
  background: transparent;
}

.apple-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #030609;
  background: #dfe6ef;
  font-size: 0.72rem;
  font-weight: 800;
}

.browser-actions {
  justify-self: end;
}

.browser-actions span {
  width: 28px;
  height: 18px;
  border: 2px solid rgba(187, 194, 209, 0.38);
  border-radius: 4px;
}

.chart-nav {
  min-height: 50px;
  background: #010204;
  border-color: #1d2330;
}

.chart-app {
  height: 100%;
  width: 100%;
  min-height: 0;
  min-width: 0;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: 1fr;
  background: #000;
  overflow: hidden;
}

.chart-left-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px;
  border-right: 1px solid #1c2230;
  background: #030406;
}

.rail-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #c5cad4;
  background: transparent;
  font-size: 0.7rem;
}

.rail-icon:hover,
.rail-icon.active {
  color: #2f6fff;
  background: rgba(47, 111, 255, 0.12);
}

.chart-workspace-content {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) auto auto;
  background: #000;
  overflow: hidden;
  align-content: stretch;
}

.chart-toolbar {
  grid-template-columns: auto auto auto minmax(240px, 1fr);
  min-height: 48px;
  padding: 5px 12px;
  background: #020304;
  border-color: #1b2130;
}

.chart-toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.chart-toolbar-group.right {
  justify-content: end;
  overflow: hidden;
}

.zoom-readout,
.status-pill {
  white-space: nowrap;
}

.tool-icon,
.chart-select,
.segmented button {
  min-height: 34px;
  border-color: transparent;
  color: #b9bfcc;
  background: transparent;
}

.chart-select {
  color: #f1f4fb;
  background: #04070c;
}

.symbol-search {
  position: relative;
  min-width: 248px;
}

.symbol-search-trigger {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 10px;
  min-width: 248px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(47, 111, 255, 0.28);
  border-radius: 8px;
  color: #f1f4fb;
  background: #04070c;
  text-align: left;
}

.symbol-search-trigger span {
  color: #2f6fff;
  font-weight: 800;
}

.symbol-search-trigger small {
  overflow: hidden;
  color: #aeb5c3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.symbol-search-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(620px, calc(100vw - 90px));
  padding: 12px;
  border: 1px solid #1f2a3d;
  border-radius: 12px;
  background: #05070b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.symbol-search-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 8px;
}

.symbol-search-head input,
.symbol-search-head select {
  min-height: 38px;
  border: 1px solid rgba(68, 78, 96, 0.6);
  border-radius: 8px;
  color: #f1f4fb;
  background: #000;
  padding: 0 12px;
}

.symbol-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.symbol-source-row button {
  min-height: 30px;
  border: 1px solid rgba(68, 78, 96, 0.5);
  border-radius: 999px;
  color: #aeb5c3;
  background: transparent;
  padding: 0 10px;
  font-size: 0.78rem;
}

.symbol-source-row button.active,
.symbol-source-row button:hover {
  color: #2f6fff;
  border-color: rgba(47, 111, 255, 0.45);
  background: rgba(47, 111, 255, 0.12);
}

.symbol-results {
  display: grid;
  max-height: 360px;
  overflow: auto;
  border: 1px solid rgba(68, 78, 96, 0.32);
  border-radius: 10px;
}

.symbol-results button,
.symbol-results article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid rgba(68, 78, 96, 0.28);
  color: #dfe5f1;
  background: #05070b;
  text-align: left;
}

.symbol-results button:hover {
  background: #101722;
}

.symbol-results strong {
  color: #2f6fff;
}

.symbol-results span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.symbol-results em {
  color: #8f98ae;
  font-style: normal;
  font-size: 0.78rem;
}

.symbol-search-note {
  margin: 10px 2px 0;
  color: #8f98ae;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tool-icon:hover,
.segmented button:hover {
  color: #ffffff;
  background: #111722;
}

.tool-icon.active,
.segmented .is-highlight {
  color: #2f6fff;
  border-color: rgba(47, 111, 255, 0.35);
  background: rgba(47, 111, 255, 0.12);
}

.chart-mainframe {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000;
  contain: layout paint;
}

.price-chart-shell {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.lightweight-chart-host {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.lightweight-chart-host > div {
  width: 100%;
  height: 100%;
}

.chart-attribution-note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 6;
  margin: 0;
  color: #7f8798;
  font-size: 0.72rem;
  line-height: 1.3;
  pointer-events: none;
}

.chart-attribution-note a {
  color: #9bb5ff;
  pointer-events: auto;
}

.chart-legend,
.chart-legend.is-hidden {
  display: none;
}

.instrument-line strong {
  color: #e2e6ef;
  font-size: 1.05rem;
  font-weight: 500;
}

.ohlc-line b {
  color: #00a99a;
}

.analysis-list {
  opacity: 0.86;
}

.pro-chart {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: #000;
  display: block;
  flex: 1 1 auto;
}

.chart-workstation .price-chart,
.chart-workstation .price-chart.pro-chart {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none;
  aspect-ratio: auto;
}

.chart-bg {
  fill: #000;
}

.pro-chart .chart-grid line {
  stroke: rgba(73, 83, 100, 0.26);
}

.pro-chart .candle-up .candle-body,
.pro-chart .candle-up .candle-wick {
  fill: #00a99a;
  stroke: #00a99a;
}

.pro-chart .candle-down .candle-body,
.pro-chart .candle-down .candle-wick {
  fill: #ff3d4f;
  stroke: #ff3d4f;
}

.pro-chart .signal-line {
  stroke: #2f6fff;
  stroke-width: 3.2;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 7px rgba(47, 111, 255, 0.95));
}

.pro-chart .trend-line {
  stroke: rgba(47, 111, 255, 0.16);
  stroke-width: 1.2;
}

.pro-chart .trend-zone {
  fill: rgba(47, 111, 255, 0.035);
}

.pane-divider {
  stroke: #212838;
  stroke-width: 1.2;
}

.indicator-midline {
  stroke: rgba(68, 78, 96, 0.36);
  stroke-dasharray: 2 4;
}

.aroon-pane-bg {
  fill: rgba(19, 50, 118, 0.23);
  stroke: rgba(47, 111, 255, 0.2);
  stroke-dasharray: 3 4;
}

.indicator-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blue-indicator {
  stroke: #2f6fff;
}

.orange-indicator {
  stroke: #ffad24;
}

.indicator-title {
  fill: #aeb5c3;
  font-size: 13px;
}

.event-marker circle {
  fill: #05080e;
  stroke-width: 2;
}

.event-marker text {
  text-anchor: middle;
  fill: #dfe7f7;
  font-size: 11px;
  font-weight: 800;
}

.event-earnings circle {
  stroke: #00a99a;
}

.event-dividend circle {
  stroke: #2f6fff;
}

.event-sale circle {
  stroke: #ffad24;
}

.axis-label,
.timezone-label {
  fill: #aab1c0;
  font-size: 12px;
}

.last-price-tag {
  fill: #00a99a;
}

.last-price-text {
  fill: white;
  font-size: 12px;
}

.range-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.range-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #aeb5c3;
  background: transparent;
  padding: 0 9px;
}

.range-tabs button:hover,
.range-tabs button.active {
  color: #2f6fff;
  background: rgba(47, 111, 255, 0.12);
}

.chart-statusbar {
  grid-template-columns: auto 1fr auto;
  padding: 7px 10px;
  background: #020304;
  border-color: #1b2130;
}

.chart-status-grid article {
  background: #05070b;
  border-color: rgba(68, 78, 96, 0.38);
}

.chart-action-row input,
.chart-action-row select {
  background: #05070b;
  border-color: rgba(68, 78, 96, 0.5);
}

.bottom-tool-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 44px;
  padding: 0 14px;
  border-top: 1px solid #1b2130;
  background: #020304;
}

.bottom-tool-tabs button {
  border: 0;
  color: #b7bdc9;
  background: transparent;
  font-size: 0.96rem;
}

.bottom-tool-tabs button:hover,
.bottom-tool-tabs button.is-active {
  color: #ffffff;
}

.chart-bottom-panel {
  border-top: 1px solid #1b2130;
  background: linear-gradient(180deg, #05070b 0%, #020304 100%);
  padding: 14px;
  display: grid;
  gap: 14px;
}

.chart-bottom-panel[hidden] {
  display: none;
}

.chart-bottom-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.chart-bottom-panel-head strong {
  color: #d7ddea;
  font-size: 0.96rem;
  font-weight: 500;
}

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

.chart-bottom-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 14px;
}

.dock-panel-card,
.dock-panel-list article,
.dock-mini-card {
  border: 1px solid rgba(68, 78, 96, 0.38);
  border-radius: 16px;
  background: #05070b;
}

.dock-panel-card {
  padding: 14px;
}

.dock-panel-card h3,
.dock-panel-card h4 {
  margin: 0 0 10px;
  color: #edf2fb;
  font-size: 0.98rem;
  font-weight: 600;
}

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

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

.dock-panel-list article {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.dock-panel-list strong {
  color: #edf2fb;
}

.dock-panel-list span,
.dock-panel-list em,
.dock-mini-card p,
.dock-stat span,
.dock-note {
  color: #99a3b8;
}

.dock-panel-list em {
  font-style: normal;
}

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

.dock-mini-card {
  padding: 12px;
}

.dock-mini-card strong,
.dock-stat strong {
  display: block;
  color: #edf2fb;
}

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

.dock-inline-form input,
.dock-inline-form select,
.dock-inline-form textarea,
.dock-layout-row input {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(68, 78, 96, 0.5);
  background: #020304;
  color: #edf2fb;
  padding: 0 12px;
}

.dock-inline-form textarea {
  min-height: 100px;
  padding: 10px 12px;
  resize: vertical;
}

.dock-layout-row,
.dock-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dock-action-row {
  margin-top: 12px;
}

.dock-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.dock-chip {
  border: 1px solid rgba(47, 111, 255, 0.3);
  border-radius: 999px;
  background: rgba(47, 111, 255, 0.12);
  color: #c8d7ff;
  padding: 6px 10px;
  font-size: 0.82rem;
}

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

.dock-stat {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(68, 78, 96, 0.38);
  background: #05070b;
}

.dock-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(47, 111, 255, 0.12);
  color: #c8d7ff;
  font-size: 0.8rem;
}

@media (max-width: 1200px) {
  .hero,
  .module-card,
  .workspace-grid,
  .compare-grid,
  .pricing-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .trust-row,
  .strategy-cards,
  .automation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .chart-nav,
  .chart-toolbar,
  .chart-statusbar {
    grid-template-columns: 1fr;
  }

  .chart-toolbar-group,
  .chart-toolbar-group.right,
  .chart-nav-links {
    justify-content: start;
    flex-wrap: wrap;
  }

  .symbol-search,
  .symbol-search-trigger {
    width: 100%;
    min-width: 0;
  }

  .symbol-search-panel {
    position: fixed;
    top: 108px;
    left: 58px;
    right: 10px;
    width: auto;
  }

  .symbol-search-head,
  .symbol-results button,
  .symbol-results article {
    grid-template-columns: 1fr;
  }

  .chart-app {
    height: 100%;
    min-height: 0;
  }

  .pro-chart {
    height: 100%;
    min-height: 0;
  }

  .chart-status-grid,
  .chart-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-bottom-panel-body,
  .dock-split,
  .dock-panel-grid,
  .dock-stat-grid,
  .dock-mini-grid,
  .dock-inline-form {
    grid-template-columns: 1fr;
  }

  .navbar {
    border-radius: 28px;
    align-items: start;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }

  .nav-panel.is-open,
  .nav-panel.is-open .nav-links,
  .nav-panel.is-open .nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
  }

  .hero {
    padding-top: 40px;
  }

  .terminal-toolbar,
  .terminal-topbar,
  .cta-card,
  .footer {
    flex-direction: column;
    align-items: start;
  }

  .insight-strip,
  .proof-grid,
  .trust-row,
  .strategy-cards,
  .automation-grid,
  .chart-overlay,
  .visual-grid,
  .visual-stats {
    grid-template-columns: 1fr;
  }

  .product-layout,
  .scanner-console,
  .lab-layout,
  .automation-console,
  .assistant-console,
  .form-layout,
  .workflow-board,
  .test-results,
  .product-grid-section,
  .tool-shell,
  .tool-shell.two-up,
  .tool-grid,
  .inline-form,
  .alert-builder,
  .bot-builder,
  .ai-compose {
    grid-template-columns: 1fr;
  }

  .product-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .page-shell.chart-workstation {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto auto minmax(520px, 1fr);
  }

  .utility-bar,
  .navbar,
  .hero,
  .logo-ribbon,
  .section,
  .footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .utility-pill {
    flex-direction: column;
    align-items: start;
    border-radius: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .scanner-table article,
  .watchlist article,
  .visual-list article,
  .visual-flow article {
    grid-template-columns: 1fr;
    display: grid;
  }

  .module-card,
  .terminal-card,
  .capability-card,
  .compare-card,
  .price-card,
  .cta-card {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .product-hero,
  .product-band,
  .product-grid-section,
  .scanner-console,
  .lab-layout,
  .automation-console,
  .assistant-console,
  .form-layout,
  .pricing-page-grid,
  .faq-page-list,
  .product-terminal {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .product-hero {
    padding-top: 48px;
  }

  .product-hero h1 {
    font-size: 36px;
  }

  .scanner-results article {
    grid-template-columns: 1fr;
  }

  .tool-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 22px;
  }

  .tool-main h1 {
    font-size: 1.55rem;
  }

  .live-results article {
    grid-template-columns: 1fr;
  }
}
