.preview-briefing {
	--pb-red: #c72026;
	--pb-red-dark: #a7191f;
	--pb-ink: #222222;
	--pb-muted: #686868;
	--pb-white: #ffffff;
	--pb-light: #f5f5f5;
	--pb-border: #dedede;
	--pb-focus: rgba(199, 32, 38, 0.18);
	width: 100%;
	color: var(--pb-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.preview-briefing *,
.preview-briefing *::before,
.preview-briefing *::after {
	box-sizing: border-box;
}

.preview-briefing [hidden] {
	display: none !important;
}

.pb-shell {
	width: min(100%, 920px);
	margin: 0 auto;
	background: var(--pb-white);
	border: 1px solid #e7e7e7;
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(34, 34, 34, 0.08);
	overflow: hidden;
}

.pb-header {
	position: relative;
	padding: clamp(28px, 5vw, 52px);
	background: var(--pb-ink);
	color: var(--pb-white);
	overflow: hidden;
}

.pb-header::after {
	position: absolute;
	top: -80px;
	right: -55px;
	width: 210px;
	height: 210px;
	border: 34px solid rgba(199, 32, 38, 0.8);
	border-radius: 50%;
	content: "";
}

.pb-header h2 {
	position: relative;
	z-index: 1;
	max-width: 650px;
	margin: 0 0 12px;
	color: var(--pb-white);
	font-family: inherit;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.pb-header > p:not(.pb-eyebrow) {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 0;
	color: #d9d9d9;
	font-size: 16px;
}

.pb-eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 10px;
	color: #ff777b;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pb-progress {
	padding: 20px clamp(24px, 5vw, 52px);
	background: var(--pb-light);
	border-bottom: 1px solid #e5e5e5;
}

.pb-progress__meta {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 9px;
	color: #555;
	font-size: 13px;
	font-weight: 650;
}

.pb-progress__track {
	height: 7px;
	background: #dddddd;
	border-radius: 99px;
	overflow: hidden;
}

.pb-progress__track span {
	display: block;
	width: 9.09%;
	height: 100%;
	background: var(--pb-red);
	border-radius: inherit;
	transition: width 240ms ease;
}

.pb-form {
	padding: clamp(26px, 5vw, 52px);
}

.pb-step {
	animation: pb-fade-in 180ms ease both;
}

@keyframes pb-fade-in {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

.pb-step__heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 30px;
}

.pb-step__heading > span {
	display: grid;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	place-items: center;
	background: var(--pb-red);
	border-radius: 12px;
	color: var(--pb-white);
	font-size: 14px;
	font-weight: 750;
}

.pb-step__heading h3 {
	margin: 0 0 4px;
	color: var(--pb-ink);
	font-family: inherit;
	font-size: clamp(23px, 4vw, 30px);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pb-step__heading p {
	margin: 0;
	color: var(--pb-muted);
}

.pb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.pb-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 20px;
}

.pb-grid .pb-field {
	margin-bottom: 0;
}

.pb-grid + fieldset,
.pb-field + fieldset,
.pb-conditional + fieldset {
	margin-top: 28px;
}

.pb-field--full {
	grid-column: 1 / -1;
}

.pb-field label,
.preview-briefing legend {
	color: var(--pb-ink);
	font-size: 14px;
	font-weight: 700;
}

.pb-field label span,
.preview-briefing legend span,
.pb-consent b {
	color: var(--pb-red);
}

.pb-field input,
.pb-field textarea,
.pb-field select {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	background: var(--pb-white);
	border: 1px solid var(--pb-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--pb-ink);
	font: inherit;
	line-height: 1.4;
	outline: 0;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pb-field textarea {
	min-height: 98px;
	resize: vertical;
}

.pb-field input:focus,
.pb-field textarea:focus,
.pb-field select:focus {
	border-color: var(--pb-red);
	box-shadow: 0 0 0 4px var(--pb-focus);
}

.pb-field input::placeholder,
.pb-field textarea::placeholder {
	color: #999;
	opacity: 1;
}

.preview-briefing fieldset {
	min-width: 0;
	margin: 0 0 26px;
	padding: 0;
	border: 0;
}

.preview-briefing legend {
	width: 100%;
	margin: 0 0 11px;
	padding: 0;
}

.pb-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pb-choice {
	position: relative;
	display: flex;
	min-height: 48px;
	margin: 0;
	cursor: pointer;
}

.pb-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.pb-choice span {
	display: flex;
	width: 100%;
	align-items: center;
	padding: 11px 13px 11px 42px;
	background: var(--pb-white);
	border: 1px solid var(--pb-border);
	border-radius: 9px;
	color: #383838;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.35;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pb-choice span::before {
	position: absolute;
	left: 14px;
	width: 17px;
	height: 17px;
	background: var(--pb-white);
	border: 1.5px solid #aaa;
	border-radius: 4px;
	content: "";
	transition: background 160ms ease, border-color 160ms ease;
}

.pb-choice input[type="radio"] + span::before {
	border-radius: 50%;
}

.pb-choice span::after {
	position: absolute;
	left: 19px;
	width: 7px;
	height: 4px;
	margin-top: -2px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	content: "";
	opacity: 0;
	transform: rotate(-45deg);
}

.pb-choice input:checked + span {
	background: #fff8f8;
	border-color: var(--pb-red);
	color: #8f161b;
}

.pb-choice input:checked + span::before {
	background: var(--pb-red);
	border-color: var(--pb-red);
}

.pb-choice input:checked + span::after {
	opacity: 1;
}

.pb-choice input:focus-visible + span {
	border-color: var(--pb-red);
	box-shadow: 0 0 0 4px var(--pb-focus);
}

.pb-choice input:disabled + span {
	cursor: not-allowed;
	opacity: 0.55;
}

.pb-card {
	margin: 24px 0;
	padding: 20px;
	background: var(--pb-light);
	border-left: 4px solid var(--pb-red);
	border-radius: 9px;
}

.pb-card h4 {
	margin: 0 0 16px;
	color: var(--pb-ink);
	font-family: inherit;
	font-size: 18px;
}

.pb-card > p:last-child {
	margin-bottom: 0;
}

.pb-help,
.pb-security-note {
	margin: 9px 0 0;
	color: var(--pb-muted);
	font-size: 13px;
}

.pb-security-note {
	padding-left: 22px;
	background: linear-gradient(var(--pb-red), var(--pb-red)) 2px 4px / 13px 13px no-repeat;
}

.pb-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 24px 0 0;
	padding: 16px;
	background: var(--pb-light);
	border: 1px solid #e2e2e2;
	border-radius: 9px;
	cursor: pointer;
}

.pb-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--pb-red);
}

