/* ABM inquilinos inline — layout + superficie pp-* (paridad Prop, acento azul) */

#inquilinos.inquilinos--abm-open .nd-inq-v5-layout {
  display: none !important;
}

#ndModalInq.nd-modal-backdrop--inline-inq {
  position: fixed;
  inset: 0;
  left: 250px;
  z-index: 10200;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: transparent;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

#ndModalInq.nd-modal-backdrop--inline-inq.is-open {
  opacity: 1;
  visibility: visible;
}

#ndModalInq.nd-modal-backdrop--inline-inq .nd-modal,
#ndModalInq.nd-modal-backdrop--inline-inq .nd-modal--inq-v2 {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  transform: none;
  opacity: 1;
  box-shadow: none;
  border: none;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

html.theme-f10 #ndModalInq.nd-modal-backdrop--inline-inq {
  background: linear-gradient(180deg, #32302e 0%, #201e1c 40%, #141211 100%);
}

html:not(.theme-f10) #ndModalInq.nd-modal-backdrop--inline-inq {
  background: #f1f5f9;
}

#ndModalInq {
  --inq-abm-type-bump: 0.0625rem;
  --inq-abm-accent: #60a5fa;
  --inq-abm-accent-soft: #93c5fd;
  --inq-abm-accent-bg: rgba(59, 130, 246, 0.22);
}

/* Hero — paridad pp-hero (Prop), acento azul */
#ndModalInq .pp-hero.inq-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 18px;
  padding: 20px 26px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.11) 0%, transparent 100%);
  flex-shrink: 0;
  align-items: start;
}

html:not(.theme-f10) #ndModalInq .pp-hero.inq-hero {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
}

#ndModalInq .pp-hero-avatar.inq-hero-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(1.15rem + var(--inq-abm-type-bump));
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid transparent;
}

#ndModalInq .inq-hero-avatar--nuevo {
  color: #1e3a8a;
  background: linear-gradient(135deg, #bfdbfe 0%, #60a5fa 60%, #3b82f6 100%);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.34), 0 0 22px 3px rgba(59, 130, 246, 0.18);
  border-color: transparent;
}

#ndModalInq .pp-hero-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#ndModalInq .pp-hero-eyebrow {
  margin: 0;
  font-size: calc(0.7rem + var(--inq-abm-type-bump));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  line-height: 1;
}

html:not(.theme-f10) #ndModalInq .pp-hero-eyebrow {
  color: #2563eb;
}

#ndModalInq #ndModalInqTitle {
  margin: 0;
  font-size: calc(1.34rem + var(--inq-abm-type-bump));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.012em;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.theme-f10 #ndModalInq #ndModalInqTitle {
  color: #f7f1e8;
}

#ndModalInq .pp-hero-meta {
  margin: 0;
  font-size: calc(0.84rem + var(--inq-abm-type-bump));
  color: #a39e95;
  line-height: 1.4;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
}

html:not(.theme-f10) #ndModalInq .pp-hero-meta {
  color: #6b7280;
}

#ndModalInq .pp-hero-meta b {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

html:not(.theme-f10) #ndModalInq .pp-hero-meta b {
  color: #1a1a1a;
}

#ndModalInq .pp-hero-meta .sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #807a72;
  vertical-align: middle;
}

#ndModalInq .pp-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#ndModalInq .pp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: calc(0.76rem + var(--inq-abm-type-bump));
  font-weight: 600;
  color: #a39e95;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.055);
  white-space: nowrap;
}

html:not(.theme-f10) #ndModalInq .pp-pill {
  color: #6b7280;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

#ndModalInq .pp-pill.hidden {
  display: none;
}

#ndModalInq .pp-pill__check {
  width: 14px;
  height: 14px;
  color: #93c5fd;
  flex-shrink: 0;
}

#ndModalInq .pp-pill--warn {
  color: #e8b16a;
  border-color: rgba(232, 177, 106, 0.22);
  background: rgba(232, 177, 106, 0.08);
}

#ndModalInq .pp-pill--warn .pp-pill__check {
  color: #e8b16a;
}

#ndModalInq .pp-close.nd-modal__close {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0;
  line-height: 1;
  border: none;
  background: transparent;
  color: var(--muted, #6b7280);
}

