/* ROCKET CRM V3.919 — Century visual tokens: Century y Dark Century exclusivamente.
   El tema ROCKET / Dark Rocket no se modifica.
   Mantener rojo (error), verde (exito) y colores de advertencia semanticos. */

html[data-brand-theme="modern"]{
  --blue: #ae8a47;
  --blue-dark: #927139;
  --blue-soft: rgba(174,138,71,.13);
  --blue-ink: #826129;
}
html[data-brand-theme="modern"][data-theme="dark"]{
  --blue: #ae8a47;
  --blue-dark: #927139;
  --blue-soft: rgba(174,138,71,.19);
  --blue-ink: #d5b77f;
}
/* Las marcas visuales de ROCKET siguen azules en ROCKET claro/oscuro. */

/* Dashboard: barras, tarjetas, enlaces y botones activos. */
html[data-brand-theme="modern"] .dashboard-kpi:hover,
html[data-brand-theme="modern"] .dashboard-header-icon:hover:not(:disabled),
html[data-brand-theme="modern"] .dashboard-header-profile:hover{
  border-color:color-mix(in srgb,var(--gold) 33%,var(--line));
}
html[data-brand-theme="modern"] .dashboard-kpi:hover{
  box-shadow:0 10px 28px color-mix(in srgb,var(--gold) 9%,transparent);
}
html[data-brand-theme="modern"] .dashboard-period button[aria-pressed="true"]{
  box-shadow:0 5px 12px color-mix(in srgb,var(--gold) 24%,transparent);
}
html[data-brand-theme="modern"] .dashboard-profile-avatar{
  background:linear-gradient(145deg,var(--gold),var(--gold-dark));
}
html[data-brand-theme="modern"] .dashboard-stage-track i{
  background:linear-gradient(90deg,var(--gold-dark),#d0b077);
}
html[data-brand-theme="modern"] .dashboard-conversion{
  border-color:color-mix(in srgb,var(--gold) 32%,var(--line));
  background:color-mix(in srgb,var(--gold) 7%,var(--surface));
}
html[data-brand-theme="modern"] .dashboard-header-badge{
  box-shadow:0 0 0 2px var(--surface),0 2px 6px color-mix(in srgb,var(--gold) 26%,transparent);
}

/* Dashboard: Geo + ID mantienen el barrido animado y pulso; solo cambia la paleta. */
html[data-brand-theme="modern"] :is(.dashboard-geo-search,.dashboard-mobile-id-search) input{
  border-color:transparent;
  background:
    linear-gradient(var(--surface),var(--surface)) padding-box,
    linear-gradient(100deg,#927139 0%,#ae8a47 26%,#cfaa69 42%,#f4ddb2 50%,#cfaa69 58%,#ae8a47 74%,#927139 100%) border-box;
  background-size:100% 100%,240% 100%;
  animation:rocket-dashboard-search-border-loading 2.35s linear infinite,
    rocket-century-search-pulse 1.75s ease-in-out infinite;
}
html[data-brand-theme="modern"] :is(.dashboard-geo-search,.dashboard-mobile-id-search):focus-within input{
  border-color:transparent;
  animation:rocket-dashboard-search-border-loading 1.45s linear infinite,
    rocket-century-search-pulse-focus 1.25s ease-in-out infinite;
}
html[data-brand-theme="modern"] :is(.dashboard-geo-search,.dashboard-mobile-id-search) button{
  color:var(--gold);
}
@keyframes rocket-century-search-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(174,138,71,.05),0 2px 8px rgba(25,43,72,.025)}
  50%{box-shadow:0 0 0 3px rgba(174,138,71,.14),0 0 14px rgba(174,138,71,.20)}
}
@keyframes rocket-century-search-pulse-focus{
  0%,100%{box-shadow:0 0 0 2px rgba(174,138,71,.14),0 0 10px rgba(174,138,71,.17)}
  50%{box-shadow:0 0 0 4px rgba(174,138,71,.19),0 0 18px rgba(174,138,71,.25)}
}
@media (prefers-reduced-motion:reduce){
  html[data-brand-theme="modern"] :is(.dashboard-geo-search,.dashboard-mobile-id-search) input,
  html[data-brand-theme="modern"] :is(.dashboard-geo-search,.dashboard-mobile-id-search):focus-within input{
    animation:none;
    border-color:var(--gold);
    background:var(--surface);
    box-shadow:0 0 0 2px rgba(174,138,71,.15);
  }
}

