/*
 * Companion workspace — shell, navigation and owner overview.
 * Loaded on account workspace pages and on the owner's own profile.
 */

/* ------------------------------------------------------------------ */
/* Shell                                                               */
/* ------------------------------------------------------------------ */

.cx-ws.account-workspace {
	padding: 24px 16px 48px;
	background: var(--cx-canvas);
	color: var(--cx-ink);
	font-family: var(--cx-font);
}

.cx-ws .cx-ws__grid.account-workspace__wrap {
	position: relative;
	width: 100%;
	max-width: 1184px;
	margin: 0 auto;
}

.cx-ws__rail {
	display: none;
}

@media (min-width: 1024px) {
	.cx-ws.account-workspace {
		padding: 32px 32px 64px;
	}

	.cx-ws .cx-ws__grid.account-workspace__wrap {
		padding-left: 256px;
	}

	.cx-ws__rail {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		width: 224px;
	}
}

/* Every direct child of the shell keeps a readable measure. */
.cx-ws .cx-ws__grid > :not(.cx-ws__rail):not(.cx-tabbar):not(.cx-sheet) {
	max-width: 840px;
}

/* ------------------------------------------------------------------ */
/* Rail                                                                */
/* ------------------------------------------------------------------ */

.cx-nav {
	margin: 0 0 24px;
}

.cx-nav__label {
	margin: 0 0 6px;
	padding: 0 12px;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.cx-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cx-nav__list li {
	margin: 0 0 2px;
	padding: 0;
	list-style: none;
}

.cx-nav__list li::before {
	content: none !important;
}

.cx-nav__link,
a.cx-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: var(--cx-r-control);
	color: var(--cx-ink-2);
	font-family: var(--cx-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color var(--cx-fast) var(--cx-ease), color var(--cx-fast) var(--cx-ease);
}

.cx-nav__link:hover {
	background: var(--cx-surface);
	color: var(--cx-ink);
	text-decoration: none;
}

.cx-nav__link.is-active,
.cx-nav__link[aria-current='page'] {
	background: var(--cx-raised);
	color: var(--cx-ink);
}

.cx-nav__link .cx-icon {
	color: var(--cx-ink-3);
}

.cx-nav__link.is-active .cx-icon,
.cx-nav__link:hover .cx-icon {
	color: var(--cx-ink);
}

.cx-nav--end {
	padding-top: 16px;
	border-top: 1px solid var(--cx-rule);
}

/* ------------------------------------------------------------------ */
/* Identity header                                                     */
/* ------------------------------------------------------------------ */

.cx-ws .cx-ws__head.account-workspace__hero {
	display: block;
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}

.cx-ws .cx-ws__head.account-workspace__hero::after,
.cx-ws .cx-ws__head.account-workspace__hero::before {
	content: none;
}

.cx-id {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--cx-rule);
}

.cx-id__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	overflow: hidden;
	border: 1px solid var(--cx-rule-strong);
	border-radius: 50%;
	background: var(--cx-raised);
	color: var(--cx-ink);
	font-size: 18px;
	font-weight: 700;
}

.cx-id__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-id__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cx-id__name {
	overflow: hidden;
	color: var(--cx-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-id__meta {
	color: var(--cx-ink-3);
	font-size: 14px;
	font-weight: 500;
}

.cx-id__meta .cx-status {
	font-size: 14px;
}

.cx-id__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.cx-ws__title {
	margin-top: 28px;
}

.cx-ws__title .cx-lede {
	max-width: 60ch;
	margin-top: 8px;
}

.cx-ws .cx-ws__title .account-workspace__title {
	font-family: var(--cx-font);
	font-size: 34px;
	letter-spacing: -.04em;
	line-height: 1.1;
}

.cx-ws .cx-ws__title .account-workspace__description {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.55;
}

@media (min-width: 900px) {
	.cx-ws .cx-ws__title .account-workspace__title {
		font-size: 46px;
	}
}

@media (max-width: 559px) {
	.cx-id {
		flex-wrap: wrap;
	}

	.cx-id__text {
		flex: 1 1 calc(100% - 64px);
	}

	.cx-id__name {
		white-space: normal;
	}

	.cx-id__actions {
		flex: 1 1 100%;
	}

	.cx-id__actions .cx-btn--primary {
		flex: 1 1 auto;
	}

	.cx-id__actions .cx-btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.cx-id__actions .cx-btn:not(.cx-btn--primary) {
		width: 44px;
		padding: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Mobile tab bar and More sheet                                       */
/* ------------------------------------------------------------------ */

.cx-tabbar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	padding: 6px 8px calc(6px + var(--cx-safe-bottom));
	border-top: 1px solid var(--cx-rule-strong);
	background: rgba(14, 14, 14, 0.97);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.cx-tabbar__link,
a.cx-tabbar__link,
button.cx-tabbar__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 56px;
	margin: 0;
	padding: 4px 2px;
	border: 0;
	border-radius: var(--cx-r-control);
	background: transparent;
	box-shadow: none;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.cx-tabbar__link:hover {
	color: var(--cx-ink);
	background: transparent;
	text-decoration: none;
}

.cx-tabbar__link.is-active,
.cx-tabbar__link[aria-current='page'] {
	color: var(--cx-ink);
}

.cx-tabbar__link.is-active .cx-icon {
	stroke-width: 2.1;
}

body.cx-has-tabbar {
	padding-bottom: calc(76px + var(--cx-safe-bottom));
}

@media (min-width: 1024px) {
	.cx-tabbar {
		display: none;
	}

	body.cx-has-tabbar {
		padding-bottom: 0;
	}
}

.cx-sheet {
	position: fixed;
	inset: 0;
	z-index: 10050;
}

.cx-sheet[hidden] {
	display: none;
}

.cx-sheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity var(--cx-sheet) var(--cx-ease);
}

.cx-sheet__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	max-height: 80vh;
	overflow-y: auto;
	padding: 8px 16px calc(16px + var(--cx-safe-bottom));
	border-top: 1px solid var(--cx-rule-strong);
	border-radius: 16px 16px 0 0;
	background: var(--cx-surface);
	transform: translateY(24px);
	opacity: 0;
	transition: transform var(--cx-sheet) var(--cx-ease), opacity var(--cx-sheet) var(--cx-ease);
}

.cx-sheet.is-open .cx-sheet__backdrop {
	opacity: 1;
}

.cx-sheet.is-open .cx-sheet__panel {
	transform: none;
	opacity: 1;
}

.cx-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
}

.cx-sheet__title {
	margin: 0;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 18px;
	font-weight: 700;
}

.cx-sheet .cx-rows {
	border-top: 0;
}

.cx-sheet .cx-rows > li:last-child {
	border-bottom: 0;
}

@media (min-width: 1024px) {
	.cx-sheet {
		display: none !important;
	}
}

/* ------------------------------------------------------------------ */
/* Workspace panels (legacy surfaces inside the new shell)            */
/* ------------------------------------------------------------------ */

.cx-ws .account-workspace__content {
	display: block;
	margin: 0;
}

.cx-ws .account-workspace__content--split {
	display: block;
}

.cx-ws .account-workspace__surface,
.cx-ws .account-workspace__sidecard,
.cx-ws .account-workspace__metric {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.cx-ws .account-workspace__surface-head {
	display: none;
}

.cx-ws .account-workspace__flash {
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid var(--cx-rule);
	border-left: 3px solid var(--cx-ink-3);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 15px;
	font-weight: 600;
}

.cx-ws .account-workspace__flash--success {
	border-left-color: var(--cx-success);
}

.cx-ws .account-workspace__flash--error {
	border-left-color: var(--cx-error);
}

/* A panel is a flat surface; sections inside are separated by rules. */
.cx-panel {
	margin: 0 0 24px;
	padding: 24px;
	border: 1px solid var(--cx-rule);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	font-family: var(--cx-font);
}

.cx-panel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 16px;
}

.cx-panel__head .cx-meta {
	flex: 1 1 100%;
}

@media (max-width: 599px) {
	.cx-panel {
		padding: 20px 16px;
	}
}

/* ------------------------------------------------------------------ */
/* Owner overview on the profile page                                  */
/* ------------------------------------------------------------------ */

.cx-overview {
	display: block;
}

.cx-overview > * + * {
	margin-top: 40px !important;
}

.cx-block {
	scroll-margin-top: 96px;
}

.cx-block__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 16px;
}

.cx-block__head .cx-meta {
	flex: 1 1 100%;
	margin-top: -4px;
}

.cx-block__count {
	color: var(--cx-ink-3);
	font-size: 14px;
	font-weight: 600;
}

.cx-overview .cx-notice + .cx-notice {
	margin-top: 12px;
}

/* Plan facts: label / value rows */
.cx-facts {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--cx-rule);
	font-family: var(--cx-font);
}

.cx-facts__row {
	display: grid;
	/* Percentage label column: every row shares the same value edge, with or without an action button. */
	grid-template-columns: minmax(120px, 33%) minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: center;
	min-height: 56px;
	padding: 12px 0;
	border-bottom: 1px solid var(--cx-rule);
}

.cx-facts__row dt {
	margin: 0;
	color: var(--cx-ink-2);
	font-size: 15px;
	font-weight: 600;
}

.cx-facts__row dd {
	margin: 0;
	color: var(--cx-ink);
	font-size: 15px;
	font-weight: 600;
}

.cx-facts__row dd small {
	display: block;
	margin-top: 2px;
	color: var(--cx-ink-3);
	font-size: 13px;
	font-weight: 500;
}

.cx-facts__action {
	justify-self: end;
	/* Keep rows with a button the same height as plain rows. */
	margin-block: -6px;
}

@media (max-width: 559px) {
	.cx-facts__row {
		grid-template-columns: 1fr auto;
	}

	.cx-facts__row dt {
		grid-column: 1 / -1;
		font-size: 13px;
		color: var(--cx-ink-3);
	}
}

/* Stories */
.cx-stories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.cx-overview .profile-account__story-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .profile-account__story-media {
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: var(--cx-r-control);
	background: var(--cx-raised);
}

.cx-overview .profile-account__story-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-overview .profile-account__story-meta strong {
	display: block;
	color: var(--cx-ink);
	font-size: 14px;
	font-weight: 700;
}

.cx-overview .profile-account__story-meta span {
	color: var(--cx-ink-3);
	font-size: 13px;
}

.cx-overview .profile-account__story-delete {
	align-self: flex-start;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cx-ink-2);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cx-overview .profile-account__story-delete:hover {
	color: var(--cx-error);
}

