/* Market Signal Desk — full premium dark terminal theme
   This file intentionally loads last so existing pages keep their layout/functionality. */
:root{
  color-scheme:dark;
  --msd-bg:#050914;
  --msd-bg-2:#07111f;
  --msd-panel:#0d1726;
  --msd-panel-2:#101d31;
  --msd-glass:rgba(13,23,38,.82);
  --msd-line:rgba(126,170,218,.24);
  --msd-line-strong:rgba(126,170,218,.38);
  --msd-text:#f6fbff;
  --msd-muted:#9fb2ca;
  --msd-soft:#cfe0f4;
  --msd-green:#28e6a1;
  --msd-green-2:#0aa777;
  --msd-red:#ff6178;
  --msd-amber:#ffd166;
  --msd-blue:#5fb9ff;
  --msd-purple:#a98bff;
  --msd-shadow:0 22px 70px rgba(0,0,0,.42);
}

html,
body,
body[data-theme="mint"],
body[data-theme="beige"]{
  min-height:100%;
  background:
    radial-gradient(circle at 8% -8%,rgba(45,230,161,.18),transparent 30%),
    radial-gradient(circle at 88% 0%,rgba(95,185,255,.16),transparent 28%),
    radial-gradient(circle at 52% 12%,rgba(169,139,255,.10),transparent 34%),
    linear-gradient(180deg,#07111f 0%,#050914 54%,#030611 100%)!important;
  color:var(--msd-text)!important;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(126,170,218,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(126,170,218,.055) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),rgba(0,0,0,.12));
}

body,
button,
input,
select,
textarea{
  color:var(--msd-text)!important;
}

a{color:#8bd3ff!important}
a:hover{color:#bde7ff!important}
p,li,td,th,label,small,span{color:inherit}

header,
body[data-theme="mint"] header,
body[data-theme="beige"] header,
.account-header,
.landing-nav,
.public-header{
  background:rgba(5,9,20,.86)!important;
  border-color:var(--msd-line)!important;
  box-shadow:0 14px 44px rgba(0,0,0,.42)!important;
  backdrop-filter:blur(18px)!important;
}

.brand strong,
.account-brand strong,
.landing-brand strong,
.auth-card h1,
.profile-card h1,
h1,h2,h3,h4,
.home-hero h1,
.home-card h2,
.pricing-intro h1,
.price-card h2,
.route-hero h1,
.route-card h2{
  color:var(--msd-text)!important;
}

.brand small,
.account-brand small,
.session-label,
.eyebrow,
.plan-label,
.ticker-toolbar small,
.ticker-toolbar p,
.instrument-strip small,
.muted-text,
.auth-card>p,
.pricing-intro p,
.home-card p,
.home-hero p,
.focus-panel p,
.ai-recommendation p{
  color:var(--msd-muted)!important;
}

.mark,
.account-mark{
  background:
    radial-gradient(circle at 28% 18%,rgba(255,209,102,.36),transparent 24%),
    linear-gradient(145deg,#0b2a46,#071827 72%)!important;
  color:#ffd166!important;
  border:1px solid rgba(255,209,102,.45)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.16)!important;
}

.pill,
.role-badge,
.status-badge,
.data-badge,
.portfolio-pill,
.news-risk,
.annual-savings{
  border-color:rgba(45,230,161,.36)!important;
  background:rgba(12,64,50,.62)!important;
  color:#9ff8d3!important;
}

.pill::before{background:var(--msd-green)!important;box-shadow:0 0 12px var(--msd-green)!important}

main,
.account-shell,
.home-main,
.pricing-main,
.landing-main{
  color:var(--msd-text)!important;
}

/* Shared glass cards across app pages */
:is(
  .ticker-toolbar,.instrument-strip,.terminal-market-strip,.market-pulse-bar,
  .market-overview .hero,.quality-panel,.chart-panel,.news-panel,.alerts-panel,
  .safety-panel,.composer,.explanation-panel,.radar-panel,
  .dashboard-workspace-hero,.daily-ai-briefing-section,.ai-decision-card,
  .assistant-card,.portfolio-health-card,.smart-watchlist,.economic-calendar,
  .home-hero,.focus-panel,.ai-recommendation,.home-card,.snapshot-grid article,
  .watch-card,.mini-list article,.income-snapshot div,.trade-hours,
  .auth-card,.profile-card,.profile-item,.profile-note,.pricing-trust-banner,
  .price-card,.pricing-guarantee,.billing-status,.account-header,
  .portfolio-intelligence-section,.portfolio-score-grid article,
  .portfolio-opportunity-grid article,.portfolio-holdings-table-wrap,
  .ai-covered-call-engine-section,.covered-call-card,.covered-call-summary-grid article,
  .covered-call-main-stats span,.covered-call-pick div,.covered-call-income-strip span,
  .covered-call-comparison-wrap,.daily-briefing-card,.daily-briefing-sentiment article,
  .daily-briefing-levels span,.daily-portfolio-strip span,
  .advanced-journal-section,.trader-dna-section,.trading-score-section,
  .ai-coach-section,.income-center-section,.partner-section,
  .landing-card,.feature-card,.trust-card,.faq-card,.landing-section,
  .client-route-page,.client-route-card,.route-card,.route-hero
){
  background:
    radial-gradient(circle at 92% 0%,rgba(95,185,255,.11),transparent 28%),
    linear-gradient(145deg,rgba(16,29,49,.88),rgba(7,15,28,.94))!important;
  border-color:var(--msd-line)!important;
  color:var(--msd-text)!important;
  box-shadow:var(--msd-shadow),inset 0 1px rgba(255,255,255,.07)!important;
}

:is(.home-card,.watch-card,.mini-list article,.snapshot-grid article,.price-card,.profile-item,.auth-card,.covered-call-card,.daily-briefing-card,.portfolio-opportunity-grid article):hover{
  border-color:rgba(45,230,161,.42)!important;
  box-shadow:0 28px 78px rgba(0,0,0,.48),0 0 34px rgba(45,230,161,.08),inset 0 1px rgba(255,255,255,.08)!important;
}

/* Text inside older light cards */
:is(
  .rule-card,.safety-metrics article,.daily-briefing-card,.daily-briefing-card h3,
  .portfolio-score-grid strong,.portfolio-section-title h3,
  .portfolio-opportunity-grid strong,.portfolio-holdings-table td:first-child strong,
  .covered-call-engine-head h2,.covered-call-summary-grid strong,
  .covered-call-card-head h3,.covered-call-main-stats strong,
  .covered-call-pick strong,.covered-call-income-strip strong,
  .covered-call-comparison-table td:first-child strong,
  .engine-score strong,.engine-metrics strong,.best-trade-card h3,
  .trade-plan-grid strong,.briefing-main #brief-summary,
  .insight-box strong,.mini-list strong,.income-snapshot strong,
  .snapshot-grid strong,.watch-card strong,.score-card strong
){
  color:var(--msd-text)!important;
}

:is(
  .rule-card span,.news-status,.news-card span,.news-card time,
  .portfolio-holdings-table td,.covered-call-comparison-table td,
  .covered-call-explanation,.covered-call-disclaimer,
  .engine-summary p,.best-trade-card p,.insight-box p,
  .daily-briefing-levels span,.daily-portfolio-strip span,
  .portfolio-opportunity-grid span,.covered-call-summary-grid span
){
  color:var(--msd-soft)!important;
}

/* Launch FAQ readability */
html body .faq-panel{
  background:
    radial-gradient(circle at 90% 0%,rgba(45,230,161,.09),transparent 30%),
    linear-gradient(145deg,rgba(16,29,49,.92),rgba(7,15,28,.96))!important;
  border-color:rgba(85,135,176,.55)!important;
}

html body .faq-head h3{
  color:#f8fafc!important;
}

html body .faq-panel details{
  border-top-color:rgba(148,184,216,.22)!important;
}

html body .faq-panel summary{
  color:#e8f4ff!important;
  text-shadow:0 1px 0 rgba(0,0,0,.25);
}

/* Alert Center premium dark controls */
html body .alerts-panel{
  background:
    radial-gradient(circle at 92% 8%,rgba(45,230,161,.12),transparent 28%),
    linear-gradient(145deg,rgba(12,24,42,.96),rgba(5,12,24,.98))!important;
  border-color:rgba(84,143,190,.38)!important;
}

html body .alerts-status{
  color:#b9c8dc!important;
}

html body .alert-controls{
  gap:10px!important;
}

html body .alert-controls label{
  min-height:78px!important;
  border:1px solid rgba(91,150,198,.34)!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 88% 12%,rgba(45,230,161,.16),transparent 34%),
    linear-gradient(145deg,rgba(14,31,52,.94),rgba(8,18,34,.98))!important;
  color:#dcecff!important;
  box-shadow:0 16px 34px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.08)!important;
  text-shadow:none!important;
}

html body .alert-controls label:first-child{
  background:
    radial-gradient(circle at 90% 10%,rgba(255,209,102,.16),transparent 34%),
    linear-gradient(145deg,rgba(20,36,58,.96),rgba(8,18,34,.98))!important;
  border-color:rgba(255,209,102,.34)!important;
}

html body .alert-controls label:hover{
  border-color:rgba(45,230,161,.58)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.28),0 0 28px rgba(45,230,161,.08),inset 0 1px rgba(255,255,255,.1)!important;
}

html body .alert-controls input[type="number"]{
  height:34px!important;
  margin-top:8px!important;
  border:1px solid rgba(126,170,218,.42)!important;
  background:#07111f!important;
  color:#f6fbff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}

html body .alert-controls input[type="checkbox"]{
  accent-color:#28e6a1!important;
}

html body .alert-history-head strong{
  color:#f6fbff!important;
}

html body .alert-history-head button{
  min-height:30px!important;
  padding:5px 10px!important;
  border:1px solid rgba(126,170,218,.34)!important;
  border-radius:999px!important;
  background:rgba(15,35,59,.92)!important;
  color:#dcecff!important;
  font-weight:900!important;
}

html body .alert-empty{
  border-color:rgba(126,170,218,.26)!important;
  background:rgba(8,18,34,.42)!important;
  color:#9fb2ca!important;
}

html body .faq-panel summary:hover{
  color:#2de6a1!important;
}

html body .faq-panel summary:after{
  color:#2de6a1!important;
  font-size:18px;
}

html body .faq-panel p{
  color:#c9d8e8!important;
}

/* Inputs, buttons, and tables */
input,select,textarea,
.theme-picker select{
  background:rgba(4,10,20,.88)!important;
  border-color:var(--msd-line-strong)!important;
  color:var(--msd-text)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.05)!important;
}

input::placeholder,textarea::placeholder{color:#6f86a3!important}
input:focus,select:focus,textarea:focus{
  border-color:var(--msd-blue)!important;
  box-shadow:0 0 0 4px rgba(95,185,255,.15)!important;
}

button,
.plan-action,
.primary-action,
.focus-panel a,
.card-head a,
.quick-actions a,
.workspace-quick-links a,
.account-nav a,
.account-nav button{
  border-color:rgba(95,185,255,.28)!important;
  background:linear-gradient(135deg,#123757,#0b2036)!important;
  color:var(--msd-text)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.26)!important;
}

button:hover,
.plan-action:hover,
.primary-action:hover,
.focus-panel a:hover,
.card-head a:hover,
.quick-actions a:hover,
.workspace-quick-links a:hover,
.account-nav a:hover,
.account-nav button:hover{
  transform:translateY(-1px);
  border-color:rgba(45,230,161,.48)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.34),0 0 24px rgba(45,230,161,.12)!important;
  text-decoration:none!important;
}

