:root {
	--bg-main: #090d16;
	--bg-surface: #111827;
	--bg-card: #162032;
	--bg-card-hover: #1e2c44;
	--bg-card-alt: #1a253a;
	--border-color: #24344d;
	--border-bright: #3b5278;
	
	--text-main: #f8fafc;
	--text-muted: #94a3b8;
	--text-dim: #64748b;

	--gold: #f59e0b;
	--gold-light: #fbbf24;
	--gold-glow: rgba(245, 158, 11, 0.2);

	--cyan: #0284c7;
	--cyan-light: #38bdf8;
	--cyan-glow: rgba(56, 189, 248, 0.2);

	--emerald: #10b981;
	--emerald-glow: rgba(16, 185, 129, 0.2);

	--rose: #f43f5e;
	--rose-glow: rgba(244, 63, 94, 0.2);

	--indigo: #6366f1;

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 22px;

	--font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--bg-main);
	color: var(--text-main);
	font-family: var(--font-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	background-image: 
		radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.07) 0%, transparent 40%),
		radial-gradient(circle at 85% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
	background-attachment: fixed;
	min-height: 100vh;
}

/* App Shell Layout */
.app-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Navigation Header */
.top-nav {
	border-bottom: 1px solid var(--border-color);
	background: rgba(17, 24, 39, 0.85);
	backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	z-index: 50;
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.brand-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.brand-icon {
	width: 2.3rem;
	height: 2.3rem;
	background: linear-gradient(135deg, var(--gold), #d97706);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	box-shadow: 0 0 15px var(--gold-glow);
}

.brand-title {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text-main);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.brand-badge {
	font-size: 0.7rem;
	background: rgba(245, 158, 11, 0.15);
	color: var(--gold-light);
	border: 1px solid rgba(245, 158, 11, 0.3);
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.nav-tabs {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(9, 13, 22, 0.6);
	padding: 0.25rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-color);
}

.nav-tab-btn {
	background: transparent;
	border: none;
	color: var(--text-muted);
	padding: 0.45rem 0.9rem;
	border-radius: var(--radius-md);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.2s ease;
}

.nav-tab-btn:hover {
	color: var(--text-main);
	background: rgba(255, 255, 255, 0.04);
}

.nav-tab-btn.active {
	background: var(--bg-card);
	color: var(--cyan-light);
	border: 1px solid var(--border-bright);
	box-shadow: var(--shadow-sm);
}

.quick-stats-pill {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8125rem;
	color: var(--text-muted);
	background: rgba(22, 32, 50, 0.7);
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	border: 1px solid var(--border-color);
}

.quick-stats-pill strong {
	color: var(--gold-light);
}

/* Main Content Area */
.main-viewport {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	flex: 1;
}

/* Hero Section / Persona Selection */
.section-header {
	margin-bottom: 1.5rem;
}

.section-header h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
	color: var(--text-main);
}

.section-header p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9375rem;
}

/* Persona Grid */
.persona-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.persona-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	cursor: pointer;
	transition: all 0.25s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.persona-card:hover {
	border-color: var(--cyan-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md), 0 0 20px rgba(56, 189, 248, 0.1);
}

.persona-card.selected {
	border-color: var(--cyan-light);
	background: linear-gradient(180deg, var(--bg-card) 0%, rgba(14, 165, 233, 0.08) 100%);
	box-shadow: 0 0 0 1px var(--cyan-light), var(--shadow-md);
}

.persona-card-header {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-bottom: 0.85rem;
}

.persona-avatar {
	font-size: 2.2rem;
	line-height: 1;
	background: var(--bg-surface);
	padding: 0.4rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
}

.persona-meta h3 {
	margin: 0 0 0.2rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-main);
}

.persona-role {
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin: 0 0 0.35rem;
}

.diff-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
}

.diff-badge.Easy {
	background: rgba(16, 185, 129, 0.15);
	color: #34d399;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.diff-badge.Moderate {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.diff-badge.Challenging {
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.diff-badge.TopProducerTest,
.diff-badge.Top\ Producer\ Test {
	background: rgba(244, 63, 94, 0.15);
	color: #fb7185;
	border: 1px solid rgba(244, 63, 94, 0.3);
}

.persona-desc {
	font-size: 0.84rem;
	color: var(--text-muted);
	margin: 0 0 1rem;
	line-height: 1.5;
}

.persona-traits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.trait-tag {
	font-size: 0.72rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
	padding: 0.15rem 0.45rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-color);
}