/* Insights: the existing teaser, flattened */
.cx-overview .cx-insights {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .cx-insights-shell {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .cx-insights-eyebrow {
	display: none;
}

.cx-overview .cx-insights-title {
	margin: 0;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
}

.cx-overview .cx-insights-subtitle,
.cx-overview .cx-insights-note,
.cx-overview .cx-insights-copy {
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 14px;
}

.cx-overview .cx-insights-tier {
	color: var(--cx-ink-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	border: 0;
	background: none;
	padding: 0;
}

.cx-overview .cx-insights-toggle,
.cx-overview .cx-insights-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--cx-control);
	border-radius: var(--cx-r-control);
	background: transparent;
	box-shadow: none;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
}

.cx-overview .cx-insights-metric {
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--cx-rule);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .cx-insights-metric-label {
	color: var(--cx-ink-3);
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
}

.cx-overview .cx-insights-metric-value {
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 24px;
}

/* Wallet: the existing block with ids used by the wallet runtime */
.cx-overview .cx-wallet {
	position: relative;
	margin: 16px 0 0;
	padding: 20px;
	border: 1px solid var(--cx-rule);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	box-shadow: none;
}

.cx-overview .cx-wallet::before,
.cx-overview .cx-wallet::after {
	content: none;
}

.cx-overview .cx-wallet-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

.cx-overview .cx-wallet-eyebrow {
	display: none;
}

.cx-overview .cx-wallet-title {
	margin: 0;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 17px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.cx-overview .cx-wallet-copy {
	margin: 4px 0 0;
	color: var(--cx-ink-3);
	font-size: 14px;
}

.cx-overview .cx-wallet-state {
	color: var(--cx-ink-2);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	border: 0;
	background: none;
	padding: 0;
}

.cx-overview .cx-wallet-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 0 16px;
}

.cx-overview .cx-wallet-card {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .cx-wallet-card .cx-wallet__label {
	color: var(--cx-ink-3);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.cx-overview .cx-wallet-amount {
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 28px;
	font-weight: 700;
}

.cx-overview .cx-wallet-amount .wallet-currency {
	margin-right: 4px;
	color: var(--cx-ink-2);
	font-size: 15px;
}

.cx-overview .cx-wallet-card .cx-wallet__meta span {
	display: block;
	color: var(--cx-ink-3);
	font-size: 13px;
}

.cx-overview .cx-wallet-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cx-overview .cx-wallet-actions button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--cx-control);
	border-radius: var(--cx-r-control);
	background: transparent;
	box-shadow: none;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.cx-overview .cx-wallet-actions button:hover {
	background: var(--cx-raised);
}

.cx-overview .cx-wallet-overlay {
	position: static;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 12px 0 0;
	border-top: 1px solid var(--cx-rule);
	background: none;
	color: var(--cx-ink-2);
	font-size: 14px;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.cx-overview .cx-wallet--coming-soon .profile-account__wallet-content {
	opacity: 0.45;
}

.cx-overview .cx-wallet-overlay-badge {
	color: var(--cx-warning);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	border: 0;
	background: none;
	padding: 0;
}

.cx-overview .cx-wallet-overlay-message {
	margin: 0;
}

/* Media */
.cx-media__grid {
	display: grid;
	gap: 12px;
}

@media (min-width: 640px) {
	.cx-media__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.cx-overview .cx-upload-wrap {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.cx-overview .cx-upload,
.cx-overview .cx-upload.x {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 20px;
	border: 1px dashed var(--cx-control) !important;
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	box-shadow: none;
	color: var(--cx-ink);
	text-align: left;
	cursor: pointer;
	transition: border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-overview .cx-upload:hover {
	border-color: var(--cx-ink-2) !important;
	background: #1B1B1B;
}

.cx-overview .cx-upload__body {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cx-overview .cx-upload__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cx-raised);
	color: var(--cx-ink);
	box-shadow: none;
}

.cx-overview .cx-upload__title {
	margin: 0;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.cx-overview .cx-upload__content p,
.cx-overview .cx-upload__meta p,
.cx-overview .cx-upload__hint {
	margin: 0;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

.cx-overview .cx-upload__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.cx-overview .cx-upload__meta b {
	color: var(--cx-ink);
}

.cx-hero-media {
	margin-top: 16px;
}

.cx-segmented {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--cx-rule-strong);
	border-radius: 10px;
	background: var(--cx-canvas);
}

.cx-segmented__option {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 14px;
	border-radius: 7px;
	color: var(--cx-ink-2);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.cx-segmented__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cx-segmented__option:has(input:checked) {
	background: var(--cx-raised-2);
	color: var(--cx-ink);
}

.cx-segmented__option:has(input:focus-visible) {
	outline: 2px solid var(--cx-gold);
	outline-offset: 2px;
}

.cx-segmented__option:has(input:disabled) {
	opacity: 0.45;
	cursor: not-allowed;
}

.cx-hero-media__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 12px;
}

/* Boundary between the workspace and the visitor projection. */
.cx-preview-boundary {
	margin: 0;
	padding: 20px 16px;
	border-top: 1px solid var(--cx-rule-strong);
	border-bottom: 1px solid var(--cx-rule);
	background: var(--cx-canvas);
	font-family: var(--cx-font);
}

.cx-preview-boundary__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1184px;
	margin: 0 auto;
}

.cx-preview-boundary__text {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--cx-ink-2);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.cx-preview-boundary__text strong {
	display: block;
	color: var(--cx-ink);
	font-size: 16px;
	font-weight: 700;
}

.cx-preview-boundary__text .cx-icon {
	margin-top: 2px;
	color: var(--cx-ink-2);
}

@media (min-width: 1024px) {
	.cx-preview-boundary {
		padding: 24px 32px;
	}

	.cx-preview-boundary__inner {
		padding-left: 256px;
	}
}

/* The owner is not a visitor: no floating contact bar over the tab bar. */
body.cx-owner-view #profile-fab,
body.cx-owner-view .profile-fab,
body.cx-owner-view .profile-stickybar {
	display: none !important;
}

/* The header strip repeats the status shown in the workspace. */
body.cx-workspace-page .escort-profile-status-section,
body.cx-owner-view .escort-profile-status-section {
	display: none !important;
}

/* The workspace owns the full width on account pages. */
body.cx-workspace-page .sidebar-left,
body.cx-workspace-page .sidebar-right {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.cx-sheet__panel,
	.cx-sheet__backdrop,
	.cx-nav__link {
		transition: none !important;
	}

	.cx-sheet__panel {
		transform: none;
	}
}

/* Next-step rows: an empty ring marks what is still missing. */
.cx-row__ring {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1.5px dashed var(--cx-ink-3);
	border-radius: 50%;
}

.cx-overview__activity {
	margin-top: 12px !important;
}

.cx-overview .cx-pub {
	scroll-margin-top: 96px;
}

/* Stories stats as one quiet line. */
.cx-stories__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.cx-stories__stats strong {
	color: var(--cx-ink);
	font-weight: 700;
}

.cx-overview .cx-stories {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.cx-overview .cx-stories::before,
.cx-overview .cx-stories::after {
	content: none;
}

.cx-overview .cx-stories-empty {
	margin: 12px 0 0;
}

/* Solo-content declaration beside the upload tiles. */
.cx-declaration {
	margin: 0 0 16px;
}

.cx-declaration .escortwp-compliance-upload-note {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--cx-rule-strong);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	color: var(--cx-ink-2);
	font-family: var(--cx-font);
	font-size: 14px;
	line-height: 1.5;
}

.cx-declaration .escortwp-compliance-upload-note label {
	position: relative !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 0 0 34px !important;
	cursor: pointer;
}

.cx-declaration .escortwp-compliance-upload-note input[type='checkbox'] {
	position: absolute !important;
	top: 1px !important;
	left: 0 !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	opacity: 1 !important;
	accent-color: #ECECEC;
	-webkit-appearance: auto !important;
	appearance: auto !important;
}

.cx-declaration .escortwp-compliance-upload-note strong {
	display: block !important;
	margin: 0 0 2px !important;
	color: var(--cx-ink) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cx-declaration .escortwp-compliance-upload-note span {
	display: block !important;
	width: auto !important;
	color: var(--cx-ink-2) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	white-space: normal !important;
	word-break: normal !important;
}

.cx-media__gallery-link {
	margin: 16px 0 0;
	font-family: var(--cx-font);
	font-size: 15px;
}

.cx-overview .cx-upload:focus-visible {
	outline: 2px solid var(--cx-gold);
	outline-offset: 2px;
}

/* Payment buttons rendered by the billing helper inside a facts row. */
.cx-facts__action--payment {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.cx-facts__action--payment small {
	color: var(--cx-ink-3);
	font-size: 13px;
}

.cx-facts__action--payment input[type='submit'],
.cx-facts__action--payment button,
.cx-facts__action--payment a {
	min-height: 44px !important;
	padding: 0 14px !important;
	border: 1px solid var(--cx-control) !important;
	border-radius: var(--cx-r-control) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.cx-facts__action form {
	margin: 0;
}

/* Deleting is separated from routine tasks. */
.cx-danger {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--cx-rule);
}

.cx-danger .cx-meta {
	flex: 1 1 240px;
}

/* KYC status pill inside a row. */
.cx-row__end .kyc-status-pill,
.cx-row__end [class*='kyc-pill'] {
	font-size: 13px;
}

/* The delete confirmation rendered by the profile option buttons. */
body.cx-owner-view .profile-page .agency_options_delete.cx-is-open {
	display: block !important;
	max-width: 560px;
	margin: 24px auto;
	padding: 24px;
	border: 1px solid rgba(255, 155, 155, 0.4);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	color: var(--cx-ink-2);
	font-family: var(--cx-font);
	font-size: 15px;
	line-height: 1.6;
}

/* Admin view of another companion: media manager inside the profile body. */
.cx-admin-media {
	margin: 16px 0 24px;
	padding: 24px;
	border: 1px solid var(--cx-rule);
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	font-family: var(--cx-font);
}

/* ------------------------------------------------------------------ */
/* Owner view: guard the workspace against public-profile styles       */
/* (profile.css styles every heading, paragraph and button on the page */
/* with !important, so the workspace restates its own).               */
/* ------------------------------------------------------------------ */

body.cx-owner-view .cx-ws.account-workspace {
	padding-top: 86px;
}

@media (min-width: 1024px) {
	body.cx-owner-view .cx-ws.account-workspace {
		padding-top: 113px;
	}
}

body.cx-owner-view .cx-ws h2,
body.cx-owner-view .cx-ws h3,
body.cx-owner-view .cx-ws h4 {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	text-align: left !important;
	text-shadow: none !important;
}

body.cx-owner-view .cx-ws h3.cx-section-title,
body.cx-owner-view .cx-ws .cx-insights__title {
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

@media (min-width: 900px) {
	body.cx-owner-view .cx-ws h3.cx-section-title,
	body.cx-owner-view .cx-ws .cx-insights__title {
		font-size: 22px !important;
	}
}

body.cx-owner-view .cx-ws h4 {
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

body.cx-owner-view .cx-ws p {
	margin: 0;
	font-family: var(--cx-font) !important;
	text-align: left !important;
}

body.cx-owner-view .cx-ws .cx-notice__title {
	font-size: 16px !important;
	color: var(--cx-ink) !important;
}

body.cx-owner-view .cx-ws .cx-notice__text,
body.cx-owner-view .cx-ws .cx-meta {
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: var(--cx-ink-3) !important;
}

body.cx-owner-view .cx-ws .cx-notice__text {
	color: var(--cx-ink-2) !important;
}

body.cx-owner-view .cx-ws a {
	text-shadow: none;
}

.cx-notice[hidden],
.cx-promo[hidden] {
	display: none !important;
}

/* Upload tiles */
body.cx-owner-view .cx-ws .cx-upload,
.cx-admin-media .cx-upload {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	margin: 0;
	padding: 20px;
	border: 1px dashed var(--cx-control) !important;
	border-radius: var(--cx-r-panel);
	background: var(--cx-surface);
	color: var(--cx-ink);
	text-align: left;
	cursor: pointer;
	transition: border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

body.cx-owner-view .cx-ws .cx-upload:hover,
.cx-admin-media .cx-upload:hover {
	border-color: var(--cx-ink-2) !important;
	background: #1B1B1B;
}

.cx-upload__body {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cx-upload__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	background: var(--cx-raised-2);
	color: var(--cx-ink);
}

body.cx-owner-view .cx-ws .cx-upload__title,
.cx-admin-media .cx-upload__title {
	margin: 0 !important;
	font-size: 16px !important;
}

body.cx-owner-view .cx-ws .cx-upload .for-browsers p,
body.cx-owner-view .cx-ws .cx-upload__meta p,
.cx-upload__hint,
.cx-admin-media .cx-upload p {
	margin: 0 !important;
	color: var(--cx-ink-3) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cx-upload__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin-top: auto;
}

body.cx-owner-view .cx-ws .cx-upload__meta b {
	color: var(--cx-ink);
	font-weight: 700;
	background: none;
}

/* Uploadifive queue items appear inside the tile. */
body.cx-owner-view .cx-ws .cx-upload .uploadifive-queue-item {
	margin: 8px 0 0;
	padding: 8px 10px;
	border: 1px solid var(--cx-rule);
	border-radius: var(--cx-r-control);
	background: var(--cx-raised);
	color: var(--cx-ink-2);
	font-size: 13px;
}

/* Stories items (created both here and by stories-upload.js). */
body.cx-owner-view .cx-ws .profile-account__story-item {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

body.cx-owner-view .cx-ws .profile-account__story-media {
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: var(--cx-r-control) !important;
	background: var(--cx-raised) !important;
}

body.cx-owner-view .cx-ws .cx-stories.is-teaser {
	opacity: 1;
}

/* Wallet
   Flat charcoal panel, one crimson action. Scoped to the id because the
   runtime-injected wallet-* classes carry legacy !important rules in profile.css. */
#wallet-section.cx-wallet {
	position: relative;
	margin: 24px 0 0 !important;
	padding: 20px !important;
	border: 1px solid var(--cx-rule) !important;
	border-radius: 6px !important;
	background: var(--cx-surface) !important;
	box-shadow: none !important;
	font-family: var(--cx-font);
}

#wallet-section.cx-wallet::before,
#wallet-section.cx-wallet::after {
	content: none !important;
}

#wallet-section .cx-wallet-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
}

#wallet-section .cx-wallet-title {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

#wallet-section .wallet-mode-badge {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: 20px;
	margin: 0 !important;
	padding: 0 6px !important;
	border: 1px solid rgba(230, 196, 106, 0.45) !important;
	border-radius: 3px !important;
	background: transparent !important;
	color: var(--cx-gold) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: 0.1em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

#wallet-section .wallet-mode-badge[hidden] {
	display: none !important;
}

#wallet-section .cx-wallet-body {
	display: grid;
	gap: 18px;
}

#wallet-section .cx-wallet-stat {
	min-width: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

#wallet-section .cx-wallet__label {
	margin: 0 0 6px;
	color: var(--cx-ink-3) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}

#wallet-section .cx-wallet-amount,
#wallet-section .cx-wallet-topup-amount {
	display: flex !important;
	align-items: baseline;
	gap: 8px;
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-variant-numeric: tabular-nums;
	line-height: 1 !important;
}

#wallet-section .cx-wallet-amount .wallet-amount {
	color: var(--cx-ink) !important;
	font-size: 36px !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em !important;
	background: none !important;
	-webkit-text-fill-color: currentColor !important;
}

#wallet-section .cx-wallet-amount .wallet-currency,
#wallet-section .cx-wallet-topup-amount .wallet-currency {
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
}

#wallet-section .cx-wallet-topup-amount {
	font-size: 20px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
}

#wallet-section .wallet-amount--loading {
	display: inline-block !important;
	width: 88px;
	height: 30px;
	border-radius: 3px !important;
	background: var(--cx-raised) !important;
	animation: cx-wallet-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes cx-wallet-pulse {
	from { opacity: 0.55; }
	to { opacity: 1; }
}

#wallet-section .cx-wallet__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin-top: 8px;
}

#wallet-section .cx-wallet__meta span,
#wallet-section .wallet-empty-hint {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--cx-ink-3) !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

#wallet-section .wallet-balance-sub {
	color: var(--cx-ink-2) !important;
}

#wallet-section .wallet-balance-line {
	margin-right: 10px !important;
	color: var(--cx-ink-2) !important;
	font-variant-numeric: tabular-nums;
}

#wallet-section .cx-wallet-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

#wallet-section .cx-wallet-actions button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transform: none !important;
	cursor: pointer;
	transition: background-color 150ms var(--cx-ease), border-color 150ms var(--cx-ease);
}

#wallet-section .cx-wallet-actions button:hover:not(:disabled) {
	border-color: var(--cx-ink-3) !important;
	background: rgba(255, 255, 255, 0.04) !important;
}

#wallet-section .cx-wallet-actions .cx-wallet-topup-btn {
	grid-column: 1 / -1;
	border-color: transparent !important;
	background: var(--cx-accent) !important;
	color: var(--cx-on-accent) !important;
}

#wallet-section .cx-wallet-actions .cx-wallet-topup-btn:hover {
	border-color: transparent !important;
	background: var(--cx-accent-hover) !important;
}

#wallet-section .cx-wallet-actions button:focus-visible {
	outline: 2px solid var(--cx-ink) !important;
	outline-offset: 2px;
}

#wallet-section .cx-wallet-refresh-btn.is-loading {
	opacity: 0.6;
}

#wallet-section .wallet-chevron {
	display: inline-block !important;
	margin: 0 !important;
	color: var(--cx-ink-3) !important;
	font-size: 18px !important;
	line-height: 1 !important;
	transition: transform 150ms var(--cx-ease);
}

#wallet-section .wallet-chevron.is-open {
	transform: rotate(90deg);
}

#wallet-section .wallet-promo-note {
	display: flex !important;
	flex-wrap: wrap;
	gap: 2px 8px;
	margin: 16px 0 0 !important;
	padding: 10px 12px !important;
	border: 0 !important;
	border-left: 2px solid var(--cx-success) !important;
	border-radius: 0 !important;
	background: rgba(112, 213, 171, 0.06) !important;
	color: var(--cx-ink-2) !important;
	font-size: 13px !important;
}

#wallet-section .wallet-promo-note[hidden] {
	display: none !important;
}

#wallet-section .wallet-promo-note strong {
	color: var(--cx-success) !important;
}

#wallet-section .cx-wallet-copy {
	margin: 16px 0 0 !important;
	padding-top: 14px;
	border-top: 1px solid var(--cx-rule);
	color: var(--cx-ink-3) !important;
	font-size: 13px !important;
	line-height: 1.5;
}

/* Ledger */
#wallet-section .cx-wallet-history {
	margin-top: 16px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

#wallet-section .cx-wallet-history[hidden] {
	display: none !important;
}

#wallet-section .cx-wallet-history-header {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--cx-rule-strong);
	color: var(--cx-ink-3);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#wallet-section .wallet-txn-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cx-rule) !important;
	border-radius: 0 !important;
	background: none !important;
}

#wallet-section .wallet-txn-left {
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

#wallet-section .wallet-txn-indicator {
	display: grid !important;
	place-items: center;
	flex: 0 0 24px;
	width: 24px !important;
	height: 24px !important;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 4px !important;
	background: none !important;
	color: var(--cx-ink-2) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

#wallet-section .wallet-txn-indicator--credit {
	border-color: rgba(112, 213, 171, 0.4) !important;
	color: var(--cx-success) !important;
}

#wallet-section .wallet-txn-desc {
	overflow: hidden;
	color: var(--cx-ink) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#wallet-section .wallet-txn-right {
	display: grid !important;
	justify-items: end;
	gap: 2px;
	text-align: right;
}

#wallet-section .wallet-txn-amount {
	color: var(--cx-ink) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	font-variant-numeric: tabular-nums;
}

#wallet-section .wallet-txn-amount--credit {
	color: var(--cx-success) !important;
}

#wallet-section .wallet-txn-date {
	color: var(--cx-ink-3) !important;
	font-size: 12px !important;
}

/* Unavailable wallet */
#wallet-section.cx-wallet--unavailable .cx-wallet-content {
	opacity: 0.4;
}

#wallet-section .cx-wallet-overlay {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	position: static !important;
	margin-top: 16px;
	padding: 12px 0 0 !important;
	border-top: 1px solid var(--cx-rule);
	background: none !important;
}

#wallet-section .cx-wallet-overlay-badge {
	padding: 2px 6px;
	border: 1px solid rgba(230, 196, 106, 0.45);
	border-radius: 3px;
	color: var(--cx-warning);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

#wallet-section .cx-wallet-overlay-message {
	margin: 0;
	color: var(--cx-ink-2);
	font-size: 13px;
}

@media (min-width: 900px) {
	#wallet-section.cx-wallet {
		padding: 24px !important;
	}

	/* Balance | last top-up (when there is one) | actions on one line. */
	#wallet-section .cx-wallet-body {
		display: flex;
		align-items: flex-end;
		gap: 32px;
	}

	#wallet-section .cx-wallet-stat--balance {
		flex: 1 1 auto;
	}

	#wallet-section .cx-wallet-stat--topup {
		flex: 0 0 auto;
		white-space: nowrap;
		padding-left: 32px !important;
		border-left: 1px solid var(--cx-rule) !important;
	}

	#wallet-section .cx-wallet-actions {
		display: flex;
		flex: 0 0 auto;
		justify-content: flex-end;
	}

	#wallet-section .cx-wallet-actions .cx-wallet-topup-btn {
		order: 3;
		min-width: 132px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#wallet-section .wallet-amount--loading {
		animation: none;
	}
}

