/* NINA V26 — interfaz pública por pantallas, voz primero, sin chat. */

#abn-root {
	--abn-surface: #0d1016;
	--abn-surface-raised: #151922;
	--abn-surface-soft: #1b202b;
	--abn-line: rgba(255, 255, 255, .09);
	--abn-line-strong: rgba(255, 255, 255, .16);
	--abn-muted: #9ba4b4;
	--abn-success: #45d49a;
	--abn-warning: #f2b84b;
	--abn-danger: #ff6e76;
	--abn-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: fixed;
	z-index: 2147483000;
	inset: auto 0 0 auto;
	font-family: var(--abn-font);
	font-size: 14px;
	line-height: 1.45;
	color: var(--abn-text, #f4f5f7);
	text-align: left;
	color-scheme: dark;
}

#abn-root.abn-theme-claro {
	--abn-surface: #fbfbfc;
	--abn-surface-raised: #fff;
	--abn-surface-soft: #f0f2f6;
	--abn-line: rgba(21, 27, 38, .1);
	--abn-line-strong: rgba(21, 27, 38, .18);
	--abn-muted: #697386;
	--abn-text: #161a22 !important;
	color-scheme: light;
}

#abn-root.abn-font-sitio { --abn-font: inherit; }
#abn-root *, #abn-root *::before, #abn-root *::after { box-sizing: border-box; }
#abn-root h2, #abn-root h3, #abn-root p, #abn-root span, #abn-root div,
#abn-root button, #abn-root textarea, #abn-root label { font-family: var(--abn-font) !important; }
#abn-root h2, #abn-root h3, #abn-root p { margin: 0; padding: 0; }
#abn-root button, #abn-root textarea { -webkit-appearance: none; appearance: none; }
#abn-root button {
	margin: 0;
	border: 0;
	font: inherit;
	cursor: pointer;
	touch-action: manipulation;
}
#abn-root button:focus-visible, #abn-root textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--abn-accent) 68%, white);
	outline-offset: 3px;
}
#abn-root .material-symbols-rounded {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Material Symbols Rounded" !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: "liga";
}

/* Lanzador */
#abn-fab {
	position: fixed;
	right: var(--abn-off-x, 22px);
	bottom: var(--abn-off-y, 22px);
	z-index: 2147483002;
	display: grid;
	place-items: center;
	width: var(--abn-btn-size, 68px);
	height: var(--abn-btn-size, 68px);
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 22px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--abn-btn-color) 86%, white), var(--abn-btn-color));
	box-shadow: 0 20px 50px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
	color: #fff;
	transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.abn-pos-bottom-left #abn-fab { right: auto; left: var(--abn-off-x, 22px); }
#abn-fab:hover { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(0, 0, 0, .36); }
#abn-fab .material-symbols-rounded { font-size: calc(var(--abn-btn-size, 68px) * .42); }
#abn-fab .abn-fab-emoji { font-size: calc(var(--abn-btn-size, 68px) * .46); line-height: 1; }
#abn-root.abn-open #abn-fab { transform: translateY(8px) scale(.88); opacity: 0; pointer-events: none; }
.abn-fab-pulse { position: absolute; inset: -5px; border: 1px solid color-mix(in srgb, var(--abn-btn-color) 55%, transparent); border-radius: 26px; pointer-events: none; }
.abn-anim-saludo #abn-fab-icon { animation: abn-v26-wave 2.8s ease-in-out infinite; transform-origin: 70% 80%; }
.abn-anim-pulso #abn-fab .abn-fab-pulse { animation: abn-v26-pulse 1.8s ease-out infinite; }
.abn-anim-rebote #abn-fab { animation: abn-v26-bounce 2.5s ease infinite; }
.abn-anim-ninguna #abn-fab, .abn-anim-ninguna #abn-fab-icon, .abn-anim-ninguna .abn-fab-pulse { animation: none; }
#abn-fab.abn-live { box-shadow: 0 0 0 4px rgba(69, 212, 154, .24), 0 20px 50px rgba(0, 0, 0, .32); }
#abn-fab.abn-live .abn-fab-pulse { border-color: rgba(69, 212, 154, .75); animation: abn-v26-pulse 1.8s ease-out infinite; }
#abn-fab.abn-speaking { animation: abn-v26-speaking .9s ease-in-out infinite; }