.persona-card-footer {
	border-top: 1px solid var(--border-color);
	padding-top: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.target-prod-pill {
	font-size: 0.75rem;
	color: var(--gold-light);
	font-weight: 500;
}

/* Sparring Arena Layout */
.sparring-arena {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 54rem) {
	.sparring-arena {
		grid-template-columns: 320px 1fr;
	}
}

/* Telemetry Sidebar */
.telemetry-panel {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.telemetry-title {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Rapport Meter */
.gauge-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 1rem;
}

.gauge-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.gauge-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
}

.gauge-value {
	font-size: 1.1rem;
	font-weight: 700;
	font-family: var(--font-mono);
}

.progress-track {
	height: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}

.progress-bar-fill {
	height: 100%;
	border-radius: 999px;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

/* Live Pacing & Filler Telemetry */
.metrics-row-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.metric-box {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 0.75rem;
	text-align: center;
}

.metric-box-num {
	font-size: 1.35rem;
	font-weight: 700;
	font-family: var(--font-mono);
	margin-bottom: 0.15rem;
}

.metric-box-sub {
	font-size: 0.72rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Coach Whisper Card */
.coach-whisper-card {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(99, 102, 241, 0.05));
	border: 1px solid rgba(245, 158, 11, 0.3);
	border-radius: var(--radius-md);
	padding: 0.85rem;
	font-size: 0.8125rem;
}

.coach-whisper-header {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--gold-light);
	font-weight: 600;
	margin-bottom: 0.4rem;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.coach-whisper-body {
	color: var(--text-main);
	line-height: 1.45;
}

/* Chat Ring Interface */
.chat-arena {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	height: 640px;
	overflow: hidden;
}

.chat-header {
	padding: 0.9rem 1.25rem;
	border-bottom: 1px solid var(--border-color);
	background: var(--bg-surface);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.prospect-header-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.prospect-header-avatar {
	font-size: 1.8rem;
}

.prospect-header-meta h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.prospect-header-meta span {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.call-timer {
	font-family: var(--font-mono);
	font-size: 0.875rem;
	color: var(--cyan-light);
	background: rgba(56, 189, 248, 0.1);
	border: 1px solid rgba(56, 189, 248, 0.2);
	padding: 0.25rem 0.6rem;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.live-dot {
	width: 8px;
	height: 8px;
	background: var(--rose);
	border-radius: 50%;
	animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
	0% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
	100% { opacity: 1; transform: scale(1); }
}

/* Messages Scroll Box */
.messages-container {
	flex: 1;
	padding: 1.25rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.msg-row {
	display: flex;
	gap: 0.75rem;
	max-width: 86%;
}

.msg-row.prospect {
	align-self: flex-start;
}

.msg-row.agent {
	align-self: flex-end;
	flex-direction: row-reverse;
}

.msg-avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
}

.msg-bubble {
	padding: 0.85rem 1.1rem;
	border-radius: var(--radius-lg);
	font-size: 0.915rem;
	line-height: 1.5;
	position: relative;
}

.msg-row.prospect .msg-bubble {
	background: var(--bg-surface);
	color: var(--text-main);
	border: 1px solid var(--border-color);
	border-top-left-radius: var(--radius-sm);
}

.msg-row.agent .msg-bubble {
	background: linear-gradient(135deg, #0369a1, #0284c7);
	color: #ffffff;
	border-top-right-radius: var(--radius-sm);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.msg-meta-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.35rem;
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.7);
}

.msg-tag-chip {
	font-size: 0.68rem;
	padding: 0.1rem 0.4rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.25);
}

/* Chat Input Controls */
.chat-footer {
	border-top: 1px solid var(--border-color);
	background: var(--bg-surface);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.suggested-prompts-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}

.suggested-prompt-btn {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.15s ease;
}

.suggested-prompt-btn:hover {
	color: var(--cyan-light);
	border-color: var(--cyan-light);
	background: rgba(56, 189, 248, 0.08);
}

.input-bar {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

.chat-input {
	flex: 1;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	color: var(--text-main);
	padding: 0.75rem 1rem;
	font-size: 0.9375rem;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease;
}

.chat-input:focus {
	border-color: var(--cyan-light);
	box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.mic-toggle-btn {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-color);
	color: var(--text-main);
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	flex-shrink: 0;
}

.mic-toggle-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--border-bright);
}

.mic-toggle-btn.recording {
	background: var(--rose);
	border-color: #fda4af;
	color: #fff;
	animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
	0% {
		box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
	}
	70% {
		box-shadow: 0 0 0 14px rgba(244, 63, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
	}
}

.send-btn {
	background: var(--cyan);
	color: white;
	border: none;
	border-radius: var(--radius-md);
	padding: 0 1.25rem;
	height: 2.8rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.send-btn:hover {
	background: #0369a1;
}

.finish-session-btn {
	background: linear-gradient(135deg, var(--gold), #d97706);
	color: #000;
	font-weight: 700;
	border: none;
	border-radius: var(--radius-md);
	padding: 0.5rem 1rem;
	cursor: pointer;
	font-size: 0.8125rem;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.finish-session-btn:hover {
	filter: brightness(1.1);
	transform: scale(1.02);
}

/* Live Voice Visualizer Bar */
.live-speech-waveform {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: rgba(244, 63, 94, 0.1);
	border: 1px solid rgba(244, 63, 94, 0.3);
	padding: 0.4rem 0.8rem;
	border-radius: var(--radius-md);
	font-size: 0.8125rem;
	color: #fecdd3;
}

.waveform-bars {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 14px;
}

.wf-bar {
	width: 3px;
	background: #f43f5e;
	border-radius: 2px;
	animation: wave-motion 0.6s ease-in-out infinite alternate;
}

.wf-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wf-bar:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.wf-bar:nth-child(3) { height: 9px; animation-delay: 0.3s; }
.wf-bar:nth-child(4) { height: 12px; animation-delay: 0.15s; }

@keyframes wave-motion {
	0% { height: 4px; }
	100% { height: 14px; }
}

/* Post-Session Feedback & Coaching Screen */
.feedback-view {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.feedback-hero-banner {
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.9) 100%);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xl);
	padding: 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.feedback-hero-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
	pointer-events: none;
}

.grade-badge-huge {
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), #d97706);
	color: #090d16;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	font-weight: 900;
	box-shadow: 0 0 25px var(--gold-glow);
	flex-shrink: 0;
}

.grade-badge-huge span {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	margin-top: -0.3rem;
}

.feedback-hero-text h2 {
	margin: 0 0 0.4rem;
	font-size: 1.6rem;
}

.feedback-hero-text p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.9375rem;
}

/* Competency Factor Cards Grid */
.competency-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
	gap: 1rem;
}

.competency-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.competency-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.competency-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-main);
}

