/* ============================================================
   TREMENCE ACCOUNT — PROFILE V2 PASS 4.2
   ============================================================ */

.tm-account {
	width: 100%;
	color: #fff;
	font-family: Inter, sans-serif;
}

.tm-account *,
.tm-account *::before,
.tm-account *::after {
	box-sizing: border-box;
}


/* ============================================================
   PAGE HEADER
   ============================================================ */

.tm-account__header {
	margin-bottom: 32px;
}

.tm-account__heading {
	max-width: 760px;
}

.tm-account__kicker,
.tm-account__section-kicker {
	display: block;
	margin-bottom: 10px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.tm-account__title {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.tm-account__intro {
	margin: 12px 0 0;
	max-width: 680px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.74);
}


/* ============================================================
   MAIN LAYOUT
   ============================================================ */

.tm-account__layout {
	display: grid;
	grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

/* Static frost: translucent dark gradients, borders and inset highlights. */
.tm-account .tm-account__sidebar.tremence-glass,
.tm-account .tm-account__content.tremence-glass {
	background: linear-gradient(135deg, rgba(32, 32, 32, 0.84), rgba(12, 12, 12, 0.80));
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.tm-account .tm-account__sidebar.tremence-glass {
	background: linear-gradient(135deg, rgba(28, 28, 28, 0.88), rgba(12, 12, 12, 0.84));
}

.tm-account__sidebar {
	align-self: start;
	padding: 18px;
}

.tm-account__member {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 4px 18px;
}

.tm-account__avatar {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.tm-account__avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tm-account__member-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tm-account__member-name {
	overflow: hidden;
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tm-account__username {
	overflow: hidden;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.65);
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.tm-account__nav {
	display: flex;
	flex-direction: column;
}

.tm-account__nav-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tm-account__nav-item {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		color 160ms ease;
}

.tm-account__nav-item:hover {
	background: rgba(255, 255, 255, 0.075);
	border-color: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.tm-account__nav-item.is-active {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.20);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tm-account__nav-item.is-active::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 11px;
	bottom: 11px;
	width: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
}

.tm-account__nav-label {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.tm-account__nav-divider {
	height: 1px;
	margin: 12px 4px;
	background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   CONTENT PANEL
   ============================================================ */

.tm-account__content {
	min-width: 0;
	min-height: 620px;
	padding: 30px;
}

.tm-account__content-header {
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-account__section-title {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}

.tm-account__section-description {
	margin: 8px 0 0;
	max-width: 650px;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.70);
}


/* ============================================================
   TEMPORARY PLACEHOLDER
   ============================================================ */

.tm-account__placeholder {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.025);
}

.tm-account__placeholder-icon {
	display: flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
}

.tm-account__placeholder h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.tm-account__placeholder p {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

	.tm-account__layout {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.tm-account__sidebar {
		align-self: stretch;
		width: 100%;
		min-width: 0;
	}

	.tm-account__content {
		width: 100%;
		min-width: 0;
		padding: 24px;
	}

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

	.tm-account__header {
		margin-bottom: 22px;
	}

	.tm-account__title {
		font-size: 34px;
	}

	.tm-account__layout {
		display: flex;
		flex-direction: column;
	}

	.tm-account__sidebar {
		align-self: stretch;
		min-width: 0;
		padding: 14px;
	}

	.tm-account__member {
		padding-bottom: 14px;
	}

	.tm-account__nav {
		overflow-x: auto;
		flex-direction: row;
		gap: 6px;
		padding-bottom: 3px;
		scrollbar-width: none;
	}

	.tm-account__nav::-webkit-scrollbar {
		display: none;
	}

	.tm-account__nav-group {
		flex-direction: row;
		flex: 0 0 auto;
		gap: 6px;
	}

	.tm-account__nav-divider {
		flex: 0 0 1px;
		width: 1px;
		height: 34px;
		margin: 5px 3px;
	}

	.tm-account__nav-item {
		flex: 0 0 auto;
		min-height: 44px;
		white-space: nowrap;
	}

	.tm-account__nav-item.is-active::before {
		left: 12px;
		right: 12px;
		top: auto;
		bottom: -1px;
		width: auto;
		height: 2px;
	}

	.tm-account__content {
		min-height: 480px;
		padding: 22px 18px;
	}

	.tm-account__section-title {
		font-size: 25px;
	}

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

	.tm-account__title {
		font-size: 31px;
	}

	.tm-account__intro {
		font-size: 15px;
	}

	.tm-account__content {
		padding: 20px 16px;
	}

	.tm-account__placeholder {
		align-items: flex-start;
	}

}

/* ============================================================
   ACCOUNT SECTION SWITCHING
   ============================================================ */

.tm-account__panel[hidden] {
	display: none !important;
}

.tm-account__panel.is-active {
	display: block;
}

/* ============================================================
   TREMENCE PROFILE
   ============================================================ */

.tm-profile {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-top: 24px;
}


/* HERO */

.tm-profile__hero {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(28, 28, 28, 0.42), rgba(14, 14, 14, 0.40));
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.tm-profile__cover {
	position: relative;
	height: 210px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.tm-profile__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.05),
			rgba(0, 0, 0, 0.38)
		);
}

.tm-profile__cover-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(
			circle at 30% 20%,
			rgba(255, 255, 255, 0.08),
			transparent 40%
		),
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.012)
		);
}

.tm-profile__cover-empty span {
	font-family: "Space Grotesk", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25em;
	color: rgba(255, 255, 255, 0.34);
}


/* IDENTITY */

.tm-profile__identity {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 20px;
	min-height: 100px;
	padding: 0 24px 22px;
	background: linear-gradient(180deg, rgba(20, 20, 20, 0.24), rgba(14, 14, 14, 0.42));
}

.tm-profile__avatar {
	position: relative;
	z-index: 2;
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	margin-top: -56px;
	overflow: hidden;
	border: 4px solid rgba(20, 20, 20, 0.96);
	border-radius: 50%;
	background: #111;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.20), 0 10px 28px rgba(0, 0, 0, 0.38);
}

.tm-profile__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tm-profile__identity-main {
	display: flex;
	flex: 1;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	min-width: 0;
	padding-top: 16px;
}

.tm-profile__identity-copy {
	min-width: 0;
}

.tm-profile__name {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
	overflow-wrap: anywhere;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.20);
}

.tm-profile__username {
	margin-top: 4px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.74);
	overflow-wrap: anywhere;
}

