body.woocommerce-account:not(.woocommerce-order-pay) {
	--tms-account-black: #2f2f2f;
	--tms-account-text: #555f6d;
	--tms-account-secondary: #555f6d;
	--tms-account-muted: #6b7280;
	--tms-account-line: #e1e5e2;
	--tms-account-soft: #f4f6f4;
	--tms-account-green: #1b8741;
	--tms-account-green-hover: #239b4d;
	--tms-account-green-soft: #eaf6ee;
	--tms-account-success: #f0f8f3;
	--tms-account-info: #f5f5f5;
	--tms-account-danger: #b42318;
	--tms-account-danger-soft: #fff3f2;
	--tms-account-title-size: 48px;
	--tms-account-endpoint-size: 34px;
	--tms-account-empty-size: 26px;
}

/* Layout authority is limited to the logged-in account shell, never checkout/login. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) {
	display: grid !important;
	gap: 32px 36px;
	grid-template-columns: 250px minmax(0, 1fr) !important;
	align-items: start;
	align-content: start;
	margin: 0 auto;
	max-width: 1280px;
	padding: 52px 0 56px;
	width: 94%;
}

/* Avoid stacked Divi gutters, without touching the smart-header offset or text presets. */
body.woocommerce-account:not(.woocommerce-order-pay) :is(.et_pb_section, .et_pb_row):has(.tms-ea-account-navigation) {
	padding: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .et_pb_row:has(.tms-ea-account-navigation) {
	width: 100%;
	max-width: none;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation)::before,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation)::after,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) > .woocommerce-notices-wrapper:empty {
	display: none;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce *,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce *::before,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce *::after {
	box-sizing: border-box;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-error,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-message,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-info {
	grid-column: 1 / -1;
	margin: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-navigation,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-content {
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	min-width: 0 !important;
	order: initial !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-navigation {
	grid-column: 1 !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-content {
	color: var(--tms-account-text);
	grid-column: 2 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.tms-ea-account-navigation {
	align-self: start;
	background: #ffffff;
	border: 1px solid var(--tms-account-line);
	border-radius: 8px;
	position: static;
}

.tms-ea-account-navigation__toggle {
	display: none;
}

.tms-ea-account-navigation__groups {
	padding: 8px 0;
}

.tms-ea-account-navigation__group {
	margin: 0;
	padding: 12px 10px;
}

.tms-ea-account-navigation__group + .tms-ea-account-navigation__group {
	border-top: 1px solid var(--tms-account-line);
}

.tms-ea-account-navigation__group h2 {
	color: var(--tms-account-green);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 7px;
	padding: 0 12px;
	text-transform: uppercase;
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li {
	border: 0;
	margin: 2px 0;
	padding: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li a {
	align-items: center;
	border-left: 3px solid transparent;
	color: var(--tms-account-black);
	display: flex;
	font-size: 15px;
	font-weight: 650;
	gap: 11px;
	line-height: 1.25;
	min-height: 44px;
	padding: 10px 12px 10px 11px;
	text-decoration: none !important;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li a:hover,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li a:focus-visible {
	background: #f3f6f4;
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li.is-active a,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation li a[aria-current="page"] {
	background: var(--tms-account-green-soft);
	border-left-color: var(--tms-account-green);
	color: var(--tms-account-black);
}

.tms-ea-account-navigation li.is-active .tms-ea-account-icon,
.tms-ea-account-navigation a[aria-current="page"] .tms-ea-account-icon {
	color: var(--tms-account-green);
}

.tms-ea-account-icon {
	flex: 0 0 20px;
	height: 20px;
	width: 20px;
}

.tms-ea-account-dashboard {
	display: grid;
	gap: 32px;
	align-content: start;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.tms-ea-account-dashboard__header {
	padding: 0;
}

.tms-ea-account-dashboard__eyebrow {
	color: var(--tms-account-green);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.tms-ea-account-dashboard__header h1,
.tms-ea-account-dashboard h2,
.tms-ea-saved-auctions > h2,
.tms-ea-auction-purchases > h2,
.tms-ea-auction-purchases > header h2 {
	color: var(--tms-account-black);
	font-family: Orbitron, Arial, Helvetica, sans-serif;
	letter-spacing: 0;
	overflow-wrap: normal;
	word-break: normal;
}

body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-navigation a,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-summary-card__action,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-panel a,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-account-panel strong {
	overflow-wrap: normal;
	word-break: normal;
}

.tms-ea-account-dashboard__header h1 {
	font-size: 48px;
	line-height: 1.1;
	margin: 0 0 10px;
}

.tms-ea-account-dashboard__header > p:last-child {
	color: var(--tms-account-secondary);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
}

.tms-ea-account-dashboard__summary {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tms-ea-account-summary-card {
	background: #ffffff;
	border: 1px solid var(--tms-account-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	min-height: 164px;
	padding: 22px;
	text-decoration: none;
	transition: border-color 150ms ease, transform 150ms ease;
}

.tms-ea-account-summary-card:hover {
	border-color: var(--tms-account-green);
	transform: translateY(-1px);
}

.tms-ea-account-summary-card:focus-visible,
.tms-ea-account-navigation a:focus-visible,
.tms-ea-account-navigation__toggle:focus-visible {
	outline: 2px solid var(--tms-account-green);
	outline-offset: 3px;
}

.tms-ea-account-summary-card__icon,
.tms-ea-account-activity__icon {
	align-items: center;
	background: var(--tms-account-green-soft);
	border-radius: 8px;
	color: var(--tms-account-green);
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.tms-ea-account-summary-card__value {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	margin: 22px 0 0;
	padding: 0;
}

.tms-ea-account-summary-card__icon {
	height: 32px;
	width: 32px;
}

.tms-ea-account-summary-card__action {
	align-items: center;
	color: var(--tms-account-green);
	display: flex;
	font-size: 14px;
	font-weight: 750;
	gap: 8px;
	justify-content: space-between;
	line-height: 1.4;
	margin-top: 12px;
}

.tms-ea-account-summary-card__action > span {
	flex-shrink: 0;
}

.tms-ea-account-dashboard__columns {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: start;
}

.tms-ea-account-panel {
	min-width: 0;
}

.tms-ea-account-panel > header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	justify-content: space-between;
	margin-bottom: 14px;
	min-height: 44px;
}

.tms-ea-account-panel > header h2 {
	color: var(--tms-account-green);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.tms-ea-account-panel > header > a {
	color: var(--tms-account-green);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.tms-ea-account-activity,
.tms-ea-account-shortcuts,
.tms-ea-account-orders {
	border: 1px solid var(--tms-account-line);
	border-radius: 8px;
	overflow: hidden;
}

.tms-ea-account-activity > a,
.tms-ea-account-shortcuts > a {
	align-items: center;
	color: var(--tms-account-text);
	display: grid;
	gap: 13px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 66px;
	padding: 12px 14px;
	text-decoration: none !important;
}

.tms-ea-account-activity > a + a,
.tms-ea-account-shortcuts > a + a,
.tms-ea-account-orders > a + a {
	border-top: 1px solid var(--tms-account-line);
}

.tms-ea-account-activity > a:hover,
.tms-ea-account-shortcuts > a:hover,
.tms-ea-account-orders > a:hover {
	background: var(--tms-account-soft);
}

.tms-ea-account-activity__icon {
	height: 38px;
	width: 38px;
}

.tms-ea-account-activity__icon .tms-ea-account-icon {
	height: 18px;
	width: 18px;
}

.tms-ea-account-activity a > span:nth-child(2) {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.tms-ea-account-activity small {
	color: var(--tms-account-green);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.tms-ea-account-activity strong {
	color: var(--tms-account-black);
	font-size: 16px;
	overflow-wrap: normal;
	word-break: normal;
}

.tms-ea-account-activity em {
	color: var(--tms-account-muted);
	font-size: 12px;
	font-style: normal;
}

.tms-ea-account-shortcuts > a {
	grid-template-columns: 22px minmax(0, 1fr) auto;
	min-height: 56px;
}

.tms-ea-account-shortcuts .tms-ea-account-icon {
	color: var(--tms-account-green);
	height: 19px;
	width: 19px;
}

.tms-ea-account-orders > a {
	align-items: center;
	color: var(--tms-account-text);
	display: grid;
	font-size: 13px;
	gap: 14px;
	grid-template-columns: minmax(100px, 1fr) minmax(110px, 1fr) minmax(90px, 0.7fr) auto 18px;
	min-height: 54px;
	padding: 11px 14px;
	text-decoration: none !important;
}

.tms-ea-account-orders__status {
	color: var(--tms-account-green);
	font-weight: 750;
}

.tms-ea-account-panel__empty,
.tms-ea-account-panel__empty-copy {
	background: var(--tms-account-soft);
	border: 1px solid var(--tms-account-line);
	border-radius: 8px;
	color: var(--tms-account-secondary);
	margin: 0;
	padding: 20px;
}

.tms-ea-account-panel__empty h3 {
	color: var(--tms-account-black);
	font-size: 16px;
	margin: 0 0 6px;
}

.tms-ea-account-panel__empty p {
	margin: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content > h2,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content > form > h2,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-saved-auctions > h2,
body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-auction-purchases > h2 {
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 22px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content input,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content select,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content textarea {
	max-width: 100%;
	min-width: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) > * {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.form-row-first, .form-row-last) {
	float: none;
	width: auto;
	grid-column: span 1;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(fieldset, .woocommerce-address-fields, .woocommerce-Address) {
	min-width: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .form-row label {
	display: block;
	margin-bottom: 6px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.input-text, select, textarea, .select2-container) {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.input-text, select, textarea) {
	border: 1px solid var(--tms-account-line);
	border-radius: 6px;
	background: #fff;
	color: var(--tms-account-text);
	min-height: 44px;
	padding: 10px 12px;
	font-size: 16px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(input, select, textarea, .button):focus-visible {
	outline: 2px solid var(--tms-account-green);
	outline-offset: 2px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .woocommerce-invalid :is(input, select, textarea) {
	border-color: var(--tms-account-danger);
}

/* Keep wide order/payment tables locally scrollable, not the whole page. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content table.shop_table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--tms-account-line);
	border-radius: 6px;
	border-collapse: collapse;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content table.shop_table :is(th, td) {
	padding: 12px;
	text-align: left;
	vertical-align: middle;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	background: var(--tms-account-info);
	color: var(--tms-account-black);
	border: 0;
	border-left: 4px solid var(--tms-account-green);
	margin-bottom: 20px;
	overflow-wrap: anywhere;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-message {
	background: var(--tms-account-success);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info)::before {
	color: var(--tms-account-green);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-error {
	background: var(--tms-account-danger-soft);
	border-left-color: var(--tms-account-danger);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-error::before {
	color: var(--tms-account-danger);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .button:not(.tms-ea-auction-purchases__secondary) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tms-account-green);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	font-weight: 700;
	min-height: 44px;
	padding: 11px 20px;
	white-space: normal;
	max-width: 100%;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .button:not(.tms-ea-auction-purchases__secondary):hover {
	background: var(--tms-account-green-hover);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Account colours and functional heading sizes override Divi without changing site presets. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content :is(h1, h2, h3, h4, h5, h6),
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-summary-card__value {
	color: var(--tms-account-black) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.tms-ea-account-navigation__group h2, .tms-ea-account-panel > header h2, .tms-ea-account-dashboard__eyebrow) {
	color: var(--tms-account-green) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.tms-ea-account-navigation__group h2, .tms-ea-account-panel > header h2) {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
	white-space: nowrap;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-dashboard__header h1 {
	font-size: var(--tms-account-title-size) !important;
	line-height: 1.1 !important;
	overflow-wrap: anywhere;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(
	.woocommerce-MyAccount-content > h1, .woocommerce-MyAccount-content > h2,
	.woocommerce-MyAccount-content > header > h1, .woocommerce-MyAccount-content > header > h2,
	.woocommerce-MyAccount-content > form > h2, .woocommerce-MyAccount-content > form > h3,
	.tms-ea-saved-auctions > h2, .tms-ea-auction-purchases > h2, .tms-ea-auction-purchases > header h2,
	.woocommerce-Address-title h3
) {
	font-size: var(--tms-account-endpoint-size) !important;
	line-height: 1.2 !important;
	overflow-wrap: anywhere;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.tms-ea-saved-auctions__empty h3, .tms-ea-account-panel__empty h3) {
	font-size: var(--tms-account-empty-size) !important;
	line-height: 1.25 !important;
	overflow-wrap: anywhere;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content a:not(:where(.button, .tms-ea-auction-purchases__cta, .tms-ea-saved-auctions__view, .page-numbers, [aria-current="page"])),
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button),
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-summary-card__action {
	color: var(--tms-account-green);
}

/* Pale Woo notices must defeat explicit white text on nested Divi elements too. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) :not(a, a *, button, button *, .button, .button *, svg, svg *) {
	color: var(--tms-account-black) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
	color: var(--tms-account-green) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button):hover {
	color: var(--tms-account-green-hover) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.button, .tms-ea-auction-purchases__cta, .tms-ea-auction-purchases__secondary, .tms-ea-saved-auctions__view) *,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a * {
	color: inherit !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content a:not(:where(.button, .tms-ea-auction-purchases__cta, .tms-ea-saved-auctions__view, .page-numbers, [aria-current="page"])):hover,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button):hover,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-summary-card:hover .tms-ea-account-summary-card__action {
	color: var(--tms-account-green-hover);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.tms-ea-account-shortcuts, .tms-ea-account-orders, .tms-ea-account-activity) > a {
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-navigation li a {
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-navigation li a:hover {
	background: var(--tms-account-green-soft);
	color: var(--tms-account-green);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-navigation li.is-active a,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .tms-ea-account-navigation a[aria-current="page"] {
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content :where(address, label, legend, table.shop_table td) {
	color: var(--tms-account-text);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content table.shop_table :is(th, td) {
	border-color: var(--tms-account-line);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-MyAccount-content table.shop_table th {
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.button, .tms-ea-auction-purchases__cta, .tms-ea-saved-auctions__view) {
	background: var(--tms-account-green);
	background-image: none;
	border-color: var(--tms-account-green);
	color: #ffffff !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.button, .tms-ea-auction-purchases__cta, .tms-ea-saved-auctions__view):hover {
	background: var(--tms-account-green-hover);
	border-color: var(--tms-account-green-hover);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.button.secondary, .tms-ea-auction-purchases__secondary) {
	background: #ffffff;
	border: 1px solid var(--tms-account-green);
	color: var(--tms-account-green) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.button.secondary, .tms-ea-auction-purchases__secondary):hover {
	background: var(--tms-account-green-soft);
}

/* Woo order cancellation/payment-method deletion are not positive purchase actions. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(a.delete, a.cancel, button.delete, button.cancel) {
	background: var(--tms-account-danger-soft);
	border-color: var(--tms-account-danger);
	color: var(--tms-account-danger) !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(a.delete, a.cancel, button.delete, button.cancel):hover {
	background: var(--tms-account-danger);
	color: #ffffff !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--tms-account-green);
	outline-offset: 2px;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.input-text, select, textarea):focus,
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.select2-container--focus, .select2-container--open) .select2-selection {
	border-color: var(--tms-account-green);
	box-shadow: 0 0 0 1px var(--tms-account-green);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .select2-selection {
	background: #ffffff;
	border-color: var(--tms-account-line);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .select2-selection__rendered {
	color: var(--tms-account-text);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) .woocommerce-invalid :is(input, select, textarea) {
	border-color: var(--tms-account-danger);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.woocommerce-invalid label, .required, .woocommerce-error li) {
	color: var(--tms-account-danger);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.page-numbers, .tms-ea-saved-auctions__pagination a) {
	background: #ffffff;
	border-color: var(--tms-account-line);
	color: var(--tms-account-black);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.page-numbers, .tms-ea-saved-auctions__pagination a):hover {
	background: var(--tms-account-green-soft);
	color: var(--tms-account-green);
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.page-numbers.current, .tms-ea-saved-auctions__pagination a[aria-current="page"]) {
	background: var(--tms-account-green);
	color: #ffffff;
}

@media (min-width: 768px) and (max-width: 1099px) {
	body.woocommerce-account:not(.woocommerce-order-pay) {
		--tms-account-title-size: 40px;
		--tms-account-endpoint-size: 30px;
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) {
		gap: 24px;
		grid-template-columns: 220px minmax(0, 1fr) !important;
	}

	.tms-ea-account-dashboard__columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	body.woocommerce-account:not(.woocommerce-order-pay) {
		--tms-account-title-size: 32px;
		--tms-account-endpoint-size: 27px;
		--tms-account-empty-size: 22px;
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) {
		display: grid !important;
		gap: 22px;
		grid-template-columns: minmax(0, 1fr) !important;
		padding: 24px 0 40px;
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-navigation,
	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-content {
		flex: none !important;
		grid-column: 1 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce > .woocommerce-MyAccount-navigation {
		position: static;
	}

	.tms-ea-account-navigation__toggle {
		align-items: center;
		background: #ffffff;
		border: 0;
		border-radius: 8px;
		color: var(--tms-account-black);
		display: none;
		font-size: 15px;
		gap: 10px;
		grid-template-columns: 22px minmax(0, 1fr) 20px;
		min-height: 52px;
		padding: 12px 14px;
		text-align: left;
		width: 100%;
	}

	.tms-ea-account-navigation--enhanced .tms-ea-account-navigation__toggle {
		display: grid;
	}

	.tms-ea-account-navigation__toggle > span {
		color: var(--tms-account-green);
		display: flex;
	}

	.tms-ea-account-navigation__toggle > svg {
		fill: none;
		height: 20px;
		stroke: currentColor;
		stroke-width: 2;
		transition: transform 150ms ease;
		width: 20px;
	}

	.tms-ea-account-navigation--enhanced .tms-ea-account-navigation__groups {
		display: none;
	}

	.tms-ea-account-navigation--enhanced.is-open .tms-ea-account-navigation__groups {
		display: block;
	}

	.tms-ea-account-navigation.is-open .tms-ea-account-navigation__toggle > svg {
		transform: rotate(180deg);
	}

	.tms-ea-account-navigation__groups {
		border-top: 1px solid var(--tms-account-line);
	}

	.tms-ea-account-dashboard {
		gap: 22px;
	}

	.tms-ea-account-dashboard__header {
		padding-top: 0;
	}

	.tms-ea-account-dashboard__header h1 {
		font-size: 32px;
	}

	.tms-ea-account-dashboard__summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-account-summary-card {
		padding: 18px;
		min-height: 150px;
	}

	.tms-ea-account-summary-card__value {
		margin-top: 16px;
	}

	.tms-ea-account-dashboard__columns {
		grid-template-columns: minmax(0, 1fr);
	}

	.tms-ea-account-panel > header {
		gap: 8px;
	}

	.tms-ea-account-orders > a {
		gap: 3px 10px;
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 13px 14px;
	}

	.tms-ea-account-orders > a > span:nth-child(2),
	.tms-ea-account-orders > a > span:nth-child(3) {
		font-size: 12px;
	}

	.tms-ea-account-orders > a > span:last-child {
		grid-column: 2;
		grid-row: 1;
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-saved-auctions__grid,
	body.woocommerce-account:not(.woocommerce-order-pay) .tms-ea-auction-purchases__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce-MyAccount-content .woocommerce-Address {
		float: none;
		width: 100%;
		margin-bottom: 20px;
	}
}

/* Suppress Divi's hover arrow and reserve the same horizontal padding in both states. */
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button)::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button),
body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button):hover {
	padding-left: 20px !important;
	padding-right: 20px !important;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button):focus-visible {
	outline: 2px solid var(--tms-account-green);
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button):hover:not(:disabled, [aria-disabled="true"], .disabled) {
		transform: translateY(-2px);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-account:not(.woocommerce-order-pay) .woocommerce:has(> .tms-ea-account-navigation) :is(.et_pb_button, .button) {
		transition: none !important;
		transform: none !important;
	}

	.tms-ea-account-summary-card {
		transition: none;
		transform: none;
	}
}
