/* PP Design System v3.1 — panel.css (Fase 5, Tarea 14).
   CONSOLIDACION del panel OSCURO. Consume los tokens --pp-panel-* de tokens.css
   (Fase 2) y los componentes .pp-* de components.css (Fase 3). Alcance acotado a
   html[data-pp-theme="dark"]: esta hoja SOLO se encola cuando el tema resuelto es
   oscuro (panel), por lo que no afecta al publico claro (Tarea 13).

   Alcance (Requisito 7 / defectos D1–D6):
   - D3/D5: unifica los "navys casi iguales" a las ~8 superficies --pp-panel-*.
   - D4: como maximo UN nivel de superficie anidada (sin card dentro de card).
   - D1: consolida el contraste de textos secundarios (--pp-panel-text-muted, AA).
   - D2: completa estados hover / focus-visible / disabled de inputs y botones.
   - D6: unifica los inputs del panel en un unico juego de reglas.

   NO cambia estructura, sidebar, navegacion ni funcionamiento de formularios:
   no se tocan selectores de layout del sidebar/nav; solo color, superficie,
   borde, contraste y foco. Mobile First: base movil, mejoras con min-width.
   Sin copy en content:. Sin IDs ni cadenas globales `:not(...) *`.

   !important: solo en PUENTES documentados para vencer los cientos de !important
   y la alta especificidad de v2/child y de la capa legacy de "glass"
   (pp-adifier-glass-foundation.php) mientras v1/v2 sigan cargados. Retiro en
   Fase 7 (antes de 2027-01-31), cuando v1/v2 dejen de cargar. Rollback = apagar
   flags v3 (sin restaurar archivos). */

/* ============================================================
   1) HELPERS .pp-panel-* — superficies canonicas para markup propio nuevo.
   Consumen los tokens del panel; sin !important porque no compiten con terceros.
   ============================================================ */
html[data-pp-theme="dark"] .pp-panel{
  background-color:var(--pp-panel-bg);
  color:var(--pp-panel-text);
  font-family:var(--pp-font-ui);
}
html[data-pp-theme="dark"] .pp-panel__surface{
  background-color:var(--pp-panel-surface);
  border:1px solid var(--pp-panel-border);
  border-radius:var(--pp-radius-card);
  box-shadow:var(--pp-shadow-sm);
  color:var(--pp-panel-text);
  padding:16px;
}
/* Anidacion permitida: un unico nivel; el interior NO vuelve a elevarse. */
html[data-pp-theme="dark"] .pp-panel__surface .pp-panel__surface{
  background-color:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:0;
}
/* ESCALA DE SUPERFICIES (definida una sola vez en tokens.css):
   nivel 1 = --pp-panel-bg (pagina) · nivel 2 = --pp-panel-surface (tarjeta).
   Regla transversal: MAXIMO 2 niveles de superficie. Cuando un tercer nivel es
   imprescindible se usa .pp-panel__surface-2, que se diferencia con BORDE (un
   unico step, consume --pp-panel-surface-2) y NUNCA como otra caja navy completa:
   sin sombra, sin elevacion, mismo fondo que el nivel 2. */
html[data-pp-theme="dark"] .pp-panel__surface-2{
  background-color:var(--pp-panel-surface-2);
  border:1px solid var(--pp-panel-border);
  border-radius:var(--pp-radius-md);
  box-shadow:none;
  padding:12px;
}
html[data-pp-theme="dark"] .pp-panel__title{
  margin:0 0 12px;
  color:var(--pp-panel-text);
  font-weight:var(--pp-font-weight-heading);
  font-size:1.125rem;
  line-height:1.3;
}
html[data-pp-theme="dark"] .pp-panel__muted{color:var(--pp-panel-text-muted);}

/* ============================================================
   2) PUENTE-F5-SURFACE — unifica superficies del panel de Adifier/legacy a los
   tokens --pp-panel-* (D3/D5). Neutraliza el navy translucido + glass/glow de
   pp-adifier-glass-foundation.php. Retiro Fase 7 (< 2027-01-31).
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box,
html[data-pp-theme="dark"] body:not(.wp-admin) .dasboard-chart,
html[data-pp-theme="dark"] body:not(.wp-admin) .profile-advert,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-panel .messages-wrap{
  background:var(--pp-panel-surface) !important;
  border:1px solid var(--pp-panel-border) !important;
  border-radius:var(--pp-radius-card) !important;
  box-shadow:var(--pp-shadow-sm) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  color:var(--pp-panel-text) !important;
}

/* ============================================================
   3) PUENTE-F5-NEST — anti card-dentro-de-card (D4). La caja interior deja de
   ser una segunda superficie elevada: transparente, sin borde ni sombra.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin) .dasboard-chart .white-block-content{
  background-color:transparent !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
}
/* La franja de titulo es el unico realce interno; tono sidebar unificado. */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin) .dasboard-chart .white-block-title{
  background-color:var(--pp-panel-sidebar) !important;
  background-image:none !important;
  color:var(--pp-panel-text) !important;
  border-bottom:1px solid var(--pp-panel-border) !important;
}

/* ============================================================
   4) PUENTE-F5-TEXT — contraste de texto secundario (D1). Texto principal a
   --pp-panel-text; secundario a --pp-panel-text-muted (#CBD5E1, AA sobre oscuro).
   No se transmite informacion solo por color.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block .text-muted,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box .text-muted,
html[data-pp-theme="dark"] body:not(.wp-admin) .profile-advert .text-muted,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block .muted,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block small,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box small{
  color:var(--pp-panel-text-muted) !important;
}

/* ============================================================
   5) PUENTE-F5-INPUT — inputs/selects/textarea del panel a un unico esquema
   oscuro (D6). Complementa PUENTE-F3-INPUT (que es solo tema claro). Sin tocar
   name/atributos/estructura del formulario: solo color/superficie/borde.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]),
html[data-pp-theme="dark"] body:not(.wp-admin) textarea,
html[data-pp-theme="dark"] body:not(.wp-admin) select,
html[data-pp-theme="dark"] body:not(.wp-admin) .form-control,
html[data-pp-theme="dark"] body:not(.wp-admin) .select2-selection{
  background:var(--pp-panel-surface) !important;
  color:var(--pp-panel-text) !important;
  border:1px solid var(--pp-panel-border) !important;
  border-radius:var(--pp-radius-input) !important;
  /* FIX 2026-08-07: sin color-scheme:dark el navegador dibuja el boton nativo
     del <select> (y los pickers de date/time) con su paleta CLARA, lo que
     aparece como un recuadro BLANCO en el borde derecho del campo. Antes solo
     se aplicaba a `.styled-select select`, dejando fuera los select sueltos. */
  color-scheme:dark;
}
html[data-pp-theme="dark"] body:not(.wp-admin) ::placeholder{color:var(--pp-panel-text-muted) !important;opacity:1;}

