body.precadastro-page {
	--pc-blue: #123f82;
	--pc-green: #168447;
	--pc-ink: #202b50;
	--pc-muted: #526175;
	--pc-line: #dce3eb;
	--pc-danger: #b42335;
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	color: var(--pc-ink);
	background:
			radial-gradient(ellipse at 10% 10%, rgba(14, 66, 145, .13), transparent 55%),
			radial-gradient(ellipse at 90% 90%, rgba(22, 163, 74, .12), transparent 55%),
			#f8fafc;
	font-family: var(--bs-body-font-family, system-ui, -apple-system, "Segoe UI", sans-serif);
	line-height: 1.5;
}

.precadastro-page *, .precadastro-page *::before, .precadastro-page *::after {
	box-sizing: border-box;
}

.pc-container {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 2.5rem 1rem;
}

.pc-card {
	width: 100%;
	max-width: 840px;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--pc-line);
	border-radius: 1.5rem;
	box-shadow: 0 16px 55px rgba(0, 0, 0, .07);
	overflow: hidden;
}

.pc-topbar {
	height: 6px;
	background: linear-gradient(90deg, #123f82 0%, #123f82 40%, #168447 60%, #168447 100%);
}

.pc-header {
	padding: 2.15rem 2.5rem 1.65rem;
	text-align: center;
	border-bottom: 1px solid var(--pc-line);
	a {
		text-decoration: none;
		color: inherit;
	}
}

.pc-logo {
	display: block;
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin: 0 auto .9rem;
}

.pc-brand {
	margin: 0 0 .2rem;
	color: var(--pc-blue);
	font-size: .875rem;
	font-weight: 700;
}

.pc-location {
	margin: 0 0 1.2rem;
	color: var(--pc-muted);
	font-size: .8125rem;
}

.pc-title {
	margin: 0 0 .6rem;
	color: var(--pc-ink);
	font-size: clamp(1.65rem, 4.5vw, 2.1rem);
	font-weight: 750;
	letter-spacing: -.035em;
	line-height: 1.2;
}

.pc-intro {
	max-width: 560px;
	margin: 0 auto;
	color: var(--pc-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.pc-content { padding: 1.65rem 2.5rem 2rem; }

.pc-notice {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	padding: 1rem;
	margin-bottom: 1.6rem;
	border: 1px solid #dce8e3;
	border-radius: 1rem;
	background: #f3f8f5;
}

.pc-notice-icon, .pc-section-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: .75rem;
	background: #eaf0f9;
	color: var(--pc-blue);
	font-size: 1.2rem;
}

.pc-notice-icon { background: #e2f1e7; color: #146b3d; }
.pc-notice strong { display: block; margin-bottom: .2rem; font-size: .95rem; }
.pc-notice p { margin: 0; color: var(--pc-muted); font-size: .875rem; line-height: 1.6; }
.pc-required-note { margin: 0 0 1.2rem; font-size: .85rem; color: var(--pc-muted); }
.precadastro-page .text-danger { color: var(--pc-danger) !important; }

.pc-section { min-width: 0; padding: 0 0 1.6rem; }
.pc-section + .pc-section {
	border-top: 1px solid var(--pc-line);
	padding-top: 1.6rem;
}

.pc-section-heading {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-bottom: 1.25rem;
}

.pc-section-heading h2 {
	color: var(--pc-ink);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 .2rem;
}

.pc-section-heading p {
	color: var(--pc-muted);
	font-size: .85rem;
	line-height: 1.5;
	margin: 0;
}

.pc-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.15rem 1rem;
}
.pc-field { grid-column: span 12; min-width: 0; }
.pc-span-5 { grid-column: span 5; }
.pc-span-6 { grid-column: span 6; }
.pc-span-7 { grid-column: span 7; }

.precadastro-page .form-label {
	display: inline-block;
	font-size: .925rem;
	font-weight: 650;
	line-height: 1.45;
	margin: 0 0 .4rem;
	color: var(--pc-ink);
}

.pc-optional { color: var(--pc-muted); font-size: .8rem; font-weight: 400; }
.pc-cpf-info { color: var(--pc-blue); margin-left: .2rem; font-size: .85rem; }

.precadastro-page .form-control {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 48px;
	padding: .72rem .85rem;
	border: 1px solid #aebccc;
	border-radius: .65rem;
	color: var(--pc-ink);
	background-color: #fff;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.precadastro-page .form-control::placeholder { color: #657386; opacity: 1; }
.precadastro-page .form-control:focus {
	border-color: var(--pc-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(18, 63, 130, .17);
}
.precadastro-page input[type="date"] { color-scheme: light; }
.precadastro-page textarea.form-control { min-height: 115px; resize: vertical; }

.precadastro-page .form-text {
	display: block;
	margin: .4rem 0 0;
	color: var(--pc-muted);
	font-size: .8125rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.precadastro-page .d-none { display: none !important; }
.pc-age {
	display: flex;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: .7rem .85rem;
	border-radius: .65rem;
	background: #f3f6fa;
}

.pc-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--pc-line);
	padding-top: 1.4rem;
}

.pc-actions .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: .55rem;
	min-height: 48px;
	padding: .75rem 1.2rem;
	border: 1px solid transparent;
	border-radius: .7rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.pc-actions .pc-back { color: var(--pc-muted); background: #fff; border-color: var(--pc-line); }
.pc-actions .pc-back:hover { color: var(--pc-ink); background: #f3f6fa; border-color: #aebccc; }
.pc-actions .pc-submit { color: #fff; background: #14753f; border-color: #14753f; }
.pc-actions .pc-submit:hover { color: #fff; background: #105c32; border-color: #105c32; }
.pc-actions .btn:focus-visible { outline: 3px solid var(--pc-blue); outline-offset: 3px; }

.pc-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .7rem;
	padding: 1.1rem 1.5rem;
	background: #f5f7fa;
	border-top: 1px solid var(--pc-line);
	color: var(--pc-muted);
	font-size: .8rem;
	line-height: 1.45;
}
.pc-footer strong { display: block; color: var(--pc-ink); }
.pc-footer img { flex-shrink: 0; width: 35px; height: 35px; object-fit: contain; }
.footer-text { text-align: center; }

.pc-alert { margin-bottom: 1.5rem; border-radius: .75rem; overflow-wrap: anywhere; }

@media (max-width: 575.98px) {
	.pc-container { padding: 1rem .75rem; }
	.pc-card { border-radius: 1.1rem; }
	.pc-header { padding: 1.6rem 1.1rem 1.4rem; }
	.pc-logo { width: 72px; height: 72px; }
	.pc-content { padding: 1.2rem 1rem 1.5rem; }
	.pc-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.pc-field { grid-column: 1 / -1; }
	.pc-notice { gap: .65rem; padding: .85rem; }
	.pc-notice-icon, .pc-section-icon { width: 38px; height: 38px; }
	.pc-section-heading { align-items: flex-start; gap: .65rem; }
	.pc-actions { flex-direction: column; align-items: stretch; gap: .65rem; }
	.pc-actions .btn { width: 100%; }
	.pc-footer { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.precadastro-page .form-control, .pc-actions .btn { transition: none; }
}

/* Componentes específicos da verificação de ofícios. */
.panel-heading { margin-bottom: 1.35rem; }
.panel-heading h2 { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 700; color: var(--pc-ink); }
.panel-heading p, .method p { color: var(--pc-muted); font-size: .85rem; line-height: 1.5; margin: 0; }
.methods { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 1.4rem; }
.method { display: flex; flex-direction: column; min-width: 0; }
.method .pc-section-heading { margin-bottom: .65rem; }
.method > p { margin-bottom: 1rem; }
.method-divider { position: relative; background: var(--pc-line); }
.method-divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: .45rem .25rem; color: var(--pc-muted); font-size: .72rem; font-weight: 700; }
.method form { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.method input[type="text"] { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; }
.method input[type="file"] { padding: .28rem .5rem; font-size: .85rem; }
.method input[type="file"]::file-selector-button { margin: -.28rem .6rem -.28rem -.5rem; padding: .85rem .65rem; background: #eaf0f9; color: var(--pc-blue); border: 0; border-right: 1px solid var(--pc-line); font: inherit; font-weight: 650; cursor: pointer; }
.method input[type="file"]::file-selector-button:hover { background: #dce6f5; }
.method .form-text { margin-bottom: 1rem; }
.verify-actions { margin-top: auto; padding: 0; border: 0; }
.verify-actions .btn { width: 100%; }
.pc-actions .pc-secondary { color: var(--pc-blue); background: #fff; border-color: #aebccc; }
.pc-actions .pc-secondary:hover { color: var(--pc-blue); background: #eaf0f9; border-color: var(--pc-blue); }
.result { margin-top: 1.6rem; overflow: hidden; border: 1px solid var(--pc-line); background: #fff; border-radius: 1rem; }
.result:focus { outline: none; }
.result:focus-visible { outline: 3px solid var(--pc-blue); outline-offset: 3px; }
.result-top { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; }
.result-top.valid { color: #146b3d; background: #f3f8f5; border-bottom: 1px solid #dce8e3; }
.result-top.invalid { color: var(--pc-danger); background: #fdf1f2; }
.result-top.warning { color: #795416; background: #fff6e5; }
.result-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: .75rem; font-size: 1.25rem; background: #e2f1e7; }
.invalid .result-icon { background: #f9dfe3; }
.warning .result-icon { background: #f8e9c8; }
.result-top h2 { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 700; color: inherit; }
.result-top p { margin: 0; font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.result-body { padding: 1.25rem; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.details .subject { grid-column: 1/-1; padding-top: 1rem; border-top: 1px solid var(--pc-line); }
.details .author { grid-column: 1/-1; padding-top: 1rem; border-top: 1px solid var(--pc-line); }
.details dt { color: var(--pc-muted); font-size: .8125rem; font-weight: 650; margin-bottom: .3rem; }
.details dd { color: var(--pc-ink); font-size: 1rem; font-weight: 650; margin: 0; overflow-wrap: anywhere; }
.result-actions { justify-content: flex-start; flex-wrap: wrap; }
.result-actions small { color: var(--pc-muted); font-size: .8125rem; }
.verify-notice { margin: 1.6rem 0 0; }
.pc-footer a { color: var(--pc-blue); text-underline-offset: 2px; }
.pc-brand a { color: inherit; text-decoration: none; }
.pc-brand a:hover { text-decoration: underline; }
@media (max-width: 575.98px) {
	.methods { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
	.method-divider { height: 1px; }
	.method-divider span { padding: 0 .65rem; }
	.result-top { gap: .65rem; padding: .85rem; }
	.result-icon { width: 38px; height: 38px; }
	.result-body { padding: 1rem; }
	.result-actions { align-items: stretch; }
	.result-actions small { text-align: center; }
	.details { gap: .8rem; }
}