/**
 * EVENTO360 — panel del organizador.
 * Interfaz tipo app, independiente del theme. Mobile first.
 */

.e360-app {
	--e-primary: #002452;
	--e-primary-2: #00183A;
	--e-accent: #A8CF45;
	--e-accent-text: #4E7A16;
	--e-accent-soft: #F1F8E3;
	--e-text: #0F1B2D;
	--e-body: #45536A;
	--e-muted: #6B7789;
	--e-border: #E3E8EF;
	--e-surface: #F6F8FB;
	--e-white: #FFFFFF;
	--e-danger: #B42318;
	--e-radius: 14px;
	--e-shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 4px 16px rgba(15, 27, 45, 0.05);
	--e-sidebar: 248px;
	margin: 0;
	min-height: 100vh;
	background: var(--e-surface);
	color: var(--e-body);
	font: 400 0.9375rem/1.55 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.e360-app *,
.e360-app *::before,
.e360-app *::after {
	box-sizing: border-box;
}

.e360-app h1,
.e360-app h2,
.e360-app h3 {
	color: var(--e-primary);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.e360-app a {
	color: var(--e-accent-text);
}

.e360-app :focus-visible {
	outline: 2px solid var(--e-accent-text);
	outline-offset: 2px;
}

.e360-app img {
	max-width: 100%;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.e360-skip {
	position: absolute;
	left: -9999px;
}

.e360-skip:focus {
	left: 1rem;
	top: 1rem;
	z-index: 1000;
	background: var(--e-white);
	padding: 0.5rem 1rem;
	border-radius: 8px;
}

.e360-muted {
	color: var(--e-muted);
}

.e360-block {
	display: block;
}

.e360-icon {
	flex: none;
}

/* ---------- Barra lateral ---------- */
.e360-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 60;
	width: var(--e-sidebar);
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1rem;
	background: linear-gradient(180deg, var(--e-primary) 0%, var(--e-primary-2) 100%);
	color: rgba(255, 255, 255, 0.8);
	transform: translateX(-100%);
	transition: transform 0.25s ease;
}

.e360-sidebar.is-open {
	transform: none;
}

.e360-brand {
	display: block;
	padding: 0 0.75rem 1.75rem;
	color: var(--e-white) !important;
	text-decoration: none;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.e360-brand img {
	display: block;
	max-height: 28px;
	width: auto;
}

.e360-nav {
	display: grid;
	gap: 0.25rem;
}

.e360-nav a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 0.75rem;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-weight: 600;
	transition: background 0.15s ease, color 0.15s ease;
}

.e360-nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--e-white);
}

.e360-nav a.is-active {
	background: rgba(168, 207, 69, 0.16);
	color: var(--e-white);
	box-shadow: inset 3px 0 0 var(--e-accent);
}

.e360-sidebar__user {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding: 1rem 0.75rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.e360-sidebar__user strong {
	display: block;
	color: var(--e-white);
	font-size: 0.875rem;
}

.e360-sidebar__user a {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.8125rem;
}

.e360-avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--e-accent);
	color: var(--e-primary);
	font-weight: 800;
}

.e360-avatar--sm {
	width: 32px;
	height: 32px;
	font-size: 0.8125rem;
	background: var(--e-accent-soft);
	color: var(--e-accent-text);
}

.e360-backdrop {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: rgba(0, 18, 40, 0.45);
}

.e360-backdrop[hidden] {
	display: none;
}

/* ---------- Estructura ---------- */
.e360-topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--e-primary);
	color: var(--e-white);
}

.e360-topbar__brand {
	font-weight: 800;
	margin-right: auto;
}

.e360-menu-btn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--e-white);
	cursor: pointer;
}

.e360-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.25rem 1rem 4rem;
}

@media (min-width: 1024px) {
	.e360-sidebar {
		transform: none;
	}

	.e360-shell {
		margin-left: var(--e-sidebar);
	}

	.e360-topbar {
		display: none;
	}

	.e360-main {
		padding: 2.25rem 2.5rem 4rem;
	}
}