.pb-consent span {
	font-size: 14px;
}

.pb-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid #ededed;
}

.pb-button {
	display: inline-flex;
	min-width: 130px;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 11px 21px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.pb-button:hover {
	transform: translateY(-1px);
}

.pb-button:focus-visible {
	outline: 3px solid var(--pb-focus);
	outline-offset: 2px;
}

.pb-button--primary {
	margin-left: auto;
	background: var(--pb-red);
	border-color: var(--pb-red);
	color: var(--pb-white);
}

.pb-button--primary:hover {
	background: var(--pb-red-dark);
	border-color: var(--pb-red-dark);
	color: var(--pb-white);
}

.pb-button--secondary {
	background: var(--pb-white);
	border-color: #cfcfcf;
	color: var(--pb-ink);
}

.pb-button--secondary:hover {
	background: var(--pb-light);
	color: var(--pb-ink);
}

.pb-button:disabled {
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

.pb-form-error {
	display: none;
	margin: 0 0 22px;
	padding: 12px 14px;
	background: #fff1f1;
	border-left: 4px solid var(--pb-red);
	border-radius: 6px;
	color: #7d1519;
	font-size: 14px;
}

.pb-form-error.is-visible {
	display: block;
}

.pb-draft-found {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 26px;
	padding: 17px 18px;
	background: #fff8e5;
	border: 1px solid #ead28b;
	border-radius: 9px;
	color: #59470d;
}

.pb-draft-found p {
	margin: 3px 0 0;
	font-size: 13px;
}

.pb-draft-found__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.pb-draft-found__actions .pb-button {
	margin-left: 0;
}

.pb-button--small {
	min-width: 0;
	min-height: 40px;
	padding: 9px 13px;
	font-size: 12px;
}

.pb-draft-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: -10px 0 22px;
	color: var(--pb-muted);
	font-size: 12px;
}

.pb-draft-tools button {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--pb-red);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
}

.pb-draft-tools button:hover,
.pb-draft-tools button:focus-visible {
	background: transparent;
	color: var(--pb-red-dark);
}

.pb-invalid input:not([type="checkbox"]):not([type="radio"]),
.pb-invalid textarea,
.pb-invalid .pb-choice span,
.pb-consent.pb-invalid {
	border-color: var(--pb-red);
}

.pb-invalid input:not([type="checkbox"]):not([type="radio"]),
.pb-invalid textarea {
	box-shadow: 0 0 0 3px var(--pb-focus);
}

.pb-notice {
	width: min(100%, 920px);
	margin: 0 auto 20px;
	padding: 16px 20px;
	border-radius: 10px;
}

.pb-notice p {
	margin: 4px 0 0;
}

.pb-notice--success {
	background: #ecf8ef;
	border: 1px solid #a9d8b6;
	color: #155d2b;
}

.pb-notice--error {
	background: #fff1f1;
	border: 1px solid #efb2b4;
	color: #7d1519;
}

.pb-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 680px) {
	.pb-shell { border-radius: 12px; }
	.pb-grid,
	.pb-choices { grid-template-columns: 1fr; }
	.pb-form { padding-right: 20px; padding-left: 20px; }
	.pb-progress { padding-right: 20px; padding-left: 20px; }
	.pb-step__heading { gap: 12px; }
	.pb-step__heading > span { flex-basis: 40px; width: 40px; height: 40px; border-radius: 9px; }
	.pb-actions { position: sticky; bottom: 0; z-index: 4; margin-right: -20px; margin-left: -20px; padding: 14px 20px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.05); }
	.pb-button { min-width: 0; }
	.pb-draft-found { align-items: stretch; flex-direction: column; }
	.pb-draft-found__actions { flex-wrap: wrap; }
	.pb-draft-found__actions .pb-button { flex: 1 1 140px; }
	.pb-draft-tools { align-items: flex-end; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.preview-briefing *,
	.preview-briefing *::before,
	.preview-briefing *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