/* AMC: foco, valoración, comparables y botones. */
html[data-brand-theme="modern"] .amc-search-row input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 24%,transparent);
}
html[data-brand-theme="modern"] .amc-valuation-stats>div.is-primary{
  background:color-mix(in srgb,var(--gold) 8%,var(--surface));
}
html[data-brand-theme="modern"] .amc-valuation-range article.is-competitive{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold) 14%,transparent);
}
html[data-brand-theme="modern"] .amc-save-state[data-kind="info"]{
  border-color:color-mix(in srgb,var(--gold) 42%,transparent);
  background:color-mix(in srgb,var(--gold) 7%,var(--surface));
}

/* Contabilidad, checkbox y controles nativos dentro de la identidad Century. */
html[data-brand-theme="modern"] input[type="checkbox"],
html[data-brand-theme="modern"] input[type="radio"]{
  accent-color:var(--gold);
}
html[data-brand-theme="modern"] #accountingSearchZone :is(input,select):focus-visible{
  outline-color:var(--gold);
}

/* Calendario: convertir exclusivamente el acento azul heredado; los eventos
   de leads (verde) y estados de error/sincronizacion mantienen semantica. */
html[data-brand-theme="modern"] .accounting-status-control input{
  accent-color: var(--blue);
}

html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > :is(
    #accountingYearFilter,
html[data-brand-theme="modern"] #accountingMonthFilter,
html[data-brand-theme="modern"] #accountingStatusFilter,
html[data-brand-theme="modern"] #accountingAdvisorFilter,
html[data-brand-theme="modern"] #accountingResetFiltersButton,
html[data-brand-theme="modern"] #accountingRefreshButton
  ){
  border: 1px solid var(--blue-dark) !important;
  background-color: var(--blue) !important;
}

html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > :is(
    #accountingYearFilter,
html[data-brand-theme="modern"] #accountingMonthFilter,
html[data-brand-theme="modern"] #accountingStatusFilter,
html[data-brand-theme="modern"] #accountingAdvisorFilter,
html[data-brand-theme="modern"] #accountingResetFiltersButton,
html[data-brand-theme="modern"] #accountingRefreshButton
  ):hover:not(:disabled){
  background-color: var(--blue-dark) !important;
}

html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > :is(
    #accountingYearFilter,
html[data-brand-theme="modern"] #accountingMonthFilter,
html[data-brand-theme="modern"] #accountingStatusFilter,
html[data-brand-theme="modern"] #accountingAdvisorFilter,
html[data-brand-theme="modern"] #accountingResetFiltersButton,
html[data-brand-theme="modern"] #accountingRefreshButton
  ):focus-visible,
