input[type="checkbox"],
input[type="radio"] {
	width: 1.15rem;
	min-width: 1.15rem;
	height: 1.15rem;
	min-height: 0;
	margin: .2rem 0 0;
	padding: 0;
	border-radius: .22rem;
	box-shadow: none;
	accent-color: #f69000;
	flex: 0 0 1.15rem;
}

/* Area privada movil 2.68.5: margen de acciones de creacion. */
@media (max-width: 47.99rem) {
	body.altavista-employee-portal .portal-section__head,
	body.page-id-162 .portal-section__head {
		box-sizing: border-box;
		width: 100%;
		margin: 0 !important;
		padding: .8rem 1rem !important;
		border-bottom: 1px solid #e4ded6;
	}
	body.altavista-employee-portal .portal-client-tools,
	body.page-id-162 .portal-client-tools {
		box-sizing: border-box;
		width: 100% !important;
		padding: .8rem 1rem 1rem !important;
	}
	body.altavista-employee-portal .portal-client-tools > .portal-create,
	body.page-id-162 .portal-client-tools > .portal-create,
	body.altavista-employee-portal .portal-section__head > .portal-create,
	body.page-id-162 .portal-section__head > .portal-create {
		margin: 0 0 .8rem !important;
	}
	body.altavista-employee-portal .portal-client-tools > .portal-create > summary,
	body.page-id-162 .portal-client-tools > .portal-create > summary,
	body.altavista-employee-portal .portal-section__head > .portal-create > summary,
	body.page-id-162 .portal-section__head > .portal-create > summary {
		margin: 0 !important;
	}
	body.altavista-employee-portal .portal-client-search,
	body.page-id-162 .portal-client-search { margin-top: 0 !important; }
}

/* Area privada movil 2.68.4: jerarquia profesional, titulos legibles y separadores. */
@media (max-width: 47.99rem) {
	body.altavista-employee-portal .portal-section,
	body.page-id-162 .portal-section {
		margin: 0 !important;
		border-top: .7rem solid #ece7df !important;
		background: #fff !important;
	}
	body.altavista-employee-portal .portal-section:first-of-type,
	body.page-id-162 .portal-section:first-of-type { border-top: 0 !important; }
	body.altavista-employee-portal .portal-module > .portal-module-summary,
	body.page-id-162 .portal-module > .portal-module-summary {
		min-height: 76px;
		padding: .9rem 1rem !important;
		border: 0 !important;
		border-bottom: 1px solid #ded7ce !important;
		background: #fff !important;
	}
	body.altavista-employee-portal .portal-module[open] > .portal-module-summary,
	body.page-id-162 .portal-module[open] > .portal-module-summary {
		border-bottom: 3px solid #f69000 !important;
		background: #fffaf3 !important;
	}
	body.altavista-employee-portal .portal-module-summary strong,
	body.page-id-162 .portal-module-summary strong {
		color: #111 !important;
		font-size: 1.28rem !important;
		font-weight: 850 !important;
		letter-spacing: -.02em;
	}
	body.altavista-employee-portal .managed-property-group,
	body.page-id-162 .managed-property-group {
		margin: .75rem 0 0 !important;
		border-top: 1px solid #d8d0c5 !important;
		border-bottom: 1px solid #d8d0c5 !important;
		background: #fff !important;
	}
	body.altavista-employee-portal .managed-property-group > summary,
	body.page-id-162 .managed-property-group > summary {
		min-height: 62px;
		padding: .8rem 1rem !important;
		border-bottom: 1px solid #e2dbd2 !important;
		background: #f8f5f0 !important;
	}
	body.altavista-employee-portal .managed-property-group > summary strong,
	body.page-id-162 .managed-property-group > summary strong {
		color: #111 !important;
		font-size: 1rem !important;
		font-weight: 850 !important;
	}
	body.altavista-employee-portal .managed-property-group__items,
	body.page-id-162 .managed-property-group__items { padding: 0 !important; }
	body.altavista-employee-portal .managed-property-group__items > .managed-property-item,
	body.page-id-162 .managed-property-group__items > .managed-property-item {
		margin: 0 !important;
		border: 0 !important;
		border-bottom: 1px solid #e4ded6 !important;
		background: #fff !important;
	}
	body.altavista-employee-portal .managed-property-group__items > .managed-property-item:last-child,
	body.page-id-162 .managed-property-group__items > .managed-property-item:last-child { border-bottom: 0 !important; }
	body.altavista-employee-portal .managed-property-item > summary,
	body.page-id-162 .managed-property-item > summary {
		min-height: 84px;
		align-items: center !important;
		padding: .75rem 1rem !important;
		background: #fff !important;
	}
	body.altavista-employee-portal .managed-property-item > summary strong,
	body.page-id-162 .managed-property-item > summary strong {
		align-items: flex-start !important;
		gap: .38rem !important;
	}
	body.altavista-employee-portal .portal-property-title,
	body.page-id-162 .portal-property-title {
		color: #111 !important;
		font-size: .9rem !important;
		font-weight: 800 !important;
		line-height: 1.35;
	}
	body.altavista-employee-portal .managed-property-item > summary > span:last-child,
	body.page-id-162 .managed-property-item > summary > span:last-child {
		flex: 0 0 auto;
		padding: .25rem .45rem;
		border-radius: 999px;
		background: #f1eee9;
		color: #3d3934 !important;
		font-size: .68rem !important;
		font-weight: 800;
	}
	body.altavista-employee-portal .portal-property-reference,
	body.page-id-162 .portal-property-reference {
		background: #f69000 !important;
		color: #111 !important;
	}
	body.altavista-employee-portal .portal-property-filter,
	body.page-id-162 .portal-property-filter {
		margin: .75rem 0 !important;
		border-top: 1px solid #dfd7cd !important;
		border-bottom: 1px solid #dfd7cd !important;
		background: #fff !important;
	}
}