.tm-profile__since {
	margin-top: 7px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.60);
}

.tm-profile__edit-button {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.09);
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.tm-profile__edit-button:hover {
	border-color: rgba(255, 255, 255, 0.30);
	background: rgba(255, 255, 255, 0.15);
}

.tm-profile__edit-button:active {
	transform: translateY(1px);
}


/* PROFILE SECTIONS */

.tm-profile__section {
	padding-top: 2px;
}

.tm-profile__section + .tm-profile__section {
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-profile__section-heading {
	margin-bottom: 16px;
}

.tm-profile__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.60);
}

.tm-profile__section-heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.tm-profile__section-heading p {
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
}


/* DETAILS */

.tm-profile__details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tm-profile__detail {
	min-width: 0;
	padding: 15px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-profile__detail--wide {
	grid-column: 1 / -1;
	min-height: 78px;
}

.tm-profile__detail-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.64);
}

.tm-profile__detail strong {
	display: block;
	overflow-wrap: anywhere;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.94);
}


/* ============================================================
   PROFILE RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {

	.tm-profile__cover {
		height: 180px;
	}

	.tm-profile__identity {
		align-items: flex-start;
		padding-right: 18px;
		padding-left: 18px;
	}

	.tm-profile__identity-main {
		align-items: flex-start;
	}

}


@media (max-width: 600px) {

	.tm-profile {
		gap: 24px;
	}

	.tm-profile__cover {
		height: 150px;
	}

	.tm-profile__identity {
		display: block;
		padding: 0 16px 18px;
	}

	.tm-profile__avatar {
		width: 94px;
		height: 94px;
		margin-top: -47px;
	}

	.tm-profile__identity-main {
		display: block;
		padding-top: 12px;
	}

	.tm-profile__edit-button {
		width: 100%;
		margin-top: 16px;
	}

	.tm-profile__details-grid {
		grid-template-columns: 1fr;
	}

	.tm-profile__detail--wide {
		grid-column: auto;
	}

}

/* ============================================================
   PROFILE EDIT MODE
   ============================================================ */

.tm-profile__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tm-profile__cancel-button,
.tm-profile__save-button {
	min-height: 42px;
	padding: 9px 16px;
	border-radius: 12px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.tm-profile__cancel-button {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: transparent;
	color: rgba(255, 255, 255, 0.65);
}

.tm-profile__cancel-button:hover {
	border-color: rgba(255, 255, 255, 0.17);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}

.tm-profile__save-button {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: #fff;
	color: #111;
}

.tm-profile__save-button:hover {
	background: rgba(255, 255, 255, 0.9);
}

.tm-profile__cancel-button:active,
.tm-profile__save-button:active {
	transform: translateY(1px);
}


/* FORM */

.tm-profile__form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.tm-profile__field {
	min-width: 0;
}

.tm-profile__field--wide {
	grid-column: 1 / -1;
}

.tm-profile__field label {
	display: block;
	margin: 0 0 7px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.tm-profile__field input,
.tm-profile__field textarea {
	display: block;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	outline: none;
	background: rgba(8, 8, 8, 0.62);
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition:
		border-color 160ms ease,
		background 160ms ease,
		box-shadow 160ms ease;
}

.tm-profile__field input {
	min-height: 48px;
	padding: 0 14px;
}

.tm-profile__field textarea {
	min-height: 110px;
	padding: 13px 14px;
	line-height: 1.55;
	resize: vertical;
}

.tm-profile__field input:focus,
.tm-profile__field textarea:focus {
	border-color: rgba(255, 255, 255, 0.46);
	background: rgba(8, 8, 8, 0.76);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.09);
}

.tm-profile__field small {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.60);
}


