:root {
	--myspio-navy: #183c66;
	--myspio-navy-deep: #0f2948;
	--myspio-lime: #9fd63a;
	--myspio-blue: #869dfa;
	--myspio-cloud: #f3f4f6;
	--myspio-cream: #f7fadf;
	--myspio-soft-lime: #e9f6b5;
	--myspio-white: #fff;
	--myspio-danger: #b4233b;
	--myspio-success: #24763d;
	--myspio-shadow: 0 18px 48px rgba(24, 60, 102, 0.12);
	--myspio-radius: 28px;
	--myspio-font-display: "Right Grotesk", "Arial Narrow", sans-serif;
	--myspio-font-body: "Source Sans Pro", "Segoe UI", sans-serif;
}

.myspio-portal-page {
	background:
		radial-gradient(circle at 105% 12%, rgba(159, 214, 58, 0.22) 0 18rem, transparent 18.1rem),
		linear-gradient(180deg, #fff 0, var(--myspio-cream) 100%);
	color: var(--myspio-navy);
	font-family: var(--myspio-font-body);
}

.myspio-portal-page * {
	box-sizing: border-box;
}

.myspio-app,
.myspio-auth-layout {
	width: min(100%, 960px);
	margin: 0 auto;
	padding: 28px 18px 108px;
}

.myspio-app > *,
.myspio-auth-layout > * {
	animation: myspio-rise 0.48s both;
}

.myspio-app > *:nth-child(2),
.myspio-auth-layout > *:nth-child(2) {
	animation-delay: 70ms;
}

.myspio-app > *:nth-child(3) {
	animation-delay: 130ms;
}

.myspio-app h1,
.myspio-app h2,
.myspio-auth-layout h1,
.myspio-auth-layout h2 {
	margin: 0;
	color: var(--myspio-navy);
	font-family: var(--myspio-font-display);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 0.98;
}

.myspio-app h1,
.myspio-auth-layout h1 {
	font-size: clamp(2.75rem, 12vw, 5.75rem);
}

.myspio-app h2,
.myspio-auth-layout h2 {
	font-size: clamp(1.65rem, 7vw, 2.6rem);
}

.myspio-app p,
.myspio-auth-layout p {
	line-height: 1.5;
}

.myspio-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--myspio-navy);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.myspio-brand-mark {
	display: inline-block;
	margin-bottom: 42px;
	color: var(--myspio-navy);
	font-family: var(--myspio-font-display);
	font-size: 2rem;
	letter-spacing: -0.05em;
}

.myspio-brand-mark b {
	color: #679516;
	font-weight: inherit;
}

.myspio-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 28px;
}

.myspio-hero p,
.myspio-page-header p,
.myspio-auth-intro p {
	max-width: 36rem;
	margin: 14px 0 0;
	color: #4d6279;
	font-size: 1.08rem;
}

.myspio-avatar {
	display: grid;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	place-items: center;
	border: 2px solid var(--myspio-navy);
	border-radius: 42% 58% 46% 54%;
	background: var(--myspio-lime);
	font-weight: 800;
}

.myspio-page-header {
	margin-bottom: 28px;
}

.myspio-panel {
	border: 1px solid rgba(24, 60, 102, 0.1);
	border-radius: var(--myspio-radius);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--myspio-shadow);
}

.myspio-points-card {
	position: relative;
	overflow: hidden;
	min-height: 260px;
	margin-bottom: 18px;
	padding: 28px;
	border-radius: 34px 34px 88px 34px;
	background: var(--myspio-navy);
	box-shadow: 0 24px 56px rgba(15, 41, 72, 0.24);
	color: #fff;
}

.myspio-points-card::after {
	position: absolute;
	right: -64px;
	bottom: -84px;
	width: 220px;
	height: 220px;
	border: 44px solid var(--myspio-lime);
	border-radius: 50%;
	content: "";
	opacity: 0.9;
}

.myspio-orbit {
	position: absolute;
	top: -42px;
	right: -30px;
	width: 142px;
	height: 142px;
	border: 26px solid rgba(134, 157, 250, 0.62);
	border-radius: 48% 52% 45% 55%;
	transform: rotate(22deg);
}

.myspio-points-copy {
	position: relative;
	z-index: 1;
	display: grid;
	width: fit-content;
}

.myspio-points-copy > span {
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.myspio-points-copy strong {
	margin-top: 6px;
	font-family: var(--myspio-font-display);
	font-size: clamp(4.75rem, 24vw, 8rem);
	font-weight: 500;
	letter-spacing: -0.06em;
	line-height: 0.84;
}

.myspio-points-copy small {
	margin-top: 6px;
	color: var(--myspio-lime);
	font-size: 1.1rem;
	font-weight: 700;
}

.myspio-points-card > a {
	position: absolute;
	z-index: 2;
	right: 26px;
	bottom: 25px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.myspio-action-grid,
.myspio-help-grid {
	display: grid;
	gap: 14px;
	margin-bottom: 18px;
}

.myspio-action-card {
	position: relative;
	display: grid;
	min-height: 168px;
	padding: 22px;
	border: 1px solid rgba(24, 60, 102, 0.08);
	border-radius: 26px 56px 26px 26px;
	background: var(--myspio-soft-lime);
	color: var(--myspio-navy);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.myspio-action-card.is-blue {
	border-radius: 56px 26px 26px;
	background: #e5eafa;
}

.myspio-action-card:hover {
	color: var(--myspio-navy);
	transform: translateY(-3px);
	box-shadow: var(--myspio-shadow);
}

.myspio-action-card strong {
	align-self: end;
	font-family: var(--myspio-font-display);
	font-size: 1.75rem;
	font-weight: 500;
}

.myspio-action-card small {
	margin-top: 5px;
	color: #455c75;
	font-size: 0.94rem;
}

.myspio-action-icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 50%;
	background: var(--myspio-navy);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
}

.myspio-mini-profile,
.myspio-info-strip,
.myspio-security-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 18px 0;
	padding: 22px;
}

.myspio-mini-profile h2 {
	font-size: 1.7rem;
}

.myspio-button,
.myspio-portal-page .myspio-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 2px solid var(--myspio-navy);
	border-radius: 999px;
	background: var(--myspio-lime);
	box-shadow: none;
	color: var(--myspio-navy);
	font-family: var(--myspio-font-body);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.myspio-button:hover,
.myspio-button:focus-visible {
	background: #b1e252;
	color: var(--myspio-navy);
	transform: translateY(-2px);
	box-shadow: 0 9px 0 rgba(24, 60, 102, 0.14);
}

.myspio-button.is-secondary {
	border-color: rgba(24, 60, 102, 0.18);
	background: #fff;
}

.myspio-button.is-full {
	width: 100%;
}

.myspio-text-link,
.myspio-link-button {
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: var(--myspio-navy);
	font: inherit;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--myspio-lime);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
	cursor: pointer;
}

