/* Janox Template
   Base visual system for forms, fields, labels, helpers and form containers.
*/

body.janox-template {
  --janox-container-bg: #ffffff;
  --janox-container-border: #e7ebf1;
  --janox-container-radius: 12px;
  --janox-container-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  --janox-edge-rgb: 232, 177, 74;
  --janox-edge-top-opacity: 0;
  --janox-edge-bottom-opacity: 0;
  --janox-edge-height: 0;

  --janox-label-color: #64748b;
  --janox-label-size: 12px;
  --janox-label-weight: 600;
  --janox-toggle-label-size: 11px;
  --janox-toggle-label-weight: 400;

  --janox-input-height: 32px;
  --janox-input-radius: 8px;
  --janox-input-padding-x: 8px;
  --janox-input-font-size: 12px;
  --janox-input-font-weight: 400;
  --janox-input-text: #0f172a;
  --janox-input-placeholder: #94a3b8;

  --janox-input-bg: #ffffff;
  --janox-input-border: #e2e8f0;
  --janox-input-border-hover: #b9c5d6;
  --janox-input-border-focus: #b9c5d6;
  --janox-input-shadow: none;
  --janox-input-shadow-hover: none;
  --janox-input-shadow-focus: none;

  /* Global-search field tokens (used by busqueda_filtros) */
  --janox-search-field-bg: var(--janox-input-bg);
  --janox-search-field-border: var(--janox-input-border);
  --janox-search-field-border-hover: var(--janox-input-border-hover);
  --janox-search-field-border-focus: var(--janox-input-border-focus);
  --janox-search-field-shadow: none;
  --janox-search-field-shadow-hover: none;
  --janox-search-field-shadow-focus: none;
  --janox-search-field-text: var(--janox-input-text);
  --janox-search-field-font-size: var(--janox-input-font-size);
  --janox-search-field-font-weight: 400;

  --janox-helper-color: #64748b;
  --janox-helper-size: 11px;
  --janox-helper-weight: 400;

  --janox-btn-height: 27px;
  --janox-btn-radius: 8px;
  --janox-btn-font-size: 10px;
  --janox-btn-font-weight: 700;
  --janox-btn-padding-x: 8px;
  --janox-btn-letter-spacing: 0.15px;

  --janox-table-btn-height: 22px;
  --janox-table-btn-icon-size: calc(var(--janox-table-btn-height) + 4px);
  --janox-table-btn-icon-font-size: 11px;
  --janox-table-btn-icon-only-font-size: 12px;
  --janox-table-btn-radius: 7px;
  --janox-table-btn-font-size: 9px;
  --janox-table-btn-padding-y: 2px;
  --janox-table-btn-padding-x: 6px;

  --janox-pill-bg-start: #7bd0e8;
  --janox-pill-bg-end: #56b9dc;
  --janox-pill-border: #43a8cb;
  --janox-pill-text: #ffffff;
  --janox-pill-font-size: 9px;
  --janox-pill-padding-y: 4px;
  --janox-pill-padding-x: 9px;
  --janox-pill-shadow: 0 1px 3px rgba(33, 111, 142, 0.2);

  --janox-pagination-border: #dbe4f0;
  --janox-pagination-item-border: #d4deec;
  --janox-pagination-item-color: #2f5f96;
  --janox-pagination-item-bg: #ffffff;
  --janox-pagination-item-hover-bg: #eef4fb;
  --janox-pagination-active-bg: #2f6eb0;
  --janox-pagination-disabled-color: #9aa9bb;
  --janox-pagination-gutter-x: 12px;
  --janox-pagination-gutter-bottom: 12px;
  --janox-table-head-bg: #f7f9fc;
  --janox-table-head-border: #dfe7f2;
  --janox-table-head-separator: rgba(173, 188, 208, 0.55);
  --janox-table-head-color: #4f617a;
  --janox-table-head-font-size: 12px;
  --janox-table-row-hover: #f8fbff;
  --janox-table-cell-color: #2f435c;
  --janox-table-cell-font-size: 12px;
  --janox-table-cell-strong-color: #1f334a;
  --janox-table-cell-accent-color: #253a55;
  --janox-table-cell-muted-color: #4a5f7f;

  --janox-select-arrow-color: #64748b;
  --janox-select-list-max-height: 248px;
  --janox-select-list-max-height-mobile: 212px;
  --janox-select-list-bottom-gap: 12px;
  --janox-select-search-shell-padding: 6px 8px;
  --janox-select-search-shell-gap: 0;
  --janox-multi-filter-shell-padding: 4px 6px;
  --janox-select-overlay-z: 2147483000;
  --janox-select-host-z: 4;
}

/* Form container tokenized surface */
body.janox-template .janox-form-container {
  background: var(--janox-container-bg);
  border: 1px solid var(--janox-container-border);
  border-radius: var(--janox-container-radius);
  box-shadow: var(--janox-container-shadow);
  overflow: hidden;
  position: relative;
}

/* Janox tabs (tab-pestana + tab-formulario) */
@keyframes janox-tab-fade-in {
  from { opacity: .92; transform: translateY(1px); }
  to { opacity: 1; transform: translateY(0); }
}

body.janox-template .nav.nav-tabs.tab-pestana,
body.janox-template .janox-tabs {
  border-bottom: 1px solid #d8e3f2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 12px 0;
  padding: 0 2px;
}

body.janox-template .nav.nav-tabs.tab-pestana > li,
body.janox-template .janox-tabs > li {
  float: none;
  margin: 0;
}

body.janox-template .nav.nav-tabs.tab-pestana > li > a,
body.janox-template .janox-tabs > li > a {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid #d7e2f1;
  border-bottom-color: #cfdceb;
  border-radius: 10px 10px 0 0;
  color: #4b617f;
  display: flex;
  font-weight: 600;
  gap: 6px;
  line-height: 1.2;
  margin: 0;
  min-height: 40px;
  padding: 9px 14px;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

body.janox-template .nav.nav-tabs.tab-pestana > li > a > i,
body.janox-template .janox-tabs > li > a > i {
  color: #5b7394;
  margin-right: 2px;
}

body.janox-template .nav.nav-tabs.tab-pestana > li > a:hover,
body.janox-template .nav.nav-tabs.tab-pestana > li > a:focus,
body.janox-template .janox-tabs > li > a:hover,
body.janox-template .janox-tabs > li > a:focus {
  background: #f9fbff;
  border-color: #c6d5ea;
  color: #2f4a6d;
}

body.janox-template .nav.nav-tabs.tab-pestana > li.active > a,
body.janox-template .nav.nav-tabs.tab-pestana > li.active > a:hover,
body.janox-template .nav.nav-tabs.tab-pestana > li.active > a:focus,
body.janox-template .janox-tabs > li.active > a,
body.janox-template .janox-tabs > li.active > a:hover,
body.janox-template .janox-tabs > li.active > a:focus {
  background: #ffffff;
  border-color: #bfd0e7;
  border-bottom-color: #ffffff;
  box-shadow: 0 4px 10px rgba(38, 65, 102, 0.08);
  color: #1f3f68;
}

body.janox-template .nav.nav-tabs.tab-pestana > li.active > a > i,
body.janox-template .janox-tabs > li.active > a > i {
  color: #2f5f96;
}

body.janox-template .tab-content.tab-formulario {
  background: #ffffff;
  border: 1px solid #d8e3f2;
  border-radius: 0 10px 10px 10px;
  margin: -1px 12px 12px;
  padding: 14px 12px 12px;
}

body.janox-template .tab-content.tab-formulario > .tab-pane {
  padding-top: 2px;
}

body.janox-template .tab-content.tab-formulario > .tab-pane.active {
  animation: janox-tab-fade-in .18s ease-out;
}

@media (max-width: 767px) {
  body.janox-template .nav.nav-tabs.tab-pestana,
  body.janox-template .janox-tabs {
    gap: 4px;
    margin: 8px 8px 0;
  }

  body.janox-template .nav.nav-tabs.tab-pestana > li,
  body.janox-template .janox-tabs > li {
    width: 100%;
  }

  body.janox-template .nav.nav-tabs.tab-pestana > li > a,
  body.janox-template .janox-tabs > li > a {
    border-radius: 8px;
    justify-content: flex-start;
  }

  body.janox-template .nav.nav-tabs.tab-pestana > li.active > a,
  body.janox-template .janox-tabs > li.active > a {
    border-bottom-color: #bfd0e7;
  }

  body.janox-template .tab-content.tab-formulario {
    border-radius: 10px;
    margin: -1px 8px 10px;
    padding: 10px;
  }
}

/* Extractos list: keep wrappers for ajax targets but hide container chrome */
body.janox-template #field-app-extractos-mes.janox-form-container,
body.janox-template #field-app-extractos.janox-form-container,
body.janox-template #field-app-tabla.janox-form-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.janox-template #field-app-extractos-mes.janox-form-container:before,
body.janox-template #field-app-extractos-mes.janox-form-container:after,
body.janox-template #field-app-extractos.janox-form-container:before,
body.janox-template #field-app-extractos.janox-form-container:after,
body.janox-template #field-app-tabla.janox-form-container:before,
body.janox-template #field-app-tabla.janox-form-container:after {
  display: none !important;
}

/* Standard page title for Janox views */
body.janox-template .janox-standard-title {
  color: #243b5e;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: none;
}

body.janox-template .janox-standard-title > i {
  font-size: 0.9em;
  margin-right: 6px;
}

/* Standard component title for Janox grids/panels */
body.janox-template .janox-component-title {
  align-items: center;
  color: #2f4f78;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: normal;
  line-height: 1.2;
  margin: 0;
  text-transform: none;
}

body.janox-template .janox-component-title > i,
body.janox-template .janox-component-title > .fa,
body.janox-template .janox-component-title > .glyphicon,
body.janox-template .janox-component-title > span.glyphicon {
  color: #3a6a9e;
  font-size: 0.95em;
  margin-right: 0;
}

/* Standard loading alert for async content placeholders */
body.janox-template .alert.alert-info.janox-loading-alert,
body.janox-template .alert.alert-info[data-janox-loading="1"],
body.janox-template #field-app-extractos-mes > .alert.alert-info,
body.janox-template #field-app-extractos > .alert.alert-info,
body.janox-template #field-app-tabla > .alert.alert-info {
  align-items: center;
  background: linear-gradient(135deg, #f5fbff 0%, #eaf3ff 100%) !important;
  border: 1px solid #ccdeef !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 16px rgba(54, 86, 122, 0.08) !important;
  color: #2f5f96 !important;
  display: flex;
  font-size: 13px;
  line-height: 1.35;
  margin: 0 !important;
  min-height: 52px;
  padding: 12px 14px;
}

body.janox-template .alert.alert-info.janox-loading-alert .janox-loading-alert-icon,
body.janox-template .alert.alert-info[data-janox-loading="1"] .janox-loading-alert-icon,
body.janox-template #field-app-extractos-mes > .alert.alert-info .fa,
body.janox-template #field-app-extractos > .alert.alert-info .fa,
body.janox-template #field-app-tabla > .alert.alert-info .fa,
body.janox-template .alert.alert-info.janox-loading-alert .fa,
body.janox-template .alert.alert-info[data-janox-loading="1"] .fa,
body.janox-template .alert.alert-info.janox-loading-alert .glyphicon,
body.janox-template .alert.alert-info[data-janox-loading="1"] .glyphicon {
  animation: janox-loading-icon-pulse 1.2s ease-in-out infinite;
  color: #3a76b3;
  font-size: 18px;
  margin-right: 6px;
}

body.janox-template .alert.alert-info.janox-loading-alert b,
body.janox-template .alert.alert-info[data-janox-loading="1"] b,
body.janox-template .alert.alert-info.janox-loading-alert strong,
body.janox-template .alert.alert-info[data-janox-loading="1"] strong {
  color: #2b5a8f;
  display: inline-block;
  font-weight: 600;
  margin-left: 4px;
}

body.janox-template .alert.alert-info.janox-loading-alert .sr-only,
body.janox-template .alert.alert-info[data-janox-loading="1"] .sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@keyframes janox-loading-icon-pulse {
  0% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.55; transform: scale(0.92); }
}

/* Busqueda por barra global: compact owner column only when overflow is detected */
body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 165px !important;
  min-width: 120px !important;
  width: 145px !important;
}

body.janox-template [id^="busqueda-resultado-"] table tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template [id^="busqueda-resultado-"] table tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Facturas (resultado de busqueda): in non-compact mode keep owner narrower but without ellipsis */
body.janox-template #busqueda-resultado-facturas table:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-facturas table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col {
  max-width: 250px !important;
  min-width: 180px !important;
  width: 215px !important;
}

body.janox-template #busqueda-resultado-facturas table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-facturas table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1280px) {
  body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 148px !important;
    min-width: 112px !important;
    width: 132px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template [id^="busqueda-resultado-"] table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 122px !important;
    min-width: 96px !important;
    width: 110px !important;
  }
}

/* Facturas (resultado de busqueda): when compact mode is active, compress a little more */
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 126px !important;
  min-width: 92px !important;
  width: 106px !important;
}

/* Facturas (resultado de busqueda): when compact + overflow, merge Inmueble + Propietario */
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }

  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 112px !important;
    min-width: 84px !important;
    width: 94px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }

  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-facturas table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 100px !important;
    min-width: 74px !important;
    width: 84px !important;
  }
}

/* Pagos (resultado de busqueda): same merge behavior as facturas */
body.janox-template #busqueda-resultado-pagos table:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-pagos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col {
  max-width: 250px !important;
  min-width: 180px !important;
  width: 215px !important;
}

body.janox-template #busqueda-resultado-pagos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-pagos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 126px !important;
  min-width: 92px !important;
  width: 106px !important;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }

  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 112px !important;
    min-width: 84px !important;
    width: 94px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }

  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-pagos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 100px !important;
    min-width: 74px !important;
    width: 84px !important;
  }
}

/* Recibos (resultado de busqueda): same merge behavior as facturas/pagos */
body.janox-template #busqueda-resultado-recibos table:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-recibos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col {
  max-width: 250px !important;
  min-width: 180px !important;
  width: 215px !important;
}

body.janox-template #busqueda-resultado-recibos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-recibos table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 126px !important;
  min-width: 92px !important;
  width: 106px !important;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }

  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 112px !important;
    min-width: 84px !important;
    width: 94px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }

  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-recibos table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 100px !important;
    min-width: 74px !important;
    width: 84px !important;
  }
}