.competency-score {
	font-size: 1.1rem;
	font-weight: 700;
	font-family: var(--font-mono);
}

.competency-desc {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.45;
}

/* Two Column Coaching & Script Section */
.coaching-dual-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 50rem) {
	.coaching-dual-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.coach-box {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.35rem;
}

.coach-box-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.coach-bullet-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.coach-bullet-item {
	font-size: 0.875rem;
	color: var(--text-muted);
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	line-height: 1.5;
}

.coach-bullet-item span.icon {
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.suggested-script-container {
	background: rgba(14, 165, 233, 0.06);
	border: 1px solid rgba(56, 189, 248, 0.3);
	border-radius: var(--radius-md);
	padding: 1rem;
	font-style: italic;
	font-size: 0.9rem;
	color: #e0f2fe;
	line-height: 1.6;
	margin-top: 0.75rem;
}

/* Transcript Review Box */
.transcript-review-box {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.35rem;
}

.transcript-line {
	padding: 0.85rem;
	border-radius: var(--radius-md);
	margin-bottom: 0.75rem;
	border: 1px solid var(--border-color);
	background: var(--bg-surface);
}

.transcript-line.agent {
	border-left: 3px solid var(--cyan-light);
}

.transcript-line.prospect {
	border-left: 3px solid var(--gold);
}

.transcript-sender {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
	display: flex;
	justify-content: space-between;
}

.transcript-text {
	font-size: 0.875rem;
	margin: 0 0 0.4rem;
	color: var(--text-main);
}

.transcript-annotation {
	font-size: 0.78rem;
	background: rgba(255, 255, 255, 0.04);
	padding: 0.4rem 0.6rem;
	border-radius: var(--radius-sm);
	color: var(--gold-light);
}

/* Drill Arena Mode */
.drills-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.drill-card-full {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-xl);
	padding: 1.5rem;
	box-shadow: var(--shadow-md);
}

.drill-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.drill-category-tag {
	font-size: 0.75rem;
	background: rgba(99, 102, 241, 0.15);
	color: #a5b4fc;
	border: 1px solid rgba(99, 102, 241, 0.3);
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-weight: 600;
}

.prospect-objection-box {
	background: rgba(244, 63, 94, 0.08);
	border: 1px solid rgba(244, 63, 94, 0.3);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}

.prospect-objection-title {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fb7185;
	margin-bottom: 0.4rem;
}

.prospect-objection-quote {
	font-size: 1.1rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0;
	line-height: 1.5;
}

.drill-coaching-guide {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.25rem;
}

@media (min-width: 48rem) {
	.drill-coaching-guide {
		grid-template-columns: 1fr 1fr;
	}
}

.drill-guide-card {
	padding: 1rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	background: var(--bg-surface);
	font-size: 0.85rem;
}

.drill-guide-card.ideal {
	border-color: rgba(16, 185, 129, 0.4);
	background: rgba(16, 185, 129, 0.05);
}

.drill-guide-card.pitfall {
	border-color: rgba(244, 63, 94, 0.3);
	background: rgba(244, 63, 94, 0.05);
}

/* Custom Persona Creator Modal / Box */
.custom-creator-box {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.form-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 40rem) {
	.form-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
}

/* General Action Buttons */
.btn-primary-action {
	background: linear-gradient(135deg, var(--cyan), #0284c7);
	color: white;
	border: none;
	border-radius: var(--radius-md);
	padding: 0.65rem 1.25rem;
	font-weight: 600;
	font-size: 0.915rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-primary-action:hover {
	filter: brightness(1.1);
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-secondary-action {
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-main);
	border-radius: var(--radius-md);
	padding: 0.65rem 1.25rem;
	font-weight: 500;
	font-size: 0.915rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-secondary-action:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border-bright);
}

/* History List */
.history-item-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	transition: border-color 0.2s ease;
}

.history-item-card:hover {
	border-color: var(--border-bright);
}

.history-grade-badge {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.1rem;
	background: rgba(245, 158, 11, 0.15);
	color: var(--gold-light);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Accessibility & Utilities */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