/* Insights */
body.cx-owner-view .cx-ws .cx-insights-head {
	margin-bottom: 8px;
}

body.cx-owner-view .cx-ws .cx-insights-title {
	font-size: 20px !important;
}

body.cx-owner-view .cx-ws .cx-insights-tier {
	display: inline;
	margin-left: 4px;
	color: var(--cx-ink-2);
	font-weight: 600;
}

body.cx-owner-view .cx-ws .cx-insights-toggle,
body.cx-owner-view .cx-ws .cx-insights-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--cx-control);
	border-radius: var(--cx-r-control);
	background: transparent;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

body.cx-owner-view .cx-ws .cx-insights-toggle[aria-expanded='true'] .cx-icon {
	transform: rotate(180deg);
}

body.cx-owner-view .cx-ws .cx-insights-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 16px 0;
	border-top: 1px solid var(--cx-rule);
}

@media (max-width: 559px) {
	body.cx-owner-view .cx-ws .cx-insights-metrics {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

body.cx-owner-view .cx-ws .cx-insights-metric {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cx-rule);
}

body.cx-owner-view .cx-ws .cx-insights-metric-label,
body.cx-owner-view .cx-ws .cx-insights-metric-meta {
	color: var(--cx-ink-3);
	font-size: 13px;
}

body.cx-owner-view .cx-ws .cx-insights-metric-value {
	color: var(--cx-ink);
	font-size: 24px;
	font-weight: 700;
}

body.cx-owner-view .cx-ws .cx-insights-streak {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--cx-ink-2);
	font-size: 14px;
}

body.cx-owner-view .cx-ws .cx-insights-streak-icon {
	display: none;
}

body.cx-owner-view .cx-ws .cx-insights-headline {
	margin-top: 12px !important;
	color: var(--cx-ink) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
}

body.cx-owner-view .cx-ws .cx-insights-copy,
body.cx-owner-view .cx-ws .cx-insights-note {
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
}

body.cx-owner-view .cx-ws .cx-insights-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

/* Promo ribbon filled by the wallet runtime */
.cx-promo__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cx-promo__badge {
	color: var(--cx-success);
	font-size: 13px;
	font-weight: 700;
}

.cx-promo__countdown {
	grid-column: 2;
	color: var(--cx-ink-3);
	font-size: 13px;
}

/* The rail stays in view while the long overview scrolls. */
@media (min-width: 1024px) {
	.cx-ws__rail-inner {
		position: sticky;
		top: 104px;
	}
}

/* Owner view: secondary buttons must not inherit the profile's burgundy button skin. */
body.cx-owner-view .cx-ws .cx-btn:not(.cx-btn--primary),
body.cx-owner-view .cx-preview-boundary .cx-btn:not(.cx-btn--primary) {
	border: 1px solid var(--cx-control) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body.cx-owner-view .cx-ws .cx-btn:not(.cx-btn--primary):hover,
body.cx-owner-view .cx-preview-boundary .cx-btn:not(.cx-btn--primary):hover {
	border-color: var(--cx-control-hover) !important;
	background: var(--cx-raised) !important;
}

body.cx-owner-view .cx-ws .cx-btn--primary {
	border: 1px solid var(--cx-accent) !important;
	background: var(--cx-accent) !important;
	box-shadow: none !important;
	color: var(--cx-on-accent) !important;
	font-family: var(--cx-font) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body.cx-owner-view .cx-ws .cx-btn--primary:hover {
	border-color: var(--cx-accent-hover) !important;
	background: var(--cx-accent-hover) !important;
}

body.cx-owner-view .cx-ws .cx-btn--danger:hover {
	border-color: var(--cx-error) !important;
	color: var(--cx-error) !important;
}

/* Segmented control: the radio itself stays invisible. */
.cx-segmented__option input[type='radio'] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	pointer-events: none;
}

.cx-ws__head.account-workspace__hero {
	margin-bottom: 24px !important;
}

.cx-ws .cx-narrow {
	max-width: 560px;
}

.cx-form__after {
	margin-top: 16px !important;
}

/* ------------------------------------------------------------------ */
/* Legacy manager panels on workspace pages (tours, blacklist, agency) */
/* ------------------------------------------------------------------ */

.cx-ws .account-workspace__stack {
	display: block;
}

.cx-ws .account-manager-layout {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin: 0;
}

.cx-ws .account-manager-panel {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.cx-ws .account-manager-panel__head,
.cx-ws .account-workspace__surface-head {
	display: block;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.cx-ws .account-manager-panel__title,
.cx-ws .account-workspace__surface-title {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
}

.cx-ws .account-manager-panel__copy,
.cx-ws .account-workspace__surface-copy {
	margin: 4px 0 0 !important;
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.cx-ws .account-form-section {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.cx-ws .account-form-section + .account-form-section {
	padding-top: 24px;
	border-top: 1px solid var(--cx-rule);
}

.cx-ws .account-form-section__eyebrow {
	display: none;
}

.cx-ws .account-form-section__title {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}

.cx-ws .account-form-section__copy {
	margin: 4px 0 0 !important;
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.cx-ws .account-empty-state {
	padding: 20px 0;
	border-top: 1px solid var(--cx-rule);
	border-bottom: 1px solid var(--cx-rule);
	background: none;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 15px;
	text-align: left;
	border-radius: 0;
}

/* Tour and client records as rows. */
.cx-ws .tour-card,
.cx-ws .blacklist-card {
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--cx-rule);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.cx-ws .tour-list,
.cx-ws .blacklist-list {
	display: block;
	border-top: 1px solid var(--cx-rule);
}

.cx-ws .tour-card__button,
.cx-ws .blacklist-card__button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--cx-control);
	border-radius: var(--cx-r-control);
	background: transparent;
	box-shadow: none;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.cx-ws .blacklist-card__button--danger:hover {
	border-color: var(--cx-error);
	color: var(--cx-error);
}

.cx-ws .tour-card__status {
	color: var(--cx-ink-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	background: none;
	border: 0;
	padding: 0;
}

/* Submit inputs inside workspace forms use the primary button. */
.cx-ws .cx-form input[type='submit'] {
	min-height: 48px !important;
	padding: 0 24px !important;
	border: 1px solid var(--cx-accent) !important;
	border-radius: var(--cx-r-control) !important;
	background: var(--cx-accent) !important;
	box-shadow: none !important;
	color: var(--cx-on-accent) !important;
	font-family: var(--cx-font) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

.cx-ws .cx-form input[type='submit']:hover {
	background: var(--cx-accent-hover) !important;
}

.cx-ws .cx-form .text-center {
	margin-top: 24px;
	text-align: left !important;
}

/* Side columns on older account pages repeated the identity header. */
.cx-ws .account-workspace__sidecard,
.cx-ws .account-workspace__list {
	display: none;
}

.cx-ws .addnewescortform {
	display: block !important;
}

.cx-disclosure--panel {
	margin: 0;
}

.cx-disclosure--panel > .cx-disclosure__summary {
	min-height: 60px;
	font-size: 18px;
}

.cx-disclosure--panel > .cx-disclosure__body > .cx-meta {
	margin-bottom: 24px;
}

.cx-ws .agency-manager__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 0 16px;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 13px;
}

.cx-ws .agency-manager__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Legacy checkator skin on the parent's declaration checkbox: show the real control. */
.cx-declaration .checkator_holder {
	position: absolute !important;
	top: 1px !important;
	left: 0 !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
}

.cx-declaration .checkator_element {
	display: none !important;
}

.cx-declaration .checkator_source {
	width: 20px !important;
	height: 20px !important;
	opacity: 1 !important;
	accent-color: #ECECEC;
	-webkit-appearance: auto !important;
	appearance: auto !important;
}

/* Identity actions only take their own row when there is a primary action. */
@media (max-width: 559px) {
	.cx-id:not(:has(.cx-btn--primary)) {
		flex-wrap: nowrap;
	}

	.cx-id:not(:has(.cx-btn--primary)) .cx-id__actions {
		flex: 0 0 auto;
	}
}

/* Agency logo uploader */
.cx-ws .agency-logo-workspace,
.cx-ws .agency-logo-workspace__uploader {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	text-align: left;
}

.cx-ws .agency-logo-workspace__button {
	margin: 0 0 12px;
	text-align: left;
}

.cx-ws .agency-logo-workspace__gallery {
	margin-top: 32px;
}

.cx-ws .uploadifive-button.cx-btn {
	width: auto !important;
	height: 48px !important;
	line-height: 46px !important;
	padding: 0 20px !important;
	border: 1px solid var(--cx-control) !important;
	border-radius: var(--cx-r-control) !important;
	background: transparent !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: none !important;
}

.cx-ws .agency-logo-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--cx-rule);
	border-bottom: 1px solid var(--cx-rule);
}

.cx-ws .agency-logo-card__media img {
	width: 96px;
	height: 96px;
	object-fit: contain;
	border-radius: var(--cx-r-control);
	background: var(--cx-raised);
}

.cx-sheet .cx-row[aria-current] {
	color: var(--cx-ink);
	background: var(--cx-raised);
	border-radius: var(--cx-r-control);
}

.cx-sheet .cx-row[aria-current] > .cx-icon:first-child {
	color: var(--cx-ink);
}

/* A quiet brand rail, strong identity and a distinct working surface. */
.cx-ws__rail-inner { border-right: 1px solid var(--cx-rule); padding-right: 20px; }
.cx-nav__link.is-active { background: #340E15; color: #FFF0F0; box-shadow: inset 2px 0 #D71936; border-radius: 0 6px 6px 0; }
.cx-id__avatar { width: 64px; height: 76px; flex-basis: 64px; border-radius: 5px; }
.cx-id__name { font-size: 18px; letter-spacing: -.02em; }
.cx-id__avatar img { object-position: center 25%; }
.cx-id__actions .activate-account-btn { background: transparent; color: var(--cx-ink); border: 1px solid var(--cx-control); }
.cx-tabbar__link.is-active { color: #FF7682; }
.cx-tabbar__link.is-active::before { background: #D71936; }
.cx-overview > .cx-pub { border-radius: 4px; background: #181818; }
.cx-overview .cx-block { padding-top: 8px; }
.cx-overview .cx-section-title { font-size: 26px; letter-spacing: -.035em; }
.cx-overview .cx-block__count { font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
 .cx-id__avatar { width: 80px; height: 96px; flex-basis: 80px; }
 .cx-id__name { font-size: 24px; }
 .cx-ws__title { margin-top: 36px; }
 .cx-ws .cx-ws__title .account-workspace__description { max-width: 50ch; }
}
@media (max-width: 559px) {
 .cx-id__text { flex: 1 1 calc(100% - 84px); }
 .cx-id__actions:empty { display: none; }
 .cx-id__actions { justify-content: flex-end; }
 .cx-id__actions .cx-btn--primary { flex: 0 1 auto; min-height: 44px; }
 .cx-ws__title { margin-top: 22px; }
 .cx-ws .cx-ws__title .account-workspace__description { font-size: 14px; }
 .cx-ws .cx-ws__head.account-workspace__hero { margin-bottom: 20px; }
}

/* The account identity is a compact masthead; editing has its own working surface. */
.cx-ws .cx-id { padding: 18px; background: #181818; border: 1px solid #333; border-radius: 6px; }
.cx-ws .cx-ws__title .account-workspace__title { font-family: var(--cx-display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.cx-ws .cx-id__actions .activate-account-btn:hover { border-color: #D71936; background: #330E15; }
.cx-ws .cx-form .cx-tab[aria-selected='true'] { background: #B80F29 !important; color: #FFF !important; border-color: #B80F29 !important; box-shadow: none !important; }
.cx-ws .cx-form .wizard-step { padding: 24px; background: #181818; border: 1px solid #333; border-radius: 6px; }
.cx-ws .cx-form .wizard-step__header { margin-bottom: 24px !important; padding-bottom: 20px !important; border-bottom: 1px solid #383838; }
.cx-ws .cx-form .wizard-step__title { font-size: 24px !important; }
.cx-overview .cx-upload { border-radius: 6px; background: #181818; border: 1px dashed #666; }
.cx-overview .cx-upload__icon { background: #330E15; color: #FF7682; border-radius: 8px; }
.cx-overview .cx-block__head { padding-bottom: 16px; border-bottom: 1px solid #383838; }
@media (min-width: 1024px) {
 .cx-ws .cx-ws__title .account-workspace__title { font-size: 34px; }
 .cx-ws .cx-id { padding: 20px 24px; }
 .cx-ws .cx-form .wizard-step { padding: 32px; }
}
@media (max-width: 559px) {
 .cx-ws .cx-id { padding: 14px; gap: 12px; }
 .cx-ws .cx-id__avatar { width: 52px; height: 64px; flex-basis: 52px; }
 .cx-ws .cx-id__text { flex-basis: calc(100% - 70px); }
 .cx-ws .cx-form .wizard-step { padding: 20px 16px; }
 .cx-ws .cx-form .wizard-step__header { padding-bottom: 16px !important; }
}
.cx-ws .cx-form .cx-tab { border-radius: 6px !important; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px !important; }
.cx-ws .cx-form .cx-tab[aria-selected='true']::after { content: none !important; }
.cx-ws .cx-form .wizard-step__header { margin-bottom: 16px !important; }


/* ==================================================================
   Account pages: flat fields, panel forms, blacklist, password checks.
   Radii 6px / 3px; crimson only for the primary action.
   ================================================================== */

/* Fields: replaces the legacy navy-gradient, 14px-radius inputs from
   account-workspace.css across every workspace form. */
.account-workspace.cx-ws .form-input input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.account-workspace.cx-ws .form-input textarea {
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background: #121212 !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font);
	font-size: 15px;
	transition: border-color var(--cx-fast) var(--cx-ease), box-shadow var(--cx-fast) var(--cx-ease);
}

.account-workspace.cx-ws .form-input select {
	min-height: 48px;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background-color: #121212 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-position: right 14px center !important;
	background-size: 18px 18px !important;
	background-repeat: no-repeat !important;
	box-shadow: none !important;
}

.account-workspace.cx-ws .select2-container--default .select2-selection--single,
.account-workspace.cx-ws .select2-container--default .select2-selection--multiple {
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background: #121212 !important;
	box-shadow: none !important;
}

.account-workspace.cx-ws .form-input input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):hover,
.account-workspace.cx-ws .form-input textarea:hover {
	border-color: rgba(255, 255, 255, 0.24) !important;
}

.account-workspace.cx-ws .form-input input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]):focus,
.account-workspace.cx-ws .form-input textarea:focus,
.account-workspace.cx-ws .form-input select:focus {
	border-color: var(--cx-ink-2) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08) !important;
	outline: none;
}

.account-workspace.cx-ws .form-input input[aria-invalid="true"] {
	border-color: var(--cx-error) !important;
}

/* A form sits on one working surface instead of floating on the canvas. */
.cx-ws .cx-panel-form,
.cx-ws .cx-bl__panel {
	padding: 24px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: var(--cx-surface);
}

.cx-ws .cx-panel-form .form-label:first-of-type {
	margin-top: 0;
}

.cx-ws .cx-panel-form .cx-submit {
	margin-top: 8px;
}

.cx-ws .cx-panel-form .cx-form__after {
	margin: 16px 0 0 !important;
	padding-top: 14px;
	border-top: 1px solid var(--cx-rule);
	color: var(--cx-ink-3) !important;
	font-size: 13px !important;
}

/* Password: live requirement checks */
.cx-ws .cx-pw-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 4px 0 20px !important;
	padding: 0 !important;
	list-style: none !important;
}

.cx-ws .cx-pw-checks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	color: var(--cx-ink-3);
	font-size: 13px;
	font-weight: 600;
	transition: color var(--cx-fast) var(--cx-ease);
}

.cx-ws .cx-pw-checks__mark {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--cx-rule-strong);
	border-radius: 50%;
	transition: background-color var(--cx-fast) var(--cx-ease), border-color var(--cx-fast) var(--cx-ease);
}

.cx-ws .cx-pw-checks li.is-met {
	color: var(--cx-ink);
}

.cx-ws .cx-pw-checks li.is-met .cx-pw-checks__mark {
	border-color: var(--cx-success);
	background: var(--cx-success);
	animation: cx-pw-pop 220ms var(--cx-ease);
}

.cx-ws .cx-pw-checks li.is-met .cx-pw-checks__mark::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 4.5px;
	width: 4px;
	height: 7px;
	border: solid #0E0E0E;
	border-width: 0 1.8px 1.8px 0;
	transform: rotate(45deg);
}

.cx-ws .cx-pw-checks li:not(.is-met):not(.is-pending) {
	color: var(--cx-error);
}

.cx-ws .cx-pw-checks li:not(.is-met):not(.is-pending) .cx-pw-checks__mark {
	border-color: rgba(255, 155, 155, 0.6);
}

@keyframes cx-pw-pop {
	0% { transform: scale(0.6); }
	70% { transform: scale(1.12); }
	100% { transform: scale(1); }
}

/* Blacklist */
.cx-ws .cx-bl {
	display: grid;
	gap: 28px;
}

.cx-ws .blacklist-composer__modes {
	display: inline-flex;
	gap: 3px;
	max-width: 100%;
	margin: 0 0 10px;
	padding: 3px;
	border: 1px solid var(--cx-rule-strong);
	border-radius: 6px;
	background: transparent;
}

.cx-ws .blacklist-composer__mode {
	min-height: 40px;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink-2) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--cx-fast) var(--cx-ease), color var(--cx-fast) var(--cx-ease);
}

.cx-ws .blacklist-composer__mode:hover {
	color: var(--cx-ink) !important;
}

.cx-ws .blacklist-composer__mode.is-active {
	background: var(--cx-ink) !important;
	color: #111 !important;
}

.cx-ws .blacklist-composer__mode:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

.cx-ws .blacklist-composer__hint,
.cx-ws .blacklist-composer__editing {
	margin: 0 0 20px !important;
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
}

.cx-ws .blacklist-composer__editing {
	color: var(--cx-ink) !important;
	font-weight: 800;
}

.cx-ws .blacklist-fields {
	display: grid;
	gap: 4px 16px;
}

.cx-ws .blacklist-field .form-label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.cx-ws .blacklist-field .form-label small {
	color: var(--cx-ink-3);
	font-size: 12px;
}

.cx-ws [data-mode="search"] [data-blacklist-only="add"],
.cx-ws [data-mode="add"] [data-blacklist-only="search"],
.cx-ws [data-mode="edit"] [data-blacklist-only="search"] {
	display: none !important;
}

.cx-ws .blacklist-submit {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.cx-ws .blacklist-submit input[type="submit"] {
	min-height: 46px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: var(--cx-accent) !important;
	box-shadow: none !important;
	color: var(--cx-on-accent) !important;
	font-family: var(--cx-font) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

.cx-ws .blacklist-submit input[type="submit"]:hover {
	background: var(--cx-accent-hover) !important;
}

.cx-ws .cx-bl__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px !important;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--cx-rule-strong);
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
}

.cx-ws .cx-bl__count {
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.09);
	color: var(--cx-ink-2);
	font-size: 12px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.cx-ws .cx-bl__empty {
	margin: 0 !important;
	padding: 18px 0;
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
}

.cx-ws .cx-bl .blacklist-list {
	display: grid;
	gap: 0;
}

.cx-ws .cx-bl .blacklist-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 8px 16px;
	margin: 0 !important;
	padding: 16px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cx-rule) !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.cx-ws .cx-bl .blacklist-card__main {
	min-width: 0;
}

.cx-ws .cx-bl .blacklist-card__title {
	margin: 0 !important;
	overflow: hidden;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-ws .cx-bl .blacklist-card__phone {
	margin: 2px 0 0 !important;
	color: var(--cx-ink-2) !important;
	font-size: 14px !important;
	font-variant-numeric: tabular-nums;
}

.cx-ws .cx-bl .blacklist-card__note {
	margin: 8px 0 0 !important;
	padding-left: 10px;
	border-left: 2px solid var(--cx-rule-strong);
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
	line-height: 1.5;
}

.cx-ws .cx-bl .blacklist-card__tag {
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba(230, 196, 106, 0.14);
	color: var(--cx-gold);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cx-ws .cx-bl .blacklist-card__actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 8px;
	margin: 0 !important;
}

.cx-ws .blacklist-card__button {
	min-height: 36px;
	padding: 0 12px !important;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	cursor: pointer;
}

.cx-ws .blacklist-card__button:hover {
	border-color: var(--cx-ink-3) !important;
}

.cx-ws .blacklist-card__button--danger {
	color: var(--cx-error) !important;
}

.cx-ws .blacklist-card__button--danger:hover {
	border-color: rgba(255, 155, 155, 0.5) !important;
}

.cx-ws .blacklist-cancel {
	margin-top: 12px;
}

@media (min-width: 900px) {
	.cx-ws .blacklist-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cx-ws .blacklist-field--wide {
		grid-column: 1 / -1;
	}

	.cx-ws .cx-bl .blacklist-card {
		grid-template-columns: minmax(0, 1fr) auto auto;
		align-items: center;
	}

	.cx-ws .cx-bl .blacklist-card__actions {
		grid-column: auto;
	}
}

@media (max-width: 559px) {
	.cx-ws .cx-panel-form,
	.cx-ws .cx-bl__panel {
		padding: 18px 16px;
	}

	.cx-ws .blacklist-composer__modes {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
	}

	.cx-ws .blacklist-composer__mode {
		padding: 0 8px !important;
		font-size: 13px !important;
	}

	.cx-ws .blacklist-submit input[type="submit"] {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-ws .cx-pw-checks li.is-met .cx-pw-checks__mark {
		animation: none;
	}
}

/* ==================================================================
   Stories: strip preview + call to action
   ================================================================== */
.cx-overview .cx-story-intro {
	display: grid;
	gap: 20px;
	margin: 4px 0 16px;
	padding: 20px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: var(--cx-surface);
}

.cx-overview .cx-story-rail {
	display: flex;
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto;
	scrollbar-width: none;
}

.cx-overview .cx-story-rail::-webkit-scrollbar {
	display: none;
}

.cx-overview .cx-story-rail__item {
	display: grid;
	justify-items: center;
	gap: 6px;
	flex: 0 0 72px;
	margin: 0 !important;
	list-style: none !important;
}

.cx-overview .cx-story-rail__ring {
	position: relative;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	padding: 3px;
	border: 2px solid #D71936;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: transform var(--cx-fast) var(--cx-ease);
}

.cx-overview button.cx-story-rail__ring {
	appearance: none;
	margin: 0;
	box-shadow: none;
}

.cx-overview a.cx-story-rail__ring:hover,
.cx-overview button.cx-story-rail__ring:hover {
	transform: scale(1.04);
}

.cx-overview .cx-story-rail__ring:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 3px;
}

.cx-overview .cx-story-rail__photo {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50%;
	background: #262626;
}

.cx-overview .cx-story-rail__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Your slot: not live yet, so a quiet ring with a "+" (or lock). */
.cx-overview .cx-story-rail__ring--add {
	border: 2px dashed var(--cx-rule-strong);
}

.cx-overview .cx-story-rail__ring--add .cx-story-rail__photo img {
	opacity: 0.85;
}

.cx-overview .cx-story-rail__ring--add.is-disabled {
	cursor: default;
	opacity: 0.6;
}

.cx-overview .cx-story-rail__plus {
	position: absolute;
	right: -2px;
	bottom: -2px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 2px solid var(--cx-surface);
	border-radius: 50%;
	background: var(--cx-accent);
	color: #FFF;
}

.cx-overview .cx-story-rail__plus svg {
	width: 12px;
	height: 12px;
}

.cx-overview .cx-story-rail__name {
	max-width: 72px;
	overflow: hidden;
	color: var(--cx-ink-2);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-overview .cx-story-rail__item--self .cx-story-rail__name {
	color: var(--cx-ink);
	font-weight: 700;
}

/* Placeholder rings when nobody has a live story yet. */
.cx-overview .cx-story-rail__item--ghost .cx-story-rail__ring {
	border: 2px solid rgba(255, 255, 255, 0.08);
	cursor: default;
}

.cx-overview .cx-story-rail__item--ghost .cx-story-rail__photo {
	background: #1F1F1F;
}

.cx-overview .cx-story-rail__item--ghost .cx-story-rail__name {
	width: 44px;
	height: 8px;
	border-radius: 3px;
	background: #1F1F1F;
}

.cx-overview .cx-story-cta {
	display: grid;
	justify-items: start;
	gap: 6px;
	padding-top: 18px;
	border-top: 1px solid var(--cx-rule);
}

.cx-overview .cx-story-cta__title {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
}

.cx-overview .cx-story-cta__copy {
	max-width: 52ch;
	margin: 0 0 8px !important;
	color: var(--cx-ink-3) !important;
	font-size: 14px !important;
	line-height: 1.5;
}

.cx-overview .cx-story-cta .cx-btn {
	border-radius: 6px !important;
}

@media (min-width: 900px) {
	.cx-overview .cx-story-intro {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 32px;
		padding: 24px;
	}

	.cx-overview .cx-story-cta {
		padding: 0 0 0 32px;
		border-top: 0;
		border-left: 1px solid var(--cx-rule);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-overview .cx-story-rail__ring {
		transition: none;
	}
}

/* ==================================================================
   Wallet, personal: her photo and name, one line about what the
   balance means, and what it buys of her own plan.
   ================================================================== */
#wallet-section .cx-wallet-head {
	gap: 12px;
	margin-bottom: 22px;
}

#wallet-section .cx-wallet-avatar {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 6px;
	background: #262626;
	color: var(--cx-ink);
	font-size: 16px;
	font-weight: 800;
}

#wallet-section .cx-wallet-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#wallet-section .cx-wallet-who {
	display: grid;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

#wallet-section .cx-wallet-headline {
	color: var(--cx-ink-2);
	font-size: 14px;
	line-height: 1.4;
}

#wallet-section .cx-wallet-goal {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--cx-rule);
}

#wallet-section .cx-wallet-goal[hidden] {
	display: none !important;
}

#wallet-section .cx-wallet-goal__picker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 18px;
	color: var(--cx-ink-2);
	font-size: 14px;
}

#wallet-section .cx-wallet-goal__picker select {
	min-height: 44px;
	min-width: 150px;
	max-width: 100%;
	padding: 10px 36px 10px 12px;
	border: 1px solid var(--cx-control);
	border-radius: 6px;
	background-color: var(--cx-surface);
	color: var(--cx-ink);
	font: inherit;
	color-scheme: dark;
}

#wallet-section .cx-wallet-goal__picker select:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 3px;
}

#wallet-section .cx-wallet-goal__label {
	margin: 0 0 12px !important;
	color: var(--cx-ink-3) !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#wallet-section .cx-wallet-goal__label strong {
	color: var(--cx-ink);
}

#wallet-section .cx-wallet-goal__tiles {
	display: grid;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#wallet-section .cx-wallet-goal__tile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"length price"
		"meter meter"
		"state action";
	align-items: center;
	gap: 8px 12px;
	margin: 0 !important;
	padding: 14px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: #141414;
	list-style: none !important;
}

