/* Vani TTS Studio — design system. Everything is scoped under .vani-app. */

.vani-app {
	--v-bg: #f5f6fa;
	--v-surface: #ffffff;
	--v-surface-2: #f8f9fc;
	--v-border: #e4e7ef;
	--v-border-strong: #cfd4e0;
	--v-text: #141826;
	--v-text-2: #4a5168;
	--v-muted: #8a91a6;
	--v-primary: #5b4bff;
	--v-primary-2: #4636e8;
	--v-primary-soft: #eeecff;
	--v-ok: #0f9d6a;
	--v-ok-soft: #e4f7ef;
	--v-warn: #c27803;
	--v-warn-soft: #fff4dc;
	--v-bad: #d6334a;
	--v-bad-soft: #fdeaed;
	--v-pro: #b8590a;
	--v-pro-grad: linear-gradient(135deg, #ffb547, #ff7a45);
	--v-male: linear-gradient(135deg, #4f8cff, #6a5bff);
	--v-female: linear-gradient(135deg, #ff6fa8, #c25bff);
	--v-radius: 14px;
	--v-radius-sm: 9px;
	--v-shadow: 0 1px 2px rgba(20, 24, 38, .05), 0 4px 16px rgba(20, 24, 38, .05);
	--v-shadow-lg: 0 20px 50px rgba(20, 24, 38, .18);
	--v-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Noto Sans Devanagari", "Mukta", sans-serif;
	font-family: var(--v-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--v-text);
	-webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
	.vani-app.vani-front {
		--v-bg: #0d1017; --v-surface: #151924; --v-surface-2: #1b2030; --v-border: #262c3d; --v-border-strong: #343b50;
		--v-text: #eef0f6; --v-text-2: #b5bbcc; --v-muted: #7d849a; --v-primary-soft: #241f4d;
		--v-ok-soft: #10302a; --v-warn-soft: #362a10; --v-bad-soft: #3a1820;
	}
}
.vani-app *, .vani-app *::before, .vani-app *::after { box-sizing: border-box; }
.vani-wrap { margin: 16px 20px 0 0; }
.vani-app h2, .vani-app h3 { color: var(--v-text); margin: 0; font-weight: 650; letter-spacing: -.01em; }
.vani-app h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.vani-app p { margin: 0; }
.vani-app code { background: var(--v-surface-2); border: 1px solid var(--v-border); border-radius: 6px; padding: 1px 6px; font-size: 12.5px; }
.vani-app pre { background: #141826; color: #e6e8f2; border-radius: var(--v-radius-sm); padding: 14px; overflow: auto; margin: 12px 0 0; }
.vani-app pre code { background: none; border: 0; color: inherit; padding: 0; }
.vani-i { width: 18px; height: 18px; flex: none; }
.vani-muted { color: var(--v-muted); font-weight: 500; }
.vani-meta { color: var(--v-muted); font-size: 12.5px; }
.vani-help { color: var(--v-muted); font-size: 12.5px; margin-top: 10px !important; }
.vani-spacer { flex: 1; }
.tone-ok { color: var(--v-ok); }

/* ---------- Shell ---------- */
.vani-shell { background: var(--v-bg); border: 1px solid var(--v-border); border-radius: 18px; overflow: hidden; position: relative; min-height: 620px; }
.vani-front .vani-shell { min-height: 0; }
.vani-top { display: flex; align-items: center; gap: 20px; padding: 14px 20px; background: var(--v-surface); border-bottom: 1px solid var(--v-border); flex-wrap: wrap; }
.vani-brand { display: flex; align-items: center; gap: 10px; }
.vani-brand strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.vani-brand small { display: block; color: var(--v-muted); font-size: 11.5px; }
.vani-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--v-primary), #a24bff); box-shadow: 0 6px 16px rgba(91, 75, 255, .35); }
.vani-logo .vani-i { width: 20px; height: 20px; stroke-width: 2.4; }
.vani-nav { display: flex; gap: 2px; background: var(--v-surface-2); border: 1px solid var(--v-border); border-radius: 11px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.vani-tab { all: unset; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; color: var(--v-text-2); font-weight: 560; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.vani-tab .vani-i { width: 16px; height: 16px; }
.vani-tab:hover { color: var(--v-text); background: rgba(91, 75, 255, .06); }
.vani-tab.is-active { background: var(--v-surface); color: var(--v-primary); box-shadow: 0 1px 3px rgba(20, 24, 38, .1); }
.vani-tab:focus-visible { outline: 2px solid var(--v-primary); outline-offset: 1px; }
.vani-mini-pro { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--v-pro-grad); padding: 1px 5px; border-radius: 4px; }
.vani-top-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.vani-main { padding: 20px; }

.vani-pill { all: unset; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.vani-pill[disabled] { cursor: default; }
.vani-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.vani-pill.tone-ok { color: var(--v-ok); background: var(--v-ok-soft); }
.vani-pill.tone-ok .vani-dot { animation: vani-pulse 2.4s infinite; }
.vani-pill.tone-warn { color: var(--v-warn); background: var(--v-warn-soft); }
.vani-pill.tone-bad { color: var(--v-bad); background: var(--v-bad-soft); }
.vani-pill.tone-muted { color: var(--v-text-2); background: var(--v-surface-2); border-color: var(--v-border); }
@keyframes vani-pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.vani-plan { all: unset; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--v-text-2); background: var(--v-surface-2); border: 1px solid var(--v-border); cursor: pointer; }
.vani-plan b { color: var(--v-primary); }
.vani-plan.is-pro { color: #fff; background: var(--v-pro-grad); border: 0; font-weight: 800; letter-spacing: .04em; cursor: default; }
.vani-plan .vani-i { width: 14px; height: 14px; }

.vani-banner { margin: 16px 20px 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--v-radius); border: 1px solid; }
.vani-banner > div { flex: 1; display: flex; flex-direction: column; }
.vani-banner span { color: var(--v-text-2); font-size: 13px; }
.vani-banner.tone-info { background: var(--v-primary-soft); border-color: #d9d4ff; color: var(--v-primary); }
.vani-banner.tone-warn { background: var(--v-warn-soft); border-color: #f5dfa8; color: var(--v-warn); }
.vani-banner.tone-bad { background: var(--v-bad-soft); border-color: #f6c3cb; color: var(--v-bad); }
.vani-banner strong { color: var(--v-text); }

/* ---------- Primitives ---------- */
.vani-card { background: var(--v-surface); border: 1px solid var(--v-border); border-radius: var(--v-radius); padding: 18px; box-shadow: var(--v-shadow); }
.vani-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.vani-stack { display: flex; flex-direction: column; gap: 16px; }
.vani-inline { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.vani-eyebrow { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--v-muted); }
.vani-eyebrow .vani-i { width: 14px; height: 14px; }

.vani-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--v-radius-sm); background: var(--v-surface); border: 1px solid var(--v-border-strong); color: var(--v-text); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; }
.vani-btn:hover { background: var(--v-surface-2); border-color: var(--v-muted); color: var(--v-text); }
.vani-btn:active { transform: translateY(1px); }
.vani-btn:focus-visible, .vani-icon-btn:focus-visible, .vani-chip:focus-visible { outline: 2px solid var(--v-primary); outline-offset: 2px; }
.vani-btn[disabled] { opacity: .6; cursor: not-allowed; }
.vani-btn .vani-i { width: 16px; height: 16px; }
.vani-btn.is-primary { background: var(--v-primary); border-color: var(--v-primary); color: #fff; box-shadow: 0 4px 14px rgba(91, 75, 255, .3); }
.vani-btn.is-primary:hover { background: var(--v-primary-2); color: #fff; }
.vani-btn.is-danger.is-primary { background: var(--v-bad); border-color: var(--v-bad); box-shadow: 0 4px 14px rgba(214, 51, 74, .25); }
.vani-btn.is-ghost { background: transparent; border-color: transparent; }
.vani-btn.is-ghost:hover { background: var(--v-surface-2); }
.vani-btn.is-danger { color: var(--v-bad); }
.vani-btn.is-lg { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 11px; }
.vani-btn.is-sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.vani-btn.is-locked { color: var(--v-muted); }
.vani-link { all: unset; display: inline-flex; align-items: center; gap: 5px; color: var(--v-primary); font-weight: 600; cursor: pointer; font-size: 12.5px; }
.vani-link:hover { text-decoration: underline; }
.vani-link.is-danger { color: var(--v-bad); margin-top: 12px; }
.vani-link .vani-i { width: 14px; height: 14px; }

.vani-icon-btn { all: unset; box-sizing: border-box; width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid var(--v-border); background: var(--v-surface); color: var(--v-text-2); cursor: pointer; flex: none; transition: all .15s; }
.vani-icon-btn:hover { color: var(--v-primary); border-color: #cfc9ff; background: var(--v-primary-soft); }
.vani-icon-btn .vani-i { width: 16px; height: 16px; }
.vani-icon-btn.is-ghost { border-color: transparent; background: transparent; }
.vani-icon-btn.is-on { color: #f5a300; }
.vani-icon-btn.is-on .vani-i { fill: #f5b800; stroke: #e09a00; }
.vani-icon-btn.is-playing { color: #fff; background: var(--v-primary); border-color: var(--v-primary); }
.vani-icon-btn.is-lg { width: 44px; height: 44px; border-radius: 50%; color: var(--v-primary); border-color: #d9d4ff; }
.vani-icon-btn.is-lg.is-playing { color: #fff; }
.vani-icon-btn.is-danger:hover { color: var(--v-bad); background: var(--v-bad-soft); border-color: #f6c3cb; }
.vani-icon-btn.is-locked { color: var(--v-muted); }
.vani-icon-btn[disabled] { opacity: .4; cursor: not-allowed; }

.vani-input, .vani-select, .vani-textarea { font: inherit; color: var(--v-text); background: var(--v-surface); border: 1px solid var(--v-border-strong); border-radius: var(--v-radius-sm); transition: border-color .15s, box-shadow .15s; }
.vani-input, .vani-select { height: 38px; padding: 0 12px; width: 100%; max-width: none; min-height: 0; line-height: 1; }
.vani-select { padding-right: 30px; }
.vani-select.is-compact { height: 32px; width: auto; font-size: 12.5px; }
.vani-input.is-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.vani-input:focus, .vani-select:focus, .vani-textarea:focus { outline: none; border-color: var(--v-primary); box-shadow: 0 0 0 3px rgba(91, 75, 255, .15); }
.vani-textarea { width: 100%; min-height: 220px; padding: 14px 16px 30px; font-size: 15.5px; line-height: 1.7; resize: vertical; display: block; }
.vani-textarea.is-sm { min-height: 78px; padding: 10px 12px; font-size: 14px; }
.vani-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vani-field > span { font-size: 12px; font-weight: 600; color: var(--v-text-2); }
.vani-field.is-inline { flex-direction: row; align-items: center; gap: 8px; }
.vani-field.is-inline .vani-input { width: 170px; height: 32px; }
.vani-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.vani-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.vani-chip { all: unset; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--v-border); background: var(--v-surface); color: var(--v-text-2); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.vani-chip em { font-style: normal; font-size: 11px; color: var(--v-muted); background: var(--v-surface-2); padding: 0 6px; border-radius: 999px; }
.vani-chip:hover { border-color: #cfc9ff; color: var(--v-primary); }
.vani-chip.is-active { background: var(--v-primary); border-color: var(--v-primary); color: #fff; }
.vani-chip.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }

.vani-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--v-surface-2); color: var(--v-text-2); border: 1px solid var(--v-border); white-space: nowrap; }
.vani-badge .vani-i { width: 12px; height: 12px; }
.vani-badge.is-pro { background: var(--v-pro-grad); color: #fff; border: 0; letter-spacing: .04em; font-weight: 800; }
.vani-badge.is-free { background: var(--v-ok-soft); color: var(--v-ok); border-color: transparent; }
.vani-badge.is-ok { background: var(--v-ok-soft); color: var(--v-ok); border-color: transparent; }
.vani-badge.is-xs { font-size: 9px; padding: 1px 5px; }
.vani-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

.vani-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--v-radius-sm); background: var(--v-surface-2); border: 1px solid var(--v-border); color: var(--v-text-2); font-size: 12.5px; margin-bottom: 12px; flex-wrap: wrap; }
.vani-note .vani-i { width: 16px; height: 16px; color: var(--v-muted); }
.vani-note.tone-warn { background: var(--v-warn-soft); border-color: #f5dfa8; color: #7a5200; }

.vani-spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: vani-spin .7s linear infinite; opacity: .8; }
.vani-spinner.is-sm { width: 13px; height: 13px; }
@keyframes vani-spin { to { transform: rotate(360deg); } }
.vani-boot { display: grid; place-items: center; min-height: 320px; color: var(--v-primary); }
.vani-boot .vani-spinner { width: 28px; height: 28px; border-width: 3px; }
.vani-fatal { display: flex; gap: 12px; padding: 18px; border-radius: 12px; background: #fdeaed; color: #8a1c2c; }
.vani-empty, .vani-empty-sm { text-align: center; color: var(--v-muted); padding: 40px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vani-empty .vani-i { width: 32px; height: 32px; opacity: .6; }
.vani-empty-sm { padding: 20px 12px; font-size: 13px; }

/* ---------- Studio ---------- */
.vani-studio, .vani-settings { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.vani-col-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vani-col-side { position: sticky; top: 46px; min-width: 0; }
.vani-front .vani-col-side { top: 16px; }
.vani-textarea-wrap { position: relative; }
.vani-counter { position: absolute; right: 12px; bottom: 8px; font-size: 11.5px; color: var(--v-muted); font-variant-numeric: tabular-nums; background: var(--v-surface); padding: 0 4px; border-radius: 4px; display: flex; gap: 8px; align-items: center; }
.vani-counter .is-over { color: var(--v-bad); font-weight: 700; }
.vani-tagrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.vani-tag-label { font-size: 11px; font-weight: 700; color: var(--v-muted); text-transform: uppercase; letter-spacing: .06em; width: 52px; flex: none; }
.vani-tag { all: unset; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 7px; background: var(--v-primary-soft); color: var(--v-primary); font-size: 12.5px; font-weight: 550; cursor: pointer; transition: all .12s; }
.vani-tag:hover { background: var(--v-primary); color: #fff; }
.vani-tag.is-pause { background: #e7f6fb; color: #0b7aa3; }
.vani-tag.is-pause:hover { background: #0b7aa3; color: #fff; }
.vani-tag .vani-i { width: 13px; height: 13px; }
.vani-hint { all: unset; font-size: 11.5px; color: var(--v-muted); margin-left: 4px; display: inline-flex; align-items: center; gap: 4px; }
.vani-hint.is-pro { cursor: pointer; color: var(--v-pro); }
.vani-hint .vani-i { width: 12px; height: 12px; }
.vani-gen-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--v-border); flex-wrap: wrap; }
.vani-style { flex: 1; max-width: 340px; min-width: 200px; }
.vani-gen-actions { display: flex; align-items: center; gap: 12px; }
.vani-kbd { font-size: 11px; color: var(--v-muted); border: 1px solid var(--v-border); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; }
.vani-usage-strip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--v-text-2); padding: 0 4px; flex-wrap: wrap; }
.vani-usage-strip .vani-i { width: 15px; height: 15px; color: var(--v-primary); }

.vani-result { border-color: #c8eadb; animation: vani-in .3s ease; }
.vani-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.vani-result-head strong { display: block; font-size: 16px; margin: 2px 0; }
.vani-result .vani-eyebrow { color: var(--v-ok); }
.vani-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vani-audio { width: 100%; height: 44px; border-radius: 10px; }
@keyframes vani-in { from { opacity: 0; transform: translateY(6px); } }

/* Voice panel */
.vani-voice-panel { padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 140px); }
.vani-front .vani-voice-panel { max-height: 760px; }
.vani-selected { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(180deg, var(--v-primary-soft), transparent); border-bottom: 1px solid var(--v-border); }
.vani-selected-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vani-selected-body strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vani-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; background: var(--v-male); }
.vani-avatar.g-female { background: var(--v-female); }
.vani-avatar.is-big { width: 48px; height: 48px; font-size: 16px; box-shadow: 0 6px 14px rgba(91, 75, 255, .25); }
.vani-filters { padding: 12px 14px; border-bottom: 1px solid var(--v-border); display: flex; flex-direction: column; gap: 10px; }
.vani-filter-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vani-filter-row .vani-select { flex: 1; min-width: 120px; }
.vani-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--v-border-strong); border-radius: var(--v-radius-sm); background: var(--v-surface); color: var(--v-muted); }
.vani-search:focus-within { border-color: var(--v-primary); box-shadow: 0 0 0 3px rgba(91, 75, 255, .15); }
.vani-search input { all: unset; flex: 1; color: var(--v-text); font-size: 13px; min-width: 0; }
.vani-search.is-compact { width: 240px; height: 32px; }
.vani-seg { display: inline-flex; background: var(--v-surface-2); border: 1px solid var(--v-border); border-radius: 9px; padding: 2px; }
.vani-seg button { all: unset; padding: 5px 10px; font-size: 12px; font-weight: 600; color: var(--v-text-2); border-radius: 7px; cursor: pointer; }
.vani-seg button.is-active { background: var(--v-surface); color: var(--v-primary); box-shadow: 0 1px 2px rgba(20, 24, 38, .12); }
.vani-voice-list { overflow-y: auto; padding: 6px; flex: 1; min-height: 200px; }
.vani-voice { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: background .12s; }
.vani-voice:hover { background: var(--v-surface-2); }
.vani-voice:focus-visible { outline: 2px solid var(--v-primary); }
.vani-voice.is-selected { background: var(--v-primary-soft); border-color: #d9d4ff; }
.vani-voice.is-locked .vani-voice-body strong { color: var(--v-text-2); }
.vani-voice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vani-voice-body strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vani-voice-body span { font-size: 12px; color: var(--v-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vani-lock { color: var(--v-pro); display: grid; }
.vani-lock .vani-i { width: 15px; height: 15px; }
.vani-voice .vani-icon-btn { width: 30px; height: 30px; }

/* ---------- Dialogue ---------- */
.vani-speakers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vani-speaker { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid #4f8cff; }
.vani-speaker.is-b { border-top-color: #e55aa8; }
.vani-speaker .vani-btn { align-self: flex-start; }
.vani-rounds-head, .vani-round { display: grid; grid-template-columns: 32px 1fr 1fr 34px; gap: 10px; align-items: start; }
.vani-rounds-head { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.vani-rounds-head .tone-a { color: #3a6fe0; }
.vani-rounds-head .tone-b { color: #c4408c; }
.vani-rounds { display: flex; flex-direction: column; gap: 10px; }
.vani-round-num { width: 28px; height: 28px; border-radius: 50%; background: var(--v-surface-2); border: 1px solid var(--v-border); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--v-text-2); margin-top: 6px; }
.vani-progress { height: 8px; background: var(--v-surface-2); border-radius: 999px; overflow: hidden; margin: 16px 0 6px; }
.vani-progress-bar { height: 100%; background: linear-gradient(90deg, var(--v-primary), #a24bff); border-radius: 999px; transition: width .4s ease; }
input[type="range"] { accent-color: var(--v-primary); width: 160px; }

/* ---------- Voices gallery ---------- */
.vani-toolbar { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 12px; }
.vani-toolbar .vani-filters { border: 0; padding: 0; flex: 1; flex-direction: row; flex-wrap: wrap; }
.vani-toolbar .vani-search { flex: 1; min-width: 220px; }
.vani-gallery-group h3 { margin: 6px 0 12px; }
.vani-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.vani-vcard { background: var(--v-surface); border: 1px solid var(--v-border); border-radius: var(--v-radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.vani-vcard:hover { border-color: #cfc9ff; box-shadow: var(--v-shadow); transform: translateY(-1px); }
.vani-vcard header { display: flex; gap: 10px; align-items: center; }
.vani-vcard header div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vani-vcard header span { font-size: 12px; color: var(--v-muted); }
.vani-vcard p { font-size: 13px; color: var(--v-text-2); line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vani-vcard footer { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vani-vcard.is-locked { background: linear-gradient(180deg, var(--v-surface), var(--v-surface-2)); }

/* ---------- Library ---------- */
.vani-clips { display: flex; flex-direction: column; }
.vani-clip { display: grid; grid-template-columns: minmax(0, 1fr) 300px auto; gap: 16px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--v-border); }
.vani-clip:first-child { border-top: 0; }
.vani-clip-main { min-width: 0; display: flex; flex-direction: column; }
.vani-clip-main p { font-size: 12.5px; color: var(--v-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vani-clip audio { width: 100%; height: 36px; }
.vani-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--v-text-2); }

/* ---------- Add-ons ---------- */
.vani-addon { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--v-border); border-radius: var(--v-radius); background: var(--v-surface); }
.vani-addon + .vani-addon { margin-top: 10px; }
.vani-addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.vani-addon-grid .vani-addon + .vani-addon { margin-top: 0; }
.vani-addon-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--v-surface-2); border: 1px solid var(--v-border); flex: none; }
.vani-addon-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vani-addon-body p { color: var(--v-text-2); font-size: 13px; }
.vani-dev p { color: var(--v-text-2); margin-top: 8px; }

/* ---------- Settings ---------- */
.vani-conn { border-left: 4px solid var(--v-muted); }
.vani-conn.tone-ok { border-left-color: var(--v-ok); }
.vani-conn.tone-warn { border-left-color: var(--v-warn); }
.vani-conn.tone-bad { border-left-color: var(--v-bad); }
.vani-conn-hero, .vani-lic-hero { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.vani-conn-hero > div, .vani-lic-hero > div { flex: 1; min-width: 200px; }
.vani-conn-hero strong, .vani-lic-hero strong { display: block; font-size: 19px; letter-spacing: -.01em; margin: 2px 0; }
.vani-conn-hero p, .vani-lic-hero p { color: var(--v-text-2); font-size: 13px; }
.vani-conn-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--v-surface-2); color: var(--v-muted); flex: none; }
.vani-conn-icon .vani-i { width: 22px; height: 22px; stroke-width: 2.2; }
.tone-ok .vani-conn-icon { background: var(--v-ok-soft); color: var(--v-ok); }
.tone-warn .vani-conn-icon { background: var(--v-warn-soft); color: var(--v-warn); }
.tone-bad .vani-conn-icon { background: var(--v-bad-soft); color: var(--v-bad); }
.vani-conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 16px 0 0; border: 1px solid var(--v-border); border-radius: var(--v-radius-sm); overflow: hidden; }
.vani-conn-grid div { background: var(--v-surface); padding: 10px 12px; box-shadow: 1px 1px 0 var(--v-border); }
.vani-conn-grid dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--v-muted); }
.vani-conn-grid dd { margin: 3px 0 0; font-weight: 600; font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vani-steps { margin: 0 0 14px 18px; padding: 0; color: var(--v-text-2); font-size: 13px; }
.vani-steps li { margin-bottom: 4px; }
.vani-steps a { color: var(--v-primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.vani-steps a .vani-i { width: 13px; height: 13px; }
.vani-keyrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.vani-input-group { flex: 1; min-width: 240px; display: flex; align-items: center; border: 1px solid var(--v-border-strong); border-radius: var(--v-radius-sm); background: var(--v-surface); padding-right: 2px; }
.vani-input-group:focus-within { border-color: var(--v-primary); box-shadow: 0 0 0 3px rgba(91, 75, 255, .15); }
.vani-input-group .vani-input { border: 0; box-shadow: none !important; }
.vani-keyrow > .vani-input { flex: 1; min-width: 240px; }
.vani-code { font-size: 13px !important; padding: 6px 10px !important; }
.vani-switch { position: relative; width: 40px; height: 22px; flex: none; }
.vani-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.vani-switch span { position: absolute; inset: 0; background: var(--v-border-strong); border-radius: 999px; cursor: pointer; transition: background .2s; }
.vani-switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.vani-switch input:checked + span { background: var(--v-primary); }
.vani-switch input:checked + span::after { transform: translateX(18px); }
.vani-switch input:disabled + span { opacity: .5; cursor: not-allowed; }
.vani-switch input:focus-visible + span { outline: 2px solid var(--v-primary); outline-offset: 2px; }
.vani-copyrow { display: flex; gap: 8px; align-items: center; margin: 14px 0 10px; }
.is-locked-card { background: linear-gradient(180deg, var(--v-surface), var(--v-surface-2)); }
.vani-savebar { position: sticky; bottom: 0; padding: 12px 0; display: flex; justify-content: flex-end; background: linear-gradient(transparent, var(--v-bg) 30%); }
.vani-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vani-stats div { background: var(--v-surface-2); border-radius: var(--v-radius-sm); padding: 10px 12px; }
.vani-stats b { display: block; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vani-stats span { font-size: 11.5px; color: var(--v-muted); }
.vani-chart { display: flex; align-items: flex-end; gap: 3px; height: 80px; margin: 16px 0 6px; padding-bottom: 1px; border-bottom: 1px solid var(--v-border); }
.vani-chart span { flex: 1; background: var(--v-primary); border-radius: 3px 3px 0 0; opacity: .85; min-height: 3px; }
.vani-chart span:hover { opacity: 1; }

/* ---------- License ---------- */
.vani-lic-hero.is-pro { padding: 16px; border-radius: var(--v-radius-sm); background: var(--v-pro-grad); color: #fff; }
.vani-lic-hero.is-pro p, .vani-lic-hero.is-pro .vani-eyebrow { color: rgba(255, 255, 255, .85); }
.vani-lic-hero.is-pro > .vani-i { width: 34px; height: 34px; }
.vani-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vani-table th, .vani-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--v-border); }
.vani-table th:not(:first-child), .vani-table td:not(:first-child) { text-align: center; width: 110px; }
.vani-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--v-muted); }
.vani-table tr:hover td { background: var(--v-surface-2); }

.vani-locked { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vani-locked p { color: var(--v-text-2); max-width: 520px; }
.vani-locked-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--v-pro-grad); box-shadow: 0 10px 24px rgba(255, 122, 69, .35); }
.vani-locked-icon .vani-i { width: 28px; height: 28px; }

/* ---------- Modal & toasts ---------- */
.vani-modal-backdrop { position: fixed; inset: 0; background: rgba(13, 16, 23, .55); backdrop-filter: blur(3px); z-index: 100000; display: grid; place-items: center; padding: 16px; animation: vani-fade .15s; }
.vani-modal { position: relative; width: 100%; max-width: 460px; background: var(--v-surface); border-radius: 18px; padding: 24px; box-shadow: var(--v-shadow-lg); display: flex; flex-direction: column; gap: 12px; animation: vani-in .2s ease; }
.vani-modal h3 { font-size: 18px; padding-right: 30px; }
.vani-modal p { color: var(--v-text-2); }
.vani-modal-x { position: absolute; top: 14px; right: 14px; }
.vani-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.vani-modal-voice { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--v-border); border-radius: 12px; }
.vani-modal-voice div { flex: 1; display: flex; flex-direction: column; }
.vani-modal-voice span { font-size: 12px; color: var(--v-muted); }
@keyframes vani-fade { from { opacity: 0; } }
.vani-toasts { position: fixed; right: 24px; bottom: 24px; z-index: 100001; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.vani-toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #141826; color: #fff; box-shadow: var(--v-shadow-lg); font-size: 13px; animation: vani-in .2s ease; transition: opacity .3s, transform .3s; }
.vani-toast .vani-i { width: 18px; height: 18px; }
.vani-toast.tone-ok .vani-i { color: #4ade9b; }
.vani-toast.tone-warn .vani-i { color: #fbbf48; }
.vani-toast.tone-bad .vani-i { color: #ff7d8f; }
.vani-toast span { flex: 1; }
.vani-toast .vani-link { color: #b9b2ff; }
.vani-toast.is-out { opacity: 0; transform: translateY(6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.vani-studio, .vani-settings { grid-template-columns: 1fr; }
	.vani-col-side { position: static; }
	.vani-voice-panel { max-height: 560px; }
	.vani-clip { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 782px) {
	.vani-wrap { margin-right: 10px; }
	.vani-main { padding: 14px; }
	.vani-top { padding: 12px 14px; gap: 12px; }
	.vani-nav { order: 3; width: 100%; }
	.vani-tab span:not(.vani-mini-pro) { display: none; }
	.vani-tab { padding: 8px 12px; }
	.vani-speakers { grid-template-columns: 1fr; }
	.vani-rounds-head { display: none; }
	.vani-round { grid-template-columns: 28px 1fr 34px; }
	.vani-round .vani-textarea[data-side="b"] { grid-column: 2; }
	.vani-search.is-compact { width: 100%; }
	.vani-gen-actions { width: 100%; }
	.vani-gen-actions .vani-btn { flex: 1; }
	.vani-kbd { display: none; }
	.vani-banner { margin: 12px 14px 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.vani-app *, .vani-app *::before, .vani-app *::after { animation: none !important; transition: none !important; }
}

/* ---------- v1.1 additions ---------- */
.vani-warm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; padding-top: 10px; border-top: 1px solid var(--v-border); }
.vani-warm .vani-meta { flex: 1; }
.vani-diag { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--v-border); }
.vani-diag-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.vani-diag-head audio { height: 34px; flex: 1; min-width: 220px; }
.vani-diag .vani-conn-grid { margin-top: 10px; }
.vani-pro-list { list-style: none; margin: 6px 0 10px; padding: 0; text-align: left; display: grid; gap: 8px; }
.vani-pro-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--v-text-2); }
.vani-badge.tone-bad { background: var(--v-bad-soft); color: var(--v-bad); border-color: transparent; }
.vani-field textarea.vani-input { height: auto; padding: 10px 12px; line-height: 1.5; }

/* =================== Vani TTS Service additions =================== */
.vani-svc { max-width: 1400px; margin: 0 auto; }
.vani-btn.is-block { display: flex; width: 100%; }
.vani-note.tone-bad { background: var(--v-bad-soft); border-color: #f6c3cb; color: #8a1c2c; }
.vani-foot { padding: 10px 20px 16px; text-align: center; font-size: 12px; color: var(--v-muted); }
.vani-pill.is-static { cursor: default; padding: 3px 9px; font-size: 11.5px; }

/* toggles & checks */
.vani-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--v-text-2); user-select: none; }
.vani-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.vani-toggle > span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--v-border-strong); transition: background .2s; flex: none; }
.vani-toggle > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.vani-toggle input:checked + span { background: var(--v-primary); }
.vani-toggle input:checked + span::after { transform: translateX(16px); }
.vani-toggle input:focus-visible + span { outline: 2px solid var(--v-primary); outline-offset: 2px; }
.vani-toggle.is-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--v-border); }
.vani-toggle.is-row:first-of-type { border-top: 0; }
.vani-toggle.is-row b { display: block; color: var(--v-text); }
.vani-toggle.is-row small { display: block; font-weight: 400; color: var(--v-muted); font-size: 12px; margin-top: 2px; }
.vani-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--v-text-2); cursor: pointer; }
.vani-check input { accent-color: var(--v-primary); width: 16px; height: 16px; margin: 0; }

/* API-call estimate */
.vani-calls { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--v-ok); background: var(--v-ok-soft); padding: 1px 8px; border-radius: 999px; }
.vani-calls.is-many { color: var(--v-warn); background: var(--v-warn-soft); }
.vani-calls .vani-i { width: 12px; height: 12px; }

/* user menu */
.vani-user { position: relative; }
.vani-user > .vani-avatar { border: 0; cursor: pointer; }
.vani-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--v-surface); border: 1px solid var(--v-border); border-radius: 12px; box-shadow: var(--v-shadow-lg); min-width: 230px; padding: 6px; z-index: 50; }
.vani-menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--v-border); margin-bottom: 4px; }
.vani-menu-head strong, .vani-menu-head span { display: block; }
.vani-menu-head span { font-size: 12px; color: var(--v-muted); }
.vani-menu a, .vani-menu button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--v-text); }
.vani-menu a:hover, .vani-menu button:hover { background: var(--v-surface-2); }

/* auth */
.vani-auth { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; min-height: 560px; }
.vani-auth-hero { padding: 48px; background: radial-gradient(circle at 15% 15%, #7c6bff 0%, #5b4bff 35%, #2b1f9e 100%); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.vani-auth-hero h1 { color: #fff; font-size: 34px; margin: 6px 0 0; letter-spacing: -.02em; }
.vani-auth-hero p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 460px; }
.vani-auth-hero .vani-logo { background: rgba(255,255,255,.16); box-shadow: none; width: 48px; height: 48px; }
.vani-auth-hero .vani-pro-list li { color: rgba(255,255,255,.92); }
.vani-auth-hero .vani-pro-list .vani-i { color: #8ff0c4; }
.vani-auth-price { display: inline-block; align-self: flex-start; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.vani-auth-card { margin: 40px; align-self: center; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.vani-auth-form { display: flex; flex-direction: column; gap: 14px; }
.vani-seg.is-wide { display: flex; }
.vani-seg.is-wide button { flex: 1; text-align: center; padding: 9px; }

/* keys */
.vani-keys-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.vani-keys { display: flex; flex-direction: column; gap: 8px; }
.vani-key { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--v-border); border-radius: 12px; background: var(--v-surface); transition: border-color .15s; }
.vani-key.is-active { border-color: #9be3c4; background: linear-gradient(90deg, var(--v-ok-soft), var(--v-surface) 40%); }
.vani-key.is-used { background: var(--v-surface-2); }
.vani-key.is-disabled, .vani-key.is-invalid { opacity: .7; }
.vani-key-order { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--v-muted); font-weight: 700; }
.vani-key-order .vani-icon-btn { width: 24px; height: 22px; }
.vani-key-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.vani-key-title { display: flex; align-items: center; gap: 8px; }
.vani-key-label { font: inherit; font-weight: 650; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 2px 6px; margin-left: -6px; min-width: 0; max-width: 240px; color: var(--v-text); }
.vani-key-label:hover, .vani-key-label:focus { border-color: var(--v-border-strong); background: var(--v-surface); outline: none; }
.vani-key-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.vani-pro-list.is-compact { gap: 5px; font-size: 13px; }
.vani-help .vani-i { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* billing */
.vani-plan-now { display: flex; align-items: center; gap: 16px; border-left: 4px solid var(--v-ok); }
.vani-plan-now.tone-warn { border-left-color: var(--v-warn); }
.vani-plan-now > div { flex: 1; }
.vani-plan-now strong { display: block; font-size: 20px; margin: 2px 0; }
.vani-plan-now p { color: var(--v-text-2); }
.vani-plan-now .vani-progress-bar { background: linear-gradient(90deg, var(--v-ok), #49d39b); }
.vani-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.vani-plan-card { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; border-radius: 16px; border: 1px solid var(--v-border); background: var(--v-surface); box-shadow: var(--v-shadow); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.vani-plan-card:hover { transform: translateY(-2px); border-color: #cfc9ff; }
.vani-plan-card.is-featured { border-color: var(--v-primary); }
.vani-plan-card.is-selected { border-color: var(--v-primary); box-shadow: 0 0 0 3px rgba(91,75,255,.18), var(--v-shadow); }
.vani-plan-card h3 { font-size: 16px; }
.vani-plan-card .vani-pro-list { flex: 1; text-align: left; }
.vani-plan-ribbon { position: absolute; top: -10px; left: 18px; background: var(--v-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.vani-plan-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.vani-plan-price small { font-size: 13px; font-weight: 500; color: var(--v-muted); margin-left: 4px; }
.vani-plan-price.is-sm { font-size: 18px; }
.vani-pay-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; margin-top: 14px; align-items: start; }
.vani-qr { background: #fff; border: 1px solid var(--v-border); border-radius: 16px; padding: 14px; text-align: center; }
.vani-qr img { width: 100%; height: auto; display: block; border-radius: 8px; }
.vani-qr-missing { padding: 40px 10px; color: var(--v-muted); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.vani-pay-info { display: flex; flex-direction: column; gap: 10px; }
.vani-amount { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--v-primary-soft); color: var(--v-primary); }
.vani-amount b { font-size: 22px; }
.vani-pay-info .vani-copyrow { margin: 0; display: flex; align-items: center; gap: 8px; }
.vani-pay-info .vani-copyrow > span { width: 90px; color: var(--v-muted); font-size: 12.5px; }
.vani-pay-form { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.vani-pay-form .vani-steps { margin: 0 0 4px 18px; }

@media (max-width: 1100px) {
	.vani-keys-layout { grid-template-columns: 1fr; }
	.vani-auth { grid-template-columns: 1fr; }
	.vani-auth-card { margin: 20px; }
}
@media (max-width: 782px) {
	.vani-auth-hero { padding: 28px; }
	.vani-auth-hero h1 { font-size: 26px; }
	.vani-pay-grid { grid-template-columns: 1fr; }
	.vani-key { grid-template-columns: 28px minmax(0, 1fr); }
	.vani-key-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.vani-top-meta { flex-wrap: wrap; }
}

/* ======================================================================
   v1.1 — Vani TTS Studio professional skin
   Sidebar layout, new auth screens, dashboard, license.
   ====================================================================== */

.vani-app {
	--v-primary-rgb: 91, 75, 255;
	--v-ink: #0c0f1d;
	--v-side: #0d1020;
	--v-side-2: #161a2e;
	--v-side-text: #a9b0c8;
	--v-grad: linear-gradient(135deg, var(--v-primary) 0%, #8b5cf6 55%, #d946ef 100%);
	--v-radius: 16px;
	--v-shadow: 0 1px 2px rgba(16, 20, 40, .04), 0 8px 24px rgba(16, 20, 40, .06);
	--v-info: #2563eb; --v-info-soft: #e8f0ff;
	font-size: 14px;
}
.vani-app .vani-card { border-radius: var(--v-radius); border-color: #e6e8f0; }
.vani-app .vani-btn { height: 38px; border-radius: 10px; }
.vani-app .vani-btn.is-lg { height: 46px; padding: 0 20px; font-size: 14.5px; border-radius: 12px; }
.vani-app .vani-btn.is-primary { background: var(--v-grad); border-color: transparent; box-shadow: 0 6px 18px rgba(var(--v-primary-rgb), .32); }
.vani-app .vani-btn.is-primary:hover { filter: brightness(1.06); box-shadow: 0 8px 24px rgba(var(--v-primary-rgb), .4); }
.vani-app .vani-btn.is-primary.is-danger { background: var(--v-bad); box-shadow: none; }
.vani-app .vani-input, .vani-app .vani-select, .vani-app .vani-textarea { border-radius: 10px; }
.vani-app .vani-input:focus, .vani-app .vani-select:focus, .vani-app .vani-textarea:focus { border-color: var(--v-primary); box-shadow: 0 0 0 4px rgba(var(--v-primary-rgb), .12); outline: 0; }
.vani-pill.tone-info { color: var(--v-info); background: var(--v-info-soft); }
.vani-note.tone-ok { background: var(--v-ok-soft); border-color: #bfe8d4; color: #0b6b48; }
.vani-note.tone-ok .vani-i { color: var(--v-ok); }
.vani-note.tone-info { background: var(--v-info-soft); border-color: #cfdcff; color: #1e40af; }
.vani-note.tone-info .vani-i { color: var(--v-info); }
.vani-note.tone-bad .vani-i { color: var(--v-bad); }
.vani-banner.tone-ok { background: var(--v-ok-soft); border-color: #bfe8d4; color: var(--v-ok); }
.vani-banner.tone-info { background: var(--v-info-soft); border-color: #cfdcff; color: var(--v-info); }
.vx-banner-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.7); flex: none; }
.vx-logo-img { height: 36px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }
.vani-app .vani-logo { background: var(--v-grad); }

/* ---------- Animated waveform ---------- */
.vx-wave { display: flex; align-items: center; gap: 4px; height: 64px; }
.vx-wave i { flex: 1; min-width: 3px; max-width: 6px; border-radius: 4px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.35)); animation: vx-wave 1.3s ease-in-out infinite; transform-origin: center; }
@keyframes vx-wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .vx-wave i { animation: none; } }

/* ======================================================================
   Auth
   ====================================================================== */
.vx-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 680px; background: #f6f7fb; border-radius: 22px; overflow: hidden; border: 1px solid #e6e8f0; }
.vani-svc-page .vx-auth { min-height: 100vh; border-radius: 0; border: 0; }
.vx-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at -10% -20%, rgba(var(--v-primary-rgb), .9), transparent 60%), radial-gradient(900px 500px at 120% 110%, rgba(217, 70, 239, .55), transparent 60%), #0b0e1f; display: flex; }
.vx-hero-glow { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); }
.vx-hero-in { position: relative; padding: 56px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 640px; }
.vx-hero-brand { display: flex; align-items: center; gap: 12px; }
.vx-hero-brand strong { display: block; font-size: 18px; letter-spacing: -.01em; }
.vx-hero-brand span { display: block; font-size: 13px; color: rgba(255,255,255,.65); }
.vx-hero .vani-logo { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fff; }
.vx-hero h1 { margin: 6px 0 0; color: #fff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.03em; font-weight: 750; }
.vx-hero-lead { color: rgba(255,255,255,.78) !important; font-size: 16px; line-height: 1.6; max-width: 520px; }
.vx-hero .vx-wave { height: 72px; opacity: .9; }
.vx-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vx-feats li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.9); font-size: 14.5px; }
.vx-feats .vani-i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(52, 211, 153, .18); color: #6ee7b7; flex: none; margin-top: 1px; }
.vx-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 6px; }
.vx-hero-stats div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.vx-hero-stats b { display: block; font-size: 20px; letter-spacing: -.02em; }
.vx-hero-stats span { font-size: 12px; color: rgba(255,255,255,.65); }

.vx-auth-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; gap: 18px; }
.vx-auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid #e6e8f0; border-radius: 22px; padding: 30px; box-shadow: 0 24px 60px rgba(16, 20, 40, .10); display: flex; flex-direction: column; gap: 18px; animation: vx-rise .35s ease; }
@keyframes vx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.vx-auth-foot { display: flex; align-items: center; gap: 6px; color: var(--v-muted); font-size: 12px; }
.vx-auth-foot .vani-i { width: 14px; height: 14px; }
.vx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #f1f2f7; border-radius: 12px; }
.vx-tabs button { all: unset; text-align: center; padding: 9px 0; border-radius: 9px; font-weight: 650; font-size: 13.5px; color: var(--v-text-2); cursor: pointer; transition: all .15s; }
.vx-tabs button.is-active { background: #fff; color: var(--v-text); box-shadow: 0 1px 3px rgba(16, 20, 40, .12); }
.vx-auth-head { display: flex; flex-direction: column; gap: 6px; }
.vx-auth-head h2 { font-size: 23px; letter-spacing: -.02em; }
.vx-auth-head p { color: var(--v-text-2); font-size: 14px; }
.vx-auth-head b { color: var(--v-text); }
.vx-auth-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--v-primary-rgb), .1); color: var(--v-primary); margin-bottom: 6px; }
.vx-auth-ic .vani-i { width: 22px; height: 22px; }
.vx-form { display: flex; flex-direction: column; gap: 14px; }
.vx-form .vani-field > span { font-size: 12.5px; font-weight: 600; color: var(--v-text-2); }
.vx-input-ic { position: relative; display: flex; align-items: center; }
.vx-input-ic > .vani-i { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--v-muted); pointer-events: none; }
.vx-input-ic .vani-input { width: 100%; height: 46px; padding-left: 40px; font-size: 14.5px; background: #fbfbfe; }
.vx-eye { all: unset; position: absolute; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--v-muted); cursor: pointer; }
.vx-eye:hover { background: #f1f2f7; color: var(--v-text); }
.vx-eye .vani-i { position: static; width: 17px; height: 17px; }
.vx-input-ic input[type=password], .vx-input-ic input[name^=password] { padding-right: 44px; }
.vx-textarea { width: 100%; min-height: 84px; padding: 10px 12px; resize: vertical; }
.vx-row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vx-submit { margin-top: 4px; }
.vx-submit .vani-i { width: 17px; height: 17px; transition: transform .15s; }
.vx-submit:hover .vani-i { transform: translateX(3px); }
.vx-fine { display: flex; gap: 6px; align-items: center; color: var(--v-muted); font-size: 12.5px; justify-content: center; }
.vx-fine .vani-i { width: 14px; height: 14px; }
.vx-back { all: unset; display: inline-flex; align-items: center; gap: 6px; color: var(--v-text-2); font-size: 13px; font-weight: 600; cursor: pointer; align-self: flex-start; }
.vx-back:hover { color: var(--v-primary); }
.vx-back .vani-i { width: 16px; height: 16px; }
.vx-strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 5px; align-items: center; margin-top: -6px; }
.vx-strength i { height: 5px; border-radius: 3px; background: #e7e9f1; transition: background .2s; }
.vx-strength span { font-size: 11.5px; color: var(--v-muted); margin-left: 6px; min-width: 70px; text-align: right; }
.vx-strength.is-1 i:nth-child(-n+1) { background: #ef4444; }
.vx-strength.is-2 i:nth-child(-n+2) { background: #f59e0b; }
.vx-strength.is-3 i:nth-child(-n+3) { background: #22c55e; }
.vx-strength.is-4 i:nth-child(-n+4) { background: #10b981; }
.vx-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.vx-otp-box { width: 100%; height: 56px; text-align: center; font-size: 24px; font-weight: 700; border: 1.5px solid #dfe2ec; border-radius: 12px; background: #fbfbfe; color: var(--v-text); font-family: ui-monospace, Menlo, monospace; transition: border-color .15s, box-shadow .15s; }
.vx-otp-box:focus { outline: 0; border-color: var(--v-primary); box-shadow: 0 0 0 4px rgba(var(--v-primary-rgb), .14); background: #fff; }
.vx-otp-box.is-bad { border-color: var(--v-bad); animation: vx-shake .3s; }
@keyframes vx-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* ======================================================================
   App shell — sidebar layout
   ====================================================================== */
.vani-shell.vx-app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 760px; background: #f4f5fa; border-radius: 20px; border: 1px solid #e6e8f0; overflow: visible; }
.vani-svc-page .vani-shell.vx-app { min-height: 100vh; border-radius: 0; border: 0; }
.vx-side { position: relative; align-self: stretch; display: flex; flex-direction: column; background: var(--v-side); color: var(--v-side-text); border-radius: 20px 0 0 20px; padding: 18px 14px; gap: 14px; z-index: 30; }
.vani-svc-page .vx-side { border-radius: 0; position: sticky; top: 0; align-self: start; height: 100vh; }
.vx-side-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.vx-side-brand strong { display: block; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.vx-side-brand small { display: block; font-size: 11.5px; color: #7c84a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.vx-side .vani-logo { width: 38px; height: 38px; border-radius: 11px; color: #fff; box-shadow: 0 6px 18px rgba(var(--v-primary-rgb), .45); }
.vx-nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; scrollbar-width: none; }
.vx-nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: #5d6585; padding: 14px 12px 6px; font-weight: 700; }
.vani-tab.vx-nav-item { display: flex; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 11px; color: var(--v-side-text); font-size: 13.5px; font-weight: 560; gap: 11px; position: relative; }
.vani-tab.vx-nav-item .vani-i { width: 18px; height: 18px; opacity: .85; }
.vani-tab.vx-nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.vani-tab.vx-nav-item.is-active { background: linear-gradient(90deg, rgba(var(--v-primary-rgb), .32), rgba(var(--v-primary-rgb), .08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--v-primary-rgb), .35); }
.vani-tab.vx-nav-item.is-active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--v-primary); }
.vani-tab.vx-nav-item.is-active .vani-i { opacity: 1; color: #c4bcff; }
.vx-dotbadge { margin-left: auto; font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #10b981; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.vx-dotbadge.is-warn { background: #f59e0b; }
.vx-side-foot { display: flex; flex-direction: column; gap: 10px; }
.vx-meter { padding: 12px; border-radius: 13px; background: var(--v-side-2); border: 1px solid rgba(255,255,255,.06); }
.vx-meter-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 8px; }
.vx-meter-row b { color: #fff; font-weight: 650; }
.vx-meter-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.vx-meter-bar i { display: block; height: 100%; border-radius: 4px; background: var(--v-grad); transition: width .4s; }
.vx-meter-bar i.is-hot { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.vx-meter.is-plain { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #c9cee0; }
.vx-meter.is-plain .vani-i { color: #a78bfa; }
.vx-usercard { position: relative; }
.vx-user-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; cursor: pointer; }
.vx-user-btn:hover { background: rgba(255,255,255,.05); }
.vx-user-btn .vani-avatar { width: 34px; height: 34px; font-size: 12.5px; }
.vx-user-txt { flex: 1; min-width: 0; }
.vx-user-txt b, .vx-user-txt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-user-txt b { color: #fff; font-size: 13px; }
.vx-user-txt small { color: #7c84a3; font-size: 11.5px; }
.vx-user-btn > .vani-i { width: 15px; height: 15px; color: #7c84a3; }
.vani-menu.vx-menu-up { top: auto; bottom: calc(100% + 8px); left: 0; right: 0; }

.vx-body { min-width: 0; display: flex; flex-direction: column; }
.vx-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 16px 28px; background: rgba(244, 245, 250, .85); backdrop-filter: blur(12px); border-bottom: 1px solid #e6e8f0; border-radius: 0 20px 0 0; }
.vani-svc-page .vx-top { border-radius: 0; }
.vx-title { min-width: 0; }
.vx-title h1 { margin: 0; font-size: 20px; letter-spacing: -.02em; color: var(--v-text); font-weight: 720; }
.vx-title span { font-size: 12.5px; color: var(--v-muted); }
.vx-top .vani-top-meta { margin-left: auto; }
.vx-top .vani-pill { background: #fff; border-color: #e6e8f0; }
.vx-top .vani-pill .vani-i { width: 14px; height: 14px; }
.vx-burger { display: none; }
.vx-body .vani-banner { margin: 18px 28px 0; border-radius: 14px; }
.vx-main { padding: 22px 28px 10px; }
.vx-view { animation: vx-fade .25s ease; max-width: 1360px; }
@keyframes vx-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vx-scrim { display: none; }

/* ---------- Dashboard ---------- */
.vx-hello { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 20px; color: #fff; background: radial-gradient(700px 300px at 100% 0%, rgba(217, 70, 239, .55), transparent 60%), linear-gradient(120deg, #1b1446 0%, var(--v-primary) 100%); margin-bottom: 18px; box-shadow: 0 18px 40px rgba(var(--v-primary-rgb), .22); }
.vx-hello h2 { color: #fff !important; font-size: 26px; letter-spacing: -.02em; margin: 4px 0 6px !important; }
.vx-hello p { color: rgba(255,255,255,.8); max-width: 520px; }
.vx-hello .vani-eyebrow { color: rgba(255,255,255,.7); }
.vx-hello .vx-wave { width: 260px; flex: none; height: 90px; opacity: .85; }
.vx-hello-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.vx-hello .vani-btn.is-primary { background: #fff; color: #1b1446; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.vx-btn-glass { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.25) !important; }
.vx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.vx-stat { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 3px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #e6e8f0; box-shadow: var(--v-shadow); transition: transform .15s, box-shadow .15s; min-width: 0; }
.vx-stat:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 20, 40, .09); }
.vx-stat-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 8px; background: var(--v-surface-2); color: var(--v-text-2); }
.vx-stat.tone-ok .vx-stat-ic { background: var(--v-ok-soft); color: var(--v-ok); }
.vx-stat.tone-warn .vx-stat-ic { background: var(--v-warn-soft); color: var(--v-warn); }
.vx-stat.tone-bad .vx-stat-ic { background: var(--v-bad-soft); color: var(--v-bad); }
.vx-stat.tone-violet .vx-stat-ic { background: rgba(var(--v-primary-rgb), .1); color: var(--v-primary); }
.vx-stat.tone-blue .vx-stat-ic { background: var(--v-info-soft); color: var(--v-info); }
.vx-stat-label { font-size: 12.5px; color: var(--v-muted); font-weight: 600; }
.vx-stat b { font-size: 22px; letter-spacing: -.02em; color: var(--v-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-stat small { font-size: 12px; color: var(--v-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-grid-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.vx-grid-2.is-wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); }
.vx-recents { display: flex; flex-direction: column; gap: 8px; }
.vx-recent { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 220px); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--v-surface-2); }
.vx-recent b, .vx-recent small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-recent small { color: var(--v-muted); font-size: 12px; }
.vx-recent audio { width: 100%; height: 34px; }
.vx-recent-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--v-primary-rgb), .1); color: var(--v-primary); }
.vx-steps-bar { margin: 2px 0 10px; }
.vx-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vx-checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; }
.vx-checklist li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--v-surface-2); border: 1px solid var(--v-border); color: var(--v-muted); flex: none; }
.vx-checklist li > span .vani-i { width: 13px; height: 13px; }
.vx-checklist li.is-done > span { background: var(--v-ok); border-color: var(--v-ok); color: #fff; }
.vx-checklist button { all: unset; cursor: pointer; font-size: 13.5px; color: var(--v-text); }
.vx-checklist li.is-done button { color: var(--v-muted); text-decoration: line-through; }
.vx-checklist button:hover { color: var(--v-primary); }
.vx-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.vx-quick-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #e6e8f0; transition: border-color .15s, transform .15s; }
.vx-quick-card:hover { border-color: rgba(var(--v-primary-rgb), .45); transform: translateY(-2px); }
.vx-quick-card > span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--v-grad); color: #fff; margin-bottom: 6px; }
.vx-quick-card small { color: var(--v-muted); font-size: 12.5px; }
.vx-free-note { margin: 12px 0 0; }

/* ---------- License ---------- */
.vx-license { text-align: center; padding: 36px 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; overflow: hidden; }
.vx-license h2 { font-size: 24px; letter-spacing: -.02em; }
.vx-license > p { color: var(--v-text-2); max-width: 520px; }
.vx-license-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--v-grad); color: #fff; box-shadow: 0 12px 30px rgba(var(--v-primary-rgb), .35); margin-bottom: 6px; }
.vx-license-ic .vani-i { width: 30px; height: 30px; }
.vx-license.is-open { border-color: rgba(16, 185, 129, .45); background: radial-gradient(600px 200px at 50% -40%, rgba(16, 185, 129, .12), transparent 70%), #fff; }
.vx-license.is-locked .vx-license-ic { background: #eef0f6; color: var(--v-muted); box-shadow: none; }
.vx-license-form { display: flex; gap: 10px; width: 100%; max-width: 560px; margin-top: 8px; flex-wrap: wrap; }
.vx-license-input { flex: 1; min-width: 240px; height: 50px !important; font-size: 17px !important; letter-spacing: 1.5px; text-align: center; font-weight: 700; text-transform: uppercase; }
.vx-license-plan { display: flex; flex-direction: column; padding: 12px 22px; border-radius: 14px; background: var(--v-ok-soft); color: var(--v-ok); }
.vx-license-plan span { font-size: 12.5px; }
.vx-flow { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.vx-flow li { counter-increment: s; position: relative; padding-left: 40px; display: flex; flex-direction: column; }
.vx-flow li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--v-primary-rgb), .1); color: var(--v-primary); font-weight: 700; font-size: 13px; }
.vx-flow span { color: var(--v-muted); font-size: 12.5px; }
.vx-device p { margin-top: 6px !important; }

/* ---------- Existing views polish ---------- */
.vx-main .vani-studio, .vx-main .vani-keys-layout { gap: 18px; }
.vx-main .vani-voice.is-selected { box-shadow: inset 0 0 0 1.5px var(--v-primary); background: rgba(var(--v-primary-rgb), .06); }
.vx-main .vani-plan-card.is-featured { border-color: var(--v-primary); box-shadow: 0 18px 40px rgba(var(--v-primary-rgb), .18); }
.vx-main .vani-plan-ribbon { background: var(--v-grad); }
.vx-main .vani-result { border-color: rgba(16, 185, 129, .4); }
.vx-main .vani-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--v-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.vx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vx-hello .vx-wave { display: none; }
}
@media (max-width: 960px) {
	.vani-shell.vx-app { grid-template-columns: minmax(0, 1fr); border-radius: 14px; }
	.vx-side { position: fixed !important; left: 0; top: 0 !important; bottom: 0; height: 100vh !important; min-height: 0 !important; width: 280px; max-width: 86vw; border-radius: 0 !important; transform: translateX(-102%); transition: transform .25s ease, box-shadow .25s; box-shadow: none; }
	.vx-app.is-side-open .vx-side { transform: none; box-shadow: 20px 0 50px rgba(0,0,0,.3); }
	.vx-app.is-side-open .vx-scrim { display: block; position: fixed; inset: 0; background: rgba(10, 12, 25, .5); z-index: 25; }
	.vx-burger { display: inline-grid; }
	.vx-top { padding: 12px 16px; border-radius: 14px 14px 0 0; flex-wrap: wrap; }
	.vx-title h1 { font-size: 17px; }
	.vx-title span { display: none; }
	.vx-main { padding: 16px; }
	.vx-body .vani-banner { margin: 14px 16px 0; flex-wrap: wrap; }
	.vx-grid-2, .vx-grid-2.is-wide-left, .vx-quick { grid-template-columns: minmax(0, 1fr); }
	.vx-auth { grid-template-columns: minmax(0, 1fr); }
	.vx-hero-in { padding: 32px 22px; gap: 16px; }
	.vx-hero .vx-wave, .vx-hero-stats, .vx-feats li:nth-child(n+4) { display: none; }
	.vx-auth-side { padding: 22px 14px 28px; margin-top: -26px; position: relative; }
	.vx-auth-card { padding: 22px; border-radius: 18px; }
}
@media (max-width: 560px) {
	.vx-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
	.vx-stat { padding: 14px; }
	.vx-stat b { font-size: 18px; }
	.vx-hello { padding: 22px; }
	.vx-hello h2 { font-size: 21px; }
	.vx-top .vani-top-meta { width: 100%; order: 3; }
	.vx-recent { grid-template-columns: auto minmax(0, 1fr); }
	.vx-recent audio { grid-column: 1 / -1; }
	.vx-otp { gap: 6px; }
	.vx-otp-box { height: 50px; font-size: 21px; }
	.vx-license { padding: 26px 18px; }
}
.vani-app .vani-tab.vx-nav-item span { display: inline !important; }
.vani-app .vx-nav { order: 0; width: auto; background: none; border: 0; padding: 0; border-radius: 0; }
.vx-plan-limits { margin: 10px 0 4px !important; padding: 10px 12px !important; border-radius: 12px; background: rgba(var(--v-primary-rgb), .06); }
.vx-plan-limits li { font-weight: 600; color: var(--v-text); }
.vx-plan-limits .vani-i { color: var(--v-primary); }
.vx-inline-banner { margin: 0 !important; }
