.sgpdf-box {
	--sgpdf-night: #0D101C;
	--sgpdf-accent: #0766C2;
	--sgpdf-accent-hover: #0A57A6;
	--sgpdf-cream: #FFF0DE;
	--sgpdf-muted: #4A5068;
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	margin: 3rem 0 2rem;
	padding: 1.75rem;
	background: var(--sgpdf-cream);
	color: var(--sgpdf-night);
	border-radius: 16px;
	border-top: 4px solid #E3C77A;
	font-family: inherit;
}
.sgpdf-box * { box-sizing: border-box; }
.sgpdf-box__icon {
	flex: 0 0 auto;
	width: 52px;
	height: 64px;
	border-radius: 6px 18px 6px 6px;
	background: var(--sgpdf-accent);
	color: #FFFFFF;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 10px;
}
.sgpdf-box__body { flex: 1 1 auto; min-width: 0; }
.sgpdf-box .sgpdf-box__title {
	margin: 0 0 0.4rem;
	font-size: 1.375rem;
	line-height: 1.25;
	font-weight: 600;
	color: var(--sgpdf-night);
	border: 0;
	padding: 0;
}
.sgpdf-box__text { margin: 0 0 1rem; color: var(--sgpdf-muted); font-size: 1rem; line-height: 1.5; }
.sgpdf-form { margin: 0; }
.sgpdf-form__row { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.sgpdf-label {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sgpdf-input {
	flex: 1 1 240px;
	min-width: 0;
	min-height: 48px;
	padding: 0.75rem 1rem;
	font: inherit;
	font-size: 1rem;
	color: var(--sgpdf-night);
	background: #FFFFFF;
	border: 1px solid #B9BED0;
	border-radius: 999px;
}
.sgpdf-input:focus { outline: 2px solid var(--sgpdf-accent); outline-offset: 2px; border-color: var(--sgpdf-accent); }
.sgpdf-input[aria-invalid="true"] { border-color: #B42318; }
.sgpdf-button {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #FFFFFF;
	background: var(--sgpdf-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.sgpdf-button:hover { background: var(--sgpdf-accent-hover); }
.sgpdf-button:focus-visible { outline: 2px solid var(--sgpdf-night); outline-offset: 3px; }
.sgpdf-button[disabled] { opacity: 0.7; cursor: progress; }
.sgpdf-check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 0.9rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--sgpdf-night);
	cursor: pointer;
}
.sgpdf-check input { margin: 0.2rem 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--sgpdf-accent); }
.sgpdf-note { margin: 0.75rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--sgpdf-muted); }
.sgpdf-note a { color: var(--sgpdf-accent); text-decoration: underline; }
.sgpdf-msg, .sgpdf-live:not(:empty) {
	margin: 0.9rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.sgpdf-msg { margin: 0 0 1rem; }
.sgpdf-msg--ok, .sgpdf-live.is-ok { background: #E3F3E8; color: #14532D; }
.sgpdf-msg--err, .sgpdf-live.is-err { background: #FDECEA; color: #8A1C12; }
.sgpdf-live:empty { display: none; }
.sgpdf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sgpdf-box.is-done .sgpdf-form__row,
.sgpdf-box.is-done .sgpdf-check { display: none; }

@media (max-width: 560px) {
	.sgpdf-box { flex-direction: column; padding: 1.25rem; gap: 0.9rem; }
	.sgpdf-box__icon { width: 40px; height: 50px; font-size: 0.6875rem; padding-bottom: 7px; }
	.sgpdf-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.sgpdf-button { transition: none; }
}