/* ---------- Encabezados ---------- */
.e360-page-head,
.e360-event-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.e360-page-head h1,
.e360-event-head h1 {
	margin: 0 0 0.25rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
}

.e360-page-head p,
.e360-event-head p {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.e360-back {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--e-muted) !important;
	text-decoration: none;
}

.e360-h3 {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	font-weight: 800;
}

.e360-step {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 800;
}

.e360-step span {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--e-accent);
	color: var(--e-primary);
	font-size: 0.875rem;
}

/* ---------- Pestañas ---------- */
.e360-tabs {
	display: flex;
	gap: 0.25rem;
	margin: 0 -1rem 1.5rem;
	padding: 0 1rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--e-border);
	scrollbar-width: none;
}

.e360-tabs::-webkit-scrollbar {
	display: none;
}

.e360-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 0.9rem;
	border-bottom: 2px solid transparent;
	color: var(--e-muted) !important;
	text-decoration: none;
	font-weight: 700;
	white-space: nowrap;
}

.e360-tabs a.is-active {
	color: var(--e-primary) !important;
	border-bottom-color: var(--e-accent);
}

@media (min-width: 1024px) {
	.e360-tabs {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
}

.e360-subtabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 1rem;
	padding: 0.25rem;
	border-radius: 12px;
	background: #E9EEF4;
}

.e360-subtabs a {
	padding: 0.5rem 0.9rem;
	border-radius: 9px;
	color: var(--e-body) !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.875rem;
}

.e360-subtabs a.is-active {
	background: var(--e-white);
	color: var(--e-primary) !important;
	box-shadow: var(--e-shadow);
}

/* ---------- Botones ---------- */
.e360-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.65rem 1.15rem;
	border: 0;
	border-radius: 10px;
	background: var(--e-accent);
	color: var(--e-primary) !important;
	font: 700 0.9375rem/1.2 inherit;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	white-space: nowrap;
	list-style: none;
}

.e360-btn::-webkit-details-marker {
	display: none;
}

.e360-btn:hover {
	background: var(--e-primary);
	color: var(--e-white) !important;
}

.e360-btn--ghost {
	background: var(--e-white);
	color: var(--e-primary) !important;
	box-shadow: inset 0 0 0 1.5px var(--e-border);
}

.e360-btn--ghost:hover {
	background: var(--e-white);
	color: var(--e-primary) !important;
	box-shadow: inset 0 0 0 1.5px var(--e-primary);
}

.e360-btn--wa {
	background: #25D366;
	color: #062E16 !important;
}

.e360-btn--wa:hover {
	background: #1EBE5B;
	color: #062E16 !important;
}

.e360-btn--sm {
	min-height: 36px;
	padding: 0.45rem 0.8rem;
	font-size: 0.8125rem;
}

.e360-btn--lg {
	min-height: 52px;
	padding: 0.85rem 1.5rem;
	font-size: 1rem;
}

.e360-btn--block {
	width: 100%;
}

.e360-topbar .e360-btn {
	min-height: 38px;
}

.e360-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--e-border);
	border-radius: 9px;
	background: var(--e-white);
	color: var(--e-primary) !important;
	cursor: pointer;
	list-style: none;
}

.e360-icon-btn::-webkit-details-marker {
	display: none;
}

.e360-icon-btn:hover {
	border-color: var(--e-primary);
}

.e360-icon-btn--wa {
	color: #128C4A !important;
}

.e360-link-danger {
	border: 0;
	background: none;
	padding: 0;
	color: var(--e-danger);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.e360-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

/* ---------- Tarjetas y avisos ---------- */
.e360-card {
	margin-bottom: 1.25rem;
	padding: 1.25rem;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	background: var(--e-white);
	box-shadow: var(--e-shadow);
}

@media (min-width: 768px) {
	.e360-card {
		padding: 1.75rem;
	}
}

.e360-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.e360-card__head h2 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
}