/* READ-ONLY USERNAME */

.tm-profile__readonly-input {
	display: flex;
	align-items: center;
	min-height: 48px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(8, 8, 8, 0.46);
}

.tm-profile__readonly-input > span {
	padding-left: 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.60);
}

.tm-profile__readonly-input input {
	min-height: 46px;
	padding-left: 2px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	cursor: default;
}

.tm-profile__readonly-input input:focus {
	border: 0;
	background: transparent;
	box-shadow: none;
}


/* ACTION AREA */

.tm-profile__form-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tm-profile__save-note {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.60);
}


/* HIDDEN STATES */

.tm-profile [hidden] {
	display: none !important;
}


@media (max-width: 600px) {

	.tm-profile__form-grid {
		grid-template-columns: 1fr;
	}

	.tm-profile__field--wide {
		grid-column: auto;
	}

	.tm-profile__actions {
		width: 100%;
		margin-top: 16px;
	}

	.tm-profile__actions button {
		flex: 1;
	}

	.tm-profile__form-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tm-profile__save-button {
		width: 100%;
	}

}

/* ============================================================
 * PROFILE VIEW / EDIT STATE
 * ============================================================ */

.tm-profile__view[hidden],
.tm-profile__editor[hidden] {
	display: none !important;
}
/* ============================================================
   SCOPED FOCUS AND MEDIA CONTROLS
   The extra account scope overrides shared tremence-glass rules.
   Media selectors match the existing Pass 3 account.php markup.
   ============================================================ */

.tm-account__nav-item:focus-visible,
.tm-profile__edit-button:focus-visible,
.tm-profile__cancel-button:focus-visible,
.tm-profile__save-button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 3px;
}

.tm-profile__readonly-input:focus-within {
	border-color: rgba(255, 255, 255, 0.32);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.tm-account .tm-profile__cover::after {
	pointer-events: none;
}

/* Higher specificity also wins over the existing page-level media styles. */
.tm-account .tm-profile .tm-profile__avatar {
	overflow: visible;
}

.tm-account .tm-profile .tm-profile__avatar > img {
	border-radius: inherit;
}

.tm-account .tm-profile .tm-profile__media-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 999px;
	background: rgba(14, 14, 14, 0.88);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	cursor: pointer;
	z-index: 3;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tm-account .tm-profile .tm-profile__media-button--cover {
	position: absolute;
	top: 16px;
	right: 16px;
}

.tm-account .tm-profile .tm-profile__media-button--avatar {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 42px;
	height: 42px;
	padding: 0;
}

.tm-account .tm-profile .tm-profile__media-button:hover:not(:disabled) {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(36, 36, 36, 0.86);
}

.tm-account .tm-profile .tm-profile__media-button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.90);
	outline-offset: 3px;
}

.tm-account .tm-profile .tm-profile__media-button:disabled {
	opacity: 0.65;
	cursor: wait;
}

.tm-account .tm-profile .tm-profile__media-status {
	margin: 8px 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
	overflow-wrap: anywhere;
}

.tm-account .tm-profile .tm-profile__media-status:empty {
	display: none;
}

.tm-account .tm-profile .tm-profile__media-status.is-error {
	color: #ffb4b4;
}

.tm-account .tm-profile .tm-profile__media-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 600px) {
	.tm-profile__field input,
	.tm-profile__field textarea {
		font-size: 16px;
	}

	.tm-account .tm-profile .tm-profile__media-button--cover {
		top: 12px;
		right: 12px;
		min-height: 44px;
	}

	.tm-account .tm-profile .tm-profile__media-button--avatar {
		width: 44px;
		height: 44px;
	}
}

/* TREMENCE PRIVACY V1 — static glass */
.tm-privacy { padding-top: 24px; }
.tm-privacy__card {
	min-width: 0; margin: 0 0 20px; padding: 20px;
	border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
	background: linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.tm-privacy__card legend { padding: 0 8px; font: 600 19px "Space Grotesk",sans-serif; color: #fff; }
.tm-privacy__card label { display: block; font-size: 14px; font-weight: 600; }
.tm-privacy__card p { margin: 8px 0 14px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); }
.tm-privacy__card select {
	display: block; width: 100%; max-width: 420px; min-height: 48px; padding: 10px 14px;
	border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
	background: rgba(8,8,8,.76); color: #fff; font: 500 14px Inter,sans-serif; color-scheme: dark;
}
.tm-privacy__card select:focus-visible { outline: 2px solid rgba(255,255,255,.85); outline-offset: 3px; }
.tm-privacy__pending { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.tm-privacy__pending strong { font-size: 14px; }
.tm-privacy__pending span, .tm-privacy__badge { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.6); }
.tm-privacy__actions { display: flex; align-items: center; gap: 14px; }
.tm-privacy__actions p { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); }
.tm-privacy__actions .is-error { color: #ffb4b4; }
.tm-privacy select:disabled, .tm-privacy button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
	.tm-privacy__card { padding: 16px; }
	.tm-privacy__card select { max-width: none; font-size: 16px; }
	.tm-privacy__actions { align-items: stretch; flex-direction: column; }
}