.abn-fab-label {
	position: fixed;
	right: calc(var(--abn-off-x, 22px) + var(--abn-btn-size, 68px) + 12px);
	bottom: calc(var(--abn-off-y, 22px) + 12px);
	z-index: 2147483001;
	max-width: 220px;
	padding: 10px 15px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px 14px 4px 14px;
	background: #141821;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .26);
	color: #fff;
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
}
.abn-label-grande .abn-fab-label { padding: 12px 17px; font-size: 14px; }
.abn-pos-bottom-left .abn-fab-label { right: auto; left: calc(var(--abn-off-x, 22px) + var(--abn-btn-size, 68px) + 12px); border-radius: 14px 14px 14px 4px; }
#abn-root.abn-open .abn-fab-label { display: none; }

/* Panel y estructura */
#abn-panel {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 2147483001;
	display: flex;
	flex-direction: column;
	width: min(482px, calc(100vw - 32px));
	height: min(760px, calc(100dvh - 32px));
	min-height: 560px;
	overflow: hidden;
	border: 1px solid var(--abn-line-strong);
	border-radius: 32px;
	background:
		radial-gradient(circle at 76% -12%, color-mix(in srgb, var(--abn-accent) 15%, transparent), transparent 36%),
		var(--abn-surface);
	box-shadow: 0 36px 100px rgba(0, 0, 0, .44), 0 1px 0 rgba(255, 255, 255, .08) inset;
	opacity: 0;
	transform: translateY(24px) scale(.96);
	transform-origin: calc(100% - 32px) 100%;
	pointer-events: none;
	transition: opacity .24s ease, transform .32s cubic-bezier(.2,.8,.2,1);
}
.abn-pos-bottom-left #abn-panel { right: auto; left: 16px; transform-origin: 32px 100%; }
#abn-root.abn-open #abn-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#abn-panel::before { content: ""; position: absolute; z-index: 3; inset: 0 auto auto 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--abn-accent), transparent); opacity: .8; pointer-events: none; }

