/* ==========================================================================
   Smart Localiza . v3.29.0 . manual da plataforma
   Indice (/manual/), capa de cada manual e capitulos. Carrega so nessas
   paginas (functions.php) e no editor de blocos quando a pagina e do manual
   (inc/manual.php). No editor o v3.css nao carrega, por isso as regras dos
   estilos de bloco (secao 6) trazem a cor de reserva dentro do var().
   ========================================================================== */

/* Layout: barra lateral de 252px + 52 de vao + coluna de 848px dentro dos
   1152px do .v3-wrap; texto corrido na medida de 36rem, fotos na coluna toda.
   O 848 tambem esta no SL_MAN_COLUNA (inc/manual.php), que monta o sizes. */
:root {
	/* Laranja dos numeros: o MESMO das bolinhas das fotos
	   (manual/ferramentas/marcar.js). Fixo nos dois temas, como o
	   --v3-map-pin, porque o numero e branco: branco sobre este da 4,71:1;
	   sobre o --v3-brand cheio daria 3,27:1 e reprovaria. */
	--v3-man-marca:  #C94A00;
	--v3-man-medida: 36rem;
	--v3-man-coluna: 848px;
}

/* --------------------------------------------------------------------------
   1. Topo da capa e do capitulo
   -------------------------------------------------------------------------- */

.v3-man-topo {
	padding: 28px 0 44px;
	border-bottom: 1px solid var(--v3-line);
}

/* Trilha a esquerda, busca a direita; no celular a busca desce. */
.v3-man-barra {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 32px;
	margin-bottom: 40px;
}

