:root {
  color-scheme: dark;
  --page: #070b0f;
  --surface: #0e151d;
  --surface-raised: #151f2a;
  --line: #253342;
  --line-strong: #35485b;
  --text: #f3f7fa;
  --muted: #93a4b3;
  --accent: #1fd38a;
  --accent-strong: #10b981;
  --cyan: #37c9dc;
  --warning: #f5b942;
  --danger: #ff5f63;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: #4ed8cf; text-decoration: none; }
a:hover { color: #83efe7; }
button, input { font: inherit; }
select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(53, 72, 91, 0.72); background: rgba(7, 11, 15, 0.94); backdrop-filter: blur(14px); }
.nav-shell { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #2ee59c; background: #0b241b; color: #3ff3a9; }
.brand-mark img { width: 22px; height: 22px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 14px; }
.brand-copy small { margin-top: 4px; color: #6f8493; font-size: 8px; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-links a.is-active, .nav-links a:hover { color: var(--text); }
.dashboard-mobile-tabs { display: none; }
.nav-account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-account form { margin: 0; }
.user-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.page-shell { padding-block: 38px 56px; }
.page-shell-home { padding: 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: 34px; line-height: 1.1; }
h2 { margin-bottom: 8px; font-size: 22px; line-height: 1.2; }
h3 { margin-bottom: 0; font-size: 18px; }
.lead { max-width: 620px; color: var(--muted); font-size: 17px; }
.eyebrow { margin-bottom: 8px; color: #53d6ce; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.section-heading { margin-bottom: 20px; }
.section-heading.compact { margin-bottom: 16px; }
.section-heading p:not(.eyebrow), .form-heading p { color: var(--muted); }
.page-section { margin-top: 56px; }

/* Trading home */
.trading-hero { position: relative; min-height: min(680px, calc(100svh - 160px)); overflow: hidden; border-bottom: 1px solid var(--line); background: #060a0e; }
.trading-hero-media, .trading-hero-shade { position: absolute; inset: 0; }
.trading-hero-media { background-image: url('hero-trading-terminal-v1.png'); background-position: center; background-size: cover; opacity: 0.76; transform: scale(1.015); animation: heroDrift 16s ease-in-out infinite alternate; }
.trading-hero-shade { background: rgba(3, 7, 10, 0.28); box-shadow: inset 720px 0 220px rgba(3, 7, 10, 0.88), inset 0 -140px 120px rgba(3, 7, 10, 0.76); }
.trading-hero-inner { position: relative; z-index: 2; display: flex; min-height: min(680px, calc(100svh - 160px)); align-items: center; padding-block: 46px 104px; }
.hero-copy { width: min(660px, 58%); }
.hero-kicker { display: inline-flex; min-height: 28px; align-items: center; gap: 9px; margin-bottom: 22px; padding: 5px 9px; border: 1px solid rgba(49, 213, 141, 0.38); background: rgba(8, 25, 19, 0.78); color: #a6f5cf; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(31, 211, 138, 0.12); animation: livePulse 1.8s ease-in-out infinite; }
.hero-copy h1 { max-width: 650px; margin-bottom: 20px; color: #f7fafc; font-size: 66px; line-height: 0.98; }
.hero-copy h1 span { color: #43e6a6; }
.hero-lead { max-width: 610px; margin-bottom: 30px; color: #b7c5d0; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-hero { min-height: 50px; gap: 9px; padding-inline: 20px; }
.button-hero svg { width: 18px; height: 18px; }
.button-glass { border-color: rgba(165, 188, 204, 0.34); background: rgba(13, 22, 30, 0.72); color: #f0f5f8; backdrop-filter: blur(8px); }
.button-glass:hover { border-color: #7892a5; background: rgba(25, 37, 48, 0.88); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #92a6b4; font-size: 12px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust svg { width: 15px; height: 15px; color: #45d9a2; }
.hero-telemetry { position: absolute; right: 0; bottom: 108px; width: 420px; padding: 18px; border: 1px solid rgba(75, 102, 123, 0.72); background: rgba(8, 14, 20, 0.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.telemetry-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid #263646; color: #a9bac6; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.telemetry-head span { display: inline-flex; align-items: center; gap: 7px; }
.telemetry-head svg { width: 14px; height: 14px; color: var(--accent); }
.telemetry-head strong { color: #eaf4f0; font-variant-numeric: tabular-nums; }
.telemetry-state { display: grid; min-height: 100px; align-content: center; padding-block: 14px; }
.telemetry-state small, .telemetry-metrics small, .console-decision small, .console-stats small { color: #6f8493; font-size: 9px; font-weight: 900; }
.telemetry-state strong { margin: 5px 0 3px; color: #f4f8fa; font-size: 18px; }
.telemetry-state span { color: #91a5b3; font-size: 12px; }
.telemetry-progress { height: 3px; overflow: hidden; background: #1d2a36; }
.telemetry-progress span { display: block; width: 18%; height: 100%; background: var(--accent); box-shadow: 0 0 16px rgba(31, 211, 138, 0.52); transition: width 500ms ease; }
.telemetry-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 14px; background: #263646; }
.telemetry-metrics span { display: grid; min-width: 0; gap: 3px; padding: 10px; background: #0b1219; }
.telemetry-metrics strong { overflow: hidden; color: #dfe8ed; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.hero-tape { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; min-height: 58px; border-top: 1px solid rgba(62, 84, 101, 0.58); background: rgba(5, 10, 14, 0.9); }
.hero-tape-track { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; color: #8fa2af; font-size: 9px; font-weight: 900; white-space: nowrap; }
.hero-tape-track b { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: #3ddb9f; }

.page-band { padding-block: 96px; border-bottom: 1px solid #1f2b36; }
.intelligence-band { padding-top: 40px; background: #0b1016; }
.workflow-band { background: #080d12; }
.plans-band { background: #0c1219; }
.section-heading-wide, .pricing-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr); gap: 70px; align-items: end; margin-bottom: 50px; }
.section-heading-wide h2, .pricing-heading h2, .workflow-copy h2, .closing-inner h2 { max-width: 720px; margin: 0; font-size: 38px; line-height: 1.12; }
.section-heading-wide > p, .pricing-heading > p, .workflow-copy > p, .closing-inner p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability { position: relative; min-width: 0; padding: 34px 34px 36px 0; border-right: 1px solid var(--line); }
.capability + .capability { padding-left: 34px; }
.capability:last-child { padding-right: 0; border-right: 0; }
.capability > span { position: absolute; top: 34px; right: 26px; color: #526574; font-size: 10px; font-weight: 900; }
.capability-icon { display: grid; width: 38px; height: 38px; margin-bottom: 26px; place-items: center; border: 1px solid currentColor; }
.capability-icon svg { width: 19px; height: 19px; }
.capability-icon.green { color: #3cdf9f; background: #0b241a; }
.capability-icon.cyan { color: #48cede; background: #0b2028; }
.capability-icon.amber { color: #f2bc4f; background: #261e0c; }
.capability h3 { margin-bottom: 10px; font-size: 18px; }
.capability p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.workflow-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr); gap: 86px; align-items: center; }
.workflow-copy > p { max-width: 560px; }
.workflow-copy h2 { margin-bottom: 18px; }
.workflow-list { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); color: #8194a2; transition: color 240ms ease, padding 240ms ease; }
.workflow-list li > span { font-size: 10px; font-weight: 900; }
.workflow-list li div { display: grid; gap: 2px; }
.workflow-list li strong { color: #b9c6cf; font-size: 13px; }
.workflow-list li small { font-size: 11px; }
.workflow-list li.is-active { padding-left: 10px; color: #42e3a5; }
.workflow-list li.is-active strong { color: #f2f7f5; }
.robot-console { min-width: 0; border: 1px solid #34485a; background: #0c141b; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38); }
.console-topbar { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; border-bottom: 1px solid #2b3c4c; background: #111b24; }
.console-brand { display: flex; align-items: center; gap: 10px; }
.console-brand > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #2aae77; color: #4be2a5; }
.console-brand img { width: 22px; height: 22px; }
.console-brand div { display: grid; }
.console-brand strong { font-size: 12px; }
.console-brand small { color: #718595; font-size: 9px; }
.console-online { display: inline-flex; align-items: center; gap: 6px; color: #7ee8b8; font-size: 9px; font-weight: 900; }
.console-online b { width: 6px; height: 6px; border-radius: 50%; background: #22d58c; box-shadow: 0 0 10px #22d58c; }
.console-chart { position: relative; height: 300px; overflow: hidden; background: #080d12; }
.chart-grid { position: absolute; inset: 0; border-block: 1px solid rgba(52, 72, 90, 0.35); background-size: 58px 58px; opacity: 0.45; }
.chart-grid::before, .chart-grid::after { position: absolute; content: ""; background: rgba(61, 83, 101, 0.34); }
.chart-grid::before { top: 33%; right: 0; left: 0; height: 1px; box-shadow: 0 86px 0 rgba(61, 83, 101, 0.34); }
.chart-grid::after { top: 0; bottom: 0; left: 25%; width: 1px; box-shadow: 150px 0 0 rgba(61, 83, 101, 0.34), 300px 0 0 rgba(61, 83, 101, 0.34); }
.candle { position: absolute; bottom: 72px; width: 34px; border: 1px solid currentColor; background: currentColor; animation: candleBreathe 3s ease-in-out infinite; }
.candle i { position: absolute; top: -28px; bottom: -24px; left: 50%; width: 1px; background: currentColor; transform: translateX(-50%); }
.candle.green { color: #18c982; }
.candle.red { color: #f05057; }
.candle.c1 { left: 16%; height: 80px; }
.candle.c2 { left: 34%; bottom: 102px; height: 108px; animation-delay: 250ms; }
.candle.c3 { left: 52%; bottom: 74px; height: 54px; animation-delay: 500ms; }
.candle.c4 { left: 72%; bottom: 94px; height: 96px; animation-delay: 750ms; }
.price-line { position: absolute; right: 0; bottom: 116px; left: 0; border-top: 1px dashed rgba(65, 225, 164, 0.62); }
.entry-line { position: absolute; top: 0; bottom: 0; left: 66%; width: 1px; background: #f4b940; box-shadow: 0 0 14px rgba(244, 185, 64, 0.45); }
.entry-line span { position: absolute; top: 14px; left: 8px; color: #f4c765; font-size: 8px; font-weight: 900; }
.console-decision { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border-top: 1px solid #2b3c4c; border-bottom: 1px solid #2b3c4c; }
.console-decision > div { display: grid; min-width: 0; gap: 3px; }
.console-decision strong { overflow: hidden; color: #f0f5f7; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.console-decision span:not(.decision-score) { color: #8ea1af; font-size: 11px; }
.decision-score { display: grid; width: 58px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid #2cc987; background: #0b281d; color: #6bf0b5; font-size: 14px; font-weight: 900; }
.console-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #2a3a48; }
.console-stats span { display: grid; min-width: 0; gap: 3px; padding: 13px 16px; background: #101820; }
.console-stats strong { color: #dce7ec; font-size: 11px; }

.pricing-heading { align-items: end; }
.trading-plans { gap: 20px; max-width: 980px; margin-inline: auto; }
.trading-plans .plan-card { position: relative; min-height: 430px; padding: 30px; background: #101821; }
.trading-plans .plan-card.featured { border-color: #25b879; background: #0e1d19; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26); }
.plan-ribbon { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; color: #6ee9b5; font-size: 9px; font-weight: 900; }
.plan-ribbon svg { width: 13px; height: 13px; }
.trading-plans .plan-card-top strong { font-size: 32px; }
.responsible-use-board { max-width: 980px; margin: 30px auto 0; overflow: hidden; border: 1px solid #514126; border-left: 3px solid #f0b63f; background: #0e141b; box-shadow: 0 20px 46px rgba(0, 0, 0, 0.2); }
.responsible-use-heading { display: flex; align-items: flex-start; gap: 18px; padding: 24px 26px; border-bottom: 1px solid #3a3223; background: linear-gradient(90deg, rgba(96, 66, 15, 0.2), rgba(14, 20, 27, 0)); }
.responsible-use-heading .risk-signal { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid #9e7227; background: #251c0c; color: #f6c75e; }
.responsible-use-heading .risk-signal svg { width: 21px; height: 21px; }
.responsible-use-heading h3 { margin: 2px 0 7px; color: #f3f7f9; font-size: 24px; }
.responsible-use-heading p:last-child { max-width: 760px; margin: 0; color: #9cadb8; font-size: 13px; line-height: 1.65; }
.responsible-use-content { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr); }
.responsible-use-content section { min-width: 0; padding: 26px; }
.responsible-use-content section + section { border-left: 1px solid #263541; }
.responsible-use-content h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #dce7ec; font-size: 13px; }
.responsible-use-content h4 svg { width: 17px; height: 17px; color: #ee5b61; }
.responsible-use-content ul { margin: 0; padding: 0; list-style: none; }
.no-guarantee > ul { display: grid; gap: 12px; }
.no-guarantee > ul li { position: relative; padding-left: 16px; color: #c3ced5; font-size: 12px; line-height: 1.55; }
.no-guarantee > ul li::before { position: absolute; top: 0.62em; left: 0; width: 5px; height: 5px; background: #ef535a; content: ''; }
.volatility-warning { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #3a292c; color: #cdb6b7; font-size: 11px; line-height: 1.55; }
.volatility-warning svg { width: 17px; height: 17px; flex: 0 0 auto; color: #ef535a; }
.volatility-warning strong { color: #ff9296; }
.responsible-guidelines h4 svg { color: #42d99d; }
.guideline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.guideline-grid li { display: flex; min-width: 0; align-items: flex-start; gap: 9px; color: #aebdc6; font-size: 11px; line-height: 1.5; }
.guideline-grid li svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #42d99d; }
.guideline-grid strong { color: #dce7ec; }
.responsible-use-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-top: 1px solid #2b3b47; background: #111b22; color: #dbe7eb; font-size: 12px; text-align: center; }
.responsible-use-footer svg { width: 17px; height: 17px; flex: 0 0 auto; color: #49dda5; }
.closing-cta { padding-block: 72px; border-bottom: 1px solid var(--line); background: #10171f; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing-inner h2 { margin-bottom: 10px; }
.closing-inner p { max-width: 660px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.76); } }
@keyframes heroDrift { from { transform: scale(1.015) translateX(0); } to { transform: scale(1.045) translateX(-0.7%); } }
@keyframes candleBreathe { 0%, 100% { filter: brightness(0.9); } 50% { filter: brightness(1.2); } }

.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid transparent; border-radius: 5px; color: var(--text); font-size: 14px; font-weight: 800; text-align: center; white-space: nowrap; }
.button-primary { border-color: #1c9f90; background: var(--accent); color: #071313; }
.button-primary:hover { border-color: #43eca8; background: #43eca8; color: #07130d; }
.button-secondary { border-color: #3c526b; background: #1a2635; }
.button-secondary:hover { border-color: #5a7594; color: var(--text); }
.button-quiet { min-height: 34px; border-color: transparent; background: transparent; color: var(--muted); }
.button-quiet:hover { border-color: var(--line); color: var(--text); }
.button-success { min-height: 34px; border-color: #257d48; background: #123e27; color: #91f1b7; }
.button-danger { min-height: 34px; border-color: #923e47; background: #421a20; color: #ffb4ba; }
.button-disabled { border-color: var(--line); background: #151d26; color: #708093; pointer-events: none; }
.button-wide { width: 100%; }

.access-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: 54px; align-items: center; min-height: 360px; }
.access-intro { padding-block: 30px; }
.access-panel, .form-surface, .checkout-summary { border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: var(--shadow); }
.access-panel { padding: 28px; }
.stack-actions { display: grid; gap: 10px; }
.risk-note { display: grid; gap: 4px; max-width: 630px; margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--warning); background: #211b11; color: #cfbd91; font-size: 13px; }
.risk-note strong { color: #f6cf72; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan-grid-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.plan-card { display: flex; min-width: 0; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.plan-card.featured { border-color: #1d8e85; background: #10222a; }
.plan-card-top { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.plan-card-top h2, .plan-card-top h3 { grid-column: 1 / -1; }
.plan-card-top strong { color: var(--text); font-size: 25px; }
.plan-card-top small { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.plan-card-top .plan-payment-label { align-self: end; justify-self: end; margin: 0; padding: 5px 7px; border: 1px solid rgba(69, 218, 161, 0.36); border-radius: 4px; background: rgba(25, 123, 86, 0.15); color: #79e5b5; font-size: 10px; line-height: 1; }
.plan-card p { color: var(--muted); }
.feature-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #c4d0da; font-size: 14px; }
.feature-list li { display: flex; gap: 9px; }
.feature-list li::before { content: "+"; color: #55d9d0; font-weight: 900; }
.plan-card .button { margin-top: auto; }

.form-page { width: min(500px, 100%); margin: 8px auto 0; }
.form-heading { margin-bottom: 24px; }
.form-surface { display: grid; gap: 16px; padding: 24px; }
.field { display: grid; gap: 7px; color: #cbd6de; font-size: 13px; font-weight: 700; }
.field input { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #34485d; border-radius: 5px; background: #0d151d; color: var(--text); outline: none; }
.field input:focus { border-color: #29c7bb; box-shadow: 0 0 0 3px rgba(41, 199, 187, 0.13); }
.field small { color: var(--muted); font-size: 11px; font-weight: 500; }
.form-errors { padding: 12px 14px; border: 1px solid #85414a; background: #32191e; color: #ffbdc1; font-size: 13px; }
.form-errors ul { margin: 7px 0 0; padding-left: 18px; }
.form-footer { margin: 2px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dashboard-head p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.metric { min-width: 0; min-height: 102px; padding: 18px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric span { display: block; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.metric strong { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: 18px; }
.positive { color: #52df91; }
.negative { color: #f97878; }
.installation-hub { min-width: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); overflow: hidden; }
.installation-heading { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 24px; border-bottom: 1px solid var(--line); }
.installation-heading h2 { margin-bottom: 7px; font-size: 24px; }
.installation-heading p:not(.eyebrow) { max-width: 690px; margin: 0; color: var(--muted); }
.installation-access { display: inline-flex; min-height: 30px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid; border-radius: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.installation-access svg { width: 14px; height: 14px; }
.installation-access.is-active { border-color: #267c57; background: #10291f; color: #72e5ad; }
.installation-access.is-locked { border-color: #68542c; background: #241f13; color: #e6c66c; }
.installation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.download-panel, .video-panel { min-width: 0; padding: 26px; }
.download-panel { display: grid; align-content: start; }
.video-panel { border-left: 1px solid var(--line); }
.installation-icon { display: grid; width: 42px; height: 42px; margin-bottom: 19px; place-items: center; border: 1px solid #2b7e66; background: #102820; color: #63e3ae; }
.installation-icon svg { width: 21px; height: 21px; }
.installation-label { display: block; margin-bottom: 7px; color: #40d9cb; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.installation-copy h3, .video-copy h3 { margin-bottom: 8px; font-size: 18px; }
.installation-copy p, .video-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.installation-copy strong { color: #dfe9ed; }
.download-details { display: grid; grid-template-columns: 0.62fr 1.2fr 1fr; margin: 22px 0 18px; border-block: 1px solid #263746; }
.download-details > div { min-width: 0; padding: 11px 12px 11px 0; }
.download-details > div + div { padding-left: 12px; border-left: 1px solid #263746; }
.download-details dt { margin-bottom: 4px; color: #6f8290; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.download-details dd { margin: 0; overflow-wrap: anywhere; color: #d7e2e7; font-size: 11px; font-weight: 800; }
.button-download { width: 100%; gap: 8px; }
.button-download svg { width: 16px; height: 16px; }
.installation-state { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; color: #8194a2; font-size: 10px; line-height: 1.45; }
.installation-state svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; }
.installation-state.is-ready { color: #69dca7; }
.tutorial-video { position: relative; display: grid; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 20px; place-items: center; overflow: hidden; border: 1px solid #2c4050; background: #070d12; }
.tutorial-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tutorial-video-placeholder { align-content: center; gap: 7px; color: #8194a2; text-align: center; }
.tutorial-video-placeholder span { display: grid; width: 42px; height: 42px; margin: 0 auto 3px; place-items: center; border: 1px solid #365064; color: #64d3c8; }
.tutorial-video-placeholder span svg { width: 20px; height: 20px; }
.tutorial-video-placeholder strong { color: #dce6ea; font-size: 13px; }
.tutorial-video-placeholder small { max-width: 280px; padding-inline: 14px; font-size: 10px; line-height: 1.45; }
.installation-steps { display: grid; grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1.66fr); border-top: 1px solid var(--line); }
.steps-heading { padding: 24px; border-right: 1px solid var(--line); }
.steps-heading > span { color: #40d9cb; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.steps-heading h3 { margin: 7px 0 0; font-size: 17px; line-height: 1.35; }
.installation-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.installation-steps li { display: grid; min-width: 0; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 18px; border-right: 1px solid #253541; border-bottom: 1px solid #253541; }
.installation-steps li:nth-child(3n) { border-right: 0; }
.installation-steps li:nth-last-child(-n + 3) { border-bottom: 0; }
.installation-steps li > span { color: #38cf9a; font-size: 10px; font-weight: 900; }
.installation-steps li div { display: grid; min-width: 0; gap: 4px; }
.installation-steps li strong { color: #dce7eb; font-size: 11px; }
.installation-steps li small { color: #7f929f; font-size: 10px; line-height: 1.45; }
.installation-steps code { padding: 1px 4px; border: 1px solid #324657; background: #0a1218; color: #95e5d1; font-family: Consolas, "Courier New", monospace; font-size: 9px; overflow-wrap: anywhere; }
.content-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; margin-top: 18px; }
.content-block { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.footnote { margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.empty-state { color: var(--muted); }
.notice-band { display: flex; gap: 12px; margin-top: 28px; padding: 15px 18px; border: 1px solid #806117; background: #251e0f; color: #d8c68f; font-size: 13px; }
.notice-band strong { color: #f4d26b; white-space: nowrap; }
.notice-band.small { margin: 0; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
th, td { padding: 11px 10px; border-bottom: 1px solid #26384a; text-align: left; vertical-align: middle; }
th { color: #9aacbb; font-size: 11px; text-transform: uppercase; }
td small { color: var(--muted); }
.badge { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.badge.neutral, .badge.pending { background: #27394c; color: #d1dce6; }
.badge.premium, .badge.approved { background: #164d43; color: #84f1d9; }
.badge.rejected { background: #542027; color: #ffc1c8; }
.table-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.table-actions form { margin: 0; }

/* Admin operations */
.admin-page-shell { width: min(1460px, calc(100% - 40px)); }
.admin-dashboard { min-width: 0; }
.admin-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.admin-dashboard-head h1 { margin-bottom: 8px; }
.admin-dashboard-head p:not(.eyebrow) { margin: 0; color: var(--muted); }
.admin-updated { display: flex; min-width: 180px; align-items: center; justify-content: flex-end; gap: 11px; color: #91a4b2; }
.admin-updated > span:last-child { display: grid; gap: 2px; }
.admin-updated small { color: #617484; font-size: 8px; font-weight: 900; }
.admin-updated strong { color: #b8c7cf; font-size: 11px; }
.admin-section-nav { display: flex; gap: 4px; margin-bottom: 18px; padding-bottom: 10px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.admin-section-nav a { min-height: 32px; padding: 7px 12px; border-bottom: 2px solid transparent; color: #8194a4; font-size: 11px; font-weight: 800; white-space: nowrap; }
.admin-section-nav a:hover, .admin-section-nav a.is-active { border-color: var(--accent); color: #dce8ed; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #1c2a36; }
.admin-kpi { display: flex; min-width: 0; min-height: 126px; align-items: flex-start; gap: 13px; padding: 19px 16px; border-right: 1px solid var(--line); background: #0e151d; }
.admin-kpi:nth-child(4n) { border-right: 0; }
.admin-kpi:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
.admin-kpi-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; background: #111d25; }
.admin-kpi-icon svg { width: 17px; height: 17px; }
.admin-kpi-icon.green { color: #3cdda0; background: #0c251b; }
.admin-kpi-icon.cyan { color: #4dcddd; background: #0d2228; }
.admin-kpi-icon.warning { color: #efbd51; background: #261f0e; }
.admin-kpi > div { min-width: 0; }
.admin-kpi small { display: block; overflow: hidden; color: #718595; font-size: 8px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-kpi strong { display: block; margin: 7px 0 4px; overflow: hidden; color: #eef5f7; font-size: 20px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.admin-kpi div > span { display: block; overflow: hidden; color: #8799a7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-pulse-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; border: 1px solid #263541; background: #0a1117; }
.admin-pulse-strip > span { display: grid; min-width: 0; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px 15px; border-right: 1px solid #263541; }
.admin-pulse-strip > span:last-child { border-right: 0; }
.admin-pulse-strip svg { width: 15px; height: 15px; color: #5fd9ae; }
.admin-pulse-strip small { overflow: hidden; color: #708391; font-size: 8px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-pulse-strip strong { color: #dce7ec; font-size: 13px; }
.admin-analytics-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 0.76fr); gap: 14px; margin-top: 24px; }
.admin-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.admin-panel-head { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-panel-head .eyebrow { margin-bottom: 5px; font-size: 9px; }
.admin-panel-head h2 { margin: 0; font-size: 17px; }
.admin-panel-head > span { color: #718493; font-size: 9px; white-space: nowrap; }
.admin-trend-list { display: grid; gap: 12px; }
.admin-trend-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 30px; align-items: center; gap: 10px; }
.admin-trend-row > span { color: #8fa1ae; font-size: 9px; font-weight: 700; }
.admin-trend-row > strong { color: #cbd8de; font-size: 10px; text-align: right; }
.admin-trend-list.revenue .admin-trend-row { grid-template-columns: 52px minmax(0, 1fr) 74px; }
.admin-trend-row progress, .admin-funnel-row progress { width: 100%; height: 6px; overflow: hidden; border: 0; background: #1c2934; color: #35d597; appearance: none; }
.admin-trend-row progress::-webkit-progress-bar, .admin-funnel-row progress::-webkit-progress-bar { background: #1c2934; }
.admin-trend-row progress::-webkit-progress-value { background: #35d597; }
.admin-trend-row progress::-moz-progress-bar { background: #35d597; }
.admin-trend-list.revenue progress::-webkit-progress-value { background: #35bfd0; }
.admin-trend-list.revenue progress::-moz-progress-bar { background: #35bfd0; }
.admin-funnel-list { display: grid; gap: 15px; }
.admin-funnel-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; align-items: center; gap: 9px; color: #8fa1ae; font-size: 9px; }
.admin-funnel-row strong { color: #d4dfe4; text-align: right; }
.admin-funnel-row.positive progress::-webkit-progress-value { background: #35d597; }
.admin-funnel-row.positive progress::-moz-progress-bar { background: #35d597; }
.admin-funnel-row.warning progress::-webkit-progress-value { background: #eab94e; }
.admin-funnel-row.warning progress::-moz-progress-bar { background: #eab94e; }
.admin-funnel-row.negative progress::-webkit-progress-value { background: #ee646a; }
.admin-funnel-row.negative progress::-moz-progress-bar { background: #ee646a; }
.admin-funnel-row.muted progress::-webkit-progress-value { background: #718696; }
.admin-funnel-row.muted progress::-moz-progress-bar { background: #718696; }
.admin-integration-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 14px; padding: 18px 20px; border: 1px solid #2b3a46; background: #0b1319; }
.admin-integration-copy { display: flex; min-width: 220px; align-items: center; gap: 12px; }
.admin-integration-copy > svg { width: 22px; height: 22px; color: #45dba2; }
.admin-integration-copy .eyebrow { margin-bottom: 3px; font-size: 8px; }
.admin-integration-copy h2 { margin: 0; font-size: 15px; }
.admin-integration-statuses { display: grid; min-width: 0; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-integration-statuses > span { display: grid; min-width: 0; grid-template-columns: 10px minmax(0, 1fr); gap: 2px 7px; padding: 3px 16px; border-left: 1px solid #293946; }
.admin-integration-statuses small { overflow: hidden; color: #6e8291; font-size: 8px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-integration-statuses strong { grid-column: 2; overflow: hidden; color: #bccbd2; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; margin-top: 2px; border-radius: 50%; background: #6a7a86; }
.status-dot.online { background: #35d597; box-shadow: 0 0 8px rgba(53, 213, 151, 0.5); }
.status-dot.manual { background: #eab94e; }
.status-dot.offline { background: #e45c63; }
.admin-section { margin-top: 38px; scroll-margin-top: 92px; }
.admin-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 15px; }
.admin-section-head h2 { margin-bottom: 5px; }
.admin-section-head p:not(.eyebrow) { margin: 0; color: #7f92a0; font-size: 11px; }
.admin-result-count { padding: 5px 8px; border: 1px solid #344858; color: #9db0bc; font-size: 9px; font-weight: 800; white-space: nowrap; }
.admin-filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) 150px 170px auto auto; align-items: end; gap: 10px; margin-bottom: 10px; padding: 14px; border: 1px solid #273744; background: #0a1117; }
.admin-filter-bar > label { display: grid; min-width: 0; gap: 5px; color: #8295a3; font-size: 9px; font-weight: 800; }
.admin-filter-bar input, .admin-filter-bar select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #304454; border-radius: 4px; outline: 0; background: #0d161e; color: #dce7ec; }
.admin-filter-bar input:focus, .admin-filter-bar select:focus { border-color: #2cc98b; box-shadow: 0 0 0 2px rgba(44, 201, 139, 0.12); }
.admin-search-field { position: relative; align-self: end; }
.admin-search-field svg { position: absolute; bottom: 11px; left: 11px; width: 16px; height: 16px; color: #6f8493; pointer-events: none; }
.admin-search-field input { padding-left: 36px; }
.admin-filter-bar .button { min-height: 38px; gap: 7px; white-space: nowrap; }
.admin-filter-bar .button svg { width: 15px; height: 15px; }
.admin-table-shell { min-width: 0; min-height: 72px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); }
.admin-table-shell > .empty-state { margin: 0; padding-block: 24px; }
.admin-table-shell table { min-width: 880px; }
.admin-table-shell tbody tr:hover { background: rgba(45, 68, 84, 0.13); }
.badge.active { background: #123e2a; color: #8ceab4; }
.badge.canceled { background: #303c47; color: #aebbc5; }
.admin-actions-menu { position: relative; min-width: 112px; }
.admin-actions-menu summary { display: inline-flex; min-height: 31px; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #364c5d; border-radius: 4px; color: #aebfc9; font-size: 10px; font-weight: 800; cursor: pointer; list-style: none; }
.admin-actions-menu summary::-webkit-details-marker { display: none; }
.admin-actions-menu summary svg { width: 14px; height: 14px; }
.admin-actions-menu[open] summary { border-color: #2bc589; color: #dce9e5; }
.admin-actions-popover { display: grid; width: 210px; gap: 2px; margin-top: 7px; padding: 5px; border: 1px solid #344958; background: #0b131a; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28); }
.admin-actions-popover form { margin: 0; }
.admin-actions-popover button { display: flex; width: 100%; min-height: 32px; align-items: center; gap: 8px; padding: 7px 8px; border: 0; background: transparent; color: #b8c7cf; font-size: 10px; text-align: left; }
.admin-actions-popover button:hover { background: #14231f; color: #71e6b7; }
.admin-actions-popover button.danger:hover { background: #2c171a; color: #ff9ca1; }
.admin-actions-popover svg { width: 14px; height: 14px; flex: 0 0 auto; }
.admin-presence-table code { color: #8fcabb; font-size: 9px; }
.admin-settings-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 14px; }
.admin-settings-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; align-items: end; gap: 14px; padding: 20px; border: 1px solid var(--line); background: var(--surface); }
.admin-settings-form > label { display: grid; min-width: 0; gap: 7px; color: #8295a3; font-size: 9px; font-weight: 800; }
.admin-money-input, .admin-days-input { display: grid; min-width: 0; height: 40px; align-items: center; border: 1px solid #304454; background: #0d161e; }
.admin-money-input { grid-template-columns: auto minmax(0, 1fr); }
.admin-days-input { grid-template-columns: minmax(0, 1fr) auto; }
.admin-money-input:focus-within, .admin-days-input:focus-within { border-color: #2cc98b; box-shadow: 0 0 0 2px rgba(44, 201, 139, 0.12); }
.admin-money-input small, .admin-days-input small { padding: 0 11px; color: #6f8493; font-size: 10px; font-weight: 900; }
.admin-money-input input, .admin-days-input input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 0; outline: 0; background: transparent; color: #dce7ec; font-weight: 800; }
.admin-settings-form .button { min-height: 40px; white-space: nowrap; }
.admin-security-note { display: flex; align-items: flex-start; gap: 13px; padding: 20px; border: 1px solid #275044; background: #0b1d18; }
.admin-security-note > svg { width: 21px; height: 21px; flex: 0 0 auto; color: #47dba5; }
.admin-security-note strong { color: #d8eee6; font-size: 12px; }
.admin-security-note p { margin: 6px 0 0; color: #84a69a; font-size: 10px; line-height: 1.55; }
.admin-bottom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 38px; scroll-margin-top: 92px; }
.admin-activity-list { display: grid; }
.admin-activity-item { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #243440; }
.admin-activity-item:first-child { border-top: 0; }
.activity-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; background: #10231d; color: #4bdca7; }
.activity-icon.warning { background: #251e0f; color: #e9b84d; }
.activity-icon svg { width: 15px; height: 15px; }
.admin-activity-item > div { display: grid; min-width: 0; flex: 1; gap: 3px; }
.admin-activity-item strong { overflow: hidden; color: #cbd8de; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity-item small { overflow: hidden; color: #708391; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity-item > .badge { flex: 0 0 auto; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr); gap: 48px; align-items: start; max-width: 940px; margin: 8px auto; }
.checkout-summary { display: grid; gap: 20px; padding: 24px; }
.summary-list { display: grid; gap: 12px; margin: 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #273a4b; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 800; text-align: right; }
.inline-actions { display: flex; justify-content: flex-end; gap: 10px; }
.inline-actions form { margin: 0; }
.checkout-trust-list { display: grid; gap: 9px; margin-top: 26px; color: #a9bac6; font-size: 12px; }
.checkout-trust-list span { display: flex; align-items: center; gap: 9px; }
.checkout-trust-list svg { width: 17px; height: 17px; color: var(--accent); }
.checkout-notice-error { border-color: #87424b; background: #33191e; color: #ffc5c9; }
.checkout-notice-error strong { color: #ffabb1; }
.pix-checkout { display: grid; gap: 14px; padding: 18px; border: 1px solid #2b776b; border-radius: 7px; background: #0b1c1d; }
.pix-checkout-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pix-checkout-heading small { color: #72a69d; font-size: 9px; font-weight: 900; }
.pix-checkout-heading h2 { margin: 3px 0 0; color: #d9fff3; font-size: 18px; }
.pix-qr-shell { display: grid; place-items: center; padding: 12px; border-radius: 7px; background: #fff; }
.pix-qr-shell img { display: block; width: min(100%, 260px); height: auto; }
.pix-copy-field { display: grid; gap: 6px; color: #a9bac6; font-size: 11px; font-weight: 800; }
.pix-copy-field textarea { width: 100%; resize: vertical; border: 1px solid #34525d; border-radius: 5px; padding: 10px; color: #dffcf4; background: #071216; font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.pix-copy-field textarea:focus { outline: 2px solid rgba(39, 210, 177, 0.28); border-color: var(--accent); }
.pix-payment-meta { display: flex; justify-content: space-between; gap: 16px; color: #81969f; font-size: 11px; }
.pix-payment-meta strong { display: block; margin-top: 2px; color: #d5e7eb; }

.flash { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; padding: 11px 14px; border: 1px solid var(--line); font-size: 13px; }
.flash-success { border-color: #237546; background: #113b25; color: #b5f6ce; }
.flash-warning { border-color: #806117; background: #251e0f; color: #f5d981; }
.flash-error { border-color: #87424b; background: #33191e; color: #ffc5c9; }
.flash-close { padding: 0; border: 0; background: transparent; color: inherit; font-weight: 900; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav-shell { gap: 16px; }
  .nav-links { display: none; }
  .dashboard-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: -12px 0 20px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
  }
  .dashboard-mobile-tabs a {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 7px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }
  .dashboard-mobile-tabs a svg { width: 15px; height: 15px; flex: 0 0 auto; }
  .dashboard-mobile-tabs a.is-active {
    border-color: #1dbd83;
    background: rgba(29, 189, 131, 0.1);
    color: var(--text);
  }
  .user-name { display: none; }
  .access-grid, .checkout-layout, .content-grid { grid-template-columns: 1fr; gap: 28px; }
  .access-grid { min-height: 0; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .installation-grid { grid-template-columns: 1fr; }
  .video-panel { border-top: 1px solid var(--line); border-left: 0; }
  .installation-steps { grid-template-columns: 1fr; }
  .steps-heading { border-right: 0; border-bottom: 1px solid var(--line); }
  .installation-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .installation-steps li, .installation-steps li:nth-child(3n) { border-right: 1px solid #253541; border-bottom: 1px solid #253541; }
  .installation-steps li:nth-child(2n) { border-right: 0; }
  .installation-steps li:nth-last-child(-n + 2) { border-bottom: 0; }
  .footer-shell { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 14px; }
  .trading-hero-shade { box-shadow: inset 520px 0 180px rgba(3, 7, 10, 0.88), inset 0 -120px 100px rgba(3, 7, 10, 0.8); }
  .hero-copy { width: 78%; }
  .hero-copy h1 { font-size: 54px; }
  .hero-telemetry { display: none; }
  .section-heading-wide, .pricing-heading { grid-template-columns: 1fr; gap: 18px; }
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-kpi, .admin-kpi:nth-child(4n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .admin-kpi:nth-child(2n) { border-right: 0; }
  .admin-kpi:nth-last-child(-n + 2) { border-bottom: 0; }
  .admin-pulse-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-pulse-strip > span:nth-child(2) { border-right: 0; }
  .admin-pulse-strip > span:nth-child(-n + 2) { border-bottom: 1px solid #263541; }
  .admin-analytics-grid { grid-template-columns: 1fr 1fr; }
  .admin-analytics-grid .compact-panel { grid-column: 1 / -1; }
  .admin-integration-band { align-items: flex-start; flex-direction: column; }
  .admin-integration-statuses { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-integration-statuses > span:nth-child(odd) { border-left: 0; }
  .admin-filter-bar { grid-template-columns: 1fr 1fr; }
  .admin-search-field { grid-column: 1 / -1; }
  .admin-settings-layout { grid-template-columns: 1fr; }
  .admin-settings-form { grid-template-columns: 1fr 1fr; }
  .admin-settings-form .button { grid-column: 1 / -1; }
  .admin-bottom-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability + .capability { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .workflow-layout { grid-template-columns: 1fr; gap: 48px; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
}

@media (max-width: 520px) {
  .page-shell { padding-block: 26px 38px; }
  h1 { font-size: 29px; }
  .nav-shell { min-height: 60px; }
  .brand { font-size: 14px; }
  .brand-copy small { display: none; }
  .nav-account { gap: 2px; }
  .nav-account .button { padding-inline: 10px; font-size: 12px; }
  .nav-account .button-primary { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .dashboard-head { align-items: flex-start; flex-direction: column; }
  .admin-page-shell { width: min(100% - 24px, 1460px); }
  .admin-dashboard-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .admin-updated { min-width: 0; justify-content: flex-start; }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .admin-kpi, .admin-kpi:nth-child(4n), .admin-kpi:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-kpi:last-child { border-bottom: 0; }
  .admin-pulse-strip { grid-template-columns: 1fr; }
  .admin-pulse-strip > span, .admin-pulse-strip > span:nth-child(2) { border-right: 0; border-bottom: 1px solid #263541; }
  .admin-pulse-strip > span:last-child { border-bottom: 0; }
  .admin-analytics-grid { grid-template-columns: 1fr; }
  .admin-analytics-grid .compact-panel { grid-column: auto; }
  .admin-panel { padding: 16px; }
  .admin-integration-statuses { grid-template-columns: 1fr; }
  .admin-integration-statuses > span { padding: 9px 0; border-top: 1px solid #293946; border-left: 0; }
  .admin-filter-bar { grid-template-columns: 1fr; }
  .admin-search-field { grid-column: auto; }
  .admin-filter-bar .button { width: 100%; }
  .admin-settings-form { grid-template-columns: 1fr; padding: 16px; }
  .admin-settings-form .button { grid-column: auto; width: 100%; }
  .admin-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-trend-list.revenue .admin-trend-row { grid-template-columns: 46px minmax(0, 1fr) 70px; }
  .dashboard-head .button { width: 100%; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .installation-heading { flex-direction: column; gap: 15px; padding: 20px 18px; }
  .installation-heading h2 { font-size: 21px; }
  .installation-access { max-width: 100%; flex: 0 1 auto; }
  .download-panel, .video-panel { padding: 20px 18px; }
  .download-details { grid-template-columns: 1fr; }
  .download-details > div, .download-details > div + div { padding: 10px 0; border-left: 0; }
  .download-details > div + div { border-top: 1px solid #263746; }
  .installation-steps ol { grid-template-columns: 1fr; }
  .installation-steps li, .installation-steps li:nth-child(2n), .installation-steps li:nth-child(3n) { border-right: 0; border-bottom: 1px solid #253541; }
  .installation-steps li:last-child { border-bottom: 0; }
  .content-block, .form-surface, .access-panel, .checkout-summary { padding: 18px; }
  .notice-band { align-items: flex-start; flex-direction: column; }
  .inline-actions { flex-direction: column-reverse; }
  .inline-actions .button { width: 100%; }
  .trading-hero { min-height: calc(100svh - 160px); }
  .trading-hero-media { background-position: 58% center; opacity: 0.58; }
  .trading-hero-shade { background: rgba(3, 7, 10, 0.42); box-shadow: inset 300px 0 130px rgba(3, 7, 10, 0.78), inset 0 -100px 90px rgba(3, 7, 10, 0.86); }
  .trading-hero-inner { min-height: calc(100svh - 160px); padding-block: 26px 70px; }
  .hero-copy { width: 100%; }
  .hero-kicker { margin-bottom: 14px; font-size: 9px; }
  .hero-copy h1 { margin-bottom: 14px; font-size: 42px; }
  .hero-lead { margin-bottom: 20px; font-size: 14px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; min-height: 44px; }
  .hero-trust { display: none; }
  .hero-tape, .hero-tape-track { min-height: 44px; }
  .hero-tape-track { justify-content: flex-start; gap: 12px; }
  .hero-tape-track span:nth-of-type(n + 4), .hero-tape-track b:nth-of-type(n + 4) { display: none; }
  .page-band { padding-block: 62px; }
  .intelligence-band { padding-top: 20px; }
  .section-heading-wide, .pricing-heading { margin-bottom: 32px; }
  .section-heading-wide h2, .pricing-heading h2, .workflow-copy h2, .closing-inner h2 { font-size: 29px; }
  .section-heading-wide > p, .pricing-heading > p, .workflow-copy > p, .closing-inner p { font-size: 13px; }
  .capability, .capability + .capability { padding-block: 24px; }
  .robot-console { width: 100%; }
  .console-chart { height: 230px; }
  .candle { width: 24px; }
  .console-decision { min-height: 84px; }
  .console-decision strong { font-size: 12px; }
  .console-decision span:not(.decision-score) { font-size: 10px; }
  .decision-score { width: 48px; height: 36px; }
  .console-stats span { padding: 10px; }
  .console-stats strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .trading-plans .plan-card { min-height: 0; }
  .responsible-use-heading { padding: 20px; }
  .responsible-use-heading h3 { font-size: 21px; }
  .responsible-use-content { grid-template-columns: 1fr; }
  .responsible-use-content section { padding: 22px 20px; }
  .responsible-use-content section + section { border-top: 1px solid #263541; border-left: 0; }
  .guideline-grid { grid-template-columns: 1fr; gap: 12px; }
  .responsible-use-footer { align-items: flex-start; padding-inline: 18px; text-align: left; }
  .closing-cta { padding-block: 56px; }
  .closing-inner .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Customer performance dashboard */
.performance-dashboard { min-width: 0; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2); }
.performance-heading { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 24px; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, rgba(25, 211, 138, 0.07), rgba(14, 21, 29, 0) 58%); }
.performance-heading h2 { margin-bottom: 7px; font-size: 24px; }
.performance-heading p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.performance-source { display: inline-flex; min-height: 31px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid; border-radius: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.performance-source svg { width: 14px; height: 14px; }
.performance-source.is-online { border-color: #277d58; background: #10291f; color: #77e7b1; }
.performance-source.is-pending { border-color: #7a5c1e; background: #261f0f; color: #efc967; }
.performance-filters { display: grid; grid-template-columns: minmax(170px, 0.72fr) minmax(170px, 0.72fr) auto minmax(220px, 1fr); gap: 12px; align-items: end; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #0b1219; }
.performance-filters label { display: grid; min-width: 0; gap: 6px; color: #8295a4; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.performance-filters select { width: 100%; min-width: 0; height: 40px; padding: 0 34px 0 11px; border: 1px solid #304454; border-radius: 4px; outline: 0; background: #101a23; color: #dce7ec; font-size: 12px; font-weight: 800; }
.performance-filters select:focus { border-color: #2cc98b; box-shadow: 0 0 0 2px rgba(44, 201, 139, 0.12); }
.performance-filters .button { gap: 8px; }
.performance-filters .button svg { width: 15px; height: 15px; }
.performance-filters > p { display: grid; justify-self: end; gap: 3px; margin: 0; text-align: right; }
.performance-filters > p strong { color: #dce7ec; font-size: 11px; }
.performance-filters > p span { color: #667a89; font-size: 9px; }
.performance-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.performance-period { min-width: 0; padding: 22px 24px; }
.performance-period + .performance-period { border-left: 1px solid var(--line); }
.performance-period-title { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.performance-period-title > div { display: grid; gap: 3px; }
.performance-period-title span { color: #6d8291; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.performance-period-title strong { color: #dce7ec; font-size: 14px; }
.performance-period-title > b { font-size: 21px; font-variant-numeric: tabular-nums; }
.performance-period dl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border: 1px solid #273743; background: #0b1218; }
.performance-period dl > div { min-width: 0; padding: 10px 9px; border-right: 1px solid #273743; }
.performance-period dl > div:last-child { border-right: 0; }
.performance-period dt { overflow: hidden; color: #667b89; font-size: 8px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.performance-period dd { margin: 4px 0 0; overflow: hidden; color: #dce7ec; font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.performance-analysis-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr); border-bottom: 1px solid var(--line); }
.performance-chart-panel { min-width: 0; padding: 22px 24px; }
.performance-panel-title { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.performance-panel-title > div { display: grid; gap: 4px; }
.performance-panel-title span { color: #4adacb; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.performance-panel-title h3 { display: flex; align-items: center; gap: 8px; color: #e1e9ed; font-size: 15px; }
.performance-panel-title h3 svg { width: 16px; height: 16px; color: #44dca3; }
.performance-panel-title > small { align-self: end; color: #667a88; font-size: 9px; }
.performance-legend { display: flex !important; flex-direction: row; gap: 12px !important; }
.performance-legend span { display: inline-flex; align-items: center; gap: 5px; color: #788c9a; font-size: 8px; }
.performance-legend i { width: 7px; height: 7px; border-radius: 2px; }
.performance-legend i.positive { background: #27d38e; }
.performance-legend i.negative { background: #f15c62; }
.performance-chart-scroll { min-width: 0; overflow-x: auto; border: 1px solid #243441; background: #090f15; }
.performance-chart { display: block; width: 100%; min-width: 720px; height: 210px; }
.performance-chart-grid { stroke: #344654; stroke-dasharray: 4 5; stroke-width: 1; }
.performance-chart rect { transition: opacity 160ms ease; }
.performance-chart rect:hover { opacity: 0.72; }
.performance-chart rect.is-positive { fill: #22c983; }
.performance-chart rect.is-negative { fill: #eb545b; }
.performance-chart rect.is-neutral { fill: #526573; }
.performance-chart text { fill: #637887; font-size: 9px; font-weight: 700; }
.performance-chart-panel > p { margin: 10px 0 0; color: #607482; font-size: 9px; }
.performance-snapshot { min-width: 0; padding: 22px; border-left: 1px solid var(--line); background: #0b131a; }
.performance-snapshot > span { color: #4adacb; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.performance-snapshot > strong { display: block; margin-top: 9px; font-size: 28px; font-variant-numeric: tabular-nums; }
.performance-snapshot > p { margin: 5px 0 20px; color: #8396a3; font-size: 11px; }
.performance-snapshot dl { display: grid; gap: 0; margin: 0; border-top: 1px solid #263744; }
.performance-snapshot dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #263744; }
.performance-snapshot dt { color: #6e8391; font-size: 9px; }
.performance-snapshot dd { margin: 0; color: #d8e3e8; font-size: 10px; font-weight: 900; }
.performance-snapshot > small { display: block; margin-top: 15px; color: #5e7280; font-size: 9px; line-height: 1.55; }
.performance-empty { display: flex; align-items: flex-start; gap: 14px; padding: 24px; border-bottom: 1px solid var(--line); background: #0a1516; }
.performance-empty > svg { width: 22px; height: 22px; flex: 0 0 auto; color: #47dba5; }
.performance-empty strong { color: #d9e7e3; font-size: 12px; }
.performance-empty p { margin: 5px 0 0; color: #7d918e; font-size: 10px; }
.performance-rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.performance-ranking { min-width: 0; padding: 22px 24px; }
.performance-ranking + .performance-ranking { border-left: 1px solid var(--line); }
.performance-ranking-list { display: grid; border-top: 1px solid #283845; }
.performance-ranking-list article { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #283845; }
.performance-ranking-list article > div { display: grid; min-width: 0; gap: 3px; }
.performance-ranking-list article strong { overflow: hidden; color: #cedae0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.performance-ranking-list article small { overflow: hidden; color: #657987; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.performance-ranking-list article > b { flex: 0 0 auto; font-size: 10px; font-variant-numeric: tabular-nums; }
.performance-latest { min-width: 0; padding: 22px 24px; }
.performance-latest table { min-width: 720px; }
.performance-latest td { font-size: 10px; }
.performance-latest td:nth-child(2) { display: grid; gap: 2px; }
.performance-latest td:nth-child(2) strong { color: #d8e3e8; font-size: 10px; }
.performance-latest td:nth-child(2) small { color: #637786; font-size: 8px; }
.performance-outcome { display: inline-flex; min-width: 54px; justify-content: center; padding: 4px 6px; border: 1px solid; border-radius: 3px; font-size: 8px; font-weight: 900; }
.performance-outcome.is-win { border-color: #277b55; background: #10281e; color: #73e3ad; }
.performance-outcome.is-loss { border-color: #803c43; background: #2d171b; color: #ff9da2; }
.performance-outcome.is-empate { border-color: #536574; background: #18222a; color: #b2c0ca; }
.performance-footnote { display: flex; align-items: flex-start; gap: 10px; padding: 14px 24px; border-top: 1px solid #34402d; background: #17180f; }
.performance-footnote svg { width: 16px; height: 16px; flex: 0 0 auto; color: #e9bd50; }
.performance-footnote p { margin: 0; color: #9f936e; font-size: 9px; line-height: 1.55; }

@media (max-width: 900px) {
  .performance-filters { grid-template-columns: 1fr 1fr; }
  .performance-filters > p { justify-self: start; text-align: left; }
  .performance-period dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-period dl > div:nth-child(3) { border-right: 0; }
  .performance-period dl > div:nth-child(-n + 3) { border-bottom: 1px solid #273743; }
  .performance-analysis-grid { grid-template-columns: 1fr; }
  .performance-snapshot { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 620px) {
  .performance-heading { flex-direction: column; gap: 15px; padding: 20px 18px; }
  .performance-heading h2 { font-size: 21px; }
  .performance-source { max-width: 100%; flex: 0 1 auto; }
  .performance-filters { grid-template-columns: 1fr; padding: 16px 18px; }
  .performance-filters .button { width: 100%; }
  .performance-periods { grid-template-columns: 1fr; }
  .performance-period { padding: 20px 18px; }
  .performance-period + .performance-period { border-top: 1px solid var(--line); border-left: 0; }
  .performance-period-title > b { font-size: 18px; }
  .performance-chart-panel, .performance-snapshot, .performance-ranking, .performance-latest { padding: 20px 18px; }
  .performance-rankings { grid-template-columns: 1fr; }
  .performance-ranking + .performance-ranking { border-top: 1px solid var(--line); border-left: 0; }
  .performance-panel-title { align-items: flex-start; flex-direction: column; gap: 10px; }
  .performance-legend { align-self: flex-start; }
  .performance-latest table { min-width: 0; }
  .performance-latest thead { display: none; }
  .performance-latest tbody { display: grid; }
  .performance-latest tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 13px 0; border-top: 1px solid #2b3c49; }
  .performance-latest td { padding: 0; border: 0; }
  .performance-latest td:nth-child(1) { grid-column: 1; grid-row: 2; color: #748895; font-size: 8px; }
  .performance-latest td:nth-child(2) { grid-column: 1; grid-row: 1; }
  .performance-latest td:nth-child(3) { grid-column: 1; grid-row: 3; color: #93a5b0; font-size: 9px; }
  .performance-latest td:nth-child(4) { grid-column: 2; grid-row: 1; }
  .performance-latest td:nth-child(5) { grid-column: 2; grid-row: 2 / span 2; align-self: center; text-align: right; }
  .performance-footnote { padding-inline: 18px; }
}