.e360-narrow {
	max-width: 720px;
}

.e360-notice {
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid;
	font-weight: 600;
}

.e360-notice--success {
	background: #ECF8E3;
	border-color: #C9E8A9;
	color: #2F5711;
}

.e360-notice--error {
	background: #FEF1F0;
	border-color: #F7C7C3;
	color: #8F1F17;
}

.e360-notice--info {
	background: #EEF4FB;
	border-color: #C9DAF0;
	color: #1E3E66;
}

.e360-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--e-radius);
	background: linear-gradient(135deg, #FFF8E6 0%, #FFFDF6 100%);
	border: 1px solid #F3DFA6;
}

.e360-callout h2 {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	font-weight: 800;
}

.e360-callout p {
	margin: 0;
	max-width: 46rem;
}

.e360-callout--info {
	background: #EEF4FB;
	border-color: #C9DAF0;
}

.e360-callout--ok {
	background: linear-gradient(135deg, #F1F8E3 0%, #FAFDF4 100%);
	border-color: #D3E8A8;
}

.e360-callout__warn {
	color: var(--e-danger);
	font-weight: 700;
	margin-bottom: 0.35rem !important;
}

.e360-callout__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.e360-copy {
	display: flex !important;
	gap: 0.5rem;
	margin-top: 0.6rem !important;
	max-width: 560px;
}

.e360-copy input {
	flex: 1;
	min-width: 0;
}

.e360-empty {
	padding: 3rem 1.5rem;
	text-align: center;
	border: 1.5px dashed #CFD8E3;
	border-radius: var(--e-radius);
	background: var(--e-white);
}

.e360-empty--sm {
	padding: 2rem 1.25rem;
}

.e360-empty h2 {
	margin: 0.5rem 0;
	font-size: 1.25rem;
}

.e360-empty p {
	max-width: 30rem;
	margin: 0 auto 1.25rem;
}

.e360-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--e-accent-soft);
	color: var(--e-accent-text);
}

.e360-empty__icon svg {
	width: 26px;
	height: 26px;
}

/* ---------- Insignias ---------- */
.e360-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.5;
	background: #EEF1F5;
	color: #3E4A5C;
	white-space: nowrap;
}

.e360-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.e360-badge--activo,
.e360-badge--g-confirmado {
	background: #ECF8E3;
	color: #3B6D12;
}

.e360-badge--pendiente_pago {
	background: #FFF5DB;
	color: #8A5A00;
}

.e360-badge--borrador,
.e360-badge--g-pendiente {
	background: #EEF1F5;
	color: #4B5768;
}

.e360-badge--g-no_asiste,
.e360-badge--cancelado {
	background: #FDEDEC;
	color: #A0281E;
}

.e360-badge--finalizado {
	background: #E8EEF7;
	color: #24416B;
}

/* ---------- Estadísticas ---------- */
.e360-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

@media (min-width: 900px) {
	.e360-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}
}

.e360-stat {
	padding: 1rem 1.1rem;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	background: var(--e-white);
	box-shadow: var(--e-shadow);
}

.e360-stat span {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--e-muted);
}

.e360-stat strong {
	display: block;
	margin: 0.15rem 0;
	font-size: 2rem;
	line-height: 1.1;
	font-weight: 800;
	color: var(--e-primary);
	font-variant-numeric: tabular-nums;
}

.e360-stat small {
	color: var(--e-muted);
	font-size: 0.75rem;
}

.e360-stat--primary {
	background: var(--e-primary);
	border-color: var(--e-primary);
}

.e360-stat--primary span,
.e360-stat--primary small {
	color: rgba(255, 255, 255, 0.72);
}

.e360-stat--primary strong {
	color: var(--e-accent);
}

.e360-columns {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.e360-columns {
		grid-template-columns: 1fr 1fr;
	}

	.e360-columns > .e360-card {
		margin-bottom: 0;
	}

	.e360-columns {
		margin-bottom: 1.25rem;
	}
}

