/* ==========================================================================
   The Digital Strategy Assessment (relaunch lander)
   html/widgets/templates/widget-dsa.html, drawn by js/widgets/dsa.js, on the full-screen section modal #dsa
   (components.css .pm-section-dialog-full sets the dark ground, the hex and the close button). Canvas frame F
   (clients/punchmark.com/builds/dsa-modernization/DESIGN.md 5.1 and 5.6): a centered heading, the progress rail
   beside the question card from 992px and a five-segment bar below that, the pinned Back and Continue bar, then the
   report in the same sheet. Mobile first. Buttons are the site's own .btn-primary and .btn-outline-light.
   ========================================================================== */

.pm-dsa {
	--dsa-ink: #fff;
	--dsa-text: rgba(255, 255, 255, 0.8);
	--dsa-strong: rgba(255, 255, 255, 0.92);
	--dsa-muted: rgba(255, 255, 255, 0.62);       /* 5.6:1 on the ground */
	--dsa-faint: rgba(255, 255, 255, 0.45);
	--dsa-line: rgba(255, 255, 255, 0.1);
	--dsa-card: rgba(255, 255, 255, 0.04);
	--dsa-tint: rgba(255, 255, 255, 0.03);
	--dsa-accent: var(--bs-primary);
	--dsa-accent-rgb: 19, 181, 234;               /* --bs-primary as channels, for the tints */
	--dsa-ground: var(--bs-dark);
	--dsa-ground-rgb: var(--bs-dark-rgb);
	--dsa-disc: rgb(46, 48, 58);                  /* the sheet's close button disc (components.css) */
	--dsa-disc-hover: rgb(64, 66, 76);
	--dsa-grad: linear-gradient(135deg, #4ec9f0 0%, #13b5ea 50%, #0f92bd 100%);   /* buttons.css .btn-primary */
	--dsa-meter: linear-gradient(90deg, #4ec9f0, #13b5ea);
	--dsa-field: var(--pm-form-field, #23273a);   /* the site's form fields (form-page.css, pm-booking.css) */
	--dsa-field-line: var(--pm-form-field-line, rgba(255, 255, 255, 0.2));
	--dsa-field-line-hover: var(--pm-form-field-line-hover, rgba(255, 255, 255, 0.34));
	--dsa-field-ink: var(--pm-form-ink, #fff);
	--dsa-field-focus: var(--pm-form-accent, #4ec9f0);   /* the site's 2px focus ring */
	--dsa-alert-rgb: 255, 128, 128;
	--dsa-warn-rgb: 255, 196, 92;                 /* "Needs work" amber, well over 7:1 on the ground */
	--dsa-ring: 0 0 0 3px rgba(var(--dsa-accent-rgb), 0.28);
	--dsa-head: var(--bs-h2-family), 'Barlow', 'Archivo', system-ui, sans-serif;
	--dsa-sans: var(--bs-h5-family), system-ui, sans-serif;
	--dsa-mono: var(--bs-p-family), ui-monospace, monospace;
	--dsa-display: 'Special Gothic', 'Arial Narrow', sans-serif;
	--dsa-avatar: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3e%3cg fill='%2313B5EA'%3e%3cpath fill-rule='evenodd' d='M46.25 10.16A7.5 7.5 0 0 1 53.75 10.16L81.25 26.04A7.5 7.5 0 0 1 85 32.53L85 67.47A7.5 7.5 0 0 1 81.25 73.96L53.75 89.84A7.5 7.5 0 0 1 46.25 89.84L18.75 73.96A7.5 7.5 0 0 1 15 67.47L15 32.53A7.5 7.5 0 0 1 18.75 26.04ZM22 42A10 10 0 0 1 32 32L68 32A10 10 0 0 1 78 42L78 58A10 10 0 0 1 68 68L32 68A10 10 0 0 1 22 58Z'/%3e%3crect x='3' y='39.25' width='9' height='21.5' rx='4.5'/%3e%3crect x='88' y='39.25' width='9' height='21.5' rx='4.5'/%3e%3crect x='34.25' y='43.5' width='9.5' height='14' rx='4.75'/%3e%3crect x='56.25' y='43.5' width='9.5' height='14' rx='4.75'/%3e%3c/g%3e%3c/svg%3e");
	font-family: var(--dsa-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--dsa-text);
	text-align: left;
}

/* Views the script hides stay hidden whatever their display */
.pm-dsa [hidden] {
	display: none !important;
}

/* The site's p is 12px muted mono and its headings are 600; the sheet sets its own */
.pm-dsa p {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.pm-dsa :is(h2, h3, h4) {
	margin: 0;
	font-family: var(--dsa-head);
	font-weight: 700;
	letter-spacing: -0.005em;
	color: var(--dsa-ink);
}

.pm-dsa :is(h2, h3, h4) em {
	font-style: italic;
	font-weight: 700;
	color: var(--dsa-accent);
}

/* A heading takes focus when its step opens (so a screen reader starts there); it isn't a control */
.pm-dsa [data-dsa-heading]:focus {
	outline: none;
}

.pm-dsa a {
	color: var(--dsa-accent);
}

.pm-dsa a:hover {
	color: var(--dsa-ink);
}

/* The site's buttons, at the sheet's sizes. Outside main they would take the global hover (a 2px lift and a 3%
   scale); the sheet's is the page's 1px lift, as on the pricing sheet. */
.pm-dsa .btn {
	gap: 0.625rem;
	min-height: 48px;
}

.pm-dsa .btn:hover:not(:disabled),
.pm-dsa .btn:focus-visible:not(:disabled) {
	transform: translateY(-1px);
}

.pm-dsa .btn:disabled {
	opacity: 0.45;
}

.pm-dsa .btn.btn-sm {
	min-height: 44px;
}

/* --- Type pieces --- */

.pm-dsa .pm-dsa-eyebrow {
	font-family: var(--dsa-mono);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15rem;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-tag {
	font-family: var(--dsa-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-label {
	font-family: var(--dsa-mono);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-hint {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-body {
	max-width: 560px;
	font-size: 0.9375rem;
	line-height: 1.55;
}

/* Paige's mark, drawn from the token above so it shows without the image library */
.pm-dsa .pm-dsa-avatar {
	display: inline-block;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	background: var(--dsa-avatar) center / contain no-repeat;
}

.pm-dsa .pm-dsa-avatar-sm {
	flex-basis: 22px;
	width: 22px;
	height: 22px;
}

.pm-dsa .pm-dsa-avatar-lg {
	flex-basis: 44px;
	width: 44px;
	height: 44px;
}

/* ==========================================================================
   The quiz: heading, progress, card, pinned bar
   ========================================================================== */

/* The bar sits at the foot of the screen even when a step is short: the quiz is the screen's height less the
   sheet's top padding (4.5rem at every width, components.css) */
.pm-dsa .pm-dsa-quiz {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-height: calc(100vh - 4.5rem);
	min-height: calc(100dvh - 4.5rem);
}

/* Phones: the eyebrow alone, level with the close button */
.pm-dsa .pm-dsa-head {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	min-height: 40px;
	margin-top: -3.75rem;
	padding-right: 3.5rem;
}

.pm-dsa .pm-dsa-title,
.pm-dsa .pm-dsa-sub {
	display: none;
}

.pm-dsa .pm-dsa-title {
	font-size: clamp(2.25rem, 4vw, 2.875rem);
	line-height: 1.05;
}

.pm-dsa .pm-dsa-sub {
	font-size: 0.9375rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

/* --- Progress: the five-segment bar below 992px, the rail beside the card from there --- */

.pm-dsa .pm-dsa-rail-top,
.pm-dsa .pm-dsa-meter,
.pm-dsa .pm-dsa-steps {
	display: none;
}

.pm-dsa .pm-dsa-segs {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pm-dsa .pm-dsa-segs-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.pm-dsa .pm-dsa-segs-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-segs-count {
	font-size: 0.75rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-segs-bar {
	display: flex;
	gap: 4px;
}

.pm-dsa .pm-dsa-segs-bar span {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.12);
}

.pm-dsa .pm-dsa-segs-bar .is-done {
	background: var(--dsa-accent);
}

.pm-dsa .pm-dsa-segs-bar .is-current {
	background: var(--dsa-ink);
}

.pm-dsa .pm-dsa-rail-title {
	font-weight: 700;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-rail-count {
	font-size: 0.8125rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-meter {
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.12);
}

.pm-dsa .pm-dsa-meter span {
	display: block;
	width: var(--pct, 0%);
	height: 100%;
	border-radius: 3px;
	background: var(--dsa-meter);
	transition: width 0.35s ease;
}

.pm-dsa .pm-dsa-steps {
	flex-direction: column;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

/* Each step is its circle, then a 20px line down to the next */
.pm-dsa .pm-dsa-step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding-bottom: 20px;
}

.pm-dsa .pm-dsa-step:last-child {
	padding-bottom: 0;
}

.pm-dsa .pm-dsa-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 36px;
	left: 17.25px;
	width: 1.5px;
	height: 20px;
	background: rgba(255, 255, 255, 0.12);
}

.pm-dsa .pm-dsa-step-num {
	display: inline-flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-step-name {
	padding-top: 7px;
	font-size: 0.9375rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-step.is-done .pm-dsa-step-num {
	border-color: rgba(var(--dsa-accent-rgb), 0.5);
	background: rgba(var(--dsa-accent-rgb), 0.14);
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-step.is-done .pm-dsa-step-name {
	color: var(--dsa-text);
}

.pm-dsa .pm-dsa-step.is-current .pm-dsa-step-num {
	border-color: var(--dsa-accent);
	background: var(--dsa-accent);
	color: var(--dsa-ground);
}

.pm-dsa .pm-dsa-step.is-current .pm-dsa-step-name {
	font-weight: 600;
	color: var(--dsa-accent);
}

/* --- The card: on the ground on phones, a glass card from 768px --- */

.pm-dsa .pm-dsa-card {
	min-width: 0;
}

.pm-dsa .pm-dsa-card-in {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pm-dsa .pm-dsa-card-in.is-entering {
	animation: pmDsaIn 0.35s ease both;
}

.pm-dsa .pm-dsa-card-head {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.pm-dsa .pm-dsa-count {
	font-size: 0.875rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-q {
	font-size: 1.875rem;
	line-height: 1.1;
}

/* --- Website question: the address and Take a look (stacked on phones, one pill from 768px) --- */

.pm-dsa .pm-dsa-site {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.pm-dsa .pm-dsa-composer {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.07);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pm-dsa .pm-dsa-composer:focus-within {
	border-color: var(--dsa-accent);
	box-shadow: var(--dsa-ring);
}

.pm-dsa .pm-dsa-composer-site {
	height: 56px;
	padding: 0 16px;
}

.pm-dsa .pm-dsa-globe {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--dsa-accent);
}

/* 16px or more, so phones don't zoom into the box */
.pm-dsa .pm-dsa-input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dsa-ink);
	font: inherit;
	font-size: 1.0625rem;
	outline: none;
}

.pm-dsa .pm-dsa-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
	opacity: 1;
}

.pm-dsa .pm-dsa-input:disabled {
	cursor: not-allowed;
}

.pm-dsa .pm-dsa-look-btn {
	width: 100%;
	min-height: 50px;
}

.pm-dsa .pm-dsa-nosite {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--dsa-muted);
}

/* --- Option cards --- */

.pm-dsa .pm-dsa-opts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-top: 6px;
}

.pm-dsa .pm-dsa-opt {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	min-height: 68px;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid var(--dsa-line);
	border-radius: 14px;
	background: var(--dsa-tint);
	color: var(--dsa-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pm-dsa .pm-dsa-opt:hover:not([aria-disabled="true"]) {
	border-color: rgba(var(--dsa-accent-rgb), 0.6);
}

.pm-dsa .pm-dsa-opt:focus-visible {
	outline: 2px solid var(--dsa-accent);
	outline-offset: 2px;
}

.pm-dsa .pm-dsa-opt.is-on {
	border-color: var(--dsa-accent);
	background: rgba(var(--dsa-accent-rgb), 0.1);
}

.pm-dsa .pm-dsa-opt.is-suggested {
	border-style: dashed;
	border-color: rgba(var(--dsa-accent-rgb), 0.85);
}

.pm-dsa .pm-dsa-opt.is-taken {
	animation: pmDsaGlow 1.2s ease-out 1;
}

.pm-dsa .pm-dsa-opt[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
}

.pm-dsa .pm-dsa-mark {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: var(--dsa-ground);
}

.pm-dsa .pm-dsa-opt.is-multi .pm-dsa-mark {
	border-radius: 6px;
}

.pm-dsa .pm-dsa-opt.is-on .pm-dsa-mark {
	border-color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-opt.is-multi.is-on .pm-dsa-mark {
	background: var(--dsa-accent);
}

.pm-dsa .pm-dsa-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--dsa-accent);
}

.pm-dsa .pm-dsa-opt-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pm-dsa .pm-dsa-opt-label {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dsa-strong);
}

.pm-dsa .pm-dsa-opt-desc {
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.65);
}

.pm-dsa .pm-dsa-link {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--dsa-accent);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.pm-dsa .pm-dsa-link:hover {
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-link:focus-visible {
	outline: 2px solid var(--dsa-accent);
	outline-offset: 2px;
}

/* --- "Or tell Paige in your own words" --- */

.pm-dsa .pm-dsa-own {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 6px;
}

.pm-dsa .pm-dsa-own-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.75);
}

.pm-dsa .pm-dsa-composer-own {
	gap: 6px;
	height: 50px;
	padding: 0 5px 0 16px;
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}

.pm-dsa .pm-dsa-composer-own .pm-dsa-input {
	font-size: 1rem;
}

.pm-dsa .pm-dsa-own.is-paused .pm-dsa-composer-own {
	opacity: 0.55;
}

.pm-dsa .pm-dsa-send {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(15, 146, 189, 0.4);
	border-radius: 50%;
	background: var(--dsa-grad);
	color: var(--dsa-ground);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pm-dsa .pm-dsa-send:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(var(--dsa-accent-rgb), 0.45);
}

.pm-dsa .pm-dsa-send:focus-visible {
	outline: 2px solid var(--dsa-ink);
	outline-offset: 2px;
}

.pm-dsa .pm-dsa-send:disabled {
	opacity: 0.45;
	cursor: default;
}

/* --- Paige's reply --- */

.pm-dsa .pm-dsa-reply {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: var(--dsa-tint);
	animation: pmDsaIn 0.35s ease both;
}

.pm-dsa .pm-dsa-reply-thinking {
	border-color: var(--dsa-line);
}

.pm-dsa .pm-dsa-reply-take {
	border-color: rgba(var(--dsa-accent-rgb), 0.45);
	background: rgba(var(--dsa-accent-rgb), 0.08);
}

.pm-dsa .pm-dsa-reply-suggest {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.05);
}

.pm-dsa .pm-dsa-reply-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pm-dsa .pm-dsa-reply-name {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-reply-text {
	font-size: 0.9375rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

.pm-dsa .pm-dsa-dots {
	display: inline-flex;
	gap: 4px;
	margin-left: 6px;
	vertical-align: middle;
}

.pm-dsa .pm-dsa-dots span {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--dsa-accent);
	animation: pmDsaDot 1s infinite ease-in-out;
}

.pm-dsa .pm-dsa-dots span:nth-child(2) {
	animation-delay: 0.15s;
}

.pm-dsa .pm-dsa-dots span:nth-child(3) {
	animation-delay: 0.3s;
}

/* One-tap chips (Paige's suggestions) and the role chips */
.pm-dsa .pm-dsa-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.pm-dsa .pm-dsa-chip {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid rgba(var(--dsa-accent-rgb), 0.35);
	border-radius: 50px;
	background: rgba(var(--dsa-accent-rgb), 0.1);
	color: var(--dsa-ink);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pm-dsa .pm-dsa-chip:hover {
	border-color: var(--dsa-accent);
	background: rgba(var(--dsa-accent-rgb), 0.18);
}

.pm-dsa .pm-dsa-chip:focus-visible {
	outline: 2px solid var(--dsa-accent);
	outline-offset: 2px;
}

/* --- Paige's look --- */

.pm-dsa .pm-dsa-look-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pm-dsa .pm-dsa-look-title {
	min-width: 0;
	font-size: 1.5rem;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.pm-dsa .pm-dsa-checks {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.pm-dsa .pm-dsa-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--dsa-line);
	border-radius: 12px;
	background: var(--dsa-tint);
	font-size: 0.9375rem;
	color: var(--dsa-faint);
}

.pm-dsa .pm-dsa-check svg {
	flex: 0 0 16px;
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-check.is-done {
	color: var(--dsa-strong);
}

.pm-dsa .pm-dsa-check.is-now {
	border-color: rgba(var(--dsa-accent-rgb), 0.6);
	background: rgba(var(--dsa-accent-rgb), 0.08);
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-spin {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(var(--dsa-accent-rgb), 0.3);
	border-top-color: var(--dsa-accent);
	border-radius: 50%;
	animation: pmDsaSpin 0.8s linear infinite;
}

.pm-dsa .pm-dsa-spin-lg {
	flex-basis: 40px;
	width: 40px;
	height: 40px;
	border-width: 3px;
}

.pm-dsa .pm-dsa-wait {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
}

.pm-dsa .pm-dsa-look-summary {
	font-size: 1.0625rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	animation: pmDsaIn 0.35s ease both;
}

.pm-dsa .pm-dsa-findings {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-dsa .pm-dsa-finding {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--dsa-line);
	border-radius: 14px;
	background: var(--dsa-tint);
	animation: pmDsaIn 0.35s ease both;
	animation-delay: calc(var(--i, 0) * 90ms);
}

.pm-dsa .pm-dsa-finding-good,
.pm-dsa .pm-dsa-finding-info,
.pm-dsa .pm-dsa-speed.is-good,
.pm-dsa .pm-dsa-ai.is-good {
	border-color: rgba(var(--dsa-accent-rgb), 0.35);
	background: rgba(var(--dsa-accent-rgb), 0.06);
}

.pm-dsa .pm-dsa-finding-icon {
	display: inline-flex;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--dsa-ink);
	font-size: 0.9375rem;
	font-weight: 800;
}

.pm-dsa .pm-dsa-finding-good .pm-dsa-finding-icon,
.pm-dsa .pm-dsa-finding-info .pm-dsa-finding-icon,
.pm-dsa .pm-dsa-speed.is-good .pm-dsa-finding-icon,
.pm-dsa .pm-dsa-ai.is-good .pm-dsa-finding-icon {
	background: rgba(var(--dsa-accent-rgb), 0.18);
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-finding-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pm-dsa .pm-dsa-finding-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.95);
}

.pm-dsa .pm-dsa-finding-detail {
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.68);
}

/* The look card's speed tile: one of the notes, which waits for the speed check, then shows its grade by its title.
   Its words fade in again when the grade lands. */
.pm-dsa .pm-dsa-speed .pm-dsa-finding-text {
	animation: pmDsaIn 0.35s ease both;
}

.pm-dsa .pm-dsa-speed.is-pending .pm-dsa-finding-detail {
	color: var(--dsa-muted);
}

/* The speed grade and the AI count sit centred on the title's line without making it taller, so the title lines up
   with the tile beside it */
.pm-dsa .pm-dsa-speed .pm-dsa-finding-title,
.pm-dsa .pm-dsa-ai .pm-dsa-finding-title {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pm-dsa .pm-dsa-speed .pm-dsa-grade-sm,
.pm-dsa .pm-dsa-ai .pm-dsa-grade-sm {
	margin: -3px 0;
}

/* A grade: a quiet tag by the title, in the tile's own text colour. The tile's icon and colours already say whether it's
   good, so the grade doesn't repeat it (Dan, 2026-11-21: the yellow grades stood out too much). */
.pm-dsa .pm-dsa-grade {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 22px;
	padding: 0 7px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
}

.pm-dsa .pm-dsa-grade-sm {
	margin-left: 6px;
	vertical-align: 1px;
}

/* --- Where to send the plan --- */

.pm-dsa .pm-dsa-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 6px;
}

/* The fields match the site's other forms, the contact page and the booking card (Dan, 2026-12-02): the label above,
   a dark pill below, the site's 2px focus ring. */
.pm-dsa .pm-dsa-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	cursor: text;
}

.pm-dsa .pm-dsa-field span {
	color: var(--dsa-field-ink);
	font-family: var(--dsa-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
}

.pm-dsa .pm-dsa-field input {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--dsa-field-line);
	border-radius: 27px;
	background: var(--dsa-field);
	box-shadow: none;
	color: var(--dsa-field-ink);
	font-family: var(--dsa-sans);
	font-size: 16px;                          /* a phone does not zoom a field this size */
	font-weight: 400;
	line-height: 1.5;
	transition: border-color 150ms ease;
}

.pm-dsa .pm-dsa-field input:hover {
	border-color: var(--dsa-field-line-hover);
}

.pm-dsa .pm-dsa-field input:focus {
	outline: 2px solid var(--dsa-field-focus);
	outline-offset: 2px;
}

/* A password manager's fill keeps the dark field, focused or not (memory autofill-dark-fields-need-a-focus-rule) */
.pm-dsa .pm-dsa-field input:-webkit-autofill,
.pm-dsa .pm-dsa-field input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 100px var(--dsa-field) inset;
	-webkit-text-fill-color: var(--dsa-field-ink);
	caret-color: var(--dsa-field-ink);
}

.pm-dsa .pm-dsa-roles {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 6px;
}

.pm-dsa .pm-dsa-roles-label {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
}

.pm-dsa .pm-dsa-roles .pm-dsa-chips {
	margin-top: 0;
}

.pm-dsa .pm-dsa-roles .pm-dsa-chip {
	border-color: rgba(255, 255, 255, 0.25);
	background: transparent;
}

.pm-dsa .pm-dsa-roles .pm-dsa-chip.is-on {
	border-color: var(--dsa-accent);
	background: rgba(var(--dsa-accent-rgb), 0.14);
}

/* The field people never see; a form-filling bot does */
.pm-dsa .pm-dsa-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pm-dsa .pm-dsa-error {
	padding: 12px 16px;
	border: 1px solid rgba(var(--dsa-alert-rgb), 0.45);
	border-radius: 12px;
	background: rgba(var(--dsa-alert-rgb), 0.08);
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--dsa-ink);
}

/* --- Processing, loading and the ended view --- */

.pm-dsa .pm-dsa-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 320px;
	text-align: center;
}

/* Balanced lines, so the phone number at the end isn't split at its hyphen */
.pm-dsa .pm-dsa-message .pm-dsa-hint {
	max-width: 460px;
	text-wrap: balance;
}

.pm-dsa .pm-dsa-quiz.is-message .pm-dsa-rail {
	display: none;
}

.pm-dsa .pm-dsa-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 6px;
}

/* --- The pinned bar: Back and Continue, bleeding to the sheet's edges the way the pricing bar does --- */

.pm-dsa .pm-dsa-bar {
	position: sticky;
	bottom: 0;
	z-index: 4;
	margin: auto calc(var(--sheet-pad, 1.25rem) * -1) 0;
	padding: 10px var(--sheet-pad, 1.25rem) calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--dsa-line);
	background: var(--dsa-ground);
}

@supports (backdrop-filter: blur(1px)) {
	.pm-dsa .pm-dsa-bar {
		background: rgba(var(--dsa-ground-rgb), 0.86);
		backdrop-filter: blur(16px) saturate(180%);
	}
}

@supports (-webkit-backdrop-filter: blur(1px)) {
	.pm-dsa .pm-dsa-bar {
		background: rgba(var(--dsa-ground-rgb), 0.86);
		-webkit-backdrop-filter: blur(16px) saturate(180%);
	}
}

.pm-dsa .pm-dsa-bar-in {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 1080px;
	margin: 0 auto;
}

.pm-dsa .pm-dsa-bar-gap {
	display: none;
}

.pm-dsa .pm-dsa-bar .btn-primary {
	flex: 1;
}

/* ==========================================================================
   The report
   ========================================================================== */

.pm-dsa .pm-dsa-report {
	display: flex;
	flex-direction: column;
	max-width: 1160px;
	margin: 0 auto;
	padding-bottom: 2.5rem;
}

.pm-dsa .pm-dsa-r-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 900px;
	margin: 0 auto;
	padding: 0.5rem 0 3rem;
	text-align: center;
}

.pm-dsa .pm-dsa-r-title {
	font-family: var(--dsa-display);
	font-size: clamp(3.25rem, 8vw, 6.5rem);
	font-stretch: 75%;
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: 0;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.pm-dsa .pm-dsa-r-title span {
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-r-para {
	max-width: 720px;
	margin-top: 6px;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.pm-dsa .pm-dsa-byline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-r-sent {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--dsa-muted);
	overflow-wrap: anywhere;
}

.pm-dsa .pm-dsa-r-band {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 56px;
}

.pm-dsa .pm-dsa-r-split {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px;
}

.pm-dsa .pm-dsa-r-h {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.08;
}

.pm-dsa .pm-dsa-r-intro {
	font-size: 1rem;
	line-height: 1.55;
}

.pm-dsa .pm-dsa-r-small {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--dsa-muted);
}

/* --- The plan card --- */

.pm-dsa .pm-dsa-plan {
	display: flex;
	flex: 1 1 340px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 1rem;
	background: var(--dsa-card);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.pm-dsa .pm-dsa-plan-name {
	margin-top: 6px;
	font-size: 1.75rem;
	line-height: 1.1;
}

.pm-dsa .pm-dsa-plan-line {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.65);
}

.pm-dsa .pm-dsa-plan-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin-top: 14px;
	font-size: 0.875rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-plan-num {
	font-family: var(--dsa-head);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-plan-alt {
	font-size: 0.8125rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-plan-group {
	margin-top: 16px;
	font-size: 0.75rem;
}

.pm-dsa .pm-dsa-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.pm-dsa .pm-dsa-pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 12px;
	border: 1px solid rgba(var(--dsa-accent-rgb), 0.35);
	border-radius: 50rem;
	background: rgba(var(--dsa-accent-rgb), 0.1);
	font-size: 0.8125rem;
	line-height: 1.3;
	color: var(--dsa-strong);
}

.pm-dsa .pm-dsa-plan-points {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.4;
}

.pm-dsa .pm-dsa-plan-points li {
	display: flex;
	gap: 10px;
}

.pm-dsa .pm-dsa-plan-points svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-plan-note {
	margin-top: 14px;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--dsa-muted);
}

/* --- Why, as four tiles --- */

.pm-dsa .pm-dsa-why {
	display: flex;
	flex: 1.4 1 440px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.pm-dsa .pm-dsa-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 12px;
}

.pm-dsa .pm-dsa-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	background: var(--dsa-card);
}

.pm-dsa .pm-dsa-tile.is-noticed {
	border-color: rgba(var(--dsa-accent-rgb), 0.3);
	background: rgba(var(--dsa-accent-rgb), 0.05);
}

.pm-dsa .pm-dsa-tile .pm-dsa-tag {
	font-size: 0.75rem;
}

.pm-dsa .pm-dsa-tile-gets {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--dsa-strong);
}

/* --- What Paige checked (DESIGN.md 13.3): classes of its own, apart from the look step checklist --- */

.pm-dsa .pm-dsa-audit {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-dsa .pm-dsa-audit-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	text-align: left;
	min-width: 0;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	background: var(--dsa-card);
}

.pm-dsa .pm-dsa-audit-state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--dsa-mono);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-audit-icon {
	display: inline-flex;
}

.pm-dsa .pm-dsa-audit-row.is-work {
	border-color: rgba(var(--dsa-warn-rgb), 0.3);
}

.pm-dsa .pm-dsa-audit-row.is-work .pm-dsa-audit-state {
	color: rgb(var(--dsa-warn-rgb));
}

.pm-dsa .pm-dsa-audit-row.is-unknown .pm-dsa-audit-state {
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-audit-label {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--dsa-strong);
}

.pm-dsa .pm-dsa-audit-line {
	font-size: 0.9375rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

/* --- A client's card (13.7); a band too, so it outranks the bands' own padding at every width --- */

.pm-dsa .pm-dsa-r-band.pm-dsa-r-client {
	gap: 12px;
	margin-bottom: 56px;
	padding: 24px;
	border: 1px solid rgba(var(--dsa-accent-rgb), 0.3);
	border-radius: 1.25rem;
	background: rgba(var(--dsa-accent-rgb), 0.05);
}

.pm-dsa .pm-dsa-client-reasons {
	display: grid;
	gap: 4px;
	margin: 0;
	padding-left: 1.1rem;
	color: var(--dsa-strong);
}

/* --- Also worth a look --- */

.pm-dsa .pm-dsa-alts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 14px;
}

.pm-dsa .pm-dsa-alt {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 1rem;
	background: var(--dsa-card);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.pm-dsa .pm-dsa-alt-name {
	font-size: 1.6rem;
	line-height: 1.1;
}

.pm-dsa .pm-dsa-alt-line {
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}

.pm-dsa .pm-dsa-alt-price {
	margin-top: 8px;
	font-size: 0.8125rem;
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-alt-price strong {
	font-family: var(--dsa-head);
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-pricing-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
}

/* --- Styles to explore: the seven themes in a scroller --- */

.pm-dsa .pm-dsa-styles-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}

.pm-dsa .pm-dsa-styles-intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 640px;
}

.pm-dsa .pm-dsa-arrows {
	display: flex;
	gap: 8px;
}

.pm-dsa .pm-dsa-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dsa-disc);
	color: var(--dsa-ink);
	cursor: pointer;
}

.pm-dsa .pm-dsa-arrow:hover {
	background: var(--dsa-disc-hover);
}

.pm-dsa .pm-dsa-arrow:focus-visible {
	outline: 2px solid var(--dsa-accent);
	outline-offset: 2px;
}

.pm-dsa .pm-dsa-themes {
	padding: 4px 2px 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

/* No scrollbar under the tiles: the arrows, a swipe and the keyboard move them */
.pm-dsa .pm-dsa-themes::-webkit-scrollbar {
	display: none;
}

.pm-dsa .pm-dsa-themes:focus-visible {
	outline: 2px solid var(--dsa-accent);
	outline-offset: 2px;
	border-radius: 1rem;
}

.pm-dsa .pm-dsa-theme-list {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-dsa .pm-dsa-theme {
	display: flex;
	flex: 0 0 272px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	background: var(--dsa-card);
	scroll-snap-align: start;
}

.pm-dsa .pm-dsa-theme.is-best {
	border-color: rgba(var(--dsa-accent-rgb), 0.55);
}

/* The theme's storefront, from its 2027 design study; the theme's own ground shows while the picture loads */
.pm-dsa .pm-dsa-theme-art {
	height: 176px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--t-bg);
}

.pm-dsa .pm-dsa-theme-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.pm-dsa .pm-dsa-theme-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 18px;
}

.pm-dsa .pm-dsa-theme-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.pm-dsa .pm-dsa-theme-name {
	font-size: 1.5rem;
	line-height: 1.05;
}

.pm-dsa .pm-dsa-theme-pct {
	font-family: var(--dsa-mono);
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
}

.pm-dsa .pm-dsa-theme-meter {
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.1);
}