/* ============================================================
   TREMENCE SECURITY V1 — static glass
   ============================================================ */

.tm-security {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 24px;
}


/* SECURITY CARDS */

.tm-security__card {
	min-width: 0;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* HEADINGS */

.tm-security__heading {
	margin-bottom: 20px;
}

.tm-security__heading .tm-profile__eyebrow {
	margin-bottom: 7px;
}

.tm-security__heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.tm-security__heading > p {
	max-width: 680px;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.68);
}

.tm-security__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}


/* PASSWORD FORM */

.tm-security__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.tm-security__field {
	min-width: 0;
}

.tm-security__field:first-child {
	grid-column: 1 / -1;
}

.tm-security__field label {
	display: block;
	margin: 0 0 7px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.tm-security__field input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	outline: none;
	background: rgba(8, 8, 8, 0.62);
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition:
		border-color 160ms ease,
		background 160ms ease,
		box-shadow 160ms ease;
}

.tm-security__field input:hover {
	border-color: rgba(255, 255, 255, 0.24);
}

.tm-security__field input:focus {
	border-color: rgba(255, 255, 255, 0.46);
	background: rgba(8, 8, 8, 0.76);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.09);
}

.tm-security__note {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.58);
}


/* ACTIONS */

.tm-security__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tm-security__actions .tm-profile__save-button,
.tm-security__secondary-button {
	flex: 0 0 auto;
	min-height: 42px;
	padding: 9px 16px;
	border-radius: 12px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease,
		opacity 160ms ease;
}

.tm-security__secondary-button {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.tm-security__secondary-button:hover:not(:disabled) {
	border-color: rgba(255, 255, 255, 0.30);
	background: rgba(255, 255, 255, 0.13);
}

.tm-security__actions button:active:not(:disabled) {
	transform: translateY(1px);
}

.tm-security__actions button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 3px;
}

.tm-security__actions button:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.tm-security__message {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}

.tm-security__message:empty {
	display: none;
}

.tm-security__message.is-success {
	color: #bfe8c7;
}

.tm-security__message.is-error {
	color: #ffb4b4;
}


/* SESSION */

.tm-security__session {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-security__session-info {
	min-width: 0;
}

.tm-security__session-info strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.tm-security__session-info p {
	margin: 4px 0 8px;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.66);
}

.tm-security__current-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.82);
}

.tm-security__session-summary {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 12px;
	padding: 0 2px;
}

.tm-security__session-summary strong {
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.tm-security__session-summary span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.60);
}


/* TWO-FACTOR */

.tm-security__coming-soon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.66);
}

.tm-security__feature {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.045),
			rgba(255, 255, 255, 0.02)
		);
}

.tm-security__feature > div {
	min-width: 0;
}

.tm-security__feature strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
}

.tm-security__feature p {
	max-width: 650px;
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.64);
}

.tm-security__status {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.52);
}


/* ============================================================
   SECURITY RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {

	.tm-security__fields {
		grid-template-columns: 1fr;
	}

	.tm-security__field:first-child {
		grid-column: auto;
	}

}


@media (max-width: 600px) {

	.tm-security {
		gap: 16px;
	}

	.tm-security__card {
		padding: 16px;
	}

	.tm-security__field input {
		font-size: 16px;
	}

	.tm-security__title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.tm-security__feature {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.tm-security__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tm-security__actions button {
		width: 100%;
	}

	.tm-security__message {
		text-align: left;
	}

}

/* ============================================================
   TREMENCE COMMUNICATIONS V1 — static glass
   ============================================================ */

.tm-communications {
	padding-top: 24px;
}

.tm-communications form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.tm-communications__section {
	min-width: 0;
}

.tm-communications__section + .tm-communications__section {
	padding-top: 2px;
}

.tm-communications__section-heading {
	margin-bottom: 14px;
}

.tm-communications__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.60);
}

.tm-communications__section-heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.tm-communications__section-heading p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   CARDS
   ============================================================ */

.tm-communications__card {
	overflow: hidden;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* ============================================================
   ROWS
   ============================================================ */

.tm-communications__preference,
.tm-communications__essential-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
	padding: 16px 18px;
}

.tm-communications__preference {
	cursor: pointer;
	transition:
		background 160ms ease;
}

.tm-communications__preference:hover {
	background: rgba(255, 255, 255, 0.035);
}

.tm-communications__preference + .tm-communications__preference,
.tm-communications__essential-row + .tm-communications__essential-row {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ============================================================
   ROW COPY
   ============================================================ */

.tm-communications__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.tm-communications__copy strong {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.tm-communications__copy p {
	max-width: 680px;
	margin: 4px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.64);
}


/* ============================================================
   ALWAYS ON
   ============================================================ */

.tm-communications__required {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.78);
	white-space: nowrap;
}


