/* BusinessZindagi CardVault – Premium SaaS UX */
:root {
	--bg: #f5f7fb;
	--surface: #ffffff;
	--surface2: #f0f3f9;
	--border: rgba(15,23,42,.08);
	--text: #0f172a;
	--muted: #64748b;
	--primary: #2563eb;
	--primary-h: #1d4ed8;
	--danger: #ef4444;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 2px 14px rgba(15,23,42,.06);
	--shadow-lg: 0 14px 40px rgba(15,23,42,.1);
	--nav-h: 64px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--safe-b: env(safe-area-inset-bottom, 0px);
}
[data-theme="dark"] {
	--bg: #0b0b0f;
	--surface: #16161c;
	--surface2: #1e1e26;
	--border: rgba(255,255,255,.08);
	--text: #f1f5f9;
	--muted: #94a3b8;
	--shadow: 0 2px 12px rgba(0,0,0,.35);
	--shadow-lg: 0 12px 40px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; }
.bzcv-app {
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	min-height: 70vh;
	-webkit-font-smoothing: antialiased;
	line-height: 1.4;
	position: relative;
}
.bzcv-logged { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px); }

/* Top bar – visible on ALL devices so Logout is never missing */
.bzcv-top-bar,
.bzcv-desktop-bar {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 9500;
}
.bzcv-desktop-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.bzcv-desktop-logo { font-size: 20px; }
.bzcv-top-logout {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	min-height: 42px;
	border-radius: 980px;
	background: #ef4444;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	border: none;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(239,68,68,.3);
}
.bzcv-top-logout:hover,
.bzcv-top-logout:active {
	background: #dc2626;
	color: #fff !important;
}
@media (min-width: 768px) {
	.bzcv-bottom-nav { display: none !important; }
	.bzcv-fab-wrap { display: none !important; }
	.bzcv-logged { padding-bottom: 32px; }
	.bzcv-screen { max-width: 800px; }
	.bzcv-top-bar { padding: 14px 24px; }
}


