.tms-page-switcher {
	position: fixed;
	bottom: max(20px, env(safe-area-inset-bottom, 0px));
	right: max(20px, env(safe-area-inset-right, 0px));
	z-index: 9000;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Keep Page switcher under live watch chrome / chat (avoid covering messages). */
body:has(.tms-live-watch) .tms-page-switcher {
	z-index: 40;
}

.tms-switcher-toggle {
	background: #1d2327;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	max-width: min(220px, calc(100vw - 40px));
}

.tms-switcher-panel {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: 260px;
	max-width: min(320px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tms-switcher-panel[hidden] {
	display: none;
}

.tms-page-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tms-page-list li {
	margin-bottom: 6px;
}

.tms-btn {
	display: inline-block;
	background: #f0f0f1;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	text-align: left;
	width: 100%;
}

.tms-btn-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.tms-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.tms-badge {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	background: #fcf0e4;
	color: #8a4b12;
	padding: 2px 6px;
	border-radius: 3px;
}

.tms-create-page {
	--tms-cp-bg: #0b0b0b;
	--tms-cp-card: #141414;
	--tms-cp-surface: #1c1c1c;
	--tms-cp-border: #2a2a2a;
	--tms-cp-text: #f5f5f5;
	--tms-cp-muted: #9a9a9a;
	--tms-cp-gold: #f8c54c;
	--tms-cp-gold-hover: #ffd56a;
	--tms-cp-radius: 14px;
	max-width: 1080px;
	margin: 0 auto;
	font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body:has(.tms-create-page--wizard) .entry-content {
	background: transparent;
}

.tms-create-page--wizard {
	background: var(--tms-cp-card);
	border: 1px solid var(--tms-cp-border);
	border-radius: var(--tms-cp-radius);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	color: var(--tms-cp-text);
}

.tms-create-page__hero {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 32px 36px 28px;
	border-bottom: 1px solid var(--tms-cp-border);
	background: linear-gradient(180deg, #181818 0%, var(--tms-cp-card) 100%);
}

.tms-create-page__hero-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border: 1px solid var(--tms-cp-gold);
	border-radius: 12px;
	color: var(--tms-cp-gold);
	background: rgba(248, 197, 76, 0.06);
}

.tms-create-page__hero-copy {
	min-width: 0;
}

.tms-create-page__title {
	margin: 0 0 10px;
	font-size: 1.85rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.2;
}

.tms-create-page__lead {
	margin: 0;
	color: var(--tms-cp-muted);
	max-width: 720px;
	font-size: 0.98rem;
	line-height: 1.55;
}

.tms-create-page__alert {
	margin: 20px 36px 0;
}

.tms-create-page__form {
	padding: 28px 36px 32px;
}

.tms-create-page__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
}

.tms-create-page__section {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	min-width: 0;
}

.tms-create-page__section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
}

.tms-create-page__section-title::before {
	content: "";
	display: block;
	width: 4px;
	height: 1.15em;
	border-radius: 2px;
	background: var(--tms-cp-gold);
	flex-shrink: 0;
}

.tms-create-page--wizard .tms-field {
	margin-bottom: 18px;
}

.tms-create-page--wizard .tms-field:last-child {
	margin-bottom: 0;
}

.tms-create-page--wizard .tms-field > label,
.tms-create-page--wizard .tms-field__label {
	display: block;
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
	color: var(--tms-cp-muted);
}

.tms-create-page--wizard .tms-required {
	color: var(--tms-cp-gold);
	font-weight: 700;
}

.tms-create-page--wizard .tms-input,
.tms-create-page--wizard .tms-form input[type="text"],
.tms-create-page--wizard .tms-form select,
.tms-create-page--wizard .tms-form textarea {
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--tms-cp-surface);
	color: var(--tms-cp-text);
	font: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.tms-create-page--wizard .tms-form textarea {
	min-height: 140px;
	resize: vertical;
}

.tms-create-page--wizard .tms-form input::placeholder,
.tms-create-page--wizard .tms-form textarea::placeholder {
	color: #6b6b6b;
}

.tms-create-page--wizard .tms-input:focus,
.tms-create-page--wizard .tms-form input:focus,
.tms-create-page--wizard .tms-form select:focus,
.tms-create-page--wizard .tms-form textarea:focus {
	border-color: var(--tms-cp-gold);
	box-shadow: none;
	outline: none;
}

.tms-create-page--wizard .tms-input--select,
.tms-create-page--wizard .tms-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
	cursor: pointer;
}

.tms-create-page--wizard .tms-form select option {
	background: #1c1c1c;
	color: #f5f5f5;
}

.tms-create-page--wizard .tms-input-group {
	display: flex;
	align-items: stretch;
}

.tms-create-page--wizard .tms-input-group__prefix {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: #161616;
	border: 1px solid transparent;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	color: #7a7a7a;
	font-size: 13px;
	white-space: nowrap;
}

.tms-create-page--wizard .tms-input-group .tms-input {
	border-radius: 0 10px 10px 0;
}

.tms-create-page--wizard .tms-field__help {
	margin: 8px 0 0;
	font-size: 12px;
	color: #6f6f6f;
}

.tms-create-page--wizard .tms-dropzone {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border: 1.5px dashed #4a4a4a;
	border-radius: 10px;
	background: #161616;
	color: var(--tms-cp-muted);
	cursor: pointer;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.tms-create-page--wizard .tms-dropzone:hover,
.tms-create-page--wizard .tms-dropzone:focus,
.tms-create-page--wizard .tms-dropzone:active {
	border-color: #4a4a4a;
	outline: none;
	box-shadow: none;
	transform: none;
}

.tms-create-page--wizard .tms-dropzone--avatar {
	width: 160px;
	height: 160px;
}

.tms-create-page--wizard .tms-dropzone--cover {
	height: 180px;
}

.tms-create-page--wizard .tms-dropzone__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
}

.tms-create-page--wizard .tms-dropzone__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px;
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
}

