:root {
	--customer-portal-black: #131417;
	--customer-portal-charcoal: #25282e;
	--customer-portal-charcoal-light: #3e424b;
	--customer-portal-blue: #3d59ab;
	--customer-portal-blue-soft: #edf2ff;
	--customer-portal-green: #6ea60b;
	--customer-portal-amber: #dda10a;
	--customer-portal-purple: #7d35ec;
	--customer-portal-border: #bdbdbd;
	--customer-portal-muted: #9ea3b0;
	--customer-portal-surface: #f0f0f0;
}

[hidden] {
	display: none !important;
}

.mfe-utility-topbar {
	width: calc(100% - 240px);
	border-bottom: 1px solid #282a30;
}

body.sidebar-collapsed .mfe-utility-topbar {
	width: calc(100% - 52px);
}

/* Keep the newer portal navigation compatible with the legacy icon-only rail. */
body.sidebar-collapsed .customer-portal-nav-search-item,
body.sidebar-collapsed .customer-portal-nav-heading,
body.sidebar-collapsed .customer-portal-call-tracking-subnav {
	display: none !important;
}

body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item {
	height: auto;
	min-height: 44px;
}

body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item > a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 8px;
}

body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item > a > span:not(.customer-portal-nav-icon),
body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item > a > .customer-portal-nav-chevron {
	display: none !important;
}

body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item > a > .customer-portal-nav-icon {
	position: static;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 24px;
	min-width: 24px;
	margin: 0;
	padding: 0;
	background: transparent;
	font-size: 16px;
}

body.sidebar-collapsed .side-navigation > li.customer-portal-nav-item > a > .customer-portal-nav-icon i {
	margin: 0;
}

.mfe-header-utility,
.mfe-header-utility *,
.mfe-header-utility *::before,
.mfe-header-utility *::after {
	box-sizing: border-box;
}

.mfe-header-utility {
	position: absolute;
	top: 0;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 75px;
	font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	z-index: 650;
}

.mfe-header-utility-item {
	position: relative;
}

.mfe-header-utility-button,
.mfe-header-avatar-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 0;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.mfe-header-utility-button {
	position: relative;
	width: 44px;
	padding: 0;
}

.mfe-header-avatar-button {
	gap: 8px;
	padding: 5px 8px;
}

.mfe-header-utility-button:hover,
.mfe-header-utility-button[aria-expanded="true"],
.mfe-header-avatar-button:hover,
.mfe-header-avatar-button[aria-expanded="true"] {
	background: #282a30;
}

.mfe-header-utility-button:focus-visible,
.mfe-header-avatar-button:focus-visible {
	outline: 2px solid #6897e6;
	outline-offset: 2px;
}

.mfe-header-avatar-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 999px;
	background: #3d59ab;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
}

.mfe-header-avatar-circle > span {
	display: block;
	color: #fff !important;
	font-size: 0;
	line-height: 1;
	white-space: nowrap;
}

.mfe-header-avatar-circle > span::first-letter {
	font-size: 14px;
	line-height: 30px;
}

/* The legacy tablet layout removes the sidebar at this width. */
@media (max-width: 1024px) {
	.mfe-utility-topbar {
		width: 100%;
	}

	body.sidebar-collapsed .mfe-utility-topbar {
		width: 100%;
	}

	body:not(.sidebar-open) .sidebar-left {
		display: none !important;
	}

	body:not(.sidebar-open) #main {
		width: 100%;
		margin-left: 0;
	}
}

.mfe-header-avatar-chevron {
	color: #9ea3b0 !important;
	font-size: 11px;
}

.mfe-header-utility-badge {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 16px;
	padding: 1px 5px;
	border: 1px solid #131417;
	border-radius: 999px;
	background: #3d59ab;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
}

.mfe-header-utility-alert-dot {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 8px;
	height: 8px;
	border: 1px solid #131417;
	border-radius: 999px;
	background: #ff0000;
}

.mfe-header-utility-panel {
	position: absolute;
	top: 52px;
	right: 0;
	min-width: 220px;
	overflow: hidden;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
	color: #464646;
	z-index: 700;
}

.mfe-header-notification-panel {
	width: 360px;
}

.mfe-header-help-panel {
	width: 220px;
	padding: 6px 0;
}

.mfe-header-account-panel {
	width: 250px;
}

.mfe-header-utility-group {
	padding: 10px 14px 4px;
	color: #9ea3b0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 16px;
	text-transform: uppercase;
}

.mfe-header-notification-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 14px;
	background: #fff;
	color: #464646 !important;
	text-decoration: none;
}

.mfe-header-notification-row.is-unread {
	background: #eef2fb;
}

.mfe-header-notification-row:hover,
.mfe-header-notification-row:focus-visible {
	background: #f0f0f0;
	color: #464646 !important;
	outline: none;
}

.mfe-header-notification-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border-radius: 3px;
	background: #eef2fb;
	color: #3d59ab !important;
	font-size: 12px;
}

.mfe-header-notification-row.is-action .mfe-header-notification-icon {
	background: #ffecec;
	color: #ff0000 !important;
}

.mfe-header-notification-copy {
	min-width: 0;
	flex: 1;
	color: #464646;
	font-size: 13px;
	line-height: 18px;
}

.mfe-header-notification-copy small {
	display: block;
	color: #9ea3b0;
	font-size: 11px;
	line-height: 15px;
}

.mfe-header-notification-dot {
	width: 8px;
	height: 8px;
	margin-top: 5px;
	flex: 0 0 8px;
	border-radius: 999px;
	background: #3d59ab;
}

.mfe-header-notification-loading,
.mfe-header-notification-empty,
.mfe-header-notification-error {
	padding: 16px 14px;
	color: #9ea3b0;
	font-size: 13px;
	text-align: center;
}

.mfe-header-utility-panel-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 14px;
	border-top: 1px solid #e5e5e5;
	font-size: 12px;
}

.mfe-header-utility-panel-footer button,
.mfe-header-utility-panel-footer a {
	padding: 0;
	border: 0;
	background: transparent;
	color: #3d59ab !important;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.mfe-header-utility-panel-footer button[disabled] {
	color: #9ea3b0 !important;
	cursor: default;
}

.mfe-header-utility-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 32px;
	padding: 7px 14px;
	border: 0;
	background: transparent;
	color: #464646 !important;
	font-family: inherit;
	font-size: 13px;
	line-height: 18px;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.mfe-header-utility-menu-item > span {
	width: 18px;
	flex: 0 0 18px;
	color: #9ea3b0 !important;
	text-align: center;
}

.mfe-header-utility-menu-item > small {
	margin-left: auto;
	color: #9ea3b0;
	font-size: 10px;
	font-weight: 400;
}

.mfe-utility-topbar .mfe-header-utility-menu-item:hover,
.mfe-utility-topbar .mfe-header-utility-menu-item:focus-visible {
	background: #f0f0f0;
	color: #464646 !important;
	outline: none;
}

.mfe-header-utility-menu-item.is-disabled {
	color: #9ea3b0 !important;
	cursor: not-allowed;
}

.mfe-header-account-summary {
	padding: 12px 14px;
	border-bottom: 1px solid #e5e5e5;
}