.pm-dsa .pm-dsa-theme-meter span {
	display: block;
	width: var(--pct, 50%);
	height: 4px;
	border-radius: 2px;
	background: var(--dsa-meter);
}

.pm-dsa .pm-dsa-theme-label {
	font-family: var(--dsa-mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
}

.pm-dsa .pm-dsa-theme.is-best .pm-dsa-theme-pct,
.pm-dsa .pm-dsa-theme.is-best .pm-dsa-theme-label {
	color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-theme-built {
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.75);
}

/* Lorenzo's "Choose … over … if" line, on the best match when the runner-up is close */
.pm-dsa .pm-dsa-theme-choose {
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.75);
}

/* --- The closing panel: what happens next, their answers, and three ways forward --- */

.pm-dsa .pm-dsa-r-last {
	padding-bottom: 0;
}

.pm-dsa .pm-dsa-close {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid rgba(var(--dsa-accent-rgb), 0.35);
	border-radius: 1.5rem;
	background: linear-gradient(180deg, rgba(var(--dsa-accent-rgb), 0.13) 0%, rgba(var(--dsa-accent-rgb), 0.04) 55%, rgba(255, 255, 255, 0.02) 100%);
}

.pm-dsa .pm-dsa-timeline {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pm-dsa .pm-dsa-timeline li {
	position: relative;
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 6px;
	padding-top: 32px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.pm-dsa .pm-dsa-tl-dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: var(--dsa-ground);
}

.pm-dsa .pm-dsa-timeline .is-now .pm-dsa-tl-dot {
	border: 0;
	background: var(--dsa-accent);
	box-shadow: 0 0 0 5px rgba(var(--dsa-accent-rgb), 0.2);
}

.pm-dsa .pm-dsa-timeline .is-next .pm-dsa-tl-dot {
	border-color: var(--dsa-accent);
}

.pm-dsa .pm-dsa-tl-title {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--dsa-ink);
}