.btn-analyze,
.primary-action,
.featured .plan-action,
.portfolio-ask-ai,
.covered-call-ask-ai,
.focus-panel a,
.card-head a,
.upgrade-action{
  background:linear-gradient(135deg,var(--msd-green),#0a7f61)!important;
  color:#041d17!important;
  border-color:rgba(45,230,161,.55)!important;
}

.pro-card .plan-action,
.btn-radar{
  background:linear-gradient(135deg,var(--msd-blue),#276c9e)!important;
  color:#031323!important;
}

.btn-save,
.why-button,
.annual-savings{
  background:linear-gradient(135deg,#ffd166,#b77a18)!important;
  color:#231604!important;
  border-color:rgba(255,209,102,.5)!important;
}

table,
.portfolio-holdings-table-wrap,
.covered-call-comparison-wrap{
  background:rgba(5,12,23,.88)!important;
}

th,
.portfolio-holdings-table th,
.covered-call-comparison-table th{
  background:#081a2d!important;
  color:var(--msd-text)!important;
  border-color:var(--msd-line)!important;
}

td,
.portfolio-holdings-table td,
.covered-call-comparison-table td{
  border-color:rgba(126,170,218,.18)!important;
}

tbody tr:hover,
.portfolio-holdings-table tbody tr:hover{
  background:rgba(95,185,255,.08)!important;
}

/* Navigation */
nav{
  background:rgba(4,8,16,.93)!important;
  border-top:1px solid var(--msd-line)!important;
  box-shadow:0 -18px 44px rgba(0,0,0,.45)!important;
  backdrop-filter:blur(18px)!important;
}
nav button,
nav a{
  color:#b9cbe3!important;
}
nav .active,
nav button.active,
nav a.active{
  background:linear-gradient(135deg,rgba(45,230,161,.22),rgba(95,185,255,.18))!important;
  color:var(--msd-text)!important;
  border:1px solid rgba(45,230,161,.42)!important;
}

/* Color language */
.positive,.pos,.bullish,.long,.open-badge{color:var(--msd-green)!important}
.negative,.neg,.bearish,.short,.blocked{color:var(--msd-red)!important}
.warning,.wait,.neutral,.closed-badge{color:var(--msd-amber)!important}
.info,.review,.live{color:var(--msd-blue)!important}

.portfolio-pill.positive,
.status-badge.bullish,
.rule-card.pass,
.radar-card.long,
.game-plan-card{
  background:linear-gradient(145deg,rgba(15,80,58,.9),rgba(7,24,20,.9))!important;
  border-color:rgba(45,230,161,.34)!important;
}

.portfolio-pill.negative,
.status-badge.bearish,
.radar-card.short,
.avoid-card{
  background:linear-gradient(145deg,rgba(92,20,34,.9),rgba(28,9,15,.9))!important;
  border-color:rgba(255,97,120,.36)!important;
}

.portfolio-pill.neutral,
.status-badge.neutral,
.radar-card.wait{
  background:linear-gradient(145deg,rgba(93,68,20,.86),rgba(29,22,12,.9))!important;
  border-color:rgba(255,209,102,.34)!important;
}

/* Keep the chart readable and premium */
.price-chart,
canvas{
  background:#071324!important;
}

.chart-metrics span{
  background:linear-gradient(145deg,rgba(20,38,63,.95),rgba(7,15,29,.98))!important;
}

/* Landing/public page polish */
.hero,
.landing-hero,
.public-hero{
  background:
    radial-gradient(circle at 82% 12%,rgba(45,230,161,.16),transparent 28%),
    linear-gradient(145deg,rgba(14,28,49,.92),rgba(5,12,24,.96))!important;
}

.feature-list li,
.landing-section li{
  color:var(--msd-soft)!important;
}

/* Mobile: preserve dark contrast and avoid overflow */
@media(max-width:768px){
  body{background:#050914!important}
  .home-hero,.focus-panel,.ai-recommendation,.home-card,.price-card,.auth-card,.profile-card{
    box-shadow:0 18px 46px rgba(0,0,0,.38)!important;
  }
}

/* Premium dark system refinement — removes remaining beige surfaces */
:root{
  --msd-shell:#050914;
  --msd-card-dark:#142235;
  --msd-card-deep:#0b1627;
  --msd-card-glass:rgba(20,34,53,.86);
  --msd-card-glass-strong:rgba(12,24,42,.94);
  --msd-subtle-line:rgba(133,171,214,.15);
  --msd-subtle-line-strong:rgba(45,230,161,.26);
  --msd-number:#f8fbff;
  --msd-muted-blue:#8ea8c6;
}

body,
body[data-theme="dark"],
body[data-theme="beige"],
body[data-theme="mint"]{
  color:var(--msd-text)!important;
  background:
    radial-gradient(circle at 16% -6%,rgba(45,230,161,.12),transparent 28%),
    radial-gradient(circle at 88% 4%,rgba(110,92,255,.16),transparent 30%),
    linear-gradient(135deg,#030711 0%,#071323 46%,#040815 100%)!important;
}

body::before{
  opacity:.24!important;
}

main,
.app-shell,
.app-main,
.page-shell,
.dashboard-page,
.home-page{
  color:var(--msd-text)!important;
}

/* One shared premium card language for all logged-in pages */
main :is(
  section, article,
  [class*="-card"], [class*="-panel"], [class*="-section"], [class*="-hero"],
  [class*="-message"], [class*="-hook"], [class*="-item"], [class*="-strip"],
  [class*="-banner"], [class*="-toolbar"], [class*="-wrap"],
  .home-hero, .focus-panel, .install-reminder-card, .ai-recommendation, .home-card,
  .home-message, .daily-trade-hook, .voice-hook, .email-hook,
  .hook-symbol, .briefing-centerpiece, .coach-hero, .coach-panel, .coach-plan,
  .trade-review-panel, .coach-chart, .review-card, .covered-call-card,
  .daily-ai-briefing-section, .portfolio-intelligence-section, .ai-covered-call-engine-section
){
  background:
    linear-gradient(145deg,rgba(20,34,53,.92),rgba(8,17,31,.96))!important;
  color:var(--msd-text)!important;
  border:1px solid var(--msd-subtle-line)!important;
  border-radius:24px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(18px)!important;
}

/* Smaller nested cells: dark glass, not cream */
main :is(
  .snapshot-grid, .portfolio-mini-grid, .daily-stats-grid, .coach-grid, .engine-metrics,
  .trade-plan-grid, .hook-trade-levels, .covered-call-main-stats, .covered-call-pick,
  .covered-call-income-strip, .daily-briefing-levels, .daily-portfolio-strip,
  .income-snapshot, .briefing-side, .briefing-main, .portfolio-score-grid,
  .portfolio-opportunity-grid, .morning-grid, .price-grid, .account-grid,
  .profile-grid, .ai-metrics-grid, .plan-grid, .score-grid, .metric-grid
) > :is(div, article, span, a, button){
  background:
    linear-gradient(150deg,rgba(17,32,53,.88),rgba(7,15,28,.94))!important;
  color:var(--msd-text)!important;
  border:1px solid rgba(132,170,214,.14)!important;
  border-radius:18px!important;
  box-shadow:0 16px 36px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.03)!important;
}

/* Hard override for old cream detail boxes */
main :is(
  .hook-trade-levels span, .hook-reasons span, .email-preview-lines span,
  .briefing-date-card, .market-bias-card, .briefing-card, .trade-of-day-card,
  .trading-tip-card, .stats-strip-card, .coach-card, .heatmap-card,
  .economic-calendar-list div, .sector-heatmap span, .mistake-list li,
  .coach-score-card, .range-card, .coach-message, .income-center-card,
  .income-card, .covered-call-explanation, .covered-call-disclaimer,
  .covered-call-comparison-wrap, .portfolio-holdings-table-wrap,
  .daily-briefing-card, .game-plan-card, .avoid-card, .profile-item,
  .profile-note, .price-card, .pricing-trust-banner, .pricing-guarantee,
  .billing-status, .account-header, .account-nav a, .account-nav button,
  .quick-actions a, .pill-list span, .pill-list .locked
){
  background:linear-gradient(145deg,rgba(18,32,52,.93),rgba(8,16,29,.98))!important;
  color:var(--msd-text)!important;
  border-color:rgba(132,170,214,.14)!important;
}

/* Chart/dashboard premium terminal look */
.market-overview,
.terminal-card,
.chart-card,
.chart-shell,
.chart-panel,
.dashboard-chart-card,
.signal-panel{
  background:
    radial-gradient(circle at 78% 28%,rgba(45,230,161,.12),transparent 28%),
    linear-gradient(145deg,rgba(18,34,57,.95),rgba(5,13,26,.98))!important;
  border:1px solid rgba(77,124,180,.22)!important;
  box-shadow:0 26px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04)!important;
}

.ai-decision-card,
.live-analysis-card,
.hero-trade-card,
.daily-trade-hook{
  background:
    radial-gradient(circle at 82% 34%,rgba(45,230,161,.18),transparent 30%),
    linear-gradient(145deg,rgba(10,43,52,.94),rgba(7,16,30,.98))!important;
  border-color:rgba(45,230,161,.28)!important;
  box-shadow:0 28px 84px rgba(0,0,0,.42), 0 0 54px rgba(45,230,161,.08)!important;
}

/* Typography hierarchy: numbers should feel like trading software */
main :is(
  .score-card strong, .snapshot-grid strong, .engine-score strong, .hook-symbol strong,
  .hook-trade-levels strong, .home-plan strong, .portfolio-score-grid strong,
  .covered-call-summary-grid strong, .covered-call-main-stats strong,
  .covered-call-pick strong, .covered-call-income-strip strong, .coach-score-card strong,
  .income-snapshot strong, .levels strong, .chart-metrics strong, .safety-metrics strong,
  .daily-stats-grid strong, .portfolio-mini-grid strong, .coach-grid strong,
  .profile-item strong, .plan-price strong, .metric-value, .big-number, .hero-number
){
  color:var(--msd-number)!important;
  font-size:clamp(1.8rem,3.4vw,3.45rem)!important;
  line-height:.95!important;
  letter-spacing:-.055em!important;
  text-shadow:0 12px 32px rgba(0,0,0,.28)!important;
}

main :is(
  .daily-trade-hook h2, .hero-trade-card h2, .live-analysis-card h2,
  .coach-hero h1, .covered-call-card h2, .portfolio-intelligence-section h2,
  .briefing-centerpiece h2, .home-hero h1, .market-overview h1
){
  color:#ffffff!important;
  font-size:clamp(2rem,4.6vw,4.9rem)!important;
  line-height:.95!important;
  letter-spacing:-.06em!important;
}

main :is(
  .eyebrow, small, label, th, .plan-label, .card-label, .metric-label,
  .meta-label, .section-label, [class*="label"], [class*="eyebrow"]
){
  color:var(--msd-muted-blue)!important;
  font-size:.68rem!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  font-weight:800!important;
}

main :is(p, li, td, span, div){
  color:inherit;
}

main :is(p, li, td){
  color:#c7d6ea!important;
}

main :is(h1,h2,h3,h4,h5,h6){
  color:#f8fbff!important;
}

/* Forms and tables */
main :is(input, select, textarea){
  background:#0b1524!important;
  color:#f8fbff!important;
  border:1px solid rgba(132,170,214,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}

main :is(table, thead, tbody, tr, th, td){
  background:transparent!important;
  border-color:rgba(132,170,214,.13)!important;
}

main thead,
main th{
  background:#081427!important;
  color:#d9e7f9!important;
}

main tbody tr:hover{
  background:rgba(45,230,161,.055)!important;
}

/* Buttons: consistent SaaS/trading-terminal controls */
main :is(button, .button, .btn, a.button, .primary-button){
  border-radius:14px!important;
  border:1px solid rgba(132,170,214,.18)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.24)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease!important;
}

main :is(button, .button, .btn, a.button, .primary-button):hover{
  transform:translateY(-1px)!important;
  border-color:rgba(45,230,161,.34)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.32), 0 0 24px rgba(45,230,161,.08)!important;
}

main :is(.primary, .primary-button, .cta-button, .upgrade-button, .unlock-button, button[type="submit"]){
  background:linear-gradient(135deg,#0f8d67,#16c38d)!important;
  color:#f8fffb!important;
  border-color:rgba(45,230,161,.42)!important;
}

/* Status color language */
main :is(.bullish, .positive, .success, .long, .opportunity, .open-badge){
  color:var(--msd-green)!important;
}
main :is(.bearish, .negative, .danger, .short, .loss, .blocked){
  color:var(--msd-red)!important;
}
main :is(.warning, .wait, .neutral, .closed-badge){
  color:var(--msd-amber)!important;
}
main :is(.info, .live, .review){
  color:var(--msd-blue)!important;
}

.badge,
.status-badge,
.pill,
.tag,
.access-badge,
.locked-badge{
  background:rgba(15,30,52,.88)!important;
  color:#dceaff!important;
  border:1px solid rgba(132,170,214,.18)!important;
  border-radius:999px!important;
}

/* Remove dated beige/gold wash from old panels */
main :is([class*="beige"], [class*="cream"], [class*="gold"], .manual-warning){
  background:rgba(255,209,102,.1)!important;
  color:#ffe7a8!important;
  border-color:rgba(255,209,102,.25)!important;
}

/* Better spacing without changing functionality */
main :is(section, article, [class*="-card"], [class*="-panel"]){
  margin-bottom:18px!important;
}

/* Mobile stays clean and high contrast */
@media(max-width:768px){
  main :is(
    section, article, [class*="-card"], [class*="-panel"], [class*="-section"], [class*="-hero"]
  ){
    border-radius:20px!important;
  }
  main :is(.score-card strong, .snapshot-grid strong, .engine-score strong, .metric-value, .big-number){
    font-size:clamp(1.65rem,9vw,2.6rem)!important;
  }
}

/* Contrast repair pass — catches older light boxes that were still readable only on beige */
main :is(
  .home-plan,
  .install-reminder-card,
  .install-reminder-card > div,
  .install-reminder-actions a,
  .install-reminder-actions button,
  .engine-score,
  .engine-summary span,
  .engine-summary p,
  .summary-panel,
  .summary-panel > div,
  .summary-panel p,
  .sentiment-card,
  .briefing-list > div,
  .briefing-list > article,
  .mini-list > article,
  .assistant-summary span,
  .portfolio-metrics > div,
  .watch-card,
  .watch-card > div,
  .watch-card button,
  .collapse-summary,
  .collapsible-card,
  .daily-summary-card,
  .summary-grid span,
  .quality-panel,
  .quality-components span,
  .entry-quality-strip span,
  .chart-ai-summary,
  .chart-ai-summary li,
  .briefing-main #brief-summary,
  .insight-box,
  .ai-columns div,
  .ai-note,
  .allocation-row,
  .mini-list article,
  .result-grid div,
  .guidance-box,
  .projection-strip article,
  .table-wrap,
  .tracking-form-card,
  .tracking-history,
  .review-card,
  .mistake-list li,
  .dna-list li,
  .insight-list li,
  .report-date,
  .identity-card,
  .style-card,
  .dna-panel,
  .recommend-panel,
  .score-panel,
  .score-tile,
  .habit-card,
  .coaching-card
){
  background:
    linear-gradient(145deg,rgba(19,34,55,.94),rgba(8,17,31,.98))!important;
  color:#eaf3ff!important;
  border-color:rgba(132,170,214,.16)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035)!important;
}

main :is(
  .home-plan strong,
  .engine-score strong,
  .summary-grid strong,
  .quality-ring strong,
  .quality-components strong,
  .entry-quality-strip strong,
  .watch-card strong,
  .watch-card .price,
  .assistant-summary strong,
  .portfolio-metrics strong,
  .sentiment-card strong,
  .projection-strip strong,
  .result-grid strong,
  .summary-strip strong,
  .identity-card strong,
  .report-date strong,
  .score-panel strong,
  .score-tile strong
){
  color:#ffffff!important;
  text-shadow:0 10px 28px rgba(0,0,0,.34)!important;
}

main :is(
  .home-plan small,
  .home-plan span,
  .install-reminder-card p,
  .install-reminder-card h2,
  .engine-summary p,
  .summary-panel p,
  .summary-grid small,
  .quality-components span,
  .entry-quality-strip span,
  .chart-ai-summary li,
  .briefing-list p,
  .briefing-list small,
  .mini-list p,
  .mini-list small,
  .watch-card small,
  .watch-card span,
  .ai-columns li,
  .ai-note,
  .guidance-box p,
  .guidance-box span,
  .collapse-summary small
){
  color:#c8d8ed!important;
}

main :is(.watch-card .source, .watch-card .data-source, .watch-card .trend, .watch-card .alert-label){
  color:#93a9c5!important;
}

main :is(.install-reminder-actions a, .step-guide, .secondary-button){
  background:linear-gradient(145deg,rgba(18,40,65,.96),rgba(8,18,34,.98))!important;
  color:#e9f4ff!important;
  border-color:rgba(95,185,255,.28)!important;
}

main :is(.collapse-summary b, .expand-chip, .expand-button){
  background:rgba(255,209,102,.14)!important;
  color:#ffe6a4!important;
  border:1px solid rgba(255,209,102,.24)!important;
}

/* old white/cream cards sometimes render as plain children; keep those dark inside known premium pages */
.home-main :is(.briefing-layout > *, .daily-hooks-grid > *, .command-grid > *, .home-grid > *, .quick-actions > *, .snapshot-row > *),
.portfolio-main :is(.summary-strip > *, .portfolio-grid > *, .income-grid > *, .ai-columns > *),
.briefing-main :is(.summary-panel > *, .briefing-grid > *, .gap-columns > *),
.income-main :is(.projection-strip > *, .planner-grid > *, .tracking-grid > *),
.journal-main :is(.metrics-grid > *, .discipline-strip > *, .analytics-grid > *),
.dna-main :is(.identity-grid > *, .dna-analytics > *, .report-columns > *),
.score-main :is(.score-grid > *, .insights-grid > *){
  background:
    linear-gradient(145deg,rgba(19,34,55,.94),rgba(8,17,31,.98))!important;
  color:#eaf3ff!important;
  border-color:rgba(132,170,214,.16)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035)!important;
}

/* softer, slimmer borders so the UI feels more premium than boxed-in */
main :is(section, article, details, summary, div, span, input, select, textarea, table, th, td){
  border-color:rgba(132,170,214,.14)!important;
}

/* keep warning bars dark-gold, not washed-out gray */
main :is(.manual-warning, .warning-banner, .risk-warning){
  background:linear-gradient(145deg,rgba(67,48,13,.72),rgba(22,17,10,.94))!important;
  color:#ffe7a8!important;
  border-color:rgba(255,209,102,.28)!important;
}

/* compact terminal-style stat cards from the screenshot Raj liked */
main :is(.market-status-bar span, .market-pulse span, .pulse-item, .asset-pill, .data-pill){
  background:rgba(8,18,32,.76)!important;
  color:#eaf3ff!important;
  border:1px solid rgba(132,170,214,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 14px 30px rgba(0,0,0,.22)!important;
}

/* make tiny dark-blue prices readable */
main :is(.watch-card, .metric-card, .summary-grid span, .engine-summary span) :is(strong, b){
  color:#f8fbff!important;
}

main :is(.watch-card, .metric-card, .summary-grid span, .engine-summary span) :is(p, small, span){
  color:#a9bfd9!important;
}

/* Final legacy cleanup — force any remaining old beige/white fragments into the premium terminal system */
.account-nav a,
.quick-actions a,
.quick-actions button,
.account-card a,
.profile-card a,
.home-card a,
.plan-action,
.action-link,
.secondary-action,
main a:not(.account-brand):not(.landing-link),
main :is(button:not(.primary):not(.cta-button):not(.upgrade-button), .toolbar-actions button, .dialog-actions button){
  background:linear-gradient(145deg,rgba(18,39,64,.96),rgba(8,18,34,.98))!important;
  color:#eaf3ff!important;
  border:1px solid rgba(132,170,214,.22)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.25)!important;
}

.account-nav a:hover,
.quick-actions a:hover,
main a:not(.account-brand):not(.landing-link):hover,
main button:hover{
  color:#ffffff!important;
  border-color:rgba(45,230,161,.36)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.34),0 0 26px rgba(45,230,161,.08)!important;
}

/* Keep true primary actions emerald */
.quick-actions a:first-child,
.account-nav a.active,
main :is(.primary, .primary-button, .cta-button, .upgrade-button, .unlock-button, .save-trade, button[type="submit"], #estimate-call, #play-voice-briefing){
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
  color:#f9fffc!important;
  border-color:rgba(45,230,161,.42)!important;
}

