/* ========================================================================
   K.S. Bajwa Assistant — isolated voice assistant UI
   All selectors are namespaced; existing theme layout remains untouched.
   ===================================================================== */

.nutea-voice {
	--nutea-voice-level: 0;
	--nutea-output-level: 0;
	--nutea-bar-scale: 0.4;
	--nutea-voice-scale: 1;
	--nutea-voice-glow: 22px;
	position: fixed;
	right: max(20px, env(safe-area-inset-right, 0px));
	bottom: max(20px, env(safe-area-inset-bottom, 0px));
	z-index: 150; /* Above site chrome (100), deliberately below cart (200+). */
	font-family: var(--font, "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	color: var(--text, #f4f1ea);
}

.nutea-voice [hidden] { display: none !important; }
.nutea-voice button { font: inherit; }

.nutea-voice__launcher {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 9px 18px 9px 9px;
	border: 1px solid rgba(241, 220, 164, 0.58);
	border-radius: var(--r-pill, 999px);
	background: linear-gradient(145deg, rgba(241, 220, 164, 0.98), rgba(199, 154, 70, 0.98));
	color: #0a130c;
	box-shadow: 0 18px 55px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(217, 182, 95, 0.12), 0 0 32px rgba(217, 182, 95, 0.16);
	font-size: 0.91rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: transform 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), opacity 0.2s ease;
}

.nutea-voice__launcher:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -20px rgba(0, 0, 0, 0.88), 0 0 36px rgba(217, 182, 95, 0.24); }
.nutea-voice__launcher:focus-visible,
.nutea-voice__icon-btn:focus-visible,
.nutea-voice__start:focus-visible,
.nutea-voice__control:focus-visible,
.nutea-voice__email:focus-visible,
.nutea-voice__composer textarea:focus-visible,
.nutea-voice__composer button:focus-visible { outline: 2px solid var(--gold-soft, #f1dca4); outline-offset: 3px; }

.nutea-voice__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nutea-voice__launcher-icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(8, 19, 12, 0.13);
}
.nutea-voice__launcher-icon svg { width: 19px; height: 19px; }
.nutea-voice.is-open .nutea-voice__launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }
.nutea-voice.is-minimized .nutea-voice__launcher { display: none; }