.v3-man-trilha {
	min-width: 0;
	font-family: var(--v3-mono);
	font-size: 13px;
	line-height: 1.5;
}
.v3-man-trilha ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v3-man-trilha li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--v3-ink-3);
}
.v3-man-trilha a {
	color: var(--v3-ink-2);
	text-decoration: none;
}
.v3-man-trilha a:hover {
	color: var(--v3-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.v3-man-topo-texto { max-width: 780px; }

/* O numero do capitulo e a unica informacao de servico acima do titulo:
   mono pequeno, como toda meta do site, na cor de texto da marca. */
.v3-man-numero {
	margin: 0 0 12px;
	font-family: var(--v3-mono);
	font-size: 13px;
	line-height: 1.4;
	color: var(--v3-brand-text);
}

.v3-man-titulo {
	margin: 0;
	font-size: clamp(2rem, 3.4vw + .7rem, 3.2rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	color: var(--v3-ink);
	text-wrap: balance;
}

.v3-man-resumo {
	max-width: 40em;
	margin: 16px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--v3-ink-2);
	text-wrap: pretty;
}

.v3-man-meta {
	margin: 18px 0 0;
	font-family: var(--v3-mono);
	font-size: 13px;
	line-height: 1.5;
	color: var(--v3-ink-3);
}
.v3-man-meta time { color: var(--v3-ink-2); }

/* "Onde fica": o caminho ate a tela, do jeito que o cliente ve. E o detalhe
   que so manual de software tem, entao ganha caixa propria. */
.v3-man-onde {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 24px 0 0;
	padding: 9px 14px;
	background: var(--v3-page-alt);
	border: 1px solid var(--v3-line);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.45;
}
.v3-man-onde-rotulo {
	font-family: var(--v3-mono);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--v3-ink-3);
}
.v3-man-onde-caminho {
	font-weight: 600;
	color: var(--v3-ink);
}
.v3-man-onde-seta {
	margin: 0 8px;
	font-weight: 400;
	color: var(--v3-ink-3);
}

/* --------------------------------------------------------------------------
   2. Busca (campo e sugestoes)
   -------------------------------------------------------------------------- */

.v3-man-busca {
	position: relative;
	flex: 0 1 340px;
	width: 100%;
	max-width: 340px;
}
.v3-man-busca--grande {
	flex: none;
	max-width: 640px;
	margin-top: 32px;
}

/* A borda do campo vai em --v3-ink-3 pelo mesmo motivo da busca do 404
   (v3.css): o hairline de card nao chega nos 3:1 que contorno de controle
   precisa. */
.v3-man-busca-campo {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 4px 0 12px;
	background: var(--v3-card);
	border: 1px solid var(--v3-ink-3);
	border-radius: 8px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.v3-man-busca-campo:focus-within {
	border-color: var(--v3-ink);
	box-shadow: 0 0 0 3px var(--v3-brand-soft);
}
.v3-man-busca--grande .v3-man-busca-campo {
	height: 56px;
	padding: 0 6px 0 16px;
	border-radius: 10px;
}

.v3-man-busca-lupa {
	flex: none;
	color: var(--v3-ink-3);
}

/* O ELEMENTO no seletor nao e enfeite: o main-final.css pinta
   input[type="search"] e input:focus com (0,1,1), e a classe sozinha perderia
   para eles o padding, a borda, o raio e o fundo. */
input.v3-man-busca-input,
input.v3-man-busca-input:focus {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 100%;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	font-family: var(--v3-body);
	font-size: 15px;
	color: var(--v3-ink);
	-webkit-appearance: none;
	appearance: none;
}
.v3-man-busca--grande input.v3-man-busca-input { font-size: 17px; }
input.v3-man-busca-input::placeholder { color: var(--v3-ink-3); opacity: 1; }

.v3-man-busca-botao {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	background: transparent;
	border: 0;
	border-radius: 6px;
	font-family: var(--v3-body);
	font-size: 16px;
	font-weight: 600;
	color: var(--v3-ink-2);
	cursor: pointer;
}
.v3-man-busca-botao:hover { background: var(--v3-page-alt); color: var(--v3-ink); }
.v3-man-busca-botao:focus-visible { outline: 2px solid var(--v3-brand); outline-offset: 1px; }
.v3-man-busca--grande .v3-man-busca-botao {
	height: 44px;
	padding: 0 20px;
	background: var(--v3-brand);
	border-radius: 7px;
	font-size: 15px;
	color: #fff;
}
.v3-man-busca--grande .v3-man-busca-botao:hover { background: var(--v3-brand-hover); color: #fff; }

/* Sugestoes: caixa solta embaixo do campo. A do topo e mais larga que o
   campo (340px) e encosta na direita dele, senao o trecho de texto de cada
   resultado nao cabe. */
.v3-man-sugestoes {
	position: absolute;
	z-index: 40;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: min(70vh, 480px);
	overflow-y: auto;
	padding: 6px;
	background: var(--v3-card);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
	box-shadow: var(--v3-shadow-menu);
}
.v3-man-busca--compacta .v3-man-sugestoes {
	left: auto;
	width: min(460px, calc(100vw - 32px));
}

.v3-man-sugestao {
	display: grid;
	gap: 3px;
	padding: 10px 12px;
	border-radius: 7px;
	color: var(--v3-ink);
	text-decoration: none;
	scroll-margin: 6px;
}
.v3-man-sugestao:hover,
.v3-man-sugestao[aria-selected="true"] { background: var(--v3-page-alt); }
.v3-man-sugestao-m {
	font-family: var(--v3-mono);
	font-size: 12px;
	line-height: 1.4;
	color: var(--v3-ink-3);
}
.v3-man-sugestao-t {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}
.v3-man-sugestao-x {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--v3-ink-2);
}
.v3-man-sugestoes mark {
	padding: 0 1px;
	background: var(--v3-brand-soft);
	border-radius: 3px;
	color: inherit;
}
.v3-man-sugestoes-vazio {
	margin: 0;
	padding: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--v3-ink-2);
}
.v3-man-sugestoes-todas {
	display: block;
	margin-top: 4px;
	padding: 10px 12px 6px;
	border-top: 1px solid var(--v3-line);
	font-size: 14px;
	font-weight: 600;
	color: var(--v3-brand-text);
	text-decoration: none;
}
.v3-man-sugestoes-todas:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Grade do capitulo e barra lateral
   -------------------------------------------------------------------------- */

.v3-man { padding: 44px 0 88px; }

/* align-items start e obrigatorio: sem ele o item sticky estica na altura da
   coluna de texto e nunca gruda (mesma conta do .v3-legal-grid). */
.v3-man-grade {
	display: grid;
	grid-template-columns: 252px minmax(0, 1fr);
	gap: 52px;
	align-items: start;
}

.v3-man-indice {
	min-width: 0;
	background: var(--v3-card);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
}

.v3-man-indice-abre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	font-family: var(--v3-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--v3-ink);
	cursor: pointer;
	list-style: none;
}
.v3-man-indice-abre::-webkit-details-marker { display: none; }
.v3-man-indice-abre::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-right: 3px;
	border: solid var(--v3-ink-3);
	border-width: 0 2px 2px 0;
	transform: translateY(-2px) rotate(45deg);
}
.v3-man-indice[open] > .v3-man-indice-abre::after { transform: translateY(2px) rotate(-135deg); }