#wallet-section .cx-wallet-goal__tile.is-focus {
	border-color: var(--cx-rule-strong);
	background: #1B1B1B;
}

#wallet-section .cx-wallet-goal__length {
	grid-area: length;
	color: var(--cx-ink);
	font-size: 14px;
	font-weight: 800;
}

#wallet-section .cx-wallet-goal__price {
	grid-area: price;
	color: var(--cx-ink-2);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

#wallet-section .cx-wallet-goal__meter {
	grid-area: meter;
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.07);
}

#wallet-section .cx-wallet-goal__meter > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--cx-ink-3);
	transform-origin: left;
	animation: cx-wallet-fill 600ms var(--cx-ease) both;
}

#wallet-section .cx-wallet-goal__tile.is-covered .cx-wallet-goal__meter > span {
	background: var(--cx-success);
}

@keyframes cx-wallet-fill {
	from { transform: scaleX(0); }
}

#wallet-section .cx-wallet-goal__state {
	grid-area: state;
	color: var(--cx-ink-3);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

#wallet-section .cx-wallet-goal__tile.is-covered .cx-wallet-goal__state {
	color: var(--cx-success);
	font-weight: 700;
}

#wallet-section .cx-wallet-goal__action {
	grid-area: action;
	min-height: 36px;
	padding: 0 12px !important;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--cx-fast) var(--cx-ease), border-color var(--cx-fast) var(--cx-ease);
}

#wallet-section .cx-wallet-goal__action:hover {
	border-color: var(--cx-ink-3) !important;
}

#wallet-section .cx-wallet-goal__tile.is-focus .cx-wallet-goal__action {
	border-color: transparent !important;
	background: var(--cx-accent) !important;
	color: var(--cx-on-accent) !important;
}

#wallet-section .cx-wallet-goal__tile.is-focus .cx-wallet-goal__action:hover {
	background: var(--cx-accent-hover) !important;
}

#wallet-section .cx-wallet-goal__action:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

@media (min-width: 900px) {
	#wallet-section .cx-wallet-goal__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#wallet-section .cx-wallet-goal__tile {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"length"
			"price"
			"meter"
			"state"
			"action";
		gap: 6px;
		padding: 16px;
	}

	#wallet-section .cx-wallet-goal__price {
		color: var(--cx-ink);
		font-size: 20px;
		font-weight: 800;
		letter-spacing: -0.02em;
	}

	#wallet-section .cx-wallet-goal__action {
		justify-self: stretch;
		margin-top: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#wallet-section .cx-wallet-goal__meter > span {
		animation: none;
	}
}

/* ==================================================================
   Owner gallery on the public profile: a toolbar, a quiet action bar
   on each photo (cover + delete), and "Add photo" tiles. Visitors never
   get this markup.
   ================================================================== */
.girlsingle .owner-gallery-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--cx-rule, rgba(255, 255, 255, 0.08));
	border-radius: 6px;
	background: #151515;
	font-family: var(--cx-font, 'Manrope', sans-serif);
}

.girlsingle .owner-gallery-bar__copy {
	display: grid;
	gap: 2px;
}

