/* Brand Nova Team Portal */
:root {
	--bg: #060a18;
	--bg-2: #0b1126;
	--panel: #0f1731;
	--panel-2: #131d3d;
	--line: rgba(140, 170, 255, 0.14);
	--text: #e8edff;
	--muted: #8f9bc4;
	--cyan: #3be0ff;
	--violet: #8b5cff;
	--ok: #34d399;
	--warn: #fbbf24;
	--bad: #f87171;
	--radius: 14px;
	--grad: linear-gradient(135deg, var(--cyan), var(--violet));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body.bntp {
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 255, 0.16), transparent 60%),
		radial-gradient(900px 500px at -10% 110%, rgba(59, 224, 255, 0.10), transparent 60%),
		var(--bg);
	color: var(--text);
	font: 15px/1.55 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
h2 { font-size: 18px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: 0.08em; font-size: 14px; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 0 18px rgba(59, 224, 255, 0.45); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: 600 14px/1 Inter, sans-serif; padding: 12px 18px; border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: rgba(59, 224, 255, 0.5); text-decoration: none; }
.btn-primary { background: var(--grad); border: 0; color: #050816; box-shadow: 0 6px 24px rgba(59, 224, 255, 0.25); }
.btn-primary:hover { filter: brightness(1.08); }
input:not([type]), input[type=text], input[type=url], input[type=email], input[type=tel], input[type=password], select, textarea {
	width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: inherit; margin-top: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(59, 224, 255, 0.45); outline-offset: 0; border-color: transparent; }
label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
label.check { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
label.check input { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; }
.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; border: 1px solid; }
.notice.ok { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.35); color: #a7f3d0; }
.notice.err { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.35); color: #fecaca; }

/* Auth screens */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; background: rgba(15, 23, 49, 0.82); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); }
.auth-card .brand { margin-bottom: 28px; }
.auth-card h1 { font-size: 26px; margin-bottom: 8px; }
.auth-card > .muted { margin: 0 0 22px; }
.stack { display: grid; gap: 14px; }
.stack .btn { width: 100%; padding: 14px; margin-top: 4px; }
.auth-foot { margin: 20px 0 0; font-size: 14px; text-align: center; }

/* Admin preview bar */
.admin-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 10px 16px; background: #1b1440; border-bottom: 1px solid var(--line); font-size: 13px; }
.admin-bar span { color: var(--warn); font-weight: 600; }
.admin-bar select { width: auto; margin: 0; padding: 6px 10px; }