/* Guest */
.bzcv-guest {
	display: flex; align-items: center; justify-content: center;
	padding: 32px 16px; min-height: 80vh;
	background: linear-gradient(165deg, #eff6ff 0%, var(--bg) 50%, #f8fafc 100%);
}
[data-theme="dark"] .bzcv-guest { background: var(--bg); }
.bzcv-auth-shell { width: 100%; max-width: 400px; }
.bzcv-auth-card {
	background: var(--surface); border-radius: 24px; padding: 36px 28px;
	box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
@media (max-width: 420px) {
	.bzcv-auth-card { padding: 28px 18px; }
	.bzcv-btn { font-size: 14px; padding: 14px 16px; min-height: 50px; }
}
.bzcv-brand { text-align: center; margin-bottom: 24px; }
.bzcv-brand-icon { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.bzcv-brand h1 { margin: 0 0 6px; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.bzcv-headline { margin: 0; font-size: 15px; font-weight: 650; color: var(--primary); }
.bzcv-subline { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.bzcv-features {
	list-style: none; margin: 14px 0 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
	font-size: 12px; color: var(--muted); text-align: left;
}
.bzcv-features li { background: var(--surface2); padding: 8px 10px; border-radius: 8px; }

.bzcv-form .bzcv-field { margin-bottom: 16px; }
.bzcv-guest .bzcv-btn-block { margin-top: 4px; }
.bzcv-guest .bzcv-btn-outline { margin-top: 2px; }
.bzcv-field label {
	display: block; font-size: 11px; font-weight: 650; color: var(--muted);
	margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em;
}
.bzcv-field input, .bzcv-field textarea, .bzcv-field select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--border);
	border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
	background: var(--surface2); color: var(--text); outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.bzcv-field input:focus, .bzcv-field textarea:focus, .bzcv-field select:focus {
	border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.bzcv-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 12px; cursor: pointer; }
.bzcv-check input { width: auto; }
.bzcv-alert {
	background: #fef2f2; color: var(--danger); padding: 10px 12px;
	border-radius: 10px; font-size: 13px; margin-bottom: 12px;
}

.bzcv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 22px; min-height: 48px; border-radius: 980px; border: none;
	font-size: 15px; font-weight: 650; font-family: inherit; cursor: pointer;
	transition: transform .12s, background .15s, box-shadow .15s;
	line-height: 1.35; white-space: normal; overflow: visible;
	text-align: center; word-break: normal; box-sizing: border-box;
}
.bzcv-btn:focus-visible {
	outline: 3px solid rgba(37,99,235,.45); outline-offset: 2px;
}
.bzcv-btn:active { transform: scale(.97); }
.bzcv-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.bzcv-btn-primary:hover { background: var(--primary-h); }
.bzcv-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.bzcv-btn-outline {
	background: var(--surface); color: var(--primary); border: 2px solid var(--primary);
	min-height: 50px; padding: 14px 22px;
}
.bzcv-btn-outline:hover { background: rgba(37,99,235,.06); }
.bzcv-btn-outline:focus-visible { outline: 3px solid rgba(37,99,235,.35); outline-offset: 2px; }
.bzcv-btn-ghost { background: transparent; color: var(--muted); }
.bzcv-btn-ghost:hover { color: var(--text); background: var(--surface2); }
.bzcv-btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.bzcv-btn-danger:hover { background: var(--danger); color: #fff; }
.bzcv-btn-block { width: 100%; }
.bzcv-btn-sm { padding: 8px 14px; font-size: 13px; }
.bzcv-btn-lg { padding: 14px 22px; font-size: 15px; }

.bzcv-or { text-align: center; margin: 16px 0; position: relative; }
.bzcv-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.bzcv-or span { position: relative; background: var(--surface); padding: 0 12px; font-size: 12px; color: var(--muted); }
.bzcv-auth-links { text-align: center; margin: 14px 0 0; font-size: 13px; }
.bzcv-auth-links a { color: var(--primary); text-decoration: none; }

/* Screens */
.bzcv-screen { padding: 20px 16px 8px; max-width: 720px; margin: 0 auto; }
.bzcv-header { margin-bottom: 22px; }
.bzcv-header-sm { display: flex; align-items: center; justify-content: space-between; }
.bzcv-greet { margin: 0; font-size: 15px; color: var(--muted); font-weight: 500; }
.bzcv-username { margin: 4px 0 0; font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.bzcv-welcome { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.bzcv-header-sm h1 { margin: 0; font-size: 22px; font-weight: 750; }

/* Action tiles */
.bzcv-actions {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px;
}
.bzcv-action {
	display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
	padding: 22px 16px; border-radius: var(--radius); border: 1px solid var(--border);
	background: var(--surface); box-shadow: var(--shadow); cursor: pointer;
	font-family: inherit; text-align: left; transition: transform .15s, box-shadow .15s;
	min-height: 110px;
}
.bzcv-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bzcv-action:active { transform: scale(.98); }
.bzcv-action-icon { font-size: 30px; line-height: 1; }
.bzcv-action-label { font-size: 14px; font-weight: 650; color: var(--text); }

.bzcv-section-head {
	display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.bzcv-section-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.bzcv-link { background: none; border: none; color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; }

/* Cards */
.bzcv-card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px) {
	.bzcv-card-grid { grid-template-columns: 1fr 1fr; }
}
.bzcv-card {
	display: flex; background: var(--surface); border-radius: var(--radius);
	border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
	cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.bzcv-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.bzcv-card-img {
	width: 100px; min-height: 118px; flex-shrink: 0; background: var(--surface2);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bzcv-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bzcv-card-body { flex: 1; padding: 12px 12px 10px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bzcv-card-name { margin: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bzcv-card-co { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bzcv-card-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.bzcv-card-cat {
	display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600;
	padding: 3px 8px; border-radius: 6px; background: rgba(37,99,235,.1); color: var(--primary);
}
.bzcv-card-actions { display: flex; gap: 4px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.bzcv-card-actions a, .bzcv-card-actions button {
	font-size: 11px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--border);
	background: var(--surface2); color: var(--text); text-decoration: none; cursor: pointer; font-family: inherit;
}

/* Empty state */
.bzcv-empty {
	grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--muted);
}
.bzcv-empty-icon { font-size: 48px; margin-bottom: 10px; line-height: 1; }
.bzcv-empty h3 { margin: 0 0 6px; font-size: 17px; color: var(--text); font-weight: 700; }
.bzcv-empty p { margin: 0 0 16px; font-size: 14px; }

/* Skeleton */
.bzcv-skeleton-grid { display: grid; gap: 12px; grid-column: 1 / -1; }
@media (min-width: 520px) {
	.bzcv-skeleton-grid { grid-template-columns: 1fr 1fr; }
}
.bzcv-skeleton-card {
	height: 110px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface2) 25%, var(--surface) 50%, var(--surface2) 75%);
	background-size: 200% 100%; animation: bzcv-shimmer 1.2s infinite; border: 1px solid var(--border);
}
.bzcv-skeleton-cat { height: 72px; }
@keyframes bzcv-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.bzcv-searchbar { margin-bottom: 12px; position: relative; }
.bzcv-search-ico {
	position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	font-size: 15px; opacity: .5; pointer-events: none;
}
.bzcv-searchbar input {
	width: 100%; padding: 14px 16px 14px 42px; border-radius: 980px; border: 1px solid var(--border);
	background: var(--surface); font-size: 15px; font-family: inherit; color: var(--text);
	outline: none; box-shadow: var(--shadow);
}
.bzcv-searchbar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.bzcv-filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.bzcv-select {
	padding: 10px 14px; border-radius: 980px; border: 1px solid var(--border);
	background: var(--surface); font-size: 13px; font-family: inherit; color: var(--text); cursor: pointer;
}
.bzcv-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.bzcv-pagination button {
	padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
	background: var(--surface); cursor: pointer; font-family: inherit; font-size: 13px; color: var(--text);
}
.bzcv-pagination button.active, .bzcv-pagination button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Categories */
.bzcv-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bzcv-cat-item {
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
	padding: 18px 14px; background: var(--surface); border-radius: var(--radius);
	border: 1px solid var(--border); cursor: pointer; box-shadow: var(--shadow);
	transition: transform .12s;
}
.bzcv-cat-item:hover { transform: translateY(-2px); }
.bzcv-cat-dot { width: 14px; height: 14px; border-radius: 50%; }
.bzcv-cat-name { font-weight: 700; font-size: 14px; }
.bzcv-cat-count { font-size: 12px; color: var(--muted); }

/* Profile */
.bzcv-profile { text-align: center; max-width: 400px; margin: 0 auto; }
.bzcv-avatar {
	width: 80px; height: 80px; border-radius: 50%; background: var(--primary); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
	margin: 0 auto 12px; box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.bzcv-profile-name { margin: 0; font-size: 22px; font-weight: 750; }
.bzcv-profile-email { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.bzcv-profile-meta { margin: 6px 0 22px; font-size: 12px; color: var(--muted); }
.bzcv-profile-menu {
	background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
	overflow: hidden; text-align: left; box-shadow: var(--shadow);
}
.bzcv-menu-item {
	display: block; width: 100%; padding: 16px 18px; border: none; border-bottom: 1px solid var(--border);
	background: transparent; color: var(--text); font-size: 15px; font-family: inherit;
	text-align: left; cursor: pointer; text-decoration: none;
}
.bzcv-menu-item:last-child { border-bottom: none; }
.bzcv-menu-item:hover { background: var(--surface2); }
.bzcv-menu-danger { color: var(--danger); font-weight: 600; }

/* Bottom nav */
.bzcv-bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
	height: calc(var(--nav-h) + var(--safe-b));
	padding-bottom: var(--safe-b);
	background: var(--surface); border-top: 1px solid var(--border);
	display: flex; align-items: stretch; justify-content: space-around;
	box-shadow: 0 -4px 20px rgba(15,23,42,.05);
}
.bzcv-nav-item {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; border: none; background: transparent; color: var(--muted);
	font-size: 10px; font-weight: 600; font-family: inherit; cursor: pointer; padding: 6px 4px;
}
.bzcv-nav-item.active { color: var(--primary); }
.bzcv-nav-icon { font-size: 20px; line-height: 1; }

/* FAB */
.bzcv-fab-wrap {
	position: fixed; right: 18px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
	z-index: 9100; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.bzcv-fab {
	width: 56px; height: 56px; border-radius: 50%; border: none;
	background: var(--primary); color: #fff; font-size: 28px; font-weight: 300;
	box-shadow: 0 6px 20px rgba(37,99,235,.4); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: transform .15s;
}
.bzcv-fab:active { transform: scale(.94); }
.bzcv-fab-menu { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.bzcv-fab-menu[hidden] { display: none !important; }
.bzcv-fab-option {
	padding: 12px 18px; border-radius: 980px; border: none;
	background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600;
	font-family: inherit; box-shadow: var(--shadow-lg); cursor: pointer;
	border: 1px solid var(--border);
}

/* Modal */
.bzcv-modal {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: flex-end; justify-content: center;
}
.bzcv-modal[hidden] { display: none !important; }
.bzcv-modal-bg {
	position: absolute; inset: 0; background: rgba(0,0,0,.4);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.bzcv-modal-sheet {
	position: relative; width: 100%; max-width: 560px; max-height: 92vh;
	background: var(--surface); border-radius: 22px 22px 0 0;
	box-shadow: var(--shadow-lg); overflow: auto;
	animation: bzcv-sheet .25s ease;
	border: 1px solid var(--border); border-bottom: none;
}
@media (min-width: 600px) {
	.bzcv-modal { align-items: center; padding: 16px; }
	.bzcv-modal-sheet { border-radius: 20px; border-bottom: 1px solid var(--border); max-height: 88vh; }
}
@keyframes bzcv-sheet {
	from { transform: translateY(40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
.bzcv-modal-handle {
	width: 36px; height: 4px; background: var(--border); border-radius: 4px; margin: 10px auto 0;
}
.bzcv-modal-head {
	display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 8px;
}
.bzcv-modal-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.bzcv-modal-x {
	background: var(--surface2); border: none; width: 34px; height: 34px; border-radius: 50%;
	font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
}
.bzcv-modal-body { padding: 8px 18px 12px; }
.bzcv-modal-foot {
	display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap;
	padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--border);
	position: sticky; bottom: 0; background: var(--surface);
}
.bzcv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bzcv-form-grid .full { grid-column: 1 / -1; }
.bzcv-preview { text-align: center; margin-bottom: 12px; }
.bzcv-preview img { max-height: 180px; border-radius: 12px; border: 1px solid var(--border); }
.bzcv-quick {
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.bzcv-quick a {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 10px; border-radius: 12px; background: var(--surface2);
	border: 1px solid var(--border); color: var(--text); text-decoration: none;
	font-size: 13px; font-weight: 600;
}
.bzcv-quick a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Toast */
.bzcv-toast {
	position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 80px);
	transform: translateX(-50%); z-index: 100001;
	background: #0f172a; color: #fff; padding: 12px 20px; border-radius: 980px;
	font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
	white-space: nowrap; max-width: 90vw;
}
[data-theme="dark"] .bzcv-toast { background: #e2e8f0; color: #0f172a; }
.bzcv-toast[hidden] { display: none !important; }

@media (max-width: 400px) {
	.bzcv-form-grid { grid-template-columns: 1fr; }
	.bzcv-quick { grid-template-columns: 1fr; }
}


/* Create Free Account – never clip text */
.bzcv-guest .bzcv-btn,
.bzcv-guest .bzcv-btn-outline,
.bzcv-guest .bzcv-btn-block {
	min-height: 52px !important;
	height: auto !important;
	padding: 14px 20px !important;
	line-height: 1.4 !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	max-width: 100%;
}
.bzcv-guest .bzcv-btn-outline {
	border-width: 2px !important;
	color: var(--primary) !important;
	background: var(--surface) !important;
}
#bzcv-show-register {
	margin-top: 4px;
	font-size: 15px !important;
}
.bzcv-terms {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 16px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
	cursor: pointer;
	text-align: left;
}
.bzcv-terms input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin-top: 2px;
	accent-color: var(--primary);
	cursor: pointer;
}
.bzcv-terms a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: underline;
}
.bzcv-terms a:hover { text-decoration: none; }

/* Final Create Free Account button fix */
#bzcv-show-register,
button#bzcv-show-register.bzcv-btn {
	min-height: 54px !important;
	height: auto !important;
	padding: 16px 24px !important;
	line-height: 1.5 !important;
	font-size: 15px !important;
	font-weight: 650 !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	border-radius: 980px !important;
}

/* Mobile logout – always visible on Profile */
.bzcv-logout-mobile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 20px;
	padding: 16px 20px;
	min-height: 54px;
	border-radius: 14px;
	background: #ef4444;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
	box-sizing: border-box;
}
.bzcv-logout-mobile:hover,
.bzcv-logout-mobile:active {
	background: #dc2626;
	color: #fff !important;
}
/* Hide FAB while on Profile so Logout is never covered */
.bzcv-app[data-view="profile"] .bzcv-fab-wrap {
	display: none !important;
}
@media (min-width: 768px) {
	/* Desktop keeps top-right Logout; mobile button can still show in profile if opened */
	.bzcv-logout-mobile {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
}

.bzcv-logout-sticky {
	position: sticky;
	bottom: calc(var(--nav-h) + var(--safe-b) + 12px);
	z-index: 20;
	padding-top: 16px;
	margin-top: 8px;
}
.bzcv-logout-mobile {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 16px 20px;
	min-height: 54px;
	border-radius: 14px;
	background: #ef4444 !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
	box-sizing: border-box;
}
.bzcv-app[data-view="profile"] .bzcv-fab-wrap {
	display: none !important;
}
.bzcv-screen#bzcv-screen-profile {
	padding-bottom: calc(var(--nav-h) + var(--safe-b) + 80px);
}

/* ========== Smart Voice & Text Entry ========== */
.bzcv-smart-entry {
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 16px;
	margin: 0 0 18px;
}
.bzcv-smart-head {
	margin-bottom: 12px;
}
.bzcv-smart-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
}
.bzcv-smart-desc {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.45;
}
.bzcv-smart-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}
.bzcv-smart-tab {
	flex: 1;
	min-height: 48px;
	padding: 12px 10px;
	border-radius: 12px;
	border: 1.5px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.bzcv-smart-tab.active {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}
.bzcv-smart-tab:active {
	transform: scale(0.98);
}
.bzcv-smart-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	margin-bottom: 6px;
}
.bzcv-smart-textarea {
	width: 100%;
	min-height: 110px;
	padding: 14px;
	border-radius: 12px;
	border: 1.5px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-size: 15px;
	line-height: 1.45;
	resize: vertical;
	font-family: inherit;
	box-sizing: border-box;
}
.bzcv-smart-textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.bzcv-smart-fill {
	width: 100%;
	margin-top: 12px;
	min-height: 50px;
	font-size: 16px;
	font-weight: 700;
}
.bzcv-voice-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 120px;
	padding: 20px;
	border-radius: 16px;
	border: 2px dashed var(--border);
	background: var(--surface);
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.bzcv-voice-btn:hover,
.bzcv-voice-btn:focus {
	border-color: var(--primary);
	background: rgba(37, 99, 235, 0.06);
}
.bzcv-voice-btn.listening {
	border-color: #ef4444;
	border-style: solid;
	background: rgba(239, 68, 68, 0.08);
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
	animation: bzcv-pulse 1.4s ease-in-out infinite;
}
@keyframes bzcv-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}
.bzcv-voice-ico {
	font-size: 36px;
	line-height: 1;
	margin-bottom: 8px;
}
.bzcv-voice-label {
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
}
.bzcv-voice-hint {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.45;
	text-align: center;
}
.bzcv-voice-unsupported {
	margin: 12px 0 0;
	padding: 12px;
	border-radius: 10px;
	background: rgba(239, 68, 68, 0.08);
	color: #b91c1c;
	font-size: 14px;
	text-align: center;
}
[data-theme="dark"] .bzcv-voice-unsupported {
	color: #fca5a5;
}
.bzcv-voice-transcript {
	margin-top: 12px;
	padding: 12px;
	border-radius: 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: 14px;
	color: var(--text);
	line-height: 1.45;
}
.bzcv-smart-status {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(37, 99, 235, 0.08);
	color: var(--primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
@media (max-width: 480px) {
	.bzcv-smart-entry { padding: 14px 12px; }
	.bzcv-smart-tab { font-size: 14px; min-height: 46px; }
	.bzcv-voice-btn { min-height: 110px; }
	.bzcv-voice-ico { font-size: 32px; }
}