/* Old chart/empty-state panels were still white */
main :is(
  .chart-box,
  .empty-analytics,
  .empty-chart,
  .placeholder-chart,
  .chart-placeholder,
  .equity-chart,
  .weekly-chart,
  .monthly-chart,
  .performance-chart,
  .dna-chart,
  .coach-chart,
  .chart-area
){
  background:
    linear-gradient(145deg,rgba(10,22,38,.98),rgba(5,12,24,.99))!important;
  color:#c8d8ed!important;
  border-color:rgba(132,170,214,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 16px 40px rgba(0,0,0,.2)!important;
}

main :is(.chart-box svg, .performance-chart svg, .dna-chart svg, .coach-chart svg){
  background:transparent!important;
}

main :is(.chart-box, .empty-analytics, .empty-chart, .placeholder-chart) :is(p, span, strong, text){
  color:#c8d8ed!important;
  fill:#c8d8ed!important;
}

/* Any old white card directly inside analytics/report sections */
main :is(
  .analytics-card > div,
  .analytics-card > .chart-box,
  .coach-panel > div,
  .report-panel article,
  .recommend-panel li,
  .briefing-list > div,
  .briefing-list > article,
  .gap-columns > div,
  .gap-columns .briefing-list > div,
  .volume-list > div
){
  background:linear-gradient(145deg,rgba(18,32,52,.94),rgba(8,17,31,.98))!important;
  color:#eaf3ff!important;
  border-color:rgba(132,170,214,.16)!important;
}

/* Brighter readable headings in morning briefing/news/futures lists */
.briefing-list :is(h3,h4,strong,a,span:first-child),
.gap-columns :is(h3,h4,strong,a),
.mini-list :is(h3,h4,strong,a),
.watch-card :is(h3,h4,strong,a),
.market-headline-card :is(h3,h4,strong,a),
.news-list :is(h3,h4,strong,a),
.event-list :is(h3,h4,strong,a){
  color:#f4f9ff!important;
}

.briefing-list :is(p,small,span,div),
.gap-columns :is(p,small,span,div),
.mini-list :is(p,small,span,div),
.watch-card :is(p,small,span,div),
.market-headline-card :is(p,small,span,div),
.news-list :is(p,small,span,div),
.event-list :is(p,small,span,div){
  color:#b8cbe3!important;
}

/* If a label is intentionally green/red/gold, keep the signal color */
.briefing-list :is(.positive,.bullish,.success,.long),
.watch-card :is(.positive,.bullish,.success,.long),
.mini-list :is(.positive,.bullish,.success,.long){
  color:#2de6a1!important;
}

.briefing-list :is(.negative,.bearish,.danger,.short),
.watch-card :is(.negative,.bearish,.danger,.short),
.mini-list :is(.negative,.bearish,.danger,.short){
  color:#ff6178!important;
}

.briefing-list :is(.warning,.wait,.neutral),
.watch-card :is(.warning,.wait,.neutral),
.mini-list :is(.warning,.wait,.neutral){
  color:#ffd166!important;
}

/* Notice/alert strips should not appear cream on dark pages */
main :is(
  .briefing-message,
  .portfolio-message,
  .portfolio-access,
  .income-message,
  .income-access,
  .journal-access,
  .dna-message,
  .score-message,
  .notice,
  .disclaimer,
  .news-disclaimer,
  .estimate-note,
  .empty-row
){
  background:linear-gradient(145deg,rgba(18,32,52,.94),rgba(8,17,31,.98))!important;
  color:#c8d8ed!important;
  border:1px solid rgba(132,170,214,.16)!important;
  border-radius:16px!important;
}

/* White SVG/chart fills from older components */
main svg :is(rect, path, polygon)[fill="#fff"],
main svg :is(rect, path, polygon)[fill="#ffffff"],
main svg :is(rect, path, polygon)[fill="white"]{
  fill:#0a1627!important;
}

main svg text{
  fill:#c8d8ed!important;
}

/* The compact account access badge should match the dark system */
.home-plan,
.access-summary,
.access-card{
  background:
    radial-gradient(circle at 78% 20%,rgba(45,230,161,.14),transparent 30%),
    linear-gradient(145deg,rgba(18,32,52,.96),rgba(8,17,31,.99))!important;
  color:#f8fbff!important;
}

/* Fixed premium theme: visitors should not see color/theme switching controls */
.theme-picker,
#theme-select,
label[for="theme-select"]{
  display:none!important;
}

/* Final readability pass for remaining legacy light/low-contrast cards */
main :is(
  .stock-card,
  .sector-card,
  .briefing-item,
  .email-preview-lines span,
  .hook-trade-levels span,
  .hook-symbol,
  .hook-reasons span,
  .billing-actions a,
  .billing-actions button
){
  background:linear-gradient(145deg,rgba(18,32,52,.96),rgba(7,16,30,.99))!important;
  color:#eaf2ff!important;
  border:1px solid rgba(132,170,214,.18)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
}

main :is(.stock-card,.sector-card,.briefing-item) header{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  min-height:0!important;
}

main :is(
  .stock-card strong,
  .stock-card h3,
  .sector-card strong,
  .sector-card h3,
  .briefing-item strong,
  .briefing-item h3,
  .hook-mini-head strong,
  .daily-trade-hook h2,
  .voice-hook h2,
  .email-hook h2,
  .email-preview-lines strong,
  .hook-symbol strong,
  .hook-trade-levels strong,
  .billing-actions a,
  .billing-actions button
){
  color:#f8fbff!important;
  text-shadow:none!important;
}

main :is(
  .stock-card small,
  .stock-card p,
  .stock-card em,
  .sector-card p,
  .briefing-item p,
  .briefing-item small,
  .email-preview-lines span,
  .voice-hook p,
  .email-hook p,
  .daily-email-status
){
  color:#c8d8ed!important;
}

main :is(.stock-card em,.sector-card span,.briefing-item span){
  color:#2de6a1!important;
  background:rgba(45,230,161,.12)!important;
  border-color:rgba(45,230,161,.24)!important;
}

main :is(.stock-card button,.card-head button,.voice-hook button,.email-hook button){
  background:linear-gradient(135deg,#16c995,#0a7c60)!important;
  color:#04111e!important;
  border:0!important;
  box-shadow:0 14px 30px rgba(22,201,149,.22)!important;
}

.billing-actions .upgrade-action{
  background:linear-gradient(135deg,#20e2a5,#0a8d6b)!important;
  color:#04111e!important;
}

/* Premium brand identity polish */
header,
.account-header{
  background:
    radial-gradient(circle at 8% 18%,rgba(45,230,161,.12),transparent 30%),
    radial-gradient(circle at 88% 0%,rgba(255,209,102,.08),transparent 28%),
    linear-gradient(90deg,rgba(7,17,31,.98),rgba(10,24,42,.96))!important;
  border-bottom:1px solid rgba(132,170,214,.16)!important;
}

.brand,
.account-brand{
  gap:14px!important;
}

.mark,
.account-mark{
  position:relative!important;
  width:52px!important;
  height:52px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 30% 20%,rgba(255,209,102,.52),transparent 25%),
    radial-gradient(circle at 76% 80%,rgba(45,230,161,.36),transparent 30%),
    linear-gradient(145deg,#113251,#071827 72%)!important;
  color:#ffd166!important;
  border:1px solid rgba(255,209,102,.62)!important;
  box-shadow:
    0 0 0 1px rgba(45,230,161,.14),
    0 16px 36px rgba(0,0,0,.34),
    0 0 30px rgba(45,230,161,.18),
    inset 0 1px rgba(255,255,255,.18)!important;
  text-shadow:0 2px 10px rgba(0,0,0,.45)!important;
}

.mark::before,
.account-mark::before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:14px;
  border:1px solid rgba(45,230,161,.22);
  pointer-events:none;
}

.mark::after,
.account-mark::after{
  content:"";
  position:absolute;
  right:8px;
  bottom:9px;
  width:18px;
  height:9px;
  border-top:2px solid #28e6a1;
  border-right:2px solid #28e6a1;
  border-radius:0 9px 0 0;
  transform:skewX(-18deg);
  opacity:.96;
  filter:drop-shadow(0 0 8px rgba(45,230,161,.58));
}

.brand strong,
.account-brand strong{
  color:#f8fbff!important;
  font-size:18px!important;
  letter-spacing:-.02em!important;
}

.brand small,
.account-brand small{
  color:#9ff8d3!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}

@media(max-width:560px){
  .mark,
  .account-mark{
    width:44px!important;
    height:44px!important;
    border-radius:15px!important;
  }

  .brand strong,
  .account-brand strong{
    font-size:15px!important;
  }
}

/* Unified premium fintech design system
   One dark surface language across the logged-in product. */
:root{
  --msd-bg:#050d19;
  --msd-bg-2:#081425;
  --msd-card:#0d1b2f;
  --msd-card-2:#12243a;
  --msd-card-glass:rgba(15,30,50,.86);
  --msd-border:rgba(132,170,214,.18);
  --msd-border-strong:rgba(132,170,214,.30);
  --msd-text:#f6f9ff;
  --msd-muted:#b8c8dd;
  --msd-soft:#8ea4bf;
  --msd-green:#2de6a1;
  --msd-blue:#57a8ff;
  --msd-red:#ff5570;
  --msd-gold:#ffd166;
}

body{
  background:
    radial-gradient(circle at 4% 0%,rgba(45,230,161,.10),transparent 30%),
    radial-gradient(circle at 95% 4%,rgba(87,168,255,.12),transparent 28%),
    linear-gradient(135deg,var(--msd-bg),#071323 48%,#0b1430)!important;
  color:var(--msd-text)!important;
}

main,
.account-shell,
.shell,
.app-shell{
  color:var(--msd-text)!important;
}

/* Remove old cream/beige panels everywhere in the app */
main :is(
  section,
  article,
  .auth-card,
  .profile-card,
  .price-card,
  .pricing-trust-banner,
  .pricing-guarantee,
  .billing-status,
  .client-route-page,
  .client-route-loading,
  .client-placeholder,
  .client-route-shell-head,
  .client-route-frame,
  .client-native-hero,
  .client-native-card,
  .journal-toolbar,
  .journal-access,
  .metric-card,
  .discipline-card,
  .analytics-card,
  .history-panel,
  .chart-box,
  .empty-chart,
  .setup-table-wrap,
  .dna-intro,
  .style-card,
  .identity-card,
  .dna-panel,
  .report-panel,
  .recommend-panel,
  .report-date,
  .coach-hero,
  .range-card,
  .coach-score-card,
  .coach-panel,
  .coach-plan,
  .trade-review-panel,
  .coach-chart,
  .empty-dna,
  .income-hero,
  .income-panel,
  .income-card,
  .income-watchlist,
  .portfolio-card,
  .portfolio-panel,
  .portfolio-table-wrap,
  .briefing-card,
  .briefing-panel,
  .morning-card,
  .swing-card,
  .swing-filter-bar,
  .swing-empty,
  .swing-scanner-loading,
  .trade-dialog,
  .dialog-head
){
  background:
    radial-gradient(circle at 90% 0%,rgba(87,168,255,.09),transparent 30%),
    linear-gradient(145deg,rgba(18,34,55,.94),rgba(7,16,30,.98))!important;
  color:var(--msd-text)!important;
  border:1px solid var(--msd-border)!important;
  border-radius:24px!important;
  box-shadow:0 20px 54px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)!important;
}

main :is(
  .price-card.featured,
  .coach-score-card.primary,
  .metric-card.primary,
  .portfolio-card.primary,
  .daily-decision,
  .ai-decision-card,
  .signal-panel,
  .ai-trade-card
){
  border-color:rgba(45,230,161,.34)!important;
  box-shadow:0 24px 70px rgba(45,230,161,.10),0 18px 54px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.06)!important;
}

/* Typography hierarchy: bright titles, readable copy, larger numbers */
main :is(h1,h2,h3,h4,.section-title,.card-title){
  color:var(--msd-text)!important;
  text-shadow:none!important;
}

main :is(
  p,
  li,
  td,
  label,
  span,
  .review-reason,
  .swing-explanation,
  .profile-note,
  .coach-message,
  .dna-message,
  .billing-status,
  .empty-chart,
  .empty-dna
){
  color:var(--msd-muted)!important;
}

main :is(
  small,
  .eyebrow,
  th,
  .plan-label,
  .card-label,
  .metric-label
){
  color:#9fb3cc!important;
  letter-spacing:.14em!important;
  font-weight:950!important;
}

main :is(
  strong,
  b,
  .metric-card strong,
  .coach-score-card strong,
  .identity-card strong,
  .discipline-card strong,
  .client-native-card strong,
  .swing-level-grid strong,
  .swing-indicator-grid strong,
  .profile-item strong,
  .review-top h3,
  .style-card h2
){
  color:var(--msd-text)!important;
  text-shadow:none!important;
}

main :is(
  .metric-card strong,
  .coach-score-card strong,
  .identity-card strong,
  .client-native-card strong,
  .plan-price strong
){
  font-size:clamp(28px,3.2vw,52px)!important;
  line-height:.98!important;
  letter-spacing:-.05em!important;
}

/* Nested cells, empty states, lists and tables should be dark too */
main :is(
  .profile-item,
  .review-card,
  .emotion-row,
  .report-columns article,
  .mistake-list li,
  .dna-list li,
  .bar-row,
  .swing-level-grid span,
  .swing-indicator-grid span,
  .watch-why-detail,
  .email-preview-lines span,
  .hook-trade-levels span,
  .hook-symbol,
  .hook-reasons span,
  .value-note,
  .annual-savings,
  .manual-warning,
  .notice,
  .disclaimer
){
  background:rgba(8,18,32,.72)!important;
  color:var(--msd-muted)!important;
  border:1px solid var(--msd-border)!important;
  box-shadow:none!important;
}

main :is(table, thead, tbody, tr, th, td){
  background:transparent!important;
}

main :is(.coach-table-wrap,.history-wrap,.setup-table-wrap,.portfolio-table-wrap,.table-wrap){
  background:rgba(8,18,32,.86)!important;
  border:1px solid var(--msd-border)!important;
  border-radius:18px!important;
  overflow:auto!important;
}

main :is(.coach-table th,.history-table th,.setup-table th,.portfolio-table th,.income-table th){
  background:rgba(12,28,48,.95)!important;
  color:#bcd0e8!important;
}

main :is(.coach-table td,.history-table td,.setup-table td,.portfolio-table td,.income-table td){
  color:#e6f0ff!important;
  border-color:rgba(132,170,214,.12)!important;
}

/* Buttons: one product language */
main :is(button,.plan-action,.primary-action,.upgrade-action,.client-native-actions button,.swing-upgrade-action){
  border-radius:14px!important;
  font-weight:950!important;
}

main :is(button:not(.dialog-close),.plan-action,.primary-action,.upgrade-action,.client-native-actions button,.swing-upgrade-action){
  background:linear-gradient(135deg,#20e2a5,#0a8d6b)!important;
  color:#03131f!important;
  border:0!important;
  box-shadow:0 16px 36px rgba(32,226,165,.20)!important;
}

main :is(button:not(.dialog-close),.plan-action,.primary-action,.upgrade-action):hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
}

main :is(select,input,textarea){
  background:#091727!important;
  color:var(--msd-text)!important;
  border:1px solid rgba(132,170,214,.28)!important;
  border-radius:14px!important;
}

main :is(select,input,textarea)::placeholder{
  color:#7187a2!important;
}

/* Charts and blank placeholders should not flash white */
main :is(.coach-chart,.dna-chart,.chart-box,.empty-chart,.empty-dna){
  background:rgba(7,15,27,.88)!important;
}

main svg :is(rect,path,polygon)[fill="#fff"],
main svg :is(rect,path,polygon)[fill="#ffffff"],
main svg :is(rect,path,polygon)[fill="white"]{
  fill:#0a1627!important;
}

main svg text{
  fill:#c8d8ed!important;
}
/* END final override: last word wins for remaining light chips/cards */
main :is(
  .premium-chip,
  .briefing-chip,
  .popular-star,
  .daily-email-status,
  .result-head span,
  #result-contracts,
  #review-count,
  #report-trades,
  .partner-stats span,
  .partner-metrics span,
  .partner-card,
  .install-step,
  .install-card,
  .install-guide,
  .install-panel,
  .feature-icon,
  .icon-chip,
  .home-icon,
  .watch-alert-button,
  .ticker-card > span,
  .watch-card > span,
  .news-disclaimer,
  .covered-call-disclaimer,
  .manual-warning,
  .notice,
  .disclaimer,
  .value-note,
  .annual-savings
){
  background:
    radial-gradient(circle at 16% 0%,rgba(45,230,161,.12),transparent 34%),
    linear-gradient(145deg,rgba(18,34,55,.97),rgba(7,16,30,.99))!important;
  color:#f5f9ff!important;
  border:1px solid rgba(132,170,214,.24)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)!important;
}

main :is(
  .premium-chip,
  .briefing-chip,
  .popular-star,
  .daily-email-status,
  .result-head span,
  #result-contracts,
  #review-count,
  #report-trades,
  .ticker-card > span,
  .watch-card > span
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:auto!important;
  min-height:30px!important;
  padding:8px 13px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(45,230,161,.22),rgba(87,168,255,.12))!important;
  color:#bfffe8!important;
  border-color:rgba(45,230,161,.34)!important;
  letter-spacing:.08em!important;
}

main :is(.partner-stats span,.partner-metrics span){
  border-radius:20px!important;
  padding:24px!important;
}

main :is(.partner-stats span small,.partner-metrics span small){
  color:#9fb3cc!important;
}

main :is(.partner-stats span strong,.partner-metrics span strong){
  color:#ffffff!important;
  font-size:clamp(30px,3vw,46px)!important;
  line-height:1!important;
}

main :is(.partner-stats span em,.partner-metrics span em){
  color:#b9cbe2!important;
}

main :is(.install-step,.install-card){
  border-radius:24px!important;
  padding:24px!important;
}

main :is(.install-step strong,.install-card strong){
  color:#ffffff!important;
  font-size:20px!important;
}

main :is(.install-step p,.install-card p,.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer){
  color:#c8d8ed!important;
}

main :is(.install-step span,.install-card span){
  background:linear-gradient(135deg,#20e2a5,#0a8d6b)!important;
  color:#03131f!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(32,226,165,.24)!important;
}

html body main .partner-plan-strip span,
html body main .partner-stats article,
html body main .commission-row,
html body main .commission-empty{
  background:linear-gradient(145deg,#fffaf1,#f4e4c8)!important;
  border:1px solid #d6b47e!important;
  color:#102c44!important;
  box-shadow:0 14px 34px rgba(8,18,32,.18)!important;
}

html body main .partner-plan-strip small,
html body main .partner-stats small{
  color:#315f8b!important;
}

html body main .partner-plan-strip strong,
html body main .partner-stats strong,
html body main .commission-row strong{
  color:#102c44!important;
  text-shadow:none!important;
}

html body main .partner-plan-strip em,
html body main .commission-row span,
html body main .commission-empty{
  color:#51657a!important;
}

main :is(.feature-icon,.icon-chip,.home-icon){
  width:40px!important;
  height:40px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(87,168,255,.24),rgba(45,230,161,.14))!important;
  color:#eaf4ff!important;
  border-color:rgba(132,170,214,.28)!important;
}

main :is(.watch-alert-button,.ticker-card > span,.watch-card > span){
  color:#bfffe8!important;
  background:rgba(45,230,161,.14)!important;
  border-color:rgba(45,230,161,.28)!important;
  box-shadow:none!important;
}

main :is(.ticker-card strong,.watch-card strong){
  color:#ffffff!important;
}

main :is(.ticker-card small,.watch-card small){
  color:#9fb3cc!important;
}

main :is(.ticker-card p,.watch-card p){
  color:#c8d8ed!important;
}

/* Final premium dark cleanup: remove leftover cream badges, chips, and notice bars. */
main :is(
  .pill,
  .streak-pill,
  .daily-risk-badge,
  .confidence-pill,
  .direction-chip,
  .portfolio-pill,
  .premium-chip,
  .client-placeholder-badge,
  .swing-live-badge,
  .swing-badges span,
  .data-badge,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .score-badge,
  .score-chip,
  .score-pill,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge,
  .grade-badge,
  .signal-badge.neutral,
  .news-disclaimer,
  .covered-call-disclaimer,
  .manual-warning,
  .notice,
  .disclaimer
){
  background:linear-gradient(135deg,rgba(16,33,55,.96),rgba(7,16,29,.98))!important;
  color:#f3f8ff!important;
  border:1px solid rgba(100,145,195,.36)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.06)!important;
  text-shadow:none!important;
}

