h2 { text-align: center; font-size: 200%; font-weight: 300; }
p { text-align: center; font-size: 110%; font-weight: 300; color: #647079; }

.header.header-vendor { line-height: normal; height: auto; position: static; text-align: center; }
.header.header-vendor a { display: inline-block; text-align: center; padding: 1em 0; box-sizing: border-box; height: 100%; line-height: normal; border: none; text-decoration: none; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%;	}
.header.header-vendor img { display: inline-block; }
.header.header-vendor a span { font-size: 200%; display: inline-block; }
.header.header-vendor .logo {	}
.header.header-vendor .sub { display: block; text-align: center; color: #fff; font-size: 60%; margin: 0.25em 0 0 0; max-width: none; }
.header.header-vendor .sub img { width: 6em; vertical-align: middle; }

.root-vendor #layout { margin-top: 1.5em; }
.root-vendor #body { margin-top: 0; }

.members-intro { width: 100%; margin: -2em 0 2em -2em; box-sizing: content-box; padding: 1em 2em; border-bottom: 1px solid #E8E8E8; }
.members-intro:after { content: ""; display: table; clear: both; }
.members-intro img { border-radius: 50%; float: left; width: 3em; margin: 0 1em 0 0; }
.members-intro p { margin: 0; line-height: 2.5em; cursor: default; }

.members-account-title { letter-spacing: normal; }

.members-form { position: relative; }
.members-form-signin fieldset { border: none; margin: 0 auto; padding: 1.6em; }
.members-form .row {	}
.members-form .row:last-child {	}
.members-form label { font-weight: bold; }
.members-form label .info { font-weight: 300; }
.members-form h3 span { color: #2C7BAB; font-weight: bold; }
.row-account-name {	}
.row-account-name-info { padding: 1em 0; background: #FFFBFB; border: 2px solid #3AA3E3; margin: 0 0 0.5em; text-align: center; }
.account-name-prefix, .account-name-suffix { display: inline-block; color: #797979; font-size: 110%; }
.row-account-name input.account-name { display: inline-block; width: 50%; font-size: 140%; border: none; border-bottom: 2px solid #cbdded; box-shadow: none !important; background: transparent; text-align: center; color: #116DA5; }
.row-account-name input.account-name:focus { outline: none; border-bottom-color: #3e91d5; }
.account-warning { font-size: 90%; color: #9e3114; }

.img-success { display: block; margin: 0 auto 1em; width: 100%; max-width: 30em; position: absolute; left: 50%; margin-left: -15em; top: -2em; opacity: 0.2; }

.ui-help-video { margin: 0 1em 1em 1em; background: #000; padding-bottom: 53.3%; height: 0; }

.root-members #body { background: #fff; padding: 2em; margin-top: 0; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 0.25em; border: 1px solid #e8e8e8; max-width: 50em; }
.root-members #layout { width: 96%; margin: 0 auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.root-members .pure-g > div { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.root-members .pure-u-sm-1-2 { padding-right: 0.5em; }
.root-members .pure-u-sm-1-2 + .pure-u-sm-1-2 { padding-right: 0; padding-left: 0.5em; }
.root-members .pure-u-sm-1-3 { padding-right: 0.5em; }
.root-members .pure-u-sm-1-3 + .pure-u-sm-1-3 { padding-left: 0.5em; }
.root-members .pure-u-sm-1-3 + .pure-u-sm-1-3 + .pure-u-sm-1-3 { padding-right: 0; padding-left: 0.5em; }

.root-members .footer { width: 96%; margin: 0 auto; padding: 0 0 2em 0; text-align: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;	}
.root-members .footer a { float: none; position: static; }
.root-members .footer p { text-align: center; }

.members-menu { padding: 0; list-style: none; margin: 1.5em auto 0; max-width: 48em; position: relative; top: 1px; min-height: 3.2em; }
.members-menu:after { content: ""; display: table; clear: both; }
.members-menu > li { display: inline-block; }
.members-menu > li a { text-decoration: none; color: #464646; cursor: pointer; padding: 0.7em 1.15em; font-size: 110%; display: inline-block; border-top-left-radius: 0.25em; border-top-right-radius: 0.25em; border-left: 1px solid rgba(0, 0, 0, 0); border-right: 1px solid rgba(0, 0, 0, 0); }
.members-menu a:hover {	}
.members-menu li.active a { background: #fff; border: 1px solid #e8e8e8; border-bottom-color: #fff; cursor: default; }
.members-menu .members-menu-signout { float: right; }
.members-menu .show-sm { display: block; }
.members-menu .hidden-sm { display: none; }

.root-members .user-box { float: right; margin: -1em 1.5em 0 0; }
.root-members .user-box .user-box-avatar { border: none; background: none; }
.root-members .user-box .user-box-avatar-link:hover,
.root-members #user-box.active { background: transparent; }
.root-members .user-box .user-box-avatar-link:hover i,
.root-members #user-box.active i { color: #bdc0c4; }
.root-members .user-box ul:before { border-bottom-color: #cacaca; }
.root-members #user-box ul { top: 35px; }
.root-members #user-box.active ul { top: 45px; }

.members-account-list { list-style: none; padding: 0; margin: 0; }
.members-account-list li { border-radius: 0.25em; border: 1px solid #EFEFEF; padding: 0.5em; margin: 0 0 0.5em; line-height: 2em; overflow: hidden; position: relative; display: flex; align-items: center; }
.members-account-list li .badge { cursor: default; font-size: 12px; color: #0dc0c1; border: 1px solid #0dc0c1; line-height: normal; padding: 0.1em 0.3em 0.15em 0.4em; font-style: normal; border-radius: 0.25em; display: inline-block; margin: 0 1em 0 0; }
.members-account-list li:after { content: ""; display: table; clear: both; }
.members-account-list li:hover { background-color: #fbfbfb; }
.members-account-list li span { display: inline-block; cursor: default; }
.members-account-list li span i { font-style: normal; font-weight: bold; }
.members-account-list .members-list-status-wrap { text-align: right; width: 7.5em; }
.members-account-list .members-account-list-status { border-radius: 0.25em; border: 1px solid #1da4dd; background-color: #f1fbff; font-size: 90%; cursor: default; padding: 0.1em 0.75em; min-width: 4.5em; text-align: center; }
.members-account-list .members-account-list-status-owner { background-color: #f4f5ff; color: #1E70D2; border-color: #6296ed; }
.members-account-list .members-account-list-status-user { background-color: #F3FFFA; color: #2A8C60; border-color: #21c3c5; }
.members-account-list .members-account-list-status-client { background-color: #FFF4EA; color: #C15D02; border-color: #E87223; }
.members-account-list .members-account-list-status-affiliate { background-color: #F3FFFA; color: #1c9596; border-color: #21c3c5; }
.members-account-list .members-account-list-name { flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.members-account-list.members-account-list-accounts.members-account-list-accounts-anypro li:not(.account_pro) .members-account-list-name { text-indent: 3.4em; }
.members-account-list li .pure-button { margin-left: 0.5em; }

.members-affiliate-dashboard-explain { border-radius: 1em; background: #fafafa; padding: 1em 2em; border: 1px solid #fafafa; transition: border-color 150ms; overflow: hidden; position: relative; }
.members-affiliate-dashboard-explain img { position: absolute; opacity: 0.1; top: -9em; left: 12em; }
.members-affiliate-dashboard-explain:hover { border-color: #E1EBE6; }
.members-affiliate-dashboard-explain p { font-weight: normal; margin: 0 2em 0 0; cursor: default; position: relative; text-align: left; color: #818F98; }
.members-affiliate-dashboard-explain .pure-button { margin-top: 1.2em; position: relative; }

.root-members fieldset { padding: 0; }
.root-members fieldset .row span { font-size: 90%; }

.root-members #body p { text-align: left; font-weight: normal; }
.root-members .pure-controls.controls-full { margin-right: 0; }

.root-affiliates #body,
.root-contracts #body { background: #fff; padding: 2em; margin-top: 0; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 0.25em; border: 1px solid #e8e8e8; max-width: 54em; }
.root-affiliates #layout,
.root-contracts #layout { width: 96%; max-width: 60em; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.root-affiliates .header h1,
.root-contracts .header h1 { line-height: 70px; width: 95%; text-align: center; margin: 0 auto; padding: 0; }
.root-affiliates .header.header-dark h1,
.root-contracts .header.header-dark h1 { color: #fff; }
.root-affiliates .header h1 img,
.root-contracts .header h1 img { display: inline-block; max-width: 100%; max-height: 50px; margin: 0 auto; vertical-align: middle; }
.root-affiliates .header h1 .name,
.root-contracts .header h1 .name { margin-left: 0.5em; }

.root-affiliates .header[data-account-id="11"][data-product-id="13"],
.root-affiliates .header[data-account-id="11"][data-product-id="65"],
.root-affiliates .header[data-account-id="11"][data-product-id="66"],
.root-affiliates .header[data-account-id="11"][data-product-id="67"] { box-shadow: none; background: transparent; padding: 2em 0 0; }
.root-affiliates .header[data-account-id="11"][data-product-id="13"] h1 img,
.root-affiliates .header[data-account-id="11"][data-product-id="65"] h1 img,
.root-affiliates .header[data-account-id="11"][data-product-id="66"] h1 img,
.root-affiliates .header[data-account-id="11"][data-product-id="67"] h1 img { max-height: none; max-width: 25em; width: 100%; }

.root-affiliates .header[data-account-id="1"][data-product-id="149"] { box-shadow: none; background: transparent; padding: 2em 0 0; }
.root-affiliates .header[data-account-id="1"][data-product-id="149"] h1 img { max-height: none; max-width: 25em; width: 100%; }

h3 {	}
h4 {	}

.footer-actions { font-size: 90%; margin: -4em auto 0 auto; width: 96%; max-width: 55em; text-align: right; position: relative; }
.footer-actions a { text-decoration: none; color: #8e8e8e; border-bottom: 1px dotted #8e8e8e; cursor: pointer; }
.footer-actions a:hover { color: #4b7bd7; border-color: #4b7bd7; }

.footer { font-size: 80%; margin: 2em auto 0; max-width: 50em; }
.footer p { margin: 0; text-align: left; }
.footer a { float: right; position: relative; top: 4px; }

.members-profile-control-btn { min-width: 9em; }
.members-profile-control-btn-account { background-color: #3A4752 !important;}
#members-profile-2factor-enabled { display: none; }
.tc-2factor-enabled #members-profile-2factor-enabled { display: flex; }
.tc-2factor-enabled #members-profile-2factor { display: none; }

.row-customize-upload { display: flex; align-items: center; position: relative; }
.row-customize-upload .uploader-preview-wrap { min-height: 6em; padding: 0.5em; position: relative; text-align: center; background: #f9fafb; border: 1px solid #E9E9E9; border-radius: 0.25em; }
.row-customize-upload .uploader-preview img { display: block; margin: 0 auto; max-width: 100%; max-height: 6em; }
.row-customize-upload .uploader-delete { display: none; position: absolute; opacity: 0.8; cursor: pointer; right: 0.5em; top: auto; bottom: 0.5em; color: #D24A17; transition: bottom 150ms, opacity 150ms; }
.row-customize-upload:hover .uploader-delete { bottom: 0.7em; opacity: 1; }
.row-customize-upload.uploader-hasimage .uploader-delete { display: block; }

.root-site-design_export h2 { margin: 0; padding: 1.5em 0 1em; font-size: 210%; line-height: normal; }
.design-export-wrapper { background: #EAEDF1; }
.design-export-inner { max-width: 75em; width: 90%; margin: 0 auto; padding: 0 0 3em; }
.design-export-screenshot_wrap { position: relative; border: 3px solid #C7CCD4; border-radius: 0.5em; margin: 0 auto 1em auto; overflow-y: scroll; background: #fff; min-height: 60em; max-height: 90em; min-height: 46vh; max-height: 73vh; }
.design-export-screenshot_wrap::before { content: ""; display: block; width: 30px; height: 30px; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 50%; border: solid 4px rgba(0, 0, 0, 0.2); border-top-color: #3b4752; margin: 0 auto; -webkit-animation: spin 1s infinite linear; position: absolute; top: 50%; left: 50%; margin-top: -15px; margin-left: -15px; }
.design-export-screenshot_inner { width: 100%; height: 100%; position: relative; }
.design-export-screenshot { display: block; width: 100%; }
.design-export-meta_desc { max-width: 46em; margin: 0 auto 0; padding-bottom: 2em; text-align: center; display: block; font-size: 150%; }
.design-export-promo { padding-top: 2em; margin-left: auto; margin-right: auto; max-width: 46em; width: 90%; }
.design-export-promo h4 { margin: 0 0 1.5em; padding: 0; font-size: 150%; }
.design-export-promo h4 span { font-weight: normal; font-size: 70%; display: block; opacity: 0.8; letter-spacing: normal; margin: 0.5em 0 0 0; }
.design-export-promo ol { text-align: left; margin: 0 auto 3em; padding: 0; max-width: 35em; }
.design-export-promo ol li { font-size: 130%; margin: 0 0 1em; font-weight: bold; }
.design-export-promo ol li span { font-weight: normal; display: block; }
.design-export-promo .video-wrap { overflow: hidden; border: 1px solid #e8e8e8; border-radius: 0.5em; max-width: 40em; margin: 0 auto 2em; }
.design-export-promo video { display: block; width: 100%; }
#design-export-url { max-width: 20em; }
.design-export-promo .design-export-cta { background-color: #F97C15 !important; }

@media screen and (max-width: 35.5em) {
	.root-site .box { padding: 1em; }
	.root.root-members .pure-u-sm-1-2 { padding-right: 0; padding-left: 0; }
	.root-members .pure-controls.controls-full { margin: 0; text-align: right; }
	.root-members .pure-controls.controls-full .pure-button { margin: 0; }

	.root-site .members-menu .members-menu-signout { display: none; }
	.members-menu .show-sm { display: none; }
	.members-menu .hidden-sm { display: block; }
	.members-affiliate-dashboard-explain p { margin-right: 0; }
}

@media screen and (max-width: 25em) {
	.members-intro p { line-height: 1.5; }

	.members-affiliate-dashboard-explain {	}

}
.fa-x:before {
    content: "𝕏";
    font-size: 1.3em;
}

/* Account Selection screen — standalone full-screen reskin, scoped to .tc-account-page so other member tabs keep the old chrome. */
.tc-account-page { margin: 0; background: #f6f8f9; }
.tc-account-page,
.tc-account-page input,
.tc-account-page button,
.tc-account-page a {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.tc-account-layout { display: flex; align-items: stretch; min-height: 100vh; }

/* Left panel (teal) */
.tc-account-aside {
	flex: 0 0 480px;
	max-width: 480px;
	box-sizing: border-box;
	padding: 64px 48px;
	background: #006b70;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.tc-account-aside-top { width: 100%; display: flex; flex-direction: column; align-items: center; }
.tc-account-welcome { width: 100%; }
.tc-account-brand { display: flex; flex-direction: column; align-items: center; }
.tc-account-brand-logo { width: 36px; height: 36px; display: block; }
.tc-account-brand-name {
	margin-top: 12px;
	font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: normal;
	color: #ffffff;
}
.tc-account-welcome { margin-top: 48px; }
.tc-account-welcome-label {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
}
.tc-account-welcome-name {
	margin: 4px 0 0;
	max-width: 100%;
	font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 500;
	font-size: 36px;
	line-height: normal;
	color: #ffffff;
	overflow-wrap: anywhere;
}
.tc-account-pill {
	margin-top: 28px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	padding: 7px 16px;
	border: 1px solid #ffffff;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
}
.tc-account-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff; }
.tc-account-aside-support {
	margin: auto 0 0;
	padding-top: 28px;
	font-size: 14px;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.7);
}
.tc-account-aside-support a { color: inherit; text-decoration: none; }
.tc-account-aside-support a:hover { text-decoration: underline; }

/* Right panel */
.tc-account-main {
	flex: 1 1 auto;
	box-sizing: border-box;
	height: 100vh;
	background: #f6f8f9;
	display: flex;
	flex-direction: column;
	padding: 0 40px;
}
/* Wrapper vertically centres the column within the (viewport-tall) panel. */
.tc-account-col-wrap {
	flex: 1 1 auto;
	min-height: 0;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 64px 0 24px;
}
/* Flex stack: pinned head + scrolling list + pinned sign-out, capped at panel height so long lists scroll internally. */
.tc-account-col {
	width: 100%;
	max-width: 560px;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.tc-account-scroll {
	flex: 0 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	/* keep cards at full 560px width with the scrollbar in a right-side gutter */
	margin-right: -20px;
	padding-right: 20px;
}

.tc-account-head { flex: 0 0 auto; margin-bottom: 24px; }
.tc-account-title {
	margin: 0;
	font-weight: 500;
	font-size: 24px;
	line-height: 32px;
	color: #2a3648;
	text-align: left;
	letter-spacing: 0;
}
.tc-account-subtitle {
	margin: 16px 0 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #364152;
	text-align: left;
}

.tc-account-section-title {
	margin: 24px 0 12px;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	color: #364152;
	letter-spacing: 0;
	text-align: left;
}
.tc-account-head + .tc-account-section-title { margin-top: 0; }

.tc-account-list { list-style: none; margin: 0; padding: 0; }

.tc-account-card {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	width: 100%;
	padding: 16px;
	margin: 0 0 16px;
	background: #ffffff;
	border: 1px solid #e8ecef;
	border-radius: 10px;
	line-height: normal;
	overflow: visible;
	cursor: pointer;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.tc-account-card:last-child { margin-bottom: 0; }
.tc-account-card:hover { border-color: #d1d7de; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

.tc-account-card-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 22px;
	background: #ecfdfc;
	color: #006b70;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	cursor: default;
}
.tc-account-card-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}
.tc-account-card-name {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
}
.tc-account-card-host {
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	color: #364152;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.tc-account-card-host i {
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	color: #2a3648;
}
.tc-account-card-badges { display: flex; gap: 6px; }

.tc-account-badge {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	padding: 2px 8px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	color: #364152;
	white-space: nowrap;
	cursor: default;
}
.tc-account-badge-type { background: #bee3f8; }
.tc-account-badge-pro { background: #c6f6d5; }

.tc-account-card-btn {
	flex: 0 0 auto;
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 8px 18px;
	border: none;
	border-radius: 8px;
	background: #006b70;
	color: #ffffff;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 120ms ease;
}
.tc-account-card-btn:hover { background: #00585c; color: #ffffff; }

.tc-account-signout {
	flex: 0 0 auto;
	margin: 24px 0 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #364152;
	text-align: left;
}
.tc-account-signout a { color: #006b70; text-decoration: none; }
.tc-account-signout a:hover { text-decoration: underline; }

.tc-account-copyright {
	flex: 0 0 auto;
	margin: 0;
	padding-bottom: 40px;
	text-align: center;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #8493a8;
}

/* Responsive: stack the panels on small screens */
@media screen and (max-width: 767px) {
	.tc-account-layout { flex-direction: column; }
	.tc-account-aside {
		flex: 0 0 auto;
		max-width: none;
		width: 100%;
		padding: 32px 24px;
	}
	.tc-account-welcome { margin-top: 32px; }
	.tc-account-welcome-name { font-size: 28px; }
	.tc-account-main {
		height: auto;
		min-height: auto;
		padding: 0 20px;
	}
	.tc-account-col-wrap {
		flex: 1 1 auto;
		justify-content: flex-start;
		padding: 32px 0 24px;
	}
	/* On small screens, page-scroll instead of an internal list scroll. */
	.tc-account-col { max-height: none; }
	.tc-account-scroll {
		overflow: visible;
		margin-right: 0;
		padding-right: 0;
	}
	.tc-account-copyright { padding-bottom: 32px; }
}
/* My Profile reskin — UI-only, scoped to .tc-profile-page. */
/* Members theme caps content at 600px; widen to the design's 992px card width only on the profile page (:has) so other members tabs keep their column. */
.root-members #layout:has(.tc-profile-page) { max-width: 1104px; }
.root-members #body.content:has(.tc-profile-page) { max-width: 1104px; margin-left: auto; margin-right: auto; }

/* The admin body defaults to #f6f8f9; paint the canvas white on the profile page (like the dashboard reskin) so no grey shows in the gutters. transition:none avoids a grey→white fade on load. */
body:has(.tc-profile-page),
body:has(.tc-profile-page) #layout { background: #ffffff; }
body:has(.tc-profile-page) { transition: none; }

.tc-profile-page {
	box-sizing: border-box;
	max-width: 1216px;
	margin: 0 auto;
	padding: 8px 32px 48px;
	background: #ffffff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #364152;
}
.tc-profile-page *,
.tc-profile-page *::before,
.tc-profile-page *::after { box-sizing: border-box; }
.tc-profile-form { margin: 0; }
.tc-profile-form fieldset { border: 0; margin: 0; padding: 0; }
.tc-profile-page .tc-svg { display: block; }
.tc-profile-page .members-intro { display: none; }
.tc-profile-page .callout { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; line-height: 20px; text-align: left; }
.tc-profile-page .callout-success { background: #ecfdf3; border: 1px solid #6ce9a6; color: #027a48; }
.tc-profile-page .callout-error { background: #fef3f2; border: 1px solid #fda29b; color: #b42318; }

.tc-profile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 0;
}
.tc-profile-title {
	margin: 0;
	font-size: 24px;
	line-height: 32px;
	font-weight: 600;
	color: #364152;
	text-align: left;
}
.tc-profile-header-actions { display: flex; align-items: center; gap: 12px; }
.tc-profile-page .pure-button.tc-profile-save {
	background: #006b70;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
}
.tc-profile-page .pure-button.tc-profile-save:hover { background: #00868c; }

.tc-profile-card {
	background: #fff;
	border: 1px solid #e8ecef;
	border-radius: 12px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	padding: 24px;
}
.tc-profile-card + .tc-profile-card { margin-top: 40px; }
.tc-profile-card > * + * { margin-top: 24px; }
.tc-profile-card-title {
	margin: 0;
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: #364152;
	text-align: left;
}

.tc-profile-card .pure-g {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 16px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	letter-spacing: normal;
}
.tc-profile-card .pure-g > [class*="pure-u"] {
	flex: 1 1 calc(50% - 8px);
	min-width: 0;
	margin: 0;
	padding: 0;
}
.tc-profile-card .pure-g > .pure-u-1:not(.pure-u-sm-1-2):not(.pure-u-sm-1-3) { flex-basis: 100%; }

.tc-profile-card .row { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.tc-profile-card .row > label,
.tc-profile-card .tc-profile-uploader-label {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: #2b384a;
}
.tc-profile-card .row > label > span { font-weight: 400; color: #8493a8; }
.tc-profile-card .row > label > i { color: #8493a8; }
.tc-profile-help { font-size: 12px; line-height: 16px; color: #8493a8; }

.tc-profile-card .row input[type="text"],
.tc-profile-card .row input[type="email"],
.tc-profile-card .row select {
	width: 100%;
	margin: 0;
	padding: 8px;
	border: 1px solid #d1d7de;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: #364152;
	height: auto;
}
.tc-profile-card .row input:focus,
.tc-profile-card .row select:focus {
	border-color: #006b70;
	box-shadow: 0 0 0 1px #006b70;
	outline: none;
}
.tc-profile-card .row input:disabled {
	background: #e8ecef;
	color: #8493a8;
	cursor: not-allowed;
}

.tc-profile-uploader.row-customize-upload {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
}
.tc-profile-uploader .uploader-preview-wrap { display: none; margin: 0 0 8px; }
.tc-profile-uploader.uploader-hasimage .uploader-preview-wrap { display: block; }
.tc-profile-page .uploader-trigger.tc-profile-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 48px;
	border: 2px dashed #e8ecef;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	cursor: pointer;
	float: none;
	position: static;
	margin: 0;
}
.tc-profile-dropzone:hover { border-color: #d1d7de; background: #f6f8f9; }
.tc-profile-dropzone-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; color: #364152; }
.tc-profile-dropzone-sub { margin: 0; font-size: 14px; line-height: 20px; color: #8493a8; }
.tc-profile-dropzone-sub .hint { color: #afbbc9; }
.tc-profile-page .tc-profile-dropzone-sub .hint i { font-size: 13px; line-height: 1; }

.tc-profile-checkgroup { display: flex; flex-direction: column; gap: 16px; }
.tc-profile-card .checkbox { margin: 0; }
.tc-profile-page .checkbox label { padding-left: 28px !important; margin: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: #364152; }
.tc-profile-page .checkbox label:before { width: 20px; height: 20px; border: 1px solid #d1d7de; border-radius: 4px; background: #fff; }
.tc-profile-page .checkbox input[type="checkbox"]:checked + label:before { border-width: 1px; border-color: #006b70; background-color: #006b70; }
.tc-profile-page .checkbox label::after { width: 20px; height: 20px; line-height: 20px; border-radius: 4px; text-align: center; left: 0; }
.tc-profile-page .checkbox input[type="checkbox"]:checked + label::after { font-size: 12px; }

.tc-profile-security-options { display: flex; gap: 24px; }
.tc-profile-page .pure-button.tc-profile-security-option {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid #d1d7de;
	border-radius: 8px;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	height: auto;
	line-height: 20px;
	white-space: normal;
	text-align: left;
}
.tc-profile-page .pure-button.tc-profile-security-option:hover { border-color: #00868c; background: #fbfdfd; }
.tc-profile-security-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 12px;
	background: #f6f8f9;
	border-radius: 24px;
}
.tc-profile-security-icon .tc-svg { width: 24px; height: 24px; }
.tc-profile-security-text {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 20px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: #2a3648;
}
.tc-profile-security-edit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 8px;
}
.tc-profile-security-edit .tc-svg { width: 16px; height: 16px; }

.tc-profile-page .pure-button.tc-profile-supportcode {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px;
	background: #fff;
	border: 1px solid #e8ecef;
	border-radius: 6px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	color: #364152;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
}
.tc-profile-page .pure-button.tc-profile-supportcode:hover { background: #f6f8f9; }
.tc-profile-supportcode-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; }
.tc-profile-supportcode-icon .tc-svg { width: 9.5px; height: 9.5px; }

@media screen and (max-width: 35.5em) {
	.tc-profile-card .pure-g > [class*="pure-u"] { flex-basis: 100%; }
}
@media screen and (max-width: 767px) {
	.tc-profile-page { padding: 8px 16px 32px; }
	.tc-profile-card { padding: 20px; }
	.tc-profile-card + .tc-profile-card { margin-top: 24px; }
	.tc-profile-security-options { flex-direction: column; }
	.tc-profile-header { flex-wrap: wrap; }
}

/* Profile modals (alertify) reskinned to the design system: 620px white card,
   Inter, teal primary button, reskin inputs. Scoped via the tc-profile-modal
   class added to each dialog so other app modals are untouched. */
.alertify .ajs-dialog.tc-profile-modal {
	box-sizing: border-box;
	max-width: 620px;
	width: 90%;
	padding: 24px;
	border: 1px solid #e8ecef;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	background: #fff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: #364152;
}
.ajs-dialog.tc-profile-modal .ajs-header {
	background: transparent;
	border: none;
	margin: 0;
	padding: 0 0 16px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	color: #364152;
	text-align: left;
}
.ajs-dialog.tc-profile-modal .ajs-header .text-align-center,
.ajs-dialog.tc-profile-modal .ajs-header div { text-align: left; display: block; }
.ajs-dialog.tc-profile-modal .ajs-body { color: #364152; font-size: 14px; line-height: 20px; min-height: 0; text-align: left; }
.ajs-dialog.tc-profile-modal .ajs-content,
.ajs-dialog.tc-profile-modal .ajs-content p,
.ajs-dialog.tc-profile-modal .ajs-content h6 { text-align: left; }
.ajs-dialog.tc-profile-modal .ajs-body .ajs-content { padding: 0; }
.ajs-dialog.tc-profile-modal .ajs-body p { color: #8493a8; font-size: 14px; line-height: 20px; margin: 0 0 16px; }
.ajs-dialog.tc-profile-modal .ajs-body h6 { font-family: inherit; font-size: 14px; font-weight: 600; line-height: 20px; color: #364152; margin: 16px 0 8px; letter-spacing: 0; text-transform: none; }
.ajs-dialog.tc-profile-modal label { display: block; margin: 0 0 4px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 20px; color: #2b384a; }
.ajs-dialog.tc-profile-modal input[type="text"],
.ajs-dialog.tc-profile-modal input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 12px;
	border: 1px solid #d1d7de;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: #364152;
	box-shadow: none;
}
.ajs-dialog.tc-profile-modal input[type="text"]:focus,
.ajs-dialog.tc-profile-modal input[type="password"]:focus { border-color: #006b70; box-shadow: 0 0 0 1px #006b70; outline: none; }
.ajs-dialog.tc-profile-modal .row { margin: 0 0 16px; }
.ajs-dialog.tc-profile-modal .row:last-child { margin-bottom: 0; }
.ajs-dialog.tc-profile-modal .color-warning,
.ajs-dialog.tc-profile-modal .text-size-small { font-size: 12px; line-height: 16px; color: #8493a8; }

/* footer buttons */
.ajs-dialog.tc-profile-modal .ajs-footer { background: transparent; border: none; margin: 0; padding: 24px 0 0; }
.ajs-dialog.tc-profile-modal .ajs-footer .ajs-buttons.ajs-primary { float: none; text-align: right; }
.ajs-dialog.tc-profile-modal .ajs-footer .ajs-button {
	margin: 0 0 0 8px;
	min-width: 0;
	padding: 8px 12px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
}
.ajs-dialog.tc-profile-modal .ajs-footer .ajs-button.ajs-ok { background: #006b70; color: #fff; border: none; }
.ajs-dialog.tc-profile-modal .ajs-footer .ajs-button.ajs-ok:hover { background: #00868c; }
.ajs-dialog.tc-profile-modal .ajs-footer .ajs-button.ajs-cancel { background: #fff; color: #364152; border: 1px solid #e8ecef; }

/* 2FA + support-code specifics */
.ajs-dialog.tc-profile-modal .button-copy {
	background: #fff;
	color: #364152;
	border: 1px solid #d1d7de;
	border-radius: 8px;
	padding: 8px 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	box-shadow: none;
	text-shadow: none;
}
.ajs-dialog.tc-profile-modal .tc-2factor-qr { display: block; margin: 4px auto 8px; }
.ajs-dialog.tc-profile-modal .tc-2factor-code { text-align: center; }
.ajs-dialog.tc-profile-modal .tc-2factor-code-help { text-align: center; }