.e360-feed {
	list-style: none;
	margin: 0;
	padding: 0;
}

.e360-feed li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--e-border);
}

.e360-feed li:first-child {
	border-top: 0;
	padding-top: 0;
}

.e360-feed li > div {
	flex: 1;
	min-width: 0;
}

.e360-feed strong {
	color: var(--e-text);
	margin-right: 0.35rem;
}

.e360-feed time {
	font-size: 0.75rem;
	white-space: nowrap;
}

.e360-feed__msg {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: var(--e-body);
	font-style: italic;
}

.e360-bars {
	display: grid;
	grid-template-columns: repeat(14, 1fr);
	align-items: end;
	gap: 4px;
	height: 140px;
	margin-bottom: 1rem;
}

.e360-bars__col {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
	gap: 4px;
}

.e360-bars__col span {
	width: 100%;
	border-radius: 4px 4px 0 0;
	background: var(--e-accent);
}

.e360-bars__col small {
	font-size: 0.625rem;
	color: var(--e-muted);
}

.e360-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.4rem 1rem;
	margin: 0;
	font-size: 0.875rem;
}

.e360-dl dt {
	color: var(--e-muted);
}

.e360-dl dd {
	margin: 0;
	font-weight: 700;
	color: var(--e-text);
}

/* ---------- Lista de eventos ---------- */
.e360-grid--events {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.e360-event-card {
	display: block;
	overflow: hidden;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	background: var(--e-white);
	box-shadow: var(--e-shadow);
	color: inherit !important;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.e360-event-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(15, 27, 45, 0.1);
}

.e360-event-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--c1) 0%, var(--c1) 55%, var(--c2) 55%, var(--c2) 80%, var(--c3) 80%);
}

.e360-event-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.e360-event-card__media .e360-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.e360-event-card__body {
	padding: 1rem 1.1rem 1.1rem;
}

.e360-event-card__body h2 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
}

.e360-event-card__body p {
	margin: 0.15rem 0 0.75rem;
	font-size: 0.8125rem;
}

.e360-mini-stats {
	display: flex;
	gap: 1rem;
	font-size: 0.8125rem;
	color: var(--e-muted);
}

.e360-mini-stats strong {
	color: var(--e-primary);
	font-size: 1rem;
}

/* ---------- Formularios ---------- */
.e360-fields {
	display: grid;
	gap: 1rem 1.25rem;
}

@media (min-width: 720px) {
	.e360-fields {
		grid-template-columns: 1fr 1fr;
	}

	.e360-field--full {
		grid-column: 1 / -1;
	}
}

.e360-field label,
.e360-menu__panel label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--e-text);
}

.e360-field small {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	color: var(--e-muted);
}

.e360-app input[type="text"],
.e360-app input[type="url"],
.e360-app input[type="email"],
.e360-app input[type="tel"],
.e360-app input[type="password"],
.e360-app input[type="number"],
.e360-app input[type="date"],
.e360-app input[type="time"],
.e360-app input[type="search"],
.e360-app select,
.e360-app textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.6rem 0.8rem;
	border: 1.5px solid #D5DCE5;
	border-radius: 10px;
	background: var(--e-white);
	color: var(--e-text);
	font: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.e360-app textarea {
	min-height: 0;
	resize: vertical;
}

.e360-app input:focus,
.e360-app select:focus,
.e360-app textarea:focus {
	outline: none;
	border-color: var(--e-primary);
	box-shadow: 0 0 0 4px rgba(0, 36, 82, 0.1);
}

.e360-app input[disabled] {
	background: var(--e-surface);
	color: var(--e-muted);
}

.e360-app input[type="color"] {
	width: 72px;
	height: 44px;
	padding: 4px;
	border: 1.5px solid #D5DCE5;
	border-radius: 10px;
	background: var(--e-white);
	cursor: pointer;
}