html.theme-f10 #ndModalInq .pp-close.nd-modal__close {
  color: #a39e95;
}

#ndModalInq.nd-modal-backdrop--inline-inq .pp-close.inq-close::after {
  content: "Volver al listado";
  font-size: calc(0.88rem + var(--inq-abm-type-bump));
  font-weight: 600;
  line-height: 1.2;
}

#ndModalInq .pp-close.nd-modal__close:hover,
#ndModalInq .pp-close.nd-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ece6df;
}

html:not(.theme-f10) #ndModalInq .pp-close.nd-modal__close:hover,
html:not(.theme-f10) #ndModalInq .pp-close.nd-modal__close:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: #1a1a1a;
}

/* Scroll + cuerpo pp (ancho completo del main) */
#ndModalInq .nd-modal-inq-v2__scroll {
  flex: 1 1 0%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

#ndModalInq .nd-modal-inq-v2__form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

#ndModalInq .inq-pp-body {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  box-sizing: border-box;
}

#ndModalInq .form-prop-modal-section {
  margin: 0;
  padding: 0;
  border: none;
}

#ndModalInq .pp-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--panel-bg, #faf8f6);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), 0 16px 36px -20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: visible;
}

html.theme-f10 #ndModalInq .pp-card {
  background: linear-gradient(165deg, #2c2927 0%, #282522 55%, #1a1816 100%);
  border-color: rgba(255, 255, 255, 0.055);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.025), 0 16px 36px -20px rgba(0, 0, 0, 0.65);
}

#ndModalInq .pp-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px 10px;
}

#ndModalInq .pp-card__head-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex: 1 1 12rem;
}

#ndModalInq .pp-card__head-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

#ndModalInq .pp-card__head-actions .tx-act {
  font-size: calc(0.9rem + var(--inq-abm-type-bump));
}

#ndModalInq .pp-card__head-actions .tx-act.hidden {
  display: none !important;
}

#ndModalInq .pp-card__title {
  margin: 0;
  font-size: calc(0.68rem + var(--inq-abm-type-bump));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

html.theme-f10 #ndModalInq .pp-card__title {
  color: #a39e95;
}

#ndModalInq .inq-card__num,
#ndModalInq .pp-card__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
}

#ndModalInq .pp-card__body {
  padding: 8px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: 22px;
  row-gap: 22px;
  overflow: visible;
  align-items: start;
}

#ndModalInq .inq-abm-combo-block {
  grid-column: 1;
  min-width: 0;
}

#ndModalInq .pp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: calc(0.66rem + var(--inq-abm-type-bump));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

#ndModalInq .pp-status-chip--new {
  background: rgba(232, 177, 106, 0.14);
  color: #b45309;
}

html.theme-f10 #ndModalInq .pp-status-chip--new {
  background: rgba(232, 177, 106, 0.1);
  color: #e8b16a;
}

#ndModalInq .pp-status-chip--saved {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

html.theme-f10 #ndModalInq .pp-status-chip--saved {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}

#ndModalInq .pp-status-chip--edit {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

html.theme-f10 #ndModalInq .pp-status-chip--edit {
  background: rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

/* Reorden: datos | domicilio en 2 columnas */
#ndModalInq .inq-abm-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 14px 22px;
  align-items: start;
}

#ndModalInq .pp-subsec {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

#ndModalInq .pp-subsec--nested {
  gap: 12px;
  padding-top: 2px;
}

#ndModalInq .pp-subsec__title {
  margin: 0;
  font-size: calc(0.66rem + var(--inq-abm-type-bump));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 700;
}

#ndModalInq .pp-subsec__title--minor {
  font-size: calc(0.64rem + var(--inq-abm-type-bump));
  letter-spacing: 0.12em;
  color: #6b7280;
}

html.theme-f10 #ndModalInq .pp-subsec__title--minor {
  color: #807a72;
}

#ndModalInq .pp-subsec__hint {
  margin: -6px 0 0;
  font-size: calc(0.74rem + var(--inq-abm-type-bump));
  color: #6b7280;
  line-height: 1.4;
}

html.theme-f10 #ndModalInq .pp-subsec__hint {
  color: #a39e95;
}

#ndModalInq .pp-field__lbl {
  display: block;
  font-size: calc(0.74rem + var(--inq-abm-type-bump));
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 6px;
}

