/* DimagWala Unified Global Premium Design System & Revamped Front Page (v2.6 Responsive Mobile Flagship Layer) */
:root{
  --dw22-bg:#080D14;
  --dw22-bg2:#101A27;
  --dw22-panel:#142437;
  --dw22-panel2:#1B3045;
  --dw22-border:rgba(86,213,232,0.22);
  --dw22-muted:#A9BDCF;
  --dw22-text:#F4F7FB;
  --dw22-gold:#F5C76A;
  --dw22-cyan:#56D5E8;
  --dw22-success:#39D98A;
  --dw22-error:#FF6573;
}
html,body{background:#080D14!important;color:#F4F7FB!important;font-size:15px;-webkit-text-size-adjust:100%}
#dw-app-shell{
  background:
    radial-gradient(ellipse 110% 38% at 85% -5%,rgba(86,213,232,.15),transparent 62%),
    radial-gradient(ellipse 90% 32% at 10% 18%,rgba(245,199,106,.08),transparent 58%),
    linear-gradient(170deg,#080D14 0%,#0D1623 55%,#101A27 100%)!important;
  color:#F4F7FB!important;
}
#dw-shell-content{
  max-width:1120px!important;
  padding:calc(10px + env(safe-area-inset-top)) clamp(12px,3.5vw,28px) calc(106px + env(safe-area-inset-bottom))!important;
}

