/* =========================================================================
   SpeakOut! My Account
   Everything is scoped to body.soma-account so the rest of the site is untouched.
   ========================================================================= */

body.soma-account {
	--so-ink: #16131c;
	--so-ink-2: #2b2633;
	--so-paper: #faf7f2;
	--so-card: #ffffff;
	--so-line: #ebe5da;
	--so-muted: #6c6676;
	--so-accent: #e4472c;
	--so-accent-deep: #c23519;
	--so-accent-soft: #fdebe6;
	--so-ok: #0e7c55;
	--so-ok-soft: #e1f4ea;
	--so-warn: #9a6200;
	--so-warn-soft: #fbefd6;
	--so-bad: #b42318;
	--so-bad-soft: #fdeceb;
	--so-radius: 18px;
	--so-radius-sm: 11px;
	--so-shadow: 0 1px 2px rgba(22, 19, 28, .05), 0 8px 24px -12px rgba(22, 19, 28, .18);
	--so-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	--so-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Give the account page room to breathe inside the theme's content column. */
body.soma-account .hentry {
	padding-top: 0;
	padding-bottom: 0;
	background: transparent;
	box-shadow: none;
}
body.soma-account .hentry .entry-header {
	display: none;
}
body.soma-account .entry-content {
	padding: 0;
	container-type: inline-size;
	container-name: soma-page;
}

body.soma-account .woocommerce {
	container-type: inline-size;
	font-family: var(--so-body);
	color: var(--so-ink);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.soma-account.soma-logged-in .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	padding: 10px;
	background: var(--so-paper);
	border-radius: 26px;
	border: 1px solid var(--so-line);
}
@container soma-page (min-width: 820px) {
	body.soma-account.soma-logged-in .woocommerce {
		grid-template-columns: 228px minmax(0, 1fr);
		gap: 28px;
		padding: 28px;
	}
}
body.soma-account .woocommerce::before,
body.soma-account .woocommerce::after {
	display: none;
}
body.soma-account .woocommerce-MyAccount-navigation,
body.soma-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
}

/* ---------- Navigation ---------- */

/* Burger toggle (mobile / narrow layouts only) */
body.soma-account .soma-menu-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 8px 10px 8px 16px;
	margin: 0;
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	background: var(--so-card);
	box-shadow: var(--so-shadow);
	color: var(--so-ink);
	font-family: var(--so-body);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
body.soma-account .soma-menu-toggle:hover,
body.soma-account .soma-menu-toggle:focus {
	background: var(--so-card);
	color: var(--so-ink);
}
body.soma-account .soma-menu-toggle:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 4px var(--so-accent-soft);
	border-color: var(--so-accent);
}
body.soma-account .soma-menu-toggle__label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.soma-account .soma-menu-toggle__label small {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--so-muted);
	line-height: 1.3;
}
body.soma-account .soma-burger {
	position: relative;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--so-ink);
}
body.soma-account .soma-burger span {
	position: absolute;
	left: 11px;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
body.soma-account .soma-burger span:nth-child(1) { top: 13px; }
body.soma-account .soma-burger span:nth-child(2) { top: 18px; }
body.soma-account .soma-burger span:nth-child(3) { top: 23px; }
body.soma-account .soma-nav-open .soma-burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
body.soma-account .soma-nav-open .soma-burger span:nth-child(2) { opacity: 0; }
body.soma-account .soma-nav-open .soma-burger span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* Collapsed by default on narrow layouts; opened by the burger */
body.soma-account.soma-logged-in .woocommerce-MyAccount-navigation {
	display: none;
}
body.soma-account.soma-logged-in .soma-nav-open .woocommerce-MyAccount-navigation {
	display: block;
	margin-top: -6px;
	animation: soma-drop .18s ease-out;
}
@keyframes soma-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

body.soma-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--so-card);
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	box-shadow: var(--so-shadow);
}
body.soma-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px;
	padding-top: 6px !important;
	border-top: 1px solid var(--so-line) !important;
}

/* Wide layouts: sidebar menu, no burger */
@container soma-page (min-width: 820px) {
	body.soma-account .soma-menu-toggle {
		display: none;
	}
	body.soma-account.soma-logged-in .woocommerce-MyAccount-navigation,
	body.soma-account.soma-logged-in .soma-nav-open .woocommerce-MyAccount-navigation {
		display: block;
		margin-top: 0;
		position: sticky;
		top: 24px;
		align-self: start;
		animation: none;
	}
}

