/**
 * Guarded account presentation for Design V2.
 *
 * Every rule is scoped to the server-side activation class. Removing the
 * account_v2 flag (or using the account kill switch) restores the established
 * WooCommerce account presentation without touching customer data.
 */

body.thps-v2-account,
body.thps-v2-account .woocommerce,
body.thps-v2-account .woocommerce * {
	box-sizing: border-box;
}

body.thps-v2-account {
	--thps-v2-account-sticky-top: calc(var(--thps-v2-admin-offset) + 172px);
	color: var(--thps-v2-ink);
	background: var(--thps-v2-cream);
	font-family: var(--thps-v2-font-body);
}

body.thps-v2-account :where(h1, h2, h3, h4, button, input, select, textarea) {
	font-family: inherit;
}

body.thps-v2-account :where(h1, h2, h3, h4) {
	color: var(--thps-v2-forest);
	hyphens: none;
	overflow-wrap: break-word;
}

body.thps-v2-account :where(#content, #primary, #main, .site-content, .content-area, .site-main, article.page, article.hentry, .entry-content) {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.thps-v2-account :where(.entry-header, .page-header, .page-title, .woocommerce-breadcrumb) {
	display: none;
}

body.thps-v2-account .entry-content > .woocommerce,
body.thps-v2-account main .woocommerce {
	display: grid;
	grid-template-columns: minmax(230px, 286px) minmax(0, 1fr);
	width: var(--thps-v2-shell-width);
	max-width: none;
	align-items: start;
	gap: clamp(24px, 3vw, 46px);
	margin: 0 auto;
	padding: clamp(30px, 4vw, 64px) 0 clamp(60px, 7vw, 110px);
}

body.thps-v2-account .woocommerce-notices-wrapper,
body.thps-v2-account .woocommerce > .woocommerce-error,
body.thps-v2-account .woocommerce > .woocommerce-message,
body.thps-v2-account .woocommerce > .woocommerce-info,
body.thps-v2-account .thps-v2-account-hero {
	grid-column: 1 / -1;
}

body.thps-v2-account .woocommerce-notices-wrapper:empty {
	display: none;
}

body.thps-v2-account .woocommerce :where(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
	width: 100%;
	margin: 0 0 18px;
	padding: 17px 20px 17px 50px;
	border: 1px solid var(--thps-v2-line);
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-paper);
	box-shadow: none;
	color: var(--thps-v2-ink);
}

body.thps-v2-account .thps-v2-account-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(235px, 26vw, 360px);
	overflow: hidden;
	border-top: 5px solid var(--thps-v2-orange);
	background:
		radial-gradient(circle at 82% 12%, rgba(196, 93, 34, 0.28), transparent 30%),
		linear-gradient(118deg, var(--thps-v2-forest-deep), var(--thps-v2-forest));
	box-shadow: var(--thps-v2-shadow-lg);
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-v2-account-hero::after {
	position: absolute;
	z-index: -1;
	right: -7%;
	bottom: -72%;
	width: min(46vw, 650px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 64px rgba(255, 255, 255, 0.035), 0 0 0 128px rgba(255, 255, 255, 0.025);
	content: "";
}

body.thps-v2-account .thps-v2-account-hero__inner {
	display: flex;
	min-height: inherit;
	max-width: 980px;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 5vw, 72px);
}

body.thps-v2-account .thps-v2-account-kicker,
body.thps-v2-account .thps-account-heading > span,
body.thps-v2-account .thps-v2-permit-empty > div > span {
	color: var(--thps-v2-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.thps-v2-account .thps-v2-account-hero h1 {
	max-width: 860px;
	margin: 8px 0 12px;
	color: var(--thps-v2-white);
	font: 700 clamp(42px, 5.2vw, 76px) / 0.98 var(--thps-v2-font-display);
	letter-spacing: -0.025em;
}

body.thps-v2-account .thps-v2-account-hero p {
	max-width: 760px;
	margin: 0;
	color: #e7ece4;
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.55;
}

body.thps-v2-account .woocommerce-MyAccount-navigation {
	position: sticky;
	top: var(--thps-v2-account-sticky-top);
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-forest);
	box-shadow: var(--thps-v2-shadow-sm);
}

body.thps-v2-account .woocommerce-MyAccount-navigation::before {
	display: block;
	padding: 22px 22px 14px;
	color: var(--thps-v2-white);
	font: 700 24px / 1 var(--thps-v2-font-display);
	content: "Mein Konto";
}

body.thps-v2-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
}

body.thps-v2-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

body.thps-v2-account .woocommerce-MyAccount-navigation a {
	display: flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 22px;
	border: 0;
	color: #e8eee5;
	font-size: 15px;
	font-weight: 700;
	font-family: var(--thps-v2-font-body);
	line-height: 1.25;
	text-decoration: none;
	text-transform: none;
	transition: background 0.18s ease, color 0.18s ease, padding 0.18s ease;
}

/* Remove theme/legacy icon glyphs that otherwise create uneven label columns. */
body.thps-v2-account .woocommerce-MyAccount-navigation li > a::before {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	content: none !important;
}

body.thps-v2-account .woocommerce-MyAccount-navigation a::after {
	color: var(--thps-v2-orange);
	font-size: 20px;
	line-height: 1;
	content: "›";
}

body.thps-v2-account .woocommerce-MyAccount-navigation a:hover,
body.thps-v2-account .woocommerce-MyAccount-navigation a:focus-visible,
body.thps-v2-account .woocommerce-MyAccount-navigation .is-active > a {
	padding-left: 27px;
	background: rgba(255, 255, 255, 0.09);
	color: var(--thps-v2-white);
}

body.thps-v2-account .woocommerce-MyAccount-navigation .is-active > a {
	box-shadow: inset 4px 0 var(--thps-v2-orange);
}

body.thps-v2-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	color: var(--thps-v2-ink);
}

body.thps-v2-account .woocommerce-MyAccount-content :where(a, button, input, select, textarea) {
	border-radius: 0;
}

body.thps-v2-account .woocommerce-MyAccount-content :where(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], select, textarea) {
	width: 100%;
	min-width: 0;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--thps-v2-line);
	background: var(--thps-v2-white);
	box-shadow: none;
	color: var(--thps-v2-ink);
	font: 400 16px / 1.35 var(--thps-v2-font-body);
}

body.thps-v2-account .woocommerce-MyAccount-content :where(input, select, textarea):focus {
	border-color: var(--thps-v2-orange);
	outline: 2px solid rgba(196, 93, 34, 0.2);
	outline-offset: 0;
}

body.thps-v2-account .woocommerce-MyAccount-content :where(.button, button.button, .thps-button--primary, .thps-button--secondary) {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid var(--thps-v2-forest);
	background: var(--thps-v2-forest);
	box-shadow: none;
	color: var(--thps-v2-white);
	font: 700 14px / 1.2 var(--thps-v2-font-body);
	letter-spacing: 0.025em;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}

body.thps-v2-account .woocommerce-MyAccount-content :where(.button, button.button):hover,
body.thps-v2-account .woocommerce-MyAccount-content :where(.button, button.button):focus-visible {
	border-color: var(--thps-v2-orange-dark);
	background: var(--thps-v2-orange-dark);
	color: var(--thps-v2-white);
}

