/* RAJ PREMIUM PANEL — unified luxury interface layer.
   Presentation only: no forms, routes, authorization, APIs, or payment logic. */
:root,
body,
body.light {
  color-scheme: dark !important;
  --bg: #070b12 !important;
  --card: #0e1724 !important;
  --card2: #121f30 !important;
  --line: rgba(115, 139, 174, .28) !important;
  --txt: #f2f6fb !important;
  --mut: #9eacbf !important;
  --cyan: #55cbd7 !important;
  --blue: #75aaf0 !important;
  --pink: #b9b7fb !important;
  --pur: #8c91d3 !important;
  --cy: #55cbd7 !important;
  --gold: #e8c17b !important;
  --grn: #4bc99c !important;
  --accent: #6d9fe2 !important;
  --grad: linear-gradient(135deg, #306fbd 0%, #237e9b 100%) !important;
  --sh: 0 12px 30px rgba(0, 0, 0, .24) !important;
  --glow: 0 0 16px rgba(65, 144, 190, .10) !important;
  --soft-shadow: 0 12px 30px rgba(0, 0, 0, .24) !important;
  --d-bg: #070b12 !important;
  --d-in: #09121e !important;
  --d-pk: #7e91d1 !important;
  --d-cy: #55cbd7 !important;
  --d-vi: #638fd1 !important;
  --d-gr: #4bc99c !important;
  --d-am: #e8c17b !important;
  --card-edge-blue: #728cc5 !important;
  --card-edge-purple: #8980bd !important;
  --card-edge-teal: #3d9eac !important;
  --card-edge-rose: #9a687f !important;
  --card-edge-amber: #ae8c58 !important;
  --mn: #aebff5;
  --mnr: 112,156,220;
  --dg1: rgba(47,108,183,.24);
  --dg2: rgba(37,126,155,.12);
}

html { background: #070b12 !important; color-scheme: dark !important; }
body:not(.light) {
  background: #070b12 !important;
  background-image: none !important;
  color: #f2f6fb !important;
  color-scheme: dark !important;
}
body.light {
  background: #edf2f8 !important;
  background-image: none !important;
  color: #1a293d !important;
  color-scheme: light !important;
}
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before, body .dr::before, body .drawer::before { content: none !important; display: none !important; background: none !important; opacity: 0 !important; }
::selection { background: rgba(80, 157, 220, .30) !important; color: #fff !important; }

/* Typography stays neutral white/steel, not purple tinted. */
body :is(h1,h2,h3,h4,h5,h6,.welcome h1,.bn-title,.dp-title,.tl,.pn-t,.ra-h,.pf-name,.tb b,.dr-title,.tt) {
  color: #f2f6fb !important;
  text-shadow: none !important;
}
body :is(p,.muted,.sub,.subtitle,.welcome p,.lbl,.ps,.pn-b,.pn-f,.pf-sub,.pf-note,.rs-note,.ra-note,.live-chart-foot,.tb small,.status-txt) {
  color: #9eacbf !important;
}
body a:not(.btn):not(.dep-btn):not(.howbar):not(.btn-how-to-use):not(.how-to-use-btn) {
  text-decoration-color: rgba(110, 171, 226, .46);
}
body :is(.tag,.ftab,.ptag,.rs-link-v,.rs-link-h i,.pf-lock i,.pt i,.search-icon,.pn-search i) {
  color: #68c5d7 !important;
}

@property --luxe-edge-color {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(126,112,181,.42);
}
@property --luxe-pulse {
  syntax: "<number>";
  inherits: false;
  initial-value: .06;
}

/* Shared surfaces: deep ink + navy slate. Preserve each component's dimensions. */
body :is(.topbar,.topbar.dtop,.top,.top5,.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box,.th-box,.dgrid .nc,.dstack .nc,.qgrid .qt,.rs-tbl,.ktbl,.dtop .topbar) {
  background: linear-gradient(145deg, #101b2a 0%, #0d1623 100%) !important;
  color: #f2f6fb !important;
  border-color: rgba(112, 135, 171, .36) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body :is(.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box) {
  --luxe-edge-color: rgba(126,112,181,.42);
  --luxe-pulse: .06;
  border: 1px solid var(--luxe-edge-color) !important;
  box-shadow: 0 0 0 1px rgba(126,112,181,.10), 0 0 13px rgba(65,144,190,var(--luxe-pulse)), 0 10px 28px rgba(0,0,0,.19) !important;
  animation: luxe-card-pulse 6.8s ease-in-out infinite !important;
}
body :is(.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box):nth-child(3n) {
  animation-delay: -2.1s !important;
}
body :is(.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box):nth-child(3n + 1) {
  animation-delay: -4.3s !important;
}
@keyframes luxe-card-pulse {
  0%, 100% { --luxe-edge-color: rgba(126,112,181,.40); --luxe-pulse: .045; }
  50% { --luxe-edge-color: rgba(91,167,199,.72); --luxe-pulse: .18; }
}

/* Table headers and separators: slate blue instead of cyan/purple slabs. */
body :is(.tbl th,.tbl .th,.ktbl th,.rs-tbl th,.tr.th>span,.tbl-wrap th,.twrap th,.table thead th,.th-box,.pn-filter,.pn-search) {
  background: #142033 !important;
  color: #e7edf5 !important;
  border-color: #354760 !important;
}
body :is(.tbl td,.ktbl td,.rs-tbl td,.table td,.table th) { border-color: rgba(112,135,171,.24) !important; }
body :is(.fin,.pf-in,.pn-search input,.pn-filter select,.rs-in,.fpanel input,.fpanel select,.fpanel textarea,.pc input,.pc select,.pc textarea,.pcard input,.pcard select,.pcard textarea,.tk-card input,.tk-card select,.tk-card textarea,.ticket-card input,.ticket-card select,.ticket-card textarea,.panel input,.panel select,.panel textarea,.rbox input,.rbox select,.rbox textarea, input.in, select.in, textarea.in) {
  background: #09121e !important;
  color: #f2f6fb !important;
  border-color: #34475f !important;
  box-shadow: none !important;
  caret-color: #78c5e8 !important;
}
body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus {
  border-color: #5c9ee5 !important;
  box-shadow: 0 0 0 3px rgba(83,151,219,.13) !important;
  outline: none !important;
}
body :is(input,textarea)::placeholder { color: #7f8ea3 !important; opacity: 1 !important; }
body select option { background: #0e1724 !important; color: #f2f6fb !important; }

/* Primary actions: sapphire + deep teal, not purple. */
body :is(button.btn,a.btn,input.btn,.btn-primary,.submit-btn,.pay-btn,.buy-key,.kbuy,.kapply,.kpay,.pn-buy,.pn-purchase,.rs-btn,.ra-btn,.rclaimbtn,.tk-submit,.join,.more,.fbtn:not(.ghost),.nc .go,.mb .bt button.ok,.dep-btn:not(.how-use-top),.btn-login) {
  background: linear-gradient(135deg, #2f70bf 0%, #246a9f 55%, #167f90 100%) !important;
  background-color: #2f70bf !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  border: 1px solid rgba(135,190,233,.52) !important;
  box-shadow: 0 5px 16px rgba(24,100,160,.20), inset 0 1px 0 rgba(255,255,255,.08) !important;
  text-shadow: none !important;
  filter: none !important;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .18s ease !important;
}
body :is(button.btn,a.btn,input.btn,.btn-primary,.submit-btn,.pay-btn,.buy-key,.kbuy,.kapply,.kpay,.pn-buy,.pn-purchase,.rs-btn,.ra-btn,.rclaimbtn,.tk-submit,.join,.more,.fbtn:not(.ghost),.nc .go,.mb .bt button.ok,.dep-btn:not(.how-use-top),.btn-login):hover {
  background: linear-gradient(135deg, #3d83d1 0%, #2b7eb4 55%, #1b97a4 100%) !important;
  border-color: rgba(167,216,246,.76) !important;
  box-shadow: 0 7px 18px rgba(24,100,160,.25), inset 0 1px 0 rgba(255,255,255,.12) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-1px);
}
body :is(button.btn,a.btn,input.btn,.btn-primary,.submit-btn,.pay-btn,.buy-key,.kbuy,.kapply,.kpay,.pn-buy,.pn-purchase,.rs-btn,.ra-btn,.rclaimbtn,.tk-submit,.join,.more,.fbtn:not(.ghost),.nc .go,.mb .bt button.ok,.dep-btn:not(.how-use-top),.btn-login):active { transform: translateY(0) scale(.99) !important; }

/* Secondary controls: dark slate. */
body :is(.kreset,button.kreset,.reset-btn,button.reset,input[type="reset"],.fbtn.ghost,.tk-view,.th-close,.kcopy,.kfoot button,.kchips button,.kactive button,.pf-eye,.pal-btn,#theme,.menu-btn,.burger,.dr-x,.x,.th-opt,.kcal,.filter-btn,.back-btn,.btn-secondary) {
  background: linear-gradient(135deg,#152235,#111b2a) !important;
  background-color: #152235 !important;
  color: #dce6f2 !important;
  -webkit-text-fill-color: #dce6f2 !important;
  border: 1px solid #40546e !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.14) !important;
  text-shadow: none !important;
}
body :is(.kreset,button.kreset,.reset-btn,button.reset,input[type="reset"],.fbtn.ghost,.tk-view,.th-close,.kcopy,.kfoot button,.kchips button,.kactive button,.pf-eye,.pal-btn,#theme,.menu-btn,.burger,.dr-x,.x,.th-opt,.kcal,.filter-btn,.back-btn,.btn-secondary):hover {
  background: #1b2b40 !important;
  border-color: #6483a5 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body .th-opt.sel { background: #1d3046 !important; border-color: var(--c,#78b5d5) !important; box-shadow: 0 0 0 2px rgba(84,163,203,.13) !important; }

/* Tutorial and how-to actions: YouTube red is the only strong red highlight. */
@keyframes luxe-youtube-edge {
  0%,100% { border-color: rgba(239,68,78,.42); box-shadow: 0 2px 8px rgba(125,25,38,.05); }
  50% { border-color: rgba(239,68,78,.68); box-shadow: 0 2px 11px rgba(125,25,38,.09); }
}
body :is(.dtop a.dep-btn.how-use-top,a.howbar,.btn-how-to-use,a.how-to-use,.how-to-use-btn) {
  background: linear-gradient(135deg,#151923,#10151d) !important;
  background-color: #10151d !important;
  color: #f0f4f9 !important;
  -webkit-text-fill-color: #f0f4f9 !important;
  border: 1px solid rgba(239,68,78,.53) !important;
  box-shadow: 0 2px 8px rgba(125,25,38,.06) !important;
  text-shadow: none !important;
  animation: luxe-youtube-edge 5.3s ease-in-out infinite !important;
}
body :is(.dtop a.dep-btn.how-use-top,a.howbar,.btn-how-to-use,a.how-to-use,.how-to-use-btn) :is(i,svg) { color: #f04452 !important; -webkit-text-fill-color: #f04452 !important; }
body :is(.dtop a.dep-btn.how-use-top,a.howbar,.btn-how-to-use,a.how-to-use,.how-to-use-btn) span { color: #f0f4f9 !important; }
body :is(.dtop a.dep-btn.how-use-top,a.howbar,.btn-how-to-use,a.how-to-use,.how-to-use-btn):hover {
  background: linear-gradient(135deg,#21171c,#17151b) !important;
  border-color: rgba(248,93,103,.82) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 3px 12px rgba(125,25,38,.12) !important;
}

/* Preserve action meaning in admin: subdued emerald, amber, and red. */
body :is(button.btn-danger,a.btn-danger,.btn.danger,.danger-btn,.delete-btn,.remove-btn,[data-action="delete"]) {
  background: linear-gradient(135deg,#512936,#381b25) !important;
  border-color: rgba(237,112,132,.60) !important;
  color: #ffe7eb !important;
  -webkit-text-fill-color: #ffe7eb !important;
  box-shadow: 0 4px 12px rgba(109,29,48,.14) !important;
}
body :is(button.btn-success,a.btn-success,.btn.success,.success-btn,.approve-btn) {
  background: linear-gradient(135deg,#1e5a4d,#17473f) !important;
  border-color: rgba(99,214,176,.52) !important;
  color: #e5fff5 !important;
  -webkit-text-fill-color: #e5fff5 !important;
  box-shadow: 0 4px 12px rgba(26,104,79,.13) !important;
}
body :is(.btn-warning,.warning-btn,.pending-btn) {
  background: linear-gradient(135deg,#5a4527,#392d1d) !important;
  border-color: rgba(230,187,112,.54) !important;
  color: #fff0d3 !important;
  -webkit-text-fill-color: #fff0d3 !important;
}
body [style*="#ff4757"], body [style*="#ff6b7a"], body [style*="#ff475788"] {
  background: linear-gradient(135deg,#512936,#381b25) !important;
  border-color: rgba(237,112,132,.60) !important;
  color: #ffe7eb !important;
  -webkit-text-fill-color: #ffe7eb !important;
  box-shadow: 0 4px 12px rgba(109,29,48,.14) !important;
}
body [style*="#19b34c"], body [style*="#12d66a"] {
  background: linear-gradient(135deg,#1e5a4d,#17473f) !important;
  border-color: rgba(99,214,176,.52) !important;
  color: #e5fff5 !important;
  -webkit-text-fill-color: #e5fff5 !important;
}
body [style*="#3a2a12"] {
  background: linear-gradient(135deg,#5a4527,#392d1d) !important;
  border-color: rgba(230,187,112,.54) !important;
  color: #fff0d3 !important;
  -webkit-text-fill-color: #fff0d3 !important;
}

/* Navigation is calm navy; active state uses blue/teal rather than a purple fill. */
body :is(.topbar,.topbar.dtop,.top,.tbwrap .topbar) {
  background: rgba(11,18,29,.97) !important;
  border-color: rgba(101,130,169,.42) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.24) !important;
}
body :is(.drawer,.dr) { background: #0b1421 !important; border-color: #34465e !important; box-shadow: 14px 0 38px rgba(0,0,0,.36) !important; }
body :is(.dr-head,.dh,.dr .dh) { background: #0d1725 !important; border-color: rgba(101,130,169,.30) !important; }
body :is(.drawer a.act,.dr a.it.act) {
  background: linear-gradient(90deg,var(--dg1,rgba(50,111,190,.28)),var(--dg2,rgba(27,128,151,.12))) !important;
  box-shadow: inset 3px 0 0 var(--mn,#6daaf0) !important;
  color: #f4f8fd !important;
}
body :is(.drawer a.act .ic,.dr a.it.act svg,.drawer a.act i,.dr a.it.act i) { color: var(--mn,#7fc3e7) !important; filter: none !important; }
body :is(.dr-sec,.dr .sec,.drawer .dr-sec,.drawer .sec) { color: #80bddc !important; }
body :is(.av,.dr-head .dr-logo,.dr .lg) { border-color: rgba(91,168,207,.65) !important; box-shadow: 0 0 0 2px rgba(72,150,195,.08) !important; }
body :is(.pal-btn,.dr-x,.dr .x) { color: #c5d9f2 !important; }
body .dtop .menu-btn, body .dtop .menu-btn i { color: var(--mn,#c5d9f2) !important; }

/* Small brand signature; main auth wordmark is handled below. */
body :is(.dr-title,.dr .tt,.copyright-txt .brand-panel,.tb small .brand-panel) { color: #c9c5ff !important; -webkit-text-fill-color: #c9c5ff !important; text-shadow: none !important; }
body .brand-panel { color: #c9c5ff !important; -webkit-text-fill-color: #c9c5ff !important; text-shadow: none !important; }
body .brand-logo, body .brand-logo:not(.brand-panel) { color: #f3f6fb !important; -webkit-text-fill-color: #f3f6fb !important; text-shadow: none !important; }

/* Authentication screen shares the same surfaces but keeps a clear border animation. */
:root {
  --auth-bg: #070b12 !important;
  --auth-card: #0e1724 !important;
  --auth-text: #f2f6fb !important;
  --auth-muted: #9eacbf !important;
  --auth-purple: #638fd1 !important;
  --auth-lavender: #c9c5ff !important;
  --auth-violet-deep: #30496d !important;
}
html:has(.auth-container), body:has(.auth-container) { background: #070b12 !important; color: #f2f6fb !important; }
.auth-container {
  background: #0e1724 !important;
  border-color: rgba(114,132,183,.64) !important;
  box-shadow: none !important;
}
.auth-container::before {
  background: conic-gradient(from var(--auth-edge-angle),#395b94 0deg,#4c99c9 70deg,#a9a3e8 138deg,#638cc0 205deg,#2b9caa 282deg,#395b94 360deg) !important;
  opacity: .78 !important;
}
.validation-box { background: #0d1522 !important; border-color: rgba(56,189,248,.28) !important; box-shadow: none !important; }
.validation-title,.circle-loader { color: #7dd3fc !important; }
.circle-loader { border-color: rgba(56,189,248,.16) !important; border-top-color: #22d3ee !important; border-right-color: #3b82f6 !important; }
.progress-container { background: #111c2c !important; }
.progress-bar { background: linear-gradient(90deg,#22d3ee,#3b82f6) !important; }
.brand-logo,.brand-logo:not(.brand-panel) { color: #f3f6fb !important; -webkit-text-fill-color: #f3f6fb !important; text-shadow: none !important; }
.brand-logo .brand-panel,.brand-logo span,.brand-panel { color: #c9c5ff !important; -webkit-text-fill-color: #c9c5ff !important; text-shadow: none !important; }
.sub-tag { color: #a7b5c7 !important; }
.form-input {
  background: #09121e !important;
  border-color: #34475f !important;
  color: #f2f6fb !important;
  box-shadow: none !important;
}
.form-input::placeholder { color: #8c9bb0 !important; }
.form-input:focus { border-color: #5c9ee5 !important; box-shadow: 0 0 0 3px rgba(83,151,219,.13) !important; }
.btn-login {
  background: linear-gradient(135deg,#2f70bf 0%,#246a9f 55%,#167f90 100%) !important;
  border: 1px solid rgba(135,190,233,.52) !important;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(24,100,160,.20) !important;
}
.btn-login:hover { background: linear-gradient(135deg,#3d83d1,#2b7eb4 55%,#1b97a4) !important; }
.btn-google {
  background: #111d2c !important;
  color: #f2f6fb !important;
  border-color: #3a4d66 !important;
  box-shadow: none !important;
}
.btn-google:hover { background: #17273a !important; border-color: #6284a9 !important; box-shadow: 0 4px 12px rgba(0,0,0,.18) !important; }
.google-divider { color: #91a0b4 !important; }
.google-divider::before,.google-divider::after { border-bottom-color: #32445a !important; }
.btn-how-to-use {
  background: linear-gradient(135deg,#151923,#10151d) !important;
  color: #f0f4f9 !important;
  border-color: rgba(239,68,78,.53) !important;
  box-shadow: 0 2px 8px rgba(125,25,38,.06) !important;
  animation: luxe-youtube-edge 5.3s ease-in-out infinite !important;
}
.btn-how-to-use i { color: #f04452 !important; }
.btn-how-to-use:hover { background: #21171c !important; border-color: rgba(248,93,103,.82) !important; box-shadow: 0 3px 12px rgba(125,25,38,.12) !important; }
.footer-txt { color: #a8b4c6 !important; }
.footer-txt a { color: #88baf0 !important; }
.copyright-txt { color: #78879b !important; }
.alert-success { background: rgba(40,174,133,.10) !important; border-color: rgba(75,201,156,.56) !important; color: #80e0be !important; }
.user-line { color: #f2f6fb !important; }
.user-line small { color: #9eacbf !important; }

/* Readable focus indicators and motion-respectful animation fallback. */
body :is(a,button,input,select,textarea):focus-visible { outline: 2px solid #75b8dd !important; outline-offset: 3px !important; }
@media (prefers-reduced-motion: reduce) {
  body :is(.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box) { animation: none !important; }
  body :is(.dtop a.dep-btn.how-use-top,a.howbar,.btn-how-to-use,a.how-to-use,.how-to-use-btn) { animation: none !important; }
}


/* Dashboard SVG charts share the sapphire/teal palette as well. */
body .live-chart-card svg linearGradient stop[offset="0%"] { stop-color: #5fa7ee !important; }
body .live-chart-card svg linearGradient stop[offset="100%"] { stop-color: #27a9b4 !important; }
body .live-chart-card svg path[stroke="#a5b4fc"] { stroke: #73bde1 !important; }
body .live-chart-card svg line { stroke: #344960 !important; }
body .live-chart-card svg text { fill: #a5b4c7 !important; }
body .live-chart-card svg circle { fill: #0e1724 !important; stroke: #7fc8e7 !important; }

/* Existing admin light/dark switch remains usable; its light mode uses this same palette. */
body.light {
  color-scheme: light !important;
  --bg: #edf2f8 !important;
  --card: #ffffff !important;
  --card2: #f3f7fb !important;
  --line: rgba(55,79,112,.19) !important;
  --txt: #1a293d !important;
  --mut: #617187 !important;
  --sh: 0 8px 22px rgba(25,49,80,.08) !important;
  background: #edf2f8 !important;
  color: #1a293d !important;
}
body.light :is(.topbar,.topbar.dtop,.top,.top5,.panel,.stat,.mini,.upd,.fpanel,.pf-card,.rs-card,.kcard,.pcard,.pc,.ticket-card,.tk-card,.bn-card,.dp-card,.dp-stat,.ra-card,.ra-pn,.ra-stats > div,.rbox,.rup-box,.qrbox,.bal,.safe,.sc,.tbl-wrap,.twrap,.live-chart-card,.nc,.qt,.sx-box,.pn-card,.pn-none,.pn-empty,.okcard,.ra-pl,.rs-box,.th-box,.dgrid .nc,.dstack .nc,.qgrid .qt,.rs-tbl,.ktbl,.dr,.drawer,.dh,.dr-head,.dr .dh) {
  background: linear-gradient(145deg,#ffffff 0%,#f4f7fb 100%) !important;
  color: #1a293d !important;
  border-color: rgba(74,99,133,.25) !important;
  box-shadow: 0 8px 22px rgba(25,49,80,.08) !important;
}
body.light :is(h1,h2,h3,h4,h5,h6,.welcome h1,.bn-title,.dp-title,.tl,.pn-t,.ra-h,.pf-name,.tb b,.dr-title,.tt) { color: #1a293d !important; }
body.light :is(p,.muted,.sub,.subtitle,.welcome p,.lbl,.ps,.pn-b,.pn-f,.pf-sub,.pf-note,.rs-note,.ra-note,.live-chart-foot,.tb small,.status-txt) { color: #617187 !important; }
body.light :is(input,select,textarea,.fin,.pf-in,.pn-search input,.pn-filter select,.rs-in, input.in, select.in, textarea.in) { background: #fff !important; color: #1a293d !important; border-color: #cbd6e3 !important; }
body.light :is(input,textarea)::placeholder { color: #78889d !important; }
body.light :is(.kreset,button.kreset,.reset-btn,button.reset,input[type="reset"],.fbtn.ghost,.tk-view,.th-close,.kcopy,.kfoot button,.kchips button,.kactive button,.pf-eye,.pal-btn,#theme,.menu-btn,.burger,.dr-x,.x,.th-opt,.kcal,.filter-btn,.back-btn,.btn-secondary) { background: #f0f4f9 !important; color: #304258 !important; border-color: #cbd6e3 !important; -webkit-text-fill-color: #304258 !important; }
body.light :is(.drawer a.act,.dr a.it.act) { color: #1a293d !important; }
body.light .live-chart-card svg circle { fill: #fff !important; }
body.light .live-chart-card svg text { fill: #617187 !important; }
body.light .live-chart-card svg line { stroke: #d5deea !important; }
body.light .th-box h4 { color: #315c91 !important; }