body.soma-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
	flex: 0 0 auto;
}
body.soma-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 14px;
	border-radius: var(--so-radius-sm);
	color: var(--so-ink-2);
	font-weight: 500;
	font-size: 14.5px;
	text-decoration: none;
	border: 0;
	box-shadow: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
body.soma-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	opacity: .7;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
body.soma-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--so-paper);
	color: var(--so-ink);
}
body.soma-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--so-ink);
	color: #fff;
}
body.soma-account .woocommerce-MyAccount-navigation li.is-active a::before {
	opacity: 1;
	background: var(--so-accent);
}
body.soma-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: var(--so-bad-soft);
	color: var(--so-bad);
}

/* ---------- Content shell ---------- */
body.soma-account .woocommerce-MyAccount-content {
	container-type: inline-size;
	container-name: soma-content;
	background: var(--so-card);
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	box-shadow: var(--so-shadow);
	padding: 20px 18px;
}
@container soma-page (min-width: 820px) {
	body.soma-account .woocommerce-MyAccount-content { padding: 32px 34px; }
}
body.soma-account .woocommerce-MyAccount-content > p:first-child:not(:only-child),
body.soma-account .woocommerce-MyAccount-content p {
	color: var(--so-ink-2);
}
body.soma-account .woocommerce-MyAccount-content h2,
body.soma-account .woocommerce-MyAccount-content h3,
body.soma-account .woocommerce-MyAccount-content legend {
	font-family: var(--so-display);
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--so-ink);
	line-height: 1.15;
	margin: 0 0 14px;
}
body.soma-account .woocommerce-MyAccount-content h2 { font-size: 26px; }
body.soma-account .woocommerce-MyAccount-content h3 { font-size: 19px; }
body.soma-account .woocommerce-MyAccount-content a:not(.soma-btn):not(.button):not(.soma-tile) {
	color: var(--so-accent-deep);
	border-bottom: 1px solid currentColor;
	text-decoration: none;
	box-shadow: none;
}
body.soma-account .woocommerce-MyAccount-content mark {
	background: var(--so-paper);
	color: var(--so-ink);
	padding: 1px 6px;
	border-radius: 6px;
	font-weight: 600;
}

/* ---------- Buttons ---------- */
body.soma-account .soma-btn,
body.soma-account .woocommerce .button,
body.soma-account .woocommerce button.button,
body.soma-account .woocommerce input.button,
body.soma-account .woocommerce-MyAccount-content input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--so-ink);
	background: var(--so-ink);
	color: #fff;
	font-family: var(--so-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
body.soma-account .soma-btn:hover,
body.soma-account .woocommerce .button:hover,
body.soma-account .woocommerce-MyAccount-content input[type="submit"]:hover {
	background: var(--so-ink-2);
	color: #fff;
	transform: translateY(-1px);
}
body.soma-account .soma-btn--primary,
body.soma-account .woocommerce .button.alt,
body.soma-account .woocommerce-MyAccount-content button[type="submit"],
body.soma-account .woocommerce-form-login__submit,
body.soma-account .woocommerce-form-register__submit {
	background: var(--so-accent);
	border-color: var(--so-accent);
	color: #fff;
}
body.soma-account .soma-btn--primary:hover,
body.soma-account .woocommerce .button.alt:hover,
body.soma-account .woocommerce-MyAccount-content button[type="submit"]:hover {
	background: var(--so-accent-deep);
	border-color: var(--so-accent-deep);
}
body.soma-account .soma-btn--ghost {
	background: transparent;
	color: var(--so-ink);
	border-color: var(--so-line);
}
body.soma-account .soma-btn--ghost:hover {
	background: var(--so-paper);
	color: var(--so-ink);
	border-color: var(--so-ink);
}
body.soma-account .soma-btn .soma-ico { width: 16px; height: 16px; }

/* Cancel / delete actions anywhere in the account (including WP Swings' cancel link) */
body.soma-account .woocommerce-MyAccount-content a.button[href*="cancel"],
body.soma-account .woocommerce-MyAccount-content a.button.delete,
body.soma-account .woocommerce-MyAccount-content a[class*="cancel"].button {
	background: transparent;
	color: var(--so-bad);
	border-color: #f2c4c0;
}
body.soma-account .woocommerce-MyAccount-content a.button[href*="cancel"]:hover,
body.soma-account .woocommerce-MyAccount-content a.button.delete:hover,
body.soma-account .woocommerce-MyAccount-content a[class*="cancel"].button:hover {
	background: var(--so-bad-soft);
	color: var(--so-bad);
	border-color: var(--so-bad);
}

/* ---------- Tables (orders, subscriptions, payment methods, downloads) ---------- */
body.soma-account .woocommerce-MyAccount-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--so-line);
	border-radius: 14px;
	overflow: hidden;
	margin: 0 0 24px;
	font-size: 14.5px;
	table-layout: auto;
}
body.soma-account .woocommerce-MyAccount-content table th,
body.soma-account .woocommerce-MyAccount-content table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--so-line);
	text-align: left;
	vertical-align: middle;
	background: transparent;
}
body.soma-account .woocommerce-MyAccount-content table thead th {
	background: var(--so-paper);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--so-muted);
}
body.soma-account .woocommerce-MyAccount-content table tbody tr:last-child > *,
body.soma-account .woocommerce-MyAccount-content table tfoot tr:last-child > * {
	border-bottom: 0;
}
body.soma-account .woocommerce-MyAccount-content table tbody tr {
	transition: background-color .12s ease;
}
body.soma-account .woocommerce-MyAccount-content table tbody tr:hover {
	background: #fdfbf8;
}
body.soma-account .woocommerce-MyAccount-content table tfoot th {
	color: var(--so-muted);
	font-weight: 500;
}
body.soma-account .woocommerce-MyAccount-content table tfoot tr:last-child > * {
	font-weight: 700;
	color: var(--so-ink);
}
body.soma-account .woocommerce-MyAccount-content table .button {
	min-height: 34px;
	padding: 6px 14px;
	font-size: 13px;
	margin: 2px 4px 2px 0;
}