.v3-man-indice-miolo { padding: 0 10px 14px; }

/* Nome do manual em cima da lista: so no desktop, onde o <summary> some. */
.v3-man-indice-rotulo {
	display: none;
	margin: 0 0 10px;
	padding: 0 10px;
	font-family: var(--v3-mono);
	font-size: 13px;
	line-height: 1.4;
}
.v3-man-indice-rotulo a { color: var(--v3-ink-3); text-decoration: none; }
.v3-man-indice-rotulo a:hover { color: var(--v3-ink); }

.v3-man-caps {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-man-cap-link {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 7px;
	font-size: 14.5px;
	line-height: 1.35;
	color: var(--v3-ink-2);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.v3-man-cap-link:hover { background: var(--v3-page-alt); color: var(--v3-ink); }
.v3-man-cap-n {
	flex: none;
	min-width: 1.5em;
	font-family: var(--v3-mono);
	font-size: 12px;
	color: var(--v3-ink-3);
	font-variant-numeric: tabular-nums;
}
.v3-man-cap.is-atual > .v3-man-cap-link {
	background: var(--v3-page-alt);
	color: var(--v3-ink);
	font-weight: 600;
}
.v3-man-cap.is-atual .v3-man-cap-n { color: var(--v3-brand-text); }

/* Secoes do capitulo aberto: trilho fino como o sumario da pagina legal; a
   secao que esta na tela acende o trilho na cor da marca (manual.js). */
.v3-man-secoes {
	display: grid;
	margin: 4px 0 10px 30px;
	padding: 0;
	list-style: none;
}
.v3-man-secoes a {
	display: block;
	padding: 5px 10px;
	border-left: 2px solid var(--v3-line);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--v3-ink-3-strong);
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}
.v3-man-secoes a:hover { border-left-color: var(--v3-line-strong); color: var(--v3-ink); }
.v3-man-secoes a.is-ativa {
	border-left-color: var(--v3-brand);
	color: var(--v3-ink);
	font-weight: 600;
}

.v3-man-cap-link:focus-visible,
.v3-man-secoes a:focus-visible,
.v3-man-indice-rotulo a:focus-visible,
.v3-man-trilha a:focus-visible {
	outline: 2px solid var(--v3-brand);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Texto do capitulo (HTML que vem do editor: seletores de tag)
   -------------------------------------------------------------------------- */

.v3-man-artigo { min-width: 0; }

.v3-man-corpo {
	font-size: 17px;
	line-height: 1.7;
	color: var(--v3-ink-2);
}
.v3-man-corpo > * { max-width: var(--v3-man-medida); }
.v3-man-corpo > :first-child { margin-top: 0; }

/* O que pede a coluna toda: titulo de secao (o fio dele atravessa a coluna),
   foto e o par foto + legenda. */
.v3-man-corpo > h2,
.v3-man-corpo > .wp-block-image,
.v3-man-corpo > figure,
.v3-man-corpo > .v3-man-par { max-width: none; }

/* Cada <h2> abre um assunto: fio em cima e respiro grande, que e o que
   avisa "comecou outro assunto" para quem chega pelo link da barra lateral. */
.v3-man-corpo h2 {
	margin: 64px 0 16px;
	padding-top: 30px;
	border-top: 1px solid var(--v3-line);
	font-size: clamp(1.5rem, 1.2vw + 1rem, 1.9rem);
	line-height: 1.15;
	color: var(--v3-ink);
	scroll-margin-top: 16px;
	text-wrap: balance;
}
.v3-man-corpo > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.v3-man-corpo h3 {
	margin: 36px 0 10px;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--v3-ink);
	scroll-margin-top: 16px;
}

/* color: inherit tira o paragrafo do "p { color: var(--sl-text-2) }" solto
   do main-final.css (mesma historia do .v3-legal-corpo). */
.v3-man-corpo p { margin: 0 0 18px; color: inherit; }
.v3-man-corpo strong { color: var(--v3-ink); font-weight: 600; }
.v3-man-corpo a {
	color: var(--v3-ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--v3-line-strong);
	text-underline-offset: 3px;
}
.v3-man-corpo a:hover { text-decoration-color: var(--v3-ink); }

.v3-man-corpo ul,
.v3-man-corpo ol {
	margin: 0 0 18px;
	padding-left: 22px;
}
.v3-man-corpo li { margin-bottom: 8px; }
.v3-man-corpo li::marker { color: var(--v3-ink-3); }

.v3-man-corpo code {
	padding: 2px 6px;
	background: var(--v3-page-alt);
	border: 1px solid var(--v3-line);
	border-radius: 5px;
	font-family: var(--v3-mono);
	font-size: .86em;
	color: var(--v3-ink);
}

/* ---- fotos ---- */

.v3-man-corpo .wp-block-image { margin: 8px 0 22px; }

/* Fundo branco na foto porque a captura e da plataforma no tema claro: no
   tema escuro do site o fio da moldura sozinho some contra o branco. */
.v3-man-corpo .wp-block-image img {
	display: block;
	max-width: 100%;
	height: auto;
	background: #fff;
	border: 1px solid var(--v3-line-strong);
	border-radius: 10px;
}

/* A foto abre ampliada: o manual.js poe um botao em volta dela. Ela nao e
   link para o arquivo porque a protecao de imagem do site (v3.js) barra esse
   clique com o aviso "Imagem protegida". Sem JavaScript a foto so aparece. */
.v3-man-corpo .v3-man-ampliar {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 10px;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: zoom-in;
	vertical-align: top;
}
.v3-man-corpo .v3-man-ampliar::after {
	content: "Ampliar";
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 10px;
	background: rgba(17, 24, 39, .82);
	border-radius: 6px;
	font-family: var(--v3-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	opacity: 0;
	transition: opacity .15s ease;
	pointer-events: none;
}
.v3-man-corpo .v3-man-ampliar:hover::after,
.v3-man-corpo .v3-man-ampliar:focus-visible::after { opacity: 1; }
.v3-man-corpo .v3-man-ampliar:focus-visible {
	outline: 2px solid var(--v3-brand);
	outline-offset: 3px;
}
/* No celular nao existe passar o mouse: o selo fica sempre, menor, para a
   pessoa saber que a foto pequena abre grande. */
@media (hover: none) {
	.v3-man-corpo .v3-man-ampliar::after {
		right: 6px;
		bottom: 6px;
		padding: 3px 7px;
		font-size: 11px;
		opacity: 1;
	}
}

.v3-man-corpo .wp-block-image figcaption {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--v3-ink-3);
}

/* Par foto estreita + legenda lado a lado (grupo com a classe v3-man-par):
   o menu tem 690px de altura e so 224 de largura; embaixo dele a legenda
   ficaria longe dos numeros.

   A grade vai na caixa .wp-block-group__inner-container, e nao no grupo: em
   tema classico (sem theme.json, que e o caso deste) o WordPress embrulha os
   blocos de dentro do grupo nessa caixa. Com a grade no grupo, a caixa era o
   unico filho, caia na coluna max-content e esticava ate a linha mais longa
   da legenda, estourando a coluna do texto. A segunda regra cobre o grupo
   sem a caixa, se um dia o tema ganhar theme.json; fica separada porque o
   :has() desconhecido derrubaria a regra inteira. Os filhos zeram as margens
   porque o layout do grupo (is-layout-flow) poe 24px em cima de cada um. */
.v3-man-corpo .v3-man-par { margin: 8px 0 26px; }
.v3-man-corpo .v3-man-par > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 20px 40px;
	align-items: start;
}
.v3-man-corpo .v3-man-par:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 20px 40px;
	align-items: start;
}
.v3-man-corpo .v3-man-par > *,
.v3-man-corpo .v3-man-par > .wp-block-group__inner-container > * { margin: 0; }
.v3-man-corpo .v3-man-par .wp-block-image { max-width: 100%; }

