.debate-analysis {
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 18px;
	color: #1d1f23;
	font-size: 16px;
	line-height: 1.6;
}

.da-header {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 24px;
}

.da-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: #5c6772;
	margin: 0 0 8px;
}

.da-meta {
	margin-top: 6px;
	color: #5c6772;
	font-size: 0.95rem;
}

.da-speakers {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.da-speakers-label {
	font-size: 0.9rem;
	color: #5c6772;
}

.da-speaker-chip {
	background: #f1f3f5;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.85rem;
	color: #1d1f23;
	white-space: nowrap;
}

.da-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.da-actions button,
.da-actions .da-download,
.da-toggle {
	border: 1px solid #ced4da;
	background: #fff;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.95rem;
}

.da-transcript-actions .da-download,
.da-transcript-actions .da-inline,
.da-transcript-actions .da-toggle {
	border: 1px solid #ced4da;
	background: #fff;
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.85rem;
	text-decoration: none;
	color: #1d1f23;
}

.da-actions button:focus,
.da-actions .da-download:focus,
.da-toggle:focus {
	outline: 2px solid #004e89;
	outline-offset: 2px;
}

.da-copy-status {
	font-size: 0.9rem;
	color: #2d6a4f;
}

.da-hidden {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.da-media-row {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 24px;
	margin-bottom: 28px;
}

.da-video-panel {
	min-width: 0;
}

.da-analysis-section {
	min-width: 0;
}

.da-analysis-copy {
	white-space: nowrap;
}

.da-embed {
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
}

.da-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.da-tabs {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
}

.da-analysis-layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.da-layout-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.da-layout-label {
	font-size: 0.9rem;
	color: #5a5a5a;
}

.da-layout-toggle {
	border: 1px solid #d2d6dc;
	background: #f5f6f8;
	color: #1f2937;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	cursor: pointer;
}

.da-layout-toggle.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.da-tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.da-tab {
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	border-radius: 16px;
	padding: 5px 10px;
	cursor: pointer;
	font-size: 0.9rem;
	color: #1d1f23;
}

.da-tab.is-active {
	background: #1f2937;
	color: #f9fafb;
}

.da-tab:focus {
	outline: 2px solid #004e89;
	outline-offset: 2px;
}

.da-tab-panel {
	display: none;
}

.da-tab-panel.is-active {
	display: block;
}

.da-section-summary {
	margin: 0 0 18px;
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid rgba(233,236,255,.1);
	background:
		linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
		radial-gradient(600px 240px at 12% 0%, rgba(59,130,246,.08), transparent 55%);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.02),
		0 12px 28px rgba(0,0,0,.24);
}

.da-section-summary p {
	margin: 0;
	color: rgba(233,236,255,.84);
	line-height: 1.65;
	font-size: 0.98rem;
}

.da-comm-table {
	display: grid;
	grid-template-columns: 180px repeat(var(--da-comm-speakers, 2), minmax(0, 1fr));
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 0.95rem;
}

.da-comm-row {
	display: contents;
}

.da-comm-cell {
	padding: 12px 14px;
	border-bottom: 1px solid #eef1f5;
}

.da-comm-label {
	background: #f8fafc;
	font-weight: 600;
	color: #374151;
}

.da-comm-head-cell {
	background: #f1f5f9;
	font-weight: 600;
}

.da-comm-mismatch-cell {
	background: #eef5ff;
	border-top: 1px solid #c7dcf5;
}

.da-comm-mismatch-body {
	margin-top: 8px;
}

.da-compare {
	display: grid;
	grid-template-columns: 180px repeat(var(--da-compare-cols, 2), minmax(0, 1fr));
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	font-size: 0.95rem;
}

.da-compare-label,
.da-compare-head,
.da-compare-cell {
	padding: 12px 14px;
	border-bottom: 1px solid #eef1f5;
}

.da-compare-label {
	background: #f8fafc;
	font-weight: 600;
	color: #374151;
}

.da-compare-head {
	background: #f1f5f9;
	font-weight: 600;
}

.da-compare-cell {
	background: #fff;
	color: #1f2937;
	line-height: 1.5;
}

.da-compare-cell ul {
	margin: 0.35rem 0 0.75rem;
	padding-left: 1.2rem;
}

.da-compare-cell li {
	margin: 0 0 0.25rem;
}

.da-compare-cell strong {
	font-weight: 600;
}

@media (max-width: 900px) {
	.da-compare {
		grid-template-columns: 1fr;
	}
}

.da-tab-panel h2 {
	margin-top: 0;
}

.da-analysis-body p {
	font-weight: 400;
	line-height: 1.7;
	margin-bottom: 1rem;
	font-size: 1rem;
	font-family: inherit;
}

.da-analysis-body h2 {
	margin-top: 2rem;
	font-size: 1.4rem;
}

.da-analysis-body h3 {
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.da-markdown {
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
	font-family: inherit;
}

.da-markdown p {
	margin-bottom: 1rem;
}

.da-markdown h2 {
	margin-top: 2rem;
	font-size: 1.4rem;
}

.da-markdown h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.da-speaker-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
	background: #fafafa;
}

[data-da-layout="cards"] .da-speaker-card {
	border-radius: 14px;
	padding: 16px 18px;
	background: #f9fafb;
}

.da-speaker-card-header {
	font-weight: 700;
	margin-bottom: 10px;
}

.da-speaker-card-body {
	display: grid;
	gap: 10px;
}

.da-dual-grid {
	display: grid;
	gap: 16px;
}

.da-dual-row {
	display: grid;
	gap: 12px;
}

.da-dual-label {
	font-weight: 700;
	color: #1f2937;
	font-size: 24px;
	text-align: center;
	margin: 4px 0;
}

.da-theme-cards .da-dual-label {
	color: rgba(233,236,255,.92);
	text-transform: uppercase;
	letter-spacing: .45px;
}

.da-dual-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.da-complexity-grid .da-dual-columns.da-cols-count-3 .da-speaker-card.is-speaker-3 {
	grid-column: 1 / -1;
}

.da-comm-grid .da-dual-columns.da-cols-count-3 .da-speaker-card.is-speaker-3 {
	grid-column: 1 / -1;
}

.da-speaker-card.is-mismatch {
	border-left-color: #60a5fa;
	background: #eef5ff;
}

/* Cards theme (dashboard + glow) */
.da-theme-cards .da-tabs {
	background:
		radial-gradient(900px 500px at 15% 10%, rgba(59,130,246,.18), transparent 55%),
		radial-gradient(900px 500px at 85% 15%, rgba(239,68,68,.12), transparent 55%),
		radial-gradient(800px 500px at 50% 100%, rgba(245,158,11,.10), transparent 60%),
		#0b1020;
	border-color: rgba(233,236,255,.12);
	box-shadow: 0 18px 40px rgba(0,0,0,.35);
	padding: 18px 18px 22px;
}

.da-theme-cards .da-header {
	border: 1px solid rgba(233,236,255,.12);
	border-radius: 18px;
	padding: 16px 18px;
	background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
	box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.da-theme-cards {
	border-radius: 22px;
	padding: 18px;
	background: transparent;
}

body.da-analysis-template {
	background:
		radial-gradient(1200px 700px at 15% 10%, rgba(59,130,246,.18), transparent 55%),
		radial-gradient(1200px 700px at 85% 15%, rgba(239,68,68,.14), transparent 55%),
		radial-gradient(900px 700px at 50% 100%, rgba(245,158,11,.10), transparent 60%),
		#0b1020;
	color: #e9ecff;
}

body.da-analysis-light {
	background: #f5f7fb;
	color: #111827;
}

body.da-analysis-light .site,
body.da-analysis-light .site-content,
body.da-analysis-light .content-area,
body.da-analysis-light .entry-content,
body.da-analysis-light .site-main {
	background: transparent;
}

.da-theme-light .da-tabs {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.da-theme-light .da-header,
.da-theme-light .da-transcript-panel,
.da-theme-light .da-video-panel {
	background: #fff;
	border-color: #e5e7eb;
	box-shadow: 0 12px 28px rgba(17,24,39,.08);
	color: #111827;
}

.da-theme-light .da-analysis-section {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: #111827;
}

.da-theme-light .da-tab,
.da-theme-light .da-layout-toggle,
.da-theme-light .da-actions .da-copy,
.da-theme-light .da-transcript-actions .da-copy,
.da-theme-light .da-transcript-actions .da-toggle,
.da-theme-light .da-transcript-actions .da-download,
.da-theme-light .da-analysis-layout .da-copy,
.da-theme-light .da-analysis-copy {
	background: #f8fafc;
	color: #111827;
	border-color: #e5e7eb;
}

.da-theme-light .da-tab.is-active,
.da-theme-light .da-layout-toggle.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.da-theme-light .da-speaker-card,
.da-theme-light .da-capacity-card {
	background: #fff;
	border-color: #e5e7eb;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 5px 16px rgba(0,0,0,.28);
}

.da-theme-light .da-markdown,
.da-theme-light .da-markdown h2,
.da-theme-light .da-markdown h3,
.da-theme-light .da-markdown h4,
.da-theme-light .da-markdown p,
.da-theme-light .da-markdown li,
.da-theme-light .da-markdown strong,
.da-theme-light .da-markdown em {
	color: #111827;
}

body.da-analysis-template .site,
body.da-analysis-template .site-content,
body.da-analysis-template .content-area,
body.da-analysis-template .entry-content,
body.da-analysis-template .site-main {
	background: transparent;
}

body.da-analysis-template .entry-title {
	display: none !important;
}

.da-theme-cards .da-eyebrow {
	color: rgba(233,236,255,.7);
	letter-spacing: .45px;
	text-transform: uppercase;
	font-size: 0.75rem;
}

.da-theme-cards .da-header h1 {
	color: #f5f7ff;
}

.da-theme-cards .da-meta,
.da-theme-cards .da-speakers-label,
.da-theme-cards .da-speaker-chip {
	color: rgba(233,236,255,.92);
}

.da-theme-cards .da-speakers-label,
.da-theme-cards .da-speaker-chip {
	color: rgba(233,236,255,.88);
	border-color: rgba(233,236,255,.2);
	background: rgba(255,255,255,.05);
}

.da-theme-cards .da-speakers-label {
	background: transparent;
	border-color: transparent;
}

.da-theme-cards .da-speaker-chip.is-speaker-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.18), 0 0 16px rgba(59,130,246,.12);
}

.da-theme-cards .da-speaker-chip.is-speaker-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.16), 0 0 16px rgba(239,68,68,.12);
}

.da-theme-cards .da-speaker-chip.is-speaker-3 {
	box-shadow: inset 0 0 0 1px rgba(139,92,246,.16), 0 0 16px rgba(139,92,246,.12);
}

.da-theme-cards .da-speaker-chip.is-speaker-4 {
	box-shadow: inset 0 0 0 1px rgba(34,197,94,.18), 0 0 16px rgba(34,197,94,.12);
}