/* App layout */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px; border-right: 1px solid var(--line); background: rgba(6, 10, 24, 0.6); }
.side-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 22px 36px; }
.nav { display: grid; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.nav a:hover { background: var(--panel); color: var(--text); text-decoration: none; }
.nav a.on { background: var(--panel-2); color: var(--text); box-shadow: inset 2px 0 0 var(--cyan); }
.nav svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.nav a.on svg { fill: var(--cyan); }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.who { display: flex; gap: 10px; align-items: center; }
.who img { border-radius: 50%; }
.who b { display: block; font-size: 14px; }
.who small { color: var(--muted); font-size: 12px; }
.signout { font-size: 13px; color: var(--muted); }

.main { padding: 32px clamp(16px, 4vw, 48px) 64px; max-width: 1180px; width: 100%; display: grid; gap: 22px; align-content: start; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head p { margin: 8px 0 0; max-width: 640px; }
.card { background: rgba(15, 23, 49, 0.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head .muted { font-size: 13px; }
.empty { color: var(--muted); margin: 0; }

/* Link card */
.link-card { display: grid; grid-template-columns: 1fr minmax(280px, 1.2fr); gap: 20px; align-items: center; border-color: rgba(59, 224, 255, 0.3); background: linear-gradient(135deg, rgba(59, 224, 255, 0.08), rgba(139, 92, 255, 0.08)), rgba(15, 23, 49, 0.85); }
.link-card p { margin: 6px 0 0; font-size: 14px; }
.copy { display: flex; gap: 8px; }
.copy input { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: rgba(15, 23, 49, 0.78); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi b { font-family: "Space Grotesk", sans-serif; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi-accent { border-color: rgba(59, 224, 255, 0.35); }
.kpi-accent b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* AI team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.agent { position: relative; display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(15, 23, 49, 0.78); color: var(--text); transition: border-color .2s, transform .2s; }
.agent:hover { text-decoration: none; border-color: rgba(59, 224, 255, 0.5); transform: translateY(-2px); }
.agent b { font-family: "Space Grotesk", sans-serif; font-size: 16px; }
.agent p { margin: 0; color: var(--muted); font-size: 14px; }
.agent-go { color: var(--cyan); font-size: 13px; font-weight: 600; margin-top: 6px; }
.agent-dot { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 6px; background: var(--grad); filter: hue-rotate(calc(var(--d) * 40deg)); box-shadow: 0 0 18px rgba(59, 224, 255, 0.3); position: relative; }
.agent-dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }

/* Pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.pill-scan { color: var(--cyan); border-color: rgba(59, 224, 255, 0.35); }
.pill-new { color: #c4b5fd; border-color: rgba(139, 92, 255, 0.4); }
.pill-contacted, .pill-call, .pill-proposal { color: var(--warn); border-color: rgba(251, 191, 36, 0.35); }
.pill-won, .pill-paid { color: var(--ok); border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.pill-approved { color: var(--cyan); border-color: rgba(59, 224, 255, 0.4); }
.pill-pending { color: var(--warn); border-color: rgba(251, 191, 36, 0.35); }
.pill-lost, .pill-void { color: var(--bad); border-color: rgba(248, 113, 113, 0.35); }

/* Feed */
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed-main { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .muted { font-size: 13px; }

/* Leads */
.lead-list { display: grid; gap: 10px; }
.lead { background: rgba(15, 23, 49, 0.78); border: 1px solid var(--line); border-radius: var(--radius); }
.lead[open] { border-color: rgba(59, 224, 255, 0.35); }
.lead summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 110px; gap: 14px; align-items: center; padding: 16px 18px; }
.lead summary::-webkit-details-marker { display: none; }
.lead-main { min-width: 0; }
.lead-main b, .lead-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-main small { color: var(--muted); font-size: 13px; }
.lead-date { font-size: 13px; text-align: right; }
.lead-body { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.lead-body dl { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0; }
.lead-body dt { font-size: 12px; color: var(--muted); }
.lead-body dd { margin: 2px 0 0; }
.row-form { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; align-items: end; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }

/* Short link + QR card */
.short-line { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.short-line b { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; }
.qr-wrap { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 32px; align-items: center; }
.qr-preview canvas { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.qr-side h2 { font-size: 26px; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Responsive */
@media (max-width: 960px) {
	.kpis { grid-template-columns: repeat(2, 1fr); }
	.link-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.app { grid-template-columns: 1fr; }
	.side { position: fixed; z-index: 20; bottom: 0; top: auto; left: 0; right: 0; height: auto; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); flex-direction: row; border-right: 0; border-top: 1px solid var(--line); background: rgba(6, 10, 24, 0.96); backdrop-filter: blur(12px); }
	.side .brand, .side-tag, .side-foot { display: none; }
	.nav { display: flex; width: 100%; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.nav::-webkit-scrollbar { display: none; }
	.nav a { flex: 0 0 auto; min-width: 66px; }
	.nav a { flex-direction: column; gap: 3px; padding: 7px 2px; font-size: 11px; text-align: center; }
	.nav a.on { box-shadow: inset 0 2px 0 var(--cyan); background: transparent; }
	.main { padding: 22px 16px 96px; }
	.kpis-3 { grid-template-columns: 1fr; }
	.kpi b { font-size: 24px; }
	.copy { flex-direction: column; }
	.feed li { grid-template-columns: auto 1fr; }
	.feed li .muted { grid-column: 2; font-size: 12px; margin-top: -10px; }
	.lead summary { grid-template-columns: 1fr auto; }
	.lead-date { display: none; }
	.row-form, .form-grid, .qr-wrap { grid-template-columns: 1fr; }
	.qr-actions .btn { flex: 1 1 100%; }
	.nav a span { font-size: 10px; }
	.tbl thead { display: none; }
	.tbl tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.tbl tr:last-child { border-bottom: 0; }
	.tbl td { border: 0; padding: 0; }
	.tbl td::before { content: attr(data-l); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
	.tbl .r { text-align: left; }
	.head .mobile-signout { display: inline-block; font-size: 13px; color: var(--muted); }
}
.mobile-signout { display: none; }
.main, .main > *, .qr-wrap > *, .qr-preview { min-width: 0; }
.qr-preview { max-width: 100%; }
.qr-side { position: relative; } .sr-only { left: 0; top: 0; }

/* v2.0 */
.notice.warn { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.35); color: #fde68a; }
.notice a { color: inherit; font-weight: 600; text-decoration: underline; }
#bntp-print-box { display: none; }
@media print {
	body.bntp-printing > *:not(#bntp-print-box) { display: none !important; }
	body.bntp-printing { background: #fff !important; }
	body.bntp-printing #bntp-print-box { display: block !important; text-align: center; }
	body.bntp-printing #bntp-print-box img { width: 3.5in; height: auto; margin-top: .5in; }
}
.creds-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.creds dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 24px; margin: 14px 0 6px; }
.creds dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.creds dd { margin: 4px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; word-break: break-all; }
.creds .code { font-family: "Space Grotesk", sans-serif; font-size: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .08em; }
.steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.steps li { color: var(--muted); }
.steps b { color: var(--text); }
/* Training */
.train-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.train-list { display: grid; gap: 2px; padding: 16px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.train-list h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px; font-family: Inter, sans-serif; }
.train-list h3:first-child { margin-top: 0; }
.train-list a { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: 14px; }
.train-list a:hover { background: var(--panel-2); text-decoration: none; }
.train-list a.on { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--cyan); }
.tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.tick.done { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px var(--bg); }
.module-title { font-size: 28px; margin: 4px 0 10px; }
.module-what { font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.module-grid section { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.module-grid h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin: 0 0 8px; font-family: Inter, sans-serif; }
.module-grid ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.module-grid blockquote { margin: 0 0 8px; padding-left: 12px; border-left: 2px solid var(--violet); font-size: 14px; }
.module-grid p { margin: 0; font-size: 14px; }
.module-grid .obj { color: var(--warn); margin-bottom: 6px; }
.quiz { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.quiz h3 { margin: 0; font-size: 16px; }
.quiz .q { margin: 0; font-weight: 600; }
.quiz .opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 15px; cursor: pointer; }
.quiz .opt:has(input:checked) { border-color: var(--cyan); background: rgba(59, 224, 255, .06); }
.quiz .opt input { accent-color: var(--cyan); margin-top: 4px; }
.quiz .btn { justify-self: start; }
@media (max-width: 960px) { .train-wrap, .module-grid { grid-template-columns: 1fr; } .train-list { position: static; max-height: none; } }
/* Billing */
.kpi-sm { font-size: 22px !important; }
.bill-act { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-color: rgba(59, 224, 255, .3); }
.bill-act p { margin: 6px 0 0; }
.tbl tr.row-on td { background: rgba(59, 224, 255, .06); }
/* AI team */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.crew-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--crew) 35%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--crew) 9%, transparent), rgba(15, 23, 49, .78)); }
.crew-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 12%; flex: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--crew) 60%, transparent), 0 0 24px color-mix(in srgb, var(--crew) 30%, transparent); }
.crew-body { min-width: 0; }
.crew-body h2 { font-size: 22px; margin: 0 0 4px; }
.crew-body h2 small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--crew); font-family: Inter, sans-serif; margin-top: 2px; }
.crew-body p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crew-body ul { margin: 0 0 12px; padding-left: 16px; font-size: 13px; display: grid; gap: 3px; }
.crew-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.crew-chat, .crew-video { display: grid; gap: 12px; }
.crew-chat-head { display: flex; align-items: center; gap: 12px; }
.crew-chat-head img { border-radius: 50%; object-fit: cover; object-position: center 12%; }
.crew-chat-head small { display: block; color: var(--muted); font-size: 12px; }
.crew-chat-head .btn { margin-left: auto; }
.crew-site { font-size: 13px; }
.crew-log { max-height: 52vh; min-height: 160px; overflow: auto; display: grid; gap: 10px; align-content: start; padding: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; }
.msg b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.msg p { margin: 0 0 8px; } .msg p:last-of-type { margin-bottom: 0; }
.msg.me { justify-self: end; background: rgba(59, 224, 255, .08); border-color: rgba(59, 224, 255, .3); }
.msg.wait p { opacity: .6; } .msg.err { border-color: rgba(248, 113, 113, .4); }
.msg .btn { margin-top: 10px; }
.crew-form { display: flex; gap: 8px; align-items: flex-end; }
.crew-form textarea { margin: 0; resize: vertical; }
.crew-stage { display: grid; place-items: center; min-height: 280px; background: #000; border-radius: 12px; overflow: hidden; }
.crew-stage video { width: 100%; max-height: 60vh; object-fit: contain; }
.crew-stage audio { display: none; }
@media (max-width: 760px) { .crew-grid { grid-template-columns: 1fr; } .crew-card { flex-direction: column; } .msg { max-width: 95%; } }
.crew-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.crew-chip { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--crew) 35%, transparent); background: color-mix(in srgb, var(--crew) 7%, rgba(15, 23, 49, .78)); color: var(--text); }
.crew-chip:hover { text-decoration: none; border-color: var(--crew); }
.crew-chip img { border-radius: 50%; object-fit: cover; object-position: center 12%; }
.crew-chip small { display: block; font-size: 11px; color: var(--crew); letter-spacing: .08em; text-transform: uppercase; }
/* Join page */
.join-top { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 4vw, 48px); max-width: 1180px; margin: 0 auto; }
.join-top .brand { color: var(--text); }
.join-top .brand:hover { text-decoration: none; }
.join { max-width: 1180px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 48px) 64px; display: grid; gap: 48px; }
.join-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; padding-top: 20px; }
.join-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 6px 0 16px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.join-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.join-points li { padding-left: 28px; position: relative; color: var(--muted); }
.join-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px rgba(59, 224, 255, .5); }
.join-points b { color: var(--text); }
.join-form-card h2 { margin-bottom: 4px; }
.join-form { display: grid; gap: 12px; margin-top: 14px; }
.join-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.join-form .btn { width: 100%; padding: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-section h2 { margin-bottom: 16px; }
.join-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.join-steps li { counter-increment: s; background: rgba(15, 23, 49, .78); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); font-size: 14px; }
.join-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #050816; font-weight: 700; margin-bottom: 10px; }
.join-steps b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.join-money { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.join-money .kpis { margin-top: 14px; }
.join-fine { font-size: 12px; color: var(--muted); max-width: 80ch; }
@media (max-width: 960px) { .join-hero, .join-money { grid-template-columns: 1fr; } .join-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .join-steps, .join-form .two { grid-template-columns: 1fr; } }
/* Onboarding */
.onboard { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 64px; display: grid; gap: 20px; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ob-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(15, 23, 49, .6); color: var(--muted); font-size: 14px; font-weight: 600; }
.ob-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12px; flex: none; }
.ob-steps li small { margin-left: auto; font-weight: 500; }
.ob-steps li.on { color: var(--text); border-color: rgba(59, 224, 255, .5); }
.ob-steps li.on span { background: var(--grad); border: 0; color: #050816; }
.ob-steps li.done { color: var(--ok); }
.ob-welcome, .ob-agree { display: grid; gap: 16px; max-width: 880px; }
.ob-welcome h1, .ob-agree h1 { margin: 0; }
.ob-welcome .lede { margin: 0; }
.ob-welcome .btn { justify-self: start; }
.progress { height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); }
.agree-form { display: grid; gap: 14px; }
.agree-form label.check { align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text); }
.agree-form label.check input { margin-top: 4px; }
.agree-form .btn { justify-self: start; }
.bntp-onboard .signout { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .ob-steps { grid-template-columns: 1fr 1fr; } .ob-steps li { font-size: 12px; padding: 10px; } }