/* Top Brand & Telemetry Bar — Responsive Single-Row Fit on All Phones (320dp–480dp+) */
.dw-shell-top{
  margin-bottom:14px!important;
  padding:4px 0 11px!important;
  border-bottom:1px solid rgba(169,189,207,.14)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
.dw-shell-brand{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.dw-shell-brand>div{
  min-width:0!important;
  flex:1 1 auto!important;
}
.dw-shell-logo{
  width:38px!important;
  height:38px!important;
  flex-shrink:0!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#FFE29E,#F5C76A 55%,#E5A93C)!important;
  box-shadow:0 6px 16px rgba(245,199,106,.22),inset 0 1px 0 #ffffffcc!important;
  color:#080D14!important;
  font-size:15px!important;
  font-weight:900!important;
}
.dw-shell-brand strong{
  font-size:14px!important;
  letter-spacing:.05em;
  font-weight:800!important;
  color:#F4F7FB!important;
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.dw-shell-brand .dw-shell-muted{
  color:#A9BDCF!important;
  font-size:11px!important;
  line-height:1.22!important;
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#dw-shell-content .dw-shell-chip{display:none!important}
.dw-top-telemetry{
  display:flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}
.dw-top-pill-btn{
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 9px;min-height:32px;border-radius:999px;
  background:rgba(20,36,55,0.92);border:1px solid rgba(86,213,232,0.32);
  color:#F4F7FB;font-size:11.5px;font-weight:700;cursor:pointer;
  white-space:nowrap;
  box-shadow:0 3px 10px rgba(0,0,0,0.25);
}
.dw-top-pill-dot{
  width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:#39D98A;box-shadow:0 0 0 2.5px rgba(57,217,138,0.2);
}
.dw-top-avatar-btn{
  width:32px;height:32px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,#1B3045,#142437);
  border:1.5px solid #F5C76A;color:#F5C76A;
  font-size:13px;font-weight:800;display:grid;place-items:center;cursor:pointer;
  box-shadow:0 3px 10px rgba(0,0,0,0.3);
}

/* Flagship Home Hero Card — Balanced Sizing for Every Phone Screen */
.dw22-home-hero{
  padding:16px clamp(14px,3.5vw,28px)!important;
  border-radius:20px!important;
  display:flex;align-items:center;
  background:
    radial-gradient(circle at 96% 12%,rgba(86,213,232,.20),transparent 42%),
    radial-gradient(circle at 8% 92%,rgba(245,199,106,.12),transparent 45%),
    linear-gradient(135deg,#192E45 0%,#132235 58%,#0C1624 100%)!important;
  border:1px solid rgba(86,213,232,.34)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.44),inset 0 1px 0 rgba(255,255,255,.08)!important;
  isolation:isolate;overflow:hidden!important;position:relative;
  margin-bottom:16px!important;
}
.dw22-home-hero:before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#F5C76A,#56D5E8,#39D98A,transparent);
  pointer-events:none;
}
.dw22-hero-copy{position:relative;z-index:1;flex:1 1 68%;max-width:650px;width:100%;min-width:0}
.dw22-hero-eyebrow{
  display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;
  color:#56D5E8;font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;
}
.dw22-eye-mark{width:6px;height:6px;border-radius:50%;background:#39D98A;box-shadow:0 0 0 2.5px rgba(57,217,138,.2)}
.dw22-hero-tag{
  background:rgba(245,199,106,0.16);border:1px solid rgba(245,199,106,0.4);
  color:#F5C76A;padding:2px 7px;border-radius:999px;font-size:9.5px;font-weight:800;letter-spacing:.05em;
}
.dw22-home-hero .dw-shell-h1{
  font-size:clamp(21px,4.5vw,27px)!important;
  letter-spacing:-.025em!important;line-height:1.18!important;
  margin:8px 0 6px!important;font-weight:800!important;color:#F4F7FB!important;
}
.dw22-home-hero .dw-shell-h1 span{
  background:linear-gradient(90deg,#F5C76A,#FFE29E,#56D5E8);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  color:#F5C76A;
}
.dw22-home-hero .dw-shell-lead{
  color:#B8CBE0!important;line-height:1.48!important;
  font-size:clamp(13px,1.8vw,14.5px)!important;max-width:540px;margin:0 0 12px!important;
}

/* Hero 3-Pillar Telemetry Strip */
.dw22-hero-metrics{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  margin:10px 0 12px;padding:8px 6px;border-radius:13px;
  background:rgba(8,13,20,0.58);border:1px solid rgba(86,213,232,0.20);
  backdrop-filter:blur(6px);
}
.dw22-metric-item{text-align:center;padding:2px 3px;border-right:1px solid rgba(169,189,207,0.14);min-width:0}
.dw22-metric-item:last-child{border-right:0}
.dw22-metric-item strong{display:block;font-size:15px;font-weight:800;color:#F5C76A;line-height:1.2}
.dw22-metric-item span{display:block;font-size:10.5px;color:#A9BDCF;font-weight:600;margin-top:2px}

/* Balanced Side-by-Side Hero Actions — Zero Clipping on Any Phone Width */
.dw22-hero-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;width:100%;
}
.dw22-hero-actions>.dw-shell-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-width:0!important;min-height:44px!important;
  font-size:clamp(12px,3.1vw,13.5px)!important;
  padding:8px 10px!important;
  width:100%!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dw22-outline{
  border:1.5px solid rgba(86,213,232,.48)!important;
  background:rgba(16,26,39,0.88)!important;
  color:#56D5E8!important;font-weight:700!important;
}
.dw22-art{flex:0 1 32%;max-width:230px;margin-right:-8px;opacity:.92;filter:drop-shadow(0 0 24px rgba(86,213,232,.2));pointer-events:none}
.dw22-art svg{display:block;width:100%;height:auto}

/* Engineering Subject Tracks Bento Grid on Home */
.dw-home-tracks-sec{margin:0 0 18px}
.dw-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:10px}
.dw-sec-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.11em;color:#56D5E8;text-transform:uppercase;margin-bottom:2px}
.dw-sec-head h2{margin:0!important;font-size:16.5px!important;font-weight:800!important;color:#F4F7FB!important}
.dw-sec-link{background:transparent;border:0;color:#F5C76A;font-size:12.5px;font-weight:700;cursor:pointer;padding:4px 0;white-space:nowrap}
.dw-tracks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dw-track-card{
  text-align:left;padding:12px;border-radius:15px;cursor:pointer;
  background:linear-gradient(145deg,#16283D,#101B2B);
  border:1px solid #263E57;color:#F4F7FB;
  display:flex;flex-direction:column;gap:4px;min-width:0;
  box-shadow:0 6px 16px rgba(0,0,0,0.22);
  transition:transform .16s ease,border-color .16s ease;
}
.dw-track-card:active{transform:scale(0.98);border-color:#F5C76A}
.dw-track-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:2px}
.dw-track-ico{
  width:30px;height:30px;border-radius:9px;background:#0C1522;
  border:1px solid #2E4B6B;display:grid;place-items:center;font-size:15px;flex-shrink:0;
}
.dw-track-badge{
  font-size:10px;font-weight:700;color:#A9BDCF;
  background:rgba(8,13,20,0.65);border:1px solid #243B53;
  padding:2px 7px;border-radius:999px;white-space:nowrap;
}
.dw-track-card strong{font-size:13.5px;font-weight:800;color:#F4F7FB;line-height:1.25}
.dw-track-card span{font-size:11.5px;color:#A9BDCF;line-height:1.38}

/* Interactive Circuit Studio Card on Home */
#dw20-entry.dw22-studio-entry{
  padding:15px 16px!important;margin-bottom:18px!important;
  grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#1B3045 0%,#122133 100%)!important;
  border:1px solid rgba(86,213,232,.36)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.06)!important;
  position:relative;overflow:hidden!important;min-width:0!important;
}
.dw22-studio-body{min-width:0!important;width:100%!important;max-width:100%!important}
#dw20-entry.dw22-studio-entry:before{
  content:'';width:4px;position:absolute;top:14px;bottom:14px;left:0;
  border-radius:0 4px 4px 0;background:linear-gradient(#56D5E8,#F5C76A);
}
.dw22-studio-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.dw22-studio-badge{
  font-size:10.5px;font-weight:800;color:#39D98A;
  background:rgba(57,217,138,0.12);border:1px solid rgba(57,217,138,0.35);
  padding:2px 8px;border-radius:999px;
}
#dw20-entry .dw20-kicker{color:#56D5E8!important;letter-spacing:.1em!important;font-size:10.5px!important;font-weight:800;display:block}
#dw20-entry h2{font-size:17.5px!important;letter-spacing:-.02em!important;margin:3px 0 5px!important;color:#F4F7FB!important}
#dw20-entry p{color:#A9BDCF!important;font-size:13px!important;line-height:1.48!important;max-width:580px;margin:0 0 10px!important}
.dw22-model-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;width:100%}
.dw22-model-pill{
  width:auto!important;flex:1 1 calc(50% - 6px)!important;min-height:36px!important;padding:5px 8px!important;border-radius:9px!important;
  background:#0D1726!important;border:1px solid #2A435F!important;color:#F4F7FB!important;
  font-size:11.5px!important;font-weight:700!important;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  transition:all .15s ease;
}
.dw22-model-pill:hover,.dw22-model-pill:active{border-color:#F5C76A;color:#F5C76A;background:rgba(245,199,106,0.14)}
#dw20-entry .dw20-mini-stats{gap:6px!important;margin-top:4px!important;display:flex;flex-wrap:wrap}
#dw20-entry .dw20-mini-stats span{border:1px solid rgba(86,213,232,.25)!important;background:#101A27!important;color:#A9BDCF!important;font-size:11px!important;padding:3px 8px!important;border-radius:999px}
#dw20-entry>.dw-shell-btn{min-width:160px!important;min-height:44px!important;font-size:13.5px!important;padding:10px 14px!important}

/* Refined App-Wide Cards, Typography & Controls */
.dw-shell-h1{font-size:clamp(21px,4.5vw,26px)!important;color:#F4F7FB!important;font-weight:800!important}
#dw-app-shell h2{font-size:clamp(16.5px,3.2vw,20px)!important;font-weight:700!important}
:root:not([data-theme="light"]) #dw-app-shell h2{color:#F4F7FB!important}
[data-theme="light"] #dw-app-shell h2{color:#0F172A!important}
.dw-shell-card,.dw-engagement-card,.dw-contact-form-card,.dw-v8-item,.dw-v8-stat,.dw-channel-card{
  border:1px solid #263E57!important;border-radius:16px!important;
  background:linear-gradient(145deg,#142437,#101A27)!important;
  box-shadow:0 6px 20px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.04)!important;
}
.dw-shell-card h3,.dw-channel-title{font-size:clamp(15.5px,2.3vw,18px)!important;color:#F4F7FB!important;line-height:1.28}
.dw-shell-card p,.dw-channel-desc,.dw-v8-note{font-size:13.5px!important;color:#A9BDCF!important;line-height:1.52!important}
.dw-v8-item-title{font-size:14px!important;color:#F4F7FB!important;font-weight:700;line-height:1.36}
.dw-v8-stat strong{font-size:clamp(19px,4vw,24px)!important;color:#F5C76A!important}
.dw-v8-stat span{font-size:12px!important;color:#A9BDCF!important}
.dw-shell-btn,.dw-v8-mini,.dw-btn-open,.dw-btn-copy{
  border-radius:11px!important;min-height:44px!important;font-size:13.5px!important;
  transition:background .17s ease,border-color .17s ease,transform .15s ease!important;
}
.dw-shell-btn.primary,.dw-v8-mini[data-v8-action="open"]{
  background:linear-gradient(135deg,#F5C76A,#E5A93C)!important;
  border-color:#FFE09E!important;color:#080D14!important;font-weight:800!important;
}
.dw-shell-btn:not(.primary){background:#1B3045!important;border:1px solid #2E4B6B!important;color:#F4F7FB!important}

/* Bottom Navigation */
.dw-shell-bottom{
  background:rgba(13,22,35,.97)!important;border-top:1px solid #263E57!important;
  box-shadow:0 -10px 30px rgba(0,0,0,.45)!important;
  padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom))!important;
}
.dw-shell-nav{border-radius:11px!important;min-height:50px!important;color:#A9BDCF!important;font-size:11px!important;transition:color .18s,background .18s,transform .18s!important}
.dw-shell-nav.active{background:linear-gradient(150deg,#2B2618,#1B3045)!important;color:#F5C76A!important;border:1px solid rgba(245,199,106,.35)!important}

/* Profile Academic Details Accordion */
.dw22-academic-card{padding:14px!important}
.dw22-academic-details{display:block}
.dw22-academic-details>summary{display:flex;align-items:center;gap:10px;min-height:60px;border-radius:13px;padding:10px 12px;cursor:pointer;list-style:none;user-select:none;background:#1B3045;border:1px solid #2E4B6B}
.dw22-academic-details>summary::-webkit-details-marker{display:none}
.dw22-academic-symbol{flex:0 0 36px;display:grid;place-items:center;height:36px;border:1px solid rgba(86,213,232,.35);background:#101A27;border-radius:10px;color:#56D5E8;font-size:18px}
.dw22-academic-heading{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.dw22-academic-heading strong{font-size:15px;color:#F4F7FB}
.dw22-academic-heading small{font-size:12.5px;color:#A9BDCF;line-height:1.36}
.dw22-academic-chevron{font-size:20px;color:#F5C76A;font-weight:700;transition:transform .2s ease}
.dw22-academic-details[open] .dw22-academic-chevron{transform:rotate(180deg)}
.dw22-academic-body{padding:12px 8px 4px}
.dw22-academic-note{margin:4px 0 10px!important;color:#A9BDCF!important;font-size:13px!important}
.dw22-account-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:10px 4px 0;border-top:1px solid rgba(169,189,207,.16);flex-wrap:wrap}
.dw22-account-actions span{font-size:13px;color:#A9BDCF}
.dw22-account-actions button{min-height:44px!important;padding:8px 14px!important}

/* Align React Virtual Lab with Global Premium Design System */
body.dw-lab-open:not(.dw-light-theme) #root,
html:not([data-theme="light"]) body.dw-lab-open #root{color:#F4F7FB;background:#080D14!important;font-family:Poppins,system-ui,-apple-system,sans-serif!important}
body.dw-lab-open:not(.dw-light-theme) #root .vlab-card,
html:not([data-theme="light"]) body.dw-lab-open #root .vlab-card{background:linear-gradient(145deg,#142437,#101A27)!important;border:1px solid #263E57!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.05)!important}
body.dw-lab-open #root .vlab-btn{border-radius:10px!important;min-height:42px;font-size:13.5px;transition:filter .15s,transform .15s,border-color .15s!important}
body.dw-lab-open #root .vlab-btn.primary{color:#080D14!important;background:linear-gradient(135deg,#F5C76A,#E5A93C)!important;border-color:#FFE09E!important;font-weight:750!important}
body.dw-lab-open #root .vlab-tab{border-radius:9px!important;transition:background .17s,border-color .17s!important}
body.dw-lab-open #root .vlab-tab.active{color:#F5C76A!important;border-color:#F5C76A!important;background:rgba(245,199,106,.16)!important}

@media(max-width:680px){
  .dw22-art{position:absolute;width:165px;right:-44px;top:-28px;opacity:.22;margin:0;z-index:0}
  .dw22-home-hero{min-height:0;padding:16px 14px!important}
  .dw22-hero-copy{max-width:none;flex-basis:100%}
  #dw20-entry.dw22-studio-entry{grid-template-columns:1fr!important;padding:14px!important;gap:10px!important}
  #dw20-entry>.dw-shell-btn{width:100%!important;min-width:0!important}
}
@media(max-width:350px){
  #dw-shell-content{padding-left:10px!important;padding-right:10px!important}
  .dw22-home-hero{padding:14px 12px!important}
  .dw22-hero-actions{grid-template-columns:1fr!important}
  .dw-tracks-grid{grid-template-columns:1fr!important}
}
@media(orientation:landscape) and (max-height:570px){
  #dw-shell-content{padding-bottom:64px!important}
  .dw22-home-hero{min-height:0!important;padding:14px 18px!important}
  .dw-shell-nav{min-height:40px!important}
}


/* Flagship About Page Styles (#dw-about-premium) */
.dw-about-wrap{display:flex;flex-direction:column;gap:16px;padding-bottom:10px}
.dw-about-hero{
  padding:18px 16px;border-radius:20px;position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 92% 14%,rgba(86,213,232,.18),transparent 45%),
    radial-gradient(circle at 10% 88%,rgba(245,199,106,.12),transparent 48%),
    linear-gradient(135deg,#182C42 0%,#122032 58%,#0C1522 100%);
  border:1px solid rgba(86,213,232,.34);
  box-shadow:0 16px 36px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.07);
}
.dw-about-hero::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,#F5C76A,#56D5E8,#39D98A,transparent);
}
.dw-about-eyebrow{
  display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;
  font-size:10.5px;font-weight:800;letter-spacing:.08em;color:#56D5E8;text-transform:uppercase;
}
.dw-about-ver{
  background:rgba(57,217,138,0.14);border:1px solid rgba(57,217,138,0.4);
  color:#39D98A;padding:2px 7px;border-radius:999px;font-size:9.5px;font-weight:800;
}
.dw-about-hero .dw-shell-h1{margin:8px 0 6px!important;font-size:clamp(20px,4.4vw,26px)!important}
.dw-about-hero .dw-shell-lead{margin:0 0 12px!important;font-size:13px!important;line-height:1.5!important;color:#B8CBE0!important}
.dw-about-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
  padding:9px 6px;border-radius:13px;margin-bottom:12px;
  background:rgba(8,13,20,0.58);border:1px solid rgba(86,213,232,0.20);
}
.dw-about-stat{text-align:center;border-right:1px solid rgba(169,189,207,0.14);padding:2px}
.dw-about-stat:last-child{border-right:0}
.dw-about-stat strong{display:block;font-size:14.5px;font-weight:800;color:#F5C76A;line-height:1.2}
.dw-about-stat span{display:block;font-size:10px;color:#A9BDCF;font-weight:600;margin-top:2px}
.dw-about-hero-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dw-about-hero-btns>.dw-shell-btn{width:100%!important;min-width:0!important;padding:8px 10px!important;font-size:12.5px!important;white-space:nowrap}

.dw-about-sec{margin:0}
.dw-about-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dw-about-step{
  background:linear-gradient(145deg,#15263B,#101B2B);
  border:1px solid #263E57;border-radius:15px;padding:12px;
  display:flex;flex-direction:column;gap:4px;min-width:0;
  box-shadow:0 6px 16px rgba(0,0,0,0.22);
}
.dw-about-step-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:2px}
.dw-about-step-ico{
  width:30px;height:30px;border-radius:9px;background:#0C1522;
  border:1px solid #2E4B6B;display:grid;place-items:center;font-size:15px;
}
.dw-about-step-num{
  font-size:9.5px;font-weight:800;letter-spacing:.08em;color:#F5C76A;
  background:rgba(245,199,106,0.12);border:1px solid rgba(245,199,106,0.32);
  padding:2px 7px;border-radius:999px;
}
.dw-about-step strong{font-size:13.5px;font-weight:800;color:#F4F7FB;line-height:1.25}
.dw-about-step p{margin:0!important;font-size:11.5px!important;color:#A9BDCF!important;line-height:1.42!important}

.dw-about-features{display:grid;gap:8px}
.dw-about-feat{
  display:flex;align-items:flex-start;gap:11px;padding:12px 14px;
  border-radius:15px;background:linear-gradient(145deg,#142437,#101A27);
  border:1px solid #263E57;box-shadow:0 6px 16px rgba(0,0,0,0.2);
}
.dw-about-feat-ico{
  width:36px;height:36px;flex-shrink:0;border-radius:10px;
  background:#0C1522;border:1px solid rgba(86,213,232,0.32);
  display:grid;place-items:center;font-size:17px;
}
.dw-about-feat strong{display:block;font-size:14px;font-weight:800;color:#F4F7FB;margin-bottom:2px}
.dw-about-feat p{margin:0!important;font-size:12.5px!important;color:#A9BDCF!important;line-height:1.45!important}

.dw-about-tags{display:flex;flex-wrap:wrap;gap:6px}
.dw-about-tags span{
  background:#122133;border:1px solid #28425E;color:#F4F7FB;
  padding:5px 10px;border-radius:999px;font-size:11.5px;font-weight:600;
}
.dw-about-card{padding:15px!important;margin:0!important}
.dw-about-card h3{margin:0 0 6px!important;font-size:15.5px!important;color:#F5C76A!important}
.dw-about-card p{margin:0 0 10px!important;font-size:13px!important;line-height:1.5!important}
.dw-about-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.dw-about-actions>.dw-shell-btn{flex:1 1 140px}
@media(max-width:355px){
  .dw-about-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dw-about-steps{grid-template-columns:1fr}
  .dw-about-hero-btns{grid-template-columns:1fr}
}

/* Clean Minimal About Page (#dw-about-clean) */
.dw-about-clean-wrap{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.dw-about-clean-header{padding:4px 2px}
.dw-about-clean-header .dw-section-title{margin:0 0 6px!important;font-size:22px!important;font-weight:800!important;color:#F4F7FB!important}
.dw-about-clean-header .dw-lead{margin:0!important;font-size:13.5px!important;line-height:1.52!important;color:#A9BDCF!important}
.dw-about-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dw-about-simple-card{padding:14px!important;margin:0!important;display:flex;flex-direction:column;gap:6px;background:linear-gradient(155deg,#142437,#101A27)!important;border:1px solid #263E57!important;border-radius:16px!important}
.dw-about-simple-head{display:flex;align-items:center;gap:8px}
.dw-about-simple-ico{width:30px;height:30px;border-radius:9px;background:#0C1522;border:1px solid #2E4B6B;display:grid;place-items:center;font-size:15px;flex-shrink:0}
.dw-about-simple-head h3{margin:0!important;font-size:15px!important;font-weight:800!important;color:#F5C76A!important}
.dw-about-simple-card p{margin:0!important;font-size:12.5px!important;line-height:1.48!important;color:#A9BDCF!important}
@media(max-width:440px){
  .dw-about-simple-grid{grid-template-columns:1fr}
}


/* ==========================================================================
   PROFESSIONAL LIGHT THEME (Crisp Modern Engineering Laboratory Suite)
   High-contrast, clean typography, anti-glare surfaces, clear visual hierarchy
   ========================================================================== */
[data-theme="light"], .dw-light-theme {
  color-scheme: light !important;

  /* Theme Core Variables */
  --dw-bg-primary: #F8FAFC !important;
  --dw-bg-secondary: #EDF2F7 !important;
  --dw-bg-card: #FFFFFF !important;
  --dw-bg-elevated: #F1F5F9 !important;
  --dw-accent-primary: #B45309 !important;
  --dw-accent-secondary: #0284C7 !important;
  --dw-success: #16A34A !important;
  --dw-error: #DC2626 !important;
  --dw-text-primary: #0F172A !important;
  --dw-text-secondary: #475569 !important;
  --dw-border: #CBD5E1 !important;

  --dw20-bg: #F8FAFC !important;
  --dw20-surface: #FFFFFF !important;
  --dw20-surface2: #F1F5F9 !important;
  --dw20-text: #0F172A !important;
  --dw20-muted: #475569 !important;
  --dw20-line: #CBD5E1 !important;
  --dw20-cyan: #0284C7 !important;
  --dw20-gold: #B45309 !important;

  --dw22-bg: #F8FAFC !important;
  --dw22-bg2: #EDF2F7 !important;
  --dw22-panel: #FFFFFF !important;
  --dw22-panel2: #F1F5F9 !important;
  --dw22-border: rgba(2, 132, 199, 0.28) !important;
  --dw22-muted: #475569 !important;
  --dw22-text: #0F172A !important;
  --dw22-gold: #B45309 !important;
  --dw22-cyan: #0284C7 !important;
  --dw22-success: #16A34A !important;
  --dw22-error: #DC2626 !important;
}

[data-theme="light"] body,
body.dw-light-theme,
[data-theme="light"] #dw-app-shell {
  background: #F8FAFC !important;
  background-image: none !important;
  color: #0F172A !important;
}

/* Headings, Copy & Typography */
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3,
[data-theme="light"] h4, [data-theme="light"] .dw-shell-h1, [data-theme="light"] strong {
  color: #0F172A !important;
}
[data-theme="light"] p, [data-theme="light"] span,
[data-theme="light"] .dw-shell-lead, [data-theme="light"] .dw-shell-muted {
  color: #475569 !important;
}
[data-theme="light"] .dw-shell-brand strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw-shell-brand .dw-shell-muted {
  color: #64748B !important;
}
[data-theme="light"] .dw22-home-hero .dw-shell-h1 span {
  background: linear-gradient(90deg, #D97706, #B45309, #0284C7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .dw22-hero-eyebrow {
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-hero-tag {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-hero-metrics {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .dw22-metric-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw22-metric-item strong {
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-metric-item span {
  color: #475569 !important;
  font-weight: 500 !important;
}
[data-theme="light"] .dw22-metric-item span {
  color: #64748B !important;
}

/* Header & Top Branding */
[data-theme="light"] .dw-shell-top {
  border-bottom-color: #E2E8F0 !important;
}
/* keep original gold brand logo */
[data-theme="light"] .dw-top-pill-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dw-top-avatar-btn {
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1) !important;
  border: 1px solid #94A3B8 !important;
  color: #0F172A !important;
}

/* Theme Toggle Button Styling */
.dw-theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  min-height: 32px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(245, 199, 106, 0.35) !important;
  background: rgba(20, 36, 55, 0.9) !important;
  color: #F5C76A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
  flex-shrink: 0 !important;
}
.dw-theme-toggle-btn:active {
  transform: scale(0.96) !important;
}
[data-theme="light"] .dw-theme-toggle-btn {
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .dw-theme-toggle-btn:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}

/* Cards & Surfaces */
[data-theme="light"] .dw-shell-card,
[data-theme="light"] .dw-engagement-card,
[data-theme="light"] .dw-contact-form-card,
[data-theme="light"] .dw-v8-item,
[data-theme="light"] .dw-v8-stat,
[data-theme="light"] .dw-channel-card,
[data-theme="light"] .dw-track-card,
[data-theme="light"] .dw22-academic-card,
[data-theme="light"] .dw18-tool,
[data-theme="light"] .dw-about-simple-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .dw-shell-card:hover,
[data-theme="light"] .dw-track-card:hover,
[data-theme="light"] .dw-v8-item:hover {
  border-color: #0284C7 !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12) !important;
}

/* Buttons */
[data-theme="light"] .dw-shell-btn:not(.primary),
[data-theme="light"] .dw-btn-open,
[data-theme="light"] .dw-btn-copy,
[data-theme="light"] .dw-v8-mini:not([data-v8-action="open"]) {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dw-shell-btn:not(.primary):hover,
[data-theme="light"] .dw-shell-btn:not(.primary):active {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}
[data-theme="light"] .dw-shell-btn.primary,
[data-theme="light"] .dw-v8-mini[data-v8-action="open"] {
  background: linear-gradient(135deg, #0284C7, #0369A1) !important;
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.28) !important;
}

/* Bottom Navigation */
[data-theme="light"] #dw-shell-bottom,
[data-theme="light"] .dw-shell-bottom,
[data-theme="light"] nav.dw-shell-bottom {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dw-shell-nav {
  color: #64748B !important;
}
[data-theme="light"] .dw-shell-nav:hover {
  color: #0F172A !important;
}
[data-theme="light"] .dw-shell-nav.active {
  background: #F1F5F9 !important;
  color: #0284C7 !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12) !important;
}

/* Filter Toolbar & Pills */
[data-theme="light"] .dw-v8-toolbar,
[data-theme="light"] .dw-dark-filter-toolbar {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
}
[data-theme="light"] .dw-filter-pill,
[data-theme="light"] .dw22-model-pill {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}
[data-theme="light"] .dw-filter-pill.active,
[data-theme="light"] .dw22-model-pill.active {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2) !important;
}

/* Inputs, Textareas, Selects */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] .dw-v8-search-input,
[data-theme="light"] .dw-dark-select {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}
[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
  border-color: #0284C7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* Chips & Camera Controls */
[data-theme="light"] .dw-cam-chip,
[data-theme="light"] .vlab-tab {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw-cam-chip.active,
[data-theme="light"] .vlab-tab.active {
  background: rgba(2, 132, 199, 0.12) !important;
  border-color: #0284C7 !important;
  color: #0284C7 !important;
}

/* 2D Circuit Schematic & Self-Practice Board */
[data-theme="light"] .dw-schematic-box,
[data-theme="light"] .dw-2d-board-canvas {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px) !important;
  background-size: 20px 20px !important;
}
[data-theme="light"] .dw-2d-palette-box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
}
[data-theme="light"] .dw-part-body-rect {
  fill: #FFFFFF !important;
  stroke: #94A3B8 !important;
}
[data-theme="light"] .dw-meter-circle {
  fill: #FFFFFF !important;
}
[data-theme="light"] .dw-part-rotate-btn {
  fill: #FFFFFF !important;
  stroke: #B45309 !important;
}

/* Modals, Toasts & Overlays */
[data-theme="light"] .dw-modal-card,
[data-theme="light"] .dw25-action {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15) !important;
}


/* ==========================================================================
   COMPLETE PROFESSIONAL LIGHT MODE (Anti-Glare, High-Contrast Typography)
   ========================================================================== */

/* Page Background & Global Text */
[data-theme="light"] html,
[data-theme="light"] body,
body.dw-light-theme,
[data-theme="light"] #dw-app-shell {
  background: #F8FAFC !important;
  background-image: 
    radial-gradient(ellipse 110% 40% at 85% -5%, rgba(2, 132, 199, 0.08), transparent 60%),
    radial-gradient(ellipse 90% 30% at 10% 18%, rgba(245, 199, 106, 0.06), transparent 55%),
    linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #EDF2F7 100%) !important;
  color: #0F172A !important;
}

/* Headings & Text */
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3,
[data-theme="light"] h4, [data-theme="light"] .dw-shell-h1, [data-theme="light"] strong {
  color: #0F172A !important;
}
[data-theme="light"] p, [data-theme="light"] span:not(.dw-shell-logo),
[data-theme="light"] .dw-shell-lead, [data-theme="light"] .dw-shell-muted {
  color: #475569 !important;
}
[data-theme="light"] .dw-shell-brand strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw-shell-brand .dw-shell-muted {
  color: #64748B !important;
}

/* Home Hero Card */
[data-theme="light"] .dw22-home-hero {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
}
[data-theme="light"] .dw22-home-hero:before {
  background: linear-gradient(90deg, #F59E0B, #0284C7, #10B981, transparent) !important;
}
[data-theme="light"] .dw22-home-hero .dw-shell-h1 {
  color: #0F172A !important;
}
[data-theme="light"] .dw22-home-hero .dw-shell-h1 span {
  background: linear-gradient(90deg, #D97706, #B45309, #0284C7) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .dw22-home-hero .dw-shell-lead {
  color: #475569 !important;
}
[data-theme="light"] .dw22-hero-eyebrow {
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-hero-tag {
  background: rgba(2, 132, 199, 0.1) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-hero-metrics {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .dw22-metric-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw22-metric-item strong {
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-metric-item span {
  color: #64748B !important;
  font-weight: 500 !important;
}
[data-theme="light"] .dw-shell-btn.dw22-outline {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="light"] .dw-shell-btn.dw22-outline:hover,
[data-theme="light"] .dw-shell-btn.dw22-outline:active {
  background: #F8FAFC !important;
  border-color: #0284C7 !important;
  color: #0284C7 !important;
}

/* Curriculum Tracks */
[data-theme="light"] .dw-sec-kicker {
  color: #0284C7 !important;
}
[data-theme="light"] .dw-sec-head h2 {
  color: #0F172A !important;
}
[data-theme="light"] .dw-sec-link {
  color: #B45309 !important;
}
[data-theme="light"] .dw-track-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw-track-card:hover {
  border-color: #0284C7 !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12) !important;
}
[data-theme="light"] .dw-track-card strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw-track-card span {
  color: #64748B !important;
}
[data-theme="light"] .dw-track-ico {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}

/* Interactive Circuit Studio Card */
[data-theme="light"] #dw20-entry.dw22-studio-entry,
[data-theme="light"] #dw20-entry {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] #dw20-entry.dw22-studio-entry:before {
  background: linear-gradient(90deg, #F5C76A, #0284C7) !important;
}
[data-theme="light"] .dw22-studio-body .dw22-studio-kicker,
[data-theme="light"] #dw20-entry .dw20-kicker {
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-studio-body h3,
[data-theme="light"] #dw20-entry h2,
[data-theme="light"] #dw20-entry h3 {
  color: #0F172A !important;
}
[data-theme="light"] .dw22-studio-body p,
[data-theme="light"] #dw20-entry p {
  color: #475569 !important;
}
[data-theme="light"] .dw22-model-pill {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}
[data-theme="light"] #dw20-entry .dw20-mini-stats span {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}
[data-theme="light"] .dw22-studio-body p,
[data-theme="light"] #dw20-entry p {
  color: #475569 !important;
}

/* Profile Screen in Light Mode */
[data-theme="light"] .dw-profile-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dw-profile-name {
  color: #0F172A !important;
}
[data-theme="light"] .dw-profile-email {
  color: #475569 !important;
}
[data-theme="light"] .dw-profile-net-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}
[data-theme="light"] .dw22-account-actions {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}
[data-theme="light"] details.dw22-academic-details > summary,
[data-theme="light"] .dw22-academic-card {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw22-academic-card label {
  color: #475569 !important;
}
[data-theme="light"] .dw22-academic-card input {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

/* Lab Active Workspace */
[data-theme="light"] .dw-vlab-root,
body.dw-light-theme .dw-vlab-root {
  background: #F8FAFC !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw-vlab-root header,
body.dw-light-theme .dw-vlab-root header {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw-vlab-root header h1 {
  color: #0F172A !important;
}
[data-theme="light"] .vlab-card,
[data-theme="light"] .dw-param-card,
[data-theme="light"] .dw-learn-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  color: #0F172A !important;
}
[data-theme="light"] .vlab-card h2,
[data-theme="light"] .vlab-card h3,
[data-theme="light"] .vlab-card h4,
[data-theme="light"] .vlab-card p {
  color: #0F172A !important;
}
[data-theme="light"] .vlab-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .vlab-btn:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
}
[data-theme="light"] .dw-cam-chip {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw-cam-chip.active {
  background: rgba(2, 132, 199, 0.12) !important;
  border-color: #0284C7 !important;
  color: #0284C7 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .vlab-tab {
  color: #64748B !important;
}
[data-theme="light"] .vlab-tab:hover {
  color: #0F172A !important;
}
[data-theme="light"] .vlab-tab.active {
  color: #B45309 !important;
  border-color: #B45309 !important;
  background: rgba(217, 119, 6, 0.1) !important;
}
[data-theme="light"] .meter {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .meter .val {
  color: #15803D !important;
}
[data-theme="light"] .meter .lbl {
  color: #475569 !important;
}
[data-theme="light"] .dw-schematic-box,
[data-theme="light"] .dw-2d-board-canvas {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px) !important;
  background-size: 20px 20px !important;
}


/* Extra Light Mode Overrides for Complete Coverage */
[data-theme="light"] #dw-app-shell h1,
[data-theme="light"] #dw-app-shell h2,
[data-theme="light"] #dw-app-shell h3,
[data-theme="light"] .dw-shell-h1,
[data-theme="light"] .dw-profile-name,
[data-theme="light"] .dw-sec-head h2,
[data-theme="light"] #dw20-entry h2,
[data-theme="light"] #dw20-entry.dw22-studio-entry h2 {
  color: #0F172A !important;
}
[data-theme="light"] #dw-app-shell p,
[data-theme="light"] .dw-shell-lead,
[data-theme="light"] .dw-profile-email,
[data-theme="light"] #dw20-entry p,
[data-theme="light"] .dw-shell-card p {
  color: #475569 !important;
}
[data-theme="light"] .dw-sec-kicker {
  color: #0284C7 !important;
  font-weight: 800 !important;
}
[data-theme="light"] .dw-track-badge {
  background: #E2E8F0 !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
}
[data-theme="light"] .dw22-studio-badge {
  background: #DCFCE7 !important;
  border: 1px solid #86EFAC !important;
  color: #166534 !important;
}
[data-theme="light"] .dw22-model-pill {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
}
[data-theme="light"] .dw-profile-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dw-profile-net-box {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
}
[data-theme="light"] .dw-profile-net-box strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw22-academic-details > summary {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
}
[data-theme="light"] .dw22-academic-symbol {
  background: #E0F2FE !important;
  border: 1px solid #BAE6FD !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw22-academic-heading strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw22-academic-heading small {
  color: #64748B !important;
}


      /* 3D Component Viewer in Light Mode */
      [data-theme="light"] .dw3d-carousel,
      body.dw-light-theme .dw3d-carousel {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
      }
      [data-theme="light"] .dw3d-carousel span {
        color: #0F172A;
      }
      [data-theme="light"] .dw3d-counter,
      body.dw-light-theme .dw3d-counter {
        background: #F1F5F9 !important;
        border: 1px solid #CBD5E1 !important;
        color: #1E293B !important;
      }
      [data-theme="light"] .dw3d-carousel button[style*="#101A27"] {
        background: #F8FAFC !important;
        border: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
      }
      [data-theme="light"] .dw3d-details,
      body.dw-light-theme .dw3d-details {
        background: #F8FAFC !important;
        border: 1px solid #CBD5E1 !important;
      }
      [data-theme="light"] .dw3d-details div {
        color: #0F172A;
      }
      [data-theme="light"] .dw3d-details p,
      body.dw-light-theme .dw3d-details p {
        color: #334155 !important;
      }
      [data-theme="light"] .dw3d-details span,
      body.dw-light-theme .dw3d-details span {
        color: #475569 !important;
      }
      [data-theme="light"] .dw3d-details strong,
      body.dw-light-theme .dw3d-details strong {
        color: #0284C7 !important;
      }

      /* =========================================================================
         STAGE 1, 3, 4 LIGHT THEME RULES
         ========================================================================= */

      /* STAGE 1: FORMULA ACTION / CALCULATOR BOX */
      [data-theme="light"] .dw-formula-calc-box,
      body.dw-light-theme .dw-formula-calc-box {
        background: #F1F5F9 !important;
        border: 1px solid #CBD5E1 !important;
      }
      [data-theme="light"] .dw-formula-calc-text,
      body.dw-light-theme .dw-formula-calc-text {
        color: #0369A1 !important;
        font-weight: 600 !important;
      }
      [data-theme="light"] .dw-formula-calc-box .vlab-btn,
      body.dw-light-theme .dw-formula-calc-box .vlab-btn {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
      }

      /* STAGE 3: PHYSICAL RESPONSE BOX */
      [data-theme="light"] #dw-sim-physical-response,
      [data-theme="light"] .dw-physical-response-box,
      body.dw-light-theme #dw-sim-physical-response,
      body.dw-light-theme .dw-physical-response-box {
        background: #FEFCE8 !important;
        border: 1px solid #FDE047 !important;
      }
      [data-theme="light"] .dw-physical-response-title,
      body.dw-light-theme .dw-physical-response-title {
        color: #B45309 !important;
      }
      [data-theme="light"] .dw-physical-response-body,
      body.dw-light-theme .dw-physical-response-body {
        color: #1E293B !important;
      }

      /* STAGE 3: WAVEFORM ANALYSIS BOX */
      [data-theme="light"] .dw-waveform-analysis-box,
      body.dw-light-theme .dw-waveform-analysis-box {
        background: #F8FAFC !important;
        border: 1px solid #CBD5E1 !important;
      }
      [data-theme="light"] .dw-waveform-analysis-box p,
      body.dw-light-theme .dw-waveform-analysis-box p {
        color: #334155 !important;
      }
      [data-theme="light"] .dw-waveform-stat-tile,
      body.dw-light-theme .dw-waveform-stat-tile {
        background: #FFFFFF !important;
        border: 1px solid #CBD5E1 !important;
      }
      [data-theme="light"] .dw-waveform-stat-tile div:last-child,
      body.dw-light-theme .dw-waveform-stat-tile div:last-child {
        color: #64748B !important;
      }

      /* STAGE 4: SAVED BANNER */
      [data-theme="light"] #dw-reading-saved-banner,
      body.dw-light-theme #dw-reading-saved-banner {
        background: #F0FDF4 !important;
        border: 1.5px solid #16A34A !important;
        color: #166534 !important;
      }
      [data-theme="light"] #dw-reading-saved-banner strong,
      body.dw-light-theme #dw-reading-saved-banner strong {
        color: #15803D !important;
      }
      [data-theme="light"] #dw-reading-saved-banner span,
      body.dw-light-theme #dw-reading-saved-banner span {
        color: #166534 !important;
      }

      /* STAGE 4: RESULTS - HEADER CARD */
      [data-theme="light"] #dw-results-header-card,
      [data-theme="light"] .dw-results-header-card,
      body.dw-light-theme #dw-results-header-card,
      body.dw-light-theme .dw-results-header-card {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
      }
      [data-theme="light"] .dw-results-header-card h2,
      [data-theme="light"] .dw-res-title,
      body.dw-light-theme .dw-results-header-card h2,
      body.dw-light-theme .dw-res-title {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-res-subhead,
      body.dw-light-theme .dw-res-subhead {
        color: #0284C7 !important;
      }
      [data-theme="light"] .dw-res-params-row,
      body.dw-light-theme .dw-res-params-row {
        border-top: 1px solid #E2E8F0 !important;
      }
      [data-theme="light"] .dw-res-param-pill,
      body.dw-light-theme .dw-res-param-pill {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        color: #475569 !important;
      }
      [data-theme="light"] .dw-res-param-pill strong,
      body.dw-light-theme .dw-res-param-pill strong {
        color: #0F172A !important;
      }

      /* STAGE 4: OBSERVATION TABLE */
      [data-theme="light"] #dw-observations-card,
      [data-theme="light"] .dw-observations-card,
      body.dw-light-theme #dw-observations-card,
      body.dw-light-theme .dw-observations-card {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
      }
      [data-theme="light"] .dw-obs-title,
      [data-theme="light"] #dw-observations-card h3,
      body.dw-light-theme .dw-obs-title,
      body.dw-light-theme #dw-observations-card h3 {
        color: #0F172A !important;
      }
      [data-theme="light"] #dw-obs-table-wrap,
      [data-theme="light"] .dw-obs-table-wrap,
      body.dw-light-theme #dw-obs-table-wrap,
      body.dw-light-theme .dw-obs-table-wrap {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
      }
      [data-theme="light"] .dw-obs-thead-row,
      [data-theme="light"] .dw-obs-table-wrap thead tr,
      body.dw-light-theme .dw-obs-thead-row,
      body.dw-light-theme .dw-obs-table-wrap thead tr {
        background: #F1F5F9 !important;
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-obs-table-wrap th,
      body.dw-light-theme .dw-obs-table-wrap th {
        border-bottom: 1px solid #CBD5E1 !important;
        color: #0F172A !important;
        font-weight: 700 !important;
      }
      [data-theme="light"] .dw-obs-tbody-row,
      [data-theme="light"] .dw-obs-table-wrap tbody tr,
      body.dw-light-theme .dw-obs-tbody-row,
      body.dw-light-theme .dw-obs-table-wrap tbody tr {
        border-bottom: 1px solid #F1F5F9 !important;
        background: #FFFFFF !important;
      }
      [data-theme="light"] .dw-obs-tbody-row:nth-child(even),
      [data-theme="light"] .dw-obs-table-wrap tbody tr:nth-child(even),
      body.dw-light-theme .dw-obs-tbody-row:nth-child(even),
      body.dw-light-theme .dw-obs-table-wrap tbody tr:nth-child(even) {
        background: #F8FAFC !important;
      }
      [data-theme="light"] .dw-obs-td-n,
      body.dw-light-theme .dw-obs-td-n {
        color: #0284C7 !important;
      }
      [data-theme="light"] .dw-obs-td-time,
      body.dw-light-theme .dw-obs-td-time {
        color: #64748B !important;
      }
      [data-theme="light"] .dw-obs-td-val,
      body.dw-light-theme .dw-obs-td-val {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-obs-td-theory,
      body.dw-light-theme .dw-obs-td-theory,
      [data-theme="light"] .dw-obs-td-err,
      body.dw-light-theme .dw-obs-td-err {
        color: #16A34A !important;
      }
      [data-theme="light"] .dw-obs-empty-td,
      body.dw-light-theme .dw-obs-empty-td {
        color: #64748B !important;
      }

      /* STAGE 4: RESULT INTERPRETATION & CONCLUSION */
      [data-theme="light"] #dw-conclusion-card,
      [data-theme="light"] .dw-conclusion-card,
      body.dw-light-theme #dw-conclusion-card,
      body.dw-light-theme .dw-conclusion-card {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
      }
      [data-theme="light"] .dw-conclusion-title,
      [data-theme="light"] #dw-conclusion-card h3,
      body.dw-light-theme .dw-conclusion-title,
      body.dw-light-theme #dw-conclusion-card h3 {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-conclusion-body,
      [data-theme="light"] #dw-conclusion-card p,
      body.dw-light-theme .dw-conclusion-body,
      body.dw-light-theme #dw-conclusion-card p {
        color: #334155 !important;
      }
      [data-theme="light"] #dw-conclusion-box,
      [data-theme="light"] .dw-conclusion-box,
      body.dw-light-theme #dw-conclusion-box,
      body.dw-light-theme .dw-conclusion-box {
        background: #F0FDF4 !important;
        border-left: 4px solid #16A34A !important;
        border-right: 1px solid #DCFCE7 !important;
        border-top: 1px solid #DCFCE7 !important;
        border-bottom: 1px solid #DCFCE7 !important;
        color: #166534 !important;
      }
      [data-theme="light"] .dw-conclusion-box strong,
      body.dw-light-theme .dw-conclusion-box strong {
        color: #15803D !important;
      }

      /* STAGE 4: VIVA-VOCE & ASSESSMENT */
      [data-theme="light"] #dw-viva-section,
      [data-theme="light"] .dw-viva-card,
      body.dw-light-theme #dw-viva-section,
      body.dw-light-theme .dw-viva-card {
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
      }
      [data-theme="light"] .dw-viva-title,
      [data-theme="light"] #dw-viva-section h3,
      body.dw-light-theme .dw-viva-title,
      body.dw-light-theme #dw-viva-section h3 {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-viva-q,
      body.dw-light-theme .dw-viva-q {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-viva-opt,
      body.dw-light-theme .dw-viva-opt {
        background: #F8FAFC !important;
        border: 1.5px solid #CBD5E1 !important;
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-viva-opt.selected,
      body.dw-light-theme .dw-viva-opt.selected {
        background: #FEF3C7 !important;
        border: 1.5px solid #F59E0B !important;
        color: #92400E !important;
      }
      [data-theme="light"] .dw-viva-heading-wrap,
      body.dw-light-theme .dw-viva-heading-wrap {
        border-top: 1px solid #E2E8F0 !important;
      }
      [data-theme="light"] .dw-viva-examiner-heading,
      [data-theme="light"] .dw-viva-heading-wrap h4,
      body.dw-light-theme .dw-viva-examiner-heading,
      body.dw-light-theme .dw-viva-heading-wrap h4 {
        color: #0284C7 !important;
      }
      [data-theme="light"] .dw-viva-item,
      body.dw-light-theme .dw-viva-item {
        color: #0F172A !important;
      }
      [data-theme="light"] .dw-viva-answer-box,
      body.dw-light-theme .dw-viva-answer-box {
        background: #F8FAFC !important;
        border-left: 3px solid #D97706 !important;
        border-top: 1px solid #E2E8F0 !important;
        border-right: 1px solid #E2E8F0 !important;
        border-bottom: 1px solid #E2E8F0 !important;
        color: #334155 !important;
      }
      [data-theme="light"] .dw-viva-footer,
      body.dw-light-theme .dw-viva-footer {
        border-top: 1px solid #E2E8F0 !important;
      }
      [data-theme="light"] .dw-viva-status-txt,
      body.dw-light-theme .dw-viva-status-txt {
        color: #64748B !important;
      }


/* ========================================================================= */
/* TOP BAR COMPACT THEME TOGGLE ICON & EXIT DIALOG LIGHT MODE                */
/* ========================================================================= */
.dw-top-theme-icon-only,
#dw-top-theme-btn.dw-top-theme-icon-only,
.dw-shell-top .dw-theme-toggle-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}
.dw-top-theme-icon-only .dw-theme-toggle-text,
.dw-shell-top .dw-theme-toggle-btn .dw-theme-toggle-text {
  display: none !important;
}
[data-theme="light"] .dw-top-theme-icon-only,
[data-theme="light"] .dw-shell-top .dw-theme-toggle-btn,
body.dw-light-theme .dw-top-theme-icon-only,
body.dw-light-theme .dw-shell-top .dw-theme-toggle-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

/* EXIT CONFIRMATION MODAL */
[data-theme="light"] .dw-exit-modal-backdrop,
body.dw-light-theme .dw-exit-modal-backdrop {
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(6px) !important;
}
[data-theme="light"] .dw-exit-modal-card,
body.dw-light-theme .dw-exit-modal-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}
[data-theme="light"] .dw-exit-modal-title,
body.dw-light-theme .dw-exit-modal-title {
  color: #0F172A !important;
}
[data-theme="light"] .dw-exit-modal-desc,
body.dw-light-theme .dw-exit-modal-desc {
  color: #475569 !important;
}
[data-theme="light"] #dw-exit-cancel-btn {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
}
[data-theme="light"] #dw-exit-confirm-btn {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border: none !important;
}

/* PRACTICAL 1 & 2 COMPONENT VIEWER & SYMBOLS */
[data-theme="light"] .dw3d-carousel,
body.dw-light-theme .dw3d-carousel {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw3d-select-btn,
body.dw-light-theme .dw3d-select-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .dw3d-select-btn span,
body.dw-light-theme .dw3d-select-btn span {
  color: #0F172A !important;
}
[data-theme="light"] .dw3d-counter,
body.dw-light-theme .dw3d-counter {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw3d-details,
body.dw-light-theme .dw3d-details {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw3d-name,
body.dw-light-theme .dw3d-name {
  color: #0284C7 !important;
}
[data-theme="light"] .dw3d-group,
body.dw-light-theme .dw3d-group {
  color: #D97706 !important;
}
[data-theme="light"] .dw3d-what,
body.dw-light-theme .dw3d-what {
  color: #334155 !important;
}
[data-theme="light"] .dw3d-subhead,
body.dw-light-theme .dw3d-subhead {
  color: #0284C7 !important;
}
[data-theme="light"] .dw3d-subtext,
body.dw-light-theme .dw3d-subtext {
  color: #475569 !important;
}
[data-theme="light"] .dw3d-picker-dialog,
body.dw-light-theme .dw3d-picker-dialog {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2) !important;
}
[data-theme="light"] .dw3d-picker-dialog strong,
body.dw-light-theme .dw3d-picker-dialog strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw3d-picker-item,
body.dw-light-theme .dw3d-picker-item {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw3d-picker-item.selected,
body.dw-light-theme .dw3d-picker-item.selected {
  background: #EFF6FF !important;
  border: 1.5px solid #0284C7 !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw-lib-theory-box,
body.dw-light-theme .dw-lib-theory-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}

[data-theme="light"] .dw2d-tip-box,
body.dw-light-theme .dw2d-tip-box {
  background: #F0F9FF !important;
  border: 1px dashed #7DD3FC !important;
  color: #0369A1 !important;
}
[data-theme="light"] .dw2d-group-title,
body.dw-light-theme .dw2d-group-title {
  color: #0284C7 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw2d-symbol-card,
body.dw-light-theme .dw2d-symbol-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
[data-theme="light"] .dw2d-symbol-card:hover {
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12) !important;
  border-color: #38BDF8 !important;
  transform: translateY(-2px) !important;
}
[data-theme="light"] .dw2d-symbol-card.selected,
body.dw-light-theme .dw2d-symbol-card.selected,
[data-theme="light"] .dw2d-symbol-card[style*="#1c1708"] {
  background: #EFF6FF !important;
  border: 2px solid #0284C7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}
[data-theme="light"] .dw2d-symbol-name,
body.dw-light-theme .dw2d-symbol-name {
  color: #0F172A !important;
  font-weight: 600 !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg path,
[data-theme="light"] .dw2d-symbol-svg-wrap svg line,
[data-theme="light"] .dw2d-symbol-svg-wrap svg polyline,
body.dw-light-theme .dw2d-symbol-svg-wrap svg path,
body.dw-light-theme .dw2d-symbol-svg-wrap svg line,
body.dw-light-theme .dw2d-symbol-svg-wrap svg polyline {
  stroke: #0F172A !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg circle[fill="#8a94a6"],
body.dw-light-theme .dw2d-symbol-svg-wrap svg circle[fill="#8a94a6"] {
  fill: #64748B !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg text,
body.dw-light-theme .dw2d-symbol-svg-wrap svg text {
  fill: #0F172A !important;
}
[data-theme="light"] .dw2d-detail-box,
body.dw-light-theme .dw2d-detail-box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw2d-svg-preview-wrap,
body.dw-light-theme .dw2d-svg-preview-wrap {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
}
[data-theme="light"] .dw2d-svg-preview-wrap svg path,
[data-theme="light"] .dw2d-svg-preview-wrap svg line,
body.dw-light-theme .dw2d-svg-preview-wrap svg path,
body.dw-light-theme .dw2d-svg-preview-wrap svg line {
  stroke: #0F172A !important;
}
[data-theme="light"] .dw2d-svg-preview-wrap svg text,
body.dw-light-theme .dw2d-svg-preview-wrap svg text {
  fill: #0F172A !important;
}
[data-theme="light"] .dw2d-detail-title,
body.dw-light-theme .dw2d-detail-title {
  color: #0284C7 !important;
  font-weight: 800 !important;
}
[data-theme="light"] .dw2d-detail-group,
body.dw-light-theme .dw2d-detail-group {
  color: #D97706 !important;
}
[data-theme="light"] .dw2d-detail-what,
body.dw-light-theme .dw2d-detail-what {
  color: #334155 !important;
}
[data-theme="light"] .dw2d-detail-sec b,
body.dw-light-theme .dw2d-detail-sec b {
  color: #0284C7 !important;
}
[data-theme="light"] .dw2d-detail-sec div,
body.dw-light-theme .dw2d-detail-sec div {
  color: #475569 !important;
}


/* =========================================================================
   CIRCUIT STUDIO LIGHT MODE COMPLETE OVERRIDES
   ========================================================================= */
[data-theme="light"] .dw20-screen,
body.dw-light-theme .dw20-screen {
  background: #F8FAFC !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw20-top,
body.dw-light-theme .dw20-top {
  border-bottom: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-brand strong,
body.dw-light-theme .dw20-brand strong {
  color: #0F172A !important;
}
[data-theme="light"] .dw20-brand small,
body.dw-light-theme .dw20-brand small {
  color: #64748B !important;
}
[data-theme="light"] .dw20-close,
[data-theme="light"] .dw20-action.ghost,
body.dw-light-theme .dw20-close,
body.dw-light-theme .dw20-action.ghost {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] #dw20-btn-landscape,
body.dw-light-theme #dw20-btn-landscape {
  background: #FFFBEB !important;
  border-color: #FCD34D !important;
  color: #B45309 !important;
}
[data-theme="light"] .dw20-title,
body.dw-light-theme .dw20-title {
  color: #0F172A !important;
}
[data-theme="light"] .dw20-subtitle,
body.dw-light-theme .dw20-subtitle {
  color: #475569 !important;
}
[data-theme="light"] .dw20-tabs,
body.dw-light-theme .dw20-tabs {
  border-color: #E2E8F0 !important;
}
[data-theme="light"] .dw20-tabs button,
body.dw-light-theme .dw20-tabs button {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
}
[data-theme="light"] .dw20-tabs button[aria-selected="true"],
body.dw-light-theme .dw20-tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #F59E0B, #D97706) !important;
  border-color: #F59E0B !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw20-panel,
body.dw-light-theme .dw20-panel {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw20-panel h3,
body.dw-light-theme .dw20-panel h3 {
  color: #0F172A !important;
}
[data-theme="light"] .dw20-small,
body.dw-light-theme .dw20-small {
  color: #475569 !important;
}
[data-theme="light"] .dw20-viz-toggle,
body.dw-light-theme .dw20-viz-toggle {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-viz-btn,
body.dw-light-theme .dw20-viz-btn {
  color: #64748B !important;
}
[data-theme="light"] .dw20-viz-btn.active,
body.dw-light-theme .dw20-viz-btn.active {
  background: #FFFFFF !important;
  color: #0284C7 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .dw20-circuit,
body.dw-light-theme .dw20-circuit {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-circuit svg rect:first-of-type,
body.dw-light-theme .dw20-circuit svg rect:first-of-type {
  fill: #F8FAFC !important;
  stroke: #CBD5E1 !important;
}
[data-theme="light"] .dw20-circuit svg circle[fill="#142437"],
body.dw-light-theme .dw20-circuit svg circle[fill="#142437"] {
  fill: #FFFFFF !important;
}
[data-theme="light"] .dw20-circuit svg text[fill="#F4F7FB"],
body.dw-light-theme .dw20-circuit svg text[fill="#F4F7FB"] {
  fill: #0F172A !important;
}
[data-theme="light"] .dw20-circuit svg text[fill="#A9BDCF"],
body.dw-light-theme .dw20-circuit svg text[fill="#A9BDCF"] {
  fill: #64748B !important;
}
[data-theme="light"] #dw20-params-card,
body.dw-light-theme #dw20-params-card {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] #dw20-params-card h3,
body.dw-light-theme #dw20-params-card h3 {
  color: #0F172A !important;
}
[data-theme="light"] #dw20-toggle-params,
body.dw-light-theme #dw20-toggle-params {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0284C7 !important;
}
[data-theme="light"] .dw20-field,
body.dw-light-theme .dw20-field {
  border-bottom: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-field label,
body.dw-light-theme .dw20-field label {
  color: #1E293B !important;
}
[data-theme="light"] .dw20-field output,
body.dw-light-theme .dw20-field output {
  color: #D97706 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw20-chart,
body.dw-light-theme .dw20-chart {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-chart svg rect:first-of-type,
body.dw-light-theme .dw20-chart svg rect:first-of-type {
  fill: #F8FAFC !important;
  stroke: #CBD5E1 !important;
}
[data-theme="light"] .dw20-result,
body.dw-light-theme .dw20-result {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-result small,
body.dw-light-theme .dw20-result small {
  color: #64748B !important;
}
[data-theme="light"] .dw20-result strong,
body.dw-light-theme .dw20-result strong {
  color: #059669 !important;
}
[data-theme="light"] .dw20-equation,
body.dw-light-theme .dw20-equation {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
}
[data-theme="light"] .dw20-table-wrap,
body.dw-light-theme .dw20-table-wrap {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}
[data-theme="light"] .dw20-table th,
body.dw-light-theme .dw20-table th {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw20-table td,
body.dw-light-theme .dw20-table td {
  border-bottom: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}
[data-theme="light"] .dw20-footer,
body.dw-light-theme .dw20-footer {
  color: #64748B !important;
}

/* =========================================================================
   PRACTICAL 2 & 2D SYMBOLS CARD VISIBILITY IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] body.dw-lab-open #root .vlab-card,
body.dw-light-theme.dw-lab-open #root .vlab-card,
[data-theme="light"] body #root .vlab-card,
body.dw-light-theme body #root .vlab-card,
[data-theme="light"] body #root .dw2d-symbol-card,
body.dw-light-theme body #root .dw2d-symbol-card,
[data-theme="light"] .dw2d-symbol-card,
body.dw-light-theme .dw2d-symbol-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
  color: #0F172A !important;
}
[data-theme="light"] body.dw-lab-open #root .vlab-card::before,
body.dw-light-theme.dw-lab-open #root .vlab-card::before,
[data-theme="light"] .dw2d-symbol-card::before,
body.dw-light-theme .dw2d-symbol-card::before {
  display: none !important;
}
[data-theme="light"] body #root .dw2d-symbol-card.selected,
[data-theme="light"] body #root .dw2d-symbol-card[style*="#1c1708"],
body.dw-light-theme body #root .dw2d-symbol-card.selected,
body.dw-light-theme body #root .dw2d-symbol-card[style*="#1c1708"],
[data-theme="light"] .dw2d-symbol-card.selected,
body.dw-light-theme .dw2d-symbol-card.selected {
  background: #EFF6FF !important;
  border: 2px solid #0284C7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}
[data-theme="light"] .dw2d-symbol-name,
body.dw-light-theme .dw2d-symbol-name {
  color: #0F172A !important;
  font-weight: 600 !important;
}
[data-theme="light"] .dw2d-group-title,
body.dw-light-theme .dw2d-group-title {
  color: #0369A1 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw2d-tip-box,
body.dw-light-theme .dw2d-tip-box {
  background: #F0FDF4 !important;
  border: 1px dashed #86EFAC !important;
  color: #166534 !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg path,
[data-theme="light"] .dw2d-symbol-svg-wrap svg line,
[data-theme="light"] .dw2d-symbol-svg-wrap svg polyline,
body.dw-light-theme .dw2d-symbol-svg-wrap svg path,
body.dw-light-theme .dw2d-symbol-svg-wrap svg line,
body.dw-light-theme .dw2d-symbol-svg-wrap svg polyline {
  stroke: #0F172A !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg polygon,
body.dw-light-theme .dw2d-symbol-svg-wrap svg polygon {
  fill: #0F172A !important;
  stroke: #0F172A !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg circle[stroke],
body.dw-light-theme .dw2d-symbol-svg-wrap svg circle[stroke] {
  stroke: #0F172A !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg circle[fill="#8a94a6"],
[data-theme="light"] .dw2d-symbol-svg-wrap svg circle[fill="#0d1013"],
body.dw-light-theme .dw2d-symbol-svg-wrap svg circle[fill="#8a94a6"],
body.dw-light-theme .dw2d-symbol-svg-wrap svg circle[fill="#0d1013"] {
  fill: #64748B !important;
}
[data-theme="light"] .dw2d-symbol-svg-wrap svg text,
body.dw-light-theme .dw2d-symbol-svg-wrap svg text {
  fill: #0F172A !important;
  font-weight: 700 !important;
}

/* =========================================================================
   STAGE 1 LABORATORY SAFETY INSTRUCTIONS & THEORY IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] .dw-safety-list,
[data-theme="light"] .dw-safety-list li,
[data-theme="light"] .dw-theory-p,
[data-theme="light"] .dw-learn-body p,
[data-theme="light"] .dw-learn-body ul,
[data-theme="light"] .dw-learn-body ol,
[data-theme="light"] .dw-learn-body li,
body.dw-light-theme .dw-safety-list,
body.dw-light-theme .dw-safety-list li,
body.dw-light-theme .dw-theory-p,
body.dw-light-theme .dw-learn-body p,
body.dw-light-theme .dw-learn-body ul,
body.dw-light-theme .dw-learn-body ol,
body.dw-light-theme .dw-learn-body li {
  color: #1E293B !important;
  line-height: 1.65 !important;
}
[data-theme="light"] .dw-learn-body strong[style*="#FF6573"],
body.dw-light-theme .dw-learn-body strong[style*="#FF6573"] {
  color: #DC2626 !important;
}
[data-theme="light"] .dw-learn-body strong[style*="#56D5E8"],
body.dw-light-theme .dw-learn-body strong[style*="#56D5E8"] {
  color: #0284C7 !important;
}
[data-theme="light"] .dw-learn-card,
body.dw-light-theme .dw-learn-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .dw-learn-card summary,
body.dw-light-theme .dw-learn-card summary {
  color: #0F172A !important;
  font-weight: 700 !important;
}

/* =========================================================================
   MODALS, DIALOGS, HELP & FLASH CARDS (LIGHT & DARK MODES)
   ========================================================================= */
[data-theme="light"] .dw-modal-overlay,
body.dw-light-theme .dw-modal-overlay {
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(4px) !important;
}

/* Base / Default Dark Mode for Modals */
.dw-modal-card:not(.dw-danger-modal) {
  background: #142437;
  border: 1px solid #2E4B6B;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  color: #F4F7FB;
}
.dw-help-card h3,
.dw-walkthrough-card h3 {
  color: #F5C76A;
}
.dw-flash-card h3 {
  color: #56D5E8;
}
.dw-flash-card .dw-modal-step-tag {
  color: #56D5E8;
}
.dw-help-card .dw-modal-step-tag {
  color: #A9BDCF;
}
.dw-modal-body-txt {
  color: #F4F7FB;
}

/* Explicit Dark Mode Overrides when in dark theme */
[data-theme="dark"] .dw-modal-card:not(.dw-danger-modal) {
  background: #142437 !important;
  border: 1px solid #2E4B6B !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65) !important;
  color: #F4F7FB !important;
}
[data-theme="dark"] .dw-help-card h3,
[data-theme="dark"] .dw-walkthrough-card h3 {
  color: #F5C76A !important;
}
[data-theme="dark"] .dw-flash-card h3 {
  color: #56D5E8 !important;
}
[data-theme="dark"] .dw-flash-card .dw-modal-step-tag {
  color: #56D5E8 !important;
}
[data-theme="dark"] .dw-help-card .dw-modal-step-tag {
  color: #A9BDCF !important;
}
[data-theme="dark"] .dw-modal-body-txt {
  color: #F4F7FB !important;
}
[data-theme="dark"] .dw-modal-card .vlab-btn.primary,
[data-theme="dark"] .dw-modal-card .dw-modal-btn-pri {
  background: linear-gradient(135deg, #F5C76A, #E5A93C) !important;
  border-color: #FFE09E !important;
  color: #080D14 !important;
}

/* Top bar Action Buttons (Flash & Help) Default / Dark */
#dw-btn-flash-app,
.dw-btn-flash-app {
  background: #142437;
  border: 1px solid rgba(86, 213, 232, 0.35);
  color: #56D5E8;
}
#dw-btn-help-guide,
.dw-btn-help-guide {
  background: #142437;
  border: 1px solid #2E4B6B;
  color: #F4F7FB;
}
[data-theme="dark"] #dw-btn-flash-app,
[data-theme="dark"] .dw-btn-flash-app {
  background: #142437 !important;
  border: 1px solid rgba(86, 213, 232, 0.35) !important;
  color: #56D5E8 !important;
}
[data-theme="dark"] #dw-btn-help-guide,
[data-theme="dark"] .dw-btn-help-guide {
  background: #142437 !important;
  border: 1px solid #2E4B6B !important;
  color: #F4F7FB !important;
}

/* Light Mode: Danger / Reset Modals */
[data-theme="light"] .dw-danger-modal,
body.dw-light-theme .dw-danger-modal {
  background: #FFFFFF !important;
  border: 1px solid #FECACA !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22) !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw-danger-modal h3,
[data-theme="light"] .dw-danger-modal .dw-modal-title,
body.dw-light-theme .dw-danger-modal h3,
body.dw-light-theme .dw-danger-modal .dw-modal-title {
  color: #DC2626 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw-danger-modal p,
[data-theme="light"] .dw-danger-modal .dw-modal-desc,
body.dw-light-theme .dw-danger-modal p,
body.dw-light-theme .dw-danger-modal .dw-modal-desc {
  color: #475569 !important;
}
[data-theme="light"] .dw-modal-cancel,
body.dw-light-theme .dw-modal-cancel,
[data-theme="light"] div[role="dialog"] .vlab-btn:not(.primary):not(.danger),
body.dw-light-theme div[role="dialog"] .vlab-btn:not(.primary):not(.danger) {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
[data-theme="light"] div[role="dialog"] .vlab-btn.danger,
body.dw-light-theme div[role="dialog"] .vlab-btn.danger {
  background: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* Light Mode: Help, Flash, and Walkthrough Modals */
[data-theme="light"] .dw-modal-card:not(.dw-danger-modal),
[data-theme="light"] .dw-help-card,
[data-theme="light"] .dw-flash-card,
[data-theme="light"] .dw-walkthrough-card,
body.dw-light-theme .dw-modal-card:not(.dw-danger-modal),
body.dw-light-theme .dw-help-card,
body.dw-light-theme .dw-flash-card,
body.dw-light-theme .dw-walkthrough-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18) !important;
  color: #0F172A !important;
}
[data-theme="light"] .dw-help-card h3,
[data-theme="light"] .dw-flash-card h3,
[data-theme="light"] .dw-walkthrough-card h3,
[data-theme="light"] .dw-modal-card:not(.dw-danger-modal) h3,
[data-theme="light"] .dw-modal-headline,
body.dw-light-theme .dw-help-card h3,
body.dw-light-theme .dw-flash-card h3,
body.dw-light-theme .dw-walkthrough-card h3,
body.dw-light-theme .dw-modal-card:not(.dw-danger-modal) h3,
body.dw-light-theme .dw-modal-headline {
  color: #0F172A !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw-help-card p,
[data-theme="light"] .dw-flash-card p,
[data-theme="light"] .dw-walkthrough-card p,
[data-theme="light"] .dw-modal-card:not(.dw-danger-modal) p,
[data-theme="light"] .dw-modal-body-txt,
body.dw-light-theme .dw-help-card p,
body.dw-light-theme .dw-flash-card p,
body.dw-light-theme .dw-walkthrough-card p,
body.dw-light-theme .dw-modal-card:not(.dw-danger-modal) p,
body.dw-light-theme .dw-modal-body-txt {
  color: #334155 !important;
  line-height: 1.6 !important;
}
[data-theme="light"] .dw-modal-step-tag,
body.dw-light-theme .dw-modal-step-tag {
  color: #0284C7 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw-modal-card .vlab-btn.primary,
[data-theme="light"] .dw-modal-card .dw-modal-btn-pri,
body.dw-light-theme .dw-modal-card .vlab-btn.primary,
body.dw-light-theme .dw-modal-card .dw-modal-btn-pri {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
[data-theme="light"] .dw-modal-card .vlab-btn:not(.primary):not(.danger),
[data-theme="light"] .dw-modal-card .dw-modal-btn-sec,
body.dw-light-theme .dw-modal-card .vlab-btn:not(.primary):not(.danger),
body.dw-light-theme .dw-modal-card .dw-modal-btn-sec {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}

/* Light Mode: Top Bar Action Buttons */
[data-theme="light"] #dw-btn-flash-app,
[data-theme="light"] .dw-btn-flash-app,
body.dw-light-theme #dw-btn-flash-app,
body.dw-light-theme .dw-btn-flash-app {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #D97706 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] #dw-btn-help-guide,
[data-theme="light"] .dw-btn-help-guide,
body.dw-light-theme #dw-btn-help-guide,
body.dw-light-theme .dw-btn-help-guide {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

/* =========================================================================
   STAGE 2 2D REFERENCE SCHEMATIC IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] #dw-connect-reference,
body.dw-light-theme #dw-connect-reference {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] #dw-connect-reference div,
body.dw-light-theme #dw-connect-reference div {
  color: #0F172A !important;
}
[data-theme="light"] .dw-schematic-box,
body.dw-light-theme .dw-schematic-box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .dw-schematic-box svg,
body.dw-light-theme .dw-schematic-box svg {
  background: #FFFFFF !important;
}

[data-theme="light"] .dw20-circuit svg g[stroke="#56D5E8"],
body.dw-light-theme .dw20-circuit svg g[stroke="#56D5E8"] {
  stroke: #0284C7 !important;
}
[data-theme="light"] .dw20-circuit svg path[stroke="#F5C76A"],
[data-theme="light"] .dw20-circuit svg line[stroke="#F5C76A"],
[data-theme="light"] .dw20-circuit svg circle[stroke="#F5C76A"],
body.dw-light-theme .dw20-circuit svg path[stroke="#F5C76A"],
body.dw-light-theme .dw20-circuit svg line[stroke="#F5C76A"],
body.dw-light-theme .dw20-circuit svg circle[stroke="#F5C76A"] {
  stroke: #D97706 !important;
}
[data-theme="light"] .dw20-circuit svg text[fill="#F5C76A"],
body.dw-light-theme .dw20-circuit svg text[fill="#F5C76A"] {
  fill: #B45309 !important;
}
[data-theme="light"] .dw20-circuit svg text[fill="#56D5E8"],
body.dw-light-theme .dw20-circuit svg text[fill="#56D5E8"] {
  fill: #0284C7 !important;
}
[data-theme="light"] .dw20-circuit svg text[fill="#39D98A"],
body.dw-light-theme .dw20-circuit svg text[fill="#39D98A"] {
  fill: #059669 !important;
}

[data-theme="light"] .dw20-tag,
body.dw-light-theme .dw20-tag {
  background: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #166534 !important;
}
[data-theme="light"] #dw20-params-summary,
body.dw-light-theme #dw20-params-summary {
  color: #0284C7 !important;
}
[data-theme="light"] #dw20-simstatus,
body.dw-light-theme #dw20-simstatus {
  color: #475569 !important;
}


/* =========================================================================
   3D BENCH & OVERLAYS IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] #dw-3d-hud-badge,
[data-theme="light"] .dw-3d-hud-badge,
body.dw-light-theme #dw-3d-hud-badge,
body.dw-light-theme .dw-3d-hud-badge {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #BAE6FD !important;
  color: #0284C7 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] #dw-3d-active-model-badge,
[data-theme="light"] .dw-3d-active-model-badge,
body.dw-light-theme #dw-3d-active-model-badge,
body.dw-light-theme .dw-3d-active-model-badge {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid #F59E0B !important;
  color: #B45309 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] #dw-3d-gesture-pill,
[data-theme="light"] .dw-3d-gesture-pill,
body.dw-light-theme #dw-3d-gesture-pill,
body.dw-light-theme .dw-3d-gesture-pill {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] #dw-3d-wire-hint-badge,
[data-theme="light"] .dw-3d-wire-hint-badge,
body.dw-light-theme #dw-3d-wire-hint-badge,
body.dw-light-theme .dw-3d-wire-hint-badge {
  background: #FEF3C7 !important;
  border: 1px solid #F59E0B !important;
  color: #B45309 !important;
}

/* =========================================================================
   PRACTICAL 2 / COMPONENT DETAILS CARD IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] .dw-comp-detail-card,
body.dw-light-theme .dw-comp-detail-card,
[data-theme="light"] .dw2d-detail-box,
body.dw-light-theme .dw2d-detail-box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .dw-comp-detail-name,
body.dw-light-theme .dw-comp-detail-name {
  color: #0F172A !important;
}

[data-theme="light"] .dw-comp-detail-group,
body.dw-light-theme .dw-comp-detail-group {
  color: #D97706 !important;
}

[data-theme="light"] .dw-comp-detail-what,
body.dw-light-theme .dw-comp-detail-what {
  color: #1E293B !important;
}

[data-theme="light"] .dw-comp-detail-heading,
body.dw-light-theme .dw-comp-detail-heading {
  color: #0284C7 !important;
}

[data-theme="light"] .dw-comp-detail-val,
body.dw-light-theme .dw-comp-detail-val {
  color: #334155 !important;
}

[data-theme="light"] .dw-comp-tip-box,
body.dw-light-theme .dw-comp-tip-box {
  background: #F0FDF4 !important;
  border: 1px solid #86EFAC !important;
  color: #166534 !important;
}

/* =========================================================================
   STAGE 4 RESULTS VIVA FOOTER IN LIGHT MODE
   ========================================================================= */
[data-theme="light"] .dw-viva-footer,
body.dw-light-theme .dw-viva-footer {
  border-top: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .dw-viva-status-txt,
body.dw-light-theme .dw-viva-status-txt {
  color: #475569 !important;
}
