
:root{
  --bg:#06101d;--bg2:#091829;--panel:#0c1b2e;--panel2:#10223a;--line:#203652;
  --text:#edf5ff;--muted:#92a9c4;--cyan:#46d8ff;--blue:#6b8cff;--violet:#9d73ff;
  --green:#4ee59a;--yellow:#ffd166;--orange:#ff9b54;--red:#ff667a;--pink:#ff82c8;
  --shadow:0 14px 38px rgba(0,0,0,.28);--radius:18px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:
  radial-gradient(circle at 15% -5%,rgba(70,216,255,.12),transparent 26%),
  radial-gradient(circle at 90% 5%,rgba(157,115,255,.12),transparent 25%),
  linear-gradient(180deg,#06101d,#050b14 60%,#050a12);
  color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;min-height:100vh}
button,select,input{font:inherit}
button{cursor:pointer}
.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;padding:18px 14px;border-right:1px solid var(--line);background:rgba(5,12,22,.94);backdrop-filter:blur(16px);z-index:30}
.brand{display:flex;gap:11px;align-items:center;padding:4px 6px 18px}
.brand b{display:block;font-size:15px}.brand span{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.brand-mark{display:grid;grid-template-columns:repeat(3,8px);gap:3px;padding:9px;border:1px solid #31506f;border-radius:13px;background:#0d1f34;box-shadow:0 8px 25px rgba(70,216,255,.07)}
.brand-mark i{display:block;width:8px;height:8px;border-radius:50%;background:var(--cyan)}
.brand-mark i:nth-child(2),.brand-mark i:nth-child(5){background:var(--green)}
.brand-mark i:nth-child(3),.brand-mark i:nth-child(8){background:var(--violet)}
.brand-mark i:nth-child(7){background:var(--red)}
.side-nav{display:grid;gap:5px}
.side-nav button{border:0;background:transparent;color:#a8bdd4;text-align:left;padding:10px 11px;border-radius:11px;font-size:11px;font-weight:750;display:flex;align-items:center;gap:9px}
.side-nav button span{width:19px;text-align:center;color:#7796b9}
.side-nav button:hover{background:#0d2035;color:#fff}
.side-nav button.active{background:linear-gradient(90deg,rgba(70,216,255,.15),rgba(107,140,255,.12));color:#fff;border:1px solid #31567a}
.side-foot{position:absolute;bottom:18px;left:18px;right:18px;border-top:1px solid #1a2a3f;padding-top:12px}
.connection-chip{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800}.tiny{font-size:8px;color:#7288a2;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.dot.ok{background:var(--green);box-shadow:0 0 15px rgba(78,229,154,.6)}.dot.warn{background:var(--yellow)}.dot.bad{background:var(--red)}
.main{min-width:0;padding:0 20px 40px}
.topbar{position:sticky;top:0;z-index:25;margin:0 -20px;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(6,16,29,.9);backdrop-filter:blur(15px);border-bottom:1px solid rgba(44,70,102,.6)}
.topbar h1{font-size:22px;margin:2px 0 0}.eyebrow{font-size:8px;letter-spacing:.12em;color:#6f8eaf;font-weight:900;text-transform:uppercase}
.mobile-menu{display:none;border:1px solid var(--line);border-radius:9px;background:#0c1b2e;color:#fff;padding:8px 10px}
.top-actions,.button-row,.hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{border:1px solid #2f5074;background:linear-gradient(180deg,#183657,#112842);color:#eef7ff;border-radius:10px;padding:8px 11px;font-size:10px;font-weight:850;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.btn:hover{filter:brightness(1.12)}.btn.primary{background:linear-gradient(135deg,var(--cyan),var(--blue));color:#04111c;border:0}.btn.ghost{background:#0a1727}.btn.danger{border-color:#6e3040;background:#2a131c;color:#ff9bad}.btn.small{padding:6px 9px}
.global-alert{margin:12px 0;border-left:3px solid var(--red);background:#25131a;color:#ffbdc7;padding:10px 12px;border-radius:9px;font-size:10px;line-height:1.5}.hidden{display:none!important}
.market-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}
.strip-card{background:linear-gradient(180deg,#0c1b2e,#081523);border:1px solid #203955;border-radius:13px;padding:9px 10px;min-width:0}
.strip-card .top{display:flex;justify-content:space-between;gap:8px;align-items:center}.strip-card .name{font-size:9px;color:#98abc2;font-weight:800;white-space:nowrap}.strip-card .price{font-size:15px;font-weight:900;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip-card .digit{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#102842;border:1px solid #34557c;font-weight:950}
.strip-card .meta{font-size:8px;color:#7189a4;margin-top:4px}
.page{display:none}.page.active{display:block}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:12px}
.hero-card,.card{background:linear-gradient(180deg,rgba(13,29,49,.96),rgba(8,21,36,.96));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-card{padding:23px}.hero-card h2{font-size:30px;line-height:1.08;margin:7px 0 10px;max-width:800px}.hero-card p{font-size:12px;color:#a9bdd2;line-height:1.65;max-width:760px}
.gradient-card{background:
 linear-gradient(135deg,rgba(70,216,255,.12),rgba(157,115,255,.1) 52%,rgba(78,229,154,.06)),
 linear-gradient(180deg,#0c1d31,#091625)}
.card{padding:13px}.card h3{margin:2px 0 0;font-size:14px}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.section-title{display:flex;justify-content:space-between;gap:10px;align-items:end;margin:24px 2px 10px}.section-title h2{margin:3px 0 0;font-size:21px}.section-title p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.5;max-width:950px}
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.kpi-grid.compact{grid-template-columns:1fr 1fr}
.kpi{background:#091725;border:1px solid #1d344e;border-radius:12px;padding:10px}.kpi span{display:block;color:#8198b3;font-size:8px;text-transform:uppercase;letter-spacing:.05em}.kpi b{display:block;font-size:16px;margin-top:4px}
.market-card-grid{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:8px}
.market-card{background:#091725;border:1px solid #1d344e;border-radius:14px;padding:11px}
.market-card .head{display:flex;justify-content:space-between;gap:7px;align-items:center}.market-card h4{font-size:11px;margin:0}.market-card .last{font-size:21px;font-weight:950;margin:7px 0 4px}.market-card .stats{display:grid;grid-template-columns:1fr 1fr;gap:5px}.market-card .mini{background:#0c1b2d;border-radius:7px;padding:6px}.market-card .mini span{font-size:7px;color:#7289a4;display:block}.market-card .mini b{font-size:10px}
.badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border:1px solid #3a506c;border-radius:999px;font-size:8px;font-weight:900;white-space:nowrap}.badge.ready{color:var(--green);border-color:#2d7550;background:#0c271b}.badge.wait{color:var(--yellow);border-color:#665523;background:#211d0a}.badge.avoid{color:var(--red);border-color:#763140;background:#261018}.badge.info{color:var(--cyan);border-color:#27627a;background:#0a2230}.badge.strong{color:#a3ffd0;border-color:#379469;background:#0b2b1c}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.two-col.wide-left{grid-template-columns:1.35fr .65fr}
.stack{display:grid;gap:7px}.stack-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#091725;border:1px solid #1c344d;border-radius:10px;padding:9px}.stack-item b{font-size:10px}.stack-item span{font-size:8px;color:#88a0bb}
.diagnostics-card{margin-top:12px}.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px}.check-grid.single{grid-template-columns:1fr}.check-item{background:#091725;border:1px solid #213a55;border-radius:9px;padding:8px;font-size:9px;line-height:1.45}.check-item.pass{border-color:#2a704b}.check-item.fail{border-color:#733040}.check-item.warn{border-color:#665523}.check-item b{display:block;margin-bottom:3px}.check-item span{color:#8fa6bf}
.page-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.page-toolbar>div{min-width:180px}.select,input.setting{width:100%;margin-top:4px;background:#0c1c30;color:#f1f6ff;border:1px solid #2b4665;border-radius:10px;padding:8px;font-size:10px}
.three-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.digit-grid{display:grid;grid-template-columns:repeat(5,minmax(62px,1fr));gap:8px}.digit-grid.large{grid-template-columns:repeat(5,minmax(78px,1fr))}
.digit-ring{position:relative;aspect-ratio:1/1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#10233a,#08131f 70%);border:2px solid #2c4867;min-width:0}
.digit-ring .n{font-size:19px;font-weight:950}.digit-ring .p{font-size:8px;color:#9eb1c7}.digit-ring .trend{font-size:8px;margin-top:2px}.digit-ring .tag{position:absolute;top:-5px;right:-4px;font-size:6px;font-weight:900;padding:2px 4px;border-radius:999px;background:#13253d;border:1px solid #3b5879}
.digit-ring.role-green{border-color:var(--green);box-shadow:0 0 22px rgba(78,229,154,.12)}.digit-ring.role-red{border-color:var(--red)}.digit-ring.role-blue{border-color:var(--blue)}.digit-ring.role-pink{border-color:var(--pink)}
.legend{display:flex;gap:11px;flex-wrap:wrap;margin-top:10px;color:#91a5bd;font-size:8px}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}.legend-dot.green{background:var(--green)}.legend-dot.red{background:var(--red)}.legend-dot.blue{background:var(--blue)}.legend-dot.pink{background:var(--pink)}.legend-dot.indigo{background:#6d61ff}.legend-dot.orange{background:#ff9a42}.legend-dot.purple{background:#c86cff}
.bar-list{display:grid;gap:7px}.bar-row{display:grid;grid-template-columns:92px 1fr 55px;gap:8px;align-items:center}.bar-row label{font-size:9px;color:#a8b9cc}.bar-track{height:8px;background:#13243a;border-radius:999px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,var(--cyan),var(--violet));border-radius:999px}.bar-row b{font-size:9px;text-align:right}
.table-wrap{overflow:auto;border:1px solid #1c314a;border-radius:11px}table{width:100%;border-collapse:collapse;min-width:650px}th,td{padding:7px 8px;border-bottom:1px solid #182b41;font-size:8px;text-align:center}th{color:#8299b4;background:#0d1b2d;text-transform:uppercase;letter-spacing:.04em;position:sticky;top:0;z-index:1}td:first-child,th:first-child{text-align:left}.wide-table{min-width:1100px}.matrix-table{min-width:620px}
.state-pill{display:inline-block;padding:3px 6px;border-radius:999px;border:1px solid #3c536f;font-size:7px;font-weight:900}.state-cold-up{color:var(--cyan)}.state-cold-down{color:var(--red)}.state-hot-up{color:var(--green)}.state-hot-down{color:var(--yellow)}.state-neutral{color:#aebdd0}
.signal-hero{background:linear-gradient(135deg,#0e2239,#0a1626);border:1px solid #2f506f;border-radius:13px;padding:12px;margin-bottom:9px}.signal-hero.big{padding:17px;margin:12px 0}.signal-hero h3,.signal-hero h2{margin:5px 0}.signal-hero p{font-size:9px;color:#9fb1c5;line-height:1.55;margin:5px 0 0}
.chart-box,.chart-grid>div{background:#07121f;border:1px solid #1e344d;border-radius:11px;padding:8px}.chart-box svg,.chart-grid svg{display:block;width:100%;height:auto}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.info-note{background:#0d1c2f;border-left:3px solid var(--cyan);border-radius:8px;padding:9px;font-size:9px;line-height:1.6;color:#aebed0}
.opportunity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.op-card{background:#091725;border:1px solid #203a56;border-radius:11px;padding:10px}.op-card.match{border-color:#2c7650}.op-card.strong{border-color:#3b9d6a;box-shadow:0 0 20px rgba(78,229,154,.07)}.op-card h4{margin:6px 0 3px;font-size:12px}.op-card p{margin:0;color:#91a6be;font-size:8px;line-height:1.45}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.form-field label{display:block;font-size:8px;color:#8da4bd;margin-bottom:3px}.muted{color:var(--muted);font-size:9px;line-height:1.5}
.learn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px}.learn-card{background:#0a1829;border:1px solid #203a56;border-radius:13px;padding:12px}.learn-card h3{font-size:12px;margin:0 0 6px}.learn-card p{font-size:9px;color:#9eb1c7;line-height:1.6;margin:0}
.mobile-nav{display:none}
.simple-mode .side-nav button[data-page="research"],.simple-mode .side-nav button[data-page="performance"]{opacity:.45}
.simple-mode #page-research,.simple-mode #page-performance{display:none!important}
@media(max-width:1250px){.market-card-grid{grid-template-columns:repeat(3,1fr)}.market-strip{grid-template-columns:repeat(5,minmax(130px,1fr));overflow:auto}}
@media(max-width:980px){
  .app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:260px;transition:.2s;box-shadow:30px 0 60px rgba(0,0,0,.45)}.sidebar.open{left:0}.mobile-menu{display:inline-block}.main{padding:0 12px 70px}.topbar{margin:0 -12px;padding:11px 12px}.top-actions .ghost{display:none}.hero-grid,.two-col,.two-col.wide-left,.settings-grid{grid-template-columns:1fr}.market-card-grid{grid-template-columns:repeat(2,1fr)}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:35;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(5,12,22,.96);border-top:1px solid #20344e;padding:max(5px,env(safe-area-inset-bottom)) 5px 5px}.mobile-nav button{border:0;background:transparent;color:#91a7bf;font-size:8px;padding:8px 3px}
}
@media(max-width:620px){.market-card-grid{grid-template-columns:1fr}.market-strip{grid-template-columns:repeat(5,135px)}.digit-grid,.digit-grid.large{grid-template-columns:repeat(5,minmax(54px,1fr));gap:5px}.digit-ring .n{font-size:16px}.chart-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.three-kpis{grid-template-columns:1fr}.hero-card h2{font-size:24px}}


/* ===== V17.1 restored advanced analyzer + legacy-style signal center ===== */
.advanced-market-grid{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:8px}
.advanced-market-panel{background:#091725;border:1px solid #203955;border-radius:14px;padding:10px;min-width:0}
.advanced-market-panel h4{margin:0 0 8px;font-size:10px}
.ranked-digit-list{display:grid;gap:5px}
.ranked-digit-row{display:grid;grid-template-columns:20px 1fr 45px;gap:6px;align-items:center}
.ranked-digit-row .dn{font-size:9px;font-weight:900;text-align:center}
.ranked-track{height:12px;background:#13243a;border-radius:999px;overflow:hidden;position:relative}
.ranked-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#647eff,#8b72ff)}
.ranked-digit-row.green .ranked-fill{background:linear-gradient(90deg,#2fc77d,#5ee690)}
.ranked-digit-row.red .ranked-fill{background:linear-gradient(90deg,#e04f65,#ff667a)}
.ranked-digit-row.blue .ranked-fill{background:linear-gradient(90deg,#4d7eff,#6b8cff)}
.ranked-digit-row.pink .ranked-fill{background:linear-gradient(90deg,#ca64a7,#ff82c8)}
.ranked-digit-row.orange .ranked-fill{background:linear-gradient(90deg,#e77a35,#ff9b54)}
.ranked-digit-row .rp{font-size:8px;color:#9fb2c7;text-align:right}
.signal-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.signal-status-explain{border:1px solid #2a405d;border-radius:13px;padding:11px;background:#091725}
.signal-status-explain b{display:block;font-size:13px;margin-bottom:4px}.signal-status-explain span{font-size:8px;color:#9cafc5;line-height:1.45}
.signal-status-explain.ready{border-color:#2e7550;background:#0d241a}.signal-status-explain.ready b{color:#5ee690}
.signal-status-explain.wait{border-color:#6b5928;background:#231f0d}.signal-status-explain.wait b{color:#ffd166}
.signal-status-explain.avoid{border-color:#753141;background:#251219}.signal-status-explain.avoid b{color:#ff7a83}
.legacy-signal-hero{
  border:1px solid #365d89;border-radius:17px;padding:16px;margin:10px 0;
  background:linear-gradient(135deg,rgba(70,216,255,.09),rgba(157,115,255,.08)),#091725
}
.legacy-signal-hero .topline{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.legacy-signal-hero h2{font-size:26px;margin:7px 0 3px}.legacy-signal-hero p{font-size:9px;color:#9fb1c6;line-height:1.6;margin:3px 0}
.score-chip{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid #42617f;font-size:8px;font-weight:900;color:#cfe6ff}
.signal-note{background:#0d1c2f;border-left:3px solid #6b8cff;border-radius:9px;padding:9px 11px;margin:8px 0;color:#aebed0;font-size:9px;line-height:1.55}
.signal-note.blue{border-left-color:#46d8ff}.signal-note.mentor{border-left-color:#ffd166;background:#1d1b0e}
.compact-title{margin-top:18px}.compact-title h2{font-size:17px}
.top3-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.top3-card{background:#091725;border:1px solid #203a56;border-radius:14px;padding:11px}
.top3-card.ready{border-color:#2f7953}.top3-card.wait{border-color:#6b5928}.top3-card.avoid{border-color:#753141}
.top3-card .rank{font-size:20px;font-weight:950;color:#6da8ff}.top3-card h4{margin:4px 0;font-size:12px}.top3-card p{font-size:8px;color:#91a5bd;margin:3px 0;line-height:1.45}
.candidate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.candidate-card{background:#091725;border:1px solid #203a56;border-radius:12px;padding:10px}.candidate-card.ready{border-color:#2e7550}.candidate-card.wait{border-color:#6b5928}.candidate-card.avoid{border-color:#753141}
.candidate-card h4{margin:5px 0 3px}.candidate-card p{margin:2px 0;color:#8fa5bd;font-size:8px;line-height:1.4}
@media(max-width:1250px){.advanced-market-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.signal-status-grid,.top3-grid{grid-template-columns:1fr}.advanced-market-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.advanced-market-grid{grid-template-columns:1fr}}


/* ===== V17.2 native candle history + Knowledge Center ===== */
.toolbar-action{min-width:auto!important;display:flex;flex-direction:column;justify-content:end}
.candle-health-grid{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:8px;margin:10px 0}
.candle-health-card{background:#091725;border:1px solid #203a56;border-radius:12px;padding:9px}
.candle-health-card .top{display:flex;justify-content:space-between;gap:7px;align-items:center}
.candle-health-card b{font-size:10px}.candle-health-card .source{font-size:8px;color:#7f97b2;margin-top:4px;line-height:1.4}
.candle-health-card.ok{border-color:#2d7650}.candle-health-card.warn{border-color:#6b5928}.candle-health-card.bad{border-color:#753141}
.knowledge-jump{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px;position:sticky;top:72px;z-index:12;background:rgba(6,16,29,.92);backdrop-filter:blur(10px);padding:8px;border:1px solid #1d334d;border-radius:12px}
.knowledge-jump button{background:#0c1c30;border:1px solid #2b4665;color:#c5d7ea;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:850}
.knowledge-jump button:hover{border-color:#46d8ff;color:#fff}
.knowledge-section{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;background:linear-gradient(180deg,#0c1b2e,#091624);border:1px solid #203a56;border-radius:16px;padding:14px;margin:10px 0;scroll-margin-top:140px}
.knowledge-number{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#143655,#192c53);border:1px solid #39628e;color:#80dfff;font-size:15px;font-weight:950}
.knowledge-section h3{margin:4px 0 6px;font-size:16px}.knowledge-section p{margin:0;color:#a5b8cd;font-size:10px;line-height:1.65}
.knowledge-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;margin-top:9px}.knowledge-examples>div{background:#091725;border:1px solid #1e354f;border-radius:9px;padding:8px}.knowledge-examples b{display:block;font-size:9px;margin-bottom:3px;color:#e5f1ff}.knowledge-examples span{font-size:9px;color:#92a8c0;line-height:1.45}
.formula-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.formula-row span{background:#091725;border:1px solid #284561;border-radius:999px;padding:5px 8px;font-size:8px;color:#b9cbe0}
.state-learning-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin-top:9px}.state-learning-grid>div{background:#091725;border:1px solid #1e354f;border-radius:9px;padding:9px}.state-learning-grid p{margin-top:6px}
.signal-flow{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:10px}.signal-flow span{background:#0a1c2f;border:1px solid #315372;border-radius:8px;padding:6px 8px;font-size:8px;font-weight:900}.signal-flow i{color:#6b8cff;font-style:normal}
@media(max-width:1050px){.candle-health-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.candle-health-grid{grid-template-columns:1fr 1fr}.knowledge-section{grid-template-columns:1fr}.knowledge-number{width:32px;height:32px}.knowledge-jump{top:60px}}

/* ===== V18 full original live analyzer integration ===== */
.full-live-jump{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0;position:sticky;top:72px;z-index:13;background:rgba(6,16,29,.94);backdrop-filter:blur(10px);padding:8px;border:1px solid #203752;border-radius:12px}
.full-live-jump button{background:#0b1c30;color:#cbe0f6;border:1px solid #315170;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:850}
.full-live-jump button:hover{border-color:#46d8ff;color:#fff}
.full-live-note{margin:8px 0 10px;background:#0d1c2f;border-left:3px solid #9d73ff;border-radius:9px;padding:9px 11px;color:#aec1d7;font-size:9px;line-height:1.55}
.full-live-frame-wrap{height:calc(100vh - 235px);min-height:650px;border:1px solid #29415e;border-radius:16px;overflow:hidden;background:#08101f;box-shadow:0 16px 44px rgba(0,0,0,.3)}
.full-live-frame-wrap iframe{width:100%;height:100%;border:0;display:block;background:#08101f}
@media(max-width:980px){.full-live-frame-wrap{height:calc(100vh - 210px);min-height:600px}.full-live-jump{top:60px}}


/* ===== V19 MA Channel + official Deriv chart + Entry Guide ===== */
.select-like{display:flex;align-items:center;min-height:38px;background:#10243b;border:1px solid #2d4e6e;border-radius:10px;padding:0 10px;font-size:9px;color:#dcecff}
.entry-guide-hero{border:1px solid #365d89;border-radius:16px;background:linear-gradient(135deg,rgba(70,216,255,.09),rgba(157,115,255,.08)),#091725;padding:15px;margin:10px 0}.entry-guide-hero h2{margin:6px 0;font-size:22px}.entry-guide-hero p{font-size:9px;color:#a8bbcf;line-height:1.55}
.entry-exact-grid{display:grid;gap:7px}.entry-exact-card{border:1px solid #253d58;border-radius:10px;background:#091725;padding:9px}.entry-exact-card>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.entry-exact-card span{display:block;margin-top:4px;font-size:8px;color:#8ea5be;line-height:1.45}.entry-exact-card.ready{border-color:#2f7953}.entry-exact-card.wait{border-color:#6b5928}.entry-exact-card.avoid{border-color:#753141}
.entry-explainer p{font-size:9px;color:#a5b8cc;line-height:1.6;margin:0 0 9px}.entry-contract-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.entry-contract-card{background:#091725;border:1px solid #253d58;border-radius:13px;padding:11px}.entry-contract-card.ready{border-color:#2f7953;box-shadow:inset 0 0 0 1px rgba(78,229,154,.08)}.entry-contract-card.wait{border-color:#6b5928}.entry-contract-card.avoid{border-color:#753141}.entry-contract-head{display:flex;justify-content:space-between;align-items:center;gap:7px}.entry-contract-head h4{margin:0}.entry-contract-card .entry-big{font-size:25px;font-weight:950;color:#75dfff;margin:8px 0 4px}.entry-contract-card p{font-size:8px;color:#9db0c6;line-height:1.5;margin:3px 0}


/* ===== V19.1 strategy-location correction ===== */
.strategy-quick-card{margin-bottom:12px}
.strategy-chip-grid{display:flex;gap:7px;flex-wrap:wrap}
.strategy-chip{
  background:#0b1a2d;color:#c7d8ea;border:1px solid #2c4868;border-radius:999px;
  padding:7px 10px;font-size:9px;font-weight:900;display:flex;align-items:center;gap:6px
}
.strategy-chip:hover,.strategy-chip.active{border-color:#46d8ff;background:#12304a;color:#fff}
.strategy-chip small{font-size:6px;padding:2px 5px;border-radius:999px;background:#153d2a;color:#65eba3;border:1px solid #2c7650}
.strategy-library-card{margin:12px 0}
.strategy-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:9px}
.strategy-library-item{background:#081725;border:1px solid #203a56;border-radius:13px;padding:11px;display:flex;flex-direction:column;gap:7px}
.strategy-library-item.updated{border-color:#31825a;box-shadow:0 0 24px rgba(78,229,154,.06)}
.strategy-library-head{display:flex;flex-direction:column;gap:6px}
.strategy-library-head>div{display:flex;gap:5px;flex-wrap:wrap}
.strategy-library-head b{font-size:12px}
.strategy-contract{font-size:17px;font-weight:950;color:#edf5ff}
.strategy-library-item ol{margin:0 0 3px 18px;padding:0;color:#9eb2c8;font-size:9px;line-height:1.55}
.strategy-library-item li{margin-bottom:4px}
.strategy-library-item .btn{align-self:flex-start}
\n/* ===== V20 Client Bot Center ===== */\n.bot-flow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 14px;padding:10px;border:1px solid #28445f;border-radius:13px;background:#091725}.bot-flow span{padding:6px 9px;border:1px solid #315572;border-radius:999px;font-size:8px;font-weight:900;background:#0b2035}.bot-flow i{font-style:normal;color:#6b8cff;font-weight:900}\n.bot-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.telegram-link-code{margin-top:10px;padding:13px;text-align:center;border:1px dashed #3b607f;border-radius:11px;background:#071421;font-size:18px;font-weight:950;letter-spacing:.08em;color:#7de8ff}.bot-filter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.filter-title{display:block;font-size:10px;margin-bottom:7px}.checkbox-grid{display:grid;gap:5px;max-height:230px;overflow:auto;padding-right:3px}.check-label{display:flex;gap:7px;align-items:center;background:#091725;border:1px solid #1e354f;border-radius:8px;padding:6px 7px;font-size:8px;color:#a9bdd3}.check-label input{accent-color:#46d8ff}.bot-signal-grid,.bot-queue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px}.bot-signal-card{background:#091725;border:1px solid #203a56;border-radius:13px;padding:11px}.bot-signal-card.ready{border-color:#2f7b54;box-shadow:0 0 22px rgba(78,229,154,.05)}.bot-signal-card.expired{opacity:.55;border-color:#5b3540}.bot-signal-card h4{margin:6px 0 3px;font-size:13px}.bot-signal-card p{margin:3px 0;color:#91a7bf;font-size:8px;line-height:1.5}.signal-age{font-size:8px;font-weight:900;color:#ffd166}.signal-age.fresh{color:#5ee690}.owner-panel{margin-top:18px}.owner-panel summary{cursor:pointer;font-size:12px;font-weight:900}.owner-warning{margin:10px 0;padding:9px;border-left:3px solid #ff9b54;background:#21170e;border-radius:8px;color:#d7b692;font-size:9px;line-height:1.5}.soft-rule{border:0;border-top:1px solid #20344d;margin:15px 0}.client-key-output{word-break:break-all;color:#78e5ff;font-weight:900}.bot-client-table{width:100%;min-width:650px}@media(max-width:1000px){.bot-grid{grid-template-columns:1fr}.bot-filter-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.bot-filter-grid{grid-template-columns:1fr}}\n
/* ===== V21 Auto Bot Lab ===== */
.auto-bot-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.bot-system-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bot-system-compare>div{background:#091725;border:1px solid #203a56;border-radius:11px;padding:10px}
.bot-system-compare b{display:block;font-size:11px;margin-bottom:4px}.bot-system-compare span{font-size:9px;color:#91a6be;line-height:1.5}
.auto-bot-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px}
.auto-bot-card{background:linear-gradient(180deg,#0b1b2e,#081522);border:1px solid #26435f;border-radius:15px;padding:13px}
.auto-bot-card h3{font-size:16px;margin:8px 0 4px}.auto-bot-card p{font-size:9px;color:#91a6be;line-height:1.5}
.auto-bot-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.auto-bot-card-top small{color:#6f87a2}
.auto-bot-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:9px 0}
.auto-bot-meta span{background:#091725;border:1px solid #1d344e;border-radius:8px;padding:7px;font-size:8px;color:#91a6be}
.auto-bot-meta span:last-child{grid-column:1/-1}.auto-bot-meta b{display:block;color:#dce9f7;margin-bottom:3px}
.auto-bot-thresholds{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}.auto-bot-thresholds span{font-size:7px;border:1px solid #31506f;background:#0a1b2d;border-radius:999px;padding:4px 6px;color:#a9bdd2}
.auto-bot-frame-wrap{border:1px solid #294866;border-radius:13px;overflow:hidden;background:#050b12}
.auto-bot-frame-wrap iframe{width:100%;height:880px;border:0;display:block;background:#090c14}
.auto-bot-review-title{display:flex;gap:7px;align-items:center;margin-bottom:8px}
.auto-bot-flow-list{display:grid;gap:6px}.auto-bot-flow-list>div{display:grid;grid-template-columns:25px 1fr;gap:7px;align-items:start;background:#091725;border:1px solid #203a56;border-radius:9px;padding:7px}
.auto-bot-flow-list span{display:flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#12304a;color:#6bdfff;font-size:8px;font-weight:900}.auto-bot-flow-list p{margin:2px 0 0;font-size:8px;color:#9bb0c7;line-height:1.45}
.auto-bot-issues{margin-top:12px}.auto-bot-issues h4{font-size:10px}
.auto-bot-issue{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:start;padding:7px;border:1px solid #203a56;background:#091725;border-radius:9px;margin-bottom:6px}
.auto-bot-issue b{font-size:9px}.auto-bot-issue p{margin:2px 0 0;font-size:8px;color:#91a6be;line-height:1.45}
.auto-bot-issue.review{border-color:#6b5928}.auto-bot-issue.pass{border-color:#2d7650}
.auto-bot-workflow{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}
.auto-bot-workflow>div{background:#091725;border:1px solid #203a56;border-radius:11px;padding:9px;text-align:center}.auto-bot-workflow span{display:flex;margin:0 auto 5px;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;background:#12304a;color:#6bdfff;font-size:9px;font-weight:900}.auto-bot-workflow b{display:block;font-size:9px}.auto-bot-workflow small{display:block;font-size:7px;color:#8299b4;margin-top:3px}
.future-bot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.future-bot-grid>div{background:#091725;border:1px dashed #34506f;border-radius:11px;padding:12px}.future-bot-grid b{display:block;font-size:10px}.future-bot-grid span{font-size:8px;color:#8299b4}
@media(max-width:1000px){.auto-bot-kpis{grid-template-columns:1fr 1fr}.auto-bot-workflow{grid-template-columns:repeat(3,1fr)}.future-bot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.auto-bot-kpis,.bot-system-compare,.auto-bot-workflow,.future-bot-grid{grid-template-columns:1fr}.auto-bot-frame-wrap iframe{height:740px}}

/* ===== V22 OAuth platform ===== */
.oauth-platform-card,.monetization-card{margin:10px 0}.oauth-architecture{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.oauth-architecture>div{background:#091725;border:1px solid #24425f;border-radius:11px;padding:10px}.oauth-architecture b{display:block;font-size:9px;color:#e5f2ff;margin-bottom:4px}.oauth-architecture span{font-size:8px;color:#91a6be;line-height:1.5}.oauth-architecture code{color:#cdb7ff}@media(max-width:900px){.oauth-architecture{grid-template-columns:1fr 1fr}}@media(max-width:600px){.oauth-architecture{grid-template-columns:1fr}}

/* ===== V23 OAuth Access Gateway ===== */
body:not(.platform-authenticated){overflow:hidden}
.access-gateway{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:18px;background:#050c15;opacity:1;visibility:visible;transition:opacity .28s ease,visibility .28s ease}
.access-gateway.access-granted{opacity:0;visibility:hidden;pointer-events:none}
.access-gateway-bg{position:absolute;inset:0;background:
 radial-gradient(circle at 15% 18%,rgba(70,216,255,.15),transparent 32rem),
 radial-gradient(circle at 84% 8%,rgba(129,92,246,.16),transparent 30rem),
 linear-gradient(145deg,#06101d,#071321 48%,#050a12)}
.access-gateway-shell{position:relative;width:min(1080px,100%);display:grid;grid-template-columns:1.15fr .85fr;border:1px solid #27425f;border-radius:24px;overflow:hidden;background:rgba(8,19,33,.94);box-shadow:0 35px 90px rgba(0,0,0,.46)}
.access-brand-panel{padding:36px;display:flex;flex-direction:column;gap:22px;border-right:1px solid #213a55;background:linear-gradient(160deg,rgba(10,28,47,.98),rgba(6,17,29,.98))}
.access-brand-panel h1{font-size:clamp(28px,4vw,46px);line-height:1.03;letter-spacing:-.045em;margin:7px 0 10px;max-width:650px}.access-brand-panel>div>p{color:#9eb2c8;line-height:1.65;font-size:12px;max-width:620px}
.access-logo{display:flex;gap:4px;align-items:flex-end;height:30px}.access-logo span{display:block;width:7px;border-radius:999px;background:linear-gradient(#46d8ff,#796cff)}.access-logo span:nth-child(1){height:12px}.access-logo span:nth-child(2){height:20px}.access-logo span:nth-child(3){height:28px}.access-logo span:nth-child(4){height:18px}.access-logo span:nth-child(5){height:24px}
.access-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.access-feature-grid>div{padding:11px;border:1px solid #213b56;border-radius:12px;background:#081725}.access-feature-grid b{display:block;font-size:10px}.access-feature-grid span{display:block;margin-top:3px;font-size:8px;color:#8198b2}
.access-security-note{margin-top:auto;padding:11px;border-left:3px solid #46d8ff;background:#091a2b;border-radius:10px}.access-security-note b{display:block;font-size:9px;margin-bottom:3px}.access-security-note span{font-size:8px;color:#91a8c0;line-height:1.55}
.access-login-panel{padding:34px;background:rgba(7,17,29,.98);display:flex;flex-direction:column;justify-content:center}
.access-login-panel h2{font-size:24px;margin:6px 0 8px}.access-login-panel>.muted,.access-login-panel p.muted{font-size:10px;color:#91a6be;line-height:1.55}
.access-login-head{display:flex;gap:7px;align-items:center;font-size:8px;font-weight:850;color:#8fa7c0;margin-bottom:25px}.access-status-dot{width:8px;height:8px;border-radius:50%;background:#6e8096}.access-status-dot.ok{background:#4ee59a;box-shadow:0 0 14px rgba(78,229,154,.55)}.access-status-dot.error{background:#ff667d}.access-status-dot.warn{background:#ffd166}.access-status-dot.working{background:#46d8ff;animation:accessPulse 1s infinite}
@keyframes accessPulse{50%{opacity:.35}}
.access-main-btn,.access-secondary-btn{width:100%;border-radius:13px;padding:12px 13px;display:flex;gap:10px;align-items:center;text-align:left;margin-top:10px;border:1px solid #345a7b;color:#fff}.access-main-btn{background:linear-gradient(135deg,#225f91,#6156dc)}.access-secondary-btn{background:#0b1c2e}.access-main-btn>span,.access-secondary-btn>span{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px;background:rgba(255,255,255,.08);font-size:15px}.access-main-btn b,.access-secondary-btn b{display:block;font-size:10px}.access-main-btn small,.access-secondary-btn small{display:block;font-size:7px;color:#bed0e3;margin-top:2px}
.access-divider{display:flex;align-items:center;gap:8px;margin:14px 0 8px;color:#667d96;font-size:7px}.access-divider:before,.access-divider:after{content:"";height:1px;flex:1;background:#203750}
.access-steps{display:grid;grid-template-columns:1fr 1fr;gap:6px}.access-steps>div{display:flex;gap:6px;align-items:center;padding:7px;border:1px solid #1d344e;background:#081725;border-radius:9px}.access-steps span{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#123451;color:#6bdfff;font-size:7px;font-weight:900}.access-steps p{margin:0;font-size:7px;color:#91a6be}
.access-setup-warning{margin-top:12px;border:1px solid #6b5928;background:#251f0d;border-radius:10px;padding:9px}.access-setup-warning b{display:block;font-size:9px;color:#ffd166}.access-setup-warning span{display:block;font-size:7px;color:#c3b179;margin-top:4px;line-height:1.55}.access-setup-warning code{color:#fff}
.access-owner-foot{margin-top:20px;padding-top:12px;border-top:1px solid #1d3249}.access-owner-foot b{display:block;font-size:8px}.access-owner-foot span{display:block;font-size:7px;color:#7d94ad;margin-top:3px;line-height:1.45}
.access-loader{width:44px;height:44px;border-radius:50%;border:4px solid #17334c;border-top-color:#46d8ff;animation:accessSpin .8s linear infinite;margin-bottom:14px}@keyframes accessSpin{to{transform:rotate(360deg)}}
.access-account-summary{display:grid;gap:6px;margin:12px 0}.access-account-summary>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;background:#081725;border:1px solid #24415e;border-radius:10px;padding:9px}.access-account-summary span{font-size:7px;color:#6bdfff}.access-account-summary b{font-size:9px}.access-account-summary small{font-size:7px;color:#8198b2}
.platform-account-chip{display:flex;gap:7px;align-items:center;border:1px solid #2a4a65;background:#091928;border-radius:999px;padding:5px 6px 5px 8px}.platform-account-dot{width:7px;height:7px;border-radius:50%;background:#4ee59a;box-shadow:0 0 10px rgba(78,229,154,.45)}.platform-account-chip>div{display:flex;flex-direction:column}.platform-account-chip b{font-size:8px}.platform-account-chip small{font-size:6px;color:#8299b4}.platform-account-menu-btn{border:0;background:#13283b;color:#b9cade;border-radius:999px;padding:4px 7px;font-size:6px}
@media(max-width:800px){.access-gateway{align-items:flex-start;overflow:auto}.access-gateway-shell{grid-template-columns:1fr;margin:auto}.access-brand-panel{padding:23px;border-right:0;border-bottom:1px solid #213a55}.access-login-panel{padding:23px}.access-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.access-feature-grid,.access-steps{grid-template-columns:1fr}.access-brand-panel{display:none}.access-login-panel{min-height:calc(100vh - 36px)}.platform-account-chip>div{display:none}}


/* ===== V24 Professional Account Edition ===== */
:root{
  --bg:#050813;--bg2:#080d1b;--panel:#0b1222;--panel2:#101a2e;--line:#223451;
  --text:#f5f8ff;--muted:#8fa4c1;--cyan:#25d6ff;--blue:#4f7cff;--violet:#8b5cf6;
  --green:#38e18f;--yellow:#ffd166;--orange:#ff9f5a;--red:#ff5f78;--pink:#ff79c9;
  --shadow:0 18px 55px rgba(0,0,0,.32);--radius:18px;
}
body{background:
  radial-gradient(circle at 10% -8%,rgba(37,214,255,.10),transparent 28%),
  radial-gradient(circle at 92% 3%,rgba(139,92,246,.12),transparent 25%),
  linear-gradient(180deg,#050813 0%,#07101e 52%,#050913 100%);
  color:var(--text)}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 78%)}
.sidebar{background:linear-gradient(180deg,rgba(7,12,25,.98),rgba(5,9,18,.96));border-right:1px solid #1b2a43;box-shadow:12px 0 45px rgba(0,0,0,.18)}
.brand{padding:7px 7px 20px}.brand b{font-size:14px;letter-spacing:-.02em}.brand span{color:#7489a7}
.brand-mark{background:linear-gradient(145deg,#101c33,#0b1325);border-color:#2e486a;box-shadow:0 12px 30px rgba(37,214,255,.08)}
.side-nav{gap:4px}.side-nav button{padding:10px 11px;border:1px solid transparent;color:#94a9c5;font-weight:720}.side-nav button:hover{background:#0d1728;border-color:#1c304a;color:#eaf3ff}.side-nav button.active{background:linear-gradient(100deg,rgba(37,214,255,.14),rgba(79,124,255,.11) 55%,rgba(139,92,246,.09));border-color:#2b4c70;box-shadow:inset 3px 0 0 #25d6ff;color:#fff}
.topbar{background:rgba(5,9,19,.80)!important;backdrop-filter:blur(22px) saturate(125%);border-bottom:1px solid rgba(42,62,91,.72)!important;box-shadow:0 10px 35px rgba(0,0,0,.13)}
.card,.hero-card,.knowledge-section,.advanced-market-panel{background:linear-gradient(180deg,rgba(13,23,41,.96),rgba(9,16,30,.96));border-color:#203653!important;box-shadow:0 16px 42px rgba(0,0,0,.16)}
.card:hover,.advanced-market-panel:hover{border-color:#2c4b70!important}
.gradient-card{background:radial-gradient(circle at 92% 12%,rgba(139,92,246,.18),transparent 42%),radial-gradient(circle at 10% 120%,rgba(37,214,255,.13),transparent 45%),linear-gradient(140deg,#0d1b31,#0a1224 72%)}
.btn{border-color:#2c4767;background:#111c30;color:#e9f2ff;box-shadow:none}.btn:hover{transform:translateY(-1px);border-color:#3b638d;background:#14243a}.btn.primary{background:linear-gradient(135deg,#267dcc,#6658e8);border-color:transparent;box-shadow:0 10px 30px rgba(79,124,255,.24)}
.select,input{background:#091426!important;border-color:#29415f!important;color:#eef6ff!important}
.market-strip{gap:8px}.strip-card{background:linear-gradient(180deg,#0c1729,#09121f);border-color:#203955;box-shadow:0 12px 28px rgba(0,0,0,.14)}
.strip-card .digit{background:linear-gradient(145deg,#12294a,#17265a);border-color:#3f5b96;box-shadow:0 0 22px rgba(79,124,255,.14)}
table{border-collapse:separate;border-spacing:0}th{background:#0b1628!important;color:#86a2c4!important;border-bottom-color:#29415f!important}td{border-bottom-color:#182b43!important}tbody tr:hover td{background:rgba(37,214,255,.025)}
.eyebrow{color:#65dfff!important;letter-spacing:.13em}.badge{border-color:#334e70}.info-note{background:#0a1729;border-color:#27445f;color:#9bb0ca}

/* Landing / OAuth gateway */
.access-gateway{padding:22px;background:#050813;overflow:auto}
.access-gateway-bg{background:radial-gradient(circle at 9% 8%,rgba(37,214,255,.18),transparent 31rem),radial-gradient(circle at 88% 10%,rgba(139,92,246,.18),transparent 32rem),linear-gradient(145deg,#050a14,#07111f 48%,#050812)}
.access-gateway-grid{position:absolute;inset:0;opacity:.33;background-image:linear-gradient(rgba(125,160,205,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(125,160,205,.045) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(circle at 50% 45%,black,transparent 78%)}
.access-gateway-shell{width:min(1180px,100%);grid-template-columns:minmax(0,1.13fr) minmax(390px,.87fr);border:1px solid rgba(57,82,119,.76);border-radius:28px;background:rgba(7,14,27,.90);box-shadow:0 45px 120px rgba(0,0,0,.52);backdrop-filter:blur(24px);min-height:min(760px,calc(100vh - 44px))}
.access-brand-panel{padding:44px 46px;border-right:1px solid rgba(44,65,96,.78);background:radial-gradient(circle at 9% 9%,rgba(37,214,255,.08),transparent 28rem),linear-gradient(155deg,rgba(9,24,43,.98),rgba(6,14,27,.98));gap:24px}
.access-brand-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.access-live-badge{display:flex;align-items:center;gap:7px;border:1px solid #27435f;background:rgba(7,19,34,.72);border-radius:999px;padding:7px 10px;font-size:7px;font-weight:900;letter-spacing:.14em;color:#93aac5}.access-live-badge i{width:7px;height:7px;border-radius:50%;background:#38e18f;box-shadow:0 0 15px rgba(56,225,143,.65)}
.access-logo{height:34px;gap:5px}.access-logo span{width:8px;background:linear-gradient(180deg,#53e5ff,#6674ff);box-shadow:0 0 20px rgba(37,214,255,.16)}
.access-hero-copy{max-width:680px}.access-hero-copy h1{font-size:clamp(36px,4.7vw,61px);line-height:1.00;letter-spacing:-.055em;margin:8px 0 18px}.access-hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#5ce3ff,#9b7cff);-webkit-background-clip:text;background-clip:text;color:transparent}.access-hero-copy p{max-width:650px;font-size:12px;line-height:1.75;color:#9eb1c9}
.access-market-pills{display:flex;gap:7px;flex-wrap:wrap}.access-market-pills span{display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;background:#0b192c;border:1px solid #29445f;color:#dce9f8;font-size:9px;font-weight:900}.access-market-pills small{font-size:6px;color:#5cdfff;border-left:1px solid #2a4561;padding-left:5px}
.access-feature-grid{grid-template-columns:1fr 1fr;gap:9px}.access-feature-grid>div{position:relative;padding:13px 13px 13px 46px;border:1px solid #213a56;border-radius:14px;background:linear-gradient(180deg,rgba(10,27,47,.86),rgba(7,19,34,.90));min-height:76px}.access-feature-grid i{position:absolute;left:12px;top:13px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#102a46;border:1px solid #295172;color:#5de2ff;font-style:normal;font-size:7px;font-weight:950}.access-feature-grid b{font-size:10px}.access-feature-grid span{font-size:8px;line-height:1.45;margin-top:4px;color:#839ab6}
.access-security-note{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;margin-top:auto;padding:12px 14px;border:1px solid #25445f;border-left:1px solid #25445f;background:linear-gradient(90deg,rgba(16,48,63,.55),rgba(10,24,41,.65));border-radius:13px}.security-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:rgba(56,225,143,.12);border:1px solid rgba(56,225,143,.34);color:#4bea9d;font-weight:1000}.access-security-note b{font-size:9px}.access-security-note span{font-size:7.5px;line-height:1.55;color:#8fa6c0}
.access-login-panel{padding:28px;background:rgba(6,13,25,.94);display:flex;align-items:center}.access-login-card{width:100%;padding:28px;border:1px solid #223a57;border-radius:20px;background:linear-gradient(180deg,rgba(11,23,40,.96),rgba(7,15,28,.96));box-shadow:0 24px 60px rgba(0,0,0,.20)}.access-login-panel h2{font-size:30px;letter-spacing:-.035em;margin:7px 0 8px}.access-login-panel p.muted{font-size:10px;line-height:1.65;color:#90a5bf}
.access-login-head{margin-bottom:24px;border-bottom:1px solid #1d3048;padding-bottom:12px}.access-version{margin-left:auto;border:1px solid #2b4664;background:#0c1b2e;color:#6bddff;border-radius:999px;padding:4px 7px;font-size:6px;font-weight:950}
.access-main-btn,.access-secondary-btn{min-height:68px;border-radius:14px;padding:12px 13px;transition:.18s ease}.access-main-btn{background:linear-gradient(135deg,#236eaf 0%,#514fc9 58%,#7455e7 100%);border:1px solid rgba(130,151,255,.42);box-shadow:0 14px 35px rgba(69,82,205,.23)}.access-main-btn:hover,.access-secondary-btn:hover{transform:translateY(-1px);filter:brightness(1.07)}.access-secondary-btn{background:#0b192b;border:1px solid #294864}.access-main-btn .access-btn-icon,.access-secondary-btn .access-btn-icon{width:38px;height:38px}.access-main-btn div,.access-secondary-btn div{flex:1}.access-main-btn b,.access-secondary-btn b{font-size:11px}.access-main-btn small,.access-secondary-btn small{font-size:7.5px}.access-main-btn>strong,.access-secondary-btn>strong{font-size:13px;color:#c8d6ff}
.access-trust-row{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 2px}.access-trust-row span{font-size:6.7px;color:#85a0bd;background:#091524;border:1px solid #1d344d;padding:5px 7px;border-radius:999px}.access-divider{margin:18px 0 10px}.access-divider span{font-size:6px;letter-spacing:.12em}
.access-steps{grid-template-columns:1fr 1fr;gap:7px}.access-steps>div{padding:9px;align-items:flex-start;background:#081524;border-color:#1e344d}.access-steps p{display:flex;flex-direction:column;gap:2px}.access-steps p b{font-size:7.5px;color:#d9e6f5}.access-steps p small{font-size:6.5px;color:#7189a4}
.access-owner-foot{margin-top:20px;padding:12px 0 0}.access-owner-foot b{color:#b9c9db}.access-account-summary{display:grid;gap:8px;margin:15px 0}.access-account-option{width:100%;display:grid;grid-template-columns:42px 1fr 28px;align-items:center;gap:9px;text-align:left;padding:11px;border:1px solid #28445f;border-radius:13px;background:#091729;color:#e9f2ff;transition:.18s ease}.access-account-option:hover{border-color:#3a638c;background:#0c1c31}.access-account-option.selected{border-color:#46c8ff;background:linear-gradient(90deg,rgba(37,214,255,.09),rgba(79,124,255,.08));box-shadow:0 0 0 1px rgba(37,214,255,.08),0 14px 32px rgba(0,0,0,.14)}.account-option-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#10243d;border:1px solid #294b6d;font-size:17px}.account-option-copy{display:flex;flex-direction:column}.account-option-copy small{font-size:6px;color:#66ddff;letter-spacing:.12em;font-weight:900}.account-option-copy b{font-size:10px;margin-top:2px}.account-option-copy em{font-style:normal;font-size:7px;color:#8098b4;margin-top:2px}.account-option-check{display:flex;width:23px;height:23px;border-radius:50%;align-items:center;justify-content:center;background:rgba(56,225,143,.11);color:#4bea9d;font-size:10px;font-weight:950}.access-account-safety{display:grid;grid-template-columns:auto 1fr;gap:5px 8px;padding:9px 10px;border-radius:11px;background:#071322;border:1px solid #1e344b;margin-bottom:4px}.access-account-safety span{font-size:7px;font-weight:900}.access-account-safety p{margin:0;font-size:6.5px;color:#718aa6}
.access-setup-warning{border-color:#705d26;background:#211b0d}.access-completing-view{padding:30px 0}.access-loader{border-color:#15334b;border-top-color:#46dfff;box-shadow:0 0 30px rgba(37,214,255,.08)}

/* Account switcher */
.platform-account-chip{gap:8px;border:1px solid #29445f;background:linear-gradient(180deg,#0c192b,#091421);border-radius:14px;padding:6px 7px;box-shadow:0 10px 25px rgba(0,0,0,.18)}.platform-account-identity{display:flex;align-items:center;gap:7px;min-width:128px}.platform-account-identity>div{display:flex;flex-direction:column}.platform-account-dot{background:#38e18f}.platform-account-chip b{font-size:8px}.platform-account-chip small{font-size:6px;color:#7f98b5}.platform-mode-switch{display:flex;gap:3px;padding:3px;border-radius:9px;background:#07111e;border:1px solid #1d3047}.platform-mode-switch button,.workspace-account-actions button{border:1px solid transparent;background:transparent;color:#7890ad;border-radius:7px;padding:5px 7px;font-size:6.5px;font-weight:900;white-space:nowrap}.platform-mode-switch button.active,.workspace-account-actions button.active{background:linear-gradient(135deg,#143652,#24366e);border-color:#315c80;color:#f4f8ff}.platform-mode-switch button:disabled,.workspace-account-actions button:disabled{opacity:.28;cursor:not-allowed}.platform-account-menu-btn{background:#101e31;border:1px solid #263e59;color:#8ea5bf;padding:6px 8px}
.workspace-account-banner{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:15px;margin:0 0 12px;padding:10px 12px;border:1px solid #24405d;border-radius:14px;background:linear-gradient(90deg,rgba(11,29,49,.96),rgba(9,20,35,.96));box-shadow:0 12px 32px rgba(0,0,0,.13)}.workspace-account-left{display:flex;align-items:center;gap:9px}.workspace-account-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#10243d;border:1px solid #315170;font-size:18px}.workspace-account-left>div{display:flex;flex-direction:column}.workspace-account-left b{font-size:10px}.workspace-account-left small{font-size:7px;color:#7f96b1;margin-top:2px}.workspace-account-actions{display:flex;gap:4px;padding:3px;border:1px solid #1c334d;background:#071423;border-radius:9px}.workspace-account-note{font-size:7px;color:#768da8;text-align:right}

/* Page polish */
.hero-card h2,.section-title h2{letter-spacing:-.035em}.card-head h3{letter-spacing:-.02em}.market-card{background:linear-gradient(180deg,#0d192b,#091321)!important;border-color:#213b58!important}.kpi{background:#091525!important;border-color:#203750!important}.stack-item{background:#091524!important;border-color:#1f374f!important}.page-toolbar{background:linear-gradient(180deg,rgba(11,23,40,.94),rgba(8,16,29,.94))!important;border-color:#213a55!important}.full-live-jump,.knowledge-jump{background:#081421!important;border-color:#1d344c!important}.full-live-jump button,.knowledge-jump button{background:#0d1a2c!important;border-color:#28425f!important;color:#92aac4!important}.full-live-jump button:hover,.knowledge-jump button:hover{border-color:#3c638c!important;color:#fff!important}

@media(max-width:1050px){.access-gateway-shell{grid-template-columns:1fr}.access-brand-panel{border-right:0;border-bottom:1px solid #213750;min-height:auto}.access-security-note{margin-top:0}.workspace-account-banner{grid-template-columns:1fr auto}.workspace-account-note{grid-column:1/-1;text-align:left}.platform-account-identity{min-width:0}}
@media(max-width:800px){.access-gateway{padding:0}.access-gateway-shell{border-radius:0;min-height:100vh;border-left:0;border-right:0}.access-brand-panel{padding:28px 23px}.access-hero-copy h1{font-size:38px}.access-login-panel{padding:20px}.access-login-card{padding:22px}.platform-mode-switch{display:none}.workspace-account-banner{grid-template-columns:1fr}.workspace-account-actions{justify-self:start}.access-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.access-brand-panel{display:block}.access-brand-top{margin-bottom:22px}.access-feature-grid{grid-template-columns:1fr}.access-market-pills{display:none}.access-hero-copy h1{font-size:34px}.access-security-note{margin-top:18px}.access-login-panel{padding:14px}.access-login-card{padding:18px}.access-steps{grid-template-columns:1fr}.workspace-account-banner{padding:9px}.workspace-account-note{display:none}.platform-account-chip{padding:5px}.platform-account-menu-btn{padding:5px 7px}.access-live-badge{display:none}}


/* ===== V24.1 Professional balance / account control ===== */
.platform-account-chip{
  position:relative!important;display:flex!important;align-items:center;gap:8px!important;
  padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
.platform-account-chip.hidden{display:none!important}
.platform-currency-pill{
  height:38px;min-width:54px;display:flex;align-items:center;justify-content:center;padding:0 12px;
  background:#0d1828;border:1px solid #314660;border-radius:8px;color:#eef5ff;font-size:12px;font-weight:900;
  box-shadow:0 7px 18px rgba(0,0,0,.14)
}
.platform-balance-shell{position:relative}
.platform-balance-trigger{
  height:38px;min-width:178px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;
  padding:4px 10px 4px 6px;background:#0d1828;border:1px solid #314660;border-radius:8px;color:#f7fbff;
  text-align:left;box-shadow:0 7px 18px rgba(0,0,0,.14);transition:.16s ease
}
.platform-balance-trigger:hover,.platform-balance-trigger[aria-expanded="true"]{border-color:#536d8d;background:#112037;box-shadow:0 9px 24px rgba(0,0,0,.20)}
.platform-balance-icon{
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:15px;font-weight:1000;line-height:1;
  border:1px solid #4d718f;background:#183143;color:#d8f8ff
}
.platform-balance-icon.demo,.platform-account-row-icon.demo,.account-option-icon.demo{
  font-family:Inter,system-ui,sans-serif;color:#e9ffff;background:linear-gradient(145deg,#739ba2,#5a838b);border-color:#8cafb5;
  font-size:14px;font-weight:950
}
.platform-balance-icon.real,.platform-account-row-icon.real,.account-option-icon.real{background:#fff;border-color:#dce4ee;font-size:17px;overflow:hidden}
.platform-balance-copy{display:flex;align-items:baseline;gap:5px;min-width:0}
.platform-balance-copy b{font-size:12px!important;letter-spacing:-.015em;white-space:nowrap;color:#fff!important}
.platform-balance-copy small{font-size:9px!important;color:#d3deea!important;font-weight:800!important;white-space:nowrap}
.platform-balance-chevron{font-size:13px;color:#90a3b9;transform:translateY(-1px)}
.platform-account-menu-btn{
  height:38px!important;border-radius:8px!important;padding:0 12px!important;background:#161d2a!important;border:1px solid #314258!important;
  color:#aebdce!important;font-size:8px!important;font-weight:850!important
}
.platform-account-menu-btn:hover{color:#fff!important;border-color:#4c6380!important;background:#1a2638!important}
.platform-account-dropdown{
  position:absolute;z-index:1200;right:0;top:45px;width:300px;padding:8px;background:#0b1422;border:1px solid #31465f;border-radius:12px;
  box-shadow:0 22px 55px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.02);backdrop-filter:blur(18px)
}
.platform-account-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:5px 5px 8px;border-bottom:1px solid #20334a}
.platform-account-dropdown-head span{font-size:7px;letter-spacing:.14em;font-weight:950;color:#dce7f4}.platform-account-dropdown-head small{font-size:7px;color:#71869e}
.platform-account-dropdown-list{display:grid;gap:5px;padding:7px 0}
.platform-account-row{
  width:100%;display:grid;grid-template-columns:36px 1fr 22px;align-items:center;gap:9px;padding:8px;border:1px solid transparent;border-radius:9px;
  background:transparent;color:#eef5ff;text-align:left;transition:.14s ease
}
.platform-account-row:hover{background:#101e31;border-color:#263d57}.platform-account-row.active{background:#10243a;border-color:#335879}
.platform-account-row-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:950}
.platform-account-row-copy{display:flex;flex-direction:column;gap:2px}.platform-account-row-copy b{font-size:10px}.platform-account-row-copy b em{font-style:normal;font-size:8px;color:#aebdce;font-weight:800}.platform-account-row-copy small{font-size:7px;color:#7f94aa}
.platform-account-row-check{color:#57e59f;font-size:11px;font-weight:950}.platform-account-dropdown-empty{padding:12px 8px;font-size:8px;color:#7f94aa}
.platform-account-dropdown-foot{display:flex;align-items:center;gap:6px;padding:7px 5px 3px;border-top:1px solid #20334a;color:#72869e;font-size:6.5px}.platform-secure-dot{width:6px;height:6px;border-radius:50%;background:#40df91;box-shadow:0 0 10px rgba(64,223,145,.5)}
.workspace-live-balance{display:block;margin-top:4px;font-size:11px;color:#eff7ff;letter-spacing:-.01em}
.workspace-account-icon.demo{font-family:Inter,system-ui,sans-serif;font-size:15px;font-weight:950;background:linear-gradient(145deg,#739ba2,#5a838b);color:#fff;border-color:#8cafb5}
.workspace-account-icon.real{background:#fff;border-color:#dce4ee}
/* make account selector resemble a compact trading header rather than a large status widget */
.topbar{min-height:68px}
.top-actions{align-items:center}
@media(max-width:900px){
  .platform-currency-pill{display:none}.platform-balance-trigger{min-width:150px}.platform-account-menu-btn{display:none}
}
@media(max-width:560px){
  .platform-balance-trigger{min-width:132px;height:36px}.platform-balance-copy b{font-size:10px!important}.platform-balance-copy small{font-size:8px!important}.platform-account-dropdown{position:fixed;left:10px;right:10px;top:72px;width:auto}
}


/* ========================================================================
   V24.2 DIGITFLOW TRADERS — PROFESSIONAL BACKEND SHELL
   Visual-only layer. Existing pages, IDs, content, research logic and
   interaction handlers remain unchanged.
   ======================================================================== */

body.platform-authenticated{
  --df-bg:#050812;
  --df-bg-soft:#080d18;
  --df-panel:#0a1220;
  --df-panel-2:#0d1728;
  --df-panel-3:#101d31;
  --df-border:#1c2c43;
  --df-border-strong:#294766;
  --df-text:#f4f7fb;
  --df-muted:#8193aa;
  --df-blue:#3977ff;
  --df-cyan:#28c7ff;
  --df-violet:#7a55ff;
  --df-green:#26d98c;
  --df-red:#ff5d78;
  --df-amber:#f7c65c;
  --df-shadow:0 18px 48px rgba(0,0,0,.28);
  background:
    radial-gradient(circle at 18% -12%,rgba(40,199,255,.08),transparent 30rem),
    radial-gradient(circle at 84% 0%,rgba(122,85,255,.075),transparent 28rem),
    linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px),
    linear-gradient(180deg,#050812,#060a12 56%,#05070d);
  background-size:auto,auto,32px 32px,32px 32px,auto;
  color:var(--df-text);
}

/* ----- Application frame ----- */
body.platform-authenticated .app-shell{
  grid-template-columns:238px minmax(0,1fr);
  min-height:100vh;
  background:transparent;
}

body.platform-authenticated .sidebar{
  padding:14px 12px;
  background:
    linear-gradient(180deg,rgba(7,12,22,.985),rgba(5,9,16,.985)),
    #070c16;
  border-right:1px solid #17263a;
  box-shadow:16px 0 44px rgba(0,0,0,.16);
  backdrop-filter:blur(24px);
}

/* The uploaded DigitFlow Traders artwork is used as a compact brand plate. */
body.platform-authenticated .brand{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  align-items:start;
  min-height:112px;
  margin:0 0 12px;
  padding:74px 10px 10px;
  border:1px solid #1f3550;
  border-radius:15px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(15,27,44,.42),rgba(8,14,25,.96));
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

body.platform-authenticated .brand::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:68px;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.02)),
    url("../img/digitflow-traders-logo.jpg");
  background-repeat:no-repeat;
  background-position:center 45%;
  background-size:cover;
  border-bottom:1px solid rgba(255,255,255,.12);
}

body.platform-authenticated .brand::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}

body.platform-authenticated .brand-mark{display:none}
body.platform-authenticated .brand>div:last-child{position:relative;z-index:1}
body.platform-authenticated .brand b{
  font-size:12px;
  letter-spacing:.015em;
  color:#f7f9ff;
}
body.platform-authenticated .brand span{
  margin-top:2px;
  font-size:7px;
  letter-spacing:.055em;
  color:#7588a2;
  text-transform:uppercase;
}

/* ----- Navigation ----- */
body.platform-authenticated .side-nav{
  display:grid;
  gap:3px;
  max-height:calc(100vh - 212px);
  padding:1px 1px 76px;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:#263a55 transparent;
}
body.platform-authenticated .side-nav::-webkit-scrollbar{width:4px}
body.platform-authenticated .side-nav::-webkit-scrollbar-thumb{background:#263a55;border-radius:999px}

body.platform-authenticated .side-nav button{
  position:relative;
  min-height:38px;
  padding:7px 9px;
  gap:9px;
  border:1px solid transparent;
  border-radius:9px;
  color:#899bb1;
  background:transparent;
  font-size:9px;
  font-weight:760;
  letter-spacing:.005em;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;
}
body.platform-authenticated .side-nav button span{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 24px;
  color:#7792b0;
  border:1px solid #1e3149;
  border-radius:7px;
  background:#0b1524;
  font-size:10px;
  transition:.15s ease;
}
body.platform-authenticated .side-nav button:hover{
  color:#eef5ff;
  background:#0b1625;
  border-color:#192d45;
  transform:translateX(1px);
}
body.platform-authenticated .side-nav button:hover span{
  color:#bfeaff;
  border-color:#2c5070;
  background:#0f2034;
}
body.platform-authenticated .side-nav button.active{
  color:#fff;
  border-color:#28527b;
  background:
    linear-gradient(90deg,rgba(42,119,255,.18),rgba(40,199,255,.06) 68%,transparent);
  box-shadow:
    inset 3px 0 0 #32bfff,
    0 7px 18px rgba(0,0,0,.12);
}
body.platform-authenticated .side-nav button.active span{
  color:#e7f9ff;
  border-color:#356887;
  background:linear-gradient(145deg,#15314c,#132543);
  box-shadow:0 0 16px rgba(40,199,255,.08);
}

/* subtle groups, no new labels/content */
body.platform-authenticated .side-nav button:nth-child(6),
body.platform-authenticated .side-nav button:nth-child(10),
body.platform-authenticated .side-nav button:nth-child(13){
  margin-top:7px;
  border-top-color:#18283c;
}

body.platform-authenticated .side-foot{
  left:12px;right:12px;bottom:12px;
  padding:9px 10px;
  border:1px solid #1c3048;
  border-radius:11px;
  background:#08131f;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
body.platform-authenticated .connection-chip{font-size:8px;color:#c5d2e2}
body.platform-authenticated .tiny{font-size:6.5px;color:#697d97}

/* ----- Main workspace / header ----- */
body.platform-authenticated .main{
  padding:0 22px 44px;
  min-width:0;
}
body.platform-authenticated .topbar{
  min-height:70px;
  margin:0 -22px;
  padding:11px 22px;
  background:rgba(6,11,20,.94);
  border-bottom:1px solid #18283c;
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  backdrop-filter:blur(22px);
}
body.platform-authenticated .topbar>div:first-of-type{
  min-width:0;
}
body.platform-authenticated .topbar .eyebrow{
  font-size:6.5px;
  letter-spacing:.16em;
  color:#617b9a;
}
body.platform-authenticated .topbar h1{
  margin-top:3px;
  font-size:19px;
  line-height:1.05;
  letter-spacing:-.025em;
  color:#f5f8fd;
}
body.platform-authenticated .top-actions{
  align-items:center;
  gap:7px;
}

body.platform-authenticated .mobile-menu,
body.platform-authenticated .btn{
  min-height:34px;
  border-radius:8px;
}
body.platform-authenticated .btn{
  padding:7px 10px;
  border-color:#29425f;
  color:#d9e5f3;
  background:linear-gradient(180deg,#122238,#0e1929);
  box-shadow:0 6px 14px rgba(0,0,0,.13);
}
body.platform-authenticated .btn:hover{
  border-color:#3a5e83;
  background:linear-gradient(180deg,#162a43,#112038);
}
body.platform-authenticated .btn.primary{
  color:#fff;
  border:1px solid rgba(86,134,255,.68);
  background:linear-gradient(135deg,#276cf4,#6b46ea);
  box-shadow:0 8px 22px rgba(58,92,244,.22);
}
body.platform-authenticated .btn.primary:hover{
  filter:none;
  transform:translateY(-1px);
  box-shadow:0 10px 25px rgba(58,92,244,.28);
}
body.platform-authenticated .btn.ghost{
  color:#aebdd0;
  background:#0a1422;
}

/* ----- Professional account / balance control ----- */
body.platform-authenticated .platform-currency-pill{
  height:38px;
  min-width:52px;
  padding:0 11px;
  color:#eef4fc;
  background:#0a1320;
  border-color:#263a52;
  border-radius:8px;
  box-shadow:none;
}
body.platform-authenticated .platform-balance-trigger{
  height:38px;
  min-width:184px;
  padding:4px 10px 4px 6px;
  background:#0a1320;
  border-color:#263a52;
  border-radius:8px;
  box-shadow:none;
}
body.platform-authenticated .platform-balance-trigger:hover,
body.platform-authenticated .platform-balance-trigger[aria-expanded="true"]{
  border-color:#3f6283;
  background:#0d1929;
  box-shadow:0 7px 18px rgba(0,0,0,.16);
}
body.platform-authenticated .platform-balance-copy b{font-size:11px!important}
body.platform-authenticated .platform-balance-copy small{font-size:8px!important;color:#b8c5d5!important}
body.platform-authenticated .platform-account-menu-btn{
  height:38px!important;
  border-color:#263a52!important;
  background:#0a1320!important;
  color:#8fa0b4!important;
  box-shadow:none!important;
}
body.platform-authenticated .platform-account-menu-btn:hover{
  background:#0d1929!important;
  color:#fff!important;
}
body.platform-authenticated .platform-account-dropdown{
  top:44px;
  width:315px;
  border-color:#2a405b;
  border-radius:12px;
  background:rgba(7,15,26,.985);
  box-shadow:0 26px 62px rgba(0,0,0,.52);
}
body.platform-authenticated .platform-account-row{
  border-radius:8px;
}
body.platform-authenticated .platform-account-row:hover{
  background:#0c1b2d;
  border-color:#203954;
}
body.platform-authenticated .platform-account-row.active{
  background:linear-gradient(90deg,rgba(55,119,255,.15),rgba(40,199,255,.055));
  border-color:#31577d;
}

/* ----- Market ticker ----- */
body.platform-authenticated .market-strip{
  position:relative;
  z-index:10;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin:12px 0 14px;
  padding:0;
}
body.platform-authenticated .strip-card{
  min-height:62px;
  padding:8px 10px;
  border:1px solid #1d3148;
  border-radius:10px;
  background:linear-gradient(180deg,#0a1422,#08111d);
  box-shadow:0 7px 17px rgba(0,0,0,.10);
}
body.platform-authenticated .strip-card .name{
  font-size:7.5px;
  color:#7e91aa;
  letter-spacing:.035em;
}
body.platform-authenticated .strip-card .price{
  margin-top:4px;
  font-size:13px;
  letter-spacing:-.015em;
}
body.platform-authenticated .strip-card .digit{
  width:28px;height:28px;
  border:1px solid #2b4868;
  background:#0d1d31;
  color:#eaf6ff;
  font-size:11px;
}
body.platform-authenticated .strip-card .meta{
  font-size:6.5px;
  color:#637891;
}

/* ----- Cards / panels ----- */
body.platform-authenticated .hero-card,
body.platform-authenticated .card,
body.platform-authenticated .knowledge-section,
body.platform-authenticated .entry-guide-hero{
  border-color:var(--df-border)!important;
  background:
    linear-gradient(180deg,rgba(12,21,36,.985),rgba(8,15,26,.985))!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16)!important;
}
body.platform-authenticated .hero-card,
body.platform-authenticated .card{
  border-radius:13px!important;
}
body.platform-authenticated .hero-card{
  padding:19px;
}
body.platform-authenticated .hero-card.gradient-card{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 14%,rgba(91,75,255,.13),transparent 19rem),
    radial-gradient(circle at 8% 0%,rgba(40,199,255,.08),transparent 19rem),
    linear-gradient(135deg,#0b1729,#09131f)!important;
}
body.platform-authenticated .hero-card.gradient-card::after{
  content:"";
  position:absolute;
  right:-35px;bottom:-55px;
  width:230px;height:230px;
  border-radius:50%;
  border:1px solid rgba(62,114,255,.16);
  box-shadow:
    0 0 0 32px rgba(62,114,255,.025),
    0 0 0 64px rgba(122,85,255,.018);
  pointer-events:none;
}
body.platform-authenticated .hero-card h2{
  position:relative;z-index:1;
  font-size:27px;
  letter-spacing:-.04em;
}
body.platform-authenticated .hero-card p,
body.platform-authenticated .section-title p{
  color:#8799af;
}
body.platform-authenticated .card{
  padding:12px;
}
body.platform-authenticated .card-head{
  margin-bottom:9px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(30,48,70,.68);
}
body.platform-authenticated .card-head h3{
  font-size:12px;
  letter-spacing:-.015em;
}
body.platform-authenticated .section-title{
  margin:20px 2px 9px;
}
body.platform-authenticated .section-title h2{
  font-size:19px;
  letter-spacing:-.03em;
}
body.platform-authenticated .eyebrow{
  color:#6482a5;
}

/* ----- KPI / overview cards ----- */
body.platform-authenticated .kpi,
body.platform-authenticated .market-card,
body.platform-authenticated .stack-item,
body.platform-authenticated .check-item,
body.platform-authenticated .entry-contract-card,
body.platform-authenticated .candidate-card,
body.platform-authenticated .top3-card,
body.platform-authenticated .strategy-library-item,
body.platform-authenticated .auto-bot-card{
  background:linear-gradient(180deg,#0b1625,#08121e)!important;
  border-color:#1d334c!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.platform-authenticated .kpi{
  position:relative;
  min-height:68px;
  padding:10px 11px 9px 13px;
  overflow:hidden;
}
body.platform-authenticated .kpi::before{
  content:"";
  position:absolute;left:0;top:10px;bottom:10px;width:2px;
  border-radius:999px;
  background:linear-gradient(180deg,#2bc7ff,#6d57ff);
  opacity:.68;
}
body.platform-authenticated .kpi span{
  color:#70839c;
  font-size:6.7px;
  letter-spacing:.09em;
}
body.platform-authenticated .kpi b{
  margin-top:6px;
  font-size:15px;
}
body.platform-authenticated .market-card{
  padding:10px;
}
body.platform-authenticated .market-card .last{
  font-size:18px;
}
body.platform-authenticated .market-card .mini{
  background:#09131f;
  border:1px solid #172b42;
}
body.platform-authenticated .stack-item{
  min-height:44px;
  padding:8px 9px;
}
body.platform-authenticated .stack-item b{font-size:9px}
body.platform-authenticated .stack-item span{font-size:7px}

/* ----- Status / badges ----- */
body.platform-authenticated .badge{
  border-radius:6px;
  padding:4px 6px;
  font-size:6.5px;
  letter-spacing:.055em;
}
body.platform-authenticated .badge.ready{
  color:#6ef3b2;
  border-color:#236348;
  background:#09251a;
}
body.platform-authenticated .badge.wait{
  color:#f4d37d;
  border-color:#5b4b21;
  background:#211b0a;
}
body.platform-authenticated .badge.avoid{
  color:#ff92a4;
  border-color:#66303d;
  background:#241019;
}
body.platform-authenticated .badge.info{
  color:#8fdfff;
  border-color:#24566d;
  background:#08202d;
}

/* ----- Forms / toolbars ----- */
body.platform-authenticated .page-toolbar{
  margin:12px 0;
  padding:10px;
  border:1px solid #1c3048!important;
  border-radius:11px!important;
  background:rgba(8,16,28,.94)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.12);
}
body.platform-authenticated .select,
body.platform-authenticated input.setting,
body.platform-authenticated input,
body.platform-authenticated select{
  border-color:#263d59;
  background:#091523;
  color:#eef5fd;
  border-radius:8px;
}
body.platform-authenticated .select:focus,
body.platform-authenticated input:focus,
body.platform-authenticated select:focus{
  outline:none;
  border-color:#3b75a0;
  box-shadow:0 0 0 3px rgba(40,199,255,.07);
}

/* ----- Tables ----- */
body.platform-authenticated .table-wrap,
body.platform-authenticated .tablewrap{
  border:1px solid #1b3048;
  border-radius:10px;
  overflow:auto;
  background:#07101c;
}
body.platform-authenticated table{
  border-collapse:separate;
  border-spacing:0;
}
body.platform-authenticated thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#0c1727;
  color:#7086a1;
  font-size:6.6px;
  letter-spacing:.075em;
  text-transform:uppercase;
  border-bottom:1px solid #223a55;
}
body.platform-authenticated tbody td{
  color:#a9b9cb;
  border-bottom:1px solid #13263a;
}
body.platform-authenticated tbody tr:hover td{
  background:#0a1726;
  color:#dbe7f3;
}

/* ----- Digit / contract visualization ----- */
body.platform-authenticated .digit-ring{
  border-color:#29435f;
  background:
    radial-gradient(circle at 50% 38%,#10223a,#08121e 70%);
  box-shadow:inset 0 0 20px rgba(0,0,0,.12);
}
body.platform-authenticated .digit-ring.role-green{box-shadow:0 0 20px rgba(38,217,140,.07)}
body.platform-authenticated .bar-track{background:#101e31}
body.platform-authenticated .bar-fill{
  background:linear-gradient(90deg,#3977ff,#29c6ff);
}

/* ----- Professional slim account banner inside dashboard ----- */
body.platform-authenticated .workspace-account-banner{
  min-height:58px;
  margin:0 0 13px;
  padding:8px 11px;
  gap:12px;
  border:1px solid #1e334d;
  border-radius:10px;
  background:linear-gradient(90deg,#091624,#08111d);
  box-shadow:0 8px 20px rgba(0,0,0,.11);
}
body.platform-authenticated .workspace-account-icon{
  width:34px;height:34px;
  border-radius:8px;
}
body.platform-authenticated .workspace-account-left b{font-size:9px}
body.platform-authenticated .workspace-account-left small{font-size:6.5px}
body.platform-authenticated .workspace-live-balance{
  margin-top:3px;
  font-size:10px;
}
body.platform-authenticated .workspace-account-actions{
  border-color:#1d334c;
  background:#07111d;
  border-radius:8px;
}
body.platform-authenticated .workspace-account-actions button{
  border-radius:6px;
}
body.platform-authenticated .workspace-account-actions button.active{
  background:#142a45;
  border-color:#31597f;
}

/* ----- Research jump bars / embedded full analyzer ----- */
body.platform-authenticated .knowledge-jump,
body.platform-authenticated .full-live-jump{
  top:78px;
  padding:7px;
  border:1px solid #1d3149!important;
  border-radius:10px!important;
  background:rgba(7,14,24,.94)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
body.platform-authenticated .knowledge-jump button,
body.platform-authenticated .full-live-jump button{
  padding:5px 8px;
  border-radius:7px!important;
  border-color:#223a55!important;
  background:#0a1625!important;
  color:#8399b4!important;
  font-size:7px;
}
body.platform-authenticated .knowledge-jump button:hover,
body.platform-authenticated .full-live-jump button:hover{
  color:#f1f7ff!important;
  border-color:#376586!important;
}
body.platform-authenticated .full-live-note,
body.platform-authenticated .signal-note,
body.platform-authenticated .info-note{
  border-radius:9px!important;
  background:#0a1625!important;
  border-color:#1e3550!important;
}
body.platform-authenticated .full-live-frame-wrap{
  min-height:680px;
  border-color:#263d59;
  border-radius:12px;
  background:#050a12;
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}

/* ----- Charts, bot and strategy presentation ----- */
body.platform-authenticated .canvas-wrap,
body.platform-authenticated .candle-panel,
body.platform-authenticated .auto-bot-frame-wrap{
  border-color:#1d334d!important;
  border-radius:10px!important;
  background:#07101b!important;
}
body.platform-authenticated .strategy-chip{
  border-color:#263d59;
  border-radius:7px;
  background:#091524;
  color:#9fb1c5;
}
body.platform-authenticated .strategy-chip:hover,
body.platform-authenticated .strategy-chip.active{
  border-color:#356488;
  background:#0d2034;
  color:#fff;
}
body.platform-authenticated .future-bot-grid>div,
body.platform-authenticated .auto-bot-flow-list>div,
body.platform-authenticated .auto-bot-issue{
  background:#091522;
  border-color:#1c3149;
}

/* ----- Signal Center ----- */
body.platform-authenticated .legacy-signal-hero,
body.platform-authenticated .signal-status-card,
body.platform-authenticated .signal-card{
  border-radius:11px!important;
}
body.platform-authenticated .legacy-signal-hero{
  background:
    radial-gradient(circle at 94% 0%,rgba(122,85,255,.12),transparent 16rem),
    linear-gradient(135deg,#0b1728,#08121e)!important;
  border-color:#223c58!important;
}
body.platform-authenticated .legacy-signal-hero h2{
  font-size:23px;
}

/* ----- Spacing / density ----- */
body.platform-authenticated .two-col{gap:10px;margin-top:10px}
body.platform-authenticated .market-card-grid{gap:7px}
body.platform-authenticated .kpi-grid{gap:7px}
body.platform-authenticated .three-kpis{gap:7px}
body.platform-authenticated .candidate-grid,
body.platform-authenticated .strategy-library-grid,
body.platform-authenticated .auto-bot-library{gap:8px}

/* ----- Scrollbars ----- */
body.platform-authenticated *{
  scrollbar-width:thin;
  scrollbar-color:#243a55 #07101b;
}
body.platform-authenticated *::-webkit-scrollbar{width:7px;height:7px}
body.platform-authenticated *::-webkit-scrollbar-track{background:#07101b}
body.platform-authenticated *::-webkit-scrollbar-thumb{background:#243a55;border-radius:999px}

/* ----- Responsive backend ----- */
@media(max-width:1180px){
  body.platform-authenticated .app-shell{grid-template-columns:214px minmax(0,1fr)}
  body.platform-authenticated .market-card-grid{grid-template-columns:repeat(3,minmax(170px,1fr))}
  body.platform-authenticated .hero-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  body.platform-authenticated .app-shell{display:block}
  body.platform-authenticated .sidebar{
    position:fixed;
    left:-246px;
    width:238px;
    transition:left .18s ease;
  }
  body.platform-authenticated .sidebar.open{left:0}
  body.platform-authenticated .main{padding:0 13px 30px}
  body.platform-authenticated .topbar{margin:0 -13px;padding:10px 13px}
  body.platform-authenticated .mobile-menu{display:block}
  body.platform-authenticated .market-strip{grid-template-columns:repeat(5,minmax(150px,1fr));overflow:auto;padding-bottom:4px}
  body.platform-authenticated .platform-currency-pill{display:none}
  body.platform-authenticated .platform-balance-trigger{min-width:156px}
}
@media(max-width:660px){
  body.platform-authenticated .topbar{align-items:flex-start}
  body.platform-authenticated .topbar h1{font-size:16px}
  body.platform-authenticated .top-actions{justify-content:flex-end}
  body.platform-authenticated .market-card-grid{grid-template-columns:1fr}
  body.platform-authenticated .two-col,
  body.platform-authenticated .two-col.wide-left,
  body.platform-authenticated .three-kpis{grid-template-columns:1fr}
  body.platform-authenticated .platform-balance-trigger{min-width:138px}
}


/* =======================================================================
   V24.3 DIGITFLOW TRADERS — PREMIUM TERMINAL UI
   Layout/style upgrade only. Existing research content and handlers stay.
   ======================================================================= */
:root{--df3-bg:#020611;--df3-panel:#07111f;--df3-panel2:#09172a;--df3-line:#173254;--df3-line2:#21466f;--df3-text:#f7f9ff;--df3-muted:#91a4bf;--df3-blue:#168dff;--df3-cyan:#28dbff;--df3-violet:#6f50ff;--df3-magenta:#d938ff;--df3-green:#18d68e}
.access-gateway{background:radial-gradient(circle at 18% 48%,rgba(11,113,255,.18),transparent 31rem),radial-gradient(circle at 73% 62%,rgba(190,31,255,.12),transparent 34rem),linear-gradient(180deg,#020713,#030814 56%,#02050c)!important}
.access-gateway::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.6;background-image:linear-gradient(rgba(55,116,210,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(55,116,210,.06) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,transparent 0%,#000 20%,#000 80%,transparent 100%)}
.access-gateway::after{content:"";position:absolute;left:0;right:0;bottom:8%;height:34%;pointer-events:none;opacity:.9;background:radial-gradient(ellipse at 20% 50%,transparent 0 26%,rgba(26,139,255,.34) 27%,transparent 28% 33%,rgba(32,213,255,.18) 34%,transparent 35%),radial-gradient(ellipse at 66% 53%,transparent 0 28%,rgba(151,49,255,.27) 29%,transparent 30% 35%,rgba(224,52,255,.15) 36%,transparent 37%);filter:blur(1px)}
.df-landing-nav{position:relative;z-index:5;width:min(1480px,calc(100% - 44px));margin:0 auto;padding:18px 4px 8px;display:grid;grid-template-columns:210px 1fr 170px;align-items:center;gap:18px}
.df-landing-wordmark{display:grid;line-height:.86;text-transform:uppercase;font-style:italic;letter-spacing:-.04em}.df-landing-wordmark span,.df-landing-wordmark b{font-size:26px;font-weight:950;background:linear-gradient(90deg,#32d9ff,#5e8cff 52%,#c24dff);-webkit-background-clip:text;color:transparent;text-shadow:0 0 24px rgba(79,139,255,.25)}.df-landing-wordmark b{font-size:21px;margin-left:34px}.df-landing-wordmark small{font-style:normal;margin:7px 0 0 70px;font-size:7px;letter-spacing:.08em;color:#7d8ea7}
.df-landing-nav nav{display:flex;align-items:center;justify-content:center;gap:26px}.df-landing-nav nav button{border:0;background:transparent;color:#9cadc4;font-size:10px;font-weight:760;padding:10px 0;cursor:pointer;position:relative}.df-landing-nav nav button:hover{color:#fff}.df-landing-nav nav button:first-child{color:#fff}.df-landing-nav nav button:first-child::after{content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;background:linear-gradient(90deg,#6d52ff,#25d8ff);box-shadow:0 0 12px rgba(46,191,255,.55)}.df-preview-pill{justify-self:end;border:1px solid #344b7d;border-radius:999px;padding:9px 17px;color:#b7c6dd;background:#071226;font-size:9px}
.access-gateway-shell{position:relative;z-index:3;width:min(1480px,calc(100% - 44px))!important;min-height:calc(100vh - 95px)!important;margin:0 auto!important;gap:36px!important;padding:22px 4px 40px!important;align-items:center!important}
.access-brand-panel{padding:24px 10px 28px!important;background:transparent!important;border:0!important;box-shadow:none!important;position:relative}.access-brand-panel::before{content:"";position:absolute;right:-4%;top:10%;width:58%;height:48%;background:url('../img/digitflow-traders-logo.jpg') center/contain no-repeat;opacity:.10;mix-blend-mode:screen;filter:saturate(1.5) contrast(1.15);pointer-events:none}.access-brand-top{display:none!important}.access-hero-copy .eyebrow{display:none}.access-hero-copy h1{font-size:clamp(42px,5vw,76px)!important;line-height:1.02!important;letter-spacing:-.055em!important;max-width:860px!important;margin:4px 0 22px!important;color:#f7faff!important}.access-hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#37d7ff,#5d83ff 48%,#b557ff);-webkit-background-clip:text;color:transparent;text-shadow:none}.access-hero-copy p{font-size:15px!important;line-height:1.8!important;max-width:770px!important;color:#94a8c2!important}
.access-market-pills{margin:26px 0 24px!important}.access-market-pills span{padding:9px 14px!important;border-color:#244875!important;background:#061326!important;box-shadow:inset 0 1px rgba(255,255,255,.03)}.access-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:10px!important}.access-feature-grid>div{min-height:100px!important;border:1px solid #1d426b!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(9,25,45,.94),rgba(5,13,25,.94))!important;box-shadow:0 14px 34px rgba(0,0,0,.2)!important;padding:18px!important}.access-feature-grid i{background:linear-gradient(135deg,#0b5478,#103350)!important;border-color:#2e6d94!important;color:#45e6ff!important}.access-feature-grid b{font-size:13px!important}.access-feature-grid span{color:#8197b5!important;line-height:1.55!important}.access-security-note{border:1px solid #173e5e!important;background:linear-gradient(90deg,rgba(7,30,44,.86),rgba(5,15,28,.82))!important;border-radius:14px!important;margin-top:18px!important}
.access-login-panel{padding:18px!important;background:transparent!important;border:0!important;box-shadow:none!important}.access-login-card{position:relative;padding:26px!important;border:1px solid #294c73!important;border-radius:22px!important;background:linear-gradient(160deg,rgba(7,20,37,.97),rgba(3,10,21,.985))!important;box-shadow:0 35px 90px rgba(0,0,0,.5),0 0 50px rgba(54,75,255,.07)!important}.access-login-card::before{content:"";position:absolute;inset:-1px;border-radius:22px;padding:1px;background:linear-gradient(135deg,rgba(42,218,255,.34),rgba(113,75,255,.16),rgba(221,56,255,.2));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;pointer-events:none}.access-login-head{padding-bottom:15px!important;border-bottom:1px solid #17304d!important}.access-version{border-color:#2b5277!important;color:#9dc7ed!important;background:#08182b!important}.access-login-card h2{font-size:34px!important;letter-spacing:-.04em!important}.access-login-card .muted{color:#8da2bd!important;line-height:1.7!important}.access-main-btn{min-height:66px!important;border:1px solid #5571ff!important;border-radius:13px!important;background:linear-gradient(100deg,#0a92ff,#5d55f6 62%,#d632f6)!important;box-shadow:0 14px 35px rgba(85,76,255,.28)!important}.access-secondary-btn{min-height:62px!important;border:1px solid #2a4d70!important;border-radius:13px!important;background:#071526!important}.access-secondary-btn:hover{border-color:#3d6b94!important;background:#091b31!important}.access-trust-row span{border-color:#21405e!important;background:#061523!important;color:#8ca1b9!important}.access-divider::before,.access-divider::after{background:#1c3856!important}.access-steps>div{border-color:#1e405f!important;background:#071628!important;border-radius:12px!important}.access-owner-foot{border-top-color:#17324d!important}

body.platform-authenticated{background:#020611!important}.platform-authenticated .app-shell{grid-template-columns:204px minmax(0,1fr)!important}.platform-authenticated .sidebar{padding:8px!important;background:linear-gradient(180deg,#030916,#020711)!important;border-right:1px solid #142d4d!important}.platform-authenticated .brand{height:100px!important;min-height:100px!important;padding:64px 8px 7px!important;border-radius:11px!important;border-color:#17335a!important;background:#050c19!important}.platform-authenticated .brand::before{height:61px!important;background-position:center 44%!important;opacity:.95;filter:saturate(1.2) contrast(1.08);mix-blend-mode:screen}.platform-authenticated .brand b{display:none!important}.platform-authenticated .brand span{display:block!important;text-align:center!important;font-size:6px!important;color:#6783a7!important}.platform-authenticated .side-nav{gap:2px!important;max-height:calc(100vh - 200px)!important}.platform-authenticated .side-nav button{min-height:34px!important;padding:5px 7px!important;border-radius:7px!important;font-size:8px!important;color:#7f92ad!important}.platform-authenticated .side-nav button span{width:22px!important;height:22px!important;flex-basis:22px!important;border-radius:6px!important}.platform-authenticated .side-nav button.active{background:linear-gradient(90deg,rgba(19,125,255,.25),rgba(113,58,255,.22))!important;border-color:#316df3!important;box-shadow:inset 3px 0 #29d8ff,0 0 18px rgba(74,87,255,.2)!important;color:white!important}
.platform-authenticated .main{padding:0 12px 34px!important}.platform-authenticated .topbar{min-height:57px!important;margin:0 -12px!important;padding:7px 12px!important;display:grid!important;grid-template-columns:auto minmax(480px,1fr) auto!important;gap:14px!important;background:rgba(2,7,16,.97)!important;border-bottom-color:#173252!important}.platform-authenticated .topbar>div:first-of-type{display:none!important}.df-workspace-nav{display:flex;align-items:center;gap:4px;min-width:0;overflow:auto}.df-workspace-nav button{position:relative;border:0;background:transparent;color:#8799b3;font-size:8px;font-weight:780;padding:12px 10px;white-space:nowrap;cursor:pointer}.df-workspace-nav button:hover{color:#fff}.df-workspace-nav button:first-child{color:#fff}.df-workspace-nav button:first-child::after{content:"";position:absolute;left:9px;right:9px;bottom:2px;height:2px;background:linear-gradient(90deg,#168dff,#754bff);box-shadow:0 0 10px #168dff}.platform-authenticated .top-actions{gap:5px!important;justify-self:end}.platform-authenticated .platform-currency-pill,.platform-authenticated .platform-balance-trigger,.platform-authenticated .platform-account-menu-btn,.platform-authenticated .top-actions>.btn{height:35px!important;min-height:35px!important;border-radius:7px!important;background:#071426!important;border-color:#1e436c!important}.platform-authenticated .platform-balance-trigger{min-width:148px!important}.platform-authenticated .platform-account-menu-btn{padding:0 9px!important}.platform-authenticated .market-strip{margin:8px 0 9px!important;gap:5px!important}.platform-authenticated .strip-card{min-height:58px!important;border-radius:8px!important;border-color:#173654!important;background:linear-gradient(180deg,#071426,#050d1a)!important;padding:8px 9px!important;position:relative;overflow:hidden}.platform-authenticated .strip-card::after{content:"";position:absolute;left:9px;right:9px;bottom:4px;height:13px;background:linear-gradient(135deg,transparent 0 15%,#2d7eff 16% 18%,transparent 19% 31%,#3dd8ff 32% 34%,transparent 35% 54%,#8c48ff 55% 57%,transparent 58% 72%,#df37ff 73% 75%,transparent 76%);opacity:.5}.platform-authenticated .strip-card .price{font-size:12px!important}.platform-authenticated .strip-card .meta{position:relative;z-index:2}
.platform-authenticated .workspace-account-banner{margin:0 0 8px!important;min-height:48px!important;border-radius:8px!important;background:linear-gradient(90deg,#071527,#0b1730 68%,#160b34)!important;border-color:#27487a!important}.platform-authenticated .workspace-account-note{font-size:6.5px!important}.platform-authenticated .hero-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:8px!important;margin-bottom:8px!important}.platform-authenticated .hero-card{min-height:185px!important;padding:17px!important;border-radius:9px!important}.platform-authenticated .df-brand-hero{overflow:hidden;background:linear-gradient(100deg,#061326 0%,#07152a 38%,#09132e 100%)!important}.df-brand-watermark{position:absolute;right:2%;top:12%;width:55%;height:76%;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none;opacity:.92;transform:skewX(-5deg);text-transform:uppercase;font-style:italic}.df-brand-watermark span,.df-brand-watermark b{font-weight:950;line-height:.78;letter-spacing:-.06em;background:linear-gradient(180deg,#dff8ff 0%,#39c7ff 29%,#3778ff 52%,#9b48ff 76%,#ef69ff 100%);-webkit-background-clip:text;color:transparent;text-shadow:0 0 28px rgba(74,104,255,.16)}.df-brand-watermark span{font-size:clamp(35px,4vw,65px)}.df-brand-watermark b{font-size:clamp(31px,3.5vw,58px)}.df-brand-watermark small{font-style:normal;margin-top:12px;color:#8f9bb8;font-size:8px;letter-spacing:.08em}.platform-authenticated .df-brand-hero>.eyebrow,.platform-authenticated .df-brand-hero>h2,.platform-authenticated .df-brand-hero>p,.platform-authenticated .df-brand-hero>.hero-actions{position:relative;z-index:2;max-width:45%}.platform-authenticated .df-brand-hero h2{font-size:26px!important;line-height:1.08!important}.platform-authenticated .df-brand-hero p{font-size:9px!important;line-height:1.6!important}.platform-authenticated .hero-grid>.card{border-radius:9px!important}
.df-dashboard-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0 0 8px}.df-dashboard-shortcuts button{min-height:126px;padding:11px 10px;border:1px solid #173d6a;border-radius:9px;background:linear-gradient(180deg,#07152a,#050d1b);color:#fff;text-align:left;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}.df-dashboard-shortcuts button::before{content:"";position:absolute;width:105px;height:105px;border-radius:50%;left:50%;top:-18px;transform:translateX(-50%);background:radial-gradient(circle,rgba(76,67,255,.28),rgba(17,170,255,.08) 48%,transparent 70%);box-shadow:inset 0 0 0 1px rgba(65,137,255,.14)}.df-dashboard-shortcuts button:hover{border-color:#3979ff;transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.22),0 0 18px rgba(55,75,255,.1)}.df-shortcut-orb{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:27px;color:#8ee8ff;background:radial-gradient(circle at 35% 30%,#143b78,#100d43 70%);border:1px solid #3758b8;box-shadow:0 0 24px rgba(84,70,255,.22)}.df-dashboard-shortcuts button:nth-child(2n) .df-shortcut-orb{color:#e276ff;background:radial-gradient(circle at 35% 30%,#3d1b72,#10104a 70%)}.df-dashboard-shortcuts b{font-size:9px;margin-bottom:4px}.df-dashboard-shortcuts small{font-size:6.5px;color:#7f92ad;line-height:1.35}.platform-authenticated #page-dashboard>.section-title{margin:12px 1px 6px!important}.platform-authenticated #page-dashboard>.section-title h2{font-size:15px!important}.platform-authenticated .market-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}.platform-authenticated .market-card{min-height:106px!important;border-radius:8px!important;padding:9px!important;background:linear-gradient(180deg,#071427,#050d19)!important}.platform-authenticated .market-card .last{font-size:14px!important}.platform-authenticated .market-card .mini{border-radius:6px!important}.platform-authenticated #page-dashboard>.two-col{grid-template-columns:1.15fr .85fr!important;gap:7px!important;margin-top:7px!important}.platform-authenticated #page-dashboard>.two-col>.card,.platform-authenticated .diagnostics-card{border-radius:8px!important}.platform-authenticated .diagnostics-card{margin-top:7px!important}
.platform-authenticated .card,.platform-authenticated .hero-card,.platform-authenticated .knowledge-section{border-color:#173858!important;background:linear-gradient(180deg,#071426,#050d19)!important;border-radius:9px!important;box-shadow:none!important}.platform-authenticated .page-toolbar{border-radius:8px!important;background:#061324!important;border-color:#183959!important}.platform-authenticated .section-title h2{font-size:17px!important}.platform-authenticated .section-title p{font-size:8px!important}.platform-authenticated thead th{background:#08172a!important;border-bottom-color:#204569!important;color:#7189a9!important}.platform-authenticated tbody td{border-bottom-color:#112a43!important}.platform-authenticated .table-wrap,.platform-authenticated .tablewrap{background:#040c18!important;border-color:#173758!important;border-radius:8px!important}.platform-authenticated .btn.primary{background:linear-gradient(95deg,#118dff,#6b50ff 72%,#bc35ff)!important}
@media(max-width:1250px){.df-landing-nav{grid-template-columns:185px 1fr 130px}.df-landing-nav nav{gap:13px}.platform-authenticated .app-shell{grid-template-columns:188px minmax(0,1fr)!important}.platform-authenticated .topbar{grid-template-columns:auto minmax(350px,1fr) auto!important}.df-dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.df-landing-nav{grid-template-columns:1fr auto}.df-landing-nav nav{display:none}.df-preview-pill{display:none}.access-gateway-shell{grid-template-columns:1fr!important;padding-top:5px!important}.access-brand-panel{padding-top:8px!important}.access-login-panel{padding:6px!important}.access-hero-copy h1{font-size:48px!important}.access-feature-grid{grid-template-columns:1fr 1fr!important}.platform-authenticated .topbar{display:flex!important}.df-workspace-nav{display:none}.platform-authenticated .hero-grid{grid-template-columns:1fr!important}.df-brand-watermark{opacity:.24;width:70%}.platform-authenticated .df-brand-hero>.eyebrow,.platform-authenticated .df-brand-hero>h2,.platform-authenticated .df-brand-hero>p,.platform-authenticated .df-brand-hero>.hero-actions{max-width:80%!important}.df-dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.df-landing-wordmark span{font-size:22px}.df-landing-wordmark b{font-size:18px}.access-hero-copy h1{font-size:38px!important}.access-feature-grid{grid-template-columns:1fr!important}.access-login-card{padding:18px!important}.df-dashboard-shortcuts{grid-template-columns:1fr 1fr}.df-dashboard-shortcuts button{min-height:112px}.df-brand-watermark{display:none}.platform-authenticated .df-brand-hero>.eyebrow,.platform-authenticated .df-brand-hero>h2,.platform-authenticated .df-brand-hero>p,.platform-authenticated .df-brand-hero>.hero-actions{max-width:100%!important}}

/* =======================================================================
   V24.4 — LIVE MOTION ENHANCEMENT
   Circle current-digit cursor + contract comparisons + live candle motion.
   ======================================================================= */
.circle-live-stage{position:relative;isolation:isolate;padding:4px 0 2px}
.circle-live-stage .digit-grid{position:relative;z-index:1}
.digit-ring.current-touched{
  border-color:#50e8ff!important;
  box-shadow:0 0 0 4px rgba(47,210,255,.08),0 0 30px rgba(49,207,255,.30),inset 0 0 28px rgba(38,142,255,.10)!important;
  background:radial-gradient(circle at 50% 42%,#14335a,#09192c 64%,#06111d 100%)!important;
}
.digit-ring.current-touched::after{
  content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid rgba(73,222,255,.72);pointer-events:none;
  animation:circleCurrentPulse 1.05s ease-out infinite;
}
.current-touch-tag{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);z-index:4;padding:2px 6px;border-radius:999px;background:#062237;border:1px solid #31c9ed;color:#9ef4ff;font-size:6px;font-weight:950;letter-spacing:.08em;box-shadow:0 0 12px rgba(38,211,255,.25)}
.circle-live-cursor{position:absolute;z-index:8;width:46px;height:46px;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:50%;pointer-events:none;transition:left .20s cubic-bezier(.2,.8,.2,1),top .20s cubic-bezier(.2,.8,.2,1),opacity .12s ease;border:1px solid rgba(61,225,255,.82);background:radial-gradient(circle,rgba(8,46,75,.42),rgba(0,0,0,0) 68%);box-shadow:0 0 18px rgba(38,212,255,.26),inset 0 0 14px rgba(62,129,255,.14)}
.circle-live-cursor::before,.circle-live-cursor::after{content:"";position:absolute;background:#55e8ff;opacity:.78;box-shadow:0 0 7px #42dfff}
.circle-live-cursor::before{width:58px;height:1px;left:-7px;top:22px}.circle-live-cursor::after{height:58px;width:1px;top:-7px;left:22px}
.circle-live-cursor span{position:absolute;top:-22px;left:50%;transform:translateX(-50%);padding:2px 5px;border-radius:999px;background:#032438;border:1px solid #37cdec;color:#87f3ff;font-size:5px;font-weight:950;letter-spacing:.1em;white-space:nowrap}
.circle-live-cursor b{font-size:13px;color:#f2fdff;text-shadow:0 0 8px #3cdcff}.circle-live-cursor.hidden{opacity:0}
.legend-dot.live{background:#48e5ff;box-shadow:0 0 8px rgba(72,229,255,.7)}
@keyframes circleCurrentPulse{0%{transform:scale(.98);opacity:.9}100%{transform:scale(1.10);opacity:0}}

.circle-comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;margin-top:12px}
.circle-comparison-card{padding:10px;border:1px solid #1e3b59;border-radius:10px;background:linear-gradient(180deg,#081827,#06111e);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.circle-comparison-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px}.circle-comparison-head span{display:block;color:#43dffb;font-size:5.5px;font-weight:950;letter-spacing:.12em}.circle-comparison-head b{display:block;margin-top:2px;color:#f1f7ff;font-size:10px}.circle-comparison-head small{max-width:180px;text-align:right;color:#657d98;font-size:6px;line-height:1.35}
.circle-compare-row{display:grid;grid-template-columns:92px minmax(70px,1fr) 50px;align-items:center;gap:7px;padding:6px 7px;border:1px solid transparent;border-radius:8px;transition:.16s ease}.circle-compare-row+.circle-compare-row{margin-top:4px}.circle-compare-row.active{background:rgba(32,170,255,.08);border-color:#225f80}.circle-compare-row label{color:#9db0c6;font-size:8px;font-weight:800}.circle-compare-row label em{margin-left:3px;padding:1px 4px;border-radius:999px;background:#07364a;color:#68ecff;font-size:5px;font-style:normal;letter-spacing:.06em}.circle-compare-row>b{color:#edf6ff;font-size:9px;text-align:right}.circle-compare-track{height:8px;border-radius:999px;background:#102136;overflow:hidden;border:1px solid #193550}.circle-compare-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#198dff,#38deff);box-shadow:0 0 10px rgba(49,206,255,.22);transition:width .22s ease}.circle-compare-row.alt .circle-compare-track i{background:linear-gradient(90deg,#6d55ff,#d14cff);box-shadow:0 0 10px rgba(159,66,255,.20)}

.candle-live-movement{margin:9px 0 10px;border:1px solid #1d4264;border-radius:11px;background:linear-gradient(100deg,#07182a,#081426 60%,#120d2b);box-shadow:0 12px 25px rgba(0,0,0,.13);overflow:hidden}
.candle-live-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #183754;background:rgba(3,13,24,.32)}.candle-live-title>div{display:grid;grid-template-columns:auto auto;column-gap:7px;align-items:center}.candle-live-title b{font-size:9px;color:#f0f7ff}.candle-live-title small{grid-column:2;color:#748ba6;font-size:6.5px;margin-top:1px}.candle-live-title em{font-style:normal;color:#617995;font-size:6px;text-transform:uppercase;letter-spacing:.08em}.live-pulse-dot{width:8px;height:8px;border-radius:50%;background:#21e49a;box-shadow:0 0 0 0 rgba(33,228,154,.5);animation:liveDotPulse 1.15s infinite;grid-row:1/3}
@keyframes liveDotPulse{0%{box-shadow:0 0 0 0 rgba(33,228,154,.45)}70%{box-shadow:0 0 0 7px rgba(33,228,154,0)}100%{box-shadow:0 0 0 0 rgba(33,228,154,0)}}
.candle-live-stats{display:grid;grid-template-columns:repeat(6,minmax(115px,1fr));gap:0}.candle-live-stats>div{min-height:60px;padding:9px 11px;border-right:1px solid #152f49;position:relative}.candle-live-stats>div:last-child{border-right:0}.candle-live-stats span{display:block;color:#6f87a3;font-size:6px;text-transform:uppercase;letter-spacing:.07em}.candle-live-stats b{display:block;margin-top:4px;color:#f3f8ff;font-size:11px;white-space:nowrap}.candle-live-stats small{display:block;margin-top:3px;color:#8097b2;font-size:6.5px;white-space:nowrap}.candle-live-stats strong{color:#62e8ff}.candle-live-stats .up b,.candle-live-stats .up small{color:#39e19a}.candle-live-stats .down b,.candle-live-stats .down small{color:#ff7186}.candle-live-stats .flat b{color:#f2cc6b}
.platform-authenticated #priceChart{position:relative;border-color:#1e4669!important;background:linear-gradient(180deg,#061421,#040d18)!important;box-shadow:inset 0 0 28px rgba(16,100,170,.035)!important}.platform-authenticated #priceChart::after{content:"LIVE MARKET";position:absolute;right:12px;top:10px;padding:3px 6px;border:1px solid #1a627b;border-radius:999px;background:#052437;color:#65eaff;font-size:5.5px;font-weight:950;letter-spacing:.1em;pointer-events:none}

@media(max-width:1050px){.candle-live-stats{grid-template-columns:repeat(3,1fr)}.candle-live-stats>div:nth-child(3){border-right:0}.candle-live-stats>div:nth-child(-n+3){border-bottom:1px solid #152f49}}
@media(max-width:760px){.circle-comparison-grid{grid-template-columns:1fr}.candle-live-stats{grid-template-columns:repeat(2,1fr)}.candle-live-stats>div{border-bottom:1px solid #152f49}.candle-live-stats>div:nth-child(2n){border-right:0}.candle-live-title{align-items:flex-start}.candle-live-title em{display:none}}
@media(max-width:560px){.circle-compare-row{grid-template-columns:80px 1fr 47px}.circle-comparison-head small{display:none}.circle-live-cursor{width:38px;height:38px}.circle-live-cursor::before{width:48px;left:-5px;top:18px}.circle-live-cursor::after{height:48px;top:-5px;left:18px}.candle-live-stats{grid-template-columns:1fr}.candle-live-stats>div{border-right:0!important}}


/* =======================================================================
   V24.5 — scanners + premium circle bars + comparison corrections.
   ======================================================================= */
.digit-ring{padding-bottom:12px;overflow:visible}
.digit-ring .tag{z-index:3}
.digit-ring.role-indigo{border-color:#6559ff;box-shadow:0 0 18px rgba(101,89,255,.12)}
.digit-ring.role-orange{border-color:#ff9c46;box-shadow:0 0 18px rgba(255,156,70,.11)}
.digit-ring.role-purple{border-color:#be64ff;box-shadow:0 0 18px rgba(190,100,255,.11)}
.digit-ring-bar{position:absolute;left:14%;right:14%;bottom:8px;height:7px;border-radius:999px;background:#0d2136;border:1px solid #1f3b56;overflow:hidden}
.digit-ring-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#284764,#476487);box-shadow:0 0 8px rgba(80,130,180,.2)}
.digit-ring-bar i.green{background:linear-gradient(90deg,#22b66d,#52f0b2)}
.digit-ring-bar i.blue{background:linear-gradient(90deg,#2768ff,#51c8ff)}
.digit-ring-bar i.indigo{background:linear-gradient(90deg,#4a46ff,#8877ff)}
.digit-ring-bar i.orange{background:linear-gradient(90deg,#ff8b32,#ffd05c)}
.digit-ring-bar i.purple{background:linear-gradient(90deg,#9957ff,#e06cff)}
.digit-ring-bar i.red{background:linear-gradient(90deg,#d24657,#ff8a8e)}
.digit-ring-bar i.neutral{background:linear-gradient(90deg,#2a445f,#4f6884)}
.appearance-card{grid-column:auto}
.appearance-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.appearance-digit{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;border:1px solid #1e3f59;background:#071423;font-size:12px;font-weight:900;color:#d9e8f5;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.appearance-digit.even{color:#46e5a1;border-color:#1e6f54;background:linear-gradient(180deg,rgba(20,75,55,.42),rgba(7,20,35,.95))}
.appearance-digit.odd{color:#ff7689;border-color:#6d3143;background:linear-gradient(180deg,rgba(88,24,40,.35),rgba(7,20,35,.95))}
.appearance-digit.current{transform:translateY(-1px);box-shadow:0 0 0 2px rgba(71,212,255,.18),0 0 18px rgba(71,212,255,.18);position:relative}
.appearance-digit.current::after{content:"CURRENT";position:absolute;bottom:-16px;left:50%;transform:translateX(-50%);font-size:5px;letter-spacing:.08em;color:#7aebff;background:#042438;border:1px solid #2bcaed;border-radius:999px;padding:1px 4px;white-space:nowrap}
.scanner-alert-grid{display:grid;gap:9px;margin-bottom:12px}
.scan-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;border:1px solid #1f415f;background:linear-gradient(180deg,#081829,#07121f)}
.scan-alert.match{border-color:#245d77;box-shadow:0 0 0 1px rgba(69,220,255,.06),0 0 22px rgba(34,125,255,.07)}
.scan-alert.idle{opacity:.96}
.scan-alert>div{flex:1;min-width:0}.scan-alert b{display:block;color:#f4f8ff;font-size:11px}.scan-alert small{display:block;margin-top:4px;color:#8ca4bf;font-size:8px;line-height:1.45}
.scan-led{width:10px;height:10px;border-radius:50%;background:#f1c24f;box-shadow:0 0 0 0 rgba(241,194,79,.35);animation:liveDotPulse 1.15s infinite}
.scan-alert.match .scan-led{background:#34e39a;box-shadow:0 0 0 0 rgba(52,227,154,.4)}
.selected-row td{background:rgba(27,64,97,.12)!important}
.ranked-digit-row.indigo .ranked-fill{background:linear-gradient(90deg,#544fff,#8a7aff)}
.ranked-digit-row.orange .ranked-fill{background:linear-gradient(90deg,#ff8c3b,#ffcc58)}
.ranked-digit-row.purple .ranked-fill{background:linear-gradient(90deg,#9a58ff,#d668ff)}


/* =======================================================================
   V24.6 — ACTIVE SCANNER FOCUS + MATCH TOASTS
   ======================================================================= */
.scanner-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.scanner-focus-toggle.active-focus,#circleAutoFocusBtn.active-focus,#candleAutoFocusBtn.active-focus{border-color:#24799b!important;color:#72ebff!important;background:#082234!important;box-shadow:0 0 14px rgba(43,204,255,.10)}
.scan-alert.best-match{position:relative;border-color:#39b9dc!important;background:linear-gradient(100deg,#082335,#0a1c33 62%,#1a1032)!important;box-shadow:0 0 0 1px rgba(67,221,255,.12),0 0 26px rgba(60,107,255,.13)!important}
.scan-alert.best-match::before{content:"";position:absolute;inset:-1px;border-radius:12px;pointer-events:none;border:1px solid rgba(84,225,255,.38);animation:scannerBestPulse 1.35s ease-in-out infinite}
@keyframes scannerBestPulse{0%,100%{opacity:.38;box-shadow:0 0 0 rgba(56,221,255,0)}50%{opacity:1;box-shadow:0 0 18px rgba(56,221,255,.12)}}
.best-scan-row td{background:linear-gradient(90deg,rgba(21,79,109,.22),rgba(58,35,105,.10))!important;border-top:1px solid rgba(50,187,224,.18);border-bottom:1px solid rgba(50,187,224,.18)}
.best-label{color:#62eaff!important;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.table-open-market{margin-top:5px;padding:3px 7px;border-radius:6px;border:1px solid #245d7e;background:#071b2e;color:#69def6;font-size:7px;font-weight:850;cursor:pointer}.table-open-market:hover{border-color:#3ac8ef;color:#e7fbff;background:#0a2940}
.scanner-toast{position:fixed;z-index:99999;right:18px;bottom:18px;max-width:min(440px,calc(100vw - 36px));display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #2e7997;border-radius:13px;background:linear-gradient(115deg,rgba(5,26,42,.97),rgba(14,18,45,.98));box-shadow:0 22px 55px rgba(0,0,0,.42),0 0 26px rgba(45,186,255,.14);transform:translateY(24px);opacity:0;pointer-events:none;transition:.22s ease}.scanner-toast.show{transform:translateY(0);opacity:1;pointer-events:auto}.scanner-toast>div{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.scanner-toast>div>div{min-width:0}.scanner-toast b{display:block;color:#f4fbff;font-size:10px}.scanner-toast small{display:block;margin-top:3px;color:#91a8c2;font-size:7px;line-height:1.45}.scanner-toast button{border:1px solid #3478ff;border-radius:8px;background:linear-gradient(100deg,#158cff,#7151ff);color:white;font-size:7px;font-weight:900;padding:8px 10px;cursor:pointer;white-space:nowrap}
@media(max-width:650px){.scanner-head-actions{justify-content:flex-start}.scan-alert{align-items:flex-start;flex-wrap:wrap}.scanner-toast{left:12px;right:12px;bottom:12px;max-width:none}}

/* =======================================================================
   V24.7 — MASTER STRATEGY BOT ENGINE
   ======================================================================= */
.scan-action-pair{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.table-load-bot{border:1px solid #3958bc;background:linear-gradient(90deg,#167fff,#6b4fff);color:#fff;border-radius:7px;padding:4px 7px;font-size:6.5px;font-weight:900;cursor:pointer}.table-load-bot:hover{filter:brightness(1.08)}
.master-engine-card{margin-bottom:12px!important;background:radial-gradient(circle at 92% 0,rgba(126,74,255,.12),transparent 26rem),linear-gradient(180deg,#071529,#050e1a)!important;border-color:#254a76!important}.master-engine-card>.muted{margin:0 0 11px;color:#8da1ba;font-size:8.5px;line-height:1.6}.master-engine-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.master-engine-kpis>div{padding:9px 10px;border:1px solid #1d4266;border-radius:9px;background:#061423}.master-engine-kpis span{display:block;color:#7188a4;font-size:6.5px;text-transform:uppercase;letter-spacing:.08em}.master-engine-kpis b{display:block;margin-top:4px;color:#f3f7fd;font-size:13px}.master-profile-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:10px 0}.master-profile-card{min-height:116px;text-align:left;padding:10px;border:1px solid #1b4067;border-radius:10px;background:linear-gradient(180deg,#08172a,#050e1b);color:#eef5ff;cursor:pointer;display:flex;flex-direction:column;transition:.16s ease;position:relative;overflow:hidden}.master-profile-card::before{content:"";position:absolute;inset:auto -32px -44px auto;width:95px;height:95px;border-radius:50%;background:radial-gradient(circle,rgba(41,169,255,.18),transparent 68%)}.master-profile-card:hover{transform:translateY(-2px);border-color:#3979d0;box-shadow:0 12px 25px rgba(0,0,0,.2),0 0 18px rgba(52,114,255,.08)}.master-profile-card span{color:#5ecff0;font-size:5.8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.master-profile-card b{margin-top:8px;font-size:15px}.master-profile-card small{margin-top:5px;color:#8095af;font-size:6.7px;line-height:1.35}.master-profile-card em{margin-top:auto;padding-top:8px;color:#a9c9f0;font-size:6.5px;font-style:normal;font-weight:850}.auto-bot-card:first-child{border-color:#30588a!important;background:radial-gradient(circle at 86% 0,rgba(111,69,255,.11),transparent 18rem),linear-gradient(180deg,#09172a,#06101d)!important}
@media(max-width:1320px){.master-profile-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:980px){.master-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.master-engine-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.master-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-profile-card{min-height:104px}}

/* =======================================================================
   V24.8 — Entry Intelligence normal viewer + dual entry bots
   ======================================================================= */
.entry-intelligence-viewer{margin-top:10px;padding:12px;border:1px solid #214668;border-radius:12px;background:linear-gradient(120deg,#07182a,#071322 62%,#100c2b);box-shadow:0 12px 26px rgba(0,0,0,.13)}
.entry-intel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #193b58}.entry-intel-head span{display:block;color:#56dff8;font-size:6px;font-weight:950;letter-spacing:.13em}.entry-intel-head h3{margin:3px 0 0;font-size:12px;color:#f4f8ff}.entry-status{font-style:normal;padding:5px 8px;border-radius:999px;font-size:6px;font-weight:950;letter-spacing:.08em;border:1px solid #31506a;color:#9eb0c5;background:#081725}.entry-status.qualified{color:#69efb1;border-color:#267055;background:#09261c}.entry-status.watch{color:#f4d271;border-color:#685626;background:#241d0a}.entry-status.neutral,.entry-status.learning,.entry-status.data{color:#9fb8d2;border-color:#31506a;background:#081725}
.entry-intel-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:9px}.entry-intel-grid>div{padding:8px;border:1px solid #173a58;border-radius:8px;background:#061321}.entry-intel-grid span{display:block;color:#6f88a5;font-size:5.8px;text-transform:uppercase;letter-spacing:.07em}.entry-intel-grid b{display:block;margin-top:4px;color:#edf6ff;font-size:9px}.entry-intel-grid .entry-ready{color:#4ae5a0}.entry-intel-grid .entry-wait{color:#f2c968}
.entry-recent-digits{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:10px 0 7px}.entry-recent-digits i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;border:1px solid #214568;background:#071a2a;color:#b7c9dc;font-style:normal;font-weight:900;font-size:10px}.entry-recent-digits i.current{border-color:#44d8f3;color:#ecfdff;background:#083049;box-shadow:0 0 14px rgba(68,216,243,.18)}
.entry-intel-reason{margin:0;color:#839bb5;font-size:7px;line-height:1.55}.entry-model-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.entry-model-mini{padding:8px;border:1px solid #183a57;border-radius:8px;background:#06121f}.entry-model-mini.selected{border-color:#3c72a0;background:linear-gradient(145deg,#081d30,#081326)}.entry-model-mini span{display:block;color:#67819d;font-size:5.5px;text-transform:uppercase}.entry-model-mini b{display:block;margin-top:3px;color:#eef7ff;font-size:8px}.entry-model-mini small{display:block;margin-top:4px;color:#778fa9;font-size:5.7px}.entry-intel-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.table-load-bot.manual{border-color:#4b477f!important;color:#d4cfff!important;background:#13102a!important}
@media(max-width:900px){.entry-intel-grid{grid-template-columns:repeat(3,1fr)}.entry-model-mini-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.entry-intel-grid{grid-template-columns:1fr 1fr}.entry-model-mini-grid{grid-template-columns:1fr}.entry-intel-actions .btn{flex:1}}
.entry-profile-card{display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-start!important;text-align:left!important;cursor:default!important}.entry-profile-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin-top:auto;padding-top:9px}.entry-profile-actions button{min-height:28px;border:1px solid #275071;border-radius:7px;background:#081929;color:#bcd0e4;font-size:6px;font-weight:900;cursor:pointer}.entry-profile-actions button:first-child{border-color:#3a72d8;background:linear-gradient(100deg,#0b61a6,#493a9b);color:#fff}.entry-profile-actions button:nth-child(2){border-color:#564b8b;background:#14102a;color:#d6d0ff}.entry-profile-actions button:hover{filter:brightness(1.12)}


/* =======================================================================
   V24.10 — SIMPLE ENTRY GUIDE
   Primary view = What to trade / When to enter / Current / Status.
   Research statistics stay available under "Why this entry?".
   ======================================================================= */
.entry-simple-shell{display:block}
.entry-simple-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.entry-simple-top span{display:block;color:#52dcf7;font-size:6px;font-weight:950;letter-spacing:.13em}.entry-simple-top h3{margin:4px 0 0;font-size:14px;color:#f5f9ff}.entry-simple-state{font-style:normal;padding:7px 10px;border-radius:9px;border:1px solid #675725;background:#241d09;color:#f2ce6b;font-size:7px;font-weight:950;letter-spacing:.06em}.entry-simple-state.ready{border-color:#247052;background:#08261b;color:#5be9a8;box-shadow:0 0 20px rgba(50,220,150,.07)}.entry-simple-state.blocked{border-color:#4b4059;background:#14101c;color:#b3a1c5}.entry-simple-state.learning{border-color:#315b79;background:#071b2b;color:#91cbea}.entry-simple-grid{display:grid;grid-template-columns:.8fr 1.35fr .55fr;gap:7px;margin-top:10px}.entry-simple-grid>div{padding:10px;border:1px solid #193e5e;border-radius:9px;background:linear-gradient(180deg,#061624,#05111d)}.entry-simple-grid span{display:block;color:#6e87a3;font-size:5.8px;font-weight:900;letter-spacing:.08em}.entry-simple-grid b{display:block;margin-top:5px;color:#f3f8ff;font-size:11px;line-height:1.3}.entry-simple-grid small{display:block;margin-top:5px;color:#7890aa;font-size:6px}.entry-simple-grid small.ok{color:#58dfa1}.entry-simple-grid small.warn{color:#ebc969}.entry-current-big{font-size:19px!important;color:#67e8ff!important}.entry-simple-help{margin:9px 0 0;padding:8px 9px;border-left:2px solid #2e6b91;background:rgba(8,29,45,.55);color:#89a0ba;font-size:7px;line-height:1.55}.entry-recent-digits.simple{margin-top:10px}.entry-why-panel{margin-top:10px;border:1px solid #1d405f;border-radius:9px;background:#05121f;overflow:hidden}.entry-why-panel summary{cursor:pointer;list-style:none;padding:10px 11px;color:#acc1d5;font-size:8px;font-weight:900}.entry-why-panel summary::-webkit-details-marker{display:none}.entry-why-panel summary::after{content:"＋";float:right;color:#63def7}.entry-why-panel[open] summary::after{content:"−"}.entry-why-content{padding:10px;border-top:1px solid #17364f}.entry-why-content .entry-intel-grid{margin-top:9px}
@media(max-width:760px){.entry-simple-grid{grid-template-columns:1fr}.entry-simple-top{align-items:flex-start}.entry-simple-state{max-width:48%;text-align:center}}