.pm-dsa .pm-dsa-close-split {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 48px;
	padding-top: 30px;
	border-top: 1px solid var(--dsa-line);
}

.pm-dsa .pm-dsa-answers {
	display: flex;
	flex: 1.5 1 420px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.pm-dsa .pm-dsa-answers-title {
	font-size: 1.4rem;
	line-height: 1.1;
}

.pm-dsa .pm-dsa-answers dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 14px 28px;
	margin: 0;
}

.pm-dsa .pm-dsa-answers dd {
	margin: 3px 0 0;
	font-size: 0.9375rem;
	color: var(--dsa-strong);
	overflow-wrap: anywhere;
}

.pm-dsa .pm-dsa-answers dd span {
	color: var(--dsa-muted);
}

.pm-dsa .pm-dsa-answers .btn {
	align-self: flex-start;
}

.pm-dsa .pm-dsa-ready {
	display: flex;
	flex: 1 1 280px;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.pm-dsa .pm-dsa-ready-title {
	font-size: clamp(1.9rem, 3.4vw, 2.4rem);
	line-height: 1.05;
}

/* In the page (the PageBuilder editor open, or before the script runs): a plain band on the page's dark ground,
   not the form popup's 640px white card */
section.pm-modal-section.pm-dsa-modal > .container {
	max-width: 1400px;
	padding: 2.5rem 1.25rem;
	border-radius: 0;
	background-color: var(--bs-dark);
}

/* ==========================================================================
   Wider screens
   ========================================================================== */

@media (min-width: 576px) {
	.pm-dsa .pm-dsa-checks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pm-dsa .pm-dsa-r-band {
		padding-bottom: 80px;
	}
}

@media (min-width: 768px) {
	.pm-dsa .pm-dsa-head {
		align-items: center;
		min-height: 0;
		margin-top: 0;
		padding-right: 0;
		text-align: center;
	}

	.pm-dsa .pm-dsa-title,
	.pm-dsa .pm-dsa-sub {
		display: block;
	}

	.pm-dsa .pm-dsa-card {
		padding: 30px 36px;
		border: 1px solid rgba(255, 255, 255, 0.05);
		border-radius: 1rem;
		background: var(--dsa-card);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	}

	.pm-dsa .pm-dsa-q {
		font-size: 2.5rem;
		line-height: 1.08;
	}

	.pm-dsa .pm-dsa-hint {
		font-size: 1rem;
	}

	/* The address and Take a look become one pill */
	.pm-dsa .pm-dsa-site {
		flex-direction: row;
		align-items: center;
		gap: 0;
		height: 60px;
		margin-top: 8px;
		padding: 0 6px 0 20px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 50px;
		background: rgba(255, 255, 255, 0.07);
		transition: border-color 0.2s ease, box-shadow 0.2s ease;
	}

	.pm-dsa .pm-dsa-site:focus-within {
		border-color: var(--dsa-accent);
		box-shadow: var(--dsa-ring);
	}

	.pm-dsa .pm-dsa-site .pm-dsa-composer-site,
	.pm-dsa .pm-dsa-site .pm-dsa-composer-site:focus-within {
		flex: 1;
		height: 100%;
		gap: 12px;
		padding: 0 12px 0 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.pm-dsa .pm-dsa-globe {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}

	.pm-dsa .pm-dsa-composer-site .pm-dsa-input {
		font-size: 1.125rem;
	}

	.pm-dsa .pm-dsa-look-btn {
		width: auto;
		min-height: 48px;
	}

	.pm-dsa .pm-dsa-opts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		margin-top: 8px;
	}

	.pm-dsa .pm-dsa-opt {
		gap: 14px;
		min-height: 88px;
		padding: 18px 20px;
	}

	.pm-dsa .pm-dsa-opt-label {
		font-size: 1.0625rem;
	}

	.pm-dsa .pm-dsa-opt-desc {
		font-size: 0.875rem;
	}

	.pm-dsa .pm-dsa-own {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		margin-top: 4px;
	}

	.pm-dsa .pm-dsa-own-label {
		flex: 0 0 auto;
	}

	.pm-dsa .pm-dsa-composer-own {
		flex: 1;
		height: 48px;
		padding: 0 5px 0 18px;
	}

	.pm-dsa .pm-dsa-send {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.pm-dsa .pm-dsa-look-title {
		font-size: 2rem;
	}

	.pm-dsa .pm-dsa-look-summary {
		font-size: 1.125rem;
	}

	.pm-dsa .pm-dsa-findings,
	.pm-dsa .pm-dsa-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	/* An odd last tile takes the whole row, so the card never ends on half a row */
	.pm-dsa .pm-dsa-findings > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	/* Rows of fields keep the forms' 16px; the shared rule above sets the columns */
	.pm-dsa .pm-dsa-fields {
		row-gap: 16px;
	}

	.pm-dsa .pm-dsa-bar {
		padding-top: 14px;
	}

	.pm-dsa .pm-dsa-bar-in {
		gap: 20px;
	}

	.pm-dsa .pm-dsa-bar-gap {
		display: block;
		flex: 1;
	}

	.pm-dsa .pm-dsa-bar .btn-primary {
		flex: 0 0 auto;
		min-width: 10rem;
	}

	.pm-dsa .pm-dsa-r-head {
		padding-top: 1.5rem;
		padding-bottom: 3.5rem;
	}
}

@media (min-width: 992px) {
	.pm-dsa .pm-dsa-quiz {
		gap: 1.75rem;
	}

	.pm-dsa .pm-dsa-layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 2rem;
	}

	.pm-dsa .pm-dsa-rail {
		display: flex;
		flex: 0 0 260px;
		flex-direction: column;
		gap: 1rem;
		width: 260px;
		padding-top: 4px;
	}

	.pm-dsa .pm-dsa-rail-top {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
	}

	.pm-dsa .pm-dsa-meter {
		display: block;
	}

	.pm-dsa .pm-dsa-steps {
		display: flex;
	}

	.pm-dsa .pm-dsa-segs {
		display: none;
	}

	.pm-dsa .pm-dsa-card {
		flex: 1;
	}

	.pm-dsa .pm-dsa-card-head {
		display: flex;
	}

	.pm-dsa .pm-dsa-checks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* The timeline's three steps sit in one row from here, joined by a line */
	.pm-dsa .pm-dsa-timeline li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 8px;
		right: -20px;
		left: 30px;
		height: 2px;
		background: linear-gradient(90deg, rgba(var(--dsa-accent-rgb), 0.7), rgba(var(--dsa-accent-rgb), 0.2));
	}

	.pm-dsa .pm-dsa-timeline .is-next::after {
		background: linear-gradient(90deg, rgba(var(--dsa-accent-rgb), 0.45), rgba(var(--dsa-accent-rgb), 0.12));
	}
}

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes pmDsaIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes pmDsaGlow {
	0% {
		box-shadow: 0 0 0 0 rgba(var(--dsa-accent-rgb), 0.55);
	}

	100% {
		box-shadow: 0 0 0 12px rgba(var(--dsa-accent-rgb), 0);
	}
}

@keyframes pmDsaDot {
	0%,
	80%,
	100% {
		opacity: 0.25;
	}

	40% {
		opacity: 1;
	}
}

@keyframes pmDsaSpin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pm-dsa .pm-dsa-card-in.is-entering,
	.pm-dsa .pm-dsa-reply,
	.pm-dsa .pm-dsa-look-summary,
	.pm-dsa .pm-dsa-finding,
	.pm-dsa .pm-dsa-speed .pm-dsa-finding-text,
	.pm-dsa .pm-dsa-opt.is-taken {
		animation: none;
	}

	.pm-dsa .pm-dsa-dots span {
		animation: none;
		opacity: 0.8;
	}

	.pm-dsa .pm-dsa-spin {
		animation-duration: 2.4s;
	}

	.pm-dsa .pm-dsa-meter span {
		transition: none;
	}

	.pm-dsa .pm-dsa-themes {
		scroll-behavior: auto;
	}

	.pm-dsa .btn:hover:not(:disabled),
	.pm-dsa .btn:focus-visible:not(:disabled),
	.pm-dsa .pm-dsa-send:hover:not(:disabled) {
		transform: none;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.pm-dsa .pm-dsa-bar {
		background: var(--dsa-ground);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}
