/* TradeDesk X 4.5 — landing page, plan cards, Home hub, tutorial. Rendered with CSS/SVG so it stays sharp on any screen (HD, retina, 4K). */
:root{--hx-bg:#030a18;--hx-ink:#eaf2ff;--hx-mute:#8da2c4;--hx-line:rgba(110,160,235,.22);--hx-blue:#2f7fd6;--hx-cyan:#3fd6ff;--hx-gold:#e8b84a}
#guestLanding.guest-landing.active{display:block!important;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}
#guestLanding.guest-landing{background:var(--hx-bg)!important;background-image:none!important;color:var(--hx-ink);padding:0!important;align-items:stretch}
#guestLanding *{box-sizing:border-box}
.lp-top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;padding:12px clamp(16px,4vw,48px);background:rgba(3,10,24,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--hx-line)}
.lp-brand{display:flex;align-items:center;gap:10px;color:var(--hx-ink);text-decoration:none;font:600 19px/1 system-ui,sans-serif;letter-spacing:.01em}.lp-brand b{color:var(--hx-cyan)}
.lp-top nav{display:flex;gap:22px;margin-left:auto}.lp-top nav a{color:var(--hx-mute);text-decoration:none;font-size:14px}.lp-top nav a:hover{color:#fff}
.lp-top-cta{display:flex;gap:10px;align-items:center}.lp-link{background:none;border:0;color:var(--hx-ink);font:500 14px system-ui;cursor:pointer;padding:8px}
.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 22px;border-radius:12px;border:1px solid rgba(120,170,255,.45);background:rgba(20,40,80,.35);color:#eaf2ff;font:600 15px system-ui,sans-serif;cursor:pointer;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s}
.lp-btn:hover{transform:translateY(-1px);background:rgba(40,80,150,.45)}
.lp-btn.primary{background:linear-gradient(180deg,#3d8fe8,#2368c4);border-color:#5aa6ff;box-shadow:0 8px 30px rgba(47,127,214,.45)}.lp-btn.primary:hover{box-shadow:0 10px 38px rgba(70,150,255,.6)}
.lp-btn.gold{background:linear-gradient(180deg,#f0c864,#c8932a);border-color:#f3d37e;color:#2a1c00}.lp-btn.sm{min-height:38px;padding:8px 16px;font-size:14px}.lp-btn.lg{min-height:54px;padding:14px 30px;font-size:16px}
/* hero */
.lp-hero{position:relative;min-height:min(94vh,900px);display:grid;place-items:center;overflow:hidden;padding:40px 16px 70px;background:radial-gradient(ellipse 60% 50% at 50% 36%,rgba(45,130,255,.38),transparent 70%),radial-gradient(ellipse 90% 60% at 50% 100%,rgba(0,90,255,.22),transparent 70%),linear-gradient(180deg,#02070f,#061630 55%,#030b18)}
.lp-stars{position:absolute;inset:0;opacity:.55;background-image:radial-gradient(1.2px 1.2px at 12% 18%,#9cc6ff,transparent),radial-gradient(1px 1px at 28% 62%,#6fa8ff,transparent),radial-gradient(1.4px 1.4px at 71% 24%,#bfe0ff,transparent),radial-gradient(1px 1px at 86% 70%,#7ab4ff,transparent),radial-gradient(1px 1px at 52% 10%,#fff,transparent),radial-gradient(1.2px 1.2px at 40% 84%,#8cc0ff,transparent);background-size:340px 340px}
.lp-grid{position:absolute;left:-20%;right:-20%;bottom:-8%;height:52%;background-image:linear-gradient(rgba(70,150,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(70,150,255,.5) 1px,transparent 1px);background-size:64px 64px;transform:perspective(520px) rotateX(64deg);transform-origin:50% 100%;-webkit-mask-image:linear-gradient(to top,#000 10%,transparent 90%);mask-image:linear-gradient(to top,#000 10%,transparent 90%);opacity:.55}
.lp-screen{position:absolute;top:9%;width:clamp(260px,27vw,480px);padding:14px 14px 12px;border:1px solid rgba(90,170,255,.6);border-radius:16px;background:linear-gradient(160deg,rgba(10,44,105,.82),rgba(3,14,38,.92));box-shadow:0 0 70px rgba(40,130,255,.45),inset 0 0 40px rgba(40,130,255,.14);z-index:1}
.lp-screen.l{left:1.5%;transform:perspective(1100px) rotateY(16deg)}.lp-screen.r{right:1.5%;transform:perspective(1100px) rotateY(-16deg)}
.lp-screen .lp-cv{display:block;width:100%;height:clamp(190px,19vw,330px)}
.lp-scr-head{display:flex;align-items:baseline;gap:10px;font:700 13px system-ui;color:#cfe0ff;margin-bottom:8px}.lp-scr-head i{font-style:normal;color:#3fe0a0;font-size:10px;letter-spacing:.1em}.lp-scr-head .lp-px{margin-left:auto;font:800 clamp(15px,1.4vw,22px) ui-monospace,Menlo,Consolas,monospace;color:#fff}.lp-scr-head b{color:#3fe0a0;font:800 13px ui-monospace,Menlo,Consolas,monospace}
.lp-ticks{display:grid;gap:6px;margin-top:10px}.lp-tick{position:relative;display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:8px;font:700 11px ui-monospace,Menlo,Consolas,monospace;color:#bcd4ff}.lp-tick i{display:block;height:5px;border-radius:3px;background:linear-gradient(90deg,rgba(63,224,160,.85),rgba(63,224,160,.1));transition:width .6s}.lp-tick b{color:#3fe0a0}
.lp-scr-rows{display:grid;gap:5px;margin-top:8px}.lp-scr-rows i{height:6px;border-radius:3px;background:linear-gradient(90deg,rgba(90,160,255,.55),rgba(90,160,255,.08))}.lp-scr-rows i:nth-child(2){width:72%}.lp-scr-rows i:nth-child(3){width:48%}
.lp-hero-in{position:relative;z-index:2;text-align:center;max-width:760px}
.lp-mark{width:min(440px,70vw);height:auto;filter:drop-shadow(0 0 40px rgba(60,150,255,.65)) drop-shadow(0 10px 30px rgba(0,0,0,.6));margin:-30px auto -34px;display:block}
.lp-word{margin:0;display:flex;justify-content:center;gap:0;font:800 clamp(44px,8vw,92px)/1 "Segoe UI",system-ui,sans-serif;letter-spacing:-.02em;text-shadow:0 4px 30px rgba(40,120,255,.45)}
.lp-word span{background:linear-gradient(180deg,#fff 0%,#c9d8ee 45%,#8ea4c6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1px rgba(10,30,70,.7)}
.lp-word .x{background:linear-gradient(180deg,#8fe6ff,#2f8cff 60%,#1a4fc0);-webkit-background-clip:text;background-clip:text}
.lp-tagline{margin:6px 0 14px;font:600 clamp(18px,2.6vw,26px) system-ui;letter-spacing:.12em;color:#c9dbf7;text-transform:none}.lp-tagline b{color:var(--hx-cyan);font-weight:700}
.lp-lead{max-width:600px;margin:0 auto 24px;color:#aebfdc;font-size:clamp(15px,1.6vw,18px);line-height:1.6}
.lp-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.lp-trust{margin-top:22px;color:var(--hx-mute);font-size:12.5px;letter-spacing:.03em}
/* sections */
.lp-sec{padding:clamp(48px,8vw,96px) clamp(16px,5vw,64px)}.lp-sec.alt{background:linear-gradient(180deg,#041022,#06162e)}
.lp-head{max-width:760px;margin:0 auto 36px;text-align:center}.lp-head span{color:var(--hx-cyan);font:600 12.5px system-ui;letter-spacing:.2em;text-transform:uppercase}
.lp-head h2{margin:8px 0 10px;font:700 clamp(26px,4vw,40px)/1.15 system-ui;color:#fff}.lp-head p{color:var(--hx-mute);line-height:1.6;margin:0 auto;max-width:620px}
.lp-cards,.lp-feeds{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;max-width:1120px;margin:0 auto}
.lp-card{padding:22px;border:1px solid var(--hx-line);border-radius:16px;background:linear-gradient(180deg,rgba(18,40,80,.45),rgba(8,20,44,.55))}.lp-card h3{margin:10px 0 6px;font-size:18px;color:#fff}.lp-card p{margin:0;color:#a8bad6;line-height:1.55;font-size:14.5px}
.lp-card em{font-style:normal;font-size:11px;padding:2px 8px;border-radius:99px;background:rgba(47,127,214,.25);color:#9fd0ff;margin-left:6px}.lp-card.gold{border-color:rgba(232,184,74,.5)}.lp-card.gold em{background:rgba(232,184,74,.2);color:var(--hx-gold)}
.lp-ic{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:rgba(47,127,214,.18);color:var(--hx-cyan)}
.lp-steps{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;max-width:1000px}.lp-steps li{padding:22px;border:1px solid var(--hx-line);border-radius:16px;background:rgba(10,26,56,.5)}
.lp-steps b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--hx-blue);color:#fff}.lp-steps h3{margin:12px 0 6px;color:#fff}.lp-steps p{margin:0;color:#a8bad6;line-height:1.55;font-size:14.5px}
/* plans */
.lp-term{display:inline-flex;margin-top:18px;padding:4px;border:1px solid var(--hx-line);border-radius:12px;background:rgba(8,20,44,.7)}.lp-term button{border:0;background:none;color:var(--hx-mute);padding:9px 18px;border-radius:9px;font:600 14px system-ui;cursor:pointer}.lp-term button.on{background:var(--hx-blue);color:#fff}.lp-term em{font-style:normal;font-size:11px;color:#bff0c8;margin-left:4px}
.lp-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;max-width:1180px;margin:0 auto;align-items:stretch}
.lp-plan{position:relative;display:flex;flex-direction:column;padding:26px 22px 22px;border:1px solid var(--hx-line);border-radius:18px;background:linear-gradient(180deg,rgba(16,36,76,.7),rgba(6,16,38,.85))}
.lp-plan.featured{border-color:#4f9dff;box-shadow:0 0 0 1px rgba(79,157,255,.5),0 18px 60px rgba(40,120,255,.3)}.lp-plan.vip{border-color:rgba(232,184,74,.7);background:linear-gradient(180deg,rgba(60,44,10,.5),rgba(10,16,34,.9));box-shadow:0 18px 60px rgba(232,184,74,.15)}
.lp-flag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:4px 14px;border-radius:99px;background:var(--hx-blue);color:#fff;font:700 11.5px system-ui;letter-spacing:.06em;white-space:nowrap}.lp-flag.vip{background:var(--hx-gold);color:#2a1c00}
.lp-plan h3{margin:0;font-size:22px;color:#fff}.lp-tag{margin:4px 0 14px;color:var(--hx-mute);font-size:13.5px;min-height:38px}.lp-price{display:flex;align-items:baseline;gap:6px}.lp-price b{font:800 42px/1 system-ui;color:#fff}.lp-price small{color:var(--hx-mute)}
.lp-bill{margin:6px 0 16px;color:#9fb4d4;font-size:12.5px;min-height:34px}.lp-plan .lp-btn{width:100%}
.lp-plan ul{list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid var(--hx-line);display:grid;gap:9px}.lp-plan li{display:flex;gap:10px;font-size:13.5px;line-height:1.35}.lp-plan li i{font-style:normal;width:18px;flex:none;text-align:center;font-weight:800}
.lp-plan li.on{color:#e6efff}.lp-plan li.on i{color:#4fe3a3}.lp-plan li.off{color:#5f7396}.lp-plan li.off i{color:#4a5d7e}
.lp-note{max-width:760px;margin:24px auto 0;text-align:center;color:#7389ad;font-size:12.5px}
.lp-faq{max-width:760px;margin:0 auto;display:grid;gap:10px}.lp-faq details{border:1px solid var(--hx-line);border-radius:12px;background:rgba(10,26,56,.5);padding:14px 18px}.lp-faq summary{cursor:pointer;font-weight:600;color:#fff}.lp-faq p{margin:10px 0 0;color:#a8bad6;line-height:1.6}
.lp-foot{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:26px clamp(16px,5vw,64px) 40px;border-top:1px solid var(--hx-line);color:#6f84a8;font-size:12.5px}
@media(max-width:1100px){.lp-screen{display:none}}
@media(max-width:900px){#guestLanding .lp-top nav{display:none!important}#guestLanding .lp-top-cta .lp-btn,#guestLanding .lp-top-cta button{white-space:nowrap}.lp-screen{display:none}.lp-top nav{display:none}.lp-top-cta{margin-left:auto}.lp-mark{width:min(320px,70vw);margin:-10px auto -20px}}
@media(max-width:560px){.lp-top{padding:10px 14px}.lp-btn.lg{width:100%}.lp-cta{flex-direction:column}.lp-word{font-size:clamp(38px,13vw,60px)}.lp-link{display:none}}
/* billing screen with tiers */
#billingPanel.billing-view.active{display:block!important;overflow:auto}#billingPanel .billing-shell{max-width:1180px;margin:0 auto;padding:28px 16px 40px}
#billingPanel .lp-plans{margin-top:18px}#billingPanel .lp-head{margin-bottom:12px}

/* ---- Home hub */
.hm{max-width:1280px;margin:0 auto;padding:6px 4px 40px}
.hm-hello{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-end;margin:6px 0 16px}.hm-hello h1{margin:0;font-size:clamp(22px,3vw,30px)}.hm-hello p{margin:2px 0 0}.hm-chips{display:flex;gap:8px;align-items:center}
.hm-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}.hm-pf{grid-row:span 2}
.hm-eq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:center;padding:6px 14px 10px}.hm-eq-l{display:block;font-size:12px;color:var(--hx-mute);text-transform:uppercase;letter-spacing:.1em}.hm-eq-v{display:block;font-size:clamp(28px,4vw,40px);line-height:1.1;margin:2px 0}
.hm-spark{width:100%;height:96px}.hm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 14px 12px}
.hm-stat{padding:10px 12px;border:1px solid var(--hx-line);border-radius:12px;background:rgba(255,255,255,.02)}.hm-stat span{display:block;font-size:11px;color:var(--hx-mute);text-transform:uppercase;letter-spacing:.08em}.hm-stat b{font-size:17px}
.hm-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:6px 14px 14px}.hm-two h3,.hm-feed h3{margin:0 0 6px;font-size:12px;color:var(--hx-mute);text-transform:uppercase;letter-spacing:.1em}
.hm-row{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border:1px solid transparent;border-bottom-color:var(--hx-line);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.hm-row:hover:not(.static){background:rgba(47,127,214,.12)}.hm-row.static{cursor:default}
.hm-sym{display:grid;line-height:1.25}.hm-sym small{font-size:11px;color:var(--hx-mute)}.hm-sym small.up{color:#4fe3a3}.hm-sym small.dn{color:#ff7b8a}.hm-score b{font-size:16px}
.hm-list,.hm-feed>div:not(.ux-card-head){padding:0 6px 12px}.hm-empty{padding:14px;color:var(--hx-mute);font-size:13.5px;line-height:1.5;display:grid;gap:10px}.hm-skel{padding:30px;color:var(--hx-mute);text-align:center}
.hm-feedbtns{display:flex;flex-wrap:wrap;gap:8px;padding:10px 8px}.hm-feed h3{padding:0 10px}.hm-feed .mono{padding:0 10px;word-break:break-all}
.hm-actions{grid-column:2}.hm-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:6px 12px 14px}
.hm-tile{display:grid;gap:3px;text-align:left;padding:14px;border:1px solid var(--hx-line);border-radius:14px;background:linear-gradient(180deg,rgba(24,52,104,.45),rgba(8,20,46,.55));color:inherit;font:inherit;cursor:pointer;min-height:104px;transition:transform .12s,border-color .12s}
.hm-tile:hover{transform:translateY(-2px);border-color:#4f9dff}.hm-tile b{font-size:15px}.hm-tile small{color:var(--hx-mute);font-size:12px;line-height:1.35}.hm-ic{color:var(--hx-cyan)}.hm-tile.locked{opacity:.75}.hm-lock{font-style:normal}
.hm-setups{grid-column:1}.hm-feed{grid-column:2}
@media(max-width:1000px){.hm-grid{grid-template-columns:1fr}.hm-pf{grid-row:auto}.hm-actions,.hm-setups,.hm-feed{grid-column:auto}.hm-actions{order:-1}}
@media(max-width:600px){.hm-eq,.hm-two{grid-template-columns:1fr}.hm-tiles{grid-template-columns:repeat(2,1fr)}.hm-stats{grid-template-columns:repeat(2,1fr)}}
/* ---- Tutorial */
.tu{max-width:860px;margin:0 auto;padding-bottom:40px}.tu-prog{display:flex;align-items:center;gap:12px;min-width:220px}.tu-bar{flex:1;height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.tu-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#2f7fd6,#3fd6ff);transition:width .3s}
.tu-list{display:grid;gap:10px;margin-top:12px}.tu-step summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.tu-step summary::-webkit-details-marker{display:none}
.tu-check{flex:none;width:26px;height:26px;border-radius:50%;border:2px solid var(--hx-line);display:grid;place-items:center;font-weight:800;color:#06210f}.tu-check.on{background:#4fe3a3;border-color:#4fe3a3}
.tu-body{padding:0 18px 18px 54px;color:#c3d2ea;line-height:1.65;font-size:14.5px}.tu-body ul,.tu-body ol{padding-left:20px}.tu-body li{margin:5px 0}.tu-body .hint{padding:10px 12px;border-left:3px solid var(--hx-gold);background:rgba(232,184,74,.08);border-radius:6px}
.tu-body dt{font-weight:700;color:#fff;margin-top:8px}.tu-body dd{margin:2px 0 0}.tt{padding:1px 8px;border-radius:99px;background:rgba(255,255,255,.08);font-size:12px;font-weight:700}.tt.up{background:rgba(79,227,163,.18);color:#4fe3a3}
@media(max-width:600px){.tu-body{padding-left:18px}}

/* specificity guards: the legacy stylesheet restyles every nav / button */
#guestLanding .lp-top nav{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;display:flex!important;gap:22px}
#guestLanding .lp-top nav a{background:none!important;padding:6px 2px!important;font-size:14px!important;border:0!important}
#guestLanding .lp-btn{min-height:46px!important;padding:11px 22px!important;font-size:15px!important;border-radius:12px!important;text-transform:none!important;letter-spacing:0!important;width:auto}
#guestLanding .lp-btn.lg{min-height:56px!important;padding:14px 32px!important;font-size:16.5px!important}#guestLanding .lp-btn.sm{min-height:38px!important;padding:8px 16px!important;font-size:14px!important}
#guestLanding .lp-plan .lp-btn{width:100%!important}#guestLanding .lp-term button{padding:9px 18px!important;font-size:14px!important;min-height:0!important;text-transform:none!important}
#guestLanding .lp-link{font-size:14px!important;padding:8px!important;background:none!important;border:0!important;min-height:0!important}
#guestLanding .lp-grid{opacity:.8}
#billingPanel .lp-btn{min-height:46px!important;padding:11px 22px!important;font-size:15px!important;width:100%!important;border-radius:12px!important;text-transform:none!important}
#billingPanel .lp-term button{padding:9px 18px!important;font-size:14px!important;min-height:0!important;text-transform:none!important}

@media(max-width:900px){#guestLanding .lp-top nav{display:none!important}}
@media(max-width:560px){#guestLanding .lp-top-cta .lp-btn{white-space:nowrap!important}}

/* ===== 4.5.1: header + market ticker stay on screen (body must not be a scroll container) ===== */
html{overflow-x:hidden}
body,body.m-shell{overflow-x:clip!important;overflow-y:visible!important}
.site-header{position:sticky!important;top:0!important;z-index:60!important}
.market-leader-ticker{position:sticky!important;top:var(--tdx-hh,48px)!important;z-index:55!important}
body.m-shell{--tdx-hh:52px}

/* ===== 4.5.1: News page, phone: headlines first ===== */
.nw-m-toggle,.nw-mini{display:none}
@media(max-width:760px){
 #newsRoot .ux-bar{padding:8px 10px!important;margin-bottom:6px}
 #newsRoot .ux-title h1{font-size:16px!important;margin:0}
 #newsRoot .ux-title p{display:none!important}
 #newsRoot .ux-bar>.ux-row{flex-wrap:nowrap!important;align-items:center;gap:6px!important}
 #newsRoot .ux-bar .ux-row.right{flex:1;justify-content:flex-end;flex-wrap:wrap!important;gap:6px!important}
 #newsRoot .nw-m-toggle{display:inline-flex}
 #newsRoot .nw-mini{display:inline;font-size:10px;white-space:nowrap}
 #newsRoot .ux-bar:not(.nw-open) .ux-row.right>:not(#nwStatus):not(#nwMini):not(#nwRefresh):not(#nwMore){display:none!important}
 #newsRoot .ux-bar:not(.nw-open) #nwTiles,#newsRoot .ux-bar:not(.nw-open) #nwLinks{display:none!important}
 #newsRoot .ux-bar.nw-open #nwTiles{display:grid!important;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:8px}
 #newsRoot .nw-links{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px;align-items:center;margin-top:8px;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 #newsRoot .nw-links::-webkit-scrollbar{display:none}
 #newsRoot .nw-links .ux-chip{flex:0 0 auto;white-space:nowrap;padding:4px 10px!important;min-height:30px!important;font-size:12px!important}
 #newsRoot .nw-links .nw-sep{flex:0 0 1px;align-self:stretch;background:#26405c;margin:0 4px}
 #newsRoot .nw-links .mono{flex:0 0 auto;white-space:nowrap}
 #newsRoot .ux-tabs{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}
 #newsRoot .ux-tabs .ux-tab{flex:0 0 auto}
}

/* ===== 4.5.1: Chart page, phone: compact header, chart gets the screen, BUY/SELL right under it ===== */
.ch-m-btn,.ch-quick{display:none}
@media(max-width:760px){
 #chRoot .ux-bar{padding:6px 8px!important;margin:0 0 6px!important}
 #chRoot .ux-bar>.ux-row{flex-wrap:nowrap!important;gap:6px!important;align-items:center}
 #chRoot .ux-bar>.ux-row:first-child{flex-wrap:wrap!important}
 #chRoot .ch-search{flex:1 1 70px;min-width:0}
 #chRoot .ch-price{flex:0 0 auto}
 #chRoot .ch-search input{min-height:38px;padding:4px 8px;font-size:14px;text-overflow:ellipsis}
 #chRoot .ch-price{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}
 #chRoot .ch-price b{font-size:16px}#chRoot .ch-price span{font-size:11px}
 #chRoot .ch-m-btn{display:inline-flex;min-height:36px!important;padding:0 10px!important;flex:0 0 auto}
 #chRoot #chMin{padding:0 9px!important}
 #chRoot #chQuick,#chRoot #chSess,#chRoot .ch-livewrap,#chRoot #chLayersBtn,#chRoot #chStatus,#chRoot #chLayers{display:none!important}
 #chRoot .ux-bar.ch-open #chQuick{display:flex!important;flex:1 0 100%;overflow-x:auto;flex-wrap:nowrap}
 #chRoot .ux-bar.ch-open #chSess,#chRoot .ux-bar.ch-open #chLayersBtn,#chRoot .ux-bar.ch-open .ch-livewrap,#chRoot .ux-bar.ch-open #chStatus{display:inline-flex!important}
 #chRoot .ux-bar.ch-open #chLayers:not(.hidden){display:block!important}
 #chRoot .ux-bar.ch-open>.ux-row:nth-child(2){flex-wrap:wrap!important}
 #chRoot #chTf{overflow-x:auto;flex-wrap:nowrap;max-width:100%;scrollbar-width:none;flex:1 1 auto}
 #chRoot #chTf button{min-height:34px!important;padding:2px 11px!important;flex:0 0 auto}
 #chRoot .ux-bar.ch-mini>.ux-row:nth-child(2){display:none!important}
 #chRoot .ux-bar.ch-mini #chQuick{display:none!important}
 #chRoot .ux-bar.ch-mini{padding:4px 8px!important}
 #chRoot .ch-chartcard{height:calc(100dvh - 314px)!important;min-height:320px!important}
 #chRoot .ux-bar.ch-mini~.ch-main .ch-chartcard{height:calc(100dvh - 268px)!important}
 #chRoot .ch-main{display:flex!important;flex-direction:column;gap:8px}
 #chRoot .ch-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;order:1}
 #chRoot .ch-quick .ux-btn{min-height:42px;font-weight:800;letter-spacing:.06em}
 #chRoot .ch-chartcard{order:0}#chRoot .ch-side{order:2}
}

/* ===== 4.5.1: Scanner page, phone: triggers first, setup tucked away ===== */
.ps-toggle{display:none}
@media(max-width:760px){
 #proRoot .pro-sim{padding:4px 10px;font-size:10.5px;border-radius:8px;margin:0 0 4px;line-height:1.25}
 #proRoot .pro-bar{padding:6px 8px!important;gap:4px!important;margin-bottom:6px}
 #proRoot .pro-bar-row:first-child{flex-wrap:nowrap!important;align-items:center;gap:6px}
 #proRoot .pro-tabs{flex:1 1 auto;min-width:0;overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}
 #proRoot .pro-tabs::-webkit-scrollbar{display:none}
 #proRoot .pro-tabs>*{flex:0 0 auto;min-height:34px!important;padding:2px 12px!important}
 #proRoot .pro-bar-right{width:auto!important;flex:0 0 auto;gap:6px}
 #proRoot .pro-bar-right .pro-btn{flex:0 0 auto;min-height:34px!important;padding:0 12px!important}
 #proRoot #proUniverseBtn{display:none!important}
 #proRoot .pro-bar.ps-open #proUniverseBtn{display:inline-flex!important}
 #proRoot .pro-bar-row.wrap{flex-wrap:nowrap!important;align-items:center;gap:6px}
 #proRoot #proHorizon{flex:1 1 auto;min-width:0;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 #proRoot #proHorizon button{flex:0 0 auto;min-height:34px!important;padding:2px 10px!important}
 #proRoot .pro-icon{flex:0 0 auto;min-width:36px;min-height:34px;font-size:17px}
 #proRoot .ps-toggle{display:inline-flex;flex:0 0 auto;min-height:34px;padding:0 10px;font-size:12px;white-space:nowrap}
 #proRoot .pro-bar:not(.ps-open) .pro-bar-row.wrap>:not(#proHorizon):not(#proSound):not(#proVibe):not(#proSetup):not(#proStatus){display:none!important}
 #proRoot .pro-bar:not(.ps-open) #proStatus{display:none!important}
 #proRoot .pro-bar.ps-open .pro-bar-row.wrap{flex-wrap:wrap!important}
 #proRoot .pro-bar.ps-open #proHorizon{flex:1 0 100%;order:-1}
 #proRoot .pro-filters{flex-wrap:nowrap!important;overflow-x:auto;padding:8px!important;gap:6px!important;scrollbar-width:none;margin-bottom:6px}
 #proRoot .pro-filters>*{flex:0 0 auto}
 #proRoot .pro-filters .pro-pill,#proRoot .pro-filters button{min-height:34px}
}

/* ===== 4.5.1: animated hero media ===== */
.lp-markwrap{position:relative;width:min(440px,70vw);margin:-30px auto -34px}
.lp-markwrap .lp-mark{margin:0;width:100%}
.lp-markwrap .lp-mark-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .4s}
.lp-markwrap.is-video .lp-mark-vid{opacity:1}
.lp-markwrap.is-video img.lp-mark{opacity:0}
.lp-bgvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:0}
@media(max-width:760px){
 #guestLanding .lp-hero.has-bgvid{min-height:100dvh;padding:0 16px max(24px,env(safe-area-inset-bottom));align-items:end;background:#020a1c}
 #guestLanding .lp-hero.has-bgvid .lp-stars,#guestLanding .lp-hero.has-bgvid .lp-grid{display:none}
 #guestLanding .lp-hero.has-bgvid::after{content:"";position:absolute;inset:auto 0 0 0;height:46%;background:linear-gradient(180deg,transparent,rgba(2,8,22,.78) 45%,rgba(2,8,22,.94));z-index:1;pointer-events:none}
 #guestLanding .lp-hero.has-bgvid .lp-hero-in{position:relative;z-index:2;width:100%;max-width:440px;margin:0 auto}
 #guestLanding .lp-hero.has-bgvid .lp-markwrap,#guestLanding .lp-hero.has-bgvid .lp-word,#guestLanding .lp-hero.has-bgvid .lp-tagline{display:none!important}
 #guestLanding .lp-hero.has-bgvid .lp-lead{font-size:14px;line-height:1.45;margin:0 0 12px;color:#cfe3ff;text-shadow:0 1px 8px #000}
}
@media(prefers-reduced-motion:reduce){.lp-bgvid,.lp-mark-vid{display:none!important}}
/* the animated logo carries its own wordmark: keep the h1 for screen readers only */
.lp-markwrap.is-video+.lp-word{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lp-markwrap.is-video{width:min(520px,78vw);margin:-10px auto 0}
@media(max-width:760px){
 #guestLanding .lp-hero.has-bgvid .lp-lead{display:none!important}
 #guestLanding .lp-hero.has-bgvid .lp-cta{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:0}
 #guestLanding .lp-hero.has-bgvid .lp-cta #showSignupBtn{grid-column:1/-1;min-height:50px}
 #guestLanding .lp-hero.has-bgvid .lp-cta .lp-btn{width:100%;min-height:46px;margin:0}
 #guestLanding .lp-hero.has-bgvid .lp-fine,#guestLanding .lp-hero.has-bgvid .lp-note{font-size:10.5px;margin-top:8px}
 .lp-bgvid{object-position:50% 0}
}
@media(max-width:760px){
 #guestLanding .lp-hero.has-bgvid{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 #guestLanding .lp-hero.has-bgvid::after{height:30%;background:linear-gradient(180deg,transparent,rgba(2,8,22,.7) 55%,rgba(2,8,22,.92))}
 #guestLanding .lp-hero.has-bgvid .lp-cta .lp-btn{min-height:44px}
 #guestLanding .lp-hero.has-bgvid .lp-cta #showSignupBtn{min-height:48px}
 #guestLanding .lp-hero.has-bgvid #ownerSetupBtn{font-size:11px;margin-top:4px}
 #guestLanding .lp-hero.has-bgvid .lp-fine,#guestLanding .lp-hero.has-bgvid .lp-trust{display:none}
}
@media(max-width:760px){
 #guestLanding .lp-hero.has-bgvid{min-height:calc(100dvh - 58px)!important;height:calc(100dvh - 58px)}
 #guestLanding .lp-hero.has-bgvid .lp-cta .lp-btn{font-size:13px;padding:0 8px;white-space:nowrap}
}

/* ===== 4.5.3: Chart page controls: equal cells, no sideways scroll, one dropdown style ===== */
#chRoot .ux-bar>.ux-row:nth-child(2){display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
#chRoot .ux-bar .ux-seg{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);overflow:hidden!important;flex-wrap:nowrap!important;max-width:100%}
#chRoot .ux-bar .ux-seg button{min-width:0!important;min-height:36px!important;height:36px;padding:0 4px!important;font-size:12.5px!important;white-space:nowrap;display:flex;align-items:center;justify-content:center;border-radius:0}
#chRoot #chTf{flex:2.2 1 330px}
#chRoot #chSess{flex:2.4 1 380px}
#chRoot #chSess .ch-seglab{display:flex;align-items:center;justify-content:center;padding:0 8px;font-size:10px;letter-spacing:.08em;color:#6f89a8}
#chRoot .ch-livewrap{flex:1.4 1 220px;display:flex;align-items:stretch;gap:6px}
#chRoot .ch-livewrap .ux-seg{flex:1}
#chRoot .ch-livelab{display:flex;align-items:center;color:#7fb2ff;font-size:15px}
#chRoot #chLayersBtn{flex:0 0 118px;min-height:36px!important;height:36px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px!important;font-size:12.5px;font-weight:700;border-radius:10px}
#chRoot #chLayersBtn .ch-chev{width:9px;height:9px;border-right:2px solid #8fc0ff;border-bottom:2px solid #8fc0ff;transform:translateY(-2px) rotate(45deg);transition:transform .18s}
#chRoot #chLayersBtn[aria-expanded="true"] .ch-chev{transform:translateY(2px) rotate(225deg)}
#chRoot #chStatus{align-self:center}
@media(max-width:760px){
 #chRoot #chTf{overflow:hidden!important;flex:1 1 100%;max-width:100%}
 #chRoot #chTf button{padding:0 2px!important;font-size:12px!important;min-height:34px!important;height:34px}
 #chRoot .ux-bar.ch-open #chSess{flex:1 1 100%}
 #chRoot .ux-bar.ch-open .ch-livewrap{flex:1 1 100%}
 #chRoot .ux-bar.ch-open #chLayersBtn{flex:1 1 100%;justify-content:space-between}
}

/* ===== 4.5.4: Professional hero (replaces the animated monitors): clean copy + scanner console ===== */
#guestLanding .lp-hero.lh{display:block;min-height:0;padding:64px 20px 72px;background:linear-gradient(180deg,#050d1a 0%,#07121f 60%,#060e19 100%);border-bottom:1px solid rgba(120,160,210,.12)}
#guestLanding .lh-bg{position:absolute;inset:0;background:radial-gradient(ellipse 55% 60% at 78% 40%,rgba(40,110,200,.16),transparent 70%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px) 0 0/100% 56px,linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px) 0 0/56px 100%;mask-image:linear-gradient(180deg,#000 55%,transparent);pointer-events:none}
#guestLanding .lh-in{position:relative;z-index:2;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:48px;align-items:center;text-align:left}
#guestLanding .lh-eyebrow{margin:0 0 14px;color:#6fa8e6;font:600 12px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
#guestLanding .lh-h1{margin:0 0 18px;font:700 clamp(32px,4.3vw,56px)/1.06 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.025em;color:#f2f6fc}
#guestLanding .lh-h1 span{color:#8fc2ff}
#guestLanding .lh-lead{margin:0 0 26px;max-width:520px;color:#a9bad0;font-size:16.5px;line-height:1.6}
#guestLanding .lh-cta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:center;margin:0 0 6px}
#guestLanding .lh-app{color:#8fc2ff;font:600 14px system-ui,sans-serif;text-decoration:none;padding:10px 6px;border-bottom:1px solid rgba(143,194,255,.35)}
#guestLanding .lh-proof{list-style:none;margin:30px 0 14px;padding:22px 0 0;border-top:1px solid rgba(120,160,210,.16);display:grid;grid-template-columns:repeat(4,auto);gap:10px 28px;justify-content:start}
#guestLanding .lh-proof li{display:grid;gap:3px}#guestLanding .lh-proof b{font:700 22px/1 system-ui,sans-serif;color:#eaf2fd}#guestLanding .lh-proof span{font-size:12px;color:#7f93ad}
#guestLanding .lh .lp-trust{margin:0;text-align:left;color:#6c819b;font-size:12px}
#guestLanding .lh-console{border:1px solid rgba(120,160,210,.2);border-radius:14px;background:linear-gradient(180deg,#0a1626,#08111e);box-shadow:0 24px 60px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.02) inset;overflow:hidden}
#guestLanding .lh-bar{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid rgba(120,160,210,.14);font:600 12.5px system-ui,sans-serif;color:#dbe7f6}
#guestLanding .lh-bar span{color:#7f93ad;font-weight:500}#guestLanding .lh-bar i{margin-left:auto;font-style:normal;font-size:11px;color:#6c819b;border:1px solid rgba(120,160,210,.2);border-radius:999px;padding:2px 8px}
#guestLanding .lh-row{display:grid;grid-template-columns:86px 62px 54px 34px minmax(40px,1fr) 28px 72px;gap:10px;align-items:center;padding:9px 16px;border-bottom:1px solid rgba(120,160,210,.08);font-size:12.5px;color:#a9bad0}
#guestLanding .lh-row b{color:#eaf2fd;font-weight:650}#guestLanding .lh-row em{font-style:normal;font-weight:700;font-size:11px}#guestLanding .lh-row em.up{color:#2ebd85}#guestLanding .lh-row em.dn{color:#e5484d}
#guestLanding .lh-row u{text-decoration:none;font-weight:700;color:#dbe7f6;font-size:11.5px}#guestLanding .lh-row s{display:block;height:5px;border-radius:3px;background:rgba(120,160,210,.15);overflow:hidden;text-decoration:none}#guestLanding .lh-row s i{display:block;height:100%;background:#4a90d9;border-radius:3px}
#guestLanding .lh-row strong{color:#eaf2fd;font-variant-numeric:tabular-nums;text-align:right}
#guestLanding .lh-row small{font-size:10.5px;font-weight:700;letter-spacing:.04em;text-align:center;padding:3px 0;border-radius:4px;border:1px solid}
#guestLanding .st-execute{color:#2ebd85;border-color:rgba(46,189,133,.4);background:rgba(46,189,133,.08)}#guestLanding .st-armed{color:#e0a93b;border-color:rgba(224,169,59,.4);background:rgba(224,169,59,.07)}#guestLanding .st-early{color:#7f93ad;border-color:rgba(127,147,173,.4)}
#guestLanding .lh-chartbar{display:flex;gap:14px;align-items:center;padding:10px 16px;font:600 12px system-ui,sans-serif;color:#dbe7f6;border-bottom:1px solid rgba(120,160,210,.08)}
#guestLanding .lh-chartbar span{font-weight:500;font-size:11px;color:#7f93ad}#guestLanding .lh-chartbar .m20{color:#22d3ee}#guestLanding .lh-chartbar .m50{color:#ff9f1c}#guestLanding .lh-chartbar .bos{color:#22c55e}#guestLanding .lh-chartbar .choch{color:#ffd23f}
#guestLanding .lh-cv{display:block;width:100%;height:230px}
@media(max-width:980px){#guestLanding .lh-in{grid-template-columns:1fr;gap:34px}#guestLanding .lh-proof{grid-template-columns:repeat(2,auto)}}
@media(max-width:560px){#guestLanding .lp-hero.lh{padding:40px 16px 48px}#guestLanding .lh-row{grid-template-columns:70px 1fr 28px 64px;gap:8px}#guestLanding .lh-row span,#guestLanding .lh-row em,#guestLanding .lh-row s{display:none}#guestLanding .lh-cv{height:190px}}
/* phones with the animated backdrop: copy over the video, console hidden */
#guestLanding .lp-hero.lh.has-bgvid{min-height:100dvh;display:flex;align-items:flex-end;padding:0 16px max(24px,env(safe-area-inset-bottom))}
#guestLanding .lp-hero.lh.has-bgvid .lh-in{grid-template-columns:1fr;max-width:440px;width:100%}#guestLanding .lp-hero.lh.has-bgvid .lh-console,#guestLanding .lp-hero.lh.has-bgvid .lh-bg,#guestLanding .lp-hero.lh.has-bgvid .lh-proof,#guestLanding .lp-hero.lh.has-bgvid .lh-eyebrow{display:none}
#guestLanding .lp-hero.lh.has-bgvid .lh-h1{font-size:30px}#guestLanding .lp-hero.lh.has-bgvid .lh-lead{font-size:14px;color:#cfe3ff;text-shadow:0 1px 8px #000;margin-bottom:14px}
#guestLanding .lh-h1{font-size:clamp(30px,3.5vw,48px)}
#guestLanding .lh-eyebrow{font-size:11px;letter-spacing:.12em}
@media(max-width:560px){#guestLanding .lh-cta{flex-direction:column;align-items:stretch}#guestLanding .lh-cta .lp-btn{width:100%}#guestLanding .lh-app{text-align:center;border:0;color:#8fc2ff}#guestLanding .lh-eyebrow{font-size:10px}}

#guestLanding .lp-installbar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:14px;background:rgba(9,22,40,.96);border:1px solid rgba(143,194,255,.35);box-shadow:0 10px 30px rgba(0,0,0,.5)}
#guestLanding .lp-installbar img{border-radius:9px}#guestLanding .lp-installbar span{display:grid;flex:1;min-width:0}#guestLanding .lp-installbar b{font:650 13.5px system-ui,sans-serif;color:#eaf2fd}#guestLanding .lp-installbar small{font-size:11.5px;color:#8ea3bd}
#guestLanding .lp-installbar a{background:#2f7fd6;color:#fff;text-decoration:none;font:650 13px system-ui,sans-serif;padding:8px 14px;border-radius:9px}#guestLanding .lp-installbar button{background:none;border:0;color:#8ea3bd;font-size:20px;padding:4px 6px}
@media(min-width:900px){#guestLanding .lp-installbar{display:none}}

#guestLanding .lh .lh-mark,#guestLanding .lh .lp-markwrap.is-video{width:150px;height:150px;margin:0 0 6px -14px}
#guestLanding .lh .lh-mark .lp-mark{width:150px;height:150px;margin:0;filter:drop-shadow(0 0 22px rgba(60,150,255,.45))}
#guestLanding .lp-hero.lh.has-bgvid .lh-mark{display:none}
@media(max-width:980px){#guestLanding .lh .lh-mark,#guestLanding .lh .lp-markwrap.is-video{width:110px;height:110px}#guestLanding .lh .lh-mark .lp-mark{width:110px;height:110px}}

/* 4.5.4b: larger animated X */
#guestLanding .lh .lh-mark,#guestLanding .lh .lp-markwrap.is-video{width:260px;height:260px;margin:-18px 0 -6px -30px}
#guestLanding .lh .lh-mark .lp-mark{width:260px;height:260px;filter:drop-shadow(0 0 34px rgba(60,150,255,.5))}
#guestLanding .lh .lp-markwrap .lp-mark-vid{object-fit:contain}
@media(max-width:980px){#guestLanding .lh .lh-mark,#guestLanding .lh .lp-markwrap.is-video{width:190px;height:190px;margin:-10px auto -4px}#guestLanding .lh .lh-mark .lp-mark{width:190px;height:190px}#guestLanding .lh-copy{text-align:center}#guestLanding .lh-cta{justify-content:center}#guestLanding .lh-lead{margin-left:auto;margin-right:auto}#guestLanding .lh-proof{justify-content:center}#guestLanding .lh .lp-trust{text-align:center}}

/* 4.5.5: dim the phone backdrop video so the copy is readable (same concept, calmer) */
#guestLanding .lp-hero.has-bgvid .lp-bgvid{filter:brightness(.5) saturate(.9)}
#guestLanding .lp-hero.lh.has-bgvid::after,#guestLanding .lp-hero.has-bgvid::after{content:"";position:absolute;inset:0;height:auto;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(2,8,22,.45) 0%,rgba(2,8,22,.55) 30%,rgba(2,8,22,.86) 70%,rgba(2,8,22,.95) 100%)}
#guestLanding .lp-hero.lh.has-bgvid .lh-copy{background:rgba(3,10,24,.58);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(143,194,255,.14);border-radius:16px;padding:16px 16px 14px;margin-bottom:6px}
#guestLanding .lp-hero.lh.has-bgvid .lh-h1{text-shadow:0 2px 14px rgba(0,0,0,.8)}
#guestLanding .lp-hero.lh.has-bgvid .lh-lead{color:#e3eefc}

/* 4.5.6b: phone landing fits one screen (no endless scroll); plans and features open on demand. Lighter shade, no text panel. */
#guestLanding .lh-more{display:none}
@media(max-width:760px){
  #guestLanding:not(.lp-more) .lp-sec{display:none}
  #guestLanding:not(.lp-more) .lp-hero.lh{min-height:0;height:calc(100dvh - 58px - 46px);padding:0 16px 10px}
  #guestLanding:not(.lp-more) .lp-foot{padding:10px 14px;gap:2px;font-size:10.5px;flex-direction:column;align-items:center;text-align:center;min-height:46px;justify-content:center}
  #guestLanding .lh-more{display:block;background:none;border:0;color:#8fc2ff;font:600 14px system-ui,sans-serif;padding:8px}
  #guestLanding.lp-more .lp-hero.lh.has-bgvid{min-height:100dvh}
}
#guestLanding .lp-hero.has-bgvid .lp-bgvid{filter:brightness(.6) saturate(.95)}
#guestLanding .lp-hero.lh.has-bgvid::after,#guestLanding .lp-hero.has-bgvid::after{background:linear-gradient(180deg,rgba(2,8,22,.32) 0%,rgba(2,8,22,.42) 30%,rgba(2,8,22,.74) 70%,rgba(2,8,22,.86) 100%)}
#guestLanding .lp-hero.lh.has-bgvid .lh-copy{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;padding:0;margin-bottom:0}
@media(max-width:760px){#guestLanding:not(.lp-more) .lh-console,#guestLanding:not(.lp-more) .lh-proof,#guestLanding:not(.lp-more) .lh-eyebrow{display:none}#guestLanding:not(.lp-more) .lp-hero.lh{display:flex;align-items:flex-end}#guestLanding:not(.lp-more) .lp-hero.lh .lh-in{width:100%}}
@media(max-width:760px){#guestLanding:not(.lp-more) .lp-hero.lh{height:calc(100dvh - 60px - 54px)}#guestLanding:not(.lp-more) .lp-foot{margin:0;height:54px;box-sizing:border-box;padding:6px 14px;overflow:hidden}}
@media(max-width:760px){#guestLanding:not(.lp-more) .lp-hero.lh.has-bgvid{min-height:0;height:calc(100dvh - 60px - 54px);padding:0 16px 8px}}
@media(max-width:760px){#guestLanding:not(.lp-more) .lp-hero.lh.has-bgvid,#guestLanding:not(.lp-more) .lp-hero.lh{min-height:0!important;height:calc(100dvh - 60px - 54px)!important}#guestLanding.lp-more .lp-hero.lh.has-bgvid{min-height:calc(100dvh - 58px)!important;height:auto!important}}

/* 4.5.8: secure payment strip (plans section only) and phone 'Plans & features' behaviour */
#guestLanding .lp-trust-row{max-width:1000px;margin:26px auto 0;padding:16px 14px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;border:1px solid rgba(120,160,210,.18);border-radius:14px;background:linear-gradient(180deg,rgba(14,30,52,.6),rgba(8,18,32,.6))}
#guestLanding .lp-tb{display:flex;gap:10px;align-items:flex-start;color:#8ea3bd;font-size:11.5px;line-height:1.35}
#guestLanding .lp-tb svg{flex:0 0 26px;width:26px;height:26px;fill:none;stroke:#5fb0ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#guestLanding .lp-tb span{display:grid;gap:2px}#guestLanding .lp-tb b{color:#dbe7f6;font:650 12.5px system-ui,sans-serif}
@media(max-width:980px){#guestLanding .lp-trust-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){#guestLanding .lp-trust-row{grid-template-columns:1fr;gap:12px}}
#guestLanding .lp-back{display:none}
@media(max-width:760px){#guestLanding.lp-more .lp-back{display:block;position:fixed;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:60;background:#12304f;color:#eaf2fd;border:1px solid rgba(143,194,255,.45);border-radius:999px;padding:9px 14px;font:650 13px system-ui,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.45)}}

/* Plans gate: register before pricing is shown */
.lp-gate{max-width:560px;margin:8px auto 22px;padding:26px 24px;border-radius:18px;background:linear-gradient(180deg,rgba(18,34,66,.92),rgba(10,20,40,.92));border:1px solid rgba(120,170,255,.22);box-shadow:0 18px 50px rgba(0,0,0,.45);display:grid;gap:12px;text-align:center}
.lp-gate.hidden{display:none}.lp-gate-ic{width:46px;height:46px;border-radius:50%;margin:0 auto;display:grid;place-items:center;background:rgba(43,140,240,.15);border:1px solid rgba(43,140,240,.4)}
.lp-gate-ic svg{width:22px;height:22px;fill:none;stroke:#6db4ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lp-gate h3{margin:0;font-size:21px;line-height:1.25;color:#fff}.lp-gate p{margin:0;color:#a9b9d6;font-size:14px}
.lp-gate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}@media(max-width:560px){.lp-gate-grid{grid-template-columns:1fr}}
.lp-gate label{display:grid;gap:5px;font-size:12px;color:#9fb2d3;font-weight:600}
.lp-gate input[type=text],.lp-gate input[type=email],.lp-gate input:not([type]){padding:12px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:rgba(6,12,26,.8);color:#fff;font:inherit;font-size:15px}
.lp-gate input:focus{outline:2px solid #2b8cf0;outline-offset:1px}
.lp-gate-ck{display:flex!important;grid-template-columns:none;gap:9px!important;align-items:flex-start;text-align:left;font-weight:400!important;font-size:12.5px!important;color:#a9b9d6!important}.lp-gate-ck input{margin-top:2px;accent-color:#2b8cf0}
.lp-gate-err{min-height:16px;color:#ff8a8a;font-size:13px}.lp-gate small{color:#7f93b8;font-size:11.5px;line-height:1.4}
.lp-locked .lp-note{display:none}

/* ---- Library (help desk) */
.lb{max-width:980px;margin:0 auto;padding-bottom:40px}
.lb .ux-bar{display:grid;gap:10px}.lb-q{width:100%;max-width:520px}
.lb-chips{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 4px}.lb-chips .ux-chip small{opacity:.6;margin-left:3px}
.lb-count{font-size:12px;margin:6px 2px 10px}
.lb-list{display:grid;gap:8px}.lb-cat{margin:16px 2px 2px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--hx-mute,#8da0c4);font-weight:700}
.lb-art summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:2px 0}.lb-art summary::-webkit-details-marker{display:none}
.lb-dot{flex:none;width:10px;height:10px;border-radius:50%;border:2px solid #3a5272}.lb-dot.read{background:#24d18f;border-color:#24d18f}
.lb-t{display:grid;gap:2px;min-width:0}.lb-t b{font-size:14.5px}.lb-t small{color:#8da0c4;font-size:12px;line-height:1.35}
.lb-body{padding:10px 2px 4px 22px;font-size:13.5px;line-height:1.6;display:grid;gap:8px}.lb-body p,.lb-body ul,.lb-body ol,.lb-body dl{margin:0}.lb-body ul,.lb-body ol{padding-left:20px;display:grid;gap:4px}
.lb-body dt{font-weight:700;margin-top:6px}.lb-body dd{margin:0 0 2px;color:#b8c6e0}
.lb-table{width:100%;border-collapse:collapse;font-size:12.5px}.lb-table th,.lb-table td{padding:6px 10px;border-bottom:1px solid #1a3250;text-align:left}.lb-table th{color:#8da0c4;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.lb-body .hint{color:#8da0c4;font-size:12.5px}
.lb-foot{margin-top:16px;text-align:center}
@media(max-width:760px){.lb-body{padding-left:2px}.lb-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.lb-chips .ux-chip{white-space:nowrap}}

/* ---- Trade-plan explainer (desktop) */
.plan-explain{margin-top:8px;border:1px solid #1a3250;border-radius:10px;background:#08131f}
.plan-explain>summary{cursor:pointer;padding:8px 12px;font-size:12px;color:#8da0c4;list-style:none}.plan-explain>summary::-webkit-details-marker{display:none}
.plan-explain>summary b{color:#cfe0ff}.plan-explain[open]>summary{border-bottom:1px solid #1a3250}
.plan-explain dl{margin:0;padding:8px 12px 10px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:12.5px;line-height:1.5}
.plan-explain dt{font-weight:700;color:#cfe0ff;white-space:nowrap}.plan-explain dd{margin:0;color:#b8c6e0}
.plan-explain .pe-foot{padding:0 12px 10px;font-size:11.5px;color:#8da0c4}.plan-explain .pe-foot a{color:#45a4ff;cursor:pointer;text-decoration:underline}
.lb-info{color:#45a4ff;cursor:pointer;text-decoration:none;font-size:11px;margin-left:4px;opacity:.8}.lb-info:hover{opacity:1}

/* Wide desktop screens: the landing page reads like a 75% browser zoom (compact, one main section visible), narrower screens are untouched. */
@media (min-width:1400px){#guestLanding.guest-landing>*{zoom:.72}}
@media (min-width:2200px){#guestLanding.guest-landing>*{zoom:.66}}

/* ---- 4.5.31 · desktop scale: the whole app reads like a ~80% browser zoom on large screens (phones and laptops under 1400px untouched) ---- */
@media (min-width:1100px){
  :root{--z:.82}
  body.m-shell-off .site-header,.site-header,.market-leader-ticker,.screen:not(.hidden),.premium-footer{zoom:var(--z)}
  /* viewport units are not zoomed: give tall panels the extra room so they still end at the bottom of the window */
  .ch-chartcard{height:calc((100vh - 200px) / var(--z))!important;min-height:420px!important}
  #chRoot.ch-full .ch-chartcard{height:calc(100vh / var(--z))!important}
}

/* ---- chart: slimmer top controls + maximise ---- */
.ch-max-btn{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:34px}
@media (max-width:760px){.ch-max-btn span{display:none}.ch-max-btn{padding:0 10px!important}}
#chRoot .ux-bar{padding:6px 10px!important;margin:0 0 6px!important;gap:6px!important}
#chRoot .ux-bar .ux-seg button{min-height:30px!important;height:30px!important}
#chRoot .ux-bar .ux-input{min-height:32px!important}
@media (min-width:761px){#chRoot #chMin{display:inline-flex!important}#chRoot .ux-bar.ch-mini>.ux-row:nth-child(2),#chRoot .ux-bar.ch-mini #chQuick,#chRoot .ux-bar.ch-mini .ch-layers{display:none!important}}
#chRoot.ch-full{position:fixed;inset:0;z-index:400;background:#050c18;padding:6px 8px;display:flex;flex-direction:column;overflow:hidden}
#chRoot.ch-full .ux-bar #chQuick,#chRoot.ch-full .ux-bar #chSess,#chRoot.ch-full .ux-bar #chLayersBtn,#chRoot.ch-full .ux-bar .ch-livewrap,#chRoot.ch-full .ux-bar #chStatus,#chRoot.ch-full .ux-bar #chCfg,#chRoot.ch-full .ux-bar #chMin,#chRoot.ch-full .ch-layers{display:none!important}
#chRoot.ch-full .ux-bar{margin:0 0 4px!important}
#chRoot.ch-full .ch-main{flex:1;min-height:0;display:block!important}
#chRoot.ch-full .ch-main .ch-chartcard{height:100%!important;min-height:0!important}
#chRoot.ch-full .ch-side,#chRoot.ch-full .ch-quick{display:none!important}
body.ch-max #mBar,body.ch-max .site-header,body.ch-max .market-leader-ticker,body.ch-max .premium-footer,body.ch-max #mEnv,body.ch-max #mKill{display:none!important}

/* ---- Auto page: foldable cards ---- */
.au-fold>.ux-card-head{cursor:pointer;position:relative;padding-right:34px!important}
.au-fold>.ux-card-head::after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid #8fc0ff;border-bottom:2px solid #8fc0ff;transform:translateY(-70%) rotate(225deg);transition:transform .15s}
.au-fold.au-closed>.ux-card-head::after{transform:translateY(-60%) rotate(45deg)}
.au-fold.au-closed>*:not(.ux-card-head){display:none!important}
.au-fold.au-closed{margin-bottom:8px!important}
#autoScreen .ux-tiles{gap:8px!important}
#autoScreen .ux-tile{padding:8px 12px!important}
#chRoot .ch-main>.ch-chartcard{width:100%!important;max-width:none!important;align-self:stretch}

/* checkout: country + cost breakdown */
.co-country{margin:6px 0 10px}.co-country label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted,#8a98a8);max-width:320px}
.co-country select{padding:8px 10px;border-radius:8px;border:1px solid var(--line,#2a3a4a);background:var(--panel,#0f1a24);color:inherit;font-size:14px}
.co-quote{overflow-x:auto;margin:0 0 12px}.co-table{width:100%;border-collapse:collapse;font-size:12.5px}
.co-table th{font-weight:600;text-align:left;color:var(--muted,#8a98a8);padding:4px 8px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.co-table td{padding:6px 8px;border-top:1px solid var(--line,#22303d);white-space:nowrap}.co-table td:last-child,.co-table th:last-child{text-align:right}


/* ---- 4.5.34 · fit to the window: laptops scale down too, panels end at the bottom of the window, no page scrollbars on Scanner / Portfolio / landing ---- */
@media (min-width:1100px) and (max-height:820px){:root{--z:.74}}
@media (min-width:1100px) and (max-height:700px){:root{--z:.66}}
@media (min-width:1100px) and (min-height:560px){
  html:has(#proScreen.active),html:has(#portfolioScreen.active),html:has(#newsProScreen.active){scrollbar-width:none}
  html:has(#proScreen.active)::-webkit-scrollbar,html:has(#portfolioScreen.active)::-webkit-scrollbar,html:has(#newsProScreen.active)::-webkit-scrollbar{display:none}
  body:has(#proScreen.active) .premium-footer,body:has(#portfolioScreen.active) .premium-footer,body:has(#newsProScreen.active) .premium-footer{display:none}
  .pro-rows{height:calc((100vh - 292px) / var(--z,1));max-height:none!important;min-height:240px}
  /* market movers: compact strip (3 rows each) so the signal table gets the screen */
  .pro-movers{gap:6px}.pro-mover{padding:5px 9px;border-radius:10px}.pro-mover h4{margin:0 0 1px;font-size:9.5px}
  .pro-mover button{padding:2px 4px;font-size:11.5px}
  .pro-detail{max-height:calc((100vh - 110px) / var(--z,1))!important}
  /* portfolio: slimmer open-positions list, roomier execution / management panel */
  .pf-main{grid-template-columns:minmax(0,1fr) 464px!important}   /* 4.10.3: detail panel sized to the 3 x 3 gauges; the open trades get the rest */
  .pf-list{overflow-y:auto!important;max-height:calc((100vh - 300px) / var(--z,1))}
  .pf-detail{max-height:calc((100vh - 70px) / var(--z,1))!important}
}
/* landing: the first screen is exactly one window tall; the page still scrolls, just without a visible scrollbar */
#guestLanding.guest-landing{--lz:1;scrollbar-width:none}
#guestLanding.guest-landing::-webkit-scrollbar{display:none}
@media (min-width:1000px){
  #guestLanding.guest-landing{--lz:.72}#guestLanding.guest-landing>*{zoom:var(--lz)!important}
  #guestLanding .lp-hero{min-height:calc(100vh / var(--lz) - 62px)!important;padding-top:20px!important;padding-bottom:30px!important;align-content:center!important}
}
@media (min-width:1000px) and (max-height:800px){#guestLanding.guest-landing{--lz:.66}}
@media (min-width:1000px) and (max-height:680px){#guestLanding.guest-landing{--lz:.56}}
@media (min-width:1000px) and (min-height:1000px){#guestLanding.guest-landing{--lz:.82}}
@media (min-width:2200px){#guestLanding.guest-landing{--lz:.8}}

/* ---- 4.5.34 · portfolio: status slider under every open position + calmer execution panel ---- */
.pf-table.open th:nth-child(6),.pf-table.open td.l{display:none!important}   /* the old narrow lane column: replaced by the full-width slider row */
.pf-table.open tr[data-open]:not(.pf-trk-row){border-bottom:0}
.pf-table.open tr.pf-trk-row td{padding:2px 12px 12px!important;border-top:0!important;max-width:none!important;width:auto!important;text-align:left!important}
.pf-table.open tr.pf-trk-row{cursor:pointer}
.pf-trk{display:grid;gap:4px}
.pf-trk-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px}.pf-trk-head .grow{flex:1}.pf-trk-head .up{color:#6af0b6}
.pf-trk-rail{position:relative;height:72px;margin:0 6px}
.pf-trk-rail .z{position:absolute;top:24px;height:8px;border-radius:4px}
.pf-trk-rail .z.risk{background:linear-gradient(90deg,rgba(255,97,116,.55),rgba(255,97,116,.15))}
.pf-trk-rail .z.rew{background:linear-gradient(90deg,rgba(36,209,143,.15),rgba(36,209,143,.5))}
.pf-trk-rail .z.lock{top:21px;height:14px;background:rgba(255,184,107,.28);border:1px solid rgba(255,184,107,.7);border-radius:5px}
.pf-trk-rail .z.prog{top:26px;height:4px;z-index:2}.pf-trk-rail .z.prog.pos{background:#24d18f;box-shadow:0 0 8px rgba(36,209,143,.6)}.pf-trk-rail .z.prog.neg{background:#ff6174;box-shadow:0 0 8px rgba(255,97,116,.6)}
.pf-trk-rail .t{position:absolute;top:19px;width:2px;height:18px;margin-left:-1px;border-radius:1px;background:#4a6683}
.pf-trk-rail .t b{position:absolute;top:21px;left:50%;transform:translateX(-50%);font:800 8.5px ui-monospace,Menlo,monospace;letter-spacing:.05em;color:#7f98b4;white-space:nowrap}
.pf-trk-rail .t.sl{background:#e0576a}.pf-trk-rail .t.sl b{color:#f08a98}.pf-trk-rail .t.en{background:#b6c6da;height:22px;top:17px}.pf-trk-rail .t.en b{color:#c8d6e8;top:25px}
.pf-trk-rail .t.tp{background:#2aa37a}.pf-trk-rail .t.tp b{color:#58c9a0}.pf-trk-rail .t.hit{background:#6af0b6;box-shadow:0 0 8px #24d18f}.pf-trk-rail .t.hit b{color:#6af0b6}
.pf-trk-rail .mk{position:absolute;top:19px;width:0;height:0;margin-left:-6px;z-index:4;border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid #fff;filter:drop-shadow(0 0 4px rgba(255,255,255,.6));top:12px}
.pf-trk-rail .mk b{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);padding:1px 6px;border-radius:999px;font:800 10px ui-monospace,Menlo,monospace;white-space:nowrap;background:#0b1727;border:1px solid #38577a;color:#e8f1fb}
.pf-trk-rail .mk.pos b{border-color:#1f9d70;color:#6af0b6}.pf-trk-rail .mk.neg b{border-color:#a73a49;color:#ff9aa8}
.pf-trk-rail .exit{position:absolute;width:0;height:0;margin-left:-6px;z-index:3;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid #ffb86b;top:36px}
.pf-trk-rail .exit b{position:absolute;top:22px;left:50%;transform:translateX(-50%);font:800 9.5px ui-monospace,Menlo,monospace;color:#ffb86b;white-space:nowrap}
.pf-trk-rail .exit.moved{border-bottom-color:#ffd48a;filter:drop-shadow(0 0 5px rgba(255,184,107,.8))}
.pf-trk-rail .exit::before{content:'';position:absolute;left:-1px;top:-20px;width:2px;height:20px;background:#ffb86b;opacity:.9}
/* execution panel: three tidy columns, shorter chart, so the panel stays calm next to the list */
.pf-detail{container-type:inline-size}
.pf-detail .ux-grid2{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@container (max-width:430px){.pf-detail .ux-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.pf-detail .ux-kv{padding:5px 8px}.pf-detail .ux-kv b{font-size:13px}
.pf-chartwrap{height:clamp(190px,26vh,260px)!important}
@media (max-width:1099px){.pf-table.open tr.pf-trk-row td{padding:2px 12px 12px!important}}
.pf-list.lt680 .pf-table.open tr.pf-trk-row{display:block!important;padding:0!important}.pf-list.lt680 .pf-table.open tr.pf-trk-row td{display:block!important}

/* ---- 4.5.35 · scanner: tight columns, no stretched gaps, wider ticket on big screens ---- */
@media (min-width:1100px){
  .pro-main{grid-template-columns:minmax(0,1fr) clamp(380px,27vw,460px)!important;justify-content:stretch;gap:10px!important}
  .pro-grid-head.sig,.pro-row:not(.board){grid-template-columns:minmax(150px,1.5fr) 48px minmax(86px,.8fr) 34px minmax(124px,1fr) minmax(170px,1.6fr) 46px 66px 56px 46px 54px!important;column-gap:6px!important;justify-content:stretch}
  .pro-grid-head.board,.pro-row.board{grid-template-columns:176px 90px 80px 64px 64px 64px 52px 54px 58px 80px!important;column-gap:6px!important;justify-content:start}
  .pro-grid-head,.pro-row,.pro-rows{min-width:0!important}
  .pro-row{min-height:42px!important;font-size:12px}
  .pro-filters{padding:6px 10px!important;gap:6px!important}
  .pro-left{gap:8px!important}
  .pro-detail{padding:10px!important;gap:8px!important}
}


/* movers: name · magnitude bar · value — no empty stretch in the middle of each row */
.pro-mover button{display:grid!important;grid-template-columns:minmax(64px,40%) minmax(0,1fr) auto;align-items:center;column-gap:8px}
.pro-mover button i{height:5px;border-radius:3px;background:linear-gradient(90deg,#2c6aa8,#58a6ff);opacity:.85;justify-self:start}
.pro-mover button i.up{background:linear-gradient(90deg,#14805a,#24d18f)}.pro-mover button i.dn{background:linear-gradient(90deg,#b23542,#ff6174)}
@media (min-width:1100px){.pro-list{min-width:0}.pro-main>.pro-left{min-width:0;width:auto;max-width:100%}.pro-movers{width:100%}}

/* ---- 4.5.41 · portfolio execution panel: one column — header, chart, figures, then targets / steps / fills / manage below ---- */
.pf-d-cols{display:grid;gap:10px;min-width:0}
.pf-d-left,.pf-d-right{display:contents}
.pf-detail .pf-d-cols .ux-grid2{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@container (max-width:560px){.pf-detail .pf-d-cols .ux-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.pf-table.open{width:100%!important;min-width:0!important}
.pf-table.open th,.pf-table.open td{white-space:nowrap}
.pf-table.open td:first-child{white-space:normal}
/* manage position: slim controls, hover help instead of long explanation panels */
.pf-manage{display:grid;gap:8px}
.pf-manage .ux-btn.sm{padding:3px 9px!important;min-height:24px!important;font-size:11px!important;line-height:1.2}
.pf-manage .ux-input,.pf-manage .ux-select{height:26px!important;min-height:0!important;padding:2px 8px!important;font-size:12px!important}
.pf-manage .ux-field label{font-size:10px!important;letter-spacing:.04em;margin-bottom:2px}
.pf-manage .ux-form{gap:6px 8px!important}
.pf-manage .ux-card.pad{padding:8px 10px!important}
.pf-manage .ux-row{align-items:center}
.pf-q{display:inline-grid;place-items:center;position:relative;width:14px;height:14px;margin-left:4px;border-radius:50%;border:1px solid #35b6ff;color:#35b6ff;font:800 9px/1 system-ui,sans-serif;cursor:help;vertical-align:middle;text-transform:none;letter-spacing:0}
.pf-q:hover,.pf-q:focus{background:#35b6ff;color:#04101c;outline:0}
.pf-q .pf-tip{display:none;position:absolute;left:-6px;bottom:calc(100% + 8px);width:min(300px,70cqw);z-index:30;padding:9px 11px;border:1px solid #2a5f8f;border-left:3px solid #35b6ff;border-radius:8px;background:#0a1a2b;box-shadow:0 10px 28px rgba(0,0,0,.55);font:400 11.5px/1.5 system-ui,sans-serif;color:#d6e4f3;text-align:left;white-space:normal;cursor:default}
.pf-q:hover .pf-tip,.pf-q:focus .pf-tip,.pf-q:focus-within .pf-tip{display:block}
.pf-manage .ux-field:nth-child(3n) .pf-q .pf-tip{left:auto;right:-6px}
.pf-q .opt-help{margin:0!important;padding:0!important;border:0!important;background:none!important}
.pf-detail .pf-h{margin:0 0 6px;font:800 10px ui-monospace,Menlo,monospace;letter-spacing:.09em;text-transform:uppercase;color:#6f89a6}
/* open-positions table: no phantom columns, so the data row and the status slider share exactly the same width */
.pf-list:not(.lt680) .pf-table.open :is(th,td):is(:nth-child(3),:nth-child(5)){display:table-cell!important}
.pf-list:not(.lt680) .pf-table.open col:is(:nth-child(3),:nth-child(5)){display:table-column!important}
.pf-table.open col:nth-child(6){display:none!important}
.pf-table.open col:nth-child(1){width:24%}.pf-table.open col:nth-child(2){width:11%}.pf-table.open col:nth-child(3){width:11%}.pf-table.open col:nth-child(4){width:13%}
.pf-table.open col:nth-child(5){width:12%}.pf-table.open col:nth-child(7){width:17%}.pf-table.open col:nth-child(8){width:12%}

/* ---- 4.5.41 · news: compact, fits the window, headlines in columns instead of one long scroll ---- */
@media (min-width:1100px) and (min-height:560px){
  #newsRoot .ux-bar{padding:8px 12px!important;gap:6px!important}
  #newsRoot .ux-title h1{font-size:18px!important}#newsRoot .ux-title p{display:none}
  #newsRoot .ux-tiles{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
  #newsRoot .ux-tile{padding:5px 10px!important;gap:0!important;border-radius:9px!important}
  #newsRoot .ux-tile b{font-size:15px!important}#newsRoot .ux-tile small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #newsRoot .nw-links{padding-top:0!important}
  #newsRoot .nw-main{grid-template-columns:minmax(0,1fr) clamp(280px,20vw,340px)!important;gap:10px!important;height:calc((100vh - 292px + (0.82 - var(--z,.82)) * 562px) / var(--z,.82));min-height:300px}
  #newsRoot .ux-tabs{gap:2px!important}#newsRoot .ux-tab{padding:4px 11px!important;font-size:12px!important;min-height:0!important}
  #newsRoot .nw-filters{padding:6px 10px!important;gap:6px!important}#newsRoot .nw-filters .ux-chip{padding:3px 9px!important;font-size:11px!important;min-height:0!important}#newsRoot .nw-filters .ux-input{height:26px!important;max-width:200px!important;font-size:12px!important}
  #newsRoot .nw-feed,#newsRoot .nw-side{min-height:0;height:100%;overflow:hidden}
  #newsRoot .nw-feed>.ux-card{height:100%;display:flex;flex-direction:column;overflow:hidden}
  #newsRoot #nwList{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;scrollbar-width:thin}
  #newsRoot #nwList>.nw-group,#newsRoot #nwList>.nw-hero,#newsRoot #nwList>.ux-empty,#newsRoot #nwList>div:not(.nw-group){grid-column:1/-1}
  #newsRoot .nw-group{padding:5px 12px!important}
  #newsRoot .nw-hero{padding:10px 12px!important;gap:12px!important}
  #newsRoot .nw-img.big{width:132px!important;height:88px!important}
  #newsRoot .nw-title.big{font-size:16px!important}
  #newsRoot .nw-hero p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px!important}
  #newsRoot .nw-card{padding:8px 12px!important;gap:10px!important;border-right:1px solid #12233a}
  #newsRoot .nw-img{width:64px!important;height:46px!important}
  #newsRoot .nw-title{font-size:13px!important;line-height:1.35}
  #newsRoot .nw-card p{font-size:11.5px!important;-webkit-line-clamp:2!important}
  #newsRoot .nw-card .ux-row.wrap:last-child .ux-badge.mute,#newsRoot .nw-card .nw-body>.ux-row:last-of-type:not(:first-child){display:none}
  #newsRoot .nw-side{overflow-y:auto;scrollbar-width:thin;align-content:start;position:static}
  #newsRoot .nw-top{padding:7px 12px!important}
}
@media (min-width:1700px) and (min-height:560px){#newsRoot #nwList{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---- 4.5.43 · desktop proportions as marked: portfolio list ~58% / detail ~42%; Performance uses the full page; chart page gets a wider, full-height signal dashboard ---- */
@media (min-width:1100px){
  .pf-main:has(.pf-detail.hidden){grid-template-columns:minmax(0,1fr)!important}
  .pf-main:has(.pf-detail.hidden) .pf-list{max-height:none!important;overflow:visible!important}
  .pf-detail .pf-d-cols .ux-grid2,.pf-detail .ux-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ch-main{grid-template-columns:minmax(0,1fr) clamp(400px,23vw,470px)!important;align-items:stretch!important}
  .ch-side{max-height:none!important;height:calc((100vh - 200px) / var(--z,1));overflow-y:auto}
}
@container (min-width:900px){.pf-detail .pf-d-cols .ux-grid2,.pf-detail .ux-grid2{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* ===== 4.5.45: chart page — session open times on the OR buttons, indicator layers always reachable ===== */
#chRoot #chSess button{gap:4px}
#chRoot #chSess .ch-sesstime{font-size:8.5px;font-weight:600;opacity:.65;letter-spacing:.02em}
#chRoot #chLayers:not(.hidden){display:flex!important}
/* 4.5.46: Performance — charts directly under the figures, guard + autopsy side by side */
.pf-main #pfPerfRoot .pf-canvas{height:clamp(170px,24vh,230px)}
#chRoot #chSess button{padding:0 5px!important;white-space:nowrap}

/* ===== 4.5.49: every open position is its own bordered card (instrument row + slider row), with a gap between cards ===== */
.pf-table.open{border-collapse:separate!important;border-spacing:0!important}
.pf-table.open tbody.pf-gap td{padding:0!important;height:10px;border:0!important;background:transparent!important}
.pf-table.open tbody.pf-pos td{background:#0a1626;border-top:0!important;border-bottom:0!important}
.pf-table.open tbody.pf-pos tr:first-child td{border-top:1px solid #1d3552!important}
.pf-table.open tbody.pf-pos tr:last-child td{border-bottom:1px solid #1d3552!important}
.pf-table.open tbody.pf-pos tr:first-child td:first-child{border-left:3px solid #1d3552!important;border-top-left-radius:10px}
.pf-table.open tbody.pf-pos tr:first-child td:last-child{border-right:1px solid #1d3552!important;border-top-right-radius:10px}
.pf-table.open tbody.pf-pos tr:last-child td:first-child{border-bottom-left-radius:10px;border-left:3px solid #1d3552!important}
.pf-table.open tbody.pf-pos tr:last-child td:last-child{border-bottom-right-radius:10px;border-right:1px solid #1d3552!important}
.pf-table.open tbody.pf-pos.is-long tr td:first-child{border-left-color:#24d18f!important}
.pf-table.open tbody.pf-pos.is-short tr td:first-child{border-left-color:#ff6174!important}
.pf-table.open tbody.pf-pos.is-sel td{background:#0e2238!important}
.pf-table.open tbody.pf-pos.is-sel tr:first-child td{border-top-color:#3c7bd4!important}
.pf-table.open tbody.pf-pos.is-sel tr:last-child td{border-bottom-color:#3c7bd4!important}
.pf-table.open tbody.pf-pos.is-sel tr:first-child td:last-child,.pf-table.open tbody.pf-pos.is-sel tr:last-child td:last-child{border-right-color:#3c7bd4!important}
.pf-table.open tbody.pf-pos:hover td{background:#0c1d30}
/* 4.5.50 settings help bubbles */
#settingsProRoot .pf-q .pf-tip{width:min(320px,80vw);left:-6px;bottom:calc(100% + 8px)}
#settingsProRoot label>.pf-q,#settingsProRoot span>.pf-q{flex:none}
#settingsProRoot .ux-card,#settingsProRoot .settings-card{overflow:visible}
#settingsProRoot .st-lt{display:block}
/* 4.5.50 chart: compact layers panel, quick-entry bar, grouped quick symbols, scanner focus star */
#chRoot .ch-layers{gap:3px 12px!important;padding:5px 2px 2px!important;align-items:center}
#chRoot .ch-lgrp{gap:3px!important;padding-right:10px;border-right:1px solid #16314d}
#chRoot .ch-lgrp:last-child{border-right:0}
#chRoot .ch-lgrp b{font-size:8.5px!important;margin-right:3px;opacity:.75}
#chRoot .ch-lgrp .ux-chip{padding:2px 8px!important;min-height:22px!important;height:22px;font-size:10px!important;line-height:1}
#chRoot #chQuick{flex-wrap:wrap;gap:3px;align-items:center}
#chRoot #chQuick .ux-tab{padding:4px 9px!important;min-height:26px!important;font-size:11.5px!important}
#chRoot .ch-qgrp{display:inline-flex;align-items:center;gap:3px;margin-left:8px;padding-left:8px;border-left:1px solid #16314d}
#chRoot .ch-qgrp b{font:800 8.5px var(--ux-mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:#6f89a6;margin-right:2px}
#chRoot .ch-chartcard{position:relative}
#chRoot .ch-qe{position:absolute;left:50%;bottom:58px;transform:translateX(-50%);display:flex;gap:8px;align-items:stretch;z-index:7;padding:6px;border-radius:12px;background:rgba(7,18,32,.86);border:1px solid #1f4163;box-shadow:0 8px 24px rgba(0,0,0,.45);backdrop-filter:blur(4px)}
#chRoot .ch-qe>.ux-btn{min-width:84px;min-height:40px;font-weight:800;letter-spacing:.07em}
#chRoot .ch-qe-mid{display:grid;grid-template-columns:96px auto;gap:4px 6px;align-items:center}
#chRoot .ch-qe-mid input{width:96px;height:30px;padding:0 8px;border-radius:8px;border:1px solid #2a4a6b;background:#06101c;color:#fff;font:700 13px var(--ux-mono,monospace);text-align:center}
#chRoot .ch-qe-mid .ux-seg button{min-height:30px!important;height:30px!important;padding:0 10px!important}
#chRoot .ch-qe-note{grid-column:1/3;text-align:center;font:600 10px var(--ux-mono,monospace);color:#7e98b4;white-space:nowrap}
@media (max-width:760px){#chRoot .ch-qe{display:none}}
.pro-star{color:#f7b955;font-size:11px}
@media (min-width:761px){
#chRoot .ux-bar{padding-top:6px!important;padding-bottom:6px!important}
#chRoot .ux-bar>.ux-row:first-child{gap:6px 8px!important;align-items:center}
#chRoot .ux-bar #chQuick{order:5;flex:1 1 100%;max-width:100%;margin:0!important}
#chRoot .ux-bar .ch-price{margin-left:auto;order:2}
#chRoot .ux-bar .ch-max-btn,#chRoot .ux-bar #chMin{order:3}
#chRoot .ch-layers{gap:2px 10px!important;padding:4px 0 0!important;margin-top:4px}
#chRoot .ch-lgrp .ux-chip{padding:1px 7px!important;min-height:20px!important;height:20px;font-size:9.5px!important}
#chRoot .ch-lgrp{padding-right:8px}
}

/* 4.6.12 — Z Fold (unfolded) and small tablets: pages are scaled down a notch so they are not oversized; phones and cover screens are untouched */
@media (min-width:600px) and (max-width:1099px){
  .screen:not(.hidden){zoom:.88}
}

/* 4.8.1: the logo artwork sits inside transparent padding (about 9.5% each side), so the visible X was not lined up with the text column below it.
   On desktop the logo is shifted so its visible left edge lines up with "MARKET SCANNER", the headline and the buttons. */
@media(min-width:981px){#guestLanding .lh .lh-mark,#guestLanding .lh .lp-markwrap.is-video{margin-left:0!important;transform:translateX(-9.5%)}}

/* 4.10.3 Portfolio detail panel: gauges fill its width (3 x 3), no empty side bands */


/* ---- 4.14.0 · portfolio on one page: open positions take half the width, the position / management panel fills the other half; both scroll on their own ---- */
@media (min-width:1200px){
  #pfRoot:not(.pf-wide) .pf-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:start}
  #pfRoot:not(.pf-wide) .pf-main:has(.pf-detail.hidden){grid-template-columns:minmax(0,1fr)!important}
  #pfRoot:not(.pf-wide) .pf-list{max-height:calc((100vh - 240px) / var(--z,1))!important;overflow-y:auto!important;scrollbar-width:thin}
  #pfRoot:not(.pf-wide) .pf-detail{position:sticky;top:8px;max-height:calc((100vh - 240px) / var(--z,1))!important;overflow-y:auto}
  #pfRoot .pf-detail .pf-chartwrap{height:clamp(220px,30vh,320px)!important}
}
/* wide panel: chart and figures on the left, targets / steps / fills / manage on the right */
@container (min-width:720px){
  #pfRoot .pf-d-cols{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;column-gap:14px}
  #pfRoot .pf-d-left,#pfRoot .pf-d-right{display:grid;gap:10px;align-content:start;min-width:0}
}