html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > :is(
    #accountingYearFilter,
html[data-brand-theme="modern"] #accountingMonthFilter,
html[data-brand-theme="modern"] #accountingStatusFilter,
html[data-brand-theme="modern"] #accountingAdvisorFilter
  ):focus{
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 22.0%, transparent) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-new{
  border-color: var(--blue) !important;
  background: var(--blue) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-new:hover{
  background: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-icon-button:hover{
  border-color: var(--blue);
  color: var(--blue);
  background: color-mix(in srgb,var(--blue) 8%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-view-switch button[aria-current="true"]{
  background: var(--blue);
  box-shadow: 0 2px 8px color-mix(in srgb,var(--blue) 22.0%, transparent);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-link-button{
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-spinner{
  border: 3px solid color-mix(in srgb,var(--blue) 18%,transparent);
  border-top-color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-error button{
  border: 1px solid var(--blue);
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-empty-icon{
  background: color-mix(in srgb,var(--blue) 12%,var(--surface));
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-day-cell.is-selected{
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--blue) 45%,transparent);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-day-cell.is-today{
  background: color-mix(in srgb,var(--blue) 5%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-day-cell.is-today .rocket-calendar-day-head>button:first-child{
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-day-add:hover{
  background: color-mix(in srgb,var(--blue) 10%,var(--surface));
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-event{
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb,var(--blue) 10%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-event.is-team{
  border-left-color: var(--blue);
  background: color-mix(in srgb,var(--blue) 11%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-more{
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-schedule-head>button.is-today strong{
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-day-lane.is-today{
  background-color: color-mix(in srgb,var(--blue) 3%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-hour-slot:hover{
  background: color-mix(in srgb,var(--blue) 5%,transparent);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-timed-event{
  border: 1px solid color-mix(in srgb,var(--blue) 50%,transparent);
  border-left: 4px solid var(--blue);
  background: color-mix(in srgb,var(--blue) 88%,var(--gold-dark));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-day>header button{
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-row{
  border-left: 4px solid var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-row.is-team{
  border-left-color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-row time{
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-mini-grid button.is-selected{
  background: color-mix(in srgb,var(--blue) 14%,var(--surface));
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-mini-grid button.is-today{
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-upcoming-dot{
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-upcoming-item.is-team .rocket-calendar-upcoming-dot{
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-sync-icon{
  background: color-mix(in srgb,var(--blue) 12%,var(--surface));
  color: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-event.is-team{
  border-left-color: var(--blue) !important;
  background: color-mix(in srgb,var(--blue) 11%,var(--surface)) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-timed-event.is-team{
  border-color: var(--blue) !important;
  border-left-color: var(--blue) !important;
  background: var(--blue) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-row.is-team{
  border-left-color: var(--blue) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-upcoming-item.is-team .rocket-calendar-upcoming-dot{
  background: var(--blue) !important;
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-row time{
  border: 1px solid color-mix(in srgb,var(--blue) 58%,transparent);
  background: color-mix(in srgb,var(--blue) 14%,var(--surface));
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-day>header button{
  border: 1px solid var(--blue);
  background: var(--blue);
}

html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-day>header button:hover,
html[data-brand-theme="modern"] #calendarView .rocket-calendar-agenda-day>header button:focus-visible{
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

html[data-brand-theme="modern"] #calendarView #calendarRefresh{
  border-color: var(--blue) !important;
  background: var(--blue) !important;
}

html[data-brand-theme="modern"] #calendarView #calendarRefresh:hover{
  border-color: var(--blue-dark) !important;
  background: var(--blue-dark) !important;
}

html[data-brand-theme="modern"] #calendarView #calendarRefresh:focus-visible{
  outline: 2px solid color-mix(in srgb,var(--blue) 42%, transparent);
}

/* Anillos accesibles dorados para acciones de marca. */
html[data-brand-theme="modern"] :is(
  #calendarView .rocket-calendar-new,
  #calendarView .rocket-calendar-view-switch button,
  #calendarView #calendarRefresh,
  #amcView .button,
  .dashboard-period button,
  #accountingSearchZone select
):focus-visible{
  outline:2px solid var(--gold)!important;
  outline-offset:2px;
}


/* ================================================================
   ROCKET V3.920 - Pulido selectivo Century / Dark Century
   Exclusivamente data-brand-theme="modern". NO alterar Rocket.
   ================================================================ */

/* BORRAR FILTROS: rojo y contorno sin relleno, incluso en Contabilidad. */
html[data-brand-theme="modern"] :is(.search-reset-button, .developments-reset, #canvaDriveResetFilters, #accountingResetFiltersButton) {
  border:1px solid #d65a5a!important;
  border-color:#d65a5a!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e05555!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] :is(.search-reset-button, .developments-reset, #canvaDriveResetFilters, #accountingResetFiltersButton):hover:not(:disabled),
html[data-brand-theme="modern"] :is(.search-reset-button, .developments-reset, #canvaDriveResetFilters, #accountingResetFiltersButton):focus-visible {
  border-color:#b83d3d!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e05555!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] :is(.search-reset-button, .developments-reset, #canvaDriveResetFilters, #accountingResetFiltersButton):focus-visible {
  outline:2px solid rgba(214,90,90,.4)!important;
  outline-offset:2px;
}
/* La regla V3.919 de Contabilidad tenía mayor especificidad y recoloreaba reset. */
html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > #accountingResetFiltersButton,
html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > #accountingResetFiltersButton:hover,
html[data-brand-theme="modern"] #accountingSearchZone:not([hidden]) > #accountingResetFiltersButton:focus-visible {
  border:1px solid #d65a5a!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e05555!important;
  box-shadow:none!important;
}

/* Embudo de Captaciones: el icono y su contorno en dorado, sin relleno azul. */
html[data-brand-theme="modern"] #captacionesAdvancedFilterButton:not([hidden]) {
  color:var(--gold)!important;
  border:1px solid var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 8%,var(--surface))!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] #captacionesAdvancedFilterButton:not([hidden]):is(:hover,:focus-visible,[data-active="true"]) {
  border-color:var(--gold-dark)!important;
  color:var(--blue-ink)!important;
  background:color-mix(in srgb,var(--gold) 16%,var(--surface))!important;
}
html[data-brand-theme="modern"] #captacionesAdvancedFilterButton svg {stroke:currentColor!important;}

/* Integraciones: acciones disponibles/deshabilitadas con texto y borde dorados. */
html[data-brand-theme="modern"] #socialNetworksModal .social-connect-button.button-rocket-outline {
  color:var(--blue-ink)!important;
  border:1px solid var(--gold)!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] #socialNetworksModal .social-connect-button.button-rocket-outline:hover:not(:disabled) {
  color:var(--blue-ink)!important;
  border-color:var(--gold-dark)!important;
  background:color-mix(in srgb,var(--gold) 8%,var(--surface))!important;
}
html[data-brand-theme="modern"] #socialNetworksModal .social-connect-button.button-rocket-outline:focus-visible {
  outline:2px solid var(--gold)!important;
  outline-offset:2px;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] #socialNetworksModal .social-connect-button.button-rocket-outline:disabled {
  color:var(--blue-ink)!important;
  border-color:color-mix(in srgb,var(--gold) 45%,var(--line))!important;
  background:transparent!important;
  opacity:.56;
}

/* CANVA: selector tipo, disponibilidad, orden y actualizar; mantener tamaños. */
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone :is(
  #canvaDriveType,#canvaDriveAvailability,#canvaDriveSort,.canva-header-refresh
) {
  border-color:var(--gold-dark)!important;
  background:var(--gold)!important;
  background-color:var(--gold)!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone :is(
  #canvaDriveType,#canvaDriveAvailability,#canvaDriveSort,.canva-header-refresh
):is(:hover,:focus-visible) {
  border-color:var(--gold-dark)!important;
  background:var(--gold-dark)!important;
  background-color:var(--gold-dark)!important;
  color:#fff!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-refresh svg {
  color:#fff!important;
  stroke:currentColor!important;
}
/* Embudo Canva: pictograma dorado y superficie neutra; no confundir con botón borrar. */
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-advanced-filter,
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-compact-filter {
  border-color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 8%,var(--surface))!important;
  color:var(--blue-ink)!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-advanced-filter:is(:hover,:focus-visible,[aria-expanded="true"],[data-active="true"]),
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-compact-filter:is(:hover,:focus-visible,[aria-expanded="true"]) {
  border-color:var(--gold-dark)!important;
  background:color-mix(in srgb,var(--gold) 17%,var(--surface))!important;
  color:var(--blue-ink)!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-advanced-filter svg,
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-compact-filter svg {
  color:var(--blue-ink)!important;
  stroke:currentColor!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-advanced-filter[data-active="true"]::after {
  background:var(--gold)!important;
  border-color:var(--surface)!important;
}

/* FEE: la regla heredada V3.730 usa #0055DD !important. */
html[data-brand-theme="modern"] #feeSearchZone #feeYearFilter,
html[data-brand-theme="modern"] #feeSearchZone .fee-header-button {
  border-color:var(--gold-dark)!important;
  background-color:var(--gold)!important;
  color:#fff!important;
}
html[data-brand-theme="modern"] #feeSearchZone #feeYearFilter:hover,
html[data-brand-theme="modern"] #feeSearchZone .fee-header-button:hover:not(:disabled),
html[data-brand-theme="modern"] #feeSearchZone #feeYearFilter:focus-visible,
html[data-brand-theme="modern"] #feeSearchZone .fee-header-button:focus-visible {
  border-color:var(--gold-dark)!important;
  background-color:var(--gold-dark)!important;
  color:#fff!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 24%,transparent)!important;
}

/* DESARROLLOS: los cuatro dropdowns del header, sin tocar el buscador ni reset. */
html[data-brand-theme="modern"] #developmentsSearchZone :is(
  #developmentsSourceFilter,#developmentsStatusFilter,#developmentsTypologyFilter,#developmentsPriceRangeFilter
) {
  border-color:var(--gold-dark)!important;
  background:var(--gold)!important;
  background-color:var(--gold)!important;
  color:#fff!important;
}
html[data-brand-theme="modern"] #developmentsSearchZone :is(
  #developmentsSourceFilter,#developmentsStatusFilter,#developmentsTypologyFilter,#developmentsPriceRangeFilter
):is(:hover,:focus,:focus-visible) {
  border-color:var(--gold-dark)!important;
  background:var(--gold-dark)!important;
  background-color:var(--gold-dark)!important;
  color:#fff!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 24%,transparent)!important;
}
html[data-brand-theme="modern"] #developmentsSearchZone .developments-search-field input:focus {
  border-color:var(--gold)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 19%,transparent)!important;
}
html[data-brand-theme="modern"] #developmentsView .developments-kicker {color:var(--blue-ink)!important;}
html[data-brand-theme="modern"] #developmentsView .developments-hero {
  background:linear-gradient(135deg,color-mix(in srgb,var(--gold) 14%,var(--surface)),color-mix(in srgb,var(--gold) 3%,var(--surface)) 54%,var(--surface));
}

/* Selecciona uno: conservar exactamente el pulso y su duración, solo dorar. */
html[data-brand-theme="modern"] #developmentsView .developments-project-selector {
  border-color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 7%,var(--surface))!important;
  color:var(--blue-ink)!important;
  animation-name:centuryDevelopmentsProjectPulse;
}
html[data-brand-theme="modern"] #developmentsView .developments-project-button-name {
  color:var(--blue-ink)!important;
}
html[data-brand-theme="modern"] #developmentsView .developments-project-selector:is(:hover,:focus-visible) {
  border-color:var(--gold-dark)!important;
  background:color-mix(in srgb,var(--gold) 13%,var(--surface))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 20%,transparent);
}
html[data-brand-theme="modern"] #developmentsView .developments-project-selector:is([data-has-selection="true"],[aria-expanded="true"]) {
  animation:none!important;
}
@keyframes centuryDevelopmentsProjectPulse {
  0%{box-shadow:0 0 0 0 rgba(174,138,71,.62),0 0 12px rgba(174,138,71,.18)}
  55%{box-shadow:0 0 0 7px rgba(174,138,71,0),0 0 20px rgba(174,138,71,.34)}
  100%{box-shadow:0 0 0 0 rgba(174,138,71,0),0 0 12px rgba(174,138,71,.14)}
}
html[data-brand-theme="modern"] #developmentsView .developments-snapshot:not(.is-warning) {
  border-color:color-mix(in srgb,var(--gold) 60%,transparent)!important;
  background:color-mix(in srgb,var(--gold) 10%,var(--surface))!important;
  color:var(--blue-ink)!important;
}
html[data-brand-theme="modern"] #developmentsView .developments-sync-button {
  border-color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 9%,var(--surface))!important;
  color:var(--blue-ink)!important;
}
html[data-brand-theme="modern"] #developmentsView .developments-sync-button:is(:hover,:focus-visible):not(:disabled) {
  border-color:var(--gold-dark)!important;
  background:color-mix(in srgb,var(--gold) 18%,var(--surface))!important;
  color:var(--blue-ink)!important;
  outline:2px solid color-mix(in srgb,var(--gold) 32%,transparent);
}
/* V3.920 · Resolución de especificidad de :is() legado con múltiples IDs. */
html[data-brand-theme="modern"] #accountingSearchZone#accountingSearchZone:not([hidden]) > #accountingResetFiltersButton#accountingResetFiltersButton#accountingResetFiltersButton,
html[data-brand-theme="modern"] #accountingSearchZone#accountingSearchZone:not([hidden]) > #accountingResetFiltersButton#accountingResetFiltersButton#accountingResetFiltersButton:is(:hover,:focus-visible){
  border:1px solid #d65a5a!important;
  border-color:#d65a5a!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#e05555!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone#canvaDriveHeaderZone .canva-header-advanced-filter,
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone#canvaDriveHeaderZone .canva-header-advanced-filter:is(:hover,:focus-visible,[aria-expanded="true"],[data-active="true"]){
  border:1px solid var(--gold)!important;
  border-color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 11%,var(--surface))!important;
  color:var(--blue-ink)!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone#canvaDriveHeaderZone .canva-header-advanced-filter svg{
  color:var(--blue-ink)!important;
  stroke:currentColor!important;
}

/* =============================================================
 ROCKET V3.921 | Century Light: Desarrollos con superficies claras.
 Reutiliza la solución validada del tema ROCKET Light y cambia SOLO
 los acentos. Dark Century y ROCKET no se modifican.
 ============================================================== */
/* ---------- DESARROLLOS · ROCKET LIGHT ---------- */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView{
  color:var(--ink);
  background:var(--workspace-canvas);
}

html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero{
  border-color:var(--line);
  background:var(--surface);
  box-shadow:none;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kicker{
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero h2,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-section-heading strong{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero p,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-section-heading small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-section-heading > span{
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-snapshot{
  border-color:rgba(174,138,71,.30);
  background:#F5EDDE;
  color:#AE8A47;
}

/* Selector principal */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector{
  border-color:#AE8A47;
  background:#FFFFFF;
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-button-name{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector:hover{
  border-color:#927139;
  background:#F5EDDE;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector:focus-visible{
  border-color:#AE8A47;
  box-shadow:0 0 0 3px rgba(174,138,71,.16);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-menu{
  border-color:var(--line);
  background:#FFFFFF;
  box-shadow:0 18px 42px rgba(28,42,62,.14);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option-name{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option:hover,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option:focus-visible,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option[aria-selected="true"]{
  background:#F5EDDE;
}

/* KPI */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid article{
  border-color:var(--line);
  background:var(--surface);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid span,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView #developmentsPrimarySummaryCard.is-project-card > span{
  color:var(--muted)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid strong,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView #developmentsPrimarySummaryCard.is-project-card > strong{
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView #developmentsPrimarySummaryCard.is-project-card > small{
  color:var(--muted)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-project-meta{
  color:#AE8A47;
}

/* Tarjetas de fuentes */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card{
  border-color:var(--line);
  background:var(--surface);
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card:hover{
  border-color:rgba(174,138,71,.52);
  background:#FCF9F2;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card.is-pending:hover{
  border-color:var(--line);
  background:var(--surface);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card > small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card p{
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-meta{
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-tag{
  background:#F5EDDE;
  color:#AE8A47;
}

/* Inventario y filtros */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-card{
  border-color:var(--line);
  background:var(--surface);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-head{
  border-bottom-color:var(--line);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-head strong{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-head small{
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-readonly-chip{
  border-color:rgba(174,138,71,.28);
  background:#F5EDDE;
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar{
  border-bottom-color:var(--line);
  background:var(--surface);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar input,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar select{
  border-color:var(--line);
  background:#FFFFFF;
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar input::placeholder{
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-search-field svg{
  stroke:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-price-field span{
  color:var(--muted);
}

/* Tabla */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table th{
  border-bottom-color:var(--line);
  background:var(--surface);
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-sort-button{
  color:inherit;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-sort-button:hover{
  background:var(--surface-hover);
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-sort-button[data-active="true"]{
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td{
  border-bottom-color:var(--line);
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td strong{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td small{
  color:var(--muted);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:hover,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:focus{
  background:var(--surface-hover);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-cash-price{
  color:#AE8A47!important;
}

/* Paginación: corrige los !important heredados del módulo dark. */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView > .developments-pagination{
  border-top-color:var(--line)!important;
  background:var(--surface)!important;
  color:var(--muted)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-page-size select{
  border-color:var(--line)!important;
  background:#FFFFFF!important;
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView > .developments-pagination .pagination-button,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView > .developments-pagination #developmentsPaginationPages > button{
  border-color:var(--line)!important;
  background:#FFFFFF!important;
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView > .developments-pagination #developmentsPaginationPages > button.is-active{
  border-color:#AE8A47!important;
  background:#AE8A47!important;
  color:#FFFFFF!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView > .developments-pagination .pagination-button:disabled{
  color:var(--muted)!important;
  opacity:.45!important;
}

/* Nota / estados auxiliares */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-roadmap-note{
  border-color:rgba(174,138,71,.30);
  background:#FCF9F2;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-roadmap-note > span{
  background:#F5EDDE;
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-roadmap-note strong{
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-roadmap-note p,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-empty{
  color:var(--muted);
}

/* Modal de detalle de una unidad */
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-kicker{
  color:#AE8A47;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-summary,
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-grid article,
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-source-note{
  border-color:var(--line);
  background:var(--surface-soft);
  color:var(--ink);
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-summary > small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-grid article > span,
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-source-note > p,
html[data-theme="light"][data-brand-theme="modern"] #developmentsDetailModal .developments-detail-source-note > small{
  color:var(--muted);
}

/* PWA/MOBILE en Rocket Light: evita fondos oscuros heredados. */
@media(max-width:900px){
  html[data-theme="light"][data-brand-theme="modern"] body.rocket-mobile-crm-context #developmentsView .developments-table th{
    background:var(--surface)!important;
    color:var(--muted)!important;
    border-bottom-color:var(--line)!important;
  }
  html[data-theme="light"][data-brand-theme="modern"] body.rocket-mobile-crm-context #developmentsView .developments-table td{
    color:var(--ink)!important;
    border-bottom-color:var(--line)!important;
  }
  html[data-theme="light"][data-brand-theme="modern"] body.rocket-mobile-crm-context #developmentsView .developments-table tr[data-development-unit]{
    background:transparent!important;
  }
}


/* =========================================================
   ROCKET V3.872 · LIGHT MODE DEFINITIVO + COSTOS TOTAL
   Base real: Hostinger V3.867 enviado por el usuario.
   Este bloque queda al final de la hoja y usa !important en
   superficies/colores críticos para neutralizar reglas dark
   heredadas del módulo Desarrollos.
   ========================================================= */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid article,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-card,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card{
  background:#FFFFFF!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero h2,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid strong,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card strong,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-head strong,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td strong{
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero p,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid span,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-grid small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-card p,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-head small,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td small{
  color:var(--muted)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kicker,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-kpi-project-meta,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-source-meta,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-cash-price{
  color:#AE8A47!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-menu,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar input,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-toolbar select,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-page-size select,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-pagination nav>button,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-pagination nav div button{
  background:#FFFFFF!important;
  color:var(--ink)!important;
  border-color:var(--line)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector{
  border-color:#AE8A47!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option-name,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-button-name{
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option:hover,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option:focus-visible,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option[aria-selected="true"]{
  background:#F5EDDE!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table th{
  background:#FFFFFF!important;
  color:var(--muted)!important;
  border-bottom-color:var(--line)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td{
  border-bottom-color:var(--line)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:hover,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:focus{
  background:var(--surface-hover)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-pagination{
  background:#FFFFFF!important;
  color:var(--muted)!important;
  border-top-color:var(--line)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-pagination nav div button[aria-current="page"]{
  background:#AE8A47!important;
  border-color:#AE8A47!important;
  color:#FFFFFF!important;
}
@media(max-width:900px){
  html[data-theme="light"][data-brand-theme="modern"] body.rocket-mobile-crm-context #developmentsView .developments-table tr[data-development-unit]{
    background:#FFFFFF!important;
    border-color:var(--line)!important;
  }
  html[data-theme="light"][data-brand-theme="modern"] body.rocket-mobile-crm-context #developmentsView .developments-table td::before{
    color:var(--muted)!important;
  }
}


/* =========================================================
   ROCKET V3.873 · DESARROLLOS · BUSCADOR EN ROCKET LIGHT
   El buscador del header vive fuera de #developmentsView,
   por eso las reglas de V3.872 no lo alcanzaban.
   Dark Rocket permanece sin cambios.
   ========================================================= */
html[data-theme="light"][data-brand-theme="modern"] #developmentsSearchZone .developments-search-field input{
  border-color:var(--line)!important;
  background:#FFFFFF!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsSearchZone .developments-search-field input::placeholder{
  color:var(--muted)!important;
  opacity:1!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsSearchZone .developments-search-field input:hover{
  border-color:#AAB7C8!important;
  background:#FFFFFF!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsSearchZone .developments-search-field input:focus{
  border-color:#AE8A47!important;
  background:#FFFFFF!important;
  color:var(--ink)!important;
  box-shadow:0 0 0 2px rgba(174,138,71,.12)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsSearchZone .developments-search-field svg{
  stroke:var(--muted)!important;
}



/* Asegurar legibilidad y acabado de tarjetas en Century claro */
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-menu,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option {
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-menu {
  background:#fff!important;border-color:var(--line)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-option-name { color:var(--ink)!important; }
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-hero h2 {
  color:var(--ink)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-inventory-card,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table th,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table td,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-pagination,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table-wrap {
  background:var(--surface)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:hover,
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-table tr[data-development-unit]:focus {
  background:var(--surface-hover)!important;
}
html[data-theme="light"][data-brand-theme="modern"] #developmentsView .developments-project-selector {
  animation-name:centuryDevelopmentsProjectPulse;
}
/* Canva Drive: relleno dorado para el acceso superior, no alterar logo oficial. */
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-drive,
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone .canva-header-drive:is(:hover,:focus-visible){
  background:var(--gold)!important;
  background-color:var(--gold)!important;
  border-color:var(--gold-dark)!important;
  color:#fff!important;
}
/* V3.921: especificidad del acceso directo Drive frente al header legado. */
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone#canvaDriveHeaderZone .canva-header-drive.canva-header-drive,
html[data-brand-theme="modern"][data-canva-active="true"] #canvaDriveHeaderZone#canvaDriveHeaderZone .canva-header-drive.canva-header-drive:is(:hover,:focus-visible){
  background:#ae8a47!important;
  background-color:#ae8a47!important;
  border-color:#927139!important;
  color:#fff!important;
}

/* ==================================================================
   ROCKET V3.922 · Century / Dark Century — retoques puntuales
   Conserva estilos ROCKET, canales de WhatsApp y estados semánticos.
   ================================================================== */
html[data-brand-theme="modern"] #infocasasView :is(#infocasasRefresh,#infocasasDownload),
html[data-brand-theme="modern"] #infocasasView :is(#infocasasRefresh,#infocasasDownload):is(:hover,:focus-visible){
  color:var(--gold)!important;
  border:1px solid var(--gold)!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] #infocasasView :is(#infocasasRefresh,#infocasasDownload):focus-visible {
  outline:2px solid var(--gold)!important;
  outline-offset:2px;
}
html[data-brand-theme="modern"] #socialAutomationsView .social-automation-icon {
  color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 13%,transparent)!important;
}
html[data-brand-theme="modern"] #socialAutomationsView .social-automation-empty span {
  color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 12%,transparent)!important;
}
html[data-brand-theme="modern"] #whatsappView .whatsapp-channel-filter[data-inbox-channel="all"][aria-pressed="true"] {
  border-color:color-mix(in srgb,var(--gold) 55%,transparent)!important;
  color:var(--gold)!important;
  background:color-mix(in srgb,var(--gold) 11%,transparent)!important;
}


/* ==================================================================
   ROCKET V3.923 · Century / Dark Century — filtros, captaciones y ayuda
   ================================================================== */
/* Botón embudo de filtros: Century claro con relleno dorado e icono blanco. */
html[data-theme="light"][data-brand-theme="modern"] :is(#captacionesAdvancedFilterButton,.captaciones-advanced-filter-button),
html[data-theme="light"][data-brand-theme="modern"] :is(#captacionesAdvancedFilterButton,.captaciones-advanced-filter-button):is(:hover,:focus-visible),
html[data-theme="light"][data-brand-theme="modern"] :is(#captacionesAdvancedFilterButton,.captaciones-advanced-filter-button)[data-active="true"]{
  background:#ae8a47!important;
  background-color:#ae8a47!important;
  border-color:#927139!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-theme="light"][data-brand-theme="modern"] :is(#captacionesAdvancedFilterButton,.captaciones-advanced-filter-button) svg{
  stroke:#fff!important;
}
/* Captaciones: bordes dorados en Visualizar y Operación para Century y Dark Century. */
html[data-brand-theme="modern"] #captacionesView .captaciones-view-link,
html[data-brand-theme="modern"] #captacionesView .captaciones-view-link:is(:hover,:focus-visible){
  border-color:var(--gold)!important;
}
html[data-brand-theme="modern"] #captacionesView .captaciones-badge[data-kind="sale"],
html[data-brand-theme="modern"] #captacionesView .captaciones-badge[data-kind="rent"]{
  border-color:var(--gold)!important;
}
/* Ayuda: dejar respirar el texto completo del flyout. */
html[data-brand-theme="modern"] #helpSubmenu{
  padding-right:0!important;
}
html[data-brand-theme="modern"] #helpSubmenu li,
html[data-brand-theme="modern"] #helpSubmenu .nav-link{
  min-width:max-content!important;
}

/* ROCKET V3.929 · InfoCasas — botón Actualizar historial Century / Dark Century.
   No impacta ROCKET / Dark ROCKET; conserva comportamiento :disabled. */
html[data-brand-theme="modern"] #infocasasHistoryRefresh:not(:disabled),
html[data-brand-theme="modern"] #infocasasHistoryRefresh:not(:disabled):is(:hover,:focus-visible){
  color:#ae8a47!important;
  border:1px solid #ae8a47!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
html[data-brand-theme="modern"] #infocasasHistoryRefresh:focus-visible{
  outline:2px solid #ae8a47!important;
  outline-offset:2px;
}