/* v2.1 training */
.module-plain { background: linear-gradient(135deg, rgba(59,224,255,.10), rgba(177,140,255,.10)); border: 1px solid rgba(59,224,255,.35); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.module-plain p { margin: 4px 0 0; font-size: 16px; line-height: 1.55; }
.module-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.module-talk, .module-story, .module-obj { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.module-talk h3, .module-story h3, .module-obj h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin: 0 0 10px; font-family: Inter, sans-serif; }
.module-talk ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.module-story p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; }
.module-story small { color: var(--muted); font-size: 12px; }
.module-obj .objpair { padding: 10px 0; border-top: 1px solid var(--line); }
.module-obj .objpair:first-of-type { border-top: 0; padding-top: 0; }
.module-obj .obj { color: var(--warn); margin: 0 0 4px; font-size: 14px; }
.module-obj .ans { margin: 0; font-size: 14px; }
.module-grid + .module-talk, .module-grid { margin-bottom: 0; }
.module-grid .asks li { font-style: italic; }
.quiz h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.quiz .qblock { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.quiz .qblock legend { padding: 0 6px; font-weight: 600; }
.quiz .qn { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); font-size: 12px; margin-right: 4px; }
.quiz .qblock.wrong { border-color: rgba(255,120,120,.6); }
.quiz .qblock.right { border-color: rgba(95,230,150,.6); }
.quiz .hint { margin: 2px 0 0; font-size: 14px; color: var(--warn); }
.quiz .good { margin: 2px 0 0; font-size: 14px; color: #5fe696; }

/* v2.1 prospects */
.prospect-kpis { margin-bottom: 16px; }
.prospect-kpis a.kpi { color: var(--text); text-decoration: none; }
.prospect-kpis a.kpi:hover { border-color: rgba(59,224,255,.45); }
.prospect-upload { margin-bottom: 16px; }
.prospect-upload > summary { cursor: pointer; list-style: none; }
.prospect-upload > summary::-webkit-details-marker { display: none; }
.prospect-upload > summary::before { content: "+ "; color: var(--cyan); font-weight: 700; }
.prospect-upload[open] > summary::before { content: "– "; }
.upload-form { display: grid; gap: 12px; margin-top: 12px; justify-items: start; }
.upload-form p { margin: 0; font-size: 14px; line-height: 1.55; }
.upload-form .file-pick { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.upload-form input[type=file] { color: var(--text); font-size: 14px; }
.rules-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.rules-box ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.upload-form label.check { align-items: flex-start; line-height: 1.5; }
.upload-form label.check input { margin-top: 4px; flex: none; }
.btn-small { padding: 8px 12px; font-size: 13px; }
.btn-ghost { background: transparent; }
.start-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; border-color: rgba(59,224,255,.35); }
.start-card p { margin: 4px 0 0; font-size: 14px; }
.calls-card { margin-bottom: 16px; }
.calls-card h2 { margin: 0 0 4px; font-size: 18px; }
.call-row { border-top: 1px solid var(--line); padding: 10px 0; display: grid; gap: 6px; }
.call-row a { color: var(--cyan); }
pre.script, .history pre { white-space: pre-wrap; font: 13px/1.5 Inter, sans-serif; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 6px 0 0; color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.filters a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--muted); text-decoration: none; }
.filters a.on { color: var(--text); border-color: var(--cyan); }
.history { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.history details { display: inline; margin-left: 6px; }
.history summary { display: inline; cursor: pointer; color: var(--cyan); }
.prospect .lead-body input.mono { width: 100%; font: 12px ui-monospace, monospace; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.prospect-actions { flex-wrap: wrap; }
.pill-p-new { color: var(--muted); }
.pill-p-queued, .pill-p-contacted { color: #93c5fd; border-color: rgba(147,197,253,.4); }
.pill-p-opened { color: #fbbf24; border-color: rgba(251,191,36,.5); }
.pill-p-replied { color: #5fe696; border-color: rgba(95,230,150,.5); }
.pill-p-lead { color: #5fe696; border-color: rgba(95,230,150,.5); background: rgba(95,230,150,.08); }
.pill-p-optout, .pill-p-bad { color: #fca5a5; border-color: rgba(252,165,165,.4); }
.pill-p-done { color: var(--muted); }
@media (max-width: 760px) { .start-card { flex-direction: column; align-items: stretch; } }
.row-form.prospect-actions { display: flex; align-items: end; gap: 8px; }
.row-form.prospect-actions label.grow { flex: 1 1 220px; display: grid; gap: 6px; }
.row-form.prospect-actions input[type=text] { width: 100%; }

/* v2.1: green-screen crew calls + mic meter */
.crew-stage { position: relative; }
.crew-stage.is-keyed { background: radial-gradient(120% 80% at 50% 0%, rgba(59,224,255,.22), transparent 60%), radial-gradient(90% 60% at 50% 100%, rgba(177,140,255,.25), transparent 70%), #070b14; }
.crew-stage.is-keyed video { opacity: 0; }
.crew-stage .bn-key-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.crew-mic { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-left: auto; margin-right: 10px; }
.crew-mic[hidden] { display: none; }
.crew-mic i { display: block; width: 40px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #5fe696 calc(var(--lvl, 0) * 100%), rgba(255,255,255,.1) 0); }
.crew-mic.is-hot { color: #5fe696; }
