:root {
	--apdp-ink: #102c45;
	--apdp-ink-soft: #365066;
	--apdp-gold: #835d1b;
	--apdp-gold-soft: #e5c78f;
	--apdp-cream: #fbf7ef;
	--apdp-cream-deep: #f0e4d0;
	--apdp-white: #fffdfa;
	--apdp-line: rgba(16, 44, 69, .14);
	--apdp-shadow: 0 24px 70px rgba(18, 34, 48, .12);
	--apdp-radius-lg: 28px;
	--apdp-radius-md: 20px;
}

.apdp-profile,
.apdp-profile * {
	box-sizing: border-box;
}

.apdp-profile {
	color: var(--apdp-ink);
	font-size: 16px;
	line-height: 1.65;
	max-width: 1120px;
	margin: 0 auto;
	padding-bottom: 8px;
	-webkit-font-smoothing: antialiased;
}

.apdp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid rgba(185, 138, 59, .32);
	border-radius: var(--apdp-radius-lg);
	background:
		radial-gradient(circle at 90% 10%, rgba(229, 199, 143, .38), transparent 34%),
		linear-gradient(135deg, var(--apdp-white), var(--apdp-cream));
	box-shadow: var(--apdp-shadow);
	isolation: isolate;
}

.apdp-hero::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--apdp-gold-soft), var(--apdp-gold));
	pointer-events: none;
}

.apdp-hero::after {
	content: "ЭТСИД";
	position: absolute;
	right: clamp(16px, 5vw, 64px);
	bottom: -18px;
	color: rgba(185, 138, 59, .08);
	font: 700 clamp(64px, 12vw, 150px)/1 Georgia, serif;
	letter-spacing: .06em;
	pointer-events: none;
}

.apdp-kicker {
	margin: 0 0 10px;
	color: var(--apdp-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.apdp-hero h2,
.apdp-instrument h3,
.apdp-empty h3,
.apdp-privacy-panel h3 {
	margin: 0;
	color: var(--apdp-ink);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: -.025em;
}

.apdp-hero h2 {
	font-size: clamp(36px, 6vw, 68px);
	line-height: 1.04;
}

.apdp-hero__intro {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 20px 0 0;
	color: var(--apdp-ink-soft);
	font-size: clamp(17px, 2vw, 20px);
}

.apdp-trust {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.apdp-trust li {
	position: relative;
	padding-left: 19px;
	color: var(--apdp-ink-soft);
	font-size: 13px;
	font-weight: 600;
}

.apdp-trust li::before {
	content: "";
	position: absolute;
	top: .58em;
	left: 0;
	width: 8px;
	height: 8px;
	border: 2px solid var(--apdp-gold);
	border-radius: 50%;
	background: var(--apdp-white);
}

.apdp-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
}

.apdp-jump a {
	padding: 9px 15px;
	border: 1px solid var(--apdp-line);
	border-radius: 999px;
	background: var(--apdp-white);
	color: var(--apdp-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 650;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.apdp-jump a:hover,
.apdp-jump a:focus-visible {
	border-color: var(--apdp-gold);
	box-shadow: 0 0 0 3px rgba(185, 138, 59, .14);
	transform: translateY(-1px);
}

.apdp-instrument {
	position: relative;
	overflow: hidden;
	margin-top: 28px;
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid var(--apdp-line);
	border-radius: 26px;
	background: var(--apdp-white);
	box-shadow: 0 16px 50px rgba(18, 34, 48, .08);
}

.apdp-instrument::before {
	content: "";
	position: absolute;
	top: 0;
	left: clamp(22px, 4vw, 42px);
	width: min(150px, 30%);
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, var(--apdp-gold), var(--apdp-gold-soft));
}

.apdp-instrument__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.apdp-instrument h3 {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.1;
}

.apdp-date {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--apdp-line);
	border-radius: 14px;
	background: var(--apdp-cream);
	color: var(--apdp-ink-soft);
	white-space: nowrap;
}

.apdp-date span {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.apdp-date time {
	color: var(--apdp-ink);
	font-size: 13px;
	font-weight: 700;
}

.apdp-score-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.apdp-score-grid--count-1 {
	grid-template-columns: minmax(0, 360px);
}

.apdp-score-grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apdp-score-grid--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apdp-score-grid--count-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apdp-score-card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--apdp-line);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff, var(--apdp-cream));
	box-shadow: 0 8px 24px rgba(18, 34, 48, .045);
}

.apdp-score-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--apdp-scale, var(--apdp-gold));
}

