:root {
	--mi-beige: #f4efe7;
	--mi-cream: #fffdf9;
	--mi-gold: #c6a15b;
	--mi-brown: #5a3a29;
	--mi-brown-dark: #382116;
	--mi-green: #2f7655;
	--mi-red: #a7463e;
	--mi-line: #e9dece;
	--mi-shadow: 0 14px 45px rgba(71, 45, 28, .10);
}

/* 1.3.5 — panel intuitivo por propietario y por mascota */
.szl-mi .szl-mi-hero-premium { display: block; text-align: center; padding: 28px 18px 20px; }
.szl-mi .szl-mi-profile { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.szl-mi .szl-mi-profile > div { display: flex; flex-direction: column; align-items: center; width: 100%; }
.szl-mi .szl-mi-profile h1 { text-align: center; margin: 2px 0 4px; }
.szl-mi .szl-mi-profile h1 span { display: block; }
.szl-mi .szl-mi-user-name { overflow-wrap: anywhere; }
.szl-mi .szl-mi-pet-names { margin: 0 0 10px; color: #78685d; font-size: .92rem; font-weight: 600; }
.szl-mi .szl-mi-name-editor { width: min(100%, 420px); }
.szl-mi .szl-mi-name-editor details > summary { width: fit-content; margin: 0 auto; }
.szl-mi .szl-mi-account-actions { width: min(100%, 520px); margin: 18px auto 0; }
.szl-mi .szl-mi-membership { justify-content: center; text-align: center; flex-wrap: wrap; }
.szl-mi .szl-mi-membership-copy { align-items: center; }
.szl-mi .szl-mi-account-manager { flex-basis: 100%; margin-top: 12px; position: relative; }
.szl-mi .szl-mi-account-manager > summary { list-style: none; cursor: pointer; display: inline-flex; justify-content: center; min-width: 150px; padding: 10px 18px; border: 1px solid #c6a15b; border-radius: 999px; background: #fffaf2; color: #5a3a29; font-weight: 800; }
.szl-mi .szl-mi-account-manager > summary::-webkit-details-marker { display: none; }
.szl-mi .szl-mi-account-manager-body { display: grid; gap: 9px; margin-top: 12px; padding: 16px; border: 1px solid rgba(198,161,91,.36); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(90,58,41,.10); }
.szl-mi .szl-mi-account-manager-body p { margin: 0 0 5px; }
.szl-mi .szl-mi-account-manager-body p small,.szl-mi .szl-mi-account-manager-body p strong { display: block; overflow-wrap: anywhere; }
.szl-mi .szl-mi-account-manager-body > a { display: block; padding: 10px 12px; border-radius: 12px; background: #f8f1e7; color: #5a3a29; text-decoration: none; font-weight: 700; }
.szl-mi .szl-mi-profile-editor > summary { list-style:none; cursor:pointer; display:block; padding:10px 12px; border-radius:12px; background:#f8f1e7; color:#5a3a29; font-weight:700; }
.szl-mi .szl-mi-profile-editor > summary::-webkit-details-marker { display:none; }
.szl-mi .szl-mi-profile-editor-body { margin-top:10px; padding:14px; border:1px solid rgba(198,161,91,.35); border-radius:16px; background:#fffaf2; }
.szl-mi .szl-mi-profile-editor form { display:grid; gap:11px; }
.szl-mi .szl-mi-profile-editor label { display:grid; gap:5px; text-align:left; color:#5a3a29; font-weight:700; }
.szl-mi .szl-mi-profile-editor input { width:100%; min-height:46px; padding:10px 12px; border:1px solid #d8c39c; border-radius:12px; background:#fff; color:#3f291f; font-size:16px; }
.szl-mi .szl-mi-profile-editor button { min-height:48px; border:0; border-radius:999px; background:#8f0d2c; color:#fff; font-weight:800; cursor:pointer; }
.szl-mi .szl-mi-profile-notice { margin:0 0 10px; font-weight:750; }
.szl-mi .szl-mi-profile-notice.is-success { color:#2d7a58; }
.szl-mi .szl-mi-profile-notice.is-error { color:#a32638; }
.szl-mi .szl-mi-account-manager-body .szl-mi-logout { background: #5a3a29; color: #fff; }
.szl-mi .szl-mi-double-check { display: flex !important; align-items: flex-start; gap: 8px; }
.szl-mi .szl-mi-double-check input { width: auto !important; margin-top: 4px; }
.szl-mi .szl-mi-utility-actions { display: none; }
.szl-mi .szl-mi-nav { display: none; }
.szl-mi .szl-mi-stats { margin-top: 14px; }
.szl-mi .szl-mi-content { padding-top: 16px; }
.szl-mi [data-szl-slot="pet-grid"] .szl-pet-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 18px; }
.szl-mi .szl-pet-card { text-align: center; overflow: visible; }
.szl-mi .szl-pet-card .szl-pet-photo,.szl-mi .szl-pet-card img { margin-inline: auto; }
.szl-mi .szl-pet-card .szl-pet-body { align-items: center; text-align: center; }
.szl-mi .szl-card-actions { justify-content: center; }
.szl-mi .szl-mi-view-profile { display: block; }
.szl-mi .szl-mi-pet-options { width: min(100%, 220px); margin-inline: auto; }
.szl-mi .szl-mi-pet-options > summary { justify-content: center; text-align: center; }
.szl-mi .szl-mi-pet-options-menu { z-index: 20; }
.szl-mi .szl-mi-pet-services { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 14px; padding-top: 14px; border-top: 1px solid rgba(198,161,91,.28); }
.szl-mi .szl-mi-pet-services button { min-height: 54px; padding: 9px 7px; border: 1px solid rgba(198,161,91,.48); border-radius: 13px; background: #fffaf3; color: #5a3a29; font-size: .83rem; line-height: 1.2; font-weight: 750; cursor: pointer; }
.szl-mi .szl-mi-pet-services button:last-child { background: linear-gradient(135deg,#6e4329,#9a6a3d); color: #fff; border-color: transparent; }
.szl-mi .szl-mi-quick-heading { margin: 28px 0 12px; text-align: center; }
.szl-mi .szl-mi-quick-heading span { color: #a77b30; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.szl-mi .szl-mi-quick-heading h2 { margin: 3px 0 0; }
.szl-mi .szl-mi-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.szl-mi .szl-mi-quick-actions button,.szl-mi .szl-mi-quick-actions a { display: flex; min-width: 0; min-height: 84px; padding: 10px 5px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(198,161,91,.35); border-radius: 16px; background: #fff; color: #5a3a29; text-decoration: none; font-weight: 800; cursor: pointer; }
.szl-mi .szl-mi-quick-actions svg { width: 27px; height: 27px; color: #bd8d36; }
.szl-mi .szl-mi-alert-settings { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 12px; padding: 13px; border: 1px solid #c6a15b; border-radius: 14px; background: #5a3a29; color: #fff; font-weight: 800; cursor: pointer; }
.szl-mi .szl-mi-alert-settings svg { width: 22px; }
.szl-mi .szl-carnet-picker { display: flex; gap: 10px; overflow-x: auto; margin: 14px 0; padding: 4px 2px 10px; }
.szl-mi .szl-carnet-picker button { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #dfccb0; border-radius: 999px; background: #fff; color: #5a3a29; font-weight: 800; }
.szl-mi .szl-carnet-picker button.is-active { background: #5a3a29; color: #fff; }
.szl-mi .szl-carnet { display: none; }
.szl-mi .szl-carnet.is-active { display: block; }
.szl-mi .szl-carnet-cover { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 22px; background: linear-gradient(135deg,#fffdf8,#f2e2c6); border: 1px solid #c6a15b; }
.szl-mi .szl-carnet-photo { width: 100px; height: 100px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #c6a15b; }
.szl-mi .szl-carnet-cover h3 { margin: 3px 0; color: #5a3a29; }
.szl-mi .szl-carnet-cover p { margin: 0; }
.szl-mi .szl-carnet-evidence { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 12px; margin: 18px 0; }
.szl-mi .szl-carnet-evidence figure { margin: 0; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid #eadbc7; }
.szl-mi .szl-carnet-evidence img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 9px; }
.szl-mi .szl-carnet-evidence figcaption { padding: 7px 2px 2px; font-size: .78rem; color: #67564b; }
.szl-mi .szl-medical-record-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:14px; }
.szl-mi .szl-medical-record-actions form { margin:0; }
.szl-mi .szl-medical-delete { border:1px solid #a32035; border-radius:999px; background:#fff5f5; color:#8f1f32; padding:10px 18px; font-weight:800; cursor:pointer; }
.szl-mi .szl-medical-edit-form { margin-top:16px; }
.szl-mi .szl-medical-evidence { display: inline-flex; margin-top: 8px; padding: 7px 11px; border: 1px solid #c6a15b; border-radius: 999px; color: #5a3a29; font-weight: 800; text-decoration: none; }

@media (max-width: 520px) {
  .szl-mi .szl-mi-hero-premium { padding-inline: 12px; }
  .szl-mi .szl-mi-profile h1 { font-size: clamp(1.55rem,8vw,2rem); }
  .szl-mi .szl-mi-quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .szl-mi .szl-mi-pet-services { grid-template-columns: 1fr; }
  .szl-mi .szl-carnet-cover { flex-direction: column; text-align: center; }
}
.szl-mi {
	max-width: 1180px;
	margin: 24px auto 56px;
	color: var(--mi-brown-dark);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.szl-mi *, .szl-mi *::before, .szl-mi *::after { box-sizing: border-box; }
.szl-mi-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px;
	border: 1px solid rgba(198, 161, 91, .45);
	border-radius: 26px;
	background:
		radial-gradient(circle at 92% 10%, rgba(198,161,91,.18), transparent 30%),
		linear-gradient(135deg, #fffdf9, var(--mi-beige));
	box-shadow: var(--mi-shadow);
}
.szl-mi-profile { display: flex; align-items: center; gap: 18px; }
.szl-mi-photo-form { flex: 0 0 auto; margin: 0; }
.szl-mi-photo-label {
	position: relative;
	display: block;
	cursor: pointer;
}
.szl-mi-photo-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}
.szl-mi-photo-badge {
	position: absolute;
	right: -4px;
	bottom: -2px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--mi-gold), #a87b32);
	color: #fff;
	font: 700 17px/1 Arial, sans-serif;
	box-shadow: 0 4px 10px rgba(56,33,22,.22);
}
.szl-mi-avatar {
	width: 72px;
	height: 72px;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--mi-gold);
}
.szl-mi-profile span, .szl-mi-section-heading > div > span {
	color: var(--mi-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
}
.szl-mi h1, .szl-mi h2, .szl-mi h3 {
	color: var(--mi-brown);
	font-family: Georgia, "Times New Roman", serif;
	text-transform: none !important;
}
.szl-mi-profile span,
.szl-mi-section-heading > div > span,
.szl-mi-feature-grid h3,
.szl-mi-feature-grid article > span,
.szl-mi-stats small,
.szl-mi-nav b,
.szl-mi-primary,
.szl-mi .szl-card-actions a,
.szl-mi-qr-toggle {
	text-transform: none !important;
}
.szl-mi-profile h1 { margin: 3px 0 5px; font-size: clamp(30px, 4vw, 46px); }
.szl-mi-profile p, .szl-mi-section-heading p { margin: 0; color: #715e51; }
.szl-mi-membership {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 170px;
	padding: 14px 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--mi-line);
}
.szl-mi-membership > span { color: var(--mi-gold); font-size: 28px; }
.szl-mi-membership small, .szl-mi-membership strong { display: block; }
.szl-mi-membership strong { color: var(--mi-brown); font: 700 18px Georgia, serif; }
.szl-mi-membership.is-elite { background: linear-gradient(135deg, #3d261a, #6b4934); border-color: var(--mi-gold); }
.szl-mi-membership.is-elite small, .szl-mi-membership.is-elite strong { color: #fff; }
.szl-mi-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 18px 0;
}
.szl-mi-stats > div {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 17px 20px;
	border: 1px solid var(--mi-line);
	border-radius: 18px;
	background: #fff;
}
.szl-mi-stats span { font-size: 20px; color: var(--mi-gold); }
.szl-mi-stats strong { font-size: 24px; color: var(--mi-brown); }
.szl-mi-stats small { color: #7c695c; }
.szl-mi-stats .has-alert { border-color: rgba(167,70,62,.45); background: #fff6f4; }
.szl-mi-stats .has-alert span, .szl-mi-stats .has-alert strong { color: var(--mi-red); }
.szl-mi-nav {
	position: sticky;
	top: 10px;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--mi-line);
	border-radius: 20px;
	background: rgba(255,253,249,.95);
	box-shadow: 0 8px 30px rgba(56,33,22,.08);
	backdrop-filter: blur(12px);
}
.szl-mi-nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--mi-brown);
	font-weight: 750;
	cursor: pointer;
}
.szl-mi-nav button.is-active { background: var(--mi-brown); color: #fff; }
.szl-mi-content {
	margin-top: 18px;
	padding: 28px;
	border: 1px solid var(--mi-line);
	border-radius: 26px;
	background: var(--mi-cream);
	box-shadow: var(--mi-shadow);
}
.szl-mi-panel { display: none; }
.szl-mi-panel.is-active { display: block; animation: szlMiIn .24s ease-out; }
@keyframes szlMiIn { from { opacity: 0; transform: translateY(5px); } }
.szl-mi-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.szl-mi-section-heading h2 { margin: 4px 0; font-size: clamp(26px, 3vw, 36px); }
.szl-mi-primary, .szl-mi-sos-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--mi-brown);
	color: #fff !important;
	font-weight: 750;
	text-decoration: none !important;
	cursor: pointer;
}
.szl-mi-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--mi-gold);
	border-radius: 999px;
	background: #fff;
	color: var(--mi-brown) !important;
	font-weight: 750;
	text-decoration: none !important;
	cursor: pointer;
}
.szl-mi .szl-pet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
	margin: 0;
}
.szl-mi .szl-pet-card {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 118px 1fr;
	min-height: 190px;
	border: 1px solid var(--mi-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(66,42,27,.07);
}
.szl-mi .szl-pet-thumb {
	width: 118px;
	height: 100%;
	min-height: 190px;
	object-fit: cover;
	border-radius: 0;
}
.szl-mi .szl-pet-body { padding: 20px 18px; }
.szl-mi .szl-pet-body h3 { margin: 8px 0 2px; font-size: 27px; }
.szl-mi .szl-pet-body p { margin: 0 0 8px; color: #806b5c; }
.szl-mi .szl-pet-body small { color: #9a8778; font-size: 11px; }
.szl-mi .szl-state {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 999px;
	background: #edf7f1;
	color: var(--mi-green);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}
.szl-mi .szl-state.is-lost { background: #fff0ed; color: var(--mi-red); }
.szl-mi .szl-state.is-inactive { background: #eee; color: #666; }
.szl-mi .szl-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.szl-mi .szl-card-actions a, .szl-mi-qr-toggle {
	padding: 7px 10px;
	border: 1px solid var(--mi-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mi-brown) !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
}
.szl-mi .szl-pet-card > .szl-qr-panel {
	display: none;
	grid-column: 1 / -1;
	margin: 0;
	padding: 18px;
	border: 0;
	border-top: 1px solid var(--mi-line);
	border-radius: 0;
	background: var(--mi-beige);
}
.szl-mi .szl-pet-card > .szl-qr-panel.is-visible { display: grid; }
.szl-mi-elite-features { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--mi-line); }
.szl-mi-crown {
	padding: 7px 11px;
	border: 1px solid var(--mi-gold);
	border-radius: 999px;
	color: var(--mi-brown);
	font-size: 12px;
	font-weight: 800;
}
.szl-mi-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.szl-mi-feature-grid article {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 13px;
	padding: 17px;
	border: 1px solid var(--mi-line);
	border-radius: 18px;
	background: #fff;
}
.szl-mi-feature-grid h3 { margin: 0 0 4px; font-size: 18px; }
.szl-mi-feature-grid p { margin: 0; color: #7c695c; font-size: 13px; }
.szl-mi-feature-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--mi-beige);
	color: var(--mi-gold);
	font-size: 20px;
}
.szl-mi-feature-grid .is-locked { background: #fbf8f2; }
.szl-mi-feature-grid .is-locked > span { color: var(--mi-gold); }
.szl-mi-feature-open {
	padding: 7px 13px;
	border: 1px solid var(--mi-gold);
	border-radius: 999px;
	background: linear-gradient(145deg, var(--mi-wine), var(--mi-wine-dark));
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}
.szl-mi .szl-pet-form,
.szl-mi .szl-sightings-panel,
.szl-mi .szl-guardian-panel,
.szl-mi .szl-nearby-alerts {
	margin: 0;
	padding: 22px;
	border: 1px solid var(--mi-line);
	border-radius: 20px;
	background: #fff;
}
.szl-mi .szl-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.szl-mi .szl-form-grid label { margin: 0; }
.szl-mi .szl-form-grid input,
.szl-mi .szl-form-grid select,
.szl-mi .szl-form-grid textarea,
.szl-mi .szl-guardian-panel input,
.szl-mi .szl-guardian-panel select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #ddcfbd;
	border-radius: 12px;
	background: #fff;
}
.szl-mi .szl-wide { grid-column: 1 / -1; }
.szl-mi-sos-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.szl-mi-sos-actions a + a { background: #fff; color: var(--mi-brown) !important; border: 1px solid var(--mi-gold); }
.szl-mi [data-szl-slot="guardians"] { display: grid; gap: 16px; }

/* Pasaporte Digital 0.3.0 */
.szl-passport-picker,
.szl-medical-picker,
.szl-care-picker,
.szl-emergency-picker,
.szl-life-picker {
	display: flex;
	gap: 10px;
	margin: 0 0 18px;
	padding: 5px 1px 10px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.szl-passport-picker button,
.szl-medical-picker button,
.szl-care-picker button,
.szl-emergency-picker button,
.szl-life-picker button {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 145px;
	padding: 8px 12px 8px 8px;
	border: 1px solid var(--mi-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mi-brown);
	font-weight: 800;
	cursor: pointer;
}
.szl-passport-picker button.is-active,
.szl-medical-picker button.is-active,
.szl-care-picker button.is-active,
.szl-emergency-picker button.is-active,
.szl-life-picker button.is-active {
	border-color: var(--mi-gold);
	background: #fff8e9;
	box-shadow: 0 6px 18px rgba(90,58,41,.10);
}
.szl-passport-picker-photo {
	width: 40px;
	height: 40px;
	border: 2px solid #fff;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold);
}
.szl-passport { display: none; }
.szl-passport.is-active { display: block; animation: szlMiIn .24s ease-out; }
.szl-passport-cover {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border: 1px solid rgba(198,161,91,.72);
	border-radius: 24px;
	background:
		radial-gradient(circle at 100% 0, rgba(198,161,91,.24), transparent 34%),
		linear-gradient(145deg, #fffefa 0%, #fff8e9 67%, #ecdbc0 100%);
	box-shadow: 0 18px 45px rgba(71,45,28,.13);
}
.szl-passport-cover::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(198,161,91,.23);
	border-radius: 18px;
	pointer-events: none;
}
.szl-passport-brand,
.szl-passport-identity,
.szl-passport-facts,
.szl-passport-actions { position: relative; z-index: 1; }
.szl-passport-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-bottom: 17px;
	border-bottom: 1px solid rgba(198,161,91,.35);
}
.szl-passport-brand > span {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	border: 1px solid var(--mi-gold);
	border-radius: 50%;
	background: #fff;
	color: var(--mi-brown);
	font-size: 22px;
}
.szl-passport-brand small,
.szl-passport-brand strong { display: block; }
.szl-passport-brand small {
	color: var(--mi-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.szl-passport-brand strong {
	color: var(--mi-brown);
	font: 700 22px Georgia, serif;
}
.szl-passport-identity {
	display: grid;
	grid-template-columns: 150px minmax(0,1fr);
	align-items: center;
	gap: 22px;
	padding: 24px 0;
}
.szl-passport-photo {
	width: 150px;
	height: 170px;
	border: 6px solid #fff;
	border-radius: 19px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold), 0 10px 25px rgba(90,58,41,.15);
}
.szl-passport-photo-empty {
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--mi-gold);
	font-size: 44px;
}
.szl-passport-status {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e8f4ec;
	color: var(--mi-green);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
}
.szl-passport-identity h3 { margin: 8px 0 3px; font-size: clamp(31px,5vw,46px); }
.szl-passport-identity p { margin: 0 0 7px; color: #705b4d; font-size: 16px; text-transform: capitalize; }
.szl-passport-identity small { color: #9b7950; font-weight: 750; letter-spacing: .04em; }
.szl-passport-facts {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px;
}
.szl-passport-facts > div {
	padding: 13px 14px;
	border: 1px solid rgba(198,161,91,.34);
	border-radius: 14px;
	background: rgba(255,255,255,.72);
}
.szl-passport-facts small,
.szl-passport-facts strong { display: block; }
.szl-passport-facts small { color: #9b7950; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.szl-passport-facts strong { margin-top: 3px; color: var(--mi-brown); overflow-wrap: anywhere; }
.szl-passport-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.szl-passport-form {
	margin-top: 16px;
	padding: 22px;
	border: 1px solid rgba(198,161,91,.52);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(71,45,28,.10);
}
.szl-passport-form[hidden] { display: none !important; }
.szl-passport-form-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 18px;
}
.szl-passport-form-title span { color: var(--mi-gold); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.szl-passport-form-title h3 { margin: 3px 0 0; font-size: 27px; }
.szl-passport-form-title > button {
	width: 36px;
	height: 36px;
	border: 1px solid var(--mi-line);
	border-radius: 50%;
	background: #fffaf1;
	color: var(--mi-brown);
	font-size: 24px;
	cursor: pointer;
}
.szl-passport-form label { color: var(--mi-brown); font-size: 12px; font-weight: 800; }
.szl-passport-form input,
.szl-passport-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 12px;
	border: 1px solid #ddcfbd;
	border-radius: 12px;
	background: #fff;
	color: var(--mi-brown-dark);
	font: 400 14px Inter, sans-serif;
}
.szl-passport-privacy {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0;
	padding: 11px 12px;
	border-radius: 12px;
	background: #f7f1e7;
	color: #796455;
	font-size: 12px;
}
.szl-passport-privacy .szl-mi-icon { flex: 0 0 auto; width: 20px; color: var(--mi-gold); }
.szl-passport-empty { padding: 30px; border: 1px dashed var(--mi-gold); border-radius: 18px; background: #fffaf1; text-align: center; }
.szl-passport-empty h3 { margin: 0 0 6px; }
.szl-passport-empty p { margin: 0 0 16px; }

/* Expediente Médico 0.4.0 */
.szl-medical { display: none; }
.szl-medical.is-active { display: block; animation: szlMiIn .24s ease-out; }
.szl-medical-summary {
	padding: 22px;
	border: 1px solid rgba(198,161,91,.57);
	border-radius: 22px;
	background:
		radial-gradient(circle at 98% 5%, rgba(198,161,91,.17), transparent 30%),
		linear-gradient(145deg,#fff,#fff9ec);
	box-shadow: 0 14px 38px rgba(71,45,28,.10);
}
.szl-medical-pet {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 17px;
	border-bottom: 1px solid rgba(198,161,91,.32);
}
.szl-medical-photo {
	width: 72px;
	height: 72px;
	border: 4px solid #fff;
	border-radius: 18px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold);
}
.szl-medical-pet span,
.szl-medical-history-title span {
	color: var(--mi-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.szl-medical-pet h3 { margin: 3px 0; font-size: 30px; }
.szl-medical-pet small { color: #806b5c; }
.szl-medical-vitals {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 9px;
	margin-top: 17px;
}
.szl-medical-vitals > div {
	padding: 12px;
	border: 1px solid var(--mi-line);
	border-radius: 14px;
	background: rgba(255,255,255,.82);
}
.szl-medical-vitals > div.is-alert { background: #fff8f4; border-color: rgba(167,70,62,.23); }
.szl-medical-vitals small,
.szl-medical-vitals strong { display: block; }
.szl-medical-vitals small { color: #9b7950; font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.szl-medical-vitals strong { margin-top: 4px; color: var(--mi-brown); font-size: 13px; overflow-wrap: anywhere; }
.szl-medical-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.szl-medical-form {
	margin-top: 15px;
	padding: 22px;
	border: 1px solid rgba(198,161,91,.52);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(71,45,28,.10);
}
.szl-medical-form[hidden] { display: none !important; }
.szl-medical-form label { color: var(--mi-brown); font-size: 12px; font-weight: 800; }
.szl-medical-form input,
.szl-medical-form select,
.szl-medical-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 12px;
	border: 1px solid #ddcfbd;
	border-radius: 12px;
	background: #fff;
	color: var(--mi-brown-dark);
	font: 400 14px Inter, sans-serif;
}
.szl-medical-history {
	margin-top: 17px;
	padding: 22px;
	border: 1px solid rgba(198,161,91,.43);
	border-radius: 20px;
	background: #fff;
}
.szl-medical-history-title { margin-bottom: 16px; }
.szl-medical-history-title h3 { margin: 4px 0 0; font-size: 27px; }
.szl-medical-empty {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 16px;
	border-radius: 14px;
	background: #f9f4eb;
	color: #796455;
}
.szl-medical-empty .szl-mi-icon { flex: 0 0 auto; width: 28px; color: var(--mi-gold); }
.szl-medical-empty p { margin: 0; }
.szl-medical-timeline { position: relative; display: grid; gap: 12px; }
.szl-medical-timeline::before {
	content: "";
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 17px;
	width: 1px;
	background: rgba(198,161,91,.46);
}
.szl-medical-timeline article {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0,1fr);
	gap: 12px;
	padding: 14px 14px 14px 48px;
	border: 1px solid var(--mi-line);
	border-radius: 15px;
	background: #fffdf9;
}
.szl-medical-timeline article::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 11px;
	width: 13px;
	height: 13px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--mi-gold);
	box-shadow: 0 0 0 1px var(--mi-gold);
}
.szl-medical-type {
	align-self: start;
	padding: 5px 7px;
	border-radius: 999px;
	background: #f1e7d7;
	color: var(--mi-brown);
	font-size: 9px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}
.szl-medical-timeline time { color: #9b7950; font-size: 10px; font-weight: 800; }
.szl-medical-timeline h4 { margin: 2px 0 5px; color: var(--mi-brown); font: 700 18px Georgia,serif; }
.szl-medical-timeline p { margin: 2px 0; color: #735f52; font-size: 12px; }
.szl-medical-timeline small { display: inline-block; margin-top: 7px; color: var(--mi-green); font-weight: 800; }

/* Agenda de Cuidados 0.5.0 */
.szl-care { display: none; }
.szl-care.is-active { display: block; animation: szlMiIn .24s ease-out; }
.szl-care-hero {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(220px,.8fr) auto;
	align-items: center;
	gap: 16px;
	padding: 20px;
	border: 1px solid rgba(198,161,91,.57);
	border-radius: 22px;
	background:
		radial-gradient(circle at 95% 0, rgba(198,161,91,.19), transparent 32%),
		linear-gradient(145deg,#fff,#fff8e8);
	box-shadow: 0 14px 38px rgba(71,45,28,.10);
}
.szl-care-pet { display: flex; align-items: center; gap: 13px; }
.szl-care-pet span,
.szl-care-next span {
	display: block;
	color: var(--mi-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.szl-care-pet h3 { margin: 3px 0; font-size: 29px; }
.szl-care-pet small { color: #806b5c; }
.szl-care-next {
	padding: 12px 14px;
	border-left: 1px solid rgba(198,161,91,.39);
}
.szl-care-next strong { display: block; margin: 4px 0 2px; color: var(--mi-brown); font: 700 17px Georgia,serif; }
.szl-care-next p { margin: 0; color: #796455; font-size: 12px; }
.szl-care-form {
	margin-top: 15px;
	padding: 22px;
	border: 1px solid rgba(198,161,91,.52);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(71,45,28,.10);
}
.szl-care-form[hidden] { display: none !important; }
.szl-care-form label { color: var(--mi-brown); font-size: 12px; font-weight: 800; }
.szl-care-form input,
.szl-care-form select,
.szl-care-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 12px;
	border: 1px solid #ddcfbd;
	border-radius: 12px;
	background: #fff;
	color: var(--mi-brown-dark);
	font: 400 14px Inter,sans-serif;
}
.szl-care-list {
	margin-top: 16px;
	padding: 21px;
	border: 1px solid rgba(198,161,91,.43);
	border-radius: 20px;
	background: #fff;
}
.szl-care-grid { display: grid; gap: 10px; }
.szl-care-grid > article {
	display: grid;
	grid-template-columns: 58px minmax(0,1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 12px;
	border: 1px solid var(--mi-line);
	border-radius: 16px;
	background: #fffdf9;
}
.szl-care-date {
	display: grid;
	place-items: center;
	min-height: 58px;
	border: 1px solid rgba(198,161,91,.52);
	border-radius: 13px;
	background: linear-gradient(145deg,#fff9ec,#ead9ba);
	color: var(--mi-brown);
}
.szl-care-date strong { font: 700 23px/1 Georgia,serif; }
.szl-care-date span { color: #967443; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.szl-care-info > span { color: var(--mi-gold); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.szl-care-info h4 { margin: 3px 0; color: var(--mi-brown); font: 700 18px Georgia,serif; }
.szl-care-info p { margin: 0; color: #735f52; font-size: 12px; }
.szl-care-info small { display: block; margin-top: 5px; color: #8b7769; }
.szl-care-complete { margin: 0; }
.szl-care-complete button {
	padding: 8px 11px;
	border: 1px solid rgba(47,118,85,.36);
	border-radius: 999px;
	background: #edf7f1;
	color: var(--mi-green);
	font-size: 10px;
	font-weight: 850;
	cursor: pointer;
}
.szl-care-completed {
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid var(--mi-line);
	border-radius: 14px;
	background: #faf7f1;
}
.szl-care-completed summary { color: var(--mi-brown); font-weight: 800; cursor: pointer; }
.szl-care-completed p { display: flex; justify-content: space-between; gap: 15px; margin: 9px 0 0; padding-top: 9px; border-top: 1px solid var(--mi-line); color: #756154; }
.szl-care-completed p strong { color: var(--mi-brown); }

/* Credencial de Emergencia 0.6.0 */
.szl-emergency { display: none; }
.szl-emergency.is-active { display: block; animation: szlMiIn .24s ease-out; }
.szl-emergency-print-area {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 14px;
}
.szl-emergency-card {
	position: relative;
	overflow: hidden;
	min-height: 390px;
	padding: 21px;
	border: 1px solid rgba(198,161,91,.75);
	border-radius: 22px;
	background:
		radial-gradient(circle at 100% 0, rgba(198,161,91,.23), transparent 36%),
		linear-gradient(145deg,#fffefa,#fff7e6 72%,#ead7b5);
	box-shadow: 0 15px 38px rgba(71,45,28,.13);
}
.szl-emergency-card::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(198,161,91,.24);
	border-radius: 16px;
	pointer-events: none;
}
.szl-emergency-brand,
.szl-emergency-main,
.szl-emergency-contact,
.szl-emergency-back-title,
.szl-emergency-data,
.szl-emergency-message,
.szl-emergency-alt { position: relative; z-index: 1; }
.szl-emergency-brand,
.szl-emergency-back-title {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 13px;
	border-bottom: 1px solid rgba(198,161,91,.36);
}
.szl-emergency-brand > span,
.szl-emergency-back-title > span {
	display: grid;
	place-items: center;
	width: 41px;
	height: 41px;
	border: 1px solid var(--mi-gold);
	border-radius: 50%;
	background: #fff;
	color: var(--mi-brown);
	font-size: 21px;
}
.szl-emergency-brand small,
.szl-emergency-brand strong,
.szl-emergency-back-title small,
.szl-emergency-back-title strong { display: block; }
.szl-emergency-brand small,
.szl-emergency-back-title small { color: var(--mi-gold); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.szl-emergency-brand strong,
.szl-emergency-back-title strong { color: var(--mi-brown); font: 700 19px Georgia,serif; }
.szl-emergency-main {
	display: grid;
	grid-template-columns: 125px minmax(0,1fr);
	align-items: center;
	gap: 15px;
	padding: 20px 0;
}
.szl-emergency-photo {
	width: 125px;
	height: 150px;
	border: 5px solid #fff;
	border-radius: 17px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold),0 9px 22px rgba(90,58,41,.14);
}
.szl-emergency-alert {
	display: inline-block;
	padding: 5px 8px;
	border-radius: 999px;
	background: #fff0ed;
	color: var(--mi-red);
	font-size: 9px;
	font-weight: 900;
	text-transform: uppercase;
}
.szl-emergency-main h3 { margin: 7px 0 2px; font-size: 31px; }
.szl-emergency-main p { margin: 0 0 5px; color: #735f52; font-size: 12px; text-transform: capitalize; }
.szl-emergency-main small { color: #9b7950; font-weight: 800; }
.szl-emergency-contact {
	padding: 13px 14px;
	border: 1px solid rgba(167,70,62,.25);
	border-radius: 14px;
	background: rgba(255,246,244,.9);
}
.szl-emergency-contact small,
.szl-emergency-contact strong,
.szl-emergency-contact span { display: block; }
.szl-emergency-contact small { color: var(--mi-red); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.szl-emergency-contact strong { margin: 3px 0; color: var(--mi-brown); font: 700 21px Georgia,serif; overflow-wrap: anywhere; }
.szl-emergency-contact span { color: #735f52; font-size: 11px; overflow-wrap: anywhere; }
.szl-emergency-back { background: linear-gradient(145deg,#4a2c1d,#6a4631 64%,#402318); }
.szl-emergency-back::before { border-color: rgba(234,215,164,.24); }
.szl-emergency-back-title { border-color: rgba(234,215,164,.26); }
.szl-emergency-back-title > span { background: rgba(255,255,255,.08); color: var(--mi-gold-light); }
.szl-emergency-back-title strong { color: #fff; }
.szl-emergency-data {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 8px;
	margin-top: 15px;
}
.szl-emergency-data > div {
	padding: 10px;
	border: 1px solid rgba(234,215,164,.19);
	border-radius: 11px;
	background: rgba(255,255,255,.055);
}
.szl-emergency-data small,
.szl-emergency-data strong { display: block; }
.szl-emergency-data small { color: var(--mi-gold-light); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.szl-emergency-data strong { margin-top: 3px; color: #fff; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.szl-emergency-message {
	margin: 11px 0 0;
	padding: 10px;
	border-left: 3px solid var(--mi-gold);
	background: rgba(255,255,255,.06);
	color: #fff;
	font-size: 11px;
}
.szl-emergency-alt { margin-top: 10px; color: #fff; font-size: 10px; }
.szl-emergency-alt small { display: block; color: var(--mi-gold-light); font-weight: 900; text-transform: uppercase; }
.szl-emergency-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.szl-emergency-form {
	margin-top: 15px;
	padding: 22px;
	border: 1px solid rgba(198,161,91,.52);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(71,45,28,.10);
}
.szl-emergency-form[hidden] { display: none !important; }
.szl-emergency-form label { color: var(--mi-brown); font-size: 12px; font-weight: 800; }
.szl-emergency-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 12px;
	border: 1px solid #ddcfbd;
	border-radius: 12px;
	background: #fff;
	color: var(--mi-brown-dark);
	font: 400 14px Inter,sans-serif;
}

/* Plan de Vida 0.7.0 */
.szl-life { display: none; }
.szl-life.is-active { display: block; animation: szlMiIn .24s ease-out; }
.szl-life-overview {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 21px;
	border: 1px solid rgba(198,161,91,.58);
	border-radius: 22px;
	background:
		radial-gradient(circle at 98% 0, rgba(198,161,91,.21), transparent 34%),
		linear-gradient(145deg,#fff,#fff8e8);
	box-shadow: 0 15px 38px rgba(71,45,28,.10);
}
.szl-life-pet { display: flex; align-items: center; gap: 14px; }
.szl-life-photo {
	width: 76px;
	height: 76px;
	border: 4px solid #fff;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold);
}
.szl-life-pet span,
.szl-life-progress span {
	display: block;
	color: var(--mi-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.szl-life-pet h3 { margin: 3px 0; font-size: 31px; }
.szl-life-pet p { margin: 0; color: #765f50; font-size: 12px; }
.szl-life-progress { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.szl-life-progress-ring {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: conic-gradient(var(--mi-gold) var(--szl-progress), #eadfce 0);
}
.szl-life-progress-ring::before {
	content: "";
	grid-area: 1/1;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
}
.szl-life-progress-ring strong { z-index: 1; grid-area: 1/1; color: var(--mi-brown); font-size: 14px; }
.szl-life-progress small { display: block; margin-top: 4px; color: #735f52; }
.szl-life-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 13px;
	padding: 12px;
	border: 1px solid rgba(198,161,91,.38);
	border-radius: 14px;
	background: #fff9ed;
}
.szl-life-notice .szl-mi-icon { flex: 0 0 auto; width: 25px; color: var(--mi-gold); }
.szl-life-notice p { flex: 1 1 auto; margin: 0; color: #735f52; font-size: 12px; }
.szl-life-grid { display: grid; gap: 11px; margin-top: 15px; }
.szl-life-grid > article {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) 150px;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--mi-line);
	border-radius: 18px;
	background: linear-gradient(145deg,#fff,#fffaf1);
	box-shadow: 0 8px 22px rgba(90,58,41,.06);
}
.szl-life-grid > article.is-complete {
	border-color: rgba(47,118,85,.34);
	background: linear-gradient(145deg,#fbfffc,#edf7f1);
}
.szl-life-goal-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(198,161,91,.56);
	border-radius: 50%;
	background: linear-gradient(145deg,#fffaf0,#ead8b8);
	color: var(--mi-brown);
	font-size: 22px;
}
.szl-life-grid > article.is-complete .szl-life-goal-icon { border-color: rgba(47,118,85,.38); background: #e5f4eb; color: var(--mi-green); }
.szl-life-goal-copy > span { color: var(--mi-gold); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.szl-life-goal-copy h4 { margin: 3px 0 4px; color: var(--mi-brown); font: 700 19px Georgia,serif; }
.szl-life-goal-copy p { margin: 0; color: #735f52; font-size: 12px; line-height: 1.5; }
.szl-life-goal-actions { display: grid; gap: 7px; }
.szl-life-goal-actions form { margin: 0; }
.szl-life-goal-actions button {
	width: 100%;
	padding: 8px 9px;
	border: 1px solid rgba(198,161,91,.46);
	border-radius: 999px;
	background: #fff;
	color: var(--mi-brown);
	font-size: 10px;
	font-weight: 850;
	cursor: pointer;
}
.szl-life-goal-actions button.is-done { border-color: rgba(47,118,85,.38); background: #e5f4eb; color: var(--mi-green); }
.szl-life-goal-actions > button { background: linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark)); color: #fff; }
.szl-life-disclaimer {
	margin: 14px 0 0;
	padding: 11px 12px;
	border-radius: 12px;
	background: #f7f1e7;
	color: #806b5c;
	font-size: 10px;
	text-align: center;
}
.szl-mi-login {
	max-width: 720px;
	margin: 40px auto;
	padding: 42px;
	border: 1px solid var(--mi-gold);
	border-radius: 26px;
	background: var(--mi-beige);
	text-align: center;
}
.szl-mi-login > span { color: var(--mi-gold); font-weight: 800; letter-spacing: .15em; }
.szl-mi-login a { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--mi-brown); color: #fff; }
.szl-mi .szl-notice { margin-bottom: 14px; border-radius: 14px; }
.szl-mi-source:empty { display: none; }
@media (max-width: 760px) {
	.szl-mi { margin: 12px 10px 36px; }
	.szl-mi-hero { align-items: flex-start; padding: 22px; border-radius: 20px; }
	.szl-mi-profile { align-items: flex-start; }
	.szl-mi-avatar { width: 56px; height: 56px; }
	.szl-mi-profile p { font-size: 13px; }
	.szl-mi-membership { min-width: 0; padding: 10px; }
	.szl-mi-membership div { display: none; }
	.szl-mi-stats { gap: 7px; }
	.szl-mi-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 6px; text-align: center; }
	.szl-mi-stats small { font-size: 10px; }
	.szl-mi-nav { bottom: 8px; top: auto; order: 10; }
	.szl-mi-nav button { flex-direction: column; gap: 1px; min-height: 52px; font-size: 11px; }
	.szl-mi-content { padding: 18px 14px; border-radius: 20px; }
	.szl-mi-section-heading { align-items: flex-start; }
	.szl-mi-section-heading .szl-mi-primary { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
	.szl-mi .szl-pet-grid, .szl-mi-feature-grid { grid-template-columns: 1fr; }
	.szl-mi .szl-pet-card { grid-template-columns: 100px 1fr; min-height: 172px; }
	.szl-mi .szl-pet-thumb { width: 100px; min-height: 172px; }
	.szl-mi .szl-pet-body { padding: 15px 12px; }
	.szl-mi .szl-pet-body h3 { font-size: 23px; }
	.szl-mi .szl-form-grid { grid-template-columns: 1fr; }
	.szl-mi .szl-wide { grid-column: auto; }
}
@media (max-width: 430px) {
	.szl-mi-profile h1 { font-size: 28px; }
	.szl-mi-profile p { display: none; }
	.szl-mi-hero { gap: 10px; }
	.szl-mi-avatar { width: 48px; height: 48px; }
	.szl-mi-stats strong { font-size: 20px; }
}

/* 1.3.3 — navegación legible y menú de mascota sin recortes */
.szl-mi .szl-pet-card {
	overflow: visible;
	isolation: isolate;
}
.szl-mi .szl-pet-card:has(.szl-mi-pet-options[open]) {
	z-index: 30;
}
.szl-mi .szl-pet-card .szl-pet-thumb {
	border-radius: 21px 0 0 21px;
}
.szl-mi-pet-options[open] {
	z-index: 40;
}
.szl-mi-pet-options[open] .szl-mi-pet-options-menu {
	display: grid;
	visibility: visible;
	opacity: 1;
}
@media (max-width:760px) {
	.szl-mi-nav button:nth-child(4) b {
		font-size: 9px;
		letter-spacing: -.025em;
		white-space: nowrap;
	}
	.szl-mi-pet-options-menu {
		position: absolute;
		right: 0;
		left: auto;
		width: min(180px,70vw);
	}
	.szl-mi .szl-pet-card .szl-pet-thumb {
		border-radius: 21px 0 0 21px;
	}
}

/* 1.3.5.1 — tarjetas compactas y página independiente de cada mascota */
.szl-mi[data-szl-view="list"] [data-szl-slot="pet-grid"] .szl-pet-grid { grid-template-columns: repeat(auto-fit,minmax(185px,235px)); justify-content: center; gap: 16px; }
.szl-mi[data-szl-view="list"] .szl-pet-card { display: flex; min-height: 0; overflow: hidden; flex-direction: column; grid-template-columns: none; border: 1px solid rgba(198,161,91,.58); border-radius: 22px; background: #fffdf9; box-shadow: 0 10px 25px rgba(90,58,41,.09); }
.szl-mi[data-szl-view="list"] .szl-pet-thumb { width: calc(100% - 16px); height: auto; min-height: 0; aspect-ratio: 1/1; margin: 8px 8px 0; overflow: hidden; border: 2px solid rgba(198,161,91,.65); border-radius: 17px; background: #f7efe4; box-shadow: inset 0 0 0 3px rgba(255,255,255,.8); }
.szl-mi[data-szl-view="list"] .szl-pet-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.szl-mi[data-szl-view="list"] .szl-pet-body { display: flex; min-height: 0; padding: 12px 12px 14px; align-items: center; justify-content: flex-start; text-align: center; }
.szl-mi[data-szl-view="list"] .szl-pet-body h3 { margin: 2px 0 3px; font-size: 24px; line-height: 1.08; }
.szl-mi[data-szl-view="list"] .szl-pet-body p { margin: 2px 0; font-size: 14px; line-height: 1.35; }
.szl-mi[data-szl-view="list"] .szl-pet-body small { margin-top: 5px; font-size: 12px; line-height: 1.3; }
.szl-mi[data-szl-view="list"] .szl-pet-body .szl-state { display: none; }
.szl-mi .szl-mi-sex-symbol { display: inline !important; font-size: 1.32em; font-weight: 900; vertical-align: -.06em; }
.szl-mi .szl-mi-sex-symbol.is-male,.szl-mi .szl-mi-detail-sex.is-male b { color: #2f82ca; }
.szl-mi .szl-mi-sex-symbol.is-female,.szl-mi .szl-mi-detail-sex.is-female b { color: #df4a91; }
.szl-mi[data-szl-view="list"] .szl-card-actions { display: block; width: 100%; margin-top: 10px; }
.szl-mi .szl-mi-manage-pet-link { display: flex !important; width: 100%; min-height: 42px; align-items: center; justify-content: center; border: 1px solid #c6a15b !important; border-radius: 999px !important; background: #fff !important; color: #5a3a29 !important; font-size: 14px !important; font-weight: 850 !important; text-decoration: none; }
.szl-mi[data-szl-view="pet"] > .szl-mi-hero,.szl-mi[data-szl-view="pet"] > .szl-mi-stats { display: none; }
.szl-mi[data-szl-view="pet"] .szl-mi-content { padding-top: 0; }
.szl-mi[data-szl-view="pet"] [data-szl-panel="inicio"] { display: none; }
.szl-mi .szl-mi-pet-detail { padding: 20px; }
.szl-mi .szl-mi-back-pets { display: inline-flex; margin-bottom: 16px; padding: 9px 14px; border: 1px solid #c6a15b; border-radius: 999px; color: #5a3a29; font-weight: 800; text-decoration: none; }
.szl-mi .szl-mi-pet-detail-identity { display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid #c6a15b; border-radius: 24px; background: linear-gradient(135deg,#fffdf9,#f5e8d4); text-align: left; }
.szl-mi .szl-mi-pet-detail-photo { flex: 0 0 180px; width: 180px; height: 180px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #c6a15b,0 12px 25px rgba(90,58,41,.14); }
.szl-mi .szl-mi-pet-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.szl-mi .szl-mi-pet-detail-identity h2 { margin: 7px 0 4px; font-size: clamp(30px,6vw,46px); color: #5a3a29; }
.szl-mi .szl-mi-pet-detail-identity p { margin: 3px 0; color: #6f5a4c; }
.szl-mi .szl-mi-detail-status { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: #e8f5ed; color: #287357; font-size: 12px; font-weight: 900; }
.szl-mi .szl-mi-detail-sex b { font-size: 1.4em; }
.szl-mi .szl-mi-pet-detail-admin { margin: 18px 0; padding: 16px; border: 1px solid #eadbc8; border-radius: 18px; background: #fff; }
.szl-mi .szl-mi-pet-detail-admin h3 { margin: 0 0 10px; text-align: center; }
.szl-mi .szl-mi-pet-detail-admin .szl-card-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0; }
.szl-mi .szl-mi-pet-detail-admin .szl-card-actions > * { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid #d7bd8e; border-radius: 999px; background: #fff; color: #5a3a29; font-weight: 800; text-align: center; text-decoration: none; }
.szl-mi .szl-mi-pet-detail-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.szl-mi .szl-mi-pet-detail-services button { display: flex; min-height: 116px; padding: 16px 10px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(198,161,91,.48); border-radius: 18px; background: #fffdf9; color: #5a3a29; font-size: 15px; font-weight: 850; cursor: pointer; box-shadow: 0 7px 18px rgba(90,58,41,.07); }
.szl-mi .szl-mi-pet-detail-services button svg { width: 31px; height: 31px; color: #b78631; }
.szl-mi .szl-mi-pet-detail-services button:last-child { background: linear-gradient(145deg,#6b4129,#9b6838); color: #fff; }
.szl-mi .szl-mi-pet-detail-services button:last-child svg { color: #f6d58e; }
@media (max-width:600px) {
  .szl-mi[data-szl-view="list"] [data-szl-slot="pet-grid"] .szl-pet-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .szl-mi[data-szl-view="list"] .szl-pet-thumb { width: calc(100% - 12px); margin: 6px 6px 0; }
  .szl-mi[data-szl-view="list"] .szl-pet-body { padding: 10px 8px 12px; }
  .szl-mi[data-szl-view="list"] .szl-pet-body h3 { font-size: 21px; }
  .szl-mi .szl-mi-pet-detail { padding: 12px; }
  .szl-mi .szl-mi-pet-detail-identity { flex-direction: column; text-align: center; padding: 18px 14px; }
  .szl-mi .szl-mi-pet-detail-photo { flex-basis: 138px; width: 138px; height: 138px; }
  .szl-mi .szl-mi-pet-detail-admin .szl-card-actions { grid-template-columns: 1fr; }
  .szl-mi .szl-mi-pet-detail-services { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .szl-mi .szl-mi-pet-detail-services button { min-height: 105px; font-size: 14px; }
}

/* 1.3.4 — perfil compacto, mascotas centradas y apertura con huellitas */
.szl-mi-profile h1 .szl-mi-greeting,
.szl-mi-profile h1 .szl-mi-user-name {
	display: block;
}
.szl-mi-profile h1 .szl-mi-user-name {
	max-width: 100%;
	overflow-wrap: anywhere;
}
.szl-mi .szl-pet-thumb {
	object-position: center center;
}
.szl-mi .szl-pet-body {
	align-items: center;
	text-align: center;
}
.szl-mi .szl-card-actions {
	justify-content: center;
	width: 100%;
}
.szl-mi-pet-options-menu {
	transform-origin: top center;
}
.szl-mi-pet-options[open] .szl-mi-pet-options-menu {
	animation: szlMiOptionsReveal .34s cubic-bezier(.2,.85,.3,1) both;
}
.szl-mi-pet-options[open] .szl-mi-pet-options-menu::before {
	content: "🐾  ·  🐾  ·  🐾";
	display: block;
	padding: 2px 4px 5px;
	color: var(--mi-gold);
	font-size: 12px;
	letter-spacing: .12em;
	text-align: center;
	animation: szlMiPawTrail .55s ease-out both;
}
@keyframes szlMiOptionsReveal {
	from { opacity: 0; transform: translateY(-8px) scale(.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes szlMiPawTrail {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: .78; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.szl-mi-pet-options[open] .szl-mi-pet-options-menu,
	.szl-mi-pet-options[open] .szl-mi-pet-options-menu::before { animation: none; }
}
@media (max-width: 760px) {
	.szl-mi-hero-premium {
		gap: 14px;
		padding: 16px 12px;
	}
	.szl-mi-hero-premium .szl-mi-profile {
		grid-template-columns: 64px minmax(0,1fr);
		gap: 10px;
	}
	.szl-mi-hero-premium .szl-mi-avatar,
	.szl-mi-hero-premium .szl-mi-avatar-wrap {
		width: 64px;
		height: 64px;
	}
	.szl-mi-profile h1 {
		margin: 1px 0 4px;
		font-size: clamp(27px, 8.5vw, 34px);
		line-height: .98;
	}
	.szl-mi-profile h1 .szl-mi-greeting {
		font-size: .68em;
		line-height: 1.05;
	}
	.szl-mi-profile h1 .szl-mi-user-name {
		margin-top: 3px;
	}
	.szl-mi-hero-premium .szl-mi-membership {
		grid-template-columns: 46px minmax(0,1fr) auto;
		gap: 10px;
		padding: 13px 14px;
	}
	.szl-mi-hero-premium .szl-mi-membership > span {
		width: 46px;
		height: 46px;
	}
	.szl-mi-membership-copy strong { font-size: 24px; line-height: 1; }
	.szl-mi-membership-copy b { margin-top: 4px; padding: 3px 8px; font-size: 9px; }
	.szl-mi-membership-price {
		grid-column: auto;
		margin: 0;
		text-align: right;
	}
	.szl-mi-membership-price strong { font-size: 25px; }
	.szl-mi-membership-price small { font-size: 10px; }
	.szl-mi-hero-premium .szl-mi-membership-actions {
		grid-column: 1 / -1;
		grid-template-columns: 1fr 1fr;
		gap: 7px;
		margin-top: 9px;
		padding-top: 9px;
	}
	.szl-mi-hero-premium .szl-mi-membership-actions a {
		min-height: 36px;
		padding: 7px 9px;
		font-size: 11px;
	}
	.szl-mi-hero-premium .szl-mi-membership-actions small {
		grid-column: 1 / -1;
		font-size: 10px !important;
		line-height: 1.25;
	}
	.szl-mi-utility-actions {
		grid-template-columns: 1fr 1fr;
		padding: 6px 12px;
	}
	.szl-mi-utility-actions .szl-mi-logout {
		min-height: 34px;
		font-size: 11px;
	}
	.szl-mi-utility-actions .szl-mi-delete-account {
		padding: 0 0 0 10px;
		border-top: 0;
		border-left: 1px solid #dcc9b4;
		font-size: 11px;
	}
	.szl-mi .szl-pet-body { text-align: center; }
	.szl-mi .szl-pet-body .szl-state { align-self: center; }
}

/* Super Premium 0.2.0 — editorial Shihtzulandia */
.szl-mi {
	--mi-gold-light: #ead7a4;
	--mi-wine: #721827;
	--mi-wine-dark: #46101a;
	--mi-shadow: 0 18px 50px rgba(71,45,28,.13);
	padding: 1px;
	border-radius: 30px;
	background:
		radial-gradient(circle at 15% 8%, rgba(198,161,91,.11), transparent 24%),
		linear-gradient(180deg, rgba(255,253,249,.96), rgba(244,239,231,.78));
}
.szl-mi-icon {
	display: block;
	width: 1.35em;
	height: 1.35em;
	overflow: visible;
}
.szl-mi-icon .szl-icon-accent {
	stroke: var(--mi-gold);
	stroke-width: 1.9;
}
.szl-mi-hero {
	position: relative;
	overflow: hidden;
	border-color: rgba(198,161,91,.66);
	background: linear-gradient(105deg, #fffefb 0%, #fff9ec 64%, #ecddc1 100%);
}
.szl-mi-hero::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(198,161,91,.20);
	border-radius: 20px;
	pointer-events: none;
}
.szl-mi-profile,
.szl-mi-membership { position: relative; z-index: 1; }
.szl-mi-membership > span,
.szl-mi-stats span {
	display: grid;
	place-items: center;
	border: 1px solid rgba(198,161,91,.58);
	border-radius: 50%;
	background: linear-gradient(145deg, #fffefb, #eadcc5);
	color: var(--mi-brown);
	box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(90,58,41,.11);
}
.szl-mi-membership > span {
	width: 43px;
	height: 43px;
	font-size: 24px;
}
.szl-mi-membership.is-elite {
	background: linear-gradient(145deg, var(--mi-wine), var(--mi-wine-dark));
	border-color: var(--mi-gold);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.szl-mi-membership em{display:block;margin-top:4px;color:#ead7a4;font-size:12px;font-style:normal;font-weight:750}.szl-mi-upgrade,.szl-mi-feature-upgrade,.szl-mi-elite-gate a{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:1px solid var(--mi-gold);border-radius:999px;background:linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark));color:#fff!important;font-weight:850;text-decoration:none}.szl-mi-upgrade{min-width:140px}.szl-mi-feature-upgrade{gap:5px;padding:8px 12px;font-size:12px}.szl-mi-elite-gate{max-width:650px;margin:24px auto;padding:45px 28px;border:1px solid rgba(198,161,91,.55);border-radius:24px;background:linear-gradient(145deg,#fffefb,#f5ead7);text-align:center;box-shadow:0 16px 42px rgba(71,45,28,.09)}.szl-mi-elite-gate>.szl-mi-icon{width:52px;height:52px;margin:0 auto 12px;color:var(--mi-gold)}.szl-mi-elite-gate>span{color:#a77d38;font-size:12px;font-weight:900;letter-spacing:.15em}.szl-mi-elite-gate h2{margin:8px 0;color:var(--mi-brown);font:600 32px Georgia,serif}.szl-mi-elite-gate p{margin:0 0 20px;color:#755d4c;font-size:16px}.szl-mi-feature-grid article.is-locked{opacity:1;background:linear-gradient(145deg,#fbf7f0,#eee3d2)}
.szl-mi-stats > div {
	border-color: rgba(198,161,91,.43);
	background: linear-gradient(145deg, #fff, #fffaf1);
	box-shadow: 0 8px 22px rgba(90,58,41,.06);
}
.szl-mi-stats span {
	width: 42px;
	height: 42px;
	font-size: 19px;
}
.szl-mi-nav {
	border-color: rgba(198,161,91,.56);
}
.szl-mi-nav button span {
	display: grid;
	place-items: center;
	color: var(--mi-gold);
	font-size: 18px;
}
.szl-mi-nav button b { font: inherit; }
.szl-mi-nav button.is-active {
	background: linear-gradient(145deg, var(--mi-wine), var(--mi-wine-dark));
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(234,215,164,.28), 0 7px 18px rgba(70,16,26,.19);
}
.szl-mi-nav button.is-active span { color: var(--mi-gold-light); }
.szl-mi-content {
	border-color: rgba(198,161,91,.49);
	background:
		linear-gradient(rgba(255,253,249,.97), rgba(255,253,249,.97)),
		repeating-linear-gradient(45deg, transparent 0 8px, rgba(198,161,91,.05) 8px 9px);
}
.szl-mi-primary,
.szl-mi-sos-actions a {
	border: 1px solid var(--mi-gold);
	background: linear-gradient(145deg, var(--mi-wine), var(--mi-wine-dark));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 7px 17px rgba(70,16,26,.15);
}
.szl-mi .szl-pet-card {
	border-color: rgba(198,161,91,.53);
	box-shadow: 0 12px 32px rgba(66,42,27,.10);
}
.szl-mi .szl-card-actions a,
.szl-mi-qr-toggle {
	border-color: rgba(198,161,91,.48);
}
.szl-mi-crown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fffaf0;
}
.szl-mi-crown .szl-mi-icon {
	width: 18px;
	height: 18px;
	color: var(--mi-gold);
}
.szl-mi-feature-grid article {
	border-color: rgba(198,161,91,.48);
	background: linear-gradient(145deg, #fff, #fffaf0);
	box-shadow: 0 9px 24px rgba(90,58,41,.07);
}
.szl-mi-feature-icon {
	width: 54px;
	height: 54px;
	border: 1px solid rgba(198,161,91,.63);
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 25%, rgba(255,255,255,.98), transparent 34%),
		linear-gradient(145deg, #fffaf0, #e8d6b7);
	color: var(--mi-brown);
	font-size: 24px;
	box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(90,58,41,.12);
}
.szl-mi-feature-grid .is-locked {
	background: linear-gradient(145deg, #fffdf8, #f8f0e4);
}
.szl-mi-feature-grid article > span .szl-mi-icon {
	width: 22px;
	height: 22px;
	margin-left: auto;
	color: var(--mi-gold);
}
.szl-mi .szl-card-actions a,
.szl-mi-qr-toggle,
.szl-mi .szl-pet-body > p {
	text-transform: capitalize;
}
.szl-mi .szl-pet-body > p {
	letter-spacing: .01em;
}

@media (max-width: 760px) {
	/* Astra: da aire al logotipo y evita que Shihtzulandia se corte. */
	#masthead .ast-primary-header-bar,
	#masthead .site-primary-header-wrap,
	#masthead .ast-builder-grid-row {
		padding-right: 7px;
		padding-left: 7px;
	}
	#masthead .site-header-primary-section-left {
		flex: 1 1 auto;
		min-width: 0;
	}
	#masthead .ast-builder-layout-element.site-header-focus-item,
	#masthead .site-branding,
	#masthead .ast-site-identity {
		min-width: 0;
	}
	#masthead .site-title,
	#masthead .site-title a {
		white-space: nowrap;
		word-break: normal;
		overflow-wrap: normal;
	}
	#masthead .site-title {
		font-size: clamp(18px, 5.4vw, 23px);
		line-height: 1.15;
	}
	.szl-mi {
		width: auto;
		max-width: calc(100vw - 8px);
		margin: 12px 4px 36px;
		overflow: hidden;
	}
	.szl-mi-content {
		padding-right: 10px;
		padding-left: 10px;
	}
	.szl-mi-stats > div {
		min-width: 0;
		padding-inline: 4px;
	}
	.szl-mi-stats span { width: 36px; height: 36px; }
	.szl-mi-nav button {
		min-width: 0;
		min-height: 58px;
		padding: 5px 2px;
		font-size: 10px;
	}
	.szl-mi-nav button span { font-size: 17px; }
	.szl-mi .szl-pet-card {
		width: 100%;
		grid-template-columns: minmax(92px,34%) minmax(0,1fr);
	}
	.szl-mi .szl-pet-thumb { width: 100%; }
	.szl-mi .szl-pet-body,
	.szl-mi .szl-pet-body * {
		min-width: 0;
		overflow-wrap: anywhere;
	}
	.szl-mi-feature-grid article {
		grid-template-columns: auto minmax(0,1fr);
	}
	.szl-mi-feature-grid article > span {
		grid-column: 2;
		text-align: left;
	}
	.szl-passport-heading { gap: 9px; }
	.szl-passport-cover { padding: 18px 14px; }
	.szl-passport-identity {
		grid-template-columns: 96px minmax(0,1fr);
		gap: 14px;
		padding: 20px 0;
	}
	.szl-passport-photo { width: 96px; height: 120px; border-width: 4px; border-radius: 14px; }
	.szl-passport-identity h3 { font-size: 30px; }
	.szl-passport-identity p { font-size: 13px; }
	.szl-passport-facts { grid-template-columns: 1fr; }
	.szl-passport-form { padding: 17px 12px; }
	.szl-passport-form .szl-form-grid { gap: 12px; }
	.szl-medical-summary,
	.szl-medical-history { padding: 16px 12px; }
	.szl-medical-vitals { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.szl-medical-form { padding: 17px 12px; }
	.szl-medical-timeline article {
		grid-template-columns: 1fr;
		gap: 7px;
		padding: 13px 12px 13px 42px;
	}
	.szl-medical-type { justify-self: start; }
	.szl-care-hero { grid-template-columns: 1fr; padding: 16px 12px; }
	.szl-care-next { border-top: 1px solid rgba(198,161,91,.39); border-left: 0; padding: 12px 0 0; }
	.szl-care-form,
	.szl-care-list { padding: 16px 12px; }
	.szl-care-grid > article {
		grid-template-columns: 54px minmax(0,1fr);
		gap: 10px;
	}
	.szl-care-complete { grid-column: 2; }
	.szl-emergency-print-area { grid-template-columns: 1fr; }
	.szl-emergency-card { min-height: 0; padding: 18px 14px; }
	.szl-emergency-main { grid-template-columns: 98px minmax(0,1fr); gap: 12px; }
	.szl-emergency-photo { width: 98px; height: 120px; border-width: 4px; }
	.szl-emergency-main h3 { font-size: 27px; }
	.szl-emergency-form { padding: 17px 12px; }
	.szl-life-overview { grid-template-columns: 1fr; padding: 16px 12px; }
	.szl-life-progress { min-width: 0; padding-top: 12px; border-top: 1px solid rgba(198,161,91,.35); }
	.szl-life-notice { align-items: flex-start; flex-wrap: wrap; }
	.szl-life-notice p { min-width: calc(100% - 38px); }
	.szl-life-grid > article {
		grid-template-columns: auto minmax(0,1fr);
		gap: 11px;
		padding: 14px 11px;
	}
	.szl-life-goal-actions {
		grid-column: 2;
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media print {
	body * { visibility: hidden !important; }
	.szl-emergency.is-printing,
	.szl-emergency.is-printing * { visibility: visible !important; }
	.szl-emergency.is-printing {
		position: absolute;
		inset: 0;
		display: block !important;
		width: 100%;
		background: #fff;
	}
	.szl-emergency.is-printing .szl-emergency-print-area {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		gap: 8mm;
		padding: 8mm;
	}
	.szl-emergency.is-printing .szl-emergency-card {
		min-height: 86mm;
		box-shadow: none;
		break-inside: avoid;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.szl-emergency.is-printing .szl-emergency-actions,
	.szl-emergency.is-printing .szl-emergency-form { display: none !important; }
}

@media (max-width: 430px) {
	.szl-mi-feature-grid article { padding: 14px 11px; gap: 10px; }
	.szl-mi-feature-icon { width: 47px; height: 47px; font-size: 21px; }
}

/* Legibilidad 1.1.1: reglas finales para vencer estilos heredados. */
.szl-mi { font-size: 16px; }
.szl-mi p,
.szl-mi-section-heading p,
.szl-mi-feature-grid p,
.szl-passport-identity p,
.szl-medical-timeline p,
.szl-care-next p,
.szl-care-info p,
.szl-emergency-main p,
.szl-life-pet p,
.szl-life-notice p,
.szl-life-goal-copy p,
.szl-life-disclaimer,
.szl-passport-privacy { font-size: 16px !important; line-height: 1.55; }
.szl-mi small,
.szl-mi label,
.szl-mi button,
.szl-mi a,
.szl-mi input,
.szl-mi select,
.szl-mi textarea,
.szl-mi time,
.szl-mi li,
.szl-mi [class*="eyebrow"],
.szl-mi [class*="kicker"] { font-size: 14px !important; }
.szl-mi-account-actions {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: stretch;
	gap: 9px;
}
.szl-mi-name-editor { margin-top: 10px; }
.szl-mi-name-editor details { position: relative; }
.szl-mi-name-editor summary {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid rgba(198,161,91,.72);
	border-radius: 999px;
	background: #fffdf9;
	color: var(--mi-brown);
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}
.szl-mi-name-editor summary::-webkit-details-marker { display: none; }
.szl-mi-name-editor summary::before { content: "✎"; margin-right: 7px; color: var(--mi-gold); }
.szl-mi-name-editor form {
	position: static;
	z-index: 20;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: min(520px, calc(100vw - 42px));
	margin-top: 8px;
	padding: 16px;
	border: 1px solid var(--mi-gold);
	border-radius: 16px;
	background: #fffdf9;
	box-shadow: 0 18px 45px rgba(56,33,22,.20);
}
.szl-mi-name-editor label { display: grid; gap: 5px; color: var(--mi-brown); font-weight: 750; }
.szl-mi-name-editor input {
	width: 100%;
	min-height: 42px;
	padding: 8px 11px;
	border: 1px solid #d9c8b6;
	border-radius: 10px;
	background: #fff;
	color: var(--mi-brown-dark);
}
.szl-mi-name-editor button {
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark));
	color: #fff;
	font-weight: 850;
	cursor: pointer;
}
.szl-mi-name-editor form > small { align-self: center; color: #806b5c; }
.szl-mi-name-notice { margin: 0 0 8px !important; font-weight: 750; }
.szl-mi-name-notice.is-success { color: var(--mi-green); }
.szl-mi-name-notice.is-error { color: var(--mi-red); }
.szl-mi-membership-actions { display: grid; gap: 7px; }
.szl-mi-membership-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 17px;
	border-radius: 999px;
	font-weight: 850;
	text-align: center;
	text-decoration: none !important;
}
.szl-mi-manage-membership { border: 1px solid var(--mi-gold); background: #fffdf9; color: var(--mi-brown) !important; }
.szl-mi-cancel-membership { border: 1px solid rgba(167,70,62,.55); background: #fff7f5; color: var(--mi-red) !important; }
.szl-mi-membership-actions small { max-width: 245px; color: #806b5c; font-size: 12px !important; line-height: 1.4; text-align: center; }
.szl-mi-logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 1px solid var(--mi-gold);
	border-radius: 999px;
	background: #fffdf9;
	color: var(--mi-brown) !important;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(56,33,22,.08);
}
.szl-mi-logout:hover,
.szl-mi-logout:focus-visible {
	background: var(--mi-brown);
	color: #fff !important;
}
.szl-mi-delete-account{width:100%;max-width:310px;color:var(--mi-red)}.szl-mi-delete-account summary{cursor:pointer;font-weight:850;text-align:center}.szl-mi-delete-warning{margin-top:10px;padding:16px;border:1px solid rgba(167,70,62,.55);border-radius:16px;background:#fff7f5}.szl-mi-delete-warning p{font-size:13px!important;line-height:1.45}.szl-mi-delete-warning label{display:grid;gap:6px;font-weight:800}.szl-mi-delete-warning input{min-height:42px;padding:8px 11px;border:1px solid #a7463e;border-radius:10px;background:#fff}.szl-mi-delete-warning button{width:100%;min-height:44px;margin-top:10px;border:0;border-radius:999px;background:#8b2436;color:#fff;font-weight:900;cursor:pointer}.szl-mi-delete-warning .is-error{font-weight:850;color:#8b2436}

/* 1.3.17: contraste del administrador de cuenta Elite. */
.szl-mi .szl-mi-account-manager-body > small {
	color: #5a3a29 !important;
}
.szl-mi .szl-mi-account-manager-body > a.szl-mi-logout,
.szl-mi .szl-mi-account-manager-body > a.szl-mi-logout:visited {
	background: #5a3a29 !important;
	color: #ffffff !important;
}
@media (max-width: 760px) {
	.szl-mi-hero { flex-direction: column; }
	.szl-mi-profile p { display: block; }
	.szl-mi-account-actions,
	.szl-mi-membership,
	.szl-mi-logout { width: 100%; }
	.szl-mi-membership div { display: block; }
	.szl-mi-name-editor form { position: static; grid-template-columns: 1fr; margin-top: 8px; }
	.szl-mi-name-editor summary { width: 100%; justify-content: center; }
	.szl-mi-membership-actions,
	.szl-mi-membership-actions a { width: 100%; }
	.szl-mi-membership-actions small { max-width: none; }
}

/* =========================================================
   0.8.0 — Lenguaje visual unificado Super Premium
   ========================================================= */
@media (max-width: 760px) {
	.szl-mi-membership em { display: none; }
	.szl-mi-upgrade { width: 100%; min-width: 0; padding: 10px 12px; font-size: 12px; }
	.szl-mi-elite-gate { padding: 34px 18px; }
}
.szl-mi-panel[data-szl-panel="passport"],
.szl-mi-panel[data-szl-panel="medical"],
.szl-mi-panel[data-szl-panel="care"],
.szl-mi-panel[data-szl-panel="emergency"],
.szl-mi-panel[data-szl-panel="life"] {
	--szl-premium-border: rgba(198,161,91,.58);
	--szl-premium-soft: #fbf5e9;
	--szl-premium-card: #fffefa;
}

/* =========================================================
   1.3.1 — Panel editorial premium
   ========================================================= */
.szl-mi-hero-premium {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 24px;
	padding: 34px;
	background: linear-gradient(145deg,#fffefb,#f7f0e6);
}
.szl-mi-hero-premium .szl-mi-profile { max-width: 720px; }
.szl-mi-hero-premium .szl-mi-account-actions { display: grid; gap: 0; }
.szl-mi-hero-premium .szl-mi-membership {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	gap: 18px;
	width: 100%;
	padding: 26px 28px;
	border-radius: 24px 24px 0 0;
}
.szl-mi-hero-premium .szl-mi-membership.is-elite {
	background: linear-gradient(135deg,#681126,#8b0d2d 58%,#59091e);
	box-shadow: 0 18px 38px rgba(87,8,29,.2), inset 0 0 0 1px rgba(255,255,255,.08);
}
.szl-mi-hero-premium .szl-mi-membership > span {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border: 2px solid #efd28d;
	border-radius: 50%;
	background: linear-gradient(145deg,#f6d98e,#b9842c);
	color: #4b240e;
}
.szl-mi-membership-copy strong { font-size: 30px; color: #fff !important; }
.szl-mi-membership-copy b { display: inline-flex; margin-top: 7px; padding: 5px 11px; border-radius: 999px; background: var(--mi-gold); color: #4b1e17; font-size: 11px; letter-spacing: .08em; }
.szl-mi-membership-price { align-self: center; text-align: right; }
.szl-mi-membership-price strong { color: #fff !important; font: 700 36px Georgia,serif; }
.szl-mi-membership-price small { color: #f8e9df !important; font-size: 13px; }
.szl-mi-hero-premium .szl-mi-membership-actions {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(239,210,141,.5);
}
.szl-mi-hero-premium .szl-mi-membership-actions small { grid-column: 1 / -1; max-width: none; color: #f7e6df; }
.szl-mi-hero-premium .szl-mi-manage-membership { background: #fffdf9; }
.szl-mi-hero-premium .szl-mi-cancel-membership { border-color: var(--mi-gold); background: transparent; color: #f3d489 !important; }
.szl-mi-utility-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 10px 18px;
	border: 1px solid var(--mi-line);
	border-top: 0;
	border-radius: 0 0 20px 20px;
	background: #f6f0e8;
}
.szl-mi-utility-actions .szl-mi-logout { width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.szl-mi-utility-actions .szl-mi-delete-account { max-width: none; padding-left: 12px; border-left: 1px solid #dcc9b4; }
.szl-mi-nav {
	position: static;
	display: grid;
	grid-template-columns: repeat(6,minmax(0,1fr));
	gap: 7px;
	margin: 16px 0 18px;
	padding: 10px;
	border: 1px solid rgba(198,161,91,.42);
	border-radius: 20px;
	background: #fffdf9;
	box-shadow: 0 10px 28px rgba(56,33,22,.08);
}
.szl-mi-nav button {
	flex-direction: column;
	gap: 5px;
	min-height: 68px;
	padding: 8px 4px;
	border: 1px solid transparent;
	font-size: 11px;
}
.szl-mi-nav button span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f4eadb;
}
.szl-mi-nav button:nth-child(1) span { background:#f6e4e8; color:#8b1632; }
.szl-mi-nav button:nth-child(2) span { background:#e9f3ec; color:#3b7752; }
.szl-mi-nav button:nth-child(3) span { background:#fbe9e7; color:#b4413c; }
.szl-mi-nav button:nth-child(4) span { background:#e8eff7; color:#3e6f9a; }
.szl-mi-nav button:nth-child(5) span { background:#fff0cf; color:#a87318; }
.szl-mi-nav button:nth-child(6) span { background:#eee7f7; color:#705092; }
.szl-mi-nav button:nth-child(5) .szld-tab-badge img { width:28px; height:28px; object-fit:contain; }
.szl-mi-nav button.is-active { background:linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark)); color:#fff; }
.szl-mi-nav button.is-active span { background:rgba(255,255,255,.13); color:#f1d28b; }
.szl-mi-content { margin-top: 18px; }
.szl-mi .szl-pet-grid { grid-template-columns: 1fr; }
.szl-mi .szl-pet-card { grid-template-columns: minmax(180px,38%) minmax(0,1fr); min-height: 300px; }
.szl-mi .szl-pet-thumb { width: 100%; min-height: 300px; }
.szl-mi .szl-pet-body { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.szl-mi .szl-card-actions { align-items: center; flex-wrap: nowrap; }
.szl-mi .szl-card-actions .szl-mi-view-profile { min-width: 145px; padding: 10px 18px; border-color: var(--mi-wine); background: linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark)); color: #fff !important; text-align: center; }
.szl-mi-pet-options { position: relative; margin-left: auto; }
.szl-mi-pet-options summary { padding: 9px 13px; border: 1px solid var(--mi-gold); border-radius: 999px; color: var(--mi-brown); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.szl-mi-pet-options summary::-webkit-details-marker { display: none; }
.szl-mi-pet-options-menu { position: absolute; right: 0; z-index: 8; display: grid; gap: 6px; min-width: 155px; margin-top: 7px; padding: 8px; border: 1px solid var(--mi-line); border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(56,33,22,.16); }
.szl-mi-pet-options-menu > * { width: 100%; text-align: center; }
.szl-mi-elite-features { margin-top: 44px; }
.szl-mi-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.szl-mi-feature-grid article.is-featured { grid-column: 1 / -1; min-height: 112px; padding: 22px; }
.szl-mi-feature-grid article > span { display: flex; justify-content: flex-end; }
.szl-mi-feature-open { display: inline-grid; place-items: center; min-width: 38px; min-height: 38px; padding: 7px; border-radius: 50%; text-decoration: none !important; }
@media (max-width:760px) {
	.szl-mi-nav { position:static; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding:8px 6px; }
	.szl-mi-nav button { min-height:66px; padding:7px 2px; font-size:10px; }
	.szl-mi-nav button span { width:32px; height:32px; }
	.szl-mi-hero-premium { padding: 20px 14px; }
	.szl-mi-hero-premium .szl-mi-profile { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 14px; }
	.szl-mi-profile h1 { font-size: 34px; }
	.szl-mi-hero-premium .szl-mi-membership { grid-template-columns: auto minmax(0,1fr); padding: 20px 16px; }
	.szl-mi-hero-premium .szl-mi-membership > span { width: 58px; height: 58px; }
	.szl-mi-membership-price { grid-column: 1 / -1; margin-top: -6px; text-align: left; }
	.szl-mi-hero-premium .szl-mi-membership-actions { grid-template-columns: 1fr; }
	.szl-mi-hero-premium .szl-mi-membership-actions small { grid-column: 1; }
	.szl-mi-utility-actions { grid-template-columns: 1fr; }
	.szl-mi-utility-actions .szl-mi-delete-account { padding: 10px 0 0; border-top: 1px solid #dcc9b4; border-left: 0; }
	.szl-mi .szl-pet-card { grid-template-columns: minmax(120px,42%) minmax(0,1fr); min-height: 260px; }
	.szl-mi .szl-pet-thumb { min-height: 260px; }
	.szl-mi .szl-pet-body { padding: 18px 14px; }
	.szl-mi .szl-card-actions { align-items: stretch; flex-direction: column; }
	.szl-mi-pet-options { width: 100%; margin: 0; }
	.szl-mi-pet-options summary { text-align: center; }
	.szl-mi-pet-options-menu { right: auto; left: 0; width: 100%; }
	.szl-mi-feature-grid { grid-template-columns: 1fr; }
	.szl-mi-feature-grid article.is-featured { grid-column: auto; }
}

.szl-passport-heading,
.szl-medical-heading,
.szl-care-heading,
.szl-emergency-heading,
.szl-life-heading {
	position: relative;
	overflow: hidden;
	margin: -4px -4px 20px;
	padding: 24px 26px;
	border: 1px solid var(--szl-premium-border);
	border-radius: 23px;
	background:
		radial-gradient(circle at 94% 8%, rgba(198,161,91,.28), transparent 31%),
		linear-gradient(135deg,#fffefb 0%,#fff8e9 68%,#ecddc1 100%);
	box-shadow: 0 13px 32px rgba(71,45,28,.10);
}
.szl-passport-heading::after,
.szl-medical-heading::after,
.szl-care-heading::after,
.szl-emergency-heading::after,
.szl-life-heading::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(198,161,91,.20);
	border-radius: 17px;
	pointer-events: none;
}
.szl-passport-heading > *,
.szl-medical-heading > *,
.szl-care-heading > *,
.szl-emergency-heading > *,
.szl-life-heading > * {
	position: relative;
	z-index: 1;
}
.szl-passport-heading > div > span,
.szl-medical-heading > div > span,
.szl-care-heading > div > span,
.szl-emergency-heading > div > span,
.szl-life-heading > div > span {
	color: var(--mi-gold);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .17em;
	text-transform: uppercase;
}
.szl-passport-heading h2,
.szl-medical-heading h2,
.szl-care-heading h2,
.szl-emergency-heading h2,
.szl-life-heading h2 {
	margin: 4px 0 5px;
	color: var(--mi-brown);
	font-size: clamp(29px,4vw,40px);
	line-height: 1.08;
}
.szl-passport-heading p,
.szl-medical-heading p,
.szl-care-heading p,
.szl-emergency-heading p,
.szl-life-heading p {
	max-width: 680px;
	color: #715e51;
	line-height: 1.55;
}

.szl-mi .szl-mi-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--mi-gold);
	border-radius: 999px;
	background: rgba(255,254,250,.90);
	color: var(--mi-brown) !important;
	box-shadow: 0 6px 15px rgba(90,58,41,.07);
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
}
.szl-mi .szl-mi-secondary:hover,
.szl-mi .szl-mi-secondary:focus-visible {
	background: var(--mi-wine);
	color: #fff !important;
}

.szl-passport-picker,
.szl-medical-picker,
.szl-care-picker,
.szl-emergency-picker,
.szl-life-picker {
	display: flex;
	gap: 10px;
	margin: 0 0 18px;
	padding: 10px;
	overflow-x: auto;
	border: 1px solid var(--szl-premium-border);
	border-radius: 18px;
	background: linear-gradient(145deg,#fff,#fff9ee);
	box-shadow: 0 8px 22px rgba(90,58,41,.06);
	scrollbar-width: thin;
	scrollbar-color: var(--mi-gold) transparent;
}
.szl-passport-picker button,
.szl-medical-picker button,
.szl-care-picker button,
.szl-emergency-picker button,
.szl-life-picker button {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 9px;
	min-height: 52px;
	padding: 7px 13px 7px 7px;
	border: 1px solid rgba(198,161,91,.38);
	border-radius: 999px;
	background: #fffefa;
	color: var(--mi-brown);
	font-weight: 800;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}
.szl-passport-picker button:hover,
.szl-medical-picker button:hover,
.szl-care-picker button:hover,
.szl-emergency-picker button:hover,
.szl-life-picker button:hover {
	transform: translateY(-1px);
}
.szl-passport-picker button.is-active,
.szl-medical-picker button.is-active,
.szl-care-picker button.is-active,
.szl-emergency-picker button.is-active,
.szl-life-picker button.is-active {
	border-color: var(--mi-gold);
	background: linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark));
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),0 7px 18px rgba(70,16,26,.18);
}
.szl-passport-picker-photo {
	width: 38px;
	height: 38px;
	border: 2px solid #fff;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--mi-gold);
}

.szl-passport-cover,
.szl-medical-summary,
.szl-care-hero,
.szl-life-overview,
.szl-emergency-card {
	border-color: var(--szl-premium-border);
	background:
		radial-gradient(circle at 96% 3%,rgba(198,161,91,.20),transparent 31%),
		linear-gradient(145deg,#fffefa,#fff8e9);
	box-shadow: 0 15px 38px rgba(71,45,28,.11);
}
.szl-passport-cover,
.szl-medical-summary,
.szl-care-hero,
.szl-life-overview {
	position: relative;
	overflow: hidden;
}
.szl-passport-cover::after,
.szl-medical-summary::after,
.szl-care-hero::after,
.szl-life-overview::after {
	content: "";
	position: absolute;
	inset: 7px;
	z-index: 0;
	border: 1px solid rgba(198,161,91,.16);
	border-radius: 16px;
	pointer-events: none;
}
.szl-passport-cover > *,
.szl-medical-summary > *,
.szl-care-hero > *,
.szl-life-overview > * {
	position: relative;
	z-index: 1;
}

.szl-passport-facts > div,
.szl-medical-vitals > div,
.szl-emergency-data > div {
	border-color: rgba(198,161,91,.38);
	background: rgba(255,255,255,.82);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.szl-passport-facts small,
.szl-medical-vitals small,
.szl-emergency-data small {
	color: #9b7950;
	font-weight: 900;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.szl-passport-form,
.szl-medical-form,
.szl-care-form,
.szl-emergency-form,
.szl-medical-history,
.szl-care-list {
	border-color: var(--szl-premium-border);
	background:
		linear-gradient(rgba(255,254,250,.98),rgba(255,254,250,.98)),
		repeating-linear-gradient(45deg,transparent 0 8px,rgba(198,161,91,.05) 8px 9px);
	box-shadow: 0 13px 32px rgba(71,45,28,.09);
}
.szl-passport-form-title {
	padding-bottom: 13px;
	border-bottom: 1px solid rgba(198,161,91,.32);
}
.szl-passport-form-title > div > span,
.szl-medical-history-title > span {
	color: var(--mi-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}
.szl-passport-form-title h3,
.szl-medical-history-title h3 {
	margin-top: 4px;
	color: var(--mi-brown);
}

.szl-mi-panel[data-szl-panel="passport"] input,
.szl-mi-panel[data-szl-panel="passport"] select,
.szl-mi-panel[data-szl-panel="passport"] textarea,
.szl-mi-panel[data-szl-panel="medical"] input,
.szl-mi-panel[data-szl-panel="medical"] select,
.szl-mi-panel[data-szl-panel="medical"] textarea,
.szl-mi-panel[data-szl-panel="care"] input,
.szl-mi-panel[data-szl-panel="care"] select,
.szl-mi-panel[data-szl-panel="care"] textarea,
.szl-mi-panel[data-szl-panel="emergency"] input,
.szl-mi-panel[data-szl-panel="emergency"] select,
.szl-mi-panel[data-szl-panel="emergency"] textarea {
	border-color: #d9c8af;
	background: #fffdf9;
	box-shadow: inset 0 1px 2px rgba(90,58,41,.025);
}
.szl-mi-panel[data-szl-panel="passport"] input:focus,
.szl-mi-panel[data-szl-panel="passport"] select:focus,
.szl-mi-panel[data-szl-panel="passport"] textarea:focus,
.szl-mi-panel[data-szl-panel="medical"] input:focus,
.szl-mi-panel[data-szl-panel="medical"] select:focus,
.szl-mi-panel[data-szl-panel="medical"] textarea:focus,
.szl-mi-panel[data-szl-panel="care"] input:focus,
.szl-mi-panel[data-szl-panel="care"] select:focus,
.szl-mi-panel[data-szl-panel="care"] textarea:focus,
.szl-mi-panel[data-szl-panel="emergency"] input:focus,
.szl-mi-panel[data-szl-panel="emergency"] select:focus,
.szl-mi-panel[data-szl-panel="emergency"] textarea:focus {
	border-color: var(--mi-gold);
	outline: 2px solid rgba(198,161,91,.16);
	outline-offset: 1px;
}

.szl-mi-panel[data-szl-panel="passport"] .szl-mi-primary,
.szl-mi-panel[data-szl-panel="medical"] .szl-mi-primary,
.szl-mi-panel[data-szl-panel="care"] .szl-mi-primary,
.szl-mi-panel[data-szl-panel="emergency"] .szl-mi-primary,
.szl-mi-panel[data-szl-panel="life"] .szl-mi-primary {
	border: 1px solid var(--mi-gold);
	background: linear-gradient(145deg,var(--mi-wine),var(--mi-wine-dark));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),0 8px 18px rgba(70,16,26,.17);
}
.szl-mi-panel[data-szl-panel="passport"] .szl-mi-primary:hover,
.szl-mi-panel[data-szl-panel="medical"] .szl-mi-primary:hover,
.szl-mi-panel[data-szl-panel="care"] .szl-mi-primary:hover,
.szl-mi-panel[data-szl-panel="emergency"] .szl-mi-primary:hover,
.szl-mi-panel[data-szl-panel="life"] .szl-mi-primary:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.szl-medical-timeline article,
.szl-care-grid > article,
.szl-life-grid > article {
	border-color: rgba(198,161,91,.42);
	background: linear-gradient(145deg,#fffefa,#fff9ef);
	box-shadow: 0 7px 18px rgba(90,58,41,.055);
}
.szl-medical-type,
.szl-care-date,
.szl-life-goal-icon {
	border: 1px solid rgba(198,161,91,.55);
	background: linear-gradient(145deg,#fffaf0,#ead8b8);
	color: var(--mi-brown);
}
.szl-life-grid > article.is-complete {
	border-color: rgba(47,118,85,.35);
	background: linear-gradient(145deg,#fbfffc,#edf7f1);
}
.szl-life-progress-ring {
	box-shadow: 0 7px 18px rgba(90,58,41,.10);
}
.szl-life-disclaimer,
.szl-passport-privacy {
	border: 1px solid rgba(198,161,91,.24);
	background: #faf4e9;
}

@media (max-width: 760px) {
	.szl-passport-heading,
	.szl-medical-heading,
	.szl-care-heading,
	.szl-emergency-heading,
	.szl-life-heading {
		align-items: flex-start;
		margin: -2px -2px 16px;
		padding: 20px 17px;
		border-radius: 20px;
	}
	.szl-passport-heading > div,
	.szl-medical-heading > div,
	.szl-care-heading > div,
	.szl-emergency-heading > div,
	.szl-life-heading > div {
		min-width: 0;
	}
	.szl-passport-heading h2,
	.szl-medical-heading h2,
	.szl-care-heading h2,
	.szl-emergency-heading h2,
	.szl-life-heading h2 {
		overflow-wrap: normal;
		word-break: normal;
	}
	.szl-passport-heading p,
	.szl-medical-heading p,
	.szl-care-heading p,
	.szl-emergency-heading p,
	.szl-life-heading p {
		font-size: 13px;
	}
	.szl-passport-heading .szl-mi-secondary,
	.szl-medical-heading .szl-mi-secondary,
	.szl-care-heading .szl-mi-secondary,
	.szl-emergency-heading .szl-mi-secondary,
	.szl-life-heading .szl-mi-secondary {
		flex: 0 0 auto;
		min-height: 38px;
		padding: 7px 11px;
		font-size: 11px;
	}
	.szl-passport-picker,
	.szl-medical-picker,
	.szl-care-picker,
	.szl-emergency-picker,
	.szl-life-picker {
		margin-right: -2px;
		margin-left: -2px;
		padding: 8px;
	}
	.szl-passport-picker button,
	.szl-medical-picker button,
	.szl-care-picker button,
	.szl-emergency-picker button,
	.szl-life-picker button {
		min-height: 48px;
		font-size: 12px;
	}
}

@media (max-width: 430px) {
	.szl-passport-heading,
	.szl-medical-heading,
	.szl-care-heading,
	.szl-emergency-heading,
	.szl-life-heading {
		display: grid;
		grid-template-columns: minmax(0,1fr) auto;
		gap: 10px;
	}
	.szl-passport-heading h2,
	.szl-medical-heading h2,
	.szl-care-heading h2,
	.szl-emergency-heading h2,
	.szl-life-heading h2 {
		font-size: 27px;
	}
	.szl-passport-heading p,
	.szl-medical-heading p,
	.szl-care-heading p,
	.szl-emergency-heading p,
	.szl-life-heading p {
		grid-column: 1 / -1;
	}
}

/* 1.3.3 — overrides finales para navegación y opciones de mascota */
.szl-mi .szl-pet-card {
	overflow: visible;
}
.szl-mi .szl-pet-card:has(.szl-mi-pet-options[open]),
.szl-mi .szl-pet-card:focus-within {
	z-index: 30;
}
.szl-mi-pet-options[open] {
	z-index: 40;
}
.szl-mi-pet-options[open] .szl-mi-pet-options-menu {
	display: grid;
	visibility: visible;
	opacity: 1;
}
@media (max-width: 760px) {
	.szl-mi-nav button:nth-child(4) b {
		font-size: 8.5px;
		line-height: 1;
		letter-spacing: -.04em;
		white-space: nowrap;
	}
	.szl-mi-pet-options-menu {
		position: absolute;
		right: 0;
		left: auto;
		width: min(190px, 72vw);
	}
}

/* 1.3.4 — textos largos completos en el resumen móvil */
@media (max-width: 760px) {
	.szl-mi-stats > div:nth-child(2) small {
		font-size: 8.5px;
		line-height: 1;
		letter-spacing: -.035em;
		white-space: nowrap;
	}
}

/* 1.3.4 — overrides finales */
.szl-mi-profile h1 .szl-mi-greeting,
.szl-mi-profile h1 .szl-mi-user-name { display: block; }
.szl-mi-profile h1 .szl-mi-user-name { max-width: 100%; overflow-wrap: anywhere; }
.szl-mi .szl-pet-thumb { object-position: center center; }
.szl-mi .szl-pet-body { align-items: center; text-align: center; }
.szl-mi .szl-card-actions { justify-content: center; width: 100%; }
.szl-mi-pet-options-menu { transform-origin: top center; }
.szl-mi-pet-options[open] .szl-mi-pet-options-menu { animation: szlMiOptionsReveal .34s cubic-bezier(.2,.85,.3,1) both; }
.szl-mi-pet-options[open] .szl-mi-pet-options-menu::before {
	content: "🐾  ·  🐾  ·  🐾";
	display: block;
	padding: 2px 4px 5px;
	color: var(--mi-gold);
	font-size: 12px;
	letter-spacing: .12em;
	text-align: center;
	animation: szlMiPawTrail .55s ease-out both;
}
@media (max-width: 760px) {
	.szl-mi-hero-premium { gap: 14px; padding: 16px 12px; }
	.szl-mi-hero-premium .szl-mi-profile { grid-template-columns: 64px minmax(0,1fr); gap: 10px; }
	.szl-mi-hero-premium .szl-mi-avatar,
	.szl-mi-hero-premium .szl-mi-avatar-wrap { width: 64px; height: 64px; }
	.szl-mi-profile h1 { margin: 1px 0 4px; font-size: clamp(27px,8.5vw,34px); line-height: .98; }
	.szl-mi-profile h1 .szl-mi-greeting { font-size: .68em; line-height: 1.05; }
	.szl-mi-profile h1 .szl-mi-user-name { margin-top: 3px; }
	.szl-mi-hero-premium .szl-mi-membership { grid-template-columns: 46px minmax(0,1fr) auto; gap: 10px; padding: 13px 14px; }
	.szl-mi-hero-premium .szl-mi-membership > span { width: 46px; height: 46px; }
	.szl-mi-membership-copy strong { font-size: 24px; line-height: 1; }
	.szl-mi-membership-copy b { margin-top: 4px; padding: 3px 8px; font-size: 9px; }
	.szl-mi-membership-price { grid-column: auto; margin: 0; text-align: right; }
	.szl-mi-membership-price strong { font-size: 25px; }
	.szl-mi-membership-price small { font-size: 10px; }
	.szl-mi-hero-premium .szl-mi-membership-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; padding-top: 9px; }
	.szl-mi-hero-premium .szl-mi-membership-actions a { width: 100%; min-height: 36px; padding: 7px 9px; font-size: 11px; }
	.szl-mi-hero-premium .szl-mi-membership-actions small { grid-column: 1 / -1; font-size: 10px !important; line-height: 1.25; }
	.szl-mi-utility-actions { grid-template-columns: 1fr 1fr; padding: 6px 12px; }
	.szl-mi-utility-actions .szl-mi-logout { min-height: 34px; font-size: 11px; }
	.szl-mi-utility-actions .szl-mi-delete-account { padding: 0 0 0 10px; border-top: 0; border-left: 1px solid #dcc9b4; font-size: 11px; }
	.szl-mi .szl-pet-body .szl-state { align-self: center; }
}

/* Final cascade for the 1.3.5 hierarchy. */
.szl-mi .szl-mi-hero-premium { display: block; text-align: center; padding: 28px 18px 20px; }
.szl-mi .szl-mi-hero-premium .szl-mi-profile { display: flex; max-width: none; flex-direction: column; align-items: center; gap: 12px; }
.szl-mi .szl-mi-hero-premium .szl-mi-profile > div { display: flex; width: 100%; flex-direction: column; align-items: center; }
.szl-mi .szl-mi-hero-premium .szl-mi-avatar,.szl-mi .szl-mi-hero-premium .szl-mi-avatar-wrap { width: 108px; height: 108px; }
.szl-mi .szl-mi-hero-premium .szl-mi-account-actions { display: block; width: min(100%,520px); margin: 18px auto 0; }
.szl-mi .szl-mi-hero-premium .szl-mi-membership { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; }
.szl-mi .szl-mi-membership-copy { align-items: center; }
.szl-mi .szl-mi-account-manager { display: block; flex-basis: 100%; width: 100%; }
.szl-mi .szl-mi-nav,.szl-mi .szl-mi-utility-actions { display: none; }
.szl-mi .szl-mi-pet-services,.szl-mi .szl-mi-quick-actions { display: grid; }
.szl-mi .szl-carnet { display: none; }
.szl-mi .szl-carnet.is-active { display: block; }
@media (max-width:760px) {
  .szl-mi .szl-mi-hero-premium .szl-mi-profile { display: flex; grid-template-columns: none; }
  .szl-mi .szl-mi-hero-premium .szl-mi-avatar,.szl-mi .szl-mi-hero-premium .szl-mi-avatar-wrap { width: 92px; height: 92px; }
  .szl-mi .szl-mi-hero-premium .szl-mi-membership { display: flex; grid-template-columns: none; padding: 16px 14px; }
  .szl-mi .szl-mi-hero-premium .szl-mi-membership-price { text-align: center; }
}

/* 1.3.13 — fichas horizontales premium con avance real del perfil. */
.szl-mi[data-szl-view="list"] [data-szl-slot="pet-grid"] .szl-pet-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	width: 100%;
	max-width: 820px;
	margin-inline: auto;
}
.szl-mi[data-szl-view="list"] .szl-pet-card {
	display: grid;
	grid-template-columns: clamp(118px, 31%, 210px) minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	min-height: 220px;
	overflow: visible;
	border: 1px solid rgba(198,161,91,.72);
	border-radius: 24px;
	background: linear-gradient(145deg, #f8f1e6, #f3e7d7);
	box-shadow: 0 10px 25px rgba(90,58,41,.11);
}
.szl-mi[data-szl-view="list"] .szl-pet-card > .szl-state {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	width: calc(100% - 72px);
	min-height: 38px;
	margin: 16px 54px 0 18px;
	align-items: center;
	justify-content: center;
	padding: 7px 14px;
	border: 1px solid rgba(58,126,83,.22);
	border-radius: 999px;
	background: #e5f1e7;
	color: #267047;
	font-size: clamp(14px, 2.2vw, 18px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: .04em;
	text-align: center;
	white-space: nowrap;
}
.szl-mi[data-szl-view="list"] .szl-pet-card > .szl-state.is-lost {
	border-color: rgba(172,36,52,.24);
	background: #a32638;
	color: #fff;
}
.szl-mi[data-szl-view="list"] .szl-pet-thumb {
	grid-column: 1;
	grid-row: 1 / 3;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	min-height: 0;
	margin: 10px;
	aspect-ratio: auto;
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	background: #eadbc7;
	box-shadow: none;
}
.szl-mi[data-szl-view="list"] .szl-pet-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.szl-mi[data-szl-view="list"] .szl-pet-body {
	position: relative;
	grid-column: 2;
	grid-row: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 82px;
	grid-template-rows: auto auto 1fr;
	column-gap: 14px;
	min-width: 0;
	min-height: 0;
	padding: 10px 16px 16px 18px;
	align-items: start;
	text-align: left;
}
.szl-mi[data-szl-view="list"] .szl-pet-body h3 {
	grid-column: 1;
	display: -webkit-box;
	min-width: 0;
	max-width: 100%;
	min-height: 1.08em;
	max-height: 2.16em;
	margin: 0 0 6px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: clamp(23px, 4.4vw, 34px);
	line-height: 1.08;
	letter-spacing: -.025em;
	overflow-wrap: anywhere;
	word-break: normal;
}
.szl-mi[data-szl-view="list"] .szl-pet-body h3.is-long { font-size: clamp(21px, 4vw, 31px); }
.szl-mi[data-szl-view="list"] .szl-pet-body h3.is-very-long { font-size: clamp(19px, 3.6vw, 28px); }
.szl-mi[data-szl-view="list"] .szl-mi-card-details {
	grid-column: 1;
	display: flex;
	min-width: 0;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px 8px;
	margin: 0 0 7px;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-details p {
	display: inline;
	margin: 0;
	color: #6e5c50;
	font-size: clamp(14px, 2.7vw, 18px);
	line-height: 1.28;
	text-transform: none;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-details p + p::before {
	content: "·";
	margin-right: 8px;
	color: #806b5c;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-sex b { font-size: 1.16em; }
.szl-mi[data-szl-view="list"] .szl-pet-body > small {
	grid-column: 1;
	align-self: end;
	margin: 0;
	color: #4f382c;
	font-size: clamp(12px, 2.4vw, 16px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .015em;
	white-space: nowrap;
}
.szl-mi[data-szl-view="list"] .szl-mi-profile-progress {
	grid-column: 2;
	grid-row: 1 / 4;
	display: flex;
	align-self: end;
	align-items: center;
	flex-direction: column;
	gap: 5px;
	width: 82px;
	text-align: center;
}
.szl-mi[data-szl-view="list"] .szl-mi-progress-ring {
	position: relative;
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 50%;
	background: conic-gradient(#347d43 var(--szl-progress), #e6ddcf 0);
}
.szl-mi[data-szl-view="list"] .szl-mi-progress-ring::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: inherit;
	background: #f8f1e6;
}
.szl-mi[data-szl-view="list"] .szl-mi-progress-ring b {
	position: relative;
	z-index: 1;
	color: #3f291f;
	font-size: 15px;
	font-weight: 900;
}
.szl-mi[data-szl-view="list"] .szl-mi-profile-progress small {
	color: #493328;
	font-size: 9px;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: .04em;
}
.szl-mi[data-szl-view="list"] .szl-card-actions {
	position: absolute;
	top: -50px;
	right: 10px;
	z-index: 8;
	display: block;
	width: auto;
	margin: 0;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-menu { width: auto; margin: 0; }
.szl-mi[data-szl-view="list"] .szl-mi-card-menu > summary {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #4c3225;
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-menu .szl-mi-pet-options-menu {
	right: 0;
	left: auto;
	width: 165px;
	min-width: 165px;
	margin-top: 4px;
}
.szl-mi[data-szl-view="list"] .szl-mi-card-menu .szl-mi-manage-pet-link {
	min-height: 40px;
	font-size: 13px !important;
}
@media (max-width: 520px) {
	.szl-mi[data-szl-view="list"] .szl-pet-card {
		grid-template-columns: clamp(112px, 36%, 145px) minmax(0, 1fr);
		min-height: 188px;
		border-radius: 21px;
	}
	.szl-mi[data-szl-view="list"] .szl-pet-card > .szl-state {
		width: calc(100% - 60px);
		min-height: 34px;
		margin: 12px 44px 0 12px;
		padding: 6px 9px;
		font-size: clamp(13px, 4vw, 16px);
	}
	.szl-mi[data-szl-view="list"] .szl-pet-thumb { width: calc(100% - 16px); height: calc(100% - 16px); margin: 8px; border-radius: 15px; }
	.szl-mi[data-szl-view="list"] .szl-pet-body { grid-template-columns: minmax(0, 1fr) 66px; column-gap: 7px; padding: 8px 9px 12px 12px; }
	.szl-mi[data-szl-view="list"] .szl-pet-body h3 { font-size: clamp(22px, 6.6vw, 29px); }
	.szl-mi[data-szl-view="list"] .szl-pet-body h3.is-long { font-size: clamp(20px, 6vw, 27px); }
	.szl-mi[data-szl-view="list"] .szl-pet-body h3.is-very-long { font-size: clamp(18px, 5.4vw, 24px); }
	.szl-mi[data-szl-view="list"] .szl-mi-card-details p { font-size: clamp(13px, 3.7vw, 16px); }
	.szl-mi[data-szl-view="list"] .szl-pet-body > small { font-size: clamp(11px, 3.2vw, 14px); }
	.szl-mi[data-szl-view="list"] .szl-mi-profile-progress { width: 66px; }
	.szl-mi[data-szl-view="list"] .szl-mi-progress-ring { width: 54px; height: 54px; }
	.szl-mi[data-szl-view="list"] .szl-mi-progress-ring::after { inset: 6px; }
	.szl-mi[data-szl-view="list"] .szl-mi-progress-ring b { font-size: 13px; }
	.szl-mi[data-szl-view="list"] .szl-mi-profile-progress small { font-size: 8px; }
	.szl-mi[data-szl-view="list"] .szl-card-actions { top: -43px; right: 4px; }
	.szl-mi[data-szl-view="list"] .szl-mi-card-menu > summary { width: 34px; height: 34px; font-size: 25px; }
}
@media (max-width: 370px) {
	.szl-mi[data-szl-view="list"] .szl-pet-card { grid-template-columns: 108px minmax(0,1fr); min-height: 184px; }
	.szl-mi[data-szl-view="list"] .szl-pet-body { grid-template-columns: minmax(0,1fr) 58px; padding-left: 9px; }
	.szl-mi[data-szl-view="list"] .szl-mi-card-details { gap: 1px 5px; }
	.szl-mi[data-szl-view="list"] .szl-mi-card-details p + p::before { margin-right: 5px; }
	.szl-mi[data-szl-view="list"] .szl-mi-profile-progress { width: 58px; }
	.szl-mi[data-szl-view="list"] .szl-mi-progress-ring { width: 48px; height: 48px; }
}