html.theme-f10 #ndModalInq .pp-field__lbl {
  color: #a39e95;
}

#ndModalInq .pp-field__opt {
  font-size: calc(0.62rem + var(--inq-abm-type-bump));
  color: #9ca3af;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

#ndModalInq .inq-abm-combo-block .pp-combo-hint,
#ndModalInq .inq-abm-combo-block .hint {
  margin: 6px 0 0;
  font-size: calc(0.72rem + var(--inq-abm-type-bump));
  line-height: 1.35;
  color: #9ca3af;
}

html.theme-f10 #ndModalInq .inq-abm-combo-block .pp-combo-hint,
html.theme-f10 #ndModalInq .inq-abm-combo-block .hint {
  color: #807a72;
}

#ndModalInq .pp-name-merge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  align-items: end;
}

#ndModalInq .pp-row {
  display: grid;
  gap: 12px 18px;
}

#ndModalInq .pp-row--2 {
  grid-template-columns: 1fr 1fr;
}

#ndModalInq .pp-row--tel-tipo {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr);
  align-items: end;
}

#ndModalInq .pp-row--email {
  grid-template-columns: minmax(0, 1fr);
}

#ndModalInq .form-block__celda--tel-tipo .inq-tel-tipo-pick {
  width: 100%;
  max-width: none;
}

#ndModalInq .pp-row--prov-loc-cp {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 5rem);
  align-items: end;
}

#ndModalInq .pp-row--prov-loc-cp .form-block__celda > .pp-field__lbl {
  min-height: 2.35em;
  line-height: 1.175;
  margin-bottom: 4px;
}

#ndModalInq .pp-row--prov-loc-cp .pp-field__lbl--cp-stack {
  white-space: normal;
}

#ndModalInq .pp-row--calle-full {
  grid-template-columns: minmax(0, 1fr);
}

#ndModalInq .pp-row--torre-piso-depto {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.55fr) minmax(0, 0.55fr);
}

#ndModalInq .form-block__celda {
  min-width: 0;
}

/* pp-uinput — línea abajo, foco azul */
#ndModalInq .pp-uinput-wrap,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo,
#ndModalInq .geo-combo.pp-uinput-wrap,
#ndModalInq .pp-uinput.pp-uinput--doc {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 6px 2px 8px;
  position: relative;
}

#ndModalInq .pp-uinput.pp-uinput--doc {
  gap: 12px;
  padding: 4px 2px 10px;
}

#ndModalInq .pp-uinput-wrap::before,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo::before,
#ndModalInq .geo-combo.pp-uinput-wrap::before,
#ndModalInq .pp-uinput.pp-uinput--doc::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

#ndModalInq .pp-uinput-wrap:hover:not(:focus-within)::before,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo:hover:not(:focus-within)::before,
#ndModalInq .geo-combo.pp-uinput-wrap:hover:not(:focus-within)::before,
#ndModalInq .pp-uinput.pp-uinput--doc:hover:not(:focus-within)::before {
  background: rgba(255, 255, 255, 0.14);
}

#ndModalInq .pp-uinput-wrap:focus-within::before,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo:focus-within::before,
#ndModalInq .geo-combo.pp-uinput-wrap:focus-within::before,
#ndModalInq .pp-uinput.pp-uinput--doc:focus-within::before,
html.theme-f10 #ndModalInq .pp-uinput-wrap:focus-within::before,
html.theme-f10 #ndModalInq .propietario-combo.pp-uinput-wrap--combo:focus-within::before,
html.theme-f10 #ndModalInq .geo-combo.pp-uinput-wrap:focus-within::before,
html.theme-f10 #ndModalInq .pp-uinput.pp-uinput--doc:focus-within::before {
  height: 1px;
  background-color: var(--inq-abm-accent);
  box-shadow: none;
  opacity: 1;
}

#ndModalInq .pp-uinput-wrap input,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo > input,
#ndModalInq .geo-combo.pp-uinput-wrap > input,
#ndModalInq .pp-uinput.pp-uinput--doc input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 2px 0 !important;
  min-height: 1.5rem !important;
  font-size: calc(0.96rem + var(--inq-abm-type-bump));
  color: #ece6df;
  outline: none !important;
}

