/* Vòng tròn doanh nghiệp 3D (SP Page Builder addon business_circle) */

.sppb-addon-business-circle {
	--bc-accent: #f2542d;
	--bc-accent-2: #ff7a45;
	--bc-navy: #0d1d40;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.sppb-addon-business-circle.bc-align-left { align-items: flex-start; }
.sppb-addon-business-circle.bc-align-right { align-items: flex-end; }

/* A Softway block split around the button: give the heading half the class
   bc-split-top and the cards half bc-split-bottom (field "class" of the block). */
.sw-block.bc-split-top { padding-bottom: 28px !important; }
.sw-block.bc-split-bottom { padding-top: 40px !important; }

/* ---------------------------------------------------------------- trigger */

.bc-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	padding: 10px 14px 10px 10px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(135deg, var(--bc-accent-2), var(--bc-accent));
	box-shadow: 0 10px 28px rgba(242, 84, 45, .35);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bc-trigger:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(242, 84, 45, .45); }
.bc-trigger:focus-visible { outline: 3px solid rgba(242, 84, 45, .45); outline-offset: 3px; }
.bc-trigger--outline { color: var(--bc-accent); background: #fff; box-shadow: inset 0 0 0 2px var(--bc-accent), 0 8px 22px rgba(13, 29, 64, .08); }
.bc-trigger--outline:hover { box-shadow: inset 0 0 0 2px var(--bc-accent), 0 12px 28px rgba(242, 84, 45, .2); }
.bc-trigger--dark { background: linear-gradient(135deg, #1b3270, var(--bc-navy)); box-shadow: 0 10px 28px rgba(13, 29, 64, .35); }

.bc-trigger__orbit {
	position: relative;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
}
.bc-trigger--outline .bc-trigger__orbit { background: rgba(242, 84, 45, .1); }
.bc-trigger__orbit::before {
	content: "";
	position: absolute;
	inset: 13px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 10px currentColor;
}
.bc-trigger__orbit i {
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	opacity: .55;
	animation: bc-spin 6s linear infinite;
}
.bc-trigger__orbit i::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: currentColor;
}
.bc-trigger__orbit i:nth-child(2) { transform: rotateX(65deg); animation-duration: 4s; }
.bc-trigger__orbit i:nth-child(3) { transform: rotateY(65deg); animation-duration: 5s; animation-direction: reverse; }
.bc-trigger__badge {
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: .06em;
	background: rgba(255, 255, 255, .22);
}
.bc-trigger--outline .bc-trigger__badge { background: var(--bc-accent); color: #fff; }
.bc-trigger-note { margin: 0; font-size: 14px; color: #6b7280; text-align: inherit; }
.bc-align-center .bc-trigger-note { text-align: center; }

@keyframes bc-spin { to { rotate: 360deg; } }

/* ---------------------------------------------------------------- modal shell */

.bc-modal {
	--bc-accent: #f2542d;
	--bc-bg: #060d22;
	--bc-surface: rgba(16, 30, 66, .72);
	--bc-line: rgba(140, 170, 255, .16);
	--bc-text: #eef3ff;
	--bc-muted: #9fb0d6;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: inherit;
	color: var(--bc-text);
	opacity: 0;
	transition: opacity .25s ease;
}
.bc-modal.is-open { opacity: 1; }
.bc-modal *, .bc-modal *::before, .bc-modal *::after { box-sizing: border-box; }
.bc-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 22, .72); backdrop-filter: blur(6px); }

.bc-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1480px, 100%);
	height: min(900px, 100%);
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid var(--bc-line);
	background:
		radial-gradient(1200px 600px at 50% 55%, rgba(48, 86, 190, .35), transparent 60%),
		radial-gradient(600px 400px at 85% 10%, rgba(242, 84, 45, .14), transparent 60%),
		var(--bc-bg);
	box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
	transform: translateY(16px) scale(.985);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.bc-modal.is-open .bc-dialog { transform: none; }

.bc-head {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px 12px 26px;
}
.bc-head__text { flex: 1; min-width: 0; }
.bc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8a5f; }
.bc-head h2 { margin: 4px 0 0; font-size: 26px; line-height: 1.2; font-weight: 800; color: #fff; }
.bc-head p { margin: 4px 0 0; max-width: 720px; font-size: 14px; line-height: 1.5; color: var(--bc-muted); }

.bc-search {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 360px;
	height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--bc-line);
	background: rgba(255, 255, 255, .06);
	color: var(--bc-muted);
	margin: 0;
}
.bc-search:focus-within { border-color: rgba(255, 138, 95, .7); background: rgba(255, 255, 255, .09); }
.bc-search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	font: inherit;
	font-size: 15px;
	color: #fff;
}
.bc-search input::placeholder { color: var(--bc-muted); opacity: .8; }