/* --------------------------------------------------------------------------
   5. Fim do capitulo: data, anterior e proximo, ajuda
   -------------------------------------------------------------------------- */

.v3-man-fim {
	display: grid;
	gap: 22px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--v3-line);
}

.v3-man-atualizado {
	margin: 0;
	font-family: var(--v3-mono);
	font-size: 13px;
	line-height: 1.5;
	color: var(--v3-ink-3);
}
.v3-man-atualizado time { color: var(--v3-ink-2); }

.v3-man-vizinhos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.v3-man-vizinho {
	display: grid;
	align-content: start;
	gap: 4px;
	padding: 16px 18px;
	background: var(--v3-card);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
	color: var(--v3-ink);
	text-decoration: none;
	transition: border-color .15s ease;
}
.v3-man-vizinho:hover { border-color: var(--v3-line-strong); }
.v3-man-vizinho:focus-visible { outline: 2px solid var(--v3-brand); outline-offset: 2px; }
.v3-man-vizinho--depois {
	grid-column: 2;
	text-align: right;
}
.v3-man-vizinho-rot {
	font-family: var(--v3-mono);
	font-size: 12px;
	line-height: 1.4;
	color: var(--v3-ink-3);
}
.v3-man-vizinho-t {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.v3-man-ajuda {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin-top: 56px;
	padding: 22px 24px;
	background: var(--v3-page-alt);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
}
.v3-man-fim .v3-man-ajuda { margin-top: 0; }
.v3-man-ajuda-texto { flex: 1 1 360px; min-width: 0; }
.v3-man-ajuda-titulo {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--v3-ink);
}
.v3-man-ajuda-txt {
	max-width: 44em;
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--v3-ink-2);
}
.v3-man-ajuda-btn { flex: none; }