/* ============================================================
   CUSTOM SWITCH
   ============================================================ */

.tm-communications__switch {
	position: relative;
	flex: 0 0 auto;
	display: block;
	width: 46px;
	height: 26px;
}

.tm-communications__switch > input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.tm-communications__switch-ui {
	position: absolute;
	inset: 0;
	display: block;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, 0.20);
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.tm-communications__switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
	transition:
		transform 180ms ease,
		background 160ms ease;
}

.tm-communications__switch > input[type="checkbox"]:checked + input[type="hidden"] + .tm-communications__switch-ui {
	border-color: rgba(255, 255, 255, 0.58);
	background: rgba(255, 255, 255, 0.92);
	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tm-communications__switch > input[type="checkbox"]:checked + input[type="hidden"] + .tm-communications__switch-ui::after {
	transform: translateX(20px);
	background: #151515;
}

.tm-communications__switch > input[type="checkbox"]:focus-visible + input[type="hidden"] + .tm-communications__switch-ui {
	outline: 2px solid rgba(255, 255, 255, 0.88);
	outline-offset: 3px;
}

.tm-communications__preference:hover .tm-communications__switch-ui {
	border-color: rgba(255, 255, 255, 0.30);
}


/* ============================================================
   FUTURE CHANNELS
   ============================================================ */

.tm-communications__future {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.045),
			rgba(255, 255, 255, 0.02)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-communications__future > div {
	min-width: 0;
}

.tm-communications__future strong {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
}

.tm-communications__future p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.64);
}

.tm-communications__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.66);
	white-space: nowrap;
}


/* ============================================================
   SAVE AREA
   ============================================================ */

.tm-communications__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-communications__actions .tm-profile__save-button {
	flex: 0 0 auto;
}

.tm-communications__actions [data-communications-message] {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #bfe8c7;
}

.tm-communications__actions [data-communications-message]:empty {
	display: none;
}

.tm-communications__actions [data-communications-message].is-error {
	color: #ffb4b4;
}

.tm-communications[aria-busy="true"],
.tm-communications form[aria-busy="true"] {
	cursor: wait;
}

.tm-communications button:disabled {
	opacity: 0.48;
	cursor: wait;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {

	.tm-communications form {
		gap: 24px;
	}

	.tm-communications__preference,
	.tm-communications__essential-row {
		min-height: 0;
		padding: 16px;
		gap: 16px;
	}

	.tm-communications__copy p {
		font-size: 12px;
	}

	.tm-communications__future {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding: 16px;
	}

	.tm-communications__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tm-communications__actions .tm-profile__save-button {
		width: 100%;
	}

}


@media (max-width: 420px) {

	.tm-communications__essential-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.tm-communications__preference {
		gap: 14px;
	}

	.tm-communications__switch {
		width: 46px;
	}

}

/* ============================================================
   TREMENCE SOCIAL V1 — static glass
   ============================================================ */

.tm-social {
	padding-top: 24px;
}

.tm-social form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.tm-social__section {
	min-width: 0;
}

.tm-social__section-heading {
	margin-bottom: 14px;
}

.tm-social__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.60);
}

.tm-social__section-heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.tm-social__section-heading p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   SOCIAL LINKS CARD
   ============================================================ */

.tm-social__card {
	min-width: 0;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* ============================================================
   SOCIAL LINK GRID
   ============================================================ */

.tm-social__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}

.tm-social__field {
	min-width: 0;
}

.tm-social__field label {
	display: block;
	margin: 0 0 7px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.72);
}

.tm-social__field input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	outline: none;
	background: rgba(8, 8, 8, 0.62);
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition:
		border-color 160ms ease,
		background 160ms ease,
		box-shadow 160ms ease;
}

.tm-social__field input::placeholder {
	color: rgba(255, 255, 255, 0.34);
}

.tm-social__field input:hover {
	border-color: rgba(255, 255, 255, 0.24);
}

.tm-social__field input:focus {
	border-color: rgba(255, 255, 255, 0.46);
	background: rgba(8, 8, 8, 0.76);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.09);
}

.tm-social__field input:disabled {
	opacity: 0.60;
	cursor: wait;
}


/* ============================================================
   COMMUNITY INTERACTIONS
   ============================================================ */

.tm-social__community-card {
	overflow: hidden;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.tm-social__future {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
	padding: 16px 18px;
}

.tm-social__future + .tm-social__future {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-social__future-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.tm-social__future-copy strong {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.tm-social__future-copy p {
	max-width: 680px;
	margin: 4px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.64);
}

.tm-social__coming-soon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.66);
	white-space: nowrap;
}


/* ============================================================
   ACTIONS
   ============================================================ */

.tm-social__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 2px;
}

.tm-social__actions .tm-profile__save-button {
	flex: 0 0 auto;
}

.tm-social__message {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
}

.tm-social__message:empty {
	display: none;
}

.tm-social__message.is-success {
	color: #bfe8c7;
}

