/* ============================================================
   Dropnaot · tema CLARO (predeterminado). Generado a partir de styles.css, ui.css y legal.css
   con gen-light.mjs + ajustes a mano al final. html[data-theme="light"] lo activa.
   ============================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f6fb; --bg-2: #ffffff;
  --surface: rgba(28, 18, 60, 0.035); --surface-2: rgba(28, 18, 60, 0.06);
  --border: rgba(28, 18, 60, 0.1); --border-2: rgba(28, 18, 60, 0.17);
  --text: #17112b; --muted: #514a6b; --dim: #655f80;
  --violet-l: #7c3aed; --pink-l: #db2777; --sky-l: #0891b2;
  --ok: #047857; --warn: #b45309;
  --grad: linear-gradient(100deg, #7c3aed 0%, #db2777 50%, #0891b2 100%);
}

/* ---- desde styles.css ---- */
:where(html[data-theme="light"]) ::selection { color: var(--text); }
:where(html[data-theme="light"]) .btn-primary { box-shadow: 0 0 0 1px rgba(28, 18, 60, 0.15) inset, 0 10px 30px -10px rgba(236,72,153,.6), 0 4px 18px -6px rgba(139,92,246,.7); }
:where(html[data-theme="light"]) .btn-primary:hover { box-shadow: 0 0 0 1px rgba(28, 18, 60, 0.25) inset, 0 16px 40px -10px rgba(236,72,153,.7), 0 8px 24px -8px rgba(56,189,248,.6); }
:where(html[data-theme="light"]) .btn-ghost:hover { background: rgba(28, 18, 60, 0.125); border-color: rgba(28, 18, 60, 0.313); }
:where(html[data-theme="light"]) .nav.is-scrolled { background: rgba(255, 255, 255, .92); }
@supports (backdrop-filter: blur(12px)) {
  :where(html[data-theme="light"]) .nav.is-scrolled { background: rgba(255, 255, 255, .6); }
}
:where(html[data-theme="light"]) .nav.is-open { background: rgba(255, 255, 255, .98); }
:where(html[data-theme="light"]) .grid-bg { background-image: linear-gradient(rgba(28, 18, 60, 0.056) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 18, 60, 0.056) 1px, transparent 1px); }
:where(html[data-theme="light"]) .app { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .97)); }
:where(html[data-theme="light"]) .app-bar { background: rgba(28, 18, 60, 0.025); }
:where(html[data-theme="light"]) .dots i { background: rgba(28, 18, 60, 0.175); }
:where(html[data-theme="light"]) .app-url { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .app-side { background: rgba(28, 18, 60, 0.019); }
:where(html[data-theme="light"]) .app-side li b { color: var(--text); }
:where(html[data-theme="light"]) .bar { background: rgba(28, 18, 60, 0.1); }
:where(html[data-theme="light"]) .search { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .bell { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .kpi { background: rgba(28, 18, 60, 0.044); }
:where(html[data-theme="light"]) .card { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .seg { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .gridlines line { stroke: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .chart-tip { background: rgba(255, 255, 255, .95); }
:where(html[data-theme="light"]) .thumb::after { background: rgba(28, 18, 60, 0.9); }
:where(html[data-theme="light"]) .float { background: rgba(255, 255, 255, .92); }
@supports (backdrop-filter: blur(10px)) {
  :where(html[data-theme="light"]) .float { background: rgba(255, 255, 255, .65); }
}
:where(html[data-theme="light"]) .strip { background: rgba(28, 18, 60, 0.019); }
:where(html[data-theme="light"]) .marquee-track span { color: rgba(23, 17, 43, 0.56); }
:where(html[data-theme="light"]) .eco-card:hover { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .core-logo { background: radial-gradient(circle, rgba(139,92,246,.4), rgba(255, 255, 255, .9) 70%); box-shadow: 0 0 60px rgba(236,72,153,.45), inset 0 0 0 1px rgba(28, 18, 60, 0.15); }
:where(html[data-theme="light"]) .tile { background: linear-gradient(180deg, rgba(28, 18, 60, 0.063), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .product { background: rgba(255, 255, 255, .6); }
:where(html[data-theme="light"]) .product-img { background: radial-gradient(circle at 50% 40%, #ffffff, #ffffff 70%); }
:where(html[data-theme="light"]) .p-prices div { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .store-logo { color: var(--text); }
:where(html[data-theme="light"]) .store-hero { background: linear-gradient(130deg, var(--st), color-mix(in srgb, var(--st) 55%, #ffffff)); }
:where(html[data-theme="light"]) .notifs li { background: rgba(255, 255, 255, .55); }
:where(html[data-theme="light"]) .pipeline { background: linear-gradient(180deg, rgba(28, 18, 60, 0.056), rgba(28, 18, 60, 0.019)); }
:where(html[data-theme="light"]) .pipe-track { background: rgba(28, 18, 60, 0.1); }
:where(html[data-theme="light"]) .ps-dot { background: #ffffff; }
:where(html[data-theme="light"]) .calc { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .95)); }
:where(html[data-theme="light"]) .inp { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .calc-out { background: rgba(255, 255, 255, .6); }
:where(html[data-theme="light"]) .co-total.neg strong { color: #b04f5d; }
:where(html[data-theme="light"]) .co-meter { background: rgba(28, 18, 60, 0.088); }
:where(html[data-theme="light"]) .sup-panel { background: linear-gradient(180deg, rgba(28, 18, 60, 0.063), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .sup-code { background: #ffffff; }
:where(html[data-theme="light"]) .sup-code .n { color: #836e28; }
:where(html[data-theme="light"]) .plan-tabs { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .co-month strong { color: var(--text); }
:where(html[data-theme="light"]) .calc.neg .co-month strong { color: #b04f5d; }

/* ---- desde ui.css ---- */
:where(html[data-theme="light"]) .input { background: rgba(28, 18, 60, 0.056); }
:where(html[data-theme="light"]) .input:hover { border-color: rgba(28, 18, 60, 0.275); }
:where(html[data-theme="light"]) .input:focus { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) select.input option { background: #ffffff; }
:where(html[data-theme="light"]) .pw-toggle:hover { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .meter i { background: rgba(28, 18, 60, 0.1); }
:where(html[data-theme="light"]) .alert.err { color: #7c6467; }
:where(html[data-theme="light"]) .alert.ok { color: #567260; }
:where(html[data-theme="light"]) .alert.info { color: #5b717c; }
:where(html[data-theme="light"]) .spin { border: 2px solid rgba(28, 18, 60, 0.438); }
:where(html[data-theme="light"]) .toast { background: #ffffff; }
:where(html[data-theme="light"]) .toast.err::before { color: #b04f5d; }
:where(html[data-theme="light"]) .auth-points .ic { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .role-opt .ro { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .role-opt:hover .ro { border-color: rgba(28, 18, 60, 0.313); }
:where(html[data-theme="light"]) .mail-hero .ic { color: var(--text); }
:where(html[data-theme="light"]) .sidebar { background: #ffffff; }
:where(html[data-theme="light"]) .sb-link:hover { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .sb-link .count { color: var(--text); }
:where(html[data-theme="light"]) .sb-user { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .icon-btn { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .icon-btn:hover { background: rgba(28, 18, 60, 0.088); }
:where(html[data-theme="light"]) .topbar { background: rgba(255, 255, 255, .92); }
@supports (backdrop-filter: blur(10px)) {
  :where(html[data-theme="light"]) .topbar { background: rgba(255, 255, 255, .7); }
}
:where(html[data-theme="light"]) .panel { background: linear-gradient(180deg, rgba(28, 18, 60, 0.056), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .stat { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .hello p { color: rgba(23, 17, 43, 1.00); }
:where(html[data-theme="light"]) .hello::after { background-image: linear-gradient(rgba(28, 18, 60, 0.063) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 18, 60, 0.063) 1px, transparent 1px); }
:where(html[data-theme="light"]) .checklist li { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .checklist li.done span.t { text-decoration-color: rgba(28, 18, 60, 0.313); }
:where(html[data-theme="light"]) .banner.warn { color: #746a3f; }
:where(html[data-theme="light"]) .soon-ic .ic { color: var(--text); }
:where(html[data-theme="light"]) .soon-list span { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .tbl th { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .tbl td { border-bottom: 1px solid rgba(28, 18, 60, 0.056); }
:where(html[data-theme="light"]) .tbl tr:hover td { background: rgba(28, 18, 60, 0.025); }
:where(html[data-theme="light"]) .pill-s.suspended { color: #b04f5d; }
:where(html[data-theme="light"]) .btn-danger { color: #7c6467; }
:where(html[data-theme="light"]) .btn-ok { color: #567260; }
:where(html[data-theme="light"]) .skeleton { background: linear-gradient(90deg, rgba(28, 18, 60, 0.05), rgba(28, 18, 60, 0.1), rgba(28, 18, 60, 0.05)); }
:where(html[data-theme="light"]) .faq-mini details { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .modal { background: #ffffff; }
:where(html[data-theme="light"]) .ph { background: #ffffff; }
:where(html[data-theme="light"]) .pill-s.draft { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .cat-search { background: rgba(28, 18, 60, 0.056); }
:where(html[data-theme="light"]) .chip { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .pcard { background: linear-gradient(180deg, rgba(28, 18, 60, 0.063), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .pc-img { background: radial-gradient(circle at 50% 40%, #ffffff, #ffffff 70%); }
:where(html[data-theme="light"]) .pc-prices div { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .pd-main { background: radial-gradient(circle at 50% 40%, #ffffff, #ffffff 70%); }
:where(html[data-theme="light"]) .pd-prices div { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .pd-desc { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .slug-field { background: rgba(28, 18, 60, 0.056); }
:where(html[data-theme="light"]) .hint.bad, :where(html[data-theme="light"]) .bad { color: #b04f5d !important; }
:where(html[data-theme="light"]) .tabs { background: rgba(28, 18, 60, 0.044); }
:where(html[data-theme="light"]) .count-s { background: rgba(28, 18, 60, 0.125); }
:where(html[data-theme="light"]) .logo-prev img, :where(html[data-theme="light"]) .logo-prev span { color: var(--text); }
:where(html[data-theme="light"]) .seg2 { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .tgl span { background: rgba(28, 18, 60, 0.15); }
:where(html[data-theme="light"]) .stat.hl-ok { background: linear-gradient(160deg, rgba(52,211,153,.1), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .stat.hl-warn { background: linear-gradient(160deg, rgba(251,191,36,.1), rgba(28, 18, 60, 0.025)); }
:where(html[data-theme="light"]) .chart-tip { background: rgba(255, 255, 255, .96); }
:where(html[data-theme="light"]) .rank-bar { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .od-money dd.neg { color: #935f65; }
:where(html[data-theme="light"]) .acts-list a:hover { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .bell-count { color: var(--text); }
:where(html[data-theme="light"]) .npanel { background: #ffffff; }
:where(html[data-theme="light"]) .plan-meters small { color: rgba(23, 17, 43, 1.00); }
:where(html[data-theme="light"]) .markup { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .stars { color: #8a6914; }
:where(html[data-theme="light"]) .rv { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .guide-step { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .cp { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .ret { background: rgba(28, 18, 60, 0.031); }
:where(html[data-theme="light"]) .ret-r { background: rgba(28, 18, 60, 0.05); }
:where(html[data-theme="light"]) .kbar-btn { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) .kbar-btn kbd, :where(html[data-theme="light"]) .kbar-foot kbd { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .kbar-ic { background: rgba(28, 18, 60, 0.063); }
@media (max-width: 640px) {
  :where(html[data-theme="light"]) .tbl tr { background: rgba(28, 18, 60, 0.031); }
  :where(html[data-theme="light"]) .tbl td { border-bottom: 1px solid rgba(28, 18, 60, 0.063); }
}
:where(html[data-theme="light"]) .install-btn .ic { color: #726993; }
:where(html[data-theme="light"]) .fn-row i { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .ref-note { color: #567260; }
:where(html[data-theme="light"]) .refer-ic { background: rgba(28, 18, 60, 0.075); }
:where(html[data-theme="light"]) .refer-list li { background: rgba(28, 18, 60, 0.025); }
:where(html[data-theme="light"]) .pc-speed { color: #39785f; }
html:where([data-theme="light"])[data-theme="dark"] .cl-vip { color: #746a3f; }
html:where([data-theme="light"])[data-theme="dark"] .cl-new { color: #4c7074; }
html:where([data-theme="light"])[data-theme="dark"] .reach { color: #726993; }
html:where([data-theme="light"])[data-theme="dark"] .rep-oro { color: #746a3f; }
html:where([data-theme="light"])[data-theme="dark"] .rep-plata { color: #686b6e; }
html:where([data-theme="light"])[data-theme="dark"] .rep-nuevo { color: #4c7074; }
html:where([data-theme="light"])[data-theme="dark"] .rep-observacion { color: #7c6467; }
:where(html[data-theme="light"]) .acad-l.done h3::before { color: #0b7c56; }
html:where([data-theme="light"])[data-theme="dark"] .lb-prize { color: #8a6914; }
html:where([data-theme="light"])[data-theme="dark"] .wk em.down { color: #b04f5d; }
html:where([data-theme="light"])[data-theme="dark"] .tour-card { background: #ffffff; }
html:where([data-theme="light"])[data-theme="dark"] .tour-n { color: #726993; }
html:where([data-theme="light"])[data-theme="dark"] .gift-b { color: #90617b; }

/* ---- desde legal/legal.css ---- */
:where(html[data-theme="light"]) .lg-top { background: rgba(255, 255, 255, .9); }
@supports (backdrop-filter: blur(10px)) {
  :where(html[data-theme="light"]) .lg-top { background: rgba(255, 255, 255, .65); }
}
:where(html[data-theme="light"]) .lg-nav a { background: rgba(28, 18, 60, 0.037); }
:where(html[data-theme="light"]) mark.fill { color: #746a3f; }
:where(html[data-theme="light"]) .help-search input { background: rgba(28, 18, 60, 0.063); }
:where(html[data-theme="light"]) .arr-card { background: linear-gradient(180deg, rgba(28, 18, 60, 0.063), rgba(28, 18, 60, 0.025)); }

/* ---- ajustes a mano ---- */
html[data-theme="light"] .calc { background: linear-gradient(180deg, #ffffff, #f6f2ff); box-shadow: 0 40px 100px -50px rgba(124,58,237,.45); }
html[data-theme="light"] .co-month strong { color: var(--text); }
html[data-theme="light"] .modal { box-shadow: 0 50px 120px -40px rgba(28,18,60,.45), 0 0 0 1px rgba(124,58,237,.08); }
html[data-theme="light"] .modal::backdrop, html[data-theme="light"] .scrim { background: rgba(23,17,43,.45); }

/* Botón de tema (luna / sol) */
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); flex: none; transition: background .2s, transform .2s; }
.theme-btn:hover { background: var(--surface-2); transform: rotate(-12deg); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
html[data-theme="dark"] .theme-btn .moon { display: none; }
.theme-float { position: fixed; right: 14px; bottom: 14px; z-index: 70; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); background: var(--bg-2); }
html[data-theme="light"] { --violet: #7c3aed; --sky-l: #0e7490; }
html[data-theme="light"] .stock-badge, html[data-theme="light"] .ph-cover, html[data-theme="light"] .ph-first { color: #f5f2ff; }
html[data-theme="light"] .store-logo { color: #fff; }
html[data-theme="light"] .skip-link { color: #fff; background: #7c3aed; }
html[data-theme="light"] .chart-tip { border: 1px solid var(--border); box-shadow: 0 12px 30px -12px rgba(28,18,60,.35); }
html[data-theme="light"] .store-logo { background: #7c3aed; } html[data-theme="light"] .store-btn { color: #6d28d9; }
/* Bloques con degradé de color: el texto sigue blanco */
html[data-theme="light"] .cta-box { --text: #ffffff; --muted: rgba(255,255,255,.85); color: #fff; }
html[data-theme="light"] .pc-margin { background: #34d399; color: #052e1c; }
html[data-theme="light"] .stage-tag { color: #6d28d9; }