.abn-panel-head {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	padding: 16px 18px 14px;
	border-bottom: 1px solid var(--abn-line);
	background: color-mix(in srgb, var(--abn-surface) 92%, transparent);
}
.abn-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.abn-brand-mark { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .24); border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--abn-accent) 80%, #ffbc86), var(--abn-accent)); box-shadow: 0 10px 24px color-mix(in srgb, var(--abn-accent) 28%, transparent); }
.abn-brand-mark > span { width: 17px; height: 17px; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.abn-brand-name { overflow: hidden; color: var(--abn-text); font-size: 15px; font-weight: 820; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.abn-brand-sub { margin-top: 2px; color: var(--abn-muted); font-size: 9.5px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.abn-head-actions { display: flex; gap: 8px; }
.abn-icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--abn-line); border-radius: 14px; background: var(--abn-surface-soft); color: var(--abn-muted); transition: .18s ease; }
.abn-icon-btn:hover { border-color: color-mix(in srgb, var(--abn-accent) 46%, transparent); color: var(--abn-text); transform: translateY(-1px); }
.abn-icon-btn .material-symbols-rounded { font-size: 19px; }

.abn-session-bar { display: flex; align-items: center; gap: 7px; min-height: 50px; padding: 9px 18px; border-bottom: 1px solid var(--abn-line); background: color-mix(in srgb, var(--abn-surface) 96%, white); }
.abn-power-controls { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.abn-power-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 42px; min-height: 27px; padding: 4px 7px; border: 1px solid var(--abn-line) !important; border-radius: 999px; background: transparent; color: var(--abn-muted); font-size: 8px !important; font-weight: 850 !important; letter-spacing: .05em; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.abn-power-button:hover { transform: translateY(-1px); }
.abn-power-button .abn-dot { width: 6px; height: 6px; }
.abn-power-button.is-connect { border-color: rgba(69, 212, 154, .24) !important; color: color-mix(in srgb, var(--abn-success) 68%, var(--abn-muted)); }
.abn-power-button.is-connect .abn-dot { background: var(--abn-success); }
.abn-power-button.is-disconnect { border-color: rgba(255, 110, 118, .24) !important; color: color-mix(in srgb, var(--abn-danger) 68%, var(--abn-muted)); }
.abn-power-button.is-disconnect .abn-dot { background: var(--abn-danger); }
.abn-power-button.is-connect.is-active { border-color: rgba(69, 212, 154, .56) !important; background: rgba(69, 212, 154, .13); color: var(--abn-success); box-shadow: 0 0 14px rgba(69, 212, 154, .16); }
.abn-power-button.is-disconnect.is-active { border-color: rgba(255, 110, 118, .48) !important; background: rgba(255, 110, 118, .11); color: var(--abn-danger); }
.abn-power-button.is-pending .abn-dot { animation: abn-v26-dot .7s ease infinite; }
.abn-connection, .abn-activity { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 9px; border: 1px solid var(--abn-line); border-radius: 999px; color: var(--abn-muted); font-size: 10px; font-weight: 760; }
.abn-connection { max-width: 94px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abn-activity { padding-inline: 8px; }
.abn-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #7f8898; }
.abn-connection.ok, .abn-activity.ok { border-color: rgba(69, 212, 154, .28); color: var(--abn-success); }
.abn-connection.ok .abn-dot, .abn-activity.ok .abn-dot { background: var(--abn-success); box-shadow: 0 0 9px rgba(69, 212, 154, .7); }
.abn-connection.warn, .abn-activity.warn { border-color: rgba(242, 184, 75, .3); color: var(--abn-warning); }
.abn-connection.warn .abn-dot, .abn-activity.warn .abn-dot { background: var(--abn-warning); animation: abn-v26-dot 1.2s ease infinite; }
.abn-connection.err, .abn-activity.err { border-color: rgba(255, 110, 118, .3); color: var(--abn-danger); }
.abn-connection.err .abn-dot, .abn-activity.err .abn-dot { background: var(--abn-danger); }
.abn-context { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--abn-muted); font-size: 9.5px; white-space: nowrap; }
.abn-context .material-symbols-rounded { color: var(--abn-accent); font-size: 15px; }

.abn-screen-stack { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.abn-screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 22px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateX(18px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .26s ease, visibility 0s linear .26s; }
.abn-screen.is-active { position: absolute; opacity: 1; transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
.abn-screen::-webkit-scrollbar { width: 5px; }
.abn-screen::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(127, 136, 152, .32); }
.abn-screen-meta { display: flex; align-items: center; justify-content: space-between; color: color-mix(in srgb, var(--abn-muted) 82%, var(--abn-accent)); font-size: 9px; font-weight: 820; letter-spacing: .13em; }
.abn-version-pill { padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--abn-accent) 46%, transparent); border-radius: 999px; color: var(--abn-accent); letter-spacing: .04em; }

/* Inicio */
.abn-start-hero { padding-top: 3px; }
.abn-route-symbol { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px; border: 1px solid color-mix(in srgb, var(--abn-accent) 46%, transparent); border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--abn-accent) 14%, transparent), color-mix(in srgb, var(--abn-accent) 4%, transparent)); color: var(--abn-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.abn-route-symbol .material-symbols-rounded { font-size: 31px; }
.abn-eyebrow { margin-bottom: 6px !important; color: var(--abn-muted); font-size: 11px; font-weight: 760; letter-spacing: .02em; }
.abn-start-hero h2, .abn-centered-screen h2 { color: var(--abn-text); font-size: clamp(28px, 6vw, 38px); font-weight: 820; line-height: 1.03; letter-spacing: -.045em; }
.abn-start-hero #abn-welcome-msg { margin-top: 12px; color: var(--abn-muted); font-size: 13.5px; line-height: 1.62; }
.abn-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.abn-path-card { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; min-height: 64px; padding: 11px; border: 1px solid var(--abn-line); border-radius: 17px; background: linear-gradient(145deg, var(--abn-surface-raised), color-mix(in srgb, var(--abn-surface-raised) 90%, var(--abn-accent))); color: var(--abn-text); text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.abn-path-card:hover { border-color: color-mix(in srgb, var(--abn-accent) 50%, transparent); transform: translateY(-2px); }
.abn-path-card > .material-symbols-rounded:first-child { width: 26px; height: 26px; border-radius: 9px; background: color-mix(in srgb, var(--abn-accent) 12%, transparent); color: var(--abn-accent); font-size: 17px; }
.abn-path-card > span:nth-child(2) { font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.abn-path-arrow { color: var(--abn-muted); font-size: 15px !important; }
.abn-primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; width: 100%; padding: 13px 18px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--abn-accent) 86%, #ffb070), var(--abn-accent)); box-shadow: 0 15px 34px color-mix(in srgb, var(--abn-accent) 27%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 820; transition: filter .18s ease, transform .18s ease; }
.abn-primary-action:hover { filter: brightness(1.08); transform: translateY(-1px); }
.abn-primary-action:disabled { filter: grayscale(.65); opacity: .45; cursor: default; transform: none; }
.abn-primary-action .material-symbols-rounded { font-size: 21px; }
.abn-wave-icon { display: inline-flex; align-items: center; gap: 2px; height: 18px; }
.abn-wave-icon i { display: block; width: 2px; height: 7px; border-radius: 99px; background: #fff; animation: abn-v26-bars .9s ease-in-out infinite; }
.abn-wave-icon i:nth-child(2), .abn-wave-icon i:nth-child(4) { height: 14px; animation-delay: -.55s; }
.abn-wave-icon i:nth-child(3) { height: 18px; animation-delay: -.3s; }
.abn-trust { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--abn-muted); font-size: 10.5px; text-align: center; }
.abn-trust .material-symbols-rounded { color: var(--abn-success); font-size: 16px; }
.abn-inline-hint { min-height: 16px; color: var(--abn-danger); font-size: 10.5px; text-align: center; }

/* Pantalla de objetivo */
.abn-progress { display: grid; flex: 0 0 auto; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--abn-line); border-radius: 18px; background: var(--abn-surface-raised); }
.abn-progress > .material-symbols-rounded { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: color-mix(in srgb, var(--abn-accent) 12%, transparent); color: var(--abn-accent); font-size: 22px; }
.abn-progress-copy { display: flex; flex-direction: column; min-width: 0; }
.abn-progress-overline { margin-bottom: 2px; color: var(--abn-muted); font-size: 8px; font-weight: 820; letter-spacing: .12em; }
.abn-progress-copy strong { overflow: hidden; color: var(--abn-text); font-size: 12px; font-weight: 790; text-overflow: ellipsis; white-space: nowrap; }
.abn-progress-copy > span:last-child { overflow: hidden; color: var(--abn-muted); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.abn-proof-pill { padding: 5px 7px; border: 1px solid var(--abn-line); border-radius: 999px; color: var(--abn-muted); font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.abn-progress[data-stage="connecting"], .abn-progress[data-stage="thinking"], .abn-progress[data-stage="observing"], .abn-progress[data-stage="acting"] { border-color: rgba(242, 184, 75, .28); }
.abn-progress[data-stage="connecting"] > .material-symbols-rounded, .abn-progress[data-stage="thinking"] > .material-symbols-rounded, .abn-progress[data-stage="observing"] > .material-symbols-rounded, .abn-progress[data-stage="acting"] > .material-symbols-rounded { color: var(--abn-warning); animation: abn-v26-soft-pulse 1.25s ease infinite; }
.abn-progress[data-stage="verified"] { border-color: rgba(69, 212, 154, .32); }
.abn-progress[data-stage="verified"] > .material-symbols-rounded, .abn-progress[data-stage="verified"] .abn-proof-pill { color: var(--abn-success); }
.abn-progress[data-stage="blocked"] { border-color: rgba(255, 110, 118, .3); }
.abn-progress[data-stage="blocked"] > .material-symbols-rounded, .abn-progress[data-stage="blocked"] .abn-proof-pill { color: var(--abn-danger); }

.abn-voice-stage { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; padding: 3px 0 1px; text-align: center; }
.abn-orb-wrap { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 7px; }
.abn-orb { position: relative; z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; padding: 0; border: 1px solid color-mix(in srgb, var(--abn-accent) 50%, transparent); border-radius: 50%; background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--abn-accent) 80%, white), color-mix(in srgb, var(--abn-accent) 38%, #202733) 58%, #151922); box-shadow: 0 14px 40px color-mix(in srgb, var(--abn-accent) 24%, transparent), inset 0 2px 1px rgba(255,255,255,.2); color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.abn-orb:hover { transform: scale(1.04); }
.abn-orb .material-symbols-rounded { font-size: 26px; }
.abn-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--abn-accent) 27%, transparent); border-radius: 50%; }
.abn-orbit-one { inset: 11px; }
.abn-orbit-two { inset: 1px; opacity: .55; }
.abn-orb-wrap.listening .abn-orbit-one, .abn-orb.listening ~ .abn-orbit-one { animation: abn-v26-orbit 1.7s ease-out infinite; }
.abn-orb-wrap.listening .abn-orbit-two { animation: abn-v26-orbit 1.7s .45s ease-out infinite; }
.abn-orb.listening { box-shadow: 0 0 48px color-mix(in srgb, var(--abn-accent) 46%, transparent); }
.abn-orb.speaking, .abn-orb-wrap.speaking .abn-orb { transform: scale(1.06); animation: abn-v26-speaking .9s ease-in-out infinite; }
.abn-voice-title { color: var(--abn-text); font-size: 13px; font-weight: 780; }
.abn-caption { min-height: 16px; margin-top: 3px !important; color: var(--abn-muted); font-size: 10px; }