.da-theme-cards .da-actions .da-copy,
.da-theme-cards .da-transcript-actions .da-copy,
.da-theme-cards .da-transcript-actions .da-toggle,
.da-theme-cards .da-transcript-actions .da-download {
	border: 1px solid rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: #e9ecff;
}

.da-theme-cards .da-analysis-layout .da-copy,
.da-theme-cards .da-analysis-copy {
	border: 1px solid rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: #e9ecff;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.85rem;
}

.debate-analysis .da-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	position: relative;
}

.debate-analysis .da-header > div {
	flex: 1;
	min-width: 220px;
}

.debate-analysis .da-theme-toggle-wrap {
	display: flex;
	gap: 8px;
	align-items: center;
}

.da-header-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.debate-analysis .da-theme-toggle-wrap.da-theme-toggle-inline {
	margin-left: 0;
	float: none;
}

.da-library-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(233,236,255,.18);
	background: rgba(255,255,255,.05);
	color: #e9ecff;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.82rem;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.da-library-link:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,.1);
	border-color: rgba(233,236,255,.28);
}

.da-library-link::before {
	content: "←";
	font-size: 0.9rem;
}

.da-about-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(233,236,255,.18);
	background: rgba(255,255,255,.05);
	color: #e9ecff;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.82rem;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.da-about-link:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,.1);
	border-color: rgba(233,236,255,.28);
}

.da-theme-toggle {
	border: 1px solid rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: #e9ecff;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.78rem;
	cursor: pointer;
}

.da-theme-toggle.is-active {
	background: rgba(233,236,255,.18);
	border-color: rgba(233,236,255,.35);
	color: #fff;
}

.da-theme-light .da-theme-toggle {
	border-color: #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.da-theme-light .da-library-link {
	border-color: #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.da-theme-light .da-about-link {
	border-color: #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.da-theme-light .da-library-link:hover {
	background: #ffffff;
	border-color: #cbd5e1;
}

.da-theme-light .da-about-link:hover {
	background: #ffffff;
	border-color: #cbd5e1;
}

.da-theme-light .da-theme-toggle.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.da-theme-light .da-header {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.da-analysis-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.da-made-by {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(233,236,255,.1);
	font-size: 0.9rem;
	color: rgba(233,236,255,.7);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.da-made-by a {
	color: #f8fafc;
	text-decoration: none;
}

.da-made-by a:hover {
	text-decoration: underline;
}

.da-made-by-sep {
	color: rgba(233,236,255,.35);
}

.da-theme-light .da-analysis-copy {
	background: #f8fafc;
	color: #111827;
	border-color: #e5e7eb;
	box-shadow: none;
}

.da-theme-light .da-transcript-actions .da-copy,
.da-theme-light .da-transcript-actions .da-toggle,
.da-theme-light .da-transcript-actions .da-download {
	background: #f8fafc;
	color: #111827;
	border-color: #e5e7eb;
}

.da-theme-light .da-made-by {
	border-top-color: rgba(15,23,42,.08);
	color: rgba(51,65,85,.76);
}

.da-theme-light .da-made-by a {
	color: #0f172a;
}

.da-theme-light .da-made-by-sep {
	color: rgba(100,116,139,.52);
}

.da-theme-cards .da-media-row {
	gap: 18px;
}

.da-theme-cards .da-transcript-panel,
.da-theme-cards .da-video-panel {
	border: 1px solid rgba(233,236,255,.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
	box-shadow: 0 14px 30px rgba(0,0,0,.32);
}

.da-theme-cards .da-video-panel {
	border: none !important;
	background: none !important;
	box-shadow: none !important;
}

.da-theme-light .da-video-panel {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.da-theme-cards .da-transcript-title,
.da-theme-cards .da-transcript-actions .da-toggle,
.da-theme-cards .da-transcript-actions .da-copy,
.da-theme-cards .da-transcript-actions .da-download {
	color: rgba(233,236,255,.9);
}

.da-theme-cards .da-transcript {
	background: rgba(255,255,255,.03);
	border-color: rgba(233,236,255,.1);
	color: rgba(233,236,255,.9);
}

.da-theme-cards .da-analysis-section {
	margin-top: 18px;
}

.da-theme-cards .da-markdown {
	color: rgba(233,236,255,.9);
}

.da-theme-cards .da-markdown h2,
.da-theme-cards .da-markdown h3,
.da-theme-cards .da-markdown h4,
.da-theme-cards .da-markdown p,
.da-theme-cards .da-markdown li,
.da-theme-cards .da-markdown strong,
.da-theme-cards .da-markdown em {
	color: rgba(233,236,255,.92);
}

.da-theme-cards .da-speaker-card {
	background: rgba(255,255,255,.06);
	color: rgba(233,236,255,.92);
}

.da-theme-cards .da-speaker-card-body,
.da-theme-cards .da-speaker-card-body p,
.da-theme-cards .da-speaker-card-body li {
	color: rgba(233,236,255,.9);
}

.da-theme-cards .da-tab-list {
	gap: 10px;
	margin-bottom: 20px;
}

.da-theme-cards .da-tab {
	border: 1px solid rgba(233,236,255,.12);
	background: rgba(255,255,255,.04);
	color: #e9ecff;
	border-radius: 999px;
	padding: 7px 12px;
	font-size: 0.85rem;
}

.da-theme-cards .da-tab.is-active {
	background: rgba(233,236,255,.12);
	color: #fff;
	border-color: rgba(233,236,255,.3);
}

.da-theme-cards .da-layout-label {
	color: rgba(233,236,255,.7);
	font-size: 0.8rem;
	letter-spacing: .3px;
}

.da-theme-cards .da-layout-toggle {
	border-color: rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: #e9ecff;
}

.da-theme-cards .da-layout-toggle.is-active {
	background: rgba(233,236,255,.18);
	border-color: rgba(233,236,255,.35);
}

[data-da-layout="cards"] .da-speaker-card {
	background: rgba(255,255,255,.04);
	border-left: 6px solid rgba(233,236,255,.2);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.04),
		0 16px 32px rgba(0,0,0,.28);
}

.da-theme-cards .da-speaker-card-header {
	color: rgba(233,236,255,.92);
	letter-spacing: .35px;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.da-theme-cards .da-dual-label {
	color: rgba(233,236,255,.92);
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: .45px;
}

.da-theme-cards .da-dual-label::before,
.da-theme-cards .da-dual-label::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 22%;
	height: 1px;
	background: rgba(233,236,255,.14);
	margin: 0 10px;
}

.da-theme-cards .da-capacity-card {
	background: rgba(255,255,255,.035);
	border-color: rgba(233,236,255,.12);
}

.da-theme-cards .da-capacity-title,
.da-theme-cards .da-capacity-content,
.da-theme-cards .da-capacity-content li,
.da-theme-cards .da-comm-cell,
.da-theme-cards .da-comm-label {
	color: rgba(233,236,255,.92);
}

.da-theme-cards .da-speaker-card {
	border-radius: 18px;
	border: 1px solid rgba(233,236,255,.08);
	background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.da-theme-cards .da-speaker-card.is-speaker-1 {
	box-shadow:
		inset 0 0 0 1px rgba(59,130,246,.18),
		0 0 32px rgba(59,130,246,.10),
		0 18px 40px rgba(0,0,0,.38);
}

.da-theme-cards .da-speaker-card.is-speaker-2 {
	box-shadow:
		inset 0 0 0 1px rgba(239,68,68,.16),
		0 0 32px rgba(239,68,68,.10),
		0 18px 40px rgba(0,0,0,.38);
}

.da-theme-cards .da-speaker-card.is-speaker-3 {
	box-shadow:
		inset 0 0 0 1px rgba(124,58,237,.18),
		0 0 32px rgba(124,58,237,.12),
		0 18px 40px rgba(0,0,0,.38);
}

.da-theme-cards .da-speaker-card.is-speaker-4 {
	box-shadow:
		inset 0 0 0 1px rgba(22,163,74,.18),
		0 0 32px rgba(22,163,74,.12),
		0 18px 40px rgba(0,0,0,.38);
}

.da-theme-cards .da-dual-row {
	border-bottom: 1px solid rgba(233,236,255,.08);
	padding-bottom: 16px;
}

.da-theme-cards .da-dual-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.da-theme-cards .da-speaker-card-body {
	color: rgba(233,236,255,.88);
	font-size: 0.9rem;
	line-height: 1.6;
}

.da-theme-cards .da-comm-mismatch-cell {
	background: rgba(59,130,246,.12);
	border-top-color: rgba(59,130,246,.25);
}

/* Section 3: Core Polarities */
.da-theme-cards .da-pol-cards {
	display: grid;
	gap: 22px;
}

.da-theme-cards .da-pol-card {
	border: 1px solid rgba(233,236,255,.1);
	border-radius: 20px;
	padding: 22px 24px;
	background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
	box-shadow: 0 18px 40px rgba(0,0,0,.35);
	margin-bottom: 40px;
}

.da-theme-cards .da-pol-header {
	display: grid;
	gap: 12px;
	margin-bottom: 18px;
}

.da-theme-cards .da-pol-title-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.da-theme-cards .da-pol-title-rule {
	height: 1px;
	background: rgba(233,236,255,.12);
}

.da-theme-cards .da-pol-header-main {
	display: grid;
	gap: 8px;
}

.da-theme-cards .da-pol-title {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
	color: #f5f7ff;
	margin: 0;
	text-align: center;
}

.da-theme-cards .da-pol-summary {
	color: rgba(233,236,255,.82);
	font-size: 1rem;
	line-height: 1.55;
}

.da-theme-cards .da-pol-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.da-theme-cards .da-pol-divider {
	height: 1px;
	background: rgba(233,236,255,.1);
	margin-top: 2px;
}

.da-theme-cards .da-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	padding: 7px 12px;
	font-size: 0.78rem;
	border: 1px solid rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: rgba(233,236,255,.9);
}

.da-theme-cards .da-pol-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.da-theme-cards .da-pol-pole {
	border-radius: 18px;
	padding: 16px;
	border: 1px solid rgba(233,236,255,.12);
	background: rgba(255,255,255,.03);
	display: grid;
	grid-template-rows:
		auto
		minmax(9.5rem, auto)
		minmax(9.5rem, auto)
		minmax(8.5rem, auto)
		auto;
}

.da-theme-cards .da-pol-pole-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.18), 0 0 32px rgba(59,130,246,.10);
}

.da-theme-cards .da-pol-pole-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.16), 0 0 32px rgba(239,68,68,.10);
}

.da-theme-cards .da-pole-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.da-theme-cards .da-pole-title {
	font-weight: 700;
	color: #f5f7ff;
	line-height: 1.3;
}