#ndModalInq .pp-uinput.pp-uinput--doc input {
  flex: 1 1 6rem;
  align-self: center;
  line-height: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem !important;
  padding: 0 !important;
  margin: 0;
}

#ndModalInq .pp-uinput-wrap input:focus,
#ndModalInq .propietario-combo.pp-uinput-wrap--combo > input:focus,
#ndModalInq .geo-combo.pp-uinput-wrap > input:focus,
#ndModalInq .pp-uinput.pp-uinput--doc input:focus {
  box-shadow: none !important;
  background: transparent !important;
}

#ndModalInq .pp-uinput__ico {
  width: 15px;
  height: 15px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

html.theme-f10 #ndModalInq .pp-uinput__ico {
  color: #807a72;
}

#ndModalInq .pp-uinput-wrap:hover:not(:focus-within) .pp-uinput__ico {
  color: #a39e95;
}

#ndModalInq .pp-uinput-wrap:focus-within .pp-uinput__ico,
#ndModalInq .pp-uinput-wrap:focus-within .pp-uinput__ico--geo {
  color: var(--inq-abm-accent);
  transition: color 0.28s ease;
}

#ndModalInq input::placeholder {
  color: #807a72;
  opacity: 1;
}

html:not(.theme-f10) #ndModalInq input::placeholder {
  color: #9ca3af;
  opacity: 0.75;
}

/* Pendiente con acento azul: ver pp-abm-field-states.css (.pp-abm-field--pending) */

html:not(.theme-f10) #ndModalInq .pp-uinput-wrap input,
html:not(.theme-f10) #ndModalInq .propietario-combo.pp-uinput-wrap--combo > input,
html:not(.theme-f10) #ndModalInq .geo-combo.pp-uinput-wrap > input,
html:not(.theme-f10) #ndModalInq .pp-uinput.pp-uinput--doc input {
  color: #1a1a1a;
}

html:not(.theme-f10) #ndModalInq .pp-uinput-wrap::before,
html:not(.theme-f10) #ndModalInq .propietario-combo.pp-uinput-wrap--combo::before,
html:not(.theme-f10) #ndModalInq .geo-combo.pp-uinput-wrap::before,
html:not(.theme-f10) #ndModalInq .pp-uinput.pp-uinput--doc::before {
  background: rgba(0, 0, 0, 0.12);
}

html:not(.theme-f10) #ndModalInq .pp-uinput-wrap:hover:not(:focus-within)::before,
html:not(.theme-f10) #ndModalInq .propietario-combo.pp-uinput-wrap--combo:hover:not(:focus-within)::before,
html:not(.theme-f10) #ndModalInq .geo-combo.pp-uinput-wrap:hover:not(:focus-within)::before,
html:not(.theme-f10) #ndModalInq .pp-uinput.pp-uinput--doc:hover:not(:focus-within)::before {
  background: rgba(0, 0, 0, 0.18);
}

html:not(.theme-f10) #ndModalInq .pp-subsec__title,
html:not(.theme-f10) #ndModalInq .pp-field__lbl {
  color: #6b7280;
}

html:not(.theme-f10) #ndModalInq .pp-card__title {
  color: #6b7280;
}

html:not(.theme-f10) #ndModalInq .inq-card__num,
html:not(.theme-f10) #ndModalInq .pp-card__num {
  color: #2563eb;
  background: rgba(59, 130, 246, 0.14);
}

/* Chips DNI / CUIT — paridad Prop (cuadrados, sin cápsula; acento azul) */
#ndModalInq .pp-mini-seg--pill.pp-mini-seg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  flex-shrink: 0;
}

#ndModalInq .pp-uinput.pp-uinput--doc .pp-mini-seg--pill {
  flex-shrink: 0;
  align-self: center;
}

#ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  line-height: 1;
  padding: 3px 7px;
  border: 0;
  background: transparent;
  color: #807a72;
  font-family: inherit;
  font-size: calc(0.72rem + var(--inq-abm-type-bump));
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

#ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio:hover {
  color: #a39e95;
}

#ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio:has(input:checked) {
  background: var(--inq-abm-accent-bg);
  color: var(--inq-abm-accent-soft);
}

html:not(.theme-f10) #ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio {
  color: #6b7280;
}

html:not(.theme-f10) #ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio:hover {
  color: #1a1a1a;
}