.tms-create-page--wizard .tms-dropzone--avatar .tms-dropzone__placeholder {
	align-items: center;
    justify-content: start;
    padding: 50px 16px 20px;
}

.tms-create-page--wizard .tms-dropzone--avatar .tms-dropzone__title {
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	width: calc(100% - 24px);
}

.tms-create-page--wizard .tms-dropzone__icon {
	display: flex;
	color: var(--tms-cp-gold);
}

.tms-create-page--wizard .tms-dropzone__title {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.tms-create-page--wizard .tms-dropzone__hint {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7a7a7a;
}

.tms-create-page--wizard .tms-dropzone__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	border-radius: inherit;
	pointer-events: none;
	background: #111;
}

.tms-create-page--wizard .tms-dropzone__preview[hidden] {
	display: none;
}

.tms-create-page--wizard .tms-dropzone__file {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 8px 10px;
	font-size: 0.72rem;
	font-weight: 600;
	color: #fff;
	background: rgba(0, 0, 0, 0.72);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
}

.tms-create-page--wizard .tms-dropzone__file[hidden] {
	display: none;
}

.tms-create-page--wizard .tms-dropzone.has-preview {
	border-style: solid;
	border-color: #2f2f2f;
}

.tms-create-page--wizard .tms-dropzone.has-preview .tms-dropzone__placeholder {
	display: none;
}

.tms-create-page__tip {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 22px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: #1a1a1a;
	border: 0;
	color: #cfcfcf;
	font-size: 0.86rem;
	line-height: 1.45;
}

.tms-create-page__tip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: transparent;
	border: 1.5px solid var(--tms-cp-gold);
	color: var(--tms-cp-gold);
	font-size: 11px;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
}

.tms-create-page__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--tms-cp-border);
}

.tms-create-page--wizard .tms-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: 520px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #bdbdbd;
	cursor: pointer;
}

.tms-create-page--wizard .tms-checkbox input {
	appearance: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex-shrink: 0;
	border: 1.5px solid #4a4a4a;
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.tms-create-page--wizard .tms-checkbox input:checked {
	background: var(--tms-cp-gold);
	border-color: var(--tms-cp-gold);
}

.tms-create-page--wizard .tms-checkbox input:checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #141414;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.tms-create-page--wizard .tms-checkbox a {
	color: var(--tms-cp-gold);
	text-decoration: none;
	font-weight: 600;
}

.tms-create-page--wizard .tms-checkbox a:hover {
	text-decoration: underline;
}

.tms-create-page__submit.tms-btn,
.tms-create-page--wizard .tms-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: auto;
	padding: 14px 26px;
	border: 0;
	border-radius: 10px;
	background: var(--tms-cp-gold);
	color: #141414;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.tms-create-page__submit.tms-btn:hover,
.tms-create-page--wizard .tms-btn-primary:hover {
	background: var(--tms-cp-gold-hover);
}

.tms-create-page__submit-arrow {
	font-size: 1.1em;
	line-height: 1;
}

.tms-btn-lg {
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
}

.tms-create-page--wizard .tms-error,
.tms-create-page__alert.tms-error {
	background: rgba(214, 54, 56, 0.12);
	border: 1px solid rgba(214, 54, 56, 0.35);
	border-left: 4px solid #d63638;
	border-radius: 8px;
	padding: 12px 14px;
	color: #ffb4b4;
}