.da-theme-cards .da-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.75rem;
	border: 1px solid rgba(233,236,255,.2);
	background: rgba(255,255,255,.06);
	color: rgba(233,236,255,.85);
	white-space: nowrap;
}

.da-theme-cards .da-chip.is-pole-2 {
	border-color: rgba(239,68,68,.35);
}

.debate-analysis {
	--stage-red: #d63b2f;
	--stage-amber: #c47d1a;
	--stage-umber: #8b5e3c;
	--stage-orange: #d47820;
	--stage-green: #3a8c5c;
	--stage-teal: #1f8a8a;
	--stage-turq: #0fa8b4;
}

.debate-analysis .da-stage-chip,
.debate-analysis .da-sp-stage-pill,
.debate-analysis .da-complexity-stage-pill,
.debate-analysis .da-complexity-line-stage {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	min-height: 24px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	overflow: visible;
	background: transparent;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	line-height: 1;
	color: #2a2620;
	white-space: nowrap;
	--da-stage-accent: var(--stage-umber);
}

.debate-analysis .da-stage-chip,
.debate-analysis .da-sp-stage-pill,
.debate-analysis .da-complexity-stage-pill,
.debate-analysis .da-complexity-line-stage,
.debate-analysis .da-stage-tooltip-host {
	cursor: help;
}

.debate-analysis .da-stage-chip.is-compact,
.debate-analysis .da-sp-stage-pill.is-compact,
.debate-analysis .da-complexity-line-stage.is-compact {
	min-height: 24px;
}

.debate-analysis .da-stage-number,
.debate-analysis .da-stage-label {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	box-sizing: border-box;
}

.debate-analysis .da-stage-number {
	padding: 4px 8px;
	background: var(--da-stage-accent);
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.debate-analysis .da-stage-label {
	padding: 4px 10px;
	background: #ffffff;
	color: #2a2620;
	border-top: 1px solid rgba(0,0,0,0.10);
	border-right: 1px solid rgba(0,0,0,0.10);
	border-bottom: 1px solid rgba(0,0,0,0.10);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	font-size: 1.2em;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.debate-analysis .da-stage-chip.is-red,
.debate-analysis .da-sp-stage-pill.is-red,
.debate-analysis .da-complexity-stage-pill.is-red,
.debate-analysis .da-complexity-line-stage.is-red {
	--da-stage-accent: var(--stage-red);
}

.debate-analysis .da-stage-chip.is-amber,
.debate-analysis .da-sp-stage-pill.is-amber,
.debate-analysis .da-complexity-stage-pill.is-amber,
.debate-analysis .da-complexity-line-stage.is-amber {
	--da-stage-accent: var(--stage-amber);
}

.debate-analysis .da-stage-chip.is-umber,
.debate-analysis .da-sp-stage-pill.is-umber,
.debate-analysis .da-complexity-stage-pill.is-umber,
.debate-analysis .da-complexity-line-stage.is-umber {
	--da-stage-accent: var(--stage-umber);
}

.debate-analysis .da-stage-chip.is-orange,
.debate-analysis .da-sp-stage-pill.is-orange,
.debate-analysis .da-complexity-stage-pill.is-orange,
.debate-analysis .da-complexity-line-stage.is-orange {
	--da-stage-accent: var(--stage-orange);
}

.debate-analysis .da-stage-chip.is-green,
.debate-analysis .da-sp-stage-pill.is-green,
.debate-analysis .da-complexity-stage-pill.is-green,
.debate-analysis .da-complexity-line-stage.is-green {
	--da-stage-accent: var(--stage-green);
}

.debate-analysis .da-stage-chip.is-teal,
.debate-analysis .da-sp-stage-pill.is-teal,
.debate-analysis .da-complexity-stage-pill.is-teal,
.debate-analysis .da-complexity-line-stage.is-teal {
	--da-stage-accent: var(--stage-teal);
}

.debate-analysis .da-stage-chip.is-turquoise,
.debate-analysis .da-sp-stage-pill.is-turquoise,
.debate-analysis .da-complexity-stage-pill.is-turquoise,
.debate-analysis .da-complexity-line-stage.is-turquoise {
	--da-stage-accent: var(--stage-turq);
}

.debate-analysis .da-chip-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	width: min(300px, 74vw);
	max-width: calc(100vw - 32px);
	padding: 9px 11px;
	border-radius: 12px;
	background: rgba(15,23,42,.96);
	border: 1px solid rgba(148,163,184,.28);
	box-shadow: 0 16px 32px rgba(2,6,23,.28);
	color: #e5eefb;
	font-size: 0.76rem;
	line-height: 1.4;
	white-space: normal;
	overflow-wrap: anywhere;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
	z-index: 6;
}

.debate-analysis .da-chip-tooltip-block + .da-chip-tooltip-block {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(148,163,184,.22);
}

.debate-analysis .da-chip-tooltip-rationale strong {
	color: #f8fbff;
}

.debate-analysis .da-stage-chip:hover .da-chip-tooltip,
.debate-analysis .da-stage-chip:focus .da-chip-tooltip,
.debate-analysis .da-stage-chip:focus-visible .da-chip-tooltip,
.debate-analysis .da-stage-tooltip-host:hover .da-chip-tooltip,
.debate-analysis .da-stage-tooltip-host:focus .da-chip-tooltip,
.debate-analysis .da-stage-tooltip-host:focus-visible .da-chip-tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(-2px);
}

.da-theme-cards .da-pole-section {
	margin-top: 12px;
	align-content: start;
}

.da-theme-cards .da-pole-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(233,236,255,.6);
	margin-bottom: 6px;
}

.da-theme-cards .da-pole-section ul {
	margin: 0;
	padding-left: 17px;
	display: grid;
	gap: 6px;
	line-height: 1.45;
}

.da-theme-cards .da-pole-section li {
	color: rgba(233,236,255,.86);
	font-size: 0.95rem;
}

.da-theme-cards .da-pole-snapshot-zone {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(233,236,255,.1);
	display: grid;
	gap: 10px;
}

.da-theme-cards .da-pole-snapshot-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(233,236,255,.58);
}

/* New polarity enactment zone (full-width, below pole grid) */
.da-pol-enactment-zone {
	padding: 18px;
}

.da-pol-enactment-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(233,236,255,.58);
	margin-bottom: 12px;
}

.da-pol-enactment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

/* New pole kicker & tagline (fallback base styles) */
.da-pole-kicker {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(233,236,255,.58);
	margin-bottom: 4px;
}

.da-pole-tagline {
	font-size: 0.88rem;
	color: rgba(233,236,255,.62);
	font-style: italic;
	margin-top: 4px;
}

.da-theme-cards .da-pole-enactments {
	display: grid;
	gap: 12px;
}

.da-theme-cards .da-pole-enact-card {
	border: 1px solid rgba(233,236,255,.1);
	border-radius: 16px;
	padding: 14px;
	background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
	display: grid;
	gap: 10px;
	position: relative;
	overflow: visible;
}

.da-theme-cards .da-pole-enact-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	overflow: visible;
}

.da-theme-cards .da-pole-enact-speaker {
	font-weight: 700;
	color: #f5f7ff;
	font-size: 1.02rem;
	line-height: 1.25;
}

.da-theme-cards .da-pole-enact-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	align-items: stretch;
	position: relative;
	overflow: visible;
	min-width: 0;
}

.da-theme-cards .da-pole-enact-chips .da-chip-group {
	position: relative;
	overflow: visible;
	min-width: 0;
}

.da-theme-cards .da-pole-enact-chips .da-chip-tooltip {
	left: auto;
	right: 0;
	bottom: calc(100% + 8px);
	transform: none;
	width: min(320px, 30vw);
	max-width: 320px;
	white-space: normal;
}

.da-theme-cards .da-pole-enact-chips .da-stage-chip:hover .da-chip-tooltip,
.da-theme-cards .da-pole-enact-chips .da-stage-chip:focus .da-chip-tooltip,
.da-theme-cards .da-pole-enact-chips .da-stage-chip:focus-visible .da-chip-tooltip {
	transform: translateY(-2px);
}

.da-theme-cards .da-polarity-chip-set {
	display: inline-flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 10px;
	min-width: 0;
}

.da-theme-cards .da-polarity-chip-divider {
	align-self: stretch;
	width: 1px;
	min-height: 48px;
	background: linear-gradient(180deg, rgba(203, 213, 225, 0), rgba(203, 213, 225, .9), rgba(203, 213, 225, 0));
	opacity: .9;
	flex: 0 0 1px;
}

.da-theme-cards .da-pole-enact-lede {
	color: rgba(233,236,255,.88);
	line-height: 1.5;
}

.da-theme-cards .da-pole-enact-grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 10px;
}

.da-theme-cards .da-pole-enact-cluster {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 12px;
	background: rgba(255,255,255,.025);
	padding: 9px 10px;
}

.da-theme-cards .da-pole-enact-title {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.62);
	margin-bottom: 6px;
}

.da-theme-cards .da-pole-enact-cluster ul {
	margin: 0;
	padding-left: 16px;
	display: grid;
	gap: 4px;
}

.da-theme-cards .da-pole-enact-cluster li {
	line-height: 1.38;
	font-size: 0.9rem;
	color: rgba(233,236,255,.84);
}

.da-theme-cards .da-pole-enact-empty {
	border: 1px dashed rgba(233,236,255,.14);
	border-radius: 14px;
	padding: 12px;
	color: rgba(233,236,255,.56);
	font-size: 0.9rem;
	font-style: italic;
}

.da-theme-cards .da-pol-enactment {
	margin-top: 18px;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid rgba(233,236,255,.1);
	background: rgba(255,255,255,.03);
}

.da-theme-cards .da-pol-subhead {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(233,236,255,.6);
	margin-bottom: 10px;
}

.da-theme-cards .da-enact-table {
	display: grid;
	gap: 12px;
}

.da-theme-cards .da-enact-row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 12px;
	align-items: start;
	padding-top: 10px;
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-theme-cards .da-enact-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.da-theme-cards .da-enact-meta {
	display: grid;
	gap: 8px;
}

.da-theme-cards .da-enact-speaker {
	font-weight: 700;
	color: #f5f7ff;
}

.da-theme-cards .da-enact-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: flex-start;
}

.da-theme-cards .da-chip-group {
	display: grid;
	gap: 4px;
	align-content: start;
}

.da-theme-cards .da-chip-label {
	font-size: 0.66rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: rgba(233,236,255,.6);
	white-space: nowrap;
}

.da-theme-cards .da-chip-subcopy {
	font-size: 0.7rem;
	line-height: 1.35;
	color: rgba(233,236,255,.58);
}

.da-theme-cards .da-chip-subcopy-label {
	text-transform: uppercase;
	letter-spacing: .06em;
	color: rgba(233,236,255,.48);
	margin-right: 4px;
}

.da-theme-cards .da-chip-subcopy-value {
	color: rgba(233,236,255,.72);
}