.nutea-voice__compact {
	min-height: 64px;
	display: flex;
	align-items: center;
	gap: 6px;
	width: min(520px, calc(100vw - 28px));
	padding: 7px;
	border: 1px solid rgba(241, 220, 164, 0.42);
	border-radius: 20px;
	background: linear-gradient(150deg, rgba(20, 26, 21, 0.985), rgba(8, 13, 10, 0.99));
	box-shadow: 0 24px 65px -24px rgba(0, 0, 0, 0.95), 0 0 28px rgba(217, 182, 95, 0.12);
	backdrop-filter: blur(20px) saturate(120%);
	-webkit-backdrop-filter: blur(20px) saturate(120%);
}
.nutea-voice__compact-main { min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.nutea-voice__compact-mark { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #102014; background: linear-gradient(145deg, var(--gold-soft, #f1dca4), var(--gold-strong, #c79a46)); }
.nutea-voice__compact-mark svg { width: 21px; height: 21px; }
.nutea-voice__compact-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.nutea-voice__compact-copy strong { overflow: hidden; font-size: 0.78rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.nutea-voice__compact-copy small { color: var(--gold-soft, #f1dca4); font-size: 0.65rem; line-height: 1.4; }
.nutea-voice__compact-timer { flex: none; color: var(--text-muted, #b7b1a4); font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.nutea-voice__compact-control { flex: none; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(231, 222, 201, 0.12); border-radius: 13px; background: rgba(255, 255, 255, 0.04); color: var(--text, #f4f1ea); cursor: pointer; }
.nutea-voice__compact-control:hover { border-color: rgba(217, 182, 95, 0.38); }
.nutea-voice__compact-control--end { color: #efb2aa; border-color: rgba(224, 120, 108, 0.25); }
.nutea-voice__compact-control svg { width: 18px; height: 18px; }

.nutea-voice__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(390px, calc(100vw - 28px));
	max-height: min(650px, calc(100vh - 28px));
	max-height: min(650px, calc(100dvh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(231, 222, 201, 0.15);
	border-radius: 28px;
	background:
		radial-gradient(420px 210px at 50% 0%, rgba(217, 182, 95, 0.10), transparent 70%),
		linear-gradient(180deg, rgba(19, 23, 20, 0.985), rgba(9, 13, 10, 0.99));
	box-shadow: 0 38px 95px -34px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(217, 182, 95, 0.04);
	backdrop-filter: blur(24px) saturate(120%);
	-webkit-backdrop-filter: blur(24px) saturate(120%);
	transform: translateY(12px) scale(0.98);
	transform-origin: bottom right;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, transform 0.28s var(--ease, ease), visibility 0.22s;
}

.nutea-voice.is-open .nutea-voice__panel { transform: none; opacity: 1; visibility: visible; }

.nutea-voice__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 18px;
	border-bottom: 1px solid rgba(231, 222, 201, 0.09);
}
.nutea-voice__head-actions { flex: none; display: flex; gap: 7px; }

.nutea-voice__brand { min-width: 0; display: flex; align-items: center; gap: 11px; }
.nutea-voice__brand > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.nutea-voice__brand strong { font-size: 0.98rem; line-height: 1.3; }
.nutea-voice__brand small { color: var(--text-dim, #8a8576); font-size: 0.7rem; line-height: 1.45; }
.nutea-voice__mark {
	flex: none;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	color: #142016;
	background: linear-gradient(150deg, var(--gold-soft, #f1dca4), var(--gold-deep, #9c7733));
	box-shadow: 0 12px 30px -16px rgba(217, 182, 95, 0.75);
}
.nutea-voice__mark svg { width: 21px; height: 21px; }

.nutea-voice__icon-btn {
	flex: none;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(231, 222, 201, 0.11);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--text-muted, #b7b1a4);
	cursor: pointer;
}
.nutea-voice__icon-btn:hover { color: var(--text, #f4f1ea); border-color: rgba(217, 182, 95, 0.36); }
.nutea-voice__icon-btn svg { width: 19px; height: 19px; }

.nutea-voice__body {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 22px 22px 20px;
	scroll-padding-bottom: 80px;
	text-align: center;
}

.nutea-voice__presence { display: grid; place-items: center; height: 96px; margin-bottom: 5px; }
.nutea-voice__orb {
	position: relative;
	width: 76px;
	height: 76px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(241, 220, 164, 0.92), rgba(199, 154, 70, 0.72) 34%, rgba(31, 107, 57, 0.82) 72%, rgba(10, 20, 13, 0.95));
	box-shadow: 0 0 var(--nutea-voice-glow) rgba(123, 216, 143, 0.3), 0 16px 40px -22px #000;
	transform: scale(var(--nutea-voice-scale));
	transition: transform 90ms linear, box-shadow 120ms linear, filter 0.25s ease;
}
.nutea-voice__orb::before,
.nutea-voice__orb::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(217, 182, 95, 0.22);
	inset: -8px;
	opacity: 0;
}
.nutea-voice__orb::after { inset: -17px; border-color: rgba(123, 216, 143, 0.14); }
.nutea-voice__orb i { display: block; width: 4px; height: 21px; border-radius: 4px; background: rgba(7, 14, 9, 0.62); margin: 0 2px; transform-origin: center; }
.nutea-voice__orb { grid-auto-flow: column; }
.nutea-voice__orb i:nth-child(1),
.nutea-voice__orb i:nth-child(5) { height: 12px; }
.nutea-voice__orb i:nth-child(2),
.nutea-voice__orb i:nth-child(4) { height: 17px; }

.nutea-voice[data-state="ready"] .nutea-voice__orb { animation: nutea-voice-idle 3.4s ease-in-out infinite; }
.nutea-voice[data-state="connecting"] .nutea-voice__orb,
.nutea-voice[data-state="reconnecting"] .nutea-voice__orb { animation: nutea-voice-breathe 1.5s ease-in-out infinite; filter: saturate(0.65); }
.nutea-voice[data-state="connecting"] .nutea-voice__orb::after,
.nutea-voice[data-state="reconnecting"] .nutea-voice__orb::after { opacity: 0.72; border-color: transparent rgba(241, 220, 164, 0.68); animation: nutea-voice-spin 1.25s linear infinite; }
.nutea-voice[data-state="listening"] .nutea-voice__orb::before,
.nutea-voice[data-state="speaking"] .nutea-voice__orb::before { animation: nutea-voice-ring 1.7s ease-out infinite; }
.nutea-voice[data-state="listening"] .nutea-voice__orb::after { opacity: var(--nutea-voice-level); transform: scale(var(--nutea-voice-scale)); }
.nutea-voice[data-state="listening"] .nutea-voice__orb i { transform: scaleY(var(--nutea-bar-scale)); transition: transform 90ms linear; }
.nutea-voice[data-state="listening"] .nutea-voice__orb i:nth-child(even) { transform: scaleY(var(--nutea-voice-scale)); }
.nutea-voice[data-state="speaking"] .nutea-voice__orb i { transform: scaleY(var(--nutea-bar-scale)); transition: transform 70ms linear; }
.nutea-voice[data-state="speaking"] .nutea-voice__orb i:nth-child(2),
.nutea-voice[data-state="speaking"] .nutea-voice__orb i:nth-child(4) { transform: scaleY(var(--nutea-voice-scale)); }
.nutea-voice[data-state="error"] .nutea-voice__orb,
.nutea-voice[data-state="blocked"] .nutea-voice__orb { filter: grayscale(0.45) hue-rotate(285deg); }
.nutea-voice[data-state="ended"] .nutea-voice__orb,
.nutea-voice[data-state="muted"] .nutea-voice__orb { filter: grayscale(0.65); transform: scale(0.94); }

.nutea-voice__status { margin: 0; color: var(--text, #f4f1ea); font-size: 1.12rem; line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.nutea-voice__timer {
	width: fit-content;
	margin: 7px auto 0;
	padding: 4px 10px;
	border: 1px solid rgba(217, 182, 95, 0.2);
	border-radius: var(--r-pill, 999px);
	background: rgba(217, 182, 95, 0.06);
	color: var(--gold-soft, #f1dca4);
	font-variant-numeric: tabular-nums;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.35;
}
.nutea-voice__hint { max-width: 315px; margin: 7px auto 0; color: var(--text-muted, #b7b1a4); font-size: 0.79rem; line-height: 1.55; }

.nutea-voice__transcript {
	max-height: 210px;
	overflow-y: auto;
	overscroll-behavior: contain;
	margin-top: 17px;
	padding: 12px 14px;
	border: 1px solid rgba(231, 222, 201, 0.09);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.025);
	text-align: left;
	color: var(--text-muted, #b7b1a4);
	font-size: 0.75rem;
	line-height: 1.5;
}
.nutea-voice__transcript p { margin: 0; }
.nutea-voice__transcript p + p { margin-top: 7px; }
.nutea-voice__transcript strong { color: var(--gold-soft, #f1dca4); font-weight: 600; }

.nutea-voice__summary {
	margin-top: 17px;
	padding: 15px;
	border: 1px solid rgba(217, 182, 95, 0.22);
	border-radius: 17px;
	background: linear-gradient(145deg, rgba(217, 182, 95, 0.07), rgba(123, 216, 143, 0.035));
	text-align: left;
}
.nutea-voice__summary-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.nutea-voice__summary-head strong { font-size: 0.85rem; }
.nutea-voice__summary-head span { padding: 3px 7px; border-radius: 999px; background: rgba(217, 182, 95, 0.1); color: var(--gold-soft, #f1dca4); font-size: 0.58rem; white-space: nowrap; }
.nutea-voice__summary dl { margin: 0; }
.nutea-voice__summary dl > div { display: grid; grid-template-columns: minmax(92px, 0.7fr) 1.3fr; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(231, 222, 201, 0.06); }
.nutea-voice__summary dt { color: var(--text-dim, #8a8576); font-size: 0.68rem; }
.nutea-voice__summary dd { margin: 0; color: var(--text, #f4f1ea); font-size: 0.72rem; overflow-wrap: anywhere; }
.nutea-voice__summary > p { margin: 10px 0 0; color: var(--text-dim, #8a8576); font-size: 0.64rem; line-height: 1.45; }
.nutea-voice__email-draft {
	max-height: 180px;
	overflow: auto;
	margin: 12px 0 0;
	padding: 11px 12px;
	border: 1px solid rgba(231, 222, 201, 0.08);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.16);
	color: var(--text-muted, #b7b1a4);
	font: inherit;
	font-size: 0.67rem;
	line-height: 1.5;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.nutea-voice__email {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 13px;
	padding: 9px 13px;
	border: 1px solid rgba(217, 182, 95, 0.5);
	border-radius: var(--r-pill, 999px);
	background: linear-gradient(145deg, var(--gold-soft, #f1dca4), var(--gold-strong, #c79a46));
	color: #0a130c;
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease;
}
.nutea-voice__email:hover { color: #0a130c; filter: brightness(1.06); transform: translateY(-1px); }
.nutea-voice__email-note { display: block; margin-top: 8px; color: var(--text-dim, #8a8576); font-size: 0.61rem; line-height: 1.45; text-align: center; }

.nutea-voice__actions { display: flex; justify-content: center; gap: 10px; margin-top: 19px; }
.nutea-voice__start,
.nutea-voice__control {
	min-height: 46px;
	border-radius: var(--r-pill, 999px);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 650;
}
.nutea-voice__start {
	min-width: 190px;
	padding: 10px 22px;
	border: 1px solid rgba(241, 220, 164, 0.55);
	background: linear-gradient(145deg, var(--gold-soft, #f1dca4), var(--gold-strong, #c79a46));
	color: #0a130c;
	box-shadow: 0 13px 32px -18px rgba(217, 182, 95, 0.8);
}
.nutea-voice__start:hover:not(:disabled) { transform: translateY(-1px); }
.nutea-voice__start:disabled { opacity: 0.58; cursor: wait; }
.nutea-voice__control {
	min-width: 104px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 15px;
	border: 1px solid rgba(231, 222, 201, 0.13);
	background: rgba(255, 255, 255, 0.045);
	color: var(--text, #f4f1ea);
}
.nutea-voice__control:hover { border-color: rgba(217, 182, 95, 0.35); background: rgba(217, 182, 95, 0.07); }
.nutea-voice__control--end { color: #efb2aa; border-color: rgba(224, 120, 108, 0.2); }
.nutea-voice__control svg { width: 18px; height: 18px; }

.nutea-voice__text-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 1px 0; }
.nutea-voice__text-toolbar span { color: var(--text-dim, #8a8576); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nutea-voice__text-toolbar button { min-height: 42px; padding: 8px 15px; border: 1px solid rgba(241, 220, 164, 0.34); border-radius: var(--r-pill, 999px); background: rgba(217, 182, 95, 0.08); color: var(--gold-soft, #f1dca4); font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.nutea-voice__text-toolbar button:hover { border-color: rgba(241, 220, 164, 0.58); background: rgba(217, 182, 95, 0.13); }

.nutea-voice__composer {
	position: sticky;
	bottom: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	align-items: end;
	gap: 8px;
	margin-top: 14px;
	padding: 8px;
	border: 1px solid rgba(231, 222, 201, 0.13);
	border-radius: 18px;
	background: rgba(12, 17, 13, 0.96);
	box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.9);
}
.nutea-voice__composer textarea {
	width: 100%;
	min-height: 42px;
	max-height: 96px;
	resize: none;
	overflow-y: auto;
	padding: 10px 11px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--text, #f4f1ea);
	font: inherit;
	font-size: 16px; /* Prevent iOS Safari focus zoom. */
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
}
.nutea-voice__composer textarea::placeholder { color: var(--text-dim, #8a8576); }
.nutea-voice__composer textarea:focus { outline: none; }
.nutea-voice__composer button {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(241, 220, 164, 0.5);
	border-radius: 13px;
	background: linear-gradient(145deg, var(--gold-soft, #f1dca4), var(--gold-strong, #c79a46));
	color: #0a130c;
	cursor: pointer;
	touch-action: manipulation;
}
.nutea-voice__composer button:disabled { opacity: 0.5; cursor: wait; }
.nutea-voice__composer button svg { width: 20px; height: 20px; }
.nutea-voice__text-error { margin: 7px 5px 0; color: #efb2aa; font-size: 0.66rem; line-height: 1.4; text-align: left; }
.nutea-voice__resume-audio { width: 100%; min-height: 42px; margin-top: 12px; border: 1px solid rgba(241, 220, 164, 0.45); border-radius: var(--r-pill, 999px); background: rgba(217, 182, 95, 0.1); color: var(--gold-soft, #f1dca4); font-weight: 700; cursor: pointer; }
.nutea-voice__history-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 9px 3px 0; color: var(--text-dim, #8a8576); text-align: left; }
.nutea-voice__history-tools small { font-size: 0.58rem; line-height: 1.4; }
.nutea-voice__history-tools button { padding: 3px 0; border: 0; background: transparent; color: var(--text-muted, #b7b1a4); font-size: 0.61rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.nutea-pjax-alert { position: fixed; left: 50%; bottom: max(94px, calc(74px + env(safe-area-inset-bottom, 0px))); z-index: 240; width: min(520px, calc(100vw - 28px)); padding: 14px; border: 1px solid rgba(224, 120, 108, 0.4); border-radius: 17px; background: rgba(18, 15, 13, 0.985); color: var(--text, #f4f1ea); box-shadow: 0 24px 70px -28px #000; transform: translateX(-50%); }
.nutea-pjax-alert p { margin: 0 0 10px; color: var(--text-muted, #b7b1a4); font-size: 0.75rem; line-height: 1.5; }
.nutea-pjax-alert__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nutea-pjax-alert button { min-height: 38px; padding: 7px 13px; border: 1px solid rgba(231, 222, 201, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: inherit; font: inherit; font-size: 0.7rem; cursor: pointer; }
.nutea-pjax-alert button:first-child { border-color: rgba(241, 220, 164, 0.46); color: var(--gold-soft, #f1dca4); }

.nutea-voice__privacy {
	padding: 11px 18px calc(11px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(231, 222, 201, 0.07);
	background: rgba(0, 0, 0, 0.12);
	color: var(--text-dim, #8a8576);
	font-size: 0.61rem;
	line-height: 1.45;
	text-align: center;
}

@keyframes nutea-voice-breathe {
	0%, 100% { transform: scale(0.94); opacity: 0.78; }
	50% { transform: scale(1.04); opacity: 1; }
}
@keyframes nutea-voice-idle {
	0%, 100% { filter: brightness(0.94); box-shadow: 0 0 18px rgba(123, 216, 143, 0.2), 0 16px 40px -22px #000; }
	50% { filter: brightness(1.04); box-shadow: 0 0 30px rgba(217, 182, 95, 0.28), 0 16px 40px -22px #000; }
}
@keyframes nutea-voice-spin { to { transform: rotate(360deg); } }
@keyframes nutea-voice-ring {
	0% { opacity: 0.58; transform: scale(0.88); }
	100% { opacity: 0; transform: scale(1.28); }
}
@media (max-width: 620px) {
	.nutea-voice { right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
	.nutea-voice__launcher { min-height: 50px; padding-right: 16px; }
	.nutea-voice__compact { width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); }
	.nutea-voice__compact-copy strong { max-width: 135px; }
	.nutea-voice__panel {
		width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
		max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		border-radius: 24px;
	}
	.nutea-voice__body { padding: 18px 17px 17px; }
	.nutea-voice__presence { height: 84px; }
	.nutea-voice__orb { width: 68px; height: 68px; }
	.nutea-voice__actions { gap: 8px; }
	.nutea-voice__start { min-width: 0; flex: 1.35; padding-inline: 14px; }
	.nutea-voice__control { min-width: 0; flex: 1; padding-inline: 11px; }
	.nutea-voice__composer { margin-inline: -2px; }
}

@media (max-width: 430px) {
	.nutea-voice__compact { gap: 4px; padding: 6px; }
	.nutea-voice__compact-mark { width: 38px; height: 38px; }
	.nutea-voice__compact-copy strong { max-width: 104px; font-size: 0.7rem; }
	.nutea-voice__compact-timer { font-size: 0.63rem; }
	.nutea-voice__compact-control { width: 38px; height: 38px; }
}

@media (max-width: 360px), (max-height: 560px) {
	.nutea-voice__head { padding-block: 12px; }
	.nutea-voice__body { padding-top: 13px; }
	.nutea-voice__presence { height: 67px; }
	.nutea-voice__orb { width: 55px; height: 55px; }
	.nutea-voice__hint { line-height: 1.4; }
	.nutea-voice__privacy { font-size: 0.57rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nutea-voice *,
	.nutea-voice *::before,
	.nutea-voice *::after { animation: none !important; transition-duration: 0.001ms !important; }
	.nutea-voice__orb { transform: none !important; }
	.nutea-voice[data-state="listening"] .nutea-voice__orb,
	.nutea-voice[data-state="speaking"] .nutea-voice__orb { box-shadow: 0 0 0 3px rgba(217, 182, 95, 0.28), 0 16px 40px -22px #000; }
	.nutea-voice[data-state="listening"] .nutea-voice__orb i,
	.nutea-voice[data-state="speaking"] .nutea-voice__orb i { transform: none !important; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.nutea-voice__panel { background: #101511; }
}

/* ========================================================================
   SinghKulbir.com visual adaptation. Technical base above remains the
   production-tested voice/text layout; these rules only adapt branding.
   ===================================================================== */
.singhkulbir-assistant {
	--text: var(--ink, #f7f8fa);
	--text-muted: var(--muted, rgba(255,255,255,.66));
	--text-dim: rgba(247,248,250,.52);
	--gold-soft: var(--gold-2, #ffe1a6);
	--gold-strong: var(--gold, #f2c879);
	--gold-deep: var(--gold-deep, #cf9a4a);
	--r-pill: 999px;
	--font: var(--font-body, "Hanken Grotesk", system-ui, sans-serif);
	z-index: 9999;
}

.singhkulbir-assistant .nutea-voice__launcher {
	height: 60px;
	min-height: 60px;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 0 22px 0 8px;
	gap: 12px;
	border-radius: 30px;
	border: 1px solid rgba(242, 200, 121, 0.70);
	background: linear-gradient(145deg, #0d2d47 0%, #071827 100%);
	color: #f7f8fa;
	box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 22px rgba(254,154,55,.14), inset 0 1px 0 rgba(255,255,255,.12);
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	opacity: 1;
	filter: none;
}
.singhkulbir-assistant .nutea-voice__launcher:hover { transform: translateY(-2px); box-shadow: 0 17px 40px rgba(0,0,0,.48), 0 0 28px rgba(254,154,55,.20); }
.skb-launcher-mark,
.skb-compact-mark,
.skb-head-mark {
	font-family: var(--font-display, Georgia, serif);
	font-style: italic;
	font-weight: 500;
	color: #f2c879 !important;
}
.skb-launcher-mark {
	position: relative;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(242,200,121,.78);
	background: linear-gradient(145deg, rgba(254,154,55,.18), rgba(242,200,121,.06));
	font-size: 18px;
}
.skb-launcher-mark::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 1px solid rgba(254,154,55,.68);
	animation: skb-launcher-pulse 3.6s cubic-bezier(.4,0,.2,1) infinite;
}

.singhkulbir-assistant .nutea-voice__panel {
	width: min(390px, calc(100vw - 28px));
	border-color: rgba(255,255,255,.20);
	background:
		radial-gradient(420px 210px at 50% 0%, rgba(91,155,255,.10), transparent 70%),
		linear-gradient(180deg, rgba(10,41,71,.985), rgba(7,24,39,.99));
	box-shadow: 0 38px 95px -34px rgba(0,0,0,.95), 0 0 0 1px rgba(242,200,121,.06);
}
.singhkulbir-assistant .nutea-voice__compact {
	border-color: rgba(242,200,121,.42);
	background: linear-gradient(150deg, rgba(13,45,71,.985), rgba(7,24,39,.99));
}
.singhkulbir-assistant .nutea-voice__compact-mark,
.singhkulbir-assistant .nutea-voice__mark {
	background: linear-gradient(145deg, rgba(13,45,71,1), rgba(7,24,39,1));
	border: 1px solid rgba(242,200,121,.72);
	color: #f2c879;
}

.skb-orb {
	background: radial-gradient(circle at 35% 30%, rgba(255,225,166,.96), rgba(242,200,121,.72) 30%, rgba(91,155,255,.55) 70%, rgba(7,24,39,.96)) !important;
	box-shadow: 0 0 var(--nutea-voice-glow) rgba(91,155,255,.34), 0 16px 40px -22px #000 !important;
}
.skb-orb b {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	z-index: 3;
	font-family: var(--font-display, Georgia, serif);
	font-style: italic;
	font-size: 25px;
	font-weight: 500;
	color: #08233a;
	text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.skb-orb i { opacity: .22; }

/* Voice means voice only: no written transcript/composer while a call is active. */
.singhkulbir-assistant.is-live .nutea-voice__text-toolbar,
.singhkulbir-assistant.is-live .nutea-voice__transcript,
.singhkulbir-assistant.is-live .nutea-voice__composer,
.singhkulbir-assistant.is-live .nutea-voice__history-tools,
.singhkulbir-assistant.is-live .nutea-voice__text-error { display: none !important; }
.skb-unused { display: none !important; }

@keyframes skb-launcher-pulse {
	0%, 100% { transform: scale(1); opacity: .72; }
	50% { transform: scale(1.10); opacity: .20; }
}

@media (max-width: 600px) {
	.singhkulbir-assistant { right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
	.singhkulbir-assistant .nutea-voice__launcher { height: 56px; min-height: 56px; padding-right: 18px; font-size: 14px; }
	.skb-launcher-mark { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.skb-launcher-mark::before { animation: none; }
}
