:root {
	--cp-state10-navy: #0b2037;
	--cp-state10-turquoise: #13c4a6;
	--cp-state10-turquoise-dark: #087f6d;
	--cp-state10-soft: #e7f8f4;
	--cp-state10-border: #dce7e4;
	--cp-state10-muted: #657786;
	--cp-state10-danger: #b42318;
	--cp-state10-danger-soft: #fff0ee;
	--cp-state10-warning: #805b10;
	--cp-state10-warning-soft: #fff8df;
}

.cp-state10-network {
	left: 0;
	padding: 10px 14px 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 10020;
}

.cp-state10-network[hidden],
.cp-state10-loading[hidden],
.cp-state10-session[hidden] { display: none !important; }

.cp-state10-network > div {
	align-items: center;
	background: var(--cp-state10-warning-soft);
	border: 1px solid #ead799;
	border-radius: 18px;
	box-shadow: 0 14px 38px rgba(11, 32, 55, .14);
	color: #59420b;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin: 0 auto;
	max-width: 980px;
	padding: 11px 13px;
}

.cp-state10-network-icon,
.cp-state10-session-icon {
	align-items: center;
	background: rgba(128, 91, 16, .1);
	border-radius: 999px;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.cp-state10-network p { display: grid; gap: 1px; line-height: 1.35; margin: 0; }
.cp-state10-network strong { color: #453407; font-size: 14px; }
.cp-state10-network p span { font-size: 12px; }
.cp-state10-network button {
	background: #fff;
	border: 1px solid #d4bd70;
	border-radius: 999px;
	color: #59420b;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	min-height: 38px;
	padding: 8px 14px;
}

.cp-state10-toast-stack {
	display: grid;
	gap: 8px;
	pointer-events: none;
	position: fixed;
	right: 18px;
	top: 18px;
	width: min(390px, calc(100vw - 28px));
	z-index: 10030;
}

.cp-state10-toast {
	align-items: start;
	animation: cp-state10-enter .2s ease-out;
	background: #fff;
	border: 1px solid var(--cp-state10-border);
	border-left: 4px solid var(--cp-state10-turquoise);
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(11, 32, 55, .16);
	color: var(--cp-state10-navy);
	display: grid;
	font-size: 13px;
	font-weight: 700;
	gap: 10px;
	grid-template-columns: auto 1fr auto;
	line-height: 1.45;
	pointer-events: auto;
	padding: 13px 14px;
}

.cp-state10-toast.is-error { border-left-color: var(--cp-state10-danger); }
.cp-state10-toast.is-warning,
.cp-state10-toast.is-partial { border-left-color: #b27b12; }
.cp-state10-toast.is-success { border-left-color: #0e936f; }
.cp-state10-toast > i { font-size: 18px; margin-top: 1px; }
.cp-state10-toast button { background: transparent; border: 0; color: inherit; cursor: pointer; height: 28px; padding: 0; width: 28px; }

.cp-state10-loading {
	background: rgba(243, 247, 246, .94);
	inset: 0;
	padding: 104px 20px 90px;
	position: fixed;
	z-index: 10010;
}

.cp-state10-loading-panel { margin: 0 auto; max-width: 820px; }
.cp-state10-skeleton,
.cp-state10-skeleton-grid div,
.cp-state10-skeleton-grid span,
.cp-state10-skeleton-grid b,
.cp-state10-skeleton-grid i {
	background: linear-gradient(100deg, #e4ecea 30%, #f5f9f8 50%, #e4ecea 70%);
	background-size: 220% 100%;
	border-radius: 12px;
	animation: cp-state10-shimmer 1.2s linear infinite;
}
.cp-state10-skeleton.is-heading { height: 42px; max-width: 340px; }
.cp-state10-skeleton.is-copy { height: 18px; margin-top: 13px; max-width: 510px; }
.cp-state10-skeleton-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; }
.cp-state10-skeleton-grid div { background: #fff; border: 1px solid #e0e9e7; display: grid; gap: 13px; min-height: 210px; padding: 24px; }
.cp-state10-skeleton-grid span { height: 52px; width: 52px; }
.cp-state10-skeleton-grid b { height: 24px; max-width: 70%; }
.cp-state10-skeleton-grid i { height: 16px; max-width: 92%; }
.cp-state10-loading-label { color: var(--cp-state10-muted); display: block; font-size: 13px; font-weight: 700; margin-top: 18px; }

.cp-state10-session {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 10050;
}
.cp-state10-session-backdrop { background: rgba(5, 20, 35, .72); inset: 0; position: absolute; }
.cp-state10-session section {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 28px;
	box-shadow: 0 30px 90px rgba(5, 20, 35, .28);
	max-width: 470px;
	padding: 30px;
	position: relative;
	width: 100%;
}
.cp-state10-session-icon { background: var(--cp-state10-soft); color: var(--cp-state10-turquoise-dark); height: 52px; width: 52px; }
.cp-state10-eyebrow { color: var(--cp-state10-turquoise-dark) !important; font-size: 11px; font-weight: 900; letter-spacing: .1em; margin: 18px 0 4px !important; text-transform: uppercase; }
.cp-state10-session h2 { color: var(--cp-state10-navy); font-size: 28px; letter-spacing: -.035em; margin: 0; }
.cp-state10-session section > p:not(.cp-state10-eyebrow) { color: var(--cp-state10-muted); line-height: 1.55; margin: 10px 0 22px; }
.cp-state10-session section > div { display: flex; gap: 10px; }
.cp-state10-session section .cp-button { align-items: center; display: inline-flex; justify-content: center; margin: 0; }

.cp-state10 {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cp-state10-border);
	border-radius: 22px;
	color: var(--cp-state10-navy);
	display: grid;
	gap: 14px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 22px;
	text-align: left;
}
.cp-state10 > span:first-child { align-items: center; background: var(--cp-state10-soft); border-radius: 16px; color: var(--cp-state10-turquoise-dark); display: inline-flex; font-size: 21px; height: 48px; justify-content: center; width: 48px; }
.cp-state10 h2, .cp-state10 h3 { color: inherit; font-size: 17px; margin: 0 0 4px; }
.cp-state10 p { color: var(--cp-state10-muted); font-size: 13px; line-height: 1.5; margin: 0; }
.cp-state10.is-error, .cp-state10.is-destructive { background: var(--cp-state10-danger-soft); border-color: #f0c2bc; }
.cp-state10.is-error > span:first-child, .cp-state10.is-destructive > span:first-child { background: #ffe2de; color: var(--cp-state10-danger); }
.cp-state10.is-partial, .cp-state10.is-unavailable { background: var(--cp-state10-warning-soft); border-color: #ead799; }
.cp-state10.is-partial > span:first-child, .cp-state10.is-unavailable > span:first-child { background: #f6eac0; color: var(--cp-state10-warning); }
.cp-state10.is-success, .cp-alert-success { border-left: 4px solid #0e936f !important; }
.cp-state10.is-empty, .cp-state10.is-no-results { text-align: left; }

.cp-profile-page .cp-empty,
.cp-profile-page .cp-favorite-filter-empty,
.cp-profile-page .cp-help9-no-results,
.cp-profile-page .cp-activity6-empty,
.cp-profile-page .cp-benefits7-empty {
	background: #fff;
	border: 1px solid var(--cp-state10-border);
	border-radius: 22px;
	box-shadow: none;
}

.cp-map-status.is-permission-denied,
.cp-map-status.is-unavailable {
	background: var(--cp-state10-warning-soft);
	border: 1px solid #ead799;
	border-radius: 12px;
	color: var(--cp-state10-warning) !important;
	font-weight: 700;
	line-height: 1.45;
	padding: 10px 12px;
}

.cp-alert {
	align-items: start;
	border-radius: 16px !important;
	display: grid;
	font-weight: 700;
	grid-template-columns: 1fr auto;
	line-height: 1.45;
	padding: 14px 16px !important;
}
.cp-alert-error { border-left: 4px solid var(--cp-state10-danger) !important; }
.cp-state10-alert-dismiss { background: transparent; border: 0; color: inherit; cursor: pointer; height: 30px; padding: 0; width: 30px; }

form[aria-busy="true"] :is(button[type="submit"], input[type="submit"]),
button[data-state10-busy="true"] { cursor: wait; opacity: .72; }
form[aria-busy="true"] button[type="submit"]::before,
button[data-state10-busy="true"]::before {
	animation: cp-state10-spin .75s linear infinite;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 999px;
	content: '';
	display: inline-block;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	width: 14px;
}

.cp-state10-image-fallback { filter: saturate(.55); object-fit: cover; }
.cp-state10-image-missing { background: #edf3f1 !important; color: #667b78 !important; position: relative; }
.cp-state10-image-missing::after { content: 'Imagen no disponible'; font-size: 10px; font-weight: 800; inset: auto 5px 5px; line-height: 1.2; position: absolute; text-align: center; }
body.cp-state10-dialog-open { overflow: hidden; }

@keyframes cp-state10-shimmer { to { background-position-x: -220%; } }
@keyframes cp-state10-spin { to { transform: rotate(360deg); } }
@keyframes cp-state10-enter { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 700px) {
	.cp-state10-network { padding: 7px 8px 0; }
	.cp-state10-network > div { border-radius: 15px; gap: 9px; grid-template-columns: auto minmax(0, 1fr); padding: 9px 10px; }
	.cp-state10-network p span { display: none; }
	.cp-state10-network button { grid-column: 1 / -1; min-height: 36px; width: 100%; }
	.cp-state10-toast-stack { left: 10px; right: 10px; top: 10px; width: auto; }
	.cp-state10-loading { padding: 88px 14px 92px; }
	.cp-state10-skeleton-grid { grid-template-columns: 1fr; }
	.cp-state10-skeleton-grid div:nth-child(2) { display: none; }
	.cp-state10-session section { border-radius: 24px; padding: 24px 20px; }
	.cp-state10-session section > div { align-items: stretch; flex-direction: column; }
	.cp-state10 { align-items: start; grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
	.cp-state10 > :last-child:not(div) { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.cp-state10-toast, .cp-state10-skeleton, .cp-state10-skeleton-grid *, form[aria-busy="true"] button[type="submit"]::before { animation: none !important; }
}

@media (forced-colors: active) {
	.cp-state10-network > div, .cp-state10-toast, .cp-state10-session section, .cp-state10 { border: 2px solid CanvasText; }
}

@media print {
	.cp-state10-network, .cp-state10-toast-stack, .cp-state10-loading, .cp-state10-session { display: none !important; }
}