.da-theme-cards .da-enact-clusters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.da-theme-cards .da-enact-cluster {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 12px;
	background: rgba(255,255,255,.02);
	padding: 8px 10px;
}

.da-theme-cards .da-enact-cluster-title {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.62);
	margin-bottom: 6px;
}

.da-theme-cards .da-enact-cluster ul {
	margin: 0;
	padding-left: 16px;
	display: grid;
	gap: 4px;
}

.da-theme-cards .da-enact-cluster li {
	line-height: 1.35;
	font-size: 0.88rem;
}

.da-theme-cards .da-pol-mismatch {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid rgba(59,130,246,.15);
	background: rgba(59,130,246,.08);
}

.da-theme-cards .da-pol-synthesis {
	margin-top: 18px;
	padding: 16px 18px;
	border-radius: 16px;
	border: 1px solid rgba(233,236,255,.1);
	background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.da-theme-cards .da-pol-synthesis-text {
	color: rgba(233,236,255,.86);
	line-height: 1.6;
}

.da-theme-cards .da-pol-synthesis-text p,
.da-theme-light .da-pol-synthesis-text p {
	margin: 0 0 1em;
}

.da-theme-cards .da-pol-synthesis-text p:last-child,
.da-theme-light .da-pol-synthesis-text p:last-child {
	margin-bottom: 0;
}

.da-theme-cards .da-mm-title {
	font-weight: 700;
	margin-bottom: 6px;
}

.da-theme-cards .da-mm-bridge-label {
	margin-top: 10px;
	font-weight: 700;
}

.da-theme-cards .da-mm-translation {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid rgba(233,236,255,.12);
	border-radius: 12px;
	background: rgba(255,255,255,.02);
}

.da-theme-cards .da-mm-row-title {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.68);
	margin-bottom: 6px;
}

.da-theme-cards .da-mm-row {
	margin-top: 4px;
	line-height: 1.4;
}

.da-theme-cards .da-clamp-toggle {
	margin-top: 4px;
	background: transparent;
	border: 0;
	color: rgba(233,236,255,.8);
	font-size: 0.78rem;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.da-theme-cards .is-clamped {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.da-theme-cards .da-pol-summary.is-clamped,
.da-theme-cards .da-note-text.is-clamped {
	-webkit-line-clamp: 2;
}

.da-theme-cards .is-clamped.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
}

.da-pol-warning {
	padding: 8px 10px;
	border-radius: 10px;
	background: rgba(239,68,68,.12);
	border: 1px solid rgba(239,68,68,.2);
	color: rgba(233,236,255,.85);
	margin-bottom: 10px;
}

/* Section 3: Core Polarities (light mode) */
.da-theme-light .da-pol-card {
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	padding: 22px 24px;
	margin-bottom: 40px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(17,24,39,.08);
}

.da-theme-light .da-pol-title {
	color: #0f172a;
}

.da-theme-light .da-pol-title-rule {
	background: #e5e7eb;
}

.da-theme-light .da-pol-summary {
	color: #334155;
}

.da-theme-light .da-pol-divider {
	background: #e5e7eb;
}

.da-theme-light .da-badge,
.da-theme-light .da-chip {
	background: #f8fafc;
	color: #111827;
	border-color: #e5e7eb;
}

.da-theme-light .da-pol-pole {
	background: #ffffff;
	border-color: #e5e7eb;
}

.da-theme-light .da-pol-pole-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.16), 0 5px 16px rgba(59,130,246,.08);
}

.da-theme-light .da-pol-pole-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.14), 0 5px 16px rgba(239,68,68,.08);
}

.da-theme-light .da-pole-title,
.da-theme-light .da-enact-speaker,
.da-theme-light .da-mm-title,
.da-theme-light .da-mm-bridge-label {
	color: #0f172a;
}

.da-theme-light .da-pole-label,
.da-theme-light .da-pol-subhead,
.da-theme-light .da-enact-cluster-title,
.da-theme-light .da-chip-label,
.da-theme-light .da-mm-row-title {
	color: #64748b;
}

.da-theme-light .da-chip-subcopy {
	color: rgba(71,85,105,.72);
}

.da-theme-light .da-chip-subcopy-label {
	color: rgba(100,116,139,.82);
}

.da-theme-light .da-chip-subcopy-value {
	color: rgba(51,65,85,.78);
}

.da-theme-light .da-pole-section li,
.da-theme-light .da-mm-text,
.da-theme-light .da-mm-bridge-text,
.da-theme-light .da-mm-row {
	color: #1f2937;
}

.da-theme-light .da-pole-snapshot-zone {
	border-top-color: rgba(15,23,42,.08);
}

.da-theme-light .da-pole-snapshot-label,
.da-theme-light .da-pole-enact-title {
	color: rgba(15,23,42,.55);
}

.da-theme-light .da-pole-enact-card {
	border-color: rgba(15,23,42,.08);
	background: rgba(255,255,255,.7);
	box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.da-theme-light .da-pole-enact-speaker,
.da-theme-light .da-pole-enact-lede,
.da-theme-light .da-pole-enact-cluster li,
.da-theme-light .da-pole-enact-empty {
	color: #1f2937;
}

.da-theme-light .da-pole-enact-cluster {
	border-color: rgba(15,23,42,.06);
	background: rgba(248,250,252,.9);
}

.da-theme-light .da-pol-enactment,
.da-theme-light .da-enact-cluster,
.da-theme-light .da-mm-translation,
.da-theme-light .da-pol-synthesis {
	background: #f8fafc;
	border-color: #e5e7eb;
}

.da-theme-light .da-pol-mismatch {
	background: #eef4ff;
	border-color: #c7d2fe;
}

.da-theme-light .da-pol-synthesis-text {
	color: #1f2937;
}

.da-theme-light .da-chip-tooltip {
	background: rgba(255,255,255,.98);
	border-color: #dbe3ee;
	box-shadow: 0 12px 28px rgba(15,23,42,.14);
	color: #0f172a;
}

@media (max-width: 900px) {
	.da-theme-cards .da-pol-card {
		padding: 18px;
	}

	.da-dual-columns {
		grid-template-columns: 1fr;
	}

	.da-theme-cards .da-pol-grid {
		grid-template-columns: 1fr;
	}

	.da-theme-cards .da-pol-pole {
		grid-template-rows: auto auto auto auto auto;
	}

	.da-theme-cards .da-pole-enact-top {
		flex-direction: column;
	}

	.da-theme-cards .da-pole-enact-chips {
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.da-theme-cards .da-polarity-chip-set {
		flex-wrap: wrap;
	}

	.da-theme-cards .da-polarity-chip-divider {
		display: none;
	}

	.da-theme-cards .da-pole-enact-grid {
		grid-template-columns: 1fr;
	}

	.da-theme-cards .da-enact-row {
		grid-template-columns: 1fr;
	}

	.da-theme-cards .da-enact-clusters {
		grid-template-columns: 1fr;
	}

	.da-theme-cards .da-pol-badges {
		justify-content: flex-start;
	}

	.da-contest-intro-summary,
	.da-contest-intro-prose,
	.da-contest-intro-bottom,
	.da-contest-dynamics-grid {
		grid-template-columns: 1fr;
	}

	.da-contest-row-briefs,
	.da-contest-row-dynamics {
		grid-template-columns: 1fr;
	}

	.da-contest-row-speakers {
		grid-template-columns: 1fr;
	}
}

/* Light-mode overrides after dark card rules */
.debate-analysis.da-theme-light .da-eyebrow {
	color: #64748b;
}

.debate-analysis.da-theme-light .da-header h1 {
	color: #0f172a;
}

.debate-analysis.da-theme-light .da-meta,
.debate-analysis.da-theme-light .da-speakers-label,
.debate-analysis.da-theme-light .da-speaker-chip,
.debate-analysis.da-theme-light .da-transcript-title,
.debate-analysis.da-theme-light .da-transcript-actions .da-toggle,
.debate-analysis.da-theme-light .da-transcript-actions .da-copy,
.debate-analysis.da-theme-light .da-transcript-actions .da-download,
.debate-analysis.da-theme-light .da-markdown,
.debate-analysis.da-theme-light .da-markdown h2,
.debate-analysis.da-theme-light .da-markdown h3,
.debate-analysis.da-theme-light .da-markdown h4,
.debate-analysis.da-theme-light .da-markdown p,
.debate-analysis.da-theme-light .da-markdown li,
.debate-analysis.da-theme-light .da-markdown strong,
.debate-analysis.da-theme-light .da-markdown em {
	color: #111827;
}

.debate-analysis.da-theme-light .da-speaker-chip {
	background: #f8fafc;
	border-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-transcript {
	background: #fff;
	border-color: #e5e7eb;
	color: #111827;
}

.debate-analysis.da-theme-light .da-tab {
	background: #f8fafc;
	color: #111827;
	border-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-tab.is-active {
	background: #ffffff;
	color: #0f172a;
	border-color: #2563eb;
}

.debate-analysis.da-theme-light .da-section-summary {
	background:
		linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.98)),
		radial-gradient(520px 220px at 12% 0%, rgba(59,130,246,.08), transparent 55%);
	border-color: #e5e7eb;
	box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.debate-analysis.da-theme-light .da-section-summary p {
	color: #334155;
}

.debate-analysis.da-theme-light .da-dual-label,
.debate-analysis.da-theme-light .da-speaker-card-header,
.debate-analysis.da-theme-light .da-speaker-card-body,
.debate-analysis.da-theme-light .da-speaker-card-body p,
.debate-analysis.da-theme-light .da-speaker-card-body li,
.debate-analysis.da-theme-light .da-capacity-title,
.debate-analysis.da-theme-light .da-capacity-content,
.debate-analysis.da-theme-light .da-capacity-content li,
.debate-analysis.da-theme-light .da-comm-cell,
.debate-analysis.da-theme-light .da-comm-label {
	color: #111827;
}

.debate-analysis.da-theme-light .da-dual-label::before,
.debate-analysis.da-theme-light .da-dual-label::after {
	background: #e5e7eb;
}

.debate-analysis.da-theme-light .da-speaker-card,
.debate-analysis.da-theme-light .da-capacity-card {
	background: #ffffff;
	border-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-comm-mismatch-cell,
.debate-analysis.da-theme-light .da-comm-mismatch-cell p,
.debate-analysis.da-theme-light .da-comm-mismatch-cell strong,
.debate-analysis.da-theme-light .da-speaker-card.is-mismatch,
.debate-analysis.da-theme-light .da-speaker-card.is-mismatch p,
.debate-analysis.da-theme-light .da-speaker-card.is-mismatch strong {
	color: #111827 !important;
}

.da-complexity-cards .da-capacity-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
}

.da-complexity-layout .da-dual-label {
	display: grid;
	gap: 6px;
}

.da-complexity-row {
	gap: 16px;
}

.da-complexity-row-header {
	display: grid;
	gap: 8px;
	text-align: center;
	justify-items: center;
	margin: 2px 0 2px;
}

.da-complexity-row-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .01em;
	color: #f5f7ff;
}

.da-complexity-row-description {
	margin: 0;
	max-width: 74ch;
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(233,236,255,.72);
}

.da-complexity-section-card {
	display: grid;
	gap: 16px;
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 22px;
	padding: 18px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
		radial-gradient(520px 240px at 12% 0%, rgba(59,130,246,.05), transparent 58%),
		radial-gradient(520px 240px at 100% 0%, rgba(239,68,68,.045), transparent 58%);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.02),
		0 14px 28px rgba(0,0,0,.16);
}

.da-complexity-section-columns {
	align-items: start;
}

.da-complexity-summary-card,
.da-complexity-capacity-speaker {
	border-radius: 18px;
}

.da-complexity-summary-body,
.da-complexity-capacity-body {
	display: grid;
	gap: 14px;
}

.da-complexity-stage-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.da-complexity-stage-field,
.da-complexity-lines,
.da-complexity-aim-block,
.da-complexity-prose-block {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 14px;
	background: rgba(255,255,255,.03);
	padding: 14px 16px;
}

.da-complexity-field-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.62);
	margin-bottom: 8px;
	display: block;
}

