/* 石墨深灰 · 鋼藍重點 -- generated by _mkdark.py, do not hand-edit */

html[data-theme="dark"] {
  --bg: #0D0F12;
  --panel: #191D23;
  --panel-2: #20252C;
  --panel-3: #272D35;
  --line: #323945;
  --line-strong: #454D5B;
  --text: #E3E7EC;
  --text-strong: #F4F6F8;
  --muted: #A6AFBB;
  --muted-dim: #8C95A2;
  --readable-muted: #A6AFBB;
  --primary: #5B8DB8;
  --primary2: #8FB6D6;
  --accent: #5B8DB8;
  --accent-soft: #1B2733;
  --accent-text: #8FB6D6;
  --gold: #5B8DB8;
  --yellow: #D6AC69;
  --ok: #4E9A6B;
  --warn: #B98B3E;
  --danger: #B4565B;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 44px rgba(0,0,0,.55);
  --glass-bg: #191D23;
  --glass-border: #323945;
  color-scheme: dark;
}
html[data-theme="dark"], html[data-theme="dark"] body {
  background: #0D0F12 !important;
  color: #E3E7EC !important;
}


/* ---- remapped from styles.css (160 rules) ---- */

html[data-theme="dark"] body{background-image:radial-gradient(circle at 18% 8%, rgba(46,88,107,.15), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(56,162,178,.10), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(178,159,56,.05), transparent 40%) !important}
html[data-theme="dark"] .bg-orbs span:nth-child(1){background:#2e586b !important}
html[data-theme="dark"] .bg-orbs span:nth-child(2){background:#38a2b2 !important}
html[data-theme="dark"] .bg-orbs span:nth-child(3){background:#2e346b !important}
html[data-theme="dark"] .brand-mark{background:linear-gradient(135deg, rgba(46,88,107,.28), rgba(178,159,56,.15)) !important;box-shadow:inset 0 0 0 1px rgba(32,37,44,.1) !important}
html[data-theme="dark"] .auth-tabs{background:rgba(32,37,44,.38) !important}
html[data-theme="dark"] .auth-tabs button.active{background:rgba(46,88,107,.14) !important}
html[data-theme="dark"] .nav button:hover,html[data-theme="dark"] .nav button.active{background:rgba(46,88,107,.12) !important;box-shadow:inset 0 0 0 1px rgba(46,88,107,.22) !important}
html[data-theme="dark"] .side-card{background:rgba(32,37,44,.8) !important}
html[data-theme="dark"] .primary{background:linear-gradient(135deg, #1f3a47, #38a1b2) !important;box-shadow:0 10px 32px rgba(56,161,178,.24) !important}
html[data-theme="dark"] .ghost,html[data-theme="dark"] .small-btn{background:rgba(61,74,92,.12) !important}
html[data-theme="dark"] .danger-btn{background:rgba(75,37,43,.14) !important;color:#c86a76 !important;border:1px solid rgba(75,37,43,.28) !important}
html[data-theme="dark"] .webhook-box,html[data-theme="dark"] .code-card,html[data-theme="dark"] pre{background:rgba(32,37,44,.5) !important;border:1px dashed rgba(46,88,107,.36) !important}
html[data-theme="dark"] .webhook-box code,html[data-theme="dark"] .code-card code{color:#6aa8c8 !important}
html[data-theme="dark"] .webhook-box:after{background:linear-gradient(110deg, transparent 0%, rgba(32,37,44,.08) 42%, transparent 70%) !important}
html[data-theme="dark"] pre{color:#6aa3c8 !important}
html[data-theme="dark"] .panel:hover{border-color:rgba(46,88,107,.22) !important}
html[data-theme="dark"] .bot-card{background:rgba(28,34,43,.85) !important}
html[data-theme="dark"] .bot-card:hover{border-color:rgba(46,88,107,.34) !important;box-shadow:0 8px 32px rgba(46,88,107,.08) !important}
html[data-theme="dark"] .bot-icon.longzong{background:linear-gradient(135deg, rgba(178,154,56,.18), rgba(178,159,56,.08)) !important;color:#6a78c8 !important}
html[data-theme="dark"] .bot-icon.tv{background:linear-gradient(135deg, rgba(46,88,107,.18), rgba(56,162,178,.08)) !important;color:#6aa8c8 !important}
html[data-theme="dark"] .icon-btn{background:rgba(61,74,92,.10) !important;color:#7c96b6 !important}
html[data-theme="dark"] .icon-btn:hover{border-color:rgba(46,88,107,.34) !important}
html[data-theme="dark"] .icon-btn.danger{color:#c86a76 !important;border-color:rgba(75,37,43,.22) !important;background:rgba(75,37,43,.10) !important}
html[data-theme="dark"] .icon-btn.danger:hover{border-color:rgba(75,37,43,.46) !important;background:rgba(75,37,43,.18) !important}
html[data-theme="dark"] .tags span,html[data-theme="dark"] .pill{background:rgba(61,74,92,.13) !important;color:#7c96b6 !important}
html[data-theme="dark"] .pill.ok{background:rgba(56,178,101,.15) !important;color:#6ac88c !important}
html[data-theme="dark"] .pill.warn{background:rgba(178,154,56,.14) !important;color:#6a78c8 !important}
html[data-theme="dark"] .pill.fail{background:rgba(75,37,43,.16) !important;color:#c86a76 !important}
html[data-theme="dark"] .pill.info{background:rgba(46,69,107,.15) !important;color:#6a96c8 !important}
html[data-theme="dark"] .pill.skipped{background:rgba(61,74,92,.12) !important;color:#899fbd !important}
html[data-theme="dark"] .switch span{background:rgba(61,74,92,.25) !important}
html[data-theme="dark"] .switch input:checked + span{background:rgba(56,178,101,.75) !important}
html[data-theme="dark"] .leverage-slider{background:linear-gradient(90deg, rgba(46,88,107,.3), rgba(178,159,56,.3)) !important}
html[data-theme="dark"] .leverage-slider::-webkit-slider-thumb{box-shadow:0 0 10px rgba(46,88,107,.5) !important}
html[data-theme="dark"] .leverage-slider::-webkit-slider-thumb:hover{box-shadow:0 0 16px rgba(46,88,107,.7) !important}
html[data-theme="dark"] .leverage-slider::-moz-range-thumb{box-shadow:0 0 10px rgba(46,88,107,.5) !important}
html[data-theme="dark"] .symbol-tags{background:rgba(32,37,44,.48) !important}
html[data-theme="dark"] .symbol-tag{background:rgba(46,88,107,.12) !important;color:#6aa8c8 !important;border:1px solid rgba(46,88,107,.22) !important}
html[data-theme="dark"] .bot-type-card{background:rgba(28,34,43,.6) !important}
html[data-theme="dark"] .bot-type-card:hover:not(.disabled){border-color:rgba(46,88,107,.4) !important}
html[data-theme="dark"] .bot-type-card.active{background:rgba(46,88,107,.08) !important;box-shadow:0 0 20px rgba(46,88,107,.12) !important}
html[data-theme="dark"] .reversal-config{border:1px solid rgba(46,88,107,.22) !important;background:linear-gradient(180deg, rgba(46,88,107,.06), rgba(32,37,44,.25)) !important}
html[data-theme="dark"] .reversal-preview{color:#6a92c8 !important}
html[data-theme="dark"] input,html[data-theme="dark"] select{background:rgba(32,37,44,.48) !important}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus{border-color:rgba(46,88,107,.7) !important;box-shadow:0 0 0 4px rgba(46,88,107,.10) !important}
html[data-theme="dark"] select option{color:#9cadd4 !important}
html[data-theme="dark"] .form-line a{color:#6aa8c8 !important}
html[data-theme="dark"] .notice{color:#6a78c8 !important;background:rgba(178,154,56,.1) !important;border:1px solid rgba(178,154,56,.18) !important}
html[data-theme="dark"] .gate-test-result.success{background:rgba(56,178,101,.1) !important;border:1px solid rgba(56,178,101,.25) !important;color:#6ac88c !important}
html[data-theme="dark"] .gate-test-result.error{background:rgba(75,37,43,.1) !important;border:1px solid rgba(75,37,43,.25) !important;color:#c86a76 !important}
html[data-theme="dark"] th,html[data-theme="dark"] td{color:#6a92c8 !important}
html[data-theme="dark"] .check-list{color:#7c96b6 !important}
html[data-theme="dark"] .mini-list div,html[data-theme="dark"] .metric-list div{background:rgba(28,34,43,.6) !important}
html[data-theme="dark"] .mini-list div:hover,html[data-theme="dark"] .metric-list div:hover{border-color:rgba(46,88,107,.2) !important}
html[data-theme="dark"] .mail-preview{background:rgba(32,37,44,.36) !important}
html[data-theme="dark"] .learning-card:hover{border-color:rgba(46,88,107,.3) !important;box-shadow:0 8px 32px rgba(46,88,107,.1) !important}
html[data-theme="dark"] .community-card:hover{border-color:rgba(46,88,107,.3) !important;box-shadow:0 8px 32px rgba(46,88,107,.1) !important}
html[data-theme="dark"] .modal-backdrop{background:rgba(32,37,44,.72) !important}
html[data-theme="dark"] .preflight-hero{border:1px solid rgba(46,88,107,.2) !important;background:linear-gradient(135deg, rgba(46,88,107,.13), rgba(178,159,56,.07)) !important}
html[data-theme="dark"] .preflight-orb{background:rgba(32,37,44,.68) !important;box-shadow:inset 0 0 0 1px rgba(32,37,44,.08), 0 12px 28px rgba(46,88,107,.12) !important}
html[data-theme="dark"] .preflight-chip{background:rgba(32,37,44,.54) !important;border:1px solid rgba(61,74,92,.16) !important}
html[data-theme="dark"] .preflight-check{background:rgba(32,37,44,.46) !important;border:1px solid rgba(61,74,92,.14) !important}
html[data-theme="dark"] .preflight-check.ok .mark{background:rgba(56,178,101,.18) !important}
html[data-theme="dark"] .preflight-check.warn .mark{background:rgba(178,154,56,.18) !important}
html[data-theme="dark"] .preflight-check.bad .mark{background:rgba(75,37,43,.18) !important}
html[data-theme="dark"] .toast{background:rgba(32,37,44,.95) !important;border:1px solid rgba(46,88,107,.32) !important}
html[data-theme="dark"] .symbol-dropdown{box-shadow:0 8px 24px rgba(8,10,12,.4) !important}
html[data-theme="dark"] .symbol-option:hover{background:rgba(178,159,56,.08) !important}
html[data-theme="dark"] .signal-mode-btn.active{color:#e3e7ec !important}
html[data-theme="dark"] .signal-mode-btn:hover:not(.active){background:rgba(178,159,56,.1) !important}
html[data-theme="dark"] .gate-test-result.success{background:rgba(56,178,101,.12) !important;border:1px solid rgba(56,178,101,.3) !important}
html[data-theme="dark"] .gate-test-result.error{background:rgba(75,37,43,.12) !important;border:1px solid rgba(75,37,43,.3) !important}
html[data-theme="dark"] .pill.skipped{background:rgba(61,74,92,.15) !important}
html[data-theme="dark"] .exchange-card.active{box-shadow:0 0 12px rgba(178,159,56,.12) !important}
html[data-theme="dark"] .exchange-card.active:hover{box-shadow:0 4px 20px rgba(178,159,56,.2) !important}
html[data-theme="dark"] .exchange-logo{color:#f4f6f8 !important}
html[data-theme="dark"] .exchange-logo.gate{background:linear-gradient(135deg, #2e406b, #3857b2) !important}
html[data-theme="dark"] .exchange-logo.binance{background:linear-gradient(135deg, #b29538, #b29338) !important}
html[data-theme="dark"] .exchange-logo.okx{background:linear-gradient(135deg, #20252c, #191d23) !important;color:#e3e7ec !important}
html[data-theme="dark"] .exchange-logo.bybit{background:linear-gradient(135deg, #b28a38, #b28938) !important}
html[data-theme="dark"] .exchange-logo.bitget{background:linear-gradient(135deg, #38b29a, #1f473f) !important}
html[data-theme="dark"] .exchange-logo.coinex{background:linear-gradient(135deg, #1f4730, #1f472f) !important}
html[data-theme="dark"] .tv-alert-code{background:rgba(61,74,92,.28) !important;border-bottom:4px solid rgba(39,45,53,.6) !important}
html[data-theme="dark"] .tv-alert-code code{color:#7099c2 !important}
html[data-theme="dark"] .night-hero{border:1px solid rgba(56,178,165,.28) !important;background:linear-gradient(135deg, rgba(23,33,49,.82), rgba(23,34,49,.72)) !important}
html[data-theme="dark"] .completion-ring{background:conic-gradient(var(--accent, #38b2a5) calc(var(--pct) * 1%), rgba(32,37,44,.10) 0) !important;box-shadow:0 18px 50px rgba(56,178,165,.18) !important}
html[data-theme="dark"] .completion-ring::after{background:rgba(23,33,49,.92) !important}
html[data-theme="dark"] .completion-ring strong{color:#7099c2 !important}
html[data-theme="dark"] .completion-ring span{color:#899fbd !important}
html[data-theme="dark"] .night-card{border:1px solid rgba(32,37,44,.10) !important;background:rgba(23,34,49,.52) !important}
html[data-theme="dark"] .night-card span{color:#899fbd !important}
html[data-theme="dark"] .night-card strong{color:#7099c2 !important}
html[data-theme="dark"] .night-card small{color:#a6afbb !important}
html[data-theme="dark"] .setup-list > div{background:rgba(32,37,44,.055) !important;border:1px solid rgba(32,37,44,.08) !important}
html[data-theme="dark"] .webhook-copy-box{background:rgba(56,178,165,.09) !important;border:1px solid rgba(56,178,165,.24) !important}
html[data-theme="dark"] .webhook-copy-box code{color:#6ac8b6 !important}
html[data-theme="dark"] .risk-note{color:#cdb679 !important}
html[data-theme="dark"] .warning-list li{color:#6a78c8 !important;background:rgba(178,106,56,.11) !important;border:1px solid rgba(178,106,56,.25) !important}
html[data-theme="dark"] .timeline-item{background:rgba(32,37,44,.05) !important;border:1px solid rgba(32,37,44,.08) !important}
html[data-theme="dark"] .timeline-dot{background:#b26a38 !important;box-shadow:0 0 0 5px rgba(178,106,56,.12) !important}
html[data-theme="dark"] .timeline-dot.buy{background:#38b265 !important;box-shadow:0 0 0 5px rgba(56,178,101,.12) !important}
html[data-theme="dark"] .timeline-dot.sell{background:#6b2e2e !important;box-shadow:0 0 0 5px rgba(107,46,46,.12) !important}
html[data-theme="dark"] .timeline-item p{color:#7c96b6 !important}
html[data-theme="dark"] .timeline-item small{color:#a6afbb !important}
html[data-theme="dark"] body{background:radial-gradient(circle at 16% 8%, rgba(46,52,107,.16), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(46,52,107,.12), transparent 24rem),
    radial-gradient(circle at 55% 82%, rgba(56,168,178,.07), transparent 32rem),
    linear-gradient(180deg, #080a0c, #2b251d 46%, #080a0c) !important}
html[data-theme="dark"] body::before{background-image:linear-gradient(90deg, rgba(32,37,44,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32,37,44,.026) 1px, transparent 1px) !important}
html[data-theme="dark"] .panel::before,html[data-theme="dark"] .stat-card::before,html[data-theme="dark"] .hero-card::before,html[data-theme="dark"] .modal::before,html[data-theme="dark"] .bot-card::before,html[data-theme="dark"] .exchange-account-card::before,html[data-theme="dark"] .bot-type-card::before,html[data-theme="dark"] .preflight-chip::before,html[data-theme="dark"] .preflight-check::before{background:linear-gradient(180deg, rgba(46,52,107,.76), transparent 74%) !important}
html[data-theme="dark"] .sidebar{background:color-mix(in srgb, #080a0c 78%, transparent) !important;border-right-color:rgba(46,52,107,.18) !important}
html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .bot-icon,html[data-theme="dark"] .preflight-orb,html[data-theme="dark"] .detail-card-title .icon{background:linear-gradient(145deg, rgba(46,52,107,.24), rgba(56,168,178,.08)) !important;border:1px solid rgba(46,52,107,.22) !important;box-shadow:inset 0 1px 0 rgba(32,37,44,.08), 0 12px 34px rgba(8,10,12,.24) !important}
html[data-theme="dark"] .topbar h2,html[data-theme="dark"] .hero-card h3,html[data-theme="dark"] .panel h3,html[data-theme="dark"] .modal h3,html[data-theme="dark"] .stat-card strong,html[data-theme="dark"] .bot-main strong{text-shadow:0 1px 0 rgba(8,10,12,.24) !important}
html[data-theme="dark"] .eyebrow{background:rgba(46,52,107,.13) !important;border:1px solid rgba(46,52,107,.24) !important}
html[data-theme="dark"] .nav button:hover,html[data-theme="dark"] .nav button.active{background:rgba(46,52,107,.13) !important;border-color:rgba(46,52,107,.24) !important;box-shadow:inset 0 1px 0 rgba(32,37,44,.06), 0 10px 24px rgba(8,10,12,.16) !important}
html[data-theme="dark"] .primary{color:#d8ba97 !important;background:linear-gradient(180deg, color-mix(in srgb, var(--gold) 96%, #20252c 10%), var(--gold)) !important;box-shadow:0 14px 38px rgba(46,52,107,.20), inset 0 1px 0 rgba(32,37,44,.28) !important}
html[data-theme="dark"] .ghost,html[data-theme="dark"] .small-btn,html[data-theme="dark"] .icon-btn{background:rgba(43,36,23,.075) !important;border:1px solid rgba(46,52,107,.18) !important}
html[data-theme="dark"] .primary:hover,html[data-theme="dark"] .ghost:hover,html[data-theme="dark"] .small-btn:hover,html[data-theme="dark"] .icon-btn:hover,html[data-theme="dark"] .bot-card:hover,html[data-theme="dark"] .panel:hover,html[data-theme="dark"] .stat-card:hover,html[data-theme="dark"] .bot-type-card:hover:not(.disabled){border-color:rgba(46,52,107,.42) !important;box-shadow:0 1px 0 rgba(32,37,44,.08), 0 30px 90px rgba(8,10,12,.46) !important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:rgba(8,10,12,.42) !important;border-color:rgba(46,52,107,.20) !important;box-shadow:inset 0 1px 0 rgba(32,37,44,.05) !important}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:rgba(46,52,107,.66) !important;box-shadow:0 0 0 3px rgba(46,52,107,.13), inset 0 1px 0 rgba(32,37,44,.06) !important}
html[data-theme="dark"] select option{color:#d8bc97 !important;background:#1a1f29 !important}
html[data-theme="dark"] .webhook-box,html[data-theme="dark"] .code-card,html[data-theme="dark"] pre,html[data-theme="dark"] .webhook-url-box{background:rgba(8,10,12,.46) !important}
html[data-theme="dark"] .webhook-box code,html[data-theme="dark"] .code-card code,html[data-theme="dark"] .webhook-url-box code,html[data-theme="dark"] pre,html[data-theme="dark"] code{color:#c8aa6a !important}
html[data-theme="dark"] .bot-type-card.active,html[data-theme="dark"] .signal-mode-btn.active{background:linear-gradient(180deg, rgba(46,52,107,.18), rgba(46,52,107,.07)) !important;border-color:rgba(46,52,107,.52) !important;box-shadow:0 0 0 3px rgba(46,52,107,.10), var(--shadow) !important}
html[data-theme="dark"] .modal-backdrop{background:radial-gradient(circle at 50% 18%, rgba(46,52,107,.15), transparent 26rem), rgba(8,10,12,.70) !important}
html[data-theme="dark"] .balance-item,html[data-theme="dark"] .stat-chip,html[data-theme="dark"] .tv-alert-item,html[data-theme="dark"] .symbol-option,html[data-theme="dark"] .chat-bubble,html[data-theme="dark"] .timeline-item{background:rgba(43,36,23,.055) !important;border-color:rgba(46,52,107,.16) !important}
html[data-theme="dark"] .pill.ok,html[data-theme="dark"] .status-dot{box-shadow:0 0 22px rgba(56,178,101,.28) !important}
html[data-theme="dark"] .symbol-dropdown{background:#17222b !important;border:1px solid rgba(46,52,107,.46) !important;box-shadow:0 24px 70px rgba(8,10,12,.72), inset 0 1px 0 rgba(32,37,44,.06) !important}
html[data-theme="dark"] .symbol-option{background:#17222b !important;border-bottom:1px solid rgba(46,52,107,.16) !important}
html[data-theme="dark"] .symbol-option:nth-child(even){background:#17222b !important}
html[data-theme="dark"] .symbol-option:hover{background:#302617 !important;color:#6a7ac8 !important}
html[data-theme="dark"] .symbol-option small{color:#baa278 !important}
html[data-theme="dark"] .bot-action-btn{border:1px solid rgba(46,52,107,.22) !important;background:rgba(43,36,23,.075) !important;box-shadow:inset 0 1px 0 rgba(32,37,44,.06), 0 10px 24px rgba(8,10,12,.18) !important}
html[data-theme="dark"] .bot-action-btn:hover{border-color:rgba(46,52,107,.48) !important;background:rgba(46,52,107,.13) !important;box-shadow:0 16px 34px rgba(8,10,12,.28) !important}
html[data-theme="dark"] .bot-action-btn.play{color:#6ac88b !important;border-color:rgba(56,178,101,.26) !important}
html[data-theme="dark"] .bot-action-btn.pause{color:#6a78c8 !important}
html[data-theme="dark"] .bot-action-btn.edit{color:#6a79c8 !important}
html[data-theme="dark"] .bot-action-btn.danger{color:#c86a76 !important;border-color:rgba(75,37,43,.32) !important;background:rgba(75,37,43,.10) !important}
html[data-theme="dark"] .bot-action-btn.danger:hover{background:rgba(75,37,43,.18) !important;border-color:rgba(75,37,43,.52) !important}
html[data-theme="dark"] .intraday-card{background:rgba(43,36,23,.055) !important;border:1px solid rgba(46,52,107,.16) !important}
html[data-theme="dark"] .intraday-card span{background:rgba(46,52,107,.13) !important;border:1px solid rgba(46,52,107,.22) !important}
html[data-theme="dark"] .intraday-template{border:1px solid rgba(46,52,107,.16) !important;background:rgba(8,10,12,.32) !important}
html[data-theme="dark"] .signal-test-result{border:1px solid rgba(46,52,107,.16) !important;background:rgba(8,10,12,.28) !important}
html[data-theme="dark"] .signal-test-result.ok{border-color:rgba(56,178,101,.28) !important}
html[data-theme="dark"] .signal-test-result.warn{border-color:rgba(178,154,56,.34) !important}
html[data-theme="dark"] .auth-card{background:linear-gradient(180deg, rgba(8,10,12,.92), rgba(8,10,12,.88)) !important;border:1px solid rgba(46,52,107,.22) !important;box-shadow:0 26px 90px rgba(8,10,12,.52), inset 0 1px 0 rgba(32,37,44,.06) !important}
html[data-theme="dark"] .auth-card .eyebrow{color:#c8ad6a !important;background:rgba(46,52,107,.10) !important;border:1px solid rgba(46,52,107,.20) !important}
html[data-theme="dark"] .auth-tabs{background:rgba(27,38,44,.58) !important;border:1px solid rgba(46,52,107,.16) !important;box-shadow:inset 0 1px 0 rgba(32,37,44,.04) !important}
html[data-theme="dark"] .auth-tabs button{color:#8c95a2 !important}
html[data-theme="dark"] .auth-tabs button.active{color:#9cadd4 !important;background:linear-gradient(135deg, #4b4025, #2e356b) !important;box-shadow:0 10px 24px rgba(46,52,107,.22) !important}
html[data-theme="dark"] .auth-form label{color:#8c95a2 !important}
html[data-theme="dark"] .auth-form input{background:rgba(27,38,44,.52) !important;border-color:rgba(46,52,107,.16) !important}
html[data-theme="dark"] .auth-form input::placeholder{color:rgba(140,149,162,.48) !important}
html[data-theme="dark"] .auth-form .check-row input{accent-color:#2e356b !important}
html[data-theme="dark"] .auth-form .auth-support{color:#6a82c8 !important}
html[data-theme="dark"] .auth-form .primary.full{color:#d1ba9e !important;background:linear-gradient(135deg, #4b4025, #2e356b) !important;box-shadow:0 16px 36px rgba(46,52,107,.25) !important}
html[data-theme="dark"] .auth-foot{color:rgba(140,149,162,.78) !important}
html[data-theme="dark"] .verify-row .send-code-btn{color:#c8ad6a !important;background:rgba(46,52,107,.10) !important;border:1px solid rgba(46,52,107,.25) !important}
html[data-theme="dark"] .auth-hint{color:rgba(200,173,106,.78) !important}
html[data-theme="dark"] .test-email-panel{color:#6a92c8 !important}
html[data-theme="dark"] .test-email-panel strong{color:#c8ad6a !important}
html[data-theme="dark"] #admin-users-table code{color:#6a78c8 !important}


/* ---- remapped from ui-polish.css (11 rules) ---- */

html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:rgba(46,52,107,.75) !important;box-shadow:0 0 0 4px rgba(46,52,107,.14) !important}
html[data-theme="dark"] .toast{border-color:rgba(46,52,107,.45) !important;background:linear-gradient(180deg, rgba(29,32,42,.97), rgba(8,10,12,.97)) !important}
html[data-theme="dark"] :focus-visible{outline:2px solid var(--gold, #2e346b) !important}
html[data-theme="dark"] ::selection{background:rgba(46,52,107,.30) !important}
html[data-theme="dark"] *{scrollbar-color:rgba(46,52,107,.35) transparent !important}
html[data-theme="dark"] *::-webkit-scrollbar-thumb{background:rgba(46,52,107,.28) !important}
html[data-theme="dark"] *::-webkit-scrollbar-thumb:hover{background-color:rgba(46,52,107,.5) !important}
html[data-theme="dark"] .nav button.active::before{background:linear-gradient(180deg, var(--gold, #2e346b), rgba(46,52,107,.35)) !important}
html[data-theme="dark"] tbody tr:hover{background:rgba(46,52,107,.055) !important}
html[data-theme="dark"] .table-wrap thead th{background:rgba(28,32,43,.92) !important}
html[data-theme="dark"] .modal-backdrop.open{background:rgba(24,30,48,.66) !important}


/* ---- remapped from layout-v2.css (15 rules) ---- */

html[data-theme="dark"] .topbar{background:rgba(29,32,43,.84) !important;border-bottom:1px solid rgba(32,37,44,.08) !important}
html[data-theme="dark"] .sidebar{background:#080a0c !important;border-right:1px solid rgba(32,37,44,.08) !important}
html[data-theme="dark"] .nav button.active{background:rgba(46,52,107,.16) !important;color:#6a74c8 !important}
html[data-theme="dark"] .panel{border-color:rgba(32,37,44,.08) !important}
html[data-theme="dark"] .panel:hover{border-color:rgba(46,52,107,.38) !important}
html[data-theme="dark"] .panel-head{border-bottom:1px solid rgba(32,37,44,.06) !important}
html[data-theme="dark"] .stat-card{border-color:rgba(32,37,44,.08) !important}
html[data-theme="dark"] .stat-card::before{background:linear-gradient(90deg, #2e346b, rgba(46,52,107,0)) !important}
html[data-theme="dark"] .table-wrap{border:1px solid rgba(32,37,44,.07) !important}
html[data-theme="dark"] .primary{background:#2e346b !important;color:#f4f6f8 !important;box-shadow:0 1px 0 rgba(32,37,44,.12) inset, 0 6px 20px rgba(46,52,107,.28) !important}
html[data-theme="dark"] .primary:hover:not(:disabled){background:#2e356b !important}
html[data-theme="dark"] .ghost{border:1px solid rgba(32,37,44,.12) !important}
html[data-theme="dark"] .ghost:hover:not(:disabled){border-color:rgba(46,52,107,.45) !important;background:rgba(46,52,107,.08) !important}
html[data-theme="dark"] .modal h3{border-bottom:1px solid rgba(32,37,44,.07) !important}
html[data-theme="dark"] .modal-actions{border-top:1px solid rgba(32,37,44,.07) !important}


/* ---- remapped from theme-vibrant.css (85 rules) ---- */

html[data-theme="dark"] .bg-orbs span:nth-child(1){background:#17222b !important}
html[data-theme="dark"] .bg-orbs span:nth-child(2){background:#2b1722 !important}
html[data-theme="dark"] .bg-orbs span:nth-child(3){background:#2b2517 !important}
html[data-theme="dark"] .sidebar{background:#20252c !important}
html[data-theme="dark"] .nav button:hover{background:#17222b !important}
html[data-theme="dark"] .nav button.active{background:linear-gradient(135deg, rgba(46,79,107,.12), rgba(178,56,111,.10)) !important;color:#88b0d3 !important}
html[data-theme="dark"] .topbar{background:rgba(32,37,44,.78) !important}
html[data-theme="dark"] .topbar h2{background:linear-gradient(120deg, #2e4f6b, #b2386f) !important}
html[data-theme="dark"] .topbar .eyebrow{color:#8c95a2 !important}
html[data-theme="dark"] .panel,html[data-theme="dark"] .glass,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .hero-card,html[data-theme="dark"] .modal,html[data-theme="dark"] .learning-card,html[data-theme="dark"] .intraday-card{box-shadow:0 6px 20px rgba(29,36,43,.05) !important}
html[data-theme="dark"] .panel:hover{border-color:#253a4b !important}
html[data-theme="dark"] .eyebrow{color:#8c95a2 !important}
html[data-theme="dark"] .stat-card:nth-child(1)::before{background:#2e4f6b !important}
html[data-theme="dark"] .stat-card:nth-child(2)::before{background:#b2386f !important}
html[data-theme="dark"] .stat-card:nth-child(3)::before{background:#1f472e !important}
html[data-theme="dark"] .stat-card:nth-child(4)::before{background:#b28538 !important}
html[data-theme="dark"] th{color:#8c95a2 !important}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-bottom:1px solid #17222b !important}
html[data-theme="dark"] .table-wrap{background:#20252c !important}
html[data-theme="dark"] .table-wrap thead th{background:#17222b !important}
html[data-theme="dark"] tbody tr:hover{background:#17222b !important}
html[data-theme="dark"] .primary{background:linear-gradient(135deg, #2e4f6b, #b2386f) !important;color:#f4f6f8 !important;box-shadow:0 6px 18px rgba(46,79,107,.28) !important}
html[data-theme="dark"] .primary:hover:not(:disabled){background:linear-gradient(135deg, #2e4f6b, #6b2e4a) !important;box-shadow:0 8px 22px rgba(46,79,107,.36) !important}
html[data-theme="dark"] .ghost{background:#20252c !important;border:1px solid #17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .ghost:hover:not(:disabled){border-color:#2e4f6b !important;color:#88b0d3 !important;background:#17222b !important}
html[data-theme="dark"] .small-btn{background:#17222b !important;color:#88b0d3 !important}
html[data-theme="dark"] .small-btn:hover:not(:disabled){background:#17222b !important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#20252c !important;border:1px solid #17222b !important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8c95a2 !important}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:#2e4f6b !important;box-shadow:0 0 0 4px rgba(46,79,107,.14) !important}
html[data-theme="dark"] select option{background:#20252c !important}
html[data-theme="dark"] .bot-form label{color:#a6afbb !important}
html[data-theme="dark"] .modal-backdrop{background:rgba(29,36,43,.38) !important}
html[data-theme="dark"] .toast{background:#20252c !important;border:1px solid #17222b !important;box-shadow:0 12px 32px rgba(29,36,43,.16) !important}
html[data-theme="dark"] .notice{background:#17222b !important;border:1px solid #17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .exchange-tags span,html[data-theme="dark"] .badge,html[data-theme="dark"] .chip{background:#17222b !important;color:#88b0d3 !important}
html[data-theme="dark"] :focus-visible{outline-color:#2e4f6b !important}
html[data-theme="dark"] ::selection{background:rgba(46,79,107,.18) !important}
html[data-theme="dark"] *{scrollbar-color:#253a4b transparent !important}
html[data-theme="dark"] *::-webkit-scrollbar-thumb{background:#17222b !important}
html[data-theme="dark"] *::-webkit-scrollbar-thumb:hover{background-color:#253a4b !important}
html[data-theme="dark"] .auth-card{box-shadow:0 20px 60px rgba(29,36,43,.10) !important}
html[data-theme="dark"] .buy,html[data-theme="dark"] .long,html[data-theme="dark"] .green,html[data-theme="dark"] .positive{color:#97d8af !important}
html[data-theme="dark"] .sell,html[data-theme="dark"] .short,html[data-theme="dark"] .red,html[data-theme="dark"] .negative{color:#d3889a !important}
html[data-theme="dark"] .sidebar{background:#20252c !important}
html[data-theme="dark"] body::before{background-image:linear-gradient(90deg, rgba(29,36,43,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(29,36,43,.035) 1px, transparent 1px) !important}
html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .bot-icon,html[data-theme="dark"] .preflight-orb,html[data-theme="dark"] .detail-card-title .icon{background:linear-gradient(145deg, rgba(46,79,107,.14), rgba(178,56,111,.10)) !important;border:1px solid #17222b !important}
html[data-theme="dark"] .tags span,html[data-theme="dark"] .pill{background:#17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .pill.ok{background:#172b1f !important;color:#97d8af !important}
html[data-theme="dark"] .pill.warn{background:#2b2617 !important;color:#d3b788 !important}
html[data-theme="dark"] .pill.fail{background:#2b171b !important;color:#d3889a !important}
html[data-theme="dark"] .pill.info{background:#171f2b !important;color:#889cd3 !important}
html[data-theme="dark"] .pill.skipped{background:#1a2228 !important;color:#a6afbb !important}
html[data-theme="dark"] .status-dot{box-shadow:0 0 8px rgba(31,71,46,.35) !important}
html[data-theme="dark"] .panel:hover,html[data-theme="dark"] .stat-card:hover{box-shadow:0 10px 28px rgba(29,36,43,.09) !important}
html[data-theme="dark"] .symbol-option{background:#17222b !important}
html[data-theme="dark"] .symbol-option:nth-child(even){background:#17222b !important}
html[data-theme="dark"] .symbol-option:hover{background:#17222b !important}
html[data-theme="dark"] .intraday-live-card{background:#17222b !important;border-left:3px solid #2e4f6b !important}
html[data-theme="dark"] .history-list{background:#20252c !important}
html[data-theme="dark"] .history-item:hover{background:#17222b !important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8c95a2 !important}
html[data-theme="dark"] .pw-meter i{background:#6b2e34 !important}
html[data-theme="dark"] .pw-meter[data-level="2"] i{background:#6b4f2e !important}
html[data-theme="dark"] .pw-meter[data-level="3"] i{background:#96b238 !important}
html[data-theme="dark"] .pw-meter[data-level="4"] i{background:#38b285 !important}
html[data-theme="dark"] .testnet-badge{background:rgba(178,133,56,.14) !important;color:#d3a888 !important;border:1px solid rgba(178,133,56,.35) !important}
html[data-theme="dark"] .auth-hint.risk{color:#d3a888 !important}
html[data-theme="dark"] .auth-card{color:#6a79c8 !important}
html[data-theme="dark"] .auth-card h1,html[data-theme="dark"] .auth-card h2{color:#6a7dc8 !important}
html[data-theme="dark"] .auth-card .brand p,html[data-theme="dark"] .auth-card .muted,html[data-theme="dark"] .auth-card .auth-hint,html[data-theme="dark"] .auth-card .auth-foot{color:#7c8cb6 !important}
html[data-theme="dark"] .auth-card .auth-hint.risk{color:#cdb679 !important}
html[data-theme="dark"] .auth-card a{color:#6a7ec8 !important}
html[data-theme="dark"] .auth-card .check-row{color:#7c8cb6 !important}
html[data-theme="dark"] .auth-form input{color:#6a79c8 !important}
html[data-theme="dark"] .auth-form input::placeholder{color:rgba(124,143,182,.55) !important}
html[data-theme="dark"] .auth-card .eyebrow{color:#c8ad6a !important;background:rgba(75,64,37,.08) !important;border-color:rgba(75,64,37,.35) !important}
html[data-theme="dark"] .auth-card .pw-meter span{color:#7c8cb6 !important}
html[data-theme="dark"] .reg-success{background:linear-gradient(180deg, rgba(8,10,12,.97), rgba(8,10,12,.97)) !important}
html[data-theme="dark"] .reg-check circle{stroke:#38b285 !important}
html[data-theme="dark"] .reg-check path{stroke:#38b285 !important}
html[data-theme="dark"] .reg-success h3{color:#6a7dc8 !important}
html[data-theme="dark"] .reg-success p{color:#7c8cb6 !important}
html[data-theme="dark"] .reg-success ol{color:#7c8ab6 !important}
html[data-theme="dark"] .reg-success .reg-auto-hint{color:#8c95a2 !important}


/* ---- remapped from production-polish.css (204 rules) ---- */

html[data-theme="dark"] .auth-form label,html[data-theme="dark"] .auth-card .muted,html[data-theme="dark"] .auth-card .auth-foot{color:#7c8ab6 !important}
html[data-theme="dark"] .auth-form input::placeholder{color:#8998bd !important}
html[data-theme="dark"] .pw-eye{color:#6a7dc8 !important;background:#1c202c !important;border:1px solid #323945 !important}
html[data-theme="dark"] .pw-eye:hover,html[data-theme="dark"] .pw-eye:focus-visible{color:#f4f6f8 !important;background:#282f3e !important}
html[data-theme="dark"] .sidebar [data-page].active{box-shadow:inset 3px 0 0 var(--accent, #2e4f6b) !important}
html[data-theme="dark"] .security-reminders .check-list li{color:#e3e7ec !important}
html[data-theme="dark"] .exchange-card{color:#a4b9cc !important}
html[data-theme="dark"] .exchange-account-empty{border:1px dashed #293947 !important;background:#17222b !important}
html[data-theme="dark"] .longzong-scope{border:1px solid #253a4b !important;background:#17222b !important}
html[data-theme="dark"] .longzong-scope .field-label{color:#a4b9cc !important}
html[data-theme="dark"] .scope-chips span{border:1px solid #253a4b !important;background:#17222b !important;color:#8db0ce !important}
html[data-theme="dark"] .longzong-summary-grid > div{border:1px solid #17222b !important;background:#17222b !important}
html[data-theme="dark"] .longzong-summary-grid strong{color:#a4b9cc !important}
html[data-theme="dark"] .modal-xl > .modal-actions{background:rgba(23,34,43,.98) !important;border-top:1px solid #17222b !important}
html[data-theme="dark"] #bot-modal .bot-form label{color:#e3e7ec !important}
html[data-theme="dark"] #bot-modal .bot-form small,html[data-theme="dark"] #bot-modal .bot-type-card small,html[data-theme="dark"] #bot-modal .signal-config-panel small{color:#e3e7ec !important}
html[data-theme="dark"] #bot-modal .cost-limit-hint{color:#8cb0cf !important}
html[data-theme="dark"] #bot-modal .bot-type-card strong{color:#e3e7ec !important}
html[data-theme="dark"] #bot-modal .longzong-summary-card{border:1px solid #17222b !important;background:#17222b !important}
html[data-theme="dark"] #bot-modal .longzong-summary-card small{color:#a6afbb !important}
html[data-theme="dark"] #bot-modal .longzong-summary-card strong{color:#e3e7ec !important}
html[data-theme="dark"] #bot-modal .longzong-signal-example{border:1px solid #253a4b !important;background:#17222b !important}
html[data-theme="dark"] #bot-modal .longzong-signal-example figcaption{color:#97afc4 !important}
html[data-theme="dark"] #bot-modal .longzong-signal-example figcaption em{color:#8db0cd !important;background:#17222b !important}
html[data-theme="dark"] #bot-modal .longzong-signal-example pre{color:#e3e7ec !important}
html[data-theme="dark"] #bot-modal .api-key-mode-conflict{color:#d38896 !important;background:#2b171a !important;border:1px solid #4b252c !important;border-left:4px solid #b2384c !important}
html[data-theme="dark"] #bot-modal #api-key-select.field-invalid{border-color:#b2384c !important;box-shadow:0 0 0 3px rgba(178,56,76,.13) !important}
html[data-theme="dark"] #bot-modal .longzong-leverage-grid{border:1px solid #253a4b !important;background:#17222b !important}
html[data-theme="dark"] #bot-modal .webhook-url-box code,html[data-theme="dark"] #bot-modal .tv-alert-code code{color:#9fb9d0 !important}
html[data-theme="dark"] #bot-modal .webhook-url-box,html[data-theme="dark"] #bot-modal .tv-alert-code{background:#17222b !important;border:1px solid #2a3946 !important}
html[data-theme="dark"] #bot-modal .webhook-url-box .icon-btn,html[data-theme="dark"] #bot-modal .tv-alert-code .icon-btn{color:#8fb0cc !important;background:#20252c !important;border-color:#384e61 !important}
html[data-theme="dark"] #bot-modal .webhook-network-warning{color:#d8c097 !important;background:#2b2517 !important;border-left:4px solid #47381f !important}
html[data-theme="dark"] #bot-modal .tv-alert-disclosure,html[data-theme="dark"] #bot-modal .bot-advanced-disclosure{border:1px solid #273949 !important;background:#17222b !important}
html[data-theme="dark"] #bot-modal .tv-alert-disclosure > summary,html[data-theme="dark"] #bot-modal .bot-advanced-disclosure > summary{color:#a4b9cc !important}
html[data-theme="dark"] #bot-modal .tv-alert-disclosure > summary::after,html[data-theme="dark"] #bot-modal .bot-advanced-disclosure > summary::after{color:#88b0d3 !important}
html[data-theme="dark"] #bot-modal .bot-advanced-body{border-top:1px solid #192229 !important}
html[data-theme="dark"] #bot-modal .tv-alert-disclosure .tv-alert-section{border-top:1px solid #192229 !important}
html[data-theme="dark"] #bot-modal .modal-xl > .modal-actions{background:rgba(23,34,43,.98) !important;border-top:1px solid #17222b !important}
html[data-theme="dark"] .site-dialog-backdrop.open{background:rgba(29,36,43,.56) !important}
html[data-theme="dark"] .site-dialog-backdrop.open .site-dialog-card{background:#20252c !important;color:#a4b9cc !important}
html[data-theme="dark"] .site-dialog-card h3{color:#a4b9cc !important}
html[data-theme="dark"] .site-dialog-icon{background:#2b2617 !important}
html[data-theme="dark"] .site-dialog-message{color:#e3e7ec !important}
html[data-theme="dark"] .site-dialog-card .danger-btn{color:#f4f6f8 !important;background:#b2384b !important;border-color:#b2384b !important}
html[data-theme="dark"] .setup-next-step{border-color:#253a4b !important;background:linear-gradient(135deg, #17222b, #17222b) !important}
html[data-theme="dark"] .longzong-risk-notice{border-left:4px solid #47381f !important;background:#2b2517 !important;color:#d8c097 !important}
html[data-theme="dark"] .password-field .icon-btn{color:#e3e7ec !important;background:#17222b !important;border:1px solid #273949 !important}
html[data-theme="dark"] #longzong-settings-panel .longzong-service-state{border:1px solid #17222b !important;background:#17222b !important}
html[data-theme="dark"] #longzong-settings-panel .longzong-service-state small{color:#a6afbb !important}
html[data-theme="dark"] #longzong-settings-panel .longzong-service-state strong{color:#e3e7ec !important}
html[data-theme="dark"] #longzong-settings-panel .longzong-service-state span{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-controls label{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-symbol-controls label{color:#a4b9cc !important;background:#17222b !important;border:1px solid #253a4b !important}
html[data-theme="dark"] .backtest-stats .stat-card{background:#20252c !important;border-color:#293948 !important}
html[data-theme="dark"] .backtest-stats .stat-card span,html[data-theme="dark"] .backtest-stats .stat-card small{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-stats .stat-card strong{color:#a4b9cc !important}
html[data-theme="dark"] .backtest-scroll-hint{color:#a6afbb !important}
html[data-theme="dark"] .backtest-disclaimer{border-left:4px solid #2e4f6b !important}
html[data-theme="dark"] .backtest-funnel{border-left:4px solid #2e4f6b !important}
html[data-theme="dark"] .backtest-funnel strong{color:#a4b9cc !important}
html[data-theme="dark"] .backtest-funnel span{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-funnel small{color:#a6afbb !important}
html[data-theme="dark"] .backtest-excluded-panel > summary small{color:#a6afbb !important}
html[data-theme="dark"] .backtest-excluded-body{border-top:1px solid #18222b !important}
html[data-theme="dark"] .backtest-excluded-row{background:#20252c !important;border:1px solid #17222b !important}
html[data-theme="dark"] .backtest-excluded-row time{color:#a6afbb !important}
html[data-theme="dark"] .backtest-excluded-row p{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-excluded-row small{color:#a6afbb !important}
html[data-theme="dark"] .backtest-excluded-row em{color:#79a6cd !important}
html[data-theme="dark"] .backtest-message-compare{border-bottom:1px solid #17222b !important}
html[data-theme="dark"] #backtest-original-message{border:1px solid #18222a !important;background:#17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .backtest-parsed-summary > *{background:#17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .backtest-parsed-summary strong{background:#17222b !important;color:#8db0ce !important}
html[data-theme="dark"] .backtest-chart-shell{border:1px solid #191d23 !important;background:#1b1e2d !important;box-shadow:inset 0 0 0 1px rgba(32,37,44,.025) !important}
html[data-theme="dark"] .backtest-detail{color:#e3e7ec !important;background:#17222b !important;border:1px solid #17222b !important}
html[data-theme="dark"] .backtest-detail strong{color:#e3e7ec !important}
html[data-theme="dark"] .backtest-trade-row{color:#e3e7ec !important;background:#20252c !important;border:1px solid #17222b !important}
html[data-theme="dark"] .backtest-trade-row:hover,html[data-theme="dark"] .backtest-trade-row.active{background:#17222b !important;border-color:#2e4f6b !important}
html[data-theme="dark"] .backtest-trade-row small{color:#a6afbb !important}
html[data-theme="dark"] .backtest-side.buy{color:#97d8bb !important}
html[data-theme="dark"] .backtest-side.sell{color:#d38891 !important}
html[data-theme="dark"] .backtest-outcome.tp{color:#97d8bb !important}
html[data-theme="dark"] .backtest-outcome.sl{color:#d38891 !important}
html[data-theme="dark"] .backtest-outcome.breakeven{color:#88b8d3 !important}
html[data-theme="dark"] .backtest-outcome.overlap_skipped,html[data-theme="dark"] .backtest-outcome.unfilled{color:#a6afbb !important}
html[data-theme="dark"] .backtest-trade-row .backtest-result-hint{color:#a6afbb !important}
html[data-theme="dark"] .backtest-trade-row .backtest-no-pnl,html[data-theme="dark"] .backtest-trade-row .backtest-zero-pnl{color:#a6afbb !important}
html[data-theme="dark"] .backtest-trade-row .backtest-no-pnl small{color:#a6afbb !important}
html[data-theme="dark"] #bot-preflight-modal .preflight-modal{scrollbar-color:#2e4f6b transparent !important}
html[data-theme="dark"] #bot-preflight-modal .modal-actions{background:rgba(23,34,43,.98) !important;border-top:1px solid #17222b !important}
html[data-theme="dark"] .bots-panel .bot-card{border:1px solid #2a3946 !important;background:#20252c !important}
html[data-theme="dark"] .bot-main strong{color:#a4b9cc !important}
html[data-theme="dark"] .bot-main p{color:#a6afbb !important}
html[data-theme="dark"] .bot-metrics div{border-left:1px solid #1a2229 !important}
html[data-theme="dark"] .bot-metrics dt{color:#a6afbb !important}
html[data-theme="dark"] .bot-metrics dd{color:#e3e7ec !important}
html[data-theme="dark"] .bot-metrics dd small{color:#a6afbb !important}
html[data-theme="dark"] .bot-status-line{color:#a6afbb !important}
html[data-theme="dark"] .bot-actions{border-left:1px solid #1a2229 !important}
html[data-theme="dark"] .bot-action-main{color:#d8c197 !important;background:#2b2617 !important;border:1px solid #6b572e !important}
html[data-theme="dark"] .bot-action-main.play{color:#97d8b1 !important;background:#172b1d !important;border-color:#336642 !important}
html[data-theme="dark"] .bot-action-secondary{color:#97bad8 !important;background:#17222b !important;border:1px solid #253a4b !important}
html[data-theme="dark"] .bot-action-danger{color:#d38893 !important;background:#2b171a !important;border:1px solid #6b2e38 !important}
html[data-theme="dark"] .notice.error,html[data-theme="dark"] .notice.fail{border-left:4px solid var(--red, #6b2e30) !important}
html[data-theme="dark"] .notice.ok{border-left:4px solid var(--green, #38b277) !important}
html[data-theme="dark"] [aria-invalid="true"]{border-color:#b23848 !important;outline:2px solid rgba(178,56,72,.18) !important}
html[data-theme="dark"] .field-error{color:#d38891 !important}
html[data-theme="dark"] .auth-card .field-error{color:#c86a79 !important}
html[data-theme="dark"] .exchange-modal-result{border:1px solid #4b2525 !important;background:#2b1717 !important;color:#d38892 !important}
html[data-theme="dark"] .exchange-modal-result.progress{border-color:#17222b !important;background:#17222b !important;color:#88b0d3 !important}
html[data-theme="dark"] .exchange-modal-result.success{border-color:#254b30 !important;background:#172b1d !important;color:#97d8b0 !important}
html[data-theme="dark"] .app-update-banner{color:#e3e7ec !important;background:#20252c !important;border:1px solid #2e4f6b !important;box-shadow:0 16px 44px rgba(24,37,48,.22) !important}
html[data-theme="dark"] .app-update-banner span{color:#e3e7ec !important}
html[data-theme="dark"] .account-action-btn{border:1px solid #2b3945 !important;background:#20252c !important;color:#a4b9cc !important}
html[data-theme="dark"] .account-action-btn.edit{color:#8cb0cf !important;border-color:#253a4b !important;background:#17222b !important}
html[data-theme="dark"] .account-action-btn.test{color:#97c6d8 !important;border-color:#25414b !important;background:#17252b !important}
html[data-theme="dark"] .account-action-btn.trade{color:#f4f6f8 !important;border-color:#080a0c !important;background:#080a0c !important}
html[data-theme="dark"] .account-action-btn.delete{color:#d38895 !important;border-color:#4b252c !important;background:#2b1719 !important}
html[data-theme="dark"] .exchange-logo.okx{color:#e3e7ec !important;background:#080a0c !important}
html[data-theme="dark"] #exchange-modal .bot-form{scrollbar-color:#2e4f6b #17222b !important}
html[data-theme="dark"] #exchange-modal .bot-form::-webkit-scrollbar-track{background:#17222b !important}
html[data-theme="dark"] #exchange-modal .bot-form::-webkit-scrollbar-thumb{background:#2e4f6b !important;border:2px solid #17222b !important}
html[data-theme="dark"] #exchange-modal .exchange-guide{color:#e3e7ec !important}
html[data-theme="dark"] #exchange-modal .exchange-guide small{color:#a6afbb !important}
html[data-theme="dark"] #exchange-modal .exchange-modal-result{border:1px solid #4b2525 !important;background:#2b1717 !important;color:#d38888 !important}
html[data-theme="dark"] #exchange-modal .exchange-modal-result.progress{border-color:#17222b !important;background:#17222b !important;color:#88b0d3 !important}
html[data-theme="dark"] #exchange-modal .exchange-modal-result.success{border-color:#254b30 !important;background:#172b1d !important;color:#97d8b0 !important}
html[data-theme="dark"] #exchange-modal .modal-actions{background:#20252c !important;border-top:1px solid #17222b !important}
html[data-theme="dark"] #exchange-modal .exchange-scroll-hint{color:#79a6cd !important}
html[data-theme="dark"] #okx-trade-modal .okx-trade-modal-card{background:#18222a !important}
html[data-theme="dark"] .okx-trade-summary{border:1px solid #17222b !important;background:#17222b !important;color:#e3e7ec !important}
html[data-theme="dark"] .okx-trade-tabs{border:1px solid #17222b !important}
html[data-theme="dark"] .okx-trade-tabs button{border-right:1px solid #17222b !important;background:#20252c !important;color:#a6afbb !important}
html[data-theme="dark"] .okx-trade-tabs button.active{background:#080a0c !important;color:#f4f6f8 !important}
html[data-theme="dark"] .okx-trade-scroll{scrollbar-color:#2e4f6b #17222b !important}
html[data-theme="dark"] #okx-order-form label{color:#e3e7ec !important}
html[data-theme="dark"] .okx-instrument-hint{border:1px solid #2b3945 !important;background:#17222b !important;color:#97afc4 !important}
html[data-theme="dark"] .okx-trade-row{border:1px solid #17222b !important;background:#20252c !important}
html[data-theme="dark"] .okx-trade-row small{color:#a6afbb !important}
html[data-theme="dark"] .win-row{border:1px solid #17222b !important;background:#17222b !important;color:#a4b9cc !important}
html[data-theme="dark"] .win-side.long{background:#172b1e !important;color:#97d8b0 !important}
html[data-theme="dark"] .win-side.short{background:#2b1719 !important;color:#d3889d !important}
html[data-theme="dark"] .win-target{color:#a6afbb !important}
html[data-theme="dark"] .win-roi{color:#97d8af !important}
html[data-theme="dark"] .win-time{color:#a6afbb !important}
html[data-theme="dark"] .mobile-position-card{background:#17222b !important}
html[data-theme="dark"] .mobile-position-card dt{color:#a6afbb !important}
html[data-theme="dark"] .empty-state.compact{border:1px dashed #2a3946 !important;color:#a6afbb !important}
@media (max-width: 1050px){
html[data-theme="dark"] .sidebar [data-page].active{box-shadow:inset 0 -3px 0 var(--accent, #2e4f6b) !important}
}
html[data-theme="dark"] .billing-current-card strong{color:#a0b9cf !important}
html[data-theme="dark"] .billing-current-card small{color:#cf8ca3 !important}
html[data-theme="dark"] .billing-plan-card{border:1px solid #17222b !important;background:rgba(32,37,44,.8) !important}
html[data-theme="dark"] .billing-plan-card ul{color:#a6afbb !important}
html[data-theme="dark"] .billing-payment-info code{color:#8db0ce !important}
html[data-theme="dark"] .admin-plan-row{border:1px solid #19222a !important}
html[data-theme="dark"] .admin-plan-row input[type="checkbox"],html[data-theme="dark"] .admin-enforcement-card input[type="checkbox"]{accent-color:#2e4f6b !important}
html[data-theme="dark"] .admin-subscription-setter{border-top:1px solid #19222a !important}
html[data-theme="dark"] .admin-subscription-setter label{color:#a6afbb !important}
html[data-theme="dark"] .admin-plan-row label,html[data-theme="dark"] .admin-usdt-settings label{color:#a6afbb !important}
html[data-theme="dark"] .admin-enforcement-card{border:1px solid #4b2532 !important;background:#2b171f !important}
html[data-theme="dark"] .admin-enforcement-card small{color:#c497a7 !important}
html[data-theme="dark"] .legal-links a{color:#6a9dc8 !important}
html[data-theme="dark"] .legal-links a:hover,html[data-theme="dark"] .legal-links a:focus-visible{color:#f4f6f8 !important;outline:2px solid #253a4b !important}
html[data-theme="dark"] .legal-consent a{color:#89b0d1 !important}
html[data-theme="dark"] #longzong-settings-panel{border-color:#17222b !important;background:linear-gradient(145deg,rgba(32,37,44,.96),rgba(23,34,43,.92)) !important;box-shadow:0 18px 45px rgba(70,121,165,.14) !important}
html[data-theme="dark"] #longzong-settings-panel .panel-head h3{color:#88b0d3 !important}
html[data-theme="dark"] .tg-bound-ok{border-color:#2e6b4f!important;background:#172b21!important;color:#97d8bb!important}
html[data-theme="dark"] .tg-bound-wait{border-color:#6b582e!important;background:#2b2617!important;color:#d8c397!important}
html[data-theme="dark"] .chart-card{background:#1a202d !important;border:1px solid #1b212c !important;color:#f4f6f8 !important}
html[data-theme="dark"] .chart-symbol{color:#7099c2 !important}
html[data-theme="dark"] .chart-exchange.okx{color:#9cadd4 !important;background:#17212b !important;border:1px solid #293747 !important}
html[data-theme="dark"] .chart-exchange.gate{color:#97c6d8 !important;background:#17252b !important;border:1px solid #25414b !important}
html[data-theme="dark"] .admin-table-scroll-hint{color:#a6afbb !important}
html[data-theme="dark"] .environment-badge{border:1px solid #253a4b !important;background:#17222b !important;color:#97afc4 !important}
html[data-theme="dark"] .identity-readonly .field-note{color:#a6afbb !important;background:#17222b !important;border:1px solid #17222b !important}
html[data-theme="dark"] .identity-readonly input[readonly]{background:#17222b!important;color:#e3e7ec!important}
html[data-theme="dark"] .admin-config-section{border:1px solid #17222b !important;background:#17222b !important;box-shadow:0 8px 20px rgba(23,37,49,.04) !important}
html[data-theme="dark"] .admin-section-head span{background:#17222b !important;color:#88b0d3 !important}
html[data-theme="dark"] .admin-section-head h4{color:#a4b9cc !important}
html[data-theme="dark"] .admin-section-head p{color:#e3e7ec !important}
html[data-theme="dark"] [data-admin-safety]{background:#17222b!important;border-color:#253a4b!important}
html[data-theme="dark"] .learning-card.completed{border-color:#254b3a !important;background:linear-gradient(180deg,#172b21,#172b21) !important}
html[data-theme="dark"] .learning-card.available{border-color:#253a4b !important;background:linear-gradient(180deg,#17222b,#17222b) !important}
html[data-theme="dark"] .learning-step-state.done{color:#97d8bb !important;background:#172b20 !important;border:1px solid #254b37 !important}
html[data-theme="dark"] .learning-step-state.ready{color:#89b0d2 !important;background:#17222b !important;border:1px solid #253a4b !important}
html[data-theme="dark"] .learning-step-state.pending{color:#d8c797 !important;background:#2b2617 !important;border:1px solid #4b4125 !important}
html[data-theme="dark"] .learning-step-state.next{color:#f4f6f8 !important;background:#4279a9 !important;border:1px solid #1f3547 !important}
html[data-theme="dark"] .learning-step-state.locked{color:#a6afbb !important;background:#1b2227 !important;border:1px solid #272d35 !important}
html[data-theme="dark"] .learning-card.locked{background:#192229 !important;border-color:#272d35 !important}
html[data-theme="dark"] .learning-card.locked .learning-action:disabled{background:#272d35!important;border-color:#272d35!important;color:#a6afbb!important}
html[data-theme="dark"] .learning-risk-panel .mini-list>div{background:#17222b!important;border:1px solid #17222b!important;color:#a4b9cc!important}
html[data-theme="dark"] .learning-risk-panel .mini-list>div strong{color:#a4b9cc!important}
html[data-theme="dark"] .learning-risk-panel .mini-list>div span{color:#e3e7ec!important}
html[data-theme="dark"] .admin-enforcement-controls{border-top:1px solid #18222b !important}
html[data-theme="dark"] .billing-payment-form[aria-disabled="true"] input:disabled{background:#1b2227!important;border-color:#272d35!important;color:#a6afbb!important}
html[data-theme="dark"] .intraday-template summary{color:#a2b9cd !important}
html[data-theme="dark"] .panel-note{color:var(--readable-muted,#e3e7ec) !important}
html[data-theme="dark"] .muted-note{color:var(--readable-muted,#e3e7ec) !important}
html[data-theme="dark"] .identity-row{border:1px solid var(--line,#17222b) !important;background:color-mix(in srgb, var(--primary,#2e4f6b) 4%, var(--panel,#17222b)) !important}
html[data-theme="dark"] .identity-row-head strong{color:var(--text,#a4b9cc) !important}
html[data-theme="dark"] .identity-fields dt{color:var(--readable-muted,#e3e7ec) !important}
html[data-theme="dark"] .identity-fields dd{color:var(--text,#a4b9cc) !important}
html[data-theme="dark"] .identity-divider{background:var(--line,#17222b) !important}
@supports not (background: color-mix(in srgb, red 4%, blue)){
html[data-theme="dark"] .identity-row{background:#17222b !important}
}


/* ---- flatten the "AI template" signals ---- */
html[data-theme="dark"] * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-theme="dark"] .sidebar, html[data-theme="dark"] .sidebar.glass, html[data-theme="dark"] .topbar,
html[data-theme="dark"] .card, html[data-theme="dark"] .panel, html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .modal-card, html[data-theme="dark"] .auth-card, html[data-theme="dark"] .notice {
  background-image: none !important;
}
html[data-theme="dark"] .btn.primary, html[data-theme="dark"] .primary-btn, html[data-theme="dark"] button.primary,
html[data-theme="dark"] .cta, html[data-theme="dark"] .tab.active, html[data-theme="dark"] .tabs .active,
html[data-theme="dark"] .segmented .active {
  background-image: none !important;
  background-color: #5B8DB8 !important;
  color: #0B0D10 !important;
  border-color: #476F92 !important;
}
html[data-theme="dark"] .badge, html[data-theme="dark"] .chip, html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .pill {
  background-image: none !important;
  background-color: #1B2733 !important;
  color: #8FB6D6 !important;
  border-color: #454D5B !important;
}
html[data-theme="dark"] .sidebar {
  background: #080A0C !important;
  border-right: 1px solid #323945 !important;
}
html[data-theme="dark"] .card, html[data-theme="dark"] .panel, html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .notice, html[data-theme="dark"] .modal-card {
  background: #191D23 !important;
  border: 1px solid #323945 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea {
  background: #20252C !important;
  color: #E3E7EC !important;
  border: 1px solid #454D5B !important;
  border-radius: 8px !important;
}
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder {
  color: #8C95A2 !important;
}
html[data-theme="dark"] .nav a.active, html[data-theme="dark"] .nav .active,
html[data-theme="dark"] .nav button.active {
  background: #1B2733 !important;
  color: #8FB6D6 !important;
}
/* The remapped mid-blue landed at 3.53:1 on small labels ("刷新" read as
   disabled). Small interactive text uses the light accent tone instead. */
html[data-theme="dark"] .small-btn, html[data-theme="dark"] .small-btn:visited,
html[data-theme="dark"] button.small-btn, html[data-theme="dark"] a.small-btn {
  color: #8FB6D6 !important;
  background: #20252C !important;
  border: 1px solid #454D5B !important;
}
html[data-theme="dark"] .small-btn:hover, html[data-theme="dark"] .small-btn:focus-visible {
  color: #F4F6F8 !important;
  border-color: #5B8DB8 !important;
}
html[data-theme="dark"] ::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #080A0C; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #454D5B; border-radius: 6px; }

/* A modal scrim is meant to be DARK. Remapping inverted it into a pale
   wash, so it is pinned here rather than derived. */
html[data-theme="dark"] .modal-backdrop, html[data-theme="dark"] .site-dialog-backdrop {
  background: rgba(0, 0, 0, .72) !important;
  background-image: none !important;
}

/* Code/preformatted blocks and template disclosures used translucent light
   fills; make them real dark surfaces. */
html[data-theme="dark"] pre, html[data-theme="dark"] code, html[data-theme="dark"] .intraday-template,
html[data-theme="dark"] .webhook-url-box, html[data-theme="dark"] .tv-alert-code,
html[data-theme="dark"] #backtest-original-message, html[data-theme="dark"] .admin-simulator-output {
  background: #20252C !important;
  background-image: none !important;
  color: #E3E7EC !important;
  border-color: #323945 !important;
}

/* Exchange logo tiles are light brand plates with light text baked in. */
html[data-theme="dark"] .exchange-logo {
  background: #272D35 !important;
  background-image: none !important;
  color: #F4F6F8 !important;
  border: 1px solid #454D5B !important;
}

/* Chart shells shipped a solid light plot background. */
html[data-theme="dark"] .backtest-chart-shell, html[data-theme="dark"] .chart-shell {
  background: #191D23 !important;
  background-image: none !important;
  border-color: #323945 !important;
}

/* Status pills: the remapped mid-blue/amber failed AA on 12px labels. */
html[data-theme="dark"] .pill, html[data-theme="dark"] .pill.info, html[data-theme="dark"] .pill.warn,
html[data-theme="dark"] .pill.ok, html[data-theme="dark"] .pill.danger {
  border: 1px solid #454D5B !important;
}
html[data-theme="dark"] .pill.info { background: #1B2733 !important; color: #8FB6D6 !important; }
html[data-theme="dark"] .pill.ok { background: #14231A !important; color: #7DBE96 !important; }
html[data-theme="dark"] .pill.warn { background: #241D12 !important; color: #D6AC69 !important; }
html[data-theme="dark"] .pill.danger { background: #241416 !important; color: #D68F93 !important; }
html[data-theme="dark"] .leverage-val { color: #8FB6D6 !important; }
html[data-theme="dark"] .exchange-scroll-hint { color: #A6AFBB !important; }

/* Numbered step badges and tab buttons: the source used a coloured fill with
   coloured text; both landed in the same band. Pin the pair. */
html[data-theme="dark"] .step-num, html[data-theme="dark"] .steps li::before,
html[data-theme="dark"] .okx-trade-tabs button, html[data-theme="dark"] .tabs button {
  background: #272D35 !important;
  color: #E3E7EC !important;
  border-color: #454D5B !important;
}
html[data-theme="dark"] .okx-trade-tabs button.active, html[data-theme="dark"] .tabs button.active {
  background: #5B8DB8 !important;
  color: #0B0D10 !important;
  border-color: #476F92 !important;
}
/* Gradient fills on primary buttons remap into two dark stops; make them
   flat accent so the label stays legible. */
html[data-theme="dark"] .primary, html[data-theme="dark"] .primary:hover:not(:disabled) {
  background: #5B8DB8 !important;
  background-image: none !important;
  color: #0B0D10 !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .account-action-btn.trade {
  background: #1B2733 !important;
  color: #8FB6D6 !important;
  border-color: #454D5B !important;
}
/* Monetary/strong values inside tinted cards. */
html[data-theme="dark"] .balance-banner strong, html[data-theme="dark"] .modal-balance strong {
  color: #F4F6F8 !important;
}
/* Secondary text nested inside a SOLID accent fill inherits the page's muted
   grey, which fails on accent. Anything inside an accent surface uses the
   on-accent colour. */
html[data-theme="dark"] .primary small, html[data-theme="dark"] .primary .muted,
html[data-theme="dark"] .tabs button.active small, html[data-theme="dark"] .okx-trade-tabs button.active small,
html[data-theme="dark"] .env-pill.active small, html[data-theme="dark"] [class*="active"] > small {
  color: #0B0D10 !important;
  opacity: .82;
}

/* ---- standalone document pages ----
   changelog / terms / privacy / risk-disclosure / 404 load NO external
   stylesheet: each carries its own inline <style> with `main{background:#fff}`
   hardcoded. The per-rule remap never saw them, so in dark mode they rendered
   light-grey text on a white card. These selectors are element-level on
   purpose, since those pages have almost no classes. */
html[data-theme="dark"] body { color: #E3E7EC !important; }
html[data-theme="dark"] main {
  background: #191D23 !important;
  color: #E3E7EC !important;
  border: 1px solid #323945 !important;
  box-shadow: none !important;
}
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4,
html[data-theme="dark"] main strong, html[data-theme="dark"] main b {
  color: #F4F6F8 !important;
}
html[data-theme="dark"] main p, html[data-theme="dark"] main li, html[data-theme="dark"] main td, html[data-theme="dark"] main dd {
  color: #E3E7EC !important;
}
html[data-theme="dark"] main a, html[data-theme="dark"] nav a, html[data-theme="dark"] footer a {
  color: #8FB6D6 !important;
}
html[data-theme="dark"] footer, html[data-theme="dark"] main small {
  color: #A6AFBB !important;
}
html[data-theme="dark"] .note {
  background: #241D12 !important;
  color: #D6AC69 !important;
  border: 1px solid #454D5B !important;
}
html[data-theme="dark"] .risk {
  background: #241416 !important;
  color: #D68F93 !important;
  border: 1px solid #454D5B !important;
}
html[data-theme="dark"] .tag {
  background: #1B2733 !important;
  color: #8FB6D6 !important;
  border: 1px solid #454D5B !important;
}
html[data-theme="dark"] hr { border-color: #323945 !important; }
html[data-theme="dark"] table th, html[data-theme="dark"] table td { border-color: #323945 !important; }

/* ---- page-level leaks the per-rule remap cannot reach ---- */
/* Short pages showed the light body below the content, and body::before
   paints a decorative grid/radial layer on top of it. */
html[data-theme="dark"], html[data-theme="dark"] body {
  background-color: #0D0F12 !important;
  background-image: none !important;
  min-height: 100vh;
}
html[data-theme="dark"] body::before, html[data-theme="dark"] body::after {
  background-image: none !important;
  background: transparent !important;
}
html[data-theme="dark"] .app-shell { min-height: 100vh; background: #0D0F12 !important; }
html[data-theme="dark"] .main, html[data-theme="dark"] .page { background: transparent !important; }

/* The topbar was rgba(255,255,255,.78) + blur: over a dark page that
   composites to a muddy olive slab. Make it opaque. */
html[data-theme="dark"] .topbar {
  background: #0D0F12 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #323945 !important;
}
/* The h2 used gradient-text (background-clip:text + transparent fill).
   Remapping its colours leaves the clip intact but unreadable, so drop
   the effect entirely and use solid text. */
html[data-theme="dark"] .topbar h2 {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #F4F6F8 !important;
  color: #F4F6F8 !important;
  text-shadow: none !important;
}
html[data-theme="dark"] .topbar .eyebrow, html[data-theme="dark"] .topbar .eyebrow * {
  color: #A6AFBB !important;
}

/* ===== Admin tabs (dark) ===== */
html[data-theme="dark"] .admin-tabs {
  border-bottom-color: rgba(61,74,92,.30) !important;
}
html[data-theme="dark"] .admin-tab {
  background: rgba(61,74,92,.12) !important;
  border-color: rgba(61,74,92,.34) !important;
  color: #9aa7b7 !important;
}
html[data-theme="dark"] .admin-tab:hover {
  color: #d6dee8 !important;
  border-color: #5B8DB8 !important;
}
html[data-theme="dark"] .admin-tab.active {
  background: #35597a !important;
  border-color: #5B8DB8 !important;
  color: #eaf2fa !important;
}

/* ===== Manual snapshot + in-app confirm (dark) ===== */
html[data-theme="dark"] .admin-broadcast-manual { border-top-color: rgba(61,74,92,.30) !important; }
html[data-theme="dark"] .admin-snapshot-box {
  background: rgba(9,13,20,.55) !important;
  border-color: rgba(61,74,92,.34) !important;
  color: #d7dee8 !important;
}
html[data-theme="dark"] .app-confirm-detail {
  background: rgba(9,13,20,.55) !important;
  border-color: rgba(61,74,92,.34) !important;
  color: #9fb0c4 !important;
}

/* ===== Admin server-wide leverage (dark) ===== */
html[data-theme="dark"] .admin-leverage-ex {
  background: rgba(9,13,20,.45) !important;
  border-color: rgba(61,74,92,.32) !important;
}

/* ===== Beginner tutorial (dark) ===== */
html[data-theme="dark"] .tutorial-pip {
  border-color: rgba(61,74,92,.4) !important;
  color: var(--foreground, #e6edf3) !important;
}
html[data-theme="dark"] .tutorial-pip.done {
  background: rgba(46,160,102,.22) !important;
}

/* ===== Guided walkthrough (dark) ===== */
html[data-theme="dark"] #coach-bubble {
  background: #0e141c !important;
  border-color: rgba(61, 74, 92, .42) !important;
  color: #e6edf3 !important;
}
html[data-theme="dark"] #coach-mask { background: rgba(2, 5, 10, .68) !important; }
html[data-theme="dark"] .coach-hint { background: rgba(108, 92, 231, .18) !important; }

html[data-theme="dark"] .coach-todo {
  background: rgba(46, 160, 102, .2) !important;
  color: #e6edf3 !important;
}