.girlsingle .owner-gallery-bar__copy strong {
	color: var(--cx-ink, #ECECEC);
	font-size: 15px;
	font-weight: 800;
}

.girlsingle .owner-gallery-bar__copy span {
	color: var(--cx-ink-3, #9A9A9A);
	font-size: 13px;
}

.girlsingle .owner-gallery-bar__add {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--cx-rule-strong, rgba(255, 255, 255, 0.14));
	border-radius: 6px;
	color: var(--cx-ink, #ECECEC) !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color 150ms ease;
}

.girlsingle .owner-gallery-bar__add:hover {
	border-color: var(--cx-ink-3, #9A9A9A);
}

.girlsingle .image-buttons-legend:empty {
	display: none !important;
}

/* Per-photo controls: small frosted chips in the top corners, no scrim.
   Cover sits top-left (where photo apps label it), delete top-right. */
.girlsingle .thumbs .edit-buttons.owner-media-actions {
	position: absolute !important;
	inset: 8px 8px auto 8px !important;
	z-index: 5 !important;
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 6px;
	padding: 0 !important;
	background: none !important;
	font-family: var(--cx-font, 'Manrope', sans-serif);
	pointer-events: none;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions > * {
	pointer-events: auto;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions .icon,
.girlsingle .thumbs .owner-media-actions__cover-badge {
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: auto !important;
	height: 28px !important;
	margin: 0 !important;
	padding: 0 9px !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	border-radius: 6px !important;
	background: rgba(12, 12, 12, 0.55) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	color: #F2F2F2 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	backdrop-filter: blur(8px) saturate(1.2);
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions .icon::before {
	content: none !important;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions .owner-media-actions__cover:hover {
	border-color: rgba(255, 255, 255, 0.36) !important;
	background: rgba(12, 12, 12, 0.72) !important;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions .owner-media-actions__delete {
	width: 28px !important;
	margin-left: auto !important;
	padding: 0 !important;
}

/* Delete only hints at danger when you reach for it. */
.girlsingle .thumbs .edit-buttons.owner-media-actions .owner-media-actions__delete:hover,
.girlsingle .thumbs .edit-buttons.owner-media-actions .owner-media-actions__delete:focus-visible {
	border-color: rgba(255, 155, 155, 0.45) !important;
	background: rgba(12, 12, 12, 0.78) !important;
	color: #FF9B9B !important;
}

.girlsingle .thumbs .edit-buttons.owner-media-actions .icon:focus-visible {
	outline: 2px solid #F2F2F2;
	outline-offset: 2px;
}

/* Current cover: the same chip, star filled, not a button. */
.girlsingle .thumbs .owner-media-actions__cover-badge {
	display: none !important;
	cursor: default;
}

.girlsingle .thumbs .owner-media-actions__cover-badge svg {
	fill: currentColor !important;
	stroke: none !important;
}

.girlsingle .thumbs .is-cover .owner-media-actions__cover-badge {
	display: inline-flex !important;
}

.girlsingle .thumbs .is-cover .edit-buttons.owner-media-actions .owner-media-actions__cover {
	display: none !important;
}

/* "Sell privately" (js/premium-content.js) shares the chip look. On photos the top
   corners belong to cover and delete, so it sits bottom-left; videos keep it top-left
   above their native controls. The current cover can't be sold, even after a live
   cover change. */
.girlsingle .thumbs .pc-sell-chip {
	top: 8px;
	left: 8px;
	z-index: 6;
	min-height: 28px;
	gap: 5px;
	padding: 0 9px;
	border-radius: 6px;
	background: rgba(12, 12, 12, 0.55);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	color: #F2F2F2;
	font-size: 12px;
	letter-spacing: 0;
}

.girlsingle .thumbs .pc-sell-chip:hover {
	border-color: rgba(255, 255, 255, 0.36);
	background: rgba(12, 12, 12, 0.72);
}

.girlsingle .thumbs .profile-img-thumb-wrapper .pc-sell-chip {
	top: auto;
	bottom: 8px;
}

.girlsingle .thumbs .is-cover .pc-sell-chip {
	display: none;
}

/* Messages and spinners the parent script injects while saving. */
.girlsingle .thumbs .owner-media-actions .image_msg_girl_single {
	margin-right: auto;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(14, 14, 14, 0.88);
	color: #ECECEC;
	font-size: 12px;
	font-weight: 700;
}

.girlsingle .thumbs .owner-media-actions .preloader {
	float: none !important;
	margin-right: auto;
}

/* Empty cells for the owner */
.girlsingle .thumbs .owner-gallery-add {
	flex-direction: column;
	gap: 8px;
	border: 1px dashed rgba(255, 255, 255, 0.2) !important;
	border-radius: 6px !important;
	background: #121212 !important;
	color: var(--cx-ink-2, #B4B4B4) !important;
	font-family: var(--cx-font, 'Manrope', sans-serif);
	font-size: 13px !important;
	font-weight: 700;
	text-decoration: none !important;
}

.girlsingle .thumbs .owner-gallery-add:hover {
	border-color: rgba(255, 255, 255, 0.4) !important;
	color: var(--cx-ink, #ECECEC) !important;
}

.girlsingle .thumbs .owner-gallery-add__plus {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--cx-rule-strong, rgba(255, 255, 255, 0.14));
	border-radius: 6px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
	.girlsingle .thumbs .edit-buttons.owner-media-actions .icon {
		transition: none;
	}
}

/* Workspace panels are focusable (tabindex="-1") so links like #account-overview land
   there for keyboard and screen-reader users. The browser focuses them on load; a
   container needs no visible ring, its content keeps normal focus styles. */
.cx-ws [tabindex="-1"]:is(.account-workspace__content, .cx-block, section):focus,
.cx-ws [tabindex="-1"]:is(.account-workspace__content, .cx-block, section):focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* ------------------------------------------------------------------
   Exotic Wallet card (27 Sep): a realistic card stack beside the balance.
   Charcoal front card with her name; crimson and cream cards fanned behind.
   Tap or Enter shuffles; a fine pointer tilts the front card.
   ------------------------------------------------------------------ */
#wallet-section .cx-wallet-top {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

#wallet-section .cx-wallet-side {
	min-width: 0;
}

#wallet-section .cx-wcards {
	position: relative;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1.586;
	margin: 18px 30px 8px 0;
	perspective: 1100px;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

#wallet-section .cx-wcards:focus-visible .cx-wcard[data-pos="0"] {
	outline: 2px solid #ECECEC;
	outline-offset: 4px;
}

#wallet-section .cx-wcard {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 15px 18px 13px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	overflow: hidden;
	color: #F4F1EC;
	font-family: 'Manrope', system-ui, sans-serif;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 -1px 0 rgba(0, 0, 0, 0.46) inset,
		0 18px 36px rgba(0, 0, 0, 0.5),
		0 2px 6px rgba(0, 0, 0, 0.35);
	transform-origin: 50% 60%;
	transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 520ms ease, box-shadow 520ms ease;
	user-select: none;
}

/* Texture: fine concentric guilloche lines plus a soft sheen that follows the pointer. */
#wallet-section .cx-wcard::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-radial-gradient(circle at 115% -20%, transparent 0 7px, rgba(255, 255, 255, 0.045) 7px 8px);
	pointer-events: none;
}

#wallet-section .cx-wcard::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) calc(var(--gx, 40%) - 6%), transparent calc(var(--gx, 40%) + 18%));
	pointer-events: none;
}

#wallet-section .cx-wcard > * {
	position: relative;
	z-index: 1;
}

#wallet-section .cx-wcard--charcoal {
	background: linear-gradient(140deg, #2b2728 0%, #181617 55%, #231f20 100%);
}

#wallet-section .cx-wcard--crimson {
	background: linear-gradient(140deg, #a3102a 0%, #6e0a1b 100%);
}

#wallet-section .cx-wcard--cream {
	background: linear-gradient(140deg, #efe7da 0%, #d8cbb6 100%);
	color: #2a2425;
	border-color: rgba(49, 35, 31, 0.14);
}

#wallet-section .cx-wcard--cream::before {
	background: repeating-radial-gradient(circle at 115% -20%, transparent 0 7px, rgba(60, 40, 30, 0.07) 7px 8px);
}

/* Stack positions: front, then fanned up and to the right. */
#wallet-section .cx-wcard[data-pos="0"] {
	z-index: 3;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

#wallet-section .cx-wcard[data-pos="1"] {
	z-index: 2;
	transform: translate(16px, -12px) rotate(4deg);
	filter: brightness(0.82);
}

#wallet-section .cx-wcard[data-pos="2"] {
	z-index: 1;
	transform: translate(30px, -22px) rotate(8deg);
	filter: brightness(0.7);
}

#wallet-section .cx-wcards:hover .cx-wcard[data-pos="1"] {
	transform: translate(20px, -15px) rotate(5deg);
}

#wallet-section .cx-wcards:hover .cx-wcard[data-pos="2"] {
	transform: translate(38px, -27px) rotate(10deg);
}

#wallet-section .cx-wcard__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

#wallet-section .cx-wcard__brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

#wallet-section .cx-wcard__logo-window {
	display: block;
	width: 76px;
	height: 22px;
	overflow: hidden;
}

#wallet-section .cx-wcard__logo-window img {
	display: block;
	width: 143px;
	height: auto;
	max-width: none;
	transform: translate(-34px, -1px);
}

#wallet-section .cx-wcard--cream .cx-wcard__logo-window img {
	filter: brightness(.42) saturate(1.4) contrast(1.15);
	mix-blend-mode: multiply;
	opacity: .9;
}

#wallet-section .cx-wcard__kind {
	display: grid;
	justify-items: end;
	gap: 1px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.72;
}

#wallet-section .cx-wcard__kind small {
	font-size: 6px;
	font-weight: 700;
	letter-spacing: .18em;
	opacity: .66;
}

#wallet-section .cx-wcard__row--chip {
	justify-content: flex-start;
	gap: 12px;
}

/* A believable contact chip: warm metal with its contact lines. */
#wallet-section .cx-wcard__chip {
	position: relative;
	width: 38px;
	height: 28px;
	border-radius: 5px;
	background:
		linear-gradient(90deg, transparent 32%, rgba(90, 64, 20, 0.45) 32% 34%, transparent 34% 66%, rgba(90, 64, 20, 0.45) 66% 68%, transparent 68%),
		linear-gradient(0deg, transparent 45%, rgba(90, 64, 20, 0.45) 45% 55%, transparent 55%),
		linear-gradient(135deg, #e8cf94 0%, #c7a660 45%, #e2c682 70%, #b8954f 100%);
	box-shadow: inset 0 0 0 1px rgba(80, 56, 16, 0.35);
}

#wallet-section .cx-wcard__chip::after {
	content: '';
	position: absolute;
	inset: 4px 6px;
	border: 1px solid rgba(96, 66, 19, .36);
	border-radius: 2px;
}

#wallet-section .cx-wcard__wave {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	opacity: 0.6;
}

#wallet-section .cx-wcard__seal {
	position: relative;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	background: conic-gradient(from 210deg, #93476A, #D5B879, #6E9FA1, #A0638B, #93476A);
	box-shadow: inset 0 0 0 3px rgba(18, 16, 17, .66), 0 1px 3px rgba(0, 0, 0, .3);
	color: rgba(255, 255, 255, .9);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0;
}

#wallet-section .cx-wcard--cream .cx-wcard__seal {
	border-color: rgba(49, 35, 31, .18);
	box-shadow: inset 0 0 0 3px rgba(229, 219, 202, .7), 0 1px 3px rgba(68, 49, 39, .18);
	color: #2A2425;
}

#wallet-section .cx-wcard__number {
	display: flex;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.14em;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.06);
}

#wallet-section .cx-wcard__micro {
	display: block;
	margin-top: -4px;
	overflow: hidden;
	opacity: .42;
	font-size: 5.5px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1;
	white-space: nowrap;
}

#wallet-section .cx-wcard__row--foot {
	align-items: flex-end;
}

#wallet-section .cx-wcard__field {
	display: grid;
	gap: 2px;
	min-width: 0;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#wallet-section .cx-wcard__field small {
	font-size: 7.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 0.55;
}

#wallet-section .cx-wcard__field--end {
	text-align: right;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	#wallet-section .cx-wallet-top {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#wallet-section .cx-wcards {
		max-width: 300px;
		margin: 24px auto 4px;
		transform: translateX(-14px);
	}
}

@media (prefers-reduced-motion: reduce) {
	#wallet-section .cx-wcard {
		transition: none;
	}
}

/* Wallet refinement: beside the card, balance and buttons stack instead of
   squeezing into one row; back cards keep their faces hidden until they come forward. */
#wallet-section .cx-wallet-side .cx-wallet-body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
}

#wallet-section .cx-wallet-side .cx-wallet-stat--topup {
	padding-left: 0 !important;
	border-left: 0 !important;
}

#wallet-section .cx-wallet-side .cx-wallet__label {
	white-space: nowrap;
}

#wallet-section .cx-wallet-side .cx-wallet__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
}

#wallet-section .cx-wallet-side .cx-wallet__meta span {
	white-space: nowrap;
}

#wallet-section .cx-wallet-side .cx-wallet-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
}

#wallet-section .cx-wallet-side .cx-wallet-actions .cx-wallet-topup-btn {
	order: -1;
}

#wallet-section .cx-wallet-side .cx-wallet-head {
	margin-bottom: 18px;
}

#wallet-section .cx-wcard > * {
	transition: opacity 320ms ease;
}

#wallet-section .cx-wcard:not([data-pos="0"]) > * {
	opacity: 0;
}

/* A slightly smaller, calmer fan so the stack never crowds the title. */
#wallet-section .cx-wcard[data-pos="1"] {
	transform: translate(12px, -10px) rotate(3deg);
}

#wallet-section .cx-wcard[data-pos="2"] {
	transform: translate(22px, -18px) rotate(6deg);
}

#wallet-section .cx-wcards:hover .cx-wcard[data-pos="1"] {
	transform: translate(15px, -12px) rotate(4deg);
}

#wallet-section .cx-wcards:hover .cx-wcard[data-pos="2"] {
	transform: translate(28px, -22px) rotate(7.5deg);
}

#wallet-section .cx-wcard--crimson .cx-wcard__chip {
	filter: saturate(0.9) brightness(1.05);
}

#wallet-section .cx-wcard--cream .cx-wcard__number {
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------------
   Go-live panel (27 Sep): replaces the "Not visible · activation needed"
   notice. Her card waits greyed behind a Hidden veil; hovering or focusing
   the plan button previews it live (colour returns, veil lifts, Live tag).
   ------------------------------------------------------------------ */
.cx-golive {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid var(--cx-rule);
	border-radius: 8px;
	background:
		radial-gradient(80% 140% at 0% 0%, rgba(230, 196, 106, 0.06), transparent 55%),
		var(--cx-surface);
	font-family: var(--cx-font);
	animation: cx-golive-in 0.5s var(--cx-ease) both;
}

.cx-golive__card {
	padding: 6px 6px 10px;
	border: 1px solid var(--cx-rule);
	border-radius: 8px;
	background: #1d1d1d;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
	transform: rotate(-2deg);
	transition: transform 0.45s var(--cx-ease);
}

.cx-golive__photo {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 5px;
	background: #262626;
}

.cx-golive__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	filter: grayscale(1) brightness(0.55);
	transition: filter 0.5s var(--cx-ease), transform 0.6s var(--cx-ease);
}

.cx-golive__initial {
	color: var(--cx-ink-3);
	font-size: 34px;
	font-weight: 800;
}

.cx-golive__veil {
	position: absolute;
	inset: auto 6px 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 0;
	border-radius: 3px;
	background: rgba(12, 12, 12, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #ececec;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: opacity 0.3s ease, transform 0.3s var(--cx-ease);
}

.cx-golive__live {
	position: absolute;
	top: 6px;
	left: 6px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 3px;
	background: rgba(12, 12, 12, 0.72);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.3s ease 0.1s, transform 0.3s var(--cx-ease) 0.1s;
}

.cx-golive__live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cx-success);
}

/* The preview: hover or focus on the plan button brings her card to life. */
.cx-golive:has(.cx-golive__cta:hover) .cx-golive__photo img,
.cx-golive:has(.cx-golive__cta:focus-visible) .cx-golive__photo img {
	filter: none;
	transform: scale(1.04);
}

.cx-golive:has(.cx-golive__cta:hover) .cx-golive__veil,
.cx-golive:has(.cx-golive__cta:focus-visible) .cx-golive__veil {
	opacity: 0;
	transform: translateY(6px);
}

.cx-golive:has(.cx-golive__cta:hover) .cx-golive__live,
.cx-golive:has(.cx-golive__cta:focus-visible) .cx-golive__live {
	opacity: 1;
	transform: none;
}

.cx-golive:has(.cx-golive__cta:hover) .cx-golive__card,
.cx-golive:has(.cx-golive__cta:focus-visible) .cx-golive__card {
	transform: rotate(0deg) translateY(-2px);
}

.cx-golive__body {
	min-width: 0;
}

.cx-golive__state {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px !important;
	color: var(--cx-ink-2);
	font-size: 13px;
	font-weight: 600;
}