.tm-social__message.is-error {
	color: #ffb4b4;
}

.tm-social__actions button:disabled {
	opacity: 0.60;
	cursor: wait;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {

	.tm-social__grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 600px) {

	.tm-social {
		padding-top: 20px;
	}

	.tm-social form {
		gap: 24px;
	}

	.tm-social__card {
		padding: 16px;
	}

	.tm-social__grid {
		gap: 16px;
	}

	.tm-social__field input {
		font-size: 16px;
	}

	.tm-social__future {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		min-height: 0;
		padding: 16px;
	}

	.tm-social__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tm-social__actions .tm-profile__save-button {
		width: 100%;
	}

}

/* ============================================================
   TREMENCE MEMBERSHIP V1 — static glass
   ============================================================ */

.tm-membership {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding-top: 24px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.tm-membership__section {
	min-width: 0;
}

.tm-membership__section + .tm-membership__section {
	padding-top: 2px;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.tm-membership__heading {
	margin-bottom: 14px;
}

.tm-membership__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.60);
}

.tm-membership__heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.tm-membership__heading p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   CURRENT MEMBERSHIP — HERO CARD
   ============================================================ */

.tm-membership__plan {
	position: relative;
	overflow: hidden;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.075),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
}


/* Very subtle highlight — not a blur. */

.tm-membership__plan::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.20),
			transparent
		);
	pointer-events: none;
}


.tm-membership__plan-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 22px;
}

.tm-membership__plan-copy {
	min-width: 0;
}

.tm-membership__label {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.60);
}

.tm-membership__plan-name {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #fff;
}

.tm-membership__price {
	margin-top: 8px;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}


/* ============================================================
   ACTIVE STATUS
   ============================================================ */

.tm-membership__status {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 30px;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.065);
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: rgba(255, 255, 255, 0.84);
}

.tm-membership__status-dot {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9ee5ad;
	box-shadow: 0 0 0 3px rgba(158, 229, 173, 0.09);
}


/* ============================================================
   NEXT PAYMENT / MEMBERSHIP TYPE
   ============================================================ */

.tm-membership__renewal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.10);
}

.tm-membership__renewal span {
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.60);
}

.tm-membership__renewal strong {
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-align: right;
	color: rgba(255, 255, 255, 0.94);
}


/* ============================================================
   HERO ACTIONS
   ============================================================ */

.tm-membership__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 18px 22px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.tm-membership__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border-radius: 12px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.tm-membership__button--primary {
	border: 1px solid rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.94);
	color: #111 !important;
}

.tm-membership__button--primary:hover {
	border-color: #fff;
	background: #fff;
	color: #111 !important;
}

.tm-membership__button--secondary {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.075);
	color: #fff !important;
}

.tm-membership__button--secondary:hover {
	border-color: rgba(255, 255, 255, 0.30);
	background: rgba(255, 255, 255, 0.13);
	color: #fff !important;
}

.tm-membership__button:active {
	transform: translateY(1px);
}

.tm-membership__button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.88);
	outline-offset: 3px;
}


/* ============================================================
   MEMBERSHIP DETAILS
   ============================================================ */

.tm-membership__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tm-membership__detail {
	min-width: 0;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-membership__detail span {
	display: block;
	margin-bottom: 6px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.60);
}

.tm-membership__detail strong {
	display: block;
	overflow-wrap: anywhere;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.94);
}


/* ============================================================
   MEMBERSHIP MANAGEMENT
   ============================================================ */

.tm-membership__management {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.022)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tm-membership__management-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 92px;
	padding: 18px 20px;
}

.tm-membership__management-row + .tm-membership__management-row {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-membership__management-row > div {
	flex: 1 1 auto;
	min-width: 0;
}

.tm-membership__management-row h4 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.96);
}

.tm-membership__management-row p {
	max-width: 650px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.64);
}


/* ============================================================
   CANCELLATION
   ============================================================ */

.tm-membership__management-row--danger {
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.015),
			transparent
		);
}

.tm-membership__button--danger {
	flex: 0 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: transparent;
	color: rgba(255, 255, 255, 0.72) !important;
}

.tm-membership__button--danger:hover {
	border-color: rgba(255, 180, 180, 0.34);
	background: rgba(255, 120, 120, 0.07);
	color: #ffd0d0 !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

	.tm-membership__plan-main {
		padding: 20px;
	}

	.tm-membership__renewal {
		padding-right: 20px;
		padding-left: 20px;
	}

	.tm-membership__actions {
		padding-right: 20px;
		padding-left: 20px;
	}

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

	.tm-membership {
		gap: 26px;
	}

	.tm-membership__plan-main {
		flex-direction: column;
		gap: 16px;
		padding: 18px 16px;
	}

	.tm-membership__plan-name {
		font-size: 25px;
	}

	.tm-membership__status {
		align-self: flex-start;
	}

	.tm-membership__renewal {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
		padding: 14px 16px;
	}

	.tm-membership__renewal strong {
		text-align: left;
	}

	.tm-membership__actions {
		align-items: stretch;
		flex-direction: column;
		padding: 16px;
	}

	.tm-membership__button {
		width: 100%;
		min-height: 44px;
	}

	.tm-membership__details {
		grid-template-columns: 1fr;
	}

	.tm-membership__detail {
		padding: 15px 16px;
	}

	.tm-membership__management-row {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding: 17px 16px;
	}

}