.bc-close {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bc-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	cursor: pointer;
}
.bc-close:hover { background: rgba(255, 255, 255, .14); }

/* ---------------------------------------------------------------- tabs */

.bc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 4px 22px 14px 26px;
	border-bottom: 1px solid var(--bc-line);
}
.bc-tabs::-webkit-scrollbar, .bc-industries::-webkit-scrollbar { display: none; }
.bc-tab {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--bc-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	color: var(--bc-muted);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.bc-tab span { padding: 1px 7px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .08); }
.bc-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.bc-tab.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff7a45, var(--bc-accent)); box-shadow: 0 6px 18px rgba(242, 84, 45, .35); }
.bc-tab.is-active span { background: rgba(255, 255, 255, .25); }

/* ---------------------------------------------------------------- body */

.bc-body {
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) 340px;
}

.bc-industries {
	overflow-y: auto;
	padding: 12px 10px 16px 16px;
	border-right: 1px solid var(--bc-line);
	scrollbar-width: thin;
}
.bc-industry {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	padding: 9px 12px;
	margin: 0 0 2px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #d6def3;
	font: inherit;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}
.bc-industry small { font-size: 11px; color: var(--bc-muted); }
.bc-industry:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.bc-industry.is-active { background: rgba(242, 84, 45, .16); color: #fff; box-shadow: inset 3px 0 0 var(--bc-accent); }
.bc-empty { margin: 10px; font-size: 14px; line-height: 1.5; color: var(--bc-muted); }

.bc-stage { position: relative; min-width: 0; overflow: hidden; }
.bc-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.bc-labels { position: absolute !important; inset: 0; pointer-events: none; }
.bc-stage__title {
	position: absolute;
	top: 16px;
	left: 20px;
	z-index: 2;
	max-width: 60%;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
	pointer-events: none;
}
.bc-stage__title small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff8a5f; }
.bc-loading {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
	font-size: 15px;
	color: var(--bc-muted);
}
.bc-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: #ff8a5f; animation: bc-spin .8s linear infinite; }
.bc-legend {
	position: absolute;
	left: 20px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 12px;
	color: var(--bc-muted);
	pointer-events: none;
}
.bc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.bc-legend__core { background: #ff6a3d; box-shadow: 0 0 8px #ff6a3d; }
.bc-legend__dept { background: conic-gradient(#ff9f43, #ff5fa2, #b07bff, #46c2ff, #3ddc97, #ffd23f, #ff9f43); }
.bc-legend__app { background: #9fd8ff; transform: rotate(45deg); border-radius: 2px !important; }
.bc-legend__custom { background: #ffc857; border-radius: 2px !important; box-shadow: 0 0 8px rgba(255, 200, 87, .6); }
.bc-hint { position: absolute; right: 20px; bottom: 16px; z-index: 2; font-size: 12px; color: var(--bc-muted); pointer-events: none; }

/* 3D labels */
.bc-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(8, 18, 44, .78);
	backdrop-filter: blur(4px);
	color: #e8eeff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: auto;
	cursor: pointer;
	user-select: none;
	transition: opacity .2s, background .2s, border-color .2s, transform .2s;
}
.bc-label .bc-dot { width: 7px; height: 7px; }
.bc-label:hover, .bc-label.is-active { background: rgba(242, 84, 45, .92); border-color: transparent; color: #fff; }
.bc-label.is-dim { opacity: .3; }
.bc-label--custom { border-color: rgba(255, 200, 87, .5); color: #ffe3a3; }
.bc-label--custom .bc-dot { border-radius: 2px; }
.bc-label--core { padding: 5px 12px; font-size: 13px; font-weight: 800; background: rgba(242, 84, 45, .9); border-color: transparent; }
.bc-label--core .bc-dot { display: none; }
.bc-label--app { border-color: rgba(159, 216, 255, .35); }
.bc-label--app .bc-dot { border-radius: 2px; transform: rotate(45deg); }

.bc-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }

/* ---------------------------------------------------------------- side panel */

.bc-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	border-left: 1px solid var(--bc-line);
	background: var(--bc-surface);
}
.bc-panel__body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px 24px; }
.bc-panel__foot {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 22px 16px;
	border-top: 1px solid var(--bc-line);
	background: rgba(9, 18, 42, .92);
}
.bc-panel__foot .bc-cta { flex: 1 1 170px; margin: 0; white-space: nowrap; color: #fff !important; border: 0; background: linear-gradient(135deg, #ff7a45, var(--bc-accent)); box-shadow: 0 8px 22px rgba(242, 84, 45, .3); }
.bc-panel__foot .bc-cta:hover { background: linear-gradient(135deg, #ff8a5f, var(--bc-accent)); }
.bc-call {
	flex: 1 1 auto;
	justify-content: center;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 12px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}
.bc-call:hover { background: rgba(255, 255, 255, .1); }

/* dark, thin scrollbars inside the modal (the site styles them white) */
.bc-modal * { scrollbar-width: thin; scrollbar-color: rgba(160, 180, 230, .28) transparent; }
.bc-modal ::-webkit-scrollbar { width: 8px; height: 8px; }
.bc-modal ::-webkit-scrollbar-track { background: transparent; }
.bc-modal ::-webkit-scrollbar-thumb { background: rgba(160, 180, 230, .28); border-radius: 8px; }
.bc-panel h3 { margin: 6px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; color: #fff; }
.bc-panel p { margin: 0 0 6px; font-size: 14px; line-height: 1.6; color: #c3cfeb; }
.bc-panel__kind { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bc-muted); }
.bc-panel__label { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff8a5f; }

.bc-back {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bc-muted);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.bc-back:hover { color: #fff; }

.bc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--bc-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	color: #dfe6fb;
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}
.bc-chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.bc-chip--app .bc-dot { border-radius: 2px; transform: rotate(45deg); }

.bc-products { display: flex; flex-direction: column; gap: 6px; }
.bc-product {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--bc-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.bc-product:hover { background: rgba(159, 216, 255, .1); border-color: rgba(159, 216, 255, .4); }
.bc-product__icon {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	transform: rotate(45deg);
	background: linear-gradient(135deg, #d8f0ff, #6fb8ff);
	box-shadow: 0 0 10px rgba(159, 216, 255, .6);
}
.bc-product__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bc-product__text b { font-size: 14px; font-weight: 700; color: #fff; }
.bc-product__text small { font-size: 12px; line-height: 1.45; color: var(--bc-muted); }
.bc-product__go { flex: none; font-size: 20px; color: var(--bc-muted); }

.bc-more, .bc-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
	padding: 13px 16px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
	transition: transform .15s, box-shadow .15s;
}
.bc-more { color: #fff !important; background: linear-gradient(135deg, #ff7a45, var(--bc-accent)); box-shadow: 0 8px 22px rgba(242, 84, 45, .35); }
.bc-more:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(242, 84, 45, .45); }
.bc-panel__label--custom { color: #ffc857; }
.bc-product--custom { border-style: dashed; border-color: rgba(255, 200, 87, .35); }
.bc-product--custom:hover { background: rgba(255, 200, 87, .08); border-color: rgba(255, 200, 87, .6); }
.bc-product--custom .bc-product__icon { transform: none; border-radius: 4px; background: linear-gradient(135deg, #ffe3a3, #ffb020); box-shadow: 0 0 10px rgba(255, 200, 87, .55); }
.bc-badge { align-self: flex-start; margin-top: 3px; padding: 2px 8px; border-radius: 999px; font-size: 11px !important; font-weight: 700; color: #1a1300 !important; background: #ffc857; }
.bc-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: #ffe3a3; background: rgba(255, 200, 87, .08); border: 1px solid rgba(255, 200, 87, .25); }
.bc-cta { margin-top: 10px; color: #fff !important; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }
.bc-cta:hover { background: rgba(255, 255, 255, .12); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
	.bc-body { grid-template-columns: 220px minmax(0, 1fr) 300px; }
	.bc-hint { display: none; }
}

@media (max-width: 899px) {
	.bc-modal { padding: 0; }
	.bc-dialog { width: 100%; height: 100%; border-radius: 0; border: 0; overflow-y: auto; }
	.bc-head { flex-wrap: wrap; gap: 12px; padding: 14px 16px 10px; }
	.bc-head__text { flex-basis: calc(100% - 60px); }
	.bc-head h2 { font-size: 20px; }
	.bc-head p { display: none; }
	.bc-search { order: 3; flex: 1 1 100%; }
	.bc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 12px; }
	.bc-body { display: flex; flex-direction: column; flex: none; }
	.bc-industries {
		display: flex;
		gap: 6px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 12px 16px;
		border-right: 0;
		border-bottom: 1px solid var(--bc-line);
		scrollbar-width: none;
	}
	.bc-industry { flex: none; width: auto; margin: 0; padding: 8px 12px; border: 1px solid var(--bc-line); white-space: nowrap; }
	.bc-industry.is-active { box-shadow: none; border-color: var(--bc-accent); }
	.bc-stage { height: 62vh; min-height: 380px; scroll-margin-top: 0; }
	.bc-stage__title { font-size: 18px; left: 16px; top: 12px; max-width: 80%; }
	.bc-legend { left: 16px; bottom: 12px; gap: 10px; }
	.bc-head, .bc-tabs, .bc-industries, .bc-stage, .bc-panel { flex: none; }
	.bc-label { font-size: 10px; padding: 3px 7px; gap: 4px; }
	.bc-label span:last-child { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
	.bc-label.is-active span:last-child { max-width: none; }
	.bc-label--core { font-size: 11px; }
	.bc-panel { border-left: 0; border-top: 1px solid var(--bc-line); }
	.bc-panel__body { padding: 18px 16px 24px; overflow: visible; }
	.bc-panel__foot { position: sticky; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
	.bc-trigger__orbit i, .bc-spinner { animation: none; }
	.bc-modal, .bc-dialog, .bc-trigger { transition: none; }
}

/* ---------------------------------------------------------------- AI agent layer */

.bc-legend__ai { background: #b98cff; box-shadow: 0 0 10px #b98cff; }

.bc-ai-toggle {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 8px 0 12px;
	border: 1px solid rgba(185, 140, 255, .45);
	border-radius: 999px;
	background: rgba(40, 20, 80, .55);
	backdrop-filter: blur(4px);
	color: #e6d8ff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.bc-ai-toggle__spark { color: #c9a7ff; text-shadow: 0 0 8px #b98cff; }
.bc-ai-toggle__switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .2s; }
.bc-ai-toggle__switch i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.bc-ai-toggle.is-on { border-color: rgba(185, 140, 255, .8); box-shadow: 0 0 18px rgba(185, 140, 255, .35); }
.bc-ai-toggle.is-on .bc-ai-toggle__switch { background: #9b6bff; }
.bc-ai-toggle.is-on .bc-ai-toggle__switch i { transform: translateX(14px); }
.bc-ai-toggle:not(.is-on) { color: var(--bc-muted); }

.bc-label--app span:last-child, .bc-label--custom span:last-child, .bc-label--ai span:last-child { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.bc-label:hover span:last-child, .bc-label.is-active span:last-child { max-width: none; }
.bc-label--ai { border-color: rgba(185, 140, 255, .6); background: rgba(45, 22, 90, .82); color: #eadcff; }
.bc-label--ai .bc-dot { box-shadow: 0 0 6px #b98cff; }

.bc-ai-role {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 14px 0 4px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(185, 140, 255, .35);
	background: linear-gradient(135deg, rgba(120, 70, 220, .22), rgba(60, 40, 140, .12));
	font-size: 13.5px;
	line-height: 1.55;
	color: #e6dcff;
}
.bc-ai-role b { color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.bc-ai-role b::before { content: "✦ "; color: #c9a7ff; }

.bc-panel__label--ai { color: #c9a7ff; }
.bc-product--ai { border-color: rgba(185, 140, 255, .35); background: rgba(120, 70, 220, .1); }
.bc-product--ai:hover { background: rgba(120, 70, 220, .2); border-color: rgba(185, 140, 255, .65); }
.bc-product--ai .bc-product__icon { transform: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f1e6ff, #9b6bff); box-shadow: 0 0 12px rgba(185, 140, 255, .8); }
.bc-product--ai .bc-badge { background: #b98cff; color: #1b0b3a !important; }
.bc-chip--ai .bc-dot { box-shadow: 0 0 6px #b98cff; }
.bc-note--ai { color: #e6dcff; background: rgba(120, 70, 220, .12); border-color: rgba(185, 140, 255, .3); }
.bc-more--ai { background: linear-gradient(135deg, #a77bff, #6d3df0); box-shadow: 0 8px 22px rgba(120, 70, 220, .4); }
.bc-more--ai:hover { box-shadow: 0 12px 28px rgba(120, 70, 220, .5); }

@media (max-width: 899px) {
	.bc-ai-toggle { top: auto; bottom: 46px; right: 12px; height: 34px; font-size: 12px; }
}
.bc-stage.is-ai-off .bc-label--ai { display: none !important; }

/* ---------------------------------------------------------------- touch & small screens */

.bc-zoom { position: absolute; z-index: 2; display: none; flex-direction: column; gap: 6px; }
.bc-zoom button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(160, 180, 230, .3);
	border-radius: 10px;
	background: rgba(8, 18, 44, .78);
	backdrop-filter: blur(4px);
	color: #e8eeff;
	font: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.bc-zoom button:active { background: rgba(242, 84, 45, .9); border-color: transparent; }

.bc-pick {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	display: none;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 14px;
	background: rgba(8, 18, 44, .92);
	backdrop-filter: blur(6px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.bc-pick[hidden] { display: none !important; }
.bc-pick__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; color: #fff; }
.bc-pick__more {
	flex: none;
	height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: var(--bc-accent, #f2542d);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.bc-pick__close { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #c3cfeb; font-size: 22px; line-height: 1; cursor: pointer; }

/* Fingers: labels stay visual only so a swipe that starts on one still rotates the model;
   taps on them are matched in the script. */
@media (pointer: coarse) {
	.bc-label { pointer-events: none; }
	.bc-zoom { display: flex; top: 50%; right: 12px; transform: translateY(-50%); }
}

@media (max-width: 899px) {
	.bc-zoom { display: flex; top: 50%; right: 12px; transform: translateY(-50%); }
	.bc-stage { height: 68vh; height: 68svh; min-height: 420px; }
	.bc-stage__title { max-width: calc(100% - 32px); }
	.bc-pick:not([hidden]) { display: flex; }
	.bc-stage.is-picked .bc-legend { visibility: hidden; }
	.bc-stage.is-picked .bc-ai-toggle { bottom: 72px; }
	.bc-legend { right: 16px; gap: 6px 10px; font-size: 11px; }
	.bc-hint {
		display: block;
		left: 50%;
		right: auto;
		bottom: auto;
		top: 64px;
		transform: translateX(-50%);
		width: max-content;
		max-width: calc(100% - 32px);
		padding: 6px 12px;
		border-radius: 999px;
		background: rgba(8, 18, 44, .8);
		color: #e8eeff;
		font-size: 12px;
		text-align: center;
		transition: opacity .4s;
	}
	.bc-stage.is-touched .bc-hint { opacity: 0; }
}
@media (max-width: 899px) {
	/* Long names overflow the narrow stage and cover each other; the picked one shows in full. */
	.bc-stage .bc-label span:last-child { max-width: 104px; }
	.bc-stage .bc-label.is-active span:last-child { max-width: 200px; }
	.bc-stage .bc-label.is-active { z-index: 9999 !important; }
}