main :is(
  .pill,
  .streak-pill,
  .daily-risk-badge,
  .confidence-pill,
  .direction-chip,
  .portfolio-pill,
  .premium-chip,
  .client-placeholder-badge,
  .swing-live-badge,
  .swing-badges span,
  .data-badge,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .score-badge,
  .score-chip,
  .score-pill,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  line-height:1!important;
}

main :is(.open-badge,.portfolio-pill.positive,.confidence-pill,.client-placeholder-badge){
  background:linear-gradient(135deg,rgba(32,226,165,.24),rgba(10,141,107,.18))!important;
  color:#bfffe8!important;
  border-color:rgba(45,230,161,.42)!important;
}

main :is(.closed-badge,.delay-badge,.daily-risk-badge.medium,.portfolio-pill.neutral,.signal-badge.neutral){
  background:linear-gradient(135deg,rgba(245,193,92,.24),rgba(119,82,18,.18))!important;
  color:#ffe2a4!important;
  border-color:rgba(245,193,92,.44)!important;
}

main :is(.portfolio-pill.negative,.short-chip){
  background:linear-gradient(135deg,rgba(255,78,108,.22),rgba(115,24,44,.2))!important;
  color:#ffb8c4!important;
  border-color:rgba(255,95,125,.44)!important;
}

main :is(.feature-icon,.icon-chip,.home-icon,.asset-badge,.asset-symbol,.symbol-chip,.ticker-symbol-chip,.instrument-strip #asset-symbol){
  background:linear-gradient(135deg,rgba(87,168,255,.22),rgba(45,230,161,.12))!important;
  color:#f5fbff!important;
  border:1px solid rgba(100,145,195,.38)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.07)!important;
  text-shadow:none!important;
}

main :is(.feature-icon svg,.icon-chip svg,.home-icon svg){
  color:#ffffff!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

main :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer){
  display:block!important;
  border-radius:18px!important;
  padding:14px 18px!important;
  color:#d4e4f7!important;
  font-weight:800!important;
}

main :is(.news-disclaimer strong,.covered-call-disclaimer strong,.manual-warning strong,.notice strong,.disclaimer strong){
  color:#ffffff!important;
}

/* v68 precision cleanup: remove the last old light/cream pills and panels. */
body :is(
  #data-status,
  #market-status,
  #provider-status,
  #freshness,
  #regime-status,
  .data-badge,
  .ai-updated-pill,
  .daily-risk-badge,
  .confidence-pill,
  .client-placeholder-badge,
  .swing-live-badge,
  .premium-chip,
  .streak-pill,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge,
  .grade-badge,
  .portfolio-pill,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .swing-badges span,
  .result-head > span,
  .panel-head > span,
  .panel-head > strong,
  .income-access,
  .income-message,
  .portfolio-message,
  .portfolio-access,
  .score-message
){
  background:linear-gradient(135deg,rgba(15,34,58,.98),rgba(5,14,27,.98))!important;
  color:#f5fbff!important;
  border-color:rgba(96,151,210,.42)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.06)!important;
  text-shadow:none!important;
}

body :is(
  #data-status,
  #market-status,
  #provider-status,
  #freshness,
  #regime-status,
  .data-badge,
  .ai-updated-pill,
  .daily-risk-badge,
  .confidence-pill,
  .client-placeholder-badge,
  .swing-live-badge,
  .premium-chip,
  .streak-pill,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge,
  .grade-badge,
  .portfolio-pill,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .swing-badges span,
  .result-head > span,
  .panel-head > span,
  .panel-head > strong
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  line-height:1!important;
}

body :is(.daily-risk-badge.medium,.signal-badge.neutral,.portfolio-pill.neutral,.decision-wait,.wait-badge){
  background:linear-gradient(135deg,rgba(245,193,92,.24),rgba(119,82,18,.2))!important;
  color:#ffe4aa!important;
  border-color:rgba(245,193,92,.46)!important;
}

body :is(.open-badge,.portfolio-pill.positive,.confidence-pill){
  background:linear-gradient(135deg,rgba(32,226,165,.24),rgba(10,141,107,.2))!important;
  color:#bfffe8!important;
  border-color:rgba(45,230,161,.46)!important;
}

body :is(.portfolio-pill.negative,.short-chip){
  background:linear-gradient(135deg,rgba(255,78,108,.24),rgba(115,24,44,.2))!important;
  color:#ffbdc8!important;
  border-color:rgba(255,95,125,.46)!important;
}

/* The tiny WAIT dot/pill inside the main AI decision card. */
body .decision-badge span{
  width:auto!important;
  min-width:58px!important;
  height:auto!important;
  min-height:30px!important;
  padding:7px 13px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(245,193,92,.28),rgba(122,82,14,.24))!important;
  color:#ffe3a7!important;
  border:1px solid rgba(245,193,92,.5)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.08)!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
}

body .decision-badge span::before{
  content:"WAIT";
}

/* Light circular icons on dashboard/feature cards. */
body :is(
  .feature-card > span:first-child,
  .feature-card > div:first-child,
  .quick-card > span:first-child,
  .quick-card > div:first-child,
  .module-card > span:first-child,
  .module-card > div:first-child,
  .client-native-card > span:first-child,
  .client-native-card > div:first-child,
  .home-icon,
  .feature-icon,
  .icon-chip
){
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(45,230,161,.28),rgba(87,168,255,.18))!important;
  color:#f6fbff!important;
  border:1px solid rgba(45,230,161,.34)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.08)!important;
  text-shadow:none!important;
}

body :is(.feature-card > span:first-child,.feature-card > div:first-child,.quick-card > span:first-child,.quick-card > div:first-child,.module-card > span:first-child,.module-card > div:first-child,.client-native-card > span:first-child,.client-native-card > div:first-child,.home-icon,.feature-icon,.icon-chip) *{
  color:#ffffff!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* Score rings still had a cream inner circle from page-specific CSS. */
body :is(.score-ring,.dna-orbit){
  background:conic-gradient(#20e2a5 calc(var(--score,0)*1%),rgba(87,168,255,.18) 0)!important;
  border:1px solid rgba(45,230,161,.28)!important;
  box-shadow:0 20px 45px rgba(0,0,0,.32),0 0 35px rgba(45,230,161,.16)!important;
}

body .score-ring:before,
body .dna-orbit span{
  background:linear-gradient(135deg,#10223a,#07111f)!important;
  color:#ffffff!important;
  border:1px solid rgba(132,170,214,.24)!important;
}

body .score-ring strong{
  color:#ffffff!important;
  text-shadow:none!important;
}

body .score-ring span{
  color:#bfffe8!important;
  background:transparent!important;
}

/* Long provider notes and fallback warnings. */
body :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access){
  background:linear-gradient(135deg,rgba(15,34,58,.98),rgba(5,14,27,.98))!important;
  color:#d7e7f8!important;
  border:1px solid rgba(96,151,210,.34)!important;
  border-radius:18px!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
}

body :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access) *{
  color:inherit!important;
}

/* v69 final app-wide dark tokens: stop remaining page CSS from showing cream/white badges. */
:root{
  --msd-dark-bg:#050d18;
  --msd-dark-card:#0d1b2e;
  --msd-dark-card-2:#12243a;
  --msd-dark-soft:#17314c;
  --msd-text:#f5f8ff;
  --msd-muted:#a9bbd0;
  --msd-line:rgba(118,164,214,.28);
  --msd-emerald:#22e0a4;
  --msd-blue:#57a8ff;
  --msd-gold:#f3c35f;
  --msd-red:#ff5f7d;
}

html body main :is(
  .daily-risk-badge,
  .confidence-pill,
  .data-badge,
  .ai-updated-pill,
  .premium-chip,
  .client-placeholder-badge,
  .swing-live-badge,
  .streak-pill,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge,
  .portfolio-pill,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .grade-badge,
  #daily-score-label,
  #daily-trades,
  #data-status,
  #provider-status,
  #market-status,
  #regime-status,
  #freshness
){
  background:linear-gradient(135deg,rgba(18,40,64,.98),rgba(7,16,29,.98))!important;
  color:var(--msd-text)!important;
  border:1px solid var(--msd-line)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.07)!important;
  text-shadow:none!important;
}

html body main :is(
  .daily-risk-badge,
  .confidence-pill,
  .data-badge,
  .ai-updated-pill,
  .premium-chip,
  .client-placeholder-badge,
  .swing-live-badge,
  .streak-pill,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .trade-count-badge,
  .review-count,
  .result-count,
  .contract-badge,
  .role-badge,
  .portfolio-pill,
  .neutral-badge,
  .open-badge,
  .closed-badge,
  .delay-badge,
  .grade-badge,
  #daily-score-label,
  #daily-trades,
  #data-status,
  #provider-status,
  #market-status,
  #regime-status,
  #freshness
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:27px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.055em!important;
  line-height:1!important;
}

html body main :is(.daily-risk-badge.medium,.score-pill,.score-chip,.signal-badge.neutral,.decision-wait,.wait-badge){
  background:linear-gradient(135deg,rgba(243,195,95,.22),rgba(81,54,12,.24))!important;
  color:#ffe4aa!important;
  border-color:rgba(243,195,95,.48)!important;
}

html body main :is(.open-badge,.portfolio-pill.positive,.confidence-pill,#daily-score-label,#daily-trades){
  background:linear-gradient(135deg,rgba(34,224,164,.2),rgba(9,97,77,.26))!important;
  color:#d8fff2!important;
  border-color:rgba(34,224,164,.45)!important;
}

html body main :is(.data-badge,.ai-updated-pill,.neutral-badge,#provider-status,#data-status,#freshness,#regime-status){
  background:linear-gradient(135deg,rgba(87,168,255,.22),rgba(11,35,64,.36))!important;
  color:#e7f3ff!important;
  border-color:rgba(87,168,255,.42)!important;
}

html body main :is(.portfolio-pill.negative,.short-chip){
  background:linear-gradient(135deg,rgba(255,95,125,.22),rgba(88,22,38,.3))!important;
  color:#ffd6dd!important;
  border-color:rgba(255,95,125,.46)!important;
}

html body main .decision-badge span{
  width:auto!important;
  min-width:58px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 13px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(243,195,95,.22),rgba(81,54,12,.24))!important;
  color:#ffe4aa!important;
  border:1px solid rgba(243,195,95,.5)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.08)!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
}

html body main .decision-badge span::before{
  content:"WAIT";
}

html body main :is(
  .feature-card > span:first-child,
  .feature-card > div:first-child,
  .quick-card > span:first-child,
  .quick-card > div:first-child,
  .module-card > span:first-child,
  .module-card > div:first-child,
  .client-native-card > span:first-child,
  .client-native-card > div:first-child,
  .home-icon,
  .feature-icon,
  .icon-chip
){
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(34,224,164,.26),rgba(87,168,255,.2))!important;
  color:#ffffff!important;
  border:1px solid rgba(34,224,164,.36)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.08)!important;
}

html body main :is(.feature-card > span:first-child,.feature-card > div:first-child,.quick-card > span:first-child,.quick-card > div:first-child,.module-card > span:first-child,.module-card > div:first-child,.client-native-card > span:first-child,.client-native-card > div:first-child,.home-icon,.feature-icon,.icon-chip) *{
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
}

html body main :is(.score-ring,.dna-orbit){
  background:conic-gradient(var(--msd-emerald) calc(var(--score,0)*1%),rgba(87,168,255,.16) 0)!important;
  border:1px solid rgba(34,224,164,.28)!important;
  box-shadow:0 20px 45px rgba(0,0,0,.34),0 0 35px rgba(34,224,164,.16)!important;
}

html body main .score-ring:before,
html body main .dna-orbit span{
  background:linear-gradient(135deg,#10243a,#07111f)!important;
  color:#ffffff!important;
  border:1px solid rgba(132,170,214,.26)!important;
}

html body main .score-ring strong{
  color:#ffffff!important;
  text-shadow:none!important;
}

html body main .score-ring span{
  color:#d9fff4!important;
  background:transparent!important;
}

html body main :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access){
  background:linear-gradient(135deg,rgba(18,40,64,.98),rgba(7,16,29,.98))!important;
  color:#d8e8fb!important;
  border:1px solid rgba(118,164,214,.32)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06)!important;
}

html body main :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access) *{
  color:inherit!important;
}