/* --------------------------------------------------------------------------
   6. Estilos de bloco do manual (front e editor)
   -------------------------------------------------------------------------- */

/* Legenda da foto: o numero de cada item e a bolinha da foto. O contador e
   proprio (e nao o list-item) para funcionar igual dentro do par em grade e
   no editor. */
ol.is-style-man-legenda {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	counter-reset: man-legenda;
	font-size: 16px;
	line-height: 1.6;
}
ol.is-style-man-legenda > li {
	position: relative;
	min-height: 24px;
	margin: 0 0 10px;
	padding-left: 38px;
	counter-increment: man-legenda;
	break-inside: avoid;
}
ol.is-style-man-legenda > li::before {
	content: counter(man-legenda);
	position: absolute;
	left: 0;
	top: 1px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--v3-man-marca, #C94A00);
	font-family: var(--v3-body, sans-serif);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

/* Passo a passo: numero vazado e um fio ligando um passo ao outro. */
ol.is-style-man-passos {
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	counter-reset: man-passo;
}
ol.is-style-man-passos > li {
	position: relative;
	margin: 0;
	padding: 1px 0 20px 46px;
	counter-increment: man-passo;
}
ol.is-style-man-passos > li::before {
	content: counter(man-passo);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	box-sizing: border-box;
	border: 1.5px solid var(--v3-ink-3, #6B7280);
	border-radius: 50%;
	background: var(--v3-card, #fff);
	font-family: var(--v3-mono, monospace);
	font-size: 13px;
	font-weight: 600;
	line-height: 27px;
	text-align: center;
	color: var(--v3-ink, #111827);
}
ol.is-style-man-passos > li::after {
	content: "";
	position: absolute;
	left: 14.5px;
	top: 34px;
	bottom: 4px;
	width: 1px;
	background: var(--v3-line-strong, #C9D0D8);
}
ol.is-style-man-passos > li:last-child { padding-bottom: 0; }
ol.is-style-man-passos > li:last-child::after { display: none; }

/* Dica e Atencao: caixa com o rotulo em cima, escrito pelo CSS (no editor a
   pessoa escolhe o estilo e o rotulo aparece sozinho). */
p.is-style-man-dica,
p.is-style-man-atencao {
	margin: 24px 0;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 16px;
	line-height: 1.6;
}
p.is-style-man-dica {
	background: var(--v3-page-alt, #F5F6F8);
	border: 1px solid var(--v3-line, #E4E7EB);
	color: var(--v3-ink-2, #4B5563);
}
p.is-style-man-atencao {
	background: var(--v3-brand-soft, rgba(241, 96, 0, .10));
	border: 1px solid rgba(241, 96, 0, .32);
	color: var(--v3-ink, #111827);
}
p.is-style-man-dica::before,
p.is-style-man-atencao::before {
	display: block;
	margin-bottom: 4px;
	font-family: var(--v3-mono, monospace);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
}
p.is-style-man-dica::before { content: "Dica"; color: var(--v3-ink-3, #6B7280); }
p.is-style-man-atencao::before { content: "Atenção"; color: var(--v3-brand-text, #B84A00); }

/* --------------------------------------------------------------------------
   7. Indice (/manual/), capa e busca
   -------------------------------------------------------------------------- */

.v3-man-heroi {
	padding: 72px 0 52px;
	border-bottom: 1px solid var(--v3-line);
}
.v3-man-heroi-texto { max-width: 760px; }
.v3-man-heroi-titulo {
	margin: 0;
	font-size: clamp(2.2rem, 4.4vw + .6rem, 3.6rem);
	line-height: 1.02;
	letter-spacing: -.025em;
	color: var(--v3-ink);
	text-wrap: balance;
}
.v3-man-heroi-lead {
	max-width: 36em;
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--v3-ink-2);
	text-wrap: pretty;
}

.v3-man-bloco-titulo {
	margin: 0 0 20px;
	font-size: clamp(1.35rem, 1vw + 1rem, 1.6rem);
	line-height: 1.2;
	color: var(--v3-ink);
}
.v3-man--capa .v3-man-corpo--capa { margin-bottom: 48px; }

.v3-man-grupo + .v3-man-grupo { margin-top: 72px; }
.v3-man-grupo-cabeca {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 28px;
	margin-bottom: 22px;
}
.v3-man-grupo-titulo {
	margin: 0;
	font-size: clamp(1.5rem, 1.6vw + .9rem, 2rem);
	line-height: 1.1;
}
.v3-man-grupo-titulo a { color: var(--v3-ink); text-decoration: none; }
.v3-man-grupo-titulo a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.v3-man-grupo-texto {
	max-width: 42em;
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--v3-ink-2);
}
.v3-man-grupo-meta {
	margin: 0;
	font-family: var(--v3-mono);
	font-size: 13px;
	color: var(--v3-ink-3);
}

/* Cartoes dos capitulos: o cartao inteiro e o link. */
.v3-man-cartoes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v3-man-cartoes > li { display: flex; }
.v3-man-cartao {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	padding: 20px 22px 22px;
	background: var(--v3-card);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
	color: var(--v3-ink);
	text-decoration: none;
	transition: border-color .15s ease;
}
.v3-man-cartao:hover { border-color: var(--v3-line-strong); }
.v3-man-cartao:focus-visible { outline: 2px solid var(--v3-brand); outline-offset: 2px; }
.v3-man-cartao-n {
	font-family: var(--v3-mono);
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--v3-brand-text);
}
.v3-man-cartao-t {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--v3-ink);
}
.v3-man-cartao-x {
	font-size: 15px;
	line-height: 1.55;
	color: var(--v3-ink-2);
}

.v3-man-resultados {
	display: grid;
	gap: 10px;
	max-width: 780px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.v3-man-resultado {
	display: grid;
	gap: 4px;
	padding: 16px 20px;
	background: var(--v3-card);
	border: 1px solid var(--v3-line);
	border-radius: 10px;
	color: var(--v3-ink);
	text-decoration: none;
	transition: border-color .15s ease;
}
.v3-man-resultado:hover { border-color: var(--v3-line-strong); }
.v3-man-resultado:focus-visible { outline: 2px solid var(--v3-brand); outline-offset: 2px; }
.v3-man-resultado-m {
	font-family: var(--v3-mono);
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--v3-ink-3);
}
.v3-man-resultado-t {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}
.v3-man-resultado-x {
	font-size: 15px;
	line-height: 1.55;
	color: var(--v3-ink-2);
}

.v3-man-vazio {
	max-width: 40em;
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--v3-ink-2);
}

/* --------------------------------------------------------------------------
   8. Foto ampliada (<dialog> do manual.js)
   -------------------------------------------------------------------------- */

/* Fundo escuro fixo nos dois temas: e uma sala de projecao, nao uma secao
   do site. */
.v3-man-zoom {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: #fff;
	overflow: hidden;
}
.v3-man-zoom::backdrop { background: rgba(8, 10, 13, .9); }
.v3-man-zoom-miolo {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: calc(64px + env(safe-area-inset-top, 0px)) 20px calc(52px + env(safe-area-inset-bottom, 0px));
	overflow: auto;
	overscroll-behavior: contain;
}
.v3-man-zoom img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 128px);
	width: auto;
	height: auto;
	background: #fff;
	border-radius: 6px;
	cursor: zoom-in;
}
.v3-man-zoom.is-real .v3-man-zoom-miolo { place-items: start; }
.v3-man-zoom.is-real img { max-width: none; max-height: none; cursor: zoom-out; }
.v3-man-zoom-fechar {
	position: fixed;
	top: calc(14px + env(safe-area-inset-top, 0px));
	right: calc(14px + env(safe-area-inset-right, 0px));
	z-index: 2;
	padding: 9px 16px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 8px;
	font-family: var(--v3-body);
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
}
.v3-man-zoom-fechar:hover { background: rgba(255, 255, 255, .2); }
.v3-man-zoom-fechar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.v3-man-zoom-dica {
	position: fixed;
	left: 50%;
	bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%);
	margin: 0;
	font-family: var(--v3-mono);
	font-size: 12.5px;
	color: rgba(255, 255, 255, .75);
	white-space: nowrap;
}
html.v3-man-zoom-aberto { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. Larguras
   -------------------------------------------------------------------------- */

/* Desktop: a barra lateral gruda e mostra a lista sem o botao do <details>.
   O ::details-content mostra o conteudo mesmo com o <details> fechado; onde o
   navegador nao conhece o seletor, a regra inteira cai e o manual.js abre o
   <details>. As outras regras ficam separadas desta de proposito: um seletor
   desconhecido derruba a regra em que esta, e so ela. */
@media (min-width: 1001px) {
	.v3-man-indice {
		position: sticky;
		top: 88px;
		max-height: calc(100vh - 112px);
		overflow-y: auto;
		overscroll-behavior: contain;
		background: none;
		border: 0;
		border-radius: 0;
	}
	.v3-man-indice::details-content { content-visibility: visible; }
	.v3-man-indice-abre { display: none; }
	.v3-man-indice-miolo { padding: 0; }
	.v3-man-indice-rotulo { display: block; }
}

@media (max-width: 1000px) {
	.v3-man-grade {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.v3-man-cartoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.v3-man-corpo .v3-man-par > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); }
	.v3-man-corpo .v3-man-par:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
	.v3-man-topo { padding: 20px 0 32px; }
	.v3-man-barra { margin-bottom: 28px; }
	.v3-man-busca { flex-basis: 100%; max-width: none; }
	.v3-man-busca--compacta .v3-man-sugestoes { left: 0; width: auto; }
	.v3-man-heroi { padding: 48px 0 36px; }
	.v3-man-resumo,
	.v3-man-heroi-lead { font-size: 17px; }
	.v3-man { padding: 28px 0 56px; }
	.v3-man-corpo { font-size: 16px; line-height: 1.68; }
	.v3-man-corpo h2 { margin-top: 48px; padding-top: 24px; }
	.v3-man-cartoes { grid-template-columns: minmax(0, 1fr); }
	.v3-man-vizinhos { grid-template-columns: minmax(0, 1fr); }
	.v3-man-vizinho--depois { grid-column: auto; }
	.v3-man-ajuda { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.v3-man-cap-link,
	.v3-man-secoes a,
	.v3-man-busca-campo,
	.v3-man-cartao,
	.v3-man-vizinho,
	.v3-man-resultado,
	.v3-man-corpo .v3-man-ampliar::after { transition: none; }
}

/* Manual impresso: so o texto e as fotos. */
@media print {
	.v3-man-busca,
	.v3-man-indice,
	.v3-man-vizinhos,
	.v3-man-ajuda,
	.v3-man-corpo .v3-man-ampliar::after { display: none; }
	.v3-man-grade { display: block; }
	.v3-man-corpo > * { max-width: none; }
}