html:not(.theme-f10) #ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio:has(input:checked) {
  background: rgba(59, 130, 246, 0.2);
  color: #1d4ed8;
}

html.theme-f10 #ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio input:focus {
  box-shadow: none !important;
  outline: none !important;
}

html.theme-f10 #ndModalInq .pp-uinput.pp-uinput--doc:focus-within {
  box-shadow: none;
}

html.theme-f10 #ndModalInq .pp-uinput.pp-uinput--doc:focus-within .pp-mini-seg--pill .pp-mini-seg__btn--radio:has(input:focus) {
  box-shadow: none;
}

#ndModalInq .pp-mini-seg--pill .pp-mini-seg__btn--radio:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

#ndModalInq .pp-btn {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: calc(0.88rem + var(--inq-abm-type-bump));
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease,
    filter 0.2s ease;
}

#ndModalInq .pp-btn--ghost {
  background: transparent;
  color: #6b7280;
  border-color: rgba(0, 0, 0, 0.12);
}

html.theme-f10 #ndModalInq .pp-btn--ghost {
  color: #a39e95;
  border-color: rgba(255, 255, 255, 0.1);
}

#ndModalInq .pp-btn--ghost:hover {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.04);
}

html.theme-f10 #ndModalInq .pp-btn--ghost:hover {
  color: #ece6df;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

#ndModalInq .pp-btn--ghost:active {
  transform: translateY(1px);
}

#ndModalInq .form-inq-modal-tel-extra.pp-subsec--nested {
  margin-top: 0;
  padding-top: 2px;
  border-top: none;
}

#ndModalInq #btnInTelefonosExtraAgregar {
  margin-top: 0;
  font-size: calc(0.88rem + var(--inq-abm-type-bump));
}

#ndModalInq .form-inq-modal-tel-extra__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#ndModalInq .inq-tel-with-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#ndModalInq .inq-tel-with-wa__input {
  flex: 1 1 auto;
  min-width: 0;
}

#ndModalInq .inq-tel-wa-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(148, 163, 184, 0.38);
  opacity: 0.72;
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease, filter 0.18s ease, transform 0.12s ease;
}

#ndModalInq .inq-tel-wa-toggle.hidden {
  display: none;
}

#ndModalInq .inq-tel-wa-toggle__ico {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

#ndModalInq .inq-tel-wa-toggle__ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

#ndModalInq .inq-tel-wa-toggle:hover:not(:disabled) {
  color: rgba(37, 211, 102, 0.72);
  opacity: 1;
}

#ndModalInq .inq-tel-wa-toggle--on {
  color: #25d366;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.45));
}

#ndModalInq .inq-tel-wa-toggle--on:hover:not(:disabled) {
  color: #2ee06a;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.55));
}

#ndModalInq .inq-tel-wa-toggle:active:not(:disabled) {
  transform: scale(0.94);
}

#ndModalInq .inq-tel-wa-toggle:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 0 2px rgba(37, 211, 102, 0.35));
}

#ndModalInq .inq-tel-wa-toggle:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  filter: none;
}

html.theme-f10 #ndModalInq .inq-tel-wa-toggle {
  color: rgba(168, 162, 158, 0.42);
}

html.theme-f10 #ndModalInq .inq-tel-wa-toggle--on {
  color: #4ade80;
  filter: drop-shadow(0 0 7px rgba(74, 222, 128, 0.42));
}

html.theme-f10 #ndModalInq .inq-tel-wa-toggle--on:hover:not(:disabled) {
  color: #86efac;
}

#ndModalInq .in-tel-extra-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 0.95fr) auto;
  gap: 10px 12px;
  align-items: end;
}

#ndModalInq .in-tel-extra-field--etiqueta.hidden {
  display: none;
}

#ndModalInq .in-tel-extra-field--tipo .pp-field__lbl,
#ndModalInq .in-tel-extra-field--etiqueta .pp-field__lbl {
  margin-bottom: 4px;
  font-size: calc(0.68rem + var(--inq-abm-type-bump));
}

#ndModalInq .inq-tel-tipo-pick {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 6px 2px 8px;
}

#ndModalInq .inq-tel-tipo-pick::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

#ndModalInq .inq-tel-tipo-pick:hover:not(:focus-within):not(:has(.inq-tel-tipo-trigger[aria-expanded="true"]))::before {
  background: rgba(255, 255, 255, 0.14);
}