.apdp-scale-e { --apdp-scale: #a76f25; }
.apdp-scale-t { --apdp-scale: #1e5b7f; }
.apdp-scale-s { --apdp-scale: #766388; }
.apdp-scale-i { --apdp-scale: #39746b; }
.apdp-scale-d { --apdp-scale: #9a5149; }

.apdp-score-card > span {
	display: block;
	min-height: 3.2em;
	color: var(--apdp-ink-soft);
	font-size: 13px;
	line-height: 1.35;
}

.apdp-score-card strong {
	display: block;
	margin-top: 12px;
	font: 700 34px/1 Georgia, serif;
	font-variant-numeric: tabular-nums;
}

.apdp-meter {
	overflow: hidden;
	height: 7px;
	margin-top: 15px;
	border-radius: 999px;
	background: rgba(16, 44, 69, .09);
}

.apdp-meter span {
	display: block;
	width: var(--apdp-value);
	height: 100%;
	border-radius: inherit;
	background: var(--apdp-scale, var(--apdp-gold));
	background: linear-gradient(90deg, color-mix(in srgb, var(--apdp-scale, var(--apdp-gold)) 45%, white), var(--apdp-scale, var(--apdp-gold)));
}

.apdp-chart-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.apdp-chart-grid--count-1 {
	grid-template-columns: 1fr;
}

.apdp-chart-grid--rows {
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.apdp-chart-grid--rows .apdp-chart-card--row {
	display: grid;
	grid-template-columns: minmax(190px, .36fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(18px, 3vw, 34px);
	padding: 18px clamp(18px, 3vw, 28px);
}

.apdp-chart-grid--rows .apdp-chart-card__head {
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 0;
}

.apdp-chart-grid--rows .apdp-chart-card h4 {
	font-size: clamp(15px, 1.8vw, 18px);
}

.apdp-chart-grid--rows .apdp-mini-chart {
	min-height: 164px;
}

.apdp-chart-grid--combined {
	grid-template-columns: minmax(0, 1fr);
}

.apdp-chart-card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--apdp-line);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff 0%, rgba(251, 247, 239, .56) 100%);
	box-shadow: 0 8px 24px rgba(18, 34, 48, .04);
}

.apdp-chart-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	width: 56px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: var(--apdp-scale, var(--apdp-gold));
}

.apdp-chart-card--combined {
	padding: clamp(20px, 3vw, 30px);
}

.apdp-chart-card--combined::before {
	left: clamp(20px, 3vw, 30px);
	width: 112px;
	background: linear-gradient(90deg, var(--apdp-gold), var(--apdp-gold-soft));
}

.apdp-chart-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.apdp-chart-card h4 {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
}

.apdp-chart-card__head span {
	color: var(--apdp-ink-soft);
	font-size: 11px;
	white-space: nowrap;
}

.apdp-chart-legend {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 18px 0 10px;
	padding: 0;
	list-style: none;
}

.apdp-chart-legend li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid var(--apdp-line);
	border-radius: 12px;
	background: rgba(255, 253, 250, .84);
}

.apdp-chart-legend__swatch {
	flex: 0 0 15px;
	width: 15px;
	height: 4px;
	border-radius: 999px;
	background: var(--apdp-scale, var(--apdp-gold));
}

.apdp-chart-legend__label {
	min-width: 0;
	color: var(--apdp-ink-soft);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.apdp-mini-chart {
	min-height: 170px;
}

.apdp-mini-chart--combined {
	min-height: 310px;
	margin-top: 8px;
}

.apdp-mini-chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.apdp-svg-grid {
	stroke: rgba(16, 44, 69, .12);
	stroke-width: 1;
}

.apdp-svg-line {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.apdp-svg-line--combined {
	stroke-width: 3.25;
}

.apdp-svg-point--combined {
	filter: drop-shadow(0 2px 3px rgba(16, 44, 69, .12));
}

.apdp-svg-point {
	stroke: #fff;
	stroke-width: 3;
}

.apdp-svg-y,
.apdp-svg-date,
.apdp-svg-version-label {
	fill: #607283;
	font: 11px/1 system-ui, sans-serif;
}

.apdp-svg-version-boundary {
	stroke: #607283;
	stroke-dasharray: 5 5;
	stroke-width: 1;
}

.apdp-svg-version-label {
	font-size: 9px;
	letter-spacing: .03em;
}

.apdp-one-point,
.apdp-version-note,
.apdp-consent-note,
.apdp-consent-form__meta {
	color: var(--apdp-ink-soft);
	font-size: 13px;
}

.apdp-consent-note--guest {
	padding: 18px;
	border: 1px solid var(--apdp-line);
	border-radius: 18px;
	background: var(--apdp-white);
}

.apdp-consent-note--guest p {
	margin: 0;
}

.apdp-consent-note--guest p + p {
	margin-top: 14px;
}

.apdp-consent-note--guest .button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
}

.apdp-history-table {
	margin-top: 24px;
	border-top: 1px solid var(--apdp-line);
}

.apdp-history-table summary {
	cursor: pointer;
	position: relative;
	padding: 18px 0;
	padding-right: 34px;
	font-weight: 700;
	list-style: none;
}

.apdp-history-table summary::-webkit-details-marker {
	display: none;
}

.apdp-history-table summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 2px;
	width: 26px;
	height: 26px;
	border: 1px solid var(--apdp-line);
	border-radius: 50%;
	color: var(--apdp-gold);
	font: 700 18px/24px system-ui, sans-serif;
	text-align: center;
	transform: translateY(-50%);
}

.apdp-history-table[open] summary::after {
	content: "−";
}

.apdp-history-table summary:focus-visible,
.apdp-primary-link:focus-visible,
.apdp-text-link:focus-visible,
.apdp-consent-form .button:focus-visible,
.apdp-delete-form .button:focus-visible {
	outline: 3px solid rgba(131, 93, 27, .28);
	outline-offset: 3px;
}

.apdp-table-scroll {
	overflow-x: auto;
	max-width: 100%;
	outline: none;
}

.apdp-table-scroll:focus-visible {
	box-shadow: 0 0 0 3px rgba(185, 138, 59, .18);
}

.apdp-history-table table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.apdp-history-table th,
.apdp-history-table td {
	padding: 12px;
	border-bottom: 1px solid var(--apdp-line);
	text-align: left;
	vertical-align: top;
}

.apdp-history-table thead th {
	color: var(--apdp-ink-soft);
	font-size: 12px;
}

.apdp-empty,
.apdp-privacy-panel {
	margin-top: 26px;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--apdp-line);
	border-radius: 24px;
	background: var(--apdp-cream);
}

.apdp-primary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 12px;
	padding: 10px 20px;
	border: 1px solid var(--apdp-ink);
	border-radius: 999px;
	background: var(--apdp-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.apdp-primary-link:hover {
	background: #173d5c;
	color: #fff;
}

.apdp-primary-link--compact {
	min-height: 42px;
	margin-top: 0;
	padding: 8px 17px;
}

.apdp-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	color: var(--apdp-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration-color: rgba(131, 93, 27, .45);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.apdp-text-link:hover {
	color: var(--apdp-gold);
}

.apdp-prep {
	overflow-wrap: anywhere;
}

.apdp-prep__notice {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px 18px;
	margin: 26px 0 0;
	padding: 18px 22px;
	border: 1px solid rgba(131, 93, 27, .22);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(251, 247, 239, .94), rgba(255, 253, 250, .96));
	color: var(--apdp-ink-soft);
	font-size: 13px;
}

.apdp-prep__notice strong {
	color: var(--apdp-ink);
}

.apdp-prep-section {
	margin-top: 28px;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--apdp-line);
	border-radius: 26px;
	background: var(--apdp-white);
	box-shadow: 0 14px 42px rgba(18, 34, 48, .065);
}

.apdp-prep-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.apdp-prep-section__head .apdp-kicker {
	margin-bottom: 6px;
}

.apdp-prep-section__head h3,
.apdp-prep-step h4 {
	margin: 0;
	color: var(--apdp-ink);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: -.02em;
}

.apdp-prep-section__head h3 {
	font-size: clamp(27px, 3.5vw, 39px);
	line-height: 1.08;
}

.apdp-prep-section__head > p {
	max-width: 410px;
	margin: 0;
	color: var(--apdp-ink-soft);
	font-size: 13px;
	text-align: right;
}

.apdp-prep-list,
.apdp-prep-screenings,
.apdp-prep-notes,
.apdp-prep-lifecycle {
	margin: 0;
	padding: 0;
	list-style: none;
}

.apdp-prep-list {
	display: grid;
	gap: 16px;
}

.apdp-prep-screenings {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.apdp-prep-step {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 18px;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--apdp-line);
	border-radius: 20px;
	background: linear-gradient(160deg, #fff 0%, rgba(251, 247, 239, .72) 100%);
}

.apdp-prep-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	width: 74px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: var(--apdp-step-accent, var(--apdp-gold));
}

.apdp-prep-step--required { --apdp-step-accent: #9b6530; }
.apdp-prep-step--recommended { --apdp-step-accent: #315f78; }
.apdp-prep-step--optional { --apdp-step-accent: #7a6b86; }

.apdp-prep-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid color-mix(in srgb, var(--apdp-step-accent) 34%, white);
	border-radius: 50%;
	background: color-mix(in srgb, var(--apdp-step-accent) 8%, white);
	color: var(--apdp-step-accent);
	font: 700 17px/1 Georgia, serif;
}

.apdp-prep-step__body {
	min-width: 0;
}

.apdp-prep-step__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	margin-bottom: 9px;
}

.apdp-prep-tier {
	color: var(--apdp-step-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.apdp-prep-status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border: 1px solid var(--apdp-line);
	border-radius: 999px;
	background: rgba(16, 44, 69, .035);
	color: var(--apdp-ink-soft);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.apdp-prep-status--saved {
	border-color: rgba(48, 113, 91, .24);
	background: rgba(48, 113, 91, .08);
	color: #285f4f;
}

.apdp-prep-status--progress {
	border-color: rgba(155, 101, 48, .28);
	background: rgba(155, 101, 48, .08);
	color: #74491f;
}

.apdp-prep-step h4 {
	font-size: clamp(21px, 2.3vw, 29px);
	line-height: 1.16;
}

.apdp-prep-step p {
	margin: 10px 0 0;
	color: var(--apdp-ink-soft);
	font-size: 14px;
}

.apdp-prep-step__details {
	margin: 13px 0 0;
	padding: 0;
	list-style: none;
}

.apdp-prep-step__details li {
	position: relative;
	margin-top: 6px;
	padding-left: 17px;
	color: var(--apdp-ink-soft);
	font-size: 13px;
}

.apdp-prep-step__details li::before {
	content: "";
	position: absolute;
	top: .65em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--apdp-step-accent);
}

.apdp-prep-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-top: 18px;
}

.apdp-prep-step--compact {
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	padding: 18px;
}

.apdp-prep-step--compact::before {
	left: 18px;
	width: 56px;
}

.apdp-prep-step--compact .apdp-prep-step__num {
	width: 40px;
	height: 40px;
	font-size: 14px;
}

.apdp-prep-step--compact .apdp-prep-step__meta {
	align-items: flex-start;
	flex-direction: column;
}

.apdp-prep-step--compact h4 {
	font-size: 21px;
}

.apdp-prep-step--compact .apdp-prep-status {
	text-align: left;
}

.apdp-prep-notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.apdp-prep-notes li {
	display: grid;
	gap: 4px;
	padding: 17px 18px;
	border: 1px solid var(--apdp-line);
	border-radius: 16px;
	background: var(--apdp-cream);
}

.apdp-prep-notes strong {
	color: var(--apdp-ink);
	font-size: 14px;
}

.apdp-prep-notes span {
	color: var(--apdp-ink-soft);
	font-size: 13px;
}

.apdp-prep-lifecycle {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 9px;
}

.apdp-prep-lifecycle li {
	display: flex;
	min-width: 0;
	min-height: 132px;
	flex-direction: column;
	padding: 15px;
	border: 1px solid var(--apdp-line);
	border-radius: 16px;
	background: linear-gradient(180deg, #fff, var(--apdp-cream));
}

.apdp-prep-lifecycle span {
	margin-bottom: auto;
	color: var(--apdp-gold);
	font: 700 13px/1 Georgia, serif;
}

.apdp-prep-lifecycle strong {
	margin-top: 20px;
	color: var(--apdp-ink);
	font-size: 14px;
}

.apdp-prep-lifecycle small {
	margin-top: 4px;
	color: var(--apdp-ink-soft);
	font-size: 11px;
	line-height: 1.35;
}

.apdp-prep-safety {
	margin-top: 28px;
	padding: 22px 24px;
	border: 1px solid rgba(132, 64, 60, .22);
	border-radius: 20px;
	background: rgba(132, 64, 60, .055);
	color: var(--apdp-ink-soft);
}

.apdp-prep-safety strong {
	color: #713d3a;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.apdp-prep-safety p {
	margin: 7px 0 0;
	font-size: 13px;
}

.apdp-empty > span {
	color: var(--apdp-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
}

.apdp-empty h3,
.apdp-privacy-panel h3 {
	margin-top: 8px;
	font-size: clamp(24px, 3vw, 34px);
}

.apdp-consent-form label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 18px 0 8px;
}

.apdp-consent-form input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	accent-color: var(--apdp-gold);
}

.apdp-consent-form .button,
.apdp-delete-form .button {
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
}

.apdp-delete-form {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--apdp-line);
}

.apdp-delete-button {
	color: #7a2e2e !important;
}

@media (max-width: 900px) {
	.apdp-score-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.apdp-score-grid--count-1 {
		grid-template-columns: minmax(0, 360px);
	}
	.apdp-chart-legend {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.apdp-prep-lifecycle {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.apdp-profile {
		font-size: 15px;
	}

	.apdp-hero,
	.apdp-instrument,
	.apdp-empty,
	.apdp-privacy-panel {
		border-radius: 20px;
	}

	.apdp-instrument__head,
	.apdp-chart-card__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.apdp-date {
		align-items: flex-start;
		white-space: normal;
	}

	.apdp-score-grid,
	.apdp-chart-grid {
		grid-template-columns: 1fr;
	}

	.apdp-chart-grid--rows .apdp-chart-card--row {
		display: block;
		padding: 17px 14px 13px;
	}

	.apdp-chart-grid--rows .apdp-chart-card__head {
		margin-bottom: 4px;
	}

	.apdp-score-card > span {
		min-height: 0;
	}

	.apdp-score-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 16px;
		align-items: center;
	}

	.apdp-score-card strong {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}

	.apdp-meter {
		grid-column: 1 / -1;
		margin-top: 2px;
	}

	.apdp-mini-chart {
		min-height: 190px;
	}

	.apdp-mini-chart--combined {
		min-height: 350px;
		margin-top: 4px;
	}

	.apdp-chart-card--combined {
		padding: 18px 15px;
	}

	.apdp-chart-card--combined::before {
		left: 15px;
	}

	.apdp-chart-legend {
		grid-template-columns: minmax(0, 1fr);
		gap: 7px;
		margin-top: 14px;
	}

	.apdp-chart-legend li {
		min-height: 38px;
		padding: 7px 9px;
	}

	.apdp-chart-legend__label {
		font-size: 12px;
		overflow-wrap: normal;
	}

	.apdp-svg-y,
	.apdp-svg-date {
		font-size: 13px;
	}

	.apdp-svg-version-label {
		font-size: 11px;
	}

	.apdp-trust {
		display: grid;
		gap: 8px;
	}

	.apdp-prep__notice {
		grid-template-columns: 1fr;
		padding: 16px 18px;
	}

	.apdp-prep-section {
		padding: 20px 18px;
		border-radius: 20px;
	}

	.apdp-prep-section__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.apdp-prep-section__head > p {
		max-width: none;
		text-align: left;
	}

	.apdp-prep-screenings,
	.apdp-prep-notes,
	.apdp-prep-lifecycle {
		grid-template-columns: 1fr;
	}

	.apdp-prep-step,
	.apdp-prep-step--compact {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 13px;
		padding: 18px 15px;
	}

	.apdp-prep-step::before,
	.apdp-prep-step--compact::before {
		left: 15px;
	}

	.apdp-prep-step__num,
	.apdp-prep-step--compact .apdp-prep-step__num {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}

	.apdp-prep-step__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.apdp-prep-status {
		text-align: left;
	}

	.apdp-prep-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 7px;
	}

	.apdp-prep-actions .apdp-primary-link,
	.apdp-prep-actions .apdp-text-link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.apdp-prep-lifecycle li {
		min-height: 0;
	}

	.apdp-prep-lifecycle span {
		margin-bottom: 0;
	}

	.apdp-prep-lifecycle strong {
		margin-top: 10px;
	}
}

@media (forced-colors: active) {
	.apdp-hero,
	.apdp-instrument,
	.apdp-score-card,
	.apdp-chart-card,
	.apdp-chart-legend li,
	.apdp-prep-section,
	.apdp-prep-step,
	.apdp-prep-notes li,
	.apdp-prep-lifecycle li,
	.apdp-prep__notice,
	.apdp-prep-safety,
	.apdp-empty,
	.apdp-privacy-panel,
	.apdp-date {
		border: 1px solid CanvasText;
	}

	.apdp-meter span,
	.apdp-chart-legend__swatch,
	.apdp-score-card::before,
	.apdp-chart-card::before,
	.apdp-instrument::before {
		background: Highlight;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apdp-profile *,
	.apdp-profile *::before,
	.apdp-profile *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media print {
	.apdp-profile {
		color: #000;
	}
	.apdp-hero,
	.apdp-instrument,
	.apdp-empty,
	.apdp-privacy-panel {
		box-shadow: none;
	}
	.apdp-consent-form,
	.apdp-delete-form,
	.apdp-jump,
	.apdp-prep-actions {
		display: none;
	}
}