.da-complexity-stage-pill {
	font-size: 1rem;
}

.da-stage-emoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 1rem;
	line-height: 1;
}

.da-stage-copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.da-complexity-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px;
}

.da-complexity-confidence {
	font-weight: 700;
	color: #f5f7ff;
}

.da-complexity-prose-block p,
.da-complexity-aim-block p,
.da-complexity-cues-body {
	margin: 0;
	line-height: 1.65;
}

.da-complexity-lines {
	display: grid;
	gap: 10px;
}

.da-complexity-line-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.da-complexity-line-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(233,236,255,.7);
}

.da-complexity-line-value {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #f5f7ff;
	font-weight: 600;
}

.da-complexity-capacity-title {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #f5f7ff;
}

/* Complexity grid layout (aligned rows) */
.da-complexity-grid {
	display: grid;
	grid-template-columns: repeat(var(--da-cg-cols, 2), minmax(0, 1fr));
	gap: 0 16px;
}

.da-cg-cell {
	padding: 10px 14px;
}

.da-cg-header {
	font-weight: 600;
	padding: 12px 14px;
}

.da-cg-confidence {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.da-complexity-confidence-value {
	font-weight: 600;
}

.da-cg-rationale p {
	margin: 0;
	line-height: 1.65;
}

.da-cg-cap-label {
	border-top: 1px solid rgba(233,236,255,.08);
	padding-top: 14px;
}

.da-cg-cap {
	border-top: 1px solid rgba(233,236,255,.06);
}

.da-complexity-cap-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}

.da-complexity-cap-title {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.da-complexity-cap-read {
	line-height: 1.6;
	font-style: italic;
	color: rgba(233,236,255,.76);
}

.da-complexity-capacity-description {
	display: block;
	font-size: 0.96rem;
	line-height: 1.6;
	color: rgba(233,236,255,.72);
	max-width: 78ch;
}

.da-ranking-chip {
	display: inline-flex;
	width: fit-content;
}

.da-status-chip {
	display: inline-flex;
	align-items: stretch;
	min-height: 24px;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 10.5px;
	line-height: 1;
	white-space: nowrap;
}

.da-status-chip-bar {
	width: 8px;
	background: #9ca3af;
	flex: 0 0 8px;
}

.da-status-chip-label {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: #ffffff;
	color: #2a2620;
	border-top: 1px solid rgba(0,0,0,0.10);
	border-right: 1px solid rgba(0,0,0,0.10);
	border-bottom: 1px solid rgba(0,0,0,0.10);
	font-weight: 500;
	font-size: 1.2em;
}

.da-status-chip.is-low .da-status-chip-bar,
.da-ranking-chip.is-absent .da-status-chip-bar {
	background: var(--stage-red);
}

.da-status-chip.is-medium .da-status-chip-bar,
.da-ranking-chip.is-basic .da-status-chip-bar {
	background: var(--stage-orange);
}

.da-status-chip.is-high .da-status-chip-bar,
.da-ranking-chip.is-advanced .da-status-chip-bar {
	background: var(--stage-green);
}

.da-ranking-chip.is-consistent .da-status-chip-bar {
	background: var(--stage-teal);
}

.da-complexity-cues {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 14px;
	background: rgba(255,255,255,.025);
	padding: 0;
	overflow: hidden;
}

.da-complexity-cues summary {
	cursor: pointer;
	list-style: none;
	padding: 13px 16px;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: .04em;
	color: rgba(233,236,255,.78);
}

.da-complexity-cues summary::-webkit-details-marker {
	display: none;
}

.da-complexity-cues summary::after {
	content: "+";
	float: right;
	font-size: 1rem;
}

.da-complexity-cues[open] summary::after {
	content: "–";
}

.da-complexity-cues-body {
	padding: 0 16px 16px;
	color: rgba(233,236,255,.86);
}

.da-complexity-cues.is-empty {
	font-size: 0.92rem;
	color: rgba(233,236,255,.56);
}

.debate-analysis.da-theme-light .da-complexity-stage-field,
.debate-analysis.da-theme-light .da-complexity-lines,
.debate-analysis.da-theme-light .da-complexity-aim-block,
.debate-analysis.da-theme-light .da-complexity-prose-block,
.debate-analysis.da-theme-light .da-complexity-cues {
	background: #ffffff;
	border-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-complexity-field-label,
.debate-analysis.da-theme-light .da-complexity-line-label,
.debate-analysis.da-theme-light .da-complexity-cues summary {
	color: #6b7280;
}

.debate-analysis.da-theme-light .da-complexity-stage-pill,
.debate-analysis.da-theme-light .da-complexity-line-value,
.debate-analysis.da-theme-light .da-complexity-capacity-title,
.debate-analysis.da-theme-light .da-complexity-row-title,
.debate-analysis.da-theme-light .da-complexity-prose-block p,
.debate-analysis.da-theme-light .da-complexity-aim-block p,
.debate-analysis.da-theme-light .da-complexity-cues-body {
	color: #111827;
}

.debate-analysis.da-theme-light .da-complexity-capacity-description,
.debate-analysis.da-theme-light .da-complexity-row-description,
.debate-analysis.da-theme-light .da-complexity-cues.is-empty {
	color: #4b5563;
}

.debate-analysis.da-theme-light .da-complexity-section-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9)),
		radial-gradient(520px 240px at 12% 0%, rgba(59,130,246,.035), transparent 58%),
		radial-gradient(520px 240px at 100% 0%, rgba(239,68,68,.03), transparent 58%);
	border-color: #e5e7eb;
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.55),
		0 8px 20px rgba(15,23,42,.04);
}

.debate-analysis.da-theme-light .da-cg-rationale p,
.debate-analysis.da-theme-light .da-complexity-cap-read {
	color: #111827;
}

.debate-analysis.da-theme-light .da-complexity-cap-title {
	color: #111827;
}

.debate-analysis.da-theme-light .da-cg-cap-label {
	border-top-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-cg-cap {
	border-top-color: #f1f5f9;
}

.debate-analysis.da-theme-light .da-complexity-confidence-value {
	color: #111827;
}

.debate-analysis.da-theme-light .da-status-chip-label {
	background: #ffffff;
	color: #2a2620;
	border-color: rgba(0,0,0,0.10);
}

@media (max-width: 860px) {
	.da-complexity-stage-grid {
		grid-template-columns: 1fr;
	}

	.da-complexity-meta-row,
	.da-complexity-line-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.da-complexity-section-card {
		padding: 16px;
	}
}

.da-speaker-profiles {
	margin: 0 0 26px;
}

.da-speaker-profiles-kicker {
	margin: 0 0 8px;
	font-size: 0.72rem;
	letter-spacing: .42em;
	text-transform: uppercase;
	text-align: center;
	color: rgba(148,163,184,.72);
}

.da-speaker-profiles-title {
	max-width: 34ch;
	font-size: clamp(1rem, .45vw + .92rem, 1.2rem);
	font-weight: 400;
	line-height: 1.34;
	letter-spacing: -.01em;
	text-align: center;
	margin: 0 auto 16px;
	color: rgba(248,250,252,.84);
	text-wrap: balance;
}

.da-speaker-profiles-shell {
	display: grid;
	gap: 0;
	padding: 10px 12px 12px;
	border-radius: 34px;
	border: 1px solid rgba(233,236,255,.08);
	background:
		linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)),
		radial-gradient(820px 380px at 0% 0%, rgba(245,158,11,.075), transparent 58%),
		radial-gradient(820px 380px at 100% 0%, rgba(59,130,246,.075), transparent 60%);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.018),
		0 16px 38px rgba(2,6,23,.14);
}

.da-sp-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	position: relative;
}

.da-sp-row + .da-sp-row {
	border-top: 1px solid rgba(233,236,255,.055);
}

.da-sp-card {
	position: relative;
	padding: 18px 18px;
	border: 0;
	background: rgba(255,255,255,.012);
	min-width: 0;
}

.da-sp-card.is-left {
	box-shadow: inset 3px 0 0 rgba(245,158,11,.45);
	background:
		linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)),
		radial-gradient(520px 240px at 0% 0%, rgba(245,158,11,.05), transparent 60%);
}

.da-sp-card.is-right {
	box-shadow: inset -3px 0 0 rgba(96,165,250,.45);
	background:
		linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)),
		radial-gradient(520px 240px at 100% 0%, rgba(59,130,246,.05), transparent 60%);
}

.da-sp-spine,
.da-sp-spine-poles {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.04) 16px, rgba(255,255,255,.04) 24px, rgba(255,255,255,0) 40px);
}

.da-sp-spine::before,
.da-sp-spine-poles::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	transform: translateX(-50%);
	background: linear-gradient(180deg, rgba(226,232,240,.08), rgba(226,232,240,.42), rgba(226,232,240,.08));
}

.da-sp-spine::after,
.da-sp-spine-poles::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 9px);
	width: 18px;
	border-left: 1px solid rgba(255,255,255,.04);
	border-right: 1px solid rgba(255,255,255,.04);
}

.da-sp-spine-diamond,
.da-sp-spine-gem {
	position: relative;
	display: inline-block;
	z-index: 1;
}

.da-sp-spine-diamond {
	width: 8px;
	height: 8px;
	transform: rotate(45deg);
	border-radius: 1px;
	background: linear-gradient(135deg, rgba(245,158,11,.9), rgba(96,165,250,.9));
	box-shadow: 0 0 0 1px rgba(15,23,42,.55);
}

.da-sp-spine-gem {
	font-size: 2rem;
	line-height: 1;
	color: rgba(236,191,92,.92);
	text-shadow:
		0 0 0 rgba(0,0,0,0),
		0 0 0 4px rgba(15,23,42,.8);
}

