/* Modo claro del panel — GENERADO por tools/make-panel-light.py desde los CSS oscuros. No lo edites a mano: cambia tools/panel-light-extra.css y vuelve a generar. */
/* control.css */
html[data-theme="light"]{color-scheme:light;--bg:#e4e9f6;--panel:#e4ebf6;--line:#d7dbe1;--muted:#3d4c5e;--cyan:#0b97ac}
html[data-theme="light"] body{background:radial-gradient(ellipse at 85% 0,#e4ecf6,transparent 45%),var(--bg);color:#00050d}
html[data-theme="light"] button,html[data-theme="light"] .button{color:#e0ebef}
html[data-theme="light"] button.secondary,html[data-theme="light"] .button.secondary{background:#e5ecf5;color:#000a15}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{background:#e4ebf6;border:1px solid #d0d5db;color:#00050d}
html[data-theme="light"] aside{background:#e4eaf6;border-right:1px solid #dfe2e7}
html[data-theme="light"] aside .logo{color:#121b2b}
html[data-theme="light"] nav a.active{color:#121b2b;background:#e4eef6}
html[data-theme="light"] .card{background:linear-gradient(125deg,#e5ebf6,#e5ebf6)}
html[data-theme="light"] .poster{background:#e5ebf6}
html[data-theme="light"] .poster img{background:#e5ecf5}
html[data-theme="light"] .poster label{color:#121b2b}
html[data-theme="light"] .tag{border:1px solid #ccd2d8}
html[data-theme="light"] .tag.active{color:#188256;border-color:#cdddd8}
html[data-theme="light"] .tag.suspended,html[data-theme="light"] .tag.expired{color:#580d00;border-color:#c9b7b5}
html[data-theme="light"] .notice{border:1px solid #c7dad7;background:#e4f6f1;color:#094528}
html[data-theme="light"] .notice.error{border-color:#c4afab;background:#f8f5f6;color:#410d00}
html[data-theme="light"] .empty{border:1px dashed #ccd2d8}
html[data-theme="light"] tr.selected-row td{background:#e4eef6}
html[data-theme="light"] .badge{background:#cc0006;color:#ffffff}
html[data-theme="light"] textarea{border:1px solid var(--line,#d7dbe2);background:rgba(228,235,246,0.7)}
/* organizer.css */
html[data-theme="light"] .org-bar{border:1px solid #d3dae0;background:#e4ecf6}
html[data-theme="light"] .org-view-title{color:#394959}
html[data-theme="light"] .seg{border:1px solid #d1d7de;color:#081524;background:#e4ebf6}
html[data-theme="light"] .seg.on{border-color:#0ca8c0;background:#e4eef6}
html[data-theme="light"] .seg input{accent-color:#0b97ac}
html[data-theme="light"] .seg b{color:#121b2b}
html[data-theme="light"] .seg small{color:#394959}
html[data-theme="light"] .org-sync{color:#212d3b}
html[data-theme="light"] .org-box{border:1px solid #d9dde3;background:#e4ebf6}
html[data-theme="light"] .org-tip{color:#475869}
html[data-theme="light"] .org-empty{color:#223040}
html[data-theme="light"] .folder-item{background:#e4ecf6}
html[data-theme="light"] .folder-item:hover{background:#e4edf6}
html[data-theme="light"] .folder-item.active{background:#e4f3f6;border-color:#0ca8c0}
html[data-theme="light"] .folder-open,html[data-theme="light"] .org-link{color:#000a15}
html[data-theme="light"] .folder-open em{color:#663600;border:1px solid #d8d1c7}
html[data-theme="light"] .folder-open small,html[data-theme="light"] .org-link small{background:#e4ebf6;color:#194756}
html[data-theme="light"] .org-link{background:#e4ecf6}
html[data-theme="light"] .org-link:hover{background:#e4edf6}
html[data-theme="light"] .org-link.active{background:#e4f3f6;border-color:#0ca8c0}
html[data-theme="light"] .grip{color:#0e9386}
html[data-theme="light"] .folder-item.over,html[data-theme="light"] .org-link.over{background:#e4f6ef;border-color:#13b97a;box-shadow:0 0 0 2px rgba(149,201,181,0.33)}
html[data-theme="light"] .folder-head{border:1px solid #d1d7de;background:linear-gradient(125deg,#e5ebf6,#e5ebf6)}
html[data-theme="light"] .folder-head.plain{background:#e4ebf6}
html[data-theme="light"] .fh-title small{color:#394959}
html[data-theme="light"] button.danger{color:#580d00}
html[data-theme="light"] button.secondary.danger{border:1px solid #d6cccc}
html[data-theme="light"] button.danger:hover{background:#f8f5f6}
html[data-theme="light"] .fh-rename summary{color:#23848a}
html[data-theme="light"] .org-callout{background:#e4eef6;border:1px solid #0ca8c0;color:#000e17}
html[data-theme="light"] .bulk{border:1px solid #d1d7de;background:#e4ecf6;box-shadow:0 8px 20px rgba(0,0,0,0.05)}
html[data-theme="light"] .bulk-head{color:#212d3b}
html[data-theme="light"] .bulk-head label{color:#091d30}
html[data-theme="light"] .selection-count{color:#0e9386}
html[data-theme="light"] .found{color:#475869}
html[data-theme="light"] .bulk-label{color:#394959}
html[data-theme="light"] .js .bulk:not(.has-selection)::after{color:#475869}
html[data-theme="light"] .chip{background:#e4f3f6;color:#121b2b}
html[data-theme="light"] .chip:hover{background:#e4f3f6}
html[data-theme="light"] .chip.ghost{background:#e5ecf5;color:#091929}
html[data-theme="light"] .chip.add{background:#e5f6ed}
html[data-theme="light"] .ch{border:1px solid #d8dde3;background:#e4ebf6}
html[data-theme="light"] .ch:hover{border-color:#c6ced6}
html[data-theme="light"] .ch.dragging{outline:2px dashed #0ca8c0}
html[data-theme="light"] .ch.ordering-drag{background:#e4edf6}
html[data-theme="light"] .logo-btn{background:#e4ebf6;border:1px solid #d0d5db}
html[data-theme="light"] .logo-btn .channel-icon{color:#0e9386}
html[data-theme="light"] .logo-btn i{background:#0ca8c0;color:#e0ebef}
html[data-theme="light"] .ch-info b{color:#00050d}
html[data-theme="light"] .ch-info small{color:#475869}
html[data-theme="light"] .ch-pos b{color:#0e9386}
html[data-theme="light"] .mini{background:#e5ecf5;color:#000a15}
html[data-theme="light"] .ch-edit summary{color:#23848a}
html[data-theme="light"] .ch-edit[open]{background:#e4ebf6;border:1px solid #d1d7de}
html[data-theme="light"] .logo-prev{background:#e4ebf6;border:1px solid #d0d5db}
html[data-theme="light"] .org-more{border-top:1px solid #dee2e7}
html[data-theme="light"] .org-more summary{color:#475869}
html[data-theme="light"] .org-more>div{border:1px solid #d9dde3}
html[data-theme="light"] .drag-badge{background:#0ca8c0;color:#e0ebef}
html[data-theme="light"] .look-preview{border:1px solid #d0d5db}
html[data-theme="light"] .look-logo-box{color:#1647a1}
html[data-theme="light"] .look-logo-box b{color:#b84d00}
html[data-theme="light"] .look-dot{color:#1647a1}
html[data-theme="light"] .look-logo{background:#0f1114}
html[data-theme="light"] .plat-tile{color:#ffffff}
html[data-theme="light"] .org-callout{background:#e4eef6;border:1px solid #0ca8c0;color:#000e17}
html[data-theme="light"] .org-callout.warn{background:#f6efe4;border-color:#cc7800;color:#472a00}
html[data-theme="light"] .plat-assign{border:1px solid #d1d7de;background:#e4ebf6}
html[data-theme="light"] .chip.plat{background:#ece5f5}
html[data-theme="light"] .chip.plat:hover{background:#613696}
html[data-theme="light"] .plat-badge{color:#663600!important}
html[data-theme="light"] .dev-row{border-top:1px solid #dbe0e5}
html[data-theme="light"] .dev-edit summary{color:#23848a}
html[data-theme="light"] .promo-thumb img{background:#e4ebf6}
html[data-theme="light"] .folder-item.is-sub{background:#e4ecf6}
html[data-theme="light"] .listing-box{border:1px solid #d5d9df}
html[data-theme="light"] .warn-text{color:#b47c79}
html[data-theme="light"] .select-all-banner{background:#cc5a00;color:#dac4aa}
html[data-theme="light"] .folder-item .hid-tag{color:#b47c79}
html[data-theme="light"] .hidden-banner{background:#cc1500;border:1px solid #d6b7b5;color:#dcbebc}
html[data-theme="light"] .folder-item .hid-tag{color:#b47c79}
html[data-theme="light"] .hidden-banner{background:#cc1500;border:1px solid #d6b7b5;color:#dcbebc}
/* dashboard.css */
html[data-theme="light"] .menu-group{color:#596d86}
html[data-theme="light"] .dash-lead{color:#0a1b30}
html[data-theme="light"] .kpi{background:linear-gradient(180deg,#e4ecf6,#e4ecf6)}
html[data-theme="light"] .kpi.hot{border-color:#e2dbcf;background:linear-gradient(180deg,#f5efe6,#f4f3f2)}
html[data-theme="light"] .kpi.hot strong{color:#b87700}
html[data-theme="light"] .todo li{background:#e4ecf6}
html[data-theme="light"] .dot.orange{background:#cc5600}
html[data-theme="light"] .dot.yellow{background:#cc8400}
html[data-theme="light"] .dot.red{background:#cc0000}
html[data-theme="light"] .dot.blue{background:#0049cc}
html[data-theme="light"] .dot.green{background:#24a878}
html[data-theme="light"] .ring .track{stroke:#bac7d4}
html[data-theme="light"] .ring text{fill:#040c17}
html[data-theme="light"] .ring .seg.ok,html[data-theme="light"] .sw.ok{stroke:#20976c;background:#24a878}
html[data-theme="light"] .ring .seg.app,html[data-theme="light"] .sw.app{stroke:#b87700;background:#cc8400}
html[data-theme="light"] .ring .seg.dead,html[data-theme="light"] .sw.dead{stroke:#940000;background:#cc0000}
html[data-theme="light"] .ring .seg.pend,html[data-theme="light"] .sw.pend{stroke:#0040b4;background:#0049cc}
html[data-theme="light"] .verrow progress{background:#e4edf6}
html[data-theme="light"] .verrow progress::-webkit-progress-bar{background:#e4edf6}
html[data-theme="light"] .verrow progress::-webkit-progress-value{background:linear-gradient(90deg,#0ea5be,#0049cc)}
html[data-theme="light"] .verrow progress::-moz-progress-bar{background:#0ea5be}
html[data-theme="light"] .ok{color:#20976c}
html[data-theme="light"] .bad{color:#940000}
html[data-theme="light"] .srch{background:#e4ecf6}
html[data-theme="light"] .chip{background:#e4ecf6;color:#0a1b30}
html[data-theme="light"] .chip.on{background:#0ea5be;color:#e0ecf0;border-color:#0ea5be}
html[data-theme="light"] .qi{background:#e4ecf6}
html[data-theme="light"] .qi:hover{border-color:#b8c6d3}
html[data-theme="light"] .qi.on{border-color:#0ea5be;background:#e4edf6}
html[data-theme="light"] .pill.new{background:#e4f6f1;color:#0f6544}
html[data-theme="light"] .pill.wait{background:#e4ecf6;color:#092443}
html[data-theme="light"] .pill.ok{background:#f6f8f7;color:#0f6544}
html[data-theme="light"] .step{background:#e4ecf6}
html[data-theme="light"] .step i{background:#e4ecf6}
html[data-theme="light"] .step.on{color:#121b2b;border-color:#0ea5be}
html[data-theme="light"] .step.on i{background:#0ea5be;color:#e0ecf0}
html[data-theme="light"] .fld>b{color:#1c3656}
html[data-theme="light"] .fld .seg{border:1px solid #c4ced8}
html[data-theme="light"] .fld .seg span{background:#e4ecf6;color:#0a1b30}
html[data-theme="light"] .fld .seg input:checked+span{background:#0ea5be;color:#e0ecf0}
html[data-theme="light"] .fld .seg input:focus-visible+span{outline:3px solid #cc5600}
html[data-theme="light"] .cost{background:#e4f4f6;border:1px solid #d4e2e3}
html[data-theme="light"] .cost small{color:#496669}
html[data-theme="light"] .plan{background:#e4ecf6;border:1px dashed #c7cfd9}
html[data-theme="light"] .plan ol{color:#0a1b30}
html[data-theme="light"] .more summary{color:#133860}
html[data-theme="light"] .act-done{border-color:#cfe1dc;background:linear-gradient(180deg,#e4f6f2,#e4f6f4)}
html[data-theme="light"] .button.wa{background:#1eae54;color:#e7f3ec}
html[data-theme="light"] .demo-row{background:#e4ecf6}
html[data-theme="light"] .sumbar{background:#e4ecf6}
html[data-theme="light"] .sumbar .warn-text b{color:#750000}
html[data-theme="light"] .how{color:#0a1b30}
html[data-theme="light"] .how span{background:#e4ecf6}
html[data-theme="light"] .how i{background:#0ea5be;color:#e0ecf0}
html[data-theme="light"] .state.s-ok{background:#e4f6f1;color:#0f6544}
html[data-theme="light"] .state.s-hid{background:#f6efe4;color:#5f3900}
html[data-theme="light"] .state.s-bad{background:#f5e5e5;color:#3b0000}
html[data-theme="light"] .state.s-app{background:#e4ecf6;color:#092443}
html[data-theme="light"] .pick summary{background:#0ea5be;color:#e0ecf0}
html[data-theme="light"] .pick[open] summary{background:#e4f3f6}
html[data-theme="light"] .pick-list{background:#e4ecf6;border:1px solid #b8c6d3;box-shadow:0 14px 30px rgba(0,0,0,0.15)}
html[data-theme="light"] .chip.warn{background:#f6efe4;color:#5f3900;border-color:#e2dbcf}
html[data-theme="light"] .cobrar-form{background:#e4ecf6}
html[data-theme="light"] .balance{background:#e4f4f6;border:1px solid #d4e2e3}
html[data-theme="light"] .balance small{color:#496669}
html[data-theme="light"] .rv-pick{background:#e4ecf6}
html[data-theme="light"] .rv-pick.on{background:#e4eef6}
html[data-theme="light"] .sumbar .warn-text.rv-pick b{color:#750000}
html[data-theme="light"] .theme-pick button{color:#3d4c5e}
html[data-theme="light"] .theme-pick button[aria-pressed=true]{background:#0ea5be;color:#e0ecf0}
html[data-theme="light"] .theme-pick.floating{background:#e4ecf6}
/* catalog.css */
html[data-theme="light"] .catalog-count{border:1px solid #d3dae0;color:#324050}
html[data-theme="light"] .catalog-count strong{color:#00040b}
html[data-theme="light"] .catalog-count span{color:#199e83}
html[data-theme="light"] .catalog-tabs a{background:#e4ecf6;color:#242e3b}
html[data-theme="light"] .catalog-tabs .selected{background:#e4f2f6;color:#0e9386}
html[data-theme="light"] .mexico-card{background:linear-gradient(110deg,#e4f4f6,#e4ebf6);border:1px solid #d0dedb}
html[data-theme="light"] .mexico-card p{color:#2e3e43}
html[data-theme="light"] .mexico-card small{color:#3a4a54}
html[data-theme="light"] .folder-list{background:#e4ebf6}
html[data-theme="light"] .folder-list h3{color:#475869}
html[data-theme="light"] .folder-link{color:#212d3b}
html[data-theme="light"] .folder-link.active{background:#e5f0f5;color:#138c7f}
html[data-theme="light"] .folder-entry{border-bottom:1px solid #dee2e7}
html[data-theme="light"] .folder-toggle{color:#23848a;border:1px solid #d4dbe0}
html[data-theme="light"] .channel-result span{color:#3d4c5e}
html[data-theme="light"] .channel-bulk{background:#e5ecf5;border:1px solid #d2d8de}
html[data-theme="light"] .channel-bulk input[type=checkbox],html[data-theme="light"] .channel-name input{accent-color:#1a9d8e}
html[data-theme="light"] .channel-table{border:1px solid #d9dde3}
html[data-theme="light"] .channel-row,html[data-theme="light"] .channel-table-head{border-bottom:1px solid #dbe0e5}
html[data-theme="light"] .channel-table-head{color:#465769;background:#e4ecf6}
html[data-theme="light"] .channel-row{background:#e4ecf6}
html[data-theme="light"] .channel-row:hover{background:#e5ecf6}
html[data-theme="light"] .channel-row small{color:#526477}
html[data-theme="light"] .channel-name img,html[data-theme="light"] .channel-icon{background:#e6ecf5}
html[data-theme="light"] .channel-icon{color:#24948b}
html[data-theme="light"] .visibility-switch{background:#f7f8f9;color:#3f4d5d}
html[data-theme="light"] .visibility-switch.on{background:#e5f5f4;color:#0f9160}
html[data-theme="light"] #selection-count{color:#3a4b5d}
html[data-theme="light"] .hint{color:#3f4e5f}
html[data-theme="light"] aside.folder-list{border:1px solid #d9dde3}
html[data-theme="light"] .choice{border:1px solid #d1d7de;background:#e4ecf6;color:#081524}
html[data-theme="light"] .choice.on{border-color:#0ca8c0;background:#e4eef6}
html[data-theme="light"] .choice input{accent-color:#0b97ac}
html[data-theme="light"] .choice b{color:#121b2b}
html[data-theme="light"] .choice small{color:#374759}
html[data-theme="light"] .steps li{background:#e4ecf6;color:#223040}
html[data-theme="light"] .steps b{color:#0e9386}
html[data-theme="light"] .channel-text label{color:#040d17}
html[data-theme="light"] .rename summary{color:#23848a}
html[data-theme="light"] .pos b{color:#0e9386}
html[data-theme="light"] .mini{background:#e5ecf5;color:#000a15}
html[data-theme="light"] .all-results{color:#091d30}
html[data-theme="light"] .sync-line{border:1px solid #d3dae0;background:#e4ecf6;color:#212d3b}
html[data-theme="light"] .sync-line b{color:#121b2b}
html[data-theme="light"] .sync-card{border-color:#0ca8c0}
html[data-theme="light"] .folder-toggle.danger{color:#580d00;border-color:#d6cccc}
html[data-theme="light"] .folder-toggle.danger:hover{background:#f8f5f6}
html[data-theme="light"] .drag-handle{color:#0e9386}
html[data-theme="light"] .channel-row.dragging{outline:2px dashed #0ca8c0}
html[data-theme="light"] .channel-row[draggable=true]{background:#e4edf6}
html[data-theme="light"] .order-hint{background:#e4ecf6;border:1px solid #d3dae0;color:#091d30}
html[data-theme="light"] .more-options{border-top:1px solid #dee2e7}
html[data-theme="light"] .more-options summary{color:#475869}
/* A mano: lo que el generador no puede adivinar. */
html[data-theme="light"]{--bg:#eef2f8;--panel:#fff;--line:#d3dbe7;--muted:#5b6b82;--cyan:#0b8499}
html[data-theme="light"] body{background:linear-gradient(180deg,#f4f7fc,#e9eef6) fixed,#eef2f8;color:#17233a}
html[data-theme="light"] button,html[data-theme="light"] .button{color:#fff}
html[data-theme="light"] button.secondary,html[data-theme="light"] .button.secondary{background:#e6ecf5;color:#17233a}
html[data-theme="light"] .card,html[data-theme="light"] .stat{background:#fff;box-shadow:0 6px 20px rgba(23,35,58,.07)}
html[data-theme="light"] aside{background:#fff}
html[data-theme="light"] p{color:var(--muted)}
html[data-theme="light"] .warn-text{color:#b3261e}
/* entrada (login.css): el banner azul se queda; la tarjeta pasa a blanca */
html[data-theme="light"] .signin{background:#eef2f8}
html[data-theme="light"] .signin-card{background:#fff;border-color:#d3dbe7;box-shadow:0 24px 60px rgba(23,35,58,.14)}
html[data-theme="light"] .signin-card h2{color:#17233a}html[data-theme="light"] .signin-eyebrow{color:#0b8499}
html[data-theme="light"] .signin-sub,html[data-theme="light"] .signin-foot{color:#5b6b82!important}html[data-theme="light"] .signin-foot a{color:#1F63E0}
html[data-theme="light"] .signin-card label{color:#4b5b74}
html[data-theme="light"] .signin-in input{background:#f4f7fb;border-color:#d3dbe7;color:#17233a}
html[data-theme="light"] .signin-eye{color:#5b6b82!important}
html[data-theme="light"] .signin-go{background:linear-gradient(135deg,#0fb3cc,#0b8499)!important;color:#fff!important}
html[data-theme="light"] .signin-err{background:#fde6e6;border-color:#f2b8b8;color:#b3261e!important}
html[data-theme="light"] .signin-hero p{color:#c9d9f2}html[data-theme="light"] .signin-hero h1{color:#fff}
html[data-theme="light"] .pick[open] summary{color:#0b3a44}
html[data-theme="light"] .rs-sug{background:linear-gradient(110deg,#e3f6f4,#eef4fb);border-color:#9fd8cf}html[data-theme="light"] .rs-sug.rs-done{background:#f4f7fb;border-color:#d5dce6}
html[data-theme="light"] .rs-src{background:#fff;border-color:#d5dce6}html[data-theme="light"] .rs-src.rs-main{border-color:#0ea5be}html[data-theme="light"] .rs-n{background:#e3f4f6;color:#0b6f80}
html[data-theme="light"] .rs-q,html[data-theme="light"] .rs-rol,html[data-theme="light"] .rs-note{color:#5b6b82}html[data-theme="light"] .rs-main .rs-rol{color:#0b7f92}
html[data-theme="light"] .rs-det{background:#e3f6f4;color:#11795f;border-color:#9fd8cf}html[data-theme="light"] .rs-ok{background:#e3f4f6;color:#0b6f80;border-color:#0ea5be}
html[data-theme="light"] .rs-adjust>summary{background:#e4ecf6;color:#14213a}html[data-theme="light"] .rs-ghost{border-color:#d5dce6!important;color:#5b6b82!important}
html[data-theme="light"] .rs-oculto{color:#a24800}html[data-theme="light"] .rs-poster{background:#e9eef6;border-color:#d5dce6;color:#6a7a93}
html[data-theme="light"] .rs-chips a{border-color:#d5dce6;color:#33435c}html[data-theme="light"] .rs-chips a.on{background:#e3f4f6;color:#0b6f80;border-color:#0ea5be}
html[data-theme="light"] .rs-row{border-color:#e6ebf2}html[data-theme="light"] .rs-bar{background:#fff;border-color:#9fd8cf}
html[data-theme="light"] .grp>summary{color:#0b7f92}html[data-theme="light"] .grp-list{color:#5b6b82}