body.thps-v2-account .woocommerce-MyAccount-content .thps-button--secondary {
	border-color: var(--thps-v2-forest);
	background: transparent;
	color: var(--thps-v2-forest);
}

/* Dashboard */
body.thps-v2-account--dashboard .thps-account-hero {
	display: none;
}

body.thps-v2-account .thps-account-dashboard {
	display: grid;
	gap: 20px;
}

body.thps-v2-account .thps-account-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.thps-v2-account .thps-account-stats > a {
	display: flex;
	min-height: 178px;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 25px;
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-paper);
	box-shadow: var(--thps-v2-shadow-sm);
	color: var(--thps-v2-forest);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.thps-v2-account .thps-account-stats > a:hover,
body.thps-v2-account .thps-account-stats > a:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(32, 53, 26, 0.13);
}

body.thps-v2-account .thps-account-stats span,
body.thps-v2-account .thps-account-recent__head span {
	color: var(--thps-v2-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.thps-v2-account .thps-account-stats strong {
	font: 700 clamp(25px, 2.4vw, 38px) / 1.05 var(--thps-v2-font-display);
	overflow-wrap: anywhere;
}

body.thps-v2-account .thps-account-stats small,
body.thps-v2-account .thps-account-collections small {
	color: var(--thps-v2-muted);
	font-size: 14px;
}

body.thps-v2-account .thps-account-collections {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

body.thps-v2-account .thps-account-collections > a {
	display: grid;
	grid-template-columns: 50px 1fr;
	align-items: center;
	gap: 2px 14px;
	min-width: 0;
	padding: 22px 24px;
	border: 1px solid var(--thps-v2-line);
	background: var(--thps-v2-paper);
	color: var(--thps-v2-forest);
	text-decoration: none;
}

body.thps-v2-account .thps-account-collections > a > span {
	grid-row: 1 / 3;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	background: var(--thps-v2-soft);
	color: var(--thps-v2-orange);
	font-size: 26px;
}

body.thps-v2-account .thps-account-collections strong {
	font: 700 22px / 1.1 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-account-recent {
	padding: clamp(22px, 3vw, 34px);
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-paper);
	box-shadow: var(--thps-v2-shadow-sm);
}

body.thps-v2-account .thps-account-recent__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

body.thps-v2-account .thps-account-recent__head h3 {
	margin: 4px 0 0;
	font: 700 clamp(28px, 3vw, 40px) / 1.05 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-account-recent__head > a,
body.thps-v2-account .thps-recent-orders a {
	color: var(--thps-v2-forest);
}

body.thps-v2-account .thps-recent-orders {
	display: grid;
	gap: 8px;
}

body.thps-v2-account .thps-recent-orders > a {
	display: grid;
	grid-template-columns: minmax(130px, 1fr) minmax(130px, auto) auto;
	align-items: center;
	gap: 18px;
	min-width: 0;
	padding: 17px 18px;
	border: 1px solid var(--thps-v2-line);
	background: var(--thps-v2-white);
	text-decoration: none;
}

body.thps-v2-account .thps-recent-orders span:first-child {
	display: grid;
	gap: 3px;
}

body.thps-v2-account .thps-recent-orders small {
	color: var(--thps-v2-muted);
}

body.thps-v2-account .thps-order-status {
	padding: 6px 9px;
	background: #e6f2e4;
	color: var(--thps-v2-green);
	font-size: 13px;
	font-weight: 700;
}

body.thps-v2-account .thps-account-empty {
	padding: 24px;
	border: 1px dashed var(--thps-v2-orange);
	background: var(--thps-v2-white);
}

body.thps-v2-account .thps-account-empty p {
	margin: 6px 0 18px;
	color: var(--thps-v2-muted);
}

/* Permit overview and NWR identity cards */
body.thps-v2-account .thps-permits-page {
	display: grid;
	gap: 16px;
	min-width: 0;
}

body.thps-v2-account .thps-account-heading {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 18px;
	padding: 18px 20px;
	border: 1px solid var(--thps-v2-line);
	background: var(--thps-v2-paper);
}

body.thps-v2-account .thps-account-heading > span {
	grid-row: 1 / 3;
	padding: 7px 10px;
	background: var(--thps-v2-forest);
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-account-heading h2 {
	margin: 0;
	font: 700 24px / 1.05 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-account-heading p {
	margin: 0;
	color: var(--thps-v2-muted);
	line-height: 1.45;
}

body.thps-v2-account :where(.thps-pid-form, .thps-fid-form) {
	margin: 0;
}

body.thps-v2-account .thps-pid-card {
	display: grid;
	grid-template-columns: minmax(205px, 0.72fr) minmax(250px, 1fr) auto;
	align-items: end;
	gap: 22px;
	min-width: 0;
	padding: clamp(22px, 3vw, 30px);
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-forest);
	box-shadow: var(--thps-v2-shadow-sm);
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-pid-card > div > span,
body.thps-v2-account .thps-pid-card label > span {
	display: block;
	margin-bottom: 5px;
	color: #e1e8de;
	font-size: 13px;
	font-weight: 700;
}

body.thps-v2-account .thps-pid-card > div > strong {
	display: block;
	color: var(--thps-v2-white);
	font: 700 clamp(32px, 4vw, 52px) / 1 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-pid-card p {
	margin: 8px 0 0;
	color: #d7dfd4;
	line-height: 1.45;
}

body.thps-v2-account .thps-pid-card label {
	min-width: 0;
}

body.thps-v2-account .thps-pid-card small {
	display: block;
	margin-top: 6px;
	color: #d7dfd4;
}

body.thps-v2-account .thps-pid-card .thps-pid-save {
	min-width: 160px;
	border-color: var(--thps-v2-orange) !important;
	background: var(--thps-v2-orange) !important;
	color: var(--thps-v2-white) !important;
}

body.thps-v2-account .thps-pid-reveal {
	width: max-content;
	max-width: 100%;
}

body.thps-v2-account .thps-register-contact-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

body.thps-v2-account .thps-register-contact-choice legend {
	width: 100%;
	margin-bottom: 4px;
	color: #e1e8de;
	font-size: 13px;
	font-weight: 700;
}

body.thps-v2-account .thps-register-contact-choice label {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-checkout-info,
body.thps-v2-account .thps-foreign-permit-note {
	padding: 18px 20px;
	border-left: 4px solid var(--thps-v2-orange);
	background: #edf1e8;
	color: var(--thps-v2-ink);
}

body.thps-v2-account .thps-checkout-info strong,
body.thps-v2-account .thps-foreign-permit-note strong {
	color: var(--thps-v2-forest);
	font-size: 18px;
}

body.thps-v2-account .thps-checkout-info p,
body.thps-v2-account .thps-foreign-permit-note p {
	margin: 5px 0 0;
}

body.thps-v2-account .thps-permit-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

body.thps-v2-account .thps-permit-list {
	display: grid;
	gap: 14px;
}

body.thps-v2-account .thps-v2-permit-empty {
	display: grid;
	min-height: 180px;
	align-items: center;
	padding: clamp(24px, 4vw, 38px);
	border: 1px dashed var(--thps-v2-orange);
	background: var(--thps-v2-paper);
}

body.thps-v2-account .thps-v2-permit-empty h3 {
	margin: 6px 0 8px;
	font: 700 clamp(27px, 3vw, 40px) / 1.06 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-v2-permit-empty p {
	max-width: 690px;
	margin: 0;
	color: var(--thps-v2-muted);
}

body.thps-v2-account [data-thps-v2-state="filled"] > .thps-v2-permit-empty,
body.thps-v2-account .thps-permit-form:has(.thps-permit-card) > .thps-v2-permit-empty {
	display: none;
}

body.thps-v2-account [data-thps-v2-state="empty"] .thps-v2-permit-submit,
body.thps-v2-account .thps-permit-form:not(:has(.thps-permit-card)) .thps-v2-permit-submit {
	display: none;
}

body.thps-v2-account .thps-permit-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

body.thps-v2-account [data-thps-v2-state="empty"] .thps-permit-actions {
	justify-content: flex-start;
	margin-top: -86px;
	padding: 0 clamp(24px, 4vw, 38px) 30px;
	pointer-events: none;
}

body.thps-v2-account [data-thps-v2-state="empty"] .thps-permit-actions > * {
	pointer-events: auto;
}

body.thps-v2-account .thps-permit-card {
	min-width: 0;
	margin: 0;
	border: 1px solid var(--thps-v2-line);
	border-top: 4px solid var(--thps-v2-orange);
	background: var(--thps-v2-paper);
	box-shadow: var(--thps-v2-shadow-sm);
}

body.thps-v2-account .thps-permit-card > summary {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 38px;
	align-items: center;
	gap: 14px;
	min-height: 94px;
	padding: 20px 22px;
	color: var(--thps-v2-forest);
	cursor: pointer;
	list-style: none;
}

body.thps-v2-account .thps-permit-card > summary::-webkit-details-marker {
	display: none;
}

body.thps-v2-account .thps-permit-card__icon,
body.thps-v2-account .thps-permit-card__toggle {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	background: var(--thps-v2-soft);
	color: var(--thps-v2-orange);
}

body.thps-v2-account .thps-permit-card__toggle {
	border: 1px solid var(--thps-v2-forest);
	background: transparent;
	color: var(--thps-v2-forest);
	font-size: 22px;
	transition: transform 0.18s ease;
}

body.thps-v2-account .thps-permit-card[open] .thps-permit-card__toggle {
	transform: rotate(180deg);
}

body.thps-v2-account .thps-permit-card summary > span:nth-child(2) {
	display: grid;
	gap: 4px;
	min-width: 0;
}

body.thps-v2-account .thps-permit-card summary strong {
	font: 700 clamp(21px, 2.3vw, 30px) / 1.08 var(--thps-v2-font-display);
}

body.thps-v2-account .thps-permit-card summary small {
	color: var(--thps-v2-muted);
	overflow-wrap: anywhere;
}

body.thps-v2-account .thps-permit-card__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 26px;
	border-top: 1px solid var(--thps-v2-line);
	background: #faf8f0;
}

body.thps-v2-account .thps-permit-card__body > :where(.thps-checkout-info, .thps-foreign-permit-note, .thps-v2-ewb-choice-grid, .thps-permit-delete) {
	grid-column: 1 / -1;
}

body.thps-v2-account .thps-field {
	display: grid;
	min-width: 0;
	gap: 6px;
	margin: 0;
	color: var(--thps-v2-forest);
	font-size: 14px;
	font-weight: 700;
}

body.thps-v2-account .thps-field > span {
	min-width: 0;
}

body.thps-v2-account .thps-field em {
	color: var(--thps-v2-orange);
	font-style: normal;
}

body.thps-v2-account.thps-v2-account-enhanced .thps-permit-primary-field {
	display: none;
}

body.thps-v2-account .thps-v2-ewb-choice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: start;
	gap: 4px 12px;
	min-width: 0;
	min-height: 132px;
	padding: 18px;
	border: 1px solid var(--thps-v2-line);
	border-top: 4px solid transparent;
	background: var(--thps-v2-white);
	box-shadow: none;
	color: var(--thps-v2-forest);
	text-align: left;
	cursor: pointer;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button > span {
	grid-row: 1 / 3;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--thps-v2-soft);
	color: var(--thps-v2-orange);
	font-size: 13px;
	font-weight: 700;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button strong {
	font: 700 20px / 1.08 var(--thps-v2-font-display);
	overflow-wrap: break-word;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button small {
	color: var(--thps-v2-muted);
	line-height: 1.35;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button[aria-pressed="true"] {
	border-top-color: var(--thps-v2-orange);
	background: var(--thps-v2-forest);
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-v2-ewb-choice-grid button[aria-pressed="true"] > span {
	background: var(--thps-v2-orange);
	color: var(--thps-v2-white);
}

body.thps-v2-account .thps-v2-ewb-choice-grid button[aria-pressed="true"] small {
	color: #dbe4d7;
}

body.thps-v2-account .thps-permit-delete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
	border-top: 1px solid var(--thps-v2-line);
}

body.thps-v2-account .thps-permit-delete button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #9a2d25;
	font-weight: 700;
	cursor: pointer;
}

body.thps-v2-account .thps-permit-delete small {
	color: var(--thps-v2-muted);
}

body.thps-v2-account .thps-permit-card.is-pending-delete {
	opacity: 0.6;
}

body.thps-v2-account .thps-nwr-help-wrap {
	position: relative;
	display: inline-flex;
}

body.thps-v2-account .thps-nwr-popover {
	max-width: min(620px, calc(100vw - 32px));
}

body.thps-v2-account [hidden] {
	display: none !important;
}

@media (max-width: 1100px) {
	body.thps-v2-account {
		--thps-v2-account-sticky-top: calc(var(--thps-v2-admin-offset) + 158px);
	}

	body.thps-v2-account .entry-content > .woocommerce,
	body.thps-v2-account main .woocommerce {
		grid-template-columns: minmax(210px, 238px) minmax(0, 1fr);
		gap: 22px;
	}

	body.thps-v2-account .thps-account-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.thps-v2-account .thps-account-stats > a:last-child {
		grid-column: 1 / -1;
	}

	body.thps-v2-account .thps-pid-card {
		grid-template-columns: 1fr 1fr;
	}

	body.thps-v2-account .thps-pid-card .thps-pid-save {
		grid-column: 2;
		width: 100%;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid {
		grid-template-columns: 1fr;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button {
		min-height: 104px;
	}
}

@media (max-width: 820px) {
	body.thps-v2-account .entry-content > .woocommerce,
	body.thps-v2-account main .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding-top: 24px;
	}

	body.thps-v2-account .thps-v2-account-hero,
	body.thps-v2-account .woocommerce-notices-wrapper,
	body.thps-v2-account .woocommerce > .woocommerce-error,
	body.thps-v2-account .woocommerce > .woocommerce-message,
	body.thps-v2-account .woocommerce > .woocommerce-info {
		grid-column: auto;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation {
		position: relative;
		top: auto;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation::before {
		display: none;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 0;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation li {
		min-width: 0;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation a,
	body.thps-v2-account .woocommerce-MyAccount-navigation a:hover,
	body.thps-v2-account .woocommerce-MyAccount-navigation a:focus-visible,
	body.thps-v2-account .woocommerce-MyAccount-navigation .is-active > a {
		min-height: 58px;
		padding: 10px 12px;
		font-size: 13px;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation .is-active > a {
		box-shadow: inset 0 4px var(--thps-v2-orange);
	}

	body.thps-v2-account .thps-pid-card {
		grid-template-columns: minmax(0, 1fr);
		align-items: stretch;
	}

	body.thps-v2-account .thps-pid-card .thps-pid-save {
		grid-column: auto;
	}

	body.thps-v2-account .thps-account-heading {
		grid-template-columns: minmax(0, 1fr);
	}

	body.thps-v2-account .thps-account-heading > span {
		grid-row: auto;
		width: max-content;
		max-width: 100%;
	}

	body.thps-v2-account .thps-permit-card__body {
		grid-template-columns: minmax(0, 1fr);
	}

	body.thps-v2-account .thps-permit-card__body > :where(.thps-checkout-info, .thps-foreign-permit-note, .thps-v2-ewb-choice-grid, .thps-permit-delete) {
		grid-column: auto;
	}
}

/* Guest access: existing WooCommerce login, registration and reset forms. */
body.woocommerce-account.thps-v2-account--guest .page-content > div.woocommerce,
body.woocommerce-account.thps-v2-account--guest .entry-content > div.woocommerce,
body.woocommerce-account.thps-v2-account--guest main div.woocommerce {
	position: static !important;
	left: auto !important;
	display: block !important;
	width: var(--thps-v2-shell-width) !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: clamp(30px, 4vw, 64px) 0 clamp(60px, 7vw, 110px) !important;
	transform: none !important;
}

body.thps-v2-account--guest .thps-v2-account-hero {
	width: 100%;
	margin: 0 0 22px;
}

body.thps-v2-account--guest .thps-account-access-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 18px !important;
	padding: 24px 28px !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-left: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--guest .thps-account-access-intro span,
body.thps-v2-account--guest .thps-register-lead > span {
	color: var(--thps-v2-orange) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.11em !important;
	text-transform: uppercase !important;
}

body.thps-v2-account--guest .thps-account-access-intro h2,
body.thps-v2-account--guest .thps-register-lead h2 {
	margin: 5px 0 7px !important;
	color: var(--thps-v2-forest) !important;
	font: 700 clamp(28px, 3vw, 40px) / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--guest .thps-account-access-intro p,
body.thps-v2-account--guest .thps-register-lead p {
	margin: 0 !important;
	color: var(--thps-v2-muted) !important;
	line-height: 1.5 !important;
}

body.thps-v2-account--guest .thps-account-access-intro > a {
	display: inline-flex !important;
	min-height: 48px !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 12px 20px !important;
	border: 1px solid var(--thps-v2-forest) !important;
	background: var(--thps-v2-forest) !important;
	color: var(--thps-v2-white) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.thps-v2-account--access .u-columns {
	display: grid !important;
	grid-template-columns: minmax(280px, 0.68fr) minmax(520px, 1.32fr) !important;
	align-items: start !important;
	gap: 18px !important;
	width: 100% !important;
	margin: 0 !important;
}

body.thps-v2-account--access .u-columns::before,
body.thps-v2-account--access .u-columns::after {
	display: none !important;
}

body.thps-v2-account--access .u-column1,
body.thps-v2-account--access .u-column2 {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: clamp(24px, 3vw, 34px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--access .u-column1 > h2,
body.thps-v2-account--access .u-column2 > h2 {
	margin: 0 0 18px !important;
	color: var(--thps-v2-forest) !important;
	font: 700 clamp(30px, 3vw, 43px) / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--guest :where(.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword) {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.thps-v2-account--guest :where(.form-row, .woocommerce-form-row) {
	min-width: 0 !important;
	margin: 0 0 15px !important;
	padding: 0 !important;
}

body.thps-v2-account--guest :where(.form-row, .woocommerce-form-row) > label,
body.thps-v2-account--guest .woocommerce-form-login__rememberme {
	display: block !important;
	margin: 0 0 6px !important;
	color: var(--thps-v2-forest) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body.thps-v2-account--guest :where(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], select, textarea) {
	width: 100% !important;
	min-width: 0 !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-radius: 0 !important;
	background: var(--thps-v2-white) !important;
	box-shadow: none !important;
	color: var(--thps-v2-ink) !important;
	font: 400 16px / 1.35 var(--thps-v2-font-body) !important;
}

body.thps-v2-account--guest :where(input, select, textarea):focus {
	border-color: var(--thps-v2-orange) !important;
	outline: 2px solid rgba(196, 93, 34, 0.2) !important;
	outline-offset: 0 !important;
}

body.thps-v2-account--guest :where(button.button, .button) {
	display: inline-flex !important;
	min-height: 48px !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 12px 20px !important;
	border: 1px solid var(--thps-v2-forest) !important;
	border-radius: 0 !important;
	background: var(--thps-v2-forest) !important;
	box-shadow: none !important;
	color: var(--thps-v2-white) !important;
	font: 700 15px / 1.2 var(--thps-v2-font-body) !important;
}

body.thps-v2-account--guest :where(button.button, .button):hover,
body.thps-v2-account--guest :where(button.button, .button):focus-visible {
	border-color: var(--thps-v2-orange-dark) !important;
	background: var(--thps-v2-orange-dark) !important;
	color: var(--thps-v2-white) !important;
}

body.thps-v2-account--guest .woocommerce-LostPassword {
	margin: 17px 0 0 !important;
}

body.thps-v2-account--guest .woocommerce-LostPassword a {
	color: var(--thps-v2-orange-dark) !important;
	font-weight: 700 !important;
}

body.thps-v2-account--guest .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 14px 0 0 !important;
}

body.thps-v2-account--guest :where(input[type="checkbox"], input[type="radio"]) {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	accent-color: var(--thps-v2-orange);
}

body.thps-v2-account--access .thps-register-lead {
	margin: 0 0 20px !important;
	padding: 22px 24px !important;
	border-left: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-soft) !important;
}

body.thps-v2-account--access .thps-register-account-type {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
	min-width: 0 !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.thps-v2-account--access .thps-register-account-type legend {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	margin: 0 0 4px !important;
	color: var(--thps-v2-forest) !important;
	font: 700 24px / 1.1 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--access .thps-account-type-option {
	display: grid !important;
	grid-template-columns: 22px minmax(0, 1fr) !important;
	align-items: start !important;
	gap: 10px !important;
	min-width: 0 !important;
	min-height: 116px !important;
	margin: 0 !important;
	padding: 17px !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 4px solid transparent !important;
	background: var(--thps-v2-white) !important;
	cursor: pointer !important;
}

body.thps-v2-account--access .thps-account-type-option:has(input:checked) {
	border-top-color: var(--thps-v2-orange) !important;
	background: var(--thps-v2-forest) !important;
	color: var(--thps-v2-white) !important;
}

body.thps-v2-account--access .thps-account-type-option strong {
	display: block !important;
	color: inherit !important;
	font: 700 19px / 1.1 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--access .thps-account-type-option small {
	display: block !important;
	margin-top: 5px !important;
	color: var(--thps-v2-muted) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

body.thps-v2-account--access .thps-account-type-option:has(input:checked) small {
	color: #dbe4d7 !important;
}

body.thps-v2-account--access .thps-register-section {
	margin: 0 0 14px !important;
	padding: 22px !important;
	border: 1px solid var(--thps-v2-line) !important;
	background: #faf8f0 !important;
}

body.thps-v2-account--access .thps-register-section > header {
	display: grid !important;
	grid-template-columns: 38px minmax(0, 1fr) !important;
	align-items: start !important;
	gap: 12px !important;
	margin-bottom: 17px !important;
}

body.thps-v2-account--access .thps-register-section > header > span {
	display: grid !important;
	width: 36px !important;
	height: 36px !important;
	place-items: center !important;
	border-radius: 50% !important;
	background: var(--thps-v2-orange) !important;
	color: var(--thps-v2-white) !important;
	font-weight: 700 !important;
}

body.thps-v2-account--access .thps-register-section h3 {
	margin: 0 0 3px !important;
	font: 700 23px / 1.1 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--access .thps-register-section header p {
	margin: 0 !important;
	color: var(--thps-v2-muted) !important;
}

body.thps-v2-account--access .thps-register-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

body.thps-v2-account--access .thps-register-grid .form-row {
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body.thps-v2-account--access .thps-register-contact-choice,
body.thps-v2-account--access .thps-register-consent {
	border-color: var(--thps-v2-line) !important;
	background: var(--thps-v2-soft) !important;
}

body.thps-v2-account--lost-password .woocommerce-ResetPassword,
body.thps-v2-account--reset-password .woocommerce-ResetPassword {
	width: min(780px, 100%) !important;
	margin: 0 auto !important;
	padding: clamp(24px, 4vw, 42px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--lost-password .woocommerce-ResetPassword > p:first-child,
body.thps-v2-account--reset-password .woocommerce-ResetPassword > p:first-child {
	margin-top: 0 !important;
	color: var(--thps-v2-muted) !important;
	font-size: 17px !important;
	line-height: 1.55 !important;
}

body.thps-v2-account--lost-password .woocommerce-ResetPassword .form-row,
body.thps-v2-account--reset-password .woocommerce-ResetPassword .form-row {
	width: 100% !important;
}

/* Logged-in WooCommerce account endpoints. */
body.thps-v2-account--authenticated .woocommerce-MyAccount-content > :where(p, .woocommerce-info):first-child {
	margin-top: 0;
}

body.thps-v2-account--orders .thps-orders-intro {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr) !important;
	gap: 20px !important;
	margin: 0 0 18px !important;
	padding: clamp(22px, 3vw, 30px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--orders .thps-orders-intro > div > span,
body.thps-v2-account--view-order .thps-transfer-report > span {
	color: var(--thps-v2-orange) !important;
	font: 700 12px / 1.2 var(--thps-v2-font-body) !important;
	letter-spacing: 0.11em !important;
	text-transform: uppercase !important;
}

body.thps-v2-account--orders .thps-orders-intro h2,
body.thps-v2-account--view-order .thps-transfer-report h2 {
	margin: 6px 0 7px !important;
	color: var(--thps-v2-forest) !important;
	font: 700 clamp(28px, 3vw, 40px) / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--orders .thps-orders-intro p {
	margin: 0 !important;
	color: var(--thps-v2-muted) !important;
}

body.thps-v2-account--orders .thps-orders-intro aside {
	border-left-color: var(--thps-v2-orange) !important;
	background: var(--thps-v2-soft) !important;
	color: var(--thps-v2-forest) !important;
}

body.thps-v2-account--orders table.woocommerce-orders-table,
body.thps-v2-account--view-order table.woocommerce-table--order-details {
	width: 100% !important;
	margin: 0 0 20px !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-collapse: collapse !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account :where(table.woocommerce-orders-table, table.woocommerce-table--order-details) thead th {
	padding: 14px 15px !important;
	border: 0 !important;
	background: var(--thps-v2-forest) !important;
	color: var(--thps-v2-white) !important;
	font-weight: 700 !important;
	text-align: left !important;
}

body.thps-v2-account :where(table.woocommerce-orders-table, table.woocommerce-table--order-details) tbody :where(th, td),
body.thps-v2-account table.woocommerce-table--order-details tfoot :where(th, td) {
	padding: 14px 15px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--thps-v2-line) !important;
	background: var(--thps-v2-paper) !important;
	color: var(--thps-v2-ink) !important;
	vertical-align: middle !important;
}

body.thps-v2-account :where(table.woocommerce-orders-table, table.woocommerce-table--order-details) a:not(.button) {
	color: var(--thps-v2-forest) !important;
	font-weight: 700 !important;
	overflow-wrap: break-word !important;
	word-break: normal !important;
	hyphens: none !important;
}

body.thps-v2-account .woocommerce-orders-table__cell-order-actions .button {
	margin: 3px !important;
}

body.thps-v2-account .woocommerce-pagination {
	display: flex !important;
	justify-content: space-between !important;
	gap: 10px !important;
}

body.thps-v2-account--view-order .woocommerce-order-details,
body.thps-v2-account--view-order .woocommerce-customer-details,
body.thps-v2-account--view-order .thps-transfer-report,
body.thps-v2-account--view-order .thps-order-permit-summary {
	margin: 0 0 18px !important;
	padding: clamp(21px, 3vw, 30px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 4px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--view-order :where(.woocommerce-order-details__title, .woocommerce-column__title) {
	margin: 0 0 16px !important;
	font: 700 clamp(26px, 3vw, 38px) / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--view-order .woocommerce-customer-details address {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-style: normal !important;
	line-height: 1.6 !important;
}

body.thps-v2-account--view-order .woocommerce-MyAccount-content > p {
	padding: 17px 19px !important;
	border-left: 4px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-soft) !important;
	line-height: 1.55 !important;
}

body.thps-v2-account--view-order mark {
	padding: 3px 6px !important;
	background: rgba(196, 93, 34, 0.14) !important;
	color: var(--thps-v2-forest) !important;
	font-weight: 700 !important;
}

body.thps-v2-account--edit-address .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin: 0 !important;
}

body.thps-v2-account--edit-address .woocommerce-Address {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	padding: clamp(22px, 3vw, 30px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 4px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--edit-address .woocommerce-Address-title {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
}

body.thps-v2-account--edit-address .woocommerce-Address-title h3 {
	margin: 0 !important;
	font: 700 clamp(25px, 3vw, 36px) / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--edit-address .woocommerce-Address address {
	margin-top: 17px !important;
	font-style: normal !important;
	line-height: 1.65 !important;
}

body.thps-v2-account--edit-address .woocommerce-address-fields,
body.thps-v2-account--edit-account .woocommerce-EditAccountForm {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin: 0 !important;
	padding: clamp(22px, 3vw, 30px) !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--edit-address .woocommerce-address-fields__field-wrapper,
body.thps-v2-account--edit-account .woocommerce-EditAccountForm fieldset,
body.thps-v2-account--edit-account .woocommerce-EditAccountForm > p:last-child,
body.thps-v2-account--edit-account .thps-password-by-email {
	grid-column: 1 / -1 !important;
}

body.thps-v2-account--edit-address .woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

body.thps-v2-account :where(.woocommerce-address-fields, .woocommerce-EditAccountForm) .form-row {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.thps-v2-account--edit-account .woocommerce-EditAccountForm fieldset {
	margin: 8px 0 0 !important;
	padding: 20px !important;
	border: 1px solid var(--thps-v2-line) !important;
	background: var(--thps-v2-soft) !important;
}

body.thps-v2-account--edit-account .woocommerce-EditAccountForm fieldset legend {
	padding: 0 8px !important;
	color: var(--thps-v2-forest) !important;
	font: 700 22px / 1.1 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--edit-account .thps-password-by-email {
	margin: 4px 0 0 !important;
	padding: 22px !important;
	border-left: 5px solid var(--thps-v2-orange) !important;
	background: var(--thps-v2-soft) !important;
}

body.thps-v2-account--edit-account .thps-password-by-email > span {
	color: var(--thps-v2-orange) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.11em !important;
	text-transform: uppercase !important;
}

body.thps-v2-account--edit-account .thps-password-by-email h3 {
	margin: 5px 0 6px !important;
	font: 700 27px / 1.05 var(--thps-v2-font-display) !important;
}

body.thps-v2-account--delete-account .thps-delete-account__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
}

body.thps-v2-account--delete-account .thps-delete-account__grid article,
body.thps-v2-account--delete-account .thps-delete-account__form {
	border-color: var(--thps-v2-line) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
}

body.thps-v2-account--delete-account .thps-delete-account__form {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 15px !important;
	padding: clamp(20px, 3vw, 28px) !important;
	border-top: 5px solid var(--thps-v2-orange) !important;
}

body.thps-v2-account--delete-account .thps-delete-account__consent,
body.thps-v2-account--delete-account .thps-delete-account__button {
	grid-column: 1 / -1 !important;
}

body.thps-v2-account--delete-account .thps-delete-account__button {
	border-color: #9a2d25 !important;
	background: #9a2d25 !important;
}

body.thps-v2-account--delete-account .thps-delete-account__button:hover,
body.thps-v2-account--delete-account .thps-delete-account__button:focus-visible {
	border-color: var(--thps-v2-forest) !important;
	background: var(--thps-v2-forest) !important;
}

@media (max-width: 1000px) {
	body.thps-v2-account--access .u-columns {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.thps-v2-account--orders .thps-orders-intro {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 820px) {
	body.woocommerce-account.thps-v2-account--guest .page-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account--guest .entry-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account--guest main div.woocommerce {
		width: calc(100% - 24px) !important;
		padding: 18px 0 54px !important;
	}

	body.thps-v2-account--guest .thps-account-access-intro {
		align-items: flex-start !important;
		flex-direction: column !important;
		padding: 21px 18px !important;
	}

	body.thps-v2-account--guest .thps-account-access-intro > a {
		width: 100% !important;
	}

	body.thps-v2-account--access .thps-register-grid,
	body.thps-v2-account--edit-address .woocommerce-Addresses,
	body.thps-v2-account--edit-address .woocommerce-address-fields,
	body.thps-v2-account--edit-address .woocommerce-address-fields__field-wrapper,
	body.thps-v2-account--edit-account .woocommerce-EditAccountForm,
	body.thps-v2-account--delete-account .thps-delete-account__grid,
	body.thps-v2-account--delete-account .thps-delete-account__form {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.thps-v2-account--edit-address .woocommerce-address-fields__field-wrapper,
	body.thps-v2-account--edit-account .woocommerce-EditAccountForm fieldset,
	body.thps-v2-account--edit-account .woocommerce-EditAccountForm > p:last-child,
	body.thps-v2-account--edit-account .thps-password-by-email,
	body.thps-v2-account--delete-account .thps-delete-account__consent,
	body.thps-v2-account--delete-account .thps-delete-account__button {
		grid-column: 1 !important;
	}

	body.thps-v2-account--orders table.woocommerce-orders-table tbody tr {
		border-color: var(--thps-v2-line) !important;
		border-top-color: var(--thps-v2-orange) !important;
		background: var(--thps-v2-paper) !important;
	}

	body.thps-v2-account--orders table.woocommerce-orders-table tbody :where(th, td) {
		grid-template-columns: minmax(108px, 38%) minmax(0, 1fr) !important;
		background: transparent !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details {
		display: block !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 560px) {
	body.thps-v2-account--access .u-column1,
	body.thps-v2-account--access .u-column2,
	body.thps-v2-account--lost-password .woocommerce-ResetPassword,
	body.thps-v2-account--reset-password .woocommerce-ResetPassword {
		padding: 20px 16px !important;
	}

	body.thps-v2-account--access .thps-register-account-type {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.thps-v2-account--access .thps-account-type-option {
		min-height: 0 !important;
	}

	body.thps-v2-account--access .thps-register-section,
	body.thps-v2-account--view-order .woocommerce-order-details,
	body.thps-v2-account--view-order .woocommerce-customer-details,
	body.thps-v2-account--view-order .thps-transfer-report,
	body.thps-v2-account--view-order .thps-order-permit-summary,
	body.thps-v2-account--edit-address .woocommerce-Address,
	body.thps-v2-account--edit-address .woocommerce-address-fields,
	body.thps-v2-account--edit-account .woocommerce-EditAccountForm,
	body.thps-v2-account--delete-account .thps-delete-account__form {
		padding: 18px 15px !important;
	}

	body.thps-v2-account--orders table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.thps-v2-account--orders table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
		grid-column: 1 !important;
	}

	body.thps-v2-account--orders .woocommerce-pagination,
	body.thps-v2-account--edit-address .woocommerce-Address-title {
		align-items: stretch !important;
		flex-direction: column !important;
	}
}

@media (max-width: 560px) {
	body.thps-v2-account .entry-content > .woocommerce,
	body.thps-v2-account main .woocommerce {
		width: calc(100% - 24px);
		padding: 18px 0 54px;
	}

	body.thps-v2-account .thps-v2-account-hero {
		min-height: 238px;
	}

	body.thps-v2-account .thps-v2-account-hero__inner {
		padding: 28px 20px;
	}

	body.thps-v2-account .thps-v2-account-hero h1 {
		font-size: clamp(34px, 11vw, 48px);
		line-height: 1;
	}

	body.thps-v2-account--permits .thps-v2-account-hero h1 {
		font-size: clamp(19px, 5.8vw, 28px);
		letter-spacing: -0.02em;
		overflow-wrap: normal;
		white-space: nowrap;
		word-break: normal;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: minmax(0, 1fr);
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation a,
	body.thps-v2-account .woocommerce-MyAccount-navigation a:hover,
	body.thps-v2-account .woocommerce-MyAccount-navigation a:focus-visible,
	body.thps-v2-account .woocommerce-MyAccount-navigation .is-active > a {
		min-height: 50px;
		font-size: 14px;
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	body.thps-v2-account .woocommerce-MyAccount-navigation a::after {
		display: none;
	}

	body.thps-v2-account .thps-account-stats,
	body.thps-v2-account .thps-account-collections {
		grid-template-columns: minmax(0, 1fr);
	}

	body.thps-v2-account .thps-account-stats > a:last-child {
		grid-column: auto;
	}

	body.thps-v2-account .thps-account-stats > a {
		min-height: 148px;
		padding: 20px;
	}

	body.thps-v2-account .thps-account-recent__head,
	body.thps-v2-account .thps-permit-delete {
		align-items: flex-start;
		flex-direction: column;
	}

	body.thps-v2-account .thps-recent-orders > a {
		grid-template-columns: 1fr;
	}

	body.thps-v2-account .thps-account-heading,
	body.thps-v2-account .thps-pid-card,
	body.thps-v2-account .thps-permit-card__body,
	body.thps-v2-account .thps-v2-permit-empty {
		padding: 20px 16px;
	}

	body.thps-v2-account .thps-permit-card > summary {
		grid-template-columns: 38px minmax(0, 1fr) 34px;
		gap: 10px;
		padding: 17px 14px;
	}

	body.thps-v2-account .thps-permit-card__icon,
	body.thps-v2-account .thps-permit-card__toggle {
		width: 34px;
		height: 34px;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button {
		grid-template-columns: 36px minmax(0, 1fr);
		min-height: 100px;
		padding: 15px 13px;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button > span {
		width: 34px;
		height: 34px;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button strong {
		font-size: 18px;
	}

	body.thps-v2-account .thps-permit-actions {
		align-items: stretch;
		flex-direction: column;
	}

	body.thps-v2-account .thps-permit-actions .button {
		width: 100%;
	}

	body.thps-v2-account [data-thps-v2-state="empty"] .thps-permit-actions {
		margin-top: -82px;
		padding: 0 16px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.thps-v2-account *,
	body.thps-v2-account *::before,
	body.thps-v2-account *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/*
 * Integration boundary against the established account fixes.
 *
 * site-fixes.css contains intentional legacy !important declarations for the
 * pre-V2 account. These final, activation-scoped declarations are therefore
 * deliberately important as well. Without the V2 body class they have no
 * effect and the legacy account remains a complete rollback target.
 */
@media (min-width: 821px) {
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account main div.woocommerce {
		position: static !important;
		left: auto !important;
		display: grid !important;
		grid-template-columns: minmax(230px, 286px) minmax(0, 1fr) !important;
		align-items: start !important;
		gap: clamp(24px, 3vw, 46px) !important;
		width: var(--thps-v2-shell-width) !important;
		max-width: none !important;
		margin: 0 auto !important;
		padding: clamp(30px, 4vw, 64px) 0 clamp(60px, 7vw, 110px) !important;
		transform: none !important;
	}

	body.woocommerce-account.thps-v2-account .thps-v2-account-hero,
	body.woocommerce-account.thps-v2-account .woocommerce-notices-wrapper,
	body.woocommerce-account.thps-v2-account .woocommerce > .woocommerce-error,
	body.woocommerce-account.thps-v2-account .woocommerce > .woocommerce-message,
	body.woocommerce-account.thps-v2-account .woocommerce > .woocommerce-info {
		grid-column: 1 / -1 !important;
	}

	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce > nav.woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce > nav.woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account main div.woocommerce > nav.woocommerce-MyAccount-navigation {
		position: sticky !important;
		top: var(--thps-v2-account-sticky-top) !important;
		grid-column: 1 !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border-top: 4px solid var(--thps-v2-orange) !important;
		background: var(--thps-v2-forest) !important;
		box-shadow: var(--thps-v2-shadow-sm) !important;
	}

	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce > div.woocommerce-MyAccount-content,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce > div.woocommerce-MyAccount-content,
	body.woocommerce-account.thps-v2-account main div.woocommerce > div.woocommerce-MyAccount-content {
		grid-column: 2 !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation ul {
		position: static !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 0 12px !important;
		overflow: visible !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a {
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 48px !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 13px 22px !important;
		border: 0 !important;
		border-left: 0 !important;
		border-bottom: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #e8eee5 !important;
		font-size: 15px !important;
		font-family: var(--thps-v2-font-body) !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
		text-align: left !important;
		text-transform: none !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a,
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce .woocommerce-MyAccount-navigation li.is-active > a {
		padding-left: 27px !important;
		border: 0 !important;
		border-left: 0 !important;
		border-bottom: 0 !important;
		background: rgba(255, 255, 255, 0.09) !important;
		box-shadow: none !important;
		color: var(--thps-v2-white) !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a,
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce .woocommerce-MyAccount-navigation li.is-active > a {
		box-shadow: inset 4px 0 var(--thps-v2-orange) !important;
	}
}

@media (max-width: 820px) {
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account main div.woocommerce {
		position: static !important;
		left: auto !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 20px !important;
		width: calc(100% - 24px) !important;
		max-width: none !important;
		margin: 0 auto !important;
		padding: 18px 0 54px !important;
		transform: none !important;
	}

	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce > nav.woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce > nav.woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account main div.woocommerce > nav.woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce > div.woocommerce-MyAccount-content,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce > div.woocommerce-MyAccount-content,
	body.woocommerce-account.thps-v2-account main div.woocommerce > div.woocommerce-MyAccount-content {
		position: relative !important;
		top: auto !important;
		grid-column: 1 !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation ul {
		position: static !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		border: 0 !important;
		background: var(--thps-v2-forest) !important;
		box-shadow: var(--thps-v2-shadow-sm) !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a,
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce .woocommerce-MyAccount-navigation li.is-active > a {
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 50px !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 12px 15px !important;
		border: 0 !important;
		border-left: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #e8eee5 !important;
		font-size: 14px !important;
		font-family: var(--thps-v2-font-body) !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
		text-align: left !important;
		text-transform: none !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a,
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce .woocommerce-MyAccount-navigation li.is-active > a {
		background: rgba(255, 255, 255, 0.09) !important;
		box-shadow: inset 4px 0 var(--thps-v2-orange) !important;
		color: var(--thps-v2-white) !important;
	}
}

/*
 * Mobile account and permit QA corrections.
 *
 * These declarations intentionally live after the legacy-integration boundary:
 * older theme/account rules use !important and otherwise re-introduce narrow
 * tab grids, turquoise order marks and non-wrapping permit labels on phones.
 */
body.thps-v2-account .thps-v2-site-footer :where(h1, h2, h3, h4),
body.thps-v2-account .thps-v2-footer-columns h2 {
	color: var(--thps-v2-white) !important;
}

body.thps-v2-account--view-order .woocommerce-MyAccount-content > p:first-of-type {
	display: block !important;
	width: 100% !important;
	margin: 0 0 18px !important;
	padding: 18px 20px !important;
	border: 1px solid var(--thps-v2-line) !important;
	border-top: 4px solid var(--thps-v2-orange) !important;
	border-left: 1px solid var(--thps-v2-line) !important;
	background: var(--thps-v2-paper) !important;
	box-shadow: var(--thps-v2-shadow-sm) !important;
	color: var(--thps-v2-ink) !important;
	font-size: clamp(16px, 1.8vw, 19px) !important;
	line-height: 1.55 !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
	hyphens: none !important;
}

/* Point 62: approved account icon pack. Keep every 4:3 source proportional
 * and let its own green/orange artwork sit on a soft, non-rectangular tint.
 * This avoids the compressed, white-thumbnail treatment of the first pass. */
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a {
	justify-content: flex-start !important;
	gap: 10px !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a::before {
	display: block !important;
	box-sizing: border-box !important;
	width: 44px !important;
	height: 33px !important;
	flex: 0 0 44px !important;
	margin: 0 !important;
	padding: 3px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background-color: rgba(253, 250, 226, 0.14) !important;
	background-origin: content-box !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	filter: drop-shadow(0 2px 2px rgba(10, 24, 8, 0.18));
	content: "" !important;
	transition: background-color 0.18s ease, filter 0.18s ease !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover::before,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible::before,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a::before {
	background-color: rgba(240, 180, 140, 0.24) !important;
	filter: drop-shadow(0 2px 3px rgba(10, 24, 8, 0.24));
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a::after {
	margin-left: auto !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--dashboard > a::before { background-image: url("../../../assets/iconpack-2026/24-mein-konto.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--orders > a::before { background-image: url("../../../assets/iconpack-2026/28-bestellungen.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--edit-address > a::before { background-image: url("../../../assets/iconpack-2026/35-adressen.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--erwerbsberechtigungen > a::before { background-image: url("../../../assets/iconpack-2026/49-erwerb.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--edit-account > a::before { background-image: url("../../../assets/iconpack-2026/25-kontodetails.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--volltreffer > a::before { background-image: url("../../../assets/iconpack-2026/volltreffer-mark.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--konto-loeschen > a::before { background-image: url("../../../assets/iconpack-2026/26-konto-loeschen.webp") !important; }
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation-link--customer-logout > a::before { background-image: url("../../../assets/iconpack-2026/27-abmelden.webp") !important; }

@media (max-width: 820px) {
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a::before {
		width: 40px !important;
		height: 30px !important;
		flex-basis: 40px !important;
		padding: 2px !important;
	}
}

body.thps-v2-account--view-order .woocommerce-MyAccount-content > p:first-of-type :where(mark, mark a) {
	padding: 2px 5px !important;
	background: rgba(196, 93, 34, 0.13) !important;
	color: var(--thps-v2-forest) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.thps-v2-account .thps-v2-ewb-choice-grid,
body.thps-v2-account .thps-v2-ewb-choice-grid button,
body.thps-v2-account .thps-v2-ewb-choice-grid button > :where(strong, small),
body.thps-v2-account .thps-permit-card,
body.thps-v2-account .thps-permit-card__body,
body.thps-v2-account .thps-field,
body.thps-v2-account .thps-field > span {
	max-width: 100% !important;
	min-width: 0 !important;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button {
	overflow: hidden !important;
}

body.thps-v2-account .thps-v2-ewb-choice-grid button > :where(strong, small) {
	display: block !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	hyphens: none !important;
}

body.thps-v2-account .woocommerce-MyAccount-content input[type="date"] {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	min-inline-size: 0 !important;
	max-width: 100% !important;
	max-inline-size: 100% !important;
	-webkit-min-logical-width: 0 !important;
	padding: 12px 44px 12px 14px !important;
	background: var(--thps-v2-white) !important;
	color: var(--thps-v2-ink) !important;
	color-scheme: light;
	font-size: 16px !important;
	line-height: 1.35 !important;
	text-align: left !important;
}

body.thps-v2-account .woocommerce-MyAccount-content input[type="date"]::-webkit-date-and-time-value {
	min-height: 1.35em;
	margin: 0;
	text-align: left;
}

body.thps-v2-account .woocommerce-MyAccount-content input[type="date"]::-webkit-calendar-picker-indicator {
	margin-inline-start: auto;
	opacity: 1;
	cursor: pointer;
}

/* Account navigation polish: the artwork has its own transparent canvas.
 * Tint it for contrast on forest green instead of putting it on pale tiles,
 * and keep every label at one stable left-aligned position in all states. */
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a,
body.woocommerce-account.thps-v2-account .page-content > div.woocommerce .woocommerce-MyAccount-navigation li.is-active > a {
	justify-content: flex-start !important;
	gap: 13px !important;
	padding-left: 18px !important;
	text-align: left !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a::before {
	width: 40px !important;
	height: 30px !important;
	flex: 0 0 40px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	filter: brightness(0) saturate(100%) invert(94%) sepia(18%) saturate(308%) hue-rotate(350deg) brightness(103%) contrast(91%) drop-shadow(0 2px 2px rgba(8, 20, 7, 0.26)) !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover::before,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible::before,
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a::before {
	background-color: transparent !important;
	filter: brightness(0) saturate(100%) invert(48%) sepia(77%) saturate(876%) hue-rotate(341deg) brightness(91%) contrast(88%) drop-shadow(0 2px 2px rgba(8, 20, 7, 0.3)) !important;
}

/* The filled Volltreffer target needs its original inner colour contrast.
 * A monochrome filter turns it into a plain disc. Keep this exception local
 * to that artwork, including hover, keyboard focus and the active menu row. */
body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--volltreffer > a::before {
	filter: drop-shadow(0 2px 2px rgba(8, 20, 7, 0.26)) !important;
}

body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a::after {
	display: none !important;
	margin: 0 !important;
	content: none !important;
}

@media (max-width: 820px) {
	body.woocommerce-account.thps-v2-account .page-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account .entry-content > div.woocommerce,
	body.woocommerce-account.thps-v2-account main div.woocommerce {
		width: 100% !important;
		padding: 18px 12px 54px !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-content,
	body.thps-v2-account--view-order :where(.woocommerce-order-details, .woocommerce-customer-details, .thps-transfer-report, .thps-order-permit-summary),
	body.thps-v2-account--permits :where(.thps-permits-page, .thps-permit-form, .thps-permit-list) {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:hover,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li > a:focus-visible,
	body.woocommerce-account.thps-v2-account .woocommerce-MyAccount-navigation li.is-active > a {
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details {
		display: table !important;
		table-layout: fixed !important;
		overflow: visible !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details :where(th, td) {
		min-width: 0 !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: break-word !important;
		hyphens: none !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details :where(.woocommerce-table__product-name, .product-name) {
		width: 64% !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details :where(.woocommerce-table__product-total, .product-total) {
		width: 36% !important;
		text-align: right !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details tfoot th {
		width: 52% !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details tfoot td {
		width: 48% !important;
		text-align: right !important;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button {
		width: 100% !important;
		grid-template-columns: 36px minmax(0, 1fr) !important;
		padding: 15px 14px !important;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button strong {
		font-size: clamp(17px, 4.5vw, 20px) !important;
		line-height: 1.12 !important;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button small {
		font-size: 13px !important;
		line-height: 1.35 !important;
	}
}

@media (max-width: 560px) {
	body.thps-v2-account--view-order .woocommerce-MyAccount-content > p:first-of-type {
		padding: 16px 15px !important;
		font-size: 16px !important;
	}

	body.thps-v2-account--view-order table.woocommerce-table--order-details :where(th, td) {
		padding: 12px 9px !important;
		font-size: 14px !important;
		line-height: 1.4 !important;
	}

	body.thps-v2-account .thps-permit-card__body {
		padding: 20px 14px !important;
	}

	body.thps-v2-account .thps-v2-ewb-choice-grid button {
		min-height: 96px !important;
	}
}