/* ============================================================
   TREMENCE BILLING & PAYMENTS V1 — static glass
   ============================================================ */

.tm-billing {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding-top: 24px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.tm-billing__section {
	min-width: 0;
}

.tm-billing__section + .tm-billing__section {
	padding-top: 2px;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.tm-billing__heading {
	margin-bottom: 14px;
}

.tm-billing__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.60);
}

.tm-billing__heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.tm-billing__heading p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   BILLING OVERVIEW
   ============================================================ */

.tm-billing__overview {
	position: relative;
	overflow: hidden;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.075),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.tm-billing__overview::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.20),
			transparent
		);
	pointer-events: none;
}

.tm-billing__overview-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 22px;
}

.tm-billing__overview-copy {
	min-width: 0;
}

.tm-billing__label {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.60);
}

.tm-billing__amount {
	font-family: "Space Grotesk", sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #fff;
}

.tm-billing__payment-date {
	margin: 8px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   CURRENT PLAN
   ============================================================ */

.tm-billing__plan {
	flex: 0 0 auto;
	min-width: 150px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
}

.tm-billing__plan span {
	display: block;
	margin-bottom: 5px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.55);
}

.tm-billing__plan strong {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
}


/* ============================================================
   BILLING ACTIONS
   ============================================================ */

.tm-billing__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 18px 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.08);
}

.tm-billing__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border-radius: 12px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.tm-billing__button--primary {
	border: 1px solid rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.94);
	color: #111 !important;
}

.tm-billing__button--primary:hover {
	border-color: #fff;
	background: #fff;
	color: #111 !important;
}

.tm-billing__button:active {
	transform: translateY(1px);
}

.tm-billing__button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.88);
	outline-offset: 3px;
}


/* ============================================================
   PAYMENT HISTORY CARD
   ============================================================ */

.tm-billing__history {
	overflow: hidden;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.022)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.tm-billing__table-wrap {
	width: 100%;
	overflow-x: auto;
}


/* ============================================================
   PAYMENT HISTORY TABLE
   ============================================================ */

.tm-billing__table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
	font-family: Inter, sans-serif;
}

.tm-billing__table thead {
	background: rgba(0, 0, 0, 0.14);
}

.tm-billing__table th {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.10em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.55);
}

.tm-billing__table td {
	padding: 15px 16px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.075);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	vertical-align: middle;
	color: rgba(255, 255, 255, 0.82);
}

.tm-billing__table tbody tr:last-child td {
	border-bottom: 0;
}

.tm-billing__table tbody tr {
	transition: background 160ms ease;
}

.tm-billing__table tbody tr:hover {
	background: rgba(255, 255, 255, 0.035);
}


/* ============================================================
   ORDER / RECEIPT LINKS
   ============================================================ */

.tm-billing__order-link,
.tm-billing__receipt a {
	color: #fff !important;
	text-decoration: none !important;
	transition:
		color 160ms ease,
		opacity 160ms ease;
}

.tm-billing__order-link {
	font-weight: 500;
}

.tm-billing__order-link:hover,
.tm-billing__receipt a:hover {
	opacity: 0.72;
}

.tm-billing__order-link:focus-visible,
.tm-billing__receipt a:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 3px;
	border-radius: 3px;
}

.tm-billing__receipt {
	text-align: right;
	white-space: nowrap;
}

.tm-billing__receipt a {
	font-size: 12px;
	font-weight: 600;
}


/* ============================================================
   PAYMENT STATUS
   ============================================================ */

.tm-billing__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.055);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.82);
}

.tm-billing__status--paid {
	border-color: rgba(158, 229, 173, 0.20);
	background: rgba(158, 229, 173, 0.075);
	color: #c8f1d0;
}

.tm-billing__status--pending {
	border-color: rgba(255, 221, 135, 0.20);
	background: rgba(255, 221, 135, 0.075);
	color: #ffe6a6;
}