.cx-golive__state-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cx-warning);
	box-shadow: 0 0 0 3px rgba(230, 196, 106, 0.14);
}

.cx-golive__title {
	margin: 0 0 8px !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.cx-golive__text {
	max-width: 58ch;
	margin: 0 0 16px !important;
	color: var(--cx-ink-2);
	font-size: 15px;
	line-height: 1.55;
}

.cx-golive__ready {
	display: grid;
	grid-template-columns: auto auto minmax(80px, 220px);
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--cx-ink-3);
	font-size: 13px;
	font-weight: 600;
}

.cx-golive__ready strong {
	color: var(--cx-ink);
	font-variant-numeric: tabular-nums;
}

.cx-golive__meter {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: var(--cx-rule-strong);
	overflow: hidden;
}

.cx-golive__meter > span {
	display: block;
	width: var(--ready, 0%);
	height: 100%;
	border-radius: 2px;
	background: var(--cx-ink-2);
	animation: cx-golive-fill 0.9s var(--cx-ease) 0.3s both;
}

.cx-golive__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
}

.cx-golive__cta svg {
	transition: transform 0.2s var(--cx-ease);
}

.cx-golive__cta:hover svg {
	transform: translateX(3px);
}

.cx-golive__preview {
	color: var(--cx-ink-2) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--cx-rule-strong);
	text-underline-offset: 4px;
}

.cx-golive__preview:hover {
	color: var(--cx-ink) !important;
	text-decoration-color: currentColor;
}

@keyframes cx-golive-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@keyframes cx-golive-fill {
	from { width: 0; }
}

@media (max-width: 559px) {
	.cx-golive {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 16px;
		align-items: start;
		padding: 16px;
	}

	.cx-golive__title {
		font-size: 18px !important;
	}

	.cx-golive__text {
		font-size: 14px;
	}

	.cx-golive__ready {
		grid-template-columns: auto auto;
	}

	.cx-golive__meter {
		grid-column: 1 / -1;
	}

	.cx-golive__actions {
		grid-column: 1 / -1;
	}

	.cx-golive__actions .cx-golive__cta {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-golive,
	.cx-golive__meter > span {
		animation: none;
	}

	.cx-golive__card,
	.cx-golive__photo img,
	.cx-golive__veil,
	.cx-golive__live {
		transition: none;
	}
}

/* Go-live polish: the headline was being enlarged by stronger profile heading
   rules; settle the type scale, spacing and a compact readiness row. */
body .cx-ws .cx-golive h3.cx-golive__title {
	margin: 0 0 10px !important;
	font-size: 24px !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em !important;
}

.cx-ws .cx-golive {
	padding: 24px 28px;
	gap: 32px;
}

.cx-ws .cx-golive__state {
	margin-bottom: 10px !important;
	font-size: 13px;
}

.cx-ws .cx-golive__text {
	margin-bottom: 18px !important;
	font-size: 15px;
}

.cx-ws .cx-golive__ready {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 20px;
}

.cx-ws .cx-golive__meter {
	flex: 0 0 160px;
	margin-left: 4px;
}

@media (max-width: 559px) {
	body .cx-ws .cx-golive h3.cx-golive__title {
		font-size: 19px !important;
	}

	.cx-ws .cx-golive {
		padding: 16px;
		gap: 16px;
	}

	.cx-ws .cx-golive__ready {
		flex-wrap: wrap;
	}

	.cx-ws .cx-golive__meter {
		flex: 1 1 100%;
		margin-left: 0;
	}
}

/* Preview boundary: share the workspace content column (256px rail + 840px measure),
   so the text and Edit profile line up with the panels above instead of the window edge. */
@media (min-width: 1024px) {
	/* Starts at the rail's left edge (in line with Log out), ends at the content column's right edge. */
	.cx-preview-boundary__inner {
		padding-left: 0;
		padding-right: clamp(0px, calc(100% - 1096px), 88px);
		flex-wrap: nowrap;
		gap: 24px;
	}

	.cx-preview-boundary__text {
		align-items: center;
		min-width: 0;
	}

	.cx-preview-boundary__text .cx-icon {
		margin-top: 0;
	}
}

.cx-preview-boundary__text .cx-icon {
	flex-shrink: 0;
	box-sizing: content-box;
	padding: 9px;
	border: 1px solid var(--cx-rule);
	border-radius: 8px;
	background: var(--cx-surface);
}

.cx-preview-boundary .cx-btn {
	flex-shrink: 0;
}

/* ==================================================================
   Stories: your posted stories as 9:16 story cards. The white bar is
   the time left of the story's life, the same metaphor as the viewer.
   ================================================================== */
.cx-overview .cx-stories-grid {
	grid-template-columns: repeat(auto-fill, minmax(136px, 156px));
	gap: 14px;
	margin-top: 16px;
}

.cx-overview .cx-story-card {
	position: relative;
	isolation: isolate;
	display: block;
	aspect-ratio: 9 / 16;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--cx-rule-strong);
	border-radius: 6px;
	background: linear-gradient(165deg, #242225 0%, #19181A 58%, #1D181A 100%);
	color: #F4F4F4;
	font-family: var(--cx-font);
	box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}

.cx-overview .cx-story-card__media,
.cx-overview .cx-story-card__media img,
.cx-overview .cx-story-card__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.cx-overview .cx-story-card__media img,
.cx-overview .cx-story-card__media video {
	display: block;
	object-fit: cover;
	transition: transform 400ms var(--cx-ease);
}

.cx-overview .cx-story-card:hover .cx-story-card__media img,
.cx-overview .cx-story-card:hover .cx-story-card__media video {
	transform: scale(1.03);
}

.cx-overview .cx-story-card__fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #6F6A6D;
}

/* Scrims keep the chips and the footer legible on any photo. */
.cx-overview .cx-story-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 26%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0) 50%);
}

.cx-overview .cx-story-card__top {
	position: absolute;
	top: 8px;
	right: 8px;
	left: 8px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.cx-overview .cx-story-card__type,
.cx-overview .cx-story-card__delete {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 6px;
	background: rgba(16, 16, 16, 0.58);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #EDEDED;
}

.cx-overview .cx-story-card__type {
	width: 28px;
	height: 28px;
	border-radius: 3px;
}

.cx-overview button.cx-story-card__delete {
	position: relative;
	appearance: none;
	min-height: 0;
	margin: 0 0 0 auto;
	padding: 0;
	box-shadow: none;
	cursor: pointer;
	transition: color var(--cx-fast) var(--cx-ease), border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

/* 44px hit area around the 32px control. */
.cx-overview button.cx-story-card__delete::before {
	content: '';
	position: absolute;
	inset: -6px;
}

.cx-overview button.cx-story-card__delete:hover,
.cx-overview button.cx-story-card__delete:focus-visible {
	border-color: rgba(255, 155, 155, 0.45);
	background: rgba(16, 16, 16, 0.78);
	color: var(--cx-error);
}

.cx-overview button.cx-story-card__delete:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

.cx-overview button.cx-story-card__delete:disabled {
	opacity: 0.5;
	cursor: wait;
}

.cx-overview .cx-story-card__foot {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: grid;
	gap: 4px;
	padding: 10px 10px 11px;
}

.cx-overview .cx-story-card__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: #FFF;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.005em;
}

.cx-overview .cx-story-card__dot {
	position: relative;
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cx-success);
}

.cx-overview .cx-story-card.is-pending .cx-story-card__dot {
	background: var(--cx-pending);
}

.cx-overview .cx-story-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}

.cx-overview .cx-story-card__time {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-overview .cx-story-card__views {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
}

.cx-overview .cx-story-card__views .cx-icon {
	opacity: 0.85;
}

.cx-overview .cx-story-card__bar {
	display: block;
	height: 2px;
	margin-top: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.22);
}

.cx-overview .cx-story-card__bar > span {
	display: block;
	width: calc(var(--cx-story-left, 1) * 100%);
	height: 100%;
	border-radius: inherit;
	background: #FFF;
}

.cx-overview .cx-story-card.is-pending .cx-story-card__bar > span {
	background: rgba(255, 255, 255, 0.45);
}

/* The next story slot, only once one is posted (the intro covers the empty case). */
.cx-overview button.cx-story-card--add {
	appearance: none;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 10px;
	min-height: 0;
	border: 1px dashed #5A5A5A;
	background: #151515;
	box-shadow: none;
	color: var(--cx-ink-2);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color var(--cx-fast) var(--cx-ease), color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-overview button.cx-story-card--add::after {
	content: none;
}

.cx-overview .cx-story-card__add-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--cx-rule-strong);
	border-radius: 50%;
	color: var(--cx-ink);
	transition: border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-overview button.cx-story-card--add:hover {
	border-color: #8A8A8A;
	background: #1A1A1A;
	color: var(--cx-ink);
}

.cx-overview button.cx-story-card--add:hover .cx-story-card__add-icon {
	border-color: var(--cx-accent);
	background: var(--cx-accent);
	color: var(--cx-on-accent);
}

.cx-overview button.cx-story-card--add:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 3px;
}

.cx-overview .cx-stories-grid:not(:has([data-story-dashboard-item])) .cx-story-card--add {
	display: none;
}

@media (max-width: 520px) {
	.cx-overview .cx-stories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cx-overview .cx-story-card:not(.is-pending) .cx-story-card__dot::after {
		content: '';
		position: absolute;
		inset: 0;
		border-radius: 50%;
		background: var(--cx-success);
		animation: cx-story-live 2.4s var(--cx-ease) infinite;
	}

	@keyframes cx-story-live {
		0% { transform: scale(1); opacity: 0.55; }
		70%, 100% { transform: scale(2.6); opacity: 0; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-overview .cx-story-card__media img,
	.cx-overview .cx-story-card__media video {
		transition: none;
	}
}

/* Overview: visible state uses the identity masthead; plan clock under the status. */
.cx-overview .cx-id--overview {
	padding: 18px;
	border: 1px solid #333;
	border-radius: 6px;
	background: #181818;
}

.cx-overview .cx-id--overview .cx-id__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
}

.cx-id__plan {
	color: var(--cx-ink-3);
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* ==================================================================
   Wallet, calmer (28 Sep): lighter weights and less copy beside the
   card. The card carries her name; the side carries the number.
   ================================================================== */
#wallet-section .cx-wallet-title {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--cx-ink-2) !important;
}

#wallet-section .cx-wallet-headline {
	color: var(--cx-ink-3);
	font-size: 14px;
	font-weight: 500;
}

#wallet-section .cx-wallet-amount .wallet-amount {
	font-size: 34px !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
}

#wallet-section .cx-wallet-amount .wallet-currency {
	font-weight: 600 !important;
}

#wallet-section .cx-wallet__label,
#wallet-section .cx-wallet-goal__label {
	font-weight: 600 !important;
}

#wallet-section .cx-wallet__meta [data-pc-earned][hidden] {
	display: none !important;
}

#wallet-section .cx-wallet__meta .cx-wallet__earned {
	color: var(--cx-ink-2) !important;
}

#wallet-section .cx-wallet-goal__length {
	color: var(--cx-ink-2);
	font-weight: 600;
}

#wallet-section .cx-wallet-goal__price {
	font-weight: 700;
}

/* Only the suggested plan keeps a button; the others read as quiet links. */
#wallet-section .cx-wallet-goal__tile:not(.is-focus) .cx-wallet-goal__action {
	min-height: 36px;
	padding: 0 !important;
	border-color: transparent !important;
	color: var(--cx-ink-2) !important;
	font-weight: 600 !important;
	justify-self: start;
	text-decoration: underline;
	text-decoration-color: var(--cx-rule-strong);
	text-underline-offset: 4px;
}

#wallet-section .cx-wallet-goal__tile:not(.is-focus) .cx-wallet-goal__action:hover {
	border-color: transparent !important;
	color: var(--cx-ink) !important;
	text-decoration-color: currentColor;
}

@media (min-width: 900px) {
	#wallet-section .cx-wallet-goal__price {
		font-size: 18px;
		font-weight: 700;
	}

	#wallet-section .cx-wallet-goal__tile:not(.is-focus) .cx-wallet-goal__action {
		justify-self: start;
	}
}

/* ==================================================================
   Photos & videos: room between uploads, the hero choice and the
   gallery link. The hero choice is its own small settings card.
   ================================================================== */
.cx-overview .cx-media .cx-block__head .cx-meta {
	max-width: 62ch;
}

.cx-overview .cx-media .cx-declaration + .cx-media__grid,
.cx-overview .cx-media .cx-media__grid {
	gap: 14px;
}

.cx-overview .cx-hero-media {
	display: grid;
	gap: 16px;
	margin-top: 24px;
	padding: 20px 22px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: var(--cx-surface);
}

.cx-overview .cx-hero-media__copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.cx-overview .cx-hero-media .cx-field__label {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
}

.cx-overview .cx-hero-media .cx-meta {
	max-width: 52ch;
}

.cx-overview .cx-hero-media__form {
	margin-top: 0;
}

.cx-overview .cx-segmented {
	border-radius: 6px;
	background: #141414;
}

.cx-overview .cx-segmented__option {
	border-radius: 3px;
}

@media (min-width: 900px) {
	.cx-overview .cx-hero-media {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 24px;
	}
}

.cx-overview .cx-media__gallery-link {
	margin: 18px 0 0;
}

.cx-overview .cx-media__gallery-anchor {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--cx-ink-2) !important;
	font-family: var(--cx-font);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.cx-overview .cx-media__gallery-anchor .cx-icon:last-child {
	transition: transform var(--cx-fast) var(--cx-ease);
}

.cx-overview .cx-media__gallery-anchor:hover {
	color: var(--cx-ink) !important;
}

.cx-overview .cx-media__gallery-anchor:hover .cx-icon:last-child {
	transform: translateX(3px);
}

.cx-overview .cx-media__gallery-anchor:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 3px;
}

@media (max-width: 559px) {
	.cx-overview .cx-hero-media {
		padding: 16px;
	}

	.cx-overview .cx-hero-media__form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.cx-overview .cx-segmented {
		width: 100%;
	}

	.cx-overview .cx-segmented__option {
		flex: 1 1 0;
		justify-content: center;
	}
}

/* ==================================================================
   Profile strength: a weighted setup assistant, not a field counter.
   ================================================================== */
.cx-overview .cx-strength {
	padding-top: 0;
}

.cx-overview .cx-strength__head {
	align-items: flex-end;
	margin-bottom: 12px;
	padding-bottom: 0;
	border-bottom: 0;
}

.cx-strength__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--cx-ink-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.cx-overview .cx-strength__value {
	color: var(--cx-ink);
	font-family: var(--cx-font);
	font-size: 32px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1;
}

.cx-strength__meter {
	height: 5px;
	overflow: hidden;
	border-radius: 3px;
	background: #292627;
}

.cx-strength__meter > span {
	display: block;
	width: var(--cx-strength, 0%);
	height: 100%;
	border-radius: inherit;
	background: #D71936;
}