.e360-app input[type="file"] {
	display: block;
	max-width: 100%;
	padding: 0.6rem;
	border: 1.5px dashed #CFD8E3;
	border-radius: 10px;
	background: var(--e-surface);
	font: inherit;
	font-size: 0.875rem;
}

.e360-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.5rem 0;
	font-size: 0.875rem;
	cursor: pointer;
}

.e360-check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--e-primary);
}

.e360-prefix {
	display: flex;
	align-items: stretch;
	border: 1.5px solid #D5DCE5;
	border-radius: 10px;
	overflow: hidden;
	background: var(--e-white);
}

.e360-prefix span {
	display: flex;
	align-items: center;
	padding: 0 0.6rem;
	background: var(--e-surface);
	color: var(--e-muted);
	font-size: 0.8125rem;
	white-space: nowrap;
	max-width: 55%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.e360-app .e360-prefix input {
	border: 0;
	border-radius: 0;
	min-width: 0;
}

.e360-app .e360-prefix input:focus {
	box-shadow: none;
}

.e360-textarea {
	width: 100%;
}

/* Opciones seleccionables */
.e360-options {
	display: grid;
	gap: 0.6rem;
}

.e360-options--types {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.e360-options--templates {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.e360-options--plans {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.e360-option {
	position: relative;
	cursor: pointer;
}

.e360-option input {
	position: absolute;
	opacity: 0;
	inset: 0;
}

.e360-option > span {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	padding: 0.9rem 1rem;
	border: 1.5px solid var(--e-border);
	border-radius: 12px;
	background: var(--e-white);
	color: var(--e-text);
	font-weight: 700;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.e360-option:hover > span {
	border-color: #B9C4D2;
}

.e360-option input:checked + span {
	border-color: var(--e-primary);
	box-shadow: 0 0 0 3px rgba(0, 36, 82, 0.1);
	background: #FBFCFE;
}

.e360-option input:focus-visible + span {
	outline: 2px solid var(--e-accent-text);
	outline-offset: 2px;
}

.e360-option small {
	font-weight: 400;
	color: var(--e-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.e360-swatch {
	display: block;
	height: 54px;
	margin-bottom: 0.5rem;
	border-radius: 8px;
	background: linear-gradient(110deg, var(--c1) 0 50%, var(--c2) 50% 78%, var(--c3) 78%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.e360-price {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--e-primary);
}

.e360-option--plan ul {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	font-weight: 400;
	font-size: 0.8125rem;
	color: var(--e-body);
}

.e360-option--plan li {
	position: relative;
	padding-left: 1.2rem;
	margin-bottom: 0.3rem;
}

.e360-option--plan li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--e-accent-text);
	font-weight: 800;
}

/* Fotos */
.e360-photo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.e360-photo__preview {
	display: grid;
	place-items: center;
	width: 120px;
	height: 150px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	color: var(--e-muted);
	font-size: 0.8125rem;
}

.e360-photo__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.e360-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.e360-gallery__item {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1;
	cursor: pointer;
}

.e360-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.e360-gallery__item span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.3rem;
	background: rgba(0, 0, 0, 0.55);
	color: #FFFFFF;
	font-size: 0.75rem;
	text-align: center;
}

/* ---------- Invitados ---------- */
.e360-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.e360-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.e360-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	border: 1px solid var(--e-border);
	background: var(--e-white);
	color: var(--e-body) !important;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 700;
}

.e360-chip b {
	padding: 0 0.4rem;
	border-radius: 999px;
	background: var(--e-surface);
	color: var(--e-primary);
	font-size: 0.75rem;
}

.e360-chip.is-active {
	border-color: var(--e-primary);
	background: var(--e-primary);
	color: var(--e-white) !important;
}

.e360-chip.is-active b {
	background: var(--e-accent);
}

.e360-search {
	flex: 1;
	min-width: 220px;
	max-width: 340px;
}

.e360-row-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.e360-drawer {
	flex-basis: auto;
}

.e360-drawer[open] {
	flex-basis: 100%;
	order: -1;
}

.e360-drawer > .e360-card {
	margin-top: 0.75rem;
}

.e360-table-wrap {
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius);
	background: var(--e-white);
	box-shadow: var(--e-shadow);
}

.e360-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.e360-table th {
	padding: 0.75rem 1rem;
	text-align: left;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--e-muted);
	border-bottom: 1px solid var(--e-border);
	background: #FAFBFD;
}

.e360-table th:first-child {
	border-top-left-radius: var(--e-radius);
}

.e360-table th:last-child {
	border-top-right-radius: var(--e-radius);
}

.e360-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--e-border);
	vertical-align: middle;
}

