.uxm-portal {
	max-width: 900px;
	margin: 0 auto;
	padding: 1.5em 0;
	font-family: var( --uxm-font-body, inherit );
}

.uxm-portal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1em;
}

.uxm-form p {
	margin-bottom: 1em;
}

.uxm-form label {
	display: block;
	margin-bottom: 0.25em;
	font-weight: 600;
}

.uxm-form input[type="text"],
.uxm-form input[type="password"] {
	width: 100%;
	padding: 0.6em;
	border: 1px solid var( --uxm-line, #ccc );
	border-radius: 4px;
}

.uxm-button {
	display: inline-block;
	padding: 0.7em 1.4em;
	border-radius: 4px;
	background: var( --uxm-olive, #2f8f5b );
	color: #fff;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

.uxm-button-secondary {
	background: transparent;
	color: var( --uxm-olive, #2f8f5b );
	border: 1px solid var( --uxm-olive, #2f8f5b );
}

.uxm-alert {
	color: #b32d2e;
}

.uxm-property-switcher {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	margin-bottom: 1.5em;
}

.uxm-property-switcher a {
	padding: 0.5em 1em;
	border-radius: 999px;
	border: 1px solid var( --uxm-line, #ccc );
	text-decoration: none;
	color: inherit;
}

.uxm-property-switcher a.is-active {
	background: var( --uxm-olive, #2f8f5b );
	color: #fff;
	border-color: var( --uxm-olive, #2f8f5b );
}

.uxm-summary-cards {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	margin-bottom: 1.5em;
}

.uxm-summary-card {
	flex: 1 1 120px;
	text-align: center;
	padding: 1em;
	border: 1px solid var( --uxm-line, #ccc );
	border-radius: 8px;
}

.uxm-summary-number {
	display: block;
	font-size: 2em;
	font-weight: 700;
	color: var( --uxm-olive, #2f8f5b );
}

.uxm-summary-label {
	display: block;
	font-size: 0.85em;
	color: var( --uxm-ink-soft, #666 );
}

.uxm-maint-list {
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
}

.uxm-maint-item {
	padding: 1em;
	border: 1px solid var( --uxm-line, #eee );
	border-radius: 8px;
	margin-bottom: 0.75em;
}

.uxm-maint-item-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5em;
}

.uxm-photo-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 0.5em;
}

.uxm-photo-gallery img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 4px;
}

.uxm-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.85 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.uxm-lightbox-img {
	max-width: 90vw;
	max-height: 90vh;
}

.uxm-lightbox-close {
	position: absolute;
	top: 1em;
	right: 1.5em;
	font-size: 2em;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
}

.uxm-statement-table {
	width: 100%;
	max-width: 500px;
	border-collapse: collapse;
	margin-bottom: 1em;
}

.uxm-statement-table td,
.uxm-statement-table th {
	padding: 0.6em;
	border-bottom: 1px solid var( --uxm-line, #eee );
}

.uxm-statement-table th {
	text-align: left;
}

.uxm-statement-table td a {
	color: inherit;
	text-decoration: underline;
}

.uxm-statement-total td {
	font-weight: 700;
	border-top: 2px solid var( --uxm-ink, #171725 );
}

.uxm-statement-informativo td {
	color: #777;
	font-style: italic;
}

.uxm-statement-list {
	list-style: none;
	padding: 0;
}

.uxm-statement-list li {
	padding: 0.75em 0;
	border-bottom: 1px solid var( --uxm-line, #eee );
}

.uxm-revision-note {
	color: #9a6b00;
	font-style: italic;
}