.cx-strength__guidance {
	max-width: 52ch;
	margin: 10px 0 0;
	color: var(--cx-ink-3);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.cx-strength__guidance--complete {
	color: var(--cx-ink-2);
}

.cx-strength__list-title {
	margin: 28px 0 8px;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cx-strength__rows {
	border-top-color: #353233;
}

.cx-strength__row {
	min-height: 68px;
	padding: 12px 8px;
}

.cx-strength__row.is-priority {
	background: rgba(215, 25, 54, .055);
}

.cx-strength__row.is-priority:hover {
	background: rgba(215, 25, 54, .09);
}

.cx-strength__row.is-priority .cx-row__ring {
	border-color: #E34B60;
}

.cx-strength__priority {
	color: #F08A98;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

@media (max-width: 559px) {
	.cx-overview .cx-strength__value {
		font-size: 28px;
	}

	.cx-strength__list-title {
		margin-top: 24px;
	}

	.cx-strength__row {
		gap: 12px;
		min-height: 72px;
		padding: 12px 4px;
	}

	.cx-strength__priority {
		display: none;
	}
}

/* ==================================================================
   Photos & videos studio (30 Sep). One panel: Photos | Videos tabs
   (cx-tabs), each a contact sheet of her own media with the add tile
   as the next open slot, then a compact "Profile opens with" bar.
   Without script both rows show under their own labels. Serves the
   owner overview and the admin media panel on the profile.
   ================================================================== */
.cx-media--studio .cx-block__head .cx-meta {
	max-width: 62ch;
}

.cx-studio {
	display: grid;
	margin-top: 20px;
	padding: 0 20px;
	overflow: hidden;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: #141414;
}

.cx-studio__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Tab bar */
.cx-studio__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 -20px;
	padding: 0 16px 0 8px;
	border-bottom: 1px solid var(--cx-rule);
}

.cx-studio__bar[hidden] {
	display: none;
}

.cx-studio .cx-studio__tabs {
	border-bottom: 0;
}

.cx-studio__tabcount {
	color: var(--cx-ink-3);
	font-size: 12.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.cx-tab[aria-selected='true'] .cx-studio__tabcount {
	color: var(--cx-ink-2);
}

.cx-studio__manage {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	margin-left: auto;
	color: var(--cx-ink-2) !important;
	font-family: var(--cx-font);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
}

.cx-studio__manage .cx-icon {
	transition: transform var(--cx-fast) var(--cx-ease);
}

.cx-studio__manage:hover {
	color: var(--cx-ink) !important;
}

.cx-studio__manage:hover .cx-icon {
	transform: translateX(3px);
}

.cx-studio__manage:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

/* Rows (tab panels) */
.cx-studio__row {
	display: grid;
	gap: 12px;
	min-width: 0;
	padding: 18px 0;
}

.cx-studio__row[hidden] {
	display: none;
}

.cx-studio:not(.is-tabbed) .cx-studio__row + .cx-studio__row {
	border-top: 1px solid var(--cx-rule);
}

.cx-studio__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	min-width: 0;
}

.cx-studio.is-tabbed .cx-studio__label {
	display: none;
}

.cx-media--studio .cx-studio__label h4 {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
}

.cx-studio__count {
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
}

.cx-studio__strip {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
	gap: 10px;
	min-width: 0;
}

.cx-media--studio .cx-studio__formats {
	margin: 0 !important;
	color: var(--cx-ink-3) !important;
	font-family: var(--cx-font) !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
}

/* Media tiles */
.cx-shot {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 6px;
	background: radial-gradient(120% 90% at 50% 20%, #2a2627 0%, #161616 80%);
	color: #fff !important;
	text-decoration: none !important;
	animation: cx-shot-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--cx-i, 0) * 45ms);
}

@keyframes cx-shot-in {
	from { opacity: 0; transform: translateY(6px); }
}

.cx-shot::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: inherit;
	pointer-events: none;
	transition: border-color var(--cx-fast) var(--cx-ease);
}

.cx-shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cx-shot:hover img {
	transform: scale(1.04);
}

.cx-shot:hover::before {
	border-color: rgba(255, 255, 255, 0.28);
}

.cx-shot:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

.cx-shot--main::before {
	border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.cx-shot__tag {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 20px;
	padding: 0 6px 0 5px;
	border-radius: 3px;
	background: rgba(10, 10, 10, 0.66);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-family: var(--cx-font);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.cx-shot__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.5);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	transition: transform var(--cx-fast) var(--cx-ease);
}

.cx-shot__play svg {
	margin-left: 2px;
}

.cx-shot:hover .cx-shot__play {
	transform: scale(1.08);
}

.cx-shot--more {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 2px;
	background: #1B1B1B;
	font-family: var(--cx-font);
}

.cx-shot--more strong {
	color: var(--cx-ink);
	font-size: 20px;
	font-weight: 800;
}

.cx-shot--more span {
	color: var(--cx-ink-3);
	font-size: 12px;
}

/* The add tile is the next open slot. */
.cx-slot-wrap {
	min-width: 0;
}

.cx-media--studio .cx-slot {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 3px;
	height: 100%;
	min-height: 0;
	aspect-ratio: 3 / 4;
	margin: 0;
	padding: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 6px;
	background: #111;
	color: var(--cx-ink);
	font-family: var(--cx-font);
	text-align: center;
	cursor: pointer;
	transition: border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-slot__plus {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	color: var(--cx-ink);
	transition: background-color var(--cx-fast) var(--cx-ease), color var(--cx-fast) var(--cx-ease), border-color var(--cx-fast) var(--cx-ease), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cx-media--studio .cx-slot__title {
	color: var(--cx-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.cx-media--studio .cx-slot .for-browsers p,
.cx-media--studio .cx-slot .cx-slot__left {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--cx-ink-3) !important;
	font-family: var(--cx-font) !important;
	font-size: 11.5px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cx-media--studio .cx-slot__left b {
	background: none;
	color: var(--cx-ink);
	font-weight: 700;
}

.cx-media--studio .cx-slot:hover,
.cx-media--studio .cx-slot:focus-visible {
	border-color: rgba(255, 255, 255, 0.32) !important;
	background: #181818;
}

.cx-media--studio .cx-slot:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

.cx-slot:hover .cx-slot__plus,
.cx-slot.is-over .cx-slot__plus {
	border-color: #fff;
	background: #fff;
	color: #111;
}

/* Files dragged anywhere on the page arm the slots; hovering one lifts it. */
.cx-media--studio.is-armed .cx-slot {
	border-style: dashed !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
}

.cx-media--studio .cx-slot.is-over {
	border-style: solid !important;
	border-color: #ECECEC !important;
	background: #1d1d1d;
}

.cx-slot.is-over .cx-slot__plus {
	transform: translateY(-3px) scale(1.06);
}

.cx-media--studio .cx-slot.is-full {
	cursor: default;
	opacity: 0.55;
}

/* No photos yet: the first slot is the invitation, two tiles wide. */
.cx-media--studio.is-empty [data-cx-studio-panel='photos'] .cx-slot-wrap {
	grid-column: span 2;
}

.cx-media--studio.is-empty [data-cx-studio-panel='photos'] .cx-slot {
	aspect-ratio: 3 / 2;
	border-color: rgba(255, 255, 255, 0.2) !important;
}

/* No videos yet: the rest of the row explains why a clip helps. */
.cx-studio__hint {
	display: grid;
	grid-column: span 3;
	align-content: center;
	gap: 4px;
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
	font-family: var(--cx-font);
}

.cx-studio__hint strong {
	color: var(--cx-ink);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
}

.cx-studio__hint span {
	color: var(--cx-ink-3);
	font-size: 12.5px;
	line-height: 1.45;
}

/* Uploads show as pending tiles (profile-media-studio.js); the plugin's own
   queue rows stay in the slot but are not shown. */
.cx-media--studio .cx-slot .uploadifive-queue-item {
	display: none !important;
}

/* After the queue completes the tile shows the uploader's message. */
.cx-media--studio .cx-slot > p:only-child {
	margin: 0 !important;
	color: var(--cx-ink-2) !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
}

.cx-media--studio .cx-slot > p:only-child a {
	color: var(--cx-ink) !important;
}

/* ── "Profile opens with": a compact bar closing the studio ── */
.cx-opener {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 -20px;
	padding: 14px 20px 16px;
	border-top: 1px solid var(--cx-rule);
	background: #121212;
}

.cx-opener__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.cx-media--studio .cx-opener .cx-field__label {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-family: var(--cx-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.cx-media--studio .cx-opener .cx-meta {
	margin: 0;
	color: var(--cx-ink-3);
	font-size: 12.5px;
}

.cx-opener__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.cx-opener__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 200px));
	gap: 8px;
}

.cx-opener__choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 6px 34px 6px 6px;
	border: 1px solid var(--cx-rule-strong, rgba(255, 255, 255, 0.14));
	border-radius: 6px;
	background: #161616;
	font-family: var(--cx-font);
	cursor: pointer;
	transition: border-color var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-opener__choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.cx-opener__frame {
	position: relative;
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 32px;
	height: 42px;
	overflow: hidden;
	border-radius: 3px;
	background: radial-gradient(120% 90% at 50% 20%, #2a2627 0%, #161616 80%);
	color: var(--cx-ink-3);
}

.cx-opener__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-opener__frame .cx-shot__play {
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
}

.cx-opener__frame .cx-shot__play svg {
	margin-left: 1px;
}

.cx-opener__text {
	display: grid;
	gap: 1px;
	min-width: 0;
	line-height: 1.3;
}

.cx-opener__text strong {
	overflow: hidden;
	color: var(--cx-ink);
	font-size: 13.5px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-opener__text small {
	overflow: hidden;
	color: var(--cx-ink-3);
	font-size: 11.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cx-opener__mark {
	position: absolute;
	top: 50%;
	right: 10px;
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: transparent;
	transition: background-color var(--cx-fast) var(--cx-ease), border-color var(--cx-fast) var(--cx-ease);
}

.cx-opener__mark .cx-icon {
	width: 10px;
	height: 10px;
}

.cx-opener__choice:hover {
	border-color: rgba(255, 255, 255, 0.3);
}

.cx-opener__choice:has(input:checked) {
	border-color: var(--cx-accent, #B80F29);
	background: linear-gradient(180deg, rgba(184, 15, 41, 0.1), rgba(184, 15, 41, 0.04)), #161616;
}

.cx-opener__choice:has(input:checked) .cx-opener__mark {
	border-color: var(--cx-accent, #B80F29);
	background: var(--cx-accent, #B80F29);
	color: #fff;
}

.cx-opener__choice:has(input:focus-visible) {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

.cx-opener__choice.is-locked {
	cursor: not-allowed;
	opacity: 0.5;
}

.cx-opener__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* With script, Save appears only after the choice changes. */
.cx-opener__form.is-enhanced:not(.is-dirty) .cx-opener__save {
	display: none;
}

.cx-opener__form.is-dirty .cx-opener__save {
	border-color: var(--cx-accent, #B80F29) !important;
	background: var(--cx-accent, #B80F29) !important;
	color: #fff !important;
	animation: cx-shot-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Phones: sideways strips (add slot first), a two-up opener ── */
@media (max-width: 559px) {
	.cx-studio {
		padding: 0 14px;
	}

	.cx-studio__bar {
		margin: 0 -14px;
		padding: 0 10px 0 2px;
	}

	.cx-studio .cx-tab {
		padding: 0 10px;
		font-size: 14px;
	}

	.cx-studio .cx-tab[aria-selected='true']::after {
		right: 10px;
		left: 10px;
	}

	.cx-studio__manage {
		font-size: 12.5px;
	}

	.cx-studio__row {
		gap: 10px;
		padding: 14px 0;
	}

	.cx-studio__strip {
		display: flex;
		gap: 8px;
		margin: 0 -14px;
		padding: 0 14px 2px;
		overflow-x: auto;
		scroll-padding: 0 14px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.cx-studio__strip::-webkit-scrollbar {
		display: none;
	}

	.cx-studio__strip > * {
		flex: 0 0 96px;
		scroll-snap-align: start;
	}

	.cx-studio__strip > .cx-slot-wrap {
		order: -1;
	}

	.cx-studio__strip > .cx-studio__hint {
		flex: 1 0 200px;
		padding: 12px 14px;
	}

	.cx-slot__plus {
		width: 34px;
		height: 34px;
		margin-bottom: 6px;
	}

	.cx-media--studio.is-empty [data-cx-studio-panel='photos'] .cx-slot-wrap {
		flex: 1 1 auto;
	}

	.cx-media--studio.is-empty [data-cx-studio-panel='photos'] .cx-slot {
		aspect-ratio: 2 / 1;
	}

	.cx-opener {
		display: grid;
		margin: 0 -14px;
		padding: 12px 14px 14px;
	}

	.cx-opener__form {
		display: grid;
		gap: 8px;
	}

	.cx-opener__choices {
		grid-template-columns: 1fr 1fr;
	}

	.cx-opener__choice {
		padding-right: 28px;
	}

	.cx-opener__mark {
		right: 8px;
	}

	.cx-opener__save {
		width: 100%;
	}

	.cx-opener__actions {
		display: grid;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-shot,
	.cx-opener__form.is-dirty .cx-opener__save {
		animation: none;
	}

	.cx-shot img,
	.cx-slot__plus {
		transition: none;
	}
}

/* ==================================================================
   Studio interactions (30 Sep): tile menu, drag to reorder, uploads
   as tiles with a progress ring, a toast. js/profile-media-studio.js.
   ================================================================== */
.cx-studio {
	position: relative;
}

.cx-shot[data-cx-media] {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
}

.cx-shot video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.cx-studio__strip .cx-shot[data-cx-media]:not(.cx-shot--main),
	.cx-studio__strip .cx-shot--video[data-cx-media] {
		cursor: grab;
	}
}

/* The options button: always visible on touch, on hover/focus elsewhere. */
.cx-shot__menu {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	transition: opacity var(--cx-fast) var(--cx-ease), background-color var(--cx-fast) var(--cx-ease);
}

.cx-shot__menu:hover,
.cx-shot__menu[aria-expanded='true'] {
	background: rgba(10, 10, 10, 0.85);
}

.cx-shot__menu:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

@media (hover: hover) and (pointer: fine) {
	.cx-shot__menu {
		opacity: 0;
	}

	.cx-shot:hover .cx-shot__menu,
	.cx-shot:focus-within .cx-shot__menu,
	.cx-shot__menu[aria-expanded='true'] {
		opacity: 1;
	}
}

.cx-studio.is-sorting .cx-shot__menu {
	opacity: 0;
}

/* Drag: the tile leaves a dashed hole and a lifted copy follows the pointer. */
.cx-shot.is-placeholder {
	animation: none;
}

.cx-shot.is-placeholder > * {
	opacity: 0.15;
}

.cx-shot.is-placeholder::before {
	border: 1.5px dashed rgba(255, 255, 255, 0.5);
}

.cx-shot-ghost {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10050;
	margin: 0;
	border-radius: 6px;
	box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6), 0 0 0 1.5px rgba(255, 255, 255, 0.85);
	pointer-events: none;
	animation: none;
	cursor: grabbing;
}

.cx-shot-ghost .cx-shot__menu {
	display: none;
}

.cx-shot.is-removing {
	opacity: 0.4;
	pointer-events: none;
}

/* Uploading: local preview, dimmed, with a progress ring. */
.cx-shot.is-pending {
	animation: cx-shot-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cx-shot.is-pending img,
.cx-shot.is-pending video {
	filter: brightness(0.5) saturate(0.8);
	transition: filter 0.4s ease;
}

.cx-shot.is-pending.is-done img,
.cx-shot.is-pending.is-done video {
	filter: none;
}

.cx-shot__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
}

.cx-shot__ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.cx-shot__ring circle {
	fill: none;
	stroke-width: 3;
}

.cx-shot__ring-track {
	stroke: rgba(255, 255, 255, 0.22);
}

.cx-shot__ring-bar {
	stroke: #fff;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.2s linear;
}

.cx-shot__pct {
	color: #fff;
	font-family: var(--cx-font);
	font-size: 10.5px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.cx-shot__done {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border-radius: 50%;
	background: #70D5AB;
	color: #0d1f17;
	opacity: 0;
	transform: scale(0.6);
}

.cx-shot.is-done .cx-shot__ring,
.cx-shot.is-error .cx-shot__ring {
	display: none;
}

.cx-shot.is-done .cx-shot__done {
	opacity: 1;
	transform: none;
	transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cx-shot__error {
	position: absolute;
	inset: auto 0 0;
	z-index: 3;
	display: none;
	align-items: center;
	gap: 4px;
	padding: 18px 6px 6px 8px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
	color: #fff;
	font-family: var(--cx-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
}

.cx-shot__error > span {
	flex: 1;
	min-width: 0;
}

.cx-shot.is-error .cx-shot__error {
	display: flex;
}

.cx-shot.is-error::before {
	border-color: rgba(255, 255, 255, 0.4);
}

.cx-shot__dismiss {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
	color: #fff;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

/* Tab bar tip */
.cx-studio__tip {
	margin-left: auto;
	color: var(--cx-ink-3);
	font-family: var(--cx-font);
	font-size: 12.5px;
	white-space: nowrap;
}

.cx-studio__tip--coarse {
	display: none;
}

@media (hover: none), (pointer: coarse) {
	.cx-studio__tip--fine {
		display: none;
	}

	.cx-studio__tip--coarse {
		display: inline;
	}
}

/* No videos: the hint shows beside the add slot; it steps aside once one exists. */
.cx-studio__strip:has(.cx-shot) .cx-studio__hint {
	display: none;
}

/* Toast */
.cx-studio__toast {
	position: absolute;
	top: 58px;
	right: 16px;
	z-index: 6;
	margin: 0 !important;
	padding: 7px 11px;
	border-radius: 6px;
	background: #ECECEC;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
	color: #111 !important;
	font-family: var(--cx-font);
	font-size: 12.5px !important;
	font-weight: 700;
	line-height: 1.3;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cx-studio__toast:empty {
	display: none;
}

.cx-studio__toast.is-visible {
	opacity: 1;
	transform: none;
}

.cx-studio__toast.is-error {
	background: #2A2A2A;
	color: #ECECEC !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.cx-studio:not(.is-tabbed) .cx-studio__toast {
	top: 12px;
}

/* Tile menu (appended to body) */
.cx-media-menu {
	position: fixed;
	z-index: 10060;
	display: grid;
	min-width: 196px;
	max-width: 260px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	background: #1B1B1B;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
	font-family: var(--cx-font, 'Manrope', system-ui, sans-serif);
	animation: cx-media-menu-in 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cx-media-menu[hidden] {
	display: none;
}

@keyframes cx-media-menu-in {
	from { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

.cx-media-menu__item {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 4px;
	background: none;
	box-shadow: none;
	color: #ECECEC;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.cx-media-menu__item:hover,
.cx-media-menu__item:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.cx-media-menu__item.is-danger {
	margin-top: 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0 0 4px 4px;
	color: #FF7682;
}

.cx-media-menu__question {
	margin: 0 !important;
	padding: 10px 10px 2px;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700;
}

.cx-media-menu__note {
	display: block;
	padding: 2px 10px 0;
	color: #9A9A9A;
	font-size: 12.5px;
	line-height: 1.4;
}

.cx-media-menu__confirm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 10px 6px 6px;
}

.cx-media-menu__keep,
.cx-media-menu__remove {
	min-height: 36px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: none;
	box-shadow: none;
	color: #ECECEC;
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
}

.cx-media-menu__remove {
	border-color: #B80F29;
	background: #B80F29;
	color: #fff;
}

.cx-media-menu__keep:hover {
	background: rgba(255, 255, 255, 0.06);
}

.cx-media-menu__remove:hover {
	background: #D71936;
}

.cx-media-menu__keep:focus-visible,
.cx-media-menu__remove:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 559px) {
	.cx-studio__toast {
		top: 54px;
		right: 50%;
		transform: translate(50%, -4px);
	}

	.cx-studio__toast.is-visible {
		transform: translate(50%, 0);
	}

	.cx-studio__tip {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-media-menu,
	.cx-shot.is-pending {
		animation: none;
	}

	.cx-shot__ring-bar,
	.cx-studio__toast {
		transition: none;
	}
}

/* Phones: shorter microcopy (30 Sep). The slot's "Tap to choose" goes (the + and
   "Add photos" already say it); the stories invite keeps a one-line value prop. */
.cx-story-cta__short {
	display: none;
}

@media (max-width: 559px) {
	.cx-media--studio .cx-slot .for-browsers {
		display: none;
	}

	.cx-story-cta__long {
		display: none;
	}

	.cx-story-cta__short {
		display: inline;
	}
}

/* Phones (1 Oct): the card and balance carry the wallet; drop the "Your wallet" title and
   top-up nudge. The header row stays only when the Sandbox badge needs it. */
@media (max-width: 559px) {
	#wallet-section .cx-wallet-who {
		display: none;
	}

	#wallet-section .cx-wallet-head:not(:has(.wallet-mode-badge:not([hidden]))) {
		display: none;
	}
}

/* Photos & videos menu (1 Oct): "Sell privately" sits apart above the arrange actions. */
.cx-media-menu__item.is-sell {
	gap: 8px;
	margin-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px 4px 0 0;
}

.cx-media-menu__item.is-sell svg {
	flex: 0 0 auto;
	color: #B4B4B4;
}

/* UI fixes 2026-10-11: an open typographic offer, aligned with the workspace. */
body.cx-owner-view .cx-ws #self-service-promo-ribbon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 16px 24px;
	padding: 24px 0;
	border: 0;
	border-block: 1px solid var(--cx-rule);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon > svg {
	display: none;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-promo__text {
	gap: 10px;
	min-width: 0;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-promo__badge {
	color: var(--cx-ink-2);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-notice__title {
	max-width: 26ch;
	font-size: clamp(22px, 2.4vw, 28px) !important;
	font-weight: 600;
	line-height: 1.25 !important;
	letter-spacing: -.025em;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-notice__text {
	max-width: 60ch;
	font-size: 13px !important;
	line-height: 1.6 !important;
}
body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-promo__countdown {
	grid-column: 2;
	padding-top: 2px;
	color: var(--cx-ink-3);
	font-size: 12px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
	body.cx-owner-view .cx-ws #self-service-promo-ribbon {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding-block: 20px;
	}
	body.cx-owner-view .cx-ws #self-service-promo-ribbon .cx-promo__countdown {
		grid-column: 1;
		padding-top: 0;
	}
}

/* ==================================================================
   Wallet hierarchy (15 Oct). One reading order:
   1. Which balance (Wallet / Content / Love, each tab shows its amount)
   2. The balance, one insight line under it, quiet meta, then actions
   3. The plan module: heading + offer tag + plan select, then lengths
   The card is the brand moment on desktop and a thumbnail on phones.
   The chip row that repeated the tabs is retired (tabs carry amounts).
   ================================================================== */
#wallet-section .cx-wallet-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

#wallet-section .wl-mix {
	display: none !important;
}

/* ── Balance column ── */
@media (min-width: 768px) {
	#wallet-section .cx-wallet-top {
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
		gap: 44px;
	}
}

#wallet-section .cx-wallet-side .cx-wallet-body {
	gap: 22px;
}

#wallet-section .cx-wallet__labelrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

#wallet-section .cx-wallet__labelrow .cx-wallet__label {
	margin: 0 !important;
	color: var(--cx-ink-3) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}

#wallet-section .cx-wallet-stat--balance .cx-wallet-amount {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 8px 0 0 !important;
}

#wallet-section .cx-wallet-stat--balance .wallet-currency {
	color: var(--cx-ink-3) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
}

#wallet-section .cx-wallet-stat--balance .wallet-amount {
	color: var(--cx-ink) !important;
	font-size: 44px !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.03em !important;
	font-variant-numeric: tabular-nums;
}

/* The one sentence that matters: what the balance does for her. */
#wallet-section .cx-wallet-insight {
	display: block;
	margin: 10px 0 0 !important;
	color: var(--cx-ink-2) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
}

#wallet-section .cx-wallet-stat--balance .cx-wallet__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 14px;
	margin-top: 8px !important;
	color: var(--cx-ink-3) !important;
	font-size: 12.5px !important;
}

/* "Available to spend" repeats the label; keep the line for empty, multi-currency or unavailable states. */
#wallet-section .wallet-balance-sub:not(.wallet-empty-hint):not(:has(.wallet-balance-line)) {
	display: none !important;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn {
	min-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--cx-ink-2) !important;
	font-family: var(--cx-font) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	text-decoration: underline;
	text-decoration-color: var(--cx-rule-strong);
	text-underline-offset: 3px;
	cursor: pointer;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn:hover {
	color: var(--cx-ink) !important;
	text-decoration-color: currentColor;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 2px;
}

#wallet-section .cx-wallet-stat--topup {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	color: var(--cx-ink-3);
	font-size: 13px;
}

#wallet-section .cx-wallet-stat--topup .cx-wallet__label {
	margin: 0 !important;
	font-size: 13px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

#wallet-section .cx-wallet-stat--topup .cx-wallet-topup-amount {
	color: var(--cx-ink-2);
	font-size: 13px !important;
	font-weight: 700;
}

#wallet-section .cx-wallet-side .cx-wallet-actions {
	gap: 10px;
}

/* ── Wallet / Content / Love: a segmented control with amounts ── */
#wallet-section .wl-tabs {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 2px;
	width: 100%;
	max-width: 320px;
	padding: 3px;
	border: 1px solid var(--cx-rule);
	border-radius: 6px;
	background: #121212;
}

#wallet-section .wl-tab {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	gap: 2px 6px;
	min-height: 48px;
	padding: 6px 10px;
	border: 0;
	border-radius: 4px;
	color: var(--cx-ink-3);
	font-size: 12.5px;
	text-align: left;
	transition: background-color var(--cx-fast) var(--cx-ease), color var(--cx-fast) var(--cx-ease);
}

#wallet-section .wl-tab[aria-selected='true'] {
	border-bottom-color: transparent;
	background: #262626;
	color: var(--cx-ink);
}

#wallet-section .wl-tab:hover {
	color: var(--cx-ink);
}

#wallet-section .wl-tab:focus-visible {
	outline: 2px solid var(--cx-ink);
	outline-offset: 1px;
}

#wallet-section .wl-tab .wl-tab__amount {
	flex-basis: 100%;
	min-width: 0;
	overflow: hidden;
	color: var(--cx-ink-3);
	font-size: 11.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#wallet-section .wl-tab[aria-selected='true'] .wl-tab__amount {
	color: var(--cx-ink-2);
}

/* ── Plan module ── */
#wallet-section .cx-wallet-goal {
	margin-top: 28px;
	padding-top: 24px;
}

#wallet-section .cx-wallet-goal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 16px;
}

#wallet-section .cx-wallet-goal__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	min-width: 0;
}