.mfe-header-account-summary > div {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mfe-header-account-summary strong {
	min-width: 0;
	overflow: hidden;
	color: #464646;
	font-size: 14px;
	line-height: 18px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mfe-header-account-summary small {
	display: block;
	overflow: hidden;
	color: #9ea3b0;
	font-size: 12px;
	line-height: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mfe-header-role-pill {
	padding: 1px 7px;
	border-radius: 999px;
	background: #eef2fb;
	color: #3d59ab !important;
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
}

.mfe-header-account-group {
	padding: 6px 0;
	border-top: 1px solid #e5e5e5;
}

.mfe-header-account-summary + .mfe-header-account-group {
	border-top: 0;
}

.mfe-header-signout-group {
	padding: 0;
}

.mfe-header-signout {
	padding-top: 9px;
	padding-bottom: 9px;
	font-weight: 600;
}

.notification-center-content,
.notification-settings-content { width: calc(100% - 48px); max-width: 860px; margin: 20px 24px 40px; font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; }

.side-navigation > li.customer-portal-nav-leaf.__current > a,
.side-navigation > li.customer-portal-nav-leaf.nav-active > a { background: #3d59ab; color: #fff; }
.side-navigation > li.customer-portal-nav-leaf.__current > a::after,
.side-navigation > li.customer-portal-nav-leaf.nav-active > a::after { display: none !important; content: none !important; }
.notification-settings-content { max-width: 720px; }
.notification-center-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.notification-center-toolbar > span { flex: 1; }
.notification-center-toolbar button,
.notification-center-settings-link { min-height: 29px; padding: 4px 14px; border: 1px solid #bdbdbd; border-radius: 999px; background: #fff; color: #5a5a5a !important; font-family: inherit; font-size: 13px; line-height: 18px; text-decoration: none; cursor: pointer; }
.notification-center-toolbar button:hover,
.notification-center-toolbar button:focus-visible,
.notification-center-settings-link:hover,
.notification-center-settings-link:focus-visible { border-color: #3d59ab; outline: none; }
.notification-center-toolbar button.is-active { border-color: #3d59ab; background: #3d59ab; color: #fff !important; }
.notification-center-toolbar .notification-center-mark-read { padding-right: 0; padding-left: 0; border-color: transparent; background: transparent; color: #3d59ab !important; font-weight: 600; }
.notification-center-panel,
.notification-center-thread,
.notification-settings-panel { margin-bottom: 14px; border: 1px solid #bdbdbd; background: #fff; }
.notification-center-needs-action { border-color: #d89613; }
.notification-center-panel-title { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-top: 1px solid #6a7080; background: #141518; color: #fff; }
.notification-center-panel-title h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 400; line-height: 39px; }
.notification-center-panel-title > span { padding: 2px 9px; border-radius: 999px; background: #ffecec; color: #ff0000; font-size: 11px; font-weight: 700; line-height: 14px; }
.notification-center-panel-title > a { margin-left: auto; color: #fff !important; font-size: 24px; line-height: 24px; text-decoration: none; }
.notification-center-row,
.notification-center-action-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 11px 16px; border-bottom: 1px solid #e5e5e5; background: #fff; color: #464646 !important; text-decoration: none; }
.notification-center-row-link { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; color: #464646 !important; text-decoration: none; }
.notification-center-row.is-unread { background: #eef2fb; }
.notification-center-row:hover,
.notification-center-row:focus-visible { background: #f0f0f0; color: #464646 !important; outline: none; }
.notification-center-row-icon,
.notification-center-action-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 3px; background: #eef2fb; color: #3d59ab !important; font-size: 14px; }
.notification-center-action-icon { background: #ffecec; color: #ff0000 !important; }
.notification-center-row-link > span:nth-child(2),
.notification-center-action-row > div { min-width: 0; flex: 1; }
.notification-center-row strong,
.notification-center-action-row strong { display: block; color: #464646; font-size: 14px; font-weight: 600; line-height: 18px; }
.notification-center-row small,
.notification-center-action-row small { display: block; color: #9ea3b0; font-size: 12px; line-height: 16px; }
.notification-center-row-link > em { padding: 1px 7px; border-radius: 999px; background: #7c3aed; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.notification-center-row-link > i { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 999px; background: #3d59ab; }
.notification-center-row-link > b { color: #9ea3b0; font-size: 12px; font-weight: 400; }
.notification-center-delete { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #9ea3b0; font: 20px/1 "Archivo Narrow", sans-serif; cursor: pointer; }
.notification-center-delete:hover,
.notification-center-delete:focus-visible { background: #ffecec; color: #d62b2b; outline: none; }
.notification-center-delete:disabled { opacity: .45; cursor: wait; }
.notification-center-action-row > a,
.notification-center-reply button { padding: 4px 16px; border: 1px solid #bdbdbd; border-radius: 8px; background: #3e424b; color: #fff !important; font-family: inherit; font-size: 13px; text-decoration: none; text-shadow: 1px 1px 1px #000; cursor: pointer; }
.notification-center-action-row > a:hover,
.notification-center-action-row > a:focus-visible,
.notification-center-reply button:hover,
.notification-center-reply button:focus-visible { background: #3d59ab; outline: none; }
.notification-center-needs-action > p { margin: 0; padding: 8px 16px; color: #9ea3b0; font-size: 12px; }
.notification-center-empty { padding: 36px; border: 1px dashed #bdbdbd; background: #fff; text-align: center; }
.notification-center-empty > span,
.notification-center-empty > strong { display: block; }
.notification-center-empty > span { font-size: 28px; }
.notification-center-empty > strong { margin: 6px 0 2px; color: #464646; font-size: 14px; }
.notification-center-empty > p { margin: 0 0 10px; color: #9ea3b0; font-size: 13px; }
.notification-center-thread-messages { max-height: 360px; overflow-y: auto; padding: 12px 16px 0; }
.notification-center-thread-messages article { margin-bottom: 12px; }
.notification-center-thread-messages article > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #464646; font-size: 12px; }
.notification-center-thread-messages time { color: #9ea3b0; }
.notification-center-message-body { margin-top: 5px; padding: 10px 12px; border: 1px solid #e5e5e5; background: #f9f9f9; color: #464646; }
.notification-center-reply { padding: 0 16px 14px; }
.notification-center-reply label { display: block; margin-bottom: 4px; color: #464646; font-weight: 600; }
.notification-center-reply textarea { width: 100%; min-height: 80px; padding: 8px 10px; border: 1px solid #bdbdbd; resize: vertical; }
.notification-center-reply > div { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.notification-center-reply [data-notification-reply-status] { color: #9ea3b0; }
.notification-settings-grid { padding: 4px 16px 8px; }
.notification-settings-grid-head,
.notification-settings-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 90px; align-items: center; }
.notification-settings-grid-head { padding: 10px 0 6px; border-bottom: 1px solid #e5e5e5; color: #9ea3b0; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.notification-settings-grid-head span:not(:first-child) { text-align: center; }
.notification-settings-row { min-height: 55px; padding: 9px 0; border-bottom: 1px solid #e5e5e5; }
.notification-settings-row > div strong,
.notification-digest-options strong { display: block; color: #464646; font-size: 13px; font-weight: 600; }
.notification-settings-row > div small,
.notification-digest-options small { display: block; color: #9ea3b0; font-size: 12px; }
.notification-always-on { justify-self: center; padding: 2px 9px; border: 1px solid #e5e5e5; border-radius: 999px; color: #9ea3b0; font-size: 11px; }
.notification-switch { position: relative; justify-self: center; width: 40px; height: 20px; padding: 0; border: 1px solid rgba(0, 0, 0, .4); border-radius: 999px; background: rgba(0, 0, 0, .1); cursor: pointer; transition: background .2s, border-color .2s; }
.notification-switch > span { position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 999px; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); transition: left .2s; }
.notification-switch.is-on { border-color: #0e62cd; background: #3b89ec; }
.notification-switch.is-on > span { left: 21px; }
.notification-switch:focus-visible { outline: 2px solid #6897e6; outline-offset: 2px; }
.notification-settings-grid > p { margin: 0; padding: 10px 0 2px; color: #9ea3b0; font-size: 12px; }
.notification-digest-options { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.notification-digest-options label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.notification-digest-options input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #3d59ab; }
.notification-settings-save-status { color: #9ea3b0; font-size: 12px; }
.notification-settings-save-status.is-saving { color: #3d59ab; }
.notification-settings-save-status.is-error { color: #b42318; }

.customer-portal-page,
.customer-portal-nav-item,
.customer-portal-nav-heading,
.customer-portal-nav-search-item,
.mcp-customer-shell,
.mcp-customer-panel--wizard {
	font-family: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

.customer-portal-page {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	color: #34363c;
	background: var(--customer-portal-surface);
	font-size: 14px;
	line-height: 1.35;
}

.customer-portal-page *,
.customer-portal-page *::before,
.customer-portal-page *::after {
	box-sizing: border-box;
}

.customer-portal-page h1,
.customer-portal-page h2,
.customer-portal-page p {
	margin-top: 0;
}

.customer-portal-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	margin: 0 0 20px;
	padding: 12px 24px 0;
	background: var(--customer-portal-black);
	color: #fff;
}

.customer-portal-titlebar h1 {
	margin: 0;
	color: #fff;
	font-size: 30px;
	font-weight: 400;
	line-height: 60px;
	letter-spacing: -0.02em;
}

.customer-portal-titlebar p {
	/*margin: 5px 0 0; */
	color: #aeb4c1;
	font-size: 14px;
}

.customer-portal-titlebar .customer-portal-button {
	width: auto;
	min-width: 142px;
}

.customer-portal-panel,
.customer-portal-status-card,
.customer-portal-playbook,
.customer-portal-addon-card {
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-panel-title {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	background: var(--customer-portal-black);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
}

.customer-portal-panel-title strong {
	font-weight: 500;
}

.customer-portal-setup {
	margin: 0 24px 16px;
}

.customer-portal-setup .customer-portal-panel-title {
	gap: 16px;
}

.customer-portal-progress {
	position: relative;
	display: block;
	width: 300px;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #4c515c;
}

.customer-portal-progress i {
	display: block;
	height: 100%;
	background: #7197ff;
	transition: width .25s ease;
}

.customer-portal-checklist {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 14px;
}

.customer-portal-check {
	position: relative;
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 2px 8px;
	min-height: 80px;
	padding: 11px;
	border: 1px solid #d8dade;
	border-radius: 4px;
	color: #3d4048;
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}

.customer-portal-check:hover,
.customer-portal-check:focus {
	border-color: var(--customer-portal-blue);
	color: #272a31;
	text-decoration: none;
}

.customer-portal-check.is-next {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue-soft);
}

.customer-portal-checkmark {
	grid-row: 1 / span 2;
	color: #7c8596;
	font-size: 18px;
	line-height: 1;
}

.customer-portal-check.is-complete .customer-portal-checkmark {
	display: grid;
	width: 19px;
	height: 19px;
	place-items: center;
	border-radius: 4px;
	background: #08ae2d;
	color: #fff;
	font-size: 14px;
}

.customer-portal-check strong {
	font-size: 16px;
	font-weight: 600;
}

.customer-portal-check small {
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-status-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 24px 16px;
}

.customer-portal-status-card {
	position: relative;
	min-height: 152px;
	padding: 17px 15px 40px;
}

.customer-portal-status-card.is-attention,
.customer-portal-usage-card.is-attention {
	border-color: #e1a116;
}

.customer-portal-eyebrow {
	display: block;
	margin-bottom: 6px;
	color: #9aa1b0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* Shared page-title kicker, matched to workspace-manager-kicker. */
.customer-portal-page-kicker {
	display: block;
	color: #7fafff;
	font-family: 'Archivo Narrow', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.customer-portal-page-kicker:empty {
	display: none;
}

.customer-portal-titlebar--with-kicker {
	min-height: 82px !important;
	padding-top: 16px !important;
	padding-bottom: 14px !important;
}

.customer-portal-titlebar--with-kicker h1 {
	margin: 2px 0 0 !important;
	line-height: 1.05 !important;
}

.customer-portal-status-card h2 {
	margin: 0 0 5px;
	color: #393c43;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
}

.customer-portal-status-card h2 i {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 50%;
	background: #adb3be;
}

.customer-portal-status-card.is-healthy h2 i { background: var(--customer-portal-green); }
.customer-portal-status-card.is-warning h2 i { background: var(--customer-portal-amber); }
.customer-portal-status-card.is-attention h2 i { background: #e09a00; }

.customer-portal-status-card p {
	margin: 0 0 9px;
	color: #5d616a;
	font-size: 12px;
}

.customer-portal-card-link {
	position: absolute;
	left: 15px;
	bottom: 12px;
	color: var(--customer-portal-blue);
	font-weight: 600;
	text-decoration: none;
}

.customer-portal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 6px 16px;
	border: 0;
	border-radius: 7px;
	background: var(--customer-portal-charcoal-light);
	color: #fff !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: background-color .15s ease, transform .15s ease;
}

.customer-portal-button:hover,
.customer-portal-button:focus {
	background: var(--customer-portal-blue);
	transform: translateY(-1px);
}

.customer-portal-status-card > .customer-portal-button {
	position: absolute;
	left: 15px;
	bottom: 12px;
}

.customer-portal-meter {
	height: 7px;
	margin: 7px 0 7px;
	overflow: hidden;
	border-radius: 999px;
	background: #dedfe1;
}

.customer-portal-meter i {
	display: block;
	height: 100%;
	background: var(--customer-portal-blue);
}

.customer-portal-lower-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
	gap: 12px;
	margin: 0 24px 28px;
}

.customer-portal-home > .customer-portal-setup,
.customer-portal-home > .customer-portal-status-grid,
.customer-portal-home > .customer-portal-lower-grid,
.customer-portal-library-page > .customer-portal-library-toolbar,
.customer-portal-library-page > .customer-portal-library-intro,
.customer-portal-library-page > .customer-portal-playbook-grid,
.customer-portal-library-page > .customer-portal-library-empty {
	width: calc(100% - 48px);
	max-width: 1020px;
	margin-right: auto;
	margin-left: 24px;
}

.customer-portal-activity-list {
	min-height: 248px;
}

.customer-portal-activity-row {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	min-height: 49px;
	padding: 8px 14px;
	background: #fff;
}

.customer-portal-activity-row:nth-child(even) {
	background: #ededed;
}

.customer-portal-activity-icon {
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 3px;
	background: #3f444e;
	font-size: 15px;
}

.customer-portal-activity-row strong,
.customer-portal-activity-row small {
	display: block;
}

.customer-portal-activity-row strong {
	color: #44474e;
	font-size: 14px;
	font-weight: 500;
}

.customer-portal-activity-row small {
	margin-top: 1px;
	color: #9299aa;
	font-size: 11px;
}

.customer-portal-empty-activity {
	display: flex;
	min-height: 248px;
	padding: 34px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: #868e9d;
	text-align: center;
}

.customer-portal-empty-activity strong {
	margin-bottom: 4px;
	color: #4a4d55;
}

.customer-portal-quick-column {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.customer-portal-quick-actions > div {
	display: grid;
	gap: 9px;
	padding: 10px;
}

.customer-portal-quick-actions .customer-portal-button {
	width: 100%;
}

.customer-portal-security-note {
	padding: 15px 12px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #8b93a5;
	font-size: 12px;
}

/* Customer navigation, kept inside the existing authenticated header/footer shell. */
.customer-portal-nav-search-item {
	padding: 0 14px 6px;
	list-style: none;
}

.customer-portal-nav-search-item label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.customer-portal-nav-search-item input {
	width: 100%;
	height: 34px;
	padding: 7px 10px;
	border: 1px solid #858a95;
	border-radius: 3px;
	background: #fff;
	color: #33363d;
	font-family: inherit;
	font-size: 13px;
	box-shadow: none;
}

.customer-portal-site-selector {
	padding: 20px 14px 8px;
	list-style: none;
}

.customer-portal-site-selector form {
	position: relative;
	display: flex;
	align-items: center;
	height: 34px;
	padding: 0 30px 0 27px;
	border: 1px solid #131417;
	border-radius: 3px;
	background: #3e424b;
}

.customer-portal-site-selector select {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 32px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	text-shadow: 1px 1px 1px #000;
	-webkit-appearance: none;
	appearance: none;
}

.customer-portal-site-selector option {
	background: #fff;
	color: #333;
	text-shadow: none;
}

.customer-portal-site-status {
	position: absolute;
	left: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6ea60b;
}

.customer-portal-site-chevron {
	position: absolute;
	right: 11px;
	color: #9ea3b0;
	pointer-events: none;
}

.side-navigation > li.customer-portal-nav-heading h3 {
	padding-top: 8px;
	padding-bottom: 8px;
	color: #aeb3bf;
}

.side-navigation > li.customer-portal-account-heading {
	margin-top: 16px;
}

.side-navigation > li.customer-portal-nav-item {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.side-navigation > li.customer-portal-nav-item > a {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
}

.customer-portal-nav-chevron {
	margin-left: auto;
	font-size: 14px;
	transition: transform .18s ease;
}

.customer-portal-nav-item--call-tracking.is-open .customer-portal-nav-chevron {
	transform: rotate(180deg);
}

.customer-portal-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	margin-right: 10px;
	color: #fff;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Archivo Narrow", sans-serif;
	font-size: 14px;
	line-height: 1;
}

.side-navigation > li.customer-portal-nav-item.__current > a,
.side-navigation > li.customer-portal-nav-item.nav-active > a,
.side-navigation > li.customer-portal-nav-item > a:hover,
.side-navigation > li.customer-portal-nav-item > a:focus {
	background: var(--customer-portal-blue);
	color: #fff;
}

.side-navigation > li.customer-portal-nav-item.__current > a::after,
.side-navigation > li.customer-portal-nav-item.nav-active > a::after {
	display: none;
}

.customer-portal-call-tracking-subnav {
	margin: 0;
	padding: 4px 0 7px;
	list-style: none;
	background: rgba(0, 0, 0, .12);
}

.customer-portal-call-tracking-subnav a {
	display: block;
	border-left: 3px solid transparent;
	padding: 5px 18px 5px 45px;
	color: #dfe3ed;
	font-size: 13px;
	line-height: 18px;
	text-decoration: none;
}

.customer-portal-call-tracking-subnav a:hover,
.customer-portal-call-tracking-subnav a:focus {
	background: rgba(127, 175, 255, .18);
	color: #fff;
}

.customer-portal-call-tracking-subnav li.ct-product-nav-current a {
	border-left-color: #7fafff;
	background: rgba(127, 175, 255, .16);
	color: #fff;
	font-weight: 600;
}

.customer-portal-nav-empty {
	padding: 12px 18px;
	color: #aeb3bf;
	font-size: 12px;
	list-style: none;
}

/* Playbook library. */
.customer-portal-library-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 24px 14px;
}

.customer-portal-library-intro {
	margin-top: 20px;
	margin-bottom: 14px;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.customer-portal-library-toolbar input {
	width: 260px;
	height: 34px;
	padding: 7px 10px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-library-toolbar button {
	padding: 7px 12px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #4c5058;
}

.customer-portal-library-toolbar button.is-active {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue);
	color: #fff;
}

.customer-portal-playbook-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 24px 28px;
}

.customer-portal-playbook {
	position: relative;
	min-height: 220px;
	padding: 16px;
}

.customer-portal-playbook.is-locked {
	background: #f5f5f6;
}

.customer-portal-playbook-icon {
	display: block;
	width: auto;
	height: 38px;
	background: transparent;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 30px;
	line-height: 38px;
}

.customer-portal-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #dfe2e8;
	color: #5d626d;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.customer-portal-badge.is-ready { background: #dff0d4; color: #397b16; }
.customer-portal-badge.is-pro { background: #e9ddff; color: #6824c8; }
.customer-portal-badge.is-growth { background: #dfe7fb; color: #3d59ab; }
.customer-portal-badge.is-starter { background: #e8ecf3; color: #515866; }

.customer-portal-playbook h2 {
	margin: 12px 0 7px;
	color: #383b42;
	font-size: 20px;
	font-weight: 600;
}

.customer-portal-playbook p {
	margin-bottom: 45px;
	color: #717784;
	font-size: 13px;
}

.customer-portal-playbook > div {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 10px;
	border-top: 1px solid #d9dbe0;
	color: #9298a5;
	font-size: 11px;
}

.customer-portal-playbook > div a {
	display: inline-flex;
	min-height: 27px;
	padding: 4px 11px;
	align-items: center;
	border-radius: 7px;
	background: var(--customer-portal-charcoal-light);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.customer-portal-playbook.is-locked > div a {
	background: #d8d9dc;
	color: #676c75;
}

.customer-portal-library-empty {
	margin: 0 24px 28px;
	padding: 32px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #777e8b;
	text-align: center;
}

/* Call Tracking add-on state. */
.customer-portal-addon-card {
	max-width: 650px;
	margin: 60px auto 90px;
	padding: 38px 48px;
	text-align: center;
}

.customer-portal-addon-icon {
	display: grid;
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	place-items: center;
	border-radius: 50%;
	background: #e9edf8;
	font-size: 32px;
}

.customer-portal-addon-card h2 {
	margin: 0 0 10px;
	color: #34373e;
	font-size: 27px;
	font-weight: 600;
}

.customer-portal-addon-card p {
	color: #6f7581;
	font-size: 15px;
}

.customer-portal-addon-card ul {
	display: inline-block;
	margin: 10px auto 22px;
	padding-left: 20px;
	color: #51555e;
	text-align: left;
}

.customer-portal-addon-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.customer-portal-addon-actions > a:not(.customer-portal-button) {
	color: var(--customer-portal-blue);
	font-weight: 600;
}

/* Bring existing functional customer tools into the same visual system. */
.mcp-account-admin-shell .dv-titlebar,
.mcp-customer-panel--wizard .mcp-customer-title-row {
	background: var(--customer-portal-black);
	color: #fff;
}

.mcp-account-admin-shell .dv-titlebar,
#support-form-root > .dv-titlebar {
	min-height: 72px;
	padding: 12px 24px 0;
}

.mcp-account-admin-shell .dv-titlebar h1,
#support-form-root > .dv-titlebar h1 {
	font-size: 30px;
	font-weight: 400;
	line-height: 60px;
}

.mcp-account-admin-shell .dv-titlebar h1,
.mcp-account-admin-shell .dv-titlebar p,
.mcp-customer-panel--wizard .mcp-customer-title-row h3,
.mcp-customer-panel--wizard .mcp-customer-title-row .mcp-customer-subtitle {
	color: #fff;
}

.mcp-account-admin-shell .mcp-widget-topbar,
.mcp-customer-panel--wizard .mcp-widget-topbar {
	background-color: var(--customer-portal-black);
	background-image: none;
	border-top-color: #34373e;
}

.mcp-account-admin-shell .mcp-card,
.mcp-customer-panel--wizard .mcp-card {
	border-color: var(--customer-portal-border);
	border-radius: 0;
}

.mcp-account-admin-shell .mcp-account-library,
.mcp-customer-shell > .customer-portal-subnav,
.mcp-customer-shell > .customer-portal-key-list,
.mcp-customer-shell > .customer-portal-security-note {
	width: calc(100% - 48px);
	max-width: 1020px;
	margin-right: auto;
	margin-left: 24px;
}

.mcp-account-admin-shell .mcp-account-library {
	padding: 20px 0 60px;
}

.mcp-account-admin-shell .mcp-customer-panel {
	padding-right: 0;
	padding-left: 0;
}

.mcp-account-admin-shell .dv-titlebar,
.mcp-customer-shell > .customer-portal-titlebar {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
}

.mcp-customer-shell > .customer-portal-subnav,
.mcp-customer-shell > .customer-portal-key-list,
.mcp-customer-shell > .customer-portal-security-note,
.mcp-customer-panel--wizard {
	max-width: 900px;
}

.mcp-customer-panel--wizard {
	width: calc(100% - 48px);
	margin-right: auto;
	margin-left: 24px;
}

.customer-portal-subnav {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	padding-top: 18px;
	/* border-bottom: 1px solid var(--customer-portal-border); */
}

.customer-portal-subnav a {
	display: block;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #3e4248;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	background: #3e4248;
	color: #fff;
	font-size: 16px;
	line-height: 39px;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
}

.customer-portal-subnav a:hover,
.customer-portal-subnav a:focus {
	background: #686e7d;
	color: #fff;
}

.customer-portal-subnav a.is-active {
	margin-bottom: -1px;
	border-color: var(--customer-portal-border);
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #4b4e55;
	text-shadow: none;
}

/* Connect your AI setup wizard. */
.mcp-setup-page {
	min-height: 100%;
}

.mcp-setup-content {
	width: calc(100% - 48px);
	max-width: 900px;
	margin: 0 auto 40px 24px;
	padding-top: 20px;
}

.mcp-setup-content > .customer-portal-subnav {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-top: 0;
}

.mcp-setup-wizard-card {
	padding: 20px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.mcp-setup-steps {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #dbdbdb;
}

.mcp-setup-step {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.mcp-setup-step > span {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--customer-portal-border);
	border-radius: 50%;
	background: #fff;
	color: var(--customer-portal-muted);
	font-size: 14px;
	font-weight: 700;
}

.mcp-setup-step > strong {
	color: var(--customer-portal-muted);
	font-size: 13px;
	font-weight: 400;
}

.mcp-setup-step.is-current > span {
	border-color: #6897e6;
	background: var(--customer-portal-blue);
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}

.mcp-setup-step.is-current > strong {
	color: #464646;
}

.mcp-setup-step.is-done > span {
	border-color: var(--customer-portal-green);
	background: #f0f7e6;
	color: var(--customer-portal-green);
}

.mcp-setup-step-line {
	flex: 1;
	height: 2px;
	min-width: 20px;
	margin: 0 12px;
	background: #dbdbdb;
}

.mcp-setup-step-line.is-last {
	display: none;
}

.mcp-setup-step-body h2 {
	margin: 0 0 2px;
	color: #464646;
	font-size: 22px;
	font-weight: 400;
}

.mcp-setup-step-body > p {
	margin: 0 0 14px;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.mcp-setup-node-prereq {
	margin: 0 0 16px;
	border: 1px solid #c7cfdf;
	border-left: 4px solid var(--customer-portal-blue);
	background: #f7f9fd;
	padding: 14px 16px;
}

.mcp-setup-node-prereq h3 { margin: 0 0 6px; color: #353a45; font-size: 16px; }
.mcp-setup-node-prereq p { margin: 6px 0; color: #646d7d; }
.mcp-setup-node-prereq ul { margin: 9px 0; padding-left: 20px; }
.mcp-setup-node-prereq li { margin: 5px 0; color: #515966; }
.mcp-setup-node-prereq code { border: 1px solid #d7dce6; background: #fff; padding: 1px 4px; }

.mcp-setup-page .mcp-customer-llm-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.mcp-setup-page .mcp-customer-llm-card {
	min-height: 112px;
	padding: 14px;
	border: 2px solid var(--customer-portal-border);
	border-radius: 4px;
	background: #fff;
	color: #464646;
}

.mcp-setup-page .mcp-customer-llm-card.selected {
	padding: 14px;
	border-color: var(--customer-portal-blue);
	background: #eef2fb;
}

.mcp-setup-page .mcp-customer-llm-glyph {
	display: block;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 24px;
	line-height: 28px;
	opacity: 1;
}

.mcp-setup-page .mcp-customer-llm-name,
.mcp-setup-page .mcp-customer-llm-sub {
	display: block;
}

.mcp-setup-page .mcp-customer-llm-name {
	margin: 6px 0 2px;
	font-size: 15px;
	font-weight: 600;
}

.mcp-setup-page .mcp-customer-llm-sub {
	margin: 0;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.mcp-setup-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.mcp-setup-actions.is-end {
	justify-content: flex-end;
}

.mcp-setup-actions ._button,
.mcp-setup-step-body > ._button,
.mcp-setup-verification button {
	min-width: 100px;
	padding: 5px 22px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 8px;
	background: var(--customer-portal-charcoal-light);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
	cursor: pointer;
}

.mcp-setup-actions ._button:hover,
.mcp-setup-step-body > ._button:hover,
.mcp-setup-verification button:hover {
	background: var(--customer-portal-blue);
	color: #fff;
}

/* Keep the wizard's Continue controls aligned with the approved setup mockup. */
.mcp-setup-page .mcp-setup-actions .mcp-setup-continue {
	min-width: 100px;
	padding: 5px 22px;
	border: 1px solid #bdbdbd;
	border-radius: 8px;
	background: #3e424b;
	color: #fff !important;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
	cursor: pointer;
}

.mcp-setup-page .mcp-setup-actions .mcp-setup-continue:hover,
.mcp-setup-page .mcp-setup-actions .mcp-setup-continue:focus {
	background: #3d59ab;
	color: #fff !important;
}

.mcp-setup-back {
	padding: 6px 4px;
	color: var(--customer-portal-blue);
	font-size: 14px;
	font-weight: 600;
}

.mcp-setup-page .mcp-customer-platform-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mcp-setup-page .mcp-customer-platform-card,
.mcp-setup-page .mcp-customer-platform-card.disconnected {
	display: flex;
	min-height: 68px;
	padding: 12px;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 4px;
	background: #fff;
}

.mcp-customer-platform-icon {
	width: 24px;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 20px;
	text-align: center;
}

.mcp-setup-page .mcp-customer-platform-card > div {
	flex: 1;
}

.mcp-setup-page .mcp-customer-platform-card strong,
.mcp-setup-page .mcp-customer-platform-card small {
	display: block;
}

.mcp-setup-page .mcp-customer-platform-card strong {
	color: #464646;
	font-size: 14px;
}

.mcp-setup-page .mcp-customer-platform-card small {
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.mcp-setup-connected {
	color: var(--customer-portal-green);
	font-size: 13px;
	font-weight: 600;
}

.mcp-setup-page .mcp-customer-platform-card .connect-btn,
.mcp-setup-page .mcp-customer-platform-card .reconnect-link {
	min-width: 0;
	margin: 0;
	padding: 3px 14px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 8px;
	background: var(--customer-portal-charcoal-light);
	color: #fff;
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 1px 1px 1px #000;
}

.mcp-setup-key-note {
	display: inline-block;
	margin-left: 12px;
	color: #d89613;
	font-size: 13px;
	font-weight: 600;
}

.mcp-setup-key-warning {
	margin-bottom: 12px;
	padding: 9px 12px;
	border: 1px solid #d89613;
	background: #fdf6e7;
	color: #5a5a5a;
	font-size: 13px;
}

.mcp-setup-key-warning.mcp-warning-panel--success {
	border-color: var(--customer-portal-green);
	background: #f4faec;
}

.mcp-setup-code-wrap {
	position: relative;
	border: 1px solid #6a7080;
	background: #141518;
}

.mcp-setup-code-wrap pre {
	min-height: 116px;
	margin: 0;
	padding: 14px 130px 14px 14px;
	overflow: auto;
	background: transparent;
	color: #c9d1d9;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.6;
	white-space: pre-wrap;
}

.mcp-setup-code-wrap .mcp-copy-setup-json {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	padding: 3px 12px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 8px;
	background: var(--customer-portal-charcoal-light);
	color: #fff;
	font-size: 12px;
	text-shadow: 1px 1px 1px #000;
}

.mcp-setup-verification {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 14px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.mcp-setup-verification > div {
	flex: 1;
}

.mcp-setup-verification strong,
.mcp-setup-verification small {
	display: block;
}

.mcp-setup-verification strong {
	color: #464646;
	font-size: 14px;
}

.mcp-setup-verification small {
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.mcp-setup-listening-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #6897e6;
	animation: customer-portal-pulse 1.2s infinite;
}

.mcp-setup-verification.is-ok {
	border-color: var(--customer-portal-green);
	background: #f4faec;
}

.mcp-setup-verification.is-error {
	border-left: 3px solid #ff0000;
}

@keyframes customer-portal-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.mcp-account-admin-shell .mcp-available-connections-table,
.mcp-account-admin-shell .mcp-available-connections-table tbody {
	display: block;
	width: 100%;
}

.mcp-account-admin-shell .mcp-available-connections-table thead {
	display: none;
}

.mcp-account-admin-shell .mcp-available-connections-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mcp-account-admin-shell .mcp-available-connection-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto;
	align-items: center;
	min-height: 158px;
	padding: 14px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.mcp-account-admin-shell .mcp-available-connection-row > td {
	display: block;
	width: auto;
	padding: 2px 0;
	border: 0;
	background: transparent;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:first-child {
	grid-column: 1 / span 2;
	padding-right: 118px;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:first-child .mcp-addon-badge,
.mcp-account-admin-shell .mcp-available-connection-row > td:first-child .status-pill {
	display: inline-flex;
	margin-left: 8px;
	border-radius: 999px;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(2) {
	grid-column: 1;
	grid-row: 3;
	color: var(--customer-portal-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(3) {
	grid-column: 2;
	grid-row: 3;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(4) {
	grid-column: 1;
	grid-row: 4;
	color: #777e89;
	font-size: 11px;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(5) {
	position: absolute;
	top: 14px;
	right: 14px;
	text-align: right;
}

.mcp-account-admin-shell .mcp-available-connection-label {
	font-size: 17px;
}

.customer-portal-platform-name {
	display: flex;
	align-items: center;
	gap: 9px;
}

.customer-portal-platform-icon {
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	border-radius: 3px;
	background: #444952;
	color: #fff;
}

.customer-portal-platform-detail {
	min-height: 33px;
	margin: 8px 0 7px 38px;
	color: #626772;
	font-size: 13px;
}

.customer-portal-platform-card-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.customer-portal-platform-card-actions ._button,
.customer-portal-platform-card-actions .mcp-action-pill,
.customer-portal-platform-card-actions .mcp-connector-button,
.customer-portal-platform-card-actions .customer-portal-platform-pause {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	margin: 0;
	padding: 3px 14px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 400;
	line-height: 17px;
	text-decoration: none;
}

.customer-portal-platform-card-actions ._button {
	background: #3e424b;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}

.customer-portal-platform-card-actions .mcp-connector-button {
	justify-content: center;
	background: #fff;
	color: #565b65;
	cursor: pointer;
}

.customer-portal-platform-card-actions .mcp-connector-button.is-primary {
	border-color: #3e424b;
	background: #3e424b;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}

.customer-portal-platform-card-actions .mcp-connector-button.is-primary:hover,
.customer-portal-platform-card-actions .mcp-connector-button.is-primary:focus {
	border-color: #3d59ab;
	background: #3d59ab;
	color: #fff;
}

.customer-portal-platform-card-actions .mcp-connector-button.is-danger:hover,
.customer-portal-platform-card-actions .mcp-connector-button.is-danger:focus {
	border-color: #ff0000;
	color: #cc0000;
}

.customer-portal-platform-card-actions .mcp-connector-button.is-static {
	cursor: default;
}

.customer-portal-platform-card-actions ._button:hover,
.customer-portal-platform-card-actions ._button:focus {
	background: #3d59ab;
	color: #fff;
}

.customer-portal-platform-card-actions .mcp-action-pill,
.customer-portal-platform-card-actions .customer-portal-platform-pause {
	background: #fff;
	color: #565b65;
	cursor: pointer;
}

.customer-portal-platform-card-actions .mcp-action-pill:hover,
.customer-portal-platform-card-actions .customer-portal-platform-pause:hover {
	border-color: #3d59ab;
}

.customer-portal-platform-card-actions .mcp-action-pill.danger:hover {
	border-color: #ff0000;
	color: #cc0000;
}

.customer-portal-platform-card.is-paused {
	border-color: #d89613;
	background: #fdf6e7;
}

.customer-portal-platform-card.is-saving,
.customer-portal-platform-add-card.is-saving {
	opacity: .62;
	pointer-events: none;
}

.customer-portal-platform-pause:has(input:not(:checked)) {
	border-color: #d89613;
	background: #fff8e8;
	color: #9a6500;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(5) {
	padding: 2px 8px;
	border-radius: 999px;
	background: #f0f7e6;
	font-size: 11px;
	font-weight: 700;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(5):has(.status-warn) {
	background: #fdf6e7;
	color: #b57800;
}

.mcp-account-admin-shell .mcp-available-connection-row > td:nth-child(5):has(.status-error) {
	background: #ffecec;
	color: #d00000;
}

.mcp-account-admin-shell .customer-portal-platform-library {
	margin-bottom: 12px;
}

.mcp-account-admin-shell .customer-portal-platform-library > .mcp-widget-topbar {
	font-size: 18px;
}

.customer-portal-platform-summary {
	margin-bottom: 12px;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.customer-portal-platform-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.customer-portal-platform-grid:empty {
	display: none;
}

.customer-portal-platform-card {
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-platform-card.needs-attention {
	border-color: #d89613;
}

.customer-portal-platform-card.is-addon-locked {
	background: #f5f6f2;
	opacity: .78;
}

.customer-portal-platform-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.customer-portal-platform-card .customer-portal-platform-icon {
	display: inline-flex;
	width: auto;
	height: auto;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 22px;
}

.customer-portal-platform-card-identity {
	min-width: 0;
	flex: 1;
}

.customer-portal-platform-card-identity > div {
	display: flex;
	align-items: center;
	gap: 8px;
}

.customer-portal-platform-card-identity strong {
	min-width: 0;
	overflow: hidden;
	color: #464646;
	font-size: 15px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-platform-card-identity small {
	display: block;
	margin-top: 1px;
	overflow: hidden;
	color: #9ea3b0;
	font-size: 12px;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-platform-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f0f0f0;
	color: #5a5a5a;
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	white-space: nowrap;
}

.customer-portal-platform-status i {
	font-size: 10px;
	font-style: normal;
}

.customer-portal-platform-status.is-healthy {
	background: #f0f7e6;
	color: #6ea60b;
}

.customer-portal-platform-status.is-attention {
	background: #fdf6e7;
	color: #d89613;
}

.customer-portal-platform-scope {
	margin: 9px 0;
	color: #5a5a5a;
	font-size: 13px;
}

.customer-portal-platform-card .mcp-addon-meta {
	margin: -3px 0 9px;
}

.customer-portal-platform-card .mcp-connection-inline-config {
	max-width: none;
	margin: 9px 0;
}

.customer-portal-platform-pause {
	cursor: pointer;
}

.customer-portal-platform-pause input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.customer-portal-platform-add-title {
	margin: 20px 0 10px;
	color: #464646;
	font-size: 18px;
	font-weight: 400;
}

.customer-portal-platform-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.mcp-platform-filter-tags {
	display: none;
}

.customer-portal-platform-toolbar .mcp-input {
	width: 180px;
	min-height: 32px;
	padding: 6px 12px;
}

.customer-portal-platform-toolbar .customer-portal-platform-summary {
	margin-left: auto;
}

.customer-portal-platform-current-title {
	margin: 0 0 10px;
	color: #464646;
	font-size: 18px;
	font-weight: 400;
}

.customer-portal-platform-empty {
	margin-top: 12px;
	padding: 24px;
	border: 1px dashed var(--customer-portal-border);
	background: #fff;
	color: var(--customer-portal-muted);
	font-size: 13px;
	text-align: center;
}

.customer-portal-platform-pagination {
	padding: 14px 0 0;
	border-top: 0;
}

.customer-portal-platform-add-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.customer-portal-platform-add-card {
	display: flex;
	width: 100%;
	max-width: none;
	min-height: 112px;
	padding: 14px;
	border: 1px dashed var(--customer-portal-border);
	background: #fff;
	cursor: pointer;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	text-align: left;
}

.customer-portal-platform-add-card:hover,
.customer-portal-platform-add-card:focus-within {
	border-color: #6897e6;
}

.customer-portal-platform-add-card:has(input:checked) {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue-soft);
}

.customer-portal-platform-add-card.is-connected {
	border-style: solid;
	border-color: #6ea60b;
	background: #f0f7e6;
}

.mcp-connector-settings-dialog {
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
}

.mcp-connector-settings-body {
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.mcp-connector-settings-body > .mcp-card {
	margin: 0;
	border: 0;
	box-shadow: none;
}

.mcp-connector-settings-body > .mcp-card > .mcp-widget-topbar {
	display: none;
}

.customer-portal-platform-add-card.is-disabled {
	opacity: .55;
	cursor: not-allowed;
}

.customer-portal-platform-add-card > input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.customer-portal-platform-add-name {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #464646;
	font-size: 14px;
	font-weight: 600;
}

.customer-portal-platform-add-name i {
	color: #626975;
	font-size: 18px;
}

.customer-portal-platform-add-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 18px;
}

.customer-portal-platform-logo-wrap {
	display: inline-grid;
	width: 24px;
	height: 24px;
	place-items: center;
}

.customer-portal-platform-logo {
	grid-area: 1 / 1;
	max-width: 24px;
	max-height: 24px;
	object-fit: contain;
}

.customer-portal-platform-logo-fallback {
	grid-area: 1 / 1;
}

.customer-portal-platform-logo-wrap.is-loaded .customer-portal-platform-logo-fallback {
	display: none;
}

.customer-portal-platform-add-detail {
	margin: 6px 0 10px;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-platform-add-action {
	margin-top: auto;
	color: var(--customer-portal-blue);
	font-size: 13px;
	font-weight: 600;
}

.customer-portal-platform-catalog-link {
	display: none;
	margin-top: 10px;
	color: var(--customer-portal-blue);
	font-size: 13px;
	font-weight: 600;
}

/* Unified platform roster mirrors the compact table treatment used by My Keys. */
.customer-portal-platform-library {
	box-sizing: border-box;
	width: 100%;
	max-width: 1020px;
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-platform-panel-head {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #dbdbdb;
}

.customer-portal-platform-panel-head h2 {
	margin: 0;
	color: #464646;
	font-size: 22px;
	font-weight: 400;
	line-height: 28px;
}

.customer-portal-platform-panel-head p {
	margin: 2px 0 0;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.customer-portal-platform-toolbar {
	gap: 8px;
	margin-bottom: 12px;
}

.customer-portal-platform-search {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 180px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 3px;
	background: #fff;
	color: var(--customer-portal-muted);
}

.customer-portal-platform-search:focus-within {
	border-color: #6897e6;
	box-shadow: 0 0 0 2px rgba(61, 89, 171, .12);
}

.customer-portal-platform-search input {
	width: 100%;
	min-width: 0;
	height: 30px;
	margin-left: 7px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #464646;
	font: inherit;
	font-size: 13px;
}

.customer-portal-platform-filters {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.customer-portal-platform-filters button {
	min-height: 29px;
	margin: 0;
	padding: 4px 14px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: #5a5a5a;
	font: inherit;
	font-size: 13px;
	line-height: 19px;
	cursor: pointer;
}

.customer-portal-platform-filters button:hover,
.customer-portal-platform-filters button:focus,
.customer-portal-platform-filters button.is-active {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue);
	color: #fff;
}

.customer-portal-platform-toolbar .customer-portal-platform-summary {
	margin: 0 0 0 auto;
	color: var(--customer-portal-muted);
	font-size: 13px;
	white-space: nowrap;
}

.customer-portal-platform-table {
	border: 1px solid #dbdbdb;
	background: #fff;
}

.customer-portal-platform-table-head,
.customer-portal-platform-row-summary {
	display: grid;
	grid-template-columns: minmax(170px, 1.6fr) minmax(104px, 130px) minmax(130px, 1fr) minmax(90px, 120px) minmax(56px, 76px) minmax(96px, 110px);
	align-items: center;
	gap: 8px;
}

.customer-portal-platform-table-head {
	padding: 8px 14px;
	border-bottom: 1px solid #dbdbdb;
	background: #f9f9f9;
	color: var(--customer-portal-muted);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.customer-portal-platform-table-head span:last-child {
	text-align: right;
}

.customer-portal-platform-grid,
.customer-portal-platform-current-grid {
	display: block;
	margin: 0;
}

.customer-portal-platform-card,
.customer-portal-platform-add-card {
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
	cursor: default;
	text-align: left;
}

.customer-portal-platform-card:last-child,
.customer-portal-platform-add-card:last-child {
	border-bottom: 0;
}

.customer-portal-platform-card.needs-attention {
	border-color: #e5e5e5;
}

.customer-portal-platform-card.is-addon-locked,
.customer-portal-platform-add-card.is-addon-locked {
	background: #f9f9f9;
}

.customer-portal-platform-row-summary {
	box-sizing: border-box;
	min-height: 44px;
	padding: 9px 14px;
}

.customer-portal-platform-list-row:hover > .customer-portal-platform-row-summary,
.customer-portal-platform-list-row.is-open > .customer-portal-platform-row-summary {
	background: #f4f6fa;
}

.customer-portal-platform-row-name {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 8px;
}

.customer-portal-platform-row-chevron {
	width: 12px;
	min-width: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--customer-portal-muted);
	font: inherit;
	font-size: 11px;
	line-height: 20px;
	cursor: pointer;
}

.customer-portal-platform-row-name .customer-portal-platform-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 17px;
}

.customer-portal-platform-row-name strong {
	min-width: 0;
	overflow: hidden;
	color: #464646;
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-platform-row-summary .customer-portal-platform-status {
	justify-self: start;
	max-width: 100%;
	overflow: hidden;
}

.customer-portal-platform-status.is-disconnected {
	background: #ffecec;
	color: #d60000;
}

.customer-portal-platform-status.is-disconnected i {
	font-style: normal;
}

.customer-portal-platform-row-identity,
.customer-portal-platform-row-sync,
.customer-portal-platform-row-auth {
	min-width: 0;
	overflow: hidden;
	color: #5a5a5a;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-platform-row-sync {
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-platform-row-auth {
	font-size: 12px;
}

.customer-portal-platform-row-action-cell {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	text-align: right;
}

.customer-portal-platform-row-action,
.customer-portal-platform-row-action-cell .mcp-connector-button,
.customer-portal-platform-row-action-cell .customer-portal-platform-add-action {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--customer-portal-blue);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	text-shadow: none;
	white-space: nowrap;
	cursor: pointer;
}

.customer-portal-platform-row-action:hover,
.customer-portal-platform-row-action:focus,
.customer-portal-platform-row-action-cell .mcp-connector-button:hover,
.customer-portal-platform-row-action-cell .mcp-connector-button:focus,
.customer-portal-platform-row-action-cell .customer-portal-platform-add-action:hover {
	background: transparent;
	color: var(--customer-portal-blue);
	text-decoration: underline;
}

.customer-portal-platform-row-action-cell .customer-portal-platform-add-action input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.customer-portal-platform-row-detail {
	padding: 14px 14px 14px 48px;
	border-top: 1px solid #e5e5e5;
	background: #f9f9f9;
}

.customer-portal-platform-row-detail[hidden] {
	display: none;
}

.customer-portal-platform-row-detail p {
	max-width: 640px;
	margin: 0 0 6px;
	color: #5a5a5a;
	font-size: 13px;
}

.customer-portal-platform-row-detail .customer-portal-platform-row-user-detail {
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-platform-row-detail .customer-portal-platform-card-actions {
	margin-top: 12px;
}

.customer-portal-platform-empty {
	margin: 0;
	padding: 26px;
	border: 0;
	background: #fff;
}

.customer-portal-platform-pagination {
	justify-content: center;
	padding-top: 12px;
}

.customer-portal-platform-pagination .mcp-list-page-count {
	display: none;
}

.customer-portal-platform-pagination .mcp-list-page-controls {
	margin: 0;
}

@media (max-width: 920px) {
	.customer-portal-platform-table-head,
	.customer-portal-platform-row-summary {
		grid-template-columns: minmax(180px, 1.5fr) minmax(104px, 125px) minmax(110px, 1fr) minmax(82px, 105px);
	}

	.customer-portal-platform-table-head span:nth-child(3),
	.customer-portal-platform-table-head span:nth-child(5),
	.customer-portal-platform-row-identity,
	.customer-portal-platform-row-auth {
		display: none;
	}
}

@media (max-width: 620px) {
	.customer-portal-platform-library { padding: 12px; }
	.customer-portal-platform-search { width: 100%; }
	.customer-portal-platform-filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
	.customer-portal-platform-filters button { flex: 0 0 auto; }
	.customer-portal-platform-toolbar .customer-portal-platform-summary { width: 100%; margin-left: 0; white-space: normal; }
	.customer-portal-platform-table-head { display: none; }
	.customer-portal-platform-row-summary { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 14px; padding: 12px; }
	.customer-portal-platform-row-name { grid-column: 1 / -1; }
	.customer-portal-platform-row-summary .customer-portal-platform-status,
	.customer-portal-platform-row-sync { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; }
	.customer-portal-platform-row-summary .customer-portal-platform-status::before,
	.customer-portal-platform-row-sync::before { content: attr(data-label); color: var(--customer-portal-muted); font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
	.customer-portal-platform-row-action-cell { align-self: center; grid-column: 2; grid-row: 2 / span 2; }
	.customer-portal-platform-row-detail { padding: 12px; }
}

.mcp-account-admin-shell .customer-portal-platform-actions {
	margin-top: 12px;
	padding: 12px 0 4px;
}

.customer-portal-team-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 42px;
	margin-bottom: 12px;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.customer-portal-team-summary {
	flex: 1;
}

.customer-portal-team-filter {
	display: flex;
	align-items: center;
	width: 240px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 3px;
	background: #fff;
	color: var(--customer-portal-muted);
}

.customer-portal-team-filter:focus-within {
	border-color: var(--customer-portal-blue);
	box-shadow: 0 0 0 2px rgba(61, 89, 171, .12);
}

.customer-portal-team-filter input {
	width: 100%;
	min-width: 0;
	height: 30px;
	margin-left: 8px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #464646;
	font-size: 13px;
}

.customer-portal-team-toolbar-actions {
	display: flex;
	gap: 8px;
}

.customer-portal-plan-defaults[disabled] {
	opacity: .72;
	cursor: default;
}

.customer-portal-team-panel .mcp-user-capability-widget {
	border: 0;
	background: transparent;
}

.customer-portal-team-panel .mcp-user-capability-widget > .mcp-widget-topbar {
	display: none;
}

.customer-portal-team-panel .mcp-user-capability-widget > .mcp-widget-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: transparent;
}

.customer-portal-team-panel .mcp-list-filter {
	margin-bottom: 2px;
	background: #fff;
	border: 1px solid var(--customer-portal-border);
}

.customer-portal-team-panel .mcp-user-capability-card {
	margin: 0;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-team-panel .mcp-user-capability-header {
	min-height: 58px;
	padding: 12px 16px;
	border-bottom: 0;
	background: #fff;
	transition: background .15s ease;
}

.customer-portal-team-panel .mcp-user-capability-header:hover {
	background: var(--customer-portal-surface);
}

.customer-portal-team-panel .mcp-user-capability-header::after {
	color: var(--customer-portal-muted);
	content: "\2303";
	font-size: 15px;
}

.customer-portal-team-panel .mcp-user-capability-card.is-collapsed .mcp-user-capability-header::after {
	content: "\2304";
}

.customer-portal-team-panel .mcp-user-capability-identity {
	flex: 1;
}

.customer-portal-team-panel .mcp-user-capability-identity::before {
	display: none;
}

.customer-portal-team-panel .mcp-user-capability-identity small {
	display: block;
	margin-top: 2px;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-team-role {
	margin-left: 4px;
	color: var(--customer-portal-muted);
	font-size: 12px;
	font-weight: 400;
}

.customer-portal-team-avatar {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--customer-portal-purple);
	color: #fff;
	font-weight: 700;
}

.customer-portal-team-avatar.is-tone-1 { background: #3d59ab; }
.customer-portal-team-avatar.is-tone-2 { background: #0d9488; }
.customer-portal-team-avatar.is-tone-3 { background: #b45309; }
.customer-portal-team-avatar.is-tone-4 { background: #7c3aed; }
.customer-portal-team-avatar.is-tone-5 { background: #be185d; }

.customer-portal-team-member-actions {
	display: grid;
	align-items: center;
	grid-template-columns: 110px 76px 68px;
	column-gap: 18px;
	width: 290px;
	margin-left: auto;
}

.mcp-user-access-toggle,
.mcp-user-admin-toggle {
	display: inline-flex;
	align-items: center;
	flex-direction: column-reverse;
	gap: 5px;
	margin: 0;
	cursor: pointer;
}

.mcp-user-access-toggle input,
.mcp-user-admin-toggle input {
	position: absolute;
	left: -9999px;
}

.mcp-user-access-toggle input:focus + .mcp-account-switch,
.mcp-user-admin-toggle input:focus + .mcp-account-switch {
	box-shadow: 0 0 0 3px rgba(61, 89, 171, .2);
}

.mcp-user-access-toggle input:disabled + .mcp-account-switch,
.mcp-user-admin-toggle input:disabled + .mcp-account-switch {
	opacity: .62;
}

.mcp-user-access-toggle.is-disabled,
.mcp-user-admin-toggle.is-disabled {
	cursor: not-allowed;
}

.mcp-user-access-label {
	min-width: 68px;
	color: var(--customer-portal-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.mcp-user-admin-label {
	min-width: 76px;
	color: var(--customer-portal-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.customer-portal-team-panel .mcp-user-capability-card.is-access-disabled .mcp-user-capability-header {
	background: #f7f7f7;
}

.customer-portal-team-panel .mcp-user-capability-card.is-saving-access {
	opacity: .72;
}

.customer-portal-team-panel .mcp-user-capability-card.is-saving-admin {
	opacity: .72;
}

.customer-portal-team-ai-status.is-access-disabled {
	color: #a15b16;
}

.customer-portal-team-ai-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	color: var(--customer-portal-muted);
	font-size: 13px;
	font-weight: 600;
}

.customer-portal-team-ai-status::before {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
}

.customer-portal-team-ai-status.is-connected {
	color: var(--customer-portal-green);
}

.customer-portal-team-ai-status.is-connected::before {
	background: currentColor;
}

.customer-portal-team-resend {
	color: var(--customer-portal-blue);
	font-size: 13px;
	font-weight: 600;
}

.customer-portal-team-panel .mcp-user-capability-body {
	border-top: 1px solid #e2e3e6;
	padding: 12px 16px;
}

.customer-portal-team-panel .mcp-user-capability-table thead th {
	background: var(--customer-portal-black);
	color: #fff;
	padding: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	text-shadow: none;
}

.customer-portal-team-panel .mcp-user-capability-table th:first-child {
	width: 28%;
}

.customer-portal-team-panel .mcp-user-capability-table th:not(:first-child) {
	width: 18%;
}

.customer-portal-team-panel .mcp-cap-group-row td {
	display: none;
}

.customer-portal-team-panel .mcp-cap-connection-row:nth-child(odd) td {
	background: var(--customer-portal-surface);
}

.customer-portal-team-panel .mcp-cap-connection-row td {
	padding: 8px;
}

.customer-portal-team-panel .mcp-cap-connection-meta {
	display: none;
}

.customer-portal-team-panel .mcp-cap-visibility-cell {
	text-align: right;
}

.customer-portal-team-panel .mcp-user-visibility-toggle {
	justify-content: flex-end;
}

.customer-portal-team-panel .mcp-user-visibility-toggle.is-disabled {
	cursor: default;
	opacity: .62;
}

.customer-portal-team-panel .mcp-rwd-toggle {
	min-width: 18px;
}

.customer-portal-team-panel .mcp-rwd-toggle span,
.customer-portal-team-panel .mcp-rwd-toggle.is-on span,
.customer-portal-team-panel .mcp-rwd-toggle.is-locked span,
.customer-portal-team-panel .mcp-rwd-toggle.is-disabled span {
	width: 18px;
	height: 18px;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.customer-portal-team-panel .mcp-rwd-toggle span::after,
.customer-portal-team-panel .mcp-rwd-toggle.is-disabled span::after {
	content: "\2014";
	position: static;
	display: block;
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--customer-portal-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
}

.customer-portal-team-panel .mcp-rwd-toggle.is-on span::after,
.customer-portal-team-panel .mcp-rwd-toggle.is-locked span::after {
	content: "\2713";
	color: #464646;
}

.customer-portal-team-panel .mcp-rwd-toggle em {
	display: none;
}

.customer-portal-team-panel .mcp-cap-plan-status {
	text-align: right;
}

.customer-portal-team-panel .mcp-cap-plan-status span {
	color: var(--customer-portal-muted);
	font-size: 11px;
}

.customer-portal-team-panel .mcp-cap-plan-status .is-restricted {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e5e5e5;
	color: #5a5a5a;
	font-weight: 600;
}

.customer-portal-team-panel .mcp-cap-legend {
	margin-top: 10px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-team-panel {
	max-width: 900px;
}

.customer-portal-team-panel .mcp-cap-empty:not(.hidden) {
	min-height: 160px;
	padding: 48px 24px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #737985;
	text-align: center;
}

.customer-portal-team-note {
	margin-top: 8px;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

#dv-reports-page .dv-titlebar {
	min-height: 72px;
	padding: 12px 24px 0;
}

#dv-reports-page .dv-titlebar h1 {
	font-size: 30px;
	font-weight: 400;
	line-height: 60px;
}

#dv-reports-page .dv-report-library {
	width: calc(100% - 48px);
	max-width: 1020px;
	margin-right: auto;
	margin-left: 24px;
	padding-right: 0;
	padding-left: 0;
}

.customer-portal-report-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.customer-portal-report-toolbar p {
	margin: 0;
	color: var(--customer-portal-muted);
}

.customer-portal-report-toolbar > div {
	display: flex;
	gap: 8px;
}

.customer-portal-report-toolbar input {
	width: 220px;
	height: 34px;
	padding: 6px 10px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-reports-content {
	width: calc(100% - 48px);
	max-width: 1020px;
	margin: 0 auto 40px 24px;
	padding-top: 20px;
}

.customer-portal-reports-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
	color: var(--customer-portal-muted);
}

.customer-portal-report-filters {
	display: flex;
	gap: 6px;
}

.customer-portal-report-filters select {
	height: 32px;
	padding: 0 30px 0 10px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 3px;
	background: #fff;
	color: #626772;
	font: inherit;
	font-size: 13px;
}

.customer-portal-report-filters button {
	height: 32px;
	padding: 0 14px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #626772;
	font-family: inherit;
}

.customer-portal-report-filters button.is-active {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue);
	color: #fff;
}

.customer-portal-report-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.customer-portal-report-card {
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-report-preview {
	display: grid;
	height: 92px;
	place-items: center;
	background: #353941;
	color: #fff;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 34px;
	text-decoration: none;
}

.customer-portal-report-card > div {
	padding: 13px 14px 14px;
}

.customer-portal-report-card h2 {
	margin: 0 0 3px;
	color: #3f4249;
	font-size: 18px;
	font-weight: 600;
}

.customer-portal-report-card p {
	margin: 0 0 12px;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-reports-empty {
	padding: 54px 24px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: var(--customer-portal-muted);
	text-align: center;
}

.customer-portal-reports-empty > span {
	font-size: 36px;
}

.customer-portal-reports-empty h2 {
	text-align: center;
	margin: 8px 0 4px;
	color: #44474e;
	font-size: 20px;
}

.customer-portal-reports-empty p {
	margin: 0;
}

.customer-portal-analytics-tabs {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--customer-portal-border);
}

.customer-portal-analytics-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	/* margin-bottom: 14px; */
	border-bottom: 1px solid var(--customer-portal-border);
}

.customer-portal-analytics-header .customer-portal-analytics-tabs {
	margin-bottom: -1px;
	border-bottom: 0;
}

.customer-portal-analytics-periods {
	display: flex;
	gap: 2px;
	padding-bottom: 6px;
}

.customer-portal-analytics-periods button {
	min-width: 38px;
	height: 27px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #777d88;
	font-family: inherit;
}

.customer-portal-analytics-periods button.is-active {
	border-color: var(--customer-portal-blue);
	background: var(--customer-portal-blue);
	color: #fff;
}

.customer-portal-analytics-periods button:disabled:not(.is-active) {
	opacity: .55;
}

[data-customer-analytics-panel="overview"] {
	padding: 16px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

[data-customer-analytics-panel="activity"],
[data-customer-analytics-panel="changes"] {
	padding: 16px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
}

.customer-portal-analytics-empty:not(.hidden) {
	min-height: 230px;
	text-align: center;
}

.customer-portal-analytics-empty .mcp-widget-body {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 230px;
	padding: 32px;
}

.customer-portal-analytics-empty .mcp-widget-body > span {
	margin-bottom: 10px;
	font-size: 32px;
}

.customer-portal-analytics-empty h3 {
	margin: 0 0 7px;
	color: #44474e;
	font-size: 20px;
}

.customer-portal-analytics-empty p {
	max-width: 480px;
	margin: 0;
	color: #777d88;
}

.mcp-account-admin-shell [data-tab-panel="analytics"] .mcp-account-stat-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mcp-account-admin-shell [data-tab-panel="analytics"] > .mcp-customer-action-bar {
	display: none;
}

.customer-portal-analytics-tabs button {
	height: 38px;
	padding: 0 15px;
	border: 1px solid #3e4248;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	background: #3e4248;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	text-shadow: 1px 1px 1px #000;
}

.customer-portal-analytics-tabs button.is-active {
	margin-bottom: -1px;
	border-color: var(--customer-portal-border);
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #4b4e55;
	text-shadow: none;
}

.customer-portal-changes-empty .mcp-widget-body {
	padding: 52px 24px;
	text-align: center;
}

.customer-portal-changes-empty .mcp-widget-body > span {
	font-size: 34px;
}

.customer-portal-changes-empty h3 {
	margin: 8px 0 4px;
	color: #45484f;
	font-size: 20px;
}

.customer-portal-changes-empty p {
	margin-bottom: 16px;
	color: var(--customer-portal-muted);
}

.customer-portal-usage-page {
	max-width: 900px;
}

.customer-portal-metering-page {
	max-width: 1020px;
}

.customer-portal-metering-intro {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--customer-portal-muted);
	font-size: 14px;
}

.customer-portal-metering-intro > span {
	flex: 1;
}

.customer-portal-metering-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.customer-portal-metering-stats article {
	padding: 12px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	text-align: center;
}

.customer-portal-metering-stats span,
.customer-portal-metering-stats small {
	display: block;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-metering-stats strong {
	display: block;
	margin: 2px 0;
	color: #464646;
	font-size: 26px;
	font-weight: 400;
	line-height: 32px;
}

.customer-portal-metering-stats small.is-good { color: #6ea60b; font-weight: 600; }
.customer-portal-metering-stats small.is-warn { color: #d89613; font-weight: 600; }

.customer-portal-metering-chart { margin: 0 0 14px; }
.customer-portal-metering-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 14px 16px 6px; }
.customer-portal-metering-bars i { display: block; flex: 1; min-width: 2px; background: #3d59ab; }
.customer-portal-metering-axis { display: flex; justify-content: space-between; padding: 0 16px 12px; color: var(--customer-portal-muted); font-size: 11px; }

.customer-portal-metering-breakdowns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.customer-portal-metering-breakdowns .mcp-card { margin: 0; }
.customer-portal-metering-row { margin-bottom: 10px; }
.customer-portal-metering-row > div { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 3px; font-size: 13px; }
.customer-portal-metering-row strong { color: #464646; }
.customer-portal-metering-row span { color: var(--customer-portal-muted); white-space: nowrap; }
.customer-portal-metering-row > i { display: block; height: 8px; overflow: hidden; background: #f0f0f0; }
.customer-portal-metering-row > i b { display: block; height: 100%; background: #3d59ab; }
.customer-portal-metering-row > i b.mcp-chip-google { background: #4285f4; }
.customer-portal-metering-row > i b.mcp-chip-meta { background: #1877f2; }
.customer-portal-metering-row > i b.mcp-chip-linkedin { background: #0a66c2; }
.customer-portal-metering-note,
.customer-portal-metering-empty { display: block; color: var(--customer-portal-muted); font-size: 12px; }
.customer-portal-metering-note { margin-top: 12px; }
.customer-portal-metering-projection { margin-top: 14px; padding: 10px 14px; border: 1px solid var(--customer-portal-border); background: #f0f0f0; color: #5a5a5a; font-size: 13px; }
.customer-portal-metering-projection strong { color: #464646; }

.customer-portal-usage-alert {
	margin-bottom: 14px;
	padding: 12px 16px;
	border: 1px solid #d89613;
	background: #fdf6e7;
	color: #5a5a5a;
	font-size: 13px;
}

.customer-portal-usage-alert strong {
	color: #464646;
}

.customer-portal-usage-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 12px;
	margin-bottom: 14px;
}

.customer-portal-usage-top .mcp-card,
.customer-portal-invoices {
	margin: 0;
}

.customer-portal-usage-top .mcp-widget-topbar,
.customer-portal-invoices .mcp-widget-topbar {
	min-height: 40px;
	font-size: 18px;
	line-height: 39px;
}

.customer-portal-plan-card h2 {
	margin: 2px 0;
	color: #464646;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.15;
}

.customer-portal-plan-card h2 span {
	display: block;
	margin-top: 3px;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-plan-card ul {
	margin: 8px 0;
	padding-left: 16px;
	color: #5a5a5a;
	font-size: 13px;
	line-height: 1.8;
}

.customer-portal-plan-card p {
	margin: 8px 0 0;
	color: var(--customer-portal-muted);
	font-size: 12px;
}

.customer-portal-usage-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.mcp-account-admin-shell .customer-portal-usage-actions ._button.compact {
	min-width: 100px !important;
	padding-right: 16px;
	padding-left: 16px;
	justify-content: center;
	text-align: center;
}

.mcp-account-admin-shell .customer-portal-usage-actions .mcp-action-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 16px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 8px;
	background: #fff !important;
	color: #5a5a5a !important;
	text-decoration: none;
	text-shadow: none !important;
	text-transform: none !important;
}

.customer-portal-usage-meter {
	margin-bottom: 14px;
}

.customer-portal-usage-meter > div:first-child {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 5px;
	font-size: 13px;
}

.customer-portal-usage-meter strong {
	color: #464646;
}

.customer-portal-usage-meter span {
	color: var(--customer-portal-muted);
	text-align: right;
}

.customer-portal-usage-track {
	position: relative;
	height: 10px;
	background: #f0f0f0;
}

.customer-portal-usage-track i {
	display: block;
	height: 100%;
	background: var(--customer-portal-blue);
}

.customer-portal-usage-track.is-secondary i {
	background: #0d9488;
}

.customer-portal-usage-track b {
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: 75%;
	width: 2px;
	background: #d89613;
}

.customer-portal-usage-projection {
	padding: 10px 12px;
	background: #f0f0f0;
	color: #5a5a5a;
	font-size: 13px;
}

.customer-portal-invoices .mcp-widget-body {
	padding: 0 14px 8px;
}

.customer-portal-invoice-row {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 12px;
	min-height: 42px;
	padding: 8px 0;
	border-bottom: 1px solid #e5e5e5;
	color: #5a5a5a;
	font-size: 13px;
}

.customer-portal-invoice-row:nth-child(even) {
	background: #f7f7f7;
}

.customer-portal-invoice-row strong,
.customer-portal-invoice-row b {
	color: #464646;
}

.customer-portal-invoice-row em {
	color: #6ea60b;
	font-style: normal;
	font-weight: 600;
}

.customer-portal-invoice-row a.is-disabled {
	pointer-events: none;
	opacity: .45;
}

.customer-portal-invoice-empty {
	padding: 22px 0;
	color: var(--customer-portal-muted);
	text-align: center;
}

.customer-portal-usage-page + .mcp-customer-action-bar {
	display: none;
}

.mcp-keys-content {
	width: calc(100% - 48px);
	max-width: 900px;
	/* margin: 0 auto 40px; */
	margin:0 auto 40px 24px;
	padding-top: 20px;
}

.customer-portal-button.is-disabled {
	display: inline-block;
	border-color: #c9ccd2;
	background: #e6e7ea;
	color: #8b9099;
	box-shadow: none;
	cursor: not-allowed;
	text-shadow: none;
}

.customer-portal-team-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mcp-keys-content > .customer-portal-subnav {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-top: 0;
}

.customer-portal-keys-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 18px 0 14px;
	padding: 22px 24px;
	border: 1px solid #dfe3eb;
	border-radius: 10px;
	background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
	box-shadow: 0 10px 26px rgba(25, 35, 58, .08);
}

.customer-portal-keys-hero span {
	display: block;
	margin-bottom: 5px;
	color: #3d59ab;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.customer-portal-keys-hero h2 {
	margin: 0 0 5px;
	color: #262a32;
	font-size: 27px;
	font-weight: 600;
	line-height: 1.15;
}

.customer-portal-keys-hero p {
	max-width: 560px;
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.55;
}

.customer-portal-keys-summary {
	display: grid;
	grid-template-columns: .65fr 1.35fr .75fr;
	gap: 12px;
	margin-bottom: 14px;
}

.customer-portal-keys-summary article {
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid #e1e5ec;
	border-radius: 8px;
	background: #fff;
}

.customer-portal-keys-summary span,
.customer-portal-keys-summary strong {
	display: block;
}

.customer-portal-keys-summary span {
	margin-bottom: 5px;
	color: #8b93a1;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.customer-portal-keys-summary strong {
	overflow: hidden;
	color: #282d37;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-key-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 12px 0 10px;
}

.customer-portal-key-card {
	border: 1px solid var(--customer-portal-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(22, 28, 42, .06);
	overflow: hidden;
}

.customer-portal-key-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 16px;
	border-top: 0;
	border-bottom: 1px solid #e5e8ef;
	background: #fff;
}

.customer-portal-key-heading {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	gap: 12px;
	flex: 1;
}

.customer-portal-key-card h2 {
	margin: 0;
	color: #262a32;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.customer-portal-key-heading p {
	margin: 4px 0 0;
}

.customer-portal-key-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 9px;
	background: #eef3ff;
	color: #3d59ab;
	font-size: 17px;
}

.customer-portal-key-status {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	border-radius: 999px;
	background: #f0f0f0;
	color: #5a5a5a;
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	white-space: nowrap;
}

.customer-portal-key-status.is-active {
	background: #f0f7e6;
	color: #6ea60b;
}

.customer-portal-key-status.is-unused {
	background: #fdf6e7;
	color: #d89613;
}

.customer-portal-key-status.is-revoked {
	background: #ffecec;
	color: #ff0000;
}

.customer-portal-key-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-left: auto;
	flex-wrap: wrap;
}

.customer-portal-key-actions a {
	color: #3d59ab;
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
}

.customer-portal-key-actions a:hover,
.customer-portal-key-actions a:focus {
	color: #263b74;
}

.customer-portal-key-actions a.is-danger {
	color: #ff6b6b;
}

.customer-portal-key-body {
	padding: 16px;
}

.customer-portal-key-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
	color: #666d7a;
	font-size: 13px;
}

.customer-portal-key-meta code {
	color: #737986;
	font-family: Monaco, Consolas, monospace;
	font-size: 11px;
}

.customer-portal-key-meta span {
	display: block;
	padding: 10px 12px;
	border-radius: 7px;
	background: #f7f8fb;
}

.customer-portal-key-meta strong {
	display: block;
	margin-bottom: 3px;
	color: #9097a5;
	font-size: 10px;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.customer-portal-key-nudge {
	margin-bottom: 10px;
	padding: 9px 11px;
	border: 1px solid #d89613;
	background: #fdf6e7;
	color: #5a5a5a;
	font-size: 12px;
}

.customer-portal-key-nudge strong {
	color: #6b541a;
}

.customer-portal-key-products {
	border: 1px solid #e5e5e5;
}

.customer-portal-key-product-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 52px;
	padding: 8px 12px;
	border-bottom: 1px solid #e5e5e5;
}

.customer-portal-key-product-row:nth-child(even) {
	background: #f9f9f9;
}

.customer-portal-key-product-row:last-child {
	border-bottom: 0;
}

.customer-portal-key-product-row strong,
.customer-portal-key-product-row small {
	display: block;
}

.customer-portal-key-product-row strong {
	color: #464646;
	font-size: 14px;
	font-weight: 600;
}

.customer-portal-key-product-row small {
	margin-top: 1px;
	color: #9ea3b0;
	font-family: inherit;
	font-size: 12px;
}

.customer-portal-key-switch {
	position: relative;
	display: block;
	width: 40px;
	height: 20px;
	flex: 0 0 40px;
	border: 1px solid rgba(0, 0, 0, .4);
	border-radius: 999px;
	background: rgba(0, 0, 0, .1);
}

.customer-portal-key-switch i {
	position: absolute;
	top: 1px;
	left: 1px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.customer-portal-key-switch.is-on {
	border-color: #0e62cd;
	background: #3b89ec;
}

.customer-portal-key-switch.is-on i {
	left: 21px;
}

.customer-portal-key-footnote {
	margin-top: 8px;
	color: #9ea3b0;
	font-size: 12px;
}

.customer-portal-key-secondary-actions {
	display: flex;
	gap: 14px;
	margin-top: 10px;
	font-size: 12px;
}

.customer-portal-key-empty {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 86px;
	padding: 14px;
}

.customer-portal-key-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 3px;
	background: #f0f0f0;
	font-size: 22px;
}

.customer-portal-key-empty > div {
	min-width: 0;
	flex: 1;
}

.customer-portal-key-empty h2 {
	margin: 0 0 2px;
	color: #464646;
	font-size: 17px;
	font-weight: 600;
	line-height: 22px;
}

.customer-portal-key-empty p {
	margin: 0;
	color: #9ea3b0;
	font-size: 13px;
}

@media (max-width: 820px) {
	.customer-portal-keys-hero,
	.customer-portal-key-card-header {
		align-items: stretch;
		flex-direction: column;
	}

	.customer-portal-keys-summary,
	.customer-portal-key-meta {
		grid-template-columns: 1fr;
	}

	.customer-portal-key-actions {
		justify-content: flex-start;
	}
}

.mcp-keys-content > .customer-portal-security-note {
	margin: 0 0 28px;
}

.customer-portal-key-table-panel {
	display: block;
	margin: 0 0 14px;
	padding: 20px;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	background: #fff;
}

.customer-portal-key-table-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.customer-portal-key-search {
	display: flex;
	align-items: center;
	width: 200px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #fff;
	color: #9ea3b0;
}

.customer-portal-key-search input {
	min-width: 0;
	width: 100%;
	margin-left: 7px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #464646;
	font: inherit;
	font-size: 13px;
}

.customer-portal-key-filters {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.customer-portal-key-filters button {
	min-height: 29px;
	padding: 3px 13px;
	border: 1px solid #bdbdbd;
	border-radius: 999px;
	background: #fff;
	color: #5a5a5a;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.customer-portal-key-filters button:hover,
.customer-portal-key-filters button.is-active {
	border-color: #3e424b;
	background: #3e424b;
	color: #fff;
}

.customer-portal-key-count {
	margin-left: auto;
	color: #9ea3b0;
	font-size: 13px;
	white-space: nowrap;
}

.customer-portal-key-table-head,
.customer-portal-key-table-summary {
	display: grid;
	grid-template-columns: minmax(160px, 1.5fr) minmax(84px, 110px) minmax(90px, 1fr) minmax(60px, 80px) minmax(70px, 100px) minmax(64px, 90px);
	align-items: center;
	gap: 8px;
}

.customer-portal-key-table-head {
	padding: 8px 14px;
	border: 1px solid #dbdbdb;
	border-bottom: 0;
	background: #f9f9f9;
	color: #9ea3b0;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.customer-portal-key-table-item {
	border: 1px solid #dbdbdb;
	border-bottom: 0;
}

.customer-portal-key-table-item:last-of-type { border-bottom: 1px solid #dbdbdb; }

.customer-portal-key-table-summary {
	width: 100%;
	min-height: 45px;
	padding: 8px 14px;
	border: 0;
	background: #fff;
	color: #5a5a5a;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.customer-portal-key-table-summary:hover,
.customer-portal-key-table-summary:focus,
.customer-portal-key-table-item.is-open .customer-portal-key-table-summary {
	background: #f4f6fa;
	outline: 0;
}

.customer-portal-key-table-name {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 7px;
}

.customer-portal-key-table-name > span {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.customer-portal-key-table-name strong {
	overflow: hidden;
	color: #464646;
	font-size: 14px;
	font-weight: 600;
	line-height: 17px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-key-table-name code {
	overflow: hidden;
	color: #9ea3b0;
	font-family: Monaco, Consolas, monospace;
	font-size: 10px;
	line-height: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-key-chevron {
	width: 12px;
	flex: 0 0 12px;
	color: #9ea3b0;
	font-size: 11px;
	font-style: normal;
}

.customer-portal-key-table-summary > span:not(.customer-portal-key-table-name) {
	min-width: 0;
	font-size: 12px;
}

.customer-portal-key-connected,
.customer-portal-key-date,
.customer-portal-key-products-count {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.customer-portal-key-connected,
.customer-portal-key-products-count { color: #5a5a5a; }
.customer-portal-key-date { color: #9ea3b0; }

.customer-portal-key-table-detail {
	padding: 14px 14px 14px 34px;
	border-top: 1px solid #e5e5e5;
	background: #f9f9f9;
}

.customer-portal-key-table-detail[hidden] { display: none; }

.customer-portal-key-table-detail .customer-portal-key-products {
	max-width: 640px;
	background: #fff;
}

.customer-portal-key-table-detail .customer-portal-key-product-row {
	min-height: 48px;
	padding: 8px 12px;
}

.customer-portal-key-table-detail .customer-portal-key-footnote { margin-top: 8px; }

.customer-portal-key-table-detail .customer-portal-key-actions {
	justify-content: flex-start;
	margin-top: 12px;
	margin-left: 0;
}

.customer-portal-key-action-spacer { flex: 1; }

.customer-portal-key-filter-empty {
	padding: 26px;
	border: 1px solid #dbdbdb;
	color: #9ea3b0;
	font-size: 14px;
	text-align: center;
}

.customer-portal-key-filter-empty button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #3d59ab;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.customer-portal-key-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 16px 0 2px;
}

.customer-portal-key-pagination > span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.customer-portal-key-pagination button {
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	background: #fff;
	color: #5a5a5a;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.customer-portal-key-pagination button:hover,
.customer-portal-key-pagination button.is-active {
	border-color: #3e424b;
	background: #3e424b;
	color: #fff;
}

.customer-portal-key-pagination button:disabled {
	opacity: .4;
	cursor: default;
}

@media (max-width: 760px) {
	.customer-portal-key-count { width: 100%; margin-left: 0; }
	.customer-portal-key-table-head { display: none; }
	.customer-portal-key-table-summary { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 14px; padding: 12px 14px; }
	.customer-portal-key-table-summary > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
	.customer-portal-key-table-summary > span::before { content: attr(data-label); color: #9ea3b0; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
	.customer-portal-key-table-summary .customer-portal-key-table-name { grid-column: 1; }
	.customer-portal-key-table-summary .customer-portal-key-table-name::before { display: none; }
	.customer-portal-key-table-detail { padding-left: 14px; }
	.customer-portal-key-action-spacer { display: none; }
	.customer-portal-key-table-detail .customer-portal-key-actions { gap: 7px 14px; }
}

@media (max-width: 520px) {
	.customer-portal-key-table-panel { padding: 12px; }
	.customer-portal-key-search { width: 100%; }
	.customer-portal-key-filters { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 2px; }
	.customer-portal-key-filters button { flex: 0 0 auto; }
	.customer-portal-key-table-summary { grid-template-columns: 1fr; }
}

.customer-portal-support-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: start;
}

#support-form-root > .mcp-customer-panel {
	width: calc(100% - 48px);
	max-width: 1020px;
	margin: 20px auto 28px 24px;
}

.customer-portal-support-grid > .mcp-card {
	margin: 0;
}

.customer-portal-common-fixes .mcp-widget-body,
.customer-portal-support-request .mcp-widget-body {
	padding: 14px;
}

.customer-portal-support-search {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	margin: 0 0 12px;
	padding: 7px 12px;
	border: 1px solid var(--customer-portal-border);
	border-radius: 3px;
	background: #fff;
	color: #5a5a5a;
	font-size: 14px;
}

.customer-portal-support-fixes {
	display: grid;
	gap: 10px;
}

.customer-portal-support-fixes > a {
	display: block;
	padding: 12px;
	border: 1px solid var(--customer-portal-border);
	background: #fff;
	color: #464646;
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}

.customer-portal-support-fixes > a:hover,
.customer-portal-support-fixes > a:focus {
	border-color: #6897e6;
	background: #fafcff;
	outline: none;
}

.customer-portal-support-fixes > a > span {
	display: block;
	font-size: 16px;
	line-height: 20px;
}

.customer-portal-common-fixes strong,
.customer-portal-common-fixes small {
	display: block;
}

.customer-portal-common-fixes strong {
	margin: 4px 0 2px;
	font-size: 13px;
	font-weight: 600;
}

.customer-portal-common-fixes small {
	color: #9ea3b0;
	font-size: 12px;
}

.customer-portal-support-empty {
	margin: 0;
	padding: 12px;
	border: 1px dashed var(--customer-portal-border);
	color: #9ea3b0;
	font-size: 13px;
	text-align: center;
}

.customer-portal-support-response-time {
	margin: 0 0 12px;
	color: #9ea3b0;
	font-size: 12px;
}

.customer-portal-support-request .support-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.customer-portal-support-request .mcp-input {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 1px solid var(--customer-portal-border);
	border-radius: 3px;
	background: #fff;
	color: #5a5a5a;
	font-size: 14px;
}

.customer-portal-support-request select.mcp-input {
	height: 34px;
	padding: 6px 12px;
}

.customer-portal-support-request textarea.mcp-input {
	min-height: 96px;
	padding: 9px 12px;
	resize: vertical;
}

.customer-portal-support-context {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #5a5a5a;
	font-size: 13px;
	line-height: 18px;
}

.customer-portal-support-context input {
	margin: 2px 0 0;
}

.mcp-account-admin-shell .customer-portal-support-submit,
.customer-portal-support-submit {
	min-width: 100px !important;
	padding-right: 22px;
	padding-left: 22px;
	font-size: 14px;
}

@media (max-width: 900px) {
	.customer-portal-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.customer-portal-status-grid { grid-template-columns: 1fr; }
	.customer-portal-lower-grid { grid-template-columns: 1fr; }
	.customer-portal-playbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.customer-portal-platform-grid { grid-template-columns: 1fr; }
	.customer-portal-platform-add-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.customer-portal-usage-top { grid-template-columns: 1fr; }
	.customer-portal-metering-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.customer-portal-metering-breakdowns { grid-template-columns: 1fr; }
	.mcp-setup-page .mcp-customer-llm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.customer-portal-support-grid { grid-template-columns: 1fr; }
	.customer-portal-key-card-header { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 7px; padding-bottom: 8px; }
	.customer-portal-key-actions { justify-content: flex-start; margin-left: 0; }
}

@media (max-width: 620px) {
	.notification-center-content,
	.notification-settings-content { width: calc(100% - 24px); margin-right: 12px; margin-left: 12px; }
	.notification-center-toolbar { align-items: stretch; flex-wrap: wrap; }
	.notification-center-toolbar > span { display: none; }
	.notification-center-toolbar .notification-center-mark-read { margin-left: auto; }
	.notification-settings-grid-head,
	.notification-settings-row { grid-template-columns: minmax(0, 1fr) 68px 68px; }
	.notification-center-action-row { align-items: flex-start; flex-wrap: wrap; }
	.notification-center-action-row > a { margin-left: 40px; }
	.customer-portal-titlebar { min-height: 60px; padding: 14px 16px; }
	.customer-portal-titlebar-with-meta { align-items: flex-start; flex-direction: column; gap: 12px; }
	.customer-portal-titlebar h1 { font-size: 25px; }
	.customer-portal-setup,
	.customer-portal-status-grid,
	.customer-portal-lower-grid,
	.customer-portal-library-toolbar,
	.customer-portal-library-intro,
	.customer-portal-playbook-grid,
	.customer-portal-library-empty { margin-left: 12px; margin-right: 12px; }
	.customer-portal-setup .customer-portal-panel-title { align-items: flex-start; flex-direction: column; gap: 7px; padding-top: 9px; padding-bottom: 9px; }
	.customer-portal-progress { width: 100%; }
	.customer-portal-checklist,
	.customer-portal-playbook-grid { grid-template-columns: 1fr; }
	.customer-portal-library-toolbar { align-items: stretch; flex-direction: column; }
	.customer-portal-library-toolbar input { width: 100%; }
	.customer-portal-addon-card { margin: 28px 12px 50px; padding: 28px 22px; }
	.mcp-account-admin-shell .mcp-account-library,
	.mcp-customer-shell > .customer-portal-subnav,
	.mcp-customer-shell > .customer-portal-key-list,
	.mcp-customer-shell > .customer-portal-security-note,
	.mcp-customer-panel--wizard,
	#support-form-root > .mcp-customer-panel { width: calc(100% - 24px); margin-left: 12px; }
	.customer-portal-subnav { overflow-x: auto; }
	.customer-portal-team-toolbar { align-items: flex-start; flex-direction: column; }
	.customer-portal-team-toolbar > div { width: 100%; flex-wrap: wrap; }
	.customer-portal-team-panel .mcp-user-capability-header { flex-wrap: wrap; }
	.customer-portal-team-panel .mcp-user-capability-header::after { order: 3; }
	.customer-portal-team-member-actions { order: 4; width: calc(100% - 50px); grid-template-columns: minmax(0, 1fr) 76px 68px; margin-left: 50px; }
	.customer-portal-platform-card-identity > div { align-items: flex-start; flex-direction: column; gap: 3px; }
	.customer-portal-platform-card-identity small { overflow: visible; text-overflow: clip; white-space: normal; }
	.customer-portal-platform-add-grid { grid-template-columns: 1fr; }
	.mcp-setup-content,
	.mcp-keys-content { width: calc(100% - 24px); margin-left: 12px; }
	.mcp-setup-wizard-card { padding: 14px; }
	.mcp-setup-page .mcp-customer-llm-grid,
	.mcp-setup-page .mcp-customer-platform-grid { grid-template-columns: 1fr; }
	.customer-portal-metering-stats { grid-template-columns: 1fr; }
	.customer-portal-metering-intro { align-items: flex-start; flex-direction: column; }
	.mcp-setup-step > strong { display: none; }
	.mcp-setup-step-line { margin-right: 6px; margin-left: 6px; }
	.mcp-setup-verification { align-items: flex-start; flex-wrap: wrap; }
	.customer-portal-key-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
	.customer-portal-key-card h2 { line-height: 24px; }
	.customer-portal-key-actions { width: 100%; flex-wrap: wrap; gap: 5px 14px; }
	.customer-portal-key-empty { align-items: flex-start; flex-wrap: wrap; }
	.customer-portal-key-empty > ._button { margin-left: 56px; }
	.customer-portal-invoice-row { grid-template-columns: 1fr auto; gap: 3px 12px; padding: 8px 0; }
	.customer-portal-invoice-row > span { grid-column: 1 / -1; }
	.customer-portal-usage-meter > div:first-child { flex-direction: column; gap: 2px; }
		.customer-portal-usage-meter span { text-align: left; }
}

/* Connection settings roster */
.mcp-connection-settings-roster {
	width: min(1100px, 100%);
	margin: 0 auto;
	border: 1px solid #dfe3e8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(32, 42, 55, .06);
	overflow: hidden;
}

.mcp-connection-settings-intro {
	padding: 25px 28px 20px;
	border-bottom: 1px solid #e7e9ed;
}

.mcp-connection-settings-intro h2 {
	margin: 0 0 6px;
	color: #262b31;
	font-size: 21px;
	font-weight: 600;
}

.mcp-connection-settings-intro p {
	max-width: 820px;
	margin: 0;
	color: #69717c;
	font-size: 13px;
	line-height: 1.55;
}

.mcp-connection-settings-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid #e7e9ed;
	background: #fafbfc;
}

.mcp-connection-settings-search {
	display: flex;
	align-items: center;
	width: 235px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #d5d9df;
	border-radius: 5px;
	background: #fff;
	color: #8b929c;
}

.mcp-connection-settings-search input {
	min-width: 0;
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #30343a;
	font: inherit;
}

.mcp-connection-settings-filters {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mcp-connection-settings-filters button {
	min-height: 30px;
	padding: 5px 11px;
	border: 1px solid #d6dae0;
	border-radius: 16px;
	background: #fff;
	color: #606873;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.mcp-connection-settings-filters button:hover,
.mcp-connection-settings-filters button.is-active {
	border-color: #3d59ab;
	background: #edf1fb;
	color: #304b9c;
}

.mcp-connection-settings-count {
	margin-left: auto;
	color: #7b838e;
	font-size: 12px;
	white-space: nowrap;
}

.mcp-connection-settings-head,
.mcp-connection-settings-summary {
	display: grid;
	grid-template-columns: minmax(245px, 1.65fr) minmax(180px, 1.15fr) minmax(125px, .8fr) 105px 18px;
	align-items: center;
	gap: 18px;
}

.mcp-connection-settings-head {
	padding: 10px 20px;
	border-bottom: 1px solid #dfe3e8;
	background: #f3f5f7;
	color: #747c87;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.mcp-connection-settings-item {
	border-bottom: 1px solid #e7e9ed;
}

.mcp-connection-settings-item:last-of-type { border-bottom: 0; }

.mcp-connection-settings-summary {
	width: 100%;
	min-height: 68px;
	padding: 11px 20px;
	border: 0;
	background: #fff;
	color: #3d434b;
	font: inherit;
	text-align: left;
}

.mcp-connection-settings-item.is-configurable .mcp-connection-settings-summary { cursor: pointer; }
.mcp-connection-settings-item.is-configurable .mcp-connection-settings-summary:hover { background: #fafbfc; }
.mcp-connection-settings-item.is-open .mcp-connection-settings-summary { background: #f7f9fc; }

.mcp-connection-settings-name {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.mcp-connection-settings-name strong {
	color: #2e3339;
	font-size: 14px;
	font-weight: 600;
}

.mcp-connection-settings-name small {
	overflow: hidden;
	color: #7b838e;
	font-size: 11px;
	line-height: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mcp-connection-settings-auth,
.mcp-connection-settings-updated {
	color: #626a75;
	font-size: 12px;
}

.mcp-connection-status {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 12px;
	background: #eef0f2;
	color: #6e7580;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
}

.mcp-connection-status.is-ok { background: #e7f5ec; color: #277447; }
.mcp-connection-status.is-warn { background: #fff3d6; color: #8a6515; }

.mcp-connection-settings-chevron {
	visibility: hidden;
	color: #7b838e;
	font-size: 24px;
	line-height: 1;
	transition: transform .18s ease;
}

.is-configurable .mcp-connection-settings-chevron { visibility: visible; }
.is-open .mcp-connection-settings-chevron { transform: rotate(90deg); }

.mcp-connection-settings-detail {
	padding: 0 28px 24px;
	border-top: 1px solid #edf0f3;
	background: #fbfcfd;
}

.mcp-connection-settings-detail[hidden] { display: none; }
.mcp-connection-settings-detail > div { padding-top: 20px; }
.mcp-connection-settings-detail .mcp-card { margin: 0; border: 0; box-shadow: none; background: transparent; }
.mcp-connection-settings-detail .mcp-card > .mcp-widget-topbar { display: none; }
.mcp-connection-settings-detail .mcp-widget-body,
.mcp-connection-settings-detail .mcp-credential-body { padding: 0; }
.mcp-connection-settings-detail .mcp-credential-footer { padding-right: 0; padding-bottom: 0; padding-left: 0; }
.mcp-connection-settings-detail form { margin: 0; }
.mcp-connection-settings-detail #account-mcp-workamajig-company-strip { display: none; }
.mcp-connection-settings-detail #account-mcp-workamajig-company-panel { display: block !important; margin-bottom: 20px; }
.mcp-connection-settings-detail #account-mcp-workamajig-company-panel .mcp-credential-panel-head a { display: none; }

.mcp-connection-settings-empty {
	padding: 38px 20px;
	color: #737b86;
	text-align: center;
}

.mcp-connection-settings-roster > footer {
	padding: 14px 20px;
	border-top: 1px solid #e7e9ed;
	background: #fafbfc;
	color: #757d87;
	font-size: 11px;
	text-align: center;
}

.mcp-connection-settings-page #_f-account-mcp-settings,
.mcp-connection-settings-page [data-tab-panel="settings"] > .mcp-card { display: none; }

@media (max-width: 820px) {
	.mcp-connection-settings-toolbar { align-items: stretch; flex-wrap: wrap; }
	.mcp-connection-settings-search { width: 100%; }
	.mcp-connection-settings-count { display: flex; align-items: center; }
	.mcp-connection-settings-head,
	.mcp-connection-settings-summary { grid-template-columns: minmax(180px, 1.5fr) minmax(130px, 1fr) 105px 18px; }
	.mcp-connection-settings-head span:nth-child(4),
	.mcp-connection-settings-summary .mcp-connection-settings-updated { display: none; }
}

@media (max-width: 590px) {
	.mcp-connection-settings-intro { padding: 20px; }
	.mcp-connection-settings-filters { overflow-x: auto; width: 100%; padding-bottom: 2px; }
	.mcp-connection-settings-filters button { flex: 0 0 auto; }
	.mcp-connection-settings-count { margin-left: 0; }
	.mcp-connection-settings-head { display: none; }
	.mcp-connection-settings-summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 10px; }
	.mcp-connection-settings-auth,
	.mcp-connection-settings-summary > span:nth-child(3) { grid-column: 1; }
	.mcp-connection-settings-chevron { grid-column: 2; grid-row: 1 / span 3; }
	.mcp-connection-settings-name small { overflow: visible; white-space: normal; }
	.mcp-connection-settings-detail { padding: 0 18px 20px; }
}

@media print {
	.customer-portal-nav-search-item,
	.customer-portal-library-toolbar,
	.customer-portal-quick-column { display: none !important; }
	.customer-portal-page { background: #fff; }
}

/* Profile settings */
.profile-settings-page {
	min-height: calc(100vh - 75px);
	padding-bottom: 48px;
}

.profile-settings-content {
	width: calc(100% - 48px);
	max-width: 720px;
	margin: 0 24px;
}

.profile-settings-panel {
	margin-bottom: 14px;
}

.profile-settings-panel .customer-portal-panel-title {
	min-height: 40px;
}

.profile-settings-profile-form {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 18px;
	padding: 16px;
}

.profile-settings-avatar-column {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 7px;
}

.profile-settings-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 50%;
	background: #3d59ab;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.profile-settings-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-settings-avatar span {
	color: #fff;
}

.profile-settings-photo-button,
.profile-settings-secondary-button,
.profile-settings-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 28px;
	margin: 0;
	padding: 4px 13px;
	border: 1px solid #bdbdbd;
	border-radius: 8px;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	text-decoration: none;
}

.profile-settings-photo-button {
	padding: 2px 11px;
	background: #fff;
	color: #5a5a5a;
	font-size: 12px;
}

.profile-settings-photo-button[disabled] {
	cursor: not-allowed;
	opacity: .72;
}

.profile-settings-profile-fields {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.profile-settings-profile-fields label,
.profile-settings-field label {
	display: block;
	margin: 0 0 4px;
	color: #81899a;
	font-size: 12px;
	font-weight: 400;
}

.profile-settings-profile-fields input,
.profile-settings-field input {
	width: 100%;
	height: 35px;
	margin: 0 0 10px;
	padding: 7px 12px;
	border: 1px solid #bdbdbd;
	border-radius: 2px;
	background: #fff;
	box-shadow: none;
	color: #363738;
	font-family: inherit;
	font-size: 14px;
}

.profile-settings-profile-fields input:focus,
.profile-settings-field input:focus {
	border-color: #3d59ab;
	box-shadow: 0 0 0 2px rgba(61, 89, 171, .13);
	outline: 0;
}

.profile-settings-help {
	margin: 0 0 11px;
	color: #8f97a7;
	font-size: 12px;
	line-height: 1.45;
}

.profile-settings-primary-button {
	border-color: #3e424b;
	background: #3e424b;
	color: #fff;
	text-shadow: none;
}

.profile-settings-primary-button:hover,
.profile-settings-primary-button:focus {
	border-color: #3d59ab;
	background: #3d59ab;
	color: #fff;
	text-decoration: none;
}

.profile-settings-password-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 10px;
	padding: 16px;
}

.profile-settings-field-current {
	grid-column: 1 / -1;
	width: calc(50% - 5px);
}

.profile-settings-password-actions {
	grid-column: 1 / -1;
}

.profile-settings-connections-body {
	padding: 14px 16px 16px;
}

.profile-settings-connections-intro {
	margin: 0 0 10px;
	color: #81899a;
	font-size: 12px;
}

.profile-settings-connection {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	min-height: 55px;
	border-bottom: 1px solid #e1e1e1;
}

.profile-settings-connection:last-child {
	border-bottom: 0;
}

.profile-settings-connection-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #3d59ab;
	font-size: 18px;
}

.profile-settings-connection.is-disconnected .profile-settings-connection-icon {
	color: #9ea3b0;
}

.profile-settings-connection-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1px;
}

.profile-settings-connection-copy strong {
	color: #363738;
	font-size: 14px;
	font-weight: 600;
}

.profile-settings-connection-copy small {
	overflow: hidden;
	color: #81899a;
	font-size: 12px;
	line-height: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.profile-settings-secondary-button {
	min-width: 68px;
	background: #fff;
	color: #4d5057;
}

.profile-settings-secondary-button:hover,
.profile-settings-secondary-button:focus {
	border-color: #3d59ab;
	color: #3d59ab;
	text-decoration: none;
}

@media (max-width: 620px) {
	.profile-settings-page { padding-bottom: 28px; }
	.profile-settings-content { width: calc(100% - 24px); margin: 0 12px; }
	.profile-settings-profile-form { grid-template-columns: 1fr; }
	.profile-settings-avatar-column { align-items: flex-start; flex-direction: row; }
	.profile-settings-password-form { grid-template-columns: 1fr; }
	.profile-settings-field-current,
	.profile-settings-password-actions { width: 100%; grid-column: 1; }
	.profile-settings-connection { grid-template-columns: 22px minmax(0, 1fr); padding: 9px 0; }
	.profile-settings-secondary-button { grid-column: 2; justify-self: start; }
	.profile-settings-connection-copy small { overflow: visible; text-overflow: clip; white-space: normal; }
}