.da-sp-name {
	margin: 0 0 10px;
	font-size: clamp(1.18rem, 1vw + 1rem, 1.75rem);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -.03em;
	color: #f8fafc;
}

.da-sp-formula {
	display: grid;
	gap: 6px;
	max-width: 32rem;
	text-align: left;
}

.da-sp-row-label {
	margin: 0 0 8px;
	font-size: 0.68rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: rgba(226,232,240,.42);
}

.da-sp-formula-text {
	font-size: 0.98rem;
	line-height: 1.15;
	color: rgba(226,232,240,.82);
}

.da-sp-formula-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px 10px;
	max-width: 100%;
}

.da-sp-formula-row + .da-sp-formula-row {
	margin-top: 0;
}

.da-complexity-line-stage {
	font-size: 0.95rem;
}

.da-sp-seriffed,
.da-sp-copy-small,
.da-sp-synthesis-copy {
	font-size: 0.98rem;
	line-height: 1.62;
	color: #e5e7eb;
}

.da-sp-seriffed {
	font-style: italic;
}

.da-sp-pole-card {
	padding: 0;
	overflow: visible;
	background: rgba(255,255,255,.008);
}

.da-sp-pole-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	min-height: 64px;
	justify-content: space-between;
}

.da-sp-card.is-right .da-sp-pole-row {
	justify-content: space-between;
}

.da-sp-pole-row + .da-sp-pole-row {
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-sp-pole-name {
	font-size: 1.02rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #f8fafc;
	flex: 1 1 auto;
	min-width: 0;
}

.da-sp-pole-name.is-right {
	text-align: right;
	justify-self: end;
}

.da-sp-pole-name.is-left {
	text-align: left;
	justify-self: start;
}

.da-sp-pole-badge-wrap {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.da-sp-spine-poles {
	display: grid;
	grid-auto-rows: 1fr;
	align-items: stretch;
}

.da-sp-pole-spine-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
}

.da-sp-pole-spine-row + .da-sp-pole-spine-row {
	border-top: 1px solid rgba(233,236,255,.06);
}

.da-speaker-profiles-mobile {
	display: none;
}

.da-sp-mobile-card {
	border: 1px solid rgba(226,232,240,.16);
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
		radial-gradient(420px 200px at 0% 0%, rgba(245,158,11,.035), transparent 58%),
		radial-gradient(420px 200px at 100% 0%, rgba(59,130,246,.035), transparent 58%);
	overflow: hidden;
}

.da-sp-mobile-card + .da-sp-mobile-card {
	margin-top: 18px;
}

.da-sp-mobile-card.is-a {
	box-shadow: inset 3px 0 0 rgba(245,158,11,.55);
}

.da-sp-mobile-card.is-b {
	box-shadow: inset -3px 0 0 rgba(59,130,246,.5);
}

.da-sp-mobile-section {
	padding: 18px 20px;
}

.da-sp-mobile-section + .da-sp-mobile-section {
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-sp-mobile-pole-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}

.da-sp-mobile-pole-row + .da-sp-mobile-pole-row {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-sp-mobile-pole-name {
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.01em;
	color: #f8fafc;
}

.da-sp-highlight-tell {
	color: #f59e0b;
	font-weight: 700;
}

.da-sp-highlight-left {
	color: #fbbf24;
	font-weight: 700;
}

.da-sp-highlight-right {
	color: #93c5fd;
	font-weight: 700;
}

.da-sp-blind-copy {
	font-style: italic;
	color: rgba(226,232,240,.72);
}

.da-sp-row.is-identity .da-sp-card,
.da-sp-row.is-synthesis .da-sp-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
		radial-gradient(420px 200px at 0% 0%, rgba(245,158,11,.04), transparent 58%),
		radial-gradient(420px 200px at 100% 0%, rgba(59,130,246,.04), transparent 58%);
}

.debate-analysis.da-theme-light .da-speaker-profiles-title,
.debate-analysis.da-theme-light .da-sp-name,
.debate-analysis.da-theme-light .da-sp-pole-name,
.debate-analysis.da-theme-light .da-sp-stage-pill {
	color: #111827;
}

.debate-analysis.da-theme-light .da-speaker-profiles-title {
	max-width: 54ch;
	color: #475569;
}

.debate-analysis.da-theme-light .da-speaker-profiles-kicker {
	color: #64748b;
}

.debate-analysis.da-theme-light .da-speaker-profiles-shell {
	border-color: #e5e7eb;
	background:
		linear-gradient(180deg, rgba(250,251,253,.94), rgba(247,248,251,.92)),
		radial-gradient(820px 340px at 0% 0%, rgba(245,158,11,.045), transparent 58%),
		radial-gradient(820px 340px at 100% 0%, rgba(59,130,246,.045), transparent 60%);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.65),
		0 10px 24px rgba(15,23,42,.04);
}

.debate-analysis.da-theme-light .da-sp-card {
	background: rgba(255,255,255,.32);
}

.debate-analysis.da-theme-light .da-sp-card.is-left {
	box-shadow: inset 3px 0 0 rgba(245,158,11,.55);
	background:
		linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.42)),
		radial-gradient(520px 240px at 0% 0%, rgba(245,158,11,.032), transparent 60%);
}

.debate-analysis.da-theme-light .da-sp-card.is-right {
	box-shadow: inset -3px 0 0 rgba(59,130,246,.5);
	background:
		linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.42)),
		radial-gradient(520px 240px at 100% 0%, rgba(59,130,246,.032), transparent 60%);
}

.debate-analysis.da-theme-light .da-sp-formula-text,
.debate-analysis.da-theme-light .da-sp-seriffed,
.debate-analysis.da-theme-light .da-sp-copy-small,
.debate-analysis.da-theme-light .da-sp-synthesis-copy {
	color: #334155;
}

.debate-analysis.da-theme-light .da-sp-mobile-card {
	border-color: #e5e7eb;
	background:
		linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46)),
		radial-gradient(520px 240px at 0% 0%, rgba(245,158,11,.028), transparent 60%),
		radial-gradient(520px 240px at 100% 0%, rgba(59,130,246,.028), transparent 60%);
}

.debate-analysis.da-theme-light .da-sp-mobile-pole-name {
	color: #111827;
}

.debate-analysis.da-theme-light .da-sp-row-label,
.debate-analysis.da-theme-light .da-sp-blind-copy {
	color: #718197;
}

.debate-analysis.da-theme-light .da-stage-chip,
.debate-analysis.da-theme-light .da-sp-stage-pill,
.debate-analysis.da-theme-light .da-complexity-stage-pill,
.debate-analysis.da-theme-light .da-complexity-line-stage {
	box-shadow:
		0 1px 3px rgba(0,0,0,0.08);
	color: #0f172a;
}

.debate-analysis.da-theme-light .da-stage-label,
.debate-analysis.da-theme-light .da-contest-pill,
.debate-analysis.da-theme-light .da-contest-pill-plain {
	background: #ffffff;
	color: #2a2620;
	border-color: rgba(0,0,0,0.10);
}

.debate-analysis.da-theme-light .da-sp-pole-row + .da-sp-pole-row,
.debate-analysis.da-theme-light .da-sp-pole-spine-row + .da-sp-pole-spine-row {
	border-top-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-sp-row + .da-sp-row {
	border-top-color: rgba(203,213,225,.6);
}

.debate-analysis.da-theme-light .da-sp-spine::before,
.debate-analysis.da-theme-light .da-sp-spine-poles::before {
	background: linear-gradient(180deg, rgba(148,163,184,.12), rgba(148,163,184,.52), rgba(148,163,184,.12));
}

.debate-analysis.da-theme-light .da-sp-spine,
.debate-analysis.da-theme-light .da-sp-spine-poles {
	background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(226,232,240,.6) 16px, rgba(226,232,240,.6) 24px, rgba(255,255,255,0) 40px);
}

.debate-analysis.da-theme-light .da-sp-spine::after,
.debate-analysis.da-theme-light .da-sp-spine-poles::after {
	border-left-color: rgba(148,163,184,.2);
	border-right-color: rgba(148,163,184,.2);
}

.debate-analysis.da-theme-light .da-sp-spine-diamond {
	box-shadow: 0 0 0 1px rgba(248,250,252,.9);
}

.debate-analysis.da-theme-light .da-sp-spine-gem {
	color: #c78f1b;
	text-shadow: 0 0 0 4px rgba(248,250,252,.95);
}

.da-about-page-wrap {
	padding: 32px 18px 56px;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	min-height: 100vh;
}

.da-about-page {
	max-width: 980px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid rgba(233,236,255,.12);
	border-radius: 28px;
	background: rgba(15,23,42,.42);
	box-shadow: 0 18px 50px rgba(2,6,23,.18);
}

.da-about-hero {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
}

.da-about-hero-top {
	display: flex;
	justify-content: flex-start;
}

.da-about-kicker {
	margin: 0;
	font-size: 0.78rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(226,232,240,.58);
}

.da-about-title {
	margin: 0;
	font-size: clamp(1.8rem, 2vw + 1rem, 3rem);
	line-height: 1.08;
	letter-spacing: -.03em;
	color: #f8fafc;
}

.da-about-credit {
	margin: 0;
	font-size: 0.96rem;
	color: rgba(226,232,240,.72);
}

.da-about-section + .da-about-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-about-section h2 {
	margin: 0 0 12px;
	font-size: 1.35rem;
	line-height: 1.15;
	color: #f8fafc;
}

.da-about-section h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	line-height: 1.2;
	color: #f8fafc;
}

.da-about-section p,
.da-about-section li {
	font-size: 1rem;
	line-height: 1.72;
	color: rgba(226,232,240,.9);
}

.da-about-section p {
	margin: 0 0 14px;
}

.da-about-section ul {
	margin: 0;
	padding-left: 22px;
	display: grid;
	gap: 10px;
}

.da-about-subsections {
	display: grid;
	gap: 18px;
}

.da-about-subsection {
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid rgba(233,236,255,.08);
	background: rgba(255,255,255,.03);
}

.da-about-footer {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid rgba(233,236,255,.1);
	display: grid;
	gap: 14px;
}

.da-about-footer p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(226,232,240,.86);
}

.da-about-footer a {
	color: #f8fafc;
}

.da-about-footer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.da-about-page.da-theme-light {
	background: #ffffff;
	border-color: #e5e7eb;
	box-shadow: 0 18px 50px rgba(15,23,42,.08);
}

.da-about-page.da-theme-light .da-about-kicker,
.da-about-page.da-theme-light .da-about-credit {
	color: #64748b;
}

.da-about-page.da-theme-light .da-about-title,
.da-about-page.da-theme-light .da-about-section h2,
.da-about-page.da-theme-light .da-about-section h3 {
	color: #0f172a;
}

