.imda {
	--imda-red: #d72a2b;
	--imda-red-dark: #b91f22;
	--imda-ink: #16191c;
	--imda-muted: #697078;
	--imda-soft: #f7f8fa;
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 100010;
	font-family: Aileron, Inter, Arial, sans-serif;
}

.imda *, .imda *::before, .imda *::after { box-sizing: border-box; }
.imda button, .imda input, .imda textarea, .imda select { font: inherit; }
.imda [hidden] { display: none !important; }
.imda__launcher { position: relative; display: inline-flex; min-height: 56px; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border: 0 !important; border-radius: 999px; background: var(--imda-red) !important; box-shadow: 0 18px 42px rgba(215, 42, 43, .30); color: #fff !important; font-size: 13px; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.imda__launcher:hover { transform: translateY(-2px); box-shadow: 0 23px 50px rgba(215, 42, 43, .38); }
.imda[data-open="true"] .imda__launcher { display: none; }
.imda__launcher-mark, .imda__avatar { display: inline-grid; overflow: hidden; place-items: center; border-radius: 50%; background: #fff; color: var(--imda-red); font-family: ODUDA, Georgia, serif; font-style: normal; font-weight: 700; }
.imda__launcher-mark { width: 40px; height: 40px; font-size: 22px; }
.imda__avatar { width: 43px; height: 43px; flex: 0 0 43px; }
.imda__launcher-mark img, .imda__avatar img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.imda__launcher > i { position: absolute; top: -3px; right: 2px; display: grid; width: 22px; height: 22px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--imda-ink); color: #fff; font-size: 9px; font-style: normal; }

.imda__panel { position: absolute; right: 0; bottom: 70px; display: grid; width: min(430px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 105px)); overflow: hidden; grid-template-rows: auto minmax(0, 1fr) auto; border: 1px solid rgba(22, 25, 28, .10); border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(22, 25, 28, .22); transform-origin: right bottom; animation: imda-open .22s ease-out both; }
.imda[data-open="true"] .imda__panel { bottom: 0; max-height: min(820px, calc(100dvh - 36px)); }
@keyframes imda-open { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.imda__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; background: linear-gradient(135deg, #16191c, #1d2328); color: #fff; }
.imda__header > div { display: flex; align-items: center; gap: 11px; }
.imda__header strong, .imda__header small { display: block; }
.imda__header strong { font-size: 13px; }
.imda__header small { margin-top: 4px; color: #cfd4d8; font-size: 10px; }
.imda__header small i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #57d48d; }
.imda__header > button { width: 34px; height: 34px; padding: 0; border: 0 !important; border-radius: 50%; background: rgba(255, 255, 255, .09) !important; color: #fff !important; font-size: 23px; cursor: pointer; }
.imda__conversation { overflow-y: auto; overscroll-behavior: contain; padding: 17px; background: linear-gradient(180deg, #f7f8fa, #fff 42%); scrollbar-width: thin; }
.imda__message { width: fit-content; max-width: 92%; padding: 12px 14px; margin: 0 0 10px; border-radius: 5px 16px 16px; box-shadow: 0 8px 20px rgba(22, 25, 28, .055); font-size: 12px; line-height: 1.48; }
.imda__message p { margin: 0; color: inherit; white-space: pre-line; }
.imda__message small { display: block; margin-top: 7px; color: inherit; opacity: .68; font-size: 10px; }
.imda__message--assistant { border: 1px solid rgba(22, 25, 28, .08); background: #fff; color: var(--imda-ink); }
.imda__message--user { margin-left: auto; border-radius: 16px 5px 16px 16px; background: var(--imda-red); color: #fff; font-weight: 800; }
.imda__message.is-status { color: var(--imda-muted); font-style: italic; }
.imda__message.is-error { border-color: rgba(215, 42, 43, .28); background: #fff2f2; color: #9c1e20; font-style: normal; }

.imda__topics, .imda__choices { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 14px; }
.imda__topics button, .imda__choices > button, .imda__skip { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(215, 42, 43, .28) !important; border-radius: 999px; background: #fff !important; box-shadow: none !important; color: var(--imda-red) !important; font-size: 10.5px; font-weight: 900; line-height: 1.2; text-align: left; text-decoration: none !important; cursor: pointer; }
.imda__topics button:hover, .imda__topics button:focus-visible, .imda__choices > button:hover, .imda__choices > button:focus-visible { border-color: var(--imda-red) !important; background: #fff3f3 !important; }
.imda__choices > button.is-primary, .imda__choices > button.is-selected { border-color: var(--imda-red) !important; background: var(--imda-red) !important; color: #fff !important; }
.imda__choices > button:disabled { opacity: .55; cursor: default; }
.imda__choices--multi { margin-bottom: 9px; }

.imda__field, .imda__auth { display: grid; gap: 10px; padding: 14px; margin: 0 0 13px; border: 1px solid rgba(215, 42, 43, .18); border-radius: 17px; background: #fff8f8; }
.imda__control { position: relative; display: flex; align-items: center; }
.imda__control > span:not(.imd-date-picker) { position: absolute; right: 12px; color: var(--imda-muted); font-size: 10px; font-weight: 800; pointer-events: none; }
.imda__field input:not([type="checkbox"]), .imda__field textarea, .imda__auth input:not([type="checkbox"]), .imda__auth textarea, .imda__auth select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(22, 25, 28, .16) !important; border-radius: 11px !important; outline: 0 !important; background: #fff !important; box-shadow: none !important; color: var(--imda-ink) !important; font-size: 12px; caret-color: var(--imda-red); }
.imda__field textarea, .imda__auth textarea { min-height: 92px; resize: vertical; }
.imda__field input:focus, .imda__field textarea:focus, .imda__auth input:focus, .imda__auth textarea:focus, .imda__auth select:focus { border-color: var(--imda-red) !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(215, 42, 43, .13) !important; }
.imda__field input[type="file"] { padding: 8px !important; }
.imda__field input[type="file"]::file-selector-button { margin-right: 8px; padding: 7px 9px; border: 0; border-radius: 8px; background: #ffe9e9; color: var(--imda-red); font-weight: 900; cursor: pointer; }
.imda__submit { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 10px 15px; border: 0 !important; border-radius: 12px !important; background: var(--imda-red) !important; box-shadow: 0 10px 24px rgba(215, 42, 43, .18) !important; color: #fff !important; font-weight: 900; cursor: pointer; }
.imda__submit:hover { background: var(--imda-red-dark) !important; }
.imda__submit:disabled { opacity: .65; cursor: wait; }
.imda__skip { width: fit-content; min-height: 30px; padding: 5px 9px; border-color: transparent !important; background: transparent !important; color: var(--imda-muted) !important; font-size: 9.5px; }

.imda__auth { padding: 15px; background: #fff; box-shadow: 0 12px 30px rgba(22, 25, 28, .07); }
.imda__auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 4px; border-radius: 12px; background: var(--imda-soft); }
.imda__auth-tabs button { min-height: 34px; padding: 7px; border: 0 !important; border-radius: 9px; background: transparent !important; color: var(--imda-muted) !important; font-size: 10px; font-weight: 900; cursor: pointer; }
.imda__auth-tabs button.is-active { background: #fff !important; box-shadow: 0 5px 14px rgba(22, 25, 28, .08) !important; color: var(--imda-red) !important; }
.imda__auth-form { display: grid; gap: 9px; }
.imda__auth-form > label, .imda__form-grid label { display: grid; gap: 4px; }
.imda__auth-form label > span { color: #50575e; font-size: 9.5px; font-weight: 800; }
.imda__form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.imda__check { display: grid !important; grid-template-columns: 18px 1fr; align-items: start; gap: 7px !important; }
.imda__check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--imda-red); }
.imda__check span { font-weight: 500 !important; line-height: 1.35; }
.imda__check a,.imda__panel>footer a{color:var(--imda-red);font-weight:700;text-decoration:underline}
.imda__form-status { margin: 0; color: var(--imda-muted); font-size: 10px; line-height: 1.4; }
.imda__form-status.is-error { color: #a51d1e; }
.imda__auth-fallback { margin: 0; text-align: center; }
.imda__auth-fallback a { color: var(--imda-red) !important; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.imda__turnstile { width: 100%; min-height: 65px; overflow: hidden; border-radius: 10px; }
.imda__turnstile > div { max-width: 100%; }
.imda__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.imda__property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 5px 0 15px; }
.imda__property-card { min-width: 0; overflow: hidden; border: 1px solid rgba(215, 42, 43, .22); border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgba(22, 25, 28, .08); }
.imda__property-media { position: relative; display: block; height: 105px; overflow: hidden; background: linear-gradient(145deg, #ffe7e7, #eef2f4); color: var(--imda-muted) !important; text-decoration: none !important; }
.imda__property-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.imda__property-card:hover .imda__property-media img { transform: scale(1.045); }
.imda__property-media > span { display: grid; height: 100%; place-items: center; padding: 16px; font-size: 9px; font-weight: 800; text-align: center; }
.imda__property-media b { position: absolute; top: 8px; left: 8px; padding: 5px 7px; border-radius: 999px; background: var(--imda-red); color: #fff; font-size: 7px; letter-spacing: .03em; }
.imda__property-body { padding: 10px; }
.imda__property-body > p { overflow: hidden; margin: 0 0 5px; color: var(--imda-red); font-size: 7.5px; font-weight: 900; letter-spacing: .035em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.imda__property-body h3 { display: -webkit-box; overflow: hidden; min-height: 2.05em; margin: 0; color: var(--imda-ink); font-family: ODUDA, Aileron, Arial, sans-serif; font-size: 16px; line-height: 1.03; text-transform: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.imda__property-price { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 6px; margin-top: 5px; padding-top: 7px; border-top: 1px solid rgba(22, 25, 28, .09); }
.imda__property-price strong { overflow: hidden; color: var(--imda-ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.imda__property-price a { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid rgba(215, 42, 43, .35); border-radius: 50%; background: #fff4f4; color: var(--imda-red) !important; font-weight: 900; text-decoration: none !important; }
.imda__property-facts { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 6px; border-top: 1px solid rgba(22, 25, 28, .09); color: var(--imda-muted); font-size: 6.8px; font-weight: 800; }
.imda__property-facts b { color: var(--imda-ink); font-size: 8px; }
.imda__panel > footer { padding: 8px 16px; border-top: 1px solid rgba(22, 25, 28, .08); background: #fff; color: #858b91; font-size: 9px; text-align: center; }.imda__panel>footer .imd-privacy-summary{margin:0 0 5px;padding:0;border:0;background:transparent}.imda__panel>footer .imd-privacy-summary p{text-align:left}.imda__panel>footer>span{display:block}

@media (max-width: 520px) {
	.imda { right: max(9px, env(safe-area-inset-right)); bottom: max(9px, env(safe-area-inset-bottom)); }
	.imda__launcher { min-height: 52px; }
	.imda__panel { right: -1px; bottom: 63px; width: calc(100vw - 18px); max-height: calc(100dvh - 84px); border-radius: 20px; }
	.imda[data-open="true"] .imda__panel { bottom: 0; max-height: calc(100dvh - 18px); }
	.imda__conversation { padding: 14px; }
	.imda__form-grid { grid-template-columns: 1fr; }
	.imda__auth input:not([type="checkbox"]) { font-size: 16px; }
	.imda__property-grid { gap: 7px; }
	.imda__property-media { height: 90px; }
	.imda__property-body { padding: 8px; }
	.imda__property-body h3 { font-size: 14px; }
}
@media (max-width: 370px) { .imda__property-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .imda__panel { animation: none; } .imda__launcher, .imda__property-media img { transition: none; } }

/* Assistant 0.3.2 · continuidad visual completa con el tema oscuro del sitio. */
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda {
	--imda-ink: #f7f8fa;
	--imda-muted: #b9c0c5;
	--imda-soft: #151a1e;
	color-scheme: dark;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__panel {
	border-color: rgba(255,255,255,.14);
	background: #16191c;
	box-shadow: 0 30px 90px rgba(0,0,0,.52);
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__header {
	border-bottom: 1px solid rgba(255,255,255,.1);
	background: linear-gradient(135deg,#111518,#20272c);
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__conversation {
	background: linear-gradient(180deg,#151a1e,#1b2227 42%,#16191c);
	scrollbar-color: rgba(215,42,43,.72) #151a1e;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__message--assistant {
	border-color: rgba(255,255,255,.12);
	background: #242b30;
	box-shadow: 0 10px 24px rgba(0,0,0,.22);
	color: var(--imda-ink);
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__message.is-error {
	border-color: rgba(255,105,105,.38);
	background: #351f23;
	color: #ffb7b8;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__topics button,.imda__choices>button,.imda__skip) {
	border-color: rgba(239,76,78,.46)!important;
	background: #1d2429!important;
	color: #ff787a!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__topics button,.imda__choices>button):is(:hover,:focus-visible) {
	border-color: #ef4c4e!important;
	background: #302124!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__choices>button.is-primary,.imda__choices>button.is-selected) {
	border-color: var(--imda-red)!important;
	background: var(--imda-red)!important;
	color: #fff!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__field,.imda__auth) {
	border-color: rgba(239,76,78,.3);
	background: #251c1f;
	box-shadow: 0 14px 36px rgba(0,0,0,.2);
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__auth { background: #1d2429; }
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__field input:not([type="checkbox"]),.imda__field textarea,.imda__auth input:not([type="checkbox"]),.imda__auth textarea,.imda__auth select) {
	border-color: rgba(255,255,255,.16)!important;
	background: #151a1e!important;
	color: var(--imda-ink)!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__field input,.imda__field textarea,.imda__auth input,.imda__auth textarea)::placeholder { color: #8e989f; opacity: 1; }
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__field input[type="file"]::file-selector-button {
	background: #3a2326;
	color: #ff8587;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__auth-tabs { background: #151a1e; }
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__auth-tabs button.is-active {
	background: #2a3137!important;
	box-shadow: 0 6px 16px rgba(0,0,0,.28)!important;
	color: #ff787a!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__auth-form label>span { color: #c5ccd1; }
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__property-card {
	border-color: rgba(239,76,78,.34);
	background: #1d2429;
	box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__property-media {
	background: linear-gradient(145deg,#392326,#242d33);
	color: var(--imda-muted)!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) :is(.imda__property-price,.imda__property-facts) { border-top-color: rgba(255,255,255,.1); }
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__property-price a {
	border-color: rgba(239,76,78,.5);
	background: #302124;
	color: #ff8587!important;
}
:is(html[data-theme="dark"],html[data-imd-color-scheme="dark"],html.inmudescuentos-site-dark,html.imh-site-dark,body.dark-mode) .imda__panel>footer {
	border-top-color: rgba(255,255,255,.1);
	background: #111619;
	color: #aab3b9;
}
