/* EZDOLLARSMYFX.app v4 look (21 Nov 2026) — loaded AFTER styles.css.
   Presentation only: no element is hidden that the app relies on. Remove this
   <link> to return to the previous look. */
:root{
  --bg:#070B10;--panel:#0E151D;--panel2:#0A1118;--line:#1C2733;--line2:#2A3846;
  --text:#EAF0F5;--muted:#A9B6C4;--gold:#E4B54E;--green:#2FD58A;--red:#FF6B6B;
  --r:20px;--display:"Space Grotesk",Inter,ui-sans-serif,system-ui,sans-serif
}
html,body{background:var(--bg)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,.market-price,.outlook-side,.page-intro h1,.ez-display{font-family:var(--display);letter-spacing:-.01em}
.eyebrow,.kicker{letter-spacing:.08em;font-weight:700;color:#D9BE7A}
.tiny{color:#8C9BAB}

/* surfaces */
.card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:var(--r);box-shadow:none}
.pill{font-weight:700;letter-spacing:.04em}

/* top bar + brand */
.topbar{border-bottom:0}
.mobile-brand b,.brand-name b{font-family:var(--display);font-size:16px;letter-spacing:.01em}
.brand-app{color:var(--gold)}
.icon-btn,.quick-help-btn{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:14px!important}

/* market switcher */
.asset-switcher{gap:8px}
.asset-tab{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:16px!important;min-height:52px}
.asset-tab.active{border-color:var(--gold)!important;background:#141A12!important;box-shadow:none}
.asset-tab-main{font-family:var(--display);font-weight:600;letter-spacing:.02em}
.asset-tab small{border:0!important;background:transparent!important;padding:0!important;color:#7FE3B4}
.asset-tab small:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:5px;vertical-align:1px}

/* bottom nav: 5 even buttons */
@media(max-width:980px){
  .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;height:68px;left:12px;right:12px;bottom:12px;border-radius:22px;background:rgba(14,21,29,.96)!important;border:1px solid var(--line)!important}
  .bottom-nav .nav-btn{color:#A9B6C4;gap:4px}
  .bottom-nav .nav-btn svg{width:22px;height:22px}
  .bottom-nav .nav-btn small{font-size:11px;font-weight:500}
  .bottom-nav .nav-btn.active{color:var(--gold)!important;background:transparent!important}
  .bottom-nav .nav-btn.active small{font-weight:700}
}
.desktop-nav .nav-btn.active{background:rgba(228,181,78,.10)!important;box-shadow:inset 3px 0 0 var(--gold)!important;color:#fff}

/* Tools hub switch (Calendar · Strength · Tools) */
.tools-switch{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;border-radius:14px;background:var(--panel);border:1px solid var(--line);margin:0 0 16px}
body.tools-group .tools-switch{display:grid}
.tools-switch .nav-btn{height:40px;border-radius:10px;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:center}
.tools-switch .nav-btn.active{background:var(--gold)!important;color:#15110A!important;box-shadow:none!important}
.tools-switch .nav-btn.is-hidden{display:none!important}

/* snapshot card: calmer */
.snapshot-card{border-radius:24px!important}
.snapshot-quote .market-price{font-family:var(--display);font-weight:700}
.snapshot-bias>strong{font-family:var(--display);font-weight:700}
.snapshot-facts>div:not(.snapshot-notice){background:var(--panel2)!important;border-color:var(--line)!important;border-radius:12px}

/* primary / secondary cards */
.primary-card:before,.secondary-card:before{display:none}
.premium-primary,.premium-secondary{border-radius:24px!important}
.premium-heading h3{font-family:var(--display);font-weight:700}
.premium-outlook{border-radius:16px;background:var(--panel2);border-color:var(--line)}
.premium-levels .level,.level{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:14px!important}
.premium-levels .level b{font-family:var(--display);font-weight:600;font-size:14px}

/* chart card */
.legacy-chart-card{background:var(--panel)!important;border-color:var(--line)!important}

/* history / outcomes */
.performance-metric b,.outcome b{font-family:var(--display)}
.segmented{background:var(--panel);border-color:var(--line);border-radius:14px}
.segmented button.active{background:var(--gold);color:#15110A}

/* profile settings rows */
.setting-row{border-bottom-color:var(--line)}

/* ===== v4 Home hero (signal live / scanning) and proof strip ===== */
.ez4-hero{margin-bottom:14px;padding:20px;border-radius:24px;border:1px solid var(--line);background:radial-gradient(120% 90% at 50% 0%,#15202B 0%,#0B121A 70%)}
.ez4-hero.buy{background:linear-gradient(180deg,#0F2219 0%,#0B141C 62%);border-color:#1F3A2D}
.ez4-hero.sell{background:linear-gradient(180deg,#24131A 0%,#0B141C 62%);border-color:#3A1F27}
.ez4-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ez4-live{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.06em;color:#9FE8C4}
.ez4-hero.sell .ez4-live{color:#FFB3B3}
.ez4-dot{width:8px;height:8px;border-radius:50%;background:var(--green);animation:ez4pulse 1.6s ease-out infinite}
.ez4-hero.sell .ez4-dot{background:var(--red);animation-name:ez4pulseR}
@keyframes ez4pulse{0%{box-shadow:0 0 0 0 rgba(47,213,138,.55)}100%{box-shadow:0 0 0 10px rgba(47,213,138,0)}}
@keyframes ez4pulseR{0%{box-shadow:0 0 0 0 rgba(255,107,107,.55)}100%{box-shadow:0 0 0 10px rgba(255,107,107,0)}}
.ez4-ago{font-size:12px;color:var(--muted)}
.ez4-side{display:flex;align-items:baseline;gap:10px;margin-top:14px}
.ez4-side b{font-family:var(--display);font-size:44px;font-weight:700;line-height:1}
.ez4-hero.buy .ez4-side b{color:var(--green)}.ez4-hero.sell .ez4-side b{color:var(--red)}
.ez4-side span{font-family:var(--display);font-size:26px;font-weight:600}
.ez4-sub{font-size:13px;color:var(--muted);margin-top:6px}
.ez4-track{position:relative;height:8px;border-radius:8px;background:#1A2530;margin-top:22px}
.ez4-fill{position:absolute;top:0;bottom:0;border-radius:8px;background:var(--green)}
.ez4-hero.sell .ez4-fill{background:var(--red)}
.ez4-now{position:absolute;top:-6px;width:4px;height:20px;margin-left:-2px;border-radius:2px;background:#fff}
.ez4-marks{position:relative;height:16px;margin-top:8px;font-size:11px;color:var(--muted)}
.ez4-marks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.ez4-marks span:first-child{transform:none}.ez4-marks span:last-child{transform:translateX(-100%)}
.ez4-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.ez4-levels.three{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px}
.ez4-level{padding:12px;border-radius:14px;background:var(--panel2);border:1px solid var(--line)}
.ez4-level small{display:block;font-size:11px;color:var(--muted)}
.ez4-level b{display:block;font-family:var(--display);font-size:18px;font-weight:600;margin-top:2px}
.ez4-levels.three .ez4-level b{font-size:15px;color:#7FF0BC}
.ez4-level.sl b{color:#FF8A8A}
.ez4-level.hit{border-color:rgba(47,213,138,.55)}
.ez4-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.ez4-btn{height:48px;border-radius:14px;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line2);background:transparent;color:var(--text);cursor:pointer;font-family:inherit}
.ez4-btn.gold{background:var(--gold);border-color:var(--gold);color:#15110A}
.ez4-scan{text-align:center}
.ez4-scan h3{font-size:26px;margin:4px 0 0}
.ez4-scan p{font-size:14px;color:var(--muted);margin:8px auto 0;max-width:300px;line-height:1.5}
.ez4-radar{position:relative;width:150px;height:150px;margin:16px auto 10px}
.ez4-radar i{position:absolute;border-radius:50%;border:1px solid #22303D}
.ez4-radar i:nth-child(1){inset:0}.ez4-radar i:nth-child(2){inset:25px}.ez4-radar i:nth-child(3){inset:50px}
.ez4-radar .ring{inset:0;border:2px solid rgba(228,181,78,.55);animation:ez4ring 2.4s ease-out infinite}
.ez4-radar .sweep{inset:0;border:0;background:conic-gradient(from 0deg,rgba(228,181,78,.28),rgba(228,181,78,0) 25%);animation:ez4sweep 3.2s linear infinite}
.ez4-radar .core{left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border:0;background:var(--gold)}
@keyframes ez4ring{0%{transform:scale(.35);opacity:.9}100%{transform:scale(1);opacity:0}}
@keyframes ez4sweep{to{transform:rotate(360deg)}}
.ez4-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;text-align:left}
.ez4-fact{padding:12px;border-radius:14px;background:var(--panel2);border:1px solid var(--line)}
.ez4-fact small{display:block;font-size:11px;color:var(--muted)}
.ez4-fact b{display:block;font-size:14px;font-weight:600;margin-top:3px}
.ez4-fact em{display:block;font-style:normal;font-size:11px;color:var(--muted);margin-top:2px}
.ez4-proof{margin-bottom:14px;padding:18px 20px;border-radius:22px;background:var(--panel);border:1px solid var(--line)}
.ez4-proof .rate{font-family:var(--display);font-size:34px;font-weight:700;color:var(--green)}
.ez4-proof .lbl{font-size:12px;color:var(--muted)}
.ez4-proof .wl{font-size:13px;color:var(--muted);margin-left:8px}
.ez4-proof .streak{font-family:var(--display);font-size:22px;font-weight:700;margin-top:4px}
.ez4-dots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin-top:8px}
.ez4-dots span{height:10px;border-radius:5px;background:#22303D}
.ez4-dots span.w{background:var(--green)}.ez4-dots span.l{background:var(--red)}
.reduce-motion .ez4-dot,.reduce-motion .ez4-radar .ring,.reduce-motion .ez4-radar .sweep{animation:none}
@media(prefers-reduced-motion:reduce){.ez4-dot,.ez4-radar .ring,.ez4-radar .sweep{animation:none}}

/* v4 Home: the hero replaces the old PRIMARY card (kept in the DOM, hidden) */
body.ez4 #primaryCard{display:none!important}
body.ez4 .signal-grid{grid-template-columns:1fr!important;margin-top:0}
body.ez4 #view-dashboard>.snapshot-card{margin-top:0}

/* ===== v4 Signals timeline (stage 3) ===== */
.ez4-timeline{display:none}
body.ez4 .ez4-timeline{display:block}
body.ez4 #signalsHistoryPanel{background:transparent!important;border:0!important;padding:0!important}
body.ez4 #signalsHistoryPanel>.section-title,body.ez4 #signalsHistoryPanel>#historyList{display:none}
body.ez4 #signalsHistoryPanel.show-audit>.section-title,body.ez4 #signalsHistoryPanel.show-audit>#historyList{display:block}
body.ez4 #signalsHistoryPanel.show-audit>.section-title{margin-top:18px}
.ez4-kind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ez4-kind.single{grid-template-columns:1fr}
.ez4-kind button{height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;color:var(--muted);font-weight:600;font-size:13px;font-family:inherit;cursor:pointer}
.ez4-kind button.active{border-color:#3A4C5E;background:#13202B;color:var(--text)}
.ez4-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.ez4-tile{padding:14px 12px;border-radius:16px;background:var(--panel);border:1px solid var(--line);min-width:0}
.ez4-tile{display:flex;flex-direction:column;justify-content:space-between}
.ez4-tile small{display:block;font-size:11px;line-height:1.3;color:var(--muted)}
.ez4-tile b{display:block;font-family:var(--display);font-size:24px;font-weight:700;margin-top:4px}
.ez4-tile b.profit{color:var(--green)}
.ez4-tl-day{margin-top:20px}
.ez4-tl-date{font-size:12px;font-weight:600;letter-spacing:.05em;color:var(--muted)}
.ez4-tl-item{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px;border-radius:18px;background:var(--panel);border:1px solid var(--line)}
.ez4-tl-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:18px;background:#16202A;color:var(--muted)}
.ez4-tl-icon.buy{background:rgba(47,213,138,.12);color:var(--green)}
.ez4-tl-icon.sell{background:rgba(255,107,107,.12);color:var(--red)}
.ez4-tl-main{flex:1;min-width:0}
.ez4-tl-title{font-size:15px;font-weight:600}
.ez4-tl-title .buy{color:var(--green)}.ez4-tl-title .sell{color:var(--red)}
.ez4-tl-sub{font-size:12px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ez4-tl-res{text-align:right;flex:0 0 auto}
.ez4-tl-text{font-size:13px;font-weight:700;color:var(--muted)}
.ez4-tl-text.profit{color:var(--green)}.ez4-tl-text.loss{color:var(--red)}.ez4-tl-text.mixed{color:var(--gold)}
.ez4-bars{display:flex;gap:3px;justify-content:flex-end;margin-top:6px}
.ez4-bars span{width:12px;height:5px;border-radius:3px;background:#22303D}
.ez4-bars span.w{background:var(--green)}.ez4-bars span.l{background:var(--red)}.ez4-bars span.m{background:var(--gold)}
.ez4-tl-note{font-size:12px;color:#8C9BAB;line-height:1.5;margin:18px 2px 0}
.ez4-audit-toggle{width:100%;margin-top:12px}
body.ez4 #signalTabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px;padding:4px;margin-bottom:12px}
body.ez4 #signalTabs button{height:40px;border-radius:10px}

/* ===== v4 stage 4: Chart, Tools, Profile, Secondary card (look only) ===== */
/* Secondary card: compact, flat, one accent */
body.ez4 #secondaryCard{background:var(--panel)!important;border:1px solid var(--line)!important;padding:18px!important}
body.ez4 #secondaryCard .premium-icon,body.ez4 #secondaryCard .signal-icon{width:40px!important;height:40px!important;border-radius:12px!important}
body.ez4 #secondaryCard [class*="graph"],body.ez4 #secondaryCard .legacy-traffic-panel{border-color:var(--line)!important}
body.ez4 #secondaryCard div[class*="tile"],body.ez4 #secondaryCard div[class*="graph"]{background:var(--panel2)!important;border-radius:14px!important}

/* Chart: flat panels, gold timeframe pills, calmer readings */
body.ez4 .legacy-chart-card{border-radius:24px!important;padding:18px!important}
body.ez4 .chart-timeframe-toolbar{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:16px!important}
body.ez4 .tf{background:transparent!important;border:1px solid var(--line)!important;border-radius:12px!important;color:var(--muted)!important;box-shadow:none!important;font-weight:600}
body.ez4 .tf.active{background:var(--gold)!important;border-color:var(--gold)!important;color:#15110A!important}
body.ez4 .legacy-traffic-panel,body.ez4 .legacy-confluence{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:none!important}
body.ez4 .legacy-price-frame,body.ez4 .legacy-osc-frame{border:1px solid var(--line)!important;border-radius:16px!important;background:#060A0E!important}
body.ez4 .legacy-stats>div,body.ez4 .legacy-stats .metric{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:14px!important}

/* Tools: one card style, aligned icons */
body.ez4 .fx-lede{color:var(--muted);font-size:14px;line-height:1.5}
body.ez4 .fx-card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:22px!important;box-shadow:none!important}
body.ez4 .fx-card:before,body.ez4 .fx-card:after{display:none!important}
body.ez4 .fx-tool-head{align-items:flex-start!important}
body.ez4 .fx-tool-icon{flex:0 0 44px;width:44px!important;height:44px!important;border-radius:14px!important;background:rgba(228,181,78,.10)!important;border:1px solid rgba(228,181,78,.30)!important;color:var(--gold)!important;display:flex!important;align-items:center;justify-content:center;margin:0!important}
body.ez4 .fx-tool-head h3{font-family:var(--display);font-size:20px}
body.ez4 .fx-tool-head p{color:var(--muted)}
body.ez4 .fx-expand,body.ez4 .fx-tf-select{background:var(--panel2)!important;border:1px solid var(--line2)!important;border-radius:12px!important;color:var(--text)!important}
body.ez4 .rc-out,body.ez4 .rp-result{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:16px!important}
body.ez4 .fx-card input,body.ez4 .fx-card select{background:var(--panel2)!important;border:1px solid var(--line2)!important;border-radius:12px!important}

/* Profile: compact header, clear main action */
body.ez4 .profile-hero{padding:18px!important;min-height:0!important;align-items:center!important}
body.ez4 .profile-hero .avatar{width:48px!important;height:48px!important;border-radius:14px!important;background:rgba(228,181,78,.10)!important;border:1px solid rgba(228,181,78,.30)!important;color:var(--gold)!important;box-shadow:none!important}
body.ez4 .profile-hero h2{font-family:var(--display);margin:2px 0}
body.ez4 .pref-market-button,body.ez4 .pref-channel-label{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:none!important}
body.ez4 .pref-market-button.active,body.ez4 .pref-market-button[aria-pressed="true"]{border-color:var(--gold)!important;background:#141A12!important}
body.ez4 .pref-summary{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:14px!important}
body.ez4 #view-profile .btn{height:52px;border-radius:14px!important;font-weight:700;box-shadow:none!important}
body.ez4 #savePrefsBtn{background:var(--gold)!important;border:1px solid var(--gold)!important;color:#15110A!important}
body.ez4 #enablePushBtn,body.ez4 #testPushBtn{background:transparent!important;border:1px solid var(--line2)!important;color:var(--text)!important}
body.ez4 .setting-row{padding-top:14px;padding-bottom:14px}
body.ez4 .eco-card{background:linear-gradient(180deg,#141A12 0%,var(--panel) 70%)!important;border-color:#2A3420!important}
body.ez4 .secondary-proof{background:var(--panel2)!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:none!important}
body.ez4 .premium-secondary-evidence{gap:8px!important}

/* ===================== v5 round 2 ===================== */
/* Colour rule: gold = the one action / selection. Green/red = BUY/SELL and win/loss only. Labels are grey. */
body.ez4 .kicker,body.ez4 .eyebrow,body.ez4 .pref-section-heading b{color:#8C9BAB!important}
body.ez4 .page-intro .kicker{color:var(--gold)!important}
body.ez4 .page-intro h1{font-size:30px;margin:4px 0 2px}
body.ez4 .page-intro p{font-size:14px;color:var(--muted)}
body.ez4 .support-guide-cta{background:transparent!important;border:1px solid var(--line)!important;color:var(--muted)!important}
body.ez4 .public-risk-note{font-size:11px;color:#6F7E8D;text-align:center;margin:10px 16px}
body.ez4 .fx-lede{display:none}

/* Today strip */
.ez4-today{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.ez4-proof>.ez4-today:only-child{border:0;padding:0;margin:0}
.ez4-today b{font-family:var(--display);font-size:16px;color:var(--text);margin-right:3px}
.ez4-today .w b{color:var(--green)}.ez4-today .l b{color:var(--red)}
.ez4-today-k{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);padding:4px 8px;border-radius:8px;background:rgba(228,181,78,.10)}
.ez4-today-none{color:var(--muted)}

/* Moments */
.ez4-hero{position:relative;overflow:hidden}
.ez4-hero.ez4-arrive{animation:ez4arrive .9s cubic-bezier(.2,.9,.3,1.2) both}
.ez4-hero.ez4-arrive:after{content:"";position:absolute;inset:-2px;border-radius:24px;pointer-events:none;box-shadow:0 0 0 2px var(--gold);animation:ez4glow 2.4s ease-out 3}
@keyframes ez4arrive{0%{transform:scale(.94);opacity:0}100%{transform:none;opacity:1}}
@keyframes ez4glow{0%{box-shadow:0 0 0 0 rgba(228,181,78,.9)}100%{box-shadow:0 0 0 14px rgba(228,181,78,0)}}
.ez4-hero.ez4-tp .ez4-level.hit{animation:ez4hit 1.2s ease-out 2}
@keyframes ez4hit{0%,100%{box-shadow:none}50%{box-shadow:0 0 0 3px rgba(47,213,138,.6)}}
.ez4-burst{position:absolute;left:50%;top:40%;width:0;height:0;pointer-events:none}
.ez4-burst i{position:absolute;width:6px;height:12px;border-radius:3px;background:var(--gold);transform:rotate(var(--a)) translateY(0);animation:ez4burst 1.4s ease-out forwards}
.ez4-burst i:nth-child(even){background:var(--green)}
@keyframes ez4burst{0%{opacity:1;transform:rotate(var(--a)) translateY(0)}100%{opacity:0;transform:rotate(var(--a)) translateY(-120px)}}
.reduce-motion .ez4-hero,.reduce-motion .ez4-hero:after,.reduce-motion .ez4-burst{animation:none!important;display:none}
@media(prefers-reduced-motion:reduce){.ez4-hero.ez4-arrive,.ez4-hero.ez4-arrive:after,.ez4-burst i{animation:none!important}}

/* Secondary: one smart line until an official alert is live */
.ez4-secline{display:none}
body.ez4 .ez4-secline{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border-radius:14px;background:var(--panel2);border:1px solid var(--line)}
.ez4-sec-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#56636F}
.ez4-sec-dot.buy{background:var(--green);animation:ez4pulse 1.6s ease-out infinite}
.ez4-sec-dot.sell{background:var(--red);animation:ez4pulseR 1.6s ease-out infinite}
.ez4-sec-txt{flex:1;min-width:0}
.ez4-secline b{display:block;font-size:14px}
.ez4-sec-sub{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.ez4-sec-more{height:36px;padding:0 14px;border-radius:10px;border:1px solid var(--line2);background:transparent;color:var(--text);font:600 13px Inter,sans-serif;cursor:pointer}
body.ez4 #secondaryCard .premium-card-head p{font-size:12px}
body.ez4 #secondaryCard #secondaryState{display:none!important}
body.ez4 #secondaryCard:not(.ez4-live):not(.ez4-open) #secondaryBody{display:none!important}
body.ez4 #secondaryCard.ez4-live{border-color:#1F3A2D!important}

/* Chart: its own screen on phones; one verdict first; details on demand */
body.ez4 .ez4-chart-more{width:100%;margin-top:4px}
body.ez4 #originalGraphSection:not(.ez4-more) .legacy-chart-intro,
body.ez4 #originalGraphSection:not(.ez4-more) .legacy-legend,
body.ez4 #originalGraphSection:not(.ez4-more) .chart-tf-heading,
body.ez4 #originalGraphSection:not(.ez4-more) .legacy-osc-head>span,
body.ez4 #originalGraphSection:not(.ez4-more) .legacy-confluence-key,
body.ez4 #originalGraphSection:not(.ez4-more) #finalConfluenceHint,
body.ez4 #originalGraphSection:not(.ez4-more) .legacy-chart-title .kicker{display:none!important}
body.ez4 #originalGraphSection{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
body.ez4 #originalGraphSection>*{grid-column:1/-1;margin:0!important}
body.ez4 #originalGraphSection>.legacy-chart-title{order:0}
body.ez4 #originalGraphSection>.chart-timeframe-toolbar{order:1;padding:4px!important;border-radius:14px!important}
body.ez4 #originalGraphSection .tf-row{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
body.ez4 #originalGraphSection .tf{height:38px!important;min-width:0!important;padding:0!important;border-color:transparent!important;font-size:13px}
body.ez4 #originalGraphSection>.legacy-confluence{order:2;padding:14px 16px!important;display:flex;align-items:center;justify-content:space-between}
body.ez4 #finalConfluenceText{font-family:var(--display);font-size:22px!important}
body.ez4 #originalGraphSection>.legacy-traffic-panel.g1{order:3;grid-column:1/2}
body.ez4 #originalGraphSection>.legacy-traffic-panel.g2{order:3;grid-column:2/3}
body.ez4 #originalGraphSection>.legacy-traffic-panel{padding:10px 12px!important;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body.ez4 #originalGraphSection>.legacy-traffic-panel .kicker{font-size:10px!important;letter-spacing:.06em}
body.ez4 #originalGraphSection>.legacy-traffic-panel strong{font-size:14px!important;font-family:var(--display)}
body.ez4 #originalGraphSection>.legacy-traffic-panel .legacy-lights{transform:scale(.8);transform-origin:left center}
body.ez4 #originalGraphSection>.legacy-chart-intro{order:4}
body.ez4 #originalGraphSection>.legacy-legend{order:4}
body.ez4 #originalGraphSection>.legacy-price-frame{order:5;min-height:320px}
body.ez4 #originalGraphSection>.chart-refresh-indicator{order:6}
body.ez4 #originalGraphSection>.legacy-osc-head{order:7}
body.ez4 #originalGraphSection>.legacy-osc-frame{order:8}
body.ez4 #originalGraphSection>.legacy-stats{order:9}
body.ez4 #originalGraphSection>.ez4-chart-more{order:10}
@media(max-width:980px){
  body.ez4:not(.chart-mode) #originalGraphSection{display:none!important}
  body.ez4.chart-mode #view-dashboard>*:not(#originalGraphSection){display:none!important}
  body.ez4.chart-mode #originalGraphSection{background:transparent!important;border:0!important;padding:0!important}
  body.ez4.chart-mode #originalGraphSection>.legacy-price-frame{min-height:52vh}
}

/* Profile: symmetrical action grid, compact options */
body.ez4 .profile-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.ez4 #savePrefsBtn,body.ez4 #helpProfileBtn{grid-column:1/-1}
body.ez4 #enablePushBtn,body.ez4 #testPushBtn{font-size:13px;padding:0 8px}
body.ez4 .pref-channel-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.ez4 .pref-channel-label{min-height:64px;align-items:flex-start!important;padding:12px!important}
body.ez4 .pref-channel-label small{font-size:11px;line-height:1.3}
body.ez4 .settings-card>.setting-row.static small{display:none}
body.ez4 #originalGraphSection>.legacy-confluence>div:first-child{text-align:left}
body.ez4 .text-btn{color:var(--gold)!important;font-size:14px!important}
body.ez4 .urgent-news-line strong{color:var(--text)!important}
body.ez4 .news-preview{border-radius:22px!important}
body.ez4 #originalGraphSection>.legacy-confluence{align-items:flex-start!important;flex-direction:column}
body.ez4 #originalGraphSection>.legacy-confluence>div{width:100%}
body.ez4 .legacy-confluence.buy{background:#0F2219!important;border-color:#1F3A2D!important}
body.ez4 .legacy-confluence.sell{background:#24131A!important;border-color:#3A1F27!important}
body.ez4 .legacy-confluence.buy #finalConfluenceText{color:var(--green)}
body.ez4 .legacy-confluence.sell #finalConfluenceText{color:var(--red)}
/* Secondary card: always one column (fixes the squeezed row on wide screens) */
body.ez4 #secondaryCard{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;min-height:0!important}
body.ez4 #secondaryCard>*{width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.ez4 #secondaryCard>#secondaryBody{margin-top:14px!important}
body.ez4 #secondaryCard .ez4-secline b{display:inline}
/* Live Secondary alert: the card itself says it once; no extra line */
body.ez4 #secondaryCard.ez4-live .ez4-secline{display:none!important}
body.ez4 #secondaryCard.ez4-buy .outlook-icon{background:rgba(47,213,138,.14)!important;color:var(--green)!important}
body.ez4 #secondaryCard.ez4-sell .outlook-icon{background:rgba(255,107,107,.14)!important;color:var(--red)!important}
body.ez4 #secondaryCard.ez4-buy .outlook-side{color:var(--green)!important}
body.ez4 #secondaryCard.ez4-sell .outlook-side{color:var(--red)!important}
body.ez4 #secondaryCard.ez4-sell{border-color:#3A1F27!important}
body.ez4 #secondaryCard .premium-outlook{border-radius:16px!important}

/* ===== v5 Market Snapshot card: one clean grid, calm status ===== */
body.ez4 .snapshot-card{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 10px;padding:18px!important;align-items:center}
body.ez4 .snapshot-card>.snapshot-core,body.ez4 .snapshot-card>.snapshot-facts,body.ez4 .snapshot-card .snapshot-quote{display:contents!important}
body.ez4 .snapshot-card .snapshot-top{grid-column:1/-1;order:0;display:flex;align-items:center;justify-content:space-between;margin:0!important}
body.ez4 .snapshot-card .snapshot-heading{display:flex;align-items:center;gap:12px}
body.ez4 .snapshot-card .snapshot-symbol{width:40px!important;height:40px!important;border-radius:12px!important;background:var(--panel2)!important;border:1px solid var(--line)!important;display:flex!important;align-items:center;justify-content:center}
body.ez4 .snapshot-card .snapshot-symbol svg{width:24px!important;height:24px!important}
body.ez4 .snapshot-card .snapshot-heading .kicker{font-size:11px!important}
body.ez4 .snapshot-card .snapshot-symbol-name{display:flex;align-items:center;gap:8px;margin-top:2px}
body.ez4 .snapshot-card .asset-badge{background:transparent!important;border:0!important;padding:0!important;font-family:var(--display);font-weight:700;font-size:16px;color:var(--text)!important}
body.ez4 .snapshot-card #marketAssetName{font-size:13px;font-weight:500;color:var(--muted)}
body.ez4 .snapshot-card #marketPrice{order:1;grid-column:1/2;font-family:var(--display);font-size:34px!important;font-weight:700;line-height:1.1;margin:4px 0 0}
body.ez4 .snapshot-card #marketChange{order:1;grid-column:2/3;justify-self:end;align-self:center;font-family:var(--display);font-size:15px;font-weight:600;padding:6px 10px;border-radius:10px;background:var(--panel2);border:1px solid var(--line)}
body.ez4 .snapshot-card #marketChange.positive{color:var(--green)}body.ez4 .snapshot-card #marketChange.negative{color:var(--red)}
body.ez4 .snapshot-card #marketTickStatus{order:2;grid-column:1/-1;font-size:11px!important;color:var(--muted)!important;letter-spacing:.02em;margin:0!important}
body.ez4 .snapshot-card .snapshot-spark{order:3;grid-column:1/-1;height:84px;margin:4px 0!important;border-radius:14px;overflow:hidden;background:var(--panel2);border:1px solid var(--line)}
body.ez4 .snapshot-card .spark-chart{width:100%;height:100%!important}
/* four equal tiles: Session · Bias · Volatility · News risk */
body.ez4 .snapshot-card .market-session,body.ez4 .snapshot-card .snapshot-bias,body.ez4 .snapshot-card .snapshot-facts>div:not(.snapshot-notice){order:4;min-height:64px;padding:10px 12px!important;border-radius:14px!important;background:var(--panel2)!important;border:1px solid var(--line)!important;display:flex!important;flex-direction:column;justify-content:center;gap:3px;margin:0!important;min-width:0}
body.ez4 .snapshot-card .market-session small,body.ez4 .snapshot-card .snapshot-bias>span,body.ez4 .snapshot-card .snapshot-facts>div small{font-size:10px!important;font-weight:600;letter-spacing:.06em;color:#8C9BAB!important;text-transform:uppercase}
body.ez4 .snapshot-card .market-session b,body.ez4 .snapshot-card .snapshot-bias>strong,body.ez4 .snapshot-card .snapshot-facts>div b{font-family:var(--display)!important;font-size:15px!important;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ez4 .snapshot-card .snapshot-bias>strong.bullish{color:var(--green)!important}body.ez4 .snapshot-card .snapshot-bias>strong.bearish{color:var(--red)!important}
body.ez4 .snapshot-card .snapshot-bias>small{font-size:11px;color:var(--muted)}
body.ez4 .snapshot-card .snapshot-bias{text-align:left!important;align-items:flex-start!important}
/* status lines: small and calm, never a wall of text */
body.ez4 .snapshot-card #contextNote,body.ez4 .snapshot-card #chartStatus{order:5;grid-column:1/-1;font-size:12px!important;line-height:1.45;color:var(--muted)!important;background:transparent!important;border:0!important;padding:0 0 0 14px!important;margin:2px 0 0!important;position:relative;font-weight:500!important;text-transform:none}
body.ez4 .snapshot-card #contextNote:before,body.ez4 .snapshot-card #chartStatus:before{content:"";position:absolute;left:0;top:6px;width:6px;height:6px;border-radius:50%;background:var(--gold)}
body.ez4 .snapshot-card #contextNote.is-hidden,body.ez4 .snapshot-card #chartStatus.is-hidden{display:none!important}
body.ez4 .snapshot-card .market-session,body.ez4 .snapshot-card .snapshot-bias,body.ez4 .snapshot-card .snapshot-facts>div:not(.snapshot-notice){grid-column:auto!important;text-align:left!important;align-items:flex-start!important;width:auto!important}
/* say it once: hide the duplicate note, and the empty sparkline box */
body.ez4 .snapshot-card:has(#chartStatus:not(.is-hidden)) #contextNote{display:none!important}
body.ez4 .snapshot-card .snapshot-spark:has(#chartLine[d=""]){display:none!important}