.abn-objective-card, .abn-guidance { flex: 0 0 auto; padding: 14px 15px; border: 1px solid var(--abn-line); border-radius: 18px; background: var(--abn-surface-raised); }
.abn-objective-card { border-left: 3px solid color-mix(in srgb, var(--abn-accent) 72%, transparent); }
.abn-card-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: var(--abn-muted); font-size: 8.5px; font-weight: 820; letter-spacing: .12em; }
.abn-card-label .material-symbols-rounded { color: var(--abn-accent); font-size: 15px; }
.abn-objective-card p { color: var(--abn-text); font-size: 12px; font-weight: 680; line-height: 1.5; }
.abn-objective-card p[data-empty="true"] { color: var(--abn-muted); font-weight: 520; }
.abn-guidance { background: linear-gradient(145deg, color-mix(in srgb, var(--abn-accent) 8%, var(--abn-surface-raised)), var(--abn-surface-raised)); }
.abn-guidance h3 { color: var(--abn-text); font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.abn-guidance p { margin-top: 5px; color: var(--abn-muted); font-size: 11px; line-height: 1.52; }
.abn-guidance[data-empty="true"] { opacity: .78; }

.abn-journey-controls { position: sticky; z-index: 4; bottom: -10px; display: grid; flex: 0 0 auto; grid-template-columns: 1fr auto; gap: 9px; margin-top: auto; padding: 8px 0 2px; background: linear-gradient(180deg, transparent, var(--abn-surface) 20%); }
.abn-control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--abn-line); border-radius: 16px; background: var(--abn-surface-soft); color: var(--abn-text); font-size: 11px; font-weight: 780; transition: .18s ease; }
.abn-control:hover { border-color: color-mix(in srgb, var(--abn-accent) 44%, transparent); transform: translateY(-1px); }
.abn-control .material-symbols-rounded { font-size: 20px; }
.abn-control-primary.on, .abn-control-primary { background: color-mix(in srgb, var(--abn-accent) 12%, var(--abn-surface-soft)); }
.abn-control-primary.on .material-symbols-rounded { color: var(--abn-success); }
.abn-control-danger { padding-inline: 13px; color: var(--abn-danger); }

