.werk .werk-inner > .page-shell--site > .page-shell-body--site:has(.profile-shell) {
	padding: 0;
	border: 0;
	background: transparent;
}

.werk .news-grid:has(.profile-shell) {
	--werk-profile-inset: calc(1px + clamp(16px, 2.2vw, 28px));
}

.werk .news-grid > #dle-content:has(> form#userinfo:first-child + .page-alert:last-child) {
	row-gap: 0;
}

.werk .news-grid > :is(.profile-shell, form#userinfo),
.werk .news-grid > #dle-content > :is(.profile-shell, form#userinfo) {
	grid-column: 1 / -1;
	min-width: 0;
	width: 100%;
	margin: 0;
}

.werk .profile-shell {
	box-sizing: border-box;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(20px, 3vw, 36px);
	/* Preserve the column width of the vehicle reports. */
	padding-inline: var(--werk-profile-inset);
}

.werk .news-grid :is(form#userinfo, #dle-content:has(> form#userinfo)) + .page-alert {
	grid-column: 1 / -1;
	float: none;
	width: auto;
	max-width: none;
	margin: clamp(24px, 2.6vw, 32px) var(--werk-profile-inset) 0;
	padding: clamp(14px, 1.6vw, 20px) 0 0;
	border: 0;
	border-top: 1px solid var(--werk-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--werk-muted);
	font-weight: 400;
}

.werk .news-grid :is(form#userinfo, #dle-content:has(> form#userinfo)) + .page-alert .page-alert__body {
	float: none;
	width: auto;
	padding: 0;
}

.werk .news-grid :is(form#userinfo, #dle-content:has(> form#userinfo)) + .page-alert .page-alert__body b {
	margin-bottom: 4px;
	color: var(--werk-ink);
}

.werk .news-grid :is(form#userinfo, #dle-content:has(> form#userinfo)) + .page-alert .page-alert__body b + br {
	display: none;
}

.werk .profile-shell :is(.profile-hero, .profile-section) {
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow-wrap: anywhere;
}

.werk .profile-shell .profile-hero {
	--werk-profile-avatar: clamp(70px, 10vw, 100px);
	grid-template-columns: var(--werk-profile-avatar) minmax(0, 1fr);
	gap: clamp(13px, 2.35vw, 24px);
}

.werk .profile-shell > .profile-section {
	padding-top: clamp(18px, 2.5vw, 28px);
	border-top: 1px solid var(--werk-line);
	scroll-margin-top: 14px;
}

.werk .profile-hero__avatar {
	width: var(--werk-profile-avatar);
	height: var(--werk-profile-avatar);
}

.werk .profile-hero__status {
	right: 6px;
	bottom: 6px;
}

.werk .profile-hero__avatar img {
	box-sizing: border-box;
	border: 0;
	border-radius: var(--werk-radius);
}

.werk .profile-hero__eyebrow {
	margin-bottom: 6px;
	color: var(--werk-red-dark);
}

.werk .profile-hero__title {
	color: var(--werk-ink);
	font-size: clamp(1.45rem, 3vw, 2.5rem);
	letter-spacing: -.035em;
}

.werk .profile-about {
	margin: 8px 0 0;
	color: var(--werk-muted);
	line-height: 1.5;
}

.werk .profile-hero__actions {
	gap: 0 18px;
	margin-top: 8px;
}

.werk .profile-hero__actions .profile-action {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--werk-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.werk .profile-hero__actions .profile-action:hover {
	background: transparent;
	color: var(--werk-red);
}

.werk .profile-settings__head {
	display: grid;
	gap: 7px;
	margin: 0 0 clamp(16px, 2.5vw, 24px);
}

.werk .profile-settings__head > .profile-section__title {
	color: var(--werk-ink);
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	letter-spacing: -.025em;
}

.werk .profile-settings__head :is(.profile-settings__lead, .profile-field__note) {
	color: var(--werk-muted);
	line-height: 1.55;
}

.werk .profile-shell .profile-service-history {
	margin-top: 0;
}

.werk .profile-shell .profile-misc {
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.werk .profile-misc .profile-lock-hint {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--werk-muted);
}

.werk .profile-misc .xfields {
	display: grid;
	gap: 18px;
	min-width: 0;
	max-width: 42rem;
	margin-top: 12px;
}

.werk .profile-misc .xfields:empty {
	display: none;
}

.werk .profile-misc .xfieldsrow {
	display: grid;
	grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr);
	align-items: baseline;
	gap: 6px 14px;
	padding: 0;
}

.werk .profile-misc :is(.xfieldscolleft, .xfieldscolright) {
	float: none;
	width: auto;
	min-width: 0;
}

.werk .profile-misc .xfieldscolleft {
	color: var(--werk-ink);
	font-weight: 500;
}

.werk .profile-submit .btn {
	min-width: min(13.75rem, 100%);
	max-width: 100%;
	border-color: var(--werk-red);
	background: var(--werk-red);
}

.werk .profile-submit .btn:hover {
	border-color: var(--werk-red-dark);
	background: var(--werk-red-dark);
}

@media (max-width: 560px) {
	.werk .profile-shell .profile-hero {
		--werk-profile-avatar: 64px;
		align-items: start;
	}

	.werk .profile-misc .xfieldsrow {
		grid-template-columns: minmax(0, 1fr);
	}

	.werk .profile-submit .btn {
		width: 100%;
	}
}
