:root{--bg:#08111f;--card:#111d31;--text:#eef5ff;--muted:#91a4bf;--accent:#2f80ff;--border:#233657;--soft:#0e1a2d;--danger:#ff4d5e;--success:#20c978}html[data-theme=light]{--bg:#f6f8fc;--card:#ffffff;--text:#0b1426;--muted:#52627a;--border:#dfe7f5;--soft:#eef4ff}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input{font-family:inherit}.topbar{display:flex;justify-content:space-between;align-items:center;padding:24px 7%;border-bottom:1px solid var(--border);background:rgba(7,16,29,.85);position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}html[data-theme=light] .topbar{background:rgba(255,255,255,.85)}.logo,.brand{font-weight:900;font-size:25px}.topbar nav a{margin-left:24px;color:var(--muted);font-weight:700}.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;padding:84px 7%;align-items:center;background:radial-gradient(circle at top right,rgba(47,128,255,.25),transparent 35%)}.hero h1{font-size:58px;line-height:1.04;margin:18px 0}.hero p,.page p{color:var(--muted);font-size:18px}.review{margin-top:24px;color:var(--success);font-weight:800}.badge{display:inline-block;background:#0e274d;color:#7cb2ff;padding:10px 14px;border-radius:999px;font-weight:800}.btn,.primary{display:inline-block;background:var(--accent);color:#fff;padding:14px 20px;border-radius:12px;margin-right:12px;font-weight:800;border:0;cursor:pointer;text-align:center}.primary.full{display:block;margin:16px 0}.ghost{background:transparent;border:1px solid var(--border);color:var(--text)}.block{display:block;width:100%;margin:14px 0 0}.hero-card,.cards>div,.panel,.table-card,.chart,.pricing>div,.auth-card{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:24px;box-shadow:0 12px 35px rgba(0,0,0,.10)}.metric{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:16px 0}.cards,.pricing,.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px 7%}.center{text-align:center;max-width:720px;margin:0 auto 28px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;background:#07101d;border-right:1px solid #1c2b45;padding:20px;overflow:auto;color:#fff}.sidebar .brand{margin-bottom:12px}.menu-title{font-size:13px;color:#9aaaca;margin:20px 0 8px;font-weight:900;text-transform:uppercase}.sidebar nav a,.sidebar summary,.back{display:block;padding:11px 12px;color:#d8e4f8;border-radius:10px;margin:2px 0}.sidebar nav a:hover,.sidebar summary:hover,.sidebar nav a.active{background:#13243d;color:#fff;border-left:3px solid var(--accent)}.sidebar details a{padding-left:28px;color:#b9c7dc}.theme-btn{width:100%;margin-top:18px;padding:12px;border:1px solid #31476d;background:#0e1a2d;color:white;border-radius:10px;cursor:pointer}.userbox{border-top:1px solid #1c2b45;margin-top:18px;padding-top:16px}.userbox small{display:block;color:#9aaaca;margin:6px 0}.link-btn{background:none;border:0;color:#7cb2ff;padding:0;cursor:pointer}.main{margin-left:280px;padding:32px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{margin:0 0 6px}.page-head p{color:var(--muted);margin:0}.grid{padding:0}.cards4{grid-template-columns:repeat(4,1fr)}.panel span{display:block;color:var(--muted)}.panel b{display:block;font-size:26px;margin-top:8px}.panel p{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin-top:20px}.chart{min-height:320px;display:flex;align-items:center;justify-content:center;color:var(--muted);text-align:center}.chart.big{min-height:340px}.objectives p{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding-bottom:10px}.page{padding:60px 7%}.pricing{grid-template-columns:repeat(5,1fr)}.pricing h3{font-size:28px;margin-bottom:6px}.pricing h2{color:var(--accent);font-size:30px}.pricing button,.table-card button{background:var(--accent);color:white;border:0;border-radius:10px;padding:10px 16px}.table-card{margin-top:22px;overflow:auto}.table-card table{width:100%;border-collapse:collapse}.table-card th,.table-card td{padding:14px;border-top:1px solid var(--border);text-align:left}.pill{background:rgba(47,128,255,.15);color:#6aa8ff;padding:6px 10px;border-radius:999px;font-weight:800}.green,.green-bg{color:var(--success)}.green-bg{background:rgba(32,201,120,.15)}.red{color:var(--danger)}.alert{background:rgba(255,77,94,.12);border:1px solid rgba(255,77,94,.25);padding:12px 14px;border-radius:12px;margin:12px 0;color:#ff9aa5}.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(circle at top,rgba(47,128,255,.22),transparent 35%),var(--bg)}.auth-card{width:440px}.auth-brand{margin-bottom:18px}.auth-card h1{font-size:42px;margin:0 0 10px}.auth-card p,.demo-creds{color:var(--muted)}.auth-card label{display:block;margin-top:14px;font-weight:800}.auth-card input{width:100%;padding:14px;margin-top:8px;border-radius:12px;border:1px solid var(--border);background:var(--soft);color:var(--text)}.demo-creds{background:var(--soft);padding:14px;border-radius:12px;margin:18px 0;line-height:1.8}@media(max-width:1100px){.pricing,.cards4,.dashboard-grid{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr}.hero h1{font-size:44px}}@media(max-width:760px){.cards,.pricing,.grid,.cards4,.dashboard-grid{grid-template-columns:1fr}.sidebar{position:static;width:auto}.main{margin-left:0}.page-head{display:block}.topbar{display:block}.topbar nav a{display:inline-block;margin:12px 14px 0 0}}
/* PropXpert professional home page */
.home-topbar{display:flex;justify-content:space-between;align-items:center;padding:22px 7%;border-bottom:1px solid rgba(255,255,255,.08);background:#07111f;position:sticky;top:0;z-index:20}.home-logo{font-size:27px;font-weight:950;color:#fff;letter-spacing:-.5px}.home-logo span{color:#2f80ff}.login-btn{background:#2f80ff;color:white;padding:12px 26px;border-radius:10px;font-weight:900;box-shadow:0 10px 24px rgba(47,128,255,.22)}.home-hero{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;padding:82px 7%;background:radial-gradient(circle at 78% 25%,rgba(47,128,255,.32),transparent 34%),linear-gradient(135deg,#07111f 0%,#09172b 52%,#0d2341 100%);color:#fff}.home-badge{display:inline-flex;background:rgba(47,128,255,.18);border:1px solid rgba(47,128,255,.35);color:#83b8ff;padding:10px 16px;border-radius:999px;font-weight:900}.hero-copy h1{font-size:66px;line-height:1.02;margin:20px 0 18px;letter-spacing:-2px}.hero-copy h1 strong{color:#2f80ff}.hero-copy p{color:#b7c7de;max-width:690px;font-size:19px;line-height:1.65}.btn.large{padding:17px 28px;border-radius:12px;font-size:16px;margin-top:16px}.trust-line{display:flex;gap:10px;align-items:center;margin-top:26px;color:#dbe7fa}.trust-line span{color:#23c77b;letter-spacing:2px}.trust-line small{color:#93a8c4}.home-preview-card{background:rgba(8,17,31,.76);border:1px solid rgba(255,255,255,.13);box-shadow:0 35px 80px rgba(0,0,0,.32);border-radius:30px;padding:28px;backdrop-filter:blur(16px);transform:perspective(900px) rotateY(-5deg)}.preview-top{display:flex;justify-content:space-between;align-items:flex-start}.preview-top small,.preview-metrics small{display:block;color:#9fb1c9}.preview-top h2{font-size:36px;margin:8px 0}.gain{background:rgba(32,201,120,.14);color:#23c77b;padding:8px 12px;border-radius:10px;font-weight:900}.line-chart{height:210px;display:flex;align-items:end;gap:12px;padding:34px 6px 18px;border-bottom:1px solid rgba(255,255,255,.1)}.line-chart span{flex:1;background:linear-gradient(180deg,#2f80ff,#0b4bb5);border-radius:8px 8px 0 0;box-shadow:0 0 22px rgba(47,128,255,.26)}.preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.preview-metrics div{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:16px}.preview-metrics b{display:block;margin:8px 0;font-size:20px}.preview-metrics em{font-style:normal;font-weight:900}.challenge-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#0e3c85;color:#fff;padding:0 7%}.challenge-strip div{padding:28px 30px;background:linear-gradient(135deg,#0b3a86,#0a55ce)}.challenge-strip b{display:block;font-size:18px}.challenge-strip span{display:block;color:#cfe0ff;margin-top:6px}@media(max-width:980px){.home-hero{grid-template-columns:1fr}.hero-copy h1{font-size:48px}.home-preview-card{transform:none}.challenge-strip{grid-template-columns:1fr 1fr}}@media(max-width:640px){.home-topbar{padding:18px 5%}.home-hero{padding:52px 5%}.hero-copy h1{font-size:40px}.preview-metrics,.challenge-strip{grid-template-columns:1fr}}


/* Homepage refresh */
.home-actions-right{display:flex;align-items:center;gap:14px}.nav-link-simple{color:#d9e6fb;font-weight:700}.signup-btn{background:#2f80ff;color:#fff;padding:12px 24px;border-radius:10px;font-weight:900;box-shadow:0 10px 24px rgba(47,128,255,.22)}.hero-actions.two-buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.ghost-light{background:transparent;border:1px solid rgba(255,255,255,.18);color:#fff}.section-light{background:#f6f8fc;color:#0b1426}.section-dark{background:#0a1526;color:#fff}.info-section{padding:88px 7%}.section-heading{max-width:820px}.section-heading.centered{text-align:center;margin:0 auto 38px}.section-kicker{display:inline-block;color:#2f80ff;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:13px;margin-bottom:12px}.section-heading h2,.two-col-grid h2,.cta-box h2{font-size:44px;line-height:1.1;margin:0 0 14px;letter-spacing:-1px}.section-heading p,.two-col-grid p,.feature-box p,.step-card p,.timeline-item span,.cta-box p{color:#667892;line-height:1.7;font-size:17px}.section-dark .two-col-grid p,.section-dark .feature-box p{color:#a8bad4}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.step-card{background:#fff;border:1px solid #e2e8f3;border-radius:22px;padding:26px;box-shadow:0 18px 40px rgba(10,19,38,.05)}.step-no{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf2ff;color:#2f80ff;font-weight:900;margin-bottom:18px}.step-card h3,.feature-box h4{margin:0 0 10px;font-size:22px;color:#0b1426}.two-col-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:32px;align-items:start}.feature-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-box{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:24px}.feature-box h4{color:#fff}.pricing-wrap{padding-top:70px}.stage-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.timeline-item{background:#fff;border:1px solid #e1e8f2;border-radius:20px;padding:24px;box-shadow:0 14px 30px rgba(10,19,38,.05)}.timeline-item b{display:block;font-size:20px;margin-bottom:10px;color:#0b1426}.cta-section{padding:0 7% 90px;background:#f6f8fc}.cta-box{display:flex;justify-content:space-between;align-items:center;gap:30px;background:linear-gradient(135deg,#08111f,#0e2340);color:#fff;border-radius:28px;padding:42px;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(5,11,21,.22)}.cta-box p{color:#bfd1e6;max-width:760px}.cta-actions{display:flex;gap:14px;flex-wrap:wrap}.auth-foot{margin:16px 0;color:var(--muted)}.auth-foot a{color:#2f80ff;font-weight:800}
@media(max-width:1100px){.steps-grid,.stage-timeline{grid-template-columns:1fr 1fr}.two-col-grid,.cta-box{grid-template-columns:1fr;display:block}.feature-list-grid{margin-top:24px}}
@media(max-width:760px){.home-actions-right{gap:10px}.section-heading h2,.two-col-grid h2,.cta-box h2{font-size:34px}.steps-grid,.feature-list-grid,.stage-timeline{grid-template-columns:1fr}.cta-box{padding:30px}.cta-actions{margin-top:18px}.signup-btn,.login-btn{padding:11px 18px}}

/* Click fix for homepage auth buttons */
.home-topbar, .hero-actions, .home-actions-right, .cta-actions { position: relative; z-index: 50; }
.home-topbar a, .hero-actions a, .cta-actions a { pointer-events: auto; }
.home-actions-right a, .hero-actions a, .cta-actions a { cursor: pointer; }

/* === PropXpert premium admin redesign === */
html[data-theme=dark]{--bg:#07111f;--card:#101c2f;--text:#f5f8ff;--muted:#9eb0cc;--accent:#7c4dff;--border:#243552;--soft:#0b1627;--success:#41df9a;--danger:#ff675f}
.admin-side.premium-admin-sidebar{width:292px;padding:18px 14px;background:radial-gradient(circle at 18% 5%,rgba(132,77,255,.34),transparent 24%),linear-gradient(180deg,#07111f 0%,#060d18 58%,#080816 100%);border-right:1px solid rgba(129,153,199,.22);box-shadow:20px 0 55px rgba(0,0,0,.22);scrollbar-width:thin;scrollbar-color:#744cff transparent}.premium-admin-sidebar::-webkit-scrollbar{width:5px}.premium-admin-sidebar::-webkit-scrollbar-thumb{background:#744cff;border-radius:999px}.sidebar-orb{position:absolute;pointer-events:none;border-radius:999px;filter:blur(34px);opacity:.7}.orb-one{width:150px;height:150px;background:#6d39ff;left:-70px;top:56px}.orb-two{width:120px;height:120px;background:#00d4ff;right:-80px;top:440px}.brand-panel{position:relative;z-index:1;display:grid;grid-template-columns:42px 1fr 34px;align-items:center;gap:10px;padding:12px 8px 18px}.brand-panel .brand{font-size:24px;letter-spacing:-.6px}.brand-panel small{display:block;color:#8396b6;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-top:2px}.brand-mark{width:42px;height:42px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8a5cff,#4c31c9);box-shadow:0 14px 32px rgba(124,77,255,.35)}.brand-mark span{transform:rotate(45deg);font-size:18px}.collapse-dot{width:32px;height:32px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.04);color:#b7c8e6;border-radius:50%;cursor:pointer}.admin-nav-shell{position:relative;z-index:1}.nav-cluster{position:relative;margin:10px 0 14px;padding:10px;border:1px solid rgba(145,164,191,.12);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.nav-cluster:first-child{border-color:transparent;background:transparent;box-shadow:none;padding-top:0}.premium-admin-sidebar .menu-title{margin:2px 4px 8px;color:#8194b8;font-size:11px;letter-spacing:.1em}.premium-admin-sidebar .nav-item,.premium-admin-sidebar .back{position:relative;display:grid;grid-template-columns:32px 1fr 18px;align-items:center;gap:8px;margin:4px 0;padding:10px 10px;border-radius:14px;color:#e7eefc;border:1px solid transparent;transition:.22s ease}.premium-admin-sidebar .nav-item:hover,.premium-admin-sidebar .back:hover{background:rgba(124,77,255,.13);border-color:rgba(124,77,255,.25);transform:translateX(2px)}.premium-admin-sidebar .nav-item.active{background:linear-gradient(90deg,rgba(124,77,255,.95),rgba(74,49,201,.42));border-color:rgba(177,147,255,.55);box-shadow:0 14px 35px rgba(124,77,255,.25),inset 0 1px 0 rgba(255,255,255,.16)}.premium-admin-sidebar .nav-item.active:before{content:"";position:absolute;right:12px;width:7px;height:7px;border-radius:50%;background:#9f7cff;box-shadow:0 0 18px #b391ff}.nav-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:rgba(255,255,255,.055);font-size:14px}.nav-label{font-weight:800;font-size:14px}.nav-arrow{color:#9dafc9;text-align:right}.tool-stack,.system-stack{margin:4px 0}.tool-stack summary,.system-stack summary{list-style:none;cursor:pointer}.tool-stack summary::-webkit-details-marker,.system-stack summary::-webkit-details-marker{display:none}.tool-summary{background:linear-gradient(90deg,rgba(124,77,255,.36),rgba(30,212,255,.06));border-color:rgba(124,77,255,.4)!important}.tool-rail{position:relative;margin:6px 0 6px 24px;padding:4px 0 4px 14px;border-left:1px solid rgba(124,77,255,.42)}.tool-link{display:flex!important;align-items:center!important;gap:9px!important;margin:2px 0!important;padding:8px 8px!important;border-radius:11px!important;color:#cbd7ed!important;font-size:13px!important}.tool-link span{width:8px;height:8px;border-radius:50%;background:#586b91;box-shadow:0 0 0 4px #0a1424}.tool-link:hover,.tool-link.active{background:rgba(124,77,255,.16)!important;color:#fff!important}.tool-link.active span{background:#9f7cff}.premium-theme-btn{border-radius:14px;background:rgba(13,25,44,.8);border-color:rgba(124,77,255,.38);font-weight:900}.trader-return{grid-template-columns:1fr!important;border:1px solid rgba(255,255,255,.08);text-align:center;margin-top:10px!important}.control-card{position:relative;overflow:hidden;margin:14px 4px;padding:14px;border-radius:16px;background:linear-gradient(135deg,rgba(124,77,255,.34),rgba(10,21,38,.92));border:1px solid rgba(156,127,255,.3)}.control-card small{display:block;color:#d9d0ff;font-weight:900;font-size:11px}.control-card strong{display:block;margin-top:4px}.pulse-line{display:flex;align-items:end;gap:4px;height:28px;margin-top:8px}.pulse-line i{display:block;width:22%;background:linear-gradient(180deg,#9f7cff,#21d4fd);border-radius:999px}.pulse-line i:nth-child(1){height:9px}.pulse-line i:nth-child(2){height:21px}.pulse-line i:nth-child(3){height:13px}.pulse-line i:nth-child(4){height:25px}.premium-userbox{display:grid;grid-template-columns:42px 1fr;gap:10px;border-top:1px solid rgba(255,255,255,.09);margin:14px 4px 0;padding-top:14px}.avatar-mini{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#7c4dff,#21d4fd);font-weight:950;color:#fff}
.admin-main-premium{margin-left:292px;min-height:100vh;background:radial-gradient(circle at 76% -10%,rgba(124,77,255,.24),transparent 28%),radial-gradient(circle at 34% 18%,rgba(33,212,253,.11),transparent 20%),linear-gradient(135deg,#08111f 0%,#0a1628 46%,#07101e 100%);padding:34px 28px 36px}.admin-hero-head{margin-bottom:26px}.admin-kicker{display:inline-block;margin-bottom:8px;color:#9f7cff;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.admin-hero-head h1{font-size:31px;letter-spacing:-.8px}.admin-head-actions{display:flex;align-items:center;gap:14px}.icon-button{position:relative;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(145,164,191,.22);color:white}.icon-button em{position:absolute;top:8px;right:8px;width:16px;height:16px;border-radius:50%;background:#7c4dff;font-style:normal;font-size:10px;line-height:16px}.manage-users-btn{margin:0;border-radius:14px;background:linear-gradient(135deg,#8060ff,#552de0);box-shadow:0 14px 36px rgba(124,77,255,.28)}.premium-stat-grid{gap:16px}.premium-stat-card{position:relative;min-height:140px;padding:22px 22px 20px 86px!important;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;border-color:rgba(145,164,191,.22)!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important}.premium-stat-card:after{content:"";position:absolute;inset:auto -30px -55px auto;width:120px;height:120px;border-radius:50%;background:currentColor;opacity:.12;filter:blur(2px)}.premium-stat-card i{position:absolute;left:22px;top:30px;width:48px;height:48px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:950;color:#fff}.premium-stat-card.violet{color:#9b7bff}.premium-stat-card.cyan{color:#21d4fd}.premium-stat-card.amber{color:#ffad3d}.premium-stat-card.emerald{color:#41df9a}.premium-stat-card.violet i{background:linear-gradient(135deg,#7c4dff,#4322ad)}.premium-stat-card.cyan i{background:linear-gradient(135deg,#16c9dd,#08727e)}.premium-stat-card.amber i{background:linear-gradient(135deg,#ffad3d,#9b5a07)}.premium-stat-card.emerald i{background:linear-gradient(135deg,#41df9a,#0b7545)}.premium-stat-card span,.premium-stat-card p{color:#b5c3dc!important}.premium-stat-card b{font-size:27px!important;color:#fff}.premium-stat-card p{margin-bottom:0;color:#41df9a!important;font-weight:800}.premium-dashboard-grid{grid-template-columns:2fr 1.08fr 1.08fr;gap:16px}.revenue-card,.challenge-widget,.activities-widget,.premium-table-card{background:linear-gradient(145deg,rgba(255,255,255,.062),rgba(255,255,255,.025))!important;border:1px solid rgba(145,164,191,.22)!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important;color:#f5f8ff!important}.revenue-card{display:block;text-align:left;padding:24px}.card-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.card-title-row h2{margin:0}.card-title-row button,.card-title-row a,.activities-widget a{border:1px solid rgba(145,164,191,.22);background:rgba(255,255,255,.04);color:#cdbfff;border-radius:12px;padding:10px 14px;font-weight:900}.revenue-chart{height:236px;display:flex;align-items:end;gap:8px;padding:18px 8px 0;background:repeating-linear-gradient(to top,transparent 0,transparent 46px,rgba(255,255,255,.065) 47px),linear-gradient(180deg,rgba(124,77,255,.08),transparent);border-left:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}.revenue-chart span{flex:1;min-width:9px;background:linear-gradient(180deg,#a67cff 0%,rgba(124,77,255,.5) 55%,rgba(124,77,255,.08) 100%);border-radius:999px 999px 4px 4px;box-shadow:0 0 22px rgba(124,77,255,.28)}.chart-axis{display:flex;justify-content:space-between;padding:12px 0 0 26px;color:#9eb0cc}.challenge-widget h2,.activities-widget h2{margin-top:0}.donut{width:142px;height:142px;border-radius:50%;margin:18px auto;background:conic-gradient(#7c4dff 0 48%,#35d0c6 48% 66%,#ffad3d 66% 96%,#ff675f 96% 100%);display:flex;align-items:center;justify-content:center}.donut:before{content:"";position:absolute;width:88px;height:88px;border-radius:50%;background:#101c2f}.donut div{position:relative;text-align:center}.donut small{display:block;color:#aebbd2}.donut strong{font-size:22px}.challenge-widget p{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;margin:13px 0;color:#c5d2e8}.challenge-widget p b{font-size:13px}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.purple{background:#7c4dff}.green-dot{background:#35d0c6}.orange{background:#ffad3d}.red-dot{background:#ff675f}.activities-widget p{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;margin:15px 0;color:#eef5ff}.activities-widget p i{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(124,77,255,.28);font-style:normal}.activities-widget p:nth-child(3) i{background:rgba(65,223,154,.24)}.activities-widget p:nth-child(4) i{background:rgba(255,173,61,.25)}.activities-widget p:nth-child(5) i{background:rgba(33,112,255,.24)}.activities-widget small{display:block;color:#9eb0cc;margin-top:3px}.activities-widget a{display:block;text-align:center;margin-top:18px}.premium-table-card{padding:24px}.premium-table-card th{color:#d5def0;font-size:13px;text-transform:none}.premium-table-card td{color:#e8effb}.premium-table-card tr:hover td{background:rgba(124,77,255,.045)}.danger-bg{background:rgba(255,103,95,.15);color:#ff756e}.progress{display:inline-flex;width:148px;height:8px;background:rgba(255,255,255,.09);border-radius:999px;margin-right:12px;vertical-align:middle;overflow:hidden}.progress span{display:block;height:100%;border-radius:999px;background:#9b7bff}.green-progress span{background:#41df9a}.amber-progress span{background:#ffad3d}
html[data-theme=light] .admin-main-premium{background:linear-gradient(135deg,#f5f7fc,#eef3fb)}html[data-theme=light] .revenue-card,html[data-theme=light] .challenge-widget,html[data-theme=light] .activities-widget,html[data-theme=light] .premium-table-card,html[data-theme=light] .premium-stat-card{background:#fff!important;color:#0b1426!important}html[data-theme=light] .premium-stat-card b,html[data-theme=light] .donut strong,html[data-theme=light] .card-title-row h2,html[data-theme=light] .challenge-widget h2,html[data-theme=light] .activities-widget h2{color:#0b1426}.admin-main-premium .panel b{margin-top:6px}@media(max-width:1200px){.premium-dashboard-grid,.premium-stat-grid{grid-template-columns:1fr 1fr}.activities-widget{grid-column:1/-1}}@media(max-width:800px){.admin-side.premium-admin-sidebar{position:static;width:auto}.admin-main-premium{margin-left:0}.premium-dashboard-grid,.premium-stat-grid{grid-template-columns:1fr}.admin-head-actions{margin-top:18px}.premium-stat-card{padding-left:82px!important}}


/* === PropXpert admin repair update: theme-aware premium sidebar + all admin pages === */
main.main:has(+ .__never__){display:block}
.admin-page-premium{margin-left:292px;min-height:100vh;padding:32px 28px 48px;background:radial-gradient(circle at 80% -8%,rgba(124,77,255,.18),transparent 28%),linear-gradient(135deg,#08111f 0%,#0a1628 52%,#07101e 100%)}
.admin-page-premium .page-head{padding:0 0 4px;margin-bottom:22px}.admin-page-premium .page-head h1{font-size:32px;letter-spacing:-.8px}.admin-page-premium .page-head p{color:#a9bad4}.admin-page-premium .cards4{gap:16px}.admin-page-premium .panel,.admin-page-premium .table-card{background:linear-gradient(145deg,rgba(255,255,255,.062),rgba(255,255,255,.025));border:1px solid rgba(145,164,191,.22);box-shadow:0 18px 48px rgba(0,0,0,.18);color:#f5f8ff}.admin-page-premium .panel{min-height:124px}.admin-page-premium .panel span{color:#b4c4dd}.admin-page-premium .panel b{color:#fff}.admin-page-premium .table-card h2{margin-top:0}.admin-page-premium .table-card th{color:#d5def0}.admin-page-premium .table-card td{color:#eef5ff}.admin-page-premium .btn{background:linear-gradient(135deg,#2f80ff,#7c4dff);box-shadow:0 14px 34px rgba(47,128,255,.22)}

/* Make sidebar participate in theme toggle. Dark stays premium; light becomes clean glass/white so button visibly changes menu too. */
html[data-theme=light] .premium-admin-sidebar{background:linear-gradient(180deg,#ffffff 0%,#f5f7ff 48%,#edf2fb 100%)!important;color:#0b1426!important;border-right:1px solid #dbe5f4!important;box-shadow:18px 0 45px rgba(28,47,88,.10)!important}
html[data-theme=light] .premium-admin-sidebar:before{background:radial-gradient(circle at 20% 0%,rgba(124,77,255,.12),transparent 34%),radial-gradient(circle at 80% 25%,rgba(33,212,253,.10),transparent 28%)!important}
html[data-theme=light] .premium-admin-sidebar .brand-panel,html[data-theme=light] .premium-admin-sidebar .nav-cluster,html[data-theme=light] .premium-admin-sidebar .control-card{background:rgba(255,255,255,.74)!important;border-color:#dce6f6!important;box-shadow:0 14px 34px rgba(28,47,88,.08)!important;color:#0b1426!important}
html[data-theme=light] .premium-admin-sidebar .brand,html[data-theme=light] .premium-admin-sidebar .nav-label,html[data-theme=light] .premium-admin-sidebar .control-card strong,html[data-theme=light] .premium-admin-sidebar .premium-userbox strong{color:#0b1426!important}
html[data-theme=light] .premium-admin-sidebar small,html[data-theme=light] .premium-admin-sidebar .menu-title,html[data-theme=light] .premium-admin-sidebar .nav-arrow,html[data-theme=light] .premium-admin-sidebar .premium-userbox small{color:#63728d!important}
html[data-theme=light] .premium-admin-sidebar .nav-item{color:#17223a!important;border-color:transparent!important;background:transparent!important}
html[data-theme=light] .premium-admin-sidebar .nav-item:hover{background:rgba(124,77,255,.08)!important;border-color:rgba(124,77,255,.18)!important}
html[data-theme=light] .premium-admin-sidebar .nav-item.active,html[data-theme=light] .premium-admin-sidebar .tool-summary{background:linear-gradient(90deg,rgba(124,77,255,.16),rgba(47,128,255,.08))!important;border-color:rgba(124,77,255,.28)!important;color:#101a30!important;box-shadow:inset 3px 0 0 #7c4dff,0 10px 26px rgba(124,77,255,.12)!important}
html[data-theme=light] .premium-admin-sidebar .nav-icon{background:#eef3fb!important;color:#5d47d8!important}
html[data-theme=light] .premium-admin-sidebar .tool-rail{border-left-color:rgba(124,77,255,.30)!important}
html[data-theme=light] .premium-admin-sidebar .tool-link{color:#51627f!important}.premium-admin-sidebar .tool-link.active{font-weight:900}html[data-theme=light] .premium-admin-sidebar .tool-link:hover,html[data-theme=light] .premium-admin-sidebar .tool-link.active{background:rgba(124,77,255,.10)!important;color:#231b55!important}
html[data-theme=light] .premium-admin-sidebar .tool-link span{background:#9cadca!important;box-shadow:0 0 0 4px #f5f7ff!important}html[data-theme=light] .premium-admin-sidebar .tool-link.active span{background:#7c4dff!important}
html[data-theme=light] .premium-admin-sidebar .premium-theme-btn{background:#fff!important;color:#0b1426!important;border-color:#cfdcf0!important;box-shadow:0 8px 22px rgba(28,47,88,.08)!important}
html[data-theme=light] .premium-admin-sidebar .trader-return{background:#fff!important;border-color:#dce6f6!important;color:#17223a!important}
html[data-theme=light] .premium-admin-sidebar .control-card{background:linear-gradient(135deg,#ffffff,#eef2ff)!important}html[data-theme=light] .premium-admin-sidebar .control-card small{color:#684dce!important}
html[data-theme=light] .premium-admin-sidebar .premium-userbox{border-top-color:#dce6f6!important}.premium-admin-sidebar .theme-btn{position:relative;z-index:2}
html[data-theme=light] .admin-page-premium{background:linear-gradient(135deg,#f5f7fc,#eef3fb)!important;color:#0b1426}html[data-theme=light] .admin-page-premium .panel,html[data-theme=light] .admin-page-premium .table-card{background:#fff!important;color:#0b1426!important;border-color:#dfe7f5!important;box-shadow:0 18px 46px rgba(35,54,87,.10)!important}html[data-theme=light] .admin-page-premium .panel b,html[data-theme=light] .admin-page-premium .table-card td{color:#0b1426!important}html[data-theme=light] .admin-page-premium .table-card th{color:#273854!important}
@media(max-width:800px){.admin-page-premium{margin-left:0}}

/* === PropXpert final theme font-color repair ===
   Makes BOTH admin pages and admin sidebar text switch cleanly with Dark/Light mode. */
html[data-theme="dark"] body,
html[data-theme="dark"] .admin-main-premium,
html[data-theme="dark"] .admin-page-premium{
  color:#f4f8ff!important;
}
html[data-theme="dark"] .admin-main-premium h1,
html[data-theme="dark"] .admin-main-premium h2,
html[data-theme="dark"] .admin-main-premium h3,
html[data-theme="dark"] .admin-main-premium h4,
html[data-theme="dark"] .admin-page-premium h1,
html[data-theme="dark"] .admin-page-premium h2,
html[data-theme="dark"] .admin-page-premium h3,
html[data-theme="dark"] .admin-page-premium h4{
  color:#ffffff!important;
}
html[data-theme="dark"] .admin-main-premium p,
html[data-theme="dark"] .admin-main-premium span,
html[data-theme="dark"] .admin-main-premium small,
html[data-theme="dark"] .admin-page-premium p,
html[data-theme="dark"] .admin-page-premium span,
html[data-theme="dark"] .admin-page-premium small,
html[data-theme="dark"] .chart-axis,
html[data-theme="dark"] .panel span{
  color:#aebfd8!important;
}
html[data-theme="dark"] .admin-main-premium b,
html[data-theme="dark"] .admin-main-premium strong,
html[data-theme="dark"] .admin-main-premium td,
html[data-theme="dark"] .admin-page-premium b,
html[data-theme="dark"] .admin-page-premium strong,
html[data-theme="dark"] .admin-page-premium td{
  color:#eef5ff!important;
}
html[data-theme="dark"] .admin-main-premium th,
html[data-theme="dark"] .admin-page-premium th{
  color:#d7e1f3!important;
}
html[data-theme="dark"] .admin-main-premium .pill,
html[data-theme="dark"] .admin-page-premium .pill{
  color:#79b2ff!important;
}
html[data-theme="dark"] .admin-main-premium .green-bg,
html[data-theme="dark"] .admin-page-premium .green-bg{
  color:#35e895!important;
}
html[data-theme="dark"] .admin-main-premium .danger-bg,
html[data-theme="dark"] .admin-page-premium .danger-bg{
  color:#ff7b72!important;
}

html[data-theme="light"] body,
html[data-theme="light"] .admin-main-premium,
html[data-theme="light"] .admin-page-premium{
  color:#101827!important;
}
html[data-theme="light"] .admin-main-premium h1,
html[data-theme="light"] .admin-main-premium h2,
html[data-theme="light"] .admin-main-premium h3,
html[data-theme="light"] .admin-main-premium h4,
html[data-theme="light"] .admin-page-premium h1,
html[data-theme="light"] .admin-page-premium h2,
html[data-theme="light"] .admin-page-premium h3,
html[data-theme="light"] .admin-page-premium h4{
  color:#071225!important;
}
html[data-theme="light"] .admin-main-premium p,
html[data-theme="light"] .admin-main-premium span,
html[data-theme="light"] .admin-main-premium small,
html[data-theme="light"] .admin-page-premium p,
html[data-theme="light"] .admin-page-premium span,
html[data-theme="light"] .admin-page-premium small,
html[data-theme="light"] .chart-axis,
html[data-theme="light"] .panel span{
  color:#52627a!important;
}
html[data-theme="light"] .admin-main-premium b,
html[data-theme="light"] .admin-main-premium strong,
html[data-theme="light"] .admin-main-premium td,
html[data-theme="light"] .admin-page-premium b,
html[data-theme="light"] .admin-page-premium strong,
html[data-theme="light"] .admin-page-premium td{
  color:#0b1426!important;
}
html[data-theme="light"] .admin-main-premium th,
html[data-theme="light"] .admin-page-premium th{
  color:#243149!important;
}
html[data-theme="light"] .admin-main-premium .pill,
html[data-theme="light"] .admin-page-premium .pill{
  background:#e8f1ff!important;
  color:#216bd9!important;
}
html[data-theme="light"] .admin-main-premium .green-bg,
html[data-theme="light"] .admin-page-premium .green-bg{
  background:#dff9ec!important;
  color:#087a45!important;
}
html[data-theme="light"] .admin-main-premium .danger-bg,
html[data-theme="light"] .admin-page-premium .danger-bg{
  background:#ffe9e7!important;
  color:#c9362d!important;
}

/* Sidebar/menu font colors: dark mode */
html[data-theme="dark"] .premium-admin-sidebar,
html[data-theme="dark"] .premium-admin-sidebar .brand,
html[data-theme="dark"] .premium-admin-sidebar .nav-label,
html[data-theme="dark"] .premium-admin-sidebar .nav-item,
html[data-theme="dark"] .premium-admin-sidebar summary,
html[data-theme="dark"] .premium-admin-sidebar .premium-userbox strong,
html[data-theme="dark"] .premium-admin-sidebar .control-card strong,
html[data-theme="dark"] .premium-admin-sidebar .trader-return{
  color:#f7fbff!important;
}
html[data-theme="dark"] .premium-admin-sidebar .menu-title,
html[data-theme="dark"] .premium-admin-sidebar small,
html[data-theme="dark"] .premium-admin-sidebar .nav-arrow,
html[data-theme="dark"] .premium-admin-sidebar .tool-link,
html[data-theme="dark"] .premium-admin-sidebar .premium-userbox small{
  color:#a8b8d2!important;
}
html[data-theme="dark"] .premium-admin-sidebar .nav-item.active .nav-label,
html[data-theme="dark"] .premium-admin-sidebar .tool-summary .nav-label,
html[data-theme="dark"] .premium-admin-sidebar .tool-link.active{
  color:#ffffff!important;
}
html[data-theme="dark"] .premium-admin-sidebar .link-btn{color:#7db4ff!important;}
html[data-theme="dark"] .premium-admin-sidebar .premium-theme-btn{color:#ffffff!important;}

/* Sidebar/menu font colors: light mode */
html[data-theme="light"] .premium-admin-sidebar,
html[data-theme="light"] .premium-admin-sidebar .brand,
html[data-theme="light"] .premium-admin-sidebar .nav-label,
html[data-theme="light"] .premium-admin-sidebar .nav-item,
html[data-theme="light"] .premium-admin-sidebar summary,
html[data-theme="light"] .premium-admin-sidebar .premium-userbox strong,
html[data-theme="light"] .premium-admin-sidebar .control-card strong,
html[data-theme="light"] .premium-admin-sidebar .trader-return{
  color:#111a2d!important;
}
html[data-theme="light"] .premium-admin-sidebar .menu-title,
html[data-theme="light"] .premium-admin-sidebar small,
html[data-theme="light"] .premium-admin-sidebar .nav-arrow,
html[data-theme="light"] .premium-admin-sidebar .tool-link,
html[data-theme="light"] .premium-admin-sidebar .premium-userbox small{
  color:#5b6b84!important;
}
html[data-theme="light"] .premium-admin-sidebar .nav-item.active .nav-label,
html[data-theme="light"] .premium-admin-sidebar .tool-summary .nav-label,
html[data-theme="light"] .premium-admin-sidebar .tool-link.active{
  color:#221a59!important;
}
html[data-theme="light"] .premium-admin-sidebar .link-btn{color:#1d6fe8!important;}
html[data-theme="light"] .premium-admin-sidebar .premium-theme-btn{color:#101827!important;}

/* Keep icons readable in both themes */
html[data-theme="dark"] .premium-admin-sidebar .nav-icon{color:#e9ddff!important;}
html[data-theme="light"] .premium-admin-sidebar .nav-icon{color:#593de0!important;}

/* === PropXpert premium login repair === */
.prop-login-page{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:50px;
  padding:54px 7%;
  background:
    radial-gradient(circle at 18% 96%,rgba(166,44,255,.40),transparent 25%),
    radial-gradient(circle at 78% 20%,rgba(47,128,255,.26),transparent 32%),
    linear-gradient(135deg,#050916 0%,#07111f 48%,#10183a 100%);
  color:#f8fbff;
}
.prop-login-page:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,#000,transparent 78%);
  pointer-events:none;
}
.prop-login-page:after{
  content:"";
  position:absolute;
  left:-10%;right:40%;bottom:-22%;height:260px;
  background:radial-gradient(ellipse at center,rgba(177,64,255,.72),rgba(47,128,255,.14) 36%,transparent 68%);
  filter:blur(8px);
  pointer-events:none;
}
.login-orb{position:absolute;border-radius:50%;filter:blur(24px);opacity:.55;pointer-events:none}.orb-one{width:260px;height:260px;background:#7c4dff;top:12%;left:40%}.orb-two{width:210px;height:210px;background:#2f80ff;right:7%;bottom:10%}
.login-theme-toggle{
  position:absolute;right:30px;top:28px;z-index:5;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(11,20,38,.62);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 35px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
}
.login-hero-panel,.login-card-wrap{position:relative;z-index:2}.login-brand-mark{font-size:30px;font-weight:950;letter-spacing:-.8px;margin-bottom:80px}.login-brand-mark span{color:#fff}.login-brand-mark em{display:block;font-style:normal;text-transform:uppercase;font-size:13px;color:#b982ff;letter-spacing:3px;margin-top:7px}.login-kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(168,85,247,.35);background:rgba(168,85,247,.12);color:#c69bff;border-radius:999px;padding:10px 16px;text-transform:uppercase;font-size:12px;font-weight:950;letter-spacing:.9px}.login-kicker:before{content:"▥"}.login-hero-panel h1{max-width:760px;font-size:62px;line-height:1.04;margin:24px 0 20px;letter-spacing:-2px}.login-hero-panel h1::first-letter{color:#fff}.login-hero-panel p{max-width:660px;font-size:20px;line-height:1.65;color:#c2cee4}.login-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:38px 0 34px;max-width:780px}.login-feature-grid div{min-height:126px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border-radius:20px;padding:22px;box-shadow:inset 0 1px rgba(255,255,255,.08)}.login-feature-grid strong{display:block;color:#fff;font-size:16px;margin-bottom:11px}.login-feature-grid small{color:#aebbd3;line-height:1.5}.login-stats-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;max-width:780px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);border-radius:22px;overflow:hidden}.login-stats-strip div{padding:20px 24px;background:rgba(8,17,31,.58)}.login-stats-strip b{display:block;font-size:24px;color:#fff}.login-stats-strip span{display:block;margin-top:5px;color:#aebbd3}.login-card-wrap{display:flex;justify-content:center}.prop-login-card{width:min(100%,560px)!important;border-radius:30px!important;padding:38px!important;background:linear-gradient(145deg,rgba(14,26,45,.86),rgba(8,14,28,.78))!important;border:1px solid rgba(168,85,247,.50)!important;box-shadow:0 0 0 1px rgba(47,128,255,.25),0 28px 90px rgba(0,0,0,.40),0 0 55px rgba(124,77,255,.18)!important;backdrop-filter:blur(20px);color:#f8fbff!important}.login-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.prop-login-card .auth-brand{margin:0;color:#fff!important;font-size:30px}.secure-chip{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#cbd7ee;border-radius:999px;padding:9px 12px;font-size:12px;font-weight:900}.prop-login-card h1{font-size:44px!important;text-align:center;margin:34px 0 10px!important;color:#fff!important}.prop-login-card>p{text-align:center;color:#c3cee3!important;margin-bottom:28px!important}.premium-login-form label{color:#f5f8ff!important;font-weight:900}.input-shell{display:flex;align-items:center;gap:12px;margin-top:9px;border:1px solid rgba(204,216,238,.25);background:rgba(7,15,30,.56);border-radius:15px;padding:0 14px;transition:.2s}.input-shell:focus-within{border-color:#8c5cff;box-shadow:0 0 0 4px rgba(124,77,255,.17)}.input-shell span{color:#d7e3f7}.input-shell input{margin:0!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;padding:17px 6px!important}.input-shell input::placeholder{color:#8ea0bd!important}.password-eye{border:0;background:transparent;color:#d7e3f7;cursor:pointer;font-size:16px}.login-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 4px;color:#c5d0e5}.login-row a{color:#a676ff;font-weight:800}.remember{margin:0!important;display:flex!important;align-items:center;gap:8px;color:#c5d0e5!important;font-weight:700!important}.remember input{width:auto!important;margin:0!important}.premium-login-btn{margin-top:20px!important;border-radius:15px!important;background:linear-gradient(90deg,#b229f4,#2f80ff)!important;box-shadow:0 18px 38px rgba(47,128,255,.28)!important;padding:17px 22px!important}.premium-demo-creds{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055)!important;color:#c4cfe5!important}.premium-demo-creds strong{display:block;color:#fff;margin-bottom:10px}.premium-demo-creds span{display:block;color:#c4cfe5}.premium-demo-creds b{color:#b56cff}.prop-login-card .auth-foot{color:#c3cee3!important;text-align:center}.prop-login-card .auth-foot a{color:#2f80ff!important;font-weight:900}.back-home-link{display:block;text-align:center;color:#c7b5ff!important;font-weight:900;margin-top:10px}
html[data-theme="light"] .prop-login-page{background:radial-gradient(circle at 18% 96%,rgba(124,77,255,.18),transparent 25%),radial-gradient(circle at 78% 20%,rgba(47,128,255,.16),transparent 32%),linear-gradient(135deg,#eef4ff 0%,#f8fbff 48%,#eef2ff 100%);color:#071225}html[data-theme="light"] .prop-login-page:before{background:linear-gradient(rgba(30,55,90,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(30,55,90,.055) 1px,transparent 1px)}html[data-theme="light"] .login-theme-toggle{background:rgba(255,255,255,.82);color:#0b1426;border-color:#d7e2f3}html[data-theme="light"] .login-brand-mark,html[data-theme="light"] .login-hero-panel h1,html[data-theme="light"] .login-feature-grid strong,html[data-theme="light"] .login-stats-strip b{color:#071225}html[data-theme="light"] .login-hero-panel p,html[data-theme="light"] .login-feature-grid small,html[data-theme="light"] .login-stats-strip span{color:#52627a}html[data-theme="light"] .login-feature-grid div,html[data-theme="light"] .login-stats-strip div{background:rgba(255,255,255,.72);border-color:#dfe7f5;box-shadow:0 14px 34px rgba(35,54,87,.08)}html[data-theme="light"] .login-stats-strip{border-color:#dfe7f5;background:#dfe7f5}html[data-theme="light"] .prop-login-card{background:rgba(255,255,255,.86)!important;color:#0b1426!important;border-color:rgba(47,128,255,.32)!important;box-shadow:0 28px 80px rgba(35,54,87,.16)!important}html[data-theme="light"] .prop-login-card .auth-brand,html[data-theme="light"] .prop-login-card h1,html[data-theme="light"] .premium-demo-creds strong,html[data-theme="light"] .premium-login-form label{color:#071225!important}html[data-theme="light"] .prop-login-card>p,html[data-theme="light"] .prop-login-card .auth-foot,html[data-theme="light"] .premium-demo-creds,html[data-theme="light"] .premium-demo-creds span,html[data-theme="light"] .remember{color:#52627a!important}html[data-theme="light"] .secure-chip,html[data-theme="light"] .premium-demo-creds{background:#f0f5ff!important;border-color:#dce6f6!important}html[data-theme="light"] .input-shell{background:#f3f7ff;border-color:#d8e3f4}html[data-theme="light"] .input-shell input{color:#0b1426!important}html[data-theme="light"] .input-shell input::placeholder{color:#7888a2!important}html[data-theme="light"] .input-shell span,html[data-theme="light"] .password-eye{color:#52627a}html[data-theme="light"] .back-home-link{color:#5636d9!important}
@media(max-width:1120px){.prop-login-page{grid-template-columns:1fr;padding:90px 6% 54px}.login-brand-mark{margin-bottom:34px}.login-hero-panel h1{font-size:46px}.login-card-wrap{justify-content:flex-start}.login-feature-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.prop-login-page{padding:86px 18px 36px}.login-theme-toggle{right:18px;top:18px}.login-hero-panel h1{font-size:36px}.login-hero-panel p{font-size:16px}.login-feature-grid,.login-stats-strip{grid-template-columns:1fr}.prop-login-card{padding:24px!important}.prop-login-card h1{font-size:34px!important}.login-row{align-items:flex-start;flex-direction:column}}

/* === Homepage premium prop-firm design + dark mode toggle repair === */
.home-theme-toggle{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#eaf2ff;
  padding:11px 16px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
}
.home-theme-toggle:hover{border-color:#2f80ff;box-shadow:0 0 0 4px rgba(47,128,255,.14)}
.home-topbar{
  min-height:78px;
  background:rgba(5,13,24,.88)!important;
  backdrop-filter:blur(18px);
  box-shadow:0 12px 45px rgba(0,0,0,.20);
}
.home-logo{display:flex;align-items:center;gap:9px;text-shadow:0 8px 22px rgba(0,0,0,.25)}
.home-logo span{font-size:18px;filter:drop-shadow(0 0 12px rgba(47,128,255,.75))}
.home-actions-right{gap:16px!important}.nav-link-simple{color:#e7f0ff!important}.signup-btn{background:linear-gradient(135deg,#2f80ff,#7b49ff)!important;border:1px solid rgba(255,255,255,.14)}
.pro-firm-hero{
  position:relative;
  overflow:hidden;
  min-height:720px;
  background:
    radial-gradient(circle at 86% 22%,rgba(47,128,255,.34),transparent 27%),
    radial-gradient(circle at 11% 90%,rgba(134,74,255,.26),transparent 29%),
    linear-gradient(135deg,#050b16 0%,#071426 48%,#0d2445 100%)!important;
}
.pro-firm-hero:before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:70px 70px;
  mask-image:linear-gradient(90deg,#000,transparent 85%);
  pointer-events:none;
}
.pro-firm-hero:after{
  content:"";position:absolute;left:-10%;right:45%;bottom:-23%;height:250px;
  background:radial-gradient(ellipse at center,rgba(111,72,255,.65),rgba(47,128,255,.14) 42%,transparent 70%);
  filter:blur(8px);pointer-events:none;
}
.hero-copy,.home-preview-card{position:relative;z-index:2}.home-badge{text-transform:uppercase;letter-spacing:.08em;box-shadow:0 0 0 4px rgba(47,128,255,.08)}
.hero-copy h1{max-width:780px;font-size:clamp(44px,5.1vw,74px)!important;letter-spacing:-2.8px;text-wrap:balance}.hero-copy h1 strong{background:linear-gradient(90deg,#2f80ff,#8e63ff,#32d5ff);-webkit-background-clip:text;background-clip:text;color:transparent!important}.hero-copy p{max-width:720px;color:#c3d0e4!important}.hero-mini-pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.hero-mini-pills span{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:999px;padding:10px 14px;color:#dbe7fa;font-weight:800}.pro-dashboard-card{position:relative;isolation:isolate;padding:30px!important;border-color:rgba(112,151,255,.24)!important;background:linear-gradient(145deg,rgba(11,24,43,.88),rgba(7,15,30,.78))!important;box-shadow:0 32px 90px rgba(0,0,0,.34),0 0 55px rgba(47,128,255,.14)!important}.pro-dashboard-card:before{content:"";position:absolute;inset:-1px;border-radius:30px;background:linear-gradient(135deg,rgba(47,128,255,.65),rgba(153,86,255,.35),transparent 55%);z-index:-1;opacity:.55}.card-glow-dot{position:absolute;width:170px;height:170px;border-radius:50%;background:#2f80ff;filter:blur(60px);opacity:.23;right:7%;top:6%;pointer-events:none}.line-chart{background:linear-gradient(180deg,rgba(47,128,255,.045),transparent);border-radius:22px 22px 0 0}.preview-bottom-row{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);border-radius:16px;padding:15px 16px;color:#cfe0ff}.preview-bottom-row span{color:#8dbaff;font-weight:900}.preview-bottom-row b{color:#fff}.preview-bottom-row em{font-style:normal;color:#98aac6}.challenge-strip{box-shadow:0 22px 45px rgba(0,0,0,.16);position:relative;z-index:3}.info-section.section-light{background:#f5f8fd!important;color:#081426!important}.info-section.section-dark{background:linear-gradient(135deg,#07111f,#0a1b32)!important}.step-card,.timeline-item{transition:.22s ease}.step-card:hover,.timeline-item:hover{transform:translateY(-5px);box-shadow:0 26px 60px rgba(47,128,255,.12)}

html[data-theme="light"] .home-topbar{background:rgba(255,255,255,.86)!important;border-color:#dfe7f5!important;box-shadow:0 12px 35px rgba(35,54,87,.08)}
html[data-theme="light"] .home-logo,html[data-theme="light"] .nav-link-simple{color:#071225!important;text-shadow:none!important}
html[data-theme="light"] .home-theme-toggle{background:#f2f6ff;color:#0b1426;border-color:#d9e4f4;box-shadow:0 10px 24px rgba(35,54,87,.08)}
html[data-theme="light"] .pro-firm-hero{background:radial-gradient(circle at 86% 22%,rgba(47,128,255,.16),transparent 27%),radial-gradient(circle at 11% 90%,rgba(134,74,255,.13),transparent 29%),linear-gradient(135deg,#f8fbff 0%,#eef4ff 48%,#eaf1ff 100%)!important;color:#071225!important}
html[data-theme="light"] .pro-firm-hero:before{background:linear-gradient(rgba(36,58,96,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(36,58,96,.055) 1px,transparent 1px)}
html[data-theme="light"] .home-badge{background:#e9f2ff;color:#2f80ff;border-color:#cfe0ff}
html[data-theme="light"] .hero-copy p{color:#53647c!important}html[data-theme="light"] .trust-line{color:#233657}html[data-theme="light"] .trust-line small{color:#667892}html[data-theme="light"] .hero-mini-pills span{background:#fff;border-color:#dfe7f5;color:#233657;box-shadow:0 12px 28px rgba(35,54,87,.06)}
html[data-theme="light"] .ghost-light{border-color:#d6e1f0;color:#071225!important;background:#fff!important}html[data-theme="light"] .pro-dashboard-card{background:rgba(255,255,255,.82)!important;border-color:#dfe7f5!important;box-shadow:0 32px 90px rgba(35,54,87,.14)!important}html[data-theme="light"] .preview-top small,html[data-theme="light"] .preview-metrics small{color:#667892!important}html[data-theme="light"] .preview-top h2,html[data-theme="light"] .preview-metrics b,html[data-theme="light"] .preview-bottom-row b{color:#071225!important}html[data-theme="light"] .preview-metrics div,html[data-theme="light"] .preview-bottom-row{background:#f6f9ff;border-color:#dfe7f5;color:#53647c}html[data-theme="light"] .section-light{background:#f5f8fd!important;color:#071225!important}html[data-theme="light"] .section-dark{background:#fff!important;color:#071225!important}html[data-theme="light"] .section-dark .two-col-grid p,html[data-theme="light"] .section-dark .feature-box p{color:#667892!important}html[data-theme="light"] .feature-box{background:#f7faff;border-color:#dfe7f5}html[data-theme="light"] .feature-box h4{color:#071225!important}html[data-theme="light"] .cta-section{background:#f5f8fd!important}html[data-theme="light"] .cta-box{background:linear-gradient(135deg,#ffffff,#eef4ff)!important;color:#071225!important;border-color:#dfe7f5!important}html[data-theme="light"] .cta-box p{color:#667892!important}

@media(max-width:980px){.home-actions-right{gap:9px!important}.home-theme-toggle{padding:10px 13px}.pro-firm-hero{min-height:auto}.preview-bottom-row{flex-direction:column;align-items:flex-start}}
@media(max-width:640px){.home-actions-right{flex-wrap:wrap;justify-content:flex-end}.home-theme-toggle{order:3;width:100%;margin-top:6px}.hero-mini-pills{display:none}.pro-firm-hero{padding-top:42px!important}}

/* === PropXpert premium signup page repair === */
.prop-signup-page{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:56px;
  padding:54px 7%;
  background:
    radial-gradient(circle at 18% 90%,rgba(166,44,255,.38),transparent 26%),
    radial-gradient(circle at 84% 16%,rgba(47,128,255,.30),transparent 34%),
    linear-gradient(135deg,#050916 0%,#07111f 48%,#10183a 100%);
  color:#f8fbff;
}
.prop-signup-page:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,#000,transparent 82%);
  pointer-events:none;
}
.prop-signup-page:after{
  content:"";
  position:absolute;
  left:-12%;right:42%;bottom:-24%;height:270px;
  background:radial-gradient(ellipse at center,rgba(177,64,255,.74),rgba(47,128,255,.16) 36%,transparent 70%);
  filter:blur(8px);
  pointer-events:none;
}
.signup-orb{position:absolute;border-radius:50%;filter:blur(26px);opacity:.52;pointer-events:none}.signup-orb-one{width:260px;height:260px;background:#7c4dff;top:12%;left:42%}.signup-orb-two{width:210px;height:210px;background:#2f80ff;right:8%;bottom:9%}
.signup-theme-toggle{
  position:absolute;right:30px;top:28px;z-index:5;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(11,20,38,.62);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 35px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
}
.signup-hero-panel,.signup-card-wrap{position:relative;z-index:2}.signup-brand-mark{display:inline-block;font-size:30px;font-weight:950;letter-spacing:-.8px;margin-bottom:78px;color:#fff}.signup-brand-mark span{color:#fff}.signup-brand-mark em{display:block;font-style:normal;text-transform:uppercase;font-size:13px;color:#b982ff;letter-spacing:3px;margin-top:7px}.signup-kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(168,85,247,.35);background:rgba(168,85,247,.12);color:#c69bff;border-radius:999px;padding:10px 16px;text-transform:uppercase;font-size:12px;font-weight:950;letter-spacing:.9px}.signup-kicker:before{content:"✦"}.signup-hero-panel h1{max-width:760px;font-size:58px;line-height:1.05;margin:24px 0 20px;letter-spacing:-2px}.signup-hero-panel p{max-width:660px;font-size:20px;line-height:1.65;color:#c2cee4}.signup-check-list{display:grid;gap:14px;margin:34px 0;max-width:760px}.signup-check-list div{display:grid;grid-template-columns:42px 1fr;column-gap:14px;align-items:start;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border-radius:18px;padding:18px 20px}.signup-check-list span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#b229f4,#2f80ff);color:#fff;font-weight:950}.signup-check-list strong{color:#fff;font-size:17px}.signup-check-list small{color:#aebbd3;line-height:1.55;margin-top:4px}.signup-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;max-width:760px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);border-radius:22px;overflow:hidden}.signup-mini-stats div{padding:20px 24px;background:rgba(8,17,31,.58)}.signup-mini-stats b{display:block;font-size:24px;color:#fff}.signup-mini-stats span{display:block;margin-top:5px;color:#aebbd3}.signup-card-wrap{display:flex;justify-content:center}.prop-signup-card{width:min(100%,560px)!important;border-radius:30px!important;padding:38px!important;background:linear-gradient(145deg,rgba(14,26,45,.86),rgba(8,14,28,.78))!important;border:1px solid rgba(168,85,247,.50)!important;box-shadow:0 0 0 1px rgba(47,128,255,.25),0 28px 90px rgba(0,0,0,.40),0 0 55px rgba(124,77,255,.18)!important;backdrop-filter:blur(20px);color:#f8fbff!important}.signup-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.prop-signup-card .auth-brand{margin:0;color:#fff!important;font-size:30px}.prop-signup-card h1{font-size:44px!important;text-align:center;margin:34px 0 10px!important;color:#fff!important}.prop-signup-card>p{text-align:center;color:#c3cee3!important;margin-bottom:26px!important}.premium-signup-form label{color:#f5f8ff!important;font-weight:900}.premium-signup-btn{margin-top:20px!important;border-radius:15px!important;background:linear-gradient(90deg,#b229f4,#2f80ff)!important;box-shadow:0 18px 38px rgba(47,128,255,.28)!important;padding:17px 22px!important}.signup-note-card{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055)!important;color:#c4cfe5!important;padding:16px;border-radius:16px;margin:18px 0 4px;line-height:1.65}.signup-note-card strong{display:block;color:#fff;margin-bottom:5px}.signup-note-card span{display:block;color:#c4cfe5}.prop-signup-card .auth-foot{color:#c3cee3!important;text-align:center}.prop-signup-card .auth-foot a{color:#2f80ff!important;font-weight:900}
html[data-theme="light"] .prop-signup-page{background:radial-gradient(circle at 18% 96%,rgba(124,77,255,.18),transparent 25%),radial-gradient(circle at 78% 20%,rgba(47,128,255,.16),transparent 32%),linear-gradient(135deg,#eef4ff 0%,#f8fbff 48%,#eef2ff 100%);color:#071225}html[data-theme="light"] .prop-signup-page:before{background:linear-gradient(rgba(30,55,90,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(30,55,90,.055) 1px,transparent 1px)}html[data-theme="light"] .signup-theme-toggle{background:rgba(255,255,255,.82);color:#0b1426;border-color:#d7e2f3}html[data-theme="light"] .signup-brand-mark,html[data-theme="light"] .signup-hero-panel h1,html[data-theme="light"] .signup-check-list strong,html[data-theme="light"] .signup-mini-stats b{color:#071225}html[data-theme="light"] .signup-hero-panel p,html[data-theme="light"] .signup-check-list small,html[data-theme="light"] .signup-mini-stats span{color:#52627a}html[data-theme="light"] .signup-check-list div,html[data-theme="light"] .signup-mini-stats div{background:rgba(255,255,255,.72);border-color:#dfe7f5;box-shadow:0 14px 34px rgba(35,54,87,.08)}html[data-theme="light"] .signup-mini-stats{border-color:#dfe7f5;background:#dfe7f5}html[data-theme="light"] .prop-signup-card{background:rgba(255,255,255,.86)!important;color:#0b1426!important;border-color:rgba(47,128,255,.32)!important;box-shadow:0 28px 80px rgba(35,54,87,.16)!important}html[data-theme="light"] .prop-signup-card .auth-brand,html[data-theme="light"] .prop-signup-card h1,html[data-theme="light"] .signup-note-card strong,html[data-theme="light"] .premium-signup-form label{color:#071225!important}html[data-theme="light"] .prop-signup-card>p,html[data-theme="light"] .prop-signup-card .auth-foot,html[data-theme="light"] .signup-note-card,html[data-theme="light"] .signup-note-card span{color:#52627a!important}html[data-theme="light"] .signup-note-card{background:#f0f5ff!important;border-color:#dce6f6!important}
@media(max-width:1120px){.prop-signup-page{grid-template-columns:1fr;padding:90px 6% 54px}.signup-brand-mark{margin-bottom:34px}.signup-hero-panel h1{font-size:44px}.signup-card-wrap{justify-content:flex-start}}@media(max-width:640px){.prop-signup-page{padding:86px 18px 36px}.signup-theme-toggle{right:18px;top:18px}.signup-hero-panel h1{font-size:34px}.signup-hero-panel p{font-size:16px}.signup-mini-stats{grid-template-columns:1fr}.prop-signup-card{padding:24px!important}.prop-signup-card h1{font-size:34px!important}.signup-card-top{align-items:flex-start;flex-direction:column}}

/* === Unique homepage additions: intelligence lab, risk simulator, discipline board === */
.xpert-lab-section{
  position:relative;
  padding:92px 7%;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 8%,rgba(47,128,255,.18),transparent 27%),
    radial-gradient(circle at 88% 80%,rgba(143,93,255,.22),transparent 30%),
    linear-gradient(135deg,#06101f,#09182d 52%,#081222);
  color:#f8fbff;
}
.xpert-lab-section:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:74px 74px;mask-image:linear-gradient(#000,transparent 92%);pointer-events:none}.xpert-lab-section>.section-heading,.xpert-lab-grid{position:relative;z-index:2}.xpert-lab-section .section-heading p{max-width:760px;margin-left:auto;margin-right:auto;color:#b9c8de}.xpert-lab-grid{display:grid;grid-template-columns:1.05fr 1fr .95fr;gap:22px;margin-top:40px}.xpert-tool-card{border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));border-radius:28px;padding:28px;box-shadow:0 28px 75px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(18px)}.tool-card-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.tool-card-top span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#2f80ff,#8b5cf6);font-weight:950;color:#fff}.tool-card-top b{font-size:20px;color:#fff}.xpert-tool-card p{color:#b9c8de;line-height:1.65;margin-bottom:22px}.xpert-tool-card label{display:block;margin:16px 0 9px;color:#eaf2ff;font-weight:900}.xpert-tool-card select,.xpert-tool-card input[type="range"]{width:100%}.xpert-tool-card select{border:1px solid rgba(255,255,255,.16);background:rgba(6,14,29,.72);color:#fff;border-radius:14px;padding:14px 15px;font-weight:800;outline:none}.xpert-tool-card input[type="range"]{accent-color:#2f80ff}.fit-result-box{display:grid;grid-template-columns:104px 1fr;align-items:center;gap:16px;margin-top:24px;border:1px solid rgba(47,128,255,.22);background:rgba(47,128,255,.10);border-radius:22px;padding:18px}.score-ring{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:conic-gradient(#2f80ff 0 82%,rgba(255,255,255,.12) 82% 100%);box-shadow:0 0 32px rgba(47,128,255,.26);position:relative}.score-ring:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#071529}.score-ring span,.score-ring small{position:relative;z-index:2}.score-ring span{font-size:30px;font-weight:950}.score-ring small{font-weight:900;color:#8e9fba}.fit-result-box small{display:block;color:#9eb1cc}.fit-result-box b{display:block;color:#fff;font-size:19px;margin:6px 0}.fit-result-box em{font-style:normal;color:#23c77b;font-weight:950}.sim-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.sim-stats-row div{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);border-radius:16px;padding:14px}.sim-stats-row small{display:block;color:#9fb1c9}.sim-stats-row b{display:block;color:#fff;margin-top:5px}.breach-meter{position:relative;display:grid;grid-template-columns:1.5fr 1fr .8fr;align-items:center;height:58px;overflow:hidden;border-radius:18px;margin-top:18px;border:1px solid rgba(255,255,255,.12)}.breach-meter span{height:100%;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.safe-zone{background:rgba(35,199,123,.23);color:#41e698}.warn-zone{background:rgba(255,190,70,.23);color:#ffd071}.danger-zone{background:rgba(255,77,94,.24);color:#ff8d9a}.breach-meter i{position:absolute;top:5px;bottom:5px;width:4px;border-radius:99px;background:#fff;left:40%;box-shadow:0 0 22px rgba(255,255,255,.9);transition:.2s ease}.sim-message{margin-top:18px;border-radius:16px;padding:15px 16px;background:rgba(35,199,123,.12);border:1px solid rgba(35,199,123,.22);color:#60e6a7;font-weight:900}.sim-message[data-state="warn"]{background:rgba(255,190,70,.12);border-color:rgba(255,190,70,.28);color:#ffd071}.sim-message[data-state="danger"]{background:rgba(255,77,94,.12);border-color:rgba(255,77,94,.28);color:#ff8d9a}.mistake-list{display:grid;gap:14px}.mistake-list div{display:grid;grid-template-columns:42px 1fr;column-gap:13px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);border-radius:18px;padding:16px}.mistake-list span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(47,128,255,.16);color:#8dbaff;font-weight:950}.mistake-list b{color:#fff}.mistake-list small{color:#aebbd3;line-height:1.55;margin-top:5px}.discipline-board-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:34px;align-items:center;padding:78px 7%;background:#f5f8fd;color:#081426}.board-copy p{max-width:640px;color:#62728a;line-height:1.65}.discipline-board{border:1px solid #dfe7f5;border-radius:26px;background:#fff;box-shadow:0 26px 70px rgba(35,54,87,.10);overflow:hidden}.board-row{display:grid;grid-template-columns:1.2fr .7fr .7fr;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e9eef7}.board-row:last-child{border-bottom:0}.board-row.head{background:linear-gradient(135deg,#eef5ff,#f8fbff);font-weight:950;color:#53647c;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.board-row b{font-size:26px;color:#2f80ff}.board-row em{justify-self:start;font-style:normal;font-weight:950;color:#23c77b;background:#e9fbf2;border-radius:999px;padding:8px 12px}
html[data-theme="light"] .xpert-lab-section{background:radial-gradient(circle at 12% 8%,rgba(47,128,255,.13),transparent 27%),radial-gradient(circle at 88% 80%,rgba(143,93,255,.13),transparent 30%),linear-gradient(135deg,#f8fbff,#eef4ff 52%,#f7faff);color:#071225}html[data-theme="light"] .xpert-lab-section:before{background:linear-gradient(rgba(30,55,90,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(30,55,90,.055) 1px,transparent 1px)}html[data-theme="light"] .xpert-lab-section .section-heading p,html[data-theme="light"] .xpert-tool-card p{color:#53647c}.xpert-lab-section .section-heading h2{color:#fff}html[data-theme="light"] .xpert-lab-section .section-heading h2{color:#071225}.xpert-lab-section .section-kicker{color:#8dbaff}html[data-theme="light"] .xpert-tool-card{background:rgba(255,255,255,.82);border-color:#dfe7f5;box-shadow:0 24px 65px rgba(35,54,87,.10)}html[data-theme="light"] .tool-card-top b,html[data-theme="light"] .xpert-tool-card label,html[data-theme="light"] .fit-result-box b,html[data-theme="light"] .sim-stats-row b,html[data-theme="light"] .mistake-list b{color:#071225}html[data-theme="light"] .xpert-tool-card select{background:#fff;color:#071225;border-color:#d9e4f4}html[data-theme="light"] .fit-result-box,html[data-theme="light"] .sim-stats-row div,html[data-theme="light"] .mistake-list div{background:#f6f9ff;border-color:#dfe7f5}html[data-theme="light"] .score-ring:after{background:#fff}html[data-theme="light"] .mistake-list small,html[data-theme="light"] .sim-stats-row small{color:#667892}html[data-theme="dark"] .discipline-board-section{background:linear-gradient(135deg,#07111f,#0a1b32);color:#fff}html[data-theme="dark"] .board-copy p{color:#b9c8de}html[data-theme="dark"] .discipline-board{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);box-shadow:0 26px 70px rgba(0,0,0,.24)}html[data-theme="dark"] .board-row{border-color:rgba(255,255,255,.10)}html[data-theme="dark"] .board-row.head{background:rgba(255,255,255,.07);color:#aebbd3}
@media(max-width:1100px){.xpert-lab-grid{grid-template-columns:1fr}.discipline-board-section{grid-template-columns:1fr}}@media(max-width:640px){.xpert-lab-section,.discipline-board-section{padding:58px 5%}.fit-result-box{grid-template-columns:1fr}.sim-stats-row,.board-row{grid-template-columns:1fr}.board-row em{justify-self:start}.breach-meter span{font-size:10px}.xpert-tool-card{padding:22px}}

/* === PropXpert header/menu refresh in existing brand style === */
.home-topbar-pro{
  padding:16px 7%;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid #dde7f4;
  box-shadow:0 16px 40px rgba(16,24,39,.06);
  backdrop-filter:blur(14px);
}
.home-topbar-shell{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.home-logo{
  display:flex;
  align-items:center;
  gap:14px;
  color:#0b1426;
}
.home-logo .logo-word{font-weight:950;letter-spacing:-.8px;font-size:24px}
.logo-mark{
  width:28px;
  height:28px;
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  grid-template-rows:repeat(2,1fr);
  gap:3px;
  transform:rotate(45deg);
}
.logo-mark i{
  display:block;
  border-radius:4px;
  background:linear-gradient(135deg,#2f80ff,#6f5cff);
  box-shadow:0 10px 18px rgba(47,128,255,.22);
}
.home-nav-wrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.home-main-nav,
.home-utility-nav{display:flex;align-items:center;gap:22px}
.home-main-nav a{
  color:#22314d;
  font-weight:800;
  font-size:15px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.home-main-nav a:hover,
.nav-link-simple:hover{color:#2f80ff}
.caret{font-size:11px;color:#6a7b95}
.home-utility-nav{gap:12px}
.utility-icon-btn,
.lang-pill,
.home-theme-toggle{
  border:1px solid #d6e2f2;
  background:#f8fbff;
  color:#22314d;
  border-radius:999px;
  font-weight:800;
}
.utility-icon-btn{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  cursor:pointer;
}
.lang-pill{
  min-width:54px;
  padding:12px 14px;
  cursor:pointer;
}
.home-theme-toggle{
  padding:12px 18px;
  cursor:pointer;
  box-shadow:none;
}
.nav-link-simple.strong{font-weight:900;color:#12203a}
.signup-btn.gradient{
  background:linear-gradient(90deg,#2f80ff,#6a45ff);
  padding:13px 24px;
  border-radius:12px;
  box-shadow:0 16px 32px rgba(47,128,255,.22);
}
.mobile-menu-toggle{
  display:none;
  border:1px solid #d6e2f2;
  background:#fff;
  color:#16243b;
  border-radius:12px;
  width:46px;
  height:46px;
  font-size:22px;
  cursor:pointer;
}
.hero-mini-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.hero-mini-pills span{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#dce8fb;font-weight:700}
.insight-section,.academy-section,.faq-section{padding:84px 7%}
.insight-grid,.academy-grid,.faq-grid{display:grid;gap:20px}
.insight-grid,.academy-grid{grid-template-columns:repeat(3,1fr)}
.insight-card,.academy-card{
  background:#fff;
  border:1px solid #dfe8f3;
  border-radius:24px;
  padding:26px;
  box-shadow:0 18px 35px rgba(31,45,61,.06);
}
.insight-tag{
  display:inline-block;
  background:#eef4ff;
  color:#2f80ff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  margin-bottom:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.insight-card h3,.academy-card b{display:block;font-size:22px;line-height:1.25;color:#0b1426;margin:0 0 12px}
.insight-card p,.academy-card p{margin:0;color:#677a94;line-height:1.7}
.faq-grid{grid-template-columns:1fr 1fr}
.faq-item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:0 20px;
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:20px 6px;
  font-size:18px;
  font-weight:900;
  color:#fff;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{margin:0;padding:0 6px 20px;color:#afc0da;line-height:1.7}
html[data-theme="dark"] .home-topbar-pro{
  background:rgba(7,17,31,.90);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 42px rgba(0,0,0,.22);
}
html[data-theme="dark"] .home-logo,
html[data-theme="dark"] .home-main-nav a,
html[data-theme="dark"] .nav-link-simple.strong{color:#f4f8ff}
html[data-theme="dark"] .caret{color:#a6b7d0}
html[data-theme="dark"] .utility-icon-btn,
html[data-theme="dark"] .lang-pill,
html[data-theme="dark"] .home-theme-toggle,
html[data-theme="dark"] .mobile-menu-toggle{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  color:#eef5ff;
}
html[data-theme="dark"] .home-main-nav a:hover,
html[data-theme="dark"] .nav-link-simple:hover{color:#84b6ff}
html[data-theme="dark"] .insight-card,
html[data-theme="dark"] .academy-card{
  background:#101c30;
  border-color:#203453;
  box-shadow:none;
}
html[data-theme="dark"] .insight-card h3,
html[data-theme="dark"] .academy-card b{color:#f4f8ff}
html[data-theme="dark"] .insight-card p,
html[data-theme="dark"] .academy-card p{color:#9db0ca}
html[data-theme="dark"] .insight-tag{background:rgba(47,128,255,.12);color:#8cbcff}
@media(max-width:1180px){
  .home-topbar-pro{padding:16px 5%}
  .home-nav-wrap{gap:18px}
  .home-main-nav{gap:16px;flex-wrap:wrap}
  .home-utility-nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:980px){
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .home-nav-wrap{
    position:absolute;
    left:5%;
    right:5%;
    top:calc(100% + 12px);
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:rgba(255,255,255,.98);
    border:1px solid #dfe8f3;
    border-radius:22px;
    padding:18px;
    box-shadow:0 24px 50px rgba(16,24,39,.10);
  }
  .home-nav-wrap.is-open{display:flex}
  .home-main-nav,.home-utility-nav{flex-direction:column;align-items:flex-start}
  .home-main-nav a,.home-utility-nav a,.home-utility-nav button{width:100%}
  .utility-icon-btn,.lang-pill,.home-theme-toggle,.signup-btn.gradient{justify-content:center;text-align:center}
  .faq-grid,.insight-grid,.academy-grid{grid-template-columns:1fr}
  html[data-theme="dark"] .home-nav-wrap{
    background:#0d182b;
    border-color:#213757;
    box-shadow:0 24px 50px rgba(0,0,0,.26);
  }
}

/* === Header professional 100% zoom refinement === */
.home-topbar-pro{
  padding:12px 4.5%;
}
.home-topbar-shell{
  max-width:1320px;
  margin:0 auto;
  gap:18px;
}
.home-logo{
  flex:0 0 auto;
  gap:12px;
}
.home-logo .logo-word{
  font-size:20px;
  line-height:1;
}
.logo-mark{
  width:24px;
  height:24px;
  gap:2px;
}
.home-nav-wrap{
  min-width:0;
  gap:18px;
  flex-wrap:nowrap;
}
.home-main-nav{
  gap:18px;
  flex:1 1 auto;
  min-width:0;
  flex-wrap:nowrap;
}
.home-main-nav a{
  white-space:nowrap;
  font-size:13px;
  line-height:1;
  letter-spacing:-.01em;
}
.home-utility-nav{
  flex:0 0 auto;
  gap:10px;
  flex-wrap:nowrap;
}
.utility-icon-btn,
.lang-pill,
.home-theme-toggle,
.signup-btn.gradient,
.nav-link-simple.strong{
  white-space:nowrap;
  line-height:1;
}
.utility-icon-btn{
  width:40px;
  height:40px;
  font-size:18px;
}
.lang-pill{
  min-width:48px;
  padding:11px 14px;
  font-size:14px;
}
.home-theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:11px 16px;
  font-size:14px;
  font-weight:900;
  border-radius:16px;
}
.nav-link-simple.strong{
  font-size:14px;
  padding:0 4px;
}
.signup-btn.gradient{
  padding:12px 18px;
  font-size:14px;
  border-radius:14px;
}
.caret{
  font-size:10px;
}
@media(max-width:1240px){
  .home-topbar-pro{padding:12px 3.5%}
  .home-main-nav{gap:14px}
  .home-main-nav a{font-size:12.5px}
  .home-utility-nav{gap:8px}
  .home-theme-toggle{padding:10px 14px;font-size:13px}
  .signup-btn.gradient{padding:11px 16px;font-size:13.5px}
}
@media(max-width:1120px){
  .home-logo .logo-word{font-size:19px}
  .home-main-nav{gap:12px}
  .home-main-nav a{font-size:12px}
  .lang-pill{min-width:44px;padding:10px 12px}
  .utility-icon-btn{width:38px;height:38px}
}

/* === Mega menu + public marketing pages === */
.site-nav-shell{z-index:60;overflow:visible}
.mega-nav{position:relative}
.mega-item{position:relative}
.mega-trigger{
  border:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px;padding:0;
}
.mega-panel{
  position:absolute;left:0;top:calc(100% + 18px);min-width:740px;
  background:#fff;border:1px solid #dfe7f3;border-radius:26px;padding:24px;
  box-shadow:0 28px 70px rgba(15,23,42,.14);display:none;
}
.mega-item.open .mega-panel,.mega-item:hover .mega-panel{display:block}
.mega-panel-wide{width:min(980px,78vw)}
.mega-grid{display:grid;gap:24px}.mega-grid.two-col{grid-template-columns:repeat(2,1fr)}.mega-grid.three-col{grid-template-columns:1fr 1fr 1.1fr}
.mega-label{display:block;font-size:14px;font-weight:900;color:#7b8799;text-transform:none;margin:4px 0 14px}
.mega-link-card{
  display:flex;flex-direction:column;gap:4px;padding:14px 14px;border-radius:18px;
  margin-bottom:8px;border:1px solid transparent;transition:.2s;background:transparent;
}
.mega-link-card b{font-size:16px;color:#101827}
.mega-link-card small{font-size:14px;color:#6e7d92;line-height:1.45}
.mega-link-card:hover{background:#f6f9ff;border-color:#d9e6f7;transform:translateY(-1px)}
.mega-promo-card{
  position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:280px;
  border-radius:24px;padding:24px;text-decoration:none;overflow:hidden;color:#fff;
  background:radial-gradient(circle at 72% 28%,rgba(79,153,255,.8),rgba(30,91,191,.2) 30%,transparent 56%),linear-gradient(135deg,#07111f 0%,#0d2243 45%,#0d1534 100%);
}
.promo-dark{background:radial-gradient(circle at 78% 18%,rgba(159,104,255,.40),transparent 26%),linear-gradient(135deg,#120f26 0%,#121a35 45%,#0c1430 100%)}
.promo-badge{display:inline-flex;align-self:flex-start;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(10px);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:auto}
.mega-promo-card h4{font-size:26px;line-height:1.12;margin:18px 0 10px}.mega-promo-card p{margin:0 0 14px;color:#d8e5ff;line-height:1.6}.mega-promo-card em{font-style:normal;font-weight:900;color:#fff}
.challenge-grid .mega-link-card,.trading-grid .mega-link-card,.academy-grid-menu .mega-link-card,.about-grid .mega-link-card{padding-left:16px}
.marketing-shell{width:min(1200px,90vw);margin:0 auto}
.marketing-hero{
  padding:92px 0 74px;
  background:radial-gradient(circle at 76% 18%,rgba(47,128,255,.16),transparent 28%),linear-gradient(180deg,#f8fbff 0%,#eff5ff 100%);
}
.marketing-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:26px;align-items:center}
.marketing-kicker{display:inline-flex;padding:10px 14px;border-radius:999px;background:#eaf2ff;color:#2f80ff;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.marketing-hero h1{font-size:58px;line-height:1.02;letter-spacing:-1.8px;color:#0b1426;margin:18px 0 14px}
.marketing-hero .lead{font-size:22px;line-height:1.45;color:#22314d;margin:0 0 12px}.marketing-hero p{font-size:17px;line-height:1.75;color:#667892;max-width:760px}
.page-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px}.page-ghost{color:#0b1426;border-color:#d8e2f1!important;background:#fff}
.page-stat-stack{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.page-stat-card{background:#fff;border:1px solid #dce5f2;border-radius:24px;padding:22px;box-shadow:0 18px 40px rgba(17,24,39,.06)}.page-stat-card b{display:block;font-size:32px;color:#0b1426}.page-stat-card span{display:block;margin-top:6px;color:#6c7d94;font-weight:700}
.marketing-section{padding:88px 0}.two-side-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.content-box{border-radius:28px;padding:30px;background:#fff;border:1px solid #dfe8f3;box-shadow:0 18px 45px rgba(17,24,39,.05)}
.accent-box{background:linear-gradient(135deg,#0c1630,#122246);color:#fff;border-color:#223a63}.accent-box h3{margin:0 0 10px;font-size:30px}.accent-box p,.accent-box small{color:#b4c5dd}
.narrative-box h2{font-size:40px;line-height:1.1;color:#0b1426;margin:0 0 14px}.narrative-box p{color:#677a94;line-height:1.8}
.benefit-list{margin:22px 0 0;padding:0;list-style:none;display:grid;gap:12px}.benefit-list li{position:relative;padding-left:28px;color:#22314d;font-weight:700}.benefit-list li:before{content:'✓';position:absolute;left:0;top:0;color:#2f80ff;font-weight:900}
.mini-feature-list{display:grid;gap:14px;margin-top:18px}.mini-feature-list div{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}.mini-feature-list b{display:block;font-size:16px}.mini-feature-list small{display:block;margin-top:4px;line-height:1.5}
.alt-section{background:#f8fbff}.feature-card-grid{display:grid;gap:22px}.page-feature-grid{grid-template-columns:repeat(3,1fr)}
.feature-story-card{background:#fff;border:1px solid #dfe8f3;border-radius:24px;padding:28px;box-shadow:0 18px 44px rgba(17,24,39,.05)}.feature-story-card h3{font-size:24px;line-height:1.25;color:#0b1426;margin:0 0 12px}.feature-story-card p{margin:0;color:#677a94;line-height:1.7}
.cta-banner{background:linear-gradient(135deg,#0d1630,#111f3d 48%,#152855 100%);border:1px solid rgba(255,255,255,.08);border-radius:30px;padding:36px;display:flex;align-items:center;justify-content:space-between;gap:22px}.cta-banner p{color:#afc0da;line-height:1.8}.cta-banner h2{font-size:42px;line-height:1.08;margin:8px 0 12px;color:#fff}
.site-footer{background:#0a1426;color:#d2def1;padding:60px 0 50px}.site-footer-shell{width:min(1200px,90vw);margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:24px}.site-footer h4{margin:4px 0 16px;color:#fff}.site-footer a{display:block;color:#b7c7de;margin-bottom:10px}.site-footer p{color:#95a8c5;line-height:1.8;max-width:390px}.footer-brand{margin-bottom:14px}
.blog-grid{grid-template-columns:repeat(2,1fr)}.blog-card-article .article-link{display:inline-flex;margin-top:16px;font-weight:900;color:#2f80ff}.faq-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.faq-page-item{background:#fff;border:1px solid #dfe8f3}.faq-page-item summary{color:#0b1426}.faq-page-item p{color:#677a94}
.pricing-card-grid{grid-template-columns:repeat(5,1fr)}.pricing-story-card{background:#fff;border:1px solid #dfe8f3;border-radius:24px;padding:24px;box-shadow:0 18px 44px rgba(17,24,39,.05);display:flex;flex-direction:column}.pricing-story-card h3{font-size:32px;color:#0b1426;margin:4px 0 12px}.pricing-story-card ul{margin:0 0 16px;padding-left:18px;color:#677a94;line-height:1.8}.price-line{font-size:34px;font-weight:900;color:#2f80ff;margin-top:auto;margin-bottom:16px}
html[data-theme="dark"] .marketing-hero{background:radial-gradient(circle at 76% 18%,rgba(47,128,255,.18),transparent 28%),linear-gradient(180deg,#09111f 0%,#0b1830 100%)}
html[data-theme="dark"] .marketing-kicker{background:rgba(47,128,255,.12);color:#89bbff}
html[data-theme="dark"] .marketing-hero h1,html[data-theme="dark"] .marketing-hero .lead{color:#f4f8ff}html[data-theme="dark"] .marketing-hero p{color:#a9bad1}
html[data-theme="dark"] .page-stat-card,html[data-theme="dark"] .content-box,html[data-theme="dark"] .feature-story-card,html[data-theme="dark"] .pricing-story-card{background:#101c30;border-color:#203453;box-shadow:none}
html[data-theme="dark"] .page-stat-card b,html[data-theme="dark"] .narrative-box h2,html[data-theme="dark"] .feature-story-card h3,html[data-theme="dark"] .pricing-story-card h3{color:#f4f8ff}
html[data-theme="dark"] .page-stat-card span,html[data-theme="dark"] .narrative-box p,html[data-theme="dark"] .feature-story-card p,html[data-theme="dark"] .pricing-story-card ul{color:#9db0ca}
html[data-theme="dark"] .benefit-list li{color:#dce8fb}
html[data-theme="dark"] .alt-section{background:#0b1426}
html[data-theme="dark"] .site-footer{background:#060d18}
html[data-theme="dark"] .mega-panel{background:#10192d;border-color:#203453;box-shadow:0 24px 60px rgba(0,0,0,.30)}
html[data-theme="dark"] .mega-label{color:#9fb2cf}html[data-theme="dark"] .mega-link-card:hover{background:#16233b;border-color:#28406a}html[data-theme="dark"] .mega-link-card b{color:#f3f8ff}html[data-theme="dark"] .mega-link-card small{color:#9db0ca}
html[data-theme="dark"] .page-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.18)!important}
html[data-theme="dark"] .faq-page-item{background:#101c30;border-color:#203453}
html[data-theme="dark"] .faq-page-item summary{color:#fff}html[data-theme="dark"] .faq-page-item p{color:#9db0ca}
@media(max-width:1180px){
  .pricing-card-grid{grid-template-columns:repeat(3,1fr)}
  .page-feature-grid{grid-template-columns:1fr 1fr}
  .site-footer-shell{grid-template-columns:1.5fr 1fr 1fr}
  .mega-panel-wide{width:min(920px,86vw)}
}
@media(max-width:980px){
  .marketing-hero-grid,.two-side-layout,.faq-page-grid,.site-footer-shell{grid-template-columns:1fr}
  .page-stat-stack{grid-template-columns:1fr 1fr 1fr}
  .pricing-card-grid,.blog-grid,.page-feature-grid{grid-template-columns:1fr 1fr}
  .cta-banner{flex-direction:column;align-items:flex-start}
  .mega-nav{width:100%}
  .mega-panel{position:static;min-width:0;width:100%;margin-top:12px;border-radius:20px;padding:18px;box-shadow:none}
  .mega-grid.two-col,.mega-grid.three-col{grid-template-columns:1fr}
  .mega-item.open .mega-panel{display:block}
  .mega-item:hover .mega-panel{display:none}
  .mega-item.open:hover .mega-panel{display:block}
  .mega-item{width:100%}
  .mega-trigger{width:100%;justify-content:space-between;padding:10px 0}
}
@media(max-width:640px){
  .marketing-hero{padding:70px 0 52px}.marketing-shell{width:min(92vw,1200px)}
  .marketing-hero h1{font-size:40px}.marketing-hero .lead{font-size:18px}
  .page-stat-stack,.pricing-card-grid,.blog-grid,.page-feature-grid{grid-template-columns:1fr}
  .site-footer-shell{grid-template-columns:1fr}
  .cta-banner h2,.narrative-box h2{font-size:32px}
}

/* === Professional mega menu repair v5 === */
.home-topbar-shell{position:relative;}
.mega-item{position:static!important;}
.mega-trigger{
  padding:10px 12px!important;
  border-radius:12px!important;
  color:#1d2a44!important;
  transition:.18s ease;
}
.mega-trigger:hover,.mega-item.open .mega-trigger{
  background:#eef5ff!important;
  color:#2f80ff!important;
}
html[data-theme="dark"] .mega-trigger{color:#f4f8ff!important;}
html[data-theme="dark"] .mega-trigger:hover,html[data-theme="dark"] .mega-item.open .mega-trigger{background:rgba(47,128,255,.14)!important;color:#89bbff!important;}
.mega-panel{
  left:50%!important;
  top:calc(100% + 12px)!important;
  transform:translateX(-50%) translateY(8px);
  width:min(1080px, calc(100vw - 70px))!important;
  min-width:0!important;
  padding:28px!important;
  border-radius:28px!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  display:block!important;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:80;
}
.mega-item.open .mega-panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.mega-item:hover .mega-panel{display:block!important;}
.mega-panel:before{
  content:"";
  position:absolute;
  top:-9px;
  left:var(--arrow-left, 340px);
  width:18px;height:18px;
  background:inherit;
  border-left:1px solid #dfe7f3;
  border-top:1px solid #dfe7f3;
  transform:rotate(45deg);
  border-radius:4px 0 0 0;
}
.mega-grid{align-items:stretch;}
.mega-label{
  color:#7a879b!important;
  font-size:13px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  margin:0 0 16px!important;
}
.mega-link-card{
  position:relative;
  display:grid!important;
  grid-template-columns:46px 1fr;
  gap:13px!important;
  align-items:center;
  padding:13px 14px!important;
  margin-bottom:8px!important;
  border-radius:16px!important;
}
.mega-link-card:before{
  content:"✦";
  width:42px;height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  grid-row:1 / span 2;
  background:linear-gradient(135deg,#eef5ff,#f8fbff);
  border:1px solid #dce8f8;
  border-radius:12px;
  color:#2f80ff;
  font-size:17px;
  box-shadow:0 8px 18px rgba(47,128,255,.08);
}
.mega-link-card b{font-size:15.5px!important;line-height:1.15!important;}
.mega-link-card small{font-size:13.5px!important;line-height:1.35!important;}
.mega-link-card:hover{box-shadow:0 12px 24px rgba(31,45,61,.06);}
.mega-promo-card{
  min-height:260px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.14), 0 18px 34px rgba(15,23,42,.12);
}
.mega-promo-card:after{
  content:"";
  position:absolute;
  right:-46px;top:-46px;
  width:170px;height:170px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}
.mega-promo-card h4{font-size:24px!important;}
.challenge-grid{grid-template-columns:1.1fr 1fr 1.05fr!important;}
.trading-grid,.about-grid{grid-template-columns:1fr 1fr!important;}
.academy-grid-menu{grid-template-columns:1fr 1fr 1.1fr!important;}
html[data-theme="dark"] .mega-panel:before{border-color:#203453;}
html[data-theme="dark"] .mega-link-card:before{background:linear-gradient(135deg,#14233d,#0e1a2d);border-color:#233a60;color:#83b8ff;}
@media(max-width:980px){
  .mega-item{position:relative!important;}
  .mega-panel{
    position:static!important;
    transform:none!important;
    width:100%!important;
    padding:16px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    display:none!important;
  }
  .mega-item.open .mega-panel{display:block!important;transform:none!important;}
  .mega-panel:before{display:none;}
  .challenge-grid,.trading-grid,.about-grid,.academy-grid-menu{grid-template-columns:1fr!important;}
}

/* === v8 professional mega-menu positioning + search/language === */
.home-topbar-pro{overflow:visible!important;}
.home-topbar-shell{position:relative;}
.mega-nav,.mega-item{position:static!important;}
.mega-panel{
  position:fixed!important;
  left:50%!important;
  top:112px!important;
  transform:translateX(-50%) translateY(10px)!important;
  width:min(980px, calc(100vw - 72px))!important;
  max-height:calc(100vh - 138px)!important;
  overflow:auto!important;
  padding:24px!important;
  border-radius:26px!important;
  box-shadow:0 28px 80px rgba(15,23,42,.16)!important;
}
.mega-item.open .mega-panel{
  transform:translateX(-50%) translateY(0)!important;
}
.mega-panel:before{display:none!important;}
.challenge-grid{grid-template-columns:1fr 1fr 1.05fr!important;}
.mega-link-card{grid-template-columns:40px 1fr!important;padding:12px 12px!important;}
.mega-link-card:before{width:38px!important;height:38px!important;font-size:15px!important;}
.mega-link-card b{font-size:15px!important;color:#0b1426!important;}
.mega-link-card small{font-size:13px!important;color:#667892!important;}
.mega-label{font-size:12px!important;color:#75849a!important;margin-bottom:12px!important;}
.mega-promo-card{
  min-height:260px!important;
  padding:24px!important;
  justify-content:flex-end!important;
}
.mega-promo-card h4{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 2px 12px rgba(0,0,0,.25);
  margin-bottom:10px!important;
}
.mega-promo-card p{
  color:#dbe8ff!important;
  font-weight:700!important;
  font-size:13.5px!important;
  line-height:1.45!important;
  overflow-wrap:break-word!important;
}
.mega-promo-card em{color:#fff!important;position:relative;z-index:2;}
.promo-badge{position:relative;z-index:2;color:#fff!important;}
.language-switcher{position:relative;display:inline-flex;align-items:center;}
.lang-menu{
  position:absolute;right:0;top:calc(100% + 10px);min-width:150px;padding:8px;
  background:#fff;border:1px solid #dbe6f5;border-radius:16px;
  box-shadow:0 20px 50px rgba(15,23,42,.13);display:none;z-index:100;
}
.language-switcher.open .lang-menu{display:block;}
.lang-menu button{
  width:100%;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:11px;
  font-weight:900;color:#1c2b45;cursor:pointer;
}
.lang-menu button:hover{background:#eef5ff;color:#2f80ff;}
.site-search-overlay{position:fixed;inset:0;display:none;z-index:120;}
.site-search-overlay.open{display:block;}
.site-search-backdrop{position:absolute;inset:0;background:rgba(7,17,31,.42);backdrop-filter:blur(6px);}
.site-search-modal{
  position:absolute;left:50%;top:92px;transform:translateX(-50%);width:min(640px,92vw);
  background:#fff;border:1px solid #dbe6f5;border-radius:26px;padding:28px;
  box-shadow:0 34px 90px rgba(15,23,42,.24);
}
.search-close{position:absolute;right:18px;top:16px;border:0;background:#eef5ff;color:#1c2b45;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer;}
.site-search-modal h3{font-size:30px;margin:8px 0 16px;color:#0b1426;}
#siteSearchInput{width:100%;border:1px solid #d8e4f4;border-radius:16px;padding:16px 18px;font-size:16px;color:#0b1426;background:#f8fbff;}
.site-search-results{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;}
.site-search-results a{padding:13px 14px;border:1px solid #e0e9f6;border-radius:14px;color:#1c2b45;font-weight:900;background:#fff;}
.site-search-results a:hover{background:#eef5ff;color:#2f80ff;}
html[data-theme="dark"] .mega-link-card b{color:#f4f8ff!important;}
html[data-theme="dark"] .mega-link-card small{color:#9db0ca!important;}
html[data-theme="dark"] .lang-menu,html[data-theme="dark"] .site-search-modal{background:#101c30;border-color:#203453;box-shadow:0 30px 80px rgba(0,0,0,.38);}
html[data-theme="dark"] .lang-menu button,html[data-theme="dark"] .site-search-modal h3,html[data-theme="dark"] .site-search-results a{color:#f4f8ff;}
html[data-theme="dark"] .lang-menu button:hover,html[data-theme="dark"] .site-search-results a:hover{background:#16233b;color:#83b8ff;}
html[data-theme="dark"] #siteSearchInput{background:#0c1728;border-color:#243a5d;color:#f4f8ff;}
html[data-theme="dark"] .site-search-results a{background:#0d182b;border-color:#243a5d;}
html[data-theme="dark"] .search-close{background:#16233b;color:#fff;}
@media(max-width:980px){
  .mega-nav,.mega-item{position:relative!important;}
  .mega-panel{position:static!important;width:100%!important;max-height:none!important;transform:none!important;}
  .mega-item.open .mega-panel{transform:none!important;}
  .site-search-results{grid-template-columns:1fr;}
}
@media(max-width:640px){.site-search-modal{top:74px;padding:22px}.site-search-modal h3{font-size:24px}}

/* === v9 header fit + working search/language refinement === */
.home-topbar-pro.site-nav-shell{
  padding:12px 3.6%!important;
  overflow:visible!important;
}
.home-topbar-pro .home-topbar-shell{
  max-width:1440px!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  margin:0 auto!important;
}
.home-topbar-pro .home-logo{
  min-width:164px!important;
  flex:0 0 auto!important;
}
.home-topbar-pro .home-logo .logo-word{font-size:20px!important;white-space:nowrap!important;}
.home-topbar-pro .home-nav-wrap{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:18px!important;
}
.home-topbar-pro .home-main-nav{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:20px!important;
  flex-wrap:nowrap!important;
}
.home-topbar-pro .home-main-nav > a,
.home-topbar-pro .mega-trigger{
  font-size:14px!important;
  white-space:nowrap!important;
  line-height:1!important;
  padding:12px 0!important;
}
.home-topbar-pro .home-utility-nav{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:max-content!important;
}
.home-topbar-pro .utility-icon-btn,
.home-topbar-pro .lang-pill{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
}
.home-topbar-pro .lang-pill{width:54px!important;min-width:54px!important;border-radius:999px!important;font-size:13px!important;}
.home-topbar-pro .home-theme-toggle{
  min-height:42px!important;
  height:42px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  font-size:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.home-topbar-pro .nav-link-simple.strong{font-size:13px!important;padding:0 4px!important;white-space:nowrap!important;}
.home-topbar-pro .signup-btn.gradient{height:42px!important;padding:0 18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;white-space:nowrap!important;border-radius:13px!important;}
.home-topbar-pro .mega-panel{
  top:82px!important;
  width:min(920px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 104px)!important;
  padding:22px!important;
}
.home-topbar-pro .mega-panel-wide{width:min(920px,calc(100vw - 48px))!important;}
.home-topbar-pro .challenge-grid{grid-template-columns:1.05fr 1fr .95fr!important;gap:22px!important;}
.home-topbar-pro .mega-promo-card{min-height:230px!important;max-width:100%!important;overflow:hidden!important;}
.home-topbar-pro .mega-promo-card p{max-width:100%!important;white-space:normal!important;}
.home-topbar-pro .mega-promo-card h4{font-size:22px!important;}
.site-search-overlay{z-index:9999!important;}
.site-search-modal{top:86px!important;}
.language-switcher{z-index:90!important;}
.language-switcher .lang-pill{cursor:pointer!important;}
.language-switcher .lang-menu{z-index:10000!important;}
.language-switcher .lang-menu button.active{background:#eaf2ff!important;color:#2f80ff!important;}
@media(max-width:1260px){
  .home-topbar-pro.site-nav-shell{padding-left:2.4%!important;padding-right:2.4%!important;}
  .home-topbar-pro .home-logo{min-width:150px!important;}
  .home-topbar-pro .home-main-nav{gap:16px!important;}
  .home-topbar-pro .home-main-nav > a,.home-topbar-pro .mega-trigger{font-size:13px!important;}
  .home-topbar-pro .home-theme-toggle{padding:0 13px!important;font-size:12.5px!important;}
  .home-topbar-pro .signup-btn.gradient{padding:0 15px!important;}
}
@media(max-width:1120px){
  .home-topbar-pro .home-logo{min-width:136px!important;}
  .home-topbar-pro .home-logo .logo-word{font-size:18px!important;}
  .home-topbar-pro .logo-mark{width:22px!important;height:22px!important;}
  .home-topbar-pro .home-main-nav{gap:12px!important;}
  .home-topbar-pro .home-main-nav > a,.home-topbar-pro .mega-trigger{font-size:12.4px!important;}
  .home-topbar-pro .utility-icon-btn{width:38px!important;height:38px!important;min-width:38px!important;}
  .home-topbar-pro .lang-pill{width:48px!important;min-width:48px!important;height:38px!important;}
  .home-topbar-pro .home-theme-toggle{height:38px!important;min-height:38px!important;padding:0 11px!important;}
  .home-topbar-pro .signup-btn.gradient{height:38px!important;padding:0 12px!important;}
}
@media(max-width:980px){
  .home-topbar-pro .home-topbar-shell{display:flex!important;justify-content:space-between!important;}
  .home-topbar-pro .home-nav-wrap{display:none!important;position:absolute!important;}
  .home-topbar-pro .home-nav-wrap.is-open{display:flex!important;}
  .home-topbar-pro .home-main-nav{align-items:flex-start!important;justify-content:flex-start!important;width:100%!important;}
  .home-topbar-pro .home-utility-nav{align-items:flex-start!important;width:100%!important;min-width:0!important;}
  .home-topbar-pro .utility-icon-btn,.home-topbar-pro .lang-pill,.home-topbar-pro .home-theme-toggle,.home-topbar-pro .signup-btn.gradient{width:100%!important;min-width:0!important;border-radius:14px!important;}
  .home-topbar-pro .language-switcher{width:100%!important;}
  .home-topbar-pro .lang-menu{left:0!important;right:auto!important;width:100%!important;}
}

/* === v10 Arabic language dropdown + RTL support === */
.language-switcher .lang-menu{
  min-width:190px!important;
  padding:8px!important;
  border-radius:18px!important;
}
.language-switcher .lang-menu button{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  text-align:left!important;
  font-weight:900!important;
}
.language-switcher .lang-menu button span{font-size:18px;line-height:1;}
.language-switcher .lang-menu button.active{
  background:#eaf2ff!important;
  color:#2f80ff!important;
}
html[dir="rtl"] body{direction:rtl;text-align:right;}
html[dir="rtl"] .home-topbar-shell,
html[dir="rtl"] .home-nav-wrap,
html[dir="rtl"] .home-main-nav,
html[dir="rtl"] .home-utility-nav,
html[dir="rtl"] .home-logo,
html[dir="rtl"] .mega-trigger,
html[dir="rtl"] .mega-link-card,
html[dir="rtl"] .page-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .trust-line,
html[dir="rtl"] .hero-mini-pills,
html[dir="rtl"] .cta-actions,
html[dir="rtl"] .login-card-top,
html[dir="rtl"] .input-shell{
  direction:rtl;
}
html[dir="rtl"] .logo-mark{transform:rotate(45deg);}
html[dir="rtl"] .mega-panel{left:auto!important;right:0!important;}
html[dir="rtl"] .language-switcher .lang-menu{right:auto!important;left:0!important;}
html[dir="rtl"] .site-search-modal{direction:rtl;text-align:right;}
html[dir="rtl"] .search-close{right:auto!important;left:18px!important;}
html[dir="rtl"] .site-search-results a{text-align:right;}
html[dir="rtl"] .benefit-list li{padding-left:0!important;padding-right:28px!important;}
html[dir="rtl"] .benefit-list li:before{left:auto!important;right:0!important;}
html[dir="rtl"] .line-chart{direction:ltr;}
@media(max-width:980px){
  .language-switcher .lang-menu{min-width:100%!important;}
}

/* === v14 final header alignment + centered professional mega menu === */
.home-topbar-pro.site-nav-shell{
  padding:12px 24px!important;
  overflow:visible!important;
}
.home-topbar-pro .home-topbar-shell{
  max-width:1420px!important;
  width:100%!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:178px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
}
.home-topbar-pro .home-logo{
  width:178px!important;
  min-width:178px!important;
  flex:0 0 178px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  overflow:visible!important;
  position:relative!important;
  z-index:3!important;
}
.home-topbar-pro .home-logo .logo-word{
  font-size:20px!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:-.7px!important;
}
.home-topbar-pro .logo-mark{
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
}
.home-topbar-pro .home-nav-wrap{
  min-width:0!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
}
.home-topbar-pro .home-main-nav{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:16px!important;
  flex-wrap:nowrap!important;
}
.home-topbar-pro .home-main-nav > a,
.home-topbar-pro .mega-trigger{
  font-size:13.5px!important;
  line-height:1!important;
  white-space:nowrap!important;
  padding:12px 0!important;
  letter-spacing:-.01em!important;
}
.home-topbar-pro .home-utility-nav{
  min-width:max-content!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.home-topbar-pro .utility-icon-btn{
  width:40px!important;height:40px!important;min-width:40px!important;
}
.home-topbar-pro .lang-pill{
  width:52px!important;height:40px!important;min-width:52px!important;
}
.home-topbar-pro .home-theme-toggle{
  height:40px!important;min-height:40px!important;padding:0 15px!important;font-size:13px!important;
}
.home-topbar-pro .nav-link-simple.strong{font-size:13px!important;padding:0 3px!important;}
.home-topbar-pro .signup-btn.gradient{height:40px!important;padding:0 17px!important;font-size:13px!important;}
.home-topbar-pro .mega-panel,
.home-topbar-pro .mega-panel-wide{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  top:80px!important;
  transform:translateX(-50%)!important;
  width:min(1080px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 100px)!important;
  overflow:auto!important;
  padding:26px!important;
  border-radius:26px!important;
  box-shadow:0 30px 90px rgba(15,23,42,.16)!important;
}
.home-topbar-pro .challenge-grid{grid-template-columns:1.05fr 1fr .92fr!important;gap:24px!important;}
.home-topbar-pro .trading-grid,.home-topbar-pro .about-grid{grid-template-columns:1fr 1fr!important;gap:34px!important;}
.home-topbar-pro .academy-grid-menu{grid-template-columns:1fr 1fr .95fr!important;gap:24px!important;}
.home-topbar-pro .mega-promo-card{min-height:300px!important;max-width:none!important;}
.home-topbar-pro .mega-promo-card h4{font-size:24px!important;line-height:1.15!important;color:#fff!important;}
.home-topbar-pro .mega-promo-card p{font-size:14px!important;line-height:1.55!important;color:#e4edff!important;}
@media(max-width:1220px){
  .home-topbar-pro.site-nav-shell{padding-left:18px!important;padding-right:18px!important;}
  .home-topbar-pro .home-topbar-shell{grid-template-columns:162px minmax(0,1fr)!important;gap:10px!important;}
  .home-topbar-pro .home-logo{width:162px!important;min-width:162px!important;flex-basis:162px!important;gap:8px!important;}
  .home-topbar-pro .home-logo .logo-word{font-size:18.5px!important;}
  .home-topbar-pro .logo-mark{width:23px!important;height:23px!important;min-width:23px!important;}
  .home-topbar-pro .home-nav-wrap{gap:10px!important;}
  .home-topbar-pro .home-main-nav{gap:12px!important;}
  .home-topbar-pro .home-main-nav > a,.home-topbar-pro .mega-trigger{font-size:12.4px!important;}
  .home-topbar-pro .home-theme-toggle{padding:0 12px!important;font-size:12.4px!important;}
  .home-topbar-pro .signup-btn.gradient{padding:0 13px!important;}
}
@media(max-width:1080px){
  .home-topbar-pro .home-main-nav{gap:9px!important;}
  .home-topbar-pro .home-main-nav > a,.home-topbar-pro .mega-trigger{font-size:12px!important;}
  .home-topbar-pro .utility-icon-btn{width:36px!important;height:36px!important;min-width:36px!important;}
  .home-topbar-pro .lang-pill{width:46px!important;height:36px!important;min-width:46px!important;}
  .home-topbar-pro .home-theme-toggle{height:36px!important;min-height:36px!important;padding:0 10px!important;font-size:12px!important;}
  .home-topbar-pro .signup-btn.gradient{height:36px!important;padding:0 10px!important;font-size:12px!important;}
  .home-topbar-pro .nav-link-simple.strong{font-size:12px!important;}
}
@media(max-width:980px){
  .home-topbar-pro .home-topbar-shell{display:flex!important;grid-template-columns:none!important;}
  .home-topbar-pro .home-logo{width:auto!important;min-width:0!important;flex:0 0 auto!important;}
  .home-topbar-pro .home-nav-wrap{display:none!important;position:absolute!important;grid-template-columns:1fr!important;}
  .home-topbar-pro .home-nav-wrap.is-open{display:flex!important;}
  .home-topbar-pro .mega-panel,.home-topbar-pro .mega-panel-wide{
    position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important;max-height:none!important;
  }
}

/* === Live professional widgets for all menu pages === */
.live-widget-section{padding:78px 0;background:linear-gradient(180deg,#f7fbff,#eef5ff)}
.live-suite-head{text-align:center;max-width:850px;margin:0 auto 34px}.live-suite-head h2{font-size:42px;line-height:1.1;color:#0b1426;margin:8px 0 12px}.live-suite-head p{color:#64748b;font-size:17px;line-height:1.7}
.live-widget-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.live-card{background:rgba(255,255,255,.88);border:1px solid #dbe7f6;border-radius:28px;padding:26px;box-shadow:0 22px 55px rgba(30,55,90,.08);min-height:260px}.live-card-top{display:flex;align-items:center;gap:12px;margin-bottom:18px}.live-card-top span{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2f80ff,#6a45ff);color:#fff;font-weight:950}.live-card-top b{font-size:19px;color:#0b1426}.live-card label{display:block;margin:12px 0 8px;color:#21314f;font-weight:900}.live-card select,.live-card input[type=text],.live-card input[type=number]{width:100%;border:1px solid #d7e4f4;background:#f8fbff;border-radius:14px;padding:13px 14px;color:#0b1426;font-weight:800}.live-card input[type=range]{width:100%;accent-color:#2f80ff}.roadmap-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.road-step{border:1px solid #d8e5f6;background:#fff;color:#60728e;border-radius:12px;padding:10px 6px;font-weight:900;cursor:pointer}.road-step.active{background:#2f80ff;color:#fff;border-color:#2f80ff}.progress-track,.pro-meter{height:12px;background:#dce8f7;border-radius:999px;overflow:hidden;margin:18px 0}.progress-track i,.pro-meter i{display:block;height:100%;background:linear-gradient(90deg,#2f80ff,#6a45ff);border-radius:999px;transition:.25s}.calc-output-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.calc-output-grid div{background:#f3f8ff;border:1px solid #dce8f7;border-radius:18px;padding:14px}.calc-output-grid small{display:block;color:#6b7c94;font-weight:800}.calc-output-grid b{display:block;margin-top:6px;color:#0b1426;font-size:19px}.live-status{margin-top:16px;border:1px solid #dce8f7;background:#f5f9ff;color:#21314f;border-radius:16px;padding:14px;font-weight:850;line-height:1.5}.event-row{display:grid;grid-template-columns:54px 1fr;gap:6px 12px;align-items:center;padding:14px;border-radius:18px;border:1px solid #e0e9f7;background:#f8fbff;margin-bottom:10px}.event-row span{grid-row:span 2;text-align:center;padding:8px;border-radius:12px;font-weight:950;font-size:12px}.event-row.high span{background:#ffe9ec;color:#d92f45}.event-row.medium span{background:#fff4d8;color:#a16b00}.event-row.low span{background:#eaf7ef;color:#16834b}.event-row b{color:#0b1426}.event-row small{color:#6b7c94;font-weight:800}.symbol-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.symbol-list button{border:1px solid #dbe7f6;background:#fff;color:#1f3151;border-radius:999px;padding:10px 13px;font-weight:900}.lesson-progress-ring{width:126px;height:126px;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center;background:conic-gradient(#2f80ff 42%,#dfe9f7 0);box-shadow:inset 0 0 0 15px #fff}.lesson-progress-ring span{font-size:27px;font-weight:950;color:#0b1426}.checklist-box{display:grid;gap:10px;margin-top:16px}.checklist-box span{background:#f5f9ff;border:1px solid #dce8f7;color:#20314f;padding:12px;border-radius:14px;font-weight:850}.mindset-card label{display:flex;gap:10px;align-items:center;border:1px solid #dce8f7;background:#f8fbff;border-radius:14px;padding:12px;margin:10px 0}.brand-timeline{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:10px;margin:22px 0}.brand-timeline span{background:#eef5ff;color:#2f80ff;border:1px solid #d8e5f6;border-radius:999px;padding:10px 13px;font-weight:950}.brand-timeline i{height:3px;background:linear-gradient(90deg,#2f80ff,#6a45ff);border-radius:99px}.support-card-live button{width:100%;border:1px solid #dce8f7;background:#fff;color:#0b1426;border-radius:14px;padding:13px;margin-bottom:10px;font-weight:950;text-align:left}.asset-row{display:flex;justify-content:space-between;align-items:center;border:1px solid #dce8f7;background:#f8fbff;border-radius:16px;padding:14px;margin-bottom:10px}.asset-row b{color:#0b1426}.asset-row span{background:#eaf7ef;color:#16834b;border-radius:999px;padding:7px 10px;font-weight:950;font-size:12px}
html[data-theme="dark"] .live-widget-section{background:linear-gradient(180deg,#08111f,#0b1830)}html[data-theme="dark"] .live-suite-head h2,html[data-theme="dark"] .live-card-top b,html[data-theme="dark"] .calc-output-grid b,html[data-theme="dark"] .event-row b,html[data-theme="dark"] .asset-row b,html[data-theme="dark"] .lesson-progress-ring span{color:#f4f8ff}html[data-theme="dark"] .live-suite-head p{color:#9db0ca}html[data-theme="dark"] .live-card{background:#101c30;border-color:#203453;box-shadow:none}html[data-theme="dark"] .live-card select,html[data-theme="dark"] .live-card input[type=text],html[data-theme="dark"] .live-card input[type=number],html[data-theme="dark"] .road-step,html[data-theme="dark"] .calc-output-grid div,html[data-theme="dark"] .live-status,html[data-theme="dark"] .event-row,html[data-theme="dark"] .checklist-box span,html[data-theme="dark"] .mindset-card label,html[data-theme="dark"] .support-card-live button,html[data-theme="dark"] .asset-row{background:#0b1426;border-color:#22385c;color:#dce8fb}html[data-theme="dark"] .live-card label,html[data-theme="dark"] .live-status{color:#dce8fb}html[data-theme="dark"] .calc-output-grid small,html[data-theme="dark"] .event-row small{color:#9db0ca}html[data-theme="dark"] .lesson-progress-ring{box-shadow:inset 0 0 0 15px #101c30;background:conic-gradient(#2f80ff 42%,#213757 0)}html[data-theme="dark"] .brand-timeline span{background:#122244;border-color:#253e67}
@media(max-width:980px){.live-widget-grid{grid-template-columns:1fr}.live-suite-head h2{font-size:32px}.calc-output-grid{grid-template-columns:1fr}.brand-timeline{grid-template-columns:1fr}.brand-timeline i{height:2px;min-height:24px;width:3px;margin:auto}}

/* === Trader dashboard premium redesign === */
.trader-sidebar .brand-panel{margin-bottom:8px}.new-challenge-card{position:relative;z-index:1;display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;margin:4px 4px 14px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#2f80ff,#6a45ff);color:#fff;box-shadow:0 18px 38px rgba(47,128,255,.24)}.new-challenge-card span{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:950}.new-challenge-card b{display:block;font-size:16px}.new-challenge-card small{display:block;color:#dce8ff;margin-top:3px;line-height:1.35}.trader-main-premium{margin-left:292px;min-height:100vh}.trader-hero-head p{max-width:760px}.trader-stat-grid .premium-stat-card{min-height:136px}.trader-stat-grid .premium-stat-card b{font-size:25px!important}.trader-dashboard-grid{grid-template-columns:2fr 1fr 1fr}.trader-equity-card{min-height:360px}.equity-surface{position:relative;height:245px;margin-top:8px;border-radius:22px;background:radial-gradient(circle at 78% 20%,rgba(47,128,255,.16),transparent 30%),linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));border:1px solid rgba(145,164,191,.14);overflow:hidden}.equity-line{height:100%;display:flex;align-items:end;gap:12px;padding:56px 28px 28px}.equity-line i{flex:1;border-radius:999px 999px 5px 5px;background:linear-gradient(180deg,#2f80ff,#7c4dff);box-shadow:0 0 22px rgba(47,128,255,.24)}.equity-center-note{position:absolute;left:28px;top:24px;max-width:330px}.equity-center-note strong{display:block;color:#fff;font-size:19px}.equity-center-note span{display:block;margin-top:5px;color:#aebbd4;line-height:1.5}.objective-ring{width:136px;height:136px;border-radius:50%;margin:18px auto;background:conic-gradient(#2f80ff 0 72%,rgba(255,255,255,.08) 72% 100%);display:flex;align-items:center;justify-content:center;position:relative}.objective-ring:before{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:#101c2f}.objective-ring div{position:relative;text-align:center}.objective-ring small{display:block;color:#aebbd2}.objective-ring strong{font-size:34px;color:#fff}.account-widget p small{font-size:14px}.trader-live-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.trader-risk-card,.trader-checklist-card,.module-hero-card,.feature-module-card{background:linear-gradient(145deg,rgba(255,255,255,.062),rgba(255,255,255,.025))!important;border:1px solid rgba(145,164,191,.22)!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important;color:#f5f8ff!important}.risk-meter-row{display:flex;align-items:center;justify-content:space-between;color:#c7d4eb;font-weight:800;margin:16px 0 8px}.risk-meter-row b{color:#fff}.risk-bar{height:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.risk-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#41df9a,#ffad3d)}.risk-bar.safe i{background:linear-gradient(90deg,#2f80ff,#7c4dff)}.risk-note{color:#aebbd4!important;line-height:1.7;margin-bottom:0}.trader-checklist-card label{display:flex;align-items:center;gap:10px;padding:11px 0;color:#dce8fb;font-weight:800;border-bottom:1px solid rgba(255,255,255,.08)}.trader-checklist-card label:last-child{border-bottom:0}.trader-checklist-card input{accent-color:#7c4dff}.trader-table-card{margin-top:16px}.module-hero-card{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;padding:28px;margin-bottom:18px}.module-hero-card h2{font-size:34px;line-height:1.1;margin:6px 0 12px;color:#fff}.module-hero-card p{color:#aebbd4;line-height:1.8;max-width:780px}.module-mini-chart{min-height:170px;border-radius:22px;background:linear-gradient(180deg,rgba(124,77,255,.10),rgba(47,128,255,.04));border:1px solid rgba(145,164,191,.16);display:flex;align-items:end;gap:10px;padding:24px}.module-mini-chart i{flex:1;border-radius:999px 999px 5px 5px;background:linear-gradient(180deg,#21d4fd,#7c4dff)}.module-card-grid{padding:0!important;margin:0 0 16px}.feature-module-card{min-height:190px}.feature-module-card span{color:#9fb0ce!important}.feature-module-card b{font-size:20px!important;color:#fff!important}.feature-module-card p{color:#aebbd4!important;line-height:1.7}.feature-module-card a{display:inline-flex;margin-top:10px;color:#9f7cff;font-weight:900}.module-stat-grid .premium-stat-card b{font-size:20px!important}.module-stat-grid .premium-stat-card:first-child b{font-size:19px!important}
html[data-theme=light] .new-challenge-card{box-shadow:0 18px 38px rgba(47,128,255,.18)}html[data-theme=light] .trader-risk-card,html[data-theme=light] .trader-checklist-card,html[data-theme=light] .module-hero-card,html[data-theme=light] .feature-module-card{background:#fff!important;color:#0b1426!important;box-shadow:0 16px 36px rgba(28,47,88,.08)!important;border-color:#dce6f6!important}html[data-theme=light] .equity-surface{background:linear-gradient(180deg,#f8fbff,#eef4ff);border-color:#dce6f6}html[data-theme=light] .equity-center-note strong,html[data-theme=light] .objective-ring strong,html[data-theme=light] .risk-meter-row b,html[data-theme=light] .module-hero-card h2,html[data-theme=light] .feature-module-card b{color:#0b1426!important}html[data-theme=light] .equity-center-note span,html[data-theme=light] .risk-note,html[data-theme=light] .module-hero-card p,html[data-theme=light] .feature-module-card p{color:#63728d!important}html[data-theme=light] .objective-ring:before{background:#fff}html[data-theme=light] .trader-checklist-card label{color:#17223a;border-bottom-color:#e3ebf7}html[data-theme=light] .risk-bar{background:#edf3fb}
@media(max-width:1200px){.trader-dashboard-grid,.trader-live-grid{grid-template-columns:1fr 1fr}.trader-equity-card{grid-column:1/-1}.module-hero-card{grid-template-columns:1fr}.module-mini-chart{min-height:140px}}@media(max-width:800px){.trader-main-premium{margin-left:0}.trader-dashboard-grid,.trader-live-grid{grid-template-columns:1fr}.module-card-grid{grid-template-columns:1fr}.new-challenge-card{grid-template-columns:1fr}.new-challenge-card span{display:none}}

/* === Certificate approval, verification and download system === */
.certificate-admin-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;margin:24px 0}.certificate-generate-card h2{font-size:34px;margin:8px 0 10px}.certificate-generate-card p{color:var(--muted);line-height:1.7}.certificate-form{display:grid;gap:12px;margin-top:18px}.certificate-form label{font-weight:900;color:var(--text)}.certificate-form input,.certificate-form select,.certificate-form textarea,.verify-search-card input{width:100%;border:1px solid var(--border);background:var(--soft);color:var(--text);border-radius:14px;padding:14px 16px;font:inherit}.certificate-form textarea{resize:vertical}.certificate-preview-card{border-radius:28px;padding:24px;background:radial-gradient(circle at 70% 20%,rgba(47,128,255,.22),transparent 34%),linear-gradient(135deg,#0a1427,#101f43);box-shadow:0 24px 60px rgba(11,20,38,.18);display:flex;align-items:center;justify-content:center}.mini-certificate{width:100%;min-height:360px;border-radius:24px;background:linear-gradient(180deg,#fff,#eef4ff);border:2px solid #3769ff;padding:28px;text-align:center;position:relative;color:#0b1426;box-shadow:inset 0 0 0 8px #f7faff}.mini-cert-brand{font-weight:950;color:#2f80ff;margin-bottom:28px}.mini-certificate h3{font-size:30px;margin:0 0 18px}.mini-certificate strong{display:block;font-size:42px;line-height:1.1;margin:10px 0;color:#0a1450}.mini-certificate p{color:#586a85}.mini-cert-badge{display:inline-flex;margin-top:22px;padding:12px 20px;border-radius:999px;background:linear-gradient(90deg,#13214c,#583dff);color:#fff;font-weight:950}.cert-action-cell{display:flex;align-items:center;gap:10px}.cert-action-cell form{display:inline}.cert-action-cell button,.table-action-link{border:0;background:#edf4ff;color:#2f80ff;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.success-alert{background:rgba(32,201,120,.13)!important;border-color:rgba(32,201,120,.28)!important;color:#16ad66!important}
.certificate-list-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:24px}.certificate-user-card{padding:28px}.cert-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.certificate-seal-small{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#2f80ff,#6f55ff);color:#fff;font-size:24px;font-weight:950;box-shadow:0 14px 32px rgba(47,128,255,.25)}.danger-seal{background:linear-gradient(135deg,#ff4d5e,#ff8b54)}.certificate-user-card h2{font-size:30px;margin:0 0 10px}.certificate-user-card p{color:var(--muted);line-height:1.7}.cert-meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.cert-meta-grid div{background:var(--soft);border:1px solid var(--border);border-radius:16px;padding:14px}.cert-meta-grid small{display:block;color:var(--muted);font-weight:800;margin-bottom:6px}.cert-meta-grid b{display:block;color:var(--text);font-size:15px}.cert-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.certificate-empty-state{grid-column:1/-1;text-align:center;padding:54px}.certificate-empty-state h2{font-size:34px;margin:20px 0 10px}.certificate-empty-state p{max-width:650px;margin:0 auto 22px;color:var(--muted);line-height:1.7}
.verify-hero-section{padding:96px 0;background:radial-gradient(circle at 72% 20%,rgba(47,128,255,.18),transparent 30%),linear-gradient(180deg,#f8fbff,#eef4ff)}.verify-grid{display:grid;grid-template-columns:1fr .9fr;gap:28px;align-items:center}.verify-grid h1{font-size:58px;line-height:1.04;letter-spacing:-1.5px;color:#0b1426;margin:18px 0}.verify-grid p{color:#63758d;line-height:1.75;font-size:18px}.verify-search-card{background:#fff;border:1px solid #dfe8f3;border-radius:26px;padding:22px;box-shadow:0 22px 48px rgba(15,23,42,.08);margin-top:22px}.verify-search-card label{display:block;font-weight:950;color:#0b1426;margin-bottom:10px}.verify-search-card>div{display:flex;gap:10px}.verify-result-card{background:#fff;border:1px solid #dfe8f3;border-radius:30px;padding:32px;box-shadow:0 24px 60px rgba(15,23,42,.10)}.verify-result-card h2{font-size:34px;color:#0b1426;margin:20px 0 8px}.verify-meta div{background:#f4f8ff;border-color:#dfe8f3}.verify-meta b{color:#0b1426}.certificate-verify-home{padding:82px 0}.verify-home-grid{display:grid;grid-template-columns:1fr .9fr;gap:24px;align-items:center}.verify-home-grid h2{font-size:44px;line-height:1.1;color:#0b1426;margin:0 0 14px}.verify-home-grid p{color:#667892;line-height:1.75;font-size:18px}.home-verify-card{margin:0}.home-verify-card small{display:block;margin-top:10px;color:#667892}
.public-certificate-main{padding:70px 0;background:#f4f8ff}.certificate-view-actions{width:min(1200px,92vw);margin:0 auto 22px;display:flex;align-items:end;justify-content:space-between;gap:18px}.certificate-view-actions h1{margin:6px 0;color:var(--text);font-size:36px}.certificate-view-actions p{color:var(--muted)}.print-certificate-wrap{width:min(1280px,94vw);margin:0 auto;padding:18px;background:#fff;border-radius:30px;box-shadow:0 28px 80px rgba(15,23,42,.12)}.print-certificate{position:relative;overflow:hidden;min-height:860px;border:3px solid #244dce;border-radius:10px;background:radial-gradient(circle at 80% 28%,rgba(47,128,255,.13),transparent 20%),radial-gradient(circle at 18% 72%,rgba(128,88,255,.10),transparent 22%),linear-gradient(180deg,#ffffff,#f7faff);padding:54px 74px 42px;text-align:center;color:#08122b}.cert-border-inner{position:absolute;inset:22px;border:1px solid rgba(48,75,198,.55);pointer-events:none}.cert-corner{position:absolute;width:160px;height:160px;background:linear-gradient(135deg,#0d1d52,#583dff);transform:rotate(45deg);box-shadow:0 0 0 5px rgba(215,176,83,.55)}.cert-corner-left{left:-92px;top:-92px}.cert-corner-right{right:-92px;top:-92px}.cert-header-brand{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:18px}.cert-logo-mark{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#2f80ff,#7d45ff);color:#fff;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:950;box-shadow:0 18px 35px rgba(47,128,255,.25)}.cert-brand-text{font-size:52px;font-weight:950;letter-spacing:-2px}.cert-brand-text span{background:linear-gradient(90deg,#2f80ff,#8b55ff);-webkit-background-clip:text;background-clip:text;color:transparent}.print-certificate h2{font-family:Georgia,serif;font-size:64px;line-height:1;margin:12px 0 16px;color:#091047;font-weight:500}.cert-divider{display:flex;align-items:center;justify-content:center;gap:14px;color:#6048ff;margin:14px 0 20px}.cert-divider span{width:120px;height:1px;background:#6048ff}.cert-presented{font-size:22px;color:#506078;margin:0 0 8px}.print-certificate h1{font-family:Georgia,serif;font-size:82px;line-height:1.02;margin:12px 0 16px;color:#101061;font-weight:500}.cert-name-line{height:1px;width:64%;margin:0 auto 18px;background:linear-gradient(90deg,transparent,#9dadc7,transparent)}.cert-copy{font-size:23px;line-height:1.45;color:#33425d;max-width:760px;margin:0 auto 24px}.verified-ribbon{display:inline-flex;align-items:center;gap:16px;padding:18px 36px;border-radius:999px;background:linear-gradient(90deg,#10184e,#592bda,#121a54);color:#fff;border:2px solid #d4aa55;font-size:30px;letter-spacing:.08em;font-weight:950;box-shadow:0 18px 38px rgba(70,44,180,.22)}.verified-ribbon span{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#2f80ff}.cert-info-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:42px auto 26px;max-width:980px;border-top:1px solid #ccd6e7;border-bottom:1px solid #ccd6e7}.cert-info-row div{padding:18px 12px}.cert-info-row small{display:block;color:#54657c;font-weight:900}.cert-info-row b{display:block;color:#111b58;margin-top:6px;font-size:18px}.cert-signature-row{display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;gap:28px;margin-top:20px}.cert-signature-row em{display:block;font-family:cursive;font-size:32px;color:#08122b}.cert-signature-row span{display:block;height:1px;background:#1d2867;margin:8px auto 10px;max-width:260px}.cert-signature-row b{font-size:13px;letter-spacing:.12em;color:#243dbd}.cert-main-seal{width:145px;height:145px;margin:0 auto;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#6c55ff,#143fbd 55%,#0a1450);color:#fff;border:7px double rgba(255,255,255,.55);box-shadow:0 18px 34px rgba(23,48,137,.28)}.cert-main-seal i{font-style:normal;font-size:34px;font-weight:950}.cert-main-seal small{font-size:10px;letter-spacing:.15em}.certificate-download-body{padding:0;background:#fff}.certificate-download-body .print-certificate-wrap{width:100%;box-shadow:none;border-radius:0;padding:0}.certificate-download-body .print-certificate{border-radius:0}
html[data-theme="dark"] .verify-hero-section{background:radial-gradient(circle at 72% 20%,rgba(47,128,255,.20),transparent 30%),linear-gradient(180deg,#08111f,#0a162a)}html[data-theme="dark"] .verify-grid h1,html[data-theme="dark"] .verify-result-card h2,html[data-theme="dark"] .verify-search-card label{color:#f4f8ff}html[data-theme="dark"] .verify-grid p{color:#a9bad1}html[data-theme="dark"] .verify-search-card,html[data-theme="dark"] .verify-result-card{background:#101c30;border-color:#203453;box-shadow:none}html[data-theme="dark"] .verify-meta div{background:#0d182b;border-color:#203453}html[data-theme="dark"] .verify-meta b{color:#f4f8ff}html[data-theme="dark"] .verify-home-grid h2{color:#f4f8ff}html[data-theme="dark"] .verify-home-grid p{color:#a9bad1}html[data-theme="dark"] .public-certificate-main{background:#07111f}
@media(max-width:1100px){.certificate-admin-grid,.verify-grid,.verify-home-grid{grid-template-columns:1fr}.certificate-list-grid{grid-template-columns:1fr}.print-certificate{padding:46px 28px;min-height:auto}.print-certificate h1{font-size:58px}.print-certificate h2{font-size:44px}.cert-info-row{grid-template-columns:1fr 1fr}.cert-signature-row{grid-template-columns:1fr}.cert-main-seal{order:-1}.certificate-view-actions{flex-direction:column;align-items:flex-start}.pricing-card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.verify-search-card>div{flex-direction:column}.cert-meta-grid,.cert-info-row{grid-template-columns:1fr}.print-certificate h1{font-size:42px}.print-certificate h2{font-size:34px}.cert-brand-text{font-size:34px}.cert-copy{font-size:17px}.verified-ribbon{font-size:18px;padding:14px 20px}.print-certificate-wrap{width:100%;border-radius:0;padding:0}.print-certificate{border-radius:0;border-left:0;border-right:0}.certificate-admin-grid{gap:14px}}
@media print{body{background:#fff!important}.home-topbar,.sidebar,.site-footer,.certificate-view-actions{display:none!important}.main,.public-certificate-main{margin:0!important;padding:0!important}.print-certificate-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important}.print-certificate{min-height:100vh;border-radius:0!important}.print-certificate h1{font-size:72px}.print-certificate h2{font-size:52px}}

/* Certificate verification entry points */
.verify-hero-btn{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
}
.verify-hero-btn:hover{background:rgba(47,128,255,.24)!important;}
.inline-verify-link{
  display:inline-flex;
  margin:0 0 14px;
  color:#2f80ff;
  font-weight:900;
}
html[data-theme="light"] .verify-hero-btn{
  background:#fff!important;
  color:#0b1426!important;
  border-color:#dbe6f4!important;
}

/* Certificate PDF download button repair */
.pdf-download-btn{
  background:linear-gradient(90deg,#0ea5e9,#2563eb)!important;
  color:#fff!important;
  border:0!important;
  min-width:132px;
  box-shadow:0 14px 28px rgba(37,99,235,.22)!important;
}
.pdf-download-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.cert-card-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 18px;border-radius:13px}
.certificate-dashboard-page .premium-stat-card.amber b{color:#0f172a}
html[data-theme="dark"] .certificate-dashboard-page .premium-stat-card.amber b{color:#fff}

/* === Certificate premium design sync: preview + download style === */
.print-certificate-wrap{
  background:#ffffff!important;
  border-radius:26px!important;
}
.print-certificate{
  position:relative!important;
  overflow:hidden!important;
  border:3px solid #0b1746!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 82% 24%,rgba(60,112,220,.16),transparent 18%),
    radial-gradient(circle at 18% 72%,rgba(130,88,255,.12),transparent 20%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:inset 0 0 0 18px #ffffff, inset 0 0 0 20px rgba(47,128,255,.72)!important;
}
.cert-corner{display:none!important}.cert-border-inner{inset:28px!important;border-color:rgba(80,92,220,.42)!important}
.cert-header-brand{margin-bottom:12px!important}.cert-logo-mark{
  width:70px!important;height:70px!important;border-radius:18px!important;
  background:linear-gradient(135deg,#2f80ff 0%,#6b55ff 48%,#8b4cff 100%)!important;
  color:white!important;font-size:38px!important;font-weight:950!important;line-height:1!important;
  box-shadow:0 20px 36px rgba(47,128,255,.24)!important;
}
.cert-brand-text{font-size:58px!important;color:#121a52!important}.cert-brand-text span{background:linear-gradient(90deg,#2f80ff,#8b55ff);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.print-certificate h2{font-family:Georgia,'Times New Roman',serif!important;font-size:70px!important;font-weight:500!important;color:#071047!important;letter-spacing:-1px!important}
.print-certificate h1{font-family:Georgia,'Times New Roman',serif!important;font-size:88px!important;font-weight:500!important;color:#101061!important;text-transform:capitalize!important}
.cert-copy{max-width:820px!important;font-size:24px!important}.verified-ribbon{border-radius:8px!important;border:2px solid #d9aa52!important;background:linear-gradient(90deg,#0f1747,#522bd0,#121a54)!important;color:#ffe58a!important;text-shadow:0 1px 0 rgba(0,0,0,.18)!important}
.cert-info-row{background:rgba(232,241,255,.80)!important;border-color:#c9d5eb!important}.cert-info-row div{background:transparent!important}.cert-main-seal{border-radius:50%!important;background:radial-gradient(circle,#6d55ff 0%,#214fd0 48%,#07134a 100%)!important;border:8px double rgba(255,255,255,.7)!important;box-shadow:0 18px 34px rgba(23,48,137,.30)!important}
.print-certificate:before,.print-certificate:after{content:"";position:absolute;opacity:.42;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(47,128,255,.42) 0 8px,transparent 8px 18px)}
.print-certificate:before{left:110px;bottom:260px;width:260px;height:72px;clip-path:polygon(0 78%,8% 58%,16% 42%,24% 26%,32% 18%,40% 48%,48% 28%,56% 18%,64% 8%,72% 48%,80% 55%,88% 66%,100% 70%,100% 100%,0 100%)}
.print-certificate:after{right:110px;bottom:310px;width:260px;height:122px;clip-path:polygon(0 92%,8% 82%,16% 70%,24% 60%,32% 50%,40% 42%,48% 34%,56% 27%,64% 20%,72% 14%,80% 9%,88% 4%,100% 0,100% 100%,0 100%)}
.certificate-download-body .print-certificate-wrap{background:#fff!important}.certificate-download-body .print-certificate{width:100%!important;min-height:100vh!important}
@media print{.print-certificate{box-shadow:inset 0 0 0 14px #fff, inset 0 0 0 16px rgba(47,128,255,.72)!important}.cert-corner{display:none!important}}

/* === v24 logo system + certificate logo refresh === */
.logo-mark{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;background:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.logo-mark i{display:none!important}
.logo-mark img{display:block;width:100%;height:100%;object-fit:contain}
.home-logo{display:inline-flex;align-items:center;gap:12px}.home-logo .logo-word{display:inline-block;line-height:1}
.brand-mark{background:rgba(255,255,255,.06)!important;box-shadow:none!important;overflow:hidden}
.brand-mark img{display:block;width:28px;height:28px;object-fit:contain}
.login-brand-mark,.signup-brand-mark,.auth-brand-logo,.mini-cert-brand{display:inline-flex;align-items:center;gap:10px}
.login-brand-mark img,.signup-brand-mark img{width:34px;height:34px;object-fit:contain}
.auth-brand-logo img{width:24px;height:24px;object-fit:contain}
.mini-cert-brand img{width:20px;height:20px;object-fit:contain}
.auth-brand-logo span,.mini-cert-brand span{display:inline-block}
.login-brand-mark span,.signup-brand-mark span{font-weight:900;color:#fff;letter-spacing:-.02em}
html[data-theme="light"] .login-brand-mark span,html[data-theme="light"] .signup-brand-mark span{color:#0b1426}
.cert-header-brand{gap:18px!important;margin-bottom:14px!important}.cert-logo-image{width:74px;height:74px;object-fit:contain;display:block;filter:drop-shadow(0 14px 24px rgba(55,77,255,.18))}
.cert-brand-text{font-size:56px!important;line-height:1!important}.cert-brand-text span{background:linear-gradient(90deg,#2958f1,#8a51ff)!important;-webkit-background-clip:text;background-clip:text;color:transparent}
.print-certificate h2{margin-top:8px!important;margin-bottom:16px!important}
.verified-ribbon{position:relative;padding:16px 42px 16px 34px!important;border-radius:18px!important;background:linear-gradient(90deg,#101754 0%,#1e2f88 38%,#6b34ff 100%)!important;border:2px solid #cfa85e!important;box-shadow:0 20px 34px rgba(57,45,158,.18)!important}
.verified-ribbon span{background:linear-gradient(180deg,#446fff,#6a45ff)!important;border:2px solid rgba(231,188,92,.9);box-shadow:0 0 0 4px rgba(255,255,255,.12) inset}
.cert-main-seal{width:170px!important;height:170px!important;background:none!important;border:0!important;box-shadow:none!important}
.cert-main-seal .cert-seal-image{width:170px;height:170px;object-fit:contain;display:block;filter:drop-shadow(0 18px 28px rgba(53,65,171,.18))}
.cert-info-row{margin-top:38px!important}.cert-signature-row{grid-template-columns:1fr 190px 1fr!important;align-items:end!important}
.print-certificate{background:radial-gradient(circle at 82% 26%,rgba(47,128,255,.07),transparent 20%),radial-gradient(circle at 16% 72%,rgba(128,88,255,.07),transparent 22%),linear-gradient(180deg,#ffffff,#fbfcff)!important}
.print-certificate:before{content:"";position:absolute;left:52px;top:130px;width:180px;height:70px;background:linear-gradient(135deg,rgba(148,171,255,.14),rgba(148,171,255,0));clip-path:polygon(0 100%,58% 0,100% 58%,42% 100%);opacity:.55}
.print-certificate:after{content:"";position:absolute;right:54px;top:200px;width:230px;height:180px;background:repeating-linear-gradient(90deg,rgba(169,196,255,.52) 0 8px,transparent 8px 24px);clip-path:polygon(10% 100%,100% 30%,100% 100%,0 100%);opacity:.45}
@media(max-width:680px){.cert-logo-image{width:54px;height:54px}.cert-brand-text{font-size:40px!important}.cert-main-seal,.cert-main-seal .cert-seal-image{width:136px;height:136px}}

/* === v25 dynamic certificate program seal repair === */
.cert-program-subtitle{margin-top:8px;text-align:center;font-size:15px;font-weight:900;letter-spacing:.28em;color:#1d2f8e;text-transform:uppercase}
.dynamic-program-seal{position:relative!important;overflow:visible!important}
.dynamic-program-seal .cert-seal-image{position:relative;z-index:1}
.dynamic-program-seal .cert-seal-program{position:absolute;z-index:2;left:50%;bottom:22px;transform:translateX(-50%);max-width:132px;padding:4px 8px;border-radius:999px;background:linear-gradient(90deg,rgba(5,18,88,.94),rgba(85,44,210,.94));border:1px solid rgba(255,255,255,.42);color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;line-height:1.15;text-align:center;text-transform:uppercase;box-shadow:0 8px 18px rgba(20,25,120,.22);white-space:normal}
.field-help{display:block;margin:-6px 0 14px;color:#64748b;font-size:12px;font-weight:700}
html[data-theme="dark"] .field-help{color:#9fb0c8}
@media(max-width:680px){.cert-program-subtitle{font-size:12px;letter-spacing:.18em}.dynamic-program-seal .cert-seal-program{bottom:18px;max-width:106px;font-size:8px}}

/* Keep public project language options English-only */
.language-switcher [data-lang]:not([data-lang="en"]){display:none!important}

.branding-grid{grid-template-columns:1fr 1fr 1.1fr;padding:0}.branding-card,.branding-upload-card{min-height:330px}.branding-preview-box{display:flex;align-items:center;justify-content:center;min-height:180px;margin:18px 0;padding:24px;border-radius:22px;background:linear-gradient(135deg,rgba(47,128,255,.12),rgba(132,77,255,.10));border:1px solid var(--border)}.branding-preview-box img{max-width:150px;max-height:150px;object-fit:contain}.seal-preview-box img{max-width:170px;max-height:170px}.branding-upload-card h2{margin:10px 0 18px}.branding-upload-card label{display:block;margin:14px 0 8px;font-weight:900}.branding-upload-card input[type=file]{width:100%;padding:16px;border:1px dashed rgba(124,77,255,.5);border-radius:16px;background:var(--soft);color:var(--text)}.branding-auto-note{padding:14px 16px;border:1px dashed rgba(124,77,255,.35);border-radius:16px;background:linear-gradient(135deg,rgba(47,128,255,.08),rgba(132,77,255,.08));color:var(--muted)}.branding-auto-note label{display:block;margin:0 0 8px;font-weight:900;color:var(--text)}.branding-auto-note p{margin:0;line-height:1.55}.branding-note-card{margin-top:22px}@media(max-width:1100px){.branding-grid{grid-template-columns:1fr}} 


/* === v26 logo-only branding + certificate seal uploader === */
.logo-only-brand .logo-word,
.logo-only-brand span:not(.logo-mark):not(.cert-seal-program),
.logo-only-brand .brand,
.logo-only-brand .auth-brand-logo span{display:none!important}
.logo-only-brand{gap:0!important}
.logo-only-brand.home-logo,.logo-only-brand.footer-brand{display:inline-flex;align-items:center}
.logo-only-brand.home-logo .logo-mark{width:auto!important;height:54px!important;min-width:auto!important}
.logo-only-brand.home-logo .logo-mark img{width:auto!important;height:54px!important;max-width:240px!important;object-fit:contain}
.brand-panel-logo-only{grid-template-columns:42px 1fr 34px!important}
.brand-panel-logo-only small{display:block!important;color:#8396b6;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-top:2px}
.auth-brand-logo.logo-only-brand,.mini-cert-brand.logo-only-brand{min-height:24px}
.login-brand-mark.logo-only-brand,.signup-brand-mark.logo-only-brand{gap:12px!important}
.login-brand-mark.logo-only-brand img,.signup-brand-mark.logo-only-brand img{width:auto!important;height:44px!important;max-width:220px!important}
.login-brand-mark.logo-only-brand em,.signup-brand-mark.logo-only-brand em{margin-top:0!important}
.auth-brand-logo.logo-only-brand img{width:auto!important;height:30px!important;max-width:180px!important}
.mini-cert-brand.logo-only-brand img{width:auto!important;height:36px!important;max-width:200px!important}
.cert-header-brand.logo-only-brand{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.cert-logo-image-wide{width:auto!important;height:86px!important;max-width:320px!important;object-fit:contain}
.cert-program-subtitle-standalone{font-size:16px;font-weight:900;letter-spacing:.28em;color:#2440b8;text-align:center}
@media(max-width:680px){
  .logo-only-brand.home-logo .logo-mark{height:42px!important}
  .logo-only-brand.home-logo .logo-mark img{height:42px!important;max-width:170px!important}
  .login-brand-mark.logo-only-brand img,.signup-brand-mark.logo-only-brand img{height:38px!important;max-width:180px!important}
  .cert-logo-image-wide{height:64px!important;max-width:240px!important}
  .cert-program-subtitle-standalone{font-size:12px;letter-spacing:.18em}
}

/* === v27 favicon + dynamic site name branding === */
.branding-grid-extended{grid-template-columns:repeat(4,1fr)!important;padding:0!important}.branding-name-preview{display:flex;align-items:center;justify-content:center;min-height:96px;margin:18px 0;padding:22px;border-radius:22px;background:linear-gradient(135deg,rgba(47,128,255,.12),rgba(132,77,255,.10));border:1px solid var(--border);font-size:34px;font-weight:950;letter-spacing:-.04em}.branding-inline-form label{display:block;margin:14px 0 8px;font-weight:900}.branding-inline-form input{width:100%;padding:14px;border-radius:14px;border:1px solid var(--border);background:var(--soft);color:var(--text)}.favicon-preview-box{min-height:120px}.favicon-preview-box img{max-width:76px!important;max-height:76px!important;border-radius:18px}@media(max-width:1280px){.branding-grid-extended{grid-template-columns:1fr 1fr!important}}@media(max-width:760px){.branding-grid-extended{grid-template-columns:1fr!important}.branding-name-preview{font-size:26px}}


/* === v27 home logo size + distortion repair === */
.home-topbar-pro .home-logo.logo-only-brand,
.home-logo.logo-only-brand,
.footer-brand.logo-only-brand{
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:auto!important;
    max-width:none!important;
}

.home-topbar-pro .home-logo.logo-only-brand .logo-mark,
.home-logo.logo-only-brand .logo-mark,
.footer-brand.logo-only-brand .logo-mark{
    width:auto!important;
    height:auto!important;
    min-width:auto!important;
    min-height:auto!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    transform:none!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
}

.home-topbar-pro .home-logo.logo-only-brand .logo-mark img,
.home-logo.logo-only-brand .logo-mark img{
    display:block!important;
    width:auto!important;
    height:78px!important;
    max-width:330px!important;
    min-width:190px!important;
    object-fit:contain!important;
    object-position:left center!important;
    aspect-ratio:auto!important;
    transform:none!important;
}

.footer-brand.logo-only-brand .logo-mark img{
    display:block!important;
    width:auto!important;
    height:70px!important;
    max-width:310px!important;
    min-width:180px!important;
    object-fit:contain!important;
    object-position:left center!important;
    aspect-ratio:auto!important;
    transform:none!important;
}

.brand-mark{
    transform:none!important;
}

.brand-mark img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    aspect-ratio:auto!important;
    transform:none!important;
}

.cert-logo-image-wide{
    width:auto!important;
    height:100px!important;
    max-width:420px!important;
    object-fit:contain!important;
    aspect-ratio:auto!important;
    transform:none!important;
}

@media(max-width:980px){
    .home-topbar-pro .home-logo.logo-only-brand .logo-mark img,
    .home-logo.logo-only-brand .logo-mark img{
        height:64px!important;
        max-width:260px!important;
        min-width:160px!important;
    }
}

@media(max-width:680px){
    .home-topbar-pro .home-logo.logo-only-brand .logo-mark img,
    .home-logo.logo-only-brand .logo-mark img{
        height:54px!important;
        max-width:210px!important;
        min-width:135px!important;
    }
    .footer-brand.logo-only-brand .logo-mark img{
        height:54px!important;
        max-width:210px!important;
        min-width:135px!important;
    }
    .cert-logo-image-wide{
        height:74px!important;
        max-width:280px!important;
    }
}

/* === v28 visible dynamic site name repair === */
.dynamic-brand-name{display:inline-flex!important;align-items:center!important;gap:12px!important;text-decoration:none!important;min-width:max-content!important;max-width:none!important}
.dynamic-brand-name .logo-word,.dynamic-brand-name span:not(.logo-mark){display:inline-block!important;font-weight:950!important;letter-spacing:-.04em!important;line-height:1!important;color:var(--text,#0b1426)!important;white-space:nowrap!important;text-transform:none!important}
.home-topbar-pro .dynamic-brand-name .logo-mark,.home-logo.dynamic-brand-name .logo-mark,.footer-brand.dynamic-brand-name .logo-mark{width:auto!important;height:auto!important;min-width:auto!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.home-topbar-pro .dynamic-brand-name .logo-mark img,.home-logo.dynamic-brand-name .logo-mark img{display:block!important;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;object-fit:contain!important;object-position:center!important}
.home-topbar-pro .dynamic-brand-name .logo-word,.home-logo.dynamic-brand-name .logo-word{font-size:22px!important;color:var(--text,#0b1426)!important}
html[data-theme="dark"] .home-topbar-pro .dynamic-brand-name .logo-word,html[data-theme="dark"] .home-logo.dynamic-brand-name .logo-word{color:#fff!important}
.footer-brand.dynamic-brand-name .logo-mark img{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;object-fit:contain!important}.footer-brand.dynamic-brand-name .logo-word{font-size:24px!important;color:#fff!important}
.brand-panel-name{grid-template-columns:42px 1fr 34px!important}.brand-panel-text{min-width:0!important}.brand-panel-text b{display:block!important;font-size:16px!important;font-weight:950!important;letter-spacing:-.03em!important;color:var(--text,#0b1426)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.brand-panel-text small{display:block!important;color:#8396b6!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.12em!important;margin-top:3px!important}
html[data-theme="dark"] .brand-panel-text b{color:#fff!important}
.login-brand-mark.dynamic-brand-name,.signup-brand-mark.dynamic-brand-name{gap:10px!important}.login-brand-mark.dynamic-brand-name img,.signup-brand-mark.dynamic-brand-name img{width:44px!important;height:44px!important;object-fit:contain!important}.login-brand-mark.dynamic-brand-name span,.signup-brand-mark.dynamic-brand-name span{font-size:20px!important;font-weight:950!important;letter-spacing:-.03em!important;color:#0b1426!important}.login-brand-mark.dynamic-brand-name em,.signup-brand-mark.dynamic-brand-name em{font-style:normal!important;font-size:12px!important;font-weight:900!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:#a876ff!important;margin-left:6px!important}
.auth-brand-logo.dynamic-brand-name{gap:10px!important}.auth-brand-logo.dynamic-brand-name img{width:30px!important;height:30px!important;object-fit:contain!important}.auth-brand-logo.dynamic-brand-name span{font-size:18px!important;font-weight:950!important;color:#0b1426!important;display:inline-block!important;white-space:nowrap!important}
@media(max-width:980px){.home-topbar-pro .dynamic-brand-name .logo-word,.home-logo.dynamic-brand-name .logo-word{font-size:18px!important}.home-topbar-pro .dynamic-brand-name .logo-mark img,.home-logo.dynamic-brand-name .logo-mark img{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important}}

/* Certificate dynamic program/site-name visibility fix */
.cert-visible-brand{display:flex!important;align-items:center;justify-content:center;gap:10px;flex-direction:column;text-align:center;color:#08122b}
.cert-visible-brand img{width:auto;height:46px;max-width:170px;object-fit:contain;display:block;filter:drop-shadow(0 12px 24px rgba(47,75,255,.18))}
.cert-visible-brand b{display:block!important;font-size:20px;line-height:1;font-weight:950;color:#08122b;letter-spacing:-.02em;margin-top:2px}
.cert-visible-brand span,.cert-visible-brand .cert-program-subtitle{display:block!important;background:transparent!important;height:auto!important;margin-top:4px;font-size:10px;font-weight:950;letter-spacing:.16em;color:#2845bd;text-transform:uppercase;line-height:1.25}
.cert-main-visible-brand{margin-bottom:18px!important;gap:9px!important}
.cert-main-visible-brand img{height:70px;max-width:220px}
.cert-main-visible-brand b{font-size:34px;color:#071029}
.cert-main-visible-brand .cert-program-subtitle{font-size:15px;letter-spacing:.24em;color:#1d2f8e;max-width:760px;margin-left:auto;margin-right:auto}
.mini-certificate{padding-bottom:148px!important}
.mini-cert-brand{margin-bottom:18px!important}
.mini-preview-seal{position:absolute!important;left:50%;bottom:70px;transform:translateX(-50%);width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.mini-preview-seal img{width:92px;height:92px;object-fit:contain;display:block;filter:drop-shadow(0 10px 18px rgba(20,24,120,.22))}
.mini-preview-seal .cert-seal-program{position:absolute!important;z-index:3;left:50%;bottom:13px;transform:translateX(-50%);max-width:82px;padding:3px 6px;border-radius:999px;background:linear-gradient(90deg,rgba(5,18,88,.95),rgba(85,44,210,.95))!important;border:1px solid rgba(255,255,255,.45);color:#fff!important;font-size:7px!important;font-weight:950;letter-spacing:.05em;line-height:1.1;text-align:center;text-transform:uppercase;box-shadow:0 6px 12px rgba(20,25,120,.24);white-space:normal;height:auto!important}
.mini-certificate .mini-cert-badge{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);margin-top:0!important}
@media(max-width:680px){.cert-main-visible-brand img{height:52px}.cert-main-visible-brand b{font-size:26px}.cert-main-visible-brand .cert-program-subtitle{font-size:11px;letter-spacing:.16em}.mini-preview-seal{bottom:64px;width:78px;height:78px}.mini-preview-seal img{width:78px;height:78px}.mini-preview-seal .cert-seal-program{max-width:70px;font-size:6px!important;bottom:11px}}

/* === v27 certificate seal text position repair ===
   Keep the admin program name cleanly inside the seal instead of dropping under it. */
.dynamic-program-seal .cert-seal-program,
.cert-main-seal.dynamic-program-seal .cert-seal-program,
.mini-preview-seal.dynamic-program-seal .cert-seal-program,
.mini-preview-seal .cert-seal-program{
    position:absolute!important;
    z-index:5!important;
    left:50%!important;
    top:66%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    display:block!important;
    max-width:72%!important;
    width:auto!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#fff!important;
    font-family:Arial, Helvetica, sans-serif!important;
    font-size:7px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:.028em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:normal!important;
    overflow:visible!important;
    text-shadow:0 1px 2px #020729, 0 0 4px #0a0e44, 0 0 7px rgba(48,80,255,.8)!important;
}
.cert-main-seal.dynamic-program-seal .cert-seal-program{
    top:66%!important;
    max-width:118px!important;
    font-size:11px!important;
    line-height:1.08!important;
    letter-spacing:.03em!important;
}
@media(max-width:680px){
    .cert-main-seal.dynamic-program-seal .cert-seal-program{max-width:94px!important;font-size:8px!important;top:66%!important}
    .mini-preview-seal.dynamic-program-seal .cert-seal-program{font-size:6px!important;top:66%!important;max-width:56px!important}
}


/* === v28 curved certificate seal program text ===
   Dynamic admin Program Name now sits on the seal's bottom curve like the original stamp text. */
.dynamic-program-seal{
    position:relative!important;
    overflow:visible!important;
}
.dynamic-program-seal .cert-seal-image{
    position:relative!important;
    z-index:1!important;
    display:block!important;
}
.dynamic-program-seal .cert-seal-program,
.dynamic-program-seal span.cert-seal-program{
    display:none!important;
}
.dynamic-program-seal .cert-seal-program-svg{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    z-index:6!important;
    pointer-events:none!important;
    overflow:visible!important;
}
.dynamic-program-seal .cert-seal-program-text{
    fill:#d7c6ff!important;
    stroke:#293cc8!important;
    stroke-width:2.1px!important;
    paint-order:stroke fill!important;
    font-family:Arial, Helvetica, sans-serif!important;
    font-weight:950!important;
    font-size:6.8px!important;
    letter-spacing:.03em!important;
    text-transform:uppercase!important;
    filter:drop-shadow(0 1px 1px rgba(19,28,92,.88)) drop-shadow(0 0 1px rgba(155,120,255,.6));
}
.cert-main-seal.dynamic-program-seal .cert-seal-program-text{
    font-size:6.5px!important;
    letter-spacing:.028em!important;
    stroke-width:2px!important;
}
.mini-preview-seal.dynamic-program-seal .cert-seal-program-text{
    font-size:6.2px!important;
    letter-spacing:.025em!important;
    stroke-width:1.85px!important;
}
@media(max-width:680px){
    .mini-preview-seal.dynamic-program-seal .cert-seal-program-text{font-size:5.9px!important;letter-spacing:.025em!important}
    .cert-main-seal.dynamic-program-seal .cert-seal-program-text{font-size:6.3px!important;letter-spacing:.03em!important}
}


/* === v30 professional transparent seal + matched program text === */
.dynamic-program-seal .cert-seal-image{
    background:transparent!important;
    mix-blend-mode:normal!important;
}
.dynamic-program-seal .cert-seal-program-svg{
    z-index:7!important;
}
.dynamic-program-seal .cert-seal-program-text{
    fill:#d9d0ff!important;
    stroke:#1c2fb3!important;
    stroke-width:1.55px!important;
    paint-order:stroke fill!important;
    font-family:Arial, Helvetica, sans-serif!important;
    font-weight:900!important;
    font-size:6.15px!important;
    letter-spacing:.055em!important;
    text-transform:uppercase!important;
    filter:drop-shadow(0 1px 1px rgba(6,11,60,.85)) drop-shadow(0 0 1px rgba(170,145,255,.45))!important;
}
.cert-main-seal.dynamic-program-seal .cert-seal-program-text{
    font-size:6.05px!important;
    letter-spacing:.05em!important;
    stroke-width:1.5px!important;
}
.mini-preview-seal.dynamic-program-seal .cert-seal-program-text{
    font-size:5.65px!important;
    letter-spacing:.04em!important;
    stroke-width:1.35px!important;
}


/* === v31 certificate preview fixes ===
   1) Keep ghost button text visible on light backgrounds.
   2) Place program name cleanly inside the seal/logo. */
.certificate-view-actions .btn.ghost{
    background:#fff!important;
    color:#0b1426!important;
    border-color:#d7e2f1!important;
}
html[data-theme="dark"] .certificate-view-actions .btn.ghost{
    background:transparent!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.18)!important;
}
.dynamic-program-seal .cert-seal-program-chip{
    position:absolute!important;
    left:50%!important;
    bottom:18px!important;
    transform:translateX(-50%)!important;
    z-index:12!important;
    display:block!important;
    width:max-content!important;
    max-width:76%!important;
    padding:4px 10px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,rgba(8,20,95,.96),rgba(86,44,210,.96))!important;
    border:1px solid rgba(255,255,255,.42)!important;
    box-shadow:0 8px 18px rgba(18,27,120,.26)!important;
    color:#f5f2ff!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:7.4px!important;
    line-height:1.1!important;
    font-weight:950!important;
    letter-spacing:.05em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:normal!important;
}
.cert-main-seal.dynamic-program-seal .cert-seal-program-chip{
    bottom:21px!important;
    max-width:112px!important;
    font-size:8.2px!important;
    padding:5px 10px!important;
}
.mini-preview-seal.dynamic-program-seal .cert-seal-program-chip{
    bottom:12px!important;
    max-width:72px!important;
    font-size:5.8px!important;
    padding:3px 5px!important;
}
@media(max-width:680px){
    .cert-main-seal.dynamic-program-seal .cert-seal-program-chip{
        max-width:96px!important;
        font-size:7px!important;
        bottom:19px!important;
    }
    .mini-preview-seal.dynamic-program-seal .cert-seal-program-chip{
        max-width:62px!important;
        font-size:5.2px!important;
        bottom:10px!important;
    }
}


/* === v33 professional certificate seal + signatory inputs === */
.certificate-form-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:780px){.certificate-form-two-col{grid-template-columns:1fr}}

.dynamic-program-seal.professional-seal,
.cert-main-seal.dynamic-program-seal.professional-seal,
.mini-preview-seal.dynamic-program-seal.professional-seal{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    border-radius:50%!important;
    background:radial-gradient(circle at 30% 25%,rgba(115,104,255,.95) 0%,rgba(56,63,214,.98) 34%,rgba(10,20,78,1) 100%)!important;
    border:2px solid rgba(216,177,83,.92)!important;
    box-shadow:0 16px 34px rgba(13,28,95,.28), inset 0 0 0 1px rgba(255,255,255,.16)!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal{width:148px!important;height:148px!important;margin:0 auto!important}
.mini-preview-seal.dynamic-program-seal.professional-seal{width:92px!important;height:92px!important;left:50%!important;bottom:72px!important;transform:translateX(-50%)!important}
.dynamic-program-seal.professional-seal .cert-seal-rim{position:absolute!important;border-radius:50%!important;pointer-events:none!important}
.dynamic-program-seal.professional-seal .cert-seal-rim-outer{inset:6px!important;border:1.5px dashed rgba(255,255,255,.45)!important}
.dynamic-program-seal.professional-seal .cert-seal-rim-inner{inset:16px!important;border:1px solid rgba(207,223,255,.56)!important}
.dynamic-program-seal.professional-seal .cert-seal-ribbon-top{position:absolute!important;top:14px!important;left:50%!important;transform:translateX(-50%)!important;padding:3px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;color:#eef4ff!important;font-size:8px!important;font-weight:900!important;letter-spacing:.16em!important;text-transform:uppercase!important;z-index:3!important;line-height:1!important}
.dynamic-program-seal.professional-seal .cert-seal-core{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;text-align:center!important;padding-top:10px!important}
.dynamic-program-seal.professional-seal .cert-seal-core-logo{width:48px!important;height:48px!important;object-fit:contain!important;display:block!important;filter:drop-shadow(0 8px 12px rgba(0,0,0,.28))!important}
.dynamic-program-seal.professional-seal .cert-seal-core small{display:block!important;color:#dfe7ff!important;font-size:7px!important;font-weight:900!important;letter-spacing:.18em!important;text-transform:uppercase!important;line-height:1.1!important}
.dynamic-program-seal.professional-seal .cert-seal-program-band{position:absolute!important;left:50%!important;bottom:17px!important;transform:translateX(-50%)!important;z-index:4!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:19px!important;max-width:108px!important;padding:4px 10px!important;border-radius:999px!important;background:linear-gradient(90deg,rgba(5,17,92,.98),rgba(78,42,196,.98))!important;border:1px solid rgba(255,255,255,.42)!important;box-shadow:0 8px 18px rgba(9,17,80,.24)!important;color:#fff!important;font-size:8px!important;font-weight:950!important;letter-spacing:.08em!important;line-height:1.05!important;text-transform:uppercase!important;text-align:center!important;white-space:normal!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-ribbon-top{top:11px!important;font-size:5px!important;padding:2px 6px!important;letter-spacing:.12em!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-rim-outer{inset:4px!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-rim-inner{inset:12px!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-core{padding-top:8px!important;gap:2px!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-core-logo{width:28px!important;height:28px!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-core small{font-size:4.6px!important;letter-spacing:.10em!important}
.mini-preview-seal.dynamic-program-seal.professional-seal .cert-seal-program-band{bottom:10px!important;max-width:66px!important;min-height:12px!important;padding:2px 6px!important;font-size:5.1px!important;letter-spacing:.04em!important}
@media(max-width:680px){
  .cert-main-seal.dynamic-program-seal.professional-seal{width:134px!important;height:134px!important}
  .dynamic-program-seal.professional-seal .cert-seal-ribbon-top{top:12px!important;font-size:7px!important}
  .dynamic-program-seal.professional-seal .cert-seal-core-logo{width:42px!important;height:42px!important}
  .dynamic-program-seal.professional-seal .cert-seal-program-band{max-width:96px!important;font-size:7px!important;bottom:15px!important}
}


/* === v34 image-based premium certificate seal === */
.dynamic-program-seal.professional-seal-image,
.cert-main-seal.dynamic-program-seal.professional-seal-image,
.mini-preview-seal.dynamic-program-seal.professional-seal-image{
    position:relative!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:50%!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal-image{
    width:148px!important;
    height:148px!important;
    margin:0 auto!important;
}
.mini-preview-seal.dynamic-program-seal.professional-seal-image{
    width:96px!important;
    height:96px!important;
    left:50%!important;
    bottom:70px!important;
    transform:translateX(-50%)!important;
}
.dynamic-program-seal.professional-seal-image .cert-seal-professional-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    border-radius:50%!important;
    filter:drop-shadow(0 16px 26px rgba(16,28,100,.24))!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{
    position:absolute!important;
    left:50%!important;
    bottom:19px!important;
    transform:translateX(-50%)!important;
    z-index:9!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:106px!important;
    min-width:86px!important;
    min-height:18px!important;
    padding:3px 8px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,rgba(5,15,72,.97),rgba(43,35,145,.97))!important;
    border:1px solid rgba(235,190,82,.72)!important;
    color:#fff4d6!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:7.2px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:.055em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:normal!important;
    box-shadow:0 8px 16px rgba(10,18,80,.28)!important;
    text-shadow:0 1px 2px rgba(0,0,0,.55)!important;
}
.mini-preview-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{
    position:absolute!important;
    left:50%!important;
    bottom:12px!important;
    transform:translateX(-50%)!important;
    z-index:9!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:68px!important;
    min-width:54px!important;
    min-height:11px!important;
    padding:2px 5px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,rgba(5,15,72,.97),rgba(43,35,145,.97))!important;
    border:1px solid rgba(235,190,82,.72)!important;
    color:#fff4d6!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:4.9px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:.035em!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:normal!important;
}
@media(max-width:680px){
    .cert-main-seal.dynamic-program-seal.professional-seal-image{
        width:136px!important;
        height:136px!important;
    }
    .cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{
        bottom:17px!important;
        max-width:96px!important;
        min-width:78px!important;
        font-size:6.4px!important;
    }
}


/* === v35 PDF/Print landscape one-page repair ===
   Certificate print layout should fit exactly on one landscape page. */
@page{
    size:A4 landscape;
    margin:0;
}

@media print{
    html,body{
        width:297mm!important;
        height:210mm!important;
        margin:0!important;
        padding:0!important;
        overflow:hidden!important;
        background:#fff!important;
        -webkit-print-color-adjust:exact!important;
        print-color-adjust:exact!important;
    }

    body *{
        visibility:hidden;
    }

    .print-certificate-wrap,
    .print-certificate-wrap *{
        visibility:visible!important;
    }

    .home-topbar,
    .topbar,
    .sidebar,
    .site-footer,
    .certificate-view-actions,
    .admin-head-actions,
    .page-head,
    .theme-btn{
        display:none!important;
    }

    .main,
    .public-certificate-main,
    .certificate-download-body{
        margin:0!important;
        padding:0!important;
        width:297mm!important;
        height:210mm!important;
        max-width:none!important;
        min-height:0!important;
        overflow:hidden!important;
        background:#fff!important;
    }

    .print-certificate-wrap{
        position:absolute!important;
        left:0!important;
        top:0!important;
        width:297mm!important;
        height:210mm!important;
        max-width:none!important;
        margin:0!important;
        padding:0!important;
        border-radius:0!important;
        box-shadow:none!important;
        background:#fff!important;
        overflow:hidden!important;
    }

    .print-certificate{
        position:absolute!important;
        left:6mm!important;
        top:5mm!important;
        width:285mm!important;
        height:200mm!important;
        min-height:0!important;
        max-height:200mm!important;
        margin:0!important;
        padding:12mm 18mm 9mm!important;
        border-radius:0!important;
        border:1.4mm solid #09184d!important;
        overflow:hidden!important;
        transform:none!important;
        box-shadow:none!important;
        page-break-inside:avoid!important;
        break-inside:avoid!important;
        -webkit-print-color-adjust:exact!important;
        print-color-adjust:exact!important;
    }

    .cert-border-inner{
        inset:4mm!important;
        border-color:rgba(48,75,198,.70)!important;
    }

    .cert-main-visible-brand{
        margin-bottom:4mm!important;
        gap:1.8mm!important;
    }

    .cert-main-visible-brand img,
    .cert-logo-image-wide{
        height:16mm!important;
        max-width:52mm!important;
    }

    .cert-main-visible-brand b{
        font-size:18pt!important;
        line-height:1!important;
    }

    .cert-main-visible-brand .cert-program-subtitle{
        font-size:7pt!important;
        letter-spacing:.22em!important;
        margin-top:0!important;
    }

    .print-certificate h2{
        font-size:31pt!important;
        line-height:1!important;
        margin:3mm 0 3mm!important;
    }

    .cert-divider{
        margin:1.5mm 0 4mm!important;
    }

    .cert-divider span{
        width:28mm!important;
    }

    .cert-presented{
        font-size:11pt!important;
        margin:0 0 2mm!important;
    }

    .print-certificate h1{
        font-size:41pt!important;
        line-height:1!important;
        margin:1.5mm 0 3mm!important;
    }

    .cert-name-line{
        margin:0 auto 4mm!important;
    }

    .cert-copy{
        font-size:12pt!important;
        line-height:1.28!important;
        max-width:170mm!important;
        margin:0 auto 5mm!important;
    }

    .verified-ribbon{
        padding:3mm 8mm!important;
        font-size:15pt!important;
        gap:3mm!important;
        box-shadow:none!important;
    }

    .verified-ribbon span{
        width:9mm!important;
        height:9mm!important;
    }

    .cert-info-row{
        max-width:210mm!important;
        margin:8mm auto 5mm!important;
    }

    .cert-info-row div{
        padding:3mm 2mm!important;
    }

    .cert-info-row small{
        font-size:7pt!important;
    }

    .cert-info-row b{
        font-size:8pt!important;
        margin-top:1mm!important;
    }

    .cert-signature-row{
        grid-template-columns:1fr 35mm 1fr!important;
        gap:12mm!important;
        margin-top:2mm!important;
        align-items:center!important;
    }

    .cert-signature-row em{
        font-size:18pt!important;
    }

    .cert-signature-row span{
        margin:1.5mm auto 2mm!important;
    }

    .cert-signature-row b{
        font-size:7pt!important;
        letter-spacing:.10em!important;
    }

    .cert-main-seal.dynamic-program-seal.professional-seal-image{
        width:34mm!important;
        height:34mm!important;
    }

    .cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{
        bottom:4.3mm!important;
        max-width:25mm!important;
        min-width:20mm!important;
        min-height:4.2mm!important;
        padding:0.8mm 1.8mm!important;
        font-size:5.1pt!important;
        letter-spacing:.04em!important;
    }

    .print-certificate:before,
    .print-certificate:after{
        opacity:.30!important;
    }
}

/* Clean print button visibility on public certificate page */
.certificate-view-actions .btn.ghost{
    color:#071225!important;
    background:#fff!important;
    border-color:#d6e1f0!important;
}

/* === v36 print signature/seal overlap repair === */
@media print{
    .cert-signature-row > div:not(.cert-main-seal){
        min-width:0!important;
        overflow:hidden!important;
    }
    .cert-signature-row em{
        display:block!important;
        max-width:100%!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }
    .cert-signature-row .professional-seal-image{
        align-self:center!important;
        justify-self:center!important;
    }
}


/* === v37 final print = visible certificate, one page landscape === */
@page{size:A4 landscape;margin:0}
@media print{
  html,body{width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body *{visibility:hidden!important}
  .print-certificate-wrap,.print-certificate-wrap *{visibility:visible!important}
  .home-topbar,.topbar,.sidebar,.site-footer,.certificate-view-actions,.theme-btn{display:none!important}
  .main,.public-certificate-main,.certificate-download-body{margin:0!important;padding:0!important;width:297mm!important;height:210mm!important;overflow:hidden!important;background:#fff!important}
  .print-certificate-wrap{position:fixed!important;inset:0!important;width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important}
  .print-certificate{position:absolute!important;left:6mm!important;top:5mm!important;width:285mm!important;height:200mm!important;min-height:0!important;max-height:none!important;padding:11mm 18mm 8mm!important;border:1.2mm solid #09184d!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;page-break-inside:avoid!important;break-inside:avoid!important;transform:none!important}
  .cert-border-inner{inset:4mm!important}
  .cert-main-visible-brand{margin-bottom:3mm!important;gap:1mm!important}
  .cert-main-visible-brand img,.cert-logo-image-wide{height:15mm!important;max-width:48mm!important}
  .cert-main-visible-brand b{font-size:17pt!important;line-height:1!important}
  .cert-main-visible-brand .cert-program-subtitle{font-size:7pt!important;letter-spacing:.22em!important;margin-top:0!important}
  .print-certificate h2{font-size:30pt!important;line-height:1!important;margin:2mm 0 2mm!important}
  .cert-divider{margin:1mm 0 3mm!important}.cert-divider span{width:28mm!important}
  .cert-presented{font-size:11pt!important;margin:0 0 1mm!important}
  .print-certificate h1{font-size:40pt!important;line-height:1!important;margin:1mm 0 2mm!important}
  .cert-name-line{margin:0 auto 3mm!important}
  .cert-copy{font-size:12pt!important;line-height:1.25!important;max-width:172mm!important;margin:0 auto 4mm!important}
  .verified-ribbon{padding:3mm 8mm!important;font-size:15pt!important;gap:3mm!important;box-shadow:none!important}.verified-ribbon span{width:9mm!important;height:9mm!important}
  .cert-info-row{max-width:214mm!important;margin:7mm auto 4mm!important}.cert-info-row div{padding:3mm 2mm!important}.cert-info-row small{font-size:7pt!important}.cert-info-row b{font-size:8pt!important;margin-top:1mm!important}
  .cert-signature-row{grid-template-columns:1fr 32mm 1fr!important;gap:13mm!important;margin-top:1mm!important;align-items:center!important}.cert-signature-row>div:not(.cert-main-seal){min-width:0!important;overflow:hidden!important}.cert-signature-row em{font-size:17pt!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.cert-signature-row b{font-size:7pt!important}.cert-signature-row span{margin:1.5mm auto 1.5mm!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image{width:32mm!important;height:32mm!important}.cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{bottom:4mm!important;max-width:24mm!important;min-width:19mm!important;min-height:4mm!important;padding:.7mm 1.6mm!important;font-size:4.8pt!important}
}

/* === v38 certificate print/download visual sync repair ===
   Keeps the browser certificate in the same 4-column, landscape layout as the on-screen certificate preview. */
@page{size:A4 landscape;margin:0}
@media print{
  html,body{width:297mm!important;height:210mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body *{visibility:hidden!important}
  .print-certificate-wrap,.print-certificate-wrap *{visibility:visible!important}
  .home-topbar,.topbar,.sidebar,.site-footer,.certificate-view-actions,.theme-btn{display:none!important}
  .main,.public-certificate-main,.certificate-download-body{margin:0!important;padding:0!important;width:297mm!important;height:210mm!important;max-width:none!important;min-height:0!important;overflow:hidden!important;background:#fff!important}
  .print-certificate-wrap{position:fixed!important;left:0!important;top:0!important;width:297mm!important;height:210mm!important;max-width:none!important;margin:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important}
  .print-certificate{position:absolute!important;left:6mm!important;top:5mm!important;box-sizing:border-box!important;width:285mm!important;height:200mm!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10mm 18mm 8mm!important;border:1.2mm solid #09184d!important;border-radius:0!important;box-shadow:inset 0 0 0 3mm #fff, inset 0 0 0 3.35mm rgba(47,128,255,.55)!important;overflow:hidden!important;page-break-inside:avoid!important;break-inside:avoid!important;transform:none!important}
  .cert-border-inner{inset:4mm!important;border-color:rgba(48,75,198,.70)!important}
  .cert-main-visible-brand{margin-bottom:2.5mm!important;gap:.8mm!important}
  .cert-main-visible-brand img,.cert-logo-image-wide{height:14mm!important;max-width:48mm!important}
  .cert-main-visible-brand b{font-size:16.5pt!important;line-height:1!important;margin:0!important;color:#071029!important}
  .cert-main-visible-brand .cert-program-subtitle{font-size:6.5pt!important;letter-spacing:.22em!important;margin-top:0!important;color:#1d2f8e!important}
  .print-certificate h2{font-size:29pt!important;line-height:1!important;margin:2mm 0 2mm!important;color:#071047!important;font-style:normal!important}
  .cert-divider{margin:.8mm 0 2.5mm!important}.cert-divider span{width:28mm!important}
  .cert-presented{font-size:10.5pt!important;margin:0 0 1mm!important;color:#26345c!important}
  .print-certificate h1{font-size:39pt!important;line-height:1!important;margin:1mm 0 2mm!important;color:#101061!important;font-style:normal!important}
  .cert-name-line{height:.25mm!important;margin:0 auto 3mm!important;width:62%!important}
  .cert-copy{font-size:11.5pt!important;line-height:1.24!important;max-width:174mm!important;margin:0 auto 3.8mm!important;color:#18294f!important}
  .verified-ribbon{display:inline-flex!important;padding:2.8mm 8mm!important;font-size:14.5pt!important;gap:3mm!important;border-radius:2.5mm!important;line-height:1!important;box-shadow:none!important;white-space:nowrap!important}
  .verified-ribbon span{width:8.5mm!important;height:8.5mm!important;min-width:8.5mm!important;font-size:12pt!important}
  .cert-info-row{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;max-width:214mm!important;margin:6.5mm auto 4mm!important;background:rgba(232,241,255,.80)!important;border-top:1px solid #c9d5eb!important;border-bottom:1px solid #c9d5eb!important}
  .cert-info-row div{padding:2.8mm 2mm!important;min-width:0!important;border-left:1px solid rgba(155,177,212,.45)!important}
  .cert-info-row div:first-child{border-left:0!important}
  .cert-info-row small{font-size:6.5pt!important;line-height:1.1!important;white-space:nowrap!important}
  .cert-info-row b{font-size:7.6pt!important;margin-top:.8mm!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .cert-signature-row{display:grid!important;grid-template-columns:1fr 32mm 1fr!important;gap:13mm!important;margin-top:0!important;align-items:center!important}
  .cert-signature-row>div:not(.cert-main-seal){min-width:0!important;overflow:hidden!important}
  .cert-signature-row em{font-size:16.5pt!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .cert-signature-row span{height:.25mm!important;margin:1.3mm auto 1.4mm!important;max-width:55mm!important}
  .cert-signature-row b{font-size:6.6pt!important;letter-spacing:.10em!important;white-space:nowrap!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image{width:32mm!important;height:32mm!important;min-width:32mm!important;min-height:32mm!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image img{width:32mm!important;height:32mm!important;object-fit:contain!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{bottom:4mm!important;max-width:24mm!important;min-width:19mm!important;min-height:4mm!important;padding:.7mm 1.6mm!important;font-size:4.7pt!important;line-height:1!important}
  .print-certificate:before{left:14mm!important;top:34mm!important;width:48mm!important;height:18mm!important}
  .print-certificate:after{right:14mm!important;top:52mm!important;width:60mm!important;height:46mm!important}
}

/* === v39 certificate signature/seal center lock ===
   Keeps the round seal perfectly centered between both signature blocks
   in screen view and certificate mode. */
.cert-signature-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:end;
  column-gap:34px;
  width:100%;
}
.cert-signature-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  text-align:center;
  min-width:0;
}
.cert-signature-left{
  justify-self:end;
  width:min(100%,280px);
}
.cert-signature-right{
  justify-self:start;
  width:min(100%,280px);
}
.cert-main-seal.dynamic-program-seal.professional-seal-image{
  justify-self:center;
  align-self:center;
  transform:translateY(-6px);
}

@media print{
  .cert-signature-row{
    display:grid!important;
    grid-template-columns:minmax(58mm,1fr) 34mm minmax(58mm,1fr)!important;
    column-gap:14mm!important;
    row-gap:0!important;
    width:100%!important;
    align-items:end!important;
  }
  .cert-signature-block{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-end!important;
    text-align:center!important;
    min-width:0!important;
  }
  .cert-signature-left{
    justify-self:end!important;
    width:58mm!important;
  }
  .cert-signature-right{
    justify-self:start!important;
    width:58mm!important;
  }
  .cert-main-seal.dynamic-program-seal.professional-seal-image{
    justify-self:center!important;
    align-self:center!important;
    transform:translateY(-1.4mm)!important;
  }
}


/* === v40 certificate red-mark fixes: cleaner PDF/print header, badge and seal === */
.cert-main-visible-brand{
  margin-bottom:10px!important;
}
.cert-main-visible-brand img,.cert-logo-image-wide{
  width:58px!important;
  height:58px!important;
  max-width:58px!important;
}
.cert-main-visible-brand b{
  font-size:34px!important;
  line-height:1!important;
}
.cert-main-visible-brand .cert-program-subtitle{
  font-size:13px!important;
  letter-spacing:.18em!important;
  margin-top:3px!important;
}
.verified-ribbon{
  padding:12px 34px 12px 28px!important;
  font-size:26px!important;
  line-height:1!important;
  border-radius:10px!important;
  gap:13px!important;
}
.verified-ribbon span{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  font-size:28px!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal-image{
  width:132px!important;
  height:132px!important;
  min-width:132px!important;
  min-height:132px!important;
  overflow:visible!important;
  transform:translateY(-2px)!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal-image img{
  width:132px!important;
  height:132px!important;
  object-fit:contain!important;
  display:block!important;
}
.cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{
  display:none!important;
}
@media print{
  .cert-main-visible-brand{margin-bottom:2mm!important;gap:.8mm!important}
  .cert-main-visible-brand img,.cert-logo-image-wide{height:11.5mm!important;width:11.5mm!important;max-width:34mm!important}
  .cert-main-visible-brand b{font-size:15pt!important;line-height:1!important}
  .cert-main-visible-brand .cert-program-subtitle{font-size:5.8pt!important;letter-spacing:.16em!important;margin-top:.4mm!important}
  .verified-ribbon{padding:2.4mm 7mm!important;font-size:13.2pt!important;gap:2.5mm!important;border-radius:2mm!important}
  .verified-ribbon span{width:7.6mm!important;height:7.6mm!important;min-width:7.6mm!important;font-size:11pt!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image{width:28mm!important;height:28mm!important;min-width:28mm!important;min-height:28mm!important;transform:translateY(-.5mm)!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image img{width:28mm!important;height:28mm!important;object-fit:contain!important}
  .cert-main-seal.dynamic-program-seal.professional-seal-image .cert-seal-program-band{display:none!important}
}
/* PropXpert FTMO-like trader flow pages */
.ftmo-clone-main{margin-left:250px;min-height:100vh;background:#f2f2f3;padding:28px 36px;color:#071224;font-family:Inter,Arial,sans-serif}.ftmo-breadcrumb{font-size:13px;color:#6b7280;margin:0 0 20px}.trial-banner{background:#fff;border:1px solid #dfe3ea;text-align:center;padding:32px 20px;margin-bottom:24px}.trial-banner h1{font-size:21px;margin:8px 0}.trial-banner p{font-size:13px;color:#4b5a73}.deal-pill{display:inline-block;background:#ff7a00;color:#fff;border-radius:7px;padding:5px 12px;font-weight:900;font-size:12px}.ftmo-primary,.ftmo-secondary,.outline-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 30px;border-radius:4px;font-weight:900;text-decoration:none;border:0;cursor:pointer}.ftmo-primary{background:#0b84ff;color:#fff!important}.ftmo-secondary{background:#e9e9ea;color:#071224!important;margin-left:12px}.outline-btn{background:#fff;color:#071224;border:1px solid #777;width:100%}.start-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.start-card{background:#fff;padding:34px 28px 22px;text-align:center;min-height:405px}.start-icon{width:48px;height:48px;border:4px solid #e5e7eb;margin:0 auto 12px;display:grid;place-items:center;color:#0b84ff;border-radius:3px;font-size:22px}.start-card h2{font-size:29px;margin:0 0 4px}.start-card>a:not(.outline-btn):not(.ftmo-primary){color:#0b84ff;font-weight:900;font-size:12px}.start-card p{color:#4b5a73;font-size:13px;line-height:1.55;min-height:45px}.start-card ul{text-align:left;list-style:none;padding:0;margin:22px 0}.start-card li{margin:16px 0;font-weight:800;font-size:14px}.start-card li:before{content:'✓';background:#e8f3ff;color:#0b84ff;padding:4px 6px;border-radius:4px;margin-right:12px}.community-card,.active-account-card{background:#fff;margin-top:24px;padding:18px;border:1px solid #e5e7eb}.community-head,.active-account-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.community-head h2{font-size:17px}.community-head a{font-weight:900;color:#071224;font-size:12px}.tabs{border-bottom:1px solid #e5e7eb;margin:8px -18px 18px;padding:0 18px}.tabs span{display:inline-block;padding:12px 16px;font-size:13px}.tabs .active{color:#0b84ff;border-bottom:2px solid #0b84ff}.trader-strip{display:flex;gap:14px;overflow:auto;padding:8px 0}.profile-card{min-width:170px;background:#f4f4f5;padding:16px;text-align:center;position:relative;border:1px solid transparent}.profile-card.you{border:3px solid #0b84ff}.profile-card>span{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#0b84ff;color:white;border-radius:12px;padding:3px 9px;font-size:11px}.avatar-big{width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#e8f3ff;color:#2f80ff;display:grid;place-items:center;font-size:20px;font-weight:900}.profile-card b{display:block}.profile-card small{display:block;color:#7990b0;margin:6px 0 12px}.profile-card a{display:block;border:1px solid #0b84ff;color:#0b84ff;border-radius:4px;padding:7px;font-size:12px}.ftmo-order-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:26px;align-items:start}.ftmo-order-card,.ftmo-summary-card{background:#fff;border-radius:3px;padding:25px;box-shadow:0 1px 0 rgba(0,0,0,.03)}.ftmo-order-head{display:flex;justify-content:space-between;border-bottom:1px solid #e4e7eb;margin-bottom:20px}.ftmo-order-head h1{font-size:24px;margin:0 0 8px}.ftmo-order-head p{font-size:13px;color:#4b5a73;max-width:700px}.step-switch,.account-switch,.balance-row,.platform-row,.currency-row{display:grid;gap:10px;margin:12px 0 22px}.step-switch{grid-template-columns:1fr 1fr}.account-switch{grid-template-columns:1fr 1fr;background:#e9e9ea;padding:8px;border-radius:6px}.step-switch label,.account-switch label,.balance-row label,.platform-row label,.currency-row label{background:#f0f0f1;border-radius:5px;padding:14px;display:block;cursor:pointer;position:relative}.step-switch label.selected,.account-switch label.selected,.balance-row label.selected,.platform-row label.selected{background:#0b84ff;color:#fff}.step-switch input,.account-switch input,.balance-row input,.platform-row input,.currency-row input{float:right}.step-switch b,.account-switch b,.balance-row b{display:block;font-size:18px}.step-switch small,.account-switch small,.balance-row small,.balance-row em{display:block;font-size:11px;opacity:.85}.currency-row{display:flex;flex-wrap:wrap}.currency-row label{padding:8px 12px;font-weight:800}.balance-row{grid-template-columns:repeat(5,1fr)}.balance-row label{min-height:92px}.balance-row span{display:block;font-weight:900;margin-top:15px}.deal-card:before{content:'19% Off';position:absolute;top:-10px;left:10px;background:#ff7900;color:#fff;font-size:11px;padding:3px 7px;border-radius:6px}.deal-note{background:#dbfbff;color:#0083a3;padding:14px;margin:-8px 0 20px;font-weight:800;font-size:12px}.platform-row{grid-template-columns:repeat(3,160px)}.field-label{margin:6px 0;color:#56637a;font-size:13px}.ftmo-summary-card{position:sticky;top:20px}.summary-product{display:flex;align-items:center;gap:13px;margin:18px 0}.summary-product span{width:48px;height:48px;background:#e8f3ff;color:#0b84ff;border-radius:9px;display:grid;place-items:center;font-size:22px}.summary-product b{display:block}.summary-product small{color:#4b5a73}.ftmo-summary-card dl{display:grid;grid-template-columns:1fr auto;gap:14px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:20px 0}.ftmo-summary-card dt{color:#667085}.ftmo-summary-card dd{margin:0;font-weight:900}.summary-total{display:flex;justify-content:space-between;align-items:center;margin:22px 0}.summary-total b{font-size:24px}.summary-total small{text-decoration:line-through;color:#96a0b5;font-size:14px}.summary-total em{display:block;font-size:11px;font-style:normal}.summary-check{display:flex;gap:8px;font-size:12px;margin:12px 0}.trust-note{border-top:1px solid #e5e7eb;margin-top:22px;padding-top:18px;color:#55627a;font-size:12px}.trust-note b{float:right;color:#0b84ff}.billing-block{margin-top:26px;border-top:1px solid #e5e7eb;padding-top:18px}.billing-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.billing-grid label{font-size:13px;font-weight:800}.billing-grid input{display:block;width:100%;border:0;background:#e9e9ea;padding:13px;border-radius:5px;margin-top:8px}.billing-type{display:flex;gap:20px;margin:12px 0}.ready-hero{background:#fff;text-align:center;padding:36px;margin-bottom:24px}.ready-icon{width:54px;height:54px;background:#e8f3ff;margin:0 auto 12px;border-radius:10px;display:grid;place-items:center;color:#0b84ff;font-size:24px}.ready-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.credentials-card,.experience-card,.quick-steps{background:#fff;padding:24px}.credentials-card dl{display:grid;grid-template-columns:1fr;gap:0}.credentials-card dt{color:#5e6a80;font-size:12px;margin-top:14px}.credentials-card dd{margin:0;border-bottom:1px solid #e5e7eb;padding:8px 0 12px;font-weight:900}.credentials-card button{float:right;background:#0b84ff;color:#fff;border:0;border-radius:4px;padding:8px 20px}.video-placeholder{height:206px;background:linear-gradient(135deg,#101827,#374151);color:#fff;border-radius:4px;display:grid;place-items:center;text-align:center}.video-placeholder span{font-size:42px;color:red}.quick-steps{margin-top:24px}.quick-steps li{margin:18px 0;line-height:1.6}.premium-programme-page h1{background:#fff;padding:18px;margin:0}.mini-tab{background:#fff;border-top:1px solid #e5e7eb;padding:14px 18px;color:#0b84ff}.premium-warning{background:#fff3df;margin:24px 20px;padding:12px;color:#b46b00;font-size:12px}.premium-warning a{float:right;background:#ff8a00;color:#fff;padding:8px 20px;border-radius:3px}.premium-title{text-align:center;background:#fff;padding:10px 60px 30px}.premium-title h2{font-size:32px}.premium-title p{max-width:850px;margin:22px auto;line-height:1.7}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;background:#fff;padding:0 45px 26px}.benefit-card{border:1px solid #3366ff;padding:18px}.benefit-card.supreme{border-color:#ff8a00}.benefit-card.quant{border-color:#ff4b00}.benefit-logo{height:110px;background:linear-gradient(135deg,#27324a,#6a5acd);color:white;font-size:25px;font-weight:950;display:grid;place-items:center;margin-bottom:18px}.supreme .benefit-logo{background:linear-gradient(135deg,#3a2410,#d67800)}.quant .benefit-logo{background:linear-gradient(135deg,#2a120f,#693026)}.benefit-card ul{list-style:none;padding:0}.benefit-card li{margin:13px 0;font-size:13px;font-weight:800}.benefit-card li:before{content:'✓';background:#f5c400;margin-right:8px;padding:2px 4px}.benefit-card button{background:#fff;border:1px solid #111;padding:8px 14px}.premium-start{margin:20px auto;display:flex;width:230px}.active-account-card b{display:block;font-size:22px}.active-account-card span{color:#0b84ff;font-weight:900}
@media(max-width:1100px){.ftmo-clone-main{margin-left:0}.ftmo-order-grid,.start-card-grid,.ready-grid,.benefit-grid{grid-template-columns:1fr}.balance-row{grid-template-columns:1fr 1fr}.platform-row{grid-template-columns:1fr}.ftmo-summary-card{position:static}}

/* === v41 PropXpert trader dark mode: make every logged-in page follow sidebar toggle === */
html[data-theme="dark"] .ftmo-clone-main,
html[data-theme="dark"] .dashboard-light-main,
html[data-theme="dark"] .premium-programme-page{
  background:radial-gradient(circle at 72% -12%,rgba(47,128,255,.18),transparent 30%),radial-gradient(circle at 14% 18%,rgba(124,77,255,.14),transparent 24%),linear-gradient(135deg,#07111f 0%,#0a1628 52%,#060d18 100%)!important;
  color:#f5f8ff!important;
}
html[data-theme="dark"] .ftmo-breadcrumb{color:#9eb0cc!important}
html[data-theme="dark"] .trial-banner,
html[data-theme="dark"] .start-card,
html[data-theme="dark"] .community-card,
html[data-theme="dark"] .active-account-card,
html[data-theme="dark"] .ftmo-order-card,
html[data-theme="dark"] .ftmo-summary-card,
html[data-theme="dark"] .ready-hero,
html[data-theme="dark"] .credentials-card,
html[data-theme="dark"] .experience-card,
html[data-theme="dark"] .quick-steps,
html[data-theme="dark"] .premium-programme-page h1,
html[data-theme="dark"] .mini-tab,
html[data-theme="dark"] .premium-title,
html[data-theme="dark"] .benefit-grid{
  background:linear-gradient(145deg,rgba(16,28,48,.96),rgba(10,22,40,.96))!important;
  border-color:#243552!important;
  color:#f5f8ff!important;
  box-shadow:0 18px 48px rgba(0,0,0,.20)!important;
}
html[data-theme="dark"] .trial-banner h1,
html[data-theme="dark"] .start-card h2,
html[data-theme="dark"] .community-head h2,
html[data-theme="dark"] .active-account-card b,
html[data-theme="dark"] .ftmo-order-head h1,
html[data-theme="dark"] .ftmo-summary-card h2,
html[data-theme="dark"] .ready-hero h1,
html[data-theme="dark"] .credentials-card h2,
html[data-theme="dark"] .experience-card h2,
html[data-theme="dark"] .quick-steps h2,
html[data-theme="dark"] .premium-title h2,
html[data-theme="dark"] .benefit-card h3,
html[data-theme="dark"] .summary-product b,
html[data-theme="dark"] .ftmo-summary-card dd,
html[data-theme="dark"] .summary-total b,
html[data-theme="dark"] .profile-card b,
html[data-theme="dark"] .balance-row b,
html[data-theme="dark"] .step-switch b,
html[data-theme="dark"] .account-switch b,
html[data-theme="dark"] .billing-block h3{
  color:#ffffff!important;
}
html[data-theme="dark"] .trial-banner p,
html[data-theme="dark"] .start-card p,
html[data-theme="dark"] .ftmo-order-head p,
html[data-theme="dark"] .summary-product small,
html[data-theme="dark"] .ftmo-summary-card dt,
html[data-theme="dark"] .trust-note,
html[data-theme="dark"] .field-label,
html[data-theme="dark"] .ready-hero p,
html[data-theme="dark"] .credentials-card dt,
html[data-theme="dark"] .profile-card small,
html[data-theme="dark"] .premium-title p,
html[data-theme="dark"] .balance-row small,
html[data-theme="dark"] .balance-row em,
html[data-theme="dark"] .step-switch small,
html[data-theme="dark"] .account-switch small,
html[data-theme="dark"] .community-head a{
  color:#a9bad1!important;
}
html[data-theme="dark"] .ftmo-order-head,
html[data-theme="dark"] .tabs,
html[data-theme="dark"] .billing-block,
html[data-theme="dark"] .credentials-card dd,
html[data-theme="dark"] .ftmo-summary-card dl,
html[data-theme="dark"] .trust-note{
  border-color:#243552!important;
}
html[data-theme="dark"] .step-switch label,
html[data-theme="dark"] .account-switch,
html[data-theme="dark"] .account-switch label,
html[data-theme="dark"] .balance-row label,
html[data-theme="dark"] .platform-row label,
html[data-theme="dark"] .currency-row label,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .ftmo-secondary,
html[data-theme="dark"] .outline-btn,
html[data-theme="dark"] .billing-grid input{
  background:#0b1627!important;
  border-color:#243552!important;
  color:#f5f8ff!important;
}
html[data-theme="dark"] .step-switch label.selected,
html[data-theme="dark"] .account-switch label.selected,
html[data-theme="dark"] .balance-row label.selected,
html[data-theme="dark"] .platform-row label.selected,
html[data-theme="dark"] .currency-row label:has(input:checked){
  background:linear-gradient(135deg,#0b84ff,#2f5bff)!important;
  color:#fff!important;
  border-color:#4f9cff!important;
  box-shadow:0 14px 34px rgba(11,132,255,.20)!important;
}
html[data-theme="dark"] .start-icon,
html[data-theme="dark"] .ready-icon,
html[data-theme="dark"] .summary-product span,
html[data-theme="dark"] .avatar-big{
  background:#102744!important;
  border-color:#243552!important;
  color:#71b5ff!important;
}
html[data-theme="dark"] .start-card li:before,
html[data-theme="dark"] .benefit-card li:before{
  background:#123761!important;
  color:#84c5ff!important;
}
html[data-theme="dark"] .profile-card.you{border-color:#0b84ff!important;background:#0d2038!important}
html[data-theme="dark"] .profile-card a{background:#0b1627!important;color:#84c5ff!important;border-color:#0b84ff!important}
html[data-theme="dark"] .deal-note{background:#092f3a!important;color:#67e8ff!important;border:1px solid rgba(103,232,255,.20)!important}
html[data-theme="dark"] .premium-warning{background:#2b1d08!important;color:#ffd18a!important;border:1px solid rgba(255,138,0,.28)!important}
html[data-theme="dark"] .benefit-card{background:#0b1627!important;border-color:#315aa7!important;color:#f5f8ff!important}
html[data-theme="dark"] .benefit-card.supreme{border-color:#ffad3d!important}
html[data-theme="dark"] .benefit-card.quant{border-color:#ff6b3d!important}
html[data-theme="dark"] .benefit-card button{background:#101c30!important;color:#fff!important;border-color:#49627f!important}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#0b1627;
  color:#f5f8ff;
  border-color:#243552;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#8194b8!important}
html[data-theme="dark"] .admin-side.premium-admin-sidebar{background:radial-gradient(circle at 18% 5%,rgba(132,77,255,.34),transparent 24%),linear-gradient(180deg,#07111f 0%,#060d18 58%,#080816 100%)!important}
html[data-theme="light"] .admin-side.premium-admin-sidebar{background:#fff!important;border-right:1px solid #e2e8f3!important;box-shadow:10px 0 35px rgba(35,54,87,.08)!important}
html[data-theme="light"] .premium-admin-sidebar .brand-panel-text b,
html[data-theme="light"] .premium-admin-sidebar .nav-label,
html[data-theme="light"] .premium-admin-sidebar .nav-item,
html[data-theme="light"] .premium-admin-sidebar summary,
html[data-theme="light"] .premium-admin-sidebar .premium-userbox strong,
html[data-theme="light"] .premium-admin-sidebar .control-card strong,
html[data-theme="light"] .premium-admin-sidebar .trader-return{color:#071224!important}
html[data-theme="light"] .premium-admin-sidebar .menu-title,
html[data-theme="light"] .premium-admin-sidebar small,
html[data-theme="light"] .premium-admin-sidebar .nav-arrow,
html[data-theme="light"] .premium-admin-sidebar .tool-link,
html[data-theme="light"] .premium-admin-sidebar .premium-userbox small{color:#667892!important}
html[data-theme="light"] .nav-cluster{background:#f6f8fc!important;border-color:#e2e8f3!important;box-shadow:none!important}
html[data-theme="light"] .nav-cluster:first-child{background:transparent!important;border-color:transparent!important}
html[data-theme="light"] .premium-theme-btn{background:#f6f8fc!important;color:#071224!important;border-color:#dfe7f5!important}

/* === v42 PropXpert user portal layout repair: no menu overlap + cleaner professional pages === */
:root{--trader-sidebar-w:292px;--trader-page-gap:24px;}
body{overflow-x:hidden;}
.sidebar.admin-side.premium-admin-sidebar.trader-sidebar{
  width:var(--trader-sidebar-w)!important;
  max-width:var(--trader-sidebar-w)!important;
  min-width:var(--trader-sidebar-w)!important;
  z-index:1200!important;
  overflow-x:hidden!important;
}
.ftmo-clone-main,
.main.ftmo-clone-main,
.main.dashboard-light-main,
.main.premium-programme-page{
  margin-left:var(--trader-sidebar-w)!important;
  width:calc(100% - var(--trader-sidebar-w))!important;
  max-width:calc(100% - var(--trader-sidebar-w))!important;
  min-height:100vh!important;
  padding:28px var(--trader-page-gap) 42px!important;
  position:relative!important;
  z-index:1!important;
  overflow-x:hidden!important;
}
.ftmo-clone-main > *,
.dashboard-light-main > *,
.premium-programme-page > *{
  max-width:100%!important;
}
.trial-banner,
.start-card,
.community-card,
.active-account-card,
.ftmo-order-card,
.ftmo-summary-card,
.ready-hero,
.credentials-card,
.experience-card,
.quick-steps,
.premium-programme-page h1,
.mini-tab,
.premium-warning,
.premium-title,
.benefit-grid{
  border-radius:18px!important;
  border:1px solid var(--border)!important;
  box-shadow:0 14px 38px rgba(15,23,42,.06)!important;
}
.trial-banner{
  padding:34px 28px!important;
  margin-bottom:24px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
}
.trial-banner h1{font-size:26px!important;letter-spacing:-.03em!important;}
.trial-banner p{max-width:760px!important;margin:0 auto 20px!important;line-height:1.65!important;}
.trial-banner .ftmo-primary,.trial-banner .ftmo-secondary{min-width:190px!important;margin:6px!important;border-radius:8px!important;}
.start-card-grid{gap:18px!important;align-items:stretch!important;}
.start-card{min-height:auto!important;padding:34px 34px 26px!important;display:flex!important;flex-direction:column!important;}
.start-card p{min-height:auto!important;max-width:520px!important;margin-left:auto!important;margin-right:auto!important;}
.start-card ul{margin-top:20px!important;flex:1!important;}
.start-card li{line-height:1.45!important;}
.start-card .ftmo-primary,.start-card .outline-btn{border-radius:8px!important;min-height:46px!important;}
.active-account-card{align-items:center!important;flex-wrap:wrap!important;background:linear-gradient(135deg,#fff,#f8fbff)!important;}
.active-account-card h2{margin-top:0!important;}
.community-card{background:#fff!important;}
.profile-card{border-radius:14px!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important;}
.ftmo-order-grid{grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important;gap:22px!important;}
.ftmo-order-card,.ftmo-summary-card{border-radius:18px!important;}
.ftmo-order-head{gap:18px!important;align-items:flex-start!important;}
.step-switch label,.account-switch label,.balance-row label,.platform-row label,.currency-row label{border:1px solid #dfe7f5!important;border-radius:12px!important;}
.account-switch{border-radius:14px!important;}
.balance-row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;}
.platform-row{grid-template-columns:repeat(auto-fit,minmax(140px,160px))!important;}
.ftmo-summary-card{top:24px!important;}
.ftmo-summary-card .ftmo-primary{width:100%!important;border-radius:10px!important;}
.billing-grid input{border:1px solid #dfe7f5!important;}
.premium-programme-page h1{margin-bottom:0!important;background:#fff!important;}
.mini-tab{border-top:0!important;margin-bottom:0!important;}
.premium-warning{margin:24px 0!important;display:flex!important;align-items:center!important;gap:12px!important;justify-content:space-between!important;line-height:1.45!important;}
.premium-warning a{float:none!important;white-space:nowrap!important;border-radius:8px!important;}
.premium-title{padding:34px 36px!important;}
.benefit-grid{padding:28px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.benefit-card{border-radius:18px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.05)!important;overflow:hidden!important;}
.benefit-logo{border-radius:14px!important;}
.benefit-card li{line-height:1.45!important;}
html[data-theme="dark"] .trial-banner,
html[data-theme="dark"] .active-account-card,
html[data-theme="dark"] .community-card{
  background:linear-gradient(145deg,rgba(16,28,48,.98),rgba(10,22,40,.98))!important;
}
html[data-theme="dark"] .benefit-card{background:#0b1627!important;box-shadow:0 14px 38px rgba(0,0,0,.22)!important;}
html[data-theme="dark"] .trial-banner,
html[data-theme="dark"] .start-card,
html[data-theme="dark"] .community-card,
html[data-theme="dark"] .active-account-card,
html[data-theme="dark"] .ftmo-order-card,
html[data-theme="dark"] .ftmo-summary-card,
html[data-theme="dark"] .ready-hero,
html[data-theme="dark"] .credentials-card,
html[data-theme="dark"] .experience-card,
html[data-theme="dark"] .quick-steps,
html[data-theme="dark"] .premium-programme-page h1,
html[data-theme="dark"] .mini-tab,
html[data-theme="dark"] .premium-title,
html[data-theme="dark"] .benefit-grid{border-color:#263a5a!important;}
@media(max-width:1280px){
  :root{--trader-page-gap:18px;}
  .ftmo-order-grid{grid-template-columns:1fr!important;}
  .ftmo-summary-card{position:static!important;}
  .benefit-grid{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:980px){
  .sidebar.admin-side.premium-admin-sidebar.trader-sidebar{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;bottom:auto!important;}
  .ftmo-clone-main,.main.ftmo-clone-main,.main.dashboard-light-main,.main.premium-programme-page{margin-left:0!important;width:100%!important;max-width:100%!important;padding:18px 14px 34px!important;}
  .start-card-grid,.ready-grid,.benefit-grid{grid-template-columns:1fr!important;}
  .trial-banner .ftmo-primary,.trial-banner .ftmo-secondary{width:100%!important;margin:6px 0!important;}
  .premium-warning{display:block!important;}
  .premium-warning a{display:block!important;text-align:center!important;margin-top:10px!important;}
}
@media(max-width:640px){
  .ftmo-order-head,.active-account-card,.community-head{display:block!important;}
  .billing-grid,.step-switch,.account-switch{grid-template-columns:1fr!important;}
  .balance-row,.platform-row{grid-template-columns:1fr!important;}
  .premium-title{padding:26px 18px!important;}
  .premium-title h2{font-size:24px!important;}
}

/* === PropXpert final sidebar challenge card text contrast repair === */
.premium-admin-sidebar .new-challenge-card,
html[data-theme="light"] .premium-admin-sidebar .new-challenge-card,
html[data-theme="dark"] .premium-admin-sidebar .new-challenge-card{
  color:#ffffff!important;
}
.premium-admin-sidebar .new-challenge-card b,
html[data-theme="light"] .premium-admin-sidebar .new-challenge-card b,
html[data-theme="dark"] .premium-admin-sidebar .new-challenge-card b{
  color:#ffffff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.18);
}
.premium-admin-sidebar .new-challenge-card small,
html[data-theme="light"] .premium-admin-sidebar .new-challenge-card small,
html[data-theme="dark"] .premium-admin-sidebar .new-challenge-card small{
  color:#eef6ff!important;
  opacity:1!important;
  font-weight:700!important;
  text-shadow:0 1px 2px rgba(0,0,0,.18);
}
.premium-admin-sidebar .new-challenge-card:hover small,
html[data-theme="light"] .premium-admin-sidebar .new-challenge-card:hover small,
html[data-theme="dark"] .premium-admin-sidebar .new-challenge-card:hover small{
  color:#ffffff!important;
}


/* Payment gateway and crypto checkout repair */
.gateway-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:22px;align-items:start}.gateway-card p{color:var(--muted)}.gateway-card input{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--soft);color:var(--text);font-weight:800}.gateway-card table input{min-width:90px}.gateway-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.gateway-form label{font-weight:900}.gateway-form .wide{grid-column:1/-1}.gateway-preview{margin-top:18px;background:var(--soft);border:1px dashed var(--border);border-radius:16px;padding:16px}.gateway-preview code{display:block;white-space:normal;word-break:break-all;color:var(--accent);font-weight:900}.payment-main{min-height:100vh}.payment-wrap{min-height:calc(100vh - 90px);display:flex;align-items:flex-start;justify-content:center;padding:20px;background:radial-gradient(circle at top,rgba(124,77,255,.16),transparent 45%)}.crypto-modal{width:min(480px,100%);background:#fff;border-radius:28px;padding:18px 20px 22px;box-shadow:0 35px 90px rgba(27,20,70,.24);color:#302848}.crypto-head{display:flex;justify-content:space-between;align-items:center;text-align:center}.crypto-head h1{font-size:20px;margin:0}.crypto-head p{margin:2px 0 0;color:#766c95;font-size:13px;font-weight:800}.crypto-head a{font-size:28px;color:#8c81ad}.crypto-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.crypto-grid label{font-size:13px;font-weight:900;color:#71658e;position:relative}.crypto-grid small{float:right}.crypto-grid select,.crypto-grid input{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8c7ff;border-radius:16px;background:#fbfaff;color:#23183f;font-size:16px;font-weight:900}.qr-box{width:170px;height:170px;margin:20px auto 16px;border:1px solid #eee5ff;border-radius:20px;padding:14px;display:grid;place-items:center;box-shadow:0 15px 35px rgba(98,70,155,.12)}.qr-box img{width:142px;height:142px}.address-title{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.address-title span{padding:8px 14px;border:1px solid #eadfff;border-radius:999px;font-weight:900}.address-box{border:1px solid #e2d6f5;border-radius:12px;overflow:hidden;background:#faf9ff}.address-box input{border:0;width:100%;padding:14px;background:transparent;color:#5c5176}.address-box button{width:100%;border:0;border-top:1px solid #e2d6f5;background:#fbfaff;padding:10px;font-weight:950;color:#111}.txid-box{margin-top:12px;border:1px dashed #a987ff;border-radius:18px;background:#fbf8ff;padding:14px}.txid-box label{text-transform:uppercase;letter-spacing:.1em;font-size:12px;color:#75619f;font-weight:950}.txid-box input{display:block;width:100%;margin:8px 0 12px;border:1px solid #c8afff;border-radius:14px;padding:14px;background:#fff;color:#23183f;font-weight:900;text-transform:none;letter-spacing:0}.txid-box p{font-size:12px;color:#6f5f91;line-height:1.55;margin:8px 0}.txid-box strong{color:#e11d48}.payment-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}.payment-actions a,.payment-actions button{border:0;border-radius:16px;padding:14px 20px;font-weight:950}.payment-actions a{background:#f4edff;color:#7437d6}.payment-actions button{background:#7c3aed;color:#fff}.summary-total #summarySale{font-size:24px}.success{background:rgba(32,201,120,.12)!important;border-color:rgba(32,201,120,.25)!important;color:#0f9f65!important}@media(max-width:1100px){.gateway-grid{grid-template-columns:1fr}.payment-wrap{padding:8px}.crypto-grid{grid-template-columns:1fr}.crypto-modal{border-radius:22px}}
html[data-theme="dark"] .crypto-modal{background:#111827;color:#eef5ff}html[data-theme="dark"] .crypto-grid label,html[data-theme="dark"] .crypto-head p,html[data-theme="dark"] .txid-box p{color:#b9c7dc}html[data-theme="dark"] .crypto-grid select,html[data-theme="dark"] .crypto-grid input,html[data-theme="dark"] .address-box,html[data-theme="dark"] .txid-box input{background:#0b1220;color:#eef5ff;border-color:#3b2d69}html[data-theme="dark"] .txid-box{background:#111a2d;border-color:#7c3aed}html[data-theme="dark"] .address-box button{background:#121a2b;color:#fff;border-color:#233657}html[data-theme="dark"] .qr-box{background:#fff}

/* Professional PropXpert payment checkout */
.pro-payment-page{padding-bottom:42px}.payment-alert{margin-bottom:18px}.payment-hero-card{background:linear-gradient(135deg,#ffffff 0%,#f7fbff 55%,#eef5ff 100%);border:1px solid var(--border);border-radius:22px;padding:28px 32px;display:flex;justify-content:space-between;gap:24px;align-items:center;box-shadow:0 18px 50px rgba(15,23,42,.07);margin-bottom:22px}.payment-kicker,.section-label{display:inline-flex;align-items:center;gap:8px;color:#1185ff;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.payment-hero-card h1{margin:8px 0 8px;font-size:30px;line-height:1.15;color:var(--text)}.payment-hero-card p{margin:0;max-width:720px;color:var(--muted);font-weight:700;line-height:1.65}.payment-status-card{min-width:185px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;text-align:center;box-shadow:0 12px 32px rgba(15,23,42,.06)}.payment-status-card span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.payment-status-card strong{display:block;margin-top:6px;color:#f59e0b;font-size:20px}.payment-layout-pro{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.payment-card-pro{background:#fff;border:1px solid var(--border);border-radius:22px;padding:24px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.card-title-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.card-title-row h2{margin:6px 0 0;font-size:24px;color:var(--text)}.chain-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef6ff;border:1px solid #cfe5ff;color:#0b72dc;padding:9px 14px;font-weight:950}.payment-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.payment-info-item{background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:15px}.payment-info-item small{display:block;color:var(--muted);font-weight:850;margin-bottom:8px}.payment-info-item strong{color:var(--text);font-size:16px}.amount-due{background:#0f85ff;border-color:#0f85ff}.amount-due small,.amount-due strong{color:#fff}.qr-address-area{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:stretch}.qr-panel-pro{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid var(--border);border-radius:20px;padding:22px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.qr-panel-pro img{width:190px;height:190px;border:10px solid #fff;border-radius:18px;box-shadow:0 18px 36px rgba(15,23,42,.12)}.qr-panel-pro p{margin:14px 0 0;color:var(--muted);font-weight:800;font-size:13px}.wallet-panel-pro{display:flex;flex-direction:column;justify-content:center}.wallet-panel-pro label,.txid-form-pro label{display:block;color:var(--text);font-weight:950;margin-bottom:10px}.wallet-copy-box{display:grid;grid-template-columns:minmax(0,1fr) 110px;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#f8fafc}.wallet-copy-box input{border:0;background:transparent;color:var(--text);padding:16px 18px;font-weight:800;min-width:0}.wallet-copy-box button{border:0;background:#1185ff;color:#fff;font-weight:950;padding:0 18px;cursor:pointer}.wallet-warning{margin-top:14px;background:#ecfeff;border:1px solid #a5f3fc;color:#075985;border-radius:16px;padding:14px 16px;font-weight:750;line-height:1.55}.payment-side-pro{display:grid;gap:18px}.summary-pro h3{margin:8px 0 18px;color:var(--text);font-size:22px}.summary-line,.summary-total-pro{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border);color:var(--muted);font-weight:850}.summary-line b{color:var(--text);text-align:right}.summary-total-pro{border-bottom:0;margin-top:8px;align-items:center}.summary-total-pro strong{font-size:26px;color:#1185ff}.steps-pro ol{margin:14px 0 0;padding-left:22px;color:var(--muted);font-weight:800;line-height:1.75}.txid-card-pro{margin-top:22px}.txid-form-pro input{display:block;width:100%;margin-top:9px;border:1px solid var(--border);border-radius:16px;background:#f8fafc;color:var(--text);padding:16px 18px;font-weight:900}.important-note-pro{margin-top:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:16px;padding:14px 16px;font-weight:800;line-height:1.55}.payment-actions-pro{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.payment-actions-pro a,.payment-actions-pro button{border:0;border-radius:14px;padding:14px 20px;font-weight:950;text-decoration:none}.payment-actions-pro a{background:#eef2f7;color:var(--text)}.payment-actions-pro button{background:#1185ff;color:#fff;cursor:pointer;box-shadow:0 10px 24px rgba(17,133,255,.22)}
html[data-theme="dark"] .payment-hero-card{background:linear-gradient(135deg,#121a2b 0%,#0b1220 55%,#111827 100%);border-color:#243554}html[data-theme="dark"] .payment-card-pro,html[data-theme="dark"] .payment-status-card{background:#111827;border-color:#243554;box-shadow:0 18px 45px rgba(0,0,0,.22)}html[data-theme="dark"] .payment-info-item,html[data-theme="dark"] .qr-panel-pro,html[data-theme="dark"] .wallet-copy-box,html[data-theme="dark"] .txid-form-pro input{background:#0b1220;border-color:#243554}html[data-theme="dark"] .qr-panel-pro{background:linear-gradient(180deg,#0b1220,#111827)}html[data-theme="dark"] .qr-panel-pro img{background:#fff}html[data-theme="dark"] .wallet-warning{background:rgba(6,182,212,.11);border-color:rgba(103,232,249,.24);color:#9decff}html[data-theme="dark"] .important-note-pro{background:rgba(251,146,60,.10);border-color:rgba(251,146,60,.25);color:#fed7aa}html[data-theme="dark"] .chain-pill{background:#0b2b4d;border-color:#174e83;color:#8bd0ff}html[data-theme="dark"] .payment-actions-pro a{background:#1f2937;color:#eef5ff}
@media(max-width:1200px){.payment-layout-pro{grid-template-columns:1fr}.payment-side-pro{grid-template-columns:1fr 1fr}.payment-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.payment-hero-card{flex-direction:column;align-items:flex-start;padding:22px}.payment-status-card{width:100%;text-align:left}.payment-hero-card h1{font-size:24px}.payment-info-grid,.qr-address-area,.payment-side-pro{grid-template-columns:1fr}.wallet-copy-box{grid-template-columns:1fr}.wallet-copy-box button{padding:14px}.payment-actions-pro{flex-direction:column-reverse}.payment-actions-pro a,.payment-actions-pro button{text-align:center;width:100%}}


/* PropXpert repair: dynamic admin discount and cleaner checkout */
.deal-card:before{content:attr(data-discount-label) !important;}
.balance-row label .old-price-text{display:block;margin-top:12px;color:#8a94a8;text-decoration:line-through;font-weight:800;font-size:12px;}
.balance-row label.selected .old-price-text{color:rgba(255,255,255,.75);}
.balance-row label .price-text{margin-top:4px !important;}
.payment-info-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
.summary-total-pro strong small{font-size:12px;color:var(--muted);margin-left:4px;}
.gateway-admin-page .gateway-grid{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);}
.gateway-admin-page .gateway-card table{width:100%;border-collapse:collapse;table-layout:auto;}
.gateway-admin-page .gateway-card th,.gateway-admin-page .gateway-card td{padding:12px 8px;vertical-align:middle;}
.gateway-admin-page .gateway-card input[type="text"],.gateway-admin-page .gateway-card input:not([type]){max-width:100%;}
.gateway-admin-page .gateway-card table input{width:100%;min-width:82px;}
@media(max-width:1100px){.gateway-admin-page .gateway-grid{grid-template-columns:1fr}.payment-info-grid{grid-template-columns:1fr !important;}}
body.dark .balance-row label .old-price-text{color:#9aa8bd;}
body.dark .balance-row label.selected .old-price-text{color:rgba(255,255,255,.72);}

/* PropXpert: USDT-only checkout currency */
.pay-row.usdt-only label{min-width:120px;text-align:center;background:#e8f3ff;border:1px solid #b8dcff;color:#0879ef;font-weight:900}
body.dark .pay-row.usdt-only label{background:#0b2a4a;border-color:#38bdf8;color:#e0f2fe}

/* Trading account details / credentials improvements */
.account-detail-main .alert{margin-bottom:18px;border-radius:14px;padding:14px 16px;background:#fff1f2;color:#b42318;border:1px solid #fecdd3;font-weight:800}.account-detail-main .alert.success{background:#dcfce7;color:#047857;border-color:#86efac}.account-detail-hero{background:linear-gradient(135deg,#ffffff,#f5f9ff);border:1px solid #dbe7f8;border-radius:18px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.account-detail-hero h1{margin:8px 0 6px;font-size:30px}.account-detail-hero p{margin:0;color:#51607a}.account-status-pill{display:inline-flex;background:#e7f1ff;color:#0b84ff;border:1px solid #b9d8ff;border-radius:999px;padding:7px 12px;font-weight:950;font-size:12px}.account-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.account-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:22px}.account-credentials-card,.account-actions-card,.account-metrics-card,.positions-card{background:#fff;border:1px solid #dfe8f5;border-radius:18px;padding:24px;box-shadow:0 12px 34px rgba(15,23,42,.05)}.muted-copy{color:#5d6b82;font-size:14px;line-height:1.6}.password-value{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#f5f8ff;border:1px solid #d9e7ff;border-radius:9px;padding:5px 8px;display:inline-block;word-break:break-all}.copy-btn{transition:.2s ease}.account-actions-card p{color:#51607a;line-height:1.6}.account-actions-card small{display:block;color:#667085;margin-top:14px;line-height:1.5}.full-action{width:100%;border-radius:12px}.account-metrics-card,.positions-card{margin-top:22px}.matrix-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.matrix-grid div{background:#f6f9ff;border:1px solid #dce8f8;border-radius:14px;padding:16px}.matrix-grid small{display:block;color:#667085;font-weight:800;margin-bottom:7px}.matrix-grid b{font-size:20px}.responsive-table{overflow:auto}.positions-card table{width:100%;border-collapse:collapse}.positions-card th,.positions-card td{padding:13px;border-bottom:1px solid #e5edf8;text-align:left}.positions-card th{font-size:12px;text-transform:uppercase;color:#667085;letter-spacing:.05em}.account-card-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.active-account-card .account-card-actions .ftmo-secondary{margin-left:0}
html[data-theme="dark"] .account-detail-hero,html[data-theme="dark"] .account-credentials-card,html[data-theme="dark"] .account-actions-card,html[data-theme="dark"] .account-metrics-card,html[data-theme="dark"] .positions-card{background:#111827!important;border-color:#243044!important;color:#f8fafc!important}html[data-theme="dark"] .account-detail-hero p,html[data-theme="dark"] .muted-copy,html[data-theme="dark"] .account-actions-card p,html[data-theme="dark"] .account-actions-card small{color:#cbd5e1!important}html[data-theme="dark"] .password-value,html[data-theme="dark"] .matrix-grid div{background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important}html[data-theme="dark"] .positions-card th,html[data-theme="dark"] .positions-card td{border-color:#334155!important;color:#f8fafc!important}html[data-theme="dark"] .account-status-pill{background:#0b2550!important;color:#93c5fd!important;border-color:#1d4ed8!important}
@media(max-width:1100px){.account-detail-grid,.matrix-grid{grid-template-columns:1fr}.account-detail-hero{display:block}.account-hero-actions{margin-top:16px}.account-card-actions{justify-content:flex-start}}

/* Trading account menu/list repair */
.account-list-main .alert{margin-bottom:18px;border-radius:14px;padding:14px 16px;background:#fff1f2;color:#b42318;border:1px solid #fecdd3;font-weight:800}.account-list-main .alert.success{background:#dcfce7;color:#047857;border-color:#86efac}.accounts-list-hero{margin-bottom:22px}.trading-accounts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px}.trading-account-card{background:linear-gradient(135deg,#fff,#f7fbff);border:1px solid #dfe8f5;border-radius:18px;padding:22px;box-shadow:0 12px 34px rgba(15,23,42,.055)}.trading-account-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.trading-account-top small{color:#667085;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.trading-account-top h2{margin:5px 0 0;font-size:22px}.status-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:950;border:1px solid #dbe7f8;background:#f1f5f9;color:#475569}.status-chip.active{background:#dcfce7;color:#047857;border-color:#86efac}.status-chip.pending{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.account-mini-matrix{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.account-mini-matrix div{border:1px solid #dce8f8;background:#f6f9ff;border-radius:14px;padding:14px;min-width:0}.account-mini-matrix small{display:block;color:#667085;font-weight:800;margin-bottom:6px}.account-mini-matrix b{display:block;word-break:break-word}.valid-note{margin:16px 0 0;color:#51607a;font-weight:800}.trading-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.trading-account-actions .ftmo-secondary{margin-left:0}.empty-trading-accounts{background:#fff;border:1px solid #dfe8f5;border-radius:18px;padding:48px 24px;text-align:center;box-shadow:0 12px 34px rgba(15,23,42,.055)}.empty-trading-accounts p{color:#51607a;max-width:580px;margin:10px auto 20px;line-height:1.6}.trader-sidebar .nav-item .nav-label{line-height:1.25}.trader-sidebar .nav-item{min-height:52px}
html[data-theme="dark"] .trading-account-card,html[data-theme="dark"] .empty-trading-accounts{background:linear-gradient(135deg,#101b33,#0b1220)!important;border-color:#243654!important;color:#eaf2ff!important}html[data-theme="dark"] .trading-account-top small,html[data-theme="dark"] .account-mini-matrix small,html[data-theme="dark"] .valid-note,html[data-theme="dark"] .empty-trading-accounts p{color:#9eb0cc!important}html[data-theme="dark"] .account-mini-matrix div{background:#121f36!important;border-color:#243654!important}html[data-theme="dark"] .status-chip.pending{background:#3b250d!important;color:#fed7aa!important;border-color:#9a5a12!important}html[data-theme="dark"] .status-chip.active{background:#11351f!important;color:#86efac!important;border-color:#257a43!important}
@media(max-width:640px){.trading-accounts-grid{grid-template-columns:1fr}.account-mini-matrix{grid-template-columns:1fr}.trading-account-actions .ftmo-primary,.trading-account-actions .ftmo-secondary{width:100%;margin-left:0}}

/* === PropXpert premium dashboard redesign === */
.prop-dashboard-redesign{
  background:
    radial-gradient(circle at 18% 4%,rgba(40,132,255,.15),transparent 28%),
    radial-gradient(circle at 86% 16%,rgba(128,71,255,.16),transparent 24%),
    linear-gradient(135deg,#f5f8ff 0%,#eef3fb 46%,#f7f9fd 100%)!important;
}
.px-hero-card{
  position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:center;
  min-height:250px;margin-bottom:20px;padding:34px 36px!important;border-radius:24px!important;border:1px solid rgba(205,216,235,.86)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(245,249,255,.94))!important;box-shadow:0 24px 70px rgba(31,55,95,.12)!important;
}
.px-hero-card:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(37,99,235,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.04) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,#000 0%,transparent 80%);pointer-events:none;}
.hero-orbit{position:absolute;border-radius:999px;filter:blur(2px);opacity:.85;pointer-events:none}.hero-orbit-one{right:210px;top:-86px;width:210px;height:210px;background:radial-gradient(circle,rgba(20,132,255,.24),transparent 66%)}.hero-orbit-two{right:-70px;bottom:-92px;width:260px;height:260px;background:radial-gradient(circle,rgba(125,77,255,.26),transparent 68%)}
.px-hero-content{position:relative;z-index:1;text-align:left}.px-deal-pill{border-radius:999px!important;padding:7px 14px!important;box-shadow:0 10px 22px rgba(255,122,0,.24)!important}.px-hero-content h1{font-size:40px!important;line-height:1.05!important;letter-spacing:-.055em!important;margin:16px 0 12px!important;color:#081326!important}.px-hero-content p{max-width:720px!important;margin:0 0 22px!important;font-size:15px!important;color:#42526d!important;line-height:1.7!important}.px-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.px-hero-actions .ftmo-primary,.px-hero-actions .ftmo-secondary{margin:0!important;border-radius:13px!important;min-width:165px!important;box-shadow:0 14px 28px rgba(11,132,255,.22)!important}.px-hero-actions .ftmo-primary{background:linear-gradient(135deg,#0b84ff,#6d5bff)!important}.px-hero-actions .ftmo-secondary{background:#fff!important;border:1px solid #d9e3f2!important;box-shadow:0 12px 24px rgba(26,44,78,.08)!important}
.px-hero-visual{position:relative;z-index:1}.terminal-card{padding:18px;border-radius:22px;background:linear-gradient(145deg,#081426,#16294a);color:#fff;box-shadow:0 30px 60px rgba(14,35,70,.28);border:1px solid rgba(255,255,255,.12);transform:rotate(1.5deg)}.terminal-top{display:flex;gap:6px;margin-bottom:18px}.terminal-top span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.35)}.mini-chart{height:92px;display:flex;align-items:end;gap:11px;margin-bottom:16px}.mini-chart i{display:block;width:30px;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#68d7ff,#6a5cff)}.mini-chart i:nth-child(1){height:35px}.mini-chart i:nth-child(2){height:62px}.mini-chart i:nth-child(3){height:48px}.mini-chart i:nth-child(4){height:82px}.mini-chart i:nth-child(5){height:68px}.terminal-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.terminal-row b{color:#fff!important}.terminal-row em{font-style:normal;color:#8bf0c2;font-size:12px;font-weight:900}.terminal-balance{font-size:30px;font-weight:950;letter-spacing:-.04em;margin-top:8px;color:#fff}
.px-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.px-stat-card{padding:18px;border-radius:20px;background:rgba(255,255,255,.88);border:1px solid #dde7f5;box-shadow:0 14px 34px rgba(31,55,95,.08)}.px-stat-card span,.px-stat-card small{display:block;color:#61708a;font-size:12px;font-weight:800}.px-stat-card b{display:block;margin:8px 0 4px;font-size:22px;letter-spacing:-.035em;color:#081326!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.px-stat-card small{font-weight:700;color:#8795aa}
.px-plan-grid{margin-bottom:20px}.px-plan-card{position:relative;overflow:hidden;border-radius:24px!important;border:1px solid #dde7f5!important;box-shadow:0 20px 54px rgba(31,55,95,.10)!important;background:linear-gradient(180deg,#fff,#f9fbff)!important}.px-plan-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#0b84ff,#7c4dff)}.recommended-plan:before{background:linear-gradient(90deg,#7c4dff,#ff8a00)}.plan-topline{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.plan-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 11px;background:#e8f3ff;color:#0b73e8;font-weight:950;font-size:11px;letter-spacing:.02em;text-transform:uppercase}.plan-badge.soft{background:#f1f4fa;color:#52627a}.plan-badge.recommended{background:linear-gradient(135deg,#7c4dff,#0b84ff);color:#fff}.px-plan-card .start-icon{border-radius:15px!important;border:1px solid #dbe6f4!important;background:linear-gradient(135deg,#eef6ff,#f6f1ff)!important;box-shadow:inset 0 0 0 6px rgba(255,255,255,.52)}.px-plan-card h2{letter-spacing:-.045em!important}.px-plan-card li:before{border-radius:999px!important;background:#e9f4ff!important}.px-plan-card .outline-btn,.px-plan-card .ftmo-primary{border-radius:14px!important}.px-plan-card .ftmo-primary{background:linear-gradient(135deg,#0b84ff,#685bff)!important}.px-plan-card .outline-btn{border-color:#d1dbe9!important;box-shadow:0 12px 28px rgba(25,48,85,.06)}
.px-active-account-card{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(280px,.95fr) auto;gap:22px!important;align-items:center!important;padding:24px!important;border-radius:24px!important;background:linear-gradient(135deg,#ffffff,#f5f9ff)!important}.account-title-block h2{margin:12px 0 6px!important;font-size:26px!important;letter-spacing:-.045em}.trial-progress-wrap{max-width:440px;margin-top:16px}.trial-progress-label{display:flex;justify-content:space-between;margin-bottom:7px;font-size:12px;font-weight:900;color:#5b6b84}.trial-progress{height:9px;border-radius:99px;background:#e5edf7;overflow:hidden}.trial-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b84ff,#7c4dff)}.account-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-mini-grid div{padding:14px;border-radius:16px;background:#fff;border:1px solid #dfe7f5}.account-mini-grid small{display:block;color:#728198;font-weight:800;font-size:11px}.account-mini-grid b{font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.px-active-account-card .account-card-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.px-active-account-card .ftmo-primary,.px-active-account-card .ftmo-secondary{border-radius:13px!important;margin:0!important;white-space:nowrap}.px-empty-state{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:22px;border-radius:24px;background:#fff;border:1px solid #dde7f5;box-shadow:0 18px 44px rgba(31,55,95,.08)}.empty-illustration{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#e9f4ff,#f3edff);color:#0b84ff;font-size:30px;font-weight:950}.px-empty-state h2{margin:0 0 6px;letter-spacing:-.035em}.px-empty-state p{margin:0;color:#5d6b82}.px-community-card{border-radius:24px!important;box-shadow:0 18px 44px rgba(31,55,95,.08)!important}.px-community-card .profile-card{background:linear-gradient(180deg,#fff,#f7faff)!important;border:1px solid #dfe7f5!important}.px-community-card .profile-card.you{border:2px solid #0b84ff!important}
html[data-theme="dark"] .prop-dashboard-redesign{background:radial-gradient(circle at 18% 4%,rgba(40,132,255,.19),transparent 28%),radial-gradient(circle at 86% 16%,rgba(128,71,255,.18),transparent 24%),linear-gradient(135deg,#06101f,#0b1627 54%,#07111f)!important}html[data-theme="dark"] .px-hero-card,html[data-theme="dark"] .px-stat-card,html[data-theme="dark"] .px-plan-card,html[data-theme="dark"] .px-active-account-card,html[data-theme="dark"] .px-empty-state,html[data-theme="dark"] .px-community-card{background:linear-gradient(145deg,rgba(16,28,48,.98),rgba(10,22,40,.98))!important;border-color:#263a5a!important;box-shadow:0 22px 60px rgba(0,0,0,.24)!important}html[data-theme="dark"] .px-hero-content h1,html[data-theme="dark"] .px-stat-card b,html[data-theme="dark"] .account-title-block h2,html[data-theme="dark"] .px-empty-state h2{color:#fff!important}html[data-theme="dark"] .px-hero-content p,html[data-theme="dark"] .px-empty-state p{color:#aebfd8!important}html[data-theme="dark"] .px-hero-actions .ftmo-secondary,html[data-theme="dark"] .account-mini-grid div{background:#101f36!important;border-color:#2b4164!important;color:#eef5ff!important}html[data-theme="dark"] .trial-progress{background:#263a5a!important}html[data-theme="dark"] .px-community-card .profile-card{background:linear-gradient(180deg,#101f36,#0b1728)!important;border-color:#263a5a!important}
@media(max-width:1240px){.px-hero-card{grid-template-columns:1fr}.px-hero-visual{display:none}.px-stats-grid{grid-template-columns:repeat(2,1fr)}.px-active-account-card{grid-template-columns:1fr!important}.px-active-account-card .account-card-actions{justify-content:flex-start}.account-mini-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.px-hero-card{padding:26px 20px!important;border-radius:20px!important}.px-hero-content h1{font-size:32px!important}.px-stats-grid,.account-mini-grid{grid-template-columns:1fr}.px-empty-state{display:block}.empty-illustration{margin-bottom:14px}.px-empty-state .ftmo-primary{width:100%;margin-top:16px}.px-hero-actions .ftmo-primary,.px-hero-actions .ftmo-secondary{width:100%}}


/* PropXpert free trial premium design + 100% zoom fit */
.px-trial-main{
    background:radial-gradient(circle at 20% 0%,rgba(11,132,255,.14),transparent 32%),radial-gradient(circle at 90% 8%,rgba(124,77,255,.12),transparent 30%),#eef4fb!important;
    padding:26px 22px 38px!important;
    overflow-x:hidden!important;
}
.px-trial-shell{max-width:1180px;margin:0 auto}.px-trial-breadcrumb{margin-bottom:16px!important;color:#64748b!important;font-weight:700}.px-trial-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:center;margin-bottom:18px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#fff,#f7fbff);border:1px solid #dbe6f5;box-shadow:0 18px 44px rgba(35,55,95,.08);position:relative;overflow:hidden}.px-trial-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(37,99,235,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.04) 1px,transparent 1px);background-size:38px 38px;pointer-events:none;mask-image:linear-gradient(90deg,#000 0%,transparent 86%)}.px-trial-hero>*{position:relative;z-index:1}.px-trial-hero h1{font-size:38px;line-height:1.05;letter-spacing:-.055em;margin:14px 0 10px;color:#071224}.px-trial-hero p{margin:0;color:#42526d;line-height:1.65;max-width:680px}.px-trial-hero-card{justify-self:end;width:245px;padding:22px;border-radius:22px;background:linear-gradient(145deg,#081426,#172b50);color:#fff;box-shadow:0 26px 54px rgba(14,35,70,.24);transform:rotate(1deg)}.px-trial-hero-card span{display:inline-flex;border-radius:999px;background:rgba(255,255,255,.12);padding:6px 10px;font-weight:950;color:#8bf0c2}.px-trial-hero-card b{display:block;font-size:32px;letter-spacing:-.05em;margin:22px 0 4px;color:#fff}.px-trial-hero-card small{color:#cfe0ff;font-weight:800}.px-trial-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:18px!important;align-items:start}.px-trial-config-card,.px-trial-summary-card{border-radius:24px!important;border:1px solid #dbe6f5!important;box-shadow:0 18px 44px rgba(35,55,95,.08)!important;background:rgba(255,255,255,.94)!important}.px-trial-config-card{padding:24px!important;overflow:hidden}.px-trial-summary-card{padding:22px!important;position:sticky!important;top:18px!important}.px-trial-head{align-items:flex-start!important;margin-bottom:18px!important;padding-bottom:16px!important}.px-trial-head h2{font-size:28px!important;letter-spacing:-.045em!important;margin:0 0 7px!important}.px-trial-head p{max-width:620px!important;line-height:1.55!important}.px-objective-toggle{display:flex;gap:8px;align-items:center;white-space:nowrap;font-weight:800;color:#071224}.px-trial-main h2{letter-spacing:-.035em}.px-trial-main .step-switch,.px-trial-main .account-switch{gap:12px!important;margin:12px 0 22px!important}.px-trial-main .step-switch label,.px-trial-main .account-switch label,.px-trial-main .balance-row label,.px-trial-main .platform-row label,.px-trial-main .currency-row label{border:1px solid #dce6f4!important;background:#f8fbff!important;border-radius:16px!important;box-shadow:0 8px 18px rgba(35,55,95,.04);transition:.18s ease}.px-trial-main .step-switch label.selected,.px-trial-main .account-switch label.selected,.px-trial-main .balance-row label.selected,.px-trial-main .platform-row label.selected{background:linear-gradient(135deg,#0b84ff,#6a5cff)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 16px 34px rgba(11,132,255,.22)}.px-trial-main .account-switch{background:#eef3f9!important;border:1px solid #dce6f4!important;border-radius:20px!important;padding:8px!important}.px-trial-main .currency-row{gap:9px!important;margin-bottom:18px!important}.px-trial-main .currency-row label{padding:10px 14px!important;font-weight:950!important}.px-trial-main .currency-row label:has(input:checked){background:#e9f4ff!important;border-color:#8dc8ff!important;color:#0875e6!important}.px-trial-main .balance-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:10px!important}.px-trial-main .balance-row label{min-height:106px!important;padding:14px!important}.px-trial-main .balance-row b{font-size:18px!important}.px-trial-main .balance-row span{font-size:18px!important;margin-top:8px!important}.px-trial-main .platform-row{grid-template-columns:minmax(180px,260px)!important}.px-summary-product{margin-top:0!important}.px-summary-product span{border-radius:16px!important;background:linear-gradient(135deg,#eaf4ff,#f2edff)!important}.px-trial-summary-card dl{gap:12px!important}.px-start-trial-btn{width:100%!important;border-radius:14px!important;background:linear-gradient(135deg,#0b84ff,#6a5cff)!important;box-shadow:0 16px 34px rgba(11,132,255,.23)}
@media(max-width:1180px){.px-trial-grid{grid-template-columns:1fr!important}.px-trial-summary-card{position:static!important}.px-trial-hero{grid-template-columns:1fr}.px-trial-hero-card{display:none}.px-trial-main .balance-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}}
@media(max-width:720px){.px-trial-main{padding:20px 14px 32px!important}.px-trial-hero,.px-trial-config-card,.px-trial-summary-card{border-radius:20px!important;padding:20px!important}.px-trial-hero h1{font-size:32px}.px-trial-head{display:block!important}.px-objective-toggle{margin-top:10px}.px-trial-main .step-switch,.px-trial-main .account-switch{grid-template-columns:1fr!important}.px-trial-main .platform-row{grid-template-columns:1fr!important}}
html[data-theme="dark"] .px-trial-main{background:radial-gradient(circle at 18% 4%,rgba(40,132,255,.20),transparent 28%),linear-gradient(135deg,#06101f,#0b1627 54%,#07111f)!important}html[data-theme="dark"] .px-trial-hero,html[data-theme="dark"] .px-trial-config-card,html[data-theme="dark"] .px-trial-summary-card{background:linear-gradient(145deg,rgba(16,28,48,.98),rgba(10,22,40,.98))!important;border-color:#263a5a!important;color:#eef5ff!important}html[data-theme="dark"] .px-trial-hero h1,html[data-theme="dark"] .px-trial-head h2{color:#fff!important}html[data-theme="dark"] .px-trial-hero p,html[data-theme="dark"] .px-trial-head p{color:#aebfd8!important}html[data-theme="dark"] .px-trial-main .step-switch label,html[data-theme="dark"] .px-trial-main .account-switch label,html[data-theme="dark"] .px-trial-main .balance-row label,html[data-theme="dark"] .px-trial-main .platform-row label,html[data-theme="dark"] .px-trial-main .currency-row label{background:#101f36!important;border-color:#2b4164!important;color:#eef5ff!important}

.xpert-trader-card .xpert-trader-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 12px}.xpert-trader-card .xpert-trader-meta em{display:block;padding:10px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid rgba(145,164,191,.15);font-style:normal;color:#9fb0ce;font-size:12px}.xpert-trader-card .xpert-trader-meta strong{display:block;margin-top:4px;color:#fff;font-size:16px}.xpert-trader-card small{display:block;margin-top:8px;color:#41df9a;font-weight:900}html[data-theme=light] .xpert-trader-card .xpert-trader-meta em{background:#f4f7fc;border-color:#dce6f6;color:#63728d}html[data-theme=light] .xpert-trader-card .xpert-trader-meta strong{color:#0b1426}

/* === Xpert Tools paid-service module === */
.xpert-tools-hero{display:flex!important;align-items:center;justify-content:space-between;gap:22px}
.premium-lock-badge{width:168px;min-height:120px;border-radius:28px;background:linear-gradient(135deg,rgba(124,77,255,.25),rgba(33,212,253,.12));border:1px solid rgba(160,130,255,.32);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.premium-lock-badge strong{font-size:28px;letter-spacing:.12em}.premium-lock-badge span{color:#aebbd2;font-weight:800;font-size:12px;text-transform:uppercase}
.xpert-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}
.xpert-tool-card{padding:18px!important;min-height:154px;background:linear-gradient(145deg,rgba(255,255,255,.062),rgba(255,255,255,.025))!important;border:1px solid rgba(145,164,191,.22)!important;color:#f5f8ff!important;box-shadow:0 18px 48px rgba(0,0,0,.18)!important}
.xpert-tool-card.locked{position:relative;overflow:hidden}.xpert-tool-card.locked:after{content:"PAID ONLY";position:absolute;right:-34px;top:18px;transform:rotate(35deg);background:rgba(124,77,255,.95);color:#fff;padding:6px 36px;font-size:10px;font-weight:950;letter-spacing:.12em}
.tool-card-top{display:flex;justify-content:space-between;align-items:center;color:#9eb0cc;font-weight:900;font-size:13px}.tool-card-top b{font-size:18px}.xpert-tool-card h3{margin:12px 0 14px;font-size:18px}.tool-value-row{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:10px;border:1px solid rgba(145,164,191,.18);border-radius:12px;padding:8px;background:rgba(255,255,255,.03)}.tool-value-row button{height:30px;border:0;background:transparent;color:#dce6f6;font-size:24px}.tool-value-row strong{text-align:center;color:#19c8bb}.xpert-tool-card small{display:block;margin-top:10px;color:#96a8c4}.forbidden-card{grid-column:span 2}.forbidden-card textarea{width:100%;min-height:78px;border-radius:12px;border:1px solid rgba(145,164,191,.2);background:rgba(255,255,255,.03);color:#fff;padding:12px;resize:vertical}
html[data-theme=light] .xpert-tool-card,html[data-theme=light] .premium-lock-badge{background:#fff!important;color:#0b1426!important;border-color:#dfe7f5!important;box-shadow:0 18px 46px rgba(35,54,87,.10)!important}html[data-theme=light] .xpert-tool-card h3,html[data-theme=light] .premium-lock-badge strong{color:#0b1426!important}html[data-theme=light] .tool-value-row,html[data-theme=light] .forbidden-card textarea{background:#f6f8fd!important;border-color:#dce6f6!important;color:#0b1426!important}
@media(max-width:1100px){.xpert-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.forbidden-card{grid-column:span 2}}@media(max-width:720px){.xpert-tools-grid{grid-template-columns:1fr}.forbidden-card{grid-column:span 1}.xpert-tools-hero{display:block!important}.premium-lock-badge{margin-top:16px;width:100%}}
/* Xpert Tools paid-service save + email notification UI */
.xpert-tools-form{display:block}.tool-value-row.editable input{width:100%;border:0;background:transparent;color:#19c8bb;text-align:center;font-weight:950;font-size:15px;outline:none}.tool-value-row.editable input::-webkit-outer-spin-button,.tool-value-row.editable input::-webkit-inner-spin-button{opacity:.45}.xpert-tool-card.paid-ready:after{content:"PAID EMAIL";position:absolute;right:-38px;top:18px;transform:rotate(35deg);background:rgba(20,184,166,.95);color:#fff;padding:6px 38px;font-size:10px;font-weight:950;letter-spacing:.12em}.xpert-email-box{margin-top:18px}.xpert-email-grid{display:grid;grid-template-columns:1.1fr 1fr auto;gap:14px;align-items:end}.xpert-switch-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(145,164,191,.22);border-radius:16px;padding:14px 16px;background:rgba(255,255,255,.035);color:inherit}.xpert-switch-card strong{display:block;font-size:15px}.xpert-switch-card small{display:block;margin-top:4px;color:#96a8c4}.xpert-switch-card input{width:22px;height:22px;accent-color:#14b8a6}.xpert-email-field span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:#96a8c4;margin-bottom:8px}.xpert-email-field input{width:100%;border:1px solid rgba(145,164,191,.22);border-radius:15px;background:rgba(255,255,255,.035);color:inherit;padding:14px 15px;font:inherit;font-weight:800;outline:none}.xpert-email-note{margin:12px 0 0;color:#96a8c4;font-size:13px}.alert.warning{border-color:#fed7aa!important;background:#fff7ed!important;color:#9a3412!important}html[data-theme=light] .tool-value-row.editable input{color:#0f766e}html[data-theme=light] .xpert-switch-card,html[data-theme=light] .xpert-email-field input{background:#f8fbff;border-color:#dbe5ff}html[data-theme=light] .xpert-switch-card small,html[data-theme=light] .xpert-email-field span,html[data-theme=light] .xpert-email-note{color:#64748b}@media(max-width:980px){.xpert-email-grid{grid-template-columns:1fr}.xpert-email-grid .btn{width:100%}}

/* === Clean professional Performance Tools page === */
.xpert-pro-shell{padding:2px 0 34px}.xpert-pro-top{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;padding:28px 30px;border-radius:28px;background:linear-gradient(135deg,rgba(10,20,38,.98),rgba(30,44,72,.94));border:1px solid rgba(145,164,191,.18);box-shadow:0 24px 70px rgba(0,0,0,.26);color:#fff}.xpert-pro-top h1{margin:6px 0 8px;font-size:34px;letter-spacing:-.04em}.xpert-pro-top p{max-width:720px;margin:0;color:#b6c4da;line-height:1.7}.xpert-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#2dd4bf;font-size:12px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.xpert-back-link{display:inline-flex;align-items:center;justify-content:center;min-width:98px;height:46px;border-radius:15px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff!important;font-weight:900;text-decoration:none}.xpert-pro-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.xpert-pro-card{border-radius:26px;background:rgba(255,255,255,.055);border:1px solid rgba(145,164,191,.19);box-shadow:0 20px 56px rgba(0,0,0,.18);padding:22px;color:#f6f9ff}.xpert-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.xpert-section-head span{display:block;color:#8ba0bf;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.12em}.xpert-section-head h2{margin:4px 0 0;font-size:24px;letter-spacing:-.03em}.xpert-section-head strong{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(45,212,191,.12);color:#2dd4bf;padding:10px 14px;font-size:13px}.xpert-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.xpert-pro-tool{display:block;border:1px solid rgba(145,164,191,.16);border-radius:18px;background:rgba(255,255,255,.035);padding:15px}.xpert-pro-tool>span,.xpert-pro-textarea>span,.xpert-pro-email>span{display:block;margin-bottom:10px;color:#c5d1e4;font-size:13px;font-weight:850}.xpert-pro-input-row{display:grid;grid-template-columns:34px 1fr 34px;gap:8px;align-items:center;border:1px solid rgba(145,164,191,.18);border-radius:14px;background:rgba(2,8,23,.22);padding:7px}.xpert-pro-input-row button{width:34px;height:34px;border-radius:10px;border:0;background:rgba(255,255,255,.06);color:#eef5ff;font-size:18px;font-weight:950;cursor:pointer}.xpert-pro-input-row input{width:100%;border:0;background:transparent;color:#2dd4bf;text-align:center;font-size:15px;font-weight:950;outline:none}.xpert-pro-textarea{display:block;margin-top:14px}.xpert-pro-textarea textarea{width:100%;min-height:96px;border-radius:18px;border:1px solid rgba(145,164,191,.18);background:rgba(2,8,23,.22);color:#fff;padding:15px;font:inherit;resize:vertical;outline:none}.xpert-pro-side{position:sticky;top:20px}.xpert-section-head.compact{margin-bottom:18px}.xpert-pro-toggle{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:rgba(45,212,191,.08);border:1px solid rgba(45,212,191,.16);margin-bottom:16px}.xpert-pro-toggle input{width:22px;height:22px;accent-color:#14b8a6}.xpert-pro-toggle strong{display:block}.xpert-pro-toggle small{display:block;color:#9fb0cc;margin-top:3px}.xpert-pro-email{display:block;margin-bottom:16px}.xpert-pro-email input{width:100%;border:1px solid rgba(145,164,191,.18);border-radius:16px;background:rgba(2,8,23,.22);color:#fff;padding:14px 15px;font:inherit;font-weight:850;outline:none}.xpert-pro-submit{width:100%;justify-content:center;border-radius:16px!important;padding:14px 18px!important}html[data-theme=light] .xpert-pro-top{background:linear-gradient(135deg,#ffffff,#edf4ff);border-color:#dce7f6;color:#0b1426;box-shadow:0 24px 70px rgba(35,54,87,.11)}html[data-theme=light] .xpert-pro-top p{color:#60718e}html[data-theme=light] .xpert-back-link{background:#0f172a;color:#fff!important;border-color:#0f172a}html[data-theme=light] .xpert-pro-card,html[data-theme=light] .xpert-pro-tool{background:#fff;border-color:#dfe8f6;color:#0b1426;box-shadow:0 18px 50px rgba(35,54,87,.10)}html[data-theme=light] .xpert-pro-tool>span,html[data-theme=light] .xpert-pro-textarea>span,html[data-theme=light] .xpert-pro-email>span{color:#50617d}html[data-theme=light] .xpert-pro-input-row,html[data-theme=light] .xpert-pro-textarea textarea,html[data-theme=light] .xpert-pro-email input{background:#f6f9fe;border-color:#dce6f6;color:#0b1426}html[data-theme=light] .xpert-pro-input-row button{background:#eaf1fb;color:#0f172a}@media(max-width:1120px){.xpert-pro-layout{grid-template-columns:1fr}.xpert-pro-side{position:static}.xpert-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.xpert-pro-top{display:block;padding:22px}.xpert-back-link{margin-top:16px}.xpert-pro-grid{grid-template-columns:1fr}.xpert-pro-card{padding:18px}.xpert-pro-top h1{font-size:28px}}

.tool-page-shell{padding:2px 0 34px}.tool-page-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;padding:30px;border-radius:28px;background:linear-gradient(135deg,rgba(10,20,38,.98),rgba(28,44,76,.94));border:1px solid rgba(145,164,191,.18);box-shadow:0 24px 70px rgba(0,0,0,.24);color:#fff}.tool-page-hero h1{margin:6px 0 8px;font-size:34px;letter-spacing:-.04em}.tool-page-hero p{max-width:760px;margin:0;color:#b6c4da;line-height:1.7}.tool-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.tool-page-card{border-radius:26px;background:rgba(255,255,255,.055);border:1px solid rgba(145,164,191,.19);box-shadow:0 20px 56px rgba(0,0,0,.18);padding:24px;color:#f6f9ff}.tool-page-kicker{display:inline-flex;margin-bottom:8px;color:#2dd4bf;font-size:12px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.tool-page-card h2{margin:0 0 10px;font-size:25px;letter-spacing:-.03em}.tool-page-card p{margin:0 0 18px;color:#aebbd2;line-height:1.7}.tool-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tool-feature-box{padding:18px;border-radius:18px;background:rgba(2,8,23,.24);border:1px solid rgba(145,164,191,.16)}.tool-feature-box i{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:13px;background:rgba(45,212,191,.12);color:#2dd4bf;font-style:normal;font-weight:950;margin-bottom:12px}.tool-feature-box strong{display:block;font-size:16px}.tool-feature-box small{display:block;margin-top:6px;color:#9fb0cc;line-height:1.5}.tool-page-side{position:sticky;top:20px}.tool-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid rgba(145,164,191,.16)}.tool-status-row span{color:#c5d1e4;font-weight:850}.tool-status-row b{color:#2dd4bf}.tool-page-action{width:100%;justify-content:center;margin-top:18px;border-radius:16px!important;padding:14px 18px!important}html[data-theme=light] .tool-page-hero{background:linear-gradient(135deg,#ffffff,#edf4ff);border-color:#dce7f6;color:#0b1426;box-shadow:0 24px 70px rgba(35,54,87,.11)}html[data-theme=light] .tool-page-hero p{color:#60718e}html[data-theme=light] .tool-page-card{background:#fff;border-color:#dfe8f6;color:#0b1426;box-shadow:0 18px 50px rgba(35,54,87,.10)}html[data-theme=light] .tool-page-card p{color:#60718e}html[data-theme=light] .tool-feature-box{background:#f6f9fe;border-color:#dce6f6}html[data-theme=light] .tool-feature-box small,html[data-theme=light] .tool-status-row span{color:#50617d}@media(max-width:1120px){.tool-page-layout{grid-template-columns:1fr}.tool-page-side{position:static}}@media(max-width:720px){.tool-page-hero{display:block;padding:22px}.tool-page-hero .xpert-back-link{margin-top:16px}.tool-page-grid{grid-template-columns:1fr}.tool-page-card{padding:18px}.tool-page-hero h1{font-size:28px}}


/* Copy/select repair: keep website text selectable unless a specific control overrides it. */
html, body, main, section, article, p, h1, h2, h3, h4, h5, h6, span, small, strong, b, td, th, li, a, code, pre {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
button, .btn, .nav-item, .tool-link, summary {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.trade-history-card .responsive-table { overflow-x: auto; }
.trade-history-card table { min-width: 980px; }

/* Trade history database sync repair */
.trade-history-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.trade-history-actions form{margin:0}.trade-history-actions button.xpert-back-link{cursor:pointer;font:inherit;border-color:rgba(255,255,255,.16)}.soft-success-alert,.soft-warning-alert{margin:0 0 14px;padding:14px 16px;border-radius:16px;font-weight:850}.soft-success-alert{background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.22);color:#059669}.soft-warning-alert{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.25);color:#b45309}html[data-theme=light] .soft-success-alert{background:#ecfdf5;border-color:#bbf7d0;color:#047857}html[data-theme=light] .soft-warning-alert{background:#fffbeb;border-color:#fde68a;color:#92400e}@media(max-width:720px){.trade-history-actions{justify-content:flex-start}.trade-history-actions .xpert-back-link{width:100%}}

/* Trade Intelligence Hub - Account MetriX live MT5 dashboard */
.metrix-shell{display:block}.metrix-crumb{color:var(--muted);font-size:13px;font-weight:800;margin-bottom:18px}.metrix-crumb span{opacity:.55;margin:0 8px}.metrix-alert{margin-bottom:16px}.metrix-topbar{display:flex;align-items:center;justify-content:space-between;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px 18px;margin-bottom:12px}.metrix-topbar div:first-child{font-size:20px;font-weight:900}.metrix-topbar span{color:var(--muted);margin-right:8px}.metrix-arrows{display:flex;gap:8px}.metrix-arrows i{font-style:normal;width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:22px}.metrix-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.metrix-actions a,.metrix-actions button{background:var(--card);border:1px solid var(--border);color:var(--text);border-radius:10px;padding:11px 18px;font-weight:900;cursor:pointer}.metrix-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:18px}.metrix-left h3,.metrix-side h3{margin:0 0 14px;font-size:17px}.metrix-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.metrix-kpi-grid div,.metrix-chart-card,.metrix-side,.metrix-score-card,.metrix-objectives-card,.metrix-bottom-grid div,.metrix-open-positions{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px}.metrix-kpi-grid span,.metrix-bottom-grid span{display:block;color:var(--muted);font-weight:800;font-size:13px;margin-bottom:8px}.metrix-kpi-grid b,.metrix-bottom-grid b{display:block;font-size:16px}.metrix-chart-toolbar{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:12px}.metrix-chart-toolbar small{display:block;color:var(--muted);font-weight:800;margin-bottom:8px}.metrix-chart-toolbar button{border:1px solid var(--border);background:var(--soft);color:var(--text);padding:9px 16px;border-radius:8px;font-weight:900;margin-right:6px}.metrix-chart-toolbar button.active{background:var(--accent);border-color:var(--accent);color:#fff}.metrix-side-list p{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0;padding:16px 0;border-bottom:1px solid var(--border)}.metrix-side-list p:last-child{border-bottom:0}.metrix-side-list span{color:var(--muted);font-weight:800}.metrix-side-list b{text-align:right}.metrix-chip{background:rgba(32,201,120,.14);color:var(--success);border-radius:999px;padding:6px 10px}.metrix-section-title{font-size:22px;margin:28px 0 14px}.metrix-stats-layout{display:grid;grid-template-columns:minmax(280px,.55fr) minmax(0,1.45fr);gap:18px}.metrix-card-title{font-size:20px;font-weight:900;margin-bottom:14px}.metrix-card-title span{float:right;color:var(--muted)}.metrix-legend{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-weight:800;font-size:13px}.metrix-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.metrix-legend i.danger{background:#ff4d5e}.metrix-legend i.warning{background:#f5a623}.metrix-legend i.good{background:#20c978}.metrix-gauge{--score:0;width:min(260px,100%);aspect-ratio:2/1;margin:38px auto 0;border-radius:999px 999px 0 0;background:conic-gradient(from 180deg at 50% 100%,#ff4d5e 0deg,#f5a623 72deg,#20c978 calc(var(--score)*1.8deg),rgba(148,163,184,.22) calc(var(--score)*1.8deg) 180deg);position:relative;overflow:hidden}.metrix-gauge:after{content:"";position:absolute;left:14%;right:14%;bottom:0;height:72%;background:var(--card);border-radius:999px 999px 0 0}.metrix-gauge div{position:absolute;inset:auto 0 16px;z-index:1;text-align:center}.metrix-gauge strong{display:block;font-size:26px}.metrix-gauge small{display:block;color:var(--success);font-weight:900}.metrix-objectives-table{width:100%;border-collapse:collapse}.metrix-objectives-table th,.metrix-objectives-table td{border-top:1px solid var(--border);padding:16px;text-align:left}.metrix-objectives-table th{color:var(--muted);font-size:13px}.metrix-objectives-table td:first-child{color:var(--accent);font-weight:900}.metrix-pass{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;font-size:20px;font-weight:900}.metrix-pass.ok{background:var(--success)}.metrix-pass.bad{background:var(--danger)}.metrix-bottom-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}.metrix-bottom-grid div{text-align:center}.metrix-open-positions{margin-top:22px;overflow:auto}.metrix-open-positions table{width:100%;border-collapse:collapse}.metrix-open-positions th,.metrix-open-positions td{padding:13px;border-top:1px solid var(--border);text-align:left}.metrix-green{color:var(--success)!important}.metrix-red{color:var(--danger)!important}@media(max-width:1100px){.metrix-layout,.metrix-stats-layout{grid-template-columns:1fr}.metrix-kpi-grid,.metrix-bottom-grid{grid-template-columns:1fr}.metrix-chart-toolbar{display:block}.metrix-side-list p{align-items:flex-start}}

/* === Trade Intelligence Hub account switch repair === */
.metrix-account-switcher{display:flex;align-items:center;gap:8px}
.metrix-account-switcher span{font-size:13px;font-weight:900;color:var(--muted);margin-right:2px}
.metrix-account-switcher i,.metrix-arrow-link{font-style:normal;width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:22px;text-decoration:none;border:1px solid var(--border)}
.metrix-arrow-link:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.metrix-select-row{display:flex;align-items:center;gap:12px;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:12px 14px;margin:-10px 0 20px}
.metrix-select-row label{color:var(--muted);font-size:13px;font-weight:900;white-space:nowrap}
.metrix-select-row select{width:100%;border:1px solid var(--border);background:var(--soft);color:var(--text);border-radius:10px;padding:10px 12px;font-weight:800;outline:none}
@media(max-width:760px){.metrix-select-row{display:block}.metrix-select-row label{display:block;margin-bottom:8px}.metrix-account-switcher span{display:none}}

/* Trade Intelligence Hub premium repair */
.metrix-performance-card{padding:0;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,255,.98));box-shadow:0 18px 44px rgba(15,23,42,.06)}
.metrix-performance-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 18px 14px;border-bottom:1px solid var(--border)}
.metrix-performance-head h3{margin:4px 0 5px;font-size:20px;letter-spacing:-.02em}.metrix-performance-head p{margin:0;color:var(--muted);font-size:13px;font-weight:700}.metrix-mini-kicker{display:inline-flex;align-items:center;border:1px solid rgba(47,128,255,.18);background:rgba(47,128,255,.08);color:var(--accent);font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:5px 9px}
.metrix-chart-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.metrix-chart-pills span{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--border);background:var(--soft);border-radius:999px;padding:9px 11px;font-size:12px;font-weight:900;color:var(--text);white-space:nowrap}.metrix-chart-pills i{width:10px;height:10px;border-radius:50%;display:inline-block}.metrix-chart-pills i.balance{background:#2f80ff}.metrix-chart-pills i.equity{background:#20c978}.metrix-chart-frame{padding:14px 16px 18px;min-height:286px}.metrix-chart-frame canvas{width:100%;max-width:100%;display:block;border-radius:12px;background:linear-gradient(180deg,rgba(47,128,255,.025),rgba(32,201,120,.02))}
.metrix-score-pro{background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,250,255,.99));box-shadow:0 18px 44px rgba(15,23,42,.055)}.metrix-score-summary{border:1px solid var(--border);background:var(--soft);border-radius:16px;padding:16px}.metrix-score-summary p{margin:14px 0 0;color:var(--muted);font-size:13px;font-weight:750;line-height:1.45;text-align:center}.metrix-score-pro .metrix-gauge{margin:8px auto 0;width:min(230px,100%);background:conic-gradient(from 180deg at 50% 100%,#eef2f7 0deg,#eef2f7 180deg)}.metrix-score-pro .metrix-gauge:before{content:"";position:absolute;inset:0;border-radius:999px 999px 0 0;background:conic-gradient(from 180deg at 50% 100%,#ff4d5e 0deg,#f5a623 54deg,#20c978 calc(var(--score)*1.8deg),transparent calc(var(--score)*1.8deg) 180deg)}.metrix-score-pro .metrix-gauge:after{left:18%;right:18%;height:66%}.metrix-risk-list{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}.metrix-risk-list div{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--border);border-radius:12px;padding:11px 12px;background:var(--card)}.metrix-risk-list span{color:var(--muted);font-size:13px;font-weight:900}.metrix-risk-list b{font-size:13px;font-weight:950}
.metrix-objectives-pro{box-shadow:0 18px 44px rgba(15,23,42,.055)}.metrix-objectives-pro .metrix-objectives-table th,.metrix-objectives-pro .metrix-objectives-table td{padding:14px 14px}.metrix-objectives-pro .metrix-objectives-table td:first-child{color:var(--text);font-weight:950}.metrix-progress{height:9px;min-width:110px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden}.metrix-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2f80ff,#20c978)}.metrix-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950;white-space:nowrap;border:1px solid transparent}.metrix-status-badge.ok{background:rgba(32,201,120,.12);color:var(--success);border-color:rgba(32,201,120,.22)}.metrix-status-badge.pending{background:rgba(245,166,35,.12);color:#b7791f;border-color:rgba(245,166,35,.22)}
@media(max-width:760px){.metrix-performance-head{display:block}.metrix-chart-pills{justify-content:flex-start;margin-top:12px}.metrix-objectives-pro .metrix-objectives-table{min-width:680px}.metrix-chart-frame{min-height:240px;padding:10px}.metrix-score-summary{padding:12px}}

/* Trade Intelligence live statistics repair */
.metrix-live-summary-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(380px,1.05fr);gap:18px;margin-top:18px}
.metrix-statistics-card,.metrix-daily-summary-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.045)}
.metrix-card-title.compact{font-size:18px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.metrix-card-title.compact span{float:none;font-size:13px;border:1px solid var(--border);border-radius:8px;width:34px;height:34px;display:grid;place-items:center;background:var(--soft);color:var(--muted)}
.metrix-statistics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metrix-statistics-grid div{background:var(--soft);border:1px solid rgba(148,163,184,.18);border-radius:9px;padding:13px 10px;text-align:center}.metrix-statistics-grid div.wide{grid-column:span 1}.metrix-statistics-grid span{display:block;color:var(--muted);font-size:12px;font-weight:850;margin-bottom:8px}.metrix-statistics-grid b{display:block;font-size:14px;font-weight:950;color:var(--text)}
.metrix-daily-summary-card{padding:0;overflow:hidden}.metrix-daily-summary-card .metrix-card-title{padding:16px 16px 0}.metrix-daily-table{width:100%;border-collapse:collapse}.metrix-daily-table th,.metrix-daily-table td{padding:14px 16px;border-top:1px solid var(--border);text-align:left;font-weight:850}.metrix-daily-table th{font-size:12px;color:var(--muted);font-weight:950}.metrix-daily-table td a{color:var(--accent);text-decoration:none;font-weight:950}.metrix-daily-table td:last-child{text-align:right;font-weight:950}.metrix-empty-cell{text-align:center!important;color:var(--muted);padding:28px 16px!important}
@media(max-width:1100px){.metrix-live-summary-grid{grid-template-columns:1fr}}@media(max-width:760px){.metrix-statistics-grid{grid-template-columns:repeat(2,1fr)}.metrix-daily-table{min-width:520px}}@media(max-width:520px){.metrix-statistics-grid{grid-template-columns:1fr}}

/* Trade Intelligence Hub journal / open positions refresh */
.metrix-live-stack{display:grid;gap:18px;margin-top:18px}.metrix-open-positions-card{margin-top:0;box-shadow:0 14px 34px rgba(15,23,42,.045)}.metrix-open-positions-card .card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.metrix-open-positions-card .card-title-row h2{margin:0;font-size:20px}.metrix-open-positions-card .card-title-row a{color:var(--accent);text-decoration:none;font-weight:900}.metrix-open-positions-card table{width:100%;border-collapse:collapse}.metrix-open-positions-card th,.metrix-open-positions-card td{padding:14px 12px;border-top:1px solid var(--border);text-align:left;white-space:nowrap}.metrix-open-positions-card th{font-size:12px;color:var(--muted);font-weight:950}.metrix-journal-card{background:var(--card);border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.045);overflow:hidden}.metrix-journal-head{padding:18px 18px 8px}.metrix-journal-head h2{margin:0 0 12px;font-size:30px;line-height:1.1}.metrix-journal-head h2 span{font-size:15px;color:var(--muted)}.metrix-journal-tabs{display:flex;gap:22px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.metrix-journal-tabs span,.metrix-journal-tabs a{display:inline-flex;padding:0 0 12px;color:var(--muted);text-decoration:none;font-weight:900;border-bottom:2px solid transparent}.metrix-journal-tabs .active{color:var(--accent);border-color:var(--accent)}.metrix-journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}.journal-btn,.journal-icon-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);border:1px solid var(--border);border-radius:8px;color:var(--text);text-decoration:none;font-weight:900}.journal-btn{padding:10px 16px}.journal-icon-btn{width:34px;height:34px;font-size:20px}.metrix-journal-month-nav{display:flex;align-items:center;gap:14px}.metrix-journal-month-nav strong{font-size:18px}.metrix-journal-metrics{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;font-weight:850}.metrix-journal-metrics span{display:inline-flex;align-items:center;gap:6px}.metrix-journal-metrics b{font-size:12px;border-radius:6px;padding:4px 8px;background:var(--soft);color:var(--text)}.metrix-journal-metrics b.profit{color:var(--success);background:rgba(32,201,120,.12)}.metrix-journal-metrics b.loss{color:var(--danger);background:rgba(255,77,94,.12)}.metrix-journal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-left:1px solid var(--border)}.metrix-journal-weekday{padding:11px 12px;background:#f8fafc;color:var(--muted);font-size:12px;font-weight:900;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.metrix-journal-cell{min-height:122px;padding:10px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:8px;position:relative;background:#fff}.metrix-journal-cell.outside{background:#fbfcfe;color:#b3bfd2}.metrix-journal-cell.today .metrix-journal-date{background:var(--accent);color:#fff}.metrix-journal-date{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:999px;font-size:13px;font-weight:900;color:#567}.metrix-journal-entry{display:flex;flex-direction:column;gap:4px;border-radius:8px;padding:10px 10px 9px;max-width:160px}.metrix-journal-entry.profit{background:rgba(32,201,120,.12)}.metrix-journal-entry.loss{background:rgba(255,77,94,.12)}.metrix-journal-entry strong{font-size:16px;line-height:1.2}.metrix-journal-entry.profit strong{color:#00a89b}.metrix-journal-entry.loss strong{color:var(--danger)}.metrix-journal-entry small{font-size:12px;color:#64748b;font-weight:800}.metrix-journal-footnote{padding:8px 18px 18px;text-align:center;color:#94a3b8;font-size:12px;font-weight:800}.metrix-daily-summary-card{display:none}@media(max-width:1100px){.metrix-journal-grid{grid-template-columns:repeat(7,minmax(90px,1fr));min-width:760px}.metrix-journal-card{overflow:auto}}@media(max-width:760px){.metrix-journal-head h2{font-size:24px}.metrix-journal-toolbar{align-items:flex-start}.metrix-journal-month-nav strong{font-size:16px}}
.metrix-journal-entry label{font-size:10px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#475569}.metrix-journal-entry.live{border:1px dashed rgba(47,128,255,.18)}.metrix-journal-entry.live.profit{background:rgba(47,128,255,.08)}.metrix-journal-entry.live.loss{background:rgba(255,77,94,.10)}.metrix-journal-cell{align-items:flex-start}.metrix-journal-cell .metrix-journal-entry{width:100%;max-width:100%}

/* === v4 Trade Intelligence color gauge + full dark mode repair === */
.metrix-score-pro .metrix-gauge{position:relative;isolation:isolate;background:conic-gradient(from 180deg at 50% 100%,#ef4444 0deg,#f59e0b 60deg,#20c978 calc(var(--score)*1.8deg),rgba(148,163,184,.22) calc(var(--score)*1.8deg) 180deg)!important;box-shadow:inset 0 -1px 0 rgba(148,163,184,.20)}
.metrix-score-pro .metrix-gauge:before{content:none!important}.metrix-score-pro .metrix-gauge:after{background:var(--card)!important;z-index:1}.metrix-score-pro .metrix-gauge div{z-index:2}.metrix-score-pro .metrix-gauge.danger small,.metrix-score-pro .metrix-gauge.danger strong{color:var(--danger)!important}.metrix-score-pro .metrix-gauge.warning small,.metrix-score-pro .metrix-gauge.warning strong{color:#f59e0b!important}.metrix-score-pro .metrix-gauge.good small,.metrix-score-pro .metrix-gauge.good strong{color:var(--success)!important}
html[data-theme="dark"],html[data-theme="dark"] body,body[data-theme="dark"]{background:#07111f!important;color:#f5f8ff!important;color-scheme:dark}html[data-theme="dark"] .main,html[data-theme="dark"] .admin-main-premium,html[data-theme="dark"] .trader-main-premium{background:radial-gradient(circle at 75% -10%,rgba(124,77,255,.22),transparent 30%),radial-gradient(circle at 20% 18%,rgba(47,128,255,.12),transparent 24%),linear-gradient(135deg,#07111f 0%,#09172a 48%,#060d18 100%)!important;color:#f5f8ff!important;min-height:100vh}html[data-theme="dark"] .metrix-topbar,html[data-theme="dark"] .metrix-kpi-grid div,html[data-theme="dark"] .metrix-chart-card,html[data-theme="dark"] .metrix-side,html[data-theme="dark"] .metrix-score-card,html[data-theme="dark"] .metrix-objectives-card,html[data-theme="dark"] .metrix-bottom-grid div,html[data-theme="dark"] .metrix-open-positions,html[data-theme="dark"] .metrix-statistics-card,html[data-theme="dark"] .metrix-daily-summary-card,html[data-theme="dark"] .metrix-journal-card,html[data-theme="dark"] .metrix-performance-card,html[data-theme="dark"] .metrix-score-pro,html[data-theme="dark"] .metrix-objectives-pro{background:linear-gradient(180deg,rgba(16,28,47,.98),rgba(11,22,39,.98))!important;border-color:#243552!important;color:#f5f8ff!important;box-shadow:0 18px 44px rgba(0,0,0,.22)!important}html[data-theme="dark"] .metrix-score-summary,html[data-theme="dark"] .metrix-statistics-grid div,html[data-theme="dark"] .metrix-risk-list div,html[data-theme="dark"] .metrix-chart-pills span,html[data-theme="dark"] .journal-btn,html[data-theme="dark"] .journal-icon-btn,html[data-theme="dark"] .metrix-actions a,html[data-theme="dark"] .metrix-actions button,html[data-theme="dark"] .metrix-select-row,html[data-theme="dark"] .metrix-select-row select{background:#0b1627!important;border-color:#243552!important;color:#f5f8ff!important}html[data-theme="dark"] .metrix-performance-head,html[data-theme="dark"] .metrix-chart-frame canvas{background:transparent!important;border-color:#243552!important}html[data-theme="dark"] .metrix-objectives-table th,html[data-theme="dark"] .metrix-objectives-table td,html[data-theme="dark"] .metrix-open-positions th,html[data-theme="dark"] .metrix-open-positions td,html[data-theme="dark"] .metrix-daily-table th,html[data-theme="dark"] .metrix-daily-table td{border-color:#243552!important;color:#dce8fb!important}html[data-theme="dark"] .metrix-objectives-table td:first-child,html[data-theme="dark"] .metrix-card-title,html[data-theme="dark"] .metrix-section-title,html[data-theme="dark"] .metrix-left h3,html[data-theme="dark"] .metrix-side h3,html[data-theme="dark"] .metrix-journal-head h2{color:#f5f8ff!important}html[data-theme="dark"] .metrix-crumb,html[data-theme="dark"] .metrix-kpi-grid span,html[data-theme="dark"] .metrix-bottom-grid span,html[data-theme="dark"] .metrix-side-list span,html[data-theme="dark"] .metrix-statistics-grid span,html[data-theme="dark"] .metrix-score-summary p,html[data-theme="dark"] .metrix-journal-tabs span,html[data-theme="dark"] .metrix-journal-tabs a,html[data-theme="dark"] .metrix-journal-footnote{color:#9eb0cc!important}html[data-theme="dark"] .metrix-journal-weekday{background:#0f1d31!important;color:#9eb0cc!important;border-color:#243552!important}html[data-theme="dark"] .metrix-journal-cell{background:#0b1627!important;border-color:#243552!important;color:#dce8fb!important}html[data-theme="dark"] .metrix-journal-cell.outside{background:#091222!important;color:#667892!important}html[data-theme="dark"] .metrix-journal-date{color:#dce8fb!important}html[data-theme="dark"] .metrix-journal-entry.profit{background:rgba(65,223,154,.13)!important}html[data-theme="dark"] .metrix-journal-entry.loss{background:rgba(255,103,95,.13)!important}html[data-theme="dark"] .metrix-journal-entry.live.profit{background:rgba(47,128,255,.12)!important;border-color:rgba(47,128,255,.32)!important}html[data-theme="dark"] .metrix-journal-entry label,html[data-theme="dark"] .metrix-journal-entry small{color:#9eb0cc!important}html[data-theme="dark"] .metrix-progress{background:#1c2b45!important}html[data-theme="dark"] .metrix-status-badge.pending{background:rgba(245,158,11,.15)!important;color:#fbbf24!important;border-color:rgba(245,158,11,.32)!important}html[data-theme="dark"] .metrix-status-badge.ok{background:rgba(65,223,154,.15)!important;color:#41df9a!important;border-color:rgba(65,223,154,.32)!important}html[data-theme="dark"] .soft-warning-alert,html[data-theme="dark"] .soft-success-alert{background:#0b1627!important;border-color:#243552!important;color:#dce8fb!important}html[data-theme="dark"] .responsive-table table{background:transparent!important}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0b1627!important;border-color:#243552!important;color:#f5f8ff!important}html[data-theme="light"] .metrix-score-pro .metrix-gauge:after{background:#ffffff!important}

/* Discipline Score segmented meter like FTMO journal card */
.discipline-score-modern{padding:18px!important}.discipline-score-modern .metrix-score-summary{border:0!important;background:#fff!important;border-radius:0!important;padding:0!important}.discipline-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:12px!important}.discipline-title-text{float:none!important;color:var(--text)!important;font-size:20px!important;font-weight:950!important}.discipline-info{float:none!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border:1px solid var(--border)!important;border-radius:7px!important;background:#fff!important;color:#1f2937!important;font-size:13px!important}.discipline-meter-card{min-height:260px}.discipline-meter-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:2px 0 18px;color:#64748b;font-size:12px;font-weight:900}.discipline-meter-legend span{display:inline-flex;align-items:center;gap:6px}.discipline-meter-legend i{width:8px;height:8px;border-radius:999px;display:inline-block}.discipline-meter-legend i.danger{background:#ff3860}.discipline-meter-legend i.warning{background:#f59e0b}.discipline-meter-legend i.good{background:#19c6c7}.discipline-meter{display:flex;align-items:center;justify-content:center;padding:36px 0 2px}.discipline-meter-track{position:relative;width:260px;height:160px;margin:0 auto}.discipline-meter-track .meter-bar{position:absolute;left:50%;bottom:28px;width:2px;height:24px;border-radius:999px;background:#c4ccd8;transform-origin:50% 118px;transform:translateX(-50%) rotate(calc(-90deg + (var(--i) * 3deg)));opacity:.95}.discipline-meter-track .meter-bar.active.danger{background:#ff3860}.discipline-meter-track .meter-bar.active.warning{background:#f59e0b}.discipline-meter-track .meter-bar.active.good{background:#19c6c7}.meter-label{position:absolute;color:#94a3b8;font-size:12px;font-weight:950}.label-0{left:2px;bottom:19px}.label-30{left:40px;top:56px}.label-50{left:50%;top:33px;transform:translateX(-50%)}.label-80{right:40px;top:56px}.label-100{right:0;bottom:19px}.discipline-meter-value{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);text-align:center;z-index:2}.discipline-meter-value strong{display:block;font-size:23px;font-weight:950;letter-spacing:-.03em;color:#454545}.discipline-meter-value small{display:block;margin-top:4px;font-size:13px;font-weight:950}.discipline-meter-value.danger small{color:#ff3860}.discipline-meter-value.warning small{color:#f59e0b}.discipline-meter-value.good small{color:#19c6c7}.discipline-meter-value.danger strong{color:#374151}.discipline-meter-value.warning strong{color:#374151}.discipline-meter-value.good strong{color:#374151}.discipline-score-modern .metrix-risk-list{margin-top:8px}.discipline-score-modern .metrix-risk-list div{background:#fff}
html[data-theme="dark"] .discipline-score-modern .metrix-score-summary,body[data-theme="dark"] .discipline-score-modern .metrix-score-summary{background:transparent!important}html[data-theme="dark"] .discipline-title-text,body[data-theme="dark"] .discipline-title-text{color:#f5f8ff!important}html[data-theme="dark"] .discipline-info,body[data-theme="dark"] .discipline-info{background:#0b1627!important;border-color:#243552!important;color:#dce8fb!important}html[data-theme="dark"] .discipline-meter-track .meter-bar,body[data-theme="dark"] .discipline-meter-track .meter-bar{background:#475569}html[data-theme="dark"] .meter-label,body[data-theme="dark"] .meter-label,html[data-theme="dark"] .discipline-meter-legend,body[data-theme="dark"] .discipline-meter-legend{color:#9eb0cc!important}html[data-theme="dark"] .discipline-meter-value strong,body[data-theme="dark"] .discipline-meter-value strong{color:#f5f8ff!important}html[data-theme="dark"] .discipline-score-modern .metrix-risk-list div,body[data-theme="dark"] .discipline-score-modern .metrix-risk-list div{background:#0b1627!important}
@media(max-width:520px){.discipline-meter-track{width:230px;height:150px}.discipline-meter-track .meter-bar{height:21px;transform-origin:50% 106px}.label-30{left:34px}.label-80{right:34px}.discipline-meter-legend{gap:8px;font-size:11px}.discipline-meter-value strong{font-size:21px}}

/* v6: matched redesign for Discipline Score + Objectives */
.metrix-stats-layout{align-items:start}
.discipline-score-modern,.objectives-match-card{padding:0!important;overflow:hidden;border-radius:18px!important;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,250,255,.99))!important;box-shadow:0 18px 44px rgba(15,23,42,.06)!important}
.discipline-card-top,.objective-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid var(--border)}
.discipline-card-top p,.objective-card-head p{margin:10px 0 0;color:var(--muted);font-size:13px;font-weight:750;line-height:1.45}
.discipline-title-row.compact{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:8px}
.discipline-title-row.compact .discipline-title-text{font-size:22px!important;letter-spacing:-.02em}
.discipline-title-row.compact .discipline-info{margin-left:auto}
.discipline-score-modern .metrix-score-summary{padding:18px 20px 8px!important;background:linear-gradient(180deg,rgba(248,250,252,.95),rgba(255,255,255,.98))!important}
.discipline-meter-card{min-height:auto}
.discipline-meter-legend{margin:0 0 8px}
.discipline-meter{padding:10px 0 0}
.discipline-meter-track{width:270px;height:180px}
.discipline-meter-track .meter-bar{bottom:34px;height:28px;transform-origin:50% 122px}
.label-0{left:4px;bottom:24px}.label-30{left:40px;top:59px}.label-50{top:31px}.label-80{right:40px;top:59px}.label-100{right:4px;bottom:24px}
.discipline-meter-value{bottom:22px}
.discipline-meter-value strong{font-size:34px!important;font-weight:980!important}
.discipline-meter-value small{font-size:15px!important}
.discipline-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 20px 20px}
.discipline-meta-box{background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.95));border:1px solid var(--border);border-radius:16px;padding:14px 16px;min-height:78px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.discipline-meta-label{display:block;color:var(--muted);font-size:12px;font-weight:900;letter-spacing:.02em;margin-bottom:8px}
.discipline-meta-value{display:block;font-size:20px;font-weight:950;line-height:1.1;color:var(--text)}
.objective-card-head .metrix-card-title{margin:8px 0 0!important}
.objective-summary-chip{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:11px 14px;border-radius:999px;background:linear-gradient(135deg,rgba(47,128,255,.10),rgba(32,201,120,.12));border:1px solid rgba(47,128,255,.16);color:#24456f;font-size:13px;font-weight:950;white-space:nowrap;box-shadow:0 10px 20px rgba(47,128,255,.08)}
.objective-list{display:grid;gap:14px;padding:18px 20px 20px}
.objective-item{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(180px,.9fr) auto;gap:16px;align-items:center;background:linear-gradient(180deg,#ffffff,rgba(248,250,252,.96));border:1px solid var(--border);border-radius:18px;padding:16px 18px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.objective-item-main{min-width:0}.objective-item-title{font-size:20px;font-weight:950;line-height:1.2;color:var(--text);letter-spacing:-.02em}.objective-item-result{margin-top:7px;color:#4b5563;font-size:14px;font-weight:850}
.objective-item-progress{min-width:0}.objective-progress-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;color:var(--muted);font-size:12px;font-weight:900}.objective-progress-label strong{color:var(--text);font-size:14px;font-weight:950}
.objective-progress-bar{height:10px!important;min-width:100%!important;border-radius:999px;background:rgba(148,163,184,.18)!important}.objective-progress-bar i{display:block;height:100%;border-radius:999px}
.objective-progress-bar.tone-ok i{background:linear-gradient(90deg,#20c978,#63e6a4)}
.objective-progress-bar.tone-pending i{background:linear-gradient(90deg,#2f80ff,#20c978)}
.objective-progress-bar.tone-bad i{background:linear-gradient(90deg,#ff4d5e,#f59e0b)}
.objective-item-status{justify-self:end}.metrix-status-badge.bad{background:rgba(255,77,94,.12);color:var(--danger);border-color:rgba(255,77,94,.22)}
.objective-item.objective-ok{border-color:rgba(32,201,120,.18)}.objective-item.objective-pending{border-color:rgba(47,128,255,.18)}.objective-item.objective-bad{border-color:rgba(255,77,94,.18)}
@media(max-width:1100px){.objective-item{grid-template-columns:1fr}.objective-item-status{justify-self:start}.discipline-meter-track{width:250px}.discipline-meta-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.discipline-card-top,.objective-card-head{padding:16px}.discipline-score-modern .metrix-score-summary{padding:16px 16px 6px!important}.discipline-meta-grid,.objective-list{padding:0 16px 16px}.discipline-meter-track{width:235px;height:166px}.discipline-meter-track .meter-bar{height:24px;transform-origin:50% 116px}.objective-item-title{font-size:18px}.discipline-meta-grid{grid-template-columns:1fr}.objective-summary-chip{min-width:0}}
html[data-theme="dark"] .discipline-score-modern,html[data-theme="dark"] .objectives-match-card,body[data-theme="dark"] .discipline-score-modern,body[data-theme="dark"] .objectives-match-card{background:linear-gradient(180deg,rgba(16,28,47,.98),rgba(11,22,39,.98))!important;border-color:#243552!important;box-shadow:0 18px 44px rgba(0,0,0,.24)!important}
html[data-theme="dark"] .discipline-card-top,html[data-theme="dark"] .objective-card-head,body[data-theme="dark"] .discipline-card-top,body[data-theme="dark"] .objective-card-head{border-color:#243552!important}
html[data-theme="dark"] .discipline-card-top p,html[data-theme="dark"] .objective-card-head p,body[data-theme="dark"] .discipline-card-top p,body[data-theme="dark"] .objective-card-head p{color:#9eb0cc!important}
html[data-theme="dark"] .discipline-score-modern .metrix-score-summary,body[data-theme="dark"] .discipline-score-modern .metrix-score-summary{background:linear-gradient(180deg,rgba(12,22,39,.9),rgba(11,22,39,.98))!important}
html[data-theme="dark"] .discipline-meta-box,html[data-theme="dark"] .objective-item,body[data-theme="dark"] .discipline-meta-box,body[data-theme="dark"] .objective-item{background:linear-gradient(180deg,#0d182b,#0b1627)!important;border-color:#243552!important;box-shadow:none!important}
html[data-theme="dark"] .discipline-meta-label,html[data-theme="dark"] .objective-progress-label,html[data-theme="dark"] .objective-item-result,body[data-theme="dark"] .discipline-meta-label,body[data-theme="dark"] .objective-progress-label,body[data-theme="dark"] .objective-item-result{color:#9eb0cc!important}
html[data-theme="dark"] .discipline-meta-value,html[data-theme="dark"] .objective-item-title,html[data-theme="dark"] .objective-progress-label strong,body[data-theme="dark"] .discipline-meta-value,body[data-theme="dark"] .objective-item-title,body[data-theme="dark"] .objective-progress-label strong{color:#f5f8ff!important}
html[data-theme="dark"] .objective-summary-chip,body[data-theme="dark"] .objective-summary-chip{background:linear-gradient(135deg,rgba(47,128,255,.16),rgba(32,201,120,.14))!important;border-color:#34527d!important;color:#dce8fb!important;box-shadow:none!important}
html[data-theme="dark"] .metrix-status-badge.bad,body[data-theme="dark"] .metrix-status-badge.bad{background:rgba(255,77,94,.15)!important;color:#ff8a94!important;border-color:rgba(255,77,94,.30)!important}

/* Admin performance tools: all-account monitoring */
.admin-performance-page .performance-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.admin-performance-page .performance-toolbar h2{margin:0 0 7px}.admin-performance-page .performance-toolbar p{margin:0;color:#a9bad4}.admin-performance-page .performance-toolbar input{width:min(390px,100%);padding:13px 15px;border-radius:13px;border:1px solid rgba(145,164,191,.28);background:rgba(255,255,255,.055);color:#eef5ff;outline:none}.admin-performance-page td strong,.admin-performance-page td small{display:block}.admin-performance-page td small{margin-top:5px;color:#9fb0c9;line-height:1.35}.admin-performance-page td{vertical-align:top;min-width:145px}.admin-performance-page td:first-child{min-width:190px}.admin-performance-page .pill{display:inline-block;margin-bottom:3px}html[data-theme=light] .admin-performance-page .performance-toolbar input{background:#f7f9fd;color:#0b1426;border-color:#d9e2f0}html[data-theme=light] .admin-performance-page td small,html[data-theme=light] .admin-performance-page .performance-toolbar p{color:#61728b}@media(max-width:900px){.admin-performance-page .performance-toolbar{align-items:stretch;flex-direction:column}.admin-performance-page .performance-toolbar input{width:100%}}