#ndModalInq .inq-tel-tipo-pick:focus-within::before,
#ndModalInq .inq-tel-tipo-pick:has(.inq-tel-tipo-trigger[aria-expanded="true"])::before {
  background-color: var(--inq-abm-accent);
}

html:not(.theme-f10) #ndModalInq .inq-tel-tipo-pick::before {
  background: rgba(0, 0, 0, 0.12);
}

html:not(.theme-f10) #ndModalInq .inq-tel-tipo-pick:hover:not(:focus-within):not(:has(.inq-tel-tipo-trigger[aria-expanded="true"]))::before {
  background: rgba(0, 0, 0, 0.2);
}

#ndModalInq .inq-tel-tipo-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ece6df;
  padding: 2px 0;
  min-height: 1.5rem;
  font-size: calc(0.88rem + var(--inq-abm-type-bump));
  font-family: inherit;
  cursor: pointer;
  box-shadow: none !important;
  text-align: left;
}

#ndModalInq .inq-tel-tipo-trigger__chev {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: #807a72;
  line-height: 1;
  transition: color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#ndModalInq .inq-tel-tipo-pick:focus-within .inq-tel-tipo-trigger__chev,
#ndModalInq .inq-tel-tipo-pick:has(.inq-tel-tipo-trigger[aria-expanded="true"]) .inq-tel-tipo-trigger__chev {
  color: var(--inq-abm-accent);
}

#ndModalInq .inq-tel-tipo-trigger__txt {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html:not(.theme-f10) #ndModalInq .inq-tel-tipo-trigger {
  color: #1a1a1a;
}

#ndModalInq .inq-tel-tipo-trigger:focus-visible {
  outline: none;
}

#ndModalInq .inq-tel-tipo-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#ndModalInq .in-tel-extra-row .in-tel-extra-field {
  min-width: 0;
}

#ndModalInq .in-tel-extra-row .pp-uinput-wrap input {
  font-size: calc(0.88rem + var(--inq-abm-type-bump));
}

#ndModalInq .in-tel-extra-remove {
  align-self: end;
  margin-bottom: 5px;
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 8px;
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.22);
  background: transparent;
  box-shadow: none !important;
}

#ndModalInq .in-tel-extra-remove:hover {
  color: #ef4444;
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.08);
}

html.theme-f10 #ndModalInq .in-tel-extra-remove {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.28);
  box-shadow: none !important;
}

html.theme-f10 #ndModalInq .in-tel-extra-remove:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.1);
}

@media (max-width: 520px) {
  #ndModalInq .in-tel-extra-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "tel remove"
      "tipo tipo"
      "etiq etiq";
  }

  #ndModalInq .in-tel-extra-field--tel {
    grid-area: tel;
  }

  #ndModalInq .in-tel-extra-field--tipo {
    grid-area: tipo;
  }

  #ndModalInq .in-tel-extra-field--etiqueta {
    grid-area: etiq;
  }

  #ndModalInq .in-tel-extra-remove {
    grid-area: remove;
    margin-bottom: 5px;
  }
}

#ndModalInq .form-inq-modal-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0;
  align-items: center;
}

#ndModalInq .pp-field-doc {
  min-width: 0;
}

#ndModalInq .pp-card__body input:disabled,
#ndModalInq .pp-card__body select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#ndModalInq .pp-card__body .form-select-propiedad {
  min-height: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

#ndModalInq .propietario-combo.pp-uinput-wrap--combo > input,
#ndModalInq .geo-combo.pp-uinput-wrap > input {
  padding-right: 1.1rem !important;
}

#ndModalInq .propietario-combo.pp-uinput-wrap--combo::after,
#ndModalInq .geo-combo.pp-uinput-wrap::after {
  content: "▾";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  left: auto;
  bottom: auto;
  background: none;
  box-shadow: none;
  color: #807a72;
  font-size: calc(0.78rem + var(--inq-abm-type-bump));
  pointer-events: none;
  line-height: 1;
  z-index: 2;
  transition: color 0.28s ease;
}

#ndModalInq .propietario-combo.pp-uinput-wrap--combo:hover:not(:focus-within)::after,
#ndModalInq .geo-combo.pp-uinput-wrap:hover:not(:focus-within)::after {
  color: #a39e95;
}