/* Area privada: ocupa el ancho completo y conserva legibilidad al abrir modulos. */
@media (max-width: 47.99rem) {
	body.altavista-employee-portal main.shell.section,
	body.page-id-162 main.shell.section,
	body.altavista-employee-portal main.shell.section > article,
	body.page-id-162 main.shell.section > article,
	body.altavista-employee-portal .entry-content,
	body.page-id-162 .entry-content,
	body.altavista-employee-portal .client-area,
	body.page-id-162 .client-area {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	body.altavista-employee-portal .portal-toolbar,
	body.page-id-162 .portal-toolbar,
	body.altavista-employee-portal .portal-section,
	body.page-id-162 .portal-section {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin: 0 0 .4rem !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	body.altavista-employee-portal .portal-toolbar,
	body.page-id-162 .portal-toolbar { padding: .9rem .75rem !important; }
	body.altavista-employee-portal .portal-module > .portal-module-summary,
	body.page-id-162 .portal-module > .portal-module-summary {
		width: 100% !important;
		min-height: 70px;
		margin: 0 !important;
		padding: .8rem .75rem !important;
		border: 0 !important;
		border-top: 1px solid #ead8bf !important;
		border-bottom: 1px solid #ead8bf !important;
		border-radius: 0 !important;
		background: #fff7ea !important;
	}
	body.altavista-employee-portal .portal-module[open] > .portal-module-summary,
	body.page-id-162 .portal-module[open] > .portal-module-summary {
		border-bottom: 3px solid var(--logo-orange, #f69000) !important;
		background: #fff0d8 !important;
	}
	body.altavista-employee-portal .portal-module-summary strong,
	body.page-id-162 .portal-module-summary strong {
		color: #17231f;
		font-size: 1.22rem;
		line-height: 1.15;
	}
	body.altavista-employee-portal .portal-module-summary small,
	body.page-id-162 .portal-module-summary small {
		color: #8a4500;
		font-size: .67rem;
		letter-spacing: .1em;
	}
	body.altavista-employee-portal .managed-property-list,
	body.page-id-162 .managed-property-list,
	body.altavista-employee-portal .portal-client-tools,
	body.page-id-162 .portal-client-tools,
	body.altavista-employee-portal .portal-appointments,
	body.page-id-162 .portal-appointments,
	body.altavista-employee-portal .portal-document-list,
	body.page-id-162 .portal-document-list,
	body.altavista-employee-portal .portal-property-manager,
	body.page-id-162 .portal-property-manager {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
	body.altavista-employee-portal .managed-property-list > details,
	body.page-id-162 .managed-property-list > details,
	body.altavista-employee-portal .portal-client-results article,
	body.page-id-162 .portal-client-results article,
	body.altavista-employee-portal .portal-appointments article,
	body.page-id-162 .portal-appointments article {
		border-right: 0 !important;
		border-left: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	body.altavista-employee-portal .managed-property-group__items,
	body.page-id-162 .managed-property-group__items { padding: .4rem 0 !important; }
	body.altavista-employee-portal .portal-quick-form,
	body.page-id-162 .portal-quick-form,
	body.altavista-employee-portal .portal-property-form,
	body.page-id-162 .portal-property-form,
	body.altavista-employee-portal .portal-client-search,
	body.page-id-162 .portal-client-search,
	body.altavista-employee-portal .portal-appointment-edit-form,
	body.page-id-162 .portal-appointment-edit-form,
	body.altavista-employee-portal .portal-document-form,
	body.page-id-162 .portal-document-form {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding: .75rem !important;
		border-radius: 0 !important;
	}
	body.altavista-employee-portal .portal-property-actions,
	body.page-id-162 .portal-property-actions { padding-right: .75rem !important; padding-left: .75rem !important; }
	body.altavista-employee-portal .portal-property-quick-form,
	body.page-id-162 .portal-property-quick-form { padding: 0 !important; border: 0 !important; }
	body.altavista-employee-portal .portal-property-edit-grid,
	body.page-id-162 .portal-property-edit-grid,
	body.altavista-employee-portal .portal-property-description-panel,
	body.page-id-162 .portal-property-description-panel { padding: .1rem .65rem .7rem !important; }
	body.altavista-employee-portal input,
	body.page-id-162 input,
	body.altavista-employee-portal select,
	body.page-id-162 select,
	body.altavista-employee-portal textarea,
	body.page-id-162 textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
}

input[type="radio"] { border-radius: 50%; }

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]),
.altavista-form p > label:has(input[type="checkbox"]),
.altavista-form p > label:has(input[type="radio"]) {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: .65rem;
	width: 100%;
	padding: .2rem 0;
	line-height: 1.45;
	text-align: left;
}

.altavista-form p:has(input[type="checkbox"]),
.altavista-form p:has(input[type="radio"]) {
	margin-block: .25rem;
	padding: 0;
	border: 0;
	background: transparent;
}

@media (max-width: 47.99rem) {
	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.shell {
		width: 100%;
		max-width: none;
		padding-inline: .85rem;
	}

	.site-header {
		width: 100%;
		padding: .45rem 0;
	}

	.site-header .shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: .5rem .65rem;
		width: 100%;
		min-height: 0;
		padding-inline: .75rem;
		position: relative;
	}

	.site-header .brand { grid-row: 1; min-width: 0; }
	.site-header .brand img,
	.site-header .custom-logo-link img {
		max-width: 125px;
		max-height: 48px;
	}

	.site-header .nav-toggle {
		position: absolute;
		z-index: 2;
		left: 50%;
		top: 24px;
		transform: translate(-50%, -50%);
		min-width: auto;
		min-height: 42px;
		padding: .5rem .9rem;
		box-shadow: none;
	}

	.site-header .language-selector {
		grid-column: 2;
		grid-row: 1;
		width: auto;
		min-width: 0;
	}

	.site-header .language-selector select {
		width: auto;
		max-width: 105px;
		min-height: 42px;
		padding: .45rem .55rem;
		font-size: .78rem;
	}

	#primary-navigation {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		margin: 0;
		padding: .45rem 0 .65rem;
		border-top: 1px solid #e7e2dc;
		background: #fff;
	}

	#primary-navigation:not(.is-open) { display: none; }
	#primary-navigation.is-open { display: block; }
	#primary-navigation .menu {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	#primary-navigation .menu li { width: 100%; margin: 0; }
	#primary-navigation .menu a {
		display: block;
		width: 100%;
		padding: .68rem .75rem;
		border-bottom: 1px solid #eee9e3;
		font-size: 1rem;
		line-height: 1.25;
	}
	#primary-navigation .menu li:last-child a { border-bottom: 0; }
	.header-cta { display: none !important; }

	main,
	.entry-content,
	.property-hero,
	.property-layout,
	.property-details,
	.property-contact-wide {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.section { padding-block: 2rem; }
	.property-hero { padding-inline: .85rem; }
	.property-hero h1 {
		font-size: clamp(1.9rem, 9vw, 2.6rem);
		overflow-wrap: anywhere;
	}
	.property-gallery,
	.property-gallery__stage,
	.property-main-image {
		width: 100%;
		max-width: 100%;
	}
	.property-gallery__stage { overflow: hidden; }
	.property-main-image { height: auto; object-fit: cover; }
	.property-layout {
		gap: 1.5rem;
		padding-inline: .85rem;
		padding-bottom: 3rem;
	}
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.property-facts-complete { gap: .5rem; margin-bottom: 1rem; }
	.property-facts-complete div { padding: .7rem .75rem; border-radius: .6rem; }
	.property-facts-complete dt { font-size: .78rem; line-height: 1.25; }
	.property-facts-complete dd { margin-top: .15rem; font-size: 1.08rem; line-height: 1.25; }
	.altavista-form,
	.property-filter {
		width: 100%;
		max-width: 100%;
		grid-template-columns: 1fr;
	}
	.contact-card {
		width: 100%;
		max-width: 100%;
		padding: 1rem;
	}
	table { max-width: 100%; }
	.responsive-table {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
	}
	.client-area,.client-area>*,.portal-section,.portal-section>*,.portal-module-summary,.portal-module-summary span,.portal-create,.portal-quick-form,.portal-client-tools,.portal-client-search,.portal-client-results,.portal-client-results article,.portal-document-list,.portal-appointments,.managed-property-list,.managed-property-list details{width:100%;max-width:100%;min-width:0}
	.portal-section{overflow:hidden}
	.portal-module-summary strong,.portal-client-results h3,.portal-document-list strong,.managed-property-list summary strong{overflow-wrap:anywhere}
	.portal-quick-form{inset-inline:auto}
	.portal-client-search button,.portal-client-search>a{width:100%}
	.portal-document-list li,.portal-document-actions,.appointment-status-form{flex-wrap:wrap}
}

/* Prioridad final 2.68.4: esta capa carga despues de todas las reglas moviles anteriores. */
@media (max-width: 47.99rem) {
	body.altavista-employee-portal .portal-section,body.page-id-162 .portal-section{margin:0!important;border:0!important;border-top:.7rem solid #ece7df!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
	body.altavista-employee-portal .portal-module>.portal-module-summary,body.page-id-162 .portal-module>.portal-module-summary{min-height:76px;padding:.9rem 1rem!important;border:0!important;border-bottom:1px solid #ded7ce!important;border-radius:0!important;background:#fff!important}
	body.altavista-employee-portal .portal-module[open]>.portal-module-summary,body.page-id-162 .portal-module[open]>.portal-module-summary{border-bottom:3px solid #f69000!important;background:#fffaf3!important}
	body.altavista-employee-portal .portal-module-summary strong,body.page-id-162 .portal-module-summary strong{color:#111!important;font-size:1.28rem!important;font-weight:850!important;letter-spacing:-.02em}
	body.altavista-employee-portal .managed-property-group,body.page-id-162 .managed-property-group{margin:.75rem 0 0!important;border:0!important;border-top:1px solid #d8d0c5!important;border-bottom:1px solid #d8d0c5!important;border-radius:0!important;background:#fff!important}
	body.altavista-employee-portal .managed-property-group>summary,body.page-id-162 .managed-property-group>summary{min-height:62px;padding:.8rem 1rem!important;border-bottom:1px solid #e2dbd2!important;background:#f8f5f0!important}
	body.altavista-employee-portal .managed-property-group>summary strong,body.page-id-162 .managed-property-group>summary strong{color:#111!important;font-size:1rem!important;font-weight:850!important}
	body.altavista-employee-portal .managed-property-group__items,body.page-id-162 .managed-property-group__items{padding:0!important}
	body.altavista-employee-portal .managed-property-group__items>.managed-property-item,body.page-id-162 .managed-property-group__items>.managed-property-item{margin:0!important;border:0!important;border-bottom:1px solid #e4ded6!important;border-radius:0!important;background:#fff!important}
	body.altavista-employee-portal .managed-property-item>summary,body.page-id-162 .managed-property-item>summary{min-height:84px;align-items:center!important;padding:.75rem 1rem!important;background:#fff!important}
	body.altavista-employee-portal .portal-property-title,body.page-id-162 .portal-property-title{color:#111!important;font-size:.9rem!important;font-weight:800!important;line-height:1.35}
	body.altavista-employee-portal .managed-property-item>summary>span:last-child,body.page-id-162 .managed-property-item>summary>span:last-child{flex:0 0 auto;padding:.25rem .45rem;border-radius:999px;background:#f1eee9;color:#3d3934!important;font-size:.68rem!important;font-weight:800}
	body.altavista-employee-portal .portal-property-reference,body.page-id-162 .portal-property-reference{background:#f69000!important;color:#111!important}
	body.altavista-employee-portal .portal-property-filter,body.page-id-162 .portal-property-filter{margin:.75rem 0!important;border:0!important;border-top:1px solid #dfd7cd!important;border-bottom:1px solid #dfd7cd!important;border-radius:0!important;background:#fff!important}
}

@media (max-width: 47.99rem) {
	body.altavista-employee-portal .portal-section__head,body.page-id-162 .portal-section__head{box-sizing:border-box;width:100%;margin:0!important;padding:.85rem 1rem!important;border-bottom:1px solid #e4ded6}
	body.altavista-employee-portal .portal-client-tools,body.page-id-162 .portal-client-tools{box-sizing:border-box;width:100%!important;margin:0!important;padding:.85rem 1rem 1rem!important}
	body.altavista-employee-portal .portal-client-tools>.portal-create,body.page-id-162 .portal-client-tools>.portal-create,body.altavista-employee-portal .portal-section__head>.portal-create,body.page-id-162 .portal-section__head>.portal-create{margin:0 0 .85rem!important}
	body.altavista-employee-portal .portal-client-tools>.portal-create>summary,body.page-id-162 .portal-client-tools>.portal-create>summary,body.altavista-employee-portal .portal-section__head>.portal-create>summary,body.page-id-162 .portal-section__head>.portal-create>summary{margin:0!important}
	body.altavista-employee-portal .portal-client-search,body.page-id-162 .portal-client-search{margin-top:0!important}
}

@media (max-width: 47.99rem) {
	body.altavista-employee-portal .managed-property-group__items>.managed-property-item,
	body.page-id-162 .managed-property-group__items>.managed-property-item {
		border-bottom: 3px solid #202020 !important;
	}
	body.altavista-employee-portal .managed-property-group__items>.managed-property-item:last-child,
	body.page-id-162 .managed-property-group__items>.managed-property-item:last-child {
		border-bottom: 0 !important;
	}
	body.altavista-employee-portal .managed-property-group,
	body.page-id-162 .managed-property-group {
		border-top: 3px solid #202020 !important;
		border-bottom: 3px solid #202020 !important;
	}
}

/* 2.68.8: en el portal movil, diferencia visualmente los valores editables de sus etiquetas. */
@media (max-width: 47.99rem) {
	body.altavista-employee-portal :where(
		input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]),
		select,
		textarea
	),
	body.page-id-162 :where(
		input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]),
		select,
		textarea
	) {
		color: #075fc8 !important;
		-webkit-text-fill-color: #075fc8;
	}

	body.altavista-employee-portal input[type="file"],
	body.page-id-162 input[type="file"],
	body.altavista-employee-portal .portal-description-visual[contenteditable="true"],
	body.page-id-162 .portal-description-visual[contenteditable="true"] {
		color: #075fc8 !important;
		-webkit-text-fill-color: #075fc8;
	}

	body.altavista-employee-portal input[type="file"]::file-selector-button,
	body.page-id-162 input[type="file"]::file-selector-button {
		color: #111 !important;
		-webkit-text-fill-color: #111;
	}

	body.altavista-employee-portal :where(input, textarea)::placeholder,
	body.page-id-162 :where(input, textarea)::placeholder {
		color: #4c78a8 !important;
		opacity: 1;
	}
}