/* Vitrina generada por el ejecutor */
.abn-cards { display: none; flex: 0 0 auto; gap: 10px; min-height: 0; padding: 2px 1px 8px; overflow-x: auto; overflow-y: hidden; scrollbar-color: color-mix(in srgb, var(--abn-accent) 42%, transparent) transparent; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.abn-cards.show { display: flex; }
.abn-cards::-webkit-scrollbar { height: 4px; }
.abn-cards::-webkit-scrollbar-track { background: transparent; }
.abn-cards::-webkit-scrollbar-thumb { border-radius: 99px; background: color-mix(in srgb, var(--abn-accent) 42%, transparent); }
.abn-card { display: flex; flex: 0 0 168px; flex-direction: column; gap: 6px; min-height: 202px; padding: 10px; border: 1px solid var(--abn-line); border-radius: 17px; background: var(--abn-surface-raised); scroll-snap-align: start; }
.abn-card-img, #abn-root .abn-card img { width: 100%; height: 86px; object-fit: cover; border-radius: 12px; background: var(--abn-surface-soft); }
.abn-card-name { color: var(--abn-text); font-size: 11px; font-weight: 780; line-height: 1.35; }
.abn-card-price { color: var(--abn-accent); font-size: 12px; font-weight: 820; }
.abn-card-stock { color: var(--abn-muted); font-size: 9px; }
.abn-card-actions { display: flex; gap: 6px; margin-top: auto; }
.abn-card-btn { flex: 1; min-height: 30px; padding: 5px 7px; border: 1px solid var(--abn-line); border-radius: 9px; background: var(--abn-surface-soft); color: var(--abn-text); font-size: 9px; font-weight: 780; }
.abn-card-btn.primary { border-color: transparent; background: var(--abn-accent); color: #fff; }

/* Permiso y cierre */
.abn-centered-screen { align-items: center; justify-content: center; text-align: center; }
.abn-centered-screen > p:not(.abn-eyebrow):not(.abn-rating-status) { max-width: 330px; color: var(--abn-muted); font-size: 13px; line-height: 1.6; }
.abn-centered-screen .abn-primary-action { max-width: 310px; margin-top: 6px; }
.abn-state-symbol { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; border: 1px solid var(--abn-line); border-radius: 28px; background: var(--abn-surface-raised); }
.abn-state-symbol .material-symbols-rounded { font-size: 38px; }
.abn-state-symbol.is-warning { border-color: rgba(242, 184, 75, .3); color: var(--abn-warning); }
.abn-state-symbol.is-success { border-color: rgba(69, 212, 154, .3); color: var(--abn-success); }
.abn-link-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; border-radius: 12px; background: transparent; color: var(--abn-muted); font-size: 11px; font-weight: 740; text-decoration: underline; text-underline-offset: 3px; }
.abn-link-action:hover { color: var(--abn-text); }
.abn-rating-stars { display: flex; justify-content: center; gap: 6px; margin: 7px 0; }
.abn-star { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--abn-line); border-radius: 13px; background: var(--abn-surface-raised); color: #6e7582; font-size: 20px; transition: .16s ease; }
.abn-star:hover { transform: translateY(-2px); }
.abn-star.is-on { border-color: rgba(242, 184, 75, .45); background: rgba(242, 184, 75, .09); color: var(--abn-warning); }
.abn-rating-label { width: 100%; max-width: 340px; color: var(--abn-muted); font-size: 10px; font-weight: 740; text-align: left; }
#abn-rating-comment { width: 100%; max-width: 340px; min-height: 78px; resize: vertical; padding: 11px 12px; border: 1px solid var(--abn-line); border-radius: 14px; background: var(--abn-surface-raised); color: var(--abn-text); font-size: 11px; line-height: 1.5; }
#abn-rating-comment::placeholder { color: var(--abn-muted); }
.abn-rating-actions { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; width: 100%; max-width: 340px; }
.abn-rating-actions .abn-primary-action { min-height: 48px; margin: 0; }
.abn-rating-status { min-height: 18px; color: var(--abn-muted); font-size: 10px; }

/* Audio, avisos y evidencia sobre la página */
.abn-audio-unlock { position: fixed; right: 22px; bottom: 94px; z-index: 2147483004; display: none; align-items: center; gap: 8px; max-width: min(320px, calc(100vw - 32px)); padding: 11px 15px; border: 1px solid rgba(242, 184, 75, .42); border-radius: 14px; background: #201b10; box-shadow: 0 16px 38px rgba(0,0,0,.36); color: #ffe0a0; font-size: 11px; font-weight: 760; }
.abn-audio-unlock.show { display: inline-flex; }
.abn-pos-bottom-left .abn-audio-unlock { right: auto; left: 22px; }
.abn-audio-unlock .material-symbols-rounded { font-size: 20px; }
.abn-toast { position: fixed; z-index: 2147483005; left: 50%; bottom: 22px; max-width: min(430px, calc(100vw - 32px)); padding: 12px 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #1a1f29; box-shadow: 0 18px 42px rgba(0,0,0,.42); color: #fff; font-size: 11px; text-align: center; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .22s ease; }
.abn-toast.show { opacity: 1; transform: translate(-50%, 0); }
.abn-toast.err { background: #481e24; }
.abn-toast.ok { background: #123b2d; }
.abn-flash-target { animation: abn-v26-flash 1.1s ease !important; }
.abn-visual-layer { position: fixed; z-index: 2147482999; inset: 0; pointer-events: none; }
.abn-hl-ring { position: fixed; border: 3px solid var(--abn-accent, #ff5a2f); border-radius: 12px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--abn-accent) 18%, transparent), 0 0 30px color-mix(in srgb, var(--abn-accent) 38%, transparent); transition: all .3s ease; }
.abn-hl-pointer { position: fixed; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--abn-accent, #ff5a2f); box-shadow: 0 8px 24px color-mix(in srgb, var(--abn-accent) 38%, transparent); color: #fff; }
.abn-click-dot { position: fixed; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--abn-accent, #ff5a2f); animation: abn-v26-click .55s ease-out forwards; }
.abn-action-receipt { position: fixed; z-index: 2147483004; left: 50%; bottom: 20px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; min-width: 260px; max-width: calc(100vw - 30px); padding: 11px 14px; border: 1px solid var(--abn-line-strong); border-radius: 16px; background: #141922; box-shadow: 0 18px 50px rgba(0,0,0,.45); color: #fff; opacity: 0; transform: translate(-50%, 12px); transition: .22s ease; }
.abn-action-receipt.is-visible { opacity: 1; transform: translate(-50%, 0); }
.abn-action-receipt__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--abn-accent, #ff5a2f); }
.abn-action-receipt[data-state="working"] .abn-action-receipt__icon { animation: abn-v26-soft-pulse .7s ease infinite; }
.abn-action-receipt[data-state="done"] { border-color: rgba(69, 212, 154, .52); }
.abn-action-receipt[data-state="done"] .abn-action-receipt__icon { background: var(--abn-success); }
.abn-action-receipt[data-state="failed"] { border-color: rgba(242, 184, 75, .52); }
.abn-action-receipt[data-state="failed"] .abn-action-receipt__icon { background: var(--abn-warning); }
.abn-action-receipt strong, .abn-action-receipt small { display: block; }
.abn-action-receipt strong { font-size: 11px; }
.abn-action-receipt small { margin-top: 2px; color: #b7c0ce; font-size: 9px; }

@keyframes abn-v26-wave { 0%, 55%, 100% { transform: rotate(0); } 62% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 78% { transform: rotate(-8deg); } }
@keyframes abn-v26-pulse { 0% { opacity: .85; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes abn-v26-bounce { 0%, 75%, 100% { transform: translateY(0); } 82% { transform: translateY(-8px); } 90% { transform: translateY(0); } 95% { transform: translateY(-3px); } }
@keyframes abn-v26-bars { 0%, 100% { transform: scaleY(.65); } 50% { transform: scaleY(1.15); } }
@keyframes abn-v26-dot { 0%, 100% { opacity: .45; } 50% { opacity: 1; box-shadow: 0 0 9px currentColor; } }
@keyframes abn-v26-orbit { 0% { opacity: .65; transform: scale(.72); } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes abn-v26-soft-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes abn-v26-speaking { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes abn-v26-flash { 0%, 100% { box-shadow: inherit; } 30%, 70% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--abn-accent) 48%, transparent), 0 0 34px color-mix(in srgb, var(--abn-accent) 48%, transparent); } }
@keyframes abn-v26-click { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.2); } }

@media (max-width: 620px) {
	#abn-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: min(720px, calc(100dvh - 16px)); min-height: 0; border-radius: 24px; }
	.abn-pos-bottom-left #abn-panel { left: 8px; }
	.abn-panel-head { min-height: 72px; padding: 13px 14px 12px; }
	.abn-brand-mark { width: 40px; height: 40px; border-radius: 14px; }
	.abn-icon-btn { width: 39px; height: 39px; }
	.abn-session-bar { min-height: 45px; padding: 7px 14px; }
	.abn-power-button { min-width: 38px; min-height: 25px; padding-inline: 6px; }
	.abn-connection { display: none; }
	.abn-context { font-size: 0; }
	.abn-context .material-symbols-rounded { font-size: 16px; }
	.abn-screen { gap: 13px; padding: 16px; }
	.abn-route-symbol { width: 58px; height: 58px; margin-bottom: 15px; border-radius: 19px; }
	.abn-start-hero h2, .abn-centered-screen h2 { font-size: 30px; }
	.abn-path-card { min-height: 58px; padding: 9px; }
	.abn-primary-action { min-height: 52px; }
	.abn-progress { grid-template-columns: 38px 1fr auto; padding: 10px; }
	.abn-progress > .material-symbols-rounded { width: 38px; height: 38px; }
	.abn-orb-wrap { width: 94px; height: 94px; margin-bottom: 3px; }
	.abn-orb { width: 62px; height: 62px; }
	.abn-objective-card, .abn-guidance { padding: 12px 13px; }
}

@media (max-width: 380px), (max-height: 660px) {
	.abn-panel-head { min-height: 64px; }
	.abn-brand-mark { width: 36px; height: 36px; }
	.abn-session-bar { min-height: 41px; }
	.abn-activity { display: none; }
	.abn-screen { gap: 10px; padding: 13px; }
	.abn-screen-meta { display: none; }
	.abn-route-symbol { width: 48px; height: 48px; margin-bottom: 10px; border-radius: 16px; }
	.abn-route-symbol .material-symbols-rounded { font-size: 25px; }
	.abn-start-hero h2, .abn-centered-screen h2 { font-size: 26px; }
	.abn-start-hero #abn-welcome-msg { margin-top: 7px; font-size: 11.5px; }
	.abn-path-card { grid-template-columns: 22px 1fr; min-height: 48px; padding: 7px 9px; }
	.abn-path-arrow { display: none !important; }
	.abn-path-card > span:nth-child(2) { font-size: 10.5px; }
	.abn-trust { display: none; }
	.abn-progress { grid-template-columns: 34px 1fr; }
	.abn-progress > .material-symbols-rounded { width: 34px; height: 34px; }
	.abn-proof-pill { display: none; }
	.abn-voice-stage { flex-direction: row; gap: 10px; padding: 0 4px; text-align: left; }
	.abn-orb-wrap { width: 64px; height: 64px; flex: 0 0 64px; margin: 0; }
	.abn-orb { width: 46px; height: 46px; }
	.abn-orb .material-symbols-rounded { font-size: 20px; }
	.abn-voice-title { position: absolute; left: 88px; margin-top: -14px !important; }
	.abn-caption { margin: 15px 0 0 !important; }
	.abn-guidance h3 { font-size: 14px; }
	.abn-card { flex-basis: 148px; min-height: 184px; }
	.abn-card-img, #abn-root .abn-card img { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	#abn-root *, #abn-root *::before, #abn-root *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