.da-about-page.da-theme-light .da-about-section + .da-about-section,
.da-about-page.da-theme-light .da-about-footer {
	border-top-color: rgba(15,23,42,.08);
}

.da-about-page.da-theme-light .da-about-section p,
.da-about-page.da-theme-light .da-about-section li,
.da-about-page.da-theme-light .da-about-footer p {
	color: #334155;
}

.da-about-page.da-theme-light .da-about-subsection {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.da-about-page.da-theme-light .da-about-footer a {
	color: #0f172a;
}

@media (max-width: 920px) {
	.da-speaker-profiles-shell {
		display: none;
	}

	.da-speaker-profiles-mobile {
		display: block;
	}

	.da-sp-formula,
	.da-sp-formula.is-right,
	.da-sp-formula.is-left {
		text-align: left;
	}

	.da-sp-formula-row,
	.da-sp-formula.is-right .da-sp-formula-row,
	.da-sp-formula.is-left .da-sp-formula-row {
		justify-content: flex-start;
	}

	.da-speaker-profiles-title {
		max-width: none;
		font-size: clamp(1.15rem, 4.4vw, 1.7rem);
	}

	.da-about-page-wrap {
		padding: 20px 12px 40px;
	}

	.da-about-page {
		padding: 20px;
		border-radius: 22px;
	}
}

.da-capacity-title {
	font-weight: 600;
	margin-bottom: 6px;
}

.da-capacity-content ul {
	margin: 0.35rem 0 0;
	padding-left: 1.2rem;
}

.da-capacity-content li {
	margin-bottom: 0.35rem;
}

.da-contest-field-list {
	display: grid;
	gap: 12px;
}

.da-contest-intro {
	display: grid;
	gap: 14px;
}

.da-contest-intro-summary {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr);
	gap: 12px;
	align-items: start;
}

.da-contest-intro-prose {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.da-contest-stat,
.da-contest-brief {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 14px;
	background: rgba(255,255,255,.025);
	padding: 14px 16px;
}

.da-contest-overview-card {
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
		radial-gradient(650px 260px at 12% 0%, rgba(59,130,246,.10), transparent 55%),
		radial-gradient(650px 280px at 100% 0%, rgba(239,68,68,.08), transparent 60%);
	border-color: rgba(233,236,255,.1);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.03),
		0 18px 40px rgba(0,0,0,.34);
}

.da-contest-stat-primary {
	background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}

.da-contest-stat-compact {
	display: grid;
	align-content: center;
}

.da-contest-stat-label,
.da-contest-brief-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.6);
	margin-bottom: 8px;
}

.da-contest-stat-value {
	font-size: 1.1rem;
	line-height: 1.35;
	color: #f5f7ff;
	font-weight: 600;
}

.da-contest-badge {
	display: inline-flex;
	max-width: 100%;
}

.da-contest-pill,
.da-contest-pill-plain {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 9px 12px;
	border-radius: 999px;
	border: 1px solid rgba(233,236,255,.12);
	background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.08),
		0 1px 2px rgba(2,6,23,.10),
		0 8px 18px rgba(2,6,23,.06);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	color: #f8fafc;
	white-space: nowrap;
}

.da-contest-pill {
	padding-inline: 14px;
}

.da-contest-stat-value > div,
.da-contest-stat-value > p,
.da-contest-brief-value > div,
.da-contest-brief-value > p {
	margin: 0;
}

.da-contest-intro-bottom {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.da-contest-brief-value {
	line-height: 1.55;
	color: rgba(233,236,255,.86);
}

.da-contest-attunement {
	background: rgba(255,255,255,.03);
}

.da-contest-dynamics {
	display: grid;
	gap: 12px;
}

.da-contest-dynamics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.da-contest-dynamics-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)),
		radial-gradient(700px 260px at 0% 0%, rgba(34,197,94,.08), transparent 55%),
		radial-gradient(720px 300px at 100% 0%, rgba(59,130,246,.08), transparent 60%);
}

.da-contest-dynamics-brief {
	min-height: 100%;
}

.da-contest-wide .da-contest-field-list {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.da-contest-field {
	display: grid;
	gap: 4px;
}

.da-contest-field-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.62);
}

.da-contest-field-value {
	line-height: 1.5;
}

.da-contest-field-value > div,
.da-contest-field-value > p {
	margin: 0;
}

.debate-analysis.da-theme-light .da-contest-field-label {
	color: rgba(15,23,42,.58);
}

.debate-analysis.da-theme-light .da-contest-stat,
.debate-analysis.da-theme-light .da-contest-brief {
	border-color: rgba(15,23,42,.08);
	background: rgba(255,255,255,.78);
}

.debate-analysis.da-theme-light .da-contest-overview-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.98)),
		radial-gradient(520px 220px at 12% 0%, rgba(59,130,246,.10), transparent 55%),
		radial-gradient(520px 220px at 100% 0%, rgba(239,68,68,.07), transparent 60%);
	border-color: #e5e7eb;
	box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.debate-analysis.da-theme-light .da-contest-dynamics-card {
	background:
		linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,250,252,.98)),
		radial-gradient(520px 220px at 0% 0%, rgba(34,197,94,.08), transparent 55%),
		radial-gradient(520px 220px at 100% 0%, rgba(59,130,246,.08), transparent 60%);
}

.debate-analysis.da-theme-light .da-contest-stat-primary {
	background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.94));
}

.debate-analysis.da-theme-light .da-contest-stat-label,
.debate-analysis.da-theme-light .da-contest-brief-label {
	color: rgba(15,23,42,.56);
}

.debate-analysis.da-theme-light .da-contest-stat-value,
.debate-analysis.da-theme-light .da-contest-brief-value {
	color: #111827;
}

.debate-analysis.da-theme-light .da-contest-badge,
.debate-analysis.da-theme-light .da-contest-pill,
.debate-analysis.da-theme-light .da-contest-pill-plain {
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
	border-color: #d8e1ec;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.92),
		0 1px 2px rgba(15,23,42,.04),
		0 10px 18px rgba(15,23,42,.035);
	color: #111827;
}

/* ── New unified contest card (base fallbacks) ── */
.da-contest-card {
	border: 1px solid rgba(233,236,255,.08);
	border-radius: 14px;
	background: rgba(255,255,255,.025);
}

.da-contest-row {
	padding: 14px 16px;
}

.da-contest-row + .da-contest-row {
	border-top: 1px solid rgba(233,236,255,.08);
}

.da-contest-row-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.da-contest-row-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(233,236,255,.6);
}

.da-contest-level {
	display: flex;
	align-items: center;
	gap: 12px;
}

.da-contest-quality {
	flex-shrink: 0;
}

.da-contest-row-summary {
	padding-top: 12px;
	padding-bottom: 12px;
}

.da-contest-summary-text {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(233,236,255,.86);
	margin: 0;
}

.da-contest-row-briefs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.da-contest-row-speakers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.da-contest-speaker {
	padding: 14px 16px;
}

.da-contest-speaker-name {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.da-contest-row-dynamics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.debate-analysis.da-theme-light .da-contest-card {
	border-color: #e5e7eb;
	background: rgba(255,255,255,.78);
}

.debate-analysis.da-theme-light .da-contest-summary-text {
	color: #111827;
}

.debate-analysis.da-theme-light .da-contest-row + .da-contest-row {
	border-color: #e5e7eb;
}

.debate-analysis.da-theme-light .da-contest-speaker-name {
	color: #111827;
}

.da-transcript-panel {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px;
	background: #fff;
}

.da-transcript-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.da-transcript-title {
	font-weight: 600;
}

.da-transcript-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.da-transcript {
	margin-top: 12px;
	height: 200px;
	overflow: auto;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fbfbfb;
	display: block;
}

.da-transcript.is-expanded {
	height: 320px;
}

.da-turn {
	margin-bottom: 12px;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.da-media-row {
		grid-template-columns: 1fr;
	}

	.da-transcript {
		height: 120px;
	}

	.da-transcript.is-expanded {
		height: 240px;
	}
}
.debate-analysis h1 {
	font-size: 2rem;
	margin: 0;
}

.da-index {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 0;
}

.da-index-head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 16px;
}

.da-index-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
}

.da-index-subtitle {
	margin: 6px 0 0;
	color: #64748b;
}

.da-index-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.da-index-controls input[type="search"],
.da-index-controls select {
	height: 40px;
	padding: 0 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
}

.da-index-controls button {
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid #0f172a;
	background: #0f172a;
	color: #fff;
	cursor: pointer;
}

.da-index-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
}

.da-index-card {
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
}

.da-index-card h3 {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.25;
}

.da-index-card h3 a {
	color: #0f172a;
	text-decoration: none;
}

.da-index-card h3 a:hover {
	text-decoration: underline;
}

.da-index-date {
	margin: 0 0 10px;
	font-size: 13px;
	color: #64748b;
}

.da-index-speakers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}

.da-index-speakers span {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #eef2ff;
	color: #1e293b;
	border: 1px solid rgba(59, 130, 246, .18);
}

.da-index-speakers .is-speaker-1 {
	border-color: rgba(37, 99, 235, .35);
	box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .15);
}

.da-index-speakers .is-speaker-2 {
	border-color: rgba(220, 38, 38, .25);
	box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .12);
}

.da-index-speakers .is-speaker-3 {
	border-color: rgba(124, 58, 237, .25);
	box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .12);
}

.da-index-speakers .is-speaker-4 {
	border-color: rgba(22, 163, 74, .25);
	box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .12);
}

.da-index-excerpt {
	margin: 0 0 14px;
	color: #334155;
	line-height: 1.5;
}

.da-index-actions {
	display: flex;
	gap: 8px;
}

.da-index-read,
.da-index-copy-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.da-index-read {
	background: #0f172a;
	border: 1px solid #0f172a;
	color: #fff;
}

.da-index-copy-link {
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
}

.da-index-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

.da-index-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #1e293b;
	text-decoration: none;
}

.da-index-pagination .page-numbers.current {
	border-color: #0f172a;
	background: #0f172a;
	color: #fff;
}

.da-index-empty {
	padding: 24px;
	border: 1px dashed #cbd5e1;
	border-radius: 14px;
	background: #fff;
}

.da-index.da-index-app {
	max-width: 1220px;
	margin: 18px auto 28px;
	padding: 24px;
	border: 1px solid #dbe4f2;
	border-radius: 20px;
	background: radial-gradient(1200px 500px at 0% 0%, rgba(56, 189, 248, .08), transparent 60%), radial-gradient(900px 420px at 100% 0%, rgba(99, 102, 241, .08), transparent 60%), #f8fbff;
	box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.da-index.da-index-app .da-index-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-end;
	margin-bottom: 18px;
}

.da-index.da-index-app .da-index-kicker {
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	font-size: 11px;
	color: #475569;
}

