:root{--neo-purple:#7567f8;--neo-green:#08b978;--neo-radius:16px;--neo-shadow:0 10px 30px rgba(31,35,48,.08)}
html[data-theme="light"]{--neo-bg:#f3f5f9;--neo-card:#fff;--neo-card2:#f8f9fc;--neo-line:#e2e6ef;--neo-text:#171a24;--neo-muted:#727b90;--bg:#f3f5f9;--surface:#fff;--surface2:#f8f9fc;--line:#e2e6ef;--line2:#d5dae5;--ink:#171a24;--ink2:#3d4555;--ink3:#727b90;--ink4:#98a0b2;--primary:#7567f8;--primary-dk:#6657e8}
html[data-theme="dark"]{--neo-bg:#0d0f16;--neo-card:#171a26;--neo-card2:#1d2130;--neo-line:#2b3042;--neo-text:#f4f5fa;--neo-muted:#8e96aa}
html[data-theme] body{background:var(--neo-bg)!important;color:var(--neo-text)!important;transition:background .2s,color .2s}
html[data-theme] .topbar,html[data-theme] .top,html[data-theme] .head{background:color-mix(in srgb,var(--neo-card) 90%,transparent)!important;border-color:var(--neo-line)!important;color:var(--neo-text)!important}
html[data-theme] .card,html[data-theme] .stat-card,html[data-theme] .dashboard-panel,html[data-theme] .rank-card,html[data-theme] .inbound-panel,html[data-theme] .xq-card,html[data-theme] .panel{background:var(--neo-card)!important;border-color:var(--neo-line)!important;color:var(--neo-text)!important;box-shadow:var(--neo-shadow)!important}
html[data-theme] input,html[data-theme] select,html[data-theme] textarea{background:var(--neo-card2)!important;border-color:var(--neo-line)!important;color:var(--neo-text)!important}
html[data-theme] .sec-t,html[data-theme] h1,html[data-theme] h2,html[data-theme] h3{color:var(--neo-text)!important}html[data-theme] .sec-sub,html[data-theme] .sub,html[data-theme] .muted,html[data-theme] .empty{color:var(--neo-muted)!important}
html[data-theme] button.on,html[data-theme] .rtab.on,html[data-theme] .rkb.on{background:var(--neo-purple)!important;color:#fff!important;border-color:var(--neo-purple)!important}
html[data-theme="light"] .dashboard-hero{background:linear-gradient(125deg,#fff 0%,#f3f0ff 68%,#e7e1ff 100%)!important;border-color:#ddd7ff!important}html[data-theme="light"] .dashboard-hero:after{background:rgba(117,103,248,.13)!important}html[data-theme="light"] .dashboard-hero h1{color:#27213f!important}html[data-theme="light"] .dashboard-panel,html[data-theme="light"] .stat-card{background:linear-gradient(145deg,#fff,#f8f9fd)!important}html[data-theme="light"] .type-donut:after{background:#fff!important}html[data-theme="light"] .rkbar{background:#e9ecf3!important}html[data-theme="light"] .topbar{background:rgba(255,255,255,.9)!important}html[data-theme="light"] .deal-search{background:#fff!important;border-color:var(--neo-line)!important}
html[data-theme="light"] #dxSidebarRoot{--sb-bg:#202331;--sb-active-bg:rgba(117,103,248,.2);--sb-active-ink:#bcb4ff}html[data-theme="dark"] #dxSidebarRoot{--sb-bg:#11131c;--sb-active-bg:rgba(117,103,248,.2);--sb-active-ink:#b0a7ff}
html[data-theme] .wrap,html[data-theme] .content,html[data-theme] .scroll{background:transparent!important}html[data-theme] .toolbar,html[data-theme] .filters,html[data-theme] .list-meta{border-color:var(--neo-line)!important}html[data-theme] .addbtn,html[data-theme] .primary,html[data-theme] .save{background:linear-gradient(135deg,var(--neo-purple),#6657e8)!important;color:#fff!important;border-color:transparent!important}html[data-theme] .pill,html[data-theme] .badge{border-color:color-mix(in srgb,var(--neo-purple) 32%,var(--neo-line))!important}
html[data-theme] #scene,html[data-theme] .scene{background:var(--neo-bg)!important}html[data-theme] .control,html[data-theme] .controls,html[data-theme] .legend,html[data-theme] .drawer{background:color-mix(in srgb,var(--neo-card) 94%,transparent)!important;border-color:var(--neo-line)!important;color:var(--neo-text)!important}
@media(max-width:900px){html[data-theme] .topbar,html[data-theme] .top{backdrop-filter:blur(16px)}html[data-theme] .card{border-radius:14px!important}}
/* Page-specific contrast and layout fixes v2 */
html[data-theme="dark"] body.neo-kehu{--bg:#0d0f16;--surface:#171a26;--surface2:#1d2130;--text:#f4f5fa;--text2:#cbd1de;--muted:#8e96aa;--muted2:#727b90;--border:#2b3042;--border2:#394056;--accent:#9c91ff}
body.neo-kehu .top .in,body.neo-kehu .wrap{max-width:none;width:auto;margin-left:0;margin-right:0}body.neo-kehu .wrap{padding-left:26px;padding-right:26px}body.neo-kehu .top .in{padding-left:26px;padding-right:26px}
html[data-theme="dark"] body.neo-kehu .nm,html[data-theme="dark"] body.neo-kehu .phone,html[data-theme="dark"] body.neo-kehu .cright,html[data-theme="dark"] body.neo-kehu .list-meta,html[data-theme="dark"] body.neo-kehu .inbound-panel{color:#eef1f8!important}
html[data-theme="dark"] body.neo-kehu .card{background:#171a26!important;border-color:#30364a!important}html[data-theme="dark"] body.neo-kehu .card:hover{background:#1d2130!important;border-color:#514a78!important}
html[data-theme="dark"] body.neo-fangyuan{--bg:#0d0f16;--card:#171a26;--ink:#f4f5fa;--ink2:#cbd1de;--ink3:#8e96aa;--ink4:#727b90;--line:#2b3042}
html[data-theme="dark"] body.neo-fangyuan .xq-card{background:linear-gradient(145deg,#191d2b,#151823)!important;border:1px solid #2b3042!important}html[data-theme="dark"] body.neo-fangyuan .xq-name,html[data-theme="dark"] body.neo-fangyuan .tb-hello,html[data-theme="dark"] body.neo-fangyuan .sec-t{color:#f4f5fa!important}
html[data-theme="dark"] body.neo-loudong{--paper:#171a26;--bg:#0d0f16;--ink:#f4f5fa;--muted:#8e96aa;--rule:#2b3042}
html[data-theme="dark"] body.neo-loudong .bldcard,html[data-theme="dark"] body.neo-loudong .infobar,html[data-theme="dark"] body.neo-loudong .resume-card{background:linear-gradient(145deg,#191d2b,#151823)!important;border:1px solid #30364a!important;color:#f4f5fa!important;box-shadow:0 12px 30px rgba(0,0,0,.2)!important}html[data-theme="dark"] body.neo-loudong .bt{color:#f4f5fa!important}html[data-theme="dark"] body.neo-loudong .bs,html[data-theme="dark"] body.neo-loudong .cnt{color:#9aa3b7!important}
html[data-theme="dark"] body.neo-3d{--bg:#0d0f16;--surface:#171a26;--ink:#f4f5fa;--muted:#8e96aa;--line:#2b3042}html[data-theme="dark"] body.neo-3d #scene{background:radial-gradient(circle at 50% 20%,#20253a,#0d0f16 65%)!important}html[data-theme="dark"] body.neo-3d .litem,html[data-theme="dark"] body.neo-3d .xq-search-item{background:#171a26!important;color:#eef1f8!important;border-color:#2b3042!important}
html[data-theme="dark"] body.neo-chengjiao{--bg:#0d0f16;--surface:#171a26;--surface2:#1d2130;--ink:#f4f5fa;--ink2:#cbd1de;--ink3:#8e96aa;--ink4:#727b90;--line:#2b3042;--line2:#394056}
html[data-theme="dark"] body.neo-chengjiao .rank-section,html[data-theme="dark"] body.neo-chengjiao .chart-card,html[data-theme="dark"] body.neo-chengjiao .stat-card{background:#171a26!important;border-color:#30364a!important;color:#f4f5fa!important}html[data-theme="dark"] body.neo-chengjiao .rank-table th{background:#202432!important;color:#cbd1de!important;border-color:#394056!important}html[data-theme="dark"] body.neo-chengjiao .rank-table td{background:#171a26!important;color:#eef1f8!important;border-color:#2b3042!important}html[data-theme="dark"] body.neo-chengjiao .rank-table tr:hover td{background:#202432!important}html[data-theme="dark"] body.neo-chengjiao .rank-head,html[data-theme="dark"] body.neo-chengjiao .chart-title,html[data-theme="dark"] body.neo-chengjiao .td-name{color:#f4f5fa!important}
@media(max-width:1023px){body.neo-kehu .wrap,body.neo-kehu .top .in{padding-left:14px;padding-right:14px}}
/* Approved premium page redesign v3 */
html[data-theme="dark"] body.neo-kehu,html[data-theme="dark"] body.neo-fangyuan,html[data-theme="dark"] body.neo-loudong,html[data-theme="dark"] body.neo-3d{background:radial-gradient(circle at 72% -12%,rgba(117,103,248,.11),transparent 28%),#0d0f16!important}
body.neo-kehu .top,body.neo-fangyuan .topbar,body.neo-loudong .top{min-height:64px;background:rgba(17,19,28,.9)!important;border-bottom:1px solid #292e40!important;backdrop-filter:blur(18px)}
body.neo-kehu .wrap,body.neo-loudong .wrap{padding:28px 32px 52px}body.neo-fangyuan .scroll{padding:28px 32px 52px}
html[data-theme="dark"] body.neo-kehu .inbound-panel{background:linear-gradient(145deg,#181c29,#151823)!important;border:1px solid #30364a!important;border-radius:16px!important;box-shadow:0 16px 38px rgba(0,0,0,.22)!important;padding:20px!important}
html[data-theme="dark"] body.neo-kehu .inbound-bars{background:#10131d!important;border:1px solid #252a3a!important}html[data-theme="dark"] body.neo-kehu .inbound-bar{background:linear-gradient(180deg,#43d8a5,#7567f8)!important;box-shadow:0 8px 18px rgba(117,103,248,.2)!important}
body.neo-kehu .bar{padding:12px;background:#151823;border:1px solid #2b3042;border-radius:14px;margin-bottom:16px}body.neo-kehu .cardgrid{grid-template-columns:repeat(3,minmax(290px,1fr));gap:12px}
html[data-theme="dark"] body.neo-kehu .card{min-height:116px;padding:14px 15px!important;border-radius:14px!important;background:linear-gradient(145deg,#191d2b,#151823)!important;box-shadow:0 10px 24px rgba(0,0,0,.16)!important}html[data-theme="dark"] body.neo-kehu .idx{background:linear-gradient(145deg,#8e83ff,#6657e8)!important;box-shadow:none!important}html[data-theme="dark"] body.neo-kehu .verify-btn{background:#211d35!important;border-color:#52477d!important;color:#b9b1ff!important}
body.neo-fangyuan .xq-list{grid-template-columns:repeat(4,minmax(230px,1fr));gap:16px}html[data-theme="dark"] body.neo-fangyuan .xq-card{min-height:142px;padding:20px!important;border-radius:16px!important;background:linear-gradient(145deg,#191d2b,#151823)!important;border:1px solid #30364a!important;box-shadow:0 14px 30px rgba(0,0,0,.18)!important}html[data-theme="dark"] body.neo-fangyuan .xq-card:hover{border-color:#6256a1!important;box-shadow:0 18px 42px rgba(0,0,0,.28)!important}body.neo-fangyuan .xq-name{font-size:17px!important}body.neo-fangyuan .xq-tag{border-radius:9px!important;padding:8px 5px!important}html[data-theme="dark"] body.neo-fangyuan .rank-card{background:#171a26!important;border:1px solid #30364a!important;box-shadow:0 14px 30px rgba(0,0,0,.18)!important}
body.neo-loudong .top .in,body.neo-loudong .wrap{max-width:none}body.neo-loudong .infobar{border-left:1px solid #30364a!important;border-radius:16px!important;padding:20px 22px!important}body.neo-loudong .bldgrid{grid-template-columns:repeat(4,minmax(230px,1fr));gap:16px}
html[data-theme="dark"] body.neo-loudong .bldcard{min-height:132px;border-radius:15px!important;padding:19px 20px!important;background:linear-gradient(145deg,#191d2b,#151823)!important;border:1px solid #30364a!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important}html[data-theme="dark"] body.neo-loudong .bldcard:hover{border-color:#7567f8!important;transform:translateY(-3px)!important}body.neo-loudong .bldcard .bt{font-size:18px!important}body.neo-loudong .stbadge{border-radius:7px!important;padding:5px 9px!important}body.neo-loudong .bldcard .bn{margin-top:auto;gap:7px!important}
html[data-theme="dark"] body.neo-3d #scene{left:var(--dx-sb-w,188px);background:radial-gradient(circle at 48% 35%,#242b43 0,#141824 42%,#0b0d14 100%)!important}html[data-theme="dark"] body.neo-3d #topbar,html[data-theme="dark"] body.neo-3d #panel,html[data-theme="dark"] body.neo-3d #sortPanel,html[data-theme="dark"] body.neo-3d #legend,html[data-theme="dark"] body.neo-3d #sceneEmpty{background:rgba(23,26,38,.94)!important;border:1px solid #343a50!important;color:#f4f5fa!important;box-shadow:0 18px 48px rgba(0,0,0,.32)!important;backdrop-filter:blur(18px)!important}html[data-theme="dark"] body.neo-3d #panel,html[data-theme="dark"] body.neo-3d #sortPanel{border-radius:16px!important}html[data-theme="dark"] body.neo-3d button{border-color:#394056;color:#e8ebf5}html[data-theme="dark"] body.neo-3d #resetBtn{background:linear-gradient(135deg,#7c6cff,#6657e8)!important}html[data-theme="dark"] body.neo-3d .litem:hover{background:#24283a!important}
@media(max-width:1280px){body.neo-kehu .cardgrid{grid-template-columns:repeat(2,minmax(280px,1fr))}body.neo-fangyuan .xq-list,body.neo-loudong .bldgrid{grid-template-columns:repeat(3,minmax(210px,1fr))}}
@media(max-width:760px){body.neo-kehu .wrap,body.neo-loudong .wrap,body.neo-fangyuan .scroll{padding:14px 12px 90px}body.neo-kehu .cardgrid{grid-template-columns:1fr}body.neo-fangyuan .xq-list,body.neo-loudong .bldgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}