.e360-table tr:last-child td {
	border-bottom: 0;
}

.e360-table td strong {
	color: var(--e-text);
}

.e360-table__msg {
	max-width: 240px;
	font-size: 0.8125rem;
}

.e360-table__actions {
	white-space: nowrap;
	text-align: right;
}

.e360-table__actions > * {
	vertical-align: middle;
}

@media (max-width: 760px) {
	.e360-table thead {
		display: none;
	}

	.e360-table,
	.e360-table tbody,
	.e360-table tr,
	.e360-table td {
		display: block;
		width: 100%;
	}

	.e360-table tr {
		padding: 0.85rem 1rem;
		border-bottom: 1px solid var(--e-border);
	}

	.e360-table tr:last-child {
		border-bottom: 0;
	}

	.e360-table td {
		padding: 0.2rem 0;
		border: 0;
	}

	.e360-table td[data-label]:not(:first-child)::before {
		content: attr(data-label) ": ";
		color: var(--e-muted);
		font-size: 0.75rem;
		font-weight: 700;
	}

	.e360-table__actions {
		text-align: left;
		padding-top: 0.6rem !important;
	}

	.e360-table__msg {
		max-width: none;
	}
}

.e360-menu {
	position: relative;
	display: inline-block;
}

.e360-menu__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	width: 280px;
	padding: 1rem;
	border: 1px solid var(--e-border);
	border-radius: 12px;
	background: var(--e-white);
	box-shadow: 0 16px 40px rgba(15, 27, 45, 0.16);
	text-align: left;
	white-space: normal;
}

.e360-menu__panel form {
	display: grid;
	gap: 0.6rem;
}

.e360-menu__panel form + form {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--e-border);
}

.e360-menu__panel input,
.e360-menu__panel select {
	margin-top: 0.25rem;
}

@media (max-width: 760px) {
	.e360-menu__panel {
		left: 0;
		right: auto;
	}
}

/* Compartir */
.e360-share-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.e360-share-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0;
	border-top: 1px solid var(--e-border);
}

.e360-share-list li:first-child {
	border-top: 0;
}

.e360-share-list strong {
	color: var(--e-text);
	margin-right: 0.4rem;
}

.e360-share-list .is-sent {
	background: var(--e-surface);
	color: var(--e-muted) !important;
}

/* Pago */
.e360-pay-methods {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.e360-pay-method {
	padding: 1rem;
	border: 1px solid var(--e-border);
	border-radius: 12px;
	background: var(--e-surface);
}

.e360-pay-method strong {
	display: block;
	color: var(--e-text);
}

.e360-pay-method--wide {
	grid-column: 1 / -1;
}

.e360-pay-number {
	display: block;
	margin: 0.25rem 0;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--e-primary);
	letter-spacing: 0.02em;
}

/* ---------- Acceso (ingresar / registro) ---------- */
.e360-auth {
	display: grid;
	min-height: 100vh;
}

@media (min-width: 960px) {
	.e360-auth {
		grid-template-columns: 1fr 1fr;
	}
}

.e360-auth__side {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.5rem;
	background:
		radial-gradient(500px 300px at 90% 100%, rgba(168, 207, 69, 0.22), transparent 70%),
		linear-gradient(160deg, var(--e-primary) 0%, var(--e-primary-2) 100%);
	color: rgba(255, 255, 255, 0.85);
}