.da-index.da-index-app .da-index-title {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.05;
	letter-spacing: -.02em;
	color: #0f172a;
}

.da-index.da-index-app .da-index-subtitle {
	margin: 8px 0 0;
	font-size: 14px;
	color: #475569;
}

.da-index.da-index-app .da-index-controls {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	padding: 10px;
	border: 1px solid #d7e2f1;
	border-radius: 14px;
	background: #ffffffd9;
	backdrop-filter: blur(3px);
}

.da-index.da-index-app .da-index-controls input[type="search"],
.da-index.da-index-app .da-index-controls select {
	height: 42px;
	padding: 0 14px;
	border: 1px solid #c9d7ea;
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	color: #0f172a;
}

.da-index.da-index-app .da-index-controls input[type="search"] {
	min-width: 260px;
}

.da-index.da-index-app .da-index-controls button,
.da-index.da-index-app .da-index-clear {
	height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.da-index.da-index-app .da-index-controls button {
	border: 1px solid #1d4ed8;
	background: linear-gradient(180deg, #2563eb, #1d4ed8);
	color: #fff;
	cursor: pointer;
}

.da-index.da-index-app .da-index-clear {
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
}

.da-index.da-index-app .da-index-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 14px;
}

.da-index.da-index-app .da-index-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #d9e3f3;
	border-radius: 16px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
	transition: transform .18s ease, box-shadow .18s ease;
}

.da-index.da-index-app .da-index-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
}

.da-index.da-index-app .da-index-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, #0f172a, #1e293b);
}

.da-index.da-index-app .da-index-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.da-index.da-index-app .da-index-card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.da-index.da-index-app .da-index-card h3 {
	margin: 0;
	font-size: 25px;
	line-height: 1.22;
	letter-spacing: -.01em;
}

.da-index.da-index-app .da-index-card h3 a {
	color: #0f172a;
	text-decoration: none;
}

.da-index.da-index-app .da-index-card h3 a:hover {
	text-decoration: underline;
}

.da-index.da-index-app .da-index-date {
	margin: 0;
	font-size: 13px;
	color: #64748b;
}

.da-index.da-index-app .da-index-speakers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.da-index.da-index-app .da-index-speakers span {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #eff6ff;
	color: #1e293b;
	border: 1px solid rgba(37, 99, 235, .2);
}

.da-index.da-index-app .da-index-speakers .is-speaker-1 {
	box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .16);
}

.da-index.da-index-app .da-index-speakers .is-speaker-2 {
	border-color: rgba(239, 68, 68, .2);
	box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .14);
}

.da-index.da-index-app .da-index-speakers .is-speaker-3 {
	border-color: rgba(139, 92, 246, .22);
	box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .15);
}

.da-index.da-index-app .da-index-speakers .is-speaker-4 {
	border-color: rgba(34, 197, 94, .22);
	box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .15);
}

.da-index.da-index-app .da-index-excerpt {
	margin: 0;
	color: #334155;
	font-size: 15px;
	line-height: 1.52;
	flex: 1;
}

.da-index.da-index-app .da-index-actions {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.da-index.da-index-app .da-index-read,
.da-index.da-index-app .da-index-copy-link {
	min-height: 36px;
	padding: 0 12px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.da-index.da-index-app .da-index-read {
	border: 1px solid #0f172a;
	background: #0f172a;
	color: #fff;
}

.da-index.da-index-app .da-index-copy-link {
	border: 1px solid #d0d9e6;
	background: #fff;
	color: #0f172a;
	cursor: pointer;
}

.da-index.da-index-app .da-index-empty {
	padding: 24px;
	border: 1px dashed #c9d8eb;
	border-radius: 14px;
	background: #fff;
	color: #334155;
}

.da-index.da-index-app .da-index-pagination {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.da-index.da-index-app .da-index-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 9px;
	border: 1px solid #cfdbec;
	background: #fff;
	text-decoration: none;
	color: #1e293b;
}

.da-index.da-index-app .da-index-pagination .page-numbers.current {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
}

@media (max-width: 860px) {
	.da-index.da-index-app {
		padding: 16px;
	}

	.da-index.da-index-app .da-index-head {
		align-items: stretch;
	}

	.da-index.da-index-app .da-index-controls {
		width: 100%;
	}

	.da-index.da-index-app .da-index-controls input[type="search"] {
		min-width: 160px;
		flex: 1;
	}
}

.da-index.da-index-app .da-index-card {
	display: grid !important;
	grid-template-columns: 220px 1fr;
	gap: 0;
	align-items: stretch;
}

.da-index.da-index-app .da-index-card.is-no-media {
	grid-template-columns: 1fr;
}

.da-index.da-index-app .da-index-card-media {
	aspect-ratio: 16 / 10;
	height: 100%;
	max-height: 100%;
}

.da-index.da-index-app .da-index-card-body {
	padding: 16px 18px;
}

.da-index.da-index-app .da-index-speakers {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 0 !important;
}

.da-index.da-index-app .da-index-speakers span {
	display: inline-flex !important;
	align-items: center;
	padding: 6px 10px !important;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.da-index.da-index-app .da-index-actions {
	display: flex !important;
	gap: 10px !important;
	margin-top: 2px;
}

.da-index.da-index-app .da-index-read {
	padding: 0 14px;
}

@media (max-width: 860px) {
	.da-index.da-index-app .da-index-card {
		grid-template-columns: 1fr !important;
	}

	.da-index.da-index-app .da-index-card-media {
		aspect-ratio: 16 / 9;
	}
}

/* Hardening pass for index card layout */
.da-index.da-index-app .da-index-grid {
	grid-template-columns: 1fr !important;
}

.da-index.da-index-app .da-index-card {
	display: grid !important;
	grid-template-columns: 240px minmax(0, 1fr) !important;
	align-items: stretch !important;
	min-height: 172px;
	overflow: hidden;
}

.da-index.da-index-app .da-index-card.is-no-media {
	grid-template-columns: 1fr !important;
}

.da-index.da-index-app .da-index-card-media {
	display: block;
	width: 240px !important;
	min-width: 240px !important;
	max-width: 240px !important;
	height: 100% !important;
	min-height: 172px;
	aspect-ratio: auto !important;
	position: relative;
	z-index: 1;
}

.da-index.da-index-app .da-index-card-media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.da-index.da-index-app .da-index-card-body {
	position: relative;
	z-index: 2;
	padding: 16px 18px !important;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.da-index.da-index-app .da-index-card h3 {
	margin: 0 !important;
	font-size: 30px !important;
	line-height: 1.22 !important;
}

.da-index.da-index-app .da-index-excerpt {
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

.da-index.da-index-app .da-index-actions {
	display: flex !important;
	gap: 10px !important;
	align-items: center;
	margin-top: 4px;
}

@media (max-width: 860px) {
	.da-index.da-index-app .da-index-card {
		grid-template-columns: 1fr !important;
	}

	.da-index.da-index-app .da-index-card-media {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		height: auto !important;
		aspect-ratio: 16 / 9 !important;
	}

	.da-index.da-index-app .da-index-card-media img {
		height: 100% !important;
	}
}

.da-index.da-index-app .da-index-card h3 {
	font-size: 22px !important;
}

.da-pol-spacer-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 14px 0 10px;
}

.da-pol-spacer {
	width: min(520px, 86%);
	height: auto;
	opacity: 0.85;
	pointer-events: none;
	user-select: none;
}

.debate-analysis.da-theme-light .da-pol-spacer {
	opacity: 0.75;
}

.da-pol-spacer-wrap {
	margin: 0 0 20px !important;
}

.da-theme-cards .da-pol-card {
	margin-bottom: 20px;
}

/* Lighter light-mode shadows */
.da-theme-light .da-speaker-card,
.da-theme-light .da-capacity-card {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 3px 10px rgba(15,23,42,.16) !important;
}

.da-theme-light .is-speaker-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.14), 0 0 8px rgba(59,130,246,.08) !important;
}

.da-theme-light .is-speaker-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.12), 0 0 8px rgba(239,68,68,.07) !important;
}

.da-theme-light .is-speaker-3 {
	box-shadow: inset 0 0 0 1px rgba(139,92,246,.12), 0 0 8px rgba(139,92,246,.07) !important;
}

.da-theme-light .is-speaker-4 {
	box-shadow: inset 0 0 0 1px rgba(34,197,94,.14), 0 0 8px rgba(34,197,94,.07) !important;
}

.da-theme-light .da-pol-card {
	box-shadow: 0 6px 16px rgba(15,23,42,.08) !important;
}

.da-theme-light .da-pol-pole-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.14), 0 3px 10px rgba(59,130,246,.05) !important;
}

.da-theme-light .da-pol-pole-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.12), 0 3px 10px rgba(239,68,68,.05) !important;
}

.da-theme-light .da-pol-enactment,
.da-theme-light .da-enact-cluster,
.da-theme-light .da-mm-translation,
.da-theme-light .da-pol-mismatch {
	box-shadow: 0 2px 8px rgba(15,23,42,.06) !important;
}

/* Synthesis section light-mode: neutral defaults; color only for speaker-specific cards */
.da-theme-light .da-tab-panel[data-section="synthesis"] .da-speaker-card {
	box-shadow: inset 0 0 0 1px rgba(148,163,184,.22), 0 3px 10px rgba(15,23,42,.12) !important;
	border-color: rgba(148,163,184,.28);
}

.da-theme-light .da-tab-panel[data-section="synthesis"] .da-synthesis-speaker-card.is-speaker-1 {
	box-shadow: inset 0 0 0 1px rgba(59,130,246,.16), 0 0 10px rgba(59,130,246,.08) !important;
	border-color: rgba(59,130,246,.22);
}

.da-theme-light .da-tab-panel[data-section="synthesis"] .da-synthesis-speaker-card.is-speaker-2 {
	box-shadow: inset 0 0 0 1px rgba(239,68,68,.14), 0 0 10px rgba(239,68,68,.08) !important;
	border-color: rgba(239,68,68,.2);
}

.da-theme-light .da-tab-panel[data-section="synthesis"] .da-synthesis-speaker-card.is-speaker-3 {
	box-shadow: inset 0 0 0 1px rgba(139,92,246,.14), 0 0 10px rgba(139,92,246,.08) !important;
	border-color: rgba(139,92,246,.2);
}

.da-theme-light .da-tab-panel[data-section="synthesis"] .da-synthesis-speaker-card.is-speaker-4 {
	box-shadow: inset 0 0 0 1px rgba(34,197,94,.16), 0 0 10px rgba(34,197,94,.08) !important;
	border-color: rgba(34,197,94,.22);
}

/* Softer transcript panel depth */
.da-theme-cards .da-transcript-panel {
	box-shadow: 0 6px 16px rgba(0,0,0,.22);
}

.da-theme-light .da-transcript-panel {
	box-shadow: 0 4px 12px rgba(15,23,42,.06);
}