/* Status text in tables reads as a small pill */
body.soma-account .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
	color: var(--so-ink-2);
}

@container (max-width: 600px) {
	body.soma-account .woocommerce-MyAccount-content table.shop_table_responsive thead { display: none; }
	body.soma-account .woocommerce-MyAccount-content table.shop_table_responsive tr {
		display: block;
		border-bottom: 1px solid var(--so-line);
		padding: 8px 0;
	}
	body.soma-account .woocommerce-MyAccount-content table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		border: 0;
		padding: 6px 16px;
		text-align: right !important;
	}
	body.soma-account .woocommerce-MyAccount-content table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--so-muted);
		text-align: left;
	}
}

/* ---------- Forms ---------- */
body.soma-account .woocommerce form .form-row {
	padding: 0;
	margin: 0 0 16px;
}
body.soma-account .woocommerce form .form-row label,
body.soma-account .woocommerce form label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--so-ink-2);
	margin-bottom: 6px;
	line-height: 1.4;
}
body.soma-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox,
body.soma-account .woocommerce form label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}
body.soma-account .woocommerce form input.input-text,
body.soma-account .woocommerce form input[type="text"],
body.soma-account .woocommerce form input[type="email"],
body.soma-account .woocommerce form input[type="tel"],
body.soma-account .woocommerce form input[type="password"],
body.soma-account .woocommerce form select,
body.soma-account .woocommerce form textarea,
body.soma-account .select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--so-line);
	border-radius: 12px;
	background: #fff;
	color: var(--so-ink);
	font: inherit;
	font-size: 15px;
	box-shadow: inset 0 1px 0 rgba(22, 19, 28, .02);
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.soma-account .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 22px;
	padding: 0;
}
body.soma-account .select2-container .select2-selection--single .select2-selection__arrow {
	top: 10px;
	right: 10px;
}
body.soma-account .woocommerce form input:focus,
body.soma-account .woocommerce form select:focus,
body.soma-account .woocommerce form textarea:focus {
	outline: 0;
	border-color: var(--so-accent);
	box-shadow: 0 0 0 4px var(--so-accent-soft);
}
body.soma-account .woocommerce form fieldset {
	margin: 28px 0 8px;
	padding: 22px;
	border: 1px solid var(--so-line);
	border-radius: 14px;
	background: var(--so-paper);
}
body.soma-account .woocommerce form fieldset legend {
	padding: 0 8px;
	margin-left: -8px;
	font-size: 17px;
}
body.soma-account .woocommerce form .form-row em,
body.soma-account .woocommerce form .description {
	display: block;
	font-size: 13px;
	color: var(--so-muted);
	font-style: normal;
	margin-top: 6px;
}
body.soma-account .woocommerce form .required {
	color: var(--so-accent);
	border: 0;
	text-decoration: none;
}
@container (min-width: 820px) {
	body.soma-account .woocommerce-MyAccount-content .form-row-first,
	body.soma-account .woocommerce-MyAccount-content .form-row-last {
		width: calc(50% - 8px);
	}
}