.e360-auth__side .e360-brand {
	padding: 0;
}

.e360-auth__pitch {
	display: none;
}

@media (min-width: 960px) {
	.e360-auth__side {
		padding: 3rem;
	}

	.e360-auth__pitch {
		display: block;
		max-width: 420px;
		margin-bottom: 3rem;
	}
}

.e360-auth__pitch h2 {
	margin: 0 0 1.5rem;
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--e-white);
	letter-spacing: -0.02em;
}

.e360-auth__pitch ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.8rem;
	font-size: 1.0625rem;
}

.e360-auth__pitch li::before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-right: 0.6rem;
	border-radius: 50%;
	background: rgba(168, 207, 69, 0.2);
	color: var(--e-accent);
	font-weight: 800;
	font-size: 0.8125rem;
}

.e360-auth__main {
	display: grid;
	place-items: center;
	padding: 2rem 1.25rem 3rem;
	background: var(--e-white);
}

.e360-auth__box {
	width: 100%;
	max-width: 400px;
}

.e360-auth__box h1 {
	margin: 0 0 0.35rem;
	font-size: 1.75rem;
	font-weight: 800;
}

.e360-auth__box > .e360-muted {
	margin: 0 0 1.5rem;
}

.e360-auth__form {
	display: grid;
	gap: 1rem;
}

.e360-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.e360-auth__row .e360-check {
	margin: 0;
}

.e360-auth__switch {
	margin-top: 1.5rem;
	text-align: center;
	font-size: 0.9375rem;
}

.e360-auth__switch a {
	font-weight: 700;
}

.e360-hp {
	position: absolute !important;
	left: -9999px !important;
}

@media (prefers-reduced-motion: reduce) {
	.e360-app *,
	.e360-app *::before,
	.e360-app *::after {
		transition: none !important;
	}
}


/* ---------- Fase 1.5: prueba sin cuenta y editor ---------- */
.e360-guestbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: var(--e-primary);
}

.e360-guestbar .e360-brand {
	padding: 0;
}

.e360-guestbar .e360-brand img {
	height: 28px;
	max-height: none;
	width: auto;
}

.e360-app--guest .e360-shell {
	margin-left: 0;
}

.e360-app--guest .e360-main {
	max-width: 920px;
}

.e360-small {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
}

.e360-actions .e360-small {
	flex-basis: 100%;
}

.e360-hero-preview {
	display: grid;
	gap: 0.25rem;
	justify-items: center;
	margin-bottom: 1.25rem;
	padding: 1.75rem 1rem;
	border-radius: var(--e-radius);
	background: radial-gradient(circle at 50% 0, rgba(168, 207, 69, 0.18), transparent 65%), var(--e-primary);
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
}

.e360-hero-preview span {
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	min-height: 1.2em;
}

.e360-hero-preview span:last-child {
	text-transform: none;
	letter-spacing: 0;
	font-size: 1rem;
	font-style: italic;
}

.e360-hero-preview strong {
	color: var(--e-white);
	font-size: clamp(1.6rem, 5vw, 2.4rem);
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.e360-swatch--upload {
	position: relative;
	background: repeating-linear-gradient(45deg, #F7F5F2 0 8px, #EDE9E3 8px 16px);
}

.e360-swatch--upload::after {
	content: "+";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--e-primary);
	font-size: 1.6rem;
	font-weight: 700;
}

.e360-audio {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 0.5rem 0;
}

.e360-card-upload {
	margin: 1.25rem 0 0.5rem;
	padding: 1.25rem;
	border: 1.5px dashed var(--e-accent-text);
	border-radius: var(--e-radius);
	background: var(--e-accent-soft);
}

.e360-card-upload .e360-h3 {
	margin-top: 0;
}

.e360-help {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	background: var(--e-surface);
	font-size: 0.875rem;
}

.e360-help summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--e-primary);
}