/* ============================================================
   6) PUENTE-F5-STATE — estados completos de inputs y botones del panel (D2).
   focus-visible con el anillo unico v3; hover/disabled consistentes. No altera
   la logica del control, solo su presentacion.
   ============================================================ */
/* focus-visible unico (azul v3) para controles del panel */
html[data-pp-theme="dark"] body:not(.wp-admin) :where(input,select,textarea,button,a,summary,[tabindex]):focus-visible{
  outline:var(--pp-focus-ring);
  outline-offset:var(--pp-focus-offset);
}
/* input focus: borde de marca ademas del anillo */
html[data-pp-theme="dark"] body:not(.wp-admin) input:focus-visible,
html[data-pp-theme="dark"] body:not(.wp-admin) select:focus-visible,
html[data-pp-theme="dark"] body:not(.wp-admin) textarea:focus-visible,
html[data-pp-theme="dark"] body:not(.wp-admin) .form-control:focus-visible{
  border-color:var(--pp-panel-primary) !important;
}
/* input disabled: legible, no depende solo del color */
html[data-pp-theme="dark"] body:not(.wp-admin) input[disabled],
html[data-pp-theme="dark"] body:not(.wp-admin) select[disabled],
html[data-pp-theme="dark"] body:not(.wp-admin) textarea[disabled],
html[data-pp-theme="dark"] body:not(.wp-admin) .form-control[disabled]{
  opacity:.6 !important;
  cursor:not-allowed !important;
  background:var(--pp-panel-bg) !important;
}
/* boton primario del panel (Adifier "enviar") — hover/disabled coherentes */
html[data-pp-theme="dark"] body:not(.wp-admin) .af-button.submit-form,
html[data-pp-theme="dark"] body:not(.wp-admin) .submit-ajax-form{
  background:var(--pp-panel-primary) !important;
  border:1px solid var(--pp-panel-primary) !important;
  color:var(--pp-white) !important;
  box-shadow:none !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .af-button.submit-form:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .submit-ajax-form:hover{
  background:var(--pp-panel-primary-hover) !important;
  border-color:var(--pp-panel-primary-hover) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .af-button.submit-form[disabled],
html[data-pp-theme="dark"] body:not(.wp-admin) .submit-ajax-form[disabled]{
  opacity:.55 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
}

/* ============================================================
   7) PUENTE-F5-DASHBOARD — regla TRANSVERSAL "fondos sobre fondos" aplicada UNA
   sola vez a TODO el dashboard de usuario (feedback usuario): publicacion,
   perfil, favoritos, mis anuncios, dashboard general (+ facturas/resenas por
   coherencia). Resuelve los hasta 4 niveles navy casi identicos imponiendo
   MAXIMO 2 superficies: fondo de pagina (--pp-panel-bg) + tarjeta
   (--pp-panel-surface). El contenido interior se aplana (no es un 3er nivel) y
   la franja de titulo es el unico realce (un step, --pp-panel-sidebar).

   Estos selectores REPLICAN los page-scoped de la capa legacy de glass
   (pp-adifier-glass-foundation.php, especificidad (0,5,2)) y le suman el prefijo
   html[data-pp-theme="dark"] para GANAR la cascada por especificidad, no por
   orden. Sin esto, la consolidacion generica (seccion 2) no vence a las reglas
   por-pantalla del glass y el panel seguiria mostrando navys apilados.
   Retiro Fase 7 (< 2027-01-31), al desactivar el glass legacy del panel. */
/* Nivel 2 — unica tarjeta por seccion (sin glass/glow ni navy translucido). */
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .author-panel .white-block,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-profile-screen .author-panel .white-block,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-favorites-screen .author-panel > .white-block.white-block-extra-padding,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-invoices-screen .author-panel > .white-block.white-block-extra-padding,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-reviews-screen .author-panel > .white-block.white-block-extra-padding,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-invoice-detail-screen .author-panel > .white-block,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-ads-screen .author-panel > .white-block.white-block-extra-padding,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-dashboard-screen .dashboard-box,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-dashboard-screen .dasboard-chart{
  background:var(--pp-panel-surface) !important;
  border:1px solid var(--pp-panel-border) !important;
  border-radius:var(--pp-radius-card) !important;
  box-shadow:var(--pp-shadow-sm) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  color:var(--pp-panel-text) !important;
}
/* Nivel 3 prohibido: el contenido interior se aplana (transparente, sin sombra). */
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-profile-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-favorites-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-invoices-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-reviews-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-invoice-detail-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-ads-screen .author-panel .white-block-content,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-dashboard-screen .dasboard-chart .white-block-content{
  /* F7: el shorthand background transparente ya fija background-color y
     background-image a la misma especificidad; se retiran los dos longhands
     redundantes sin perder autoridad de cascada. (-2 marcas de peso) */
  background:transparent !important;
  box-shadow:none !important;
}
/* Franja de titulo — unico realce interno (un step al tono sidebar). */
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .author-panel .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-profile-screen .author-panel .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-favorites-screen .author-panel > .white-block.white-block-extra-padding .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-invoices-screen .author-panel > .white-block.white-block-extra-padding .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-reviews-screen .author-panel > .white-block.white-block-extra-padding .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-ads-screen .author-panel > .white-block.white-block-extra-padding .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-dashboard-screen .dasboard-chart .white-block-title{
  /* F7: el shorthand background ya resetea background-image a none; se retira el
     longhand redundante. (-1 marca de peso) */
  background:var(--pp-panel-sidebar) !important;
  border-bottom:1px solid var(--pp-panel-border) !important;
  box-shadow:none !important;
  color:var(--pp-panel-text) !important;
}

/* ============================================================
   8) PUENTE-F5-FORM — formulario de publicacion (caso concreto del feedback:
   "Datos principales", "Categoria de la propiedad", "Ubicacion de la propiedad y
   contacto"). La reduccion de anidacion y la unificacion de inputs/selects ya la
   cubren las secciones 5 (INPUT), 6 (STATE) y 7 (DASHBOARD). Aqui se resuelve
   SOLO el contenedor de piezas de terceros: el mapa embebido (Google) y los
   controles de Adifier NO se editan; se ajusta unicamente el borde/radio del
   contenedor que los rodea, sin tocar el iframe, el canvas ni el interior de
   select2. Retiro Fase 7 (< 2027-01-31). */
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .adifier-map,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .map-holder,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .images-uploader,
html[data-pp-theme="dark"] body:not(.wp-admin).pp-advert-form-screen .terms-wrap{
  background:var(--pp-panel-surface) !important;
  border:1px solid var(--pp-panel-border) !important;
  border-radius:var(--pp-radius-md) !important;
  box-shadow:none !important;
  overflow:hidden !important;
}

/* ============================================================
   9) Mejora Mobile First (min-width) — solo sobre helpers propios .pp-panel*;
   NO altera la estructura de las superficies existentes del panel.
   ============================================================ */
@media (min-width:768px){
  html[data-pp-theme="dark"] .pp-panel__surface{padding:24px;}
  html[data-pp-theme="dark"] .pp-panel__surface-2{padding:16px;}
}

/* ============================================================
   10) ASISTENTE PP EN PANEL OSCURO
   Contraste AA y superficie coherente sin editar AI Engine.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin)
 :is(.mwai-window,.mwai-chatbot,.mwai-conversation){
  --mwai-fontColor:var(--pp-panel-text,#F5F8FB);
  --mwai-backgroundPrimaryColor:#2563EB;
  --pp-assistant-text-dark:var(--pp-panel-text,#F5F8FB);
  --pp-assistant-muted-dark:var(--pp-panel-text-muted,#C2D4E4);
}
html[data-pp-theme="dark"] body:not(.wp-admin) .mwai-conversation
 :is(.mwai-reply,.mwai-text,.mwai-name,p){
  color:var(--pp-assistant-text-dark,#F5F8FB) !important;
  -webkit-text-fill-color:var(--pp-assistant-text-dark,#F5F8FB) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin)
 :is(.mwai-conversation .mwai-reply.mwai-ai,.mwai-conversation .mwai-ai .mwai-bubble){
  background:var(--pp-card,#ffffff);
  border:1px solid var(--pp-panel-border,#2D5F7A) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) :is(.mwai-widget,.mwai-window){
  z-index:900 !important;
}

/* ============================================================
   11) CIERRE 3.1.9 - SELECTS DEL PANEL
   El tema Adifier dibuja la flecha con .styled-select::after y le asigna
   background:#fff. En el panel oscuro eso generaba los bloques blancos
   observados en Mis publicaciones y Publicar. Se conserva el control nativo,
   pero el indicador pasa a usar la misma superficie y contraste del panel.
   Tambien se completan los estados cerrados/abiertos de Select2.

   FIX 2026-08-07: el pseudo-elemento original del tema es position:absolute con
   dimensiones de 44px de alto y background blanco. Si solo se forzaban 16x16 sin
   resetear position/top/height, el area remanente del pseudo-elemento seguia
   pintando el fondo blanco original. Se agrega position:absolute explicito,
   top:auto, height fijo, y font-size:0 para anular cualquier icono de fuente.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) .styled-select::after{
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  right:14px !important;
  width:16px !important;
  height:16px !important;
  background-color:transparent !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23CBD5E1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:16px 16px !important;
  border:0 !important;
  line-height:16px !important;
  text-align:center !important;
  font-size:0 !important;
  color:transparent !important;
  z-index:3 !important;
  pointer-events:none !important;
  box-shadow:none !important;
  -webkit-text-fill-color:transparent !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) .styled-select select{
  color-scheme:dark;
  padding-right:44px !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) .styled-select select option,
html[data-pp-theme="dark"] body:not(.wp-admin) .select2-dropdown{
  background:var(--pp-card,#ffffff);
  color:var(--pp-panel-text,#F5F8FB) !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-selection--single .select2-selection__arrow{
  background:transparent !important;
  border:0 !important;
}
/* FIX: cuadro blanco en select2 del panel — el tema Adifier pone
   .select2-selection__arrow::after con background:#fff y 32x30px.
   Se resetea a transparente con el mismo chevron SVG del .styled-select. */
html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-selection--single .select2-selection__arrow::after,
html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-selection--single .select2-selection__arrow:after{
  background:transparent !important;
  background-color:transparent !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23CBD5E1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:16px 16px !important;
  width:32px !important;
  height:100% !important;
  color:transparent !important;
  font-size:0 !important;
  -webkit-text-fill-color:transparent !important;
  border:0 !important;
}


html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-selection--single .select2-selection__arrow b{
  border-color:var(--pp-panel-text-muted,#C2D4E4) transparent transparent !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default.select2-container--open
 .select2-selection--single .select2-selection__arrow b{
  border-color:transparent transparent var(--pp-panel-text-muted,#C2D4E4) !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin)
 :is(.select2-search__field,.select2-results__option){
  background:var(--pp-card,#ffffff);
  color:var(--pp-panel-text,#F5F8FB) !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-results__option[aria-selected="true"]{
  background:var(--pp-card,#ffffff);
}

html[data-pp-theme="dark"] body:not(.wp-admin)
 .select2-container--default .select2-results__option--highlighted[aria-selected]{
  background:var(--pp-panel-primary,#2563EB) !important;
  color:var(--pp-white,#fff) !important;
}

/* ============================================================
   12) FOOTER EN PANEL OSCURO
   El footer PP (.pp-footer) tiene border-top: 1px solid var(--pp-color-border)
   y background: var(--pp-card,#ffffff);
  background:var(--pp-card,#ffffff);
}

html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__divider{
  border-top-color:var(--pp-panel-border,#334155) !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__tagline,
html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__copy,
html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__nav-list a,
html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__social-link{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer .pp-footer__nav-title{
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* ============================================================
   13) SCROLL-TO-TOP vs ASISTENTE PP — SOLAPAMIENTO
   Dos botones de "volver arriba" pueden existir en el panel:
   - .to_top (Adifier nativo)
   - .hfe-scroll-to-top-button (Header Footer Elementor)
   Ambos se posicionan en fixed bottom-right y se superponen con el boton
   del Asistente PP (.pp-ai-chat). Se mueven por encima del asistente y se
   les da superficie coherente con el panel oscuro.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) .hfe-scroll-to-top-button,
html[data-pp-theme="dark"] body:not(.wp-admin) .to_top{
  bottom:90px !important;
  right:24px !important;
  width:40px !important;
  height:40px !important;
  background:var(--pp-card,#ffffff);
  border:1px solid var(--pp-panel-border,#334155) !important;
  border-radius:999px !important;
  box-shadow:var(--pp-shadow-md) !important;
  z-index:99998 !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) .hfe-scroll-to-top-button i,
html[data-pp-theme="dark"] body:not(.wp-admin) .hfe-scroll-to-top-button svg,
html[data-pp-theme="dark"] body:not(.wp-admin) .to_top i,
html[data-pp-theme="dark"] body:not(.wp-admin) .to_top svg{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  font-size:14px !important;
}

/* ============================================================
   14) CUADRO BLANCO EN SELECTS DEL PANEL (cierre 2026-08-07)
   Causa raiz: el recuadro blanco al borde derecho de los <select> del panel
   NO es .styled-select::after (esa regla ya fuerza background transparent en
   pp-rendimiento-light-mode.php). Es el BOTON NATIVO del control, que el
   navegador pinta con la paleta clara cuando el elemento no declara
   color-scheme:dark.

   Se refuerza aqui a nivel de elemento y, para los select envueltos por el
   tema, se neutraliza el fondo del contenedor .styled-select para que no
   aporte una superficie clara detras del indicador.
   ============================================================ */
html[data-pp-theme="dark"] body:not(.wp-admin) :is(select,input,textarea){
  color-scheme:dark !important;
}

html[data-pp-theme="dark"] body:not(.wp-admin) .styled-select{
  position:relative !important;
  background:var(--pp-card,#ffffff);
  background-image:none !important;
  border-radius:var(--pp-radius-input,10px) !important;
  overflow:hidden !important;
}

/* El indicador nativo se oculta y queda solo el chevron dibujado por el tema,
   evitando dos flechas superpuestas. */
html[data-pp-theme="dark"] body:not(.wp-admin) .styled-select select::-ms-expand{
  display:none !important;
}


/* ============================================================
   15) BLOQUE 2 — SIDEBAR ENTERPRISE SUTIL (2026-08-07)
   Objetivo: sidebar mas limpia, sin bordes pesados, hovers translucidos,
   item activo con indicador lateral sutil. Avatar con ring fino.
   NO toca layout/posicion/width — solo color, borde, hover, transiciones.
   ============================================================ */

/* --- Fondo sidebar: token, sin borde derecho duro --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .scroll-content{
  background:var(--pp-card,#ffffff);
  border-right:none !important;
  border-color:transparent !important;
}

/* --- Separador sutil entre sidebar y contenido (sombra en vez de borde) --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar{
  box-shadow:1px 0 0 0 var(--pp-panel-border,#2E3E50) !important;
}

/* --- Avatar: ring fino enterprise --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-image,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-image img{
  border:2px solid var(--pp-panel-border,#2E3E50) !important;
  box-shadow:0 0 0 3px rgba(37,99,235,.15) !important;
  border-radius:50% !important;
}

/* --- Nombre y link perfil --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-name{
  color:var(--pp-panel-text,#F8FAFC) !important;
  font-weight:600 !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar a[href*="perfil"],
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-view-profile{
  color:var(--pp-panel-primary,#2563EB) !important;
  opacity:.85;
  transition:opacity .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar a[href*="perfil"]:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-view-profile:hover{
  opacity:1;
}

/* --- Iconos sociales superiores: ghost style --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-social a,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .social-icons a{
  background:transparent !important;
  border:1px solid var(--pp-panel-border,#2E3E50) !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  border-radius:8px !important;
  transition:all .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-social a:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .social-icons a:hover{
  background:rgba(37,99,235,.1) !important;
  border-color:var(--pp-panel-primary,#2563EB) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Boton Publicar: menos saturado, transicion --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .af-button.submit-form,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .sidebar-publish-btn,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar a.af-button{
  background:var(--pp-panel-primary,#2563EB) !important;
  border:none !important;
  border-radius:10px !important;
  color:#fff !important;
  font-weight:600 !important;
  transition:background .15s ease, box-shadow .15s ease !important;
  box-shadow:0 2px 8px rgba(37,99,235,.25) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .af-button.submit-form:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .sidebar-publish-btn:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar a.af-button:hover{
  background:var(--pp-panel-primary-hover,#1D4ED8) !important;
  box-shadow:0 4px 14px rgba(37,99,235,.35) !important;
}

/* --- Menu items: hover translucido, sin background solido --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .scroll-content .author-sidebar-list li a{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  background:transparent !important;
  border-radius:8px !important;
  border-left:3px solid transparent !important;
  transition:all .15s ease !important;
  padding-left:14px !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a:hover{
  background:rgba(248,250,252,.04) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Item activo: indicador lateral azul + texto claro --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li.active a,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li.current-menu-item a{
  border-left-color:var(--pp-panel-primary,#2563EB) !important;
  background:rgba(37,99,235,.08) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
  font-weight:500 !important;
}

/* --- Iconos del menu: heredan color del link --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a i,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a svg{
  color:inherit !important;
  opacity:.7;
  transition:opacity .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a:hover i,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li a:hover svg,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li.active a i,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-sidebar .author-sidebar-list li.active a svg{
  opacity:1;
}


/* ============================================================
   16) BLOQUE 3 — TARJETAS, PILLS Y ESTADOS VACIOS (2026-08-07)
   Cards mas limpias, sin sombra inset pesada. Pills ghost con activo sutil.
   Estado vacio con icono atenuado y borde punteado enterprise.
   NO toca layout ni estructura — solo color, borde, sombra, transicion.
   ============================================================ */

/* --- Cards: borde mas suave, sombra limpia, sin inset --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box,
html[data-pp-theme="dark"] body:not(.wp-admin) .dasboard-chart{
  border:1px solid var(--pp-panel-border,#2E3E50) !important;
  border-radius:var(--pp-radius-card,16px) !important;
  box-shadow:0 2px 8px rgba(15,23,42,.18) !important;
  overflow:hidden !important;
}

/* --- Franja titulo: mas sutil, solo border-bottom fino --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-box .white-block-title,
html[data-pp-theme="dark"] body:not(.wp-admin) .dasboard-chart .white-block-title{
  background:var(--pp-card,#ffffff);
  background-image:none !important;
  border-bottom:1px solid var(--pp-panel-border,#2E3E50) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
  padding:14px 20px !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title h3,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title h4,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .title{
  font-size:15px !important;
  font-weight:600 !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
  margin:0 !important;
}

/* --- Pills de filtro: ghost default, activo sutil --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .af-button,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .nav-pills a,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .filter-tabs a,
html[data-pp-theme="dark"] body:not(.wp-admin) .pp-panel-toolbar .af-button{
  background:transparent !important;
  border:1px solid var(--pp-panel-border,#2E3E50) !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  border-radius:8px !important;
  padding:6px 14px !important;
  font-size:12px !important;
  font-weight:500 !important;
  transition:all .15s ease !important;
  text-decoration:none !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .af-button:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .nav-pills a:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .filter-tabs a:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .pp-panel-toolbar .af-button:hover{
  background:rgba(248,250,252,.05) !important;
  border-color:var(--pp-panel-text-muted,#CBD5E1) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .af-button.active,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .nav-pills .active a,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-title .filter-tabs a.active,
html[data-pp-theme="dark"] body:not(.wp-admin) .pp-panel-toolbar .af-button.active{
  background:rgba(37,99,235,.12) !important;
  border-color:var(--pp-panel-primary,#2563EB) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
  font-weight:600 !important;
}

/* --- Contenido de la card: padding generoso --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content{
  padding:20px !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Estado vacio: icono atenuado, borde punteado, mas enterprise --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-results,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .empty-state,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-items{
  border:1px dashed var(--pp-panel-border,#2E3E50) !important;
  border-radius:12px !important;
  background:var(--pp-card,#ffffff);
  padding:48px 24px !important;
  text-align:center !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-results i,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-results svg,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .empty-state i,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .empty-state svg,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-items i{
  opacity:.5 !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-results p,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .empty-state p,
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block-content .no-items p{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  font-size:14px !important;
  margin:12px 0 0 !important;
}

/* --- Tablas dentro de cards (facturas, propiedades) --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block table th{
  background:var(--pp-card,#ffffff);
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  font-size:12px !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
  letter-spacing:.4px !important;
  border-bottom:1px solid var(--pp-panel-border,#2E3E50) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block table td{
  border-bottom:1px solid rgba(46,62,80,.4) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
  font-size:14px !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .white-block table tr:hover td{
  background:rgba(248,250,252,.02) !important;
}


/* ============================================================
   17) BLOQUE 4 — HEADER DEL PANEL ENTERPRISE (2026-08-07)
   Nav pills mas limpia (ghost, sin fondo pesado). Boton Publicar
   refinado. Icono usuario sutil. Border-bottom fino de separacion.
   NO toca layout/posicion/height — solo color, borde, transiciones.
   ============================================================ */

/* --- Header: fondo sidebar, separacion con border-bottom fino --- */
html[data-pp-theme="dark"] body:not(.wp-admin) header.author-header,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header{
  background:var(--pp-card,#ffffff);
  border-bottom:1px solid var(--pp-panel-border,#2E3E50) !important;
  box-shadow:none !important;
}

/* --- Logo en header --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .logo-text,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .site-logo-text{
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Nav pills: fondo transparente, items ghost --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap > ul{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap ul li a,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header nav a{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  background:transparent !important;
  border:none !important;
  border-radius:8px !important;
  padding:7px 14px !important;
  font-size:13px !important;
  font-weight:500 !important;
  transition:all .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap ul li a:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header nav a:hover{
  color:var(--pp-panel-text,#F8FAFC) !important;
  background:rgba(248,250,252,.05) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap ul li.active a,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .navigation-wrap ul li.current-menu-item a{
  color:var(--pp-panel-text,#F8FAFC) !important;
  background:rgba(37,99,235,.1) !important;
}

/* --- Boton Publicar en header: limpio, con transicion --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .af-button,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header a.af-button{
  background:var(--pp-panel-primary,#2563EB) !important;
  color:#fff !important;
  border:none !important;
  border-radius:9px !important;
  font-weight:600 !important;
  font-size:13px !important;
  padding:9px 18px !important;
  box-shadow:0 2px 8px rgba(37,99,235,.2) !important;
  transition:background .15s ease, box-shadow .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .af-button:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header a.af-button:hover{
  background:var(--pp-panel-primary-hover,#1D4ED8) !important;
  box-shadow:0 4px 12px rgba(37,99,235,.3) !important;
}

/* --- Icono usuario / hamburguesa: ghost sutil --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .pp-header__author-sidebar-btn,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .small-sidebar-open,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .user-icon-btn{
  background:transparent !important;
  border:1px solid var(--pp-panel-border,#2E3E50) !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  border-radius:8px !important;
  transition:all .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .pp-header__author-sidebar-btn:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .small-sidebar-open:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .user-icon-btn:hover{
  background:rgba(248,250,252,.05) !important;
  border-color:var(--pp-panel-text-muted,#CBD5E1) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Notificacion badge (si existe) --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .notification-badge,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-header .badge{
  background:var(--pp-error,#DC2626) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:700 !important;
  border-radius:999px !important;
  min-width:18px !important;
  height:18px !important;
  line-height:18px !important;
}


/* ============================================================
   18) BLOQUE 5 — FONDO BODY LIMPIO, SIN GLOW/GLASS (2026-08-07)
   Elimina los gradientes radiales y el efecto "glass/glow" del legacy
   que hace el panel parecer IA/gaming. Fondo solido sutil enterprise.
   Neutraliza body::before (particulas/glow) y background-attachment.
   NO toca layout ni funcionalidad — solo fondo, glow, particulas.
   ============================================================ */

/* --- Body: fondo solido del token, sin gradientes --- */
html[data-pp-theme="dark"] body:not(.wp-admin){
  background:var(--pp-card,#ffffff);
  background-image:none !important;
  background-attachment:scroll !important;
}

/* --- Eliminar el glow/particulas del glass legacy (body::before) --- */
html[data-pp-theme="dark"] body:not(.wp-admin)::before{
  content:none !important;
  display:none !important;
  background:none !important;
  filter:none !important;
  animation:none !important;
}

/* --- Eliminar particulas SVG ambientales si existen --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .pp-home-ambient-particle,
html[data-pp-theme="dark"] body:not(.wp-admin) .pp-home-ambient-network{
  display:none !important;
}

/* --- Neutralizar radial-gradients del glass foundation --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .dashboard-wrap,
html[data-pp-theme="dark"] body:not(.wp-admin) .author-panel{
  background:transparent !important;
  background-image:none !important;
}

/* --- HTML: sin background-image de gradiente tampoco --- */
html[data-pp-theme="dark"]{
  background:var(--pp-card,#ffffff);
  background-image:none !important;
  background-attachment:scroll !important;
}


/* ============================================================
   19) BLOQUE 6 — FOOTER, SCROLL-TO-TOP Y POLISH (2026-08-07)
   Footer coherente con el nuevo panel sutil. Scroll-to-top ghost.
   Transiciones globales suaves para interactividad enterprise.
   ============================================================ */

/* --- Footer: fondo coherente, separacion fina --- */
html[data-pp-theme="dark"] body:not(.wp-admin) footer,
html[data-pp-theme="dark"] body:not(.wp-admin) footer.pp-footer{
  background:var(--pp-card,#ffffff);
  border-top:1px solid var(--pp-panel-border,#2E3E50) !important;
  box-shadow:none !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__copy,
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__tagline,
html[data-pp-theme="dark"] body:not(.wp-admin) footer p,
html[data-pp-theme="dark"] body:not(.wp-admin) footer small{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) footer a,
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__nav-list a,
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__social-link{
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  transition:color .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) footer a:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__nav-list a:hover{
  color:var(--pp-panel-text,#F8FAFC) !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__nav-title{
  color:var(--pp-panel-text,#F8FAFC) !important;
  font-weight:600 !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) footer .pp-footer__divider{
  border-top-color:var(--pp-panel-border,#2E3E50) !important;
}

/* --- Scroll-to-top: ghost enterprise --- */
html[data-pp-theme="dark"] body:not(.wp-admin) .to_top,
html[data-pp-theme="dark"] body:not(.wp-admin) .hfe-scroll-to-top-button{
  background:var(--pp-card,#ffffff);
  border:1px solid var(--pp-panel-border,#2E3E50) !important;
  border-radius:10px !important;
  color:var(--pp-panel-text-muted,#CBD5E1) !important;
  box-shadow:0 2px 8px rgba(15,23,42,.2) !important;
  transition:all .15s ease !important;
}
html[data-pp-theme="dark"] body:not(.wp-admin) .to_top:hover,
html[data-pp-theme="dark"] body:not(.wp-admin) .hfe-scroll-to-top-button:hover{
  background:var(--pp-card,#ffffff);
  border-color:var(--pp-panel-text-muted,#CBD5E1) !important;
  color:var(--pp-panel-text,#F8FAFC) !important;
}

/* --- Transiciones globales suaves para links y botones del panel --- */
html[data-pp-theme="dark"] body:not(.wp-admin) a,
html[data-pp-theme="dark"] body:not(.wp-admin) button,
html[data-pp-theme="dark"] body:not(.wp-admin) .af-button{
  transition:color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease !important;
}

/* --- Scrollbar sutil para el panel oscuro --- */
html[data-pp-theme="dark"] body:not(.wp-admin) ::-webkit-scrollbar{
  width:8px;
  height:8px;
}
html[data-pp-theme="dark"] body:not(.wp-admin) ::-webkit-scrollbar-track{
  background:var(--pp-card,#ffffff);
}
html[data-pp-theme="dark"] body:not(.wp-admin) ::-webkit-scrollbar-thumb{
  background:var(--pp-card,#ffffff);
  border-radius:4px;
}
html[data-pp-theme="dark"] body:not(.wp-admin) ::-webkit-scrollbar-thumb:hover{
  background:var(--pp-panel-text-muted,#CBD5E1);
}

/* --- Selection color coherente --- */
html[data-pp-theme="dark"] body:not(.wp-admin) ::selection{
  background:rgba(37,99,235,.3);
  color:var(--pp-panel-text,#F8FAFC);
}


/* PP-USER-DASHBOARD-LIGHT-20260909
 * Presentation only. Keep the existing private-panel asset routing and markup.
 * Owner author pages already receive data-pp-theme=dark; scope this light palette
 * to their body, never wp-admin or public author profiles (theme=light).
 */
html[data-pp-theme="dark"]:has(> body.author:not(.wp-admin):not(#pp-glass-foundation-never-match)),
html[data-pp-theme="dark"] > body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) {
  color-scheme: light !important;
  --pp-panel-bg:#f8fafc; --pp-panel-sidebar:#fff;
  --pp-panel-surface:#fff; --pp-panel-surface-2:#f1f5f9;
  --pp-panel-border:#e2e8f0; --pp-panel-text:#111827;
  --pp-panel-text-muted:#475569;
  --pp-bg:#f8fafc; --pp-sidebar:#fff; --pp-card:#fff;
  --pp-border:#e2e8f0; --pp-text:#111827; --pp-text-muted:#475569;
  --pp-color-bg:#f8fafc !important; --pp-color-background:#f8fafc !important;
  --pp-color-surface:#fff !important; --pp-color-surface-raised:#fff !important;
  --pp-color-page-header:#fff !important;
  --pp-color-text:#111827 !important; --pp-color-text-muted:#475569 !important;
  --pp-color-border:#e2e8f0 !important; --pp-color-border-subtle:#e2e8f0 !important;
  --pp-color-border-hover:#64748b !important;
  --pp-color-on-brand:#fff; --pp-color-text-inverse:#fff;
  --pp-shadow-sm:0 1px 2px rgba(15,23,42,.04);
  --pp-shadow-md:0 1px 3px rgba(15,23,42,.05);
  --pp-shadow-lg:0 4px 12px rgba(15,23,42,.08);
  background:#f8fafc !important;
  color:#111827 !important;
}
/* Flat surfaces, including the user card shown above the navigation. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar,.author-sidebar .scroll-content,.author-sidebar .user-details,.author-header,.white-block-title,.dashboard-box,.dasboard-chart,.messages-wrap,.modal-content,.dropdown-menu,.select2-dropdown) {
  background:#fff !important;
  border-color:#e2e8f0 !important;
  color:#111827 !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar .user-details :is(h5,.author-name,.author-details) {
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar .user-details a {
  color:#1d4ed8 !important;
  -webkit-text-fill-color:#1d4ed8 !important;
  opacity:1 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar .user-details-list a {
  background:#f1f5f9 !important;
  border-color:#e2e8f0 !important;
  box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar :is(.author-sidebar-title,.author-view-profile) {
  color:#475569 !important;
  opacity:1 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar .author-sidebar-list li:not(.user-details) a {
  color:#334155 !important;
  background:transparent !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar .author-sidebar-list li:not(.user-details):is(.active,:hover) a {
  background:#eff6ff !important;
  color:#1d4ed8 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(input,select,textarea,.form-control,.select2-selection) {
  color-scheme:light !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.images-uploader,.image-upload-placeholder,.upload-placeholder,.messages-list,.message-content,.conversation,.table thead,.table-striped tbody tr:nth-of-type(odd)) {
  background:#f8fafc !important;
  border-color:#e2e8f0 !important;
  color:#334155 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.styled-select::after,.select2-container--default .select2-selection--single .select2-selection__arrow:after) {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
/* No animated color changes or hover elevation. Preserve drawer transforms,
 * loading indicators and the existing visibility/interaction rules. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar,.author-header,.author-panel,.pp-footer),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar,.author-header,.author-panel,.pp-footer) *,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar,.author-header,.author-panel,.pp-footer) *::before,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar,.author-header,.author-panel,.pp-footer) *::after {
  transition-property:none !important;
  text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.dashboard-box,.profile-advert,.white-block,.user-details-list a,.pp-sidebar-publish,.af-button):hover {
  transform:none !important;
  box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.author-sidebar .author-image,.author-sidebar .author-image img,.author-sidebar .af-button,.author-sidebar .pp-sidebar-publish) {
  box-shadow:none !important;
}
/* Explicit action colors survive the general sidebar link rules. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-sidebar :is(a.af-button,a.pp-sidebar-publish,a.sidebar-publish-btn),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-dashboard-empty-cta {
  background:#2563eb !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
/* Match the existing legacy specificity bridge without changing any IDs. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(.white-block,.dashboard-box,.dasboard-chart,.profile-advert,.messages-wrap) {
 background:#fff !important; border-color:#e2e8f0 !important;
 box-shadow:0 1px 3px rgba(15,23,42,.05) !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .dashboard-box::after {
 content:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(.white-block-content,.white-block-title,.messages-left,.messages-right,.messages-header,.messages-footer,.conversation-filters-wrap,.message-listing,.messages-window-wrap) {
 background:#fff !important; color:#111827 !important;
 border-color:#e2e8f0 !important; box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(h1,h2,h3,h4,h5,h6,p,label,legend,th,td,.author-no-listing,.messages-no),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .dashboard-box h5 :is(span,strong,em,a),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .white-block-title :is(h1,h2,h3,h4,h5,h6,span,strong) {
 color:#111827 !important; -webkit-text-fill-color:#111827 !important;
 text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(.dash-footer,.text-muted,small,.description) {
 color:#475569 !important; -webkit-text-fill-color:#475569 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(input:not([type=submit]):not([type=button]),select,textarea,.select2-selection__rendered) {
 background:#fff !important; color:#111827 !important;
 -webkit-text-fill-color:#111827 !important; border-color:#e2e8f0 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel ::placeholder {
 color:#64748b !important; -webkit-text-fill-color:#64748b !important;opacity:1 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-header__logo,.pp-footer__logo) img {
 content:url('/wp-content/uploads/pp-brand/3.0.0/logos/pp-logo-header-wordmark-20260907.svg');
}

/* PP-DASHBOARD-CONTRAST-20260909: dynamic duration controls and form help. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-duration-note,.pp-duration-current,.pp-duration-credit-label,.pp-package-duration) {
 color:#334155 !important; -webkit-text-fill-color:#334155 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-duration-note {
 background:#f1f5f9 !important; border-color:#cbd5e1 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-duration-note strong {
 color:#1e293b !important; -webkit-text-fill-color:#1e293b !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-duration-credit-option {
 background:#fff !important; border-color:#94a3b8 !important;
 color:#334155 !important; -webkit-text-fill-color:#334155 !important;
 box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-duration-credit-option:is(.is-active,[aria-pressed="true"]) {
 background:#dbeafe !important; border-color:#2563eb !important;
 color:#1e40af !important; -webkit-text-fill-color:#1e40af !important;
 box-shadow:inset 0 0 0 1px #2563eb !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .adverts-filter .list-inline li.active a {
 background:#dbeafe !important; border-color:#2563eb !important;
 color:#1e40af !important; -webkit-text-fill-color:#1e40af !important;
}
/* PP-DASHBOARD-COHERENCE-20260909: complete component palettes, presentation only. */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-highlight-tools,.pp-referral-panel,.packages-purchase .price-table) {
 background:#fff !important; border-color:#e2e8f0 !important; color:#111827 !important; box-shadow:0 1px 3px rgba(15,23,42,.05) !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-highlight-explainer,.pp-referral-benefit,.pp-referral-stat,.pp-referral-code) {
 background:#f8fafc !important; border-color:#e2e8f0 !important; color:#334155 !important; box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-highlight-tools,.pp-referral-panel) :is(h3,p,span,strong,label,li),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-explainer,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-result,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-code {
 color:#334155 !important; -webkit-text-fill-color:#334155 !important; text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-panel :is(h3,strong),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-tools h3 {
 color:#111827 !important; -webkit-text-fill-color:#111827 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-tools :is(input,select),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-link {
 background:#fff !important; border-color:#cbd5e1 !important; color:#111827 !important; -webkit-text-fill-color:#111827 !important; color-scheme:light !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-tools :is(input,select):disabled {
 background:#f1f5f9 !important; color:#475569 !important; -webkit-text-fill-color:#475569 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-tools .pp-highlight-pay,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-panel .pp-referral-button,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-messages-empty-cta,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-dashboard-empty-cta,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .purchase-pack {
 background:#2563eb !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border-color:#2563eb !important; box-shadow:none !important; text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-tools .pp-highlight-pay:hover,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-panel .pp-referral-button:hover,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-messages-empty-cta:hover,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .purchase-pack:hover {
 background:#1d4ed8 !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase :is(.pt-price,.pt-price *,.pt-content,.pt-content li,.pp-benefits li,.pp-duration) {
 color:#334155 !important; -webkit-text-fill-color:#334155 !important; text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .pt-price {
 color:#111827 !important; -webkit-text-fill-color:#111827 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .pp-badge-popular {
 background:#dcfce7 !important; color:#166534 !important; -webkit-text-fill-color:#166534 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .pp-benefits li::before,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-highlight-benefits li::before {
 color:#15803d !important; -webkit-text-fill-color:#15803d !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert :is(.profile-advert-expire,.profile-advert-views,.icon-caption,.price,.price *,.pp-current-price) {
 color:#334155 !important; -webkit-text-fill-color:#334155 !important; text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .action a,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .action a i {
 background:#eff6ff !important; color:#1d4ed8 !important; -webkit-text-fill-color:#1d4ed8 !important; border-color:#bfdbfe !important; box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .action :is(.remove-favorites,.profile-delete-advert),
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .action :is(.remove-favorites,.profile-delete-advert) i {
 background:#fff1f2 !important; color:#be123c !important; -webkit-text-fill-color:#be123c !important; border-color:#fecdd3 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .action .icon-caption {
 background:transparent !important; color:#475569 !important; -webkit-text-fill-color:#475569 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert :is(.profile-advert-cats a,.pp-user-operation-badge) {
 background:#eff6ff !important; color:#1d4ed8 !important; -webkit-text-fill-color:#1d4ed8 !important; border-color:#bfdbfe !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-messages-empty-icon,.pp-dashboard-empty-icon) {
 background:#eff6ff !important; color:#1d4ed8 !important; -webkit-text-fill-color:#1d4ed8 !important; border-color:#bfdbfe !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-messages-empty-icon,.pp-dashboard-empty-icon) svg {
 color:#1d4ed8 !important; stroke:currentColor !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) :is(.pp-highlight-badge,.pp-highlight-featured,.pp-user-highlight-badge) {
 background:#fef3c7 !important; color:#92400e !important; -webkit-text-fill-color:#92400e !important; border-color:#fcd34d !important; box-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel :is(.mce-panel,.mce-edit-area,.mce-toolbar-grp,.mce-statusbar,.wp-editor-container) {
 background:#fff !important; border-color:#e2e8f0 !important; color:#334155 !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .status { background:#f1f5f9 !important; color:#334155 !important; -webkit-text-fill-color:#334155 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .status.live { background:#dcfce7 !important; color:#166534 !important; -webkit-text-fill-color:#166534 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .status:is(.pending,.pending-update) { background:#fef3c7 !important; color:#92400e !important; -webkit-text-fill-color:#92400e !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .packages-purchase .pt-title { background:transparent !important; box-shadow:none !important; }

/* PP-DASHBOARD-COHERENCE-DETAILS-20260909 */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .price,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .profile-advert .price * { opacity:1 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-publish-referral-field { background:#f8fafc !important; border-color:#e2e8f0 !important; color:#334155 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-publish-referral-message { color:#475569 !important; -webkit-text-fill-color:#475569 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-ok .pp-publish-referral-message { color:#166534 !important; -webkit-text-fill-color:#166534 !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-referral-error .pp-publish-referral-message { color:#b91c1c !important; -webkit-text-fill-color:#b91c1c !important; }
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .pp-publish-referral-check { background:#2563eb !important; color:#fff !important; -webkit-text-fill-color:#fff !important; box-shadow:none !important; }

/* PP-DASHBOARD-FINAL-CONTRAST-20260909 */
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .author-no-listing .pp-empty-action,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .author-no-listing .pp-empty-action:is(:hover,:focus-visible) {
 background:#1d4ed8 !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
 border-color:#1d4ed8 !important; opacity:1 !important; box-shadow:none !important; text-shadow:none !important;
}
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .profile-advert .price,
html[data-pp-theme="dark"] body.author:not(.wp-admin):not(#pp-glass-foundation-never-match) .author-panel .profile-advert .price * {
 color:#111827 !important; -webkit-text-fill-color:#111827 !important;
 opacity:1 !important; text-shadow:none !important;
}