/* Addresses */
body.soma-account .woocommerce-Addresses {
	display: grid;
	gap: 16px;
}
body.soma-account .woocommerce-Addresses::before,
body.soma-account .woocommerce-Addresses::after { display: none; }
body.soma-account .woocommerce-Address {
	float: none !important;
	width: auto !important;
	padding: 20px;
	border: 1px solid var(--so-line);
	border-radius: 14px;
	background: var(--so-paper);
}
body.soma-account .woocommerce-Address-title {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
body.soma-account .woocommerce-Address-title::before,
body.soma-account .woocommerce-Address-title::after { display: none; }
body.soma-account .woocommerce-Address-title h2,
body.soma-account .woocommerce-Address-title h3 { font-size: 17px; margin: 0; float: none; }
body.soma-account .woocommerce-Address-title .edit { float: none; font-size: 13.5px; font-weight: 600; }
body.soma-account .woocommerce-Address address {
	font-style: normal;
	color: var(--so-ink-2);
	margin: 12px 0 0;
}

/* ---------- Notices ---------- */
body.soma-account .woocommerce-message,
body.soma-account .woocommerce-info,
body.soma-account .woocommerce-error,
body.soma-account .woocommerce-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 14px 18px;
	margin: 0 0 20px;
	list-style: none;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 14.5px;
	font-family: var(--so-body);
	color: var(--so-ink);
	background: var(--so-paper);
	border-color: var(--so-line);
	box-shadow: none;
}
body.soma-account .woocommerce-message { background: var(--so-ok-soft); border-color: #bfe6d2; }
body.soma-account .woocommerce-error { background: var(--so-bad-soft); border-color: #f2c4c0; }
body.soma-account .woocommerce-message::before,
body.soma-account .woocommerce-info::before,
body.soma-account .woocommerce-error::before { display: none; }
body.soma-account .woocommerce-message .button,
body.soma-account .woocommerce-info .button {
	order: 2;
	margin-left: auto;
	min-height: 34px;
	padding: 6px 14px;
	font-size: 13px;
}

/* =========================================================================
   Overview (custom dashboard)
   ========================================================================= */
body.soma-account .soma-overview {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	overflow-wrap: anywhere;
}
body.soma-account .soma-eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--so-accent-deep) !important;
}
body.soma-account .soma-hero__title {
	font-size: clamp(28px, 4.2cqi, 38px) !important;
	margin: 0 0 6px !important;
}
body.soma-account .soma-hero__lede {
	margin: 0;
	max-width: 54ch;
	color: var(--so-muted) !important;
	font-size: 15.5px;
}

/* Subscription card */
body.soma-account .soma-plan {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	padding: 22px;
	border-radius: 20px;
	color: #fff;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(228, 71, 44, .55) 0%, rgba(228, 71, 44, 0) 55%),
		radial-gradient(90% 120% at 0% 100%, rgba(120, 86, 255, .28) 0%, rgba(120, 86, 255, 0) 60%),
		var(--so-ink);
	overflow: hidden;
	isolation: isolate;
}
body.soma-account .soma-plan::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 16px 16px;
	-webkit-mask: linear-gradient(110deg, transparent 35%, #000 100%);
	mask: linear-gradient(110deg, transparent 35%, #000 100%);
}
@container soma-content (min-width: 600px) {
	body.soma-account .soma-plan {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 30px 32px;
	}
}
body.soma-account .soma-plan--none {
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(228, 71, 44, .35) 0%, rgba(228, 71, 44, 0) 60%),
		var(--so-ink);
}
body.soma-account .soma-plan__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
body.soma-account .soma-plan__id {
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
	font-variant-numeric: tabular-nums;
}
body.soma-account .soma-plan__name {
	color: #fff !important;
	font-size: 24px !important;
	margin: 0 0 4px !important;
}
body.soma-account .soma-plan .soma-muted { color: rgba(255, 255, 255, .72) !important; margin: 6px 0 0; }
body.soma-account .soma-plan__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	color: #fff !important;
}
body.soma-account .soma-plan__amount {
	font-family: var(--so-display);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.02em;
}
body.soma-account .soma-plan__amount small { font-size: 13px; font-weight: 500; opacity: .7; }
body.soma-account .soma-plan__period { color: rgba(255, 255, 255, .7); font-size: 15px; }

