/* Modo oscuro del portal del piscinero. Solo actúa con <html data-pro-theme="dark">, que pro-theme.js pone mientras se muestra el portal y quita al salir.
   La barra lateral ya es azul marino; aquí se oscurecen la cabecera, las tarjetas, los formularios, las tablas, los estados y los gráficos.
   Los colores de estado conservan su significado (verde, ámbar, rojo, azul) con fondos translúcidos y texto claro, para que se lean sobre fondo oscuro. */
html[data-pro-theme="dark"]{color-scheme:dark;--pd-bg:#0b1324;--pd-surface:#111c33;--pd-surface2:#16233f;--pd-line:#25324d;--pd-line2:#2b3b5c;--pd-ink:#eaf0fc;--pd-text:#c5d0e4;--pd-muted:#9aabc6;--pd-blue:#5b9bff;--pd-blue-soft:#9ec2ff}
html[data-pro-theme="dark"] body,html[data-pro-theme="dark"] #app{background:var(--pd-bg);color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-page{--ps-ink:var(--pd-ink);--ps-text:var(--pd-text);--ps-muted:var(--pd-muted);--ps-line:var(--pd-line);--ps-blue:var(--pd-blue);--ps-sky:#16294d;--ps-teal:#2dd4bf;--ps-green:#4ade80;--ps-gold:#fbbf24;--ps-red:#f87171}
html[data-pro-theme="dark"] .portal-shell,html[data-pro-theme="dark"] .cp2-body,html[data-pro-theme="dark"] .cp2-main{background:var(--pd-bg);color:var(--pd-text)}

/* ---------- Armazón: cabecera, menú móvil, pie y cuenta ---------- */
html[data-pro-theme="dark"] .pro-top,html[data-pro-theme="dark"] .portal-topbar{background:var(--pd-surface);border-color:var(--pd-line);color:var(--pd-ink);box-shadow:none}
html[data-pro-theme="dark"] .portal-page-top h1,html[data-pro-theme="dark"] .cp2-greeting h1{color:var(--pd-ink)}
html[data-pro-theme="dark"] .portal-page-top p,html[data-pro-theme="dark"] .cp2-greeting p{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pro-commune,html[data-pro-theme="dark"] .pro-commune select,html[data-pro-theme="dark"] .cp-account summary,html[data-pro-theme="dark"] .icon-btn,html[data-pro-theme="dark"] .ps-menu-btn{background:var(--pd-surface2);border-color:var(--pd-line2);color:var(--pd-ink)}
html[data-pro-theme="dark"] .pro-commune .pro-ico,html[data-pro-theme="dark"] .icon-btn .pro-ico,html[data-pro-theme="dark"] .ps-menu-btn .pro-ico{color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .cp-account-menu{background:var(--pd-surface);border-color:var(--pd-line2);color:var(--pd-text);box-shadow:0 16px 40px rgba(0,0,0,.5)}
html[data-pro-theme="dark"] .cp-account-menu a,html[data-pro-theme="dark"] .cp-account-menu button{color:var(--pd-text)}
html[data-pro-theme="dark"] .cp-account-menu a:hover,html[data-pro-theme="dark"] .cp-account-menu button:hover{background:var(--pd-surface2)}
html[data-pro-theme="dark"] .pro-who b{color:var(--pd-ink)}html[data-pro-theme="dark"] .pro-who small{color:var(--pd-muted)}
html[data-pro-theme="dark"] .cp2-mnav,html[data-pro-theme="dark"] .pro-mnav{background:#0a1226;border-color:var(--pd-line)}
html[data-pro-theme="dark"] .portal-footer,html[data-pro-theme="dark"] .cp-foot{color:var(--pd-muted)}
html[data-pro-theme="dark"] .portal-footer b{color:var(--pd-text)}
html[data-pro-theme="dark"] .portal-footer a,html[data-pro-theme="dark"] .portal-text-button{color:var(--pd-blue-soft)}

/* ---------- Superficies ---------- */
html[data-pro-theme="dark"] .ps-card,html[data-pro-theme="dark"] .pro-card,html[data-pro-theme="dark"] .ps-bar,html[data-pro-theme="dark"] .ps-kpi,html[data-pro-theme="dark"] .ps-plan-card,html[data-pro-theme="dark"] .ps-visit,html[data-pro-theme="dark"] .ps-rstop,html[data-pro-theme="dark"] .cpx-cat,html[data-pro-theme="dark"] .modal,html[data-pro-theme="dark"] .ps-plan-base{background:var(--pd-surface);border-color:var(--pd-line);color:var(--pd-text);box-shadow:none}
html[data-pro-theme="dark"] .ps-weekday,html[data-pro-theme="dark"] .ps-route-off,html[data-pro-theme="dark"] .ps-rstop.is-done,html[data-pro-theme="dark"] .ps-visit.is-realizada,html[data-pro-theme="dark"] .portal-chat-message.support,html[data-pro-theme="dark"] .ps-tabs,html[data-pro-theme="dark"] .ps-plan-now-body>div,html[data-pro-theme="dark"] td.is-today,html[data-pro-theme="dark"] .ps-table tr.ps-total td,html[data-pro-theme="dark"] .ps-profit tr.ps-total td{background:var(--pd-surface2);border-color:var(--pd-line);color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-weekday.is-today,html[data-pro-theme="dark"] .ps-tabs button.active,html[data-pro-theme="dark"] .ps-kpi:hover{background:#1b2b4d;border-color:var(--pd-blue)}
html[data-pro-theme="dark"] .ps-tabs button{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-tabs button.active{color:var(--pd-ink);box-shadow:none}
html[data-pro-theme="dark"] .ps-tabs button em{background:#243556;color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-card h2,html[data-pro-theme="dark"] .ps-card h3,html[data-pro-theme="dark"] .ps-card h4,html[data-pro-theme="dark"] .pro-card h2,html[data-pro-theme="dark"] .pro-card h3,html[data-pro-theme="dark"] .modal h2,html[data-pro-theme="dark"] .modal h3,html[data-pro-theme="dark"] :is(.ps-page,.modal) :is(b,strong){color:var(--pd-ink)}
html[data-pro-theme="dark"] .ps-note,html[data-pro-theme="dark"] :is(.ps-page,.modal) small,html[data-pro-theme="dark"] .ps-muted,html[data-pro-theme="dark"] .ps-count,html[data-pro-theme="dark"] .pro-muted,html[data-pro-theme="dark"] :is(.ps-page,.modal) dt,html[data-pro-theme="dark"] .ps-legend,html[data-pro-theme="dark"] .portal-caption,html[data-pro-theme="dark"] .cpx-muted,html[data-pro-theme="dark"] .portal-chat-file-help,html[data-pro-theme="dark"] .ps-plan-price,html[data-pro-theme="dark"] .ps-none{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-plan-price b,html[data-pro-theme="dark"] .ps-kpi-body b{color:var(--pd-ink)}
html[data-pro-theme="dark"] .ps-plan-desc,html[data-pro-theme="dark"] .ps-rules p,html[data-pro-theme="dark"] :is(.ps-page,.modal) :is(p,li,address,dd,td){color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-page a:not(.btn){color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] :is(.ps-page,.modal) hr,html[data-pro-theme="dark"] .ps-table th,html[data-pro-theme="dark"] .ps-table td{border-color:var(--pd-line)}
html[data-pro-theme="dark"] .ps-table th{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-table tbody tr:hover td{background:rgba(91,155,255,.07)}

/* ---------- Formularios y botones ---------- */
html[data-pro-theme="dark"] input,html[data-pro-theme="dark"] select,html[data-pro-theme="dark"] textarea{background:#0e1830;border-color:var(--pd-line2);color:var(--pd-ink)}
html[data-pro-theme="dark"] input::placeholder,html[data-pro-theme="dark"] textarea::placeholder{color:#6f819f}
html[data-pro-theme="dark"] input[readonly],html[data-pro-theme="dark"] input:disabled,html[data-pro-theme="dark"] select:disabled{background:#0b1429;color:var(--pd-muted)}
html[data-pro-theme="dark"] input:focus,html[data-pro-theme="dark"] select:focus,html[data-pro-theme="dark"] textarea:focus{outline:2px solid var(--pd-blue);outline-offset:1px;border-color:var(--pd-blue)}
html[data-pro-theme="dark"] :is(.ps-page,.modal) :is(.ps-field,label,legend){color:var(--pd-text)}
html[data-pro-theme="dark"] :is(.ps-page,.modal) fieldset{border-color:var(--pd-line)}
html[data-pro-theme="dark"] .btn.outline,html[data-pro-theme="dark"] .btn.white,html[data-pro-theme="dark"] a.btn.outline{background:var(--pd-surface2);border-color:#2b4a7d;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .btn.outline:hover{background:#1b2b4d}
html[data-pro-theme="dark"] .ps-chk input,html[data-pro-theme="dark"] input[type=checkbox],html[data-pro-theme="dark"] input[type=radio]{accent-color:var(--pd-blue)}

/* ---------- Estados: chips, avisos, indicadores ---------- */
html[data-pro-theme="dark"] .ps-chip{background:#1d2b49;color:#c0cde3}
html[data-pro-theme="dark"] .ps-chip.is-ok,html[data-pro-theme="dark"] .ps-plan-tag{background:rgba(74,222,128,.15);color:#86efac}
html[data-pro-theme="dark"] .ps-chip.is-warn{background:rgba(251,191,36,.15);color:#fcd34d}
html[data-pro-theme="dark"] .ps-chip.is-bad{background:rgba(248,113,113,.16);color:#fca5a5}
html[data-pro-theme="dark"] .ps-chip.is-info,html[data-pro-theme="dark"] .ps-chipvisit.is-programada{background:rgba(91,155,255,.18);color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .ps-chip.is-muted,html[data-pro-theme="dark"] .ps-chipvisit.is-realizada,html[data-pro-theme="dark"] .ps-plan-soon{background:#1d2b49;color:#b5c3dc;border-color:var(--pd-line2)}
html[data-pro-theme="dark"] .ps-callout,html[data-pro-theme="dark"] .modal .ps-callout{background:rgba(91,155,255,.12);color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-callout.is-warn,html[data-pro-theme="dark"] .modal .ps-callout.is-warn,html[data-pro-theme="dark"] .ps-plan-upcoming{background:rgba(251,191,36,.13);color:#fcd34d}
html[data-pro-theme="dark"] .ps-plan-upcoming b,html[data-pro-theme="dark"] .ps-plan-upcoming ul{color:#fcd34d}
html[data-pro-theme="dark"] .ps-plan-upcoming small{color:#fcd34d}
html[data-pro-theme="dark"] li.is-warn,html[data-pro-theme="dark"] .ps-tool-alert.is-warn{background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.45);color:var(--pd-text)}
html[data-pro-theme="dark"] li.is-bad,html[data-pro-theme="dark"] .ps-tool-alert.is-bad{background:rgba(248,113,113,.1);border-color:rgba(248,113,113,.45);color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-tool-alert.is-ok,html[data-pro-theme="dark"] li.is-ok{background:rgba(74,222,128,.08);border-color:rgba(74,222,128,.35)}
html[data-pro-theme="dark"] .ps-tool-alert p,html[data-pro-theme="dark"] .ps-page .ps-tool-alert p{color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-bad,html[data-pro-theme="dark"] .ps-up{color:#fca5a5}
html[data-pro-theme="dark"] .ps-down,html[data-pro-theme="dark"] .ps-pos{color:#86efac}html[data-pro-theme="dark"] .ps-neg{color:#fca5a5}
html[data-pro-theme="dark"] .ps-kpi-ico,html[data-pro-theme="dark"] .ps-tool-ico{background:rgba(91,155,255,.16);color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .ps-kpi.is-green .ps-kpi-ico{background:rgba(74,222,128,.15);color:#86efac}
html[data-pro-theme="dark"] .ps-kpi.is-gold .ps-kpi-ico{background:rgba(251,191,36,.15);color:#fcd34d}
html[data-pro-theme="dark"] .ps-kpi.is-red .ps-kpi-ico{background:rgba(248,113,113,.16);color:#fca5a5}
html[data-pro-theme="dark"] .ps-alert-count{background:#f87171;color:#1a0b0b}
html[data-pro-theme="dark"] .ps-bar-track,html[data-pro-theme="dark"] .ps-meter{background:#1d2b49}
html[data-pro-theme="dark"] .ps-gridline{stroke:var(--pd-line)}html[data-pro-theme="dark"] .ps-axis{fill:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-chart text{fill:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-dot{stroke:var(--pd-surface)}

/* ---------- Modales y avisos del sistema ---------- */
html[data-pro-theme="dark"] .modal-backdrop,html[data-pro-theme="dark"] .overlay{background:rgba(3,8,20,.72)}
html[data-pro-theme="dark"] .modal-head,html[data-pro-theme="dark"] .modal header{border-color:var(--pd-line)}
html[data-pro-theme="dark"] .toast{background:#1b2b4d;color:var(--pd-ink);border:1px solid var(--pd-line2)}
html[data-pro-theme="dark"] .error-inline{color:#fca5a5}

/* ---------- Reglas que compiten con las del panel (más específicas) ---------- */
html[data-pro-theme="dark"] body[data-page="panel"] .portal-topbar.cp2-top{background:var(--pd-surface);color:var(--pd-ink);box-shadow:none}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-topbar .portal-page-top h1{color:var(--pd-ink)}html[data-pro-theme="dark"] body[data-page="panel"] .portal-topbar .portal-page-top p{color:var(--pd-muted)}
html[data-pro-theme="dark"] body[data-page="panel"] .cp2-top .portal-notifications{color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-footer nav a,html[data-pro-theme="dark"] body[data-page="panel"] .portal-footer .portal-text-button,html[data-pro-theme="dark"] body[data-page="panel"] .cp-foot nav a{color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] body[data-page="panel"] .cp-account-menu small,html[data-pro-theme="dark"] body[data-page="panel"] .pro-who small,html[data-pro-theme="dark"] body[data-page="panel"] .cp-account summary small{color:var(--pd-muted)}
html[data-pro-theme="dark"] body[data-page="panel"] .cp-account-menu strong,html[data-pro-theme="dark"] body[data-page="panel"] .cp-account summary strong{color:var(--pd-ink)}

/* Las piezas heredadas del panel (soporte, perfil, tienda…) usan las variables --cp-*: se redefinen para el tema oscuro. */
html[data-pro-theme="dark"] body[data-page="panel"]{--cp-ink:#eaf0fc;--cp-text:#c5d0e4;--cp-muted:#9aabc6;--cp-faint:#7587a6;--cp-line:#25324d;--cp-line-strong:#33425f;--cp-bg:#0b1324;--cp-card:#111c33;--cp-blue:#5b9bff;--cp-blue-dark:#7db0ff;--cp-blue-soft:#16294d;--cp-green:#4ade80;--cp-green-soft:rgba(74,222,128,.14);--cp-amber:#fbbf24;--cp-amber-soft:rgba(251,191,36,.14);--cp-red:#f87171;--cp-red-soft:rgba(248,113,113,.14);--cp-shadow:none;color-scheme:dark}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-card,html[data-pro-theme="dark"] body[data-page="panel"] .cp-card,html[data-pro-theme="dark"] body[data-page="panel"] .portal-account-security,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-form,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-plan-info,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-attach,html[data-pro-theme="dark"] body[data-page="panel"] .portal-sound-button,html[data-pro-theme="dark"] body[data-page="panel"] .portal-profile-avatar>span{background:var(--pd-surface);border-color:var(--pd-line);color:var(--pd-text)}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-plan-info,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-attach,html[data-pro-theme="dark"] body[data-page="panel"] .portal-account-security{background:var(--pd-surface2)}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-card h2,html[data-pro-theme="dark"] body[data-page="panel"] .portal-card h3,html[data-pro-theme="dark"] body[data-page="panel"] .cp-card h2,html[data-pro-theme="dark"] body[data-page="panel"] .cp-card h3,html[data-pro-theme="dark"] body[data-page="panel"] .portal-account-security strong{color:var(--pd-ink)}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-card p,html[data-pro-theme="dark"] body[data-page="panel"] .portal-card small,html[data-pro-theme="dark"] body[data-page="panel"] .portal-card span,html[data-pro-theme="dark"] body[data-page="panel"] .cp-card p,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-plan-info,html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-attach,html[data-pro-theme="dark"] body[data-page="panel"] .portal-account-security span{color:var(--pd-muted)}
html[data-pro-theme="dark"] body[data-page="panel"] .note-box.warn{background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.4);color:#fcd34d}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-support-avatar{background:#1b2b4d;color:var(--pd-ink)}
html[data-pro-theme="dark"] body[data-page="panel"] .portal-chat-message.support{background:var(--pd-surface2);color:var(--pd-text)}

/* ---------- Pantallas del portal: listas, comparativos y tarjetas de avance ---------- */
html[data-pro-theme="dark"] body[data-page="panel"] .ps-todo li,html[data-pro-theme="dark"] body[data-page="panel"] .ps-kpis div,html[data-pro-theme="dark"] body[data-page="panel"] .ps-rows li,html[data-pro-theme="dark"] body[data-page="panel"] .ps-compare tr.is-own td{background:var(--pd-surface2);border-color:var(--pd-line)}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-rows li{background:var(--pd-surface)}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-compare tr.is-own td{background:#1b2b4d;color:var(--pd-ink)}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-progress>span{background:#1d2b49}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-todo b,html[data-pro-theme="dark"] body[data-page="panel"] .ps-kpis b,html[data-pro-theme="dark"] body[data-page="panel"] .ps-rows b{color:var(--pd-ink)}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-todo small,html[data-pro-theme="dark"] body[data-page="panel"] .ps-kpis small,html[data-pro-theme="dark"] body[data-page="panel"] .ps-rows small,html[data-pro-theme="dark"] body[data-page="panel"] .ps-rows span{color:var(--pd-muted)}
html[data-pro-theme="dark"] body[data-page="panel"] .pro-card-head h2,html[data-pro-theme="dark"] body[data-page="panel"] .pro-legend{color:var(--pd-ink)}html[data-pro-theme="dark"] body[data-page="panel"] .pro-legend small{color:var(--pd-muted)}
html[data-pro-theme="dark"] body[data-page="panel"] .ps-rstop-n{background:#3b5a8c;color:#fff}

/* ---------- Botones principales, mapa sin conexión, tipos de servicio y barras ---------- */
html[data-pro-theme="dark"] :is(.ps-page,.modal,.pro-main) .btn:not(.outline):not(.white),html[data-pro-theme="dark"] :is(.ps-page,.modal,.pro-main) a.btn:not(.outline):not(.white){background:#2563eb;border-color:#2563eb;color:#fff}
html[data-pro-theme="dark"] :is(.ps-page,.modal,.pro-main) .btn:not(.outline):not(.white):hover{background:#3b78f0;border-color:#3b78f0}
html[data-pro-theme="dark"] .pro-map-fallback ul li{background:var(--pd-surface2);color:var(--pd-text);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .pro-map-fallback,html[data-pro-theme="dark"] .pro-map.is-fallback{background:var(--pd-surface2);color:var(--pd-text)}
html[data-pro-theme="dark"] .pro-types li,html[data-pro-theme="dark"] .pro-types li span{color:var(--pd-text)}html[data-pro-theme="dark"] .pro-types li b{color:var(--pd-ink)}html[data-pro-theme="dark"] .pro-types li small{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pro-types li i{background:#2b3b5c}
html[data-pro-theme="dark"] .ps-bars li>div{background:#1d2b49}
html[data-pro-theme="dark"] .ps-kpi.is-blue .ps-kpi-ico{background:rgba(45,212,191,.16);color:#5eead4}
html[data-pro-theme="dark"] .cpx-store a:not(.btn),html[data-pro-theme="dark"] .cpx-store-products a:not(.btn),html[data-pro-theme="dark"] .portal-card a:not(.btn),html[data-pro-theme="dark"] .cp-card a:not(.btn){color:var(--pd-blue-soft)}

/* Variables propias de las tarjetas del inicio y últimos detalles */
html[data-pro-theme="dark"] .pro-shell{--pro-ink:#eaf0fc;--pro-text:#c5d0e4;--pro-muted:#9aabc6;--pro-line:#25324d;--pro-blue:#5b9bff;--pro-sky:#16294d;--pro-green:#4ade80;--pro-gold:#fbbf24}
html[data-pro-theme="dark"] .pro-map-fallback p{color:var(--pd-text)}
html[data-pro-theme="dark"] .btn span,html[data-pro-theme="dark"] .btn .pro-ico{color:inherit}
html[data-pro-theme="dark"] .pro-state.is-ok{background:rgba(74,222,128,.15);color:#86efac}
html[data-pro-theme="dark"] .pro-state.is-wait{background:rgba(251,191,36,.15);color:#fcd34d}
html[data-pro-theme="dark"] .pro-state.is-off{background:#1d2b49;color:#b5c3dc}
html[data-pro-theme="dark"] .ps-x{background:#1d2b49;color:var(--pd-text)}
html[data-pro-theme="dark"] .ps-x:hover{background:#2b3b5c}
html[data-pro-theme="dark"] .ps-chipbtn{background:var(--pd-surface2);border-color:#3b5a8c;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .ps-chipbtn:hover{background:#1b2b4d}
html[data-pro-theme="dark"] .btn:not(.outline):not(.white) span,html[data-pro-theme="dark"] .btn:not(.outline):not(.white) .pro-ico{color:#fff!important}

/* Privacidad y ubicación */
html[data-pro-theme="dark"] .ps-loc-status.is-on{border-color:#24563a;background:linear-gradient(180deg,#10261a,var(--pd-surface) 60%)}
html[data-pro-theme="dark"] .ps-policy-scroll{background:var(--pd-bg);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .ps-loc-check{background:#12213a;border-color:var(--pd-line)}
html[data-pro-theme="dark"] .ps-loc-check b{color:var(--pd-ink)}

/* Calculadora de precios */

/* Inicio del piscinero */
html[data-pro-theme="dark"] .phx{--pcx-wash:15,26,47;--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--tile:#1b3158;--green:#34d17a;--green-bg:#0f2a1c;--amber:#fbbf24;--amber-bg:#2b2208;--red:#f87171;--card:var(--pd-surface);--shadow:none}
html[data-pro-theme="dark"] .phx-card,html[data-pro-theme="dark"] .phx-visit,html[data-pro-theme="dark"] .phx-crow,html[data-pro-theme="dark"] .phx-slot,html[data-pro-theme="dark"] .phx-week-nav button,html[data-pro-theme="dark"] .phx-map-foot .phx-route,html[data-pro-theme="dark"] .phx-communes li{background:var(--pd-surface)}
html[data-pro-theme="dark"] .phx-visit:hover,html[data-pro-theme="dark"] .phx-crow:hover,html[data-pro-theme="dark"] .phx-slot:hover,html[data-pro-theme="dark"] .phx-week-nav button:hover{background:#16294d}
html[data-pro-theme="dark"] .phx-when{background:#16294d}
html[data-pro-theme="dark"] .phx-day:hover b{background:#16294d}
html[data-pro-theme="dark"] .phx-week-nav .phx-today{background:#16294d;border-color:#24406f}
html[data-pro-theme="dark"] .phx-map{background:linear-gradient(135deg,#16294d,#10203d);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .phx-unplaced{background:#2a2112;border-color:#5b4515}html[data-pro-theme="dark"] .phx-unplaced h4{color:#f4c874}html[data-pro-theme="dark"] .phx-unplaced h4 b{background:#f4c874;color:#2a2112}html[data-pro-theme="dark"] .phx-unplaced li{background:var(--pd-surface);border-color:var(--pd-line)}html[data-pro-theme="dark"] .phx-unplaced li b{color:var(--pd-ink)}html[data-pro-theme="dark"] .phx-place{background:var(--pd-surface);border-color:#24406f;color:var(--pd-blue-soft)}html[data-pro-theme="dark"] .phx-place:hover,html[data-pro-theme="dark"] .phx-place.is-on{background:#16294d}html[data-pro-theme="dark"] .phx-noaddr .phx-i{color:#f4c874}html[data-pro-theme="dark"] .phx-linkname{color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .phx-bar{background:#24406f}html[data-pro-theme="dark"] .phx-bars li.is-cur .phx-bar{background:var(--pd-blue)}
html[data-pro-theme="dark"] .phx-tip,html[data-pro-theme="dark"] .phx-bar-wrap .phx-tip::after{background:#e9f0ff;color:#0b1f4d}
html[data-pro-theme="dark"] .phx-badge.is-down{background:#2d1315}
html[data-pro-theme="dark"] .phx-stars{color:#34415c}html[data-pro-theme="dark"] .phx-stars i.on{color:var(--gold)}
html[data-pro-theme="dark"] .phx-tile span{background:#16294d}html[data-pro-theme="dark"] .phx-tile:hover span{background:#1b3158}
html[data-pro-theme="dark"] .phx-donut circle:first-child{stroke:#1d3153}
html[data-pro-theme="dark"] .pro-bell-count{box-shadow:0 0 0 2px var(--pd-surface)}
html[data-pro-theme="dark"] .phx-b-store::before{background-color:#fff;top:8px;right:8px;bottom:8px;width:44%;border-radius:12px}
html[data-pro-theme="dark"] .phx-tag{background:#1b2740;color:#b9c6dc}
html[data-pro-theme="dark"] .phx-tag.is-mantencion{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .phx-tag.is-limpieza{background:#16294d;color:#8ab4ff}
html[data-pro-theme="dark"] .phx-tag.is-revision{background:#2a1f4d;color:#c8b1ff}html[data-pro-theme="dark"] .phx-tag.is-reparacion{background:#2b2208;color:#fbbf24}
html[data-pro-theme="dark"] .phx-state.is-active{background:#0f2a1c;color:#34d17a}
html[data-pro-theme="dark"] .phx-day.is-sel b,html[data-pro-theme="dark"] .phx-banner-ico{color:#0b1324}
html[data-pro-theme="dark"] .phx .phx-news,html[data-pro-theme="dark"] .modal .phx-news{--nc:#7cb2ff;background:rgba(91,155,255,.15)}
html[data-pro-theme="dark"] .phx .phx-news.is-aviso,html[data-pro-theme="dark"] .modal .phx-news.is-aviso{--nc:#f87171;background:rgba(248,113,113,.15)}
html[data-pro-theme="dark"] .phx .phx-news.is-consejo,html[data-pro-theme="dark"] .modal .phx-news.is-consejo{--nc:#b79cff;background:rgba(167,139,250,.17)}
html[data-pro-theme="dark"] .phx .phx-news-ico,html[data-pro-theme="dark"] .modal .phx-news-ico{background:var(--pd-surface2)}
html[data-pro-theme="dark"] .modal .phx-news-txt b{color:var(--pd-ink)}
html[data-pro-theme="dark"] .modal .phx-news-txt small,html[data-pro-theme="dark"] .modal .phx-news-full{color:var(--pd-text)}
html[data-pro-theme="dark"] .modal .phx-news-txt em{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pcl{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--head:#16233f;--sel:#162a4d;--field:#0f1a30;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#2b2208;--bad:#f87171;--bad-bg:#3a1618;--pause:#fdba74;--pause-bg:#3a2410;--vio:#b79cff;--vio-bg:#2a1f4d;--mute-bg:#1b2a47;--wash:11,19,36}
html[data-pro-theme="dark"] .pcl .pcl-hero{background-color:#12233f;border-color:var(--pd-line)}
html[data-pro-theme="dark"] .pcl .pcl-eyebrow,html[data-pro-theme="dark"] .pcl .pcl-hero p{color:var(--pd-text)}
html[data-pro-theme="dark"] .pcl .pcl-hero p.pcl-limit{color:#93b8ff}
html[data-pro-theme="dark"] .pcl .pcl-hero p.pcl-limit.is-full{color:#fdba74}
html[data-pro-theme="dark"] .ps-limit-modal p.pcl-limit{color:#fdba74}
html[data-pro-theme="dark"] .pcl .pcl-kpi-ico.is-sky{background:#16294d;color:#7cb2ff}
html[data-pro-theme="dark"] .pcl .pcl-kpi-ico.is-amber{color:#fbbf24}
html[data-pro-theme="dark"] .pcl .pcl-kpi-ico.is-red{color:#f87171}
html[data-pro-theme="dark"] .pcl .pcl-chip:hover{background:#243759}
html[data-pro-theme="dark"] .pcl .pcl-chip.is-on{color:#0b1324;box-shadow:none}
html[data-pro-theme="dark"] .pcl .pcl-apply{color:#0b1324;box-shadow:none}
html[data-pro-theme="dark"] .pcl .pcl-clear,html[data-pro-theme="dark"] .pcl .pcl-all,html[data-pro-theme="dark"] .pcl .pcl-see{border-color:#2b3b5c;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .pcl .pcl-bulk{border-color:#2b3b5c}
html[data-pro-theme="dark"] .pcl .pcl-hidden-note{background:#2d2411;border-color:#5a4513;color:#f3d28a}
html[data-pro-theme="dark"] .pcl .pcl-hidden-go{background:#1d2c49;border-color:#5a4513;color:#f3d28a}
html[data-pro-theme="dark"] .pcl .pcl-bulk-btn{border-color:#2b3b5c;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .pcl .pcl-table tbody tr.is-sel td{border-bottom-color:#2b3b5c}
html[data-pro-theme="dark"] .pcl .pcl-day.is-today{border-color:#3a5fa3}
html[data-pro-theme="dark"] .pcl .pcl-q-pic{color:#0b1324}
html[data-pro-theme="dark"] .pcl .pcl-time li.is-next i{border-color:#6b7fa3}
html[data-pro-theme="dark"] .pcl .pcl-menu-list{box-shadow:0 14px 34px rgba(0,0,0,.5)}
html[data-pro-theme="dark"] .pcl .pcl-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%239aabc6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-pro-theme="dark"] .pro-search-results{background:var(--pd-surface);color:var(--pd-ink);box-shadow:0 18px 40px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pro-sr-item{color:var(--pd-ink)}
html[data-pro-theme="dark"] .pro-sr-item:hover,html[data-pro-theme="dark"] .pro-sr-item:focus-visible{background:var(--pd-surface2)}
html[data-pro-theme="dark"] .pro-sr-ico{background:#16294d;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .pro-sr-group h4,html[data-pro-theme="dark"] .pro-sr-txt small,html[data-pro-theme="dark"] .pro-sr-note{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pro-q-picker button{background:var(--pd-surface2);border-color:var(--pd-line2);color:var(--pd-ink)}
html[data-pro-theme="dark"] .pro-q-picker button:hover:not(:disabled){background:#1b3158}
html[data-pro-theme="dark"] .pro-q-picker span{background:#16294d;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .pro-q-picker em{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ppr{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--head:#16233f;--sel:#162a4d;--field:#0f1a30;--shadow:none;--wash:11,19,36;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#2b2208;--bad:#f87171;--bad-bg:#3a1618;--info:#7cb2ff;--info-bg:#16294d;--mute-bg:#1b2a47;--tint:#251f0c;--tint-line:#4a3c10}
html[data-pro-theme="dark"] .ppr .ppr-hero{background-color:#12233f}
html[data-pro-theme="dark"] .ppr .ppr-hero p{color:var(--pd-text)}
html[data-pro-theme="dark"] .ppr .ppr-chips li{background:rgba(17,28,51,.94);border-color:var(--pd-line);color:var(--pd-ink)}
html[data-pro-theme="dark"] .ppr .ppr-picker{background:linear-gradient(180deg,#14243f,#122039);border-color:#2b3b5c}
html[data-pro-theme="dark"] .ppr .ppr-in{border-color:#2b3b5c}
html[data-pro-theme="dark"] .ppr .ppr-in select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%239aabc6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-pro-theme="dark"] .ppr .ppr-add{color:#0b1324;box-shadow:none}
html[data-pro-theme="dark"] .mp .mp-hero{background-color:#12233f}
html[data-pro-theme="dark"] .mp .mp-mini{background:rgba(17,28,51,.94);box-shadow:none}
html[data-pro-theme="dark"] .mp .mp-tab.is-on,html[data-pro-theme="dark"] .mp .mp-btn.is-solid,html[data-pro-theme="dark"] .mp .mp-seg button.is-on{color:#0b1324;box-shadow:none}
html[data-pro-theme="dark"] .mp .mp-tab.is-on .ps-ico,html[data-pro-theme="dark"] .mp .mp-btn.is-solid .ps-ico{color:#0b1324}
html[data-pro-theme="dark"] .mp .mp-in .cm-input,html[data-pro-theme="dark"] .mp .mp-sel select,html[data-pro-theme="dark"] .mp .mp-btn{border-color:#2b3b5c}
html[data-pro-theme="dark"] .mp .mp-btn{background:var(--pd-surface2)}
html[data-pro-theme="dark"] .mp .mp-btn.is-solid{background:var(--blue);border-color:var(--blue)}
html[data-pro-theme="dark"] .mp .mp-size{box-shadow:none}html[data-pro-theme="dark"] .mp .mp-size.is-on{border-color:#3a5a92;box-shadow:0 0 0 1px #3a5a92}
html[data-pro-theme="dark"] .mp .mp-badge{background:rgba(17,28,51,.95);color:#fbd77a}
html[data-pro-theme="dark"] .mp .mp-add{border-color:#3a5a92}
html[data-pro-theme="dark"] .mp .mp-box{fill:rgba(124,178,255,.18);stroke:rgba(124,178,255,.5)}
html[data-pro-theme="dark"] .mp .mp-banner.is-ok{border-color:#1d5a38}html[data-pro-theme="dark"] .mp .mp-banner.is-warn{border-color:#5a4410}html[data-pro-theme="dark"] .mp .mp-banner.is-info{border-color:#24406f}
html[data-pro-theme="dark"] .mp .mp-dpct{fill:#e8eefc}
html[data-pro-theme="dark"] .mp .mp-lock{background:var(--pd-surface2);border-color:#2b3b5c}html[data-pro-theme="dark"] .mp .mp-lock-ico{background:#1d3358;color:#7cb2ff}html[data-pro-theme="dark"] .mp .mp-lock-txt b{color:var(--pd-ink)}html[data-pro-theme="dark"] .mp .mp-lock-txt p{color:#a9b9d6}
html[data-pro-theme="dark"] .ppr-form .ppr-check{background:#14233f;border-color:#2b3b5c}html[data-pro-theme="dark"] .ppr-form .ppr-check b{color:#e8eefc}html[data-pro-theme="dark"] .ppr-form .ppr-check small{color:#a9b9d6}
html[data-pro-theme="dark"] .ppr .ppr-svc b{color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .ppr .ppr-dl mark{background:#3a2e0a;color:#fbd77a}
html[data-pro-theme="dark"] .ppr .ppr-gauge circle{fill:var(--pd-surface);stroke:#eaf0fc}
html[data-pro-theme="dark"] .ppr .ppr-reco li>span{color:#0b1324}
html[data-pro-theme="dark"] .ppr .ppr-menu-list{box-shadow:0 14px 34px rgba(0,0,0,.5)}
html[data-pro-theme="dark"] .ppr-form .ppr-ff>span,html[data-pro-theme="dark"] .ppr-form .ppr-costs>summary b,html[data-pro-theme="dark"] .ppr-form .ppr-usage b,html[data-pro-theme="dark"] .ppr-form .ppr-suggest b{color:var(--pd-ink)}
html[data-pro-theme="dark"] .ppr-form .ppr-ff small,html[data-pro-theme="dark"] .ppr-form .ppr-costs>summary small,html[data-pro-theme="dark"] .ppr-form .ppr-usage small,html[data-pro-theme="dark"] .ppr-form .ppr-suggest small{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ppr-form input,html[data-pro-theme="dark"] .ppr-form select{background:#0f1a30;border-color:#2b3b5c;color:var(--pd-ink)}
html[data-pro-theme="dark"] .ppr-form .ppr-costs{border-color:var(--pd-line)}
html[data-pro-theme="dark"] .ppr-form .ppr-usage{background:#16294d;border-color:#24406f}
html[data-pro-theme="dark"] .ppr-form .ppr-usage i{background:#243759}
html[data-pro-theme="dark"] .ppr-form .ppr-go{background:var(--pd-surface2);border-color:#2b3b5c;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .ppr-form .ppr-suggest{background:#0f2a1c}
html[data-pro-theme="dark"] .ppr-form .ppr-use{color:#0b1324}

/* ---------- Agenda ---------- */
html[data-pro-theme="dark"] .pag{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--plan-bg:#16305c;--plan:#6aa8ff;--wait-bg:#3a2e0a;--wait:#fbbf24;--moved-bg:#411a1f;--moved:#f87171;--done-bg:#12372a;--done:#4ade80;--condo-bg:#2b1d4f;--condo:#b794f6;--now:#f87171}
html[data-pro-theme="dark"] .pag .pag-kpi-ico.is-amber,html[data-pro-theme="dark"] .pag .pag-kpi:nth-child(3) .pag-pct,html[data-pro-theme="dark"] .pag .pag-av.is-wait,html[data-pro-theme="dark"] .pag .pag-blk.is-wait .pag-blk-ico{color:var(--wait)}
html[data-pro-theme="dark"] .pag .pag-seg button.active{background:#1b2c4d}
html[data-pro-theme="dark"] .pag .pag-blk-ico{background:rgba(255,255,255,.12)}
html[data-pro-theme="dark"] .pag .pag-wx .pag-i{color:#fbbf24}
html[data-pro-theme="dark"] .pag .pag-dayhead.is-today b,html[data-pro-theme="dark"] .pag .pag-mcell.is-today .pag-mnum,html[data-pro-theme="dark"] .pag .pag-md.is-today{color:#0b1324}
html[data-pro-theme="dark"] .pag .pag-menu-list{box-shadow:0 12px 30px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pag .pag-filters input,html[data-pro-theme="dark"] .pag .pag-filters select{background:#0f1a30;color:var(--pd-ink)}
html[data-pro-theme="dark"] .pag .pag-rt-bg{fill:#13233f}
html[data-pro-theme="dark"] .pag .pag-rt-grid{stroke:#223455}
html[data-pro-theme="dark"] .pag .pag-rt-stop circle{stroke:#111c33}
html[data-pro-theme="dark"] .pag .pag-rt-base circle{fill:#111c33;stroke:#eaf0fc}
html[data-pro-theme="dark"] .pag .pag-chk{background:#0f1a30;border-color:#4a5d82}
html[data-pro-theme="dark"] .pag .pag-chk[aria-checked="true"]{background:var(--done);border-color:var(--done);color:#0b1324}
html[data-pro-theme="dark"] .pag .pag-col.is-today{background:linear-gradient(180deg,rgba(91,155,255,.1),rgba(91,155,255,.03))}
html[data-pro-theme="dark"] .pag .pag-num{color:#0b1324}
html[data-pro-theme="dark"] .pag .pag-rt-stop text{fill:#0b1324}
html[data-pro-theme="dark"] .pag .pag-btn.is-ghost{color:var(--pd-blue-soft)}

/* ---------- Inicio: clima de siete días ---------- */
html[data-pro-theme="dark"] .phx .phx-wxday{background:#14233d;border-color:var(--pd-line)}
html[data-pro-theme="dark"] .phx .phx-wxday.is-today{background:#16294d;border-color:var(--pd-blue)}
html[data-pro-theme="dark"] .phx .phx-wx-ico,html[data-pro-theme="dark"] .phx .phx-wx-now .phx-i{color:#fbbf24}
html[data-pro-theme="dark"] .phx .phx-wx-rain,html[data-pro-theme="dark"] .phx .phx-wx-foot a{color:var(--pd-blue-soft)}

/* ---------- Clima ---------- */
html[data-pro-theme="dark"] .pcm{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--cool:#6aa7ff;--mild:#4ade80;--warm:#fbbf24;--intense:#fb923c;--extreme:#f87171;--sun:#fbbf24;--warn:#fbbf24;--bad:#f87171;--ok:#4ade80;--w-warn-bg:#3a2a14;--w-bad-bg:#3d1a1d;--w-ico-warn-bg:#4a3318;--w-ico-warn:#fbbf24;--w-ico-bad-bg:#52262a;--calm-bg:#10301f;--calm-tx:#8be0ab;--lvl-warn-bg:#3a2a14;--lvl-bad-bg:#3d1a1d;--badge-bg:#4a3318;--badge-tx:#fbbf24;--ic-orange-bg:#3a2a14;--ic-orange:#fbbf24;--ic-red-bg:#3d1a1d;--ic-red:#f87171;--ic-blue-bg:#16294d;--ic-blue:#7fb2ff;--ic-sky-bg:#16294d;--ic-sky:#7fb2ff;--ic-cyan-bg:#10303a;--ic-cyan:#5ad1ea;--ic-yellow-bg:#3a3314;--ic-yellow:#facc15;--chip-ok-bg:#10301f;--chip-ok:#8be0ab;--chip-warn-bg:#3a2a14;--chip-warn:#fbbf24;--chip-bad-bg:#3d1a1d;--chip-bad:#fca5a5;--chip-info-bg:#16294d;--chip-info:#9cc4ff;--zone-bg:#14233d;--zone-pt:#1d2f4f;--zone-line:#2b4468}
html[data-pro-theme="dark"] .pcm .pcm-day.is-intense{background:#3a2412}
html[data-pro-theme="dark"] .pcm .pcm-day.is-extreme{background:#3d1a1d}
html[data-pro-theme="dark"] .pcm .pcm-badge{background:#4a2c10;color:#fdba74}
html[data-pro-theme="dark"] .pcm .pcm-badge.is-top{background:#f87171;color:#0b1324}
html[data-pro-theme="dark"] .pcm .pcm-opt.is-on{color:#0b1324}
html[data-pro-theme="dark"] .pcm .pcm-lvl.is-warn{background:#3a2e0a;color:#fbbf24}
html[data-pro-theme="dark"] .pcm .pcm-lvl.is-bad{background:#411a1f;color:#f87171}
html[data-pro-theme="dark"] .pcm .pcm-stat-ico.is-sun{background:#3a2e0a}
html[data-pro-theme="dark"] .pcm .pcm-stat-ico.is-hot{background:#3d1a1d;color:#f87171}
html[data-pro-theme="dark"] .pcm .pcm-stat-ico.is-cool{background:#12303f;color:#6ac0e8}
html[data-pro-theme="dark"] .pcm .pcm-warns>li.is-warn{background:#2e2113}
html[data-pro-theme="dark"] .pcm .pcm-warns>li.is-bad{background:#34191c}
html[data-pro-theme="dark"] .pcm .is-warn>.pcm-w-ico{background:#4a2c10;color:#fdba74}
html[data-pro-theme="dark"] .pcm .is-bad>.pcm-w-ico{background:#4a1d22;color:#f87171}
html[data-pro-theme="dark"] .pcm .pcm-calm{background:#12372a;color:#86efac}
html[data-pro-theme="dark"] .pcm .pcm-area{fill:rgba(251,146,60,.14)}
html[data-pro-theme="dark"] .pcm .pcm-pick select{background:#0f1a30}
html[data-pro-theme="dark"] .pcm .pcm-w-days span{background:#0f1a30}

/* ---------- Mis Finanzas ---------- */
html[data-pro-theme="dark"] .pmf{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--green:#4ade80;--green-bg:#12372a;--red:#f87171;--red-bg:#411a1f;--amber:#fbbf24;--amber-bg:#3a2e0a;--orange:#fb923c;--orange-bg:#3a2412}
html[data-pro-theme="dark"] .pmf .pmf-btn.is-primary{color:#fff}
html[data-pro-theme="dark"] .pmf .pmf-menu-list{box-shadow:0 12px 30px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pfp{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--green:#4ade80;--green-bg:#12372a;--red:#f87171;--red-bg:#411a1f;--wash:11,20,38}
html[data-pro-theme="dark"] .pfp .pfp-hero{background-color:#0b1426}
html[data-pro-theme="dark"] .pfp .pfp-period.is-on,html[data-pro-theme="dark"] .pfp .pfp-add{color:#fff}
html[data-pro-theme="dark"] .pfp .pfp-key i.is-line::after,html[data-pro-theme="dark"] .pfp .pfp-dot{fill:var(--pd-surface);background:var(--pd-surface)}
html[data-pro-theme="dark"] .pfp .pfp-tip rect{filter:drop-shadow(0 8px 16px rgba(0,0,0,.55))}
html[data-pro-theme="dark"] .pfp .pfp-cat.is-vehiculo .pfp-cico,html[data-pro-theme="dark"] .pfp .pfp-tag.is-vehiculo{background:#3a2e0a;color:#fbbf24}
html[data-pro-theme="dark"] .pfp .pfp-cat.is-repuestos .pfp-cico,html[data-pro-theme="dark"] .pfp .pfp-tag.is-repuestos{background:#2a1f4d;color:#b69cff}
html[data-pro-theme="dark"] .pfp .pfp-cat.is-herramientas .pfp-cico,html[data-pro-theme="dark"] .pfp .pfp-tag.is-herramientas{background:#12372a;color:#4ade80}
html[data-pro-theme="dark"] .pfp .pfp-cat.is-otros .pfp-cico,html[data-pro-theme="dark"] .pfp .pfp-tag.is-otros{background:#431a30;color:#f472b6}
html[data-pro-theme="dark"] .pfp .pfp-detail,html[data-pro-theme="dark"] .pfp .pfp-ghost{border-color:#2a4676}
html[data-pro-theme="dark"] .pfp .pfp-cimg{background-color:#14233d;opacity:.92}
html[data-pro-theme="dark"] .pfp .pfp-menu-list{box-shadow:0 12px 30px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pra{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--green:#4ade80;--red:#f87171;--map-bg:#14233d;--map-line:#2b4468;--map-text:#d6e2f5;
 --i-blue-bg:#16294d;--i-blue:#7fb2ff;--i-violet-bg:#2a1f4d;--i-violet:#b79bff;--i-red-bg:#3d1a1d;--i-red:#f87171;--i-orange-bg:#3a2a14;--i-orange:#fbbf24;--i-green-bg:#10301f;--i-green:#4ade80;--i-teal-bg:#0f2f2b;--i-teal:#5eead4;
 --c-ok-bg:#10301f;--c-ok:#8be0ab;--c-good-bg:#12331f;--c-good:#7ad69f;--c-mid-bg:#3a3314;--c-mid:#facc15;--c-low-bg:#3a2a14;--c-low:#fbbf24;--c-poor-bg:#3d1a1d;--c-poor:#fca5a5}
/* Avisos del cliente */
html[data-pro-theme="dark"] .pcn{--pcn-ink:var(--pd-ink);--pcn-muted:var(--pd-muted);--pcn-line:var(--pd-line)}
html[data-pro-theme="dark"] .pcn-card,html[data-pro-theme="dark"] .pcn-kpi{background:var(--pd-surface);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .pcn-item,html[data-pro-theme="dark"] .pcn-rel li,html[data-pro-theme="dark"] .pcn-dial,html[data-pro-theme="dark"] .pcn-search{background:var(--pd-surface2);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .pcn-item.is-on{background:rgba(75,140,255,.16);border-color:#4b8cff}
html[data-pro-theme="dark"] .pcn-summary,html[data-pro-theme="dark"] .pcn-msg p{background:rgba(255,255,255,.05)}
html[data-pro-theme="dark"] .pcn-filters button{background:transparent;color:var(--pd-text);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .pcn-filters button em{background:rgba(255,255,255,.1);color:var(--pd-text)}
html[data-pro-theme="dark"] .pcn-filters button.is-on{background:#2f7bff;border-color:#2f7bff;color:#fff}
html[data-pro-theme="dark"] .pcn-item-snip,html[data-pro-theme="dark"] .pcn-rel-main small,html[data-pro-theme="dark"] .pcn-book .pcn-book-s,html[data-pro-theme="dark"] .pcn .pcn-quote .pcn-book-s{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pcn-item-title.is-teal,html[data-pro-theme="dark"] .pcn-quote .pcn-i{color:#4fd1bf}
html[data-pro-theme="dark"] .pcn-search input{color:var(--pd-text)}
html[data-pro-theme="dark"] .pcn-hint{background:rgba(245,166,35,.15);color:#f6c56f}
html[data-pro-theme="dark"] .pcn-closed{background:rgba(23,163,94,.15);color:#8fe0b6}
html[data-pro-theme="dark"] .pcn-dot{box-shadow:0 0 0 3px var(--pd-surface)}
html[data-pro-theme="dark"] .rp{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--sel:#162a4d;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .rp .rp-row:hover{background:#16233f}
html[data-pro-theme="dark"] .rp .rp-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f)}
html[data-pro-theme="dark"] .rp .rp-sw{background:#3a4a69}
html[data-pro-theme="dark"] .cz{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--sel:#162a4d;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .cz .cz-row:hover{background:#16233f}
html[data-pro-theme="dark"] .cz .cz-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f)}
html[data-pro-theme="dark"] .cz .cz-prop{border-color:#1e4a33}html[data-pro-theme="dark"] .cz .cz-prop-ico{background:#16402b}
html[data-pro-theme="dark"] .cz .cz-prop.is-info{border-color:#27467d}html[data-pro-theme="dark"] .cz .cz-prop.is-info .cz-prop-ico{background:#22407a}
html[data-pro-theme="dark"] .cz .cz-prop.is-muted{border-color:var(--pd-line)}html[data-pro-theme="dark"] .cz .cz-prop.is-muted .cz-prop-ico{background:#26354f}
html[data-pro-theme="dark"] .cz .cz-kpi-ico.is-blue{background:#16294d;color:#9ec2ff}html[data-pro-theme="dark"] .cz .cz-kpi-ico.is-amber{background:#33270a;color:#fbbf24}html[data-pro-theme="dark"] .cz .cz-kpi-ico.is-green{background:#0f2a1c;color:#34d17a}
html[data-pro-theme="dark"] .cz .cz-chip.is-muted,html[data-pro-theme="dark"] .cz .cz-chip{color:var(--pd-muted)}html[data-pro-theme="dark"] .cz .cz-chip.is-info{color:#9ec2ff}html[data-pro-theme="dark"] .cz .cz-chip.is-ok{color:#34d17a}html[data-pro-theme="dark"] .cz .cz-chip.is-warn{color:#fbbf24}
html[data-pro-theme="dark"] .cz .cz-noimg,html[data-pro-theme="dark"] .cz .cz-thumb{background:#1b2a47}
html[data-pro-theme="dark"] .mpf{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .mpf .mpf-sw{background:#3a4a69}html[data-pro-theme="dark"] .mpf .mpf-chip,html[data-pro-theme="dark"] .mpf .mpf-chip.is-muted{color:var(--pd-muted)}html[data-pro-theme="dark"] .mpf .mpf-chip.is-ok{color:#34d17a}html[data-pro-theme="dark"] .mpf .mpf-chip.is-warn{color:#fbbf24}html[data-pro-theme="dark"] .mpf .mpf-chip.is-info{color:#9ec2ff}
html[data-pro-theme="dark"] .mpf .mpf-kpi-ico.is-blue{background:#16294d;color:#9ec2ff}html[data-pro-theme="dark"] .mpf .mpf-kpi-ico.is-green{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .mpf .mpf-kpi-ico.is-amber{background:#33270a;color:#fbbf24}
html[data-pro-theme="dark"] .mpf .mpf-map-bg{fill:#13213d;stroke:#243a63}html[data-pro-theme="dark"] .mpf .mpf-dot{fill:#3a4d73}html[data-pro-theme="dark"] .mpf .mpf-lbl{fill:#e6eefc;stroke:#13213d}html[data-pro-theme="dark"] .mpf .mpf-pv-box.is-ok{border-color:#1e4a33}
html[data-pro-theme="dark"] .mpf .mpf-cover-thumb,html[data-pro-theme="dark"] .mpf .mpf-gallery img{background:#1b2a47}html[data-pro-theme="dark"] .mpf .mpf-ring .bg{stroke:#1b3b2a}
html[data-pro-theme="dark"] .pcf{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .pcf .pcf-btn{color:#0b1324}html[data-pro-theme="dark"] .pcf .pcf-btn.is-ghost{color:var(--pd-blue-soft);background:var(--pd-surface)}html[data-pro-theme="dark"] .pcf .pcf-btn.is-ghost:hover{background:#16294d}
html[data-pro-theme="dark"] .pcf .pcf-pills button.is-on{color:#0b1324}html[data-pro-theme="dark"] .pcf .pcf-pills button:hover{background:#16294d}html[data-pro-theme="dark"] .pcf .pcf-pills button.is-on:hover{background:var(--pd-blue)}
html[data-pro-theme="dark"] .pcf .pcf-st,html[data-pro-theme="dark"] .pcf .pcf-st.is-muted{color:var(--pd-muted)}html[data-pro-theme="dark"] .pcf .pcf-st.is-ok{color:#34d17a}html[data-pro-theme="dark"] .pcf .pcf-st.is-warn{color:#fbbf24}html[data-pro-theme="dark"] .pcf .pcf-st.is-bad{color:#ff8a80}html[data-pro-theme="dark"] .pcf .pcf-st.is-info{color:#9ec2ff}
html[data-pro-theme="dark"] .pcf .pcf-cardhead.is-blue{background:#1d4fb8}html[data-pro-theme="dark"] .pcf .pcf-cardhead.is-blue h3,html[data-pro-theme="dark"] .pcf .pcf-cardhead.is-blue .ps-ico{color:#fff}
html[data-pro-theme="dark"] .pcf .pcf-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f)}html[data-pro-theme="dark"] .pcf .pcf-bar i{background:#34d17a}
html[data-pro-theme="dark"] .pcf .pcf-banner{background:linear-gradient(100deg,#12306e,#1d4fb8)}html[data-pro-theme="dark"] .pcf .pcf-alerts li{color:var(--pd-text)}html[data-pro-theme="dark"] .pcf .pcf-alerts li.is-bad{color:#ff8a80}html[data-pro-theme="dark"] .pcf .pcf-alerts li.is-warn{color:#fbbf24}html[data-pro-theme="dark"] .pcf .pcf-alerts li.is-info{color:#9ec2ff}html[data-pro-theme="dark"] .pcf .pcf-alerts li.is-ok{color:#34d17a}
html[data-pro-theme="dark"] .pcf .pcf-photo-img{filter:brightness(.9)}
html[data-pro-theme="dark"] .ceq{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--sel:#162a4d;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .ceq .ceq-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f)}html[data-pro-theme="dark"] .ceq .ceq-row:hover{background:#16233f}
html[data-pro-theme="dark"] .ceq .ceq-chip,html[data-pro-theme="dark"] .ceq .ceq-chip.is-muted,html[data-pro-theme="dark"] .ceq .ceq-tag,html[data-pro-theme="dark"] .ceq .ceq-tag.is-muted{color:var(--pd-muted)}html[data-pro-theme="dark"] .ceq .ceq-chip.is-ok,html[data-pro-theme="dark"] .ceq .ceq-tag.is-ok{color:#34d17a}html[data-pro-theme="dark"] .ceq .ceq-chip.is-warn,html[data-pro-theme="dark"] .ceq .ceq-tag.is-warn,html[data-pro-theme="dark"] .ceq .ceq-tag.is-amber{color:#fbbf24}html[data-pro-theme="dark"] .ceq .ceq-chip.is-bad,html[data-pro-theme="dark"] .ceq .ceq-tag.is-bad{color:#ff8a80}html[data-pro-theme="dark"] .ceq .ceq-chip.is-info,html[data-pro-theme="dark"] .ceq .ceq-tag.is-blue{color:#9ec2ff}
html[data-pro-theme="dark"] .ceq .ceq-kpi-ico.is-blue{background:#16294d;color:#9ec2ff}html[data-pro-theme="dark"] .ceq .ceq-kpi-ico.is-red{background:#3a1618;color:#ff8a80}html[data-pro-theme="dark"] .ceq .ceq-kpi-ico.is-amber{background:#33270a;color:#fbbf24}
html[data-pro-theme="dark"] .ceq .ceq-menu-list{box-shadow:0 12px 30px rgba(0,0,0,.5)}html[data-pro-theme="dark"] .ceq .ceq-donut-fig circle:first-of-type{stroke:#1b2a47}

/* Tienda del piscinero (.st): mismas tarjetas de la tienda del cliente en tema oscuro. La portada, el carrito y la recomendación del clima siguen claros sobre la foto. */
html[data-pro-theme="dark"] .st{--ink:#e8eefc;--mut:#9fb0d0;--line:#26385c;--blue:#6aa6ff}
html[data-pro-theme="dark"] .st .st-hero{--ink:#0b1b3d;--mut:#667691;--blue:#0b63f6}
html[data-pro-theme="dark"] .st .st-hero h2{color:#fff}
html[data-pro-theme="dark"] .st-card,html[data-pro-theme="dark"] .st-search,html[data-pro-theme="dark"] .st-cat,html[data-pro-theme="dark"] .st-prod,html[data-pro-theme="dark"] .st-offers li{background:#101c36;box-shadow:none}
html[data-pro-theme="dark"] .st-head-ico,html[data-pro-theme="dark"] .st-head-ico.is-blue{background:#16315f;color:#8bbcff}
html[data-pro-theme="dark"] .st-head-ico.is-red{background:#3b1f2a;color:#ff8f8f}
html[data-pro-theme="dark"] .st-btn.is-ghost{background:transparent;color:#8bbcff;border-color:#4f7fd1}
html[data-pro-theme="dark"] .st-btn.is-ghost:hover{background:#16315f}
html[data-pro-theme="dark"] .st-btn:not(.is-ghost){background:#2b6fe8;border-color:#2b6fe8;color:#fff}
html[data-pro-theme="dark"] .st-cat:hover{background:#15264a;border-color:#3d63a8}
html[data-pro-theme="dark"] .st-cat.is-on{background:#16315f;border-color:#6aa6ff;color:#d3e4ff}
html[data-pro-theme="dark"] .st-search>.st-i{color:#9fb0d0}
html[data-pro-theme="dark"] .st-search:focus-within{outline-color:#4f7fd1}
html[data-pro-theme="dark"] .st-step button:hover{background:#1a2c52}
html[data-pro-theme="dark"] .st-x{color:#9fb0d0}
html[data-pro-theme="dark"] .st-x:hover{background:#3b1f2a;color:#ff8f8f}
html[data-pro-theme="dark"] .st-empty .st-i{color:#6f86b0}
html[data-pro-theme="dark"] .st-err{color:#ff9a92}
html[data-pro-theme="dark"] .st-badge{background:#123f2b;color:#8fe3b4}
html[data-pro-theme="dark"] .st-badge.is-hot,html[data-pro-theme="dark"] .st-badge.is-off{background:#472024;color:#ff9d94}
html[data-pro-theme="dark"] .st-badge.is-warn{background:#493a10;color:#ffd978}
html[data-pro-theme="dark"] .st-badge.is-bad{background:#472024;color:#ff9d94}
html[data-pro-theme="dark"] .st-badge.is-info,html[data-pro-theme="dark"] .st-new{background:#16315f;color:#a9cbff}
html[data-pro-theme="dark"] body[data-page="panel"] .st .st-sub,html[data-pro-theme="dark"] body[data-page="panel"] .st .st-fine,html[data-pro-theme="dark"] body[data-page="panel"] .st .st-desc,html[data-pro-theme="dark"] body[data-page="panel"] .st .st-empty p{color:#9fb0d0}
html[data-pro-theme="dark"] .st .st-hero .st-sub{color:#667691}

/* Mi plan del piscinero (.mpl-pro): mismas tarjetas de «Mi plan» del cliente en tema oscuro; la portada del plan sigue clara sobre la foto. */
html[data-pro-theme="dark"] .mpl-pro{--mpl-ink:#e8eefc;--mpl-muted:#9fb0d0;--mpl-line:#26385c;--mpl-blue:#6aa6ff}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero{--mpl-ink:#0b1b3d;--mpl-muted:#667691;--mpl-blue:#0b63f6}
html[data-pro-theme="dark"] .mpl-pro .mpl-card,html[data-pro-theme="dark"] .mpl-pro .mpl-kpi,html[data-pro-theme="dark"] .mpl-pro .mpl-use-card,html[data-pro-theme="dark"] .mpl-pro .mpl-plan,html[data-pro-theme="dark"] .mpl-pro .mpl-method{background:#101c36;box-shadow:none}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero{background-color:#eaf3ff}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-card,html[data-pro-theme="dark"] .mpl-pro .mpl-hero.mpl-card{background-color:#eaf3ff}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .btn.outline,html[data-pro-theme="dark"] .mpl-pro .mpl-change{background:#fff;color:#0b63f6;border-color:#0b63f6}
html[data-pro-theme="dark"] .mpl-pro .mpl-plan.is-current{background:#13284f;border-color:#6aa6ff}
html[data-pro-theme="dark"] .mpl-pro .mpl-head-ico{background:#16315f;color:#8bbcff}
html[data-pro-theme="dark"] .mpl-pro .mpl-box{background:#0d1830}
html[data-pro-theme="dark"] .mpl-pro .mpl-table th,html[data-pro-theme="dark"] .mpl-pro .mpl-matrix thead th{background:#14264a;color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-table td,html[data-pro-theme="dark"] .mpl-pro .mpl-matrix th,html[data-pro-theme="dark"] .mpl-pro .mpl-matrix td,html[data-pro-theme="dark"] .mpl-pro .mpl-facts div{border-color:#22355a}
html[data-pro-theme="dark"] .mpl-pro .mpl-matrix tbody th,html[data-pro-theme="dark"] .mpl-pro .mpl-facts dt,html[data-pro-theme="dark"] .mpl-pro .mpl-use-body small,html[data-pro-theme="dark"] .mpl-pro .mpl-plan-list li,html[data-pro-theme="dark"] .mpl-pro .mpl-rules li p{color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-matrix .is-current{background:#13284f}
html[data-pro-theme="dark"] .mpl-pro .mpl-use-card:hover{background:#15264a}
html[data-pro-theme="dark"] .mpl-pro .mpl-bar{background:#22355a}
html[data-pro-theme="dark"] .mpl-pro .mpl-chip{background:#123f2b;color:#8fe3b4}
html[data-pro-theme="dark"] .mpl-pro .mpl-chip.is-warn{background:#493a10;color:#ffd978}
html[data-pro-theme="dark"] .mpl-pro .mpl-chip.is-bad{background:#472024;color:#ff9d94}
html[data-pro-theme="dark"] .mpl-pro .mpl-chip.is-info,html[data-pro-theme="dark"] .mpl-pro .mpl-chip.is-grey{background:#16315f;color:#a9cbff}
html[data-pro-theme="dark"] .mpl-pro .mpl-state{color:#6fe3a0}html[data-pro-theme="dark"] .mpl-pro .mpl-state.is-warn{color:#ffd978}html[data-pro-theme="dark"] .mpl-pro .mpl-state.is-bad{color:#ff9d94}html[data-pro-theme="dark"] .mpl-pro .mpl-state.is-grey{color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-gold .mpl-kpi-ico{background:#4a3a10}html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-blue .mpl-kpi-ico,html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-violet .mpl-kpi-ico,html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-blue{background:#16315f;color:#8bbcff}
html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-ok .mpl-kpi-ico,html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-green{background:#123f2b;color:#6fe3a0}
html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-warn .mpl-kpi-ico,html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-amber{background:#493a10;color:#ffd978}
html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-bad .mpl-kpi-ico{background:#472024;color:#ff9d94}html[data-pro-theme="dark"] .mpl-pro .mpl-kpi.is-grey .mpl-kpi-ico,html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-grey{background:#22355a;color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-violet{background:#2c2150;color:#c4a7ff}html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-teal{background:#0e3a37;color:#6fe0d3}html[data-pro-theme="dark"] .mpl-pro .mpl-use-ico.is-rose{background:#4a1f2c;color:#ff9db3}
html[data-pro-theme="dark"] .mpl-pro .mpl-method-ico{background:#16315f;color:#8bbcff}
html[data-pro-theme="dark"] .mpl-pro .mpl-soon{background:#14264a;color:#c5d3ee}html[data-pro-theme="dark"] .mpl-pro .mpl-soon b{color:#9fb0d0}
html[data-pro-theme="dark"] .mpl-pro .mpl-plans-note{background:#14264a;color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-plan-cta{background:#1a2c52;color:#a9b9d6}html[data-pro-theme="dark"] .mpl-pro .mpl-plan-cta.is-current{background:#1d3a6e;color:#cfe1ff}
html[data-pro-theme="dark"] .mpl-pro .mpl-banner-ico{background:#16315f;color:#8bbcff}html[data-pro-theme="dark"] .mpl-pro .mpl-banner.is-pitch .mpl-banner-ico{background:#4a3a10;color:#ffd978}
html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-sub,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-muted,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-fine,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-banner p,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-plan>p{color:#9fb0d0}
html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-hero .mpl-sub,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-hero .mpl-muted{color:#667691}
html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-price,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-price b{color:#0b1b3d}
html[data-pro-theme="dark"] .mpl-pro .mpl-base summary b,html[data-pro-theme="dark"] .mpl-pro .mpl-hero h2{color:inherit}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero h2{color:#0b1b3d}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-desc,html[data-pro-theme="dark"] body[data-page="panel"] .mpl-pro .mpl-desc{color:#2f4468}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-ben-ico{background:#e3efff;color:#0b63f6}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-benefits small{color:#667691}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-cancel{color:#0b63f6}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero .mpl-link{color:#0b63f6}

html[data-pro-theme="dark"] .mpl-pro .mpl-hero{color:#0b1b3d}
html[data-pro-theme="dark"] .mpl-pro .mpl-hero b,html[data-pro-theme="dark"] .mpl-pro .mpl-hero strong{color:#0b1b3d}
html[data-pro-theme="dark"] .mpl-pro .portal-plan-notice,html[data-pro-theme="dark"] .mpl-pro .mpl-notices>*{background:#101c36;border-color:#26385c;color:#c5d3ee;box-shadow:none}
html[data-pro-theme="dark"] .mpl-pro .portal-plan-notice strong,html[data-pro-theme="dark"] .mpl-pro .mpl-notices strong,html[data-pro-theme="dark"] .mpl-pro .mpl-notices h3{color:#e8eefc}
html[data-pro-theme="dark"] .mpl-pro .mpl-notices p,html[data-pro-theme="dark"] .mpl-pro .mpl-notices small,html[data-pro-theme="dark"] .mpl-pro .mpl-notices span{color:#c5d3ee}
html[data-pro-theme="dark"] .mpl-pro .mpl-notices .btn{background:#2b6fe8;border-color:#2b6fe8;color:#fff}
html[data-pro-theme="dark"] .mpl-pro .mpl-notices .btn.outline{background:transparent;border-color:#4f7fd1;color:#8bbcff}
html[data-pro-theme="dark"] .mpl-pro .mpl-notices a,html[data-pro-theme="dark"] .mpl-pro .mpl-notices button:not(.btn){color:#8bbcff}

/* Notificaciones push (tarjeta compartida con el portal del cliente): solo cambian sus variables de color. */
html[data-pro-theme="dark"] .cp-push{--pu-ink:#e8eefc;--pu-mute:#a9b9d6;--pu-line:#26385c;--pu-bg:#101c36;--pu-soft:#16294d;--pu-main:#2b6fe8;--pu-ok:#34d17a;--pu-okbg:#0f2a1c;--pu-off:#9fb0cf;--pu-offbg:#1b2a47;--pu-err:#ff9a92}
html[data-pro-theme="dark"] .cp-push .cp-push-switch{background:#3a4a69}
html[data-pro-theme="dark"] .cp-push .cp-push-switch[aria-checked="true"]{background:#2b6fe8}
html[data-pro-theme="dark"] .cp-push .cp-push-ico{color:#9ec2ff}

/* Ruta del día (app): solo cambian sus variables y lo que no sale de ellas. */
html[data-pro-theme="dark"] .rn{--rn-card:#101c36;--rn-soft:#16294d;--rn-line:#26385c;--rn-ink:#e8eefc;--rn-text:#c5d3ee;--rn-muted:#a9b9d6;--rn-blue:#6aa6ff;--rn-bluebg:#16294d;--rn-ok:#4ade80;--rn-okbg:#0f2a1c;--rn-warn:#fbbf5a;--rn-warnbg:#33260e;--rn-bad:#ff8a80;--rn-badbg:#3a1618;--rn-warn-tx:var(--rn-warn);--rn-bad-tx:var(--rn-bad);--rn-vio:#b79cff;--rn-viobg:#2a1f4d;--rn-shadow:none}
html[data-pro-theme="dark"] .rn .rn-cta{background:#2b6fe8!important;box-shadow:none}
html[data-pro-theme="dark"] .rn .rn-shot-btn{background:#2b6fe8!important}
html[data-pro-theme="dark"] .rb-pill.is-new{background:#2b6fe8;color:#fff}
html[data-pro-theme="dark"] .rn .rn-bar i{background:linear-gradient(90deg,#2b6fe8,#5aa2ff)}
html[data-pro-theme="dark"] .rn .rn-comments textarea{background:#0b1429}
html[data-pro-theme="dark"] .rn-bar-link{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .rn-bar-link .btn{background:#e8eefc;color:#0b1b3d;border-color:#e8eefc}

/* Inicio de la app: solo cambian sus variables de color y la barra inferior. */
html[data-pro-theme="dark"] .ah,html[data-pro-theme="dark"] .ag,html[data-pro-theme="dark"] .fz,html[data-pro-theme="dark"] .qt,html[data-pro-theme="dark"] .cf,html[data-pro-theme="dark"] .cf-catalog{--ah-card:#101c36;--ah-line:#26385c;--ah-soft:#16294d;--ah-ink:#e8eefc;--ah-text:#c5d3ee;--ah-muted:#a9b9d6;--ah-blue:#6aa6ff;--ah-blue-soft:#16294d;--ah-green:#4ade80;--ah-green-soft:#0f2a1c;--ah-orange:#fbbf5a;--ah-orange-soft:#33260e;--ah-purple:#b79cff;--ah-purple-soft:#241b45;--ah-red:#ff9a92;--ah-red-soft:#3a1a1a;--ah-shadow:none}
html[data-pro-theme="dark"] .ah .ah-bar i{background:linear-gradient(90deg,#2b6fe8,#5aa2ff)}
html[data-pro-theme="dark"] .ah .ah-btn{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .ag .ag-go,html[data-pro-theme="dark"] .ah .ah-kpi-go,html[data-pro-theme="dark"] .ah .ah-row-go{color:#7f93b8}
html[data-pro-theme="dark"] .app-brand span,html[data-pro-theme="dark"] .app-brand{color:#e8eefc}html[data-pro-theme="dark"] .app-brand b,html[data-pro-theme="dark"] .app-brand .icon{color:#6aa6ff}html[data-pro-theme="dark"] .app-brand small{color:#a9b9d6}
html[data-pro-theme="dark"] .pro-shell[data-app] .pro-mnav.is-app{background:#0a1226;border-top-color:#26385c;box-shadow:0 -8px 24px rgba(0,0,0,.4)}
html[data-pro-theme="dark"] .pro-shell[data-app] .pro-mnav.is-app button{color:#a9b9d6}
html[data-pro-theme="dark"] .pro-shell[data-app] .pro-mnav.is-app button.active{color:#6aa6ff}
html[data-pro-theme="dark"] .pro-top.is-app{border-bottom:1px solid #26385c;box-shadow:none}
html[data-pro-theme="dark"] .app-title h1{color:#e8eefc!important}html[data-pro-theme="dark"] .app-title p{color:#a9b9d6}html[data-pro-theme="dark"] .app-title .ah-date{--ah-card:#101c36;--ah-line:#26385c;--ah-ink:#e8eefc;--ah-muted:#a9b9d6;--ah-blue:#6aa6ff;--ah-shadow:none}html[data-pro-theme="dark"] .ah-date b{color:#e8eefc}html[data-pro-theme="dark"] .ah-date small{color:#a9b9d6}html[data-pro-theme="dark"] .ah-date .icon{color:#6aa6ff}html[data-pro-theme="dark"] .ah-cta{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .ag-tabs button.is-on,html[data-pro-theme="dark"] .ag-day.is-sel{background:#2b6fe8;border-color:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .fz-btn.is-primary{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .qt-tabs button i,html[data-pro-theme="dark"] .ar-chips button i{background:rgba(106,166,255,.18)}
html[data-pro-theme="dark"] .ar-chips button.is-on{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .am-grid{--ah-card:#101c36;--ah-line:#26385c;--ah-soft:#16294d;--ah-ink:#e8eefc;--ah-muted:#a9b9d6;--ah-blue:#6aa6ff;--ah-blue-soft:#16294d}
html[data-pro-theme="dark"] .cf-in::placeholder{color:#6f84a8}
html[data-pro-theme="dark"] .cf-btn.is-primary{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .cf-step.is-on i{box-shadow:none}
html[data-pro-theme="dark"] .cf-card.is-on{box-shadow:0 0 0 3px rgba(106,166,255,.18)}
html[data-pro-theme="dark"] .cf-seg button.is-on{background:#16294d;box-shadow:none}
html[data-pro-theme="dark"] .cf-cat-tabs button.is-on{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .modal.cf-modal .ps-actions{background:var(--pd-surface)}
html[data-pro-theme="dark"] .cf-man-msg.is-ok{color:#34d17a}
html[data-pro-theme="dark"] .cf-man-msg.is-bad{color:#ff8a80}
html[data-pro-theme="dark"] .cf-real-txt small{color:#8fbaff}
html[data-pro-theme="dark"] .cf-switch{background:#3a4d73}
html[data-pro-theme="dark"] .cf-auto.is-on .cf-switch,html[data-pro-theme="dark"] .cf-chip.is-on,html[data-pro-theme="dark"] .cf-season-head em{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .cf-season.is-high .cf-season-ico{background:rgba(245,166,35,.16);color:#f5b95a}
html[data-pro-theme="dark"] .cf-season.is-now,html[data-pro-theme="dark"] .cf-auto.is-on{border-color:#6aa6ff}
html[data-pro-theme="dark"] .hs{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--head:#16233f;--sel:#162a4d;--shadow:none;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--info:#9ec2ff;--info-bg:#16294d;--mute-bg:#1b2a47}
html[data-pro-theme="dark"] .hs .hs-row:hover{background:#16233f}
html[data-pro-theme="dark"] .hs .hs-kpi.hs-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f)}
html[data-pro-theme="dark"] .hs .hs-export,html[data-pro-theme="dark"] .hs .hs-view,html[data-pro-theme="dark"] .hs .hs-act{border-color:#34518a}
html[data-pro-theme="dark"] .hs .hs-act.is-primary{border-color:var(--pd-blue);background:#2b6fe8;color:#fff}
html[data-pro-theme="dark"] .hs .hs-go{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .hs .hs-kico.is-blue{background:#16294d;color:#9ec2ff}
html[data-pro-theme="dark"] .hs .hs-kico.is-violet{background:#251c47;color:#c3b0ff}
html[data-pro-theme="dark"] .hs .hs-kico.is-sky{background:#12304a;color:#7cc4ff}
html[data-pro-theme="dark"] .hs .hs-kico.is-amber{background:var(--warn-bg);color:#fbbf24}
html[data-pro-theme="dark"] .hs .hs-kico.is-rose{background:#3a1a22;color:#ff9aa0}
html[data-pro-theme="dark"] .hs .hs-check{border-color:#4a5f87;background:#0f1a30}
html[data-pro-theme="dark"] .hs .hs-check.is-on{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .hs .hs-sico{background:color-mix(in srgb,var(--c) 24%,#111c33)}
html[data-pro-theme="dark"] .hs .hs-hero-photo,html[data-pro-theme="dark"] .hs .hs-ph{background:linear-gradient(135deg,#16294d,#1d3a6b)}
html[data-pro-theme="dark"] .hs .hs-ph-empty,html[data-pro-theme="dark"] .hs .hs-ph.is-empty::after{color:#8fb0e6}
html[data-pro-theme="dark"] .hs .hs-menu{box-shadow:0 14px 34px rgba(0,0,0,.5)}
html[data-pro-theme="dark"] .hs .hs-bar{background:#26385c}
html[data-pro-theme="dark"] .hs .hs-bar.is-green u{background:#34d17a}
html[data-pro-theme="dark"] .hs .hs-bar.is-blue u{background:#5b9bff}
html[data-pro-theme="dark"] .hs .hs-steps li::before{background:#1d4a35}
html[data-pro-theme="dark"] .hs .hs-steps li.t-none::before{background:#2b3b5c}
html[data-pro-theme="dark"] .hs .hs-tdot{background:#5d6f90}
html[data-pro-theme="dark"] .hs .hs-steps li.t-ok .hs-tdot{background:#1fa463}
html[data-pro-theme="dark"] .hs .hs-steps li.t-warn .hs-tdot{background:#d98a14}
html[data-pro-theme="dark"] .hs .hs-steps li.t-info .hs-tdot{background:#3a82f7}
html[data-pro-theme="dark"] .hs .hs-steps li.t-none .hs-tdot{background:#4a5f87}
html[data-pro-theme="dark"] .hs .hs-checks .ps-ico{color:#34d17a}
html[data-pro-theme="dark"] .hs .hs-ico,html[data-pro-theme="dark"] .hs .hs-chev{color:#8ea3c4}
html[data-pro-theme="dark"] .hs .hs-kebab{color:#8ea3c4}
html[data-pro-theme="dark"] .hs .hs-kebab:hover{background:#1b2a47}
html[data-pro-theme="dark"] .hs .hs-pager button{background:#0f1a30}
html[data-pro-theme="dark"] .hs .hs-pager button.is-on{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .hs .hs-row.is-active{background:#162a4d}
html[data-pro-theme="dark"] .hs .hs-hero-photo.is-empty .hs-ph-empty{color:#8fb0e6}
html[data-pro-theme="dark"] .phx-daysum{background:#16294d;color:#c5d3ee}
html[data-pro-theme="dark"] .phx-daysum b{color:#e8eefc}
html[data-pro-theme="dark"] .pag .pag-n{box-shadow:0 0 0 2px #101c36}
html[data-pro-theme="dark"] .bl-on-light{display:none}
html[data-pro-theme="dark"] .bl-on-dark{display:inline-block}
/* Inicio de la app con widgets (pro-home-app.css): las tarjetas usan las variables --ah-* (ya oscuras); aquí solo lo que lleva colores propios. */
html[data-pro-theme="dark"] .hm-edit-item{border-color:#3a5f9e;background:rgba(17,28,51,.45)}
html[data-pro-theme="dark"] .hm-actions{background:linear-gradient(180deg,rgba(11,19,36,0),var(--pd-bg) 38%)}
html[data-pro-theme="dark"] .hm-edit-btn{background:var(--pd-surface);border-color:var(--pd-line);color:var(--pd-blue-soft);box-shadow:none}
html[data-pro-theme="dark"] .hm-hoy{background:linear-gradient(160deg,#10408a,#0b2a5e 72%);box-shadow:none}
html[data-pro-theme="dark"] .hm-photo.is-art{background:linear-gradient(160deg,#17356b,#235bb0);color:#9ec2ff}
html[data-pro-theme="dark"] .hm-btn,html[data-pro-theme="dark"] .hm-save{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .hm-tabs button.is-on,html[data-pro-theme="dark"] .hm-addbtn,html[data-pro-theme="dark"] .hm-seg button[aria-pressed="true"]{background:#2b6fe8;border-color:#2b6fe8}
html[data-pro-theme="dark"] .hm-add{border-color:#4c8dff;color:var(--pd-blue-soft)}
html[data-pro-theme="dark"] .hm-start{background:#e8f1ff;color:#0b2a5e}
html[data-pro-theme="dark"] .hm-stop circle{stroke:#101c36}
html[data-pro-theme="dark"] .hm-minus{border-color:var(--pd-bg)}
html[data-pro-theme="dark"] .ag.is-month{--ag-dot-programada:#5aa2ff;--ag-dot-realizada:#4ade80;--ag-dot-en_curso:#b79cff;--ag-dot-atrasada:#fbbf5a;--ag-dot-reprogramada:#ff8a80}
html[data-pro-theme="dark"] .ag-cell.is-sel{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .ag-act.is-primary{background:#2b6fe8;border-color:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .ag-actions{box-shadow:0 8px 24px rgba(0,0,0,.4)}
html[data-pro-theme="dark"] .ag-sico2{background:rgba(255,255,255,.1)}
html[data-pro-theme="dark"] .ag-pick button{background:#101c36;border-color:#26385c}html[data-pro-theme="dark"] .ag-pick b{color:#e8eefc}html[data-pro-theme="dark"] .ag-pick small{color:#a9b9d6}
html[data-pro-theme="dark"] .fz2-card.is-blue{border-color:#2a4b86}
html[data-pro-theme="dark"] .fz2-cico,html[data-pro-theme="dark"] .fz2-cat{color:color-mix(in srgb,var(--c) 55%,#fff)}
html[data-pro-theme="dark"] .fz2-cico{background:color-mix(in srgb,var(--c) 26%,transparent)}
html[data-pro-theme="dark"] .fz2-cat{background:color-mix(in srgb,var(--c) 26%,transparent)}
html[data-pro-theme="dark"] .fz2-tile{background:#16294d}
html[data-pro-theme="dark"] .fz2-ilist li{background:#14284f}
html[data-pro-theme="dark"] .fz2-ilist li.is-warn{background:#33260e}
html[data-pro-theme="dark"] .fz2-ilist li.is-bad{background:#3a1a1a}
html[data-pro-theme="dark"] .pa-tabs button.is-on{background:#2b6fe8;border-color:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .pa-tip{background:#0f2a1c}
html[data-pro-theme="dark"] .pa-oico{background:#33260e}
html[data-pro-theme="dark"] .pa-cgo,html[data-pro-theme="dark"] .pa-oth>.ps-ico{color:#6f84a8}
html[data-pro-theme="dark"] .pa-add{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .cm-list{background:#101c36;border-color:#26385c;box-shadow:0 14px 30px rgba(0,0,0,.5)}
html[data-pro-theme="dark"] .cm-opt{color:#e8eefc}html[data-pro-theme="dark"] .cm-opt small{color:#a9b9d6}
html[data-pro-theme="dark"] .cm-list .cm-opt:hover,html[data-pro-theme="dark"] .cm-list .cm-opt.is-active{background:#16294d}html[data-pro-theme="dark"] .cm-opt.is-current{background:#1c3363}
html[data-pro-theme="dark"] .cm-none{color:#a9b9d6}
html[data-pro-theme="dark"] .ps-invite-text{background:#101a2c;border-left-color:#5b9bff;color:#e6edf8}
/* Cobros y pagos (pro-cobros.css) */
html[data-pro-theme="dark"] .pcb,html[data-pro-theme="dark"] .pnc{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--tint:#14233d;--shadow:none;--green:#4ade80;--green-bg:#12372a;--red:#f87171;--red-bg:#411a1f;--amber:#fbbf24;--amber-bg:#3a2e0a;--info:#7ab0ff;--info-bg:#16294d;--wash:11,20,38}
html[data-pro-theme="dark"] .pcb .pcb-btn.is-primary,html[data-pro-theme="dark"] .pnc .pcb-btn.is-primary,html[data-pro-theme="dark"] .pcb .pcb-tabs .is-on{color:#fff}
html[data-pro-theme="dark"] .pcb .pcb-check{border-color:#3b5380}
html[data-pro-theme="dark"] .pcb .pcb-check[aria-checked="true"]{border-color:var(--blue)}
html[data-pro-theme="dark"] .pcb .pcb-avatar.is-letters{background:linear-gradient(135deg,#1e3a6b,#16294d);color:#9ec3ff}
html[data-pro-theme="dark"] .pcb .pcb-ask{border-color:#2a4676}
html[data-pro-theme="dark"] .pcb .pcb-paper{background:#1b2c4a;border-color:#2a4676;box-shadow:0 8px 20px rgba(0,0,0,.45)}
html[data-pro-theme="dark"] .pcb .pcb-paper i{background:#3a5384}
html[data-pro-theme="dark"] .pcb .pmf-menu-list,html[data-pro-theme="dark"] .pnc .pmf-menu-list{box-shadow:0 12px 30px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pcb .pcb-kpi{background:linear-gradient(135deg,var(--k-bg),var(--card) 140%)}
html[data-pro-theme="dark"] .pnc .pnc-kpi.is-info{--k-ico:#7ab0ff;--k-ico-bg:#16294d}
html[data-pro-theme="dark"] .pnc .pnc-kpi.is-ok{--k-ico:#4ade80;--k-ico-bg:#12372a}
html[data-pro-theme="dark"] .pnc .pnc-kpi.is-bad{--k-ico:#f87171;--k-ico-bg:#411a1f}
html[data-pro-theme="dark"] .pnc .pnc-switch{background:#33466b}
html[data-pro-theme="dark"] .pnc .pnc-switch.is-on{background:var(--pd-blue)}
html[data-pro-theme="dark"] .pnc .pnc-opt.is-on{border-color:#2a4676}
html[data-pro-theme="dark"] .pnc .pnc-block,html[data-pro-theme="dark"] .pnc .pnc-first,html[data-pro-theme="dark"] .pnc .pnc-season{background:#0f1c33;border-color:#243a63}
html[data-pro-theme="dark"] .pnc .pnc-radio{background:#12233f;border-color:#243a63;color:#e6edf9}
html[data-pro-theme="dark"] .pnc .pnc-radio>i{background:#0f1c33;border-color:#5b78a8}
html[data-pro-theme="dark"] .pnc .pnc-radio.is-on{background:#16294d;border-color:var(--pd-blue);box-shadow:inset 0 0 0 1px var(--pd-blue)}
html[data-pro-theme="dark"] .pnc .pnc-radio.is-on>i{border-color:var(--pd-blue)}html[data-pro-theme="dark"] .pnc .pnc-radio.is-on>i::after{background:var(--pd-blue)}
html[data-pro-theme="dark"] .pnc .pnc-radio.is-dis,html[data-pro-theme="dark"] .pnc .pnc-radio:disabled{background:#0f1c33}
html[data-pro-theme="dark"] .pnc .pnc-block>legend,html[data-pro-theme="dark"] .pnc .pnc-first-note,html[data-pro-theme="dark"] .pnc .pnc-season .pnc-sw b{color:#e6edf9}
html[data-pro-theme="dark"] .pnc .pnc-contact{border-color:#2a4676;background:#12233f}
html[data-pro-theme="dark"] .pnc .pnc-pm.is-webpay,html[data-pro-theme="dark"] .pnc .pnc-pm.is-khipu{box-shadow:none}
html[data-pro-theme="dark"] .pnc .pnc-draft{border-color:#2a4676}
html[data-pro-theme="dark"] .pnc .pnc-chat{background:linear-gradient(180deg,#14281f,#10231b)}
html[data-pro-theme="dark"] .pnc .pnc-bubble{background:#1c3a2d;color:#e6f2ea}
html[data-pro-theme="dark"] .pnc .pnc-bubble time{color:#8fb3a0}
html[data-pro-theme="dark"] .pnc .pnc-result li{background:#12372a;color:#86efac}
html[data-pro-theme="dark"] .pnc .pnc-result li.is-bad{background:#411a1f;color:#fca5a5}
html[data-pro-theme="dark"] .pnc .pnc-picklist{box-shadow:0 12px 30px rgba(0,0,0,.55)}
html[data-pro-theme="dark"] .pnc .pnc-field input,html[data-pro-theme="dark"] .pnc .pnc-field select,html[data-pro-theme="dark"] .pnc .pnc-field textarea{background:#0f1c33}
html[data-pro-theme="dark"] .ps-au.is-on{border-color:#24563a;background:linear-gradient(180deg,#10261a,var(--pd-surface) 60%)}
html[data-pro-theme="dark"] .ps-au>p{color:var(--pd-text)}html[data-pro-theme="dark"] .ps-au>p.ps-note,html[data-pro-theme="dark"] .ps-au-events small{color:var(--pd-muted)}
html[data-pro-theme="dark"] .ps-au-events li,html[data-pro-theme="dark"] .ps-au-undo{background:var(--pd-surface);border-color:var(--pd-line)}
html[data-pro-theme="dark"] .ps-au-banner{background:rgba(91,155,255,.1);border-color:rgba(91,155,255,.3);color:var(--pd-text)}

/* Ofertas de trabajo (.jb) */
html[data-pro-theme="dark"] .jb{--navy:var(--pd-ink);--text:var(--pd-text);--muted:var(--pd-muted);--line:var(--pd-line);--blue:var(--pd-blue);--blue-soft:#16294d;--card:var(--pd-surface);--field:#0f1a30;--shadow:none;--sel:#162a4d;--ok:#34d17a;--ok-bg:#0f2a1c;--warn:#fbbf24;--warn-bg:#33270a;--bad:#ff8a80;--bad-bg:#3a1618;--mute-bg:#1b2a47;--rec:#2fa896;--rec-bg:linear-gradient(135deg,#0f2a2a,#12223a)}
html[data-pro-theme="dark"] .jb-hero::after{opacity:.55}
html[data-pro-theme="dark"] .jb-promo{background:linear-gradient(100deg,rgba(11,19,36,.92),rgba(11,19,36,.7))}html[data-pro-theme="dark"] .jb-promo,html[data-pro-theme="dark"] .jb-promo b,html[data-pro-theme="dark"] .jb-promo span{color:#cfe2ff}
html[data-pro-theme="dark"] .jb-kico.is-blue{background:#16294d;color:#9ec2ff}html[data-pro-theme="dark"] .jb-kico.is-green{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .jb-kico.is-rose{background:#3a1a22;color:#ff9aa0}
html[data-pro-theme="dark"] .jb-kpi.jb-skel{background:linear-gradient(90deg,#16233f,#1b2a47,#16233f);background-size:200% 100%}
html[data-pro-theme="dark"] .jb-kpi:hover,html[data-pro-theme="dark"] .jb-card:hover{border-color:#34518a}
html[data-pro-theme="dark"] .jb-card.is-on{border-color:#4a7fe0;box-shadow:0 0 0 2px #1d3b72}
html[data-pro-theme="dark"] .jb-card.is-rec.is-on{box-shadow:0 0 0 2px #1d5a52}
html[data-pro-theme="dark"] .jb-heart{background:#0f1a30;color:#c5d0e4}html[data-pro-theme="dark"] .jb-heart.is-on{color:#ff8a80}
html[data-pro-theme="dark"] .jb-star{background:#0f1a30}
html[data-pro-theme="dark"] .jb-rec{background:#168a52}
html[data-pro-theme="dark"] .jb-badge.is-urgent{background:#3a1f12;color:#ffab80}html[data-pro-theme="dark"] .jb-badge.is-new{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .jb-badge.is-recurring{background:#33270a;color:#fbbf24}
html[data-pro-theme="dark"] .jb-chips .is-blue{background:#16294d;color:#9ec2ff}html[data-pro-theme="dark"] .jb-chips .is-green{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .jb-chips .is-gray{background:#1b2a47;color:#b6c4de}
html[data-pro-theme="dark"] .jb-fit.is-good{background:#0f2a1c;color:#34d17a}html[data-pro-theme="dark"] .jb-fit.is-low{color:#b6c4de}
html[data-pro-theme="dark"] .jb-btn{border-color:#34518a}html[data-pro-theme="dark"] .jb-btn.is-primary{border-color:var(--pd-blue);background:#2b6fe8;color:#fff;box-shadow:none}
html[data-pro-theme="dark"] .jb-go{background:#2b6fe8;box-shadow:none}
html[data-pro-theme="dark"] .jb-hint{border-color:#25406d;background:#12223f}
html[data-pro-theme="dark"] .jb-empty,html[data-pro-theme="dark"] .jb-pick{border-color:#2b3b5c}
html[data-pro-theme="dark"] .jb-ana{border-color:#1d5a3a;background:linear-gradient(180deg,#0f2a1c,#12261f)}html[data-pro-theme="dark"] .jb-ana h4{color:#34d17a}
html[data-pro-theme="dark"] .jb-ana.is-ok{border-color:#5a4713;background:linear-gradient(180deg,#2a2208,#241d09)}html[data-pro-theme="dark"] .jb-ana.is-ok h4{color:#fbbf24}
html[data-pro-theme="dark"] .jb-ana.is-low,html[data-pro-theme="dark"] .jb-ana.is-none{border-color:var(--pd-line);background:#16233f}html[data-pro-theme="dark"] .jb-ana.is-low h4,html[data-pro-theme="dark"] .jb-ana.is-none h4{color:#c5d0e4}
html[data-pro-theme="dark"] .jb-tile{background:#0f1a30;border-color:#25324d}
html[data-pro-theme="dark"] .jb-won,html[data-pro-theme="dark"] .jb-closed{background:#12223f}html[data-pro-theme="dark"] .jb-won{background:#0f2a1c}
html[data-pro-theme="dark"] .jb-chem button{background:#0f1a30}html[data-pro-theme="dark"] .jb-chem button.is-on{background:#16294d}html[data-pro-theme="dark"] .jb-chem button i{background:#0f1a30}
html[data-pro-theme="dark"] .jb-sent{background:#16294d}


/* Visita adicional por confirmar (tercera del mes): el rojo se conserva con fondo translúcido y texto claro. */
html[data-pro-theme="dark"] .ps-visit.is-extra,html[data-pro-theme="dark"] .ps-rstop.is-extra{background:linear-gradient(90deg,rgba(229,25,45,.16),transparent 45%)}
html[data-pro-theme="dark"] .ps-extra-note,html[data-pro-theme="dark"] .ps-route-extra{background:rgba(229,25,45,.14);border-color:rgba(229,25,45,.45);color:#ffd7d3}
html[data-pro-theme="dark"] .ps-route-info-extra{color:#b42318}
html[data-pro-theme="dark"] .pag{--extra-bg:rgba(229,25,45,.22);--extra:#ff6b6b}

/* ---------- Plan gratis: servicios guardados, calculadora y ofertas bloqueadas ---------- */
html[data-pro-theme="dark"] .ppr-form .ppr-lock{background:#2b2208;border-color:#5b4a1f}
html[data-pro-theme="dark"] .ppr-form .ppr-lock-ico{background:#4a3a0f;color:#fbbf24}
html[data-pro-theme="dark"] .ppr-form .ppr-lock b{color:var(--pd-ink)}
html[data-pro-theme="dark"] .ppr-form .ppr-lock small{color:#e3cf9c}
html[data-pro-theme="dark"] .ppr-form .ppr-lock-up,html[data-pro-theme="dark"] .mp .mp-lock-up,html[data-pro-theme="dark"] .jb-lock-up,html[data-pro-theme="dark"] .cz-lock-up,html[data-pro-theme="dark"] .psv-add{color:#0b1324}
html[data-pro-theme="dark"] .psv-add{box-shadow:none}

/* Visita express (etapa 231): la reserva express de «Avisos del cliente» (el campo del asistente, la ficha y la app reutilizan estilos que ya tienen modo oscuro). */
html[data-pro-theme="dark"] .pcn-item-title.is-ex.is-green,html[data-pro-theme="dark"] .pcn-express.is-paid .pcn-i{color:#6fd9a3}
html[data-pro-theme="dark"] .pcn-item-title.is-amber,html[data-pro-theme="dark"] .pcn-express.is-pay .pcn-i,html[data-pro-theme="dark"] .pcn-express.is-refund .pcn-i{color:#f6c56f}
html[data-pro-theme="dark"] .pcn-item-title.is-red,html[data-pro-theme="dark"] .pcn-express.is-clash .pcn-i{color:#ff9a92}
html[data-pro-theme="dark"] .pcn-express.is-closed .pcn-i{color:var(--pd-muted)}
html[data-pro-theme="dark"] .pcn .pcn-express .pcn-ex-amt b{color:var(--pd-text)}
html[data-pro-theme="dark"] .pcn .pcn-express p.pcn-ex-note.is-pay,html[data-pro-theme="dark"] .pcn .pcn-express p.pcn-ex-note.is-refund{background:rgba(245,166,35,.15);color:#f6c56f}
html[data-pro-theme="dark"] .pcn .pcn-express p.pcn-ex-note.is-paid{background:rgba(23,163,94,.15);color:#8fe0b6}
html[data-pro-theme="dark"] .pcn .pcn-express p.pcn-ex-note.is-clash{background:rgba(229,55,47,.18);color:#ffb4ad}
html[data-pro-theme="dark"] .pcn .pcn-express p.pcn-ex-note.is-closed{background:rgba(255,255,255,.07);color:var(--pd-muted)}
/* Reprogramar visita (etapa 297) */
html[data-pro-theme="dark"] .ps-resched-row>span{color:var(--pd-muted)}