/* v70 source-independent cleanup: catch remaining generated badges/icons outside main. */
html body :is(
  #daily-score-label,
  #daily-trades,
  #data-status,
  #market-status,
  #provider-status,
  #freshness,
  #regime-status,
  .daily-risk-badge,
  .confidence-pill,
  .data-badge,
  .ai-updated-pill,
  .premium-chip,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .review-count,
  .contract-badge,
  .grade-badge,
  .client-placeholder-badge,
  .swing-live-badge,
  .live-data-pill,
  .metric-pill,
  .decision-badge span,
  .portfolio-pill,
  .streak-pill
){
  border:1px solid rgba(45,212,191,.34)!important;
  background:linear-gradient(135deg,rgba(13,31,50,.96),rgba(7,16,29,.96))!important;
  color:#e6f6ff!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.06)!important;
  text-shadow:none!important;
}
html body :is(.daily-risk-badge.medium,.risk-medium,.moderate-risk,.decision-badge span){
  border-color:rgba(245,197,66,.48)!important;
  background:linear-gradient(135deg,rgba(245,197,66,.16),rgba(13,31,50,.94))!important;
  color:#ffd166!important;
}
html body .decision-badge span{
  width:auto!important;
  height:auto!important;
  min-width:54px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  font-size:12px!important;
  letter-spacing:.08em!important;
}
html body .decision-badge span::before{content:"WAIT"}
html body :is(
  .feature-card > span:first-child,
  .feature-card > div:first-child,
  .quick-card > span:first-child,
  .quick-card > div:first-child,
  .module-card > span:first-child,
  .module-card > div:first-child,
  .client-native-card > span:first-child,
  .client-native-card > div:first-child,
  .snapshot-grid span,
  .watch-card .watch-icon,
  .watch-card > span,
  .home-icon,
  .feature-icon,
  .icon-chip,
  .asset-badge,
  .asset-symbol,
  .symbol-chip
){
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(16,185,129,.28),rgba(59,130,246,.2))!important;
  color:#f8fafc!important;
  border:1px solid rgba(45,212,191,.36)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.08)!important;
}
html body :is(.feature-card > span:first-child,.feature-card > div:first-child,.quick-card > span:first-child,.quick-card > div:first-child,.module-card > span:first-child,.module-card > div:first-child,.client-native-card > span:first-child,.client-native-card > div:first-child,.snapshot-grid span,.watch-card .watch-icon,.watch-card > span,.home-icon,.feature-icon,.icon-chip,.asset-badge,.asset-symbol,.symbol-chip) *{
  color:#f8fafc!important;
  fill:#f8fafc!important;
  stroke:#f8fafc!important;
}
html body :is(.score-ring,.dna-orbit){
  background:conic-gradient(#22e0a4 calc(var(--score,0)*1%),rgba(87,168,255,.16) 0)!important;
  border:1px solid rgba(34,224,164,.28)!important;
  box-shadow:0 20px 45px rgba(0,0,0,.34),0 0 35px rgba(34,224,164,.16)!important;
}
html body .score-ring:before,
html body .dna-orbit span{
  background:linear-gradient(135deg,#10243a,#07111f)!important;
  color:#f8fafc!important;
  border:1px solid rgba(132,170,214,.26)!important;
}
html body .score-ring strong{color:#f8fafc!important}
html body .score-ring span{color:#9ee7ff!important;background:transparent!important}
html body :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access){
  background:linear-gradient(135deg,rgba(18,40,64,.98),rgba(7,16,29,.98))!important;
  color:#d8e8fb!important;
  border:1px solid rgba(118,164,214,.32)!important;
}
html body :is(.news-disclaimer,.covered-call-disclaimer,.manual-warning,.notice,.disclaimer,.score-message,.coach-message,.dna-message,.income-message,.income-access,.portfolio-message,.portfolio-access) *{color:inherit!important}

/* v71 text-fit cleanup: keep long wording inside premium dark cards. */
html body :is(
  .home-card,
  .card,
  .metric-card,
  .snapshot-grid article,
  .watch-card,
  .mini-list article,
  .feature-card,
  .module-card,
  .quick-card,
  .client-native-card,
  .portfolio-card,
  .portfolio-table-card,
  .income-card,
  .planner-card,
  .plan-card,
  .score-panel,
  .period-card,
  .daily-trade-hook,
  .voice-hook,
  .email-hook,
  .decision-panel,
  .signal-card
){
  min-width:0!important;
  overflow:hidden!important;
}
html body :is(
  .home-card *,
  .card *,
  .metric-card *,
  .snapshot-grid article *,
  .watch-card *,
  .mini-list article *,
  .feature-card *,
  .module-card *,
  .quick-card *,
  .client-native-card *,
  .portfolio-card *,
  .portfolio-table-card *,
  .income-card *,
  .planner-card *,
  .plan-card *,
  .score-panel *,
  .period-card *,
  .daily-trade-hook *,
  .voice-hook *,
  .email-hook *,
  .decision-panel *,
  .signal-card *
){
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
html body :is(
  .premium-chip,
  .daily-risk-badge,
  .confidence-pill,
  .data-badge,
  .ai-updated-pill,
  .score-pill,
  .score-chip,
  .status-badge,
  .count-badge,
  .review-count,
  .contract-badge,
  .grade-badge,
  .client-placeholder-badge,
  .swing-live-badge,
  .live-data-pill,
  .metric-pill,
  .portfolio-pill,
  .streak-pill,
  #daily-score-label,
  #daily-trades,
  #data-status,
  #market-status,
  #provider-status,
  #freshness,
  #regime-status
){
  white-space:normal!important;
  line-height:1.25!important;
  text-align:center!important;
}
html body :is(.snapshot-grid small,.metric-card small,.home-card small,.card small,.eyebrow){
  letter-spacing:.09em!important;
  line-height:1.25!important;
}
html body :is(.quick-actions a,.account-nav a,.install-reminder-actions a,.install-reminder-actions button,.watch-actions button){
  white-space:normal!important;
  line-height:1.2!important;
  min-width:0!important;
}
html body :is(.hook-trade-levels strong,.income-snapshot strong,.portfolio-metrics strong,.watch-price){
  font-size:clamp(15px,2vw,22px)!important;
  line-height:1.1!important;
}
html body :is(.table-wrap,.income-table-wrap){
  overflow:auto!important;
}
html body :is(.table-wrap th,.table-wrap td,.income-table-wrap th,.income-table-wrap td){
  white-space:nowrap!important;
}

/* v72 stat-card readability: do not split large dashboard values letter-by-letter. */
html body .snapshot-grid article,
html body .command-snapshot article{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-height:128px!important;
  padding:18px 16px!important;
}
html body .snapshot-grid article *,
html body .command-snapshot article *{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
html body .snapshot-grid strong,
html body .command-snapshot strong{
  display:block!important;
  width:100%!important;
  color:#f8fafc!important;
  font-size:clamp(1.65rem,2.05vw,2.35rem)!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
html body .snapshot-grid small,
html body .command-snapshot small{
  color:#9fb5d1!important;
  font-size:.68rem!important;
  line-height:1.2!important;
  letter-spacing:.12em!important;
}
html body .snapshot-grid span,
html body .command-snapshot span{
  flex:0 0 auto!important;
  margin-bottom:2px!important;
}
@media(max-width:1180px){
  html body .snapshot-grid strong,
  html body .command-snapshot strong{
    font-size:clamp(1.35rem,3.4vw,2.1rem)!important;
  }
}

/* v73 mobile/public landing polish: keep phone-installed landing controls premium and readable. */
html body .landing-nav{
  background:linear-gradient(135deg,rgba(8,18,32,.96),rgba(6,14,26,.94))!important;
  border:1px solid rgba(87,168,255,.22)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.05)!important;
}
html body .landing-nav nav{
  background:transparent!important;
  border-top:1px solid rgba(132,170,214,.16)!important;
  padding-top:12px!important;
}
html body .landing-nav nav a{
  background:linear-gradient(135deg,rgba(21,42,69,.98),rgba(7,16,30,.98))!important;
  color:#edf6ff!important;
  border:1px solid rgba(87,168,255,.34)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.07)!important;
  text-shadow:none!important;
}
html body .landing-nav nav a:hover,
html body .landing-nav nav a:focus-visible{
  background:linear-gradient(135deg,rgba(15,118,110,.95),rgba(10,33,55,.98))!important;
  border-color:rgba(45,230,161,.58)!important;
  color:#ffffff!important;
  transform:translateY(-1px)!important;
}
html body .hero-actions .primary,
html body .cta-actions .primary{
  background:linear-gradient(135deg,#22e0a4,#087b5d)!important;
  color:#03140f!important;
  border:1px solid rgba(45,230,161,.7)!important;
  box-shadow:0 18px 38px rgba(16,185,129,.24)!important;
}
html body .hero-actions .secondary,
html body .cta-actions .secondary,
html body .landing-hero .secondary,
html body .landing-main .secondary{
  background:linear-gradient(135deg,rgba(21,42,69,.98),rgba(7,16,30,.98))!important;
  color:#f8fafc!important;
  border:1px solid rgba(87,168,255,.34)!important;
  box-shadow:0 16px 36px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.07)!important;
}
html body .hero-actions .secondary:hover,
html body .cta-actions .secondary:hover{
  border-color:rgba(45,230,161,.55)!important;
  color:#ffffff!important;
  transform:translateY(-1px)!important;
}
html body .trust-row span,
html body .hero-badges span,
html body .landing-hero .hero-badges span,
html body .landing-main .hero-badges span{
  background:linear-gradient(135deg,rgba(16,185,129,.22),rgba(59,130,246,.15))!important;
  color:#e8f2ff!important;
  border:1px solid rgba(45,230,161,.36)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.07)!important;
  text-shadow:none!important;
}
@media(max-width:760px){
  html body .landing-nav nav{
    gap:10px!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    padding-bottom:5px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body .landing-nav nav a{
    flex:0 0 auto!important;
    min-height:44px!important;
    padding:12px 18px!important;
    border-radius:14px!important;
    white-space:nowrap!important;
  }
  html body .hero-actions,
  html body .cta-actions{
    gap:11px!important;
  }
  html body .trust-row,
  html body .hero-badges{
    gap:10px!important;
  }
  html body .trust-row span,
  html body .hero-badges span{
    padding:11px 14px!important;
    font-size:.86rem!important;
    line-height:1.2!important;
  }
}

/* Premium Home loading state and watchlist price readability */
.home-splash{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 18% 16%,rgba(16,185,129,.18),transparent 30%),
    radial-gradient(circle at 84% 6%,rgba(59,130,246,.18),transparent 32%),
    linear-gradient(135deg,#061120,#0b1728 58%,#111827);
  color:#f8fafc;
  opacity:1;
  visibility:visible;
  transition:opacity .42s ease,visibility .42s ease;
}
.home-ready .home-splash{
  display:none!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.home-splash-card{
  width:min(640px,100%);
  padding:30px;
  border:1px solid rgba(148,163,184,.24);
  border-radius:30px;
  background:rgba(13,31,50,.78);
  box-shadow:0 30px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
}
.home-splash-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:26px;
}
.home-splash-logo{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid rgba(245,196,92,.55);
  border-radius:18px;
  background:
    radial-gradient(circle at 34% 24%,rgba(245,196,92,.9),transparent 34%),
    linear-gradient(135deg,rgba(15,23,42,.98),rgba(8,47,73,.72));
  color:#fde68a;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.06em;
  box-shadow:0 16px 40px rgba(245,196,92,.16);
}
.home-splash-brand strong{
  display:block;
  color:#f8fafc;
  font-size:24px;
  letter-spacing:-.04em;
}
.home-splash-brand small{
  display:block;
  margin-top:4px;
  color:#9ee7d4;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-splash h1{
  margin:0;
  color:#f8fafc;
  font-size:clamp(30px,4vw,48px);
  line-height:1;
  letter-spacing:-.06em;
}
.home-splash p{
  max-width:520px;
  margin:14px 0 0;
  color:#b8c7d9;
  font-size:15px;
  line-height:1.6;
}
.home-splash-skeleton{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:12px;
  margin-top:28px;
}
.home-splash-skeleton span{
  min-height:82px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:18px;
  background:linear-gradient(100deg,rgba(30,41,59,.72) 0%,rgba(45,212,191,.16) 42%,rgba(30,41,59,.72) 78%);
  background-size:220% 100%;
  animation:premiumSplashShimmer 1.25s linear infinite;
}
.home-splash-skeleton span:first-child{
  grid-row:span 2;
  min-height:176px;
}
@keyframes premiumSplashShimmer{
  to{background-position:-220% 0}
}
html body .watch-card{
  min-width:0!important;
  overflow:hidden!important;
}
html body .watch-card > div:not(.watch-actions){
  min-width:0!important;
  width:100%!important;
  padding-right:42px!important;
}
html body .watch-price{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:7px!important;
  color:#f8fafc!important;
  font-size:clamp(16px,1.35vw,21px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  font-variant-numeric:tabular-nums!important;
  overflow:visible!important;
}
html body .watch-card em{
  max-width:100%!important;
  line-height:1.25!important;
}
html body .watch-actions{
  max-width:100%!important;
}
@media(max-width:700px){
  .home-splash-card{padding:24px;border-radius:24px}
  .home-splash-skeleton{grid-template-columns:1fr}
  .home-splash-skeleton span:first-child{grid-row:auto;min-height:112px}
  html body .watch-price{font-size:20px!important}
}

/* Ask AI side copilot */
html body .ask-ai-panel[hidden]{display:none!important}
html body .ask-ai-panel{
  position:fixed!important;
  inset:0!important;
  z-index:90!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:stretch!important;
  padding:0!important;
  pointer-events:none!important;
}
html body .ask-ai-backdrop{
  position:absolute!important;
  inset:0!important;
  background:rgba(2,6,23,.42)!important;
  backdrop-filter:blur(3px)!important;
  pointer-events:auto!important;
}
html body .ask-ai-dialog{
  position:relative!important;
  z-index:1!important;
  pointer-events:auto!important;
  width:min(430px,calc(100vw - 18px))!important;
  height:100vh!important;
  max-height:none!important;
  border:1px solid rgba(87,168,255,.22)!important;
  border-right:0!important;
  border-radius:28px 0 0 28px!important;
  background:linear-gradient(145deg,rgba(13,31,50,.98),rgba(5,14,27,.98))!important;
  box-shadow:-28px 0 70px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06)!important;
  overflow:hidden!important;
  animation:askAiDrawerIn .24s ease-out!important;
  display:flex!important;
  flex-direction:column!important;
  color:#f8fafc!important;
}
@keyframes askAiDrawerIn{from{transform:translateX(32px);opacity:.35}to{transform:translateX(0);opacity:1}}
html body .ask-ai-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:22px 22px 14px!important;
  border-bottom:1px solid rgba(87,168,255,.16)!important;
}
html body .ask-ai-header .eyebrow{
  margin:0 0 5px!important;
  color:#9ee7d4!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
html body .ask-ai-header h2{
  margin:0!important;
  color:#f8fafc!important;
  font-size:24px!important;
  letter-spacing:-.04em!important;
}
html body #ask-ai-close{
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(148,163,184,.22)!important;
  border-radius:14px!important;
  background:rgba(15,23,42,.78)!important;
  color:#e2e8f0!important;
  font-size:20px!important;
  cursor:pointer!important;
}
html body .ask-ai-disclaimer{
  margin:12px 18px 0!important;
  padding:10px 12px!important;
  border:1px solid rgba(245,158,11,.22)!important;
  border-radius:14px!important;
  background:rgba(245,158,11,.09)!important;
  color:#f9d38b!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body .ask-ai-toolbar{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:12px 18px 8px!important;
}
html body .ask-ai-toolbar button,
html body .ask-ai-actions button{
  border:1px solid rgba(87,168,255,.22)!important;
  border-radius:999px!important;
  background:rgba(15,35,58,.78)!important;
  color:#dbeafe!important;
  padding:8px 11px!important;
  font-size:12px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
html body .ask-ai-suggestions{
  display:flex!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  margin:0 18px 12px!important;
  gap:8px!important;
}
html body .ask-ai-suggestions button{
  flex:1 1 46%!important;
  min-width:142px!important;
  border:1px solid rgba(45,212,191,.24)!important;
  border-radius:16px!important;
  background:rgba(8,145,178,.14)!important;
  color:#eef6ff!important;
  padding:10px 11px!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
html body .ask-ai-messages{
  flex:1!important;
  min-height:0!important;
  overflow-y:auto!important;
  margin:0 18px 12px!important;
  padding:4px 4px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
html body .ask-ai-message{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}
html body .ask-ai-message.user{
  align-self:flex-end!important;
  max-width:88%!important;
}
html body .ask-ai-message.assistant{
  align-self:flex-start!important;
  max-width:100%!important;
}
html body .ask-ai-message-label{
  color:#93a4ba!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
html body .ask-ai-message-body{
  border:1px solid rgba(87,168,255,.18)!important;
  border-radius:18px!important;
  background:rgba(15,23,42,.72)!important;
  color:#eaf2ff!important;
  padding:13px 14px!important;
  line-height:1.55!important;
  white-space:pre-wrap!important;
  box-shadow:0 18px 42px rgba(0,0,0,.20)!important;
}
html body .ask-ai-message.user .ask-ai-message-body{
  background:linear-gradient(135deg,#0f8f6c,#075843)!important;
  border-color:rgba(45,212,191,.32)!important;
  color:#fff!important;
}
html body .ask-ai-rich-reply{display:grid!important;gap:12px!important}
html body .ask-ai-summary{margin:0!important;color:#f8fafc!important}
html body .ask-ai-reply-grid{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:8px!important;
}
html body .ask-ai-reply-grid span{
  display:grid!important;
  gap:4px!important;
  padding:10px!important;
  border:1px solid rgba(87,168,255,.18)!important;
  border-radius:14px!important;
  background:rgba(7,20,36,.78)!important;
}
html body .ask-ai-reply-grid small,
html body .ask-ai-section-title{
  color:#9fb4cd!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
html body .ask-ai-reply-grid strong{color:#f8fafc!important;font-size:16px!important}
html body .ask-ai-reply-grid .positive strong{color:#34d399!important}
html body .ask-ai-reply-grid .negative strong{color:#fb7185!important}
html body .ask-ai-reply-grid .neutral strong{color:#facc15!important}
html body .ask-ai-rich-reply ul{
  margin:0!important;
  padding-left:18px!important;
  color:#dbeafe!important;
}
html body .ask-ai-next-action{
  margin:0!important;
  padding:12px!important;
  border-radius:14px!important;
  border:1px solid rgba(45,212,191,.22)!important;
  background:rgba(16,185,129,.10)!important;
  color:#eafff7!important;
}
html body .ask-ai-chart-mini{
  display:grid!important;
  grid-template-columns:repeat(2,1fr)!important;
  gap:8px!important;
}
html body .ask-ai-chart-mini span{
  padding:9px!important;
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:12px!important;
  background:rgba(2,6,23,.36)!important;
  color:#dbeafe!important;
}
html body .ask-ai-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:8px!important;
}
html body .ask-ai-form{
  display:flex!important;
  gap:9px!important;
  padding:14px 18px 18px!important;
  border-top:1px solid rgba(87,168,255,.16)!important;
  background:rgba(2,6,23,.36)!important;
}
html body .ask-ai-form input{
  min-width:0!important;
  flex:1!important;
  border:1px solid rgba(87,168,255,.22)!important;
  border-radius:16px!important;
  background:rgba(2,6,23,.72)!important;
  color:#f8fafc!important;
  padding:13px 14px!important;
  outline:none!important;
}
html body .ask-ai-form input::placeholder{color:#8aa0ba!important}
html body .ask-ai-form button{
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#10b981,#047857)!important;
  color:#fff!important;
  padding:0 18px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
@media(max-width:620px){
  html body .ask-ai-dialog{
    width:100vw!important;
    border-radius:0!important;
    border-left:0!important;
  }
  html body .ask-ai-suggestions button{flex-basis:100%!important}
  html body .ask-ai-reply-grid{grid-template-columns:1fr!important}
}

/* Ask AI must stay visible above every logged-in page and mobile bottom nav. */
html body .floating-ai-widget{
  position:fixed!important;
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:calc(88px + env(safe-area-inset-bottom))!important;
  z-index:99999!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:112px!important;
  min-height:52px!important;
  padding:14px 18px!important;
  border:1px solid rgba(45,212,191,.48)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#10b981,#047857)!important;
  color:#ffffff!important;
  font-size:14px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  line-height:1!important;
  box-shadow:0 24px 60px rgba(16,185,129,.35),0 0 0 1px rgba(255,255,255,.10) inset!important;
  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
}
html body .floating-ai-widget:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 28px 70px rgba(16,185,129,.45),0 0 0 1px rgba(255,255,255,.12) inset!important;
}
html body .ask-ai-panel{z-index:100000!important}
@media(max-width:620px){
  html body .floating-ai-widget{
    right:14px!important;
    left:auto!important;
    bottom:calc(76px + env(safe-area-inset-bottom))!important;
    min-width:104px!important;
    min-height:48px!important;
    padding:12px 15px!important;
    font-size:13px!important;
  }
}
/* Launch polish pass: readable live states, compact nav, cleaner account actions */
.terminal-market-strip .market-open-chip.is-open{background:rgba(33,216,151,.16)!important;color:#8ff7c8!important;border-color:rgba(33,216,151,.45)!important}
.terminal-market-strip .market-open-chip.is-closed{background:rgba(255,93,122,.14)!important;color:#ff9aaa!important;border-color:rgba(255,93,122,.42)!important}
.terminal-market-strip .market-open-chip.is-neutral{background:rgba(99,179,237,.14)!important;color:#bde1ff!important;border-color:rgba(99,179,237,.42)!important}
.btn-analyze.is-loading{cursor:wait!important;opacity:.82!important}
.btn-analyze.is-loading::after{content:"";width:13px;height:13px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;display:inline-block;margin-left:8px;vertical-align:-2px;animation:msd-spin .75s linear infinite}
@keyframes msd-spin{to{transform:rotate(360deg)}}
.smart-watchlist{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.smart-watchlist > span{
  min-width:210px!important;
  padding:18px 74px 18px 18px!important;
  min-height:168px!important;
  overflow:hidden!important;
}
.smart-watchlist > span strong{
  display:block!important;
  max-width:100%!important;
  font-size:20px!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.smart-watchlist > span em{
  display:block!important;
  margin-top:12px!important;
  font-size:23px!important;
  line-height:1!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  letter-spacing:-.04em!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.smart-watchlist > span small{
  display:block!important;
  max-width:116px!important;
  margin-top:10px!important;
  font-size:10px!important;
  line-height:1.25!important;
  color:#cbd7ea!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.smart-watchlist .watch-alert-button{
  right:14px!important;
  top:14px!important;
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:30px!important;
  padding:0!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.smart-watchlist .why-button{
  right:18px!important;
  top:58px!important;
  min-width:46px!important;
  height:28px!important;
  padding:0 10px!important;
  white-space:nowrap!important;
}
nav{min-height:54px!important;padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important;gap:6px!important}
nav button,nav a{min-height:38px!important;padding:6px 10px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
nav [data-route="/home"]::before{content:"🏠";}
nav [data-route="/"]::before,nav [data-route="/dashboard"]::before{content:"📊";}
nav [data-route="/portfolio"]::before{content:"💼";}
nav [data-route="/morning-briefing"]::before{content:"🌅";}
nav [data-route="/plans"]::before{content:"💳";}
nav [data-route="/account"]::before{content:"👤";}
nav [data-route="/covered-calls"]::before{content:"💰";}
nav [data-route="/pro-coach"]::before{content:"🤖";}
nav [data-route="/install"]::before{content:"📱";}
nav button.active,nav a.active{box-shadow:0 0 0 1px rgba(41,222,159,.35),0 12px 28px rgba(0,0,0,.24)!important}
.market-footer{margin:28px 0 0;padding:18px;border:1px solid rgba(130,170,220,.18);border-radius:18px;background:rgba(8,19,34,.75);display:grid;gap:5px;color:#b9c7dc;font-size:13px}
.market-footer strong{color:#f8fbff;font-size:15px}
.profile-note.plan-summary-note{display:grid!important;gap:8px!important}
.profile-note.plan-summary-note p{margin:0!important;line-height:1.45!important}
.billing-actions.grouped-actions{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
.billing-action-section{padding:16px!important;border:1px solid rgba(130,170,220,.2)!important;border-radius:18px!important;background:rgba(10,23,39,.72)!important;box-shadow:0 18px 45px rgba(0,0,0,.22)!important}
.billing-action-section h3{margin:0 0 10px;color:#f8fbff;font-size:15px}
.billing-action-group{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
.billing-action-group a,.billing-action-group button{background:#11253d!important;color:#f8fbff!important;border:1px solid rgba(130,170,220,.32)!important;border-radius:12px!important;padding:10px 14px!important;text-decoration:none!important;font-weight:800!important}
.billing-action-group .upgrade-action{background:linear-gradient(135deg,#0bbf84,#077b61)!important;border-color:rgba(41,222,159,.45)!important;color:#06131f!important}
.admin-only-section:has([hidden]){display:none!important}
.hook-timestamp {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: fit-content !important;
  margin: 8px 0 10px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(14, 165, 233, .14) !important;
  border: 1px solid rgba(125, 211, 252, .26) !important;
  color: #dbeafe !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  line-height: 1.2 !important;
}

/* Final launch fix: keep Smart Watchlist ticker cards readable on desktop/mobile/PWA */
html body .smart-watchlist{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;
  gap:14px!important;
}
html body .smart-watchlist > span{
  box-sizing:border-box!important;
  min-width:240px!important;
  min-height:150px!important;
  padding:18px!important;
  overflow:hidden!important;
}
html body .smart-watchlist > span strong,
html body .smart-watchlist > span em{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .smart-watchlist > span strong{
  font-size:20px!important;
  line-height:1.05!important;
  max-width:calc(100% - 72px)!important;
}
html body .smart-watchlist > span em{
  margin-top:10px!important;
  font-size:22px!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
  max-width:calc(100% - 72px)!important;
}
html body .smart-watchlist > span small{
  max-width:calc(100% - 72px)!important;
  line-height:1.25!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  color:#cbd7ea!important;
}
html body .smart-watchlist > span b{
  left:18px!important;
  right:auto!important;
  top:auto!important;
  bottom:16px!important;
  min-width:48px!important;
  height:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
html body .smart-watchlist .watch-alert-button{
  right:14px!important;
  top:14px!important;
  width:52px!important;
  min-width:52px!important;
  height:30px!important;
}
html body .smart-watchlist .why-button{
  right:17px!important;
  top:58px!important;
  width:46px!important;
  min-width:46px!important;
}
@media(max-width:640px){
  html body .smart-watchlist{grid-template-columns:1fr!important}
  html body .smart-watchlist > span{min-width:0!important}
}

.hook-timestamp{
  display:grid!important;
  gap:3px!important;
  align-items:start!important;
  justify-items:start!important;
  width:100%!important;
  max-width:100%!important;
  border-radius:18px!important;
  white-space:normal!important;
}
.hook-timestamp span{
  display:block!important;
}

/* Home Smart Watchlist readability fix */
html body .watch-card > div:not(.watch-actions){
  min-width:0!important;
  width:100%!important;
  padding-right:64px!important;
}
html body .watch-card strong,
html body .watch-card .watch-price,
html body .watch-card em,
html body .watch-card small{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .watch-card strong{
  font-size:18px!important;
  line-height:1.1!important;
}
html body .watch-card .watch-icon{
  width:auto!important;
  min-width:44px!important;
  height:28px!important;
  padding:0 8px!important;
  font-size:10px!important;
  line-height:1!important;
}

/* Final home watchlist card layout: keep content readable beside action rail */
html body .watchlist-cards{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  align-items:stretch!important;
}
html body .watch-card{
  display:block!important;
  min-height:168px!important;
  padding:16px!important;
  overflow:hidden!important;
}
html body .watch-card > div:not(.watch-actions){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding-right:72px!important;
}
html body .watch-actions{
  position:absolute!important;
  top:48px!important;
  right:14px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  width:52px!important;
  margin:0!important;
}
html body .watch-actions button{
  width:52px!important;
  min-height:34px!important;
  padding:5px 6px!important;
  white-space:nowrap!important;
  line-height:1.05!important;
  text-align:center!important;
}
html body .watch-card strong{
  font-size:20px!important;
  max-width:82px!important;
}
html body .watch-card .watch-price{
  font-size:24px!important;
  max-width:104px!important;
}
html body .watch-card small,
html body .watch-card em{
  max-width:104px!important;
}
html body .watch-change{
  min-width:54px!important;
  width:max-content!important;
  max-width:70px!important;
  white-space:nowrap!important;
  text-align:center!important;
  line-height:1.15!important;
}

/* WAIT trade-plan intelligence panel */
html body .hook-wait-panel{
  display:grid!important;
  gap:12px!important;
  margin-top:16px!important;
}
html body .hook-desk-summary{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
html body .hook-desk-summary span,
html body .hook-ai-reasoning span,
html body .hook-confirmation-grid > div{
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:14px!important;
  background:rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}
html body .hook-desk-summary span{
  padding:12px!important;
}
html body .hook-desk-summary small,
html body .hook-ai-reasoning small,
html body .hook-confirmation-grid h3{
  display:block!important;
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
html body .hook-desk-summary strong{
  display:block!important;
  margin-top:6px!important;
  color:#f8fafc!important;
  font-size:16px!important;
  line-height:1.15!important;
}

html body .hook-live-price{
  display:block!important;
  max-width:100%!important;
  margin-top:5px!important;
  color:#e8f4ff!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  line-height:1.15!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

html body .hook-live-price.gain{
  color:#35f0a8!important;
}

html body .hook-live-price.loss{
  color:#ff7a8d!important;
}

html body .hook-live-price.muted{
  color:#c5d3e4!important;
}
html body .hook-ai-reasoning{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
html body .hook-ai-reasoning h3,
html body .hook-confirmation-grid h3{
  margin:0!important;
}
html body .hook-ai-reasoning h3{
  grid-column:1/-1!important;
  color:#f8fafc!important;
  font-size:15px!important;
}
html body .hook-ai-reasoning span{
  padding:11px!important;
}
html body .hook-ai-reasoning b{
  display:inline-flex!important;
  margin-bottom:7px!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:rgba(234,179,8,.18)!important;
  color:#fde68a!important;
  font-size:9px!important;
  font-style:normal!important;
}
html body .hook-ai-reasoning span.good b{
  background:rgba(16,185,129,.18)!important;
  color:#9ff7cf!important;
}
html body .hook-ai-reasoning span.warn b{
  background:rgba(248,113,113,.16)!important;
  color:#fecaca!important;
}
html body .hook-ai-reasoning strong{
  display:block!important;
  margin-top:4px!important;
  color:#f8fafc!important;
  font-size:13px!important;
  line-height:1.25!important;
}
html body .hook-confirmation-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr)!important;
  gap:8px!important;
}
html body .hook-confirmation-grid > div{
  padding:14px!important;
}
html body .hook-confirmation-grid ul{
  margin:10px 0 0!important;
  padding-left:18px!important;
  color:#dbeafe!important;
  line-height:1.55!important;
}
html body .hook-confirmation-grid > div > strong{
  display:block!important;
  margin-top:12px!important;
  color:#9ff7cf!important;
  font-size:42px!important;
  line-height:1!important;
}

html body .hook-action-panel{
  margin-top:16px!important;
  padding-top:15px!important;
  border-top:1px solid rgba(148,163,184,.2)!important;
}

html body .hook-action-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
}

html body .hook-action-head span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:25px!important;
  padding:0 9px!important;
  border:1px solid rgba(234,179,8,.28)!important;
  border-radius:999px!important;
  background:rgba(234,179,8,.14)!important;
  color:#fde68a!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.1em!important;
}

html body .hook-action-head strong{
  color:#e8f4ff!important;
  font-size:13px!important;
}

html body .hook-action-grid{
  display:grid!important;
  grid-template-columns:1.25fr repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
}

html body .hook-action-grid article{
  min-height:122px!important;
  padding:12px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 90% 0%,rgba(45,212,191,.09),transparent 34%),
    rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}

html body .hook-action-grid small{
  display:block!important;
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}

html body .hook-action-grid p,
html body .hook-action-grid ul{
  margin:8px 0 0!important;
  color:#dbeafe!important;
  font-size:12px!important;
  line-height:1.45!important;
}

html body .hook-action-grid ul{
  padding-left:17px!important;
}

/* AI Morning Dashboard */
html body .ai-morning-dashboard{
  margin-top:14px!important;
  padding:22px!important;
  border:1px solid rgba(45,212,191,.28)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 88% 4%,rgba(16,185,129,.18) 0,transparent 28%),linear-gradient(135deg,rgba(13,31,50,.94),rgba(6,17,32,.98))!important;
  box-shadow:0 18px 45px rgba(0,0,0,.24)!important;
}
html body .morning-desk-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(170px,.25fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}
html body .morning-desk-head h2{
  margin:3px 0 7px!important;
  color:#f8fafc!important;
  font-size:32px!important;
  letter-spacing:-.045em!important;
  line-height:1.05!important;
}
html body .morning-desk-head p:not(.eyebrow){
  margin:0!important;
  color:#cbd7ea!important;
  line-height:1.45!important;
}
html body .morning-next-scan,
html body .morning-desk-grid article,
html body .morning-desk-lists article{
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:15px!important;
  background:rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}
html body .morning-next-scan{
  display:grid!important;
  align-content:center!important;
  padding:14px!important;
}
html body .morning-next-scan small,
html body .morning-desk-grid small,
html body .morning-desk-lists small{
  display:block!important;
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
html body .morning-next-scan strong{
  display:block!important;
  margin-top:7px!important;
  color:#9ff7cf!important;
  font-size:20px!important;
}
html body .morning-desk-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:14px!important;
}
html body .morning-desk-grid article,
html body .morning-desk-lists article{
  padding:13px!important;
}
html body .morning-desk-grid strong,
html body .morning-desk-lists strong{
  display:block!important;
  margin-top:7px!important;
  color:#f8fafc!important;
  line-height:1.15!important;
}
html body .morning-desk-grid strong{
  font-size:18px!important;
}
html body .morning-desk-lists{
  display:grid!important;
  grid-template-columns:1.2fr 1fr 1fr!important;
  gap:8px!important;
  margin-top:8px!important;
}
html body .morning-desk-lists strong{
  font-size:14px!important;
  line-height:1.35!important;
}
html body .morning-chip-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:9px!important;
}
html body .morning-chip-list span{
  padding:7px 9px!important;
  border:1px solid rgba(45,212,191,.24)!important;
  border-radius:999px!important;
  background:rgba(16,185,129,.12)!important;
  color:#dff7ff!important;
  font-size:11px!important;
  font-weight:900!important;
}

/* AI News & Catalyst Panel */
html body .ai-news-catalyst-panel{
  margin-top:14px!important;
  padding:20px!important;
  border:1px solid rgba(234,179,8,.26)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 92% 0%,rgba(234,179,8,.14) 0,transparent 30%),linear-gradient(135deg,rgba(13,31,50,.94),rgba(6,17,32,.98))!important;
  box-shadow:0 16px 42px rgba(0,0,0,.22)!important;
}
html body .catalyst-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  align-items:flex-start!important;
}
html body .catalyst-head h2{
  margin:3px 0 7px!important;
  color:#f8fafc!important;
  font-size:26px!important;
  letter-spacing:-.035em!important;
}
html body .catalyst-head p:not(.eyebrow){
  margin:0!important;
  color:#cbd7ea!important;
  line-height:1.45!important;
}
html body .catalyst-risk{
  flex:0 0 auto!important;
  padding:8px 11px!important;
  border:1px solid currentColor!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
html body .catalyst-risk.bullish{color:#9ff7cf!important;background:rgba(16,185,129,.16)!important}
html body .catalyst-risk.neutral{color:#fde68a!important;background:rgba(234,179,8,.16)!important}
html body .catalyst-risk.bearish{color:#fecaca!important;background:rgba(248,113,113,.14)!important}
html body .catalyst-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:14px!important;
}
html body .catalyst-grid article{
  min-height:132px!important;
  padding:13px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:15px!important;
  background:rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}
html body .catalyst-grid article.high{border-color:rgba(248,113,113,.34)!important;background:rgba(69,20,29,.52)!important}
html body .catalyst-grid article.medium{border-color:rgba(234,179,8,.32)!important;background:rgba(64,45,10,.46)!important}
html body .catalyst-grid article.low{border-color:rgba(16,185,129,.28)!important;background:rgba(9,48,43,.48)!important}
html body .catalyst-grid div{
  display:flex!important;
  justify-content:space-between!important;
  gap:8px!important;
  align-items:center!important;
}
html body .catalyst-grid small{
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
html body .catalyst-grid span{
  padding:4px 7px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.78)!important;
  color:#dff7ff!important;
  font-size:9px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
}
html body .catalyst-grid strong{
  display:block!important;
  margin-top:10px!important;
  color:#f8fafc!important;
  font-size:14px!important;
  line-height:1.25!important;
}
html body .catalyst-grid p{
  margin:8px 0 0!important;
  color:#cbd7ea!important;
  font-size:12px!important;
  line-height:1.35!important;
}

/* Economic Calendar Panel */
html body .economic-calendar-panel{
  margin-top:14px!important;
  padding:20px!important;
  border:1px solid rgba(234,179,8,.24)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,rgba(13,31,50,.94),rgba(6,17,32,.98))!important;
  box-shadow:0 16px 42px rgba(0,0,0,.22)!important;
}
html body .calendar-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  align-items:flex-start!important;
}
html body .calendar-head h2{
  margin:3px 0 7px!important;
  color:#f8fafc!important;
  font-size:26px!important;
  letter-spacing:-.035em!important;
}
html body .calendar-head p:not(.eyebrow){
  margin:0!important;
  color:#cbd7ea!important;
  line-height:1.45!important;
}
html body .calendar-risk{
  flex:0 0 auto!important;
  padding:8px 11px!important;
  border:1px solid currentColor!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
html body .calendar-risk.bullish{color:#9ff7cf!important;background:rgba(16,185,129,.16)!important}
html body .calendar-risk.neutral{color:#fde68a!important;background:rgba(234,179,8,.16)!important}
html body .calendar-risk.bearish{color:#fecaca!important;background:rgba(248,113,113,.14)!important}
html body .home-economic-calendar{
  display:grid!important;
  gap:8px!important;
  margin-top:14px!important;
}
html body .home-economic-calendar article{
  display:grid!important;
  grid-template-columns:110px minmax(0,1fr) 88px!important;
  gap:12px!important;
  align-items:center!important;
  padding:13px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:15px!important;
  background:rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}
html body .home-economic-calendar article.high{border-color:rgba(248,113,113,.34)!important;background:rgba(69,20,29,.52)!important}
html body .home-economic-calendar article.medium{border-color:rgba(234,179,8,.32)!important;background:rgba(64,45,10,.46)!important}
html body .home-economic-calendar article.low{border-color:rgba(16,185,129,.28)!important;background:rgba(9,48,43,.48)!important}
html body .home-economic-calendar time{
  color:#f8fafc!important;
  font-size:13px!important;
  font-weight:950!important;
}
html body .home-economic-calendar strong{
  display:block!important;
  color:#f8fafc!important;
  font-size:15px!important;
}
html body .home-economic-calendar p{
  margin:5px 0 0!important;
  color:#cbd7ea!important;
  font-size:12px!important;
  line-height:1.35!important;
}
html body .home-economic-calendar span{
  justify-self:end!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.78)!important;
  color:#dff7ff!important;
  font-size:10px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
}
html body .scanner-suite-card{
  background:linear-gradient(135deg,rgba(13,31,50,.94),rgba(6,17,32,.98))!important;
  border-color:rgba(45,230,161,.28)!important;
}
html body .market-intel-panel{
  margin-top:14px!important;
  padding:20px!important;
  border:1px solid rgba(45,212,191,.28)!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 94% 0%,rgba(16,185,129,.16) 0,transparent 30%),linear-gradient(135deg,rgba(13,31,50,.94),rgba(6,17,32,.98))!important;
  box-shadow:0 18px 45px rgba(0,0,0,.24)!important;
}
html body .market-intel-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  align-items:flex-start!important;
}
html body .market-intel-head h2{
  margin:3px 0 7px!important;
  color:#f8fafc!important;
  font-size:27px!important;
  letter-spacing:-.035em!important;
}
html body .market-intel-head p:not(.eyebrow){
  margin:0!important;
  color:#cbd7ea!important;
  line-height:1.45!important;
}
html body .market-intel-badge{
  flex:0 0 auto!important;
  padding:8px 11px!important;
  border:1px solid currentColor!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
html body .market-intel-badge.bullish{color:#9ff7cf!important;background:rgba(16,185,129,.16)!important}
html body .market-intel-badge.neutral{color:#fde68a!important;background:rgba(234,179,8,.16)!important}
html body .market-intel-badge.bearish{color:#fecaca!important;background:rgba(248,113,113,.14)!important}
html body .market-intel-grid{
  display:grid!important;
  grid-template-columns:1.15fr 1fr 1fr 1fr!important;
  gap:10px!important;
  margin-top:14px!important;
}
html body .intel-card,
html body .trending-list article,
html body .earnings-list article,
html body .sector-heatmap span,
html body .breadth-grid span,
html body .ai-explain-strip{
  border:1px solid rgba(148,163,184,.18)!important;
  background:rgba(13,31,50,.82)!important;
  color:#dbeafe!important;
}
html body .intel-card{
  min-height:220px!important;
  padding:14px!important;
  border-radius:17px!important;
}
html body .intel-card-head strong,
html body .trending-list strong,
html body .earnings-list strong,
html body .sector-heatmap strong,
html body .breadth-grid strong,
html body .ai-explain-strip strong{
  color:#f8fafc!important;
}
html body .trending-list,
html body .earnings-list{
  display:grid!important;
  gap:8px!important;
  margin-top:12px!important;
}
html body .trending-list article{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px!important;
  border-radius:13px!important;
}
html body .earnings-list article{
  display:grid!important;
  grid-template-columns:70px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px!important;
  border-radius:13px!important;
}
html body .trending-list span,
html body .earnings-list span{
  display:grid!important;
  place-items:center!important;
  min-height:36px!important;
  padding:6px!important;
  border-radius:11px!important;
  background:rgba(16,185,129,.14)!important;
  color:#9ff7cf!important;
  font-size:12px!important;
  font-weight:950!important;
}
html body .trending-list small,
html body .earnings-list small,
html body .ai-explain-strip p{
  color:#cbd7ea!important;
}
html body .trending-list b{
  color:#9ff7cf!important;
  font-size:11px!important;
  white-space:nowrap!important;
}
html body .sector-heatmap,
html body .breadth-grid{
  display:grid!important;
  grid-template-columns:repeat(2,1fr)!important;
  gap:8px!important;
  margin-top:12px!important;
}
html body .sector-heatmap span,
html body .breadth-grid span{
  padding:12px!important;
  border-radius:13px!important;
}
html body .sector-heatmap span.bullish{border-color:rgba(16,185,129,.28)!important;background:rgba(9,48,43,.48)!important}
html body .sector-heatmap span.bearish{border-color:rgba(248,113,113,.34)!important;background:rgba(69,20,29,.52)!important}
html body .sector-heatmap span.neutral{border-color:rgba(234,179,8,.32)!important;background:rgba(64,45,10,.46)!important}
html body .sector-heatmap small,
html body .breadth-grid small{
  display:block!important;
  margin-bottom:5px!important;
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
html body .ai-explain-strip{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  align-items:center!important;
  margin-top:12px!important;
  padding:15px!important;
  border-radius:17px!important;
}
html body .ai-explain-strip a{
  flex:0 0 auto!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
  color:#f9fffc!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
html body .scanner-suite-stack{
  display:grid!important;
  gap:14px!important;
}
html body .scanner-suite-stack .home-card{
  margin:0!important;
}
html body .scanner-suite-card .eyebrow{
  color:#9ee8cf!important;
}
html body .scanner-home-strip{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:8px!important;
  margin-top:12px!important;
}
html body .scanner-home-strip span{
  padding:11px!important;
  border:1px solid rgba(148,163,184,.18)!important;
  border-radius:13px!important;
  background:rgba(13,31,50,.82)!important;
}
html body .scanner-home-strip small{
  display:block!important;
  color:#b9c7d8!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
html body .scanner-home-strip strong{
  display:block!important;
  margin-top:5px!important;
  color:#f8fafc!important;
  font-size:13px!important;
  line-height:1.15!important;
}
@media(max-width:900px){
  html body .hook-desk-summary,
  html body .hook-ai-reasoning,
  html body .hook-confirmation-grid{grid-template-columns:1fr 1fr!important}
  html body .hook-ai-reasoning h3{grid-column:1/-1!important}
  html body .morning-desk-grid{grid-template-columns:repeat(3,1fr)!important}
  html body .morning-desk-lists{grid-template-columns:1fr!important}
  html body .catalyst-grid{grid-template-columns:repeat(2,1fr)!important}
  html body .market-intel-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
  html body .hook-desk-summary,
  html body .hook-ai-reasoning,
  html body .hook-confirmation-grid{grid-template-columns:1fr!important}
  html body .morning-desk-head,
  html body .morning-desk-grid{grid-template-columns:1fr!important}
  html body .ai-morning-dashboard{padding:18px!important}
  html body .morning-desk-head h2{font-size:27px!important}
  html body .catalyst-head{flex-direction:column!important}
  html body .catalyst-grid{grid-template-columns:1fr!important}
  html body .calendar-head{flex-direction:column!important}
  html body .home-economic-calendar article{grid-template-columns:1fr!important}
  html body .home-economic-calendar span{justify-self:start!important}
  html body .market-intel-head,
  html body .ai-explain-strip{flex-direction:column!important;align-items:stretch!important}
  html body .market-intel-grid,
  html body .sector-heatmap,
  html body .breadth-grid{grid-template-columns:1fr!important}
  html body .scanner-home-strip{grid-template-columns:1fr!important}
}
html body.dashboard-focused header{
  height:auto!important;
  min-height:84px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  padding-block:12px!important;
}
html body.dashboard-focused .dashboard-nav{
  position:static!important;
  inset:auto!important;
  display:flex!important;
  order:3!important;
  flex:1 1 100%!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  overflow-x:auto!important;
}
html body.dashboard-focused .dashboard-nav button{
  flex:0 0 auto!important;
  min-height:38px!important;
  padding:9px 14px!important;
  border:1px solid rgba(101,200,255,.20)!important;
  border-radius:12px!important;
  background:rgba(13,31,50,.72)!important;
  color:#dbeafe!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
html body.dashboard-focused .dashboard-nav .active{
  border-color:rgba(101,200,255,.38)!important;
  background:linear-gradient(135deg,rgba(28,48,78,.95),rgba(12,24,44,.95))!important;
  color:#fff!important;
}
html body.dashboard-focused main{
  padding-bottom:52px!important;
}
@media(max-width:900px){
  html body.dashboard-focused .dashboard-nav{
    flex-basis:100%!important;
    justify-content:flex-start!important;
  }
}
html body .account-nav,
html body.dashboard-focused .dashboard-nav{
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  min-height:0!important;
  padding:0!important;
  border-top:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
html body .account-nav a,
html body .account-nav button,
html body.dashboard-focused .dashboard-nav button{
  border-color:rgba(45,230,161,.30)!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
  color:#f9fffc!important;
  box-shadow:0 12px 28px rgba(9,117,89,.22),inset 0 1px rgba(255,255,255,.14)!important;
}
html body .account-nav a:nth-child(2),
html body .account-nav button:nth-child(2),
html body.dashboard-focused .dashboard-nav button:nth-child(2){
  border-color:rgba(95,185,255,.36)!important;
  background:linear-gradient(135deg,#123757,#1e5f96)!important;
}
html body .account-nav a:nth-child(3),
html body .account-nav button:nth-child(3),
html body.dashboard-focused .dashboard-nav button:nth-child(3){
  border-color:rgba(16,185,129,.34)!important;
  background:linear-gradient(135deg,#0d7f66,#18b98e)!important;
}
html body .account-nav a:nth-child(4),
html body .account-nav button:nth-child(4),
html body.dashboard-focused .dashboard-nav button:nth-child(4){
  border-color:rgba(87,168,255,.34)!important;
  background:linear-gradient(135deg,#0d6b92,#1aa8c8)!important;
}
html body .account-nav a:nth-child(5),
html body .account-nav button:nth-child(5),
html body.dashboard-focused .dashboard-nav button:nth-child(5){
  border-color:rgba(45,230,161,.30)!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
}
html body.dashboard-focused .dashboard-nav button:nth-child(6){
  border-color:rgba(167,139,250,.36)!important;
  background:linear-gradient(135deg,#3c2679,#6d4ed3)!important;
}
html body.dashboard-focused .dashboard-nav button:nth-child(7){
  border-color:rgba(251,191,36,.38)!important;
  background:linear-gradient(135deg,#9a5f08,#d99114)!important;
}
html body.dashboard-focused .dashboard-nav button:nth-child(8){
  border-color:rgba(45,230,161,.30)!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
}
html body.dashboard-focused .dashboard-nav button:nth-child(9){
  border-color:rgba(45,230,161,.30)!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
}
html body.dashboard-focused .dashboard-nav button:nth-child(10){
  border-color:rgba(87,168,255,.34)!important;
  background:linear-gradient(135deg,#123757,#1e5f96)!important;
}
html body .account-nav a,
html body .account-nav button,
html body.dashboard-focused .dashboard-nav button{
  border-color:rgba(96,165,250,.30)!important;
  background:linear-gradient(135deg,#0b1f36,#123453)!important;
  color:#f8fbff!important;
  box-shadow:0 12px 28px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.12)!important;
}
html body .account-nav a[href="/dashboard"],
html body .account-nav button[data-route="/dashboard"],
html body.dashboard-focused .dashboard-nav button[data-route="/dashboard"]{
  border-color:rgba(95,185,255,.52)!important;
  background:linear-gradient(135deg,#123d66,#1f78b8)!important;
  box-shadow:0 14px 30px rgba(31,120,184,.26),inset 0 1px rgba(255,255,255,.16)!important;
}
html body .account-nav a[href="/global-markets"],
html body .account-nav button[data-route="/global-markets"],
html body.dashboard-focused .dashboard-nav button[data-route="/global-markets"]{
  border-color:rgba(45,230,161,.46)!important;
  background:linear-gradient(135deg,#08745e,#18bf91)!important;
  box-shadow:0 14px 30px rgba(24,191,145,.24),inset 0 1px rgba(255,255,255,.16)!important;
}
html body .account-nav a[href="/plans"],
html body .account-nav button[data-route="/plans"],
html body.dashboard-focused .dashboard-nav button[data-route="/plans"]{
  border-color:rgba(251,191,36,.48)!important;
  background:linear-gradient(135deg,#8a5a0b,#d29117)!important;
  box-shadow:0 14px 30px rgba(210,145,23,.24),inset 0 1px rgba(255,255,255,.16)!important;
}
html body .swing-page-intro,
html body .swing-page-strip article,
html body .swing-filter-card,
html body .swing-summary-card,
html body .swing-results-panel,
html body .swing-card,
html body .swing-summary-grid div,
html body .swing-level-grid span,
html body .swing-indicator-grid span{
  border-color:rgba(87,168,255,.22)!important;
  background:linear-gradient(145deg,rgba(18,32,52,.93),rgba(8,16,29,.98))!important;
  color:#f8fafc!important;
  box-shadow:0 18px 46px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.05)!important;
}
html body .swing-page-intro h1,
html body .swing-filter-card h2,
html body .swing-summary-card h2,
html body .swing-results-panel h2,
html body .swing-card h3,
html body .swing-page-strip strong,
html body .swing-summary-grid strong,
html body .swing-level-grid strong,
html body .swing-indicator-grid strong{
  color:#f8fafc!important;
}
html body .swing-page-intro p,
html body .swing-explanation,
html body .swing-card-top span,
html body .swing-guidance-box p,
html body .swing-note{
  color:#cbd5e1!important;
}
html body .swing-filter-grid input,
html body .swing-filter-grid select{
  border-color:rgba(87,168,255,.25)!important;
  background:#081525!important;
  color:#eaf6ff!important;
}
html body .swing-guidance-box,
html body .swing-empty,
html body .swing-loading{
  border:1px solid rgba(45,212,191,.22)!important;
  background:rgba(13,31,50,.86)!important;
  color:#dff7ff!important;
}
html body .swing-score{
  border-color:rgba(87,168,255,.25)!important;
  background:rgba(8,21,37,.95)!important;
  color:#f8fafc!important;
}
html body .swing-score.positive{
  border-color:rgba(45,230,161,.32)!important;
  background:rgba(8,48,39,.88)!important;
  color:#9ff7cf!important;
}
html body .swing-score.negative{
  border-color:rgba(248,113,113,.28)!important;
  background:rgba(69,20,29,.70)!important;
  color:#fecaca!important;
}
html body .swing-badges span{
  border-color:rgba(148,163,184,.20)!important;
  background:rgba(15,23,42,.78)!important;
  color:#dbeafe!important;
}
html body .swing-badges .positive{
  border-color:rgba(45,230,161,.30)!important;
  background:rgba(16,185,129,.14)!important;
  color:#9ff7cf!important;
}
html body .swing-badges .negative{
  border-color:rgba(248,113,113,.30)!important;
  background:rgba(248,113,113,.12)!important;
  color:#fecaca!important;
}
html body .watch-card .watch-rating{
  display:inline-flex!important;
  width:max-content!important;
  max-width:112px!important;
  margin-top:7px!important;
  padding:5px 8px!important;
  border:1px solid rgba(45,212,191,.28)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(16,185,129,.20),rgba(14,116,144,.16))!important;
  color:#dff7ff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.22)!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .home-hero-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:18px!important;
}
html body .home-hero-actions a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:11px 15px!important;
  border:1px solid rgba(45,230,161,.35)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#0b7c5d,#17c991)!important;
  color:#f9fffc!important;
  font-size:12px!important;
  font-weight:950!important;
  text-decoration:none!important;
  box-shadow:0 12px 28px rgba(9,117,89,.22),inset 0 1px rgba(255,255,255,.14)!important;
}
html body .home-hero-actions a:nth-child(2){
  border-color:rgba(95,185,255,.36)!important;
  background:linear-gradient(135deg,#123757,#1e5f96)!important;
  color:#f8fafc!important;
}
@media(max-width:650px){
  html body .home-hero-actions,
  html body .home-hero-actions a{width:100%!important}
}
html body .terminal-market-strip .market-open-chip.is-open{
  border-color:rgba(45,230,161,.44)!important;
  background:linear-gradient(135deg,rgba(10,84,61,.92),rgba(8,35,31,.92))!important;
  color:#9ff7cf!important;
}
html body .terminal-market-strip .market-open-chip.is-open::before{
  background:#28e6a1!important;
  box-shadow:0 0 12px rgba(40,230,161,.9)!important;
}
html body .terminal-market-strip .market-open-chip.is-closed{
  border-color:rgba(255,97,120,.48)!important;
  background:linear-gradient(135deg,rgba(87,21,35,.92),rgba(34,10,18,.92))!important;
  color:#fecaca!important;
}
html body .terminal-market-strip .market-open-chip.is-closed::before{
  background:#ff6178!important;
  box-shadow:0 0 12px rgba(255,97,120,.78)!important;
}
html body .terminal-market-strip .market-open-chip.is-neutral{
  border-color:rgba(95,185,255,.42)!important;
  background:linear-gradient(135deg,rgba(20,54,86,.92),rgba(8,24,42,.92))!important;
  color:#bde7ff!important;
}
html body .terminal-market-strip .market-open-chip.is-neutral::before{
  background:#5fb9ff!important;
  box-shadow:0 0 12px rgba(95,185,255,.72)!important;
}
html body .briefing-centerpiece{
  padding:18px!important;
  border-radius:22px!important;
}
html body .briefing-centerpiece .card-head{
  align-items:flex-start!important;
  gap:12px!important;
}
html body .briefing-centerpiece .card-head h2{
  font-size:clamp(30px,4vw,48px)!important;
  line-height:1.02!important;
  letter-spacing:-.05em!important;
  max-width:640px!important;
}
html body .briefing-centerpiece .card-head a{
  min-height:36px!important;
  padding:8px 12px!important;
  font-size:11px!important;
  border-radius:12px!important;
}
html body .briefing-layout{
  grid-template-columns:minmax(0,1.45fr) minmax(260px,.65fr)!important;
  gap:12px!important;
  margin-top:10px!important;
}
html body .briefing-main{
  gap:10px!important;
}
html body .briefing-main #brief-summary{
  padding:14px 16px!important;
  border-radius:15px!important;
  font-size:14px!important;
  line-height:1.48!important;
}
html body .insight-box{
  padding:14px 16px!important;
  border-radius:15px!important;
}
html body .insight-box strong{
  font-size:17px!important;
}
html body .insight-box p{
  margin-top:6px!important;
  font-size:13px!important;
  line-height:1.45!important;
}
html body .briefing-side{
  gap:10px!important;
}
html body .briefing-side>div{
  padding:12px!important;
  border-radius:15px!important;
}
html body .briefing-side .pill-list{
  gap:6px!important;
  margin-top:10px!important;
}
html body .briefing-side .pill-list span{
  padding:6px 9px!important;
  font-size:10px!important;
}
html body .mini-list.compact{
  gap:8px!important;
}
html body .mini-list.compact article{
  padding:9px 10px!important;
  border-radius:13px!important;
}
html body .mini-list.compact strong{
  font-size:13px!important;
  line-height:1.25!important;
}
html body .mini-list.compact small{
  font-size:9px!important;
}
@media(max-width:1100px){
  html body .briefing-layout{grid-template-columns:1fr!important}
}
@media(max-width:650px){
  html body .briefing-centerpiece .card-head h2{font-size:30px!important}
}

/* Final iPhone/PWA home compression. Keep the installed app short and command-center-like. */
@media(max-width:640px){
  html body .account-header{
    min-height:0!important;
    padding:10px 12px!important;
    border-radius:0 0 18px 18px!important;
  }
  html body .account-brand{gap:9px!important}
  html body .account-mark{width:38px!important;height:38px!important;border-radius:12px!important;font-size:11px!important}
  html body .account-brand strong{font-size:15px!important}
  html body .account-brand small{display:none!important}
  html body .account-nav{
    display:flex!important;
    width:100%!important;
    gap:7px!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:4px 0 2px!important;
    scrollbar-width:none!important;
  }
  html body .account-nav::-webkit-scrollbar{display:none!important}
  html body .account-nav a,
  html body .account-nav button{
    flex:0 0 auto!important;
    width:auto!important;
    min-height:34px!important;
    padding:8px 11px!important;
    border-radius:11px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  html body .home-main{padding:8px 0 34px!important}
  html body .home-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    padding:12px!important;
    align-items:center!important;
    border-radius:16px!important;
  }
  html body .home-hero .eyebrow,
  html body #home-subtitle,
  html body .home-hero-actions,
  html body .morning-desk-head p:not(.eyebrow),
  html body .catalyst-head p:not(.eyebrow),
  html body .calendar-head p:not(.eyebrow),
  html body .market-intel-head p:not(.eyebrow){display:none!important}
  html body .home-hero h1{margin:0!important;font-size:24px!important;line-height:1.02!important}
  html body .home-plan{width:auto!important;min-width:82px!important;padding:9px 10px!important;border-radius:13px!important}
  html body .home-plan small{display:none!important}
  html body .home-plan strong{margin-top:0!important;font-size:14px!important}
  html body .home-plan span{font-size:9px!important}

  html body .ai-morning-dashboard,
  html body .ai-news-catalyst-panel,
  html body .economic-calendar-panel,
  html body .market-intel-panel{margin-top:8px!important;padding:12px!important;border-radius:16px!important}
  html body .morning-desk-head,
  html body .catalyst-head,
  html body .calendar-head,
  html body .market-intel-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:start!important;
  }
  html body .morning-desk-head h2,
  html body .catalyst-head h2,
  html body .calendar-head h2,
  html body .market-intel-head h2{font-size:19px!important;line-height:1.1!important;margin:0!important}
  html body .morning-next-scan{padding:8px!important;border-radius:12px!important;min-width:94px!important}
  html body .morning-next-scan strong{font-size:13px!important;margin-top:3px!important}
  html body .morning-desk-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:10px!important}
  html body .morning-desk-grid article,
  html body .morning-desk-lists article{padding:9px!important;border-radius:12px!important}
  html body .morning-desk-grid article:nth-child(4),
  html body .morning-desk-grid article:nth-child(5),
  html body .morning-desk-lists article:nth-child(3){display:none!important}
  html body .morning-desk-grid strong{font-size:14px!important;margin-top:4px!important}
  html body .morning-desk-lists{grid-template-columns:1fr!important;gap:6px!important;margin-top:6px!important}
  html body .morning-chip-list{gap:5px!important;margin-top:6px!important}
  html body .morning-chip-list span{padding:5px 7px!important;font-size:10px!important}

  html body .catalyst-risk,
  html body .calendar-risk,
  html body .market-intel-badge{padding:6px 8px!important;font-size:8px!important}
  html body .catalyst-grid{grid-template-columns:1fr!important;gap:6px!important;margin-top:9px!important}
  html body .catalyst-grid article{min-height:0!important;padding:10px!important;border-radius:12px!important}
  html body .catalyst-grid article:nth-child(n+3){display:none!important}
  html body .catalyst-grid strong{margin-top:6px!important;font-size:13px!important}
  html body .catalyst-grid p{display:none!important}
  html body .home-economic-calendar{gap:6px!important;margin-top:9px!important}
  html body .home-economic-calendar article{
    grid-template-columns:74px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:9px!important;
    border-radius:12px!important;
  }
  html body .home-economic-calendar article:nth-child(n+3){display:none!important}
  html body .home-economic-calendar strong{font-size:12px!important}
  html body .home-economic-calendar p{display:none!important}
  html body .home-economic-calendar span{font-size:8px!important;padding:5px 7px!important}
  html body .market-intel-grid{grid-template-columns:1fr!important;gap:7px!important;margin-top:9px!important}
  html body .intel-card{min-height:0!important;padding:10px!important;border-radius:13px!important}
  html body .intel-card:nth-child(n+3){display:none!important}
  html body .intel-card-head strong{font-size:14px!important}
  html body .trending-list,
  html body .earnings-list{gap:6px!important;margin-top:8px!important}
  html body .trending-list article,
  html body .earnings-list article{padding:8px!important;border-radius:11px!important}
  html body .ai-explain-strip,
  html body .install-reminder-card,
  html body .focus-panel,
  html body .snapshot-grid,
  html body .market-intel-panel,
  html body .engine-command,
  html body .briefing-command,
  html body .ai-recommendation{display:none!important}

  html body .daily-hooks-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important}
  html body .daily-trade-hook{padding:12px!important;border-radius:16px!important}
  html body .hook-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  html body .hook-header h2{font-size:20px!important;line-height:1.1!important}
  html body .hook-trade-body{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:8px!important;margin-top:10px!important}
  html body .hook-symbol{min-width:0!important;width:auto!important;padding:10px!important;border-radius:13px!important}
  html body .hook-symbol strong{font-size:22px!important}
  html body .hook-symbol span{padding:5px 7px!important;font-size:10px!important}
  html body .hook-trade-levels{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:auto!important}
  html body .hook-trade-levels span{padding:8px!important;border-radius:11px!important}
  html body .hook-trade-levels span:nth-child(4),
  html body .hook-trade-levels span:nth-child(5){display:none!important}
  html body .hook-trade-levels strong{font-size:12px!important;margin-top:3px!important}
  html body .daily-trade-hook>p{margin-top:9px!important;font-size:12px!important;line-height:1.35!important}
  html body .hook-wait-panel,
  html body .hook-reasons{display:none!important}
  html body .daily-retention-hooks{display:none!important}
  html body .voice-hook,
  html body .email-hook{padding:10px!important;border-radius:16px!important}
  html body .hook-mini-head{gap:6px!important}
  html body .hook-mini-head strong{font-size:13px!important}
  html body .voice-hook p,
  html body .email-hook p,
  html body .email-preview-lines,
  html body .daily-email-status,
  html body .hook-timestamp{display:none!important}
  html body .voice-hook button,
  html body .email-hook button{min-height:36px!important;margin-top:8px!important;border-radius:11px!important;font-size:11px!important}

  html body .quick-actions{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:8px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body .quick-actions a{min-height:38px!important;padding:8px 6px!important;font-size:10px!important;border-radius:12px!important;justify-content:center!important}
  html body .quick-actions a:nth-child(n+7),
  html body .quick-actions span{display:none!important}

  html body .home-video-section{display:none!important}
  html body .home-video-head{display:grid!important;gap:8px!important}
  html body .home-video-head h2{font-size:18px!important;margin:0!important}
  html body .home-video-head p:not(.eyebrow),
  html body .home-video-head a,
  html body .home-tour-player .tour-stage,
  html body .home-tour-player .tour-controls a{display:none!important}
  html body .home-tour-player{grid-template-columns:1fr!important;padding:10px!important;border-radius:14px!important}
  html body .home-tour-player .tour-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:0!important;background:transparent!important}

  html body .home-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important}
  html body .home-card{padding:12px!important;border-radius:16px!important}
  html body .home-card h2{font-size:18px!important;margin:0!important}
  html body .home-card p{font-size:12px!important;line-height:1.35!important}
  html body .home-card:nth-child(n+2),
  html body .score-card{display:none!important}
  html body .watchlist-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:9px!important}
  html body .watch-card{min-height:112px!important;padding:10px!important;border-radius:13px!important}
  html body .watch-card:nth-child(n+5){display:none!important}
  html body .watch-actions{display:none!important}
  html body .watch-card > div:not(.watch-actions){padding-right:44px!important}
  html body .watch-card strong{font-size:15px!important;max-width:72px!important}
  html body .watch-card .watch-price{font-size:17px!important;max-width:86px!important}
  html body .watch-card small,
  html body .watch-card em{font-size:9px!important;max-width:82px!important}
  html body .watch-card .watch-icon{min-width:34px!important;height:24px!important;padding:0 6px!important;font-size:8px!important}
  html body .watch-card .watch-rating{display:none!important}
  html body .portfolio-metrics,
  html body .income-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  html body .portfolio-metrics div,
  html body .income-snapshot div{padding:9px!important;border-radius:11px!important}
  html body .portfolio-metrics strong,
  html body .income-snapshot strong{font-size:15px!important}
  html body .market-footer{margin-top:10px!important;font-size:10px!important}
  html body #global-ask-ai-open{
    right:12px!important;
    bottom:12px!important;
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    padding:0!important;
    border-radius:999px!important;
    font-size:0!important;
    box-shadow:0 14px 34px rgba(0,0,0,.38)!important;
  }
  html body #global-ask-ai-open::before{
    content:"AI";
    font-size:13px!important;
    font-weight:950!important;
    letter-spacing:.02em!important;
  }
}

/* Final contrast pass for cream briefing/status chips in the dark app. */
html body main :is(.data-mode,.sentiment-card span,#report-timezone,.report-head > span,.streak-pill,.briefing-message,.engine-score span,.daily-risk-badge.medium,.risk-medium,.moderate-risk){
  background:linear-gradient(145deg,#fffaf1,#f4e4c8)!important;
  border:1px solid #d6b47e!important;
  color:#18324a!important;
  text-shadow:none!important;
}

html body main :is(.data-mode,.sentiment-card span,#report-timezone,.report-head > span,.streak-pill,.briefing-message,.engine-score span,.daily-risk-badge.medium,.risk-medium,.moderate-risk) *{
  color:#18324a!important;
  text-shadow:none!important;
}

html body main .sentiment-card span{
  font-weight:950!important;
}

/* Account page compact profile cards */
html body .account-main{
  align-items:start!important;
  min-height:auto!important;
  padding:24px 0 44px!important;
}

html body .profile-wrap{
  width:min(980px,100%)!important;
}

html body .profile-card{
  padding:24px!important;
  border-radius:20px!important;
}

html body .profile-top{
  align-items:center!important;
  margin-bottom:18px!important;
}

html body .profile-card h1{
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

html body .profile-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:0!important;
}

html body .profile-item{
  min-height:118px!important;
  padding:16px 18px!important;
  border-radius:14px!important;
}

html body .profile-item small{
  color:#aebed3!important;
  font-size:10px!important;
  letter-spacing:.08em!important;
}

html body .profile-item strong{
  display:block!important;
  max-width:100%!important;
  margin-top:10px!important;
  color:#f6fbff!important;
  font-size:clamp(19px,2.2vw,28px)!important;
  line-height:1.12!important;
  letter-spacing:0!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

html body #account-email{
  font-size:clamp(18px,2vw,24px)!important;
}

html body #account-status,
html body .profile-item:nth-child(4) strong{
  font-size:clamp(18px,2vw,24px)!important;
}

@media(max-width:720px){
  html body .profile-grid{
    grid-template-columns:1fr!important;
  }

  html body .profile-item{
    min-height:0!important;
  }
}

html body .premium-trade-plan{
  grid-template-columns:minmax(0,1.75fr) minmax(250px,.6fr)!important;
  margin-top:14px!important;
}

html body .premium-trade-plan .daily-trade-hook{
  border-color:rgba(45,212,191,.62)!important;
  background:radial-gradient(circle at 86% 0%,rgba(16,185,129,.24) 0,transparent 30%),linear-gradient(135deg,rgba(6,17,32,.98),rgba(11,38,56,.98))!important;
  box-shadow:0 24px 60px rgba(0,0,0,.34),0 0 0 1px rgba(45,212,191,.12) inset!important;
}

html body .premium-trade-plan .hook-header h2{
  color:#f8fafc!important;
  font-size:36px!important;
}

html body .hook-confidence-breakdown{
  display:grid!important;
  grid-template-columns:1.2fr repeat(5,minmax(78px,1fr))!important;
  gap:8px!important;
  margin-top:14px!important;
}

html body .hook-confidence-breakdown div,
html body .hook-confidence-breakdown span{
  padding:11px!important;
  border:1px solid rgba(45,212,191,.24)!important;
  border-radius:14px!important;
  background:rgba(6,17,32,.58)!important;
}

html body .hook-confidence-breakdown small{
  display:block!important;
  color:#a8c1d7!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}

html body .hook-confidence-breakdown strong{
  display:block!important;
  margin-top:5px!important;
  color:#f8fafc!important;
  font-size:14px!important;
  line-height:1.15!important;
}

@media(max-width:980px){
  html body .premium-trade-plan{grid-template-columns:1fr!important}
  html body .hook-confidence-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:650px){
  html body .premium-trade-plan .hook-header h2{font-size:24px!important}
  html body .hook-confidence-breakdown{grid-template-columns:1fr!important}
}

/* Final nav accent pass: keep the bar premium, but make key actions visible. */
html body .account-header .account-nav a,
html body .account-header .account-nav button,
html body.dashboard-focused header .dashboard-nav button{
  border-color:rgba(96,165,250,.34)!important;
  background:linear-gradient(135deg,#0a1e34,#122f4d)!important;
  color:#f8fbff!important;
  box-shadow:0 12px 30px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.12)!important;
}

html body .account-header .account-nav a[href="/dashboard"],
html body .account-header .account-nav button[data-route="/dashboard"],
html body.dashboard-focused header .dashboard-nav button[data-route="/dashboard"]{
  border-color:rgba(56,189,248,.76)!important;
  background:linear-gradient(135deg,#12639b,#2496d6)!important;
  box-shadow:0 16px 34px rgba(36,150,214,.34),inset 0 1px rgba(255,255,255,.18)!important;
}

html body .account-header .account-nav a[href="/global-markets"],
html body .account-header .account-nav button[data-route="/global-markets"],
html body.dashboard-focused header .dashboard-nav button[data-route="/global-markets"]{
  border-color:rgba(45,230,161,.76)!important;
  background:linear-gradient(135deg,#078266,#20d39f)!important;
  box-shadow:0 16px 34px rgba(32,211,159,.30),inset 0 1px rgba(255,255,255,.18)!important;
}

html body .account-header .account-nav a[href="/plans"],
html body .account-header .account-nav button[data-route="/plans"],
html body.dashboard-focused header .dashboard-nav button[data-route="/plans"]{
  border-color:rgba(251,191,36,.82)!important;
  background:linear-gradient(135deg,#9a650b,#e1a21a)!important;
  box-shadow:0 16px 34px rgba(225,162,26,.30),inset 0 1px rgba(255,255,255,.18)!important;
}