body.soma-account .soma-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0 0 22px;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
body.soma-account .soma-facts div { margin: 0; }
body.soma-account .soma-facts dt {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
body.soma-account .soma-facts dt .soma-ico { width: 14px; height: 14px; }
body.soma-account .soma-facts dd {
	margin: 0;
	font-weight: 600;
	font-size: 15.5px;
	color: #fff;
}
body.soma-account .soma-plan__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
body.soma-account .soma-plan__head + .soma-plan__name { margin-top: 0 !important; }
body.soma-account .soma-plan .soma-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .28);
}
body.soma-account .soma-plan .soma-btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
	border-color: #fff;
	color: #fff;
}

/* Badges */
body.soma-account .soma-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 11px 4px 9px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	background: rgba(255, 255, 255, .12);
	color: #fff;
}
body.soma-account .soma-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}
body.soma-account .soma-badge--active { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
body.soma-account .soma-badge--active::before { box-shadow: 0 0 0 4px rgba(110, 231, 183, .2); animation: soma-pulse 2.4s ease-in-out infinite; }
body.soma-account .soma-badge--on-hold,
body.soma-account .soma-badge--paused,
body.soma-account .soma-badge--pending { background: rgba(251, 191, 36, .16); color: #fcd34d; }
body.soma-account .soma-badge--cancelled,
body.soma-account .soma-badge--expired { background: rgba(248, 113, 113, .16); color: #fca5a5; }
body.soma-account .soma-badge--none { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
@keyframes soma-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(110, 231, 183, .25); }
	50% { box-shadow: 0 0 0 6px rgba(110, 231, 183, 0); }
}

/* Renewal ring */
body.soma-account .soma-ring {
	--p: 0;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	justify-self: start;
	background:
		conic-gradient(var(--so-accent) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0);
}
@container soma-content (min-width: 600px) {
	body.soma-account .soma-ring { justify-self: end; width: 148px; height: 148px; }
}
body.soma-account .soma-ring__inner {
	width: calc(100% - 18px);
	height: calc(100% - 18px);
	border-radius: 50%;
	display: grid;
	place-content: center;
	text-align: center;
	background: #1d1924;
}
body.soma-account .soma-ring__inner strong {
	font-family: var(--so-display);
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
}
body.soma-account .soma-ring__inner span {
	margin-top: 4px;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
}

/* Quick action tiles */
body.soma-account .soma-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 12px;
}
body.soma-account .soma-tile {
	display: grid;
	gap: 3px;
	align-content: start;
	padding: 18px;
	border: 1px solid var(--so-line);
	border-radius: 16px;
	background: #fff;
	color: var(--so-ink);
	text-decoration: none;
	box-shadow: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.soma-account .soma-tile:hover {
	transform: translateY(-2px);
	border-color: var(--so-ink);
	box-shadow: var(--so-shadow);
	color: var(--so-ink);
}
body.soma-account .soma-tile strong { font-size: 15px; font-weight: 600; }
body.soma-account .soma-tile > span:last-child { font-size: 13.5px; color: var(--so-muted); line-height: 1.45; }
body.soma-account .soma-tile__ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 10px;
	border-radius: 11px;
	background: var(--so-accent-soft);
	color: var(--so-accent-deep);
}
body.soma-account .soma-tile__ico .soma-ico { width: 20px; height: 20px; }

/* Help strip */
body.soma-account .soma-help {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	border-radius: 16px;
	background: var(--so-paper);
	border: 1px dashed #dcd3c4;
}
body.soma-account .soma-help strong { display: block; margin-bottom: 2px; }
body.soma-account .soma-help p { margin: 0; font-size: 14px; color: var(--so-muted) !important; }
body.soma-account .soma-help__ico { color: var(--so-accent-deep); flex: none; }
body.soma-account .soma-help__ico .soma-ico { width: 22px; height: 22px; }

body.soma-account .soma-ico { width: 18px; height: 18px; flex: none; }

/* =========================================================================
   Logged-out: login / register
   ========================================================================= */
body.soma-account.soma-logged-out .woocommerce {
	max-width: 880px;
	margin: 0 auto;
}
body.soma-account.soma-logged-out .woocommerce > h2,
body.soma-account.soma-logged-out .u-columns h2 {
	font-family: var(--so-display);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -.015em;
	margin: 0 0 16px;
}
body.soma-account .u-columns.col2-set {
	display: grid;
	gap: 20px;
}
@container (min-width: 700px) {
	body.soma-account .u-columns.col2-set { grid-template-columns: 1fr 1fr; }
}
body.soma-account .u-columns.col2-set::before,
body.soma-account .u-columns.col2-set::after { display: none; }
body.soma-account .u-columns .u-column1,
body.soma-account .u-columns .u-column2 {
	float: none;
	width: auto;
	padding: 28px;
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	background: #fff;
	box-shadow: var(--so-shadow);
}
body.soma-account .woocommerce-form-login,
body.soma-account .woocommerce-form-register,
body.soma-account .woocommerce-ResetPassword {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}
body.soma-account.soma-logged-out .woocommerce > .woocommerce-form-login {
	padding: 28px;
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	background: #fff;
	box-shadow: var(--so-shadow);
}
body.soma-account .woocommerce-form-login__submit,
body.soma-account .woocommerce-form-register__submit {
	width: 100%;
	margin-top: 6px;
}
body.soma-account .woocommerce-LostPassword {
	margin: 14px 0 0;
	font-size: 14px;
}
body.soma-account .woocommerce-LostPassword a { color: var(--so-accent-deep); }

/* ---------- Nav icons ---------- */

body.soma-account .soma-menu-toggle .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Payment methods: one clear action. Renewal card is changed via "Update subscription card". */
body.soma-account .woocommerce-MyAccount-content a.button[href*="add-payment-method"] {
	display: none !important;
}
body.soma-account .soma-in-use {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--so-ok-soft);
	color: var(--so-ok);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}