/* Notas CR/DB (resultado de busqueda): compact merges */
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np thead th.janox-busqueda-periodo-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-periodo-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic thead th.janox-busqueda-cargado-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-cargado-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col .janox-busqueda-periodo-inline-head,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col .janox-busqueda-mes-imputacion-inline-head,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col .janox-busqueda-cargado-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col {
  max-width: 162px !important;
  min-width: 122px !important;
  width: 144px !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
  max-width: 168px !important;
  min-width: 126px !important;
  width: 146px !important;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col > .janox-busqueda-periodo-inline,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col > .janox-busqueda-mes-imputacion-inline,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > .janox-busqueda-cargado-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col {
    max-width: 148px !important;
    min-width: 112px !important;
    width: 132px !important;
  }

  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
    max-width: 152px !important;
    min-width: 116px !important;
    width: 134px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col {
    max-width: 136px !important;
    min-width: 102px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }
}

/* Cuotas extras (resultado de busqueda): merge ID + Mes when compact */
body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }
}

/* Cuotas extras (resultado de busqueda): merge Cuotas + # Cuota when compact */
body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuota-actual-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuota-actual-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col .janox-busqueda-cuota-actual-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
  max-width: 128px !important;
  min-width: 108px !important;
  width: 116px !important;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
  text-align: left !important;
  white-space: normal;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col > .janox-busqueda-cuota-actual-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col > .janox-busqueda-cuota-actual-inline .janox-busqueda-cuota-actual-inline-label {
  color: #5f7393;
  font-weight: 600;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
    max-width: 118px !important;
    min-width: 98px !important;
    width: 106px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
  body.janox-template #busqueda-resultado-extras table.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }
}

/* Cobros (resultado de busqueda): merge Imputacion + Nombre Cobro when compact */
body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-cobros table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }
}

/* Cobros programados (resultado de busqueda): same merge behavior as facturas/pagos/recibos */
body.janox-template #busqueda-resultado-cobrosprogramados table:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-cobrosprogramados table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col {
  max-width: 250px !important;
  min-width: 180px !important;
  width: 215px !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-cobrosprogramados table:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 126px !important;
  min-width: 92px !important;
  width: 106px !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: clip;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col {
  display: none !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  white-space: normal;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1280px) {
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 112px !important;
    min-width: 84px !important;
    width: 94px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 100px !important;
    min-width: 74px !important;
    width: 84px !important;
  }

  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }
}

/* Small toggle style for Janox row selectors in custom tables */
body.janox-template .janox-line-select,
body.janox-template .janox-select-all-lineas {
  appearance: none;
  -webkit-appearance: none;
  background: #dbe4f0;
  border: 1px solid #bcc9db;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 15px;
  margin: 0 !important;
  outline: none;
  position: relative;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  vertical-align: middle;
  width: 25px;
}

body.janox-template .janox-line-select::after,
body.janox-template .janox-select-all-lineas::after {
  background: #ffffff;
  border: 1px solid #c5d2e2;
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  height: 11px;
  left: 1px;
  position: absolute;
  top: 1px;
  transition: transform 0.18s ease;
  width: 11px;
}

body.janox-template .janox-line-select:checked,
body.janox-template .janox-select-all-lineas:checked {
  background: #64b79b;
  border-color: #4ea083;
}

body.janox-template .janox-line-select:checked::after,
body.janox-template .janox-select-all-lineas:checked::after {
  transform: translateX(10px);
}

body.janox-template .janox-select-all-lineas:indeterminate {
  background: #9eb6d9;
  border-color: #8aa2c8;
}

body.janox-template .janox-select-all-lineas:indeterminate::after {
  transform: translateX(5px);
}

body.janox-template .janox-line-select-status {
  min-width: 0;
  width: auto;
}

body.janox-template .janox-line-select-status:empty {
  display: none;
}

/* Toggle headers: make the whole Janox container title clickable */
body.janox-template [data-janox-toggle-head] {
  cursor: pointer;
}

body.janox-template [data-janox-toggle-head] a,
body.janox-template [data-janox-toggle-head] button,
body.janox-template [data-janox-toggle-head] input,
body.janox-template [data-janox-toggle-head] select,
body.janox-template [data-janox-toggle-head] textarea,
body.janox-template [data-janox-toggle-head] label,
body.janox-template [data-janox-toggle-head] .btn,
body.janox-template [data-janox-toggle-head] .dropdown-toggle,
body.janox-template [data-janox-toggle-head] .bootstrap-select,
body.janox-template [data-janox-toggle-head] .select2-container,
body.janox-template [data-janox-toggle-head] .multiselect,
body.janox-template [data-janox-toggle-head] .multiselect-container,
body.janox-template [data-janox-toggle-head] [class*="-search-box"],
body.janox-template [data-janox-toggle-head] [class*="-search-input"],
body.janox-template [data-janox-toggle-head] [class*="-general-search"] {
  cursor: auto;
}

body.janox-template [data-janox-toggle-head] [class*="-mini-toggle"],
body.janox-template [data-janox-toggle-head] [class*="-mini-toggle"] * {
  cursor: pointer;
}

/* Compact section toggles used by asignaciones/comunicados/cartera/consecutivos */
body.janox-template .asig-mini-toggle,
body.janox-template .cns-mini-toggle {
  cursor: pointer;
  display: inline-block;
  flex: 0 0 auto;
  height: 18px;
  line-height: 0;
  margin: 0;
  min-width: 34px;
  position: relative;
  vertical-align: middle;
  width: 34px;
}

body.janox-template .asig-toggle-input,
body.janox-template .cns-toggle-input {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  left: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 1px;
}

