.plv-root, .plv-root * { box-sizing: border-box; }
.plv-root {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--plv-primary: #0b3d91;
	--plv-primary-dark: #0a2f70;
	--plv-telao-bg: #0c0c0e;
	--plv-sim: #1e8e3e;
	--plv-nao: #d93025;
	--plv-abst: #f9ab00;
	--plv-menu-cols: 2;
}

/* ============ LOGIN / VOTAÇÃO (TABLET) ============ */

.plv-login-box {
	max-width: 420px;
	margin: 40px auto;
	background: #fff;
	border-radius: 14px;
	padding: 36px 30px;
	box-shadow: 0 8px 30px rgba(0,0,0,.12);
	text-align: center;
}
.plv-login-logo img { max-height: 90px; margin-bottom: 10px; }
.plv-login-box h2 { margin: 6px 0 0; font-size: 22px; }
.plv-login-sub { color: #666; margin-top: 4px; margin-bottom: 20px; }
.plv-login-box form { text-align: left; }
.plv-login-box label { display: block; font-weight: 600; margin: 12px 0 4px; font-size: 13px; color: #333; }
.plv-login-box input[type=text], .plv-login-box input[type=password] {
	width: 100%;
	padding: 14px;
	font-size: 17px;
	border: 1px solid #ccc;
	border-radius: 8px;
}
.plv-btn { cursor: pointer; border: none; border-radius: 8px; font-weight: 700; background: #e8eef7; color: #12253f; padding: 10px 14px; }
.plv-btn-primario {
	width: 100%;
	margin-top: 22px;
	padding: 15px;
	font-size: 17px;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
}
.plv-btn-primario:active { opacity: .85; }
.plv-login-erro { color: #d93025; font-weight: 600; min-height: 20px; margin-top: 10px; }

.plv-votacao-box { max-width: 560px; margin: 0 auto; padding: 18px; }
.plv-votacao-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	padding: 14px 18px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	margin-bottom: 18px;
}
.plv-vereador-info { display: flex; align-items: center; gap: 12px; }
.plv-vereador-info img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.plv-vereador-info div { display: flex; flex-direction: column; }
.plv-vereador-info span { color: #666; font-size: 13px; }
.plv-btn-link { background: none; border: none; color: #d93025; font-weight: 700; cursor: pointer; font-size: 14px; }

.plv-aguardando { text-align: center; padding: 60px 20px; color: #666; font-size: 18px; }

#plv-materia-atual {
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,.1);
	text-align: center;
}
.plv-materia-ementa { font-size: 17px; line-height: 1.5; margin: 14px 0 22px; color: #222; }
#plv-materia-numero { margin: 10px 0 0; font-size: 22px; }

.plv-botoes-voto {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 8px;
}
.plv-btn-voto {
	aspect-ratio: 1 / 1;
	min-height: 100px;
	max-height: 180px;
	padding: 14px 8px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #fff;
	border-radius: 14px;
	border: 3px solid transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
@media (orientation: landscape) {
	.plv-botoes-voto {
		gap: 10px;
		max-width: 640px;
		margin-left: auto;
		margin-right: auto;
	}
	.plv-btn-voto {
		aspect-ratio: auto;
		min-height: 72px;
		max-height: 96px;
		height: 88px;
		padding: 8px 6px;
		gap: 4px;
		flex-direction: row;
	}
	.plv-voto-icone { font-size: 28px; }
	.plv-voto-texto { font-size: 15px; }
	.plv-voto-prompt { margin: 10px 0 8px; font-size: 15px; }
	.plv-voto-titulo { font-size: clamp(18px, 2.8vw, 24px); }
	.plv-materia-ementa { font-size: 14px; margin: 8px 0 12px; }
	#plv-materia-atual { padding: 14px 16px; }
}
.plv-voto-icone {
	font-size: 42px;
	line-height: 1;
	font-weight: 900;
}
.plv-voto-texto {
	font-size: clamp(15px, 3.5vw, 20px);
	font-weight: 800;
}
.plv-voto-sim {
	background: var(--plv-sim, #1e8e3e);
	border-color: color-mix(in srgb, var(--plv-sim, #1e8e3e) 70%, #000);
}
.plv-voto-nao {
	background: var(--plv-nao, #d93025);
	border-color: color-mix(in srgb, var(--plv-nao, #d93025) 70%, #000);
}
.plv-voto-abstencao {
	background: var(--plv-abst, #f9ab00);
	color: #1a1a1a;
	border-color: color-mix(in srgb, var(--plv-abst, #f9ab00) 70%, #000);
}
.plv-btn-voto:active { transform: scale(.96); }
.plv-btn-voto[disabled] { opacity: .4; }

.plv-voto-tela { text-align: center; }
.plv-voto-sessao { margin: 0 0 6px; color: #66758c; font-size: 14px; }
.plv-voto-titulo { margin: 0 0 10px; font-size: clamp(22px, 5vw, 28px); color: #12253f; line-height: 1.25; }
.plv-voto-prompt { margin: 18px 0 12px; font-size: 17px; font-weight: 600; color: #334155; }
.plv-materia-autor { margin: 0 0 10px; font-size: 15px; color: var(--plv-primary, #0b3d91); font-weight: 700; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.plv-materia-autor-foto { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--plv-primary, #0b3d91); background: #fff; }
.plv-materia-autor-foto.is-brasao { border-radius: 6px; object-fit: contain; border: 0; }
.plv-materia-autor-texto { line-height: 1.25; }
@media (max-width: 600px) {
	.plv-materia-autor-foto { width: 40px; height: 40px; }
	.plv-materia-autor { font-size: 14px; }
}

.plv-ja-votou { padding: 30px 0; font-size: 19px; }
.plv-mensagem-erro { color: #d93025; font-weight: 700; margin-top: 14px; }

.plv-btn-pdf {
	display: inline-block;
	padding: 12px 18px;
	background: var(--plv-primary, #0b3d91);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
}

/* ============ TELÃO DE VOTAÇÃO ============ */

.plv-telao {
	min-height: 100vh;
	background: var(--plv-telao-bg, #0c0c0e);
	color: #fff;
	padding: 28px 36px 40px;
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}
.plv-telao-header {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.plv-telao-meta {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}
.plv-btn-fullscreen {
	background: rgba(255,255,255,.1);
	border: 0;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	border-radius: 8px;
	padding: 4px 10px;
}
.plv-telao-header > img#plv-telao-logo {
	max-height: 220px;
	max-width: 220px;
	width: auto;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
}
.plv-telao-titulo { flex: 1; min-width: 0; }
.plv-telao-camara {
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #8b9bb8;
	font-weight: 600;
}
.plv-telao-titulo h1 {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}
.plv-telao-subtitulo {
	margin: 8px 0 0;
	color: #9db4e8;
	font-size: clamp(15px, 1.5vw, 20px);
	line-height: 1.4;
	font-weight: 500;
}
.plv-telao-sessao-linha {
	margin: 8px 0 0;
	color: #6b7a94;
	font-size: 14px;
}
.plv-telao-data {
	font-size: 14px;
	color: #aab4c8;
	letter-spacing: .04em;
}
.plv-telao-relogio {
	font-size: 28px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	opacity: .9;
}
.plv-telao-counters {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}
.plv-counter {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
	color: #fff;
}
.plv-counter-sim { background: var(--plv-sim, #1e8e3e); }
.plv-counter-nao { background: var(--plv-nao, #d93025); }
.plv-counter-abst { background: #4a5568; }

.plv-telao-votacao-layout {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 300px);
	gap: 22px;
	align-items: start;
}
.plv-telao-vereadores,
.plv-presenca-grid,
#plv-telao-tribuna-lista {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 16px;
}

/* Cards verticais (foto → barra de voto → nome → partido+logo) */
.plv-vereador-card {
	background: #16161a;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	border: 2px solid transparent;
	display: flex;
	flex-direction: column;
	transition: border-color .25s, box-shadow .25s;
}
.plv-vc-foto-wrap {
	background: #fff;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}
/* O tema/Elementor aplica "img { height: auto }"; sem isto a foto não é recortada pelo ajuste. */
.plv-root img.plv-vc-foto {
	height: 100%;
	max-width: none;
	max-height: none;
}
.plv-vc-foto {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}
.plv-vc-voto {
	display: block;
	padding: 8px 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: #4a5568;
}
.plv-vereador-card.plv-vc-sim .plv-vc-voto { background: var(--plv-sim, #1e8e3e); }
.plv-vereador-card.plv-vc-nao .plv-vc-voto { background: var(--plv-nao, #d93025); }
.plv-vereador-card.plv-vc-abstencao .plv-vc-voto { background: var(--plv-abst, #e6b800); color: #1a1a1a; }
.plv-vereador-card.plv-vc-presente .plv-vc-voto { background: var(--plv-sim, #1e8e3e); }
.plv-vereador-card.plv-vc-ausente .plv-vc-voto { background: #5a5a5a; }
.plv-vereador-card.plv-vc-aguardando .plv-vc-voto { background: #3d4450; }

.plv-vc-nome {
	display: block;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 10px 2px;
	color: #fff;
	line-height: 1.25;
}
.plv-vc-cargo {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #9db4e8;
	padding: 0 10px 4px;
	line-height: 1.2;
}
.plv-vc-partido-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 10px 12px;
	min-height: 28px;
}
.plv-vc-partido-logo {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex-shrink: 0;
	background: #fff;
	border-radius: 3px;
	padding: 1px;
}
.plv-vc-partido {
	font-size: 12px;
	color: #a0aec0;
	font-weight: 500;
}
.plv-vereador-card.plv-vc-ausente { opacity: .55; }
.plv-vereador-card.plv-vc-online {
	border-color: rgba(56, 189, 248, .85);
	box-shadow: 0 0 0 1px rgba(56, 189, 248, .35);
}

/* Resumo da votação (painel lateral) */
.plv-telao-resumo {
	background: #16161a;
	border-radius: 12px;
	padding: 20px 18px;
	border: 1px solid rgba(255,255,255,.08);
	position: sticky;
	top: 16px;
}
.plv-resumo-topo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.plv-resumo-topo h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}
.plv-resumo-quorum {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: .02em;
}
.plv-resumo-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}
.plv-resumo-lista li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
	font-size: 15px;
	color: #c5cdd8;
}
.plv-resumo-lista li strong {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.plv-resumo-sim strong { color: var(--plv-sim, #1e8e3e); }
.plv-resumo-nao strong { color: var(--plv-nao, #d93025); }
.plv-resumo-abst strong { color: var(--plv-abst, #e6b800); }
.plv-resumo-sim span::before,
.plv-resumo-nao span::before,
.plv-resumo-abst span::before,
.plv-resumo-aguarda span::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}
.plv-resumo-sim span::before { background: var(--plv-sim, #1e8e3e); }
.plv-resumo-nao span::before { background: var(--plv-nao, #d93025); }
.plv-resumo-abst span::before { background: var(--plv-abst, #e6b800); }
.plv-resumo-aguarda span::before { background: #718096; }

.plv-resumo-resultado {
	margin-top: 18px;
	text-align: center;
	padding: 14px 16px;
	border-radius: 999px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .06em;
}
.plv-res-aprovado { background: var(--plv-sim, #1e8e3e); color: #fff; }
.plv-res-reprovado { background: var(--plv-nao, #d93025); color: #fff; }
.plv-res-empate { background: #4a5568; color: #fff; }

.plv-resumo-autor {
	margin: 14px 0 0;
	font-size: 13px;
	color: #8b9bb8;
}

.plv-telao-resultado-banner {
	text-align: center;
	font-size: clamp(18px, 2.4vw, 28px);
	font-weight: 900;
	letter-spacing: .06em;
	padding: 12px 18px;
	border-radius: 12px;
	margin-bottom: 18px;
	text-transform: uppercase;
}
.plv-banner-aprovado {
	background: linear-gradient(135deg, #1e8e3e 0%, #34a853 100%);
	color: #fff;
	box-shadow: 0 0 40px rgba(30, 142, 62, .45);
}
.plv-banner-reprovado {
	background: linear-gradient(135deg, #c5221f 0%, #d93025 100%);
	color: #fff;
	box-shadow: 0 0 40px rgba(217, 48, 37, .45);
}
.plv-banner-empate {
	background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
	color: #fff;
}

@media (max-width: 960px) {
	.plv-telao-votacao-layout {
		grid-template-columns: 1fr;
	}
	.plv-telao-resumo { position: static; }
}
@media (max-width: 700px) {
	.plv-telao { padding: 16px; }
	.plv-telao-header { flex-wrap: wrap; }
	.plv-telao-titulo h1 { font-size: 20px; }
	.plv-telao-vereadores,
	.plv-presenca-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	}
}

/* Presença / Tribuna */
.plv-tribuna-colunas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	text-align: left;
}
.plv-tribuna-col-titulo {
	font-size: 18px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(255,255,255,.15);
}
.plv-tribuna-aguardando-titulo { color: #7dd3fc; }
.plv-tribuna-feitos-titulo { color: #86efac; }
@media (max-width: 900px) {
	.plv-tribuna-colunas { grid-template-columns: 1fr; }
}

.plv-telao-ata {
	max-width: 1100px;
	margin: 0 auto;
}
.plv-ata-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.plv-ata-header h2 { margin: 0; font-size: 28px; }
.plv-ata-vel-badge {
	background: rgba(255,255,255,.12);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
}
.plv-ata-vel-badge.is-pausada { background: rgba(201, 162, 39, .28); color: #f2d675; font-weight: 700; }
.plv-ata-scroll-viewport {
	height: calc(100vh - 200px);
	min-height: 420px;
	overflow: hidden;
	position: relative;
	background: #111116;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.1);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.plv-ata-scroll-texto {
	padding: 80px 48px;
	font-size: clamp(22px, 2.8vw, 34px);
	line-height: 1.65;
	white-space: pre-wrap;
	color: #f1f5f9;
	will-change: transform;
}
.plv-ata-box {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.plv-telao-presenca { text-align: center; }
.plv-telao-presenca h2,
.plv-telao-tribuna h2 {
	font-size: 26px;
	margin-bottom: 20px;
	opacity: .9;
	font-weight: 700;
}

.plv-telao-timer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 40px 20px;
	text-align: center;
}
.plv-telao-timer img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	border: 6px solid rgba(255,255,255,.3);
}
.plv-timer-nome { font-size: 36px; font-weight: 800; margin: 0 0 8px; }
#plv-timer-label { opacity: .75; letter-spacing: .12em; margin: 0 0 10px; }
.plv-timer-display {
	font-size: 96px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.plv-timer-normal { color: #fff; }
.plv-timer-amarelo { color: #f9ab00; }
.plv-timer-vermelho { color: #ff4d4f; animation: plv-pulse .6s infinite alternate; }
@keyframes plv-pulse { from { opacity: 1; } to { opacity: .55; } }

.plv-telao-aparte {
	margin-top: 24px;
	text-align: center;
	background: rgba(249,171,0,.15);
	border: 2px solid #f9ab00;
	border-radius: 16px;
	padding: 20px;
}
.plv-telao-aparte img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.plv-timer-aparte { font-size: 48px !important; }

/* Tablet extras */
.plv-papel-badge {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	padding: 2px 8px;
	border-radius: 99px;
	font-weight: 700;
}
.plv-lista-pautas { margin-bottom: 18px; }
.plv-pauta-card {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	text-align: left;
}
.plv-op-box {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.plv-op-pauta { border-bottom: 1px solid #eee; padding: 10px 0; }
.plv-op-acoes button, .plv-op-fila-item button, #plv-op-aparte button {
	margin: 4px 4px 0 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.plv-tribuna-box {
	background: #fff;
	border-radius: 12px;
	padding: 18px;
	margin-top: 16px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	text-align: center;
}
.plv-tribuna-box select {
	width: 100%;
	padding: 10px;
	margin: 6px 0 12px;
	border-radius: 8px;
	border: 1px solid #ccc;
}

/* ============ APP TABLET 2.3 ============ */
.plv-app-tablet {
	display: flow-root;
	min-height: 100vh;
	background: linear-gradient(180deg, #e8eef8 0%, #f4f6fa 40%, #eef2f7 100%);
}
.plv-app-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.plv-app-topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 20;
	box-shadow: 0 4px 16px rgba(11,61,145,.25);
}
.plv-hamburger {
	border: 0;
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: 22px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	cursor: pointer;
}
.plv-app-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}
.plv-app-brand img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
	padding: 2px;
}
.plv-app-brand strong { display: block; font-size: 14px; line-height: 1.2; }
.plv-app-brand span { display: block; font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plv-app-meta {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-size: 12px;
	line-height: 1.35;
	opacity: .95;
}
.plv-app-main { padding: 16px; flex: 1; }
.plv-btn-fullscreen-tablet {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	background: rgba(255,255,255,.15);
	font-size: 22px;
	border-radius: 10px;
}
.plv-btn-fullscreen-tablet:hover,
.plv-btn-fullscreen-tablet.is-ativo { background: rgba(255,255,255,.3); }
.plv-btn-fullscreen-login {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 30;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--plv-primary, #0b3d91);
	box-shadow: 0 4px 12px rgba(0,0,0,.2);
	font-size: 22px;
	border-radius: 10px;
}
.plv-btn-fullscreen-login:hover { filter: brightness(1.15); }

/* —— 2.9.9: hinos (operador) —— */
.plv-op-hinos .plv-op-label { display: block; margin-top: 12px; }
.plv-op-hinos .plv-op-label:first-child { margin-top: 0; }
.plv-hinos-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.plv-hinos-status { margin: 12px 0 0; font-weight: 700; color: var(--plv-primary, #0b3d91); }
.plv-view-title { margin: 0 0 14px; font-size: 22px; color: var(--plv-primary, #0b3d91); }

.plv-home-grid {
	display: grid;
	grid-template-columns: repeat(var(--plv-menu-cols, 2), minmax(0, 1fr));
	gap: 12px;
}
.plv-home-perfil {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.plv-home-perfil img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #e8eef7;
}
.plv-home-perfil-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.plv-home-perfil-info strong {
	font-size: 18px;
	color: #12253f;
}
.plv-home-perfil-info span {
	font-size: 13px;
	color: #66758c;
}
.plv-home-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: left;
	border: 0;
	border-radius: 16px;
	padding: 18px 16px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(15,40,80,.08);
	cursor: pointer;
}
.plv-home-btn span { font-size: 28px; }
.plv-home-btn strong { font-size: 18px; color: #12253f; }
.plv-home-btn small { color: #66758c; }
.plv-home-destaque { outline: 2px solid var(--plv-primary, #0b3d91); }

.plv-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: min(300px, 86vw);
	height: 100%;
	background: var(--plv-primary-dark, #0a2f70);
	color: #fff;
	z-index: 40;
	transform: translateX(-105%);
	transition: transform .22s ease;
	padding: 18px 12px;
	overflow: auto;
}
.plv-drawer-open { transform: translateX(0); }
.plv-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 30;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}
.plv-drawer-backdrop.plv-open { opacity: 1; pointer-events: auto; }
.plv-drawer-user {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px 8px 16px;
	border-bottom: 1px solid rgba(255,255,255,.15);
	margin-bottom: 10px;
}
.plv-drawer-user img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.plv-drawer-user span { display: block; font-size: 12px; opacity: .85; }
.plv-drawer-link {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 14px 12px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.plv-drawer-link.plv-active, .plv-drawer-link:hover { background: rgba(255,255,255,.12); }
.plv-drawer-sair { color: #ffb4b4; margin-top: 12px; }

.plv-pdf-modal {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: rgba(8,18,40,.72);
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 12px;
}
.plv-pdf-modal-inner {
	background: #fff;
	border-radius: 14px;
	width: min(960px, 100%);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.plv-pdf-modal-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 14px;
	border-bottom: 1px solid #e5e7eb;
	background: #f8fafc;
}
.plv-pdf-modal iframe {
	border: 0;
	width: 100%;
	flex: 1;
	min-height: 70vh;
	background: #525659;
}

#plv-view-tribuna select,
#plv-view-op-tribuna select {
	width: 100%;
	padding: 12px;
	margin: 6px 0 12px;
	border-radius: 8px;
	border: 1px solid #ccd3df;
	background: #fff;
}

.plv-telao-bloco {
	margin: 0 0 4px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.9;
}
.plv-apreciacao-aviso {
	background: #fff8e6;
	border: 1px solid #f0c36d;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 12px 0;
	text-align: center;
}
.plv-meta-turno,
.plv-resumo-meta {
	font-size: 0.9rem;
	opacity: 0.85;
	margin: 4px 0 8px;
}
.plv-resumo-secreto {
	margin-top: 10px;
	padding: 8px 12px;
	background: #1a1a2e;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
	border-radius: 8px;
}
.plv-vereador-card.plv-vc-secreto {
	background: #2d3748;
	color: #fff;
}
.plv-vereador-card.plv-vc-suplente::after {
	content: 'Suplente';
	display: block;
	font-size: 0.7rem;
	opacity: 0.8;
	margin-top: 2px;
}
.plv-chamada-banner {
	background: #fff8e6;
	border: 1px solid #f0c36d;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
	text-align: center;
}
.plv-chamada-banner .plv-btn { margin-top: 8px; }
.plv-chamada-msg { margin: 8px 0 0; font-size: 0.9rem; }
.plv-docs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
}
.plv-doc-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 22px 14px;
	border: 1px solid #ccd3df;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	font: inherit;
}
.plv-doc-icone { font-size: 2rem; }
.plv-form-senha label { display: block; margin: 10px 0 4px; font-weight: 600; }
.plv-form-senha input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccd3df;
	border-radius: 8px;
	box-sizing: border-box;
}
.plv-form-senha .plv-btn { margin-top: 16px; width: 100%; }
.plv-op-presenca-dupla {
	padding: 12px;
	background: #f4f7fb;
	border-radius: 10px;
	border: 1px solid #d7e0ec;
}

.plv-telao-presidente {
	margin: 0 0 8px;
	font-size: clamp(16px, 2vw, 22px);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f5c518;
}
.plv-telao-presidente strong {
	color: #ff6b4a;
	font-size: 1.15em;
}
.plv-telao-presidente span {
	color: #ff8a7a;
	font-weight: 600;
	margin-left: 6px;
}
.plv-telao-pedidos {
	margin: 8px 0 0;
	font-size: clamp(14px, 1.6vw, 18px);
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #ffd166;
}
.plv-telao-titulo h1 {
	font-size: clamp(26px, 3.2vw, 42px);
	font-weight: 800;
}
.plv-telao-placar {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 16px;
	padding: 14px 18px;
	background: #16161c;
	border-top: 3px solid #f5c518;
}
.plv-telao-placar:has(#plv-placar-votos-bar[style*="none"]) {
	display: none;
}
.plv-placar-votos {
	display: flex;
	gap: 18px;
	align-items: center;
}
.plv-placar-votos span {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 72px;
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 8px;
}
.plv-placar-votos em {
	font-style: normal;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}
.plv-placar-votos strong {
	font-size: clamp(22px, 3vw, 36px);
	line-height: 1.1;
}
.plv-placar-sim { border-color: #1e8e3e !important; }
.plv-placar-sim strong { color: #3ddc84; }
.plv-placar-nao { border-color: #d93025 !important; }
.plv-placar-nao strong { color: #ff6b6b; }
.plv-placar-abs { border-color: #f9ab00 !important; }
.plv-placar-abs strong { color: #ffd166; }

.plv-op-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}
.plv-op-tab {
	flex: 1 1 auto;
	min-width: 90px;
	padding: 10px 8px;
	border: 1px solid #9aa8bc;
	border-radius: 8px;
	background: #e8eef7;
	color: #12253f;
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}
.plv-op-tab:hover {
	background: #d7e3f4;
	color: #0f1c2e;
}
.plv-op-tab.is-active {
	background: var(--plv-primary, #0b3d91);
	border-color: var(--plv-primary, #0b3d91);
	color: #fff;
}
.plv-op-select,
#plv-view-op select,
.plv-op-box select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 2px solid #c5d0e0;
	border-radius: 10px;
	background: #fff;
	color: #12253f;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(15,40,80,.06);
	appearance: auto;
}
.plv-op-select:focus,
#plv-view-op select:focus,
.plv-op-box select:focus {
	outline: none;
	border-color: var(--plv-primary, #0b3d91);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--plv-primary, #0b3d91) 25%, transparent);
}
.plv-op-acoes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.plv-op-acoes button,
.plv-op-fila-item button,
#plv-op-aparte button {
	margin: 0;
	padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--plv-primary, #0b3d91) 55%, #000);
	border-radius: 8px;
	background: var(--plv-primary, #0b3d91);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}
.plv-op-acoes button:hover,
.plv-op-fila-item button:hover {
	filter: brightness(1.08);
}
#plv-view-op .plv-btn:not(.plv-btn-primario):not(.plv-btn-danger) {
	background: #e8eef7;
	color: #12253f !important;
	border: 1px solid #9aa8bc;
	width: auto;
	margin-top: 0;
}
#plv-view-op .plv-btn-primario {
	width: auto;
	margin-top: 0;
	padding: 10px 14px;
	font-size: 14px;
}
.plv-badge-urg,
.plv-badge-disp {
	display: inline-block;
	margin: 2px 4px 2px 0;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
}
.plv-badge-urg { background: #fff1f0; color: #c5221f; }
.plv-badge-disp { background: #eef6ff; color: var(--plv-primary, #0b3d91); }

/* —— 2.9.1: identidade, login lista, menu, tribuna, atas —— */
.plv-identity-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.plv-identity-bar img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	background: #e8eef7;
	flex-shrink: 0;
}
.plv-identity-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}
.plv-identity-info strong {
	font-size: 16px;
	color: #12253f;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.plv-identity-info span {
	font-size: 12px;
	color: #66758c;
}

.plv-home-perfil-hero {
	flex-direction: column;
	text-align: center;
	padding: 28px 20px 24px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--plv-primary, #0b3d91) 12%, #fff) 0%, #fff 100%);
	border: 1px solid color-mix(in srgb, var(--plv-primary, #0b3d91) 18%, #fff);
}
.plv-home-perfil-hero img {
	width: 140px;
	height: 140px;
	border: 4px solid var(--plv-primary, #0b3d91);
	margin: 0 auto;
}
.plv-home-perfil-hero .plv-home-perfil-info {
	align-items: center;
	margin-top: 12px;
}
.plv-home-perfil-hero .plv-home-perfil-info strong {
	font-size: 26px;
	line-height: 1.2;
	color: #0f1c2e;
}
.plv-home-perfil-hero .plv-home-perfil-info span {
	font-size: 15px;
}

.plv-home-grid {
	display: grid;
	grid-template-columns: repeat(var(--plv-menu-cols, 2), minmax(0, 1fr));
	gap: 12px;
}
.plv-home-grid.plv-cols-1 { grid-template-columns: 1fr; }
.plv-home-grid.plv-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plv-home-grid.plv-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) {
	.plv-home-grid.plv-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plv-doc-card,
.plv-doc-card strong {
	color: #12253f !important;
}
.plv-doc-card {
	background: #fff;
	border: 1px solid #c5d0e0;
}
.plv-doc-card:hover {
	border-color: var(--plv-primary, #0b3d91);
	box-shadow: 0 4px 14px rgba(15,40,80,.1);
}
.plv-doc-card strong {
	font-size: 15px;
	font-weight: 700;
}

.plv-login-lista {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
	max-height: 280px;
	overflow: auto;
	margin: 8px 0 12px;
	padding: 4px;
}
.plv-login-pessoa {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 8px;
	border: 1px solid #d0d7e3;
	border-radius: 12px;
	background: #f8fafc;
	cursor: pointer;
	font: inherit;
	color: #12253f;
}
.plv-login-pessoa img,
.plv-login-pessoa-inicial {
	display: block !important;
	width: 64px !important;
	height: 64px !important;
	max-width: none !important;
	border-radius: 50%;
	object-fit: cover;
	object-position: var(--plv-foto-pos, center center);
	background: #e8eef7;
	flex-shrink: 0;
}
.plv-login-pessoa-inicial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	font-weight: 800;
	font-size: 22px;
}
.plv-login-pessoa strong { font-size: 13px; text-align: center; line-height: 1.2; color: #12253f; }
.plv-login-pessoa small { font-size: 11px; color: #66758c; }
.plv-login-selecionado { margin: 8px 0; color: #12253f; }
.plv-login-lista-titulo { font-weight: 700; margin: 0 0 6px; color: #333; }

.plv-op-tribuna-acoes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0 16px;
}
.plv-op-tribuna-acoes .plv-btn {
	width: 100%;
	padding: 14px 16px;
	font-size: 15px;
	border-radius: 10px;
}
.plv-btn-tribuna-abrir { margin-top: 0 !important; }
.plv-btn-tribuna-fechar {
	background: #fff;
	color: var(--plv-primary, #0b3d91);
	border: 2px solid var(--plv-primary, #0b3d91);
}
.plv-btn-danger {
	background: #b91c1c;
	color: #fff;
	padding: 12px 14px;
	border-radius: 8px;
}
.plv-btn-sm {
	width: auto !important;
	margin-top: 0 !important;
	padding: 8px 12px !important;
	font-size: 13px !important;
}
.plv-status-pill {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
}
.plv-status-fechado { background: #e2e8f0; color: #475569; }
.plv-status-aberto { background: #dcfce7; color: #166534; }
.plv-status-fala { background: #fef3c7; color: #92400e; }
.plv-ata-st-em_leitura {
	background: #eff6ff;
	border-left: 4px solid var(--plv-primary, #0b3d91);
}
.plv-status-pill.plv-ata-st-em_leitura {
	background: #dbeafe;
	color: #1e40af;
	border-left: 0;
	animation: plv-pulse-leitura 1.6s ease-in-out infinite;
}
.plv-ata-st-em_votacao { background: #fff7ed; border-left: 4px solid #ea580c; }
.plv-status-pill.plv-ata-st-em_votacao { background: #ffedd5; color: #9a3412; border-left: 0; animation: none; }
.plv-op-ata-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 14px;
	border-radius: 10px;
	margin-bottom: 10px;
}
@keyframes plv-pulse-leitura {
	0%, 100% { opacity: 1; }
	50% { opacity: .72; }
}
.plv-op-fila-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #e8eef5;
}
.plv-op-fila-ordem {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	flex-shrink: 0;
}
.plv-op-fila-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.plv-op-fila-info small { color: #66758c; }
.plv-op-aparte-box {
	margin-top: 12px;
	padding: 12px;
	background: #fff7ed;
	border-radius: 10px;
	border: 1px solid #fdba74;
}
.plv-op-label { display: block; margin: 8px 0; font-weight: 600; }

/* —— 2.9.2: home SDV 30/70, login keypad, voltar, autor —— */
.plv-home-sdv {
	display: grid;
	grid-template-columns: minmax(180px, 30%) 1fr;
	gap: 14px;
	min-height: calc(100vh - 120px);
	align-items: stretch;
}
.plv-home-side {
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	border-radius: 14px;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	border: 2px solid color-mix(in srgb, var(--plv-primary, #0b3d91) 60%, #f5c518);
}
.plv-home-side img#plv-home-foto {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid #f5c518;
	background: rgba(255,255,255,.12);
}
.plv-home-side .plv-home-perfil-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	align-items: center;
}
.plv-home-side .plv-home-perfil-info strong {
	font-size: clamp(16px, 2.2vw, 22px);
	color: #fff;
	line-height: 1.25;
}
.plv-home-side .plv-home-perfil-info span { color: rgba(255,255,255,.9); font-size: 13px; }
.plv-home-partido-linha {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.plv-home-partido-linha img {
	width: 28px !important;
	height: 28px !important;
	aspect-ratio: 1 !important;
	border-radius: 4px !important;
	border: 0 !important;
	object-fit: contain;
	background: #fff;
}
.plv-home-main {
	background: #2a2f38;
	border-radius: 14px;
	padding: 14px;
	border: 2px solid #f5c518;
	min-width: 0;
}
.plv-home-main .plv-home-grid { margin: 0; }
.plv-home-main .plv-home-btn {
	background: #fff;
	border: 2px solid #f5c518;
	border-radius: 10px;
	min-height: 100px;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.plv-home-main .plv-home-btn strong { color: #1a1a1a; }
@media (max-width: 700px), (orientation: portrait) {
	.plv-home-sdv {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.plv-home-side {
		flex-direction: row;
		text-align: left;
		padding: 12px;
	}
	.plv-home-side img#plv-home-foto {
		width: 88px;
		max-width: 88px;
		aspect-ratio: 1;
		border-radius: 50%;
	}
	.plv-home-side .plv-home-perfil-info { align-items: flex-start; }
}

.plv-login-box.plv-login-sdv {
	max-width: 960px;
	padding: 0;
	overflow: hidden;
}
.plv-login-sdv-layout {
	display: grid;
	grid-template-columns: minmax(200px, 32%) 1fr;
	min-height: 520px;
}
.plv-login-side {
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}
.plv-login-side-foto {
	width: 70%;
	max-width: 200px;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: var(--plv-foto-pos, center center);
	border-radius: 10px;
	border: 2px solid #f5c518;
	background: rgba(255,255,255,.15);
}
.plv-login-side-info strong { display: block; font-size: 16px; color: #fff; }
.plv-login-side-info span { display: block; font-size: 13px; opacity: .9; margin-top: 4px; }
.plv-login-side-camara { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .9; }
.plv-login-camara-nome,
.plv-login-camara-casa { display: block; }
.plv-login-camara-casa { margin-top: 4px; font-weight: 600; opacity: .85; }
.plv-login-main {
	padding: 20px 22px 24px;
	background: #f3f4f6;
	text-align: left;
}
.plv-login-main .plv-login-sub { margin-top: 0; }
.plv-senha-display {
	letter-spacing: 0.35em;
	font-size: 22px !important;
	text-align: center;
	background: #fff;
}
.plv-keypad {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 14px;
}
.plv-key {
	min-height: 56px;
	border: 2px solid #e8a317;
	border-radius: 8px;
	background: #fff;
	font-size: 22px;
	font-weight: 800;
	color: #222;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
}
.plv-key-acao { font-size: 13px; letter-spacing: .04em; }
.plv-key[data-key="limpar"] {
	background: #f5c518;
	border-color: #c99a06;
	color: #1a1a1a;
}
.plv-key-entrar {
	background: #1e8e3e;
	color: #fff;
	border-color: #146c2e;
	font-size: 14px;
}
.plv-key { transition: background-color .12s, border-color .12s, box-shadow .12s, transform .06s; }
.plv-key[data-key="limpar"]:hover,
.plv-key[data-key="limpar"]:focus-visible {
	background: #ffd84d;
	border-color: #a67f00;
	box-shadow: 0 0 0 3px rgba(245,197,24,.45);
}
.plv-key-entrar:hover,
.plv-key-entrar:focus-visible {
	background: #26a84b;
	border-color: #0f5423;
	box-shadow: 0 0 0 3px rgba(30,142,62,.4);
}
.plv-key[data-key="limpar"]:active { background: #e0b000; transform: translateY(1px); }
.plv-key-entrar:active { background: #146c2e; transform: translateY(1px); }

/* 2.9.7: lista de vereadores(as) em ícones pequenos na lateral do login */
.plv-login-side-lista {
	width: 100%;
	flex: 1;
	min-height: 0;
}
.plv-login-side .plv-login-lista {
	grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
	gap: 6px;
	max-height: 300px;
	margin: 4px 0 8px;
	padding: 2px;
}
.plv-login-side .plv-login-pessoa {
	padding: 6px 2px;
	gap: 3px;
	border: 2px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.08);
	border-radius: 8px;
	color: #fff;
}
.plv-login-side .plv-login-pessoa:hover { background: rgba(255,255,255,.18); }
.plv-login-side .plv-login-pessoa.is-selected {
	border-color: #f5c518;
	background: rgba(245,197,24,.22);
}
.plv-login-side .plv-login-pessoa img,
.plv-login-side .plv-login-pessoa-inicial {
	width: 40px !important;
	height: 40px !important;
	font-size: 16px;
}
.plv-login-side .plv-login-pessoa strong {
	font-size: 10px;
	color: #fff;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
.plv-login-side .plv-login-pessoa small { display: none; }
.plv-login-side-foto { max-width: 120px; }
.plv-login-dica { margin: 4px 0 0; font-size: 12px; color: #66758c; }
.plv-login-submit-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
}
@media (max-width: 700px), (orientation: portrait) {
	.plv-login-sdv-layout { grid-template-columns: 1fr; }
	.plv-login-side { flex-direction: row; text-align: left; }
	.plv-login-side-foto { width: 72px; max-width: 72px; }
	.plv-key { min-height: 48px; font-size: 18px; }
}

.plv-btn-voltar-inicio {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 14px;
	border: 1px solid #ccd3df;
	border-radius: 10px;
	background: #f4f7fb;
	font: inherit;
	font-weight: 700;
	color: var(--plv-primary, #0b3d91);
	cursor: pointer;
	text-align: center;
}
.plv-btn-voltar-top {
	margin-top: 4px;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 6px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.plv-pauta-autor {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0;
	color: #334155;
}
.plv-pauta-autor img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: #e8eef7;
}

/* —— 2.9.5: telão leitura (propositor + presença na coluna da ementa) —— */
.plv-telao-leitura {
	display: none;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	margin: 0 -36px -40px;
	padding: 0;
}
.plv-leitura-layout {
	display: grid;
	grid-template-columns: minmax(260px, 32%) 1fr;
	width: 100%;
	flex: 1;
	min-height: 0;
	border-top: 2px solid #c9a227;
}
.plv-leitura-autor {
	display: flex;
	flex-direction: column;
	background: #f4f4f4;
	border-right: 2px solid #c9a227;
	min-height: 0;
}
.plv-leitura-autor-label {
	background: #1a1a1a;
	color: #fff;
	text-align: center;
	padding: 10px;
	font-family: Consolas, 'Courier New', monospace;
	font-size: clamp(15px, 1.6vw, 20px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid #c9a227;
}
.plv-leitura-foto-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px 12px;
	background: #fff;
	min-height: 280px;
}
.plv-leitura-foto-wrap img {
	max-width: 100%;
	max-height: 52vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border: 2px solid #c9a227;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.plv-leitura-foto-wrap img.is-brasao {
	max-height: 46vh;
	padding: 12px;
	border-radius: 8px;
	object-fit: contain;
	background: #fafafa;
}
.plv-leitura-autor-nome {
	background: #1a1a1a;
	color: #fff;
	text-align: center;
	padding: 14px 12px;
	font-size: clamp(18px, 2.1vw, 26px);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-top: 2px solid #c9a227;
	line-height: 1.25;
}
.plv-leitura-partido {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 14px;
	background: #ececec;
	border-top: 1px solid #c9a227;
}
.plv-leitura-partido img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	background: #fff;
	border-radius: 6px;
	padding: 3px;
	border: 1px solid #ddd;
}
.plv-leitura-partido span {
	font-size: clamp(15px, 1.7vw, 20px);
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #111;
}
.plv-leitura-conteudo {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #ececec;
}
.plv-leitura-titulo-bar {
	background: linear-gradient(180deg, #2a2a2a 0%, #111 100%);
	color: #fff;
	text-align: center;
	padding: 16px 20px;
	border-bottom: 2px solid #c9a227;
}
.plv-leitura-titulo-bar h2 {
	margin: 0;
	font-size: clamp(18px, 2.4vw, 28px);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.plv-leitura-ementa-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 48px);
	background: #f7f7f5;
}
.plv-leitura-ementa {
	margin: 0;
	max-width: 920px;
	text-align: center;
	font-family: 'Courier New', Courier, monospace;
	font-size: clamp(18px, 2.6vw, 32px);
	line-height: 1.45;
	font-weight: 700;
	color: #111;
	text-transform: uppercase;
}
.plv-leitura-rodape {
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	text-align: center;
	padding: 12px 18px;
	font-size: clamp(13px, 1.4vw, 16px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-top: 2px solid #c9a227;
}
.plv-leitura-presenca {
	flex-shrink: 0;
	padding: 12px 16px 16px;
	background: #0c1220;
	border-top: 2px solid #c9a227;
}
.plv-leitura-presenca-titulo {
	margin: 0 0 8px;
	text-align: center;
	color: #fff;
	font-size: clamp(12px, 1.2vw, 15px);
	font-weight: 800;
	letter-spacing: 0.1em;
}
.plv-leitura-presenca-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 auto;
}
.plv-leitura-presenca-item {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #666;
	box-sizing: border-box;
	background: #222;
}
.plv-leitura-presenca-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.plv-leitura-presenca-item.is-presente {
	border-color: var(--plv-sim, #1e8e3e);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--plv-sim, #1e8e3e) 50%, transparent);
}
.plv-leitura-presenca-item.is-ausente {
	border-color: var(--plv-nao, #d93025);
	opacity: 0.72;
	filter: grayscale(0.35);
}
.plv-resumo-propositor {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	padding: 10px 12px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(245,197,24,.35);
	border-radius: 10px;
}
.plv-resumo-propositor img {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	background: #222;
	flex-shrink: 0;
}
.plv-resumo-propositor img.is-brasao {
	object-fit: contain;
	background: #fff;
	padding: 4px;
}
.plv-resumo-autor-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: .75;
	margin-bottom: 2px;
}
.plv-resumo-propositor strong {
	display: block;
	font-size: 15px;
	line-height: 1.25;
}

.plv-app-main:has(#plv-view-home[style*="block"]) {
	/* home usa layout próprio */
}
#plv-view-home.plv-view { padding: 0; }
.plv-app-main { display: flex; flex-direction: column; }
#plv-view-home { flex: 1; }

/* ==========================================================================
   2.9.9: telão ajustado à tela (sem rolagem), cabeçalho compacto
   ========================================================================== */
html.plv-telao-ativo,
html.plv-telao-ativo body { height: 100%; overflow: hidden; }

.plv-telao {
	height: 100vh;
	min-height: 0;
	max-height: 100vh;
	overflow: hidden;
	padding: 1.2vh 1.6vw;
}
.plv-telao-header {
	flex-shrink: 0;
	flex-wrap: nowrap;
	align-items: center;
	gap: 1.4vw;
	margin: 0 0 1vh;
	padding: 0 0 .8vh;
}
.plv-telao-header > img#plv-telao-logo {
	max-height: 10vh;
	max-width: 14vw;
}
.plv-telao-camara {
	margin: 0 0 .2vh;
	font-size: clamp(10px, 1.5vh, 16px);
}
.plv-telao-bloco {
	margin: 0 0 .2vh;
	font-size: clamp(10px, 1.6vh, 17px);
}
.plv-telao-titulo h1 {
	font-size: clamp(16px, 3.6vh, 44px);
	line-height: 1.15;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.plv-telao-subtitulo {
	margin: .4vh 0 0;
	font-size: clamp(12px, 2vh, 24px);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.plv-telao-subtitulo:empty { display: none; }
.plv-telao-sessao-linha {
	margin: .3vh 0 0;
	font-size: clamp(10px, 1.5vh, 16px);
}
.plv-telao-pedidos {
	margin: .3vh 0 0;
	font-size: clamp(11px, 1.6vh, 18px);
}
.plv-telao-meta {
	flex-direction: row;
	align-items: center;
	gap: 1vw;
}
.plv-telao-data { font-size: clamp(10px, 1.5vh, 16px); }
.plv-telao-relogio { font-size: clamp(16px, 3vh, 36px); }
.plv-telao-counters { display: none !important; }
.plv-telao .plv-btn-fullscreen { font-size: clamp(14px, 2vh, 22px); padding: .3vh .6vw; }
.plv-telao-placar { display: none !important; }

/* Telas: ocupam o espaço restante abaixo do cabeçalho */
#plv-telao-presenca:not([style*="none"]),
#plv-telao-materia:not([style*="none"]),
#plv-telao-tribuna:not([style*="none"]),
#plv-telao-ata:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-telao-presenca h2 { display: none; }

.plv-telao-resultado-banner {
	flex-shrink: 0;
	margin-bottom: 1vh;
	padding: .8vh 1vw;
	font-size: clamp(16px, 3vh, 34px);
}
.plv-telao-votacao-layout {
	flex: 1 1 auto;
	min-height: 0;
	grid-template-columns: minmax(0, 1fr) clamp(220px, 21vw, 380px);
	grid-template-rows: minmax(0, 1fr);
	gap: 1.2vw;
	align-items: stretch;
}

/* Grades de vereadores: colunas e altura da foto calculadas pelo painel.js */
.plv-telao .plv-telao-vereadores,
.plv-telao .plv-presenca-grid {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	align-content: center;
	justify-content: center;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.plv-telao .plv-vereador-card { font-size: var(--plv-card-fs, 14px); border-radius: 8px; }
.plv-telao .plv-vc-foto-wrap {
	aspect-ratio: auto;
	height: var(--plv-foto-h, 150px);
	flex-shrink: 0;
}
.plv-telao .plv-vc-voto { font-size: .85em; padding: .45em .4em; }
.plv-telao .plv-vc-nome { font-size: 1em; padding: .45em .5em .1em; }
.plv-telao .plv-vc-cargo { font-size: .8em; padding: 0 .5em .2em; }
.plv-telao .plv-vc-partido-row { padding: 0 .5em .5em; min-height: 0; gap: .35em; }
.plv-telao .plv-vc-partido { font-size: .8em; }
.plv-telao .plv-vc-partido-logo { width: 1.4em; height: 1.4em; }
.plv-telao .plv-vereador-card.plv-vc-suplente::after { font-size: .7em; margin: 0 0 .4em; }

/* Resumo lateral */
.plv-telao-resumo {
	position: static;
	overflow: hidden;
	padding: 1.6vh 1vw;
	display: flex;
	flex-direction: column;
}
.plv-resumo-topo { margin-bottom: 1.2vh; }
.plv-resumo-topo h3 { font-size: clamp(14px, 2.2vh, 24px); }
.plv-resumo-lista li { padding: .9vh 0; font-size: clamp(12px, 1.9vh, 22px); }
.plv-resumo-lista li strong { font-size: clamp(15px, 2.6vh, 30px); }
.plv-resumo-resultado { margin-top: 1.4vh; padding: 1vh 1vw; font-size: clamp(15px, 2.4vh, 28px); }
.plv-resumo-propositor { margin: 0 0 1.2vh; padding: .8vh .8vw; }
.plv-resumo-propositor img { width: clamp(40px, 7vh, 80px); height: clamp(40px, 7vh, 80px); }
.plv-resumo-propositor strong { font-size: clamp(13px, 1.9vh, 22px); }

/* Tribuna */
.plv-telao-tribuna h2 { flex-shrink: 0; margin: 0 0 1vh; font-size: clamp(15px, 2.6vh, 30px); }
#plv-telao-tribuna-inscricao:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-tribuna-colunas {
	flex: 1 1 auto;
	min-height: 0;
	grid-template-rows: minmax(0, 1fr);
	gap: 1.4vw;
}
.plv-tribuna-colunas > div { display: flex; flex-direction: column; min-height: 0; }
.plv-tribuna-col-titulo { flex-shrink: 0; margin: 0 0 .8vh; padding-bottom: .5vh; font-size: clamp(13px, 2vh, 22px); }
.plv-telao-timer { flex: 1 1 auto; min-height: 0; padding: 2vh 2vw; gap: 3vw; }
.plv-telao-timer img { width: 34vh; height: 34vh; }
.plv-timer-nome { font-size: clamp(22px, 5vh, 60px); }
.plv-timer-display { font-size: clamp(56px, 16vh, 200px); }
.plv-telao-aparte { flex-shrink: 0; margin-top: 1vh; padding: 1vh 1vw; }
.plv-telao-aparte img { width: 9vh; height: 9vh; }
.plv-timer-aparte { font-size: clamp(32px, 6vh, 72px) !important; }

/* Ata */
.plv-telao-ata { max-width: 1500px; width: 100%; }
.plv-ata-header { flex-shrink: 0; margin-bottom: 1vh; }
.plv-ata-header h2 { font-size: clamp(18px, 3vh, 34px); }
.plv-ata-scroll-viewport { flex: 1 1 auto; height: auto; min-height: 0; }
.plv-ata-scroll-texto { padding: 6vh 3vw; font-size: clamp(20px, 3.6vh, 42px); }

/* Leitura da matéria */
.plv-telao-leitura { margin: 0 -1.6vw -1.2vh; }
.plv-leitura-layout { grid-template-rows: minmax(0, 1fr); }
.plv-leitura-autor { overflow: hidden; }
.plv-leitura-autor-label { padding: .8vh; font-size: clamp(13px, 2vh, 22px); }
.plv-leitura-foto-wrap { min-height: 0; padding: 1.6vh 1vw 1vh; }
.plv-leitura-foto-wrap img { max-height: 42vh; }
.plv-leitura-foto-wrap img.is-brasao { max-height: 38vh; }
.plv-leitura-autor-nome { padding: 1.2vh 1vw; font-size: clamp(16px, 2.8vh, 34px); }
.plv-leitura-partido { padding: 1vh 1vw; }
.plv-leitura-partido img { width: clamp(28px, 4.5vh, 52px); height: clamp(28px, 4.5vh, 52px); }
.plv-leitura-partido span { font-size: clamp(14px, 2.2vh, 26px); }
.plv-leitura-conteudo { min-height: 0; overflow: hidden; }
.plv-leitura-titulo-bar { flex-shrink: 0; padding: 1.2vh 1.4vw; }
.plv-leitura-titulo-bar h2 { font-size: clamp(16px, 3vh, 34px); }
.plv-leitura-ementa-wrap { min-height: 0; overflow: hidden; padding: 2.4vh 2.4vw; }
.plv-leitura-ementa { font-size: clamp(16px, 3.4vh, 40px); }
.plv-leitura-rodape { flex-shrink: 0; padding: .9vh 1vw; font-size: clamp(11px, 1.7vh, 18px); }
.plv-leitura-presenca { padding: .9vh 1vw 1.2vh; }
.plv-leitura-presenca-titulo { margin: 0 0 .6vh; font-size: clamp(11px, 1.6vh, 17px); }
.plv-leitura-presenca-item { width: clamp(28px, 5vh, 60px); height: clamp(28px, 5vh, 60px); }

/* Retrato / telas estreitas: empilha o resumo sob a grade */
@media (orientation: portrait) and (max-width: 960px) {
	.plv-telao-votacao-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr) auto;
	}
	.plv-tribuna-colunas { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
	.plv-leitura-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
	.plv-leitura-foto-wrap img { max-height: 22vh; }
}

/* Hinos no telão */
.plv-telao-hino {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 10, 22, .94);
	color: #fff;
	text-align: center;
}
.plv-telao-hino-inner { padding: 4vh 4vw; }
.plv-telao-hino img {
	max-height: 34vh;
	max-width: 50vw;
	object-fit: contain;
	margin: 0 auto 3vh;
}
.plv-telao-hino-label {
	margin: 0;
	font-size: clamp(16px, 3vh, 36px);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #c9a227;
	font-weight: 700;
}
.plv-telao-hino h2 {
	margin: 1vh 0 0;
	font-size: clamp(32px, 8vh, 110px);
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.1;
}
.plv-telao-hino-proximo {
	margin: 2.4vh 0 0;
	font-size: clamp(14px, 2.4vh, 28px);
	opacity: .75;
}
.plv-telao-hino-proximo:empty { display: none; }
.plv-telao-hino-pausado {
	margin: 2.4vh auto 0;
	padding: .8vh 2vw;
	border-radius: 999px;
	background: rgba(201, 162, 39, .2);
	color: #f2d675;
	font-size: clamp(16px, 3vh, 36px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	width: fit-content;
}
.plv-telao-hino-liberar {
	margin-top: 3vh;
	padding: 1.4vh 2.4vw;
	border: 0;
	border-radius: 999px;
	background: #c9a227;
	color: #111;
	font: inherit;
	font-size: clamp(16px, 2.6vh, 30px);
	font-weight: 800;
	cursor: pointer;
}
.plv-telao-hino-credito {
	margin: 1.2vh 0 0;
	font-size: clamp(14px, 2.6vh, 30px);
	font-style: italic;
	letter-spacing: .04em;
	color: #f2d675;
}
.plv-telao-som-aviso {
	position: fixed;
	left: 50%;
	bottom: 3vh;
	z-index: 130;
	transform: translateX(-50%);
	width: min(92vw, 980px);
	flex-direction: column;
	gap: 6px;
	padding: 14px 22px;
	border-radius: 14px;
	background: rgba(17, 17, 17, .92);
	border: 2px solid #c9a227;
	color: #fff;
	font-size: clamp(13px, 1.8vh, 20px);
	line-height: 1.35;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	cursor: pointer;
}
.plv-telao-som-aviso strong { color: #f2d675; font-size: 1.15em; }

/* ==========================================================================
   3.0.0: áudios da sessão, discussão, votação por autor/bancada, rito, 2 telões
   ========================================================================== */
.plv-audio-liberar {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 120;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: #c9a227;
	color: #111;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
	cursor: pointer;
}

/* Resumo: matérias votadas em conjunto */
.plv-resumo-grupo {
	margin: 0 0 1.2vh;
	padding: .8vh .8vw;
	border-radius: 8px;
	background: rgba(255, 255, 255, .06);
	min-height: 0;
	overflow: hidden;
}
.plv-resumo-grupo-titulo {
	margin: 0 0 .6vh;
	font-size: clamp(11px, 1.6vh, 17px);
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #c9a227;
}
.plv-resumo-grupo ul { margin: 0; padding: 0; list-style: none; }
.plv-resumo-grupo li {
	display: flex;
	justify-content: space-between;
	gap: .6vw;
	padding: .3vh 0;
	font-size: clamp(11px, 1.7vh, 19px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.plv-resumo-grupo li:last-child { border-bottom: 0; }
.plv-grupo-st { font-weight: 800; font-size: .85em; }
.plv-grupo-st-aprovada { color: var(--plv-sim, #1e8e3e); }
.plv-grupo-st-reprovada { color: var(--plv-nao, #d93025); }
.plv-grupo-st-empate { color: var(--plv-abst, #f9ab00); }

/* Telão: discussão */
#plv-telao-discussao:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-disc-layout {
	flex: 1 1 auto;
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .8fr);
	grid-template-rows: minmax(0, 1fr);
	gap: 1.2vw;
	color: #fff;
}
.plv-disc-layout > section {
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 1.6vh 1.2vw;
	border-radius: 12px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
}
.plv-disc-orador { align-items: center; justify-content: center; text-align: center; }
.plv-disc-etiqueta {
	margin: 0 0 1.2vh;
	font-size: clamp(12px, 1.9vh, 22px);
	font-weight: 800;
	letter-spacing: .12em;
	color: #c9a227;
}
#plv-disc-orador { flex-direction: column; align-items: center; gap: 1vh; min-height: 0; }
#plv-disc-orador-foto {
	width: 30vh;
	height: 30vh;
	max-width: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid var(--plv-primary, #0b3d91);
}
.plv-disc-orador-nome { margin: 0; font-size: clamp(20px, 4vh, 48px); font-weight: 900; line-height: 1.1; }
.plv-disc-orador-meta { margin: 0; font-size: clamp(12px, 2vh, 24px); opacity: .8; letter-spacing: .06em; }
.plv-disc-orador .plv-timer-display { font-size: clamp(48px, 12vh, 150px); }
.plv-disc-aguardando { margin: 0; font-size: clamp(16px, 3vh, 34px); opacity: .75; }
.plv-disc-dispensada {
	margin: 1vh 0 0;
	padding: 1.4vh 1vw;
	border-radius: 10px;
	background: rgba(249, 171, 0, .18);
	color: #f9ab00;
	font-size: clamp(16px, 3vh, 36px);
	font-weight: 900;
}
.plv-disc-materias h2 { margin: 0 0 1vh; font-size: clamp(16px, 3vh, 36px); }
.plv-disc-autor { display: flex; align-items: center; gap: .8vw; margin: 0 0 1.2vh; font-size: clamp(13px, 2.2vh, 26px); font-weight: 700; }
.plv-disc-autor img { width: 6vh; height: 6vh; border-radius: 50%; object-fit: cover; }
.plv-disc-lista { margin: 0; padding: 0; list-style: none; overflow: hidden; min-height: 0; }
.plv-disc-lista li { padding: 1vh 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.plv-disc-lista li strong { display: block; font-size: clamp(14px, 2.4vh, 28px); }
.plv-disc-lista li span {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(12px, 1.9vh, 22px);
	opacity: .85;
}
.plv-disc-fila h3 { margin: 0 0 .8vh; font-size: clamp(12px, 2vh, 22px); color: #c9a227; }
.plv-disc-fila h3:not(:first-child) { margin-top: 1.6vh; }
.plv-disc-fila-lista { display: flex; flex-direction: column; gap: .6vh; min-height: 0; overflow: hidden; }
.plv-disc-fila-item { display: flex; align-items: center; gap: .6vw; font-size: clamp(12px, 2vh, 22px); font-weight: 700; }
.plv-disc-fila-item img { width: 5vh; height: 5vh; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.plv-disc-feitos .plv-disc-fila-item { opacity: .6; }
.plv-disc-vazio { margin: 0; opacity: .6; font-size: clamp(12px, 1.8vh, 20px); }

/* Presença em números (Telão 1 no modo 2 telões) */
.plv-presenca-resumo-grande { display: none; }
.plv-modo-2telas.plv-tela-1 .plv-presenca-resumo-grande {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6vw;
	color: #fff;
	text-align: center;
}
.plv-presenca-resumo-grande strong { display: block; font-size: clamp(60px, 22vh, 260px); line-height: 1; font-weight: 900; }
.plv-presenca-resumo-grande span { font-size: clamp(16px, 3.4vh, 40px); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.plv-presenca-resumo-grande div:first-child strong { color: var(--plv-sim, #1e8e3e); }
.plv-presenca-resumo-grande div:nth-child(2) strong { color: var(--plv-nao, #d93025); }

/* Modo 2 telões — Telão 1: matéria, resumo e cronômetros; Telão 2: vereadores e filas */
.plv-modo-2telas.plv-tela-1 #plv-telao-presenca-grid,
.plv-modo-2telas.plv-tela-1 .plv-telao-vereadores,
.plv-modo-2telas.plv-tela-1 .plv-disc-fila { display: none !important; }
.plv-modo-2telas.plv-tela-1 .plv-telao-votacao-layout { grid-template-columns: minmax(0, 1fr); }
.plv-modo-2telas.plv-tela-1 .plv-disc-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.plv-modo-2telas.plv-tela-1 .plv-telao-resumo {
	justify-content: center;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 3vh 3vw;
}
.plv-modo-2telas.plv-tela-1 .plv-resumo-topo h3 { font-size: clamp(20px, 4vh, 48px); }
.plv-modo-2telas.plv-tela-1 .plv-resumo-lista li { font-size: clamp(18px, 3.6vh, 44px); padding: 1.4vh 0; }
.plv-modo-2telas.plv-tela-1 .plv-resumo-lista li strong { font-size: clamp(24px, 5vh, 64px); }
.plv-modo-2telas.plv-tela-1 .plv-resumo-resultado { font-size: clamp(24px, 5vh, 60px); }
.plv-modo-2telas.plv-tela-1 .plv-resumo-propositor strong { font-size: clamp(16px, 3vh, 36px); }
.plv-modo-2telas.plv-tela-1 .plv-resumo-propositor img { width: 12vh; height: 12vh; }
.plv-modo-2telas.plv-tela-1 .plv-resumo-grupo li { font-size: clamp(14px, 2.6vh, 30px); }

.plv-modo-2telas.plv-tela-2 .plv-telao-resumo,
.plv-modo-2telas.plv-tela-2 .plv-disc-orador,
.plv-modo-2telas.plv-tela-2 .plv-disc-materias { display: none !important; }
.plv-modo-2telas.plv-tela-2 .plv-telao-votacao-layout { grid-template-columns: minmax(0, 1fr); }
.plv-modo-2telas.plv-tela-2 .plv-disc-layout { grid-template-columns: minmax(0, 1fr); }
.plv-modo-2telas.plv-tela-2 .plv-disc-fila h3 { font-size: clamp(16px, 3vh, 34px); }
.plv-modo-2telas.plv-tela-2 .plv-disc-fila-lista { flex-flow: row wrap; gap: 1.4vh 2vw; }
.plv-modo-2telas.plv-tela-2 .plv-disc-fila-item { font-size: clamp(16px, 2.8vh, 32px); }
.plv-modo-2telas.plv-tela-2 .plv-disc-fila-item img { width: 9vh; height: 9vh; }

.plv-telao2-aviso {
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}
.plv-telao2-aviso h2 { font-size: clamp(24px, 5vh, 60px); margin: 0 0 2vh; }
.plv-telao2-aviso p { font-size: clamp(14px, 2.4vh, 28px); opacity: .8; }

/* Tablet: rito da sessão */
.plv-rito { display: flex; flex-direction: column; gap: 12px; }
.plv-rito-etapa {
	border: 1px solid #dfe3ea;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}
.plv-rito-etapa > header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #f4f6fa;
	font-size: 16px;
}
.plv-rito-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--plv-primary, #0b3d91);
	color: #fff;
	font-weight: 800;
	flex-shrink: 0;
}
.plv-rito-agora {
	margin-left: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: #1e8e3e;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}
.plv-rito-etapa.is-ativa { border-color: #1e8e3e; box-shadow: 0 0 0 2px rgba(30, 142, 62, .2); }
.plv-rito-etapa.is-ativa > header { background: #e8f5ec; }
.plv-rito-corpo { padding: 10px 14px 12px; }
.plv-rito-corpo p { margin: 6px 0; }
.plv-rito-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #eef0f4;
}
.plv-rito-item:last-child { border-bottom: 0; }
.plv-rito-item small { color: #5f6673; }
.plv-rito-item .plv-op-acoes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.plv-rito-corpo .plv-op-acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.plv-op-select.plv-op-select-sm { width: auto; min-width: 130px; margin: 0; padding-top: 6px; padding-bottom: 6px; }
.plv-rito-disc { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; }
.plv-rito-orador { font-size: 16px; }
.plv-rito-alerta { color: #b45309; font-weight: 700; }

/* Tablet: discussão (vereador) */
.plv-disc-v-box { padding: 16px; border-radius: 12px; background: #fff; border: 1px solid #dfe3ea; }
.plv-disc-v-lista { margin: 0 0 12px; padding: 0; list-style: none; }
.plv-disc-v-lista li { padding: 8px 0; border-bottom: 1px solid #eef0f4; line-height: 1.4; }
.plv-disc-v-status { font-size: 17px; font-weight: 600; }
.plv-disc-v-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.plv-disc-v-acoes .plv-btn { font-size: 18px; padding: 14px 20px; }

/* Tablet: votação por autor / por bancada */
.plv-voto-grupo {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff8e1;
	border: 1px solid #f3d27a;
	text-align: left;
}
.plv-voto-grupo ul { margin: 6px 0 0; padding-left: 18px; }
.plv-voto-grupo li { margin: 4px 0; }
.plv-bancada-aviso { background: #eef4ff; border-color: #b9cdf5; }


/* ==========================================================================
   3.0.1: leitor de PDF, lista de vereadores no login em tamanho máximo, teclado
   ========================================================================== */
.plv-pdf-modal-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.plv-pdf-modal-acoes a.plv-btn-link { text-decoration: none; }

.plv-teclado-toggle {
	display: inline-block;
	margin: 8px 0 0;
	padding: 6px 12px;
	border: 1px solid #c5d0e0;
	border-radius: 999px;
	background: #fff;
	color: var(--plv-primary, #0b3d91);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.plv-senha-display[readonly] { cursor: default; caret-color: transparent; }
#plv-login-submit:not(.plv-login-submit-hidden) { display: block; width: 100%; margin-top: 14px; padding: 14px; font-size: 18px; }

.plv-login-box.plv-login-sdv.plv-login-com-lista {
	max-width: 1400px;
	margin: 20px auto;
}
.plv-login-com-lista .plv-login-sdv-layout {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 36%);
	height: calc(100vh - 40px);
	height: calc(100dvh - 40px);
	min-height: 460px;
}
.plv-login-com-lista .plv-login-side { min-height: 0; overflow: hidden; gap: 8px; padding: 14px 14px 10px; }
.plv-login-com-lista .plv-login-logo img { max-height: 60px; margin-bottom: 0; }
.plv-login-com-lista .plv-login-side-foto { display: none !important; }
.plv-login-com-lista .plv-login-side-camara { margin-top: 0; }
.plv-login-com-lista .plv-login-main { overflow: auto; }
.plv-login-com-lista .plv-login-side-lista {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-login-com-lista .plv-login-side .plv-login-lista {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	max-height: none;
	overflow: auto;
	gap: 8px;
	grid-template-columns: repeat(var(--plv-lp-cols, 4), minmax(0, 1fr));
	align-content: center;
}
.plv-login-com-lista .plv-login-side .plv-login-pessoa { padding: 6px 4px 8px; gap: 4px; min-width: 0; }
.plv-login-com-lista .plv-login-side .plv-login-pessoa img,
.plv-login-com-lista .plv-login-side .plv-login-pessoa-inicial {
	width: var(--plv-lp-foto, 64px) !important;
	height: var(--plv-lp-foto, 64px) !important;
	font-size: calc(var(--plv-lp-foto, 64px) * .4);
	border-radius: 10px;
}
.plv-login-com-lista .plv-login-side .plv-login-pessoa strong { font-size: var(--plv-lp-fs, 12px); }
@media (max-width: 700px), (orientation: portrait) {
	.plv-login-com-lista .plv-login-sdv-layout {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr) auto;
	}
	.plv-login-com-lista .plv-login-side { flex-direction: column; text-align: center; }
	.plv-login-com-lista .plv-login-main { overflow: visible; }
}

/* ==========================================================================
   3.1.0: fotos centralizadas no telão e leitura do texto bíblico
   ========================================================================== */
.plv-telao .plv-vc-foto,
.plv-telao .plv-telao-timer img,
.plv-telao .plv-telao-aparte img,
.plv-telao #plv-disc-orador-foto,
.plv-telao .plv-disc-autor img,
.plv-telao .plv-disc-fila-item img,
.plv-telao .plv-sb-vereador img,
.plv-telao .plv-leitura-presenca-item img,
.plv-telao .plv-resumo-propositor img,
.plv-telao .plv-materia-autor-foto:not(.is-brasao) { object-position: var(--plv-foto-pos, center center); }

.plv-modo-biblia .plv-telao-header { display: none !important; }
#plv-telao-biblia:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-btn-fullscreen-flutuante {
	position: absolute;
	top: 1.2vh;
	right: 1vw;
	z-index: 5;
	opacity: .55;
}
.plv-btn-fullscreen-flutuante:hover { opacity: 1; }
:fullscreen .plv-btn-fullscreen-flutuante { opacity: .15; }
.plv-telao-biblia {
	position: relative;
	padding: 1vh 2vw 2vh;
	color: #fff;
	text-align: center;
}
.plv-biblia-topo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 1.4vw;
	padding: 0 0 1vh;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	text-align: left;
}
.plv-biblia-logo { height: 9vh; max-width: 14vw; object-fit: contain; }
.plv-biblia-casa { display: flex; flex-direction: column; min-width: 0; }
.plv-biblia-casa strong { font-size: clamp(14px, 2.6vh, 32px); line-height: 1.15; }
.plv-biblia-casa span { font-size: clamp(12px, 2vh, 24px); opacity: .8; margin-top: .3vh; }
.plv-biblia-topo .plv-biblia-titulo { margin-left: auto; text-align: right; }
.plv-biblia-titulo {
	flex-shrink: 0;
	margin: 0;
	font-size: clamp(14px, 2.4vh, 30px);
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #c9a227;
}
.plv-biblia-ref {
	flex-shrink: 0;
	margin: .6vh 0 1.6vh;
	font-size: clamp(24px, 6vh, 80px);
	font-weight: 900;
	line-height: 1.1;
	color: #fff;
}
.plv-biblia-texto-wrap {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.plv-biblia-texto {
	margin: 0;
	max-width: 100%;
	white-space: pre-line;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;
	color: #fff;
}

/* Telão em espera (nenhuma sessão ativa) */
.plv-modo-standby .plv-telao-header { display: none !important; }
#plv-telao-standby:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-sb-fundo { display: none; }
.plv-modo-standby.tem-fundo-inicio .plv-sb-fundo {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: var(--plv-inicio-fundo);
	background-size: cover;
	background-position: center var(--plv-inicio-y, 50%);
	background-repeat: no-repeat;
}
.plv-sb-creditos {
	flex-shrink: 0;
	margin: .6vh 0 0;
	text-align: center;
	font-size: clamp(10px, 1.4vh, 18px);
	letter-spacing: .04em;
	opacity: .55;
}
.plv-sb-fundo-veu { position: absolute; inset: 0; background: #000; opacity: var(--plv-inicio-veu, .6); }
.plv-modo-standby.tem-fundo-inicio .plv-telao-standby { text-shadow: 0 2px 10px rgba(0, 0, 0, .65); }
.plv-telao-standby {
	position: relative;
	z-index: 1;
	color: #fff;
	padding: 3vh 3vw 2vh;
	gap: 3vh;
	background:
		radial-gradient(ellipse at 20% 30%, rgba(11, 61, 145, .5) 0%, transparent 60%),
		radial-gradient(ellipse at 85% 80%, rgba(201, 162, 39, .18) 0%, transparent 55%);
	background:
		radial-gradient(ellipse at 20% 30%, color-mix(in srgb, var(--plv-primary, #0b3d91) 55%, transparent) 0%, transparent 60%),
		radial-gradient(ellipse at 85% 80%, rgba(201, 162, 39, .18) 0%, transparent 55%);
}
.plv-sb-centro {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5vw;
}
#plv-telao-standby .plv-sb-logo {
	flex: 0 0 auto;
	width: 36vw;
	height: min(46vh, 40vw);
	max-width: none;
	max-height: none;
	object-fit: contain;
	filter: drop-shadow(0 1.4vh 3vh rgba(0, 0, 0, .45));
	animation: plv-sb-respira 6s ease-in-out infinite;
}
@keyframes plv-sb-respira {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.03); }
}
.plv-sb-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: 52vw; }
.plv-sb-poder {
	margin: 0 0 1vh;
	font-size: clamp(14px, 2.4vh, 30px);
	font-weight: 800;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #c9a227;
}
.plv-sb-camara { margin: 0; font-size: clamp(30px, 7vh, 96px); font-weight: 900; line-height: 1.05; }
.plv-sb-casa { margin: 1vh 0 0; font-size: clamp(18px, 3.8vh, 48px); font-weight: 600; opacity: .9; }
.plv-sb-legislatura { margin: .8vh 0 0; font-size: clamp(14px, 2.4vh, 30px); opacity: .75; }
.plv-sb-relogio {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 1.6vw;
	margin-top: 3vh;
	padding-top: 2vh;
	border-top: 2px solid rgba(201, 162, 39, .6);
}
.plv-sb-relogio strong { font-size: clamp(40px, 11vh, 150px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.plv-sb-relogio span { font-size: clamp(16px, 3vh, 38px); opacity: .85; }
.plv-sb-proxima {
	margin: 2vh 0 0;
	padding: 1vh 1.4vw;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: clamp(14px, 2.4vh, 30px);
	font-weight: 700;
}
.plv-sb-composicao {
	flex-shrink: 0;
	flex-direction: column;
	gap: 1vh;
}
.plv-sb-composicao-titulo {
	margin: 0;
	text-align: center;
	font-size: clamp(12px, 1.8vh, 22px);
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .7;
}
.plv-sb-composicao-lista {
	display: grid;
	grid-template-columns: repeat(var(--plv-sb-cols, 9), minmax(0, 1fr));
	gap: 1vh 1vw;
}
.plv-sb-vereador { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.plv-sb-vereador img {
	width: min(9vh, 7vw);
	height: min(9vh, 7vw);
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 2px solid rgba(255, 255, 255, .5);
	background: rgba(255, 255, 255, .1);
}
.plv-sb-vereador strong {
	max-width: 100%;
	margin-top: .5vh;
	font-size: clamp(10px, 1.6vh, 20px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.plv-sb-vereador span {
	max-width: 100%;
	font-size: clamp(9px, 1.3vh, 16px);
	opacity: .7;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.plv-sb-rodape {
	flex-shrink: 0;
	padding-top: 1.4vh;
	border-top: 1px solid rgba(255, 255, 255, .15);
	text-align: center;
	font-size: clamp(12px, 2vh, 26px);
	opacity: .85;
}
@media (orientation: portrait) {
	.plv-sb-centro { flex-direction: column; text-align: center; }
	.plv-sb-info { align-items: center; max-width: 90vw; }
	#plv-telao-standby .plv-sb-logo { width: 80vw; height: 28vh; }
}

/* —— Banner da sessão (Especial / Solene) —— */
.plv-modo-banner .plv-telao-header { display: none !important; }
.plv-telao.plv-modo-banner { padding: 0 !important; }
#plv-telao-banner:not([style*="none"]) {
	display: flex !important;
	flex: 1 1 auto;
	min-height: 0;
}
.plv-telao-banner {
	position: relative;
	align-items: center;
	justify-content: center;
	background: #000;
	overflow: hidden;
}
.plv-telao-banner img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	display: block;
}

/* —— Aviso de doação de tempo —— */
.plv-telao-doacao {
	position: fixed;
	left: 50%;
	bottom: 4vh;
	z-index: 55;
	transform: translateX(-50%);
	align-items: center;
	gap: 1.4vw;
	max-width: 86vw;
	padding: 1.6vh 2vw;
	border-radius: 18px;
	background: linear-gradient(135deg, #0f5132, #1e8e3e);
	border: 3px solid #c9a227;
	color: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}
.plv-telao-doacao.is-entrando { animation: plv-doacao-entra .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes plv-doacao-entra {
	from { opacity: 0; transform: translate(-50%, 6vh) scale(.9); }
	to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
.plv-telao-doacao img {
	width: 10vh;
	height: 10vh;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	object-position: var(--plv-foto-pos, center center);
	border: 3px solid #fff;
	flex-shrink: 0;
}
.plv-telao-doacao-texto span {
	display: block;
	font-size: clamp(12px, 1.8vh, 22px);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #f5d77a;
	font-weight: 800;
}
.plv-telao-doacao-texto p { margin: .3vh 0 0; font-size: clamp(18px, 3.4vh, 44px); line-height: 1.2; }
.plv-telao-doacao-texto p span { display: inline; font-size: inherit; text-transform: none; letter-spacing: 0; color: inherit; font-weight: 400; }

/* Aviso no tablet da tribuna */
.plv-doacao-aviso {
	align-items: center;
	gap: 14px;
	margin: 12px 0;
	padding: 14px 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, #0f5132, #1e8e3e);
	border: 2px solid #c9a227;
	color: #fff;
	animation: plv-doacao-tablet .5s ease-out;
}
@keyframes plv-doacao-tablet { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plv-doacao-aviso img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; flex-shrink: 0; }
.plv-doacao-aviso p { margin: 0; font-size: 1.25em; line-height: 1.3; }
.plv-tt-doar {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #1e293b;
}
.plv-tt-doar label { display: block; margin-bottom: 8px; font-weight: 700; }
.plv-tt-doar-linha { display: flex; flex-wrap: wrap; gap: 10px; }
.plv-tt-doar-linha select { flex: 1 1 220px; margin: 0; }
.plv-tt-doar-linha .plv-btn { width: auto; margin: 0; }
.plv-op-orador-ctrl {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 2px solid var(--plv-primary, #0b3d91);
	background: #f4f7ff;
}
.plv-op-orador-ctrl .plv-op-acoes { align-items: center; margin-top: 8px; }
.plv-op-orador-nome { margin: 0; font-size: 1.1em; }
.plv-op-label-inline { font-weight: 600; margin-right: 4px; }

/* —— Sorteio da ordem de fala (Tribuna Livre) —— */
.plv-telao-sorteio {
	position: fixed;
	inset: 0;
	z-index: 60;
	flex-direction: column;
	align-items: center;
	gap: 3vh;
	padding: 4vh 4vw;
	color: #fff;
	background: radial-gradient(ellipse at 50% 30%, #1b2f5c 0%, #0a0f1d 70%);
	transition: opacity .6s;
}
.plv-telao-sorteio.is-final { opacity: 0; }
.plv-sorteio-titulo {
	margin: 0;
	font-size: clamp(24px, 5vh, 64px);
	font-weight: 800;
	letter-spacing: .03em;
	text-align: center;
}
.plv-sorteio-grade {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	display: grid;
	grid-template-columns: repeat(var(--plv-sorteio-cols, 4), minmax(0, 1fr));
	grid-auto-rows: calc((100% - (var(--plv-sorteio-linhas, 2) - 1) * 2vh) / var(--plv-sorteio-linhas, 2));
	gap: 2vh 2vw;
}
.plv-sorteio-card {
	position: relative;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .6vh;
	padding: 1vh;
	border-radius: 14px;
	background: rgba(255, 255, 255, .07);
	border: 2px solid rgba(255, 255, 255, .15);
	will-change: transform;
}
.plv-sorteio-card img {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--plv-foto-pos, center center);
	border-radius: 10px;
}
.plv-sorteio-card strong { font-size: clamp(13px, 2.2vh, 28px); text-align: center; line-height: 1.15; }
.plv-sorteio-card small { font-size: clamp(11px, 1.6vh, 20px); color: #f5d77a; text-transform: uppercase; letter-spacing: .06em; }
.plv-sorteio-num {
	position: absolute;
	top: -1.4vh;
	left: -1vw;
	z-index: 2;
	min-width: 6vh;
	height: 6vh;
	padding: 0 1vh;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c9a227;
	color: #111;
	font-size: 3.4vh;
	font-weight: 900;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
	transform: scale(0);
	transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.plv-sorteio-card.is-revelado { border-color: #c9a227; background: rgba(201, 162, 39, .14); }
.plv-sorteio-card.is-revelado .plv-sorteio-num { transform: scale(1); }

/* —— Rito: o que está no telão agora —— */
.plv-telao-agora {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff4e5;
	border: 1px solid #f0b46a;
}
.plv-telao-agora > span { flex: 1 1 auto; }
.plv-telao-agora .plv-btn { width: auto; margin: 0; }
.plv-telao-agora small { opacity: .8; }
.plv-telao-agora.is-inicial { background: #eef4ff; border-color: #a9c1ee; }

/* —— Tribuna Livre: escolha do vereador —— */
.plv-tribuna-escolha {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 10px 0;
}
.plv-tribuna-escolha .plv-btn {
	width: 100%;
	margin: 0;
	min-height: 64px;
	font-size: 1.15em;
	font-weight: 700;
	color: #fff;
	border: 0;
}
.plv-tribuna-escolha .plv-tribuna-btn-sim { background: var(--plv-sim, #1e8e3e); }
.plv-tribuna-escolha .plv-tribuna-btn-nao { background: var(--plv-nao, #d93025); }
.plv-tribuna-escolha .plv-btn:hover { filter: brightness(1.1); }
.plv-tribuna-escolha .plv-btn { transition: opacity .2s, transform .15s, box-shadow .2s; }
.plv-tribuna-escolha.tem-escolha .plv-btn:not(.is-escolhido) { opacity: .4; filter: saturate(.5); }
.plv-tribuna-escolha .plv-btn.is-escolhido { transform: scale(1.03); font-size: 1.3em; }
.plv-tribuna-escolha .plv-tribuna-btn-sim.is-escolhido { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--plv-sim, #1e8e3e), 0 10px 24px rgba(0,0,0,.25); }
.plv-tribuna-escolha .plv-tribuna-btn-nao.is-escolhido { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--plv-nao, #d93025), 0 10px 24px rgba(0,0,0,.25); }
.plv-tribuna-confirmacao { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #f1f5f9; color: #334155; border: 2px dashed #cbd5e1; }
.plv-tribuna-confirmacao:empty { display: none; }
.plv-tribuna-confirmacao strong { display: block; font-size: 1.15em; }
.plv-tribuna-confirmacao small { display: block; margin-top: 4px; font-size: .92em; opacity: .85; }
.plv-tribuna-confirmacao.is-sim { background: color-mix(in srgb, var(--plv-sim, #1e8e3e) 14%, #fff); border: 3px solid var(--plv-sim, #1e8e3e); color: #14532d; animation: plv-tribuna-conf 0.5s ease-out; }
.plv-tribuna-confirmacao.is-sim strong { font-size: 1.35em; color: var(--plv-sim, #1e8e3e); }
.plv-tribuna-confirmacao.is-nao { background: #fff7ed; border: 2px solid #fdba74; color: #7c2d12; }
.plv-tribuna-conf-icone { font-size: 2.2em; line-height: 1; flex: 0 0 auto; }
@keyframes plv-tribuna-conf { from { transform: scale(.96); opacity: .4; } to { transform: scale(1); opacity: 1; } }

/* —— Votação por bancada no telão —— */
.plv-telao .plv-telao-vereadores.plv-bancadas {
	display: flex;
	gap: 1.2vw;
	align-items: stretch;
}
.plv-bancada-grupo {
	min-width: 13vw;
	display: flex;
	flex-direction: column;
	gap: .8vh;
	padding: .8vh .8vw 1vh;
	border-radius: 12px;
	border: 3px solid #3d4450;
	background: rgba(255, 255, 255, .04);
}
.plv-bancada-cab {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .3vh 1vw;
	flex-shrink: 0;
}
.plv-bancada-cab strong { font-size: clamp(16px, 2.6vh, 34px); text-transform: uppercase; letter-spacing: .06em; }
.plv-bancada-cab span { font-size: clamp(12px, 1.7vh, 22px); opacity: .8; }
.plv-bancada-cab em {
	margin-left: auto;
	padding: .3vh .9vw;
	border-radius: 999px;
	background: #3d4450;
	font-style: normal;
	font-weight: 800;
	font-size: clamp(13px, 2vh, 26px);
}
.plv-bancada-sim { border-color: var(--plv-sim, #1e8e3e); }
.plv-bancada-sim .plv-bancada-cab em { background: var(--plv-sim, #1e8e3e); }
.plv-bancada-nao { border-color: var(--plv-nao, #d93025); }
.plv-bancada-nao .plv-bancada-cab em { background: var(--plv-nao, #d93025); }
.plv-bancada-abstencao { border-color: var(--plv-abst, #e6b800); }
.plv-bancada-abstencao .plv-bancada-cab em { background: var(--plv-abst, #e6b800); color: #1a1a1a; }
.plv-bancada-neutra { opacity: .7; }
.plv-telao .plv-bancada-grade {
	flex: 1 1 auto;
	min-height: 0;
	display: grid;
	overflow: hidden;
	align-content: center;
	justify-content: center;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.plv-bancadas .plv-vc-foto-wrap { position: relative; }
.plv-bancadas .plv-vc-foto-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
}
.plv-bancadas .plv-vc-sim .plv-vc-foto-wrap::after { background: var(--plv-sim, #1e8e3e); opacity: .5; }
.plv-bancadas .plv-vc-nao .plv-vc-foto-wrap::after { background: var(--plv-nao, #d93025); opacity: .5; }
.plv-bancadas .plv-vc-abstencao .plv-vc-foto-wrap::after { background: var(--plv-abst, #e6b800); opacity: .5; }
.plv-bancadas .plv-vc-sim { box-shadow: 0 0 0 3px var(--plv-sim, #1e8e3e); }
.plv-bancadas .plv-vc-nao { box-shadow: 0 0 0 3px var(--plv-nao, #d93025); }
.plv-bancadas .plv-vc-abstencao { box-shadow: 0 0 0 3px var(--plv-abst, #e6b800); }
.plv-vc-lider .plv-vc-foto-wrap::before {
	content: 'LÍDER';
	position: absolute;
	top: 4px;
	left: 4px;
	z-index: 1;
	padding: 2px 6px;
	border-radius: 4px;
	background: #c9a227;
	color: #111;
	font-size: .7em;
	font-weight: 800;
	letter-spacing: .05em;
}

/* —— Tablet da Tribuna —— */
.plv-tt { padding: 4px 0 24px; }
.plv-tt-vazio {
	min-height: 52vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	color: #475569;
}
.plv-tt-vazio strong { font-size: clamp(22px, 4vw, 40px); color: var(--plv-primary, #0b3d91); }
.plv-tt-vazio span { font-size: clamp(15px, 2.2vw, 22px); }
.plv-tt-orador {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.5vw, 32px);
	padding: clamp(14px, 2.4vw, 28px);
	border-radius: 18px;
	background: linear-gradient(135deg, var(--plv-primary, #0b3d91), #0f172a);
	color: #fff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
}
.plv-tt-orador img {
	width: clamp(90px, 15vw, 170px);
	height: clamp(90px, 15vw, 170px);
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
	border: 4px solid rgba(255, 255, 255, .85);
	flex-shrink: 0;
	background: #e2e8f0;
}
.plv-tt-orador-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plv-tt-contexto { font-size: clamp(13px, 1.8vw, 18px); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.plv-tt-orador-info strong { font-size: clamp(24px, 4.2vw, 46px); line-height: 1.1; }
.plv-tt-orador-info small { font-size: clamp(14px, 2vw, 20px); opacity: .85; }
.plv-tt-tempo {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px clamp(14px, 2.4vw, 30px);
	border-radius: 16px;
	background: rgba(255, 255, 255, .12);
	transition: background .3s;
}
.plv-tt-tempo span { font-size: clamp(12px, 1.6vw, 16px); text-transform: uppercase; letter-spacing: .06em; opacity: .9; text-align: center; }
.plv-tt-tempo strong {
	font-size: clamp(54px, 11vw, 130px);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}
.plv-tt-tempo.is-alerta { background: #b45309; }
.plv-tt-tempo.is-esgotado { background: #b91c1c; animation: plv-tt-pisca 1s steps(2, start) infinite; }
@keyframes plv-tt-pisca { to { background: #7f1d1d; } }
.plv-tt-aparte {
	margin-top: 16px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 20px;
	padding: 16px 20px;
	border-radius: 16px;
	border: 3px solid #f59e0b;
	background: #fffbeb;
	animation: plv-tt-chama 1.6s ease-in-out infinite;
}
.plv-tt-aparte.is-andamento { border-color: #16a34a; background: #f0fdf4; animation: none; }
@keyframes plv-tt-chama { 50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, .25); } }
.plv-tt-aparte img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.plv-tt-aparte-info { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.plv-tt-aparte-info span:first-child { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #92400e; font-weight: 700; }
.plv-tt-aparte.is-andamento .plv-tt-aparte-info span:first-child { color: #166534; }
.plv-tt-aparte-info strong { font-size: clamp(20px, 3vw, 30px); color: #0f172a; }
.plv-tt-aparte-tempo { font-size: clamp(18px, 2.6vw, 26px); font-weight: 700; color: #166534; font-variant-numeric: tabular-nums; }
.plv-tt-aparte-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.plv-tt-aparte-acoes .plv-btn { width: auto; flex: 1 1 auto; min-height: 58px; margin: 0; padding: 0 24px; font-size: 19px; }
.plv-tt-pauta {
	margin-top: 18px;
	padding: 16px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
}
.plv-tt-pauta h3 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.plv-tt-pauta-item + .plv-tt-pauta-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.plv-tt-pauta-item strong { display: block; font-size: clamp(19px, 2.6vw, 26px); color: var(--plv-primary, #0b3d91); }
.plv-tt-pauta-item small { display: block; margin-top: 2px; font-size: 15px; color: #475569; }
.plv-tt-pauta-item p { margin: 8px 0 10px; font-size: clamp(16px, 2.1vw, 21px); line-height: 1.45; color: #1e293b; }
@media (max-width: 700px) {
	.plv-tt-orador { flex-wrap: wrap; justify-content: center; text-align: center; }
	.plv-tt-orador-info { align-items: center; }
	.plv-tt-tempo { width: 100%; }
}

/* —— Fala de convidado no telão —— */
#plv-telao-convidado:not([style*="none"]) {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 0;
	gap: 3vh;
	text-align: center;
}
.plv-conv-cat {
	padding: .4em 1.4em;
	border-radius: 999px;
	background: var(--plv-primary, #0b3d91);
	border: 2px solid #c9a227;
	font-size: clamp(16px, 3.4vh, 40px);
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.plv-conv-corpo { display: flex; align-items: center; justify-content: center; gap: 4vw; }
.plv-telao .plv-conv-corpo img {
	width: 36vh;
	height: 36vh;
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
	border: 6px solid rgba(255, 255, 255, .3);
	flex-shrink: 0;
}
.plv-conv-info { display: flex; flex-direction: column; align-items: center; max-width: 52vw; }
#plv-conv-nome { overflow-wrap: anywhere; line-height: 1.15; }
.plv-conv-label { margin: 0 0 1vh; opacity: .75; letter-spacing: .12em; font-size: clamp(14px, 2.4vh, 28px); }
#plv-conv-timer { font-size: clamp(64px, 20vh, 240px); }

/* Painel do operador: fala de convidado */
.plv-op-convidado { margin-top: 16px; border-left: 5px solid #c9a227; }
.plv-op-convidado.is-em-fala { border-left-color: #1e8e3e; }
.plv-op-conv-titulo { margin: 0 0 4px; font-size: 1.15em; }
.plv-op-conv-campos { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 10px 0; }
.plv-op-conv-campos label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; flex: 1 1 220px; }
.plv-op-conv-campos select,
.plv-op-conv-campos input { margin: 0; width: 100%; }
.plv-op-input { padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 16px; box-sizing: border-box; }
.plv-op-conv-status { margin: 6px 0 8px; font-size: 1.05em; }
.plv-op-conv-relogio { font-size: 1.4em; font-variant-numeric: tabular-nums; }
.plv-op-conv-minutos { flex-wrap: wrap; gap: 6px; }
.plv-op-conv-minutos .plv-btn { min-width: 74px; }

/* —— Telão embutido na Live —— */
html.plv-embed .plv-btn-fullscreen,
html.plv-embed .plv-btn-fullscreen-flutuante,
html.plv-embed #plv-btn-fullscreen { display: none !important; }

/* —— Telão Live (/live) —— */
.plv-live {
	--plv-live-cor: #0b3d91;
	--plv-live-cam: 62%;
	--plv-live-fundo: #0a1630;
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background:
		radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--plv-live-cor) 55%, transparent), transparent 60%),
		linear-gradient(160deg, var(--plv-live-fundo), #050a18);
}
.plv-live-topo {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 1.2vw;
	padding: 1.4vh 2vw;
	background: rgba(0, 0, 0, .35);
	border-bottom: 3px solid #c9a227;
}
.plv-live-topo img { height: 6.5vh; width: auto; max-width: none; }
.plv-live-casa { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.plv-live-casa strong { font-size: clamp(16px, 3vh, 40px); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plv-live-casa span { font-size: clamp(12px, 1.9vh, 24px); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plv-live-meta { display: flex; align-items: center; gap: 1.2vw; }
.plv-live-meta strong { font-size: clamp(18px, 3.4vh, 44px); font-variant-numeric: tabular-nums; }
.plv-live-aovivo {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .35em .9em;
	border-radius: 999px;
	background: #d7263d;
	font-weight: 800;
	letter-spacing: .1em;
	font-size: clamp(12px, 2vh, 26px);
}
.plv-live-aovivo i { width: .65em; height: .65em; border-radius: 50%; background: #fff; animation: plv-live-pisca 1.2s infinite; }
@keyframes plv-live-pisca { 50% { opacity: .2; } }

.plv-live-corpo {
	flex: 1;
	min-height: 0;
	display: flex;
	gap: 1.2vw;
	padding: 1.6vh 1.2vw;
}
.plv-live-camera-direita .plv-live-corpo { flex-direction: row-reverse; }
.plv-live-esq {
	flex: 0 0 var(--plv-live-cam);
	display: flex;
	flex-direction: column;
	gap: 1.4vh;
	min-width: 0;
	justify-content: center;
}
.plv-live-camera {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	outline: 3px solid rgba(255, 255, 255, .12);
}
.plv-live-camera video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.plv-live-com-video .plv-live-camera video { display: block; }
.plv-live-camera-vazia {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .6vh;
	padding: 2vw;
	text-align: center;
	color: rgba(255, 255, 255, .55);
	background: repeating-linear-gradient(45deg, #0d1424, #0d1424 18px, #111a2e 18px, #111a2e 36px);
}
.plv-live-camera-vazia span { font-size: 7vh; }
.plv-live-camera-vazia strong { font-size: clamp(16px, 3vh, 36px); color: rgba(255, 255, 255, .8); }
.plv-live-camera-vazia small { font-size: clamp(11px, 1.7vh, 20px); max-width: 70%; }
.plv-live-com-video .plv-live-camera-vazia,
.plv-live-modo-chroma .plv-live-camera-vazia,
.plv-live-modo-transparente .plv-live-camera-vazia { display: none; }
.plv-live-modo-chroma .plv-live-camera { background: #00b140; outline: none; box-shadow: none; border-radius: 0; }

/* Transparente: só a janela da câmera fica vazada; o OBS coloca a câmera por baixo */
html.plv-live-transparente,
html.plv-live-transparente body { background: transparent !important; }
.plv-live-modo-transparente { background: transparent; }
.plv-live-modo-transparente .plv-live-camera {
	background: transparent;
	outline: none;
	box-shadow: 0 0 0 200vmax var(--plv-live-fundo);
	z-index: 0;
}
.plv-live-modo-transparente .plv-live-info,
.plv-live-modo-transparente .plv-live-telao { position: relative; z-index: 1; }

.plv-live-info {
	padding: 1.4vh 1.4vw;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	border-left: 6px solid #c9a227;
	min-width: 0;
}
.plv-live-sem-info .plv-live-info { display: none; }
.plv-live-info-rotulo {
	display: block;
	font-size: clamp(11px, 1.7vh, 22px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #f5d77a;
}
.plv-live-info strong { display: block; margin-top: .3vh; font-size: clamp(16px, 3.2vh, 42px); line-height: 1.15; }
.plv-live-info p {
	margin: .4vh 0 0;
	font-size: clamp(12px, 2vh, 26px);
	opacity: .85;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.plv-live-telao {
	flex: 1;
	min-width: 0;
	align-self: center;
	aspect-ratio: 16 / 9;
	max-height: 100%;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #0c0c0e;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.plv-live-telao iframe {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
	max-width: none !important;
	max-height: none !important;
	margin: 0;
	transform-origin: 0 0;
}

.plv-live-engrenagem {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 20;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 26px;
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s;
}
.plv-live-mouse .plv-live-engrenagem,
.plv-live-engrenagem:focus { opacity: 1; }
.plv-live-ajustes {
	position: fixed;
	right: 14px;
	bottom: 76px;
	z-index: 21;
	width: min(380px, 92vw);
	max-height: 80vh;
	overflow: auto;
	padding: 16px 18px;
	border-radius: 14px;
	background: #fff;
	color: #1e293b;
	box-shadow: 0 16px 50px rgba(0, 0, 0, .5);
}
.plv-live-ajustes h3 { margin: 0 0 10px; font-size: 18px; }
.plv-live-ajustes label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.plv-live-ajustes select { display: block; width: 100%; margin-top: 4px; padding: 6px 8px; font-size: 14px; }
.plv-live-ajustes-dica { font-size: 12px; color: #64748b; margin: 6px 0 10px; }
.plv-live-ajustes-acoes { display: flex; gap: 8px; justify-content: flex-end; }
.plv-live-ajustes-acoes .plv-btn { width: auto; margin: 0; }

/* Controles de tempo do orador */
.plv-op-orador-tempo { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #e0f2fe; color: #075985; font-weight: 700; font-variant-numeric: tabular-nums; }
.plv-op-orador-tempo:empty { display: none; }
.plv-op-orador-tempo.is-esgotado { background: #fee2e2; color: #991b1b; }
.plv-root .plv-btn.plv-btn-menos { background: #dc2626; color: #fff; border-color: #b91c1c; }
.plv-root .plv-btn.plv-btn-menos:hover { background: #b91c1c; }
.plv-op-tempo-manual { align-items: center; }
.plv-root .plv-op-input.plv-op-input-num { width: 76px; text-align: center; padding: 8px 6px; }
.plv-op-tribuna-fim { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: #fef9c3; color: #713f12; font-weight: 600; }

/* Tempo do último orador esgotado: aviso antes de mudar o telão para a Tribuna */
.plv-troca-alerta {
	position: sticky; top: 0; z-index: 51;
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin: 0 0 16px; padding: 14px 16px; border-radius: 14px;
	background: #dc2626; color: #fff; border: 3px solid #991b1b;
	box-shadow: 0 8px 24px rgba(153, 27, 27, .4);
}
.plv-troca-alerta.is-cancelada { background: #fff7ed; color: #7c2d12; border-color: #fb923c; box-shadow: none; }
.plv-troca-alerta-texto { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.plv-troca-alerta-rotulo { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; opacity: .9; }
.plv-troca-alerta-texto strong { font-size: 22px; font-weight: 800; }
.plv-troca-alerta-texto small { font-size: 14px; opacity: .9; }
#plv-troca-seg { display: inline-block; min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.plv-troca-alerta-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.plv-root .plv-troca-alerta .plv-btn { width: auto; margin: 0; padding: 12px 16px; font-size: 16px; font-weight: 800; border-radius: 10px; background: #fff; color: #7f1d1d; border: 0; }
.plv-root .plv-troca-alerta .plv-btn.plv-troca-cancelar { background: #facc15; color: #1c1917; font-size: 18px; padding: 12px 20px; }
.plv-root .plv-troca-alerta.is-cancelada .plv-btn { background: #0b3d91; color: #fff; }
.plv-root .plv-troca-alerta.is-cancelada .plv-btn.plv-btn-danger { background: #dc2626; }

/* Aparte: botão amarelo do vereador e alerta no topo do presidente/operador */
.plv-aparte-pedir {
	margin: 18px 0; padding: 16px; border-radius: 14px;
	background: #fffbeb; border: 2px solid #facc15; text-align: center;
}
.plv-aparte-orador { margin: 0 0 12px; font-size: 16px; color: #3f3f46; }
.plv-root .plv-btn.plv-btn-aparte {
	display: block; width: 100%; margin: 0; padding: 20px 16px;
	font-size: 22px; font-weight: 800; letter-spacing: .3px;
	background: #facc15; color: #1c1917; border: 2px solid #eab308; border-radius: 12px;
	box-shadow: 0 6px 18px rgba(234, 179, 8, .45);
	animation: plv-aparte-pulso 1.8s ease-in-out infinite;
}
.plv-root .plv-btn.plv-btn-aparte:hover:not(:disabled) { background: #fde047; }
.plv-root .plv-btn.plv-btn-aparte:active:not(:disabled) { transform: scale(.98); }
.plv-root .plv-btn.plv-btn-aparte.is-aguardando,
.plv-root .plv-btn.plv-btn-aparte:disabled {
	animation: none; opacity: 1; cursor: default; font-size: 18px;
	background: #fef3c7; color: #78350f; border-color: #fcd34d; box-shadow: none;
}
.plv-aparte-msg { margin: 10px 0 0; font-weight: 600; color: #b91c1c; }
.plv-aparte-msg:empty { display: none; }
@keyframes plv-aparte-pulso {
	0%, 100% { box-shadow: 0 6px 18px rgba(234, 179, 8, .45); }
	50% { box-shadow: 0 6px 30px rgba(234, 179, 8, .85); }
}

.plv-pres-voto-alerta {
	position: sticky; top: 0; z-index: 49;
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
	background: var(--plv-primary, #0b3d91); color: #fff; font-size: 18px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.plv-root .plv-pres-voto-alerta .plv-btn { width: auto; margin: 0; padding: 12px 20px; font-size: 18px; font-weight: 800; background: #fff; color: var(--plv-primary, #0b3d91); border-color: #fff; }

.plv-op-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.plv-op-cabecalho .plv-view-title { margin: 0; }
.plv-pres-modo { align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: #1f2937; user-select: none; }
.plv-pres-modo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plv-pres-modo-trilho { position: relative; width: 52px; height: 30px; border-radius: 15px; background: #cbd5e1; transition: background .2s; flex: 0 0 auto; }
.plv-pres-modo-trilho::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.plv-pres-modo input:checked + .plv-pres-modo-trilho { background: var(--plv-primary, #0b3d91); }
.plv-pres-modo input:checked + .plv-pres-modo-trilho::after { transform: translateX(22px); }
.plv-pres-modo input:focus-visible + .plv-pres-modo-trilho { outline: 3px solid rgba(11, 61, 145, .4); outline-offset: 2px; }

.plv-aparte-alerta {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin: 0 0 16px; padding: 14px 16px; border-radius: 14px;
	background: #facc15; color: #1c1917; border: 3px solid #ca8a04;
	box-shadow: 0 8px 24px rgba(202, 138, 4, .45);
	animation: plv-aparte-pulso 1.8s ease-in-out infinite;
}
.plv-root img.plv-aparte-alerta-foto {
	width: 64px; height: 64px; max-width: none; border-radius: 50%;
	object-fit: cover; border: 3px solid #fff; flex: 0 0 auto; background: #fff;
}
.plv-aparte-alerta-texto { flex: 1 1 200px; display: flex; flex-direction: column; line-height: 1.2; }
.plv-aparte-alerta-rotulo { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #713f12; }
.plv-aparte-alerta-texto strong { font-size: 24px; font-weight: 800; }
.plv-aparte-alerta-texto small { font-size: 14px; color: #422006; }
.plv-aparte-alerta-acoes { display: flex; gap: 10px; flex: 0 0 auto; }
.plv-root .plv-aparte-alerta .plv-btn { width: auto; margin: 0; padding: 14px 22px; font-size: 18px; font-weight: 800; border-radius: 10px; }
.plv-root .plv-aparte-alerta .plv-aparte-alerta-sim { background: #15803d; color: #fff; border: 0; }
.plv-root .plv-aparte-alerta .plv-aparte-alerta-nao { background: #fff; color: #7f1d1d; border: 2px solid #7f1d1d; }