body.soma-account .soma-card-hint .button { margin-left: auto; }

/* ---------- Lifetime license card ---------- */
body.soma-account .soma-plan--lifetime {
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(245, 180, 60, .42) 0%, rgba(245, 180, 60, 0) 55%),
		radial-gradient(90% 120% at 0% 100%, rgba(228, 71, 44, .22) 0%, rgba(228, 71, 44, 0) 60%),
		var(--so-ink);
}
body.soma-account .soma-badge--lifetime { background: rgba(251, 191, 36, .16); color: #fcd34d; }
body.soma-account .soma-ring--lifetime {
	background: conic-gradient(#f5b43c 100%, rgba(255, 255, 255, .1) 0);
}
body.soma-account .soma-ring--lifetime .soma-ring__inner strong {
	font-size: 46px;
	color: #fcd34d;
}
body.soma-account .soma-keys {
	list-style: none;
	margin: 18px 0 4px;
	padding: 16px 0 0;
	display: grid;
	gap: 14px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
body.soma-account .soma-key { margin: 0; display: grid; gap: 6px; }
body.soma-account .soma-key__label {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
body.soma-account .soma-key__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
body.soma-account .soma-key__value {
	padding: 9px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	letter-spacing: .06em;
	overflow-wrap: anywhere;
}
body.soma-account .soma-copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .28);
	background: transparent;
	color: #fff;
	font: 600 13px/1.2 var(--so-body);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
body.soma-account .soma-copy:hover,
body.soma-account .soma-copy:focus { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
body.soma-account .soma-copy .soma-ico { width: 15px; height: 15px; }
body.soma-account .soma-copy.is-copied { border-color: #6ee7b7; color: #6ee7b7; }
body.soma-account .soma-key__site { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
body.soma-account .woocommerce-MyAccount-navigation-link--dashboard { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='9' rx='1.8'/%3E%3Crect x='13.5' y='3' width='7.5' height='5' rx='1.8'/%3E%3Crect x='13.5' y='11' width='7.5' height='10' rx='1.8'/%3E%3Crect x='3' y='15' width='7.5' height='6' rx='1.8'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation li[class*="subscription"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15.5 6.3L3 16'/%3E%3Cpath d='M3 12A9 9 0 0 1 18.5 5.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M3 21v-5h5'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--orders { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-2 2-2-2-2 2-2-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--payment-methods { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19'/%3E%3Cpath d='M6.5 15h4'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--downloads { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--edit-address { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--edit-account { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
body.soma-account .woocommerce-MyAccount-navigation-link--customer-logout { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3'/%3E%3Cpath d='M10 17l-5-5 5-5'/%3E%3Cpath d='M5 12h11'/%3E%3C/svg%3E"); }