.myspio-auth-layout {
	display: grid;
	min-height: min(780px, 90vh);
	align-content: center;
	gap: 28px;
}

.myspio-auth-promotions {
	width: min(100%, 960px);
	margin: 0 auto;
	padding: 24px 18px 0;
}

.myspio-auth-promotions + .myspio-auth-layout {
	min-height: auto;
	padding-top: 10px;
}

.myspio-auth-intro {
	position: relative;
}

.myspio-auth-intro::after {
	position: absolute;
	z-index: -1;
	top: -70px;
	right: -80px;
	width: 190px;
	height: 190px;
	border-radius: 48% 52% 62% 38%;
	background: rgba(159, 214, 58, 0.28);
	content: "";
}

.myspio-auth-card {
	padding: 24px;
}

.myspio-qr-login-button { display: none; }

@media (max-width: 767px) and (pointer: coarse) {
	.myspio-qr-login-button {
		display: flex;
		width: 100%;
		min-height: 50px;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 10px 0 0;
		padding: 12px 16px;
		border: 1px solid rgba(108, 153, 41, .42);
		border-radius: 15px;
		background: rgba(233, 246, 181, .42);
		color: var(--myspio-navy);
		font: 800 .94rem/1.2 var(--myspio-font-body);
		box-shadow: none;
	}
	.myspio-qr-login-button svg { width: 21px; height: 21px; fill: none; stroke: var(--myspio-success); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

body.myspio-qr-login-open { overflow: hidden !important; touch-action: none; }
.myspio-qr-login-scanner[hidden] { display: none !important; }
html body .myspio-qr-login-scanner {
	position: fixed !important;
	z-index: 2147483647 !important;
	inset: 0 !important;
	overflow: hidden;
	background: #07110d;
	color: #fff;
	font-family: var(--myspio-font-body);
}
.myspio-qr-login-scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #07110d; }
.myspio-qr-login-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,10,.78) 0, transparent 25%, transparent 60%, rgba(5,14,10,.94) 100%); pointer-events: none; }
.myspio-qr-login-scanner header { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: flex-end; padding: max(18px, env(safe-area-inset-top)) 18px 12px; }
.myspio-qr-login-scanner header button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(10,25,18,.46); backdrop-filter: blur(14px); color: #fff; font: 300 2rem/1 var(--myspio-font-body); }
.myspio-qr-login-focus { position: absolute; z-index: 2; top: 46%; left: 50%; width: min(72vw, 310px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.myspio-qr-login-focus i { position: absolute; width: 54px; height: 54px; border-color: #fff; border-style: solid; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.myspio-qr-login-focus i:nth-child(1) { top: 0; left: 0; border-width: 4px 0 0 4px; border-radius: 24px 0 0; }
.myspio-qr-login-focus i:nth-child(2) { top: 0; right: 0; border-width: 4px 4px 0 0; border-radius: 0 24px 0 0; }
.myspio-qr-login-focus i:nth-child(3) { right: 0; bottom: 0; border-width: 0 4px 4px 0; border-radius: 0 0 24px; }
.myspio-qr-login-focus i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-radius: 0 0 0 24px; }
.myspio-qr-login-focus span { position: absolute; right: 8px; left: 8px; top: 10%; height: 2px; border-radius: 2px; background: var(--myspio-lime); box-shadow: 0 0 8px 2px rgba(159,214,58,.8), 0 0 26px 7px rgba(159,214,58,.22); animation: myspio-qr-lens-line 2.2s cubic-bezier(.45,0,.55,1) infinite; }
.myspio-qr-login-scanner.is-success .myspio-qr-login-focus { filter: drop-shadow(0 0 18px rgba(159,214,58,.8)); transform: translate(-50%, -50%) scale(.96); transition: .2s ease; }
.myspio-qr-login-scanner.is-success .myspio-qr-login-focus i { border-color: var(--myspio-lime); }
.myspio-qr-login-success { position: absolute; z-index: 5; inset: 0; display: grid; align-content: center; justify-items: center; gap: 13px; background: rgba(9,31,19,.62); opacity: 0; transform: scale(1.04); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.myspio-qr-login-success span { display: grid; width: 82px; height: 82px; place-items: center; border-radius: 50%; background: var(--myspio-lime); box-shadow: 0 0 0 14px rgba(159,214,58,.16), 0 18px 50px rgba(0,0,0,.35); color: #173d25; }
.myspio-qr-login-success svg { width: 47px; height: 47px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.myspio-qr-login-success strong { color: #fff; font: 800 1.55rem/1 var(--myspio-font-display); text-shadow: 0 3px 16px rgba(0,0,0,.4); }
.myspio-qr-login-scanner.is-success .myspio-qr-login-success { opacity: 1; transform: scale(1); }
.myspio-qr-login-panel { position: absolute; z-index: 3; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); left: 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 16px; align-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(11,29,21,.68); box-shadow: 0 18px 60px rgba(0,0,0,.35); backdrop-filter: blur(20px) saturate(1.2); }
.myspio-qr-login-panel div, .myspio-qr-login-panel p { grid-column: 1; }
.myspio-qr-login-panel small, .myspio-qr-login-panel strong { display: block; }
.myspio-qr-login-panel small { margin-bottom: 3px; color: var(--myspio-lime); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.myspio-qr-login-panel strong { font: 800 1.18rem/1.1 var(--myspio-font-display); }
.myspio-qr-login-panel p { margin: 0; color: rgba(255,255,255,.76); font-size: .85rem; line-height: 1.35; }
.myspio-qr-login-panel p.is-error { color: #ffd0d0; }
.myspio-qr-login-panel > button { grid-column: 2; grid-row: 1 / span 2; min-width: 68px; min-height: 54px; padding: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.12); color: #fff; font: 750 .75rem/1.1 var(--myspio-font-body); }
.myspio-qr-login-panel > button span { display: block; margin-bottom: 3px; color: var(--myspio-lime); font-size: 1.1rem; }
.myspio-qr-login-panel > button[aria-pressed="true"] { background: rgba(159,214,58,.25); border-color: rgba(159,214,58,.55); }
@keyframes myspio-qr-lens-line { 0%,100% { top: 10%; opacity: .6; } 50% { top: 89%; opacity: 1; } }
@media (min-width: 768px), (pointer: fine) { .myspio-qr-login-scanner { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .myspio-qr-login-focus span { animation: none; top: 50%; } }

.myspio-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	margin: 0 0 22px;
	padding: 5px;
	border-radius: 16px;
	background: #eef2f7;
}

.myspio-auth-tabs a {
	padding: 11px 9px;
	border-radius: 12px;
	color: #667386;
	font-size: 0.9rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.myspio-auth-tabs a.is-active {
	background: #fff;
	color: var(--myspio-navy);
	box-shadow: 0 5px 16px rgba(24, 60, 102, 0.1);
}

.myspio-form {
	display: grid;
	gap: 18px;
}

.myspio-form label {
	display: grid;
	gap: 7px;
	color: var(--myspio-navy);
	font-size: 0.92rem;
	font-weight: 700;
}

.myspio-form input,
.myspio-form select {
	width: 100%;
	min-height: 54px;
	padding: 11px 14px;
	border: 1.5px solid #bdc8d2;
	border-radius: 15px;
	outline: none;
	background: #fff;
	color: var(--myspio-navy-deep);
	font-family: var(--myspio-font-body);
	font-size: 1.06rem;
	transition: border 160ms ease, box-shadow 160ms ease;
}

.myspio-form input:focus,
.myspio-form select:focus {
	border-color: var(--myspio-blue);
	box-shadow: 0 0 0 4px rgba(134, 157, 250, 0.22);
}

.myspio-form input[name="pin"],
.myspio-form input[name="pin_confirm"] {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.35em;
}

.myspio-pin-field { min-width: 0; }
.myspio-pin-digits { display:flex; justify-content:center; gap:9px; width:100%; margin-top:2px; }
.myspio-form .myspio-pin-digit {
	width:50px; min-width:0; height:60px; min-height:60px; padding:0;
	border:2px solid #dbe3ec; border-radius:14px; background:#fff;
	color:var(--myspio-navy-deep); font-size:27px; font-weight:800;
	line-height:60px; letter-spacing:0; text-align:center; caret-color:var(--myspio-lime);
}
.myspio-form .myspio-pin-digit:focus { border-color:var(--myspio-lime); box-shadow:0 0 0 4px rgba(159,214,58,.18); }
@media (max-width:480px) {
	.myspio-pin-digits { gap:6px; }
	.myspio-form .myspio-pin-digit { width:42px; height:54px; min-height:54px; border-radius:12px; font-size:23px; line-height:54px; }
}

.myspio-pin-row,
.myspio-field-grid {
	display: grid;
	gap: 16px;
}

.myspio-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.myspio-form-help {
	margin: -3px 0 0;
	color: #637386;
	font-size: 0.88rem;
}

.myspio-auth-switch,
.myspio-auth-links {
	margin: 20px 0 0;
	text-align: center;
}

.myspio-auth-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	font-weight: 700;
}

.myspio-auth-links a,
.myspio-auth-switch a {
	color: var(--myspio-navy);
}

.myspio-phone-hint,
.myspio-card-recognized {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding: 16px;
	border-radius: 18px;
	background: var(--myspio-cream);
}

.myspio-phone-hint {
	justify-content: space-between;
}

.myspio-phone-hint span,
.myspio-card-recognized small {
	color: #65768a;
	font-size: 0.82rem;
}

.myspio-phone-hint strong {
	font-size: 1.15rem;
	letter-spacing: 0.08em;
}

.myspio-card-recognized div {
	display: grid;
}

.myspio-status-dot {
	width: 15px;
	height: 15px;
	border: 4px solid #dff0ad;
	border-radius: 50%;
	background: #568c12;
}

.myspio-notice {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.myspio-notice.is-success {
	border-left: 5px solid var(--myspio-success);
	background: #e8f6e8;
	color: #185d31;
}

.myspio-notice.is-error {
	border-left: 5px solid var(--myspio-danger);
	background: #fff0f1;
	color: #8a1b30;
}

.myspio-notice.is-warning,
.myspio-freshness {
	border-left: 5px solid #be7b00;
	background: #fff7df;
	color: #674714;
}

.myspio-freshness {
	margin: 14px 0;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.9rem;
}

.myspio-profile-form {
	padding: 20px;
}

.myspio-change-pin {
	margin-top: 18px;
}

.myspio-profile-extra {
	min-width: 0;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border: 0;
	border-top: 1px solid rgba(38, 54, 108, .1);
	border-radius: 0;
	background: transparent;
}

.myspio-profile-extra legend {
	padding: 0 12px 0 0;
	color: var(--myspio-navy);
	font-family: var(--myspio-font-display);
	font-size: 1rem;
	font-weight: 800;
}

.myspio-check-row {
	display: flex !important;
	align-items: center;
	gap: 10px !important;
	margin: 0;
	font-weight: 750;
}

.myspio-form .myspio-check-row input[type="checkbox"] {
	flex-shrink: 0;
	width: 21px;
	height: 21px;
	min-height: 0;
	margin: 0;
	accent-color: var(--myspio-blue);
}

.myspio-pregnancy-fields { display: grid; gap: 17px; margin-top: 18px; }
.myspio-pregnancy-fields[hidden], [data-myspio-course-field][hidden] { display: none !important; }

.myspio-address-field { position: relative; }
.myspio-address-field > small { color: var(--myspio-muted); font-size: .78rem; }
.myspio-address-suggestions {
	position: absolute;
	z-index: 30;
	top: calc(100% - 18px);
	left: 0;
	right: 0;
	overflow: hidden;
	border: 1px solid rgba(38, 54, 108, .14);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(24, 60, 102, .18);
}
.myspio-address-suggestions[hidden] { display: none !important; }
.myspio-address-option {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid rgba(38, 54, 108, .08);
	background: #fff;
	color: var(--myspio-navy);
	font: 650 .88rem/1.3 var(--myspio-font-body);
	text-align: left;
	cursor: pointer;
}
.myspio-address-option:last-child { border-bottom: 0; }
.myspio-address-option:hover, .myspio-address-option:focus-visible { background: #eef2ff; outline: 0; }

body.myspio-onboarding-open { overflow: hidden; }
html body .myspio-onboarding-modal {
	position: fixed !important;
	z-index: 2147483647 !important;
	inset: 0 !important;
	display: grid;
	place-items: center;
	padding: 22px;
}

.myspio-onboarding-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 31, 67, .62);
	backdrop-filter: blur(9px);
}

.myspio-onboarding-dialog {
	position: relative;
	width: min(100%, 440px);
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(241,244,255,.98));
	box-shadow: 0 28px 80px rgba(9, 27, 67, .28);
	text-align: center;
	animation: myspio-onboarding-enter .42s cubic-bezier(.2,.8,.2,1.15) both;
}

.myspio-onboarding-icon {
	display: grid;
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	place-items: center;
	border-radius: 21px;
	background: linear-gradient(135deg, var(--myspio-lime), #d8f276);
	box-shadow: 0 12px 28px rgba(111, 154, 34, .24);
	color: var(--myspio-navy-deep);
	font-size: 1.55rem;
	font-weight: 900;
}

.myspio-onboarding-dialog h2 {
	margin: 0 0 10px;
	color: var(--myspio-navy);
	font-family: var(--myspio-font-display);
	font-size: clamp(1.65rem, 6vw, 2.15rem);
	line-height: 1;
}

.myspio-onboarding-dialog p { margin: 0 0 22px; color: var(--myspio-muted); line-height: 1.55; }

@keyframes myspio-onboarding-enter {
	from { opacity: 0; transform: translateY(18px) scale(.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.myspio-onboarding-dialog { animation: none; }
}

.myspio-readonly-row {
	display: grid;
	gap: 10px;
	padding: 16px;
	border-radius: 18px;
	background: var(--myspio-cloud);
}

.myspio-readonly-row span {
	display: grid;
	gap: 2px;
}

.myspio-readonly-row small {
	color: #6b7a89;
}

.myspio-points-stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 410px;
	overflow: hidden;
	margin-bottom: 18px;
	border-radius: 36px;
	background:
		radial-gradient(circle at 90% 15%, rgba(134, 157, 250, 0.9) 0 5rem, transparent 5.1rem),
		var(--myspio-navy);
	color: #fff;
	text-align: center;
}

.myspio-points-stage::before {
	position: absolute;
	left: -90px;
	bottom: -120px;
	width: 280px;
	height: 280px;
	border: 58px solid rgba(159, 214, 58, 0.75);
	border-radius: 50%;
	content: "";
}

.myspio-points-stage > p {
	position: absolute;
	right: 22px;
	bottom: 18px;
	left: 22px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
}

.myspio-points-disc {
	position: relative;
	z-index: 1;
	display: grid;
	width: 230px;
	height: 230px;
	place-content: center;
	border-radius: 46% 54% 58% 42%;
	background: var(--myspio-lime);
	color: var(--myspio-navy);
	transform: rotate(-3deg);
}

.myspio-points-disc > * {
	transform: rotate(3deg);
}

.myspio-points-disc strong {
	font-family: var(--myspio-font-display);
	font-size: 5.2rem;
	font-weight: 500;
	letter-spacing: -0.07em;
	line-height: 0.9;
}

.myspio-points-disc span,
.myspio-points-disc small {
	font-weight: 800;
	text-transform: uppercase;
}

.myspio-purchase-list {
	display: grid;
	gap: 8px;
}

.myspio-purchase {
	overflow: hidden;
	border: 1px solid rgba(24, 60, 102, 0.11);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(24, 60, 102, 0.055);
}

.myspio-purchase-summary {
	display: grid;
	width: 100%;
	grid-template-columns: minmax(0, 1fr) auto 38px;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: var(--myspio-navy);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.myspio-purchase-date {
	color: var(--myspio-navy);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.1;
}

.myspio-purchase-main {
	display: flex;
	align-items: baseline;
	gap: 9px;
	min-width: 0;
}

.myspio-purchase-main strong,
.myspio-purchase-main small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.myspio-purchase-main small {
	flex: 1 1 auto;
	color: #718092;
	font-size: .76rem;
	font-weight: 650;
}

.myspio-purchase-total {
	font-size: 1.18rem;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.myspio-receipt-toggle {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 11px;
	background: rgba(134, 157, 250, .14);
	color: #536ecf;
	transition: transform 180ms ease, background 180ms ease;
}

.myspio-receipt-toggle svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.myspio-purchase-summary[aria-expanded="true"] .myspio-receipt-toggle {
	transform: translateY(2px) rotate(-4deg);
	background: rgba(159, 214, 58, .22);
	color: #537d19;
}

.myspio-purchase-details {
	position: relative;
	margin: 0 9px 14px;
	padding: 17px 15px 23px;
	background: #fffdf7;
	box-shadow: 0 12px 26px rgba(49, 43, 24, .09);
}

.myspio-purchase-summary[aria-expanded="true"] + .myspio-purchase-details {
	transform-origin: top center;
	animation: myspio-receipt-open 220ms cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes myspio-receipt-open {
	from { opacity: 0; transform: translateY(-7px) scaleY(.94); }
	to { opacity: 1; transform: translateY(0) scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
	.myspio-purchase-summary[aria-expanded="true"] + .myspio-purchase-details { animation: none; }
}

.myspio-purchase-details::after {
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 8px;
	background: linear-gradient(135deg, #fffdf7 50%, transparent 51%) 0 0/12px 8px repeat-x;
	content: "";
}

.myspio-receipt-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	padding-bottom: 12px;
	border-bottom: 1px dashed rgba(24, 60, 102, .2);
}

.myspio-receipt-head div { display: grid; min-width: 0; }
.myspio-receipt-head small { color: #7b8794; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.myspio-receipt-head strong { overflow: hidden; color: var(--myspio-navy); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }

.myspio-receipt-total {
	display: flex;
	justify-content: space-between;
	padding: 13px 0 5px;
	border-top: 1px dashed rgba(24, 60, 102, .2);
	font-size: 1rem;
	font-weight: 850;
	text-transform: uppercase;
}

.myspio-order-barcode-wrap {
	display: grid;
	justify-items: center;
	gap: 3px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed rgba(24, 60, 102, .2);
}

.myspio-order-barcode { width: min(100%, 270px); height: 42px; }
.myspio-order-barcode-wrap small { color: #637181; font-size: .68rem; font-weight: 750; letter-spacing: .06em; }

@media (max-width: 480px) {
	.myspio-purchase-summary { grid-template-columns: minmax(0, 1fr) auto 34px; gap: 8px; padding: 9px 10px; }
	.myspio-purchase-date { flex: 0 0 auto; font-size: .94rem; }
	.myspio-purchase-main { gap: 6px; }
	.myspio-purchase-total { font-size: 1.05rem; }
	.myspio-receipt-toggle { width: 32px; height: 32px; }
	.myspio-receipt-head { grid-template-columns: 1fr; gap: 9px; }
}

.myspio-product-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid #edf0f2;
}

.myspio-product-row span {
	display: grid;
}

.myspio-product-row small {
	color: #718092;
}

.myspio-refresh-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 5px;
	color: #718092;
	font-size: 0.9rem;
}

.myspio-empty-state {
	padding: 46px 24px;
	text-align: center;
}

.myspio-empty-state > span,
.myspio-help-number {
	display: grid;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	place-items: center;
	border-radius: 45% 55% 62% 38%;
	background: var(--myspio-lime);
	font-weight: 900;
}

.myspio-support-hero {
	display: grid;
	gap: 18px;
	margin-bottom: 18px;
	padding: 26px;
	border-radius: 32px 78px 32px 32px;
	background: var(--myspio-navy);
	color: #fff;
}

.myspio-support-hero h2,
.myspio-support-hero .myspio-eyebrow {
	color: #fff;
}

.myspio-support-hero p {
	color: rgba(255, 255, 255, 0.76);
}

.myspio-support-bubble {
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	border-radius: 50%;
	background: var(--myspio-lime);
	color: var(--myspio-navy);
	font-weight: 900;
}

.myspio-help-grid .myspio-panel {
	padding: 22px;
}

.myspio-help-number {
	width: 44px;
	height: 44px;
	margin: 0 0 18px;
}

.myspio-help-grid p {
	margin-bottom: 0;
	color: #53677c;
}

.myspio-bottom-nav {
	position: fixed;
	z-index: 1000;
	right: 10px;
	bottom: max(10px, env(safe-area-inset-bottom));
	left: 10px;
	display: grid;
	max-width: 520px;
	grid-template-columns: repeat(4, 1fr);
	margin: auto;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	background: rgba(15, 41, 72, 0.94);
	box-shadow: 0 15px 42px rgba(15, 41, 72, 0.32);
	backdrop-filter: blur(16px);
}

.myspio-bottom-nav a {
	display: grid;
	min-height: 56px;
	place-items: center;
	align-content: center;
	gap: 3px;
	border-radius: 17px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
}

.myspio-bottom-nav a.is-active {
	background: var(--myspio-lime);
	color: var(--myspio-navy);
}

.myspio-bottom-nav svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.myspio-inline-form {
	display: inline;
}

@media (min-width: 620px) {
	.myspio-app,
	.myspio-auth-layout {
		padding-right: 30px;
		padding-left: 30px;
	}

	.myspio-action-grid,
	.myspio-help-grid,
	.myspio-pin-row,
	.myspio-field-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.myspio-field-grid .is-wide {
		grid-column: 1 / -1;
	}

	.myspio-readonly-row {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 860px) {
	.myspio-app,
	.myspio-auth-layout {
		padding-top: 58px;
	}

	.myspio-auth-layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
		align-items: center;
		gap: 76px;
	}

	.myspio-auth-card,
	.myspio-profile-form {
		padding: 34px;
	}

	.myspio-action-grid {
		grid-template-columns: 1.15fr 0.85fr;
	}

	.myspio-help-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.myspio-bottom-nav {
		right: 24px;
		bottom: 24px;
		left: auto;
		width: 390px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.myspio-bottom-nav { width: 320px; grid-template-columns: repeat(3, 1fr); }
	.myspio-bottom-nav .myspio-nav-reader { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.myspio-app > *,
	.myspio-auth-layout > *,
	.myspio-button,
	.myspio-action-card,
	.myspio-chevron {
		animation: none !important;
		transition: none !important;
	}
}

@keyframes myspio-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* QR access: a deliberately restricted, but immediately useful, portal view. */
.myspio-qr-ticker {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 0 0 26px;
	padding: 14px 16px;
	border: 1px solid rgba(108, 153, 41, .30);
	border-radius: 18px;
	background: rgba(233, 246, 181, .38);
	color: var(--myspio-navy);
	box-shadow: 0 10px 24px rgba(42, 56, 104, .06);
}

.myspio-qr-ticker-icon {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--myspio-lime);
	color: #fff;
	font-weight: 800;
}

.myspio-qr-ticker-icon svg,
.myspio-soft-lock svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.myspio-qr-ticker-icon svg { width: 17px; height: 17px; }

.myspio-qr-ticker p {
	margin: 0;
	font-size: .86rem;
	line-height: 1.38;
	font-weight: 650;
}

.myspio-qr-ticker a {
	white-space: nowrap;
	color: var(--myspio-success);
	font-size: .84rem;
	font-weight: 800;
	text-decoration: none;
}

.myspio-qr-ticker.is-warning {
	background: rgba(250, 191, 104, .15);
	border-color: rgba(108, 153, 41, .32);
}

.myspio-qr-ticker.is-warning .myspio-qr-ticker-icon {
	background: #d89234;
}

.myspio-recovery-destination {
	display: grid;
	gap: 3px;
	margin: 0 0 18px;
	padding: 15px 17px;
	border: 1px solid rgba(108, 153, 41, .32);
	border-radius: 16px;
	background: rgba(233, 246, 181, .42);
	text-align: center;
}

.myspio-recovery-destination small {
	color: var(--myspio-muted);
	font-size: .78rem;
	font-weight: 700;
}

.myspio-recovery-destination strong {
	color: var(--myspio-navy);
	font-size: 1.08rem;
	word-break: break-word;
}

.myspio-soft-header {
	margin: 4px 0 22px;
}

.myspio-soft-header h1 {
	margin: 5px 0 7px;
	font-size: clamp(1.8rem, 7vw, 2.55rem);
	line-height: 1;
}

.myspio-soft-header p,
.myspio-qr-activation-panel p {
	margin: 0;
	color: var(--myspio-muted);
}

.myspio-soft-balance {
	position: relative;
	overflow: hidden;
	margin: 0 0 16px;
	padding: 23px;
	border-radius: 24px;
	background: linear-gradient(135deg, #869dfa, #b5c4ff);
	color: #fff;
	box-shadow: 0 18px 36px rgba(92, 115, 210, .22);
}

.myspio-soft-balance > :not(.myspio-soft-orb) { position: relative; z-index: 1; }
.myspio-soft-balance span, .myspio-soft-balance small { display: block; font-weight: 700; opacity: .88; }
.myspio-soft-balance strong { display: block; margin: 8px 0 0; font-size: clamp(2.45rem, 11vw, 4rem); line-height: .9; letter-spacing: -.06em; }
.myspio-soft-orb { position: absolute; right: -37px; top: -58px; width: 170px; height: 170px; border: 22px solid rgba(255,255,255,.17); border-radius: 48% 52% 46% 54%; transform: rotate(20deg); }

.myspio-soft-identity { margin: 0 0 16px; }
.myspio-soft-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.myspio-soft-section-heading h2, .myspio-qr-activation-panel h2 { margin: 3px 0 0; font-size: 1.06rem; }
.myspio-soft-lock { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(134,157,250,.14); color: #536ecf; font-weight: 900; }
.myspio-soft-identity dl { margin: 18px 0 0; }
.myspio-soft-identity dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(29,39,82,.07); }
.myspio-soft-identity dt { color: var(--myspio-muted); font-size: .82rem; }
.myspio-soft-identity dd { margin: 0; font-weight: 750; text-align: right; }
.myspio-soft-actions { display: grid; gap: 10px; margin: 0 0 14px; }
.myspio-soft-actions a { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 17px; background: rgba(255,255,255,.7); color: inherit; text-decoration: none; }
.myspio-soft-actions strong, .myspio-soft-actions small { display: block; }
.myspio-soft-actions small { margin-top: 2px; color: var(--myspio-muted); font-size: .76rem; }
.myspio-soft-action-icon { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e9eeff; color: #536ecf; font-weight: 900; }
.myspio-soft-actions b { margin-left: auto; color: #869dfa; font-size: 1.35rem; }
.myspio-soft-security { margin: 14px 8px 0; color: var(--myspio-muted); font-size: .75rem; line-height: 1.35; text-align: center; }
.myspio-qr-activation-panel { text-align: center; }
.myspio-qr-activation-panel .myspio-soft-lock { margin: 0 auto 12px; flex: 0 0 34px; aspect-ratio: 1; }
.myspio-qr-activation-panel p { margin: 9px 0 20px; }
.myspio-qr-activation-panel .myspio-text-link { display: inline-block; margin-top: 15px; }
.myspio-qr-unavailable { padding-top: 38px; }
.myspio-qr-unavailable .myspio-soft-header { margin: 10px 4px 28px; }
.myspio-qr-unavailable .myspio-soft-header h1 { margin-bottom: 12px; }
.myspio-qr-unavailable .myspio-soft-header p { max-width: 610px; font-size: 1rem; line-height: 1.55; }
.myspio-qr-unavailable .myspio-qr-activation-panel { display: grid; gap: 0; padding: 28px 24px; }
.myspio-qr-unavailable .myspio-qr-activation-panel .myspio-soft-lock { width: 44px; height: 44px; margin-bottom: 16px; background: rgba(159,214,58,.18); color: var(--myspio-success); }
.myspio-qr-unavailable .myspio-qr-activation-panel h2 { font-size: 1.28rem; }
.myspio-qr-unavailable .myspio-qr-activation-panel p { margin: 12px auto 24px; max-width: 450px; line-height: 1.5; }
.myspio-qr-unavailable .myspio-qr-activation-panel .myspio-text-link { margin-top: 20px; }

.myspio-balance-feedback {
	position: absolute;
	z-index: 8;
	top: 15px;
	left: 50%;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: calc(100% - 30px);
	padding: 8px 12px 8px 8px;
	border: 1px solid rgba(49, 93, 25, .16);
	border-radius: 999px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 10px 26px rgba(24,60,102,.18);
	color: #315d19;
	opacity: 0;
	transform: translate(-50%, -8px) scale(.96);
	transition: opacity .18s ease, transform .18s ease;
	pointer-events: none;
}

.myspio-balance-feedback.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
.myspio-balance-feedback > span { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #9fda35; color: #173a17; font-weight: 900; }
.myspio-balance-feedback strong { overflow: hidden; font-size: .77rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.myspio-balance-feedback.is-error { border-color: rgba(138,27,48,.16); color: #8a1b30; }
.myspio-balance-feedback.is-error > span { background: #ffe0e4; color: #8a1b30; }
[data-myspio-points-value].is-updated { animation: myspio-points-updated .42s ease; }
.myspio-card-refresh button { position: relative; }
.myspio-card-refresh button::after {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	content: '✓';
	color: #315d19;
	font-size: 1rem;
	font-weight: 950;
	opacity: 0;
	transform: scale(.35) rotate(-18deg);
	transition: opacity .16s ease, transform .24s cubic-bezier(.2,.8,.2,1.25);
}
.myspio-card-refresh button svg { transition: opacity .14s ease, transform .2s ease; }
.myspio-card-refresh button.is-updated { background: #e8f6b7; }
.myspio-card-refresh button.is-updated svg { opacity: 0; transform: scale(.45) rotate(90deg); }
.myspio-card-refresh button.is-updated::after { opacity: 1; transform: scale(1) rotate(0); }

@keyframes myspio-points-updated {
	0% { opacity: .45; transform: scale(.88); }
	65% { transform: scale(1.08); }
	100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 380px) {
	.myspio-qr-ticker { grid-template-columns: auto minmax(0, 1fr); }
	.myspio-qr-ticker a { grid-column: 2; }
}

/* Authenticated, mobile-only barcode reader. */
.myspio-reader-header { margin-bottom: 22px; }
.myspio-reader-header h1 { margin: 5px 0 7px; font-size: clamp(1.9rem, 8vw, 2.55rem); line-height: 1; }
.myspio-reader-header p { margin: 0; color: var(--myspio-muted); }
.myspio-reader-desktop { display: none; }
.myspio-reader-stage { position: relative; height: 124px; overflow: hidden; border-radius: 18px; background: #172549; box-shadow: 0 14px 28px rgba(26, 44, 94, .2); }
.myspio-reader-stage video { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; visibility: visible; object-fit: cover; opacity: 0; transition: opacity .2s ease; }
.myspio-reader.is-scanning .myspio-reader-stage video { opacity: 1; }
.myspio-reader-guides { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; pointer-events: none; }
.myspio-reader-guides i { width: min(72vw, 280px); height: 56px; border: 2px solid rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 0 0 999px rgba(6, 15, 39, .28), 0 0 18px rgba(255,255,255,.48); }
.myspio-reader-guides i::after { content: ''; display: block; height: 2px; margin-top: 27px; background: #c6d2ff; box-shadow: 0 0 16px 4px rgba(198,210,255,.9); animation: myspio-reader-line 1.6s ease-in-out infinite; }
.myspio-reader.is-scanning .myspio-reader-guides i { border-color: rgba(255,224,224,.98); }
.myspio-reader.is-scanning .myspio-reader-guides i::after { background: #f0474f; box-shadow: 0 0 16px 4px rgba(240,71,79,.95); }
.myspio-reader-placeholder { position: absolute; z-index: 3; inset: 0; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 30px; color: #fff; text-align: center; background: radial-gradient(circle at 68% 12%, rgba(134,157,250,.7), transparent 37%), #172549; }
.myspio-reader-placeholder[hidden] { display: none !important; }
.myspio-reader-placeholder span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 18px; background: rgba(255,255,255,.16); font-size: 1.4rem; }
.myspio-reader-placeholder small { color: rgba(255,255,255,.72); }
.myspio-reader [data-reader-start] { margin-top: 14px; }
.myspio-reader-status { min-height: 1.35em; margin: 10px 4px 14px; color: var(--myspio-muted); font-size: .82rem; text-align: center; }
.myspio-reader-status.is-error { color: #bb4b54; }
.myspio-reader-manual { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin: 0 0 16px; }
.myspio-reader-manual label { display: grid; gap: 5px; margin: 0; }
.myspio-reader-manual label span { color: var(--myspio-muted); font-size: .76rem; font-weight: 700; }
.myspio-reader-manual input { min-width: 0; height: 43px; border: 1px solid rgba(38,54,108,.14); border-radius: 12px; padding: 0 12px; background: #fff; }
.myspio-reader-manual button { height: 43px; padding: 0 15px; border: 0; border-radius: 12px; background: #e8edff; color: #4964bf; font: inherit; font-size: .85rem; font-weight: 800; }
.myspio-stock-card { overflow: hidden; border: 1px solid rgba(38,54,108,.10); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(30,45,88,.07); }
.myspio-stock-product { padding: 16px; border-bottom: 1px solid rgba(38,54,108,.09); background: linear-gradient(135deg, rgba(134,157,250,.13), rgba(234,238,255,.7)); }
.myspio-stock-product span { color: #6078cc; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.myspio-stock-product h2 { margin: 4px 0; font-size: 1.05rem; line-height: 1.2; }
.myspio-stock-product small { color: var(--myspio-muted); font-size: .76rem; }
.myspio-stock-list { padding: 4px 16px; }
.myspio-stock-variant { padding: 14px 0; border-bottom: 1px solid rgba(38,54,108,.1); }
.myspio-stock-variant:last-child { border-bottom: 0; }
.myspio-stock-variant h3 { margin: 0; color: var(--myspio-navy); font-size: .92rem; line-height: 1.25; }
.myspio-stock-variant > small { display: block; margin-top: 3px; color: var(--myspio-muted); font-size: .7rem; }
.myspio-stock-warehouse { padding: 14px 0; border-bottom: 1px solid rgba(38,54,108,.1); }
.myspio-stock-warehouse:last-child { border-bottom: 0; }
.myspio-stock-warehouse h3 { margin: 0 0 8px; color: #6078cc; font-size: .74rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.myspio-stock-size-grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.myspio-stock-size-grid::-webkit-scrollbar { display: none; }
.myspio-stock-size { display: grid; min-width: 58px; padding: 8px 9px; border-radius: 10px; background: #eef2ff; text-align: center; }
.myspio-stock-size span { color: var(--myspio-muted); font-size: .69rem; font-weight: 700; white-space: nowrap; }
.myspio-stock-size strong { margin-top: 2px; color: #304f9f; font-size: .82rem; white-space: nowrap; }
.myspio-stock-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(38,54,108,.08); }
.myspio-stock-variant .myspio-stock-row:last-child { border-bottom: 0; }
.myspio-stock-row span span, .myspio-stock-row small { display: block; }
.myspio-stock-row span > span { font-weight: 750; }
.myspio-stock-row small { margin-top: 2px; color: var(--myspio-muted); font-size: .72rem; }
.myspio-stock-row strong { flex: 0 0 auto; padding: 6px 9px; border-radius: 9px; background: #e5f4df; color: #407649; font-size: .82rem; }
.myspio-stock-row.is-empty strong { background: #f7e6e7; color: #a4525a; }
.myspio-reader-modal-open { overflow: hidden; }
html body .myspio-reader-modal { position: fixed !important; z-index: 2147483647 !important; inset: 0 !important; display: grid; align-items: stretch; padding: 0; background: rgba(15,28,60,.52); backdrop-filter: blur(9px); }
.myspio-reader-modal-body { position: relative; width: 100%; height: 100dvh; max-height: none; margin: 0; overflow: auto; border-radius: 0; background: #f8faff; box-shadow: none; }
.myspio-reader-modal .myspio-stock-card { min-height: 100%; border: 0; border-radius: inherit; box-shadow: none; }
.myspio-reader-modal-close { position: sticky; z-index: 2; top: 10px; float: right; display: grid; width: 38px; height: 38px; margin: 10px 10px -48px 0; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.93); box-shadow: 0 4px 14px rgba(24,60,102,.18); color: #183c66; font-size: 1.8rem; line-height: 1; }
@media (max-width: 619px) { .myspio-reader-modal { padding: 0; } .myspio-reader-modal-body { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; } }
@keyframes myspio-reader-line { 0%,100% { transform: translateY(-16px); opacity: .55; } 50% { transform: translateY(16px); opacity: 1; } }
@media (min-width: 768px), (pointer: fine) {
	.myspio-reader-mobile { display: none; }
	.myspio-reader-desktop { display: grid; place-items: center; min-height: 330px; padding: 34px; border-radius: 28px; background: linear-gradient(145deg, #edf0ff, #fbfbff); color: var(--myspio-navy); text-align: center; }
	.myspio-reader-desktop span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 19px; background: #dce4ff; color: #6078cc; font-size: 1.4rem; }
	.myspio-reader-desktop h2 { margin: 16px 0 7px; }
	.myspio-reader-desktop p { max-width: 340px; margin: 0; color: var(--myspio-muted); }
}
/* Scanner feedback remains visible while the camera is active. */
.myspio-reader-stage { height: 220px; }
.myspio-reader-feedback { position: absolute; z-index: 4; top: 10px; left: 10px; right: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(15,41,72,.9); color: #fff; font: 600 .8rem/1.3 var(--myspio-font-body); text-align: center; pointer-events: none; }
.myspio-reader-placeholder { padding-top: 64px; gap: 5px; }
.myspio-reader-placeholder span { display: none; }
.myspio-reader-guides i { height: 76px; }
.myspio-reader-guides i::after { animation-play-state: paused; opacity: 0; }
.myspio-reader.is-scanning .myspio-reader-guides i { border-color: #9fd63a; }
.myspio-reader.is-scanning .myspio-reader-guides i::after { animation-play-state: running; opacity: 1; background: #9fd63a; box-shadow: 0 0 12px #9fd63a; }
.myspio-reader[data-reader-state="lookup"] .myspio-reader-feedback,
.myspio-reader[data-reader-state="success"] .myspio-reader-feedback { background: #245931; }
.myspio-reader[data-reader-state="error"] .myspio-reader-feedback { background: #8c2834; }
.myspio-reader-status { min-height: 2.6em; font-size: .95rem; color: #183c66; }
.myspio-reader [data-reader-start] { touch-action: manipulation; }
.myspio-reader [data-reader-start].is-reading { background: #183c66; color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .myspio-reader-guides i::after { animation: none; } }