#wallet-section .cx-wallet-goal__head .cx-wallet-goal__label {
	margin: 0 !important;
	color: var(--cx-ink) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	text-transform: none;
}

/* The self-service offer becomes a small tag; prices below already include it. */
#wallet-section .cx-wallet-goal__head .wallet-promo-note {
	display: inline-flex !important;
	align-items: center;
	margin: 0 !important;
	padding: 3px 8px !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: rgba(112, 213, 171, 0.1) !important;
}

#wallet-section .cx-wallet-goal__head .wallet-promo-note[hidden] {
	display: none !important;
}

#wallet-section .cx-wallet-goal__head .wallet-promo-note strong {
	color: var(--cx-success) !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#wallet-section .cx-wallet-goal__head .wallet-promo-note [data-wallet-promo-copy] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

#wallet-section .cx-wallet-goal__head .cx-wallet-goal__picker {
	gap: 10px;
	margin: 0;
	color: var(--cx-ink-3);
	font-size: 13px;
}

#wallet-section .cx-wallet-goal__head .cx-wallet-goal__picker select {
	min-width: 132px;
	padding-block: 8px;
	border-color: var(--cx-rule-strong);
	background-color: #121212;
	font-size: 14px;
	font-weight: 700;
}

/* ── Refresh is an icon (round 2, 15 Oct) ── */
#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn {
	position: relative;
	width: 28px;
	height: 28px;
	min-height: 28px !important;
	border: 1px solid var(--cx-rule-strong) !important;
	border-radius: 6px !important;
	color: var(--cx-ink-2) !important;
	text-decoration: none;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn .wallet-refresh-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66L20 8.5'/%3E%3Cpath d='M20 3.5v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.34-5.66L20 8.5'/%3E%3Cpath d='M20 3.5v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn:hover {
	border-color: var(--cx-ink-3) !important;
	color: var(--cx-ink) !important;
}

#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn.is-loading::before {
	animation: cx-wallet-spin 0.8s linear infinite;
}

@keyframes cx-wallet-spin {
	to { transform: rotate(360deg); }
}

/* ── Phones (round 2): the large card stays the hero; one compact balance
   row with a refresh icon; no supporting microcopy; plan lengths scroll
   sideways as snap cards. ── */
@media (max-width: 767px) {
	#wallet-section .cx-wallet-top {
		gap: 18px;
	}

	#wallet-section .wl-tabs {
		max-width: none;
	}

	#wallet-section .cx-wallet-stat--balance {
		position: relative;
		padding-right: 44px;
	}

	#wallet-section .cx-wallet-stat--balance .cx-wallet-amount {
		margin-top: 4px !important;
	}

	#wallet-section .cx-wallet-stat--balance .wallet-amount {
		font-size: 30px !important;
		letter-spacing: -0.02em !important;
	}

	#wallet-section .cx-wallet-stat--balance .wallet-currency {
		font-size: 13px !important;
	}

	#wallet-section .cx-wallet-insight,
	#wallet-section .cx-wallet-stat--balance .wallet-last-updated,
	#wallet-section .cx-wallet-stat--balance .cx-wallet__earned,
	#wallet-section .cx-wallet-stat--balance .wallet-balance-sub:not(:has(.wallet-balance-line)),
	#wallet-section .cx-wallet-stat--topup {
		display: none !important;
	}

	#wallet-section .cx-wallet-stat--balance .cx-wallet__meta {
		margin: 0 !important;
	}

	#wallet-section .cx-wallet-stat--balance .cx-wallet-refresh-btn {
		position: absolute;
		top: 2px;
		right: 0;
		width: 36px;
		height: 36px;
	}

	#wallet-section .cx-wallet-actions .cx-wallet-topup-btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	/* Plan module: heading, then offer tag and plan select on one line. */
	#wallet-section .cx-wallet-goal {
		margin-top: 22px;
		padding-top: 20px;
	}

	#wallet-section .cx-wallet-goal__head {
		gap: 10px 12px;
		margin-bottom: 14px;
	}

	#wallet-section .cx-wallet-goal__head .cx-wallet-goal__intro {
		display: contents;
	}

	#wallet-section .cx-wallet-goal__head .cx-wallet-goal__label {
		flex-basis: 100%;
		font-size: 16px !important;
	}

	#wallet-section .cx-wallet-goal__head .cx-wallet-goal__picker {
		margin-left: auto;
	}

	#wallet-section .cx-wallet-goal__head .cx-wallet-goal__picker > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	#wallet-section .cx-wallet-goal__head .cx-wallet-goal__picker select {
		min-width: 0;
		min-height: 40px;
		width: auto;
	}

	/* Lengths as a sideways snap row; the next option peeks in. */
	#wallet-section .cx-wallet-goal__tiles {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 2px !important;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}

	#wallet-section .cx-wallet-goal__tiles::-webkit-scrollbar {
		display: none;
	}

	#wallet-section .cx-wallet-goal__tile {
		flex: 0 0 74%;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"length"
			"price"
			"meter"
			"state"
			"action";
		gap: 6px;
		padding: 16px;
		scroll-snap-align: start;
	}

	#wallet-section .cx-wallet-goal__tile:last-child {
		margin-right: 18% !important;
	}

	#wallet-section .cx-wallet-goal__length {
		font-size: 13px;
	}

	#wallet-section .cx-wallet-goal__price {
		color: var(--cx-ink);
		font-size: 20px;
		font-weight: 800;
		letter-spacing: -0.02em;
	}

	#wallet-section .cx-wallet-goal__action {
		justify-self: stretch;
		margin-top: 6px;
	}

	#wallet-section .cx-wallet-goal__tile:not(.is-focus) .cx-wallet-goal__action {
		justify-self: start;
		margin-top: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#wallet-section .cx-wallet__meta .cx-wallet-refresh-btn.is-loading::before {
		animation: none;
	}
}