@media (max-width: 900px) {
	.tms-create-page__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 768px) {
	.tms-page-switcher {
		bottom: max(14px, env(safe-area-inset-bottom, 0px));
		right: max(12px, env(safe-area-inset-right, 0px));
	}

	.tms-switcher-toggle {
		padding: 9px 12px;
		font-size: 13px;
		max-width: min(180px, calc(50vw - 20px));
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tms-switcher-panel {
		min-width: 0;
		width: min(300px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
		max-width: min(300px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
		max-height: min(60dvh, calc(100dvh - 90px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
		overflow-y: auto;
	}
}

@media (max-width: 480px) {
	.tms-page-switcher {
		bottom: max(12px, env(safe-area-inset-bottom, 0px));
		right: max(10px, env(safe-area-inset-right, 0px));
	}

	.tms-switcher-toggle {
		max-width: min(150px, calc(45vw - 16px));
		padding: 8px 10px;
		font-size: 12px;
	}
}

@media (max-width: 782px) {
	.tms-create-page__hero,
	.tms-create-page__form {
		padding-left: 20px;
		padding-right: 20px;
	}

	.tms-create-page__hero {
		padding-top: 24px;
		padding-bottom: 22px;
	}

	.tms-create-page__title {
		font-size: 1.45rem;
	}

	.tms-create-page__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.tms-create-page__submit.tms-btn {
		width: 100%;
	}

	.tms-create-page--wizard .tms-dropzone--avatar {
		width: 100%;
		max-width: 168px;
	}
}

.tms-error {
	color: #b32d2e;
}

.tms-page-profile .tms-page-header {
	margin-bottom: 20px;
}

.tms-verified-badge {
	display: inline-block;
	background: #e7f5ec;
	color: #1e7e45;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	margin-left: 8px;
}

.tms-page-category {
	display: inline-block;
	margin-left: 8px;
	color: #646970;
}

.tms-switcher-subheading {
	font-size: 12px;
	color: #646970;
	margin: 12px 0 6px;
}

.tms-page-list-disabled .tms-btn {
	opacity: 0.7;
}

.tms-resubmit-link {
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.tms-notice {
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	padding: 12px;
	margin-bottom: 16px;
}

/* Phase 6 — PeepSo/Gecko Page masking */
.tms-page-route .tms-page-profile .tms-page-description {
	margin-bottom: 16px;
	color: #50575e;
}

.tms-page-entity-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #e7f5ec;
	color: #1e7e45;
	padding: 3px 8px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
}

.tms-page-focus-meta {
	margin-bottom: 8px;
}

.tms-page-focus-meta__category,
.tms-page-focus-meta__verified,
.tms-page-focus-meta__tournament {
	display: inline-block;
	font-size: 12px;
	color: #646970;
	margin-right: 10px;
}

.tms-page-focus-meta__verified {
	color: #1e7e45;
	font-weight: 600;
}

.tms-page-focus-meta__tournament {
	font-weight: 600;
	color: #5b21b6;
	background: #f3e8ff;
	padding: 2px 8px;
	border-radius: 4px;
}

.tms-badge--tournament {
	background: #5b21b6;
	color: #fff;
}

.tms-page-profile-view,
.tms-page-focus-shell,
.tms-page-route {
	overflow-x: clip;
	max-width: 100%;
}

.tms-page-focus-shell .ps-focus {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	overflow: hidden;
}

.tms-page-focus-shell--unverified .ps-focus {
	opacity: 0.92;
}

.tms-page-profile-view .ps-focus__name .tms-page-entity-label {
	margin-left: 8px;
}

/* Phase 7 — Page team management */
.tms-page-members {
	max-width: 960px;
	margin: 0 auto;
}

.tms-members-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.tms-members-table th,
.tms-members-table td {
	border: 1px solid #dcdcde;
	padding: 10px;
	text-align: left;
	vertical-align: top;
}

.tms-perm-check {
	display: block;
	margin-bottom: 6px;
}

.tms-member-edit summary {
	cursor: pointer;
	color: #2271b1;
}

.tms-remove-form {
	margin-top: 12px;
}

.tms-notice--success {
	background: #edfaef;
	border-left: 4px solid #00a32a;
	padding: 12px;
}

.tms-page-role {
	font-size: 11px;
	color: #646970;
}

/* Pages directory shown by [tms_page_profile] without a slug. */
.tms-page-directory {
	max-width: 1100px;
	margin: 0 auto;
}

.tms-page-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.tms-page-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	overflow: hidden;
}

.tms-page-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.tms-page-card__cover {
	display: block;
	height: 90px;
	background-color: #f0f0f1;
	background-position: center;
	background-size: cover;
}

.tms-avatar-live-ring--block {
	display: inline-block;
	vertical-align: top;
	line-height: 0;
}

.tms-avatar-live-ring--block .ps-avatar,
.tms-avatar-live-ring--block .ps-avatar--post {
	display: block;
	border-radius: 50%;
	overflow: hidden;
}

.tms-page-card__avatar {
	width: 64px;
	height: 64px;
	border: 3px solid #fff;
	border-radius: 50%;
	margin: -32px 12px 8px;
	background: #fff;
}

.tms-page-card__body {
	display: block;
	padding: 0 12px 14px;
}

.tms-page-card__body small,
.tms-page-card__body em {
	display: block;
	margin-top: 4px;
	color: #646970;
	font-style: normal;
}

/* Page profile About tab replacement */
.tms-page-about__card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 20px 24px;
}

.tms-page-about__title {
	margin: 0 0 16px;
	font-size: 1.25rem;
}

.tms-page-about__meta {
	margin: 0 0 20px;
}

.tms-page-about__row {
	display: grid;
	grid-template-columns: minmax(120px, 180px) 1fr;
	gap: 8px 16px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f1;
}

.tms-page-about__row:last-child {
	border-bottom: 0;
}

.tms-page-about__row dt {
	margin: 0;
	font-weight: 600;
	color: #50575e;
}

.tms-page-about__row dd {
	margin: 0;
}

.tms-page-about__status.is-published {
	color: #1e7e45;
	font-weight: 600;
}

.tms-page-about__status.is-pending {
	color: #8a4b12;
}

.tms-page-about__description h3 {
	margin: 0 0 8px;
	font-size: 1rem;
}

.tms-page-about__empty {
	color: #646970;
	margin: 0 0 16px;
}

.tms-page-about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tms-page-about__hint {
	flex: 1 1 100%;
	margin: 0 0 8px;
	color: #646970;
	font-size: 13px;
}

.tms-page-profile-view .ps-js-profile-completeness,
.tms-page-about .ps-js-profile-completeness {
	display: none !important;
}

/* Page Access / Team */
.tms-page-access,
.tms-pages-i-manage,
.tms-pages-directory {
	max-width: 960px;
	margin: 0 auto;
}

.tms-page-access-banner {
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.tms-page-access-notice--warning {
	background: #fcf0e4;
	border: 1px solid #f0c674;
	border-radius: 6px;
	padding: 16px;
}

.tms-page-access-section {
	margin: 24px 0;
}

.tms-members-table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0;
}

.tms-members-table th,
.tms-members-table td {
	border: 1px solid #dcdcde;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.tms-role-badge {
	display: inline-block;
	font-size: 12px;
	background: #f0f0f1;
	padding: 2px 8px;
	border-radius: 12px;
	margin-right: 6px;
}

.tms-role-badge--owner {
	background: #e8f5e9;
	color: #2e7d32;
}

.tms-status-badge {
	display: inline-block;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 12px;
	text-transform: capitalize;
}

.tms-status-badge--pending {
	background: #fff8e5;
	color: #8a6d00;
}

.tms-status-badge--active {
	background: #e8f5e9;
	color: #2e7d32;
}

.tms-status-badge--declined,
.tms-status-badge--revoked {
	background: #fce8e8;
	color: #9b1c1c;
}

.tms-badge--verified {
	background: #e3f2fd;
	color: #1565c0;
}

.tms-badge--live {
	background: #ffebee;
	color: #c62828;
}

.tms-role-desc-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.tms-role-desc-table th {
	width: 120px;
	text-align: left;
	vertical-align: top;
	padding: 6px 8px 6px 0;
}

.tms-role-desc-table td {
	padding: 6px 0;
	color: #50575e;
}

.tms-inline-actions,
.tms-page-team-card__actions,
.tms-page-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tms-inline-form {
	display: inline;
	margin: 0;
}

.tms-btn-small {
	width: auto;
	padding: 6px 10px;
	font-size: 13px;
}

.tms-pages-i-manage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.tms-page-team-card {
	display: flex;
	gap: 12px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

.tms-page-team-card--highlight {
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

.tms-page-team-card__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.tms-page-team-card .tms-avatar-live-ring.is-live {
	flex-shrink: 0;
}

.tms-page-team-card .tms-avatar-live-ring.is-live .tms-page-team-card__avatar {
	display: block;
}

.tms-pages-directory-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	margin-bottom: 20px;
}

.tms-notice--success {
	background: #edfaef;
	border: 1px solid #68de7c;
	padding: 10px 14px;
	border-radius: 4px;
}

.tms-error {
	background: #fce8e8;
	border: 1px solid #f5c2c2;
	padding: 10px 14px;
	border-radius: 4px;
	color: #9b1c1c;
}