.tm-billing__status--refunded {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.tm-billing__empty {
	padding: 28px 22px;
}

.tm-billing__empty h4 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.tm-billing__empty p {
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.64);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

	.tm-billing__overview-main {
		padding: 20px;
	}

	.tm-billing__actions {
		padding-right: 20px;
		padding-left: 20px;
	}

	.tm-billing__table th,
	.tm-billing__table td {
		padding-right: 13px;
		padding-left: 13px;
	}

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

	.tm-billing {
		gap: 26px;
	}

	.tm-billing__overview-main {
		flex-direction: column;
		gap: 18px;
		padding: 18px 16px;
	}

	.tm-billing__amount {
		font-size: 25px;
	}

	.tm-billing__plan {
		width: 100%;
		min-width: 0;
	}

	.tm-billing__actions {
		align-items: stretch;
		flex-direction: column;
		padding: 16px;
	}

	.tm-billing__button {
		width: 100%;
		min-height: 44px;
	}

	/*
	 * Turn payment history into stacked transaction cards
	 * instead of forcing a tiny five-column table.
	 */

	.tm-billing__table-wrap {
		overflow: visible;
	}

	.tm-billing__table,
	.tm-billing__table tbody,
	.tm-billing__table tr,
	.tm-billing__table td {
		display: block;
		width: 100%;
	}

	.tm-billing__table thead {
		display: none;
	}

	.tm-billing__table tbody tr {
		padding: 15px 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.tm-billing__table tbody tr:last-child {
		border-bottom: 0;
	}

	.tm-billing__table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		min-height: 34px;
		padding: 5px 0;
		border: 0;
		text-align: right;
	}

	.tm-billing__table td::before {
		content: attr(data-label);
		flex: 0 0 auto;
		font-size: 10px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		text-align: left;
		color: rgba(255, 255, 255, 0.48);
	}

	.tm-billing__receipt {
		justify-content: flex-end !important;
		margin-top: 5px;
		padding-top: 10px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
	}

	.tm-billing__receipt::before {
		display: none;
	}

	.tm-billing__receipt a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 38px;
		padding: 7px 12px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.065);
	}

}

/* ============================================================
   TREMENCE GENERAL ACCOUNT V1 — static glass
   ============================================================ */

.tm-general-account {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-top: 24px;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.tm-general-account__section {
	min-width: 0;
}

.tm-general-account__section + .tm-general-account__section {
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.tm-general-account__heading {
	margin-bottom: 16px;
}

.tm-general-account__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.60);
}

.tm-general-account__heading h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.tm-general-account__heading p {
	max-width: 680px;
	margin: 5px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   ACCOUNT INFORMATION
   ============================================================ */

.tm-general-account__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.tm-general-account__detail {
	min-width: 0;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-general-account__label {
	display: block;
	margin-bottom: 7px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.60);
}

.tm-general-account__detail strong {
	display: block;
	overflow-wrap: anywhere;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.96);
}


/* ============================================================
   ACCOUNT STATUS
   ============================================================ */

.tm-general-account__status-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-general-account__status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.tm-general-account__status-dot {
	display: block;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #78d69a;
	box-shadow: 0 0 0 4px rgba(120, 214, 154, 0.10);
}

.tm-general-account__status-card > p {
	max-width: 520px;
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.64);
	text-align: right;
}


/* ============================================================
   ACTION CARDS
   ============================================================ */

.tm-general-account__action-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.055),
			rgba(255, 255, 255, 0.025)
		);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tm-general-account__action-card > div {
	flex: 1 1 auto;
	min-width: 0;
}

.tm-general-account__action-card strong {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.96);
}

.tm-general-account__action-card p {
	max-width: 650px;
	margin: 4px 0 0;
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.64);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.tm-general-account__button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.09);
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease,
		opacity 160ms ease;
}

.tm-general-account__button:hover {
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.tm-general-account__button:active {
	transform: translateY(1px);
}

.tm-general-account__button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.88);
	outline-offset: 3px;
}


/* ============================================================
   DANGER ZONE
   ============================================================ */

.tm-general-account__section--danger {
	position: relative;
}

.tm-general-account__section--danger .tm-general-account__eyebrow {
	color: rgba(255, 170, 170, 0.82);
}

.tm-general-account__action-card--danger {
	border-color: rgba(255, 105, 105, 0.22);
	background:
		linear-gradient(
			135deg,
			rgba(125, 35, 35, 0.14),
			rgba(255, 255, 255, 0.018)
		);
}

.tm-general-account__button--danger {
	border-color: rgba(255, 110, 110, 0.28);
	background: rgba(120, 35, 35, 0.18);
	color: rgba(255, 205, 205, 0.90);
}

.tm-general-account__button--danger:disabled,
.tm-general-account__button--danger[aria-disabled="true"] {
	opacity: 0.42;
	cursor: not-allowed;
	transform: none;
}

.tm-general-account__danger-note {
	margin: 10px 2px 0;
	font-family: Inter, sans-serif;
	font-size: 11px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.52);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

	.tm-general-account__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tm-general-account__detail:last-child {
		grid-column: 1 / -1;
	}

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

	.tm-general-account {
		gap: 24px;
	}

	.tm-general-account__section + .tm-general-account__section {
		padding-top: 24px;
	}

	.tm-general-account__grid {
		grid-template-columns: 1fr;
	}

	.tm-general-account__detail:last-child {
		grid-column: auto;
	}

	.tm-general-account__status-card,
	.tm-general-account__action-card {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		padding: 16px;
	}

	.tm-general-account__status-card > p {
		max-width: none;
		text-align: left;
	}

	.tm-general-account__button {
		width: 100%;
		min-height: 44px;
	}

}