body.janox-template .asig-mini-track,
body.janox-template .cns-mini-track {
  background: linear-gradient(135deg, #e4ebf6 0%, #d4dfef 100%);
  border: 1px solid #c2d1e4;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(68, 90, 120, 0.15);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.2s ease;
}

body.janox-template .asig-mini-thumb,
body.janox-template .cns-mini-thumb {
  background: #ffffff;
  border: 1px solid #bacbe1;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(55, 76, 103, 0.25);
  height: 12px;
  left: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 12px;
}

body.janox-template .asig-toggle-input:checked + .asig-mini-track,
body.janox-template .cns-toggle-input:checked + .cns-mini-track {
  background: linear-gradient(135deg, #9ddfcb 0%, #67c6a8 100%);
  border-color: #67b99a;
  box-shadow: inset 0 1px 2px rgba(30, 110, 84, 0.22);
}

body.janox-template .asig-toggle-input:checked ~ .asig-mini-thumb,
body.janox-template .cns-toggle-input:checked ~ .cns-mini-thumb {
  border-color: #6bb99d;
  transform: translate(16px, -50%);
}

body.janox-template .asig-mini-toggle:hover .asig-mini-track,
body.janox-template .cns-mini-toggle:hover .cns-mini-track {
  border-color: #a7bdd9;
}

body.janox-template .asig-toggle-input:focus + .asig-mini-track,
body.janox-template .cns-toggle-input:focus + .cns-mini-track {
  box-shadow: 0 0 0 2px rgba(97, 133, 175, 0.2), inset 0 1px 2px rgba(68, 90, 120, 0.12);
}

@media (max-width: 767px) {
  body.janox-template .asig-mini-toggle,
  body.janox-template .cns-mini-toggle {
    height: 17px;
    min-width: 32px;
    width: 32px;
  }

  body.janox-template .asig-mini-thumb,
  body.janox-template .cns-mini-thumb {
    height: 11px;
    width: 11px;
  }

  body.janox-template .asig-toggle-input:checked ~ .asig-mini-thumb,
  body.janox-template .cns-toggle-input:checked ~ .cns-mini-thumb {
    transform: translate(15px, -50%);
  }
}

/* Extractos pagos pendientes: selector de inmuebles con alto consistente y estado de carga */
body.janox-template table.dt-mac th.janox-col-inmueble,
body.janox-template table.dt-mac td.janox-col-inmueble-cell {
  max-width: 320px !important;
  min-width: 190px !important;
  width: auto !important;
}

body.janox-template table.dt-mac th.janox-col-proveedor,
body.janox-template table.dt-mac td.janox-col-proveedor-cell,
body.janox-template table.dt-mac th.janox-col-concepto,
body.janox-template table.dt-mac td.janox-col-concepto-cell {
  max-width: 280px !important;
  min-width: 180px !important;
  width: auto !important;
}

body.janox-template table.dt-mac td.janox-col-inmueble-cell .janox-pagos-inmueble-picker,
body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select,
body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle,
body.janox-template table.dt-mac td.janox-col-inmueble-cell select.janox-pagos-inmueble-select {
  box-sizing: border-box !important;
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select,
body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle,
body.janox-template table.dt-mac td.janox-col-proveedor-cell select.janox-pagos-proveedor-select,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle,
body.janox-template table.dt-mac td.janox-col-concepto-cell select.janox-pagos-concepto-select {
  box-sizing: border-box !important;
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle {
  height: var(--janox-input-height) !important;
  min-height: var(--janox-input-height) !important;
  line-height: calc(var(--janox-input-height) - 2px) !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle {
  height: var(--janox-input-height) !important;
  min-height: var(--janox-input-height) !important;
  line-height: calc(var(--janox-input-height) - 2px) !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle .filter-option,
body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle .filter-option-inner,
body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  align-items: center;
  display: flex;
  min-height: calc(var(--janox-input-height) - 2px);
}

body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle .filter-option,
body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle .filter-option-inner,
body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle .filter-option,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle .filter-option-inner,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  align-items: center;
  display: flex;
  min-height: calc(var(--janox-input-height) - 2px);
}

body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select .dropdown-menu {
  max-width: 480px !important;
  min-width: 100% !important;
}

body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select .dropdown-menu,
body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select .dropdown-menu {
  max-width: 420px !important;
  min-width: 100% !important;
}

body.janox-template table.dt-mac [id^="list-app-inmuebles-"] .janox-inline-loading-select,
body.janox-template table.dt-mac [id^="list-app-proveedores-"] .janox-inline-loading-select,
body.janox-template table.dt-mac [id^="list-app-conceptos-"] .janox-inline-loading-select {
  align-items: center;
  background: linear-gradient(135deg, #f5fbff 0%, #eaf3ff 100%);
  border: 1px solid #ccdeef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(54, 86, 122, 0.08);
  color: #2f5f96;
  display: flex;
  gap: 6px;
  height: var(--janox-input-height);
  overflow: hidden;
  padding: 0 9px;
  position: relative;
}

body.janox-template table.dt-mac [id^="list-app-inmuebles-"] .janox-inline-loading-select:after,
body.janox-template table.dt-mac [id^="list-app-proveedores-"] .janox-inline-loading-select:after,
body.janox-template table.dt-mac [id^="list-app-conceptos-"] .janox-inline-loading-select:after {
  animation: janox-inline-loading-sweep 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.46) 50%, rgba(255, 255, 255, 0) 100%);
  content: '';
  inset: 0 auto 0 -42%;
  position: absolute;
  width: 42%;
}

body.janox-template table.dt-mac [id^="list-app-inmuebles-"] .janox-inline-loading-icon,
body.janox-template table.dt-mac [id^="list-app-proveedores-"] .janox-inline-loading-icon,
body.janox-template table.dt-mac [id^="list-app-conceptos-"] .janox-inline-loading-icon {
  color: #3a76b3;
  display: inline-flex;
  font-size: 12px;
  position: relative;
  z-index: 1;
}

body.janox-template table.dt-mac [id^="list-app-inmuebles-"] .janox-inline-loading-text,
body.janox-template table.dt-mac [id^="list-app-proveedores-"] .janox-inline-loading-text,
body.janox-template table.dt-mac [id^="list-app-conceptos-"] .janox-inline-loading-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}

@keyframes janox-inline-loading-sweep {
  0% { left: -42%; }
  100% { left: 110%; }
}

@media (max-width: 1360px) {
  body.janox-template table.dt-mac th.janox-col-inmueble,
  body.janox-template table.dt-mac td.janox-col-inmueble-cell {
    max-width: 260px !important;
    min-width: 170px !important;
    width: auto !important;
  }

  body.janox-template table.dt-mac th.janox-col-proveedor,
  body.janox-template table.dt-mac td.janox-col-proveedor-cell,
  body.janox-template table.dt-mac th.janox-col-concepto,
  body.janox-template table.dt-mac td.janox-col-concepto-cell {
    max-width: 240px !important;
    min-width: 160px !important;
    width: auto !important;
  }

  body.janox-template table.dt-mac td.janox-col-inmueble-cell .janox-pagos-inmueble-picker,
  body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select,
  body.janox-template table.dt-mac td.janox-col-inmueble-cell .bootstrap-select > .dropdown-toggle,
  body.janox-template table.dt-mac td.janox-col-inmueble-cell select.janox-pagos-inmueble-select {
    max-width: 100% !important;
    width: 100% !important;
  }

  body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select,
  body.janox-template table.dt-mac td.janox-col-proveedor-cell .bootstrap-select > .dropdown-toggle,
  body.janox-template table.dt-mac td.janox-col-proveedor-cell select.janox-pagos-proveedor-select,
  body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select,
  body.janox-template table.dt-mac td.janox-col-concepto-cell .bootstrap-select > .dropdown-toggle,
  body.janox-template table.dt-mac td.janox-col-concepto-cell select.janox-pagos-concepto-select {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Avoid clipping dropdowns/select menus inside Janox containers */
body.janox-template .janox-overflow-open {
  overflow: visible !important;
}

body.janox-template .janox-form-container.janox-overflow-open {
  z-index: var(--janox-select-host-z);
}

body.janox-template .janox-table-scroll-x.janox-overflow-open {
  position: relative;
  z-index: var(--janox-select-host-z);
}

/* Keep filter cards unclipped for select dropdowns */
body.janox-template .janox-form-container.janox-filter-scope:focus-within,
body.janox-template .filters-card.janox-form-container:focus-within {
  overflow: visible !important;
  z-index: var(--janox-select-host-z);
}

body.janox-template .filters-card.janox-form-container {
  overflow: visible !important;
  z-index: auto !important;
}

body.janox-template .janox-overflow-open .bootstrap-select.open,
body.janox-template .janox-overflow-open .bootstrap-select.open .dropdown-menu,
body.janox-template .janox-overflow-open .btn-group.open > .dropdown-menu,
body.janox-template .janox-overflow-open .btn-group.open > .multiselect-container.dropdown-menu,
body.janox-template .janox-overflow-open .dropdown.open .dropdown-menu {
  z-index: var(--janox-select-overlay-z) !important;
}

/* Bootstrap-select menus rendered in body must stay above all containers */
body.janox-template .bootstrap-select.bs-container,
body.janox-template .bootstrap-select.bs-container .dropdown-menu {
  z-index: var(--janox-select-overlay-z) !important;
}

body.janox-template .janox-form-container:before,
body.janox-template .janox-form-container:after {
  content: '';
  height: var(--janox-edge-height);
  left: 12px;
  pointer-events: none;
  position: absolute;
  right: 12px;
}

body.janox-template .janox-form-container:before {
  background: linear-gradient(
    90deg,
    rgba(var(--janox-edge-rgb), 0) 0%,
    rgba(var(--janox-edge-rgb), var(--janox-edge-top-opacity)) 50%,
    rgba(var(--janox-edge-rgb), 0) 100%
  );
  top: 0;
}

body.janox-template .janox-form-container:after {
  background: linear-gradient(
    90deg,
    rgba(var(--janox-edge-rgb), 0) 0%,
    rgba(var(--janox-edge-rgb), var(--janox-edge-bottom-opacity)) 50%,
    rgba(var(--janox-edge-rgb), 0) 100%
  );
  bottom: 0;
}

/* Label rules: no forced uppercase */
body.janox-template .form-group > label,
body.janox-template label.control-label,
body.janox-template .janox-field-label,
body.janox-template .search-field label {
  color: var(--janox-label-color);
  font-size: var(--janox-label-size);
  font-weight: var(--janox-label-weight);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

/* Checkbox to toggle conversion */
body.janox-template .janox-toggle-control {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  margin: 0;
  min-height: var(--janox-input-height);
  position: relative;
  text-transform: none !important;
  user-select: none;
}

body.janox-template .janox-toggle-control .janox-toggle-input {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px;
  left: 0;
  margin: 0 !important;
  opacity: 0;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute;
  top: 0;
  width: 1px;
}

body.janox-template .janox-toggle-control:before,
body.janox-template .janox-toggle-control:after,
body.janox-template .janox-toggle-control .janox-toggle-label:before,
body.janox-template .janox-toggle-control .janox-toggle-label:after {
  content: none !important;
  display: none !important;
}

body.janox-template .janox-toggle-control .janox-toggle-ui {
  display: inline-block;
  flex: 0 0 auto;
  height: 20px;
  position: relative;
  width: 34px;
}

body.janox-template .janox-toggle-control .janox-toggle-track {
  background: linear-gradient(135deg, #e4ebf6 0%, #d4dfef 100%);
  border: 1px solid #c2d1e4;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(68, 90, 120, 0.15);
  inset: 0;
  position: absolute;
  transition: all 0.2s ease;
}

body.janox-template .janox-toggle-control .janox-toggle-thumb {
  background: #ffffff;
  border: 1px solid #bacbe1;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(55, 76, 103, 0.25);
  height: 14px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 0.2s ease;
  width: 14px;
}

body.janox-template .janox-toggle-control .janox-toggle-label {
  color: var(--janox-label-color);
  font-size: var(--janox-toggle-label-size) !important;
  font-style: italic !important;
  font-weight: var(--janox-toggle-label-weight) !important;
  line-height: 1.25;
  text-transform: none !important;
}

body.janox-template .janox-form-container .form-group .checkbox.janox-toggle-host > label,
body.janox-template .janox-form-container .form-group .radio.janox-toggle-host > label {
  font-size: var(--janox-toggle-label-size) !important;
  font-style: italic !important;
  font-weight: var(--janox-toggle-label-weight) !important;
}

body.janox-template .janox-toggle-control .janox-toggle-label:empty {
  display: none;
}

body.janox-template .janox-toggle-control .janox-toggle-input:checked + .janox-toggle-ui .janox-toggle-track {
  background: linear-gradient(135deg, #9ddfcb 0%, #67c6a8 100%);
  border-color: #67b99a;
  box-shadow: inset 0 1px 2px rgba(30, 110, 84, 0.22);
}

body.janox-template .janox-toggle-control .janox-toggle-input:checked + .janox-toggle-ui .janox-toggle-thumb {
  border-color: #6bb99d;
  transform: translateX(14px);
}

body.janox-template .janox-toggle-control:hover .janox-toggle-track {
  border-color: #a7bdd9;
}

body.janox-template .janox-toggle-control .janox-toggle-input:focus + .janox-toggle-ui .janox-toggle-track {
  box-shadow: 0 0 0 2px rgba(97, 133, 175, 0.2), inset 0 1px 2px rgba(68, 90, 120, 0.12);
}

body.janox-template .janox-toggle-control .janox-toggle-input:disabled + .janox-toggle-ui,
body.janox-template .janox-toggle-control.is-disabled .janox-toggle-ui {
  opacity: 0.65;
}

body.janox-template .janox-toggle-control .janox-toggle-input:disabled ~ .janox-toggle-label,
body.janox-template .janox-toggle-control.is-disabled .janox-toggle-label {
  opacity: 0.65;
}

body.janox-template .janox-form-container .form-group .checkbox.janox-toggle-host,
body.janox-template .janox-form-container .form-group .radio.janox-toggle-host {
  align-items: center;
  display: flex;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  min-height: var(--janox-input-height);
  padding-left: 0 !important;
}

body.janox-template .janox-form-container .form-group .checkbox.janox-toggle-host .janox-toggle-control,
body.janox-template .janox-form-container .form-group .radio.janox-toggle-host .janox-toggle-control {
  margin: 0 !important;
  min-height: var(--janox-input-height);
}

/* Upload forms: keep toggle option aligned to the form row */
body.janox-template .janox-upload-toggle-cell {
  align-items: center;
  display: flex;
  min-height: var(--janox-input-height);
}

body.janox-template .janox-upload-toggle-cell .janox-upload-toggle-option,
body.janox-template .janox-upload-toggle-cell .janox-toggle-control {
  margin: 0 !important;
}

body.janox-template .janox-upload-toggle-cell .bootstrap-checkbox,
body.janox-template .janox-upload-toggle-cell .button-checkbox.bootstrap-checkbox {
  display: none !important;
}

/* Table title rule: never force uppercase in table headers */
body.janox-template table thead th,
body.janox-template table thead th *,
body.janox-template .table > thead > tr > th,
body.janox-template .table > thead > tr > th *,
body.janox-template .dataTables_wrapper table thead th,
body.janox-template .dataTables_wrapper table thead th *,
body.janox-template .dataTable thead th,
body.janox-template .dataTable thead th * {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Table content rule: data rows must stay non-bold */
body.janox-template table tbody td,
body.janox-template table tbody td *,
body.janox-template table tbody th,
body.janox-template table tbody th *,
body.janox-template .table > tbody > tr > td,
body.janox-template .table > tbody > tr > td *,
body.janox-template .table > tbody > tr > th,
body.janox-template .table > tbody > tr > th *,
body.janox-template .dataTables_wrapper table tbody td,
body.janox-template .dataTables_wrapper table tbody td *,
body.janox-template .dataTables_wrapper table tbody th,
body.janox-template .dataTables_wrapper table tbody th *,
body.janox-template .dataTable tbody td,
body.janox-template .dataTable tbody td *,
body.janox-template .dataTable tbody th,
body.janox-template .dataTable tbody th * {
  font-weight: 400 !important;
}

/* Base typography */
body.janox-template {
  font-weight: 400;
}

/* Keep icon font rendering stable */
body.janox-template .fa,
body.janox-template .glyphicon,
body.janox-template [class^="fa-"],
body.janox-template [class*=" fa-"],
body.janox-template [class^="glyphicon-"],
body.janox-template [class*=" glyphicon-"] {
  font-weight: normal !important;
}

/* Janox rule: control text must never render bold */
body.janox-template form .form-control,
body.janox-template form input,
body.janox-template form select,
body.janox-template form textarea,
body.janox-template form .bootstrap-select > .btn,
body.janox-template form .bootstrap-select .filter-option,
body.janox-template form .bootstrap-select .dropdown-menu > li > a,
body.janox-template form .bootstrap-select .dropdown-menu > li > a *,
body.janox-template form .multiselect.dropdown-toggle,
body.janox-template form .multiselect.dropdown-toggle *,
body.janox-template form .multiselect-native-select .multiselect-container > li > a,
body.janox-template form .multiselect-native-select .multiselect-container > li > a *,
body.janox-template form .multiselect-native-select .multiselect-container > li > a > label,
body.janox-template form .multiselect-native-select .multiselect-container > li > a > label * {
  font-weight: 400 !important;
}

/* Buttons: scoped Janox style (prevents breaking custom module buttons) */
body.janox-template .janox-form-container .btn,
body.janox-template .janox-btn {
  align-items: center;
  border-radius: var(--janox-btn-radius);
  box-shadow: none;
  display: inline-flex;
  font-size: var(--janox-btn-font-size);
  font-weight: var(--janox-btn-font-weight);
  gap: 4px;
  justify-content: center;
  letter-spacing: var(--janox-btn-letter-spacing);
  line-height: 1.2;
  min-height: var(--janox-btn-height);
  padding: 4px var(--janox-btn-padding-x);
  pointer-events: auto;
  position: relative;
  z-index: 1;
  text-decoration: none !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  vertical-align: middle;
  white-space: nowrap;
}

body.janox-template .janox-form-container .btn .glyphicon,
body.janox-template .janox-form-container .btn .fa,
body.janox-template .janox-btn .glyphicon,
body.janox-template .janox-btn .fa {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  margin-right: 0;
  min-width: 1em;
  pointer-events: none;
  top: 0;
  vertical-align: middle;
}

body.janox-template .janox-form-container .btn > span,
body.janox-template .janox-form-container .btn > i,
body.janox-template .janox-btn > span,
body.janox-template .janox-btn > i {
  pointer-events: none;
}

body.janox-template .janox-form-container .btn > .glyphicon:only-child,
body.janox-template .janox-form-container .btn > .fa:only-child,
body.janox-template .janox-btn > .glyphicon:only-child,
body.janox-template .janox-btn > .fa:only-child {
  margin-right: 0;
}

/* Standard placement for Consultar/Limpiar action pair in Janox filters */
body.janox-template .janox-query-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
  width: 100%;
}

body.janox-template .janox-query-actions #field-reportes {
  color: #8a98ab;
}

body.janox-template .janox-form-container .btn.btn-primary,
body.janox-template .janox-btn-primary,
body.janox-template .janox-btn-search {
  background: #3a7ac9;
  border: 1px solid #2d66ae;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-primary:hover,
body.janox-template .janox-form-container .btn.btn-primary:focus,
body.janox-template .janox-btn-primary:hover,
body.janox-template .janox-btn-primary:focus,
body.janox-template .janox-btn-search:hover,
body.janox-template .janox-btn-search:focus {
  background: #326fb9;
  border-color: #295d9f;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-success {
  background: #57b68f;
  border: 1px solid #479a7a;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-success:hover,
body.janox-template .janox-form-container .btn.btn-success:focus {
  background: #4fa983;
  border-color: #3f8f72;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-default:not(.dropdown-toggle):not(.multiselect):not(.janox-email-btn):not(.janox-export-btn),
body.janox-template .janox-btn-secondary,
body.janox-template .janox-btn-clear {
  background: #f3f4f6;
  border: 1px solid #cdd7e4;
  color: #4a5d76 !important;
}

body.janox-template .janox-form-container .btn.btn-default:not(.dropdown-toggle):not(.multiselect):not(.janox-email-btn):not(.janox-export-btn):hover,
body.janox-template .janox-form-container .btn.btn-default:not(.dropdown-toggle):not(.multiselect):not(.janox-email-btn):not(.janox-export-btn):focus,
body.janox-template .janox-btn-secondary:hover,
body.janox-template .janox-btn-secondary:focus,
body.janox-template .janox-btn-clear:hover,
body.janox-template .janox-btn-clear:focus {
  background: #e9edf2;
  border-color: #c3cedd;
  color: #4a5d76 !important;
}

/* Global semantic actions */
body.janox-template .janox-form-container .btn.janox-export-btn,
body.janox-template .janox-btn.janox-export-btn {
  background: #f3f4f6 !important;
  border: 1px solid #cdd7e4 !important;
  color: #4a5d76 !important;
}

body.janox-template .janox-form-container .btn.janox-export-btn:hover,
body.janox-template .janox-form-container .btn.janox-export-btn:focus,
body.janox-template .janox-btn.janox-export-btn:hover,
body.janox-template .janox-btn.janox-export-btn:focus {
  background: #e9edf2 !important;
  border-color: #c3cedd !important;
  color: #4a5d76 !important;
}

body.janox-template .janox-form-container .btn.janox-email-btn,
body.janox-template .janox-btn.janox-email-btn {
  background: #b55352 !important;
  border: 1px solid #a24a49 !important;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.janox-email-btn:hover,
body.janox-template .janox-form-container .btn.janox-email-btn:focus,
body.janox-template .janox-btn.janox-email-btn:hover,
body.janox-template .janox-btn.janox-email-btn:focus {
  background: #a64948 !important;
  border-color: #923f3e !important;
  color: #ffffff !important;
}

/* Secondary inline actions inside forms (smaller than primary action buttons) */
body.janox-template .janox-form-container .btn.janox-btn-subaction,
body.janox-template .janox-btn.janox-btn-subaction {
  font-size: 9px;
  letter-spacing: 0.1px;
  min-height: 23px;
  padding: 3px 7px;
}

/* Modal subviews: remove outer heading container and keep actions off bottom edge */
body.janox-template .janox-subview-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

body.janox-template .janox-subview-shell > .panel-heading {
  display: none !important;
}

body.janox-template .janox-subview-shell > .panel-body {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

body.janox-template .janox-subview-actions {
  margin-bottom: 14px !important;
  padding-bottom: 6px;
}

body.janox-template .janox-form-container .btn.btn-warning,
body.janox-template .janox-btn-accent,
body.janox-template .janox-btn-create {
  background: #f4b54d;
  border: 1px solid #d39a37;
  color: #4a3614 !important;
}

body.janox-template .janox-form-container .btn.btn-warning:hover,
body.janox-template .janox-form-container .btn.btn-warning:focus,
body.janox-template .janox-btn-accent:hover,
body.janox-template .janox-btn-accent:focus,
body.janox-template .janox-btn-create:hover,
body.janox-template .janox-btn-create:focus {
  background: #edaa3a;
  border-color: #c68c2f;
  color: #4a3614 !important;
}

body.janox-template .janox-form-container .btn.btn-info {
  background: #63b5c9;
  border: 1px solid #4f9bae;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-info:hover,
body.janox-template .janox-form-container .btn.btn-info:focus {
  background: #58aabd;
  border-color: #458f9f;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-danger {
  background: #b55352;
  border: 1px solid #a24a49;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn.btn-danger:hover,
body.janox-template .janox-form-container .btn.btn-danger:focus {
  background: #a64948;
  border-color: #923f3e;
  color: #ffffff !important;
}

body.janox-template .janox-form-container .btn:focus,
body.janox-template .janox-form-container .btn:active,
body.janox-template .janox-btn:focus,
body.janox-template .janox-btn:active {
  box-shadow: none !important;
  outline: 0 !important;
}

body.janox-template .janox-form-container .btn[disabled],
body.janox-template .janox-form-container .btn.disabled,
body.janox-template .janox-btn[disabled],
body.janox-template .janox-btn.disabled {
  box-shadow: none;
  opacity: 0.6;
}

body.janox-template .btn.janox-btn-icon-only {
  align-items: center;
  display: inline-flex;
  height: var(--janox-btn-height);
  justify-content: center;
  line-height: 1 !important;
  min-height: var(--janox-btn-height);
  min-width: var(--janox-btn-height);
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
  width: var(--janox-btn-height);
}

body.janox-template .btn.janox-btn-icon-only .glyphicon,
body.janox-template .btn.janox-btn-icon-only .fa {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  top: 0 !important;
}

/* Compact action buttons inside data tables */
body.janox-template .janox-form-container table tbody td .btn,
body.janox-template .asv-shell table tbody td .btn,
body.janox-template .dataTables_wrapper table tbody td .btn,
body.janox-template table.dataTable tbody td .btn,
body.janox-template table.dt-mac tbody td .btn,
body.janox-template table.janox-legacy-table tbody td .btn,
body.janox-template table.janox-datatable tbody td .btn {
  align-items: center !important;
  border-radius: var(--janox-table-btn-radius) !important;
  display: inline-flex !important;
  font-size: var(--janox-table-btn-font-size) !important;
  justify-content: center !important;
  letter-spacing: 0.1px;
  line-height: 1.15 !important;
  min-height: var(--janox-table-btn-height) !important;
  padding: var(--janox-table-btn-padding-y) var(--janox-table-btn-padding-x) !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

body.janox-template .janox-form-container table tbody td .btn .glyphicon,
body.janox-template .janox-form-container table tbody td .btn .fa,
body.janox-template .asv-shell table tbody td .btn .glyphicon,
body.janox-template .asv-shell table tbody td .btn .fa,
body.janox-template .dataTables_wrapper table tbody td .btn .glyphicon,
body.janox-template .dataTables_wrapper table tbody td .btn .fa,
body.janox-template table.dataTable tbody td .btn .glyphicon,
body.janox-template table.dataTable tbody td .btn .fa,
body.janox-template table.dt-mac tbody td .btn .glyphicon,
body.janox-template table.dt-mac tbody td .btn .fa,
body.janox-template table.janox-legacy-table tbody td .btn .glyphicon,
body.janox-template table.janox-legacy-table tbody td .btn .fa,
body.janox-template table.janox-datatable tbody td .btn .glyphicon,
body.janox-template table.janox-datatable tbody td .btn .fa {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: var(--janox-table-btn-icon-font-size) !important;
  justify-content: center;
  line-height: 1 !important;
  margin-right: 0 !important;
  min-width: 1em;
  top: 0 !important;
  vertical-align: middle !important;
}

body.janox-template .janox-form-container table tbody td .btn > .glyphicon:only-child,
body.janox-template .janox-form-container table tbody td .btn > .fa:only-child,
body.janox-template .asv-shell table tbody td .btn > .glyphicon:only-child,
body.janox-template .asv-shell table tbody td .btn > .fa:only-child,
body.janox-template .dataTables_wrapper table tbody td .btn > .glyphicon:only-child,
body.janox-template .dataTables_wrapper table tbody td .btn > .fa:only-child,
body.janox-template table.dataTable tbody td .btn > .glyphicon:only-child,
body.janox-template table.dataTable tbody td .btn > .fa:only-child,
body.janox-template table.dt-mac tbody td .btn > .glyphicon:only-child,
body.janox-template table.dt-mac tbody td .btn > .fa:only-child,
body.janox-template table.janox-legacy-table tbody td .btn > .glyphicon:only-child,
body.janox-template table.janox-legacy-table tbody td .btn > .fa:only-child,
body.janox-template table.janox-datatable tbody td .btn > .glyphicon:only-child,
body.janox-template table.janox-datatable tbody td .btn > .fa:only-child {
  font-size: var(--janox-table-btn-icon-only-font-size) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.janox-template .janox-form-container table tbody td .btn.janox-btn-icon-only,
body.janox-template .asv-shell table tbody td .btn.janox-btn-icon-only,
body.janox-template .dataTables_wrapper table tbody td .btn.janox-btn-icon-only,
body.janox-template table.dataTable tbody td .btn.janox-btn-icon-only {
  align-items: center !important;
  display: inline-flex !important;
  height: var(--janox-table-btn-icon-size) !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: var(--janox-table-btn-icon-size) !important;
  min-width: var(--janox-table-btn-icon-size) !important;
  padding: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
  width: var(--janox-table-btn-icon-size) !important;
}

body.janox-template .janox-form-container table tbody td .btn.janox-btn-icon-only .glyphicon,
body.janox-template .janox-form-container table tbody td .btn.janox-btn-icon-only .fa,
body.janox-template .asv-shell table tbody td .btn.janox-btn-icon-only .glyphicon,
body.janox-template .asv-shell table tbody td .btn.janox-btn-icon-only .fa,
body.janox-template .dataTables_wrapper table tbody td .btn.janox-btn-icon-only .glyphicon,
body.janox-template .dataTables_wrapper table tbody td .btn.janox-btn-icon-only .fa,
body.janox-template table.dataTable tbody td .btn.janox-btn-icon-only .glyphicon,
body.janox-template table.dataTable tbody td .btn.janox-btn-icon-only .fa {
  font-size: var(--janox-table-btn-icon-only-font-size) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  top: 0 !important;
}

/* Reusable pill/badge element */
body.janox-template .janox-pill,
body.janox-template .label.janox-pill {
  background: linear-gradient(135deg, var(--janox-pill-bg-start) 0%, var(--janox-pill-bg-end) 100%) !important;
  border: 1px solid var(--janox-pill-border);
  border-radius: 999px;
  box-shadow: var(--janox-pill-shadow);
  color: var(--janox-pill-text) !important;
  display: inline-block;
  font-size: var(--janox-pill-font-size);
  letter-spacing: 0.2px;
  line-height: 1;
  padding: var(--janox-pill-padding-y) var(--janox-pill-padding-x);
  text-transform: none !important;
  vertical-align: middle;
}

/* Status pill for table states (association/correspondence, etc.) */
body.janox-template .janox-status-pill {
  align-items: center;
  border: 1px solid #cfdaea;
  border-radius: 999px;
  color: #456082;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-width: 74px;
  padding: 4px 10px;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  background: #eef3f8;
}

body.janox-template .janox-status-pill.is-completo,
body.janox-template .janox-status-pill.is-si {
  background: #ebf8ef;
  border-color: #bde5cc;
  color: #1f7a43;
}

body.janox-template .janox-status-pill.is-parcial {
  background: #fff6e8;
  border-color: #f2ddba;
  color: #8c6112;
}

body.janox-template .janox-status-pill.is-inconsistente {
  background: #fdecec;
  border-color: #f3c0c0;
  color: #b33434;
}

/* Reusable pagination (based on DIAN TV list style) */
body.janox-template .janox-pagination-bar {
  align-items: center;
  border-top: 1px solid var(--janox-pagination-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
  padding: 10px var(--janox-pagination-gutter-x) var(--janox-pagination-gutter-bottom);
}

body.janox-template .janox-pagination-info {
  color: #5f738d;
  font-size: 11px;
  line-height: 1.15;
}

body.janox-template .janox-pagination.pagination {
  margin: 0;
}

/* Shared gutters so pagination never touches container edges */
body.janox-template .cubo-grid-shell.janox-form-container .cubo-grid-foot {
  padding: 0 var(--janox-pagination-gutter-x) var(--janox-pagination-gutter-bottom);
}

body.janox-template .cubo-grid-shell.janox-form-container .cubo-scroll-hint {
  margin-left: var(--janox-pagination-gutter-x);
}

body.janox-template .janox-pagination > li > a,
body.janox-template .janox-pagination > li > span {
  background: var(--janox-pagination-item-bg);
  border-color: var(--janox-pagination-item-border);
  border-radius: 7px;
  color: var(--janox-pagination-item-color);
  margin-left: 4px;
  padding: 4px 9px;
  text-decoration: none;
  text-transform: none !important;
}

body.janox-template .janox-pagination > li > a:hover,
body.janox-template .janox-pagination > li > span:hover {
  background: var(--janox-pagination-item-hover-bg);
  border-color: var(--janox-pagination-item-border);
  color: var(--janox-pagination-item-color);
}

body.janox-template .janox-pagination > li:first-child > a,
body.janox-template .janox-pagination > li:first-child > span {
  margin-left: 0;
}

body.janox-template .janox-pagination > .active > a,
body.janox-template .janox-pagination > .active > span,
body.janox-template .janox-pagination > .active > a:hover,
body.janox-template .janox-pagination > .active > span:hover {
  background: var(--janox-pagination-active-bg);
  border-color: var(--janox-pagination-active-bg);
  color: #ffffff;
}

body.janox-template .janox-pagination > .disabled > span,
body.janox-template .janox-pagination > .disabled > a,
body.janox-template .janox-pagination > .disabled > a:hover {
  color: var(--janox-pagination-disabled-color);
  cursor: not-allowed;
}

body.janox-template .janox-legacy-container {
  position: relative;
  width: 100%;
}

/* Horizontal scroll host for wide Janox legacy tables */
body.janox-template .janox-table-scroll-x {
  -webkit-overflow-scrolling: touch;
  display: block;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scrollbar-gutter: stable both-edges;
}

/* Optional top horizontal scrollbar (synced with table host) for narrow screens */
body.janox-template .janox-top-scroll-x {
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid #d7e1ee;
  border-radius: 9px;
  box-sizing: border-box;
  display: none;
  margin: 0 0 6px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #6f8fb2 #dde9f6;
  scrollbar-width: auto;
  scrollbar-gutter: stable both-edges;
}

body.janox-template .janox-top-scroll-x.is-active {
  display: block;
}

body.janox-template .janox-top-scroll-x.is-force {
  display: block !important;
}

body.janox-template .janox-top-scroll-x .janox-top-scroll-x-track {
  height: 1px;
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar {
  height: 16px;
  width: 14px;
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar-track {
  background: #dde9f6;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #c3d6ea;
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7f9fbe 0%, #6b8db2 100%);
  border: 2px solid #dde9f6;
  border-radius: 999px;
  min-width: 52px;
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7193b8 0%, #5f82aa 100%);
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar-thumb:active {
  background: #55779f;
}

body.janox-template .janox-top-scroll-x::-webkit-scrollbar-corner {
  background: #dde9f6;
}

@media (min-width: 1501px) {
  body.janox-template .janox-top-scroll-x:not(.is-force) {
    display: none !important;
  }
}

body.janox-template .janox-table-scroll-x > .janox-legacy-container {
  display: block;
  max-width: 100% !important;
  min-width: 0;
  overflow: visible !important;
  width: 100%;
}

body.janox-template .janox-table-scroll-x > table.dt-mac,
body.janox-template .janox-table-scroll-x .janox-legacy-container > table.dt-mac,
body.janox-template .janox-table-scroll-x .janox-legacy-table {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (max-width: 1500px) {
  body.janox-template .janox-table-scroll-x {
    overflow-x: auto !important;
  }

  body.janox-template .janox-table-scroll-x > .janox-legacy-container {
    display: inline-block;
    max-width: none !important;
    min-width: 100%;
    vertical-align: top;
    width: max-content;
  }

  body.janox-template .janox-table-scroll-x > table.dt-mac,
  body.janox-template .janox-table-scroll-x .janox-legacy-container > table.dt-mac,
  body.janox-template .janox-table-scroll-x .janox-legacy-table {
    max-width: none !important;
    min-width: 100% !important;
    width: max-content !important;
  }
}

/* Global Janox visual style for legacy data tables */
body.janox-template table.janox-legacy-table,
body.janox-template .janox-legacy-container > table.dt-mac,
body.janox-template table.dt-mac,
body.janox-template table.janox-datatable {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

body.janox-template table.janox-legacy-table > thead > tr > th,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th,
body.janox-template table.dt-mac > thead > tr > th,
body.janox-template table.janox-datatable > thead > tr > th {
  background: var(--janox-table-head-bg);
  border-bottom: 1px solid var(--janox-table-head-border);
  color: var(--janox-table-head-color);
  font-size: var(--janox-table-head-font-size);
  font-weight: 700;
  letter-spacing: .2px !important;
  padding: 9px 10px;
  position: relative;
  vertical-align: middle !important;
}

body.janox-template table.janox-legacy-table > thead > tr > th + th::before,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th + th::before,
body.janox-template table.dt-mac > thead > tr > th + th::before,
body.janox-template table.janox-datatable > thead > tr > th + th::before {
  background: var(--janox-table-head-separator);
  content: '';
  height: calc(100% - 12px);
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 6px;
  width: 1px;
}

body.janox-template table.janox-legacy-table > thead > tr > th:first-child::before,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th:first-child::before,
body.janox-template table.dt-mac > thead > tr > th:first-child::before,
body.janox-template table.janox-datatable > thead > tr > th:first-child::before,
body.janox-template table.janox-legacy-table > thead > tr > th:last-child::after,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th:last-child::after,
body.janox-template table.dt-mac > thead > tr > th:last-child::after,
body.janox-template table.janox-datatable > thead > tr > th:last-child::after {
  background: var(--janox-table-head-separator);
  content: '';
  height: calc(100% - 12px);
  pointer-events: none;
  position: absolute;
  top: 6px;
  width: 1px;
}

body.janox-template table.janox-legacy-table > thead > tr > th:first-child::before,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th:first-child::before,
body.janox-template table.dt-mac > thead > tr > th:first-child::before,
body.janox-template table.janox-datatable > thead > tr > th:first-child::before {
  left: 0;
}

body.janox-template table.janox-legacy-table > thead > tr > th:last-child::after,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th:last-child::after,
body.janox-template table.dt-mac > thead > tr > th:last-child::after,
body.janox-template table.janox-datatable > thead > tr > th:last-child::after {
  right: 0;
}

body.janox-template table.janox-legacy-table > thead > tr > th.align_center,
body.janox-template table.janox-legacy-table > tbody > tr > td.align_center,
body.janox-template .janox-legacy-container > table.dt-mac > thead > tr > th.align_center,
body.janox-template .janox-legacy-container > table.dt-mac > tbody > tr > td.align_center,
body.janox-template table.dt-mac > thead > tr > th.align_center,
body.janox-template table.dt-mac > tbody > tr > td.align_center,
body.janox-template table.janox-datatable > thead > tr > th.align_center,
body.janox-template table.janox-datatable > tbody > tr > td.align_center {
  text-align: center;
}

body.janox-template table.janox-legacy-table > tbody > tr > td,
body.janox-template .janox-legacy-container > table.dt-mac > tbody > tr > td,
body.janox-template table.dt-mac > tbody > tr > td,
body.janox-template table.janox-datatable > tbody > tr > td {
  color: var(--janox-table-cell-color);
  font-size: var(--janox-table-cell-font-size) !important;
  line-height: 1.35;
  padding: 8px 10px;
  vertical-align: middle !important;
}

body.janox-template table.janox-legacy-table > tbody > tr:hover > td,
body.janox-template .janox-legacy-container > table.dt-mac > tbody > tr:hover > td,
body.janox-template table.dt-mac > tbody > tr:hover > td,
body.janox-template table.janox-datatable > tbody > tr:hover > td {
  background-color: var(--janox-table-row-hover);
}

body.janox-template .janox-legacy-table .janox-cell-strong,
body.janox-template table.dt-mac .janox-cell-strong,
body.janox-template table.janox-datatable .janox-cell-strong {
  color: var(--janox-table-cell-strong-color);
  font-variant-numeric: tabular-nums;
  font-weight: 700 !important;
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-inmueble,
body.janox-template table.dt-mac .janox-cell-inmueble,
body.janox-template table.janox-datatable .janox-cell-inmueble {
  color: var(--janox-table-cell-accent-color);
  font-weight: 600 !important;
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-tag,
body.janox-template .janox-legacy-table .janox-cell-status,
body.janox-template table.dt-mac .janox-cell-tag,
body.janox-template table.dt-mac .janox-cell-status,
body.janox-template table.janox-datatable .janox-cell-tag,
body.janox-template table.janox-datatable .janox-cell-status {
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-date,
body.janox-template table.dt-mac .janox-cell-date,
body.janox-template table.janox-datatable .janox-cell-date {
  color: var(--janox-table-cell-muted-color);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-subject,
body.janox-template table.dt-mac .janox-cell-subject,
body.janox-template table.janox-datatable .janox-cell-subject {
  line-height: 1.35;
  max-width: 360px;
  min-width: 220px;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

body.janox-template .janox-legacy-table .janox-cell-priority,
body.janox-template table.dt-mac .janox-cell-priority,
body.janox-template table.janox-datatable .janox-cell-priority {
  font-variant-numeric: tabular-nums;
  font-weight: 600 !important;
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-actions,
body.janox-template table.dt-mac .janox-cell-actions,
body.janox-template table.janox-datatable .janox-cell-actions {
  text-align: center;
  white-space: nowrap;
}

body.janox-template .janox-legacy-table .janox-cell-actions .btn,
body.janox-template table.dt-mac .janox-cell-actions .btn,
body.janox-template table.janox-datatable .janox-cell-actions .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 30px;
}

body.janox-template .janox-table-toolbar {
  align-items: center;
  display: block;
  margin-bottom: 10px;
  width: 100%;
}

body.janox-template .janox-table-toolbar .janox-export-btn {
  min-width: 122px;
}

body.janox-template .janox-table-toolbar input[id*="searchtext"],
body.janox-template .janox-table-toolbar input[type="search"] {
  max-width: 280px;
}

body.janox-template .janox-search-status {
  color: #5f738d;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  margin-right: 7px;
  opacity: 0;
  text-align: right;
  transition: opacity .15s ease;
  vertical-align: middle;
  visibility: hidden;
  white-space: nowrap;
}

body.janox-template .janox-search-status.is-visible {
  opacity: 1;
  visibility: visible;
}

body.janox-template .janox-search-status.janox-search-status-float {
  float: right;
  line-height: 28px;
  margin-right: 8px;
}

body.janox-template .janox-legacy-footer {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto 1fr;
}

body.janox-template .janox-legacy-pagination {
  justify-self: end;
  margin-left: 0;
}

body.janox-template .janox-legacy-length-wrap {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  justify-self: center;
}

body.janox-template .janox-legacy-info {
  justify-self: start;
}

body.janox-template .janox-legacy-length-label {
  color: #5f738d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
}

body.janox-template .janox-legacy-length.form-control {
  height: 28px;
  min-width: 74px;
  padding: 2px 8px;
}

body.janox-template .janox-legacy-empty-cell {
  color: #6f8198;
  font-size: 12px;
  padding: 14px 10px !important;
  text-align: center;
}

body.janox-template table .janox-legacy-sortable {
  cursor: pointer;
  user-select: none;
}

body.janox-template table .janox-legacy-sort-active {
  color: #204f83;
}

body.janox-template table .janox-sort-indicator {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
  min-width: 10px;
  text-align: center;
}

/* DataTables pagination in Empresas views */
body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_info {
  color: #5f738d;
  font-size: 11px;
  line-height: 1.2;
  padding-bottom: 6px;
  padding-top: 6px;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate {
  float: none !important;
  font-size: 11px;
  line-height: 1;
  padding-bottom: var(--janox-pagination-gutter-bottom);
  padding-left: var(--janox-pagination-gutter-x);
  padding-right: var(--janox-pagination-gutter-x);
  padding-top: 0;
  text-align: right;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  width: auto !important;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_button,
body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_active,
body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate .paginate_button {
  background: var(--janox-pagination-item-bg) !important;
  border: 1px solid var(--janox-pagination-item-border) !important;
  border-radius: 7px;
  color: var(--janox-pagination-item-color) !important;
  cursor: pointer;
  display: inline-flex;
  line-height: 1;
  margin: 0 !important;
  min-width: 28px;
  padding: 5px 9px !important;
  text-decoration: none !important;
  text-transform: none !important;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_button:hover,
body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--janox-pagination-item-hover-bg) !important;
  border-color: var(--janox-pagination-item-border) !important;
  color: var(--janox-pagination-item-color) !important;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_active,
body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--janox-pagination-active-bg) !important;
  border-color: var(--janox-pagination-active-bg) !important;
  color: #ffffff !important;
}

body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_button_disabled,
body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_disabled_previous,
body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers .paginate_disabled_next,
body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  background: #f3f5f8 !important;
  border-color: #e0e6ef !important;
  color: var(--janox-pagination-disabled-color) !important;
  cursor: not-allowed !important;
}

@media (max-width: 767px) {
  body.janox-template .janox-pagination-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.janox-template .janox-legacy-footer {
    grid-template-columns: 1fr;
  }

  body.janox-template .janox-legacy-info,
  body.janox-template .janox-legacy-length-wrap,
  body.janox-template .janox-legacy-pagination {
    justify-self: center;
  }

  body.janox-template .emp-btn-theme .dataTables_wrapper .dataTables_paginate {
    margin-top: 6px;
    text-align: left;
  }

  body.janox-template .emp-btn-theme .dataTables_wrapper .paging_full_numbers {
    justify-content: flex-start;
  }
}

/* Reusable toast stack */
body.janox-template .janox-toast-stack,
#janox-toast-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100vw - 24px);
  pointer-events: none;
  position: fixed;
  right: 14px;
  top: 14px;
  width: 332px;
  z-index: 2147483200;
}

body.janox-template .janox-toast-item,
#janox-toast-stack .janox-toast-item {
  align-items: flex-start;
  border: 1px solid transparent;
  border-radius: 15px;
  box-shadow: 0 12px 26px rgba(25, 37, 58, 0.12);
  color: #22344d;
  display: flex;
  gap: 11px;
  opacity: 0;
  padding: 14px 15px 13px;
  pointer-events: auto;
  position: relative;
  transform: translate3d(0, -8px, 0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.janox-template .janox-toast-item.is-visible,
#janox-toast-stack .janox-toast-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.janox-template .janox-toast-item.janox-toast-success,
#janox-toast-stack .janox-toast-item.janox-toast-success {
  background: linear-gradient(180deg, #f3fbf6 0%, #eef9f2 100%);
  border-color: rgba(66, 153, 101, 0.32);
}

body.janox-template .janox-toast-item.janox-toast-error,
#janox-toast-stack .janox-toast-item.janox-toast-error {
  background: linear-gradient(180deg, #fdf1f3 0%, #faecef 100%);
  border-color: rgba(208, 72, 98, 0.32);
}

body.janox-template .janox-toast-item.janox-toast-warning,
#janox-toast-stack .janox-toast-item.janox-toast-warning {
  background: linear-gradient(180deg, #fff8ec 0%, #fff3df 100%);
  border-color: rgba(214, 154, 57, 0.34);
}

body.janox-template .janox-toast-item.janox-toast-info,
#janox-toast-stack .janox-toast-item.janox-toast-info {
  background: linear-gradient(180deg, #eef6fd 0%, #eaf2fb 100%);
  border-color: rgba(62, 139, 192, 0.30);
}

body.janox-template .janox-toast-icon,
#janox-toast-stack .janox-toast-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

body.janox-template .janox-toast-item.janox-toast-success .janox-toast-icon,
#janox-toast-stack .janox-toast-item.janox-toast-success .janox-toast-icon {
  color: #23824f;
}

body.janox-template .janox-toast-item.janox-toast-error .janox-toast-icon,
#janox-toast-stack .janox-toast-item.janox-toast-error .janox-toast-icon {
  color: #cf2d57;
}

body.janox-template .janox-toast-item.janox-toast-warning .janox-toast-icon,
#janox-toast-stack .janox-toast-item.janox-toast-warning .janox-toast-icon {
  color: #cc8b1e;
}

body.janox-template .janox-toast-item.janox-toast-info .janox-toast-icon,
#janox-toast-stack .janox-toast-item.janox-toast-info .janox-toast-icon {
  color: #2d79af;
}

body.janox-template .janox-toast-copy,
#janox-toast-stack .janox-toast-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.janox-template .janox-toast-title,
#janox-toast-stack .janox-toast-title {
  color: #17324d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-right: 18px;
}

body.janox-template .janox-toast-message,
#janox-toast-stack .janox-toast-message {
  color: #27415d;
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.35;
  margin-right: 6px;
  white-space: pre-line;
  word-break: break-word;
}

body.janox-template .janox-toast-close,
#janox-toast-stack .janox-toast-close {
  background: transparent;
  border: none;
  color: #45617f;
  cursor: pointer;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 10px;
}

body.janox-template .janox-toast-close:hover,
#janox-toast-stack .janox-toast-close:hover,
body.janox-template .janox-toast-close:focus,
#janox-toast-stack .janox-toast-close:focus {
  color: #233d5a;
  opacity: 0.88;
}

@media (max-width: 767px) {
  body.janox-template .janox-toast-stack,
  #janox-toast-stack {
    left: 10px;
    right: 10px;
    top: 10px;
    width: auto;
  }

  body.janox-template .janox-toast-item,
  #janox-toast-stack .janox-toast-item {
    border-radius: 14px;
    gap: 10px;
    padding: 13px 14px 12px;
  }

  body.janox-template .janox-toast-title,
  #janox-toast-stack .janox-toast-title {
    font-size: 15px;
  }

  body.janox-template .janox-toast-message,
  #janox-toast-stack .janox-toast-message {
    font-size: 12px;
  }
}

/* Base fields */
body.janox-template .form-control,
body.janox-template input[type="text"],
body.janox-template input[type="email"],
body.janox-template input[type="number"],
body.janox-template input[type="password"],
body.janox-template input[type="search"],
body.janox-template input[type="tel"],
body.janox-template input[type="url"],
body.janox-template .bootstrap-select > .dropdown-toggle,
body.janox-template select,
body.janox-template textarea {
  background: var(--janox-input-bg);
  border: 1px solid var(--janox-input-border);
  border-radius: var(--janox-input-radius);
  box-shadow: var(--janox-input-shadow);
  color: var(--janox-input-text);
  font-size: var(--janox-input-font-size);
  font-weight: var(--janox-input-font-weight);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

body.janox-template .form-control,
body.janox-template input[type="text"],
body.janox-template input[type="email"],
body.janox-template input[type="number"],
body.janox-template input[type="password"],
body.janox-template input[type="search"],
body.janox-template input[type="tel"],
body.janox-template input[type="url"],
body.janox-template select {
  height: var(--janox-input-height);
  line-height: normal;
  padding-left: var(--janox-input-padding-x);
  padding-right: var(--janox-input-padding-x);
}

body.janox-template textarea {
  min-height: 82px;
  padding: 8px var(--janox-input-padding-x);
  resize: vertical;
}

body.janox-template textarea[id^="observaciones_"] {
  height: var(--janox-input-height);
  min-height: var(--janox-input-height);
  overflow-y: auto;
  padding-bottom: 6px;
  padding-top: 6px;
  resize: vertical;
}

body.janox-template textarea#observaciones_documento {
  display: block;
  height: 110px;
  min-height: 110px;
  padding-bottom: 8px;
  padding-top: 8px;
  width: 100%;
}

body.janox-template .form-control:hover,
body.janox-template input[type="text"]:hover,
body.janox-template input[type="email"]:hover,
body.janox-template input[type="number"]:hover,
body.janox-template input[type="password"]:hover,
body.janox-template input[type="search"]:hover,
body.janox-template input[type="tel"]:hover,
body.janox-template input[type="url"]:hover,
body.janox-template .bootstrap-select > .dropdown-toggle:hover,
body.janox-template select:hover,
body.janox-template textarea:hover {
  background: var(--janox-input-bg);
  border-color: var(--janox-input-border-hover);
  box-shadow: var(--janox-input-shadow-hover);
}

body.janox-template .form-control:focus,
body.janox-template input[type="text"]:focus,
body.janox-template input[type="email"]:focus,
body.janox-template input[type="number"]:focus,
body.janox-template input[type="password"]:focus,
body.janox-template input[type="search"]:focus,
body.janox-template input[type="tel"]:focus,
body.janox-template input[type="url"]:focus,
body.janox-template .bootstrap-select > .dropdown-toggle:focus,
body.janox-template .bootstrap-select.open > .dropdown-toggle,
body.janox-template select:focus,
body.janox-template textarea:focus {
  background: var(--janox-input-bg);
  border-color: var(--janox-input-border-focus);
  box-shadow: var(--janox-input-shadow-focus);
  outline: 0;
}

/* Always enforce Janox styles in filter controls across modules/views */
body.janox-template .janox-filter-scope .form-control:not([disabled]):not([readonly]),
body.janox-template .janox-filter-scope .bootstrap-select > .dropdown-toggle:not(.disabled),
body.janox-template form.filters-grid .form-control:not([disabled]):not([readonly]),
body.janox-template form.filters-grid .bootstrap-select > .dropdown-toggle:not(.disabled),
body.janox-template .filters-card .form-control:not([disabled]):not([readonly]),
body.janox-template .filters-card .bootstrap-select > .dropdown-toggle:not(.disabled),
body.janox-template .janox-form-container .form-control[class*="filter-control"]:not([disabled]):not([readonly]),
body.janox-template .janox-form-container .janox-field-control:not(.disabled):not([disabled]):not([readonly]) {
  background: var(--janox-input-bg) !important;
  border: 1px solid var(--janox-input-border) !important;
  border-radius: var(--janox-input-radius) !important;
  box-shadow: var(--janox-input-shadow) !important;
  color: var(--janox-input-text) !important;
  font-size: var(--janox-input-font-size) !important;
  font-weight: var(--janox-input-font-weight) !important;
}

body.janox-template .janox-filter-scope .form-control:not([disabled]):not([readonly]):hover,
body.janox-template .janox-filter-scope .bootstrap-select > .dropdown-toggle:not(.disabled):hover,
body.janox-template form.filters-grid .form-control:not([disabled]):not([readonly]):hover,
body.janox-template form.filters-grid .bootstrap-select > .dropdown-toggle:not(.disabled):hover,
body.janox-template .filters-card .form-control:not([disabled]):not([readonly]):hover,
body.janox-template .filters-card .bootstrap-select > .dropdown-toggle:not(.disabled):hover,
body.janox-template .janox-form-container .form-control[class*="filter-control"]:not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container .janox-field-control:not(.disabled):not([disabled]):not([readonly]):hover {
  background: var(--janox-input-bg) !important;
  border-color: var(--janox-input-border-hover) !important;
  box-shadow: var(--janox-input-shadow-hover) !important;
}

body.janox-template .janox-filter-scope .form-control:not([disabled]):not([readonly]):focus,
body.janox-template .janox-filter-scope .bootstrap-select > .dropdown-toggle:not(.disabled):focus,
body.janox-template .janox-filter-scope .bootstrap-select.open > .dropdown-toggle:not(.disabled),
body.janox-template form.filters-grid .form-control:not([disabled]):not([readonly]):focus,
body.janox-template form.filters-grid .bootstrap-select > .dropdown-toggle:not(.disabled):focus,
body.janox-template form.filters-grid .bootstrap-select.open > .dropdown-toggle:not(.disabled),
body.janox-template .filters-card .form-control:not([disabled]):not([readonly]):focus,
body.janox-template .filters-card .bootstrap-select > .dropdown-toggle:not(.disabled):focus,
body.janox-template .filters-card .bootstrap-select.open > .dropdown-toggle:not(.disabled),
body.janox-template .janox-form-container .form-control[class*="filter-control"]:not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container .janox-field-control:not(.disabled):not([disabled]):not([readonly]):focus {
  background: var(--janox-input-bg) !important;
  border-color: var(--janox-input-border-focus) !important;
  box-shadow: var(--janox-input-shadow-focus) !important;
}

/* Bootstrap-select wrappers inside Janox filters must not render an extra outer box */
body.janox-template .janox-filter-scope .bootstrap-select.form-control,
body.janox-template form.filters-grid .bootstrap-select.form-control,
body.janox-template .filters-card .bootstrap-select.form-control,
body.janox-template .janox-form-container .bootstrap-select.form-control {
  background: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: normal !important;
  overflow: visible !important;
  padding: 0 !important;
}

/* Also neutralize wrappers rendered as .bootstrap-select/.btn-group without .form-control */
body.janox-template .janox-filter-scope .bootstrap-select,
body.janox-template form.filters-grid .bootstrap-select,
body.janox-template .filters-card .bootstrap-select,
body.janox-template .janox-form-container .bootstrap-select {
  border-color: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* If janox-field-control lands on bootstrap-select wrapper, keep wrapper border transparent */
body.janox-template .janox-filter-scope .bootstrap-select.janox-field-control,
body.janox-template .janox-filter-scope .bootstrap-select.janox-field-control:hover,
body.janox-template .janox-filter-scope .bootstrap-select.janox-field-control:focus,
body.janox-template .janox-filter-scope .bootstrap-select.janox-field-control.open,
body.janox-template form.filters-grid .bootstrap-select.janox-field-control,
body.janox-template form.filters-grid .bootstrap-select.janox-field-control:hover,
body.janox-template form.filters-grid .bootstrap-select.janox-field-control:focus,
body.janox-template form.filters-grid .bootstrap-select.janox-field-control.open,
body.janox-template .filters-card .bootstrap-select.janox-field-control,
body.janox-template .filters-card .bootstrap-select.janox-field-control:hover,
body.janox-template .filters-card .bootstrap-select.janox-field-control:focus,
body.janox-template .filters-card .bootstrap-select.janox-field-control.open,
body.janox-template .janox-form-container .bootstrap-select.janox-field-control,
body.janox-template .janox-form-container .bootstrap-select.janox-field-control:hover,
body.janox-template .janox-form-container .bootstrap-select.janox-field-control:focus,
body.janox-template .janox-form-container .bootstrap-select.janox-field-control.open {
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

/* Exact wrapper used by bootstrap-select in forms: keep border transparent in all states */
body.janox-template .janox-form-container .btn-group.bootstrap-select.show-tick.janox-field-control:not(.disabled):not([disabled]):not([readonly]),
body.janox-template .janox-form-container .btn-group.bootstrap-select.show-tick.janox-field-control:not(.disabled):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container .btn-group.bootstrap-select.show-tick.janox-field-control:not(.disabled):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container .btn-group.bootstrap-select.show-tick.janox-field-control.open {
  border: 1px solid transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Active/focus fields must stay without gray fill from legacy/bootstrap states */
body.janox-template .form-control:active,
body.janox-template .form-control:focus,
body.janox-template input[type="text"]:active,
body.janox-template input[type="text"]:focus,
body.janox-template input[type="email"]:active,
body.janox-template input[type="email"]:focus,
body.janox-template input[type="number"]:active,
body.janox-template input[type="number"]:focus,
body.janox-template input[type="password"]:active,
body.janox-template input[type="password"]:focus,
body.janox-template input[type="search"]:active,
body.janox-template input[type="search"]:focus,
body.janox-template input[type="tel"]:active,
body.janox-template input[type="tel"]:focus,
body.janox-template input[type="url"]:active,
body.janox-template input[type="url"]:focus,
body.janox-template select:active,
body.janox-template select:focus,
body.janox-template textarea:active,
body.janox-template textarea:focus,
body.janox-template .bootstrap-select > .dropdown-toggle:active,
body.janox-template .bootstrap-select > .dropdown-toggle:focus,
body.janox-template .bootstrap-select > .dropdown-toggle.active,
body.janox-template .bootstrap-select.open > .dropdown-toggle,
body.janox-template .bootstrap-select.btn-group.open > .dropdown-toggle,
body.janox-template .btn-group.open > .multiselect.dropdown-toggle,
body.janox-template .multiselect.dropdown-toggle:active,
body.janox-template .multiselect.dropdown-toggle:focus,
body.janox-template .multiselect.dropdown-toggle.active {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Cog button alignment: always keep cog actions attached to their field */
body.janox-template .janox-form-container .form-group.janox-cog-inline-group {
  align-items: center;
  display: flex !important;
  flex-wrap: nowrap;
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > [class*="col-"] {
  float: none;
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-field-col {
  padding-right: 10px;
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col {
  align-items: center;
  display: flex;
  flex: 0 0 auto !important;
  max-width: none;
  min-width: 0;
  margin-left: 12px;
  padding-left: 0;
  padding-right: 0;
  width: auto !important;
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col .btn,
body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin-top: 0 !important;
  vertical-align: middle;
  white-space: nowrap;
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col .btn.janox-cog-icon-only,
body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col button.janox-cog-icon-only {
  height: var(--janox-input-height);
  min-height: var(--janox-input-height);
  padding: 0 !important;
  width: calc(var(--janox-input-height) + 4px);
}

body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col .btn.janox-cog-icon-only .glyphicon,
body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col button.janox-cog-icon-only .glyphicon,
body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col .btn.janox-cog-icon-only .fa,
body.janox-template .janox-form-container .form-group.janox-cog-inline-group > .janox-cog-col button.janox-cog-icon-only .fa {
  margin-right: 0 !important;
}

/* Janox field system (inputs/selects/filters) */
body.janox-template .emp-btn-theme .form-control,
body.janox-template .emp-btn-theme .bootstrap-select > .dropdown-toggle,
body.janox-template .emp-btn-theme .bootstrap-select.btn-group .btn .filter-option {
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

body.janox-template .emp-btn-theme select.form-control,
body.janox-template .emp-btn-theme .bootstrap-select > .dropdown-toggle,
body.janox-template .emp-btn-theme .bootstrap-select.btn-group .btn .filter-option,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect.dropdown-toggle {
  font-weight: 400 !important;
}

body.janox-template .emp-btn-theme .form-group > label,
body.janox-template .emp-btn-theme label.control-label,
body.janox-template .emp-btn-theme .emp-filter-field label {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

body.janox-template .emp-btn-theme .bootstrap-select > .dropdown-toggle {
  border-color: #e2e8f0;
  min-height: var(--janox-input-height);
  padding-bottom: 5px;
  padding-right: 34px !important;
  padding-top: 5px;
}

body.janox-template .emp-btn-theme .bootstrap-select > .dropdown-toggle .filter-option,
body.janox-template .emp-btn-theme .bootstrap-select.btn-group .btn .filter-option {
  padding-right: 8px !important;
}

body.janox-template .emp-btn-theme .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template .emp-btn-theme .bootstrap-select,
body.janox-template .emp-btn-theme .bootstrap-select.btn-group {
  float: none !important;
  width: 100% !important;
}

/* Janox upload component: aligned with comentarios UI */
body.janox-template .janox-upload-component[data-janox-upload="1"] {
  margin-top: 6px;
  width: 100%;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-input-slot,
body.janox-template .janox-upload-component[data-janox-upload="1"] .file-input,
body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-action-slot {
  display: none !important;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-drop {
  align-items: center;
  background: #f8fafc;
  border: 2px dashed #d7deeb;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  width: 100%;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-trigger {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 32px;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-meta {
  color: #475569;
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.45;
  min-width: 0;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-chip {
  background: #e0ecff;
  border-radius: 10px;
  color: #1d4ed8;
  display: inline-flex;
  font-weight: 700;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  padding: 7px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-summary {
  color: #64748b;
  margin-top: 4px;
  word-break: break-word;
}

body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-tip {
  color: #5f7086;
  font-size: 11px;
  line-height: 1.25;
  margin-top: 5px;
}

@media (max-width: 640px) {
  body.janox-template .janox-upload-component[data-janox-upload="1"] .janox-upload-drop {
    align-items: flex-start;
    flex-direction: column;
  }
}

body.janox-template .emp-btn-theme select[data-janox-width="content"],
body.janox-template .emp-btn-theme select.janox-content-width-select {
  max-width: 100% !important;
  min-width: 0 !important;
  width: var(--janox-content-select-width, auto) !important;
}

body.janox-template .emp-btn-theme .bootstrap-select[data-janox-width="content"],
body.janox-template .emp-btn-theme .btn-group[data-janox-width="content"] {
  max-width: 100% !important;
  min-width: 0 !important;
  width: var(--janox-content-select-width, auto) !important;
}

body.janox-template .emp-btn-theme .bootstrap-select[data-janox-width="content"] > .dropdown-toggle,
body.janox-template .emp-btn-theme .btn-group[data-janox-width="content"] > .multiselect.dropdown-toggle {
  max-width: 100% !important;
  min-width: 0 !important;
  width: var(--janox-content-select-width, auto) !important;
}

body.janox-template .emp-btn-theme select.janox-coeficientes-modulos-select + .bootstrap-select,
body.janox-template .emp-btn-theme select.janox-coeficientes-modulos-select + .btn-group {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.janox-template .emp-btn-theme select.janox-coeficientes-modulos-select + .bootstrap-select > .dropdown-toggle,
body.janox-template .emp-btn-theme select.janox-coeficientes-modulos-select + .btn-group > .multiselect.dropdown-toggle {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.janox-template .emp-btn-theme .linea_valor [id^="field-imputaciones-list"] > .bootstrap-select,
body.janox-template .emp-btn-theme .linea_valor [id^="field-imputaciones-list"] > .btn-group,
body.janox-template .emp-btn-theme .linea_valor [id*="field-imputaciones-list-"] > .bootstrap-select,
body.janox-template .emp-btn-theme .linea_valor [id*="field-imputaciones-list-"] > .btn-group {
  margin-right: 6px !important;
  max-width: calc(100% - 6px) !important;
  min-width: 0 !important;
  width: calc(100% - 6px) !important;
}

body.janox-template .emp-btn-theme .linea_valor [id^="field-imputaciones-list"] > .bootstrap-select > .dropdown-toggle,
body.janox-template .emp-btn-theme .linea_valor [id^="field-imputaciones-list"] > .btn-group > .multiselect.dropdown-toggle,
body.janox-template .emp-btn-theme .linea_valor [id*="field-imputaciones-list-"] > .bootstrap-select > .dropdown-toggle,
body.janox-template .emp-btn-theme .linea_valor [id*="field-imputaciones-list-"] > .btn-group > .multiselect.dropdown-toggle {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.janox-template .emp-btn-theme .bootstrap-select[data-janox-width="content"] .dropdown-menu,
body.janox-template .emp-btn-theme .btn-group[data-janox-width="content"] > .dropdown-menu,
body.janox-template .emp-btn-theme .btn-group[data-janox-width="content"] > .multiselect-container.dropdown-menu {
  max-width: none !important;
  min-width: var(--janox-content-select-dropdown-width, 260px) !important;
  width: var(--janox-content-select-dropdown-width, auto) !important;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container {
  display: block;
  max-width: 100%;
  width: 100% !important;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choice,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-selection--single,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-selection--multiple,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choices {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  min-height: var(--janox-input-height);
  text-shadow: none !important;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choice,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-selection--single {
  height: var(--janox-input-height);
  line-height: 30px;
  padding: 0 30px 0 10px;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choice .select2-arrow,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-selection--single .select2-selection__arrow {
  background: transparent !important;
  border-left: 0 !important;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choice .select2-arrow b,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-selection--single .select2-selection__arrow b {
  border-top-color: #64748b !important;
}

body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container.select2-container-active .select2-choice,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container .select2-choice:focus,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container.select2-container--open .select2-selection--single,
body.janox-template .emp-btn-theme select.janox-searchselect + .select2-container.select2-container--focus .select2-selection--single {
  background: #ffffff !important;
  border-color: #b9c5d6 !important;
  box-shadow: none !important;
}

body.janox-template .emp-btn-theme .select2-drop,
body.janox-template .emp-btn-theme .select2-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
  z-index: var(--janox-select-overlay-z) !important;
}

body.janox-template .emp-btn-theme .select2-search input,
body.janox-template .emp-btn-theme .select2-search__field {
  background: #ffffff;
  border: 1px solid #ccd7e5;
  border-radius: 8px;
  box-shadow: none;
  color: #334155;
  font-size: 12px;
  font-weight: 400 !important;
}

body.janox-template .emp-btn-theme .select2-results .select2-highlighted,
body.janox-template .emp-btn-theme .select2-results__option--highlighted {
  background: #f1f5f9 !important;
  color: #334155 !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .caret {
  border-top-color: #64748b;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  left: 0 !important;
  margin-top: 6px;
  min-width: 100% !important;
  opacity: 1 !important;
  overflow: hidden !important;
  right: auto !important;
  width: 100% !important;
  max-height: calc(var(--janox-select-list-max-height) + 76px) !important;
  padding: 6px 0 var(--janox-select-list-bottom-gap);
  z-index: var(--janox-select-overlay-z) !important;
}

body.janox-template .emp-btn-theme .bootstrap-select.open,
body.janox-template .emp-btn-theme .bootstrap-select.open .dropdown-menu {
  overflow: visible !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-searchbox {
  border-bottom: 1px solid #edf1f6;
  margin-bottom: var(--janox-select-search-shell-gap);
  padding: var(--janox-select-search-shell-padding);
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-searchbox .form-control {
  background: #ffffff;
  border: 1px solid #ccd7e5;
  border-radius: 8px;
  box-shadow: none;
  color: #334155;
  font-size: 12px;
  font-weight: 400 !important;
  height: 32px;
  padding: 6px 10px;
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-searchbox .form-control:focus {
  background: #ffffff;
  border-color: #9db1c9;
  box-shadow: none;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu.inner {
  background: #ffffff !important;
  border-radius: 8px;
  max-height: var(--janox-select-list-max-height) !important;
  opacity: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--janox-select-list-bottom-gap);
  scroll-padding-bottom: var(--janox-select-list-bottom-gap);
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu.inner > li:last-child > a {
  margin-bottom: 8px;
}

/* body-mounted bootstrap-select menus must mirror Janox spacing and keep the last row fully visible */
body.janox-template .bootstrap-select.bs-container .dropdown-menu.open {
  overflow: hidden !important;
  padding-bottom: var(--janox-select-list-bottom-gap) !important;
}

body.janox-template .bootstrap-select.bs-container .dropdown-menu.open .dropdown-menu.inner,
body.janox-template .bootstrap-select.bs-container .dropdown-menu.inner {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box;
  padding-bottom: var(--janox-select-list-bottom-gap) !important;
  scroll-padding-bottom: var(--janox-select-list-bottom-gap);
}

body.janox-template .bootstrap-select.bs-container .dropdown-menu.inner > li:last-child > a {
  margin-bottom: 8px;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li > a {
  border-radius: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.25;
  padding: 8px 14px 8px 38px;
  font-weight: 400 !important;
  position: relative;
  text-transform: none !important;
}

body.janox-template .bootstrap-select.show-tick .dropdown-menu li a {
  padding-right: 38px !important;
}

body.janox-template .bootstrap-select.show-tick .dropdown-menu li a span.text {
  display: block;
  margin-right: 22px !important;
  white-space: nowrap;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li > a:before {
  background: #ffffff;
  border: 1px solid #b7c5d8;
  border-radius: 3px;
  content: '';
  height: 13px;
  left: 14px;
  margin-top: -6px;
  position: absolute;
  top: 50%;
  width: 13px;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.selected > a:before {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 2px #ffffff;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li > a:hover,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li > a:focus {
  background: #f1f5f9;
  color: #334155;
}

/* Active/selected options must not paint background */
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.selected > a,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.selected > a:hover,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.selected > a:focus,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.active > a,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.active > a:hover,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li.active > a:focus {
  background: #ffffff !important;
  color: #334155 !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu > li,
body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu.inner > li {
  background: #ffffff;
}

body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu .no-results {
  background: #ffffff !important;
  color: #64748b;
  font-size: 11px;
  font-weight: 400 !important;
  margin: 0;
  padding: 8px 12px;
}

body.janox-template .emp-btn-theme .bootstrap-select.show-tick .dropdown-menu li a span.check-mark {
  color: transparent !important;
  line-height: 1;
  margin-top: 0 !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  right: 12px !important;
  text-align: center;
  width: 16px;
}

/* Keep visible check-marks vertically centered in legacy/non-themed pickers too */
body.janox-template .bootstrap-select.show-tick .dropdown-menu li a span.check-mark {
  margin-top: 0 !important;
  position: absolute !important;
  right: 12px !important;
  text-align: center;
  top: 50% !important;
  transform: translateY(-50%);
  width: 16px;
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-actionsbox,
body.janox-template .emp-btn-theme .bootstrap-select .bs-donebutton {
  border-top: 1px solid transparent;
  margin-top: 4px;
  padding: 8px 10px 6px;
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-actionsbox .btn-group {
  display: flex;
  float: none !important;
  gap: 6px;
  width: 100% !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .bs-actionsbox .btn-group > .btn + .btn {
  margin-left: 0 !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .actions-btn {
  background: #f8fafc !important;
  background-image: none !important;
  border: 1px solid #d4dce7 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  color: #334155 !important;
  flex: 1 1 0;
  height: 28px;
  line-height: 1.1;
  margin: 0 !important;
  font-size: 11px;
  font-weight: 400 !important;
  padding: 5px 8px !important;
  text-shadow: none !important;
  width: auto !important;
}

body.janox-template .emp-btn-theme .bootstrap-select .actions-btn:hover,
body.janox-template .emp-btn-theme .bootstrap-select .actions-btn:focus {
  background: #eef2f7 !important;
  background-image: none !important;
  border-color: #c6d2e0 !important;
  box-shadow: none !important;
  color: #334155 !important;
}

body.janox-template .emp-btn-theme .janox-select-helper {
  align-items: center;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  clear: both;
  color: #64748b;
  display: flex;
  flex-wrap: nowrap;
  font-size: 11px;
  gap: 8px;
  line-height: 1.2;
  margin-top: 1px !important;
  width: 100%;
}

body.janox-template .emp-btn-theme .janox-select-helper-text {
  color: #64748b;
  font-weight: 400 !important;
}

body.janox-template .emp-btn-theme .janox-select-helper-link {
  color: #2563eb;
  cursor: pointer !important;
  font-weight: 600 !important;
  pointer-events: auto !important;
  text-decoration: none;
}

body.janox-template .emp-btn-theme .janox-select-helper-link:hover,
body.janox-template .emp-btn-theme .janox-select-helper-link:focus {
  color: #1d4ed8;
  cursor: pointer !important;
  text-decoration: underline;
}

body.janox-template .emp-btn-theme .janox-select-helper-sep {
  color: #64748b;
}

/* Legacy multi-filtro wrappers are normalized to bootstrap-select in Janox. */
body.janox-template .janox-hide-legacy-multifiltro,
body.janox-template select.multi-filtro.selectpicker + .ms-container,
body.janox-template select.multi-filtro.selectpicker + .bootstrap-select + .ms-container,
body.janox-template select.multi-filtro.selectpicker + .btn-group + .ms-container {
  display: none !important;
  visibility: hidden !important;
}

/* Match reference style for bootstrap-multiselect */
body.janox-template .emp-btn-theme .multiselect-native-select {
  display: block;
  width: 100%;
}

body.janox-template .emp-btn-theme .multiselect-native-select .btn-group,
body.janox-template .emp-btn-theme .janox-multi-select-group {
  max-width: 100%;
  position: relative;
  width: 100% !important;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect.dropdown-toggle,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-toggle,
body.janox-template .emp-btn-theme .btn-group > .multiselect.dropdown-toggle,
body.janox-template .emp-btn-theme .multiselect.dropdown-toggle.btn,
body.janox-template .emp-btn-theme .btn-group > .multiselect.dropdown-toggle.btn-default {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none !important;
  color: #334155 !important;
  display: flex;
  font-size: 12px;
  font-weight: 400 !important;
  height: 32px;
  justify-content: space-between;
  line-height: 1;
  padding: 0 10px !important;
  position: relative;
  text-align: left;
  text-shadow: none !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  width: 100% !important;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect.dropdown-toggle:hover,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect.dropdown-toggle:focus,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-toggle:hover,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-toggle:focus,
body.janox-template .emp-btn-theme .btn-group > .multiselect.dropdown-toggle:hover,
body.janox-template .emp-btn-theme .btn-group > .multiselect.dropdown-toggle:focus,
body.janox-template .emp-btn-theme .btn-group.open > .multiselect.dropdown-toggle {
  background: #ffffff;
  border-color: #b9c5d6;
  box-shadow: none !important;
  color: #334155 !important;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-toggle .caret,
body.janox-template .emp-btn-theme .btn-group > .multiselect.dropdown-toggle .caret {
  border-top-color: #64748b;
  margin-left: 8px;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container.dropdown-menu,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  left: 0 !important;
  max-height: var(--janox-select-list-max-height) !important;
  margin-top: 6px;
  min-width: 100% !important;
  opacity: 1 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 6px 0;
  position: absolute !important;
  top: 100% !important;
  right: auto !important;
  width: 100% !important;
  z-index: var(--janox-select-overlay-z) !important;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li {
  background: #ffffff;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a {
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  line-height: 1.2;
  padding: 0;
  text-decoration: none;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a > label,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a > label,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container > li > a > label {
  color: #334155;
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: 400 !important;
  line-height: 1.25;
  margin: 0;
  min-height: 30px;
  padding: 8px 14px 8px 34px;
  position: relative;
  white-space: normal;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a > label > input[type="checkbox"],
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a > label > input[type="radio"],
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a > label > input[type="checkbox"],
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a > label > input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background: #ffffff;
  border: 1px solid #b7c5d8;
  border-radius: 3px;
  box-shadow: none;
  height: 13px;
  left: 12px;
  margin: -6px 0 0;
  outline: 0;
  position: absolute;
  top: 50%;
  width: 13px;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.active > a > label > input[type="checkbox"],
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.active > a > label > input[type="radio"],
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a > label > input[type="checkbox"]:checked,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a > label > input[type="radio"]:checked,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.active > a > label > input[type="checkbox"],
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.active > a > label > input[type="radio"],
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a > label > input[type="checkbox"]:checked,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a > label > input[type="radio"]:checked {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 2px #ffffff;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.active > a,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.active > a:hover,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.active > a:focus,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.active > a,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.active > a:hover,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.active > a:focus {
  background: #ffffff !important;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li > a:hover,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li > a:hover {
  background: #f1f5f9;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-all > a,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.multiselect-item.multiselect-all > a {
  background: #f8fafc;
  border-bottom: 1px solid #e4eaf3;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-all,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.multiselect-item.multiselect-all {
  background: #f8fafc;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-all > a > label,
body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container > li.multiselect-item.multiselect-all > a > label {
  padding-top: 7px;
  padding-bottom: 7px;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter {
  background: #ffffff;
  border-bottom: 1px solid #edf1f6;
  margin-bottom: var(--janox-select-search-shell-gap);
  padding: var(--janox-select-search-shell-padding);
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter.janox-multi-select-filter {
  margin-bottom: 0 !important;
  padding: var(--janox-multi-filter-shell-padding) !important;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter .input-group,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter .input-group {
  display: block;
  width: 100%;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter .input-group-addon,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter .input-group-btn,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter .input-group-addon,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter .input-group-btn {
  display: none !important;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter .multiselect-search,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter .multiselect-search {
  background: #ffffff;
  border: 1px solid #ccd7e5;
  border-radius: 8px;
  box-shadow: none;
  color: #334155;
  float: none !important;
  font-size: 12px;
  font-weight: 400 !important;
  height: 32px;
  padding: 6px 10px;
  width: 100% !important;
}

/* Regla Janox: mismo espaciado del buscador en todos los selectores */
body.janox-template .emp-btn-theme .bootstrap-select .bs-searchbox,
body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter {
  margin-top: 0;
}

body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu > li.multiselect-item.multiselect-filter .multiselect-search:focus,
body.janox-template .emp-btn-theme .btn-group > .multiselect-container .multiselect-filter .multiselect-search:focus {
  border-color: #9db1c9;
  box-shadow: none;
  outline: none;
}

body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container.dropdown-menu {
  overflow-x: hidden;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Nomina create/edit: rebuilt selector menus should adapt to content width */
body.janox-template .ne-view-wrap.ne-compact-form .janox-nomina-select-menu {
  max-width: none !important;
  overflow-x: auto !important;
  width: var(--janox-nomina-select-width, auto) !important;
}

body.janox-template .ne-view-wrap.ne-compact-form .janox-nomina-select-menu > li > a,
body.janox-template .ne-view-wrap.ne-compact-form .janox-nomina-select-menu > li > a > label,
body.janox-template .ne-view-wrap.ne-compact-form .janox-nomina-select-menu > li > a > span.text {
  white-space: nowrap !important;
}

body.janox-template .form-control::placeholder,
body.janox-template input[type="text"]::placeholder,
body.janox-template input[type="email"]::placeholder,
body.janox-template input[type="number"]::placeholder,
body.janox-template input[type="password"]::placeholder,
body.janox-template input[type="search"]::placeholder,
body.janox-template input[type="tel"]::placeholder,
body.janox-template input[type="url"]::placeholder,
body.janox-template textarea::placeholder {
  color: var(--janox-input-placeholder);
  font-weight: 400 !important;
}

body.janox-template .form-control::-webkit-input-placeholder,
body.janox-template input::-webkit-input-placeholder,
body.janox-template textarea::-webkit-input-placeholder {
  font-weight: 400 !important;
}

body.janox-template .form-control:-ms-input-placeholder,
body.janox-template input:-ms-input-placeholder,
body.janox-template textarea:-ms-input-placeholder,
body.janox-template .form-control::-ms-input-placeholder,
body.janox-template input::-ms-input-placeholder,
body.janox-template textarea::-ms-input-placeholder {
  font-weight: 400 !important;
}

/* Placeholder state for bootstrap-select controls */
body.janox-template .bootstrap-select > .dropdown-toggle.bs-placeholder,
body.janox-template .bootstrap-select > .dropdown-toggle.bs-placeholder .filter-option,
body.janox-template .bootstrap-select.btn-group .btn .filter-option.bs-placeholder {
  font-weight: 400 !important;
}

body.janox-template .form-control[disabled],
body.janox-template .form-control[readonly],
body.janox-template input[disabled],
body.janox-template input[readonly],
body.janox-template select[disabled],
body.janox-template textarea[disabled],
body.janox-template textarea[readonly] {
  background: #f1f2f4;
  border-color: #d6d6d9;
  box-shadow: none;
  color: #666b75;
}

/* Select details */
body.janox-template select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--janox-select-arrow-color) 50%),
    linear-gradient(135deg, var(--janox-select-arrow-color) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 26px;
}

body.janox-template select::-ms-expand {
  display: none;
}

body.janox-template select option {
  background: #ffffff;
  color: #353a42;
  font-size: var(--janox-input-font-size);
  font-weight: 400 !important;
}

/* Selector options must never render bold */
body.janox-template .bootstrap-select .dropdown-menu > li > a,
body.janox-template .bootstrap-select .dropdown-menu > li > a *,
body.janox-template .multiselect-native-select .multiselect-container > li > a,
body.janox-template .multiselect-native-select .multiselect-container > li > a *,
body.janox-template .janox-multi-select-group > .janox-multi-select-menu > li > a,
body.janox-template .janox-multi-select-group > .janox-multi-select-menu > li > a *,
body.janox-template select option,
body.janox-template select option * {
  font-weight: 400 !important;
}

/* Janox rule: select controls must never render bold text */
body.janox-template select,
body.janox-template option,
body.janox-template .bootstrap-select > .dropdown-toggle,
body.janox-template .bootstrap-select > .dropdown-toggle .filter-option,
body.janox-template .bootstrap-select .dropdown-menu > li > a,
body.janox-template .bootstrap-select .dropdown-menu > li > a *,
body.janox-template .bootstrap-select .bs-searchbox .form-control,
body.janox-template .multiselect.dropdown-toggle,
body.janox-template .multiselect.dropdown-toggle *,
body.janox-template .multiselect-native-select .multiselect-container > li > a,
body.janox-template .multiselect-native-select .multiselect-container > li > a *,
body.janox-template .multiselect-native-select .multiselect-container > li > a > label,
body.janox-template .multiselect-native-select .multiselect-container > li > a > label *,
body.janox-template .janox-multi-select-group > .janox-multi-select-menu > li > a,
body.janox-template .janox-multi-select-group > .janox-multi-select-menu > li > a *,
body.janox-template .janox-multi-select-group > .janox-multi-select-menu .multiselect-search,
body.janox-template .btn-group > .multiselect-container .multiselect-search {
  font-weight: 400 !important;
}

/* Helpers: subtle and never bold-heavy */
body.janox-template .help-block,
body.janox-template .form-text,
body.janox-template .text-muted,
body.janox-template .janox-helper,
body.janox-template .search-input-helper {
  color: var(--janox-helper-color);
  font-size: var(--janox-helper-size);
  font-weight: var(--janox-helper-weight) !important;
  line-height: 1.3;
  margin-top: 4px;
}

body.janox-template .help-block strong,
body.janox-template .form-text strong,
body.janox-template .janox-helper strong,
body.janox-template .search-input-helper strong {
  font-weight: var(--janox-helper-weight) !important;
}

/* Reinforce: filter labels must never render uppercase in any module */
body.janox-template .janox-filter-scope label,
body.janox-template .janox-filter-scope label.control-label,
body.janox-template .janox-filter-scope .control-label,
body.janox-template .janox-filter-scope [class*="filter"] > label,
body.janox-template .janox-filter-scope [class*="filters"] > label,
body.janox-template form.filters-grid label,
body.janox-template form.filters-grid label.control-label,
body.janox-template .filters-card label,
body.janox-template .filters-card label.control-label,
body.janox-template .search-card-container label,
body.janox-template .emp-btn-theme .janox-filter-scope label {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Compact row-count selectors in result headers */
body.janox-template .janox-form-container .asv-shell-head select.form-control,
body.janox-template .janox-form-container .asv-shell-head select.input-sm.form-control {
  flex: 0 0 auto;
  max-width: 108px;
  min-width: 78px;
  width: 92px;
}

body.janox-template .janox-form-container .asv-shell-head .bootstrap-select,
body.janox-template .janox-form-container .asv-shell-head .bootstrap-select.btn-group {
  flex: 0 0 auto;
  max-width: 108px !important;
  min-width: 78px;
  width: 92px !important;
}

body.janox-template .janox-form-container .asv-shell-head .bootstrap-select > .dropdown-toggle {
  width: 100% !important;
}

@media (max-width: 767px) {
  body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu {
    max-height: calc(var(--janox-select-list-max-height-mobile) + 68px) !important;
  }

  body.janox-template .emp-btn-theme .bootstrap-select .dropdown-menu.inner,
  body.janox-template .emp-btn-theme .multiselect-native-select .multiselect-container.dropdown-menu,
  body.janox-template .emp-btn-theme .janox-multi-select-group > .janox-multi-select-menu,
  body.janox-template .emp-btn-theme .btn-group > .multiselect-container.dropdown-menu {
    max-height: var(--janox-select-list-max-height-mobile) !important;
  }
}

/* Responsive merges for busqueda + list grids (module classes from janox-template.js) */
body.janox-template table.janox-busqueda-mod-facturas tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-facturas tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template table.janox-busqueda-mod-facturas:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-facturas:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados:not(.janox-busqueda-owner-compact) thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col {
  max-width: 250px !important;
  min-width: 180px !important;
  width: 215px !important;
}

body.janox-template table.janox-busqueda-mod-facturas:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-facturas:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > a.janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados:not(.janox-busqueda-owner-compact) tbody td.janox-busqueda-owner-col > .janox-busqueda-owner-ellipsis {
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
  max-width: 126px !important;
  min-width: 92px !important;
  width: 106px !important;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge thead th.janox-busqueda-owner-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-owner-col {
  display: none !important;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col .janox-busqueda-owner-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: inline-block;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble {
  display: inline-flex;
  line-height: 1;
  margin-left: 4px;
  padding: 0;
  vertical-align: middle;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-mes-col {
  display: none !important;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col .janox-busqueda-mes-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
  max-width: 116px !important;
  min-width: 94px !important;
  width: 102px !important;
  text-align: left !important;
}

body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  text-align: left;
  white-space: nowrap;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-nombre-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-nombre-col {
  display: none !important;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col .janox-busqueda-nombre-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
  white-space: normal;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col > .janox-busqueda-nombre-inline a {
  color: inherit;
  display: block;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np thead th.janox-busqueda-periodo-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-periodo-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im thead th.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-mes-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic thead th.janox-busqueda-cargado-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-cargado-col {
  display: none !important;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col .janox-busqueda-periodo-inline-head,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col .janox-busqueda-mes-imputacion-inline-head,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col .janox-busqueda-cargado-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col {
  max-width: 170px !important;
  min-width: 128px !important;
  width: 148px !important;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
  max-width: 162px !important;
  min-width: 122px !important;
  width: 140px !important;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
  white-space: normal;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col > .janox-busqueda-periodo-inline,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col > .janox-busqueda-mes-imputacion-inline,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > .janox-busqueda-cargado-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuota-actual-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuota-actual-col {
  display: none !important;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col .janox-busqueda-cuota-actual-inline-head {
  color: #5f7393;
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 2px;
  text-align: left;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
  max-width: 128px !important;
  min-width: 108px !important;
  width: 116px !important;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
  text-align: left !important;
  white-space: normal;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col > .janox-busqueda-cuota-actual-inline {
  color: #4f647f;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col > .janox-busqueda-cuota-actual-inline .janox-busqueda-cuota-actual-inline-label {
  color: #5f7393;
  font-weight: 600;
}

@media (max-width: 1280px) {
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 112px !important;
    min-width: 84px !important;
    width: 94px !important;
  }

  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }

  body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col {
    max-width: 154px !important;
    min-width: 118px !important;
    width: 136px !important;
  }

  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
    max-width: 146px !important;
    min-width: 112px !important;
    width: 128px !important;
  }

  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
    max-width: 118px !important;
    min-width: 98px !important;
    width: 106px !important;
  }
}

@media (max-width: 767px) {
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact thead th.janox-busqueda-owner-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-owner-compact tbody td.janox-busqueda-owner-col {
    max-width: 100px !important;
    min-width: 74px !important;
    width: 84px !important;
  }

  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm thead th.janox-busqueda-factura-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col {
    max-width: 98px !important;
    min-width: 80px !important;
    width: 88px !important;
  }

  body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobros.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-imputacion-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np thead th.janox-busqueda-naturaleza-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-np tbody td.janox-busqueda-naturaleza-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im thead th.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-im tbody td.janox-busqueda-imputacion-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic thead th.janox-busqueda-inmueble-col,
  body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col {
    max-width: 138px !important;
    min-width: 104px !important;
    width: 120px !important;
  }

  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc thead th.janox-busqueda-cuotas-col,
  body.janox-template table.janox-busqueda-mod-extras.janox-busqueda-extras-merge-cc tbody td.janox-busqueda-cuotas-col {
    max-width: 108px !important;
    min-width: 88px !important;
    width: 96px !important;
  }
}

/* Evitar truncamiento con "..." en columna Inmueble de listados busqueda */
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-notas table.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-notas.janox-busqueda-notas-merge-ic tbody td.janox-busqueda-inmueble-col > a {
  overflow: visible !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word;
}

/* Cobros programados: permitir quiebre del texto Mes dentro de la columna ID */
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge-fm tbody td.janox-busqueda-factura-col > .janox-busqueda-mes-inline {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word;
}

/* Inmueble: mantener icono de busqueda junto al codigo (misma linea) */
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > a,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-ellipsis {
  display: inline-block !important;
  max-width: calc(100% - 24px);
  vertical-align: top;
}

body.janox-template #busqueda-resultado-facturas table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template #busqueda-resultado-pagos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template #busqueda-resultado-recibos table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template #busqueda-resultado-cobrosprogramados table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-facturas.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-pagos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-recibos.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble,
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .js-buscar-inmueble {
  margin-top: 0;
  vertical-align: top;
}

/* Inmueble + Propietario: reforzar diferenciacion visual al combinar columnas */
body.janox-template table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col [class*='inmueble-meta'] {
  color: #6d7f99 !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
  white-space: normal !important;
}

body.janox-template table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col [class*='inmueble-meta']::before {
  content: none !important;
}

body.janox-template table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline {
  border-top: 1px solid #d8e0ec !important;
  color: #2f4f79 !important;
  margin-top: 4px !important;
  padding-top: 4px !important;
}

body.janox-template table.janox-busqueda-facturas-merge tbody td.janox-busqueda-inmueble-col > .janox-busqueda-owner-inline::before {
  color: #7a8ea9;
  content: 'Propietario';
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* Cobros programados: proteger columna Inmueble de inlines de Nombre Cobro */
body.janox-template table.janox-busqueda-mod-cobrosprogramados.janox-busqueda-cobros-merge-ni tbody td.janox-busqueda-inmueble-col .janox-busqueda-nombre-inline {
  display: none !important;
}

/* Busqueda general de grillas: debe prevalecer sobre la decoracion generica de janox-field-control */
body.janox-template .janox-filter-scope input.form-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-filter-scope input.form-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-filter-scope input.form-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-filter-scope input.form-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-filter-scope input.form-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-field-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-field-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-field-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-field-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-field-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template .janox-form-container input.janox-grid-search-field:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input.janox-grid-search-field:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]) {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23567da9' d='M8.5 2.5a6 6 0 1 0 0 12a6 6 0 0 0 0-12Zm0-2a8 8 0 1 1 4.9 14.3l4.3 4.3a1 1 0 0 1-1.4 1.4L12 15.1A8 8 0 0 1 8.5.5Z'/%3E%3C/svg%3E") no-repeat 12px center !important;
  background-size: 14px 14px !important;
  border: 1px solid #bfcde0 !important;
  border-radius: 10px !important;
  box-shadow: inset 28px 0 0 #edf3fa, 0 1px 2px rgba(44, 77, 120, .06) !important;
  color: #365274 !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  padding-left: 38px !important;
  text-align: left !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

body.janox-template .janox-filter-scope input.form-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-filter-scope input.form-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-filter-scope input.form-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-filter-scope input.form-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-filter-scope input.form-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-field-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-field-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-field-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-field-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-field-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template .janox-form-container input.janox-grid-search-field:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template input.janox-grid-search-field:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template input[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template input[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template input[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):hover,
body.janox-template input[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):hover {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%234a739f' d='M8.5 2.5a6 6 0 1 0 0 12a6 6 0 0 0 0-12Zm0-2a8 8 0 1 1 4.9 14.3l4.3 4.3a1 1 0 0 1-1.4 1.4L12 15.1A8 8 0 0 1 8.5.5Z'/%3E%3C/svg%3E") no-repeat 12px center !important;
  background-size: 14px 14px !important;
  border-color: #9fb5d0 !important;
  box-shadow: inset 28px 0 0 #e8f0fa, 0 0 0 2px rgba(74, 115, 159, .10) !important;
}

body.janox-template .janox-filter-scope input.form-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-filter-scope input.form-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-filter-scope input.form-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-filter-scope input.form-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-filter-scope input.form-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container input.janox-field-control[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container input.janox-field-control[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container input.janox-field-control[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container input.janox-field-control[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template .janox-form-container input.janox-field-control[placeholder*="Busqueda general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template input.janox-grid-search-field.janox-grid-search-active:not([type="hidden"]):not([disabled]):not([readonly]),
body.janox-template input.janox-grid-search-field:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template input[id*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template input[id*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template input[name*="searchtext"]:not([type="hidden"]):not([disabled]):not([readonly]):focus,
body.janox-template input[name*="search_general"]:not([type="hidden"]):not([disabled]):not([readonly]):focus {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%233f6894' d='M8.5 2.5a6 6 0 1 0 0 12a6 6 0 0 0 0-12Zm0-2a8 8 0 1 1 4.9 14.3l4.3 4.3a1 1 0 0 1-1.4 1.4L12 15.1A8 8 0 0 1 8.5.5Z'/%3E%3C/svg%3E") no-repeat 12px center !important;
  background-size: 14px 14px !important;
  border-color: #87a4c6 !important;
  box-shadow: inset 28px 0 0 #e5eef9, 0 0 0 3px rgba(74, 115, 159, .14) !important;
  outline: none !important;
}

body.janox-template .janox-filter-scope input.form-control[id*="searchtext"]::placeholder,
body.janox-template .janox-filter-scope input.form-control[id*="search_general"]::placeholder,
body.janox-template .janox-filter-scope input.form-control[name*="searchtext"]::placeholder,
body.janox-template .janox-filter-scope input.form-control[name*="search_general"]::placeholder,
body.janox-template .janox-filter-scope input.form-control[placeholder*="Busqueda general"]::placeholder,
body.janox-template .janox-form-container input.janox-field-control[id*="searchtext"]::placeholder,
body.janox-template .janox-form-container input.janox-field-control[id*="search_general"]::placeholder,
body.janox-template .janox-form-container input.janox-field-control[name*="searchtext"]::placeholder,
body.janox-template .janox-form-container input.janox-field-control[name*="search_general"]::placeholder,
body.janox-template .janox-form-container input.janox-field-control[placeholder*="Busqueda general"]::placeholder,
body.janox-template input.janox-grid-search-field::placeholder,
body.janox-template input[id*="searchtext"]::placeholder,
body.janox-template input[id*="search_general"]::placeholder,
body.janox-template input[name*="searchtext"]::placeholder,
body.janox-template input[name*="search_general"]::placeholder {
  color: #5e7898 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  text-align: left !important;
}

/* janox-cache-id: 20260304-inmueble-propietario-claridad-02 */