#ndModalInq .propietario-combo.pp-uinput-wrap--combo:focus-within::after,
#ndModalInq .geo-combo.pp-uinput-wrap:focus-within::after {
  color: var(--inq-abm-accent);
}

#ndModalInq .propietario-combo,
#ndModalInq .geo-combo {
  z-index: 1;
  overflow: visible;
}

#ndModalInq .pp-uinput-wrap--geo-prov > input {
  padding-right: 1.1rem !important;
}

/* Anular regla legacy nuevo-diseno.css en combos pp-uinput */
#ndModalInq .propietario-combo.pp-uinput-wrap--combo input,
#ndModalInq .pp-uinput-wrap.propietario-combo input {
  min-height: 1.5rem !important;
  padding: 2px 0 !important;
  font-size: calc(0.96rem + var(--inq-abm-type-bump)) !important;
}

#ndModalInq .pp-row--prov-loc-cp .form-block__celda--prov .geo-combo {
  min-width: 0;
  z-index: 2;
}

#ndModalInq .pp-row--prov-loc-cp .form-block__celda--localidad .geo-combo {
  z-index: 3;
}

#ndModalInq .pp-row--prov-loc-cp .form-block__celda--cp .geo-combo {
  z-index: 2;
}

#ndModalInq .pp-row--prov-loc-cp .geo-combo:focus-within {
  z-index: 25;
}

#ndModalInq .geo-combo .combo-dropdown {
  left: 0;
  right: auto;
  min-width: 100%;
  max-width: min(22rem, 92vw);
  pointer-events: auto;
}

/*
 * Listas combo ABM inquilino: fondo opaco + z-index alto (mismo fix que #ndModalProp).
 */
#ndModalInq .propietario-combo .combo-dropdown,
#ndModalInq .geo-combo .combo-dropdown,
#ndModalInq .combo-dropdown {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1a1816;
  background: linear-gradient(165deg, #33302e 0%, #2c2927 48%, #1a1816 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 10060;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 1;
}

html:not(.theme-f10) #ndModalInq .combo-dropdown {
  background-color: #fff;
  background: var(--panel-bg, #faf8f6);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

html.theme-f10 #ndModalInq .combo-dropdown .combo-opt--hint,
html.theme-f10 #ndModalInq .combo-dropdown .combo-opt--muted {
  background-color: #2e2b29;
}

html.theme-f10 #ndModalInq .combo-dropdown .combo-opt--hint:hover,
html.theme-f10 #ndModalInq .combo-dropdown .combo-opt--hint:focus,
html.theme-f10 #ndModalInq .combo-dropdown .combo-opt--muted:hover {
  background-color: #353230;
}

#ndModalInq .combo-opt:hover,
#ndModalInq .combo-opt:focus,
#ndModalInq .combo-opt--kb-active {
  background: rgba(59, 130, 246, 0.14);
}

#ndModalInq .combo-opt--hint {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Combo buscar inquilino (portal): más alto que geo/provincia */
ul.combo-dropdown.combo-dropdown--portal[data-combo-portal-input-id="inquilinoAbmComboInput"] {
  max-height: min(17rem, 52vh);
}

@media (max-width: 960px) {
  #ndModalInq .pp-card__body {
    grid-template-columns: 1fr;
  }

  #ndModalInq .inq-abm-fields {
    grid-template-columns: 1fr;
  }

  #ndModalInq .pp-row--prov-loc-cp,
  #ndModalInq .pp-row--torre-piso-depto,
  #ndModalInq .pp-row--2,
  #ndModalInq .pp-row--tel-tipo,
  #ndModalInq .pp-name-merge {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #ndModalInq.nd-modal-backdrop--inline-inq {
    left: 0;
  }
}

@media (max-width: 720px) {
  aside {
    width: 100%;
    max-height: 42vh;
    height: auto;
    position: relative;
    z-index: 10100;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  main {
    margin-left: 0;
  }
  #ndModalInq.nd-modal-backdrop--inline-inq {
    left: 0;
    top: 42vh;
    height: calc(100vh - 42vh);
  }

  #ndModalInq .pp-hero.inq-hero {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  #ndModalInq .pp-hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    width: 100%;
  }

  #ndModalInq .pp-card__head-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