.e360-help ol {
	margin: 0.6rem 0 0;
	padding-left: 1.2rem;
}

.e360-help li + li {
	margin-top: 0.3rem;
}

.e360-app input[type="file"].is-processing {
	opacity: 0.6;
}

/* ---------- Ideas de frases ---------- */
.e360-ideas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.25rem 0 0.75rem;
}

.e360-idea {
	padding: 0.5rem 0.85rem;
	border: 1.5px solid var(--e-border);
	border-radius: 999px;
	background: var(--e-white);
	color: var(--e-text);
	font: inherit;
	font-size: 0.8125rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.e360-idea:hover,
.e360-idea:focus-visible {
	border-color: var(--e-primary);
}

.e360-idea.is-active {
	border-color: var(--e-accent-text);
	background: var(--e-accent-soft);
	font-weight: 700;
}

.e360-ideas-more {
	margin: -0.25rem 0 1rem;
	font-size: 0.875rem;
}

.e360-ideas-more summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--e-primary);
}

.e360-ideas-more .e360-ideas {
	margin-top: 0.6rem;
}

.e360-hero-preview em {
	font-size: 1rem;
	font-style: italic;
	min-height: 0;
}

.e360-hero-preview .e360-hero-preview__top,
.e360-hero-preview.is-top .e360-hero-preview__bottom {
	display: none;
}

.e360-hero-preview.is-top .e360-hero-preview__top {
	display: block;
}

.e360-hero-preview em:empty {
	display: none !important;
}

.e360-hero-preview.is-flash {
	animation: e360-flash 0.6s ease;
}

@keyframes e360-flash {
	from { box-shadow: 0 0 0 4px var(--e-accent); }
	to { box-shadow: 0 0 0 0 transparent; }
}

.e360-segmented {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-top: 0.5rem;
	padding: 0.25rem;
	border-radius: 10px;
	background: var(--e-surface);
}

.e360-segmented label {
	position: relative;
	cursor: pointer;
}

.e360-segmented input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.e360-segmented span {
	display: block;
	padding: 0.4rem 0.8rem;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--e-muted);
}

.e360-segmented input:checked + span {
	background: var(--e-white);
	color: var(--e-primary);
	box-shadow: var(--e-shadow);
}

.e360-segmented input:focus-visible + span {
	outline: 2px solid var(--e-primary);
}

.e360-closing-preview {
	display: grid;
	gap: 0.2rem;
	justify-items: center;
	margin-bottom: 1rem;
	padding: 1.25rem 1rem;
	border-radius: var(--e-radius);
	background: var(--e-surface);
	text-align: center;
}

.e360-closing-preview span {
	font-style: italic;
	min-height: 1.2em;
}

.e360-closing-preview strong {
	color: var(--e-primary);
	font-size: 1.35rem;
}

@media (prefers-reduced-motion: reduce) {
	.e360-hero-preview.is-flash {
		animation: none;
	}
}

/* ---------- Compartir: mensajes de WhatsApp ---------- */
.e360-share-form {
	margin-top: 1.25rem;
}

.e360-save-status {
	font-size: 0.8125rem;
	color: var(--e-accent-text);
	font-weight: 600;
}

.e360-link-btn {
	margin-left: 0.35rem;
	padding: 0.1rem 0.45rem;
	border: 1px solid var(--e-border);
	border-radius: 6px;
	background: var(--e-white);
	color: var(--e-primary);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
}

.e360-link-btn:hover {
	border-color: var(--e-primary);
}

.e360-wa-preview {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.5rem;
	padding: 1rem;
	border-radius: var(--e-radius);
	background: #ECE5DD;
}

.e360-wa-bubble {
	justify-self: end;
	max-width: 420px;
	padding: 0.6rem 0.8rem;
	border-radius: 10px 10px 2px 10px;
	background: #D9FDD3;
	color: #111B21;
	font-size: 0.9rem;
	line-height: 1.45;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
