/**
 * Life Groups Manager admin styles.
 */

.lgmgr-wrap {
	--lgmgr-bg: #f0f2f5;
	--lgmgr-card-bg: #ffffff;
	--lgmgr-text: #1d2327;
	--lgmgr-text-muted: #646970;
	--lgmgr-text-subtle: #8c8f94;
	--lgmgr-border: #dcdcde;
	--lgmgr-primary: #2271b1;
	--lgmgr-primary-hover: #135e96;
	--lgmgr-danger: #d63638;
	--lgmgr-danger-hover: #b32d2e;
	--lgmgr-draft: #dba617;
	--lgmgr-finalized: #00a32a;
	--lgmgr-radius: 8px;
	--lgmgr-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	--lgmgr-width-medium: 760px;

	margin: 20px 20px 20px 0;
	max-width: 1200px;
	color: var(--lgmgr-text);
}

.lgmgr-wrap--medium {
	max-width: var(--lgmgr-width-medium);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.lgmgr-wrap--medium .lgmgr-header {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	margin-bottom: 40px;
}

.lgmgr-wrap--medium .lgmgr-header__text {
	align-items: center;
	text-align: center;
}

.lgmgr-wrap--medium .lgmgr-empty {
	text-align: center;
}

.lgmgr-wrap * {
	box-sizing: border-box;
}

.lgmgr-wrap button.lgmgr-btn,
.lgmgr-wrap a.lgmgr-btn {
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
	margin: 0;
	vertical-align: middle;
}

/* Header */
.lgmgr-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.lgmgr-header__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.lgmgr-header__title-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
}

.lgmgr-version {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: #a8b0ba;
	letter-spacing: 0.01em;
}

.lgmgr-project-title {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}

.lgmgr-project-title .lgmgr-title {
	margin: 0;
}

.lgmgr-title--editable {
	cursor: pointer;
}

.lgmgr-title--editable:hover,
.lgmgr-title--editable:focus {
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 4px;
	outline: none;
}

.lgmgr-project-title__input {
	display: block;
	min-width: 220px;
	max-width: min(100%, 520px);
	margin: 0;
	padding: 2px 8px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 6px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--lgmgr-text);
	background: #fff;
}

.lgmgr-project-title__input:focus {
	border-color: var(--lgmgr-primary);
	box-shadow: 0 0 0 1px var(--lgmgr-primary);
	outline: none;
}

.lgmgr-project-title__input[hidden] {
	display: none !important;
}

.lgmgr-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.lgmgr-header--project {
	align-items: center;
}

.lgmgr-header__save-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #f6f7f7;
	border: 1px solid var(--lgmgr-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--lgmgr-text-subtle);
	white-space: nowrap;
}

.lgmgr-save-status__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #eef2f0;
	color: var(--lgmgr-text-subtle);
	font-size: 12px;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease;
}

.lgmgr-save-status__icon::before {
	content: '✓';
}

.lgmgr-header__save-status.lgmgr-save-status--saved .lgmgr-save-status__icon {
	background: #e8f0ea;
	color: #4a7c59;
}

.lgmgr-header__save-status.lgmgr-save-status--saving .lgmgr-save-status__icon::before {
	content: '';
	width: 10px;
	height: 10px;
	border: 2px solid #c3c4c7;
	border-top-color: #8c8f94;
	border-radius: 50%;
	animation: lgmgr-save-spin 0.7s linear infinite;
}

@keyframes lgmgr-save-spin {
	to {
		transform: rotate(360deg);
	}
}

.lgmgr-title {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--lgmgr-text);
}

.lgmgr-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--lgmgr-text-muted);
}

/* Cards */
.lgmgr-card {
	background: var(--lgmgr-card-bg);
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
	box-shadow: var(--lgmgr-shadow);
	padding: 24px;
}

.lgmgr-tab-section--flush {
	margin-top: 0;
}

.lgmgr-projects-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lgmgr-projects-list--filtering .lgmgr-project-card {
	transition: opacity 0.22s ease, filter 0.22s ease;
}

.lgmgr-projects-list--filtering .lgmgr-project-card:not(.lgmgr-project-card--filter-match) {
	opacity: 0.4;
	filter: blur(2.5px);
}

.lgmgr-project-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 28px;
	transition: box-shadow 0.15s ease;
	flex-wrap: wrap;
}

.lgmgr-project-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lgmgr-project-card__select {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding-right: 4px;
	cursor: pointer;
}

.lgmgr-project-card__select input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
}

.lgmgr-project-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lgmgr-project-card__header {
	min-width: 0;
}

.lgmgr-project-card__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.lgmgr-project-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	min-width: 0;
}

.lgmgr-project-card__title-link {
	color: var(--lgmgr-text);
	text-decoration: none;
}

.lgmgr-project-card__title-link:hover {
	color: var(--lgmgr-primary);
}

.lgmgr-project-card__title-input {
	display: block;
	width: 100%;
	min-width: 160px;
	max-width: min(100%, 360px);
	margin: 0;
	padding: 2px 8px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--lgmgr-text);
	background: #fff;
}

.lgmgr-project-card__title-input:focus {
	border-color: var(--lgmgr-primary);
	box-shadow: 0 0 0 1px var(--lgmgr-primary);
	outline: none;
}

.lgmgr-project-card__title-input[hidden],
.lgmgr-project-card__title-link[hidden] {
	display: none !important;
}

.lgmgr-project-card__edit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: var(--lgmgr-text-subtle);
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.lgmgr-project-card__edit-btn:hover,
.lgmgr-project-card__edit-btn:focus {
	color: var(--lgmgr-text-muted);
	background: rgba(0, 0, 0, 0.04);
	outline: none;
}

.lgmgr-project-card__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-project-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.lgmgr-project-card__meta-item--private span:last-child {
	color: #5b5e66;
}

.lgmgr-project-card__meta-item--status {
	gap: 6px;
}

.lgmgr-meta-icon {
	display: block;
	flex-shrink: 0;
	color: var(--lgmgr-text-subtle);
	opacity: 0.9;
}

.lgmgr-project-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
}

@media (max-width: 782px) {
	.lgmgr-project-card {
		align-items: stretch;
	}

	.lgmgr-project-card__actions {
		width: 100%;
		justify-content: flex-start;
	}
}

/* Badges */
.lgmgr-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.lgmgr-badge--draft {
	background: #fcf0d1;
	color: #8a6d1d;
}

.lgmgr-badge--finalized {
	background: #d5f5e0;
	color: #1e6b36;
}

.lgmgr-badge--meta {
	padding: 2px 8px;
	font-size: 10px;
	letter-spacing: 0.04em;
	vertical-align: middle;
}

/* Buttons */
.lgmgr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lgmgr-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.lgmgr-btn--primary {
	background: var(--lgmgr-primary);
	color: #fff;
	border-color: var(--lgmgr-primary);
}

.lgmgr-btn--primary:hover,
.lgmgr-btn--primary:focus {
	background: var(--lgmgr-primary-hover);
	border-color: var(--lgmgr-primary-hover);
	color: #fff;
}

.lgmgr-btn--primary.lgmgr-btn--saved {
	background: linear-gradient(135deg, #bfe3cc 0%, #cce8d6 100%);
	border-color: #8fc2a0;
	color: #1e6b36;
}

.lgmgr-btn--primary.lgmgr-btn--saved:hover,
.lgmgr-btn--primary.lgmgr-btn--saved:focus {
	background: linear-gradient(135deg, #bfe3cc 0%, #cce8d6 100%);
	border-color: #8fc2a0;
	color: #1e6b36;
}

.lgmgr-btn--secondary {
	background: #fff;
	color: var(--lgmgr-text);
	border-color: var(--lgmgr-border);
}

.lgmgr-btn--secondary:hover,
.lgmgr-btn--secondary:focus {
	background: #f6f7f7;
	border-color: #8c8f94;
	color: var(--lgmgr-text);
}

.lgmgr-btn--danger {
	background: #fff;
	color: var(--lgmgr-danger);
	border-color: var(--lgmgr-danger);
}

.lgmgr-btn--danger:hover,
.lgmgr-btn--danger:focus {
	background: var(--lgmgr-danger);
	color: #fff;
}

.lgmgr-gf-sync-btn {
	position: relative;
	overflow: visible;
}

.lgmgr-gf-sync-btn:has(.lgmgr-gf-sync-btn__badge:not([hidden])) {
	margin-right: 10px;
}

.lgmgr-gf-sync-btn__badge {
	position: absolute;
	top: -7px;
	right: -7px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	min-height: 22px;
	aspect-ratio: 1;
	padding: 0;
	border-radius: 50%;
	background: #e35d5d;
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	pointer-events: none;
}

.lgmgr-gf-sync-btn__badge[hidden] {
	display: none !important;
}

.lgmgr-btn--sync {
	background: linear-gradient(135deg, #d8efe2 0%, #e3f5ea 100%);
	color: #2f6f4a;
	border-color: #b3d9be;
}

.lgmgr-btn--sync:hover,
.lgmgr-btn--sync:focus {
	background: linear-gradient(135deg, #cbe8d6 0%, #d8efe3 100%);
	border-color: #9fccb0;
	color: #245a3b;
}

.lgmgr-btn--sync.lgmgr-btn--sync-done {
	background: linear-gradient(135deg, #bfe3cc 0%, #cce8d6 100%);
	border-color: #8fc2a0;
	color: #1e6b36;
}

.lgmgr-btn--randomize {
	background: linear-gradient(135deg, #fff8e6 0%, #fcf0d1 100%);
	color: #8a6d1d;
	border-color: #e8d9a8;
}

.lgmgr-btn--randomize:hover,
.lgmgr-btn--randomize:focus {
	background: linear-gradient(135deg, #fff1cc 0%, #f8e5b8 100%);
	border-color: #ddc68a;
	color: #735f18;
}

.lgmgr-btn--color-legends {
	background: linear-gradient(135deg, #fff1e8 0%, #fde6d8 100%);
	color: #9a5528;
	border-color: #f0c3a3;
}

.lgmgr-btn--color-legends:hover,
.lgmgr-btn--color-legends:focus {
	background: linear-gradient(135deg, #ffe8d8 0%, #fbd9c6 100%);
	border-color: #e8ae84;
	color: #7d4520;
}

.lgmgr-btn--color-legends-active {
	background: linear-gradient(135deg, #fbd9c6 0%, #f5ccb6 100%);
	border-color: #de9f72;
	box-shadow: inset 0 0 0 1px rgba(154, 85, 40, 0.14);
	color: #6d3b1c;
}

.lgmgr-btn--attendance-legends {
	background: linear-gradient(135deg, #e8f4fc 0%, #d6ebf9 100%);
	color: #2c5f82;
	border-color: #a8cce8;
}

.lgmgr-btn--attendance-legends:hover,
.lgmgr-btn--attendance-legends:focus {
	background: linear-gradient(135deg, #dcedfa 0%, #c8e2f6 100%);
	border-color: #8eb8dc;
	color: #234d6b;
}

.lgmgr-btn--attendance-legends-active {
	background: linear-gradient(135deg, #c8e2f6 0%, #b8d9f2 100%);
	border-color: #7aa8cc;
	box-shadow: inset 0 0 0 1px rgba(44, 95, 130, 0.14);
	color: #1f425c;
}

.lgmgr-btn--manual-add {
	background: linear-gradient(135deg, #dff5f3 0%, #c9ece8 100%);
	color: #1f6f68;
	border-color: #8fcfc5;
}

.lgmgr-btn--manual-add:hover,
.lgmgr-btn--manual-add:focus {
	background: linear-gradient(135deg, #d0efe9 0%, #b8e4dd 100%);
	border-color: #6fbfb3;
	color: #185852;
}

.lgmgr-btn--export-draft {
	background: linear-gradient(135deg, #f0e8fb 0%, #e4d4f7 100%);
	color: #5b2d91;
	border-color: #c4a6e8;
}

.lgmgr-btn--export-draft:hover,
.lgmgr-btn--export-draft:focus {
	background: linear-gradient(135deg, #e8dcf8 0%, #d9c4f2 100%);
	border-color: #b08ddc;
	color: #4a2178;
}

.lgmgr-btn--export-draft:disabled {
	opacity: 0.65;
	cursor: wait;
}

.lgmgr-btn--small {
	padding: 4px 10px;
	font-size: 12px;
	min-height: 0;
}

.lgmgr-modal--manual-add .lgmgr-modal__dialog {
	max-width: 480px;
}

.lgmgr-manual-add__intro {
	margin: 0 0 14px;
	color: var(--lgmgr-muted, #5a6574);
}

.lgmgr-manual-add__search {
	margin-bottom: 14px;
}

.lgmgr-manual-add__search .lgmgr-form__input {
	width: 100%;
}

.lgmgr-manual-add__selected {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid var(--lgmgr-border, #d5dbe3);
	border-radius: var(--lgmgr-radius, 8px);
	background: #f7faf8;
}

.lgmgr-manual-add__selected-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}

.lgmgr-manual-add__selected-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--lgmgr-muted, #5a6574);
}

.lgmgr-manual-add__selected-email {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--lgmgr-muted, #5a6574);
}

.lgmgr-manual-add__spouse {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: var(--lgmgr-radius, 8px);
	background: #eef6f1;
	border: 1px solid #c5dfd0;
}

.lgmgr-manual-add__spouse-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	cursor: pointer;
}

.lgmgr-manual-add__spouse-label input {
	margin-top: 3px;
}

.lgmgr-manual-add__error {
	margin: 12px 0 0;
	color: #9b3b3b;
	font-size: 13px;
}

.lgmgr-manual-add__status {
	margin: 12px 0 0;
	color: var(--lgmgr-muted, #5a6574);
	font-size: 13px;
}

.lgmgr-autocomplete__option.lgmgr-manual-add-result {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.lgmgr-manual-add-result__name {
	font-weight: 600;
}

.lgmgr-manual-add-result__meta {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--lgmgr-muted, #5a6574);
}

.lgmgr-modal--manual-add .lgmgr-form__label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.lgmgr-modal--manual-add #lgmgr-manual-add-destination {
	width: 100%;
	margin-bottom: 0;
}

.lgmgr-toggle-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	flex-shrink: 0;
	white-space: nowrap;
	-webkit-appearance: none;
	appearance: none;
}

.lgmgr-toggle-switch:hover .lgmgr-toggle-switch__label {
	color: var(--lgmgr-text);
}

.lgmgr-toggle-switch:focus {
	outline: none;
}

.lgmgr-toggle-switch:focus-visible .lgmgr-switch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lgmgr-primary);
}

.lgmgr-toggle-switch__label {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--lgmgr-text);
}

.lgmgr-switch {
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	width: 42px;
	height: 26px;
	border-radius: 999px;
	background: #e5e5ea;
	transition: background-color 0.2s ease;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.lgmgr-switch__thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease;
}

.lgmgr-switch--on {
	background: var(--lgmgr-primary);
	box-shadow: none;
}

.lgmgr-switch--on .lgmgr-switch__thumb {
	transform: translateX(16px);
}

.lgmgr-location-meta-group[hidden],
.lgmgr-location-meta[hidden],
.lgmgr-location-meta__separator[hidden],
.lgmgr-location-meta__text[hidden],
.lgmgr-location-meta__editor[hidden] {
	display: none !important;
}

.lgmgr-location-meta-group:not([hidden]) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.4;
}

.lgmgr-board-column__header h3 + .lgmgr-location-meta-group:not([hidden]) {
	margin-top: 0;
}

.lgmgr-location-meta:not([hidden]) {
	display: inline;
	vertical-align: baseline;
}

.lgmgr-location-meta--editing:not([hidden]) {
	display: inline-block;
	min-width: 6rem;
	max-width: 280px;
	flex: 1 1 auto;
}

.lgmgr-location-meta__separator:not([hidden]) {
	display: inline;
	color: var(--lgmgr-text-subtle);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	user-select: none;
}

.lgmgr-location-meta__text:not([hidden]) {
	display: inline;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--lgmgr-text-muted);
}

.lgmgr-location-meta__text--placeholder:not([hidden]) {
	font-style: italic;
	background-image: radial-gradient(circle, #c8c9cc 1px, transparent 1.5px);
	background-size: 8px 3px;
	background-position: left bottom;
	background-repeat: repeat-x;
	padding-bottom: 6px;
}

.lgmgr-location-meta__text--editable {
	cursor: pointer;
}

.lgmgr-location-meta__text--editable:hover,
.lgmgr-location-meta__text--editable:focus {
	color: var(--lgmgr-text);
	outline: none;
}

.lgmgr-location-meta__editor:not([hidden]) {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 100%;
	max-width: 100%;
	vertical-align: baseline;
}

.lgmgr-wrap .lgmgr-location-meta__editor .lgmgr-location-meta__input,
.lgmgr-wrap .lgmgr-location-meta__editor input.lgmgr-location-meta__input {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 3px 28px 3px 6px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: var(--lgmgr-text);
	box-sizing: border-box;
	overflow: visible;
	text-overflow: clip;
}

.lgmgr-location-meta__editor .lgmgr-location-meta__input:focus {
	outline: none;
	border-color: #c3c4c7;
	box-shadow: none;
}

.lgmgr-location-meta__save {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 1px solid #c5d9cb;
	border-radius: 3px;
	background-color: #e8f0ea;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234a7c59' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	transform: translateY(-50%);
	cursor: pointer;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
}

.lgmgr-location-meta__save:hover,
.lgmgr-location-meta__save:focus {
	background-color: #d8efe2;
	border-color: #a8cdb5;
	outline: none;
}

.lgmgr-location-meta__save:focus-visible {
	outline: 2px solid #4a7c59;
	outline-offset: 1px;
}

.lgmgr-location-meta__save:disabled {
	opacity: 0.55;
	cursor: default;
}

.lgmgr-location-meta__save--success {
	background-color: #bfe3cc;
	border-color: #6fae84;
	animation: lgmgr-meta-save-flash 0.7s ease;
}

@keyframes lgmgr-meta-save-flash {
	0% {
		background-color: #e8f0ea;
		border-color: #c5d9cb;
		transform: translateY(-50%) scale(1);
	}

	35% {
		background-color: #bfe3cc;
		border-color: #4a7c59;
		transform: translateY(-50%) scale(1.12);
	}

	100% {
		background-color: #d8efe2;
		border-color: #6fae84;
		transform: translateY(-50%) scale(1);
	}
}

.lgmgr-btn--auto-assign {
	background: linear-gradient(135deg, #eef4fc 0%, #f3e8ff 100%);
	color: #5b4bb7;
	border-color: #d8ccf5;
}

.lgmgr-btn--auto-assign:hover,
.lgmgr-btn--auto-assign:focus {
	background: linear-gradient(135deg, #e4ecfa 0%, #eadcff 100%);
	border-color: #c4b3ef;
	color: #4a3ca0;
}

.lgmgr-btn--duplicates {
	background: linear-gradient(135deg, #fdf0f0 0%, #fce8e8 100%);
	color: #9b3b3b;
	border-color: #f0b4b4;
}

.lgmgr-btn--duplicates:hover,
.lgmgr-btn--duplicates:focus {
	background: linear-gradient(135deg, #fae0e0 0%, #f9d6d6 100%);
	border-color: #e89a9a;
	color: #7f2f2f;
}

.lgmgr-btn--reset-draft {
	background: linear-gradient(135deg, #fdeaea 0%, #fce8e8 100%);
	color: #9b3b3b;
	border-color: #f0b4b4;
}

.lgmgr-btn--reset-draft:hover,
.lgmgr-btn--reset-draft:focus {
	background: linear-gradient(135deg, #fae0e0 0%, #f9d6d6 100%);
	border-color: #e89a9a;
	color: #7f2f2f;
}

.lgmgr-btn--push-pco {
	min-width: 0;
}

.lgmgr-panel-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lgmgr-panel-header__actions .lgmgr-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	min-height: 36px;
	padding: 0 16px;
	white-space: nowrap;
}

.lgmgr-btn--sm {
	padding: 7px 14px;
	font-size: 13px;
}

.lgmgr-btn__icon {
	display: block;
	flex-shrink: 0;
}

.lgmgr-projects-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.lgmgr-projects-toolbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.lgmgr-wrap .lgmgr-projects-toolbar__actions .lgmgr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	min-height: 36px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	box-shadow: none;
}

.lgmgr-projects-search {
	position: relative;
	display: block;
	flex: 0 1 265px;
	min-width: 200px;
	max-width: 100%;
}

.lgmgr-projects-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	color: var(--lgmgr-text-subtle);
	pointer-events: none;
}

.lgmgr-wrap .lgmgr-projects-search__input,
.lgmgr-wrap input.lgmgr-projects-search__input,
.lgmgr-wrap .lgmgr-board-search__input,
.lgmgr-wrap input.lgmgr-board-search__input {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	margin: 0;
	padding: 11px 14px 11px 42px;
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
	background: var(--lgmgr-card-bg);
	box-shadow: var(--lgmgr-shadow);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: var(--lgmgr-text);
	box-sizing: border-box;
	height: auto;
	min-height: 0;
}

.lgmgr-wrap .lgmgr-board-search__input,
.lgmgr-wrap input.lgmgr-board-search__input {
	padding-right: 42px;
}

.lgmgr-wrap .lgmgr-projects-search__input::placeholder,
.lgmgr-wrap .lgmgr-board-search__input::placeholder {
	color: var(--lgmgr-text-subtle);
}

.lgmgr-wrap .lgmgr-projects-search__input:focus,
.lgmgr-wrap .lgmgr-projects-search__input:focus-visible,
.lgmgr-wrap .lgmgr-board-search__input:focus,
.lgmgr-wrap .lgmgr-board-search__input:focus-visible,
.lgmgr-wrap input[type="search"].lgmgr-board-search__input:focus,
.lgmgr-wrap input[type="search"].lgmgr-board-search__input:focus-visible {
	outline: none;
	border-color: var(--lgmgr-primary);
	box-shadow: var(--lgmgr-shadow);
}

.lgmgr-wrap input[type="search"].lgmgr-projects-search__input::-webkit-search-decoration,
.lgmgr-wrap input[type="search"].lgmgr-projects-search__input::-webkit-search-cancel-button,
.lgmgr-wrap input[type="search"].lgmgr-board-search__input::-webkit-search-decoration,
.lgmgr-wrap input[type="search"].lgmgr-board-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.lgmgr-projects-no-results[hidden] {
	display: none !important;
}

.lgmgr-projects-results {
	width: 100%;
}

.lgmgr-new-project-panel,
.lgmgr-open-private-project-panel {
	margin-bottom: 16px;
	width: 100%;
}

.lgmgr-new-project-panel[hidden],
.lgmgr-open-private-project-panel[hidden] {
	display: none !important;
}

.lgmgr-projects-list .lgmgr-project-card,
.lgmgr-projects-results .lgmgr-card.lgmgr-empty {
	transition: opacity 0.22s ease, filter 0.22s ease;
}

.lgmgr-tab-section--projects-panel-open .lgmgr-projects-results .lgmgr-project-card,
.lgmgr-tab-section--projects-panel-open .lgmgr-projects-results .lgmgr-card.lgmgr-empty,
.lgmgr-tab-section--new-project-open .lgmgr-projects-results .lgmgr-project-card,
.lgmgr-tab-section--new-project-open .lgmgr-projects-results .lgmgr-card.lgmgr-empty {
	opacity: 0.4;
	filter: blur(2.5px);
}

/* Empty state */
.lgmgr-empty {
	text-align: center;
	padding: 48px 24px;
}

.lgmgr-empty__icon {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: var(--lgmgr-text-muted);
	margin-bottom: 16px;
}

.lgmgr-empty h2,
.lgmgr-empty h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.lgmgr-empty p {
	margin: 0 0 20px;
	color: var(--lgmgr-text-muted);
}

/* Forms */
.lgmgr-form-card {
	max-width: 560px;
}

.lgmgr-form-card.lgmgr-new-project-form-card,
.lgmgr-form-card.lgmgr-open-private-project-form-card {
	max-width: none;
	width: 100%;
	margin-bottom: 0;
	padding: 24px 28px;
	box-sizing: border-box;
}

.lgmgr-form-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.lgmgr-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.lgmgr-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.lgmgr-radio input {
	margin: 0;
}

.lgmgr-form__field--visibility {
	margin-bottom: 20px;
}

.lgmgr-visibility-options {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.lgmgr-visibility-option {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid var(--lgmgr-border, #d5d8dc);
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--lgmgr-text);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.lgmgr-visibility-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lgmgr-visibility-option:hover {
	border-color: #a7aaad;
	background: #f6f7f7;
}

.lgmgr-visibility-option:has(input:checked),
.lgmgr-visibility-option.is-selected {
	border-color: #2271b1;
	background: #e8f2fa;
	color: #135e96;
	box-shadow: inset 0 0 0 1px rgba(34, 113, 177, 0.12);
}

.lgmgr-visibility-option:has(input:focus-visible) {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.lgmgr-private-project-ack {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.45;
}

.lgmgr-private-project-hint {
	margin-top: 10px;
}

.lgmgr-project-access-panel .lgmgr-form__field:last-child {
	margin-bottom: 0;
}

.lgmgr-badge--private {
	background: #f0e8f8;
	color: #5b4b8a;
}

.lgmgr-btn--private-access {
	background: linear-gradient(135deg, #eef4fc 0%, #f3e8ff 100%);
	color: #5b4bb7;
	border-color: #d8ccf5;
}

.lgmgr-btn--private-access:hover,
.lgmgr-btn--private-access:focus {
	background: linear-gradient(135deg, #e4ecfa 0%, #eadcff 100%);
	border-color: #c4b3ef;
	color: #4a3ca0;
}

.lgmgr-modal__dialog--project-access {
	max-width: 520px;
}

.lgmgr-modal__dialog--wide {
	max-width: 640px;
}

.lgmgr-btn--copied {
	background: #e8f5e9;
	color: #1e4620;
	border-color: #9fd4a6;
}

.lgmgr-btn--copied:hover,
.lgmgr-btn--copied:focus {
	background: #dff1e1;
	border-color: #7fc48a;
	color: #1e4620;
}

.lgmgr-modal__title--with-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.lgmgr-modal__title-icon {
	display: block;
	flex-shrink: 0;
	color: #5b4b8a;
}

.lgmgr-form__field {
	margin-bottom: 20px;
}

.lgmgr-form__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
}

.lgmgr-form__help {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-form__intro {
	margin: 0 0 20px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--lgmgr-text-muted);
}

.lgmgr-form__input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.4;
}

.lgmgr-form__input:focus {
	border-color: var(--lgmgr-primary);
	box-shadow: 0 0 0 1px var(--lgmgr-primary);
	outline: none;
}

.lgmgr-form__actions {
	display: flex;
	gap: 12px;
}

.lgmgr-autocomplete {
	position: relative;
}

.lgmgr-autocomplete__list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 220px;
	overflow-y: auto;
	margin: 0;
	padding: 4px 0;
	background: var(--lgmgr-card-bg);
	border: 1px solid var(--lgmgr-border);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.lgmgr-autocomplete__option {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.lgmgr-autocomplete__option:hover,
.lgmgr-autocomplete__option.is-active {
	background: #eef4fb;
}

/* Tabs */
.lgmgr-tabs-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding: 12px 14px;
	background: var(--lgmgr-card-bg);
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
}

.lgmgr-tabs-bar .lgmgr-tabs {
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.lgmgr-tabs-bar .lgmgr-tabs--primary {
	min-width: 0;
}

.lgmgr-tabs-bar .lgmgr-tabs--utility {
	justify-self: end;
}

button.lgmgr-tabs__item {
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.lgmgr-tabs--utility .lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]),
.lgmgr-tabs--utility a.lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]) {
	color: var(--lgmgr-text);
	text-decoration: none;
}

.lgmgr-tabs--utility .lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]) .lgmgr-tabs__icon {
	color: var(--lgmgr-text-muted);
}

.lgmgr-tabs--utility .lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]):hover,
.lgmgr-tabs--utility .lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]):hover .lgmgr-tabs__icon,
.lgmgr-tabs--utility .lgmgr-tabs__item--action:not(.lgmgr-tabs__item--active):not([aria-expanded="true"]):hover .lgmgr-tabs__label {
	color: var(--lgmgr-text);
}

.lgmgr-tabs__item--action[aria-expanded="true"] {
	background: #f0f6fc;
	color: var(--lgmgr-primary);
}

.lgmgr-tabs__item--action[aria-expanded="true"] .lgmgr-tabs__icon,
.lgmgr-tabs__item--action[aria-expanded="true"] .lgmgr-tabs__label {
	color: var(--lgmgr-primary);
}

.lgmgr-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	padding: 12px 14px;
	background: var(--lgmgr-card-bg);
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
}

.lgmgr-tabs__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: none;
	border-radius: 8px;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--lgmgr-text);
	text-decoration: none;
	cursor: pointer;
}

.lgmgr-tabs--primary .lgmgr-tabs__item {
	color: var(--lgmgr-primary);
}

.lgmgr-tabs--primary .lgmgr-tabs__item .lgmgr-tabs__icon {
	color: var(--lgmgr-primary);
}

.lgmgr-tabs__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-tabs__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.lgmgr-tabs__label {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.lgmgr-tabs__alert {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #d63638;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.lgmgr-tabs__alert[hidden] {
	display: none !important;
}

.lgmgr-tabs__item:hover {
	color: var(--lgmgr-text);
	background: #f6f7f7;
}

.lgmgr-tabs__item:hover .lgmgr-tabs__icon {
	color: var(--lgmgr-text);
}

.lgmgr-tabs__item--active {
	background: #f0f6fc;
	color: var(--lgmgr-primary);
}

.lgmgr-tabs__item--active .lgmgr-tabs__label {
	color: var(--lgmgr-primary);
}

.lgmgr-tabs__item--active .lgmgr-tabs__icon {
	color: var(--lgmgr-primary);
}

.lgmgr-tabs__item--soon {
	opacity: 0.85;
}

/* Placeholder */
.lgmgr-placeholder h2 {
	margin: 0 0 8px;
	font-size: 18px;
}

.lgmgr-placeholder p {
	margin: 0;
	color: var(--lgmgr-text-muted);
}

/* Notices */
.lgmgr-notices {
	margin-bottom: 16px;
}

.lgmgr-notice {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-left: 4px solid var(--lgmgr-primary);
	border-radius: 4px;
	background: #fff;
	box-shadow: var(--lgmgr-shadow);
	margin-bottom: 8px;
	font-size: 14px;
}

.lgmgr-notice__message {
	flex: 1;
	min-width: 0;
}

.lgmgr-notice__dismiss {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	padding: 0;
	margin: -2px 0 0;
	opacity: 0.55;
}

.lgmgr-notice__dismiss:hover,
.lgmgr-notice__dismiss:focus {
	opacity: 1;
}

.lgmgr-notice__dismiss:focus-visible {
	outline: 2px solid var(--lgmgr-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

.lgmgr-notice--success {
	border-left-color: var(--lgmgr-finalized);
}

.lgmgr-notice--error {
	border-left-color: var(--lgmgr-danger);
}

.lgmgr-notice--warning {
	border-left-color: var(--lgmgr-draft);
}

.lgmgr-notice--info {
	border-left-color: var(--lgmgr-primary);
}

.lgmgr-quick-flash {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.lgmgr-quick-flash__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.72);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.lgmgr-quick-flash--error .lgmgr-quick-flash__backdrop {
	background: rgba(252, 240, 240, 0.72);
}

.lgmgr-quick-flash.is-visible .lgmgr-quick-flash__backdrop {
	opacity: 1;
}

.lgmgr-quick-flash.is-hiding .lgmgr-quick-flash__backdrop {
	opacity: 0;
}

.lgmgr-quick-flash__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 160px;
	padding: 20px 28px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
	opacity: 0;
	transform: translateY(8px) scale(0.96);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.lgmgr-quick-flash.is-visible .lgmgr-quick-flash__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.lgmgr-quick-flash.is-hiding .lgmgr-quick-flash__dialog {
	opacity: 0;
	transform: translateY(-4px) scale(0.98);
}

.lgmgr-quick-flash__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e8f0ea;
	color: #4a7c59;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.lgmgr-quick-flash--error .lgmgr-quick-flash__icon {
	width: 40px;
	height: 40px;
	background: #fce8e8;
	color: var(--lgmgr-danger);
	font-size: inherit;
	font-weight: inherit;
}

.lgmgr-quick-flash__text {
	font-size: 16px;
	font-weight: 600;
	color: var(--lgmgr-text);
}

/* Panel header */
.lgmgr-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.lgmgr-panel-header h2 {
	margin: 0;
	font-size: 20px;
}

.lgmgr-panel-header__meta {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--lgmgr-text-muted);
}

/* Tables */
.lgmgr-table-card {
	padding: 0;
	overflow: hidden;
}

.lgmgr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.lgmgr-table th,
.lgmgr-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--lgmgr-border);
}

.lgmgr-table th {
	background: #f6f7f7;
	font-weight: 600;
	font-size: 13px;
}

.lgmgr-table-empty td {
	text-align: center;
	color: var(--lgmgr-text-muted);
	padding: 32px;
}

.lgmgr-table-actions {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.lgmgr-table-leader {
	text-align: center;
}

.lgmgr-badge--note {
	background: #e8f4fd;
	color: #2271b1;
	margin-left: 6px;
	text-transform: none;
}

.lgmgr-badge--capacity {
	background: #f0f6fc;
	color: var(--lgmgr-primary);
	text-transform: none;
}

.lgmgr-badge--type,
.lgmgr-badge--gender {
	background: #f6f7f7;
	color: var(--lgmgr-text-muted);
	text-transform: none;
}

/* Locations */
.lgmgr-hint {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-tab-section {
	margin-top: 28px;
}

.lgmgr-tab-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
}

.lgmgr-tab-section__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.lgmgr-tab-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}

.lgmgr-tab-section__actions .lgmgr-btn,
.lgmgr-tab-section__actions .lgmgr-toggle-switch {
	white-space: nowrap;
}

#lgmgr-tab-attendees .lgmgr-tab-section__header {
	flex-wrap: nowrap;
}

#lgmgr-tab-attendees .lgmgr-tab-section__title {
	flex-shrink: 0;
}

#lgmgr-tab-attendees .lgmgr-tab-section__actions {
	flex: 1 1 auto;
	flex-wrap: nowrap;
	min-width: 0;
	overflow-x: auto;
	padding-top: 10px;
	margin-top: -10px;
	padding-right: 10px;
}

#lgmgr-tab-attendees .lgmgr-tab-section__actions .lgmgr-btn,
#lgmgr-tab-attendees .lgmgr-tab-section__actions .lgmgr-toggle-switch {
	flex-shrink: 0;
}

#lgmgr-tab-attendees .lgmgr-tab-section__actions .lgmgr-form__input {
	width: auto;
	min-width: 160px;
	flex-shrink: 0;
}

#lgmgr-tab-layout .lgmgr-tab-section__header {
	flex-wrap: nowrap;
}

.lgmgr-locations-count-heading {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	flex-shrink: 0;
}

.lgmgr-locations-disabled-count {
	font-size: 16px;
	font-weight: 400;
	color: var(--lgmgr-text-muted);
}

#lgmgr-tab-layout .lgmgr-tab-section__title {
	flex-shrink: 0;
}

#lgmgr-tab-layout .lgmgr-tab-section__actions {
	flex: 1 1 auto;
	flex-wrap: nowrap;
	min-width: 0;
	overflow-x: auto;
}

#lgmgr-tab-layout .lgmgr-tab-section__actions .lgmgr-btn,
#lgmgr-tab-layout .lgmgr-tab-section__actions .lgmgr-toggle-switch {
	flex-shrink: 0;
}

#lgmgr-tab-layout .lgmgr-tab-section__actions .lgmgr-form__input {
	width: auto;
	min-width: 160px;
	flex-shrink: 0;
}

.lgmgr-locations-filter-empty {
	margin: 12px 0 0;
	text-align: center;
	color: #646970;
}

.lgmgr-table-filter-empty td {
	text-align: center;
	color: var(--lgmgr-text-muted);
	padding: 32px;
}

.lgmgr-locations-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.lgmgr-locations-list--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(360px, 45vh);
}

.lgmgr-locations-list--empty .lgmgr-location-card--empty {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	margin: 0;
}

.lgmgr-locations-list--empty .lgmgr-location-card--empty p {
	margin: 0;
}

.lgmgr-location-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	position: relative;
	min-width: 0;
	background: #fff;
	border: none;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.lgmgr-location-card[hidden],
.lgmgr-location-card.is-filter-hidden {
	display: none !important;
}

.lgmgr-locations-list .lgmgr-location-card .lgmgr-board-column__header {
	padding: 20px 48px 16px 22px;
	background: #fff;
	border-bottom: 1px solid var(--lgmgr-board-rule, #eceef0);
}

.lgmgr-locations-list .lgmgr-location-card .lgmgr-board-column__header h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	word-break: break-word;
}

.lgmgr-location-card__footer {
	padding: 14px 22px 18px;
	background: #fff;
}

.lgmgr-location-card__action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-start;
}

.lgmgr-location-card--inactive .lgmgr-board-column__header {
	opacity: 0.52;
}

.lgmgr-location-card--inactive .lgmgr-board-column__header h3,
.lgmgr-location-card--inactive .lgmgr-badge {
	color: var(--lgmgr-text-muted);
}

.lgmgr-location-card--inactive .lgmgr-badge--capacity {
	background: #f6f7f7;
}

.lgmgr-location-card--inactive .lgmgr-location-drag-handle {
	opacity: 0.52;
}

.lgmgr-location-card--inactive .lgmgr-edit-location,
.lgmgr-location-card--inactive .lgmgr-delete-location {
	opacity: 0.45;
}

.lgmgr-location-card--inactive .lgmgr-delete-location {
	background: #fff;
	color: var(--lgmgr-text);
	border-color: var(--lgmgr-border);
}

.lgmgr-location-card--inactive .lgmgr-delete-location:hover,
.lgmgr-location-card--inactive .lgmgr-delete-location:focus {
	background: #f6f7f7;
	border-color: #8c8f94;
	color: var(--lgmgr-text);
}

.lgmgr-location-card--ghost {
	opacity: 0.45;
}

.lgmgr-location-card--drag {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lgmgr-location-drag-handle {
	position: absolute;
	top: 18px;
	right: 16px;
	z-index: 1;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: var(--lgmgr-text-muted);
	font-size: 16px;
	line-height: 1;
	cursor: grab;
	padding: 0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lgmgr-location-drag-handle:hover {
	background: #f0f0f1;
	color: var(--lgmgr-text);
}

.lgmgr-location-drag-handle:active {
	cursor: grabbing;
}

.lgmgr-location-card__merge-header {
	cursor: grab;
}

.lgmgr-location-card__merge-header:active {
	cursor: grabbing;
}

.lgmgr-location-card--merge-dragging {
	opacity: 0.55;
}

.lgmgr-location-card--merge-target {
	box-shadow:
		0 0 0 1px rgba(72, 157, 104, 0.28),
		0 0 18px rgba(72, 157, 104, 0.42),
		0 0 36px rgba(72, 157, 104, 0.18),
		0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1200px) {
	.lgmgr-locations-list:not(.lgmgr-locations-list--empty) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.lgmgr-locations-list:not(.lgmgr-locations-list--empty) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.lgmgr-locations-list:not(.lgmgr-locations-list--empty) {
		grid-template-columns: 1fr;
	}

	.lgmgr-location-card__action-buttons {
		justify-content: flex-start;
	}
}

.lgmgr-template-panel {
	margin-bottom: 24px;
	padding: 24px 28px;
}

.lgmgr-template-panel__header {
	margin-bottom: 22px;
}

.lgmgr-template-panel__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.lgmgr-template-panel__intro {
	margin: 0;
	font-size: 13px;
	color: var(--lgmgr-text-muted);
	line-height: 1.5;
}

.lgmgr-template-panel__body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.lgmgr-template-panel__section + .lgmgr-template-panel__section--save {
	margin-top: 28px;
}

.lgmgr-template-panel__label {
	display: block;
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lgmgr-text-subtle);
}

.lgmgr-template-panel__empty {
	margin: 0;
	padding: 4px 0;
	font-size: 14px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-template-panel__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.lgmgr-template-panel__field {
	box-sizing: border-box;
	flex: 0 0 360px;
	width: 360px;
	max-width: 100%;
	min-width: 0;
}

select.lgmgr-template-panel__field {
	width: 360px;
	max-width: 100%;
}

.lgmgr-template-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
}

.lgmgr-template-panel__actions .lgmgr-btn {
	white-space: nowrap;
}

.lgmgr-template-panel__section .lgmgr-form__help {
	margin: 10px 0 0;
	line-height: 1.45;
}

@media (max-width: 782px) {
	.lgmgr-template-panel__row {
		flex-direction: column;
		align-items: stretch;
	}

	.lgmgr-template-panel__field,
	select.lgmgr-template-panel__field {
		flex: 1 1 auto;
		width: 100%;
	}
}

.lgmgr-inline-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.lgmgr-inline-form .lgmgr-form__input {
	flex: 1;
	min-width: 160px;
}

.lgmgr-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
}

.lgmgr-form--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.lgmgr-form__field--full {
	grid-column: 1 / -1;
}

.lgmgr-form__field--checkbox {
	display: flex;
	align-items: flex-end;
}

.lgmgr-form__field--leader {
	margin-bottom: 4px;
}

.lgmgr-leader-panel {
	background: #f6f7f7;
	border: none;
	border-radius: 6px;
	padding: 14px 16px;
}

.lgmgr-leaders-intro {
	margin-bottom: 20px;
	padding: 24px;
	max-width: none;
}

.lgmgr-leaders-intro__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px 16px;
	align-items: start;
}

.lgmgr-leaders-intro__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.lgmgr-leaders-intro__icon {
	flex: 0 0 40px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 1px;
	color: var(--lgmgr-text-subtle);
}

.lgmgr-leaders-intro__icon svg {
	width: 33px;
	height: 33px;
	display: block;
}

.lgmgr-leaders-intro__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.lgmgr-leaders-intro__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--lgmgr-text);
}

.lgmgr-leaders-intro__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--lgmgr-text-muted);
}

@media (max-width: 1400px) {
	.lgmgr-leaders-intro__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.lgmgr-leaders-intro__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lgmgr-leaders-intro__grid {
		grid-template-columns: 1fr;
	}
}

.lgmgr-form__field--co-leaders {
	width: fit-content;
	max-width: 100%;
}

.lgmgr-co-leader-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: fit-content;
	max-width: min(100%, 400px);
}

.lgmgr-co-leader-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px;
	background: #f6f7f7;
	border-radius: 6px;
	width: 100%;
}

.lgmgr-co-leader-row__name {
	font-weight: 600;
	min-width: 0;
	word-break: break-word;
	flex: 1 1 auto;
}

.lgmgr-co-leader-row__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.lgmgr-unlink-co-leader__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 0;
}

.lgmgr-unlink-co-leader__icon svg {
	display: block;
	width: 15px;
	height: 15px;
}

.lgmgr-checkbox--leader {
	gap: 10px;
	font-size: 16px;
}

.lgmgr-leader-panel__label {
	font-weight: 700;
}

.lgmgr-leader-panel__help {
	margin: 2px 0 0 32px;
}

.lgmgr-attendee-leader-toggle {
	justify-content: center;
	margin: 0;
}

.lgmgr-attendee-leader-toggle input[type="checkbox"],
.lgmgr-checkbox--leader input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	flex: 0 0 auto;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background-color: #f6f7f7;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
}

.lgmgr-attendee-leader-toggle input[type="checkbox"] {
	width: 20px;
	height: 20px;
}

.lgmgr-checkbox--leader input[type="checkbox"] {
	width: 22px;
	height: 22px;
}

.lgmgr-attendee-leader-toggle input[type="checkbox"]:checked,
.lgmgr-checkbox--leader input[type="checkbox"]:checked {
	background-color: var(--lgmgr-primary);
	border-color: var(--lgmgr-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.lgmgr-attendee-leader-toggle input[type="checkbox"]:focus-visible,
.lgmgr-checkbox--leader input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--lgmgr-primary);
	outline-offset: 2px;
}

.lgmgr-import-card h3,
.lgmgr-gf-placeholder h3 {
	margin: 0 0 12px;
}

.lgmgr-import-card .lgmgr-subtitle {
	margin: 0 0 20px;
}

.lgmgr-import-card .lgmgr-form__field {
	margin-bottom: 24px;
}

.lgmgr-import-card .lgmgr-form__actions {
	margin-top: 4px;
}

.lgmgr-file-input {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.lgmgr-file-input__button {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 4px;
	background: #f6f7f7;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--lgmgr-text);
	cursor: pointer;
}

.lgmgr-file-input__button:hover,
.lgmgr-file-input__button:focus {
	background: #f0f0f1;
	border-color: var(--lgmgr-text-muted);
	outline: none;
}

.lgmgr-file-input__name {
	font-size: 14px;
	line-height: 1.4;
	color: var(--lgmgr-text-muted);
}

.lgmgr-manual-entry-card h3 {
	margin-bottom: 16px;
}

.lgmgr-csv-mapping {
	margin: 16px 0;
}

.lgmgr-mapping-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.lgmgr-empty--compact {
	padding: 24px;
	text-align: center;
}

/* Templates page */
.lgmgr-templates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.lgmgr-template-card__title {
	margin: 0 0 8px;
	font-size: 18px;
}

.lgmgr-template-card__meta {
	margin: 0 0 16px;
	color: var(--lgmgr-text-muted);
	font-size: 13px;
}

.lgmgr-template-card__actions {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.lgmgr-template-card__load {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lgmgr-template-location-row {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--lgmgr-border);
}

.lgmgr-template-location-row__main {
	display: grid;
	grid-template-columns: 1fr 80px 100px 36px;
	gap: 8px;
	margin-bottom: 8px;
	align-items: center;
}

.lgmgr-template-slots {
	margin-top: 4px;
}

.lgmgr-slots-editor__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.lgmgr-slots-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lgmgr-slot-row {
	display: grid;
	grid-template-columns: 1fr 140px 36px;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}

.lgmgr-board-column__room-types {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--lgmgr-board-muted);
	line-height: 1.45;
}

/* Modal */
.lgmgr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.lgmgr-modal[hidden] {
	display: none;
}

body.lgmgr-modal-open {
	overflow: hidden;
}

.lgmgr-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(2.5px);
	-webkit-backdrop-filter: blur(2.5px);
}

.lgmgr-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: var(--lgmgr-radius);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow: auto;
	z-index: 1;
}

.lgmgr-modal--move-saved {
	z-index: 100002;
	padding: 16px;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.lgmgr-modal--move-saved .lgmgr-modal__backdrop {
	background: rgba(15, 23, 42, 0.28);
	backdrop-filter: blur(1.5px);
	-webkit-backdrop-filter: blur(1.5px);
	pointer-events: auto;
}

.lgmgr-modal__dialog--move-saved {
	pointer-events: auto;
	max-width: 360px;
	padding: 18px 18px 16px;
	overflow: visible;
	text-align: center;
	animation: lgmgr-move-saved-in 0.18s ease-out;
}

.lgmgr-move-saved-modal__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	text-align: center;
}

.lgmgr-move-saved-modal__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #edfaef;
	color: #1e7a34;
}

.lgmgr-move-saved-modal__copy {
	min-width: 0;
	text-align: center;
}

.lgmgr-move-saved-modal__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--lgmgr-text);
	text-align: center;
}

.lgmgr-move-saved-modal__message {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--lgmgr-text-muted);
	text-align: center;
}

.lgmgr-move-saved-modal__countdown {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.4;
	color: #9ca3af;
	text-align: center;
}

.lgmgr-move-saved-modal__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

@keyframes lgmgr-move-saved-in {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 600px) {
	.lgmgr-modal__dialog--move-saved {
		max-width: 100%;
	}

	.lgmgr-move-saved-modal__actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.lgmgr-move-saved-modal__actions .lgmgr-btn {
		width: 100%;
		justify-content: center;
	}
}

.lgmgr-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--lgmgr-border);
}

.lgmgr-modal__header h2 {
	margin: 0;
	font-size: 18px;
}

.lgmgr-modal__close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--lgmgr-text-muted);
	line-height: 1;
	padding: 0;
}

.lgmgr-modal__body {
	padding: 24px;
}

.lgmgr-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 16px 24px;
	border-top: 1px solid var(--lgmgr-border);
}

#lgmgr-private-project-modal .lgmgr-modal__body {
	padding-bottom: 12px;
}

#lgmgr-private-project-modal .lgmgr-modal__body .lgmgr-form__field:last-child {
	margin-bottom: 0;
}

#lgmgr-private-project-modal .lgmgr-modal__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	border-top: none;
	padding: 8px 24px 30px;
}

#lgmgr-private-project-modal .lgmgr-private-project-modal-ack {
	justify-content: center;
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	width: 100%;
}

#lgmgr-private-project-modal .lgmgr-modal__footer .lgmgr-btn--primary {
	margin-bottom: 12px;
}

/* Source tabs (Attendees import) */
.lgmgr-source-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding: 12px 14px;
	background: var(--lgmgr-card-bg);
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
	flex-wrap: wrap;
}

.lgmgr-source-tabs__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: none;
	border-radius: 6px;
	background: transparent;
	font-size: 14px;
	font-weight: 500;
	color: var(--lgmgr-text-muted);
	cursor: pointer;
}

.lgmgr-source-tabs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lgmgr-source-tabs__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.lgmgr-source-tabs__label {
	line-height: 1.2;
}

.lgmgr-source-tabs__item:hover {
	color: var(--lgmgr-primary);
}

.lgmgr-source-tabs__item--active {
	background: #f0f6fc;
	color: var(--lgmgr-primary);
}

.lgmgr-source-panel {
	margin-bottom: 24px;
}

/* GF Wizard */
.lgmgr-gf-wizard {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	max-width: 100%;
}

.lgmgr-gf-wizard > .lgmgr-wizard-steps,
.lgmgr-gf-wizard > .lgmgr-wizard-panel--compact {
	grid-column: 1;
}

.lgmgr-gf-wizard > .lgmgr-wizard-panel:not(.lgmgr-wizard-panel--compact) {
	grid-column: 1 / -1;
	width: 100%;
	min-width: 0;
}

.lgmgr-wizard-panel--compact {
	max-width: 100%;
	min-width: 0;
}

.lgmgr-wizard-panel--compact .lgmgr-form__field {
	margin-bottom: 16px;
}

.lgmgr-wizard-panel--compact .lgmgr-form__input {
	width: 100%;
	box-sizing: border-box;
}

.lgmgr-wizard-steps {
	display: flex;
	align-items: flex-start;
	gap: 0;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.lgmgr-wizard-step {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	min-width: 0;
	padding: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--lgmgr-text-muted);
}

.lgmgr-wizard-step__content {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.lgmgr-wizard-step:not(:last-child)::after {
	content: '';
	flex: 0 0 28px;
	width: 28px;
	height: 2px;
	margin: 13px 10px 0;
	align-self: flex-start;
	background: var(--lgmgr-border);
	border-radius: 1px;
}

.lgmgr-wizard-step--complete:not(:last-child)::after {
	background: var(--lgmgr-primary);
}

.lgmgr-wizard-step__marker {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--lgmgr-border);
	border-radius: 50%;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--lgmgr-text-muted);
}

.lgmgr-wizard-step__label {
	font-weight: 500;
	line-height: 1.3;
	color: var(--lgmgr-text-muted);
}

.lgmgr-wizard-step--active .lgmgr-wizard-step__marker {
	border-color: var(--lgmgr-primary);
	background: var(--lgmgr-primary);
	color: #fff;
}

.lgmgr-wizard-step--active .lgmgr-wizard-step__label {
	color: var(--lgmgr-primary);
	font-weight: 600;
}

.lgmgr-wizard-step--complete .lgmgr-wizard-step__marker {
	border-color: var(--lgmgr-primary);
	background: #f0f6fc;
	color: var(--lgmgr-primary);
}

.lgmgr-wizard-step--complete .lgmgr-wizard-step__label {
	color: var(--lgmgr-text);
}

@media (max-width: 782px) {
	.lgmgr-wizard-steps {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.lgmgr-wizard-step {
		flex: none;
	}

	.lgmgr-wizard-step:not(:last-child)::after {
		display: none;
	}
}

#lgmgr-gf-step-2 .lgmgr-subtitle {
	margin: 0 0 20px;
}

#lgmgr-gf-step-2 .lgmgr-gf-mapping {
	margin-bottom: 24px;
}

#lgmgr-gf-step-2 .lgmgr-form__actions {
	margin-top: 0;
	padding-top: 4px;
}

.lgmgr-gf-mapping {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lgmgr-gf-mapping-group {
	padding: 18px 20px;
	background: #f6f7f7;
	border: 1px solid var(--lgmgr-border, #dcdcde);
	border-radius: var(--lgmgr-radius, 6px);
}

.lgmgr-gf-mapping-group__title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--lgmgr-text, #1d2327);
}

.lgmgr-gf-mapping-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px 16px;
}

.lgmgr-preview-stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.lgmgr-stat-card {
	background: #f6f7f7;
	border-radius: var(--lgmgr-radius);
	padding: 16px;
	text-align: center;
}

.lgmgr-stat-card--success {
	background: #d5f5e0;
}

.lgmgr-stat-card--warning {
	background: #fcf0d1;
}

.lgmgr-stat-card__label {
	display: block;
	font-size: 12px;
	color: var(--lgmgr-text-muted);
	margin-bottom: 4px;
}

.lgmgr-stat-card__value {
	display: block;
	font-size: 28px;
	font-weight: 700;
}

.lgmgr-preview-details {
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--lgmgr-text-muted);
}

/* Group assignments board */
.lgmgr-wrap:has(#lgmgr-tab-board) {
	max-width: none;
}

#lgmgr-tab-draft,
#lgmgr-tab-current {
	--lgmgr-board-sticky-top: 16px;
	--lgmgr-board-sticky-search-gap: 12px;
	--lgmgr-board-sidebar-width: 270px;
}

body.admin-bar #lgmgr-tab-draft,
body.admin-bar #lgmgr-tab-current {
	--lgmgr-board-sticky-top: 58px;
}

@media screen and (min-width: 783px) {
	body.admin-bar #lgmgr-tab-draft,
	body.admin-bar #lgmgr-tab-current {
		--lgmgr-board-sticky-top: 48px;
	}
}

.lgmgr-board-toolbar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	min-width: 0;
	overflow: visible;
	padding-top: 10px;
	margin-top: -10px;
}

.lgmgr-board-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	flex: 1 1 320px;
	min-width: 0;
}

.lgmgr-board-toolbar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	flex: 0 1 auto;
	margin-left: auto;
}

.lgmgr-board-toolbar__actions .lgmgr-btn,
.lgmgr-board-toolbar__actions .lgmgr-toggle-switch {
	white-space: nowrap;
	flex-shrink: 0;
}

.lgmgr-board-toolbar__actions .lgmgr-btn {
	flex-shrink: 0;
}

@media (max-width: 960px) {
	.lgmgr-board-toolbar__actions {
		margin-left: 0;
		flex: 1 1 100%;
	}
}

.lgmgr-draft-status-strip {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	width: fit-content;
	max-width: 100%;
	margin-top: 10px;
	padding: 10px 14px;
	border-radius: var(--lgmgr-radius);
	background: #e3f5ea;
	font-size: 14px;
}

.lgmgr-draft-status-strip--active {
	background: #fff8e8;
}

.lgmgr-draft-status-strip__text {
	font-weight: 600;
	color: #2f6f4a;
}

.lgmgr-draft-status-strip--active .lgmgr-draft-status-strip__text {
	color: var(--lgmgr-text);
}

.lgmgr-draft-status-strip__filter {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.lgmgr-draft-status-strip__filter:hover,
.lgmgr-draft-status-strip__filter:focus {
	color: #1d2327;
	text-decoration: underline;
}

.lgmgr-draft-status-strip__filter--active {
	color: #1d2327;
	background: rgba(29, 35, 39, 0.08);
	border-radius: 4px;
	padding: 1px 6px;
	margin: -1px -6px;
}

.lgmgr-draft-status-strip__filter--active:hover,
.lgmgr-draft-status-strip__filter--active:focus {
	text-decoration-thickness: 2px;
}

.lgmgr-draft-status-strip__sep {
	opacity: 0.7;
}

.lgmgr-draft-status-strip__link {
	font-weight: 600;
	text-decoration: none;
}

.lgmgr-draft-status-strip__link:hover,
.lgmgr-draft-status-strip__link:focus {
	text-decoration: underline;
}

.lgmgr-board-error {
	margin: 0 0 16px;
	padding: 18px 20px;
	border-radius: var(--lgmgr-radius);
	background: #fff5f5;
	border: 1px solid #f1c0c0;
}

.lgmgr-board-error__message {
	margin: 0 0 12px;
	color: #8a2424;
	font-size: 14px;
	line-height: 1.45;
}

.lgmgr-board-assigning-overlay {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 28px;
	top: auto;
	transform: none;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	pointer-events: none;
	cursor: default;
}

.lgmgr-board-assigning-overlay[hidden] {
	display: none !important;
}

.lgmgr-board-assigning-overlay__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid var(--lgmgr-border);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	font-size: 13px;
	font-weight: 600;
	color: var(--lgmgr-text);
	pointer-events: none;
}

.lgmgr-board-is-assigning {
	cursor: progress;
}

.lgmgr-board-assigning-overlay__label::before {
	content: '';
	width: 16px;
	height: 16px;
	border: 2px solid #c3c4c7;
	border-top-color: var(--lgmgr-primary);
	border-radius: 50%;
	animation: lgmgr-board-spin 0.8s linear infinite;
}

@keyframes lgmgr-board-spin {
	to {
		transform: rotate(360deg);
	}
}

.lgmgr-board-is-assigning {
	pointer-events: none;
}

.lgmgr-board-column__header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.lgmgr-board-column__header-row h3 {
	margin: 0;
}

.lgmgr-board-column__hint {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--lgmgr-text-muted);
	font-weight: 400;
}

.lgmgr-board-column__filter-match {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e8f2fc;
	color: #135e96;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.lgmgr-board-sidebar .lgmgr-board-column--filter-match {
	box-shadow:
		0 0 0 2px rgba(34, 113, 177, 0.24),
		0 4px 14px rgba(34, 113, 177, 0.08);
}

.lgmgr-board-item--draft-changed:not(.is-selected),
.lgmgr-attendee-card--draft-changed:not(.is-selected) {
	background: #fff8e8 !important;
}

.lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) {
	background: #fff3d6 !important;
}

.lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fffaf0;
}

.lgmgr-attendee-card__name-text--draft-changed::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--lgmgr-draft);
	vertical-align: 0.15em;
}

.lgmgr-board-column--removed-in-pco {
	border-color: #c27878;
	background: #fdf4f4;
}

.lgmgr-board-column--draft-changed:not(.lgmgr-board-column--removed-in-pco) {
	border-color: #e0b84e;
	box-shadow: inset 0 0 0 1px rgba(219, 166, 23, 0.28);
}

.lgmgr-board-column--new-from-pco:not(.lgmgr-board-column--removed-in-pco) {
	border-color: #6aa6c9;
}

.lgmgr-board-column--removed-in-pco .lgmgr-board-column__header h3 {
	color: #8a3b3b;
}

.lgmgr-badge--removed-in-pco {
	background: #f3d4d4;
	color: #8a3b3b;
	border: 1px solid #e0a8a8;
}

.lgmgr-badge--new-from-pco {
	background: #ddeff8;
	color: #2a6280;
	border: 1px solid #a9d0e6;
}

.lgmgr-board-item--removed-in-pco:not(.is-selected),
.lgmgr-attendee-card--removed-in-pco:not(.is-selected) {
	background: #fdf0f0 !important;
	box-shadow: inset 3px 0 0 #c27878;
}

.lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) {
	background: #f8e4e4 !important;
}

.lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fdf5f5;
}

.lgmgr-board-item--new-from-pco:not(.is-selected),
.lgmgr-attendee-card--new-from-pco:not(.is-selected) {
	background: #eef7fc !important;
	box-shadow: inset 3px 0 0 #5b9ec4;
}

.lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) {
	background: #e4f1f9 !important;
}

.lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #f4fafd;
}

.lgmgr-removal-note--removed-in-pco {
	color: #8a3b3b;
	font-weight: 600;
}

.lgmgr-removal-note--new-from-pco {
	color: #2a6280;
	font-weight: 600;
}

.lgmgr-attendee-card__marker-actions {
	margin-top: 6px;
}

.lgmgr-attendee-card__marker-action {
	appearance: none;
	border: 1px solid #c3c4c7;
	background: #fff;
	color: #1d2327;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	padding: 4px 8px;
	cursor: pointer;
}

.lgmgr-attendee-card__marker-action:hover,
.lgmgr-attendee-card__marker-action:focus {
	border-color: #8c8f94;
	background: #f6f7f7;
}

.lgmgr-board-filter-empty {
	margin: 16px 0;
	padding: 20px;
	text-align: center;
	border: 1px dashed var(--lgmgr-border);
	border-radius: 10px;
	background: #fff;
}

.lgmgr-board-filter-empty[hidden] {
	display: none !important;
}

.lgmgr-board-filter-empty p {
	margin: 0 0 12px;
	color: #50575e;
}

.lgmgr-notice__action {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 10px;
	padding: 0;
	white-space: nowrap;
}

.lgmgr-board-toolbar__filters .lgmgr-btn {
	flex-shrink: 0;
}

.lgmgr-board-search {
	position: relative;
	display: block;
	flex: 1 1 170px;
	min-width: 150px;
	max-width: var(--lgmgr-board-sidebar-width, 270px);
}

.lgmgr-board-search-placeholder {
	flex: 1 1 170px;
	min-width: 150px;
	max-width: var(--lgmgr-board-sidebar-width, 270px);
	width: 100%;
}

.lgmgr-board-search-placeholder[hidden] {
	display: none !important;
}

.lgmgr-board-search--stuck {
	position: fixed;
	z-index: 25;
	top: var(--lgmgr-board-sticky-top);
	left: var(--lgmgr-board-sticky-search-left, 0);
	width: var(--lgmgr-board-sticky-search-width, 280px);
	max-width: none;
	flex: none;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.lgmgr-board-is-dragging .lgmgr-board-search--stuck {
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.lgmgr-board-search--stuck {
		animation: lgmgr-board-search-pop 0.18s ease;
	}
}

@keyframes lgmgr-board-search-pop {
	from {
		opacity: 0.88;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lgmgr-board-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	color: var(--lgmgr-text-subtle);
	pointer-events: none;
}

.lgmgr-board-search__clear {
	position: absolute;
	right: 8px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--lgmgr-text-subtle);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.lgmgr-board-search__clear[hidden] {
	display: none !important;
}

.lgmgr-board-search__clear:hover,
.lgmgr-board-search__clear:focus {
	color: var(--lgmgr-text);
	background: rgba(0, 0, 0, 0.05);
}

.lgmgr-board-search__clear:focus-visible {
	outline: 2px solid var(--lgmgr-primary);
	outline-offset: 1px;
}

.lgmgr-board-toolbar__filters .lgmgr-form__input {
	width: auto;
	min-width: 140px;
	max-width: 100%;
	flex: 0 1 auto;
}

.lgmgr-board-church-legend {
	margin-bottom: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--lgmgr-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.03);
}

.lgmgr-board-church-legend[hidden] {
	display: none !important;
}

.lgmgr-board-church-legend__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.lgmgr-board-church-legend__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.lgmgr-board-church-legend__empty {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-board-church-legend__swatch {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.lgmgr-board-church-legend__swatch--gender {
	gap: 6px;
}

.lgmgr-board-church-legend__gender-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 16px;
	height: 19px;
}

.lgmgr-board-church-legend__gender-icon svg {
	display: block;
	width: 16px;
	height: 19px;
}

.lgmgr-board-attendance-legend {
	margin-bottom: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--lgmgr-border);
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.03);
}

.lgmgr-board-attendance-legend[hidden] {
	display: none !important;
}

.lgmgr-board-attendance-legend__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.lgmgr-board-attendance-legend__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.lgmgr-board-attendance-legend__empty {
	font-size: 13px;
	color: var(--lgmgr-text-muted);
}

.lgmgr-board-attendance-legend__item--note {
	display: flex;
	align-items: center;
}

.lgmgr-board-attendance-legend__swatch {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.lgmgr-board-loading[hidden] {
	display: none !important;
}

.lgmgr-assignment-board {
	--lgmgr-board-ink: #3c434a;
	--lgmgr-board-muted: #646970;
	--lgmgr-board-rule: #eceef0;
	--lgmgr-board-fill: #f0f1f3;
	--lgmgr-board-pool: #f7f8fa;
	padding-bottom: 16px;
}

.lgmgr-assignment-board--filtering .lgmgr-board-groups-grid > .lgmgr-board-column {
	transition: opacity 0.22s ease, filter 0.22s ease;
}

.lgmgr-assignment-board--filtering .lgmgr-board-groups-grid > .lgmgr-board-column:not(.lgmgr-board-column--filter-match) {
	opacity: 0.4;
	filter: blur(2.5px);
}

/* While dragging, undim all group columns so any drop target is easy to hit. */
.lgmgr-assignment-board--filtering.lgmgr-board-is-dragging .lgmgr-board-groups-grid > .lgmgr-board-column {
	opacity: 1;
	filter: none;
}

.lgmgr-assignment-board--filtering .lgmgr-board-sidebar .lgmgr-board-column,
.lgmgr-board-is-dragging .lgmgr-board-sidebar .lgmgr-board-column {
	opacity: 1;
	filter: none;
}

.lgmgr-board-is-dragging .lgmgr-board-sidebar .lgmgr-board-column--drop-hover {
	box-shadow:
		0 0 0 2px rgba(34, 113, 177, 0.34),
		0 4px 16px rgba(34, 113, 177, 0.12);
}

.lgmgr-assignment-board .lgmgr-badge--capacity {
	background: #e3f0fa;
	color: #135e96;
	font-weight: 600;
	text-transform: none;
}

.lgmgr-assignment-board .lgmgr-badge--gender,
.lgmgr-assignment-board .lgmgr-badge--type {
	background: #f6f7f7;
	color: var(--lgmgr-text-muted);
	font-weight: 600;
	text-transform: none;
}

.lgmgr-assignment-board .lgmgr-badge--gender-male {
	background: #e7f0fb;
	color: #135e96;
}

.lgmgr-assignment-board .lgmgr-badge--gender-female {
	background: #fdeff4;
	color: #9b4068;
}

.lgmgr-assignment-board .lgmgr-badge--gender-any {
	background: #fff;
	color: var(--lgmgr-text-muted);
	box-shadow: inset 0 0 0 1px var(--lgmgr-board-rule);
}

/* Reserved: board gender toggle (Any/Male/Female) — not used in UI as of 1.3.2 */
.lgmgr-group-gender-toggle {
	--lgmgr-gender-index: 0;
	position: relative;
	display: inline-grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	min-width: 168px;
	padding: 3px;
	border-radius: 999px;
	background: #fff;
	box-shadow:
		0 1px 3px rgba(0, 0, 0, 0.08),
		0 0 0 1px rgba(0, 0, 0, 0.04);
}

.lgmgr-group-gender-toggle[data-active='male'] {
	--lgmgr-gender-index: 1;
}

.lgmgr-group-gender-toggle[data-active='female'] {
	--lgmgr-gender-index: 2;
}

.lgmgr-group-gender-toggle__indicator {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc((100% - 8px) / 3);
	border-radius: 999px;
	background: #e8ece9;
	transform: translateX(calc(var(--lgmgr-gender-index) * 100%));
	transition: transform 0.22s ease, background-color 0.22s ease;
	z-index: 0;
}

.lgmgr-group-gender-toggle[data-active='any'] .lgmgr-group-gender-toggle__indicator {
	background: #e8ece9;
}

.lgmgr-group-gender-toggle[data-active='male'] .lgmgr-group-gender-toggle__indicator {
	background: #e7f0fb;
}

.lgmgr-group-gender-toggle[data-active='female'] .lgmgr-group-gender-toggle__indicator {
	background: #fdeff4;
}

.lgmgr-group-gender-toggle__option {
	position: relative;
	z-index: 1;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--lgmgr-text-subtle);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 999px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.lgmgr-group-gender-toggle__option:hover:not(.is-active):not(:disabled) {
	color: var(--lgmgr-text-muted);
}

.lgmgr-group-gender-toggle__option:focus-visible {
	outline: 2px solid var(--lgmgr-primary);
	outline-offset: 1px;
}

.lgmgr-group-gender-toggle__option.is-active {
	color: var(--lgmgr-text);
}

.lgmgr-group-gender-toggle[data-active='male'] .lgmgr-group-gender-toggle__option--male.is-active {
	color: #135e96;
}

.lgmgr-group-gender-toggle[data-active='female'] .lgmgr-group-gender-toggle__option--female.is-active {
	color: #9b4068;
}

.lgmgr-group-gender-toggle:has(.lgmgr-group-gender-toggle__option:disabled) {
	opacity: 0.72;
}

.lgmgr-group-gender-toggle__option:disabled {
	cursor: wait;
}

.lgmgr-attendee-card--gender-conflict {
	background: #fff4f4 !important;
	box-shadow: inset 0 0 0 1px #f1c0c0;
}

.lgmgr-attendee-card--gender-conflict:hover {
	background: #fdeeee !important;
	box-shadow: inset 0 0 0 1px #e8b0b0, 0 2px 8px rgba(138, 36, 36, 0.08);
}

.lgmgr-attendee-group__cards .lgmgr-attendee-card--gender-conflict {
	background: #fff4f4 !important;
	box-shadow: inset 0 0 0 1px #f1c0c0;
}

.lgmgr-attendee-card--gender-conflict .lgmgr-attendee-card__name,
.lgmgr-attendee-card--gender-conflict .lgmgr-attendee-card__meta {
	padding-right: 52px;
}

.lgmgr-attendee-card__gender-dismiss {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	z-index: 2;
	appearance: none;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.92);
	color: #8a2424;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	padding: 4px 8px;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 0 0 1px rgba(241, 192, 192, 0.9);
}

.lgmgr-attendee-card__gender-dismiss:hover:not(:disabled) {
	background: #fff;
	color: #6f1d1d;
}

.lgmgr-attendee-card__gender-dismiss:disabled {
	opacity: 0.65;
	cursor: wait;
}

.lgmgr-attendee-card--gender-conflict:has(.lgmgr-attendee-card__link) .lgmgr-attendee-card__gender-dismiss {
	right: 36px;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card--gender-conflict,
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card--gender-conflict {
	background: #fff4f4 !important;
	border-color: #f1c0c0;
}

.lgmgr-assignment-board .lgmgr-badge--gender-count {
	background: #fcf0d1;
	color: #8a6d1d;
	font-weight: 600;
	text-transform: none;
	padding-top: 4px;
	padding-bottom: 4px;
}

.lgmgr-badge-gender-count {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.lgmgr-badge-gender-count__item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	line-height: 1;
}

.lgmgr-badge-gender-count__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 14px;
	height: 17px;
}

.lgmgr-badge-gender-count__icon svg {
	display: block;
	width: 14px;
	height: 17px;
}

.lgmgr-badge-gender-count__value {
	font-variant-numeric: tabular-nums;
}

.lgmgr-assignment-board__layout {
	display: flex;
	flex-direction: row;
	gap: 16px;
	align-items: flex-start;
	min-width: 0;
}

.lgmgr-assignment-board__layout--no-sidebar .lgmgr-board-groups-grid {
	flex: 1 1 auto;
	width: 100%;
}

.lgmgr-board-sidebar {
	--lgmgr-board-sticky-top: 16px;
	--lgmgr-board-sidebar-height: calc(100vh - var(--lgmgr-board-sticky-top) - 16px);
	flex: 0 0 var(--lgmgr-board-sidebar-width, 270px);
	width: var(--lgmgr-board-sidebar-width, 270px);
	min-width: 0;
	height: var(--lgmgr-board-sidebar-height);
	max-height: var(--lgmgr-board-sidebar-height);
	position: sticky;
	top: var(--lgmgr-board-sticky-top);
	align-self: flex-start;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
}

.lgmgr-board-sidebar--search-stuck {
	padding-top: calc(var(--lgmgr-board-sticky-search-height, 0px) + var(--lgmgr-board-sticky-search-gap));
}

.lgmgr-board-sidebar--search-stuck .lgmgr-board-column {
	max-height: calc(100vh - var(--lgmgr-board-sticky-top) - var(--lgmgr-board-sticky-search-height, 0px) - var(--lgmgr-board-sticky-search-gap) - 16px);
}

body.admin-bar .lgmgr-board-sidebar {
	--lgmgr-board-sticky-top: 58px;
}

@media screen and (min-width: 783px) {
	body.admin-bar .lgmgr-board-sidebar {
		--lgmgr-board-sticky-top: 48px;
	}
}

.lgmgr-board-sidebar .lgmgr-board-column {
	width: 100%;
	flex: 1 1 0;
	min-height: 0;
	max-height: none;
	height: auto;
}

.lgmgr-board-groups-grid {
	--lgmgr-board-group-gap: 20px;
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(
		auto-fill,
		minmax(
			min(100%, max(220px, calc((100% - (3 * var(--lgmgr-board-group-gap))) / 4))),
			1fr
		)
	);
	gap: var(--lgmgr-board-group-gap);
	align-items: stretch;
}

.lgmgr-board-empty {
	margin-bottom: 12px;
}

.lgmgr-board-empty p {
	margin: 0;
	color: var(--lgmgr-text-muted);
}

.lgmgr-board-column {
	min-height: 0;
	max-height: 75vh;
	background: #fff;
	border: none;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.lgmgr-board-groups-grid > .lgmgr-board-column {
	height: min(600px, 75vh);
	max-height: 75vh;
}

.lgmgr-board-column--unassigned .lgmgr-board-column__body {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	background: var(--lgmgr-board-pool);
}

.lgmgr-board-column--unassigned.lgmgr-board-column--empty .lgmgr-board-column__body {
	min-height: 0;
}

.lgmgr-board-column--unassigned.lgmgr-board-column--empty .lgmgr-board-column__cards {
	flex: 1 1 auto;
	min-height: 80px;
}

.lgmgr-board-column--unassigned.lgmgr-board-column--empty.lgmgr-board-column--drop-hover .lgmgr-board-column__body {
	background: #eef1f5;
}

.lgmgr-board-column--unassigned.lgmgr-board-column--drop-hover .lgmgr-board-column__body {
	background: #eef1f5;
}

.lgmgr-board-column--unassigned.lgmgr-board-column--empty .lgmgr-board-drop-overlay {
	display: flex;
	padding: 56px 28px;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.lgmgr-board-column--unassigned.lgmgr-board-column--empty.lgmgr-board-column--drop-hover .lgmgr-board-drop-overlay {
	display: flex;
}

.lgmgr-board-column--pending-removal .lgmgr-board-column__body {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fdf3f2;
}

.lgmgr-board-column--pending-removal.lgmgr-board-column--empty .lgmgr-board-column__body {
	min-height: 0;
}

.lgmgr-board-column--pending-removal.lgmgr-board-column--empty .lgmgr-board-column__cards {
	flex: 1 1 auto;
	min-height: 80px;
}

.lgmgr-board-column--pending-removal.lgmgr-board-column--empty.lgmgr-board-column--drop-hover .lgmgr-board-column__body,
.lgmgr-board-column--pending-removal.lgmgr-board-column--drop-hover .lgmgr-board-column__body {
	background: #fce8e6;
}

.lgmgr-board-column--pending-removal.lgmgr-board-column--empty .lgmgr-board-drop-overlay {
	display: flex;
	padding: 40px 20px;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.lgmgr-board-column--pending-removal.lgmgr-board-column--empty.lgmgr-board-column--drop-hover .lgmgr-board-drop-overlay {
	display: flex;
}

.lgmgr-board-column--pending-removal .lgmgr-board-column__cards {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
}

.lgmgr-board-item--pending-removal .lgmgr-removal-note {
	margin: 0 10px 8px;
	padding: 0;
	font-size: 11px;
	line-height: 1.4;
}

.lgmgr-attendee-card.lgmgr-board-item--pending-removal .lgmgr-removal-note {
	margin: 0 0 8px;
}

.lgmgr-removal-note__label {
	color: #7a8490;
	font-weight: 500;
}

.lgmgr-removal-note__group {
	color: #a63d32;
	font-weight: 600;
}

.lgmgr-removal-note--info {
	margin-top: -2px;
	color: #7a8490;
	font-weight: 400;
}

.lgmgr-board-sidebar .lgmgr-board-drop-overlay {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.lgmgr-board-sidebar .lgmgr-board-column:not(.lgmgr-board-column--empty) .lgmgr-board-drop-overlay {
	display: none !important;
}

.lgmgr-board-column--over {
	box-shadow:
		0 0 0 1px rgba(214, 54, 56, 0.28),
		0 0 10px rgba(214, 54, 56, 0.14),
		0 0 22px rgba(214, 54, 56, 0.1),
		0 4px 14px rgba(214, 54, 56, 0.08);
}

.lgmgr-board-column--over .lgmgr-badge--capacity {
	background: #fce8e8;
	color: #b32d2e;
}

.lgmgr-board-column--warn {
	box-shadow: 0 0 0 1px #e0c878, 0 4px 14px rgba(0, 0, 0, 0.04);
}

.lgmgr-board-column--over.lgmgr-board-column--warn {
	box-shadow:
		0 0 0 1px rgba(214, 54, 56, 0.28),
		0 0 10px rgba(214, 54, 56, 0.14),
		0 0 22px rgba(214, 54, 56, 0.1),
		0 4px 14px rgba(214, 54, 56, 0.08);
}

.lgmgr-board-column__header {
	padding: 16px 18px 14px;
	background: #fff;
	border-bottom: 1px solid var(--lgmgr-board-rule);
}

.lgmgr-board-column__header h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.lgmgr-board-column__header .lgmgr-location-meta-group:not([hidden]) {
	margin-bottom: 10px;
	font-size: 14px;
}

.lgmgr-board-column__controls,
.lgmgr-board-column__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.lgmgr-board-column__controls {
	margin-top: 2px;
}

.lgmgr-board-column__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--lgmgr-text-muted);
}

.lgmgr-board-column__body {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1 1 0;
	overflow-y: auto;
	padding: 6px 0 16px;
	background: #fff;
	position: relative;
}

.lgmgr-board-column--empty .lgmgr-board-column__body {
	min-height: 140px;
}

.lgmgr-board-groups-grid > .lgmgr-board-column--empty .lgmgr-board-column__body {
	min-height: 0;
}

.lgmgr-board-drop-overlay {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 5;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	padding: 28px 24px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(2.5px);
	-webkit-backdrop-filter: blur(2.5px);
	transition: backdrop-filter 0.22s ease, background 0.22s ease, opacity 0.22s ease;
	pointer-events: none;
}

.lgmgr-board-column--empty .lgmgr-board-drop-overlay {
	display: flex;
}

.lgmgr-board-groups-grid > .lgmgr-board-column--empty:not(.lgmgr-board-column--drop-hover) .lgmgr-board-drop-overlay:not(.lgmgr-board-drop-overlay--unassigned) {
	background: rgba(255, 255, 255, 0.55);
}

.lgmgr-board-column--empty.lgmgr-board-column--drop-hover .lgmgr-board-drop-overlay,
.lgmgr-board-column--empty .lgmgr-board-column__body:has(.lgmgr-board-item) .lgmgr-board-drop-overlay,
.lgmgr-board-is-assigning .lgmgr-board-drop-overlay {
	display: none;
}

.lgmgr-board-drop-overlay__icon,
.lgmgr-board-drop-overlay__title,
.lgmgr-board-drop-overlay__hint {
	color: var(--lgmgr-text-subtle);
	opacity: 0.7;
}

.lgmgr-board-drop-overlay__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2px;
}

.lgmgr-board-drop-overlay__icon svg {
	display: block;
}

.lgmgr-board-drop-overlay__title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.lgmgr-board-drop-overlay__hint {
	margin: 0;
	max-width: 220px;
	font-size: 13px;
	line-height: 1.45;
}

.lgmgr-board-column__cards {
	padding: 16px 18px;
	min-height: 52px;
}

.lgmgr-board-column__cards > .lgmgr-board-item {
	touch-action: none;
}

.lgmgr-board-groups-grid > .lgmgr-board-column:not(.lgmgr-board-column--unassigned) .lgmgr-board-column__body {
	position: relative;
}

.lgmgr-board-groups-grid > .lgmgr-board-column:not(.lgmgr-board-column--unassigned) .lgmgr-board-column__cards {
	flex: 1 1 auto;
	min-height: 180px;
	position: relative;
	z-index: 6;
}

.lgmgr-board-is-dragging .lgmgr-board-groups-grid > .lgmgr-board-column--drop-hover {
	box-shadow:
		0 0 0 2px rgba(34, 113, 177, 0.34),
		0 4px 16px rgba(34, 113, 177, 0.12);
}

/* Unassigned pool and cabins without per-bed slots scroll inside the column. */
.lgmgr-board-column > .lgmgr-board-column__cards,
.lgmgr-board-column--unassigned .lgmgr-board-column__cards {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.lgmgr-board-slot {
	margin: 0;
	padding: 0 22px;
	min-width: 0;
	background: transparent;
	border: none;
}

.lgmgr-board-slot + .lgmgr-board-slot {
	margin-top: 8px;
	padding-top: 8px;
}

.lgmgr-board-slot__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding: 14px 0 8px;
	background: transparent;
	border-bottom: 1px solid var(--lgmgr-board-rule);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lgmgr-board-slot__label {
	flex: 1 1 auto;
	color: var(--lgmgr-board-ink);
	font-weight: 700;
}

.lgmgr-board-slot__count {
	color: var(--lgmgr-board-muted);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.lgmgr-board-slot__cards {
	min-height: 44px;
	min-width: 0;
	flex: 0 0 auto;
	overflow: visible;
	background: transparent;
	padding: 10px 0 6px;
}

.lgmgr-board-slot--over {
	margin: 0;
	padding: 0 22px 8px;
	border-radius: 8px;
	background: rgba(214, 54, 56, 0.03);
	box-shadow: inset 0 0 0 1px rgba(214, 54, 56, 0.24);
}

.lgmgr-board-slot--over .lgmgr-board-slot__header {
	border-bottom-color: rgba(214, 54, 56, 0.18);
}

.lgmgr-board-slot--over .lgmgr-board-slot__label,
.lgmgr-board-slot--over .lgmgr-board-slot__count {
	color: var(--lgmgr-danger);
}

.lgmgr-board-slot__header .lgmgr-badge {
	flex: 0 1 auto;
	max-width: 100%;
}

.lgmgr-board-slot--warn .lgmgr-board-slot__label {
	color: #8a6d1d;
}

.lgmgr-board-slot--general .lgmgr-board-slot__label {
	color: var(--lgmgr-board-muted);
}

.lgmgr-attendee-group {
	background: #edf3f8;
	border: none;
	border-radius: 8px;
	margin-bottom: 10px;
	padding: 2px;
	max-width: 100%;
	box-sizing: border-box;
	cursor: grab;
	transition: box-shadow 0.15s ease;
	position: relative;
}

.lgmgr-attendee-group--auto {
	background: #edf3ed;
}

.lgmgr-attendee-group--auto .lgmgr-attendee-group__label,
.lgmgr-attendee-group--auto .lgmgr-attendee-group__unlink {
	color: #2f6b2f;
}

.lgmgr-attendee-group--drag,
.lgmgr-attendee-group.lgmgr-attendee-card--drag {
	cursor: grabbing;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lgmgr-attendee-group__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px 0;
	background: transparent;
	border-bottom: none;
	border-radius: 0;
}

.lgmgr-attendee-group__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #5c7a94;
}

.lgmgr-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
	opacity: 0.8;
}

.lgmgr-link-icon svg {
	display: block;
	width: 13px;
	height: 13px;
}

.lgmgr-attendee-group__unlink .lgmgr-link-icon {
	opacity: 0.9;
}

.lgmgr-attendee-group__unlink .lgmgr-link-icon svg,
.lgmgr-attendee-card__link .lgmgr-link-icon svg {
	width: 16px;
	height: 16px;
}

.lgmgr-attendee-group__unlink,
.lgmgr-attendee-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: #135e96;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	padding: 4px;
	border-radius: 4px;
}

.lgmgr-attendee-group__unlink:hover,
.lgmgr-attendee-card__link:hover {
	background: rgba(19, 94, 150, 0.1);
}

.lgmgr-attendee-group__cards {
	padding: 8px 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lgmgr-attendee-group__cards .lgmgr-attendee-card {
	margin-bottom: 0;
	cursor: default;
}

.lgmgr-attendee-card {
	background: var(--lgmgr-board-fill);
	border: none;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 8px;
	cursor: grab;
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	position: relative;
}

.lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lgmgr-attendee-card__link {
	position: absolute;
	top: 8px;
	right: 8px;
}

.lgmgr-attendee-card:hover {
	background: #e8eaed;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-attendee-group__cards .lgmgr-attendee-card:hover {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lgmgr-attendee-card--ghost,
.lgmgr-attendee-group.lgmgr-attendee-card--ghost {
	opacity: 0.4;
}

.lgmgr-attendee-card--drag {
	cursor: grabbing;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lgmgr-board-item.is-selected {
	background: #d9ebfa !important;
	box-shadow:
		inset 0 0 0 2px #2271b1,
		0 2px 10px rgba(34, 113, 177, 0.22);
}

.lgmgr-board-item.is-selected::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 5px;
	border-radius: 8px 0 0 8px;
	background: #2271b1;
	pointer-events: none;
}

.lgmgr-board-item.is-selected:hover {
	background: #c8e2f8 !important;
	box-shadow:
		inset 0 0 0 2px #135e96,
		0 3px 12px rgba(34, 113, 177, 0.28);
}

.lgmgr-attendee-group.is-selected {
	background: #d4e8f8 !important;
	box-shadow:
		inset 0 0 0 2px #2271b1,
		0 2px 10px rgba(34, 113, 177, 0.22);
}

.lgmgr-attendee-group.is-selected .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(34, 113, 177, 0.18);
}

.lgmgr-board-item--bulk-companion {
	opacity: 0.5;
	filter: saturate(0.85);
}

.lgmgr-board-item__bulk-count {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #2271b1;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	pointer-events: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.lgmgr-attendee-group .lgmgr-board-item__bulk-count {
	top: 4px;
	right: 4px;
}

.lgmgr-board-marquee {
	position: fixed;
	z-index: 100000;
	border: 2px solid #2271b1;
	background: rgba(34, 113, 177, 0.14);
	border-radius: 4px;
	pointer-events: none;
	box-sizing: border-box;
}

.lgmgr-board-is-marquee,
.lgmgr-board-is-marquee .lgmgr-board-item {
	user-select: none;
	-webkit-user-select: none;
}

.lgmgr-attendee-card__name {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.lgmgr-attendee-card--name-only .lgmgr-attendee-card__name {
	margin-bottom: 0;
}

.lgmgr-attendee-card__meta:empty {
	display: none;
}

.lgmgr-attendee-card__meta {
	font-size: 12px;
	color: var(--lgmgr-text-muted);
	line-height: 1.45;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lgmgr-card-church-age,
.lgmgr-card-meta-line {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}

.lgmgr-card-meta-sep {
	margin: 0 4px;
	color: var(--lgmgr-text-subtle);
}

.lgmgr-card-age {
	color: var(--lgmgr-text-muted);
}

.lgmgr-assignment-board--color-legends .lgmgr-card-church {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-weight: 500;
	line-height: 1.35;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card[data-gender="male"],
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-gender="male"] {
	background: #e7f0fb;
	box-shadow: none;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card[data-gender="male"]:hover,
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-gender="male"]:hover {
	background: #d9e8f8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card[data-gender="female"],
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-gender="female"] {
	background: #fdeff4;
	box-shadow: none;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card[data-gender="female"]:hover,
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-gender="female"]:hover {
	background: #fae0ea;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card.lgmgr-board-item.is-selected,
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item.is-selected {
	background: #d9ebfa !important;
	box-shadow:
		inset 0 0 0 2px #2271b1,
		0 2px 10px rgba(34, 113, 177, 0.22);
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card.lgmgr-board-item.is-selected:hover,
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item.is-selected:hover {
	background: #c8e2f8 !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card.lgmgr-board-item--draft-changed:not(.is-selected),
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) {
	background: #fff8e8 !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fffaf0 !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card.lgmgr-board-item--removed-in-pco:not(.is-selected),
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) {
	background: #fdf0f0 !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fdf5f5 !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-card.lgmgr-board-item--new-from-pco:not(.is-selected),
.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) {
	background: #eef7fc !important;
}

.lgmgr-assignment-board--color-legends .lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #f4fafd !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="0-25"],
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="0-25"] {
	background: #fdecea;
	border-color: #f0c5c0;
	box-shadow: none;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="0-25"]:hover,
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="0-25"]:hover {
	background: #fbd8d4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="25-50"],
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="25-50"] {
	background: #fff4e6;
	border-color: #f0ddb8;
	box-shadow: none;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="25-50"]:hover,
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="25-50"]:hover {
	background: #ffeacc;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="50-75"],
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="50-75"] {
	background: #fffbea;
	border-color: #ede0a8;
	box-shadow: none;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="50-75"]:hover,
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="50-75"]:hover {
	background: #fff5cc;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="75-100"],
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="75-100"] {
	background: #e8f8ef;
	border-color: #c5ead5;
	box-shadow: none;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card[data-attendance-tier="75-100"]:hover,
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group__cards .lgmgr-attendee-card[data-attendance-tier="75-100"]:hover {
	background: #d8f0e3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card.lgmgr-board-item.is-selected,
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item.is-selected {
	box-shadow:
		inset 0 0 0 2px #2271b1,
		0 2px 10px rgba(34, 113, 177, 0.22);
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card.lgmgr-board-item--draft-changed:not(.is-selected),
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) {
	background: #fff8e8 !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--draft-changed:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fffaf0 !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card.lgmgr-board-item--removed-in-pco:not(.is-selected),
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) {
	background: #fdf0f0 !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--removed-in-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #fdf5f5 !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-card.lgmgr-board-item--new-from-pco:not(.is-selected),
.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) {
	background: #eef7fc !important;
}

.lgmgr-assignment-board--attendance-legends .lgmgr-attendee-group.lgmgr-board-item--new-from-pco:not(.is-selected) .lgmgr-attendee-group__cards .lgmgr-attendee-card {
	background: #f4fafd !important;
}

.lgmgr-badge--leader {
	background: #e8daef;
	color: #5b2c6f;
	text-transform: none;
}

.lgmgr-badge--associate {
	background: #fde5cc;
	color: #9a5b1a;
	text-transform: none;
}

.lgmgr-badge--warning {
	background: #fcf0d1;
	color: #8a6d1d;
	text-transform: none;
}

.lgmgr-badge--over_capacity {
	background: #fce4e4;
	color: var(--lgmgr-danger);
}

.lgmgr-badge--gender_conflict {
	background: #fce4e4;
	color: var(--lgmgr-danger);
}

.lgmgr-badge--family_split {
	background: #fcf0d1;
	color: #8a6d1d;
}

.lgmgr-card-notes {
	font-size: 12px;
}

.lgmgr-card-alert {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin: -4px -8px 10px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #fcf0d1;
	border: 1px solid #e8d9a8;
	color: #8a6d1d;
	font-size: 12px;
	line-height: 1.4;
}

.lgmgr-card-alert__message {
	flex: 1 1 auto;
}

.lgmgr-card-alert__dismiss {
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lgmgr-card-alert__dismiss:hover {
	color: #6d5614;
}

@media (max-width: 900px) {
	.lgmgr-board-sidebar {
		flex: 0 0 var(--lgmgr-board-sidebar-width, 240px);
		width: var(--lgmgr-board-sidebar-width, 240px);
	}

	.lgmgr-board-sidebar--search-stuck .lgmgr-board-column--unassigned,
	.lgmgr-board-sidebar--search-stuck .lgmgr-board-column--pending-removal {
		max-height: min(45vh, calc(100vh - var(--lgmgr-board-sticky-top) - var(--lgmgr-board-sticky-search-height, 0px) - var(--lgmgr-board-sticky-search-gap) - 16px));
	}
}

@media (max-width: 600px) {
	.lgmgr-form--grid {
		grid-template-columns: 1fr;
	}

	.lgmgr-template-location-row {
		grid-template-columns: 1fr;
	}

	.lgmgr-assignment-board__layout {
		flex-direction: column;
	}

	.lgmgr-board-sidebar {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
		height: auto;
		max-height: none;
		position: static;
	}

	.lgmgr-board-sidebar .lgmgr-board-column {
		max-height: min(45vh, 420px);
	}

	.lgmgr-board-groups-grid {
		width: 100%;
	}
}

/* Auto-assignment rules */
.lgmgr-auto-assign-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: linear-gradient(135deg, #e8f2fc 0%, #f3e8ff 100%);
	color: #5b4bb7;
	flex: 0 0 auto;
}

.lgmgr-auto-assign-panel__icon svg {
	width: 16px;
	height: 16px;
}

.lgmgr-modal--sync-choice .lgmgr-modal__dialog {
	max-width: 720px;
}

.lgmgr-modal--sync-choice .lgmgr-modal__body {
	padding: 32px 36px 36px;
}

.lgmgr-sync-choice-modal__intro {
	margin: 0 0 24px;
	color: var(--lgmgr-text-muted);
	font-size: 14px;
	line-height: 1.5;
}

.lgmgr-sync-choice-modal__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.lgmgr-sync-choice-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	min-height: 170px;
	padding: 24px 22px;
	border: 1px solid var(--lgmgr-border);
	border-radius: 12px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.lgmgr-sync-choice-card:hover,
.lgmgr-sync-choice-card:focus {
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.lgmgr-sync-choice-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: rgba(34, 113, 177, 0.1);
	color: var(--lgmgr-primary);
}

.lgmgr-sync-choice-card__icon .lgmgr-btn__icon {
	width: 20px;
	height: 20px;
}

.lgmgr-sync-choice-card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--lgmgr-text);
}

.lgmgr-sync-choice-card__desc {
	font-size: 14px;
	line-height: 1.5;
	color: var(--lgmgr-text-muted);
}

.lgmgr-sync-choice-card--full {
	border-color: #b8d4ea;
	background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.lgmgr-sync-choice-card--full:hover,
.lgmgr-sync-choice-card--full:focus {
	border-color: #7aa8cc;
	background: linear-gradient(180deg, #edf6fd 0%, #ffffff 100%);
}

.lgmgr-sync-choice-card--keep {
	border-color: #ddd0f5;
	background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
}

.lgmgr-sync-choice-card--keep:hover,
.lgmgr-sync-choice-card--keep:focus {
	border-color: #c4b0eb;
	background: linear-gradient(180deg, #f3ecff 0%, #ffffff 100%);
}

.lgmgr-sync-choice-card--keep .lgmgr-sync-choice-card__icon {
	background: rgba(91, 75, 138, 0.12);
	color: #5b4b8a;
}

@media (max-width: 720px) {
	.lgmgr-modal--sync-choice .lgmgr-modal__body {
		padding: 24px 20px 28px;
	}

	.lgmgr-sync-choice-modal__options {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.lgmgr-sync-confirm-view {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 8px 8px 4px;
}

.lgmgr-sync-confirm-view[hidden] {
	display: none !important;
}

.lgmgr-sync-confirm-view__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: #fdecea;
	color: #b42318;
}

.lgmgr-sync-confirm-view__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--lgmgr-text);
}

.lgmgr-sync-confirm-view__message {
	margin: 0;
	max-width: 46ch;
	font-size: 14px;
	line-height: 1.55;
	color: var(--lgmgr-text-muted);
}

.lgmgr-sync-confirm-view__actions {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.lgmgr-sync-progress-view {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 8px 4px 4px;
}

.lgmgr-sync-progress-view[hidden] {
	display: none !important;
}

.lgmgr-sync-progress-view__hint {
	margin: 0;
	max-width: 42ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--lgmgr-text-muted);
	text-align: center;
}

.lgmgr-sync-progress--modal {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: min(420px, 100%);
	margin: 0 auto;
}

.lgmgr-sync-progress--modal .lgmgr-sync-progress__track {
	width: 100%;
	height: 18px;
}

.lgmgr-sync-progress--modal .lgmgr-sync-progress__label {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--lgmgr-text);
}

.lgmgr-sync-progress--modal.lgmgr-sync-progress--error .lgmgr-sync-progress__bar {
	background: linear-gradient(90deg, #d92d20 0%, #b42318 100%);
}

.lgmgr-sync-progress--modal.lgmgr-sync-progress--success .lgmgr-sync-progress__bar {
	background: linear-gradient(90deg, #3d8f5f 0%, #2f6f4a 100%);
}

.lgmgr-sync-progress-view__error {
	margin: 0;
	max-width: 42ch;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #f5c2c0;
	background: #fef3f2;
	color: #b42318;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.lgmgr-sync-progress-view__error[hidden] {
	display: none !important;
}

.lgmgr-sync-progress-view__auto-close {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--lgmgr-text-muted);
	text-align: center;
}

.lgmgr-sync-progress-view__auto-close[hidden] {
	display: none !important;
}

.lgmgr-sync-progress-view__actions {
	display: flex;
	justify-content: center;
	margin-top: 4px;
}

.lgmgr-sync-progress-view__actions[hidden] {
	display: none !important;
}

.lgmgr-modal--sync-choice.lgmgr-modal--sync-busy .lgmgr-modal__close {
	display: none;
}

.lgmgr-modal--sync-choice.lgmgr-modal--sync-busy .lgmgr-modal__backdrop {
	pointer-events: none;
}

.lgmgr-wrap.lgmgr-wrap--sync-busy .lgmgr-tabs__item,
.lgmgr-wrap.lgmgr-wrap--sync-busy .lgmgr-draft-status-strip__link {
	pointer-events: none;
	opacity: 0.55;
	cursor: not-allowed;
}

.lgmgr-auto-assign-modal__title,
.lgmgr-action-confirm-modal__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 18px;
}

.lgmgr-action-confirm-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lgmgr-action-confirm-modal__icon .lgmgr-btn__icon {
	display: block;
}

.lgmgr-action-confirm-modal__message {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--lgmgr-text);
}

.lgmgr-sync-preview__intro {
	margin: 0 0 12px;
}

.lgmgr-sync-preview__summary {
	margin: 0 0 12px;
}

.lgmgr-sync-preview__empty,
.lgmgr-sync-preview__loading,
.lgmgr-sync-preview__error {
	margin: 0;
}

.lgmgr-sync-preview__table-wrap {
	margin-top: 4px;
	max-height: 320px;
	overflow: auto;
	border: 1px solid var(--lgmgr-border);
	border-radius: 8px;
}

.lgmgr-sync-preview__table {
	margin: 0;
	font-size: 13px;
}

.lgmgr-sync-preview__table th,
.lgmgr-sync-preview__table td {
	padding: 10px 12px;
	vertical-align: top;
}

.lgmgr-sync-preview__table th.lgmgr-sync-preview__col-ignore,
.lgmgr-sync-preview__table td.lgmgr-sync-preview__ignore {
	width: 72px;
	min-width: 72px;
	text-align: center;
	vertical-align: middle;
}

.lgmgr-sync-preview__ignore .lgmgr-toggle-switch {
	justify-content: center;
}

.lgmgr-sync-preview__row--ignored {
	opacity: 0.55;
}

.lgmgr-sync-preview__table th:last-child,
.lgmgr-sync-preview__table td:last-child {
	min-width: 72px;
}

.lgmgr-sync-preview__table th:nth-last-child(2),
.lgmgr-sync-preview__table td:nth-last-child(2) {
	min-width: 180px;
}

.lgmgr-sync-preview__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.lgmgr-sync-preview__badge--add {
	background: #e8f5e9;
	color: #1b5e20;
}

.lgmgr-sync-preview__badge--update {
	background: #e3f2fd;
	color: #0d47a1;
}

.lgmgr-sync-preview__badge--remove {
	background: #ffebee;
	color: #b71c1c;
}

.lgmgr-sync-preview__badge--relink {
	background: #f3e5f5;
	color: #4a148c;
}

.lgmgr-sync-preview__details {
	margin: 0;
	padding-left: 18px;
}

.lgmgr-sync-preview__details li + li {
	margin-top: 4px;
}

.lgmgr-sync-preview__no-details {
	color: var(--lgmgr-text-muted);
}

.lgmgr-modal--action-confirm:has(.lgmgr-sync-preview__table) .lgmgr-modal__dialog {
	max-width: 720px;
}

#lgmgr-action-confirm-run {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lgmgr-auto-assign-rules {
	display: grid;
	gap: 16px;
}

.lgmgr-auto-assign-rules__list {
	display: grid;
	gap: 24px;
}

.lgmgr-auto-assign-rules__items {
	display: grid;
	gap: 16px;
}

.lgmgr-auto-assign-rule {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 6px;
	row-gap: 4px;
}

.lgmgr-auto-assign-rule > .lgmgr-checkbox,
.lgmgr-auto-assign-rule > .lgmgr-radio {
	display: contents;
	cursor: pointer;
}

.lgmgr-auto-assign-rule > .lgmgr-checkbox input,
.lgmgr-auto-assign-rule > .lgmgr-radio input {
	margin-top: 3px;
}

.lgmgr-auto-assign-rule__text {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.lgmgr-auto-assign-rule__help {
	grid-column: 2;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--lgmgr-text-muted);
}

.lgmgr-auto-assign-rules--settings {
	max-width: 720px;
}

.lgmgr-auto-assign-rules--sortable {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid var(--lgmgr-border);
	border-radius: var(--lgmgr-radius);
	background: #fff;
	overflow: hidden;
}

.lgmgr-auto-assign-rule--sortable,
.lgmgr-auto-assign-rules__fieldset--sortable {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--lgmgr-border);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.lgmgr-auto-assign-rule--sortable:last-child,
.lgmgr-auto-assign-rules__fieldset--sortable:last-child {
	border-bottom: 0;
}

.lgmgr-auto-assign-rules__fieldset--sortable {
	flex-direction: column;
	margin: 0;
}

.lgmgr-auto-assign-rules__fieldset-header {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.lgmgr-auto-assign-rules__fieldset-header .lgmgr-form__label {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.lgmgr-auto-assign-rules__fieldset-options {
	display: grid;
	gap: 12px;
	width: 100%;
}

.lgmgr-auto-assign-rule__handle {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: none;
	background: transparent;
	color: var(--lgmgr-text-muted);
	font-size: 16px;
	line-height: 1;
	cursor: grab;
	padding: 0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lgmgr-auto-assign-rule__handle:hover {
	background: #f0f0f1;
	color: var(--lgmgr-text);
}

.lgmgr-auto-assign-rule__handle:active {
	cursor: grabbing;
}

.lgmgr-auto-assign-rule__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lgmgr-auto-assign-rule__control-row {
	display: flex;
	align-items: center;
	min-height: 24px;
}

.lgmgr-auto-assign-rule--sortable .lgmgr-checkbox,
.lgmgr-auto-assign-rule--settings .lgmgr-radio {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.lgmgr-auto-assign-rule--sortable .lgmgr-checkbox input,
.lgmgr-auto-assign-rule--settings .lgmgr-radio input {
	margin: 0;
	flex-shrink: 0;
}

.lgmgr-auto-assign-rule--sortable .lgmgr-auto-assign-rule__text,
.lgmgr-auto-assign-rule--settings .lgmgr-auto-assign-rule__text {
	line-height: 1.3;
}

.lgmgr-wrap .lgmgr-auto-assign-rule__description-input,
.lgmgr-wrap textarea.lgmgr-auto-assign-rule__description-input {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	margin: 0;
	padding: 8px 10px;
	border: 0;
	border-radius: 6px;
	background: #f6f7f7;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.45;
	color: var(--lgmgr-text-muted);
	resize: vertical;
	min-height: 44px;
	box-sizing: border-box;
}

.lgmgr-auto-assign-rule__description-input:focus {
	outline: none;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--lgmgr-border);
	color: var(--lgmgr-text);
}

.lgmgr-auto-assign-rule--nested {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 6px;
	row-gap: 8px;
}

.lgmgr-auto-assign-rule--nested.lgmgr-auto-assign-rule--settings {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lgmgr-auto-assign-rule--nested .lgmgr-auto-assign-rule__help {
	grid-column: 2;
}

.lgmgr-auto-assign-rule--nested.lgmgr-auto-assign-rule--settings .lgmgr-auto-assign-rule__description-input {
	width: 100%;
}

.lgmgr-auto-assign-rule--ghost {
	opacity: 0.45;
}

.lgmgr-auto-assign-rule--drag,
.lgmgr-auto-assign-rules__fieldset--sortable.lgmgr-auto-assign-rule--drag {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lgmgr-auto-assign-rules__fieldset {
	border: 0;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.lgmgr-auto-assign-modal__body .lgmgr-auto-assign-rules__fieldset {
	margin: 0;
}

.lgmgr-auto-assign-rules__fieldset--general {
	gap: 0;
}

.lgmgr-auto-assign-rules__fieldset--church {
	gap: 16px;
}

.lgmgr-auto-assign-rules__legend {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	padding: 0;
	color: #9885dc;
}

.lgmgr-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
}

/* Settings page */
.lgmgr-settings-form {
	display: grid;
	gap: 20px;
	max-width: 760px;
}

.lgmgr-settings-section__title {
	margin: 0 0 8px;
	font-size: 18px;
}

.lgmgr-settings-section__title--with-icon {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lgmgr-settings-key-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.lgmgr-settings-key-row .lgmgr-form__input {
	flex: 1 1 280px;
}

.lgmgr-settings-actions {
	display: flex;
	justify-content: flex-start;
}

/* Export tab */
.lgmgr-export-panel {
	max-width: 520px;
	padding: 20px;
}

.lgmgr-export-panel .lgmgr-hint {
	margin: 0 0 20px;
}

.lgmgr-export-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lgmgr-export-panel__select {
	max-width: 100%;
}

.lgmgr-export-format-desc {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--lgmgr-text-muted);
	line-height: 1.45;
}

.lgmgr-export-options {
	margin: -20px 0 0;
	padding: 0;
	border: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lgmgr-export-options .lgmgr-form__label {
	margin-bottom: 4px;
}

.lgmgr-export-options .lgmgr-checkbox {
	font-weight: 400;
}

.lgmgr-export-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lgmgr-export-actions > [hidden] {
	display: none !important;
}

/* Print (Phase 5 stub) */
@media print {
	.lgmgr-wrap .lgmgr-project-card__actions,
	.lgmgr-wrap .lgmgr-header a,
	.lgmgr-wrap .lgmgr-tabs-bar,
	.lgmgr-wrap .lgmgr-tabs {
		display: none !important;
	}
}

.lgmgr-page-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.lgmgr-page-header .lgmgr-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
}

.lgmgr-page-header__tagline {
	margin: 0;
	max-width: 52ch;
}

.lgmgr-page-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.lgmgr-sync-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}

.lgmgr-sync-meta {
	text-align: right;
	color: var(--lgmgr-text-muted);
	font-size: 13px;
	line-height: 1.45;
}

.lgmgr-sync-progress-row {
	flex: 1 1 100%;
	display: flex;
	justify-content: flex-end;
}

.lgmgr-sync-progress-row:not(:has(.lgmgr-sync-progress:not([hidden]))) {
	display: none;
}

.lgmgr-sync-progress {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: min(320px, 100%);
}

.lgmgr-sync-progress[hidden] {
	display: none !important;
}

.lgmgr-sync-progress__track {
	height: 8px;
	overflow: hidden;
	background: rgba(47, 111, 74, 0.15);
	border-radius: 999px;
}

.lgmgr-sync-progress__bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #3d8f5f 0%, #2f6f4a 100%);
	border-radius: inherit;
	transition: width 0.35s ease;
}

.lgmgr-sync-progress__label {
	font-size: 12px;
	line-height: 1.35;
	color: var(--lgmgr-text-subtle, #5c6670);
	text-align: right;
}

.lgmgr-apply-progress {
	width: 100%;
	max-width: 520px;
	margin-top: 12px;
}

.lgmgr-apply-progress .lgmgr-sync-progress__track {
	height: 14px;
}

.lgmgr-apply-progress .lgmgr-sync-progress__label {
	text-align: left;
}

.lgmgr-apply-progress--success .lgmgr-sync-progress__track {
	background: rgba(47, 111, 74, 0.22);
}

.lgmgr-apply-progress--success .lgmgr-sync-progress__bar {
	background: linear-gradient(90deg, #6fbf8b 0%, #2f6f4a 100%);
}

.lgmgr-apply-progress--success .lgmgr-sync-progress__label {
	color: #1e6b36;
	font-weight: 600;
}

.lgmgr-apply-progress--error .lgmgr-sync-progress__track {
	background: rgba(185, 28, 28, 0.18);
}

.lgmgr-apply-progress--error .lgmgr-sync-progress__bar {
	background: linear-gradient(90deg, #f87171 0%, #b91c1c 100%);
}

.lgmgr-apply-progress--error .lgmgr-sync-progress__label {
	color: #b91c1c;
	font-weight: 600;
}

.lgmgr-wrap--workspace {
	max-width: none;
	width: 100%;
}

.lgmgr-panel-header__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lgmgr-panel-header__title-row + .lgmgr-subtitle {
	margin-top: 8px;
}

.lgmgr-panel-header__count {
	font-weight: 500;
	color: #646970;
}

.lgmgr-badge--readonly {
	background: #eef0f2;
	color: #50575e;
}

.lgmgr-card.lgmgr-table-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 20px;
}

.lgmgr-card__header {
	padding: 18px 20px;
	border-bottom: 1px solid var(--lgmgr-border);
	background: #fafafa;
}

.lgmgr-card__header--with-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.lgmgr-card__header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.lgmgr-summary-search {
	display: block;
	flex: 1 1 180px;
	max-width: 280px;
	margin: 0;
}

.lgmgr-summary-search__input {
	width: 100%;
	min-height: 36px;
}

.lgmgr-summary-search-empty {
	padding: 20px;
	margin: 0;
}

.lgmgr-summary-table tr[hidden],
.lgmgr-summary-history-table tr[hidden] {
	display: none !important;
}

.lgmgr-card__body {
	padding: 0;
}

.lgmgr-card__body > .lgmgr-subtitle {
	padding: 20px;
	margin: 0;
}

.lgmgr-card__body > .lgmgr-table {
	margin: 0;
}

.lgmgr-publish-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 32px 24px 36px;
	gap: 16px;
}

.lgmgr-btn--publish-now {
	padding: 16px 36px;
	font-size: 17px;
	font-weight: 600;
	border-radius: 8px;
}

.lgmgr-btn--publish-now .lgmgr-btn__icon {
	width: 18px;
	height: 18px;
}

.lgmgr-publish-card__description {
	margin: 0;
	max-width: 44ch;
	font-size: 14px;
	line-height: 1.55;
	color: var(--lgmgr-text-muted);
}

.lgmgr-publish-result {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: calc(100% - 48px);
	max-width: 560px;
	margin: 0 24px 24px;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	animation: lgmgr-publish-result-in 0.2s ease;
}

.lgmgr-publish-result[hidden] {
	display: none !important;
}

.lgmgr-publish-result__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.lgmgr-publish-result--success {
	background: #e8f8ef;
	color: #1d6b40;
	border: 1px solid #bfe6cf;
}

.lgmgr-publish-result--error {
	background: #fdecea;
	color: #8a2e2e;
	border: 1px solid #f0c5c0;
}

@keyframes lgmgr-publish-result-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lgmgr-summary-table__actions-col {
	width: 1%;
	white-space: nowrap;
}

.lgmgr-summary-table__actions {
	text-align: right;
	white-space: nowrap;
}


.lgmgr-publish-card__counts {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.lgmgr-publish-card__parked-note {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: #646970;
}

.lgmgr-btn--publish-now:disabled,
.lgmgr-btn--publish-now[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
}

.lgmgr-summary-row--parked td {
	color: #646970;
}

.lgmgr-summary-row--parked td:nth-child(3)::after {
	content: '';
}

.lgmgr-badge--linked {
	background: #eef0ff;
	color: #4a4f8c;
	margin-left: 6px;
}

.lgmgr-change-requests-table__actions {
	min-width: 320px;
}

.lgmgr-change-requests-table__select {
	width: 36px;
	padding-right: 0 !important;
	vertical-align: middle;
}

.lgmgr-change-requests-table__select input[type="checkbox"] {
	margin: 0;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.lgmgr-change-request-row--selected {
	background: #f0f6fc;
}

.lgmgr-form-requests-bulk {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #f6f7f7;
}

.lgmgr-form-requests-bulk[hidden] {
	display: none !important;
}

.lgmgr-form-requests-bulk__count {
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.lgmgr-form-requests-bulk__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.lgmgr-change-requests-table th,
.lgmgr-change-requests-table td {
	padding: 18px 22px;
	vertical-align: middle;
}

.lgmgr-change-requests-date-range {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 1 auto;
	flex-wrap: wrap;
	max-width: 100%;
}

.lgmgr-change-requests-date-range__sep {
	color: #646970;
}

.lgmgr-change-requests-date-range .lgmgr-form__input[type="date"] {
	width: auto;
	min-width: 140px;
	max-width: 100%;
}

.lgmgr-change-request-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.lgmgr-change-request-actions__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.lgmgr-change-request-actions__row--target .lgmgr-change-request-group,
.lgmgr-change-request-actions .lgmgr-change-request-group {
	display: block;
	width: 100%;
	max-width: 280px;
	min-width: 180px;
}

.lgmgr-change-request-actions .lgmgr-form__input {
	min-width: 180px;
	max-width: 280px;
}

.lgmgr-change-request-match {
	margin-top: 4px;
	font-size: 12px;
	color: #2f6f4a;
}

.lgmgr-change-request-person {
	min-width: 180px;
}

.lgmgr-change-request-person__name {
	display: block;
	margin: 0 0 14px;
	line-height: 1.35;
}

.lgmgr-change-request-person .lgmgr-change-request-answers-open {
	display: inline-flex;
	margin-top: 0;
}

.lgmgr-change-request-type {
	white-space: nowrap;
}

.lgmgr-change-request-type--empty {
	color: #a7aaad;
}

.lgmgr-badge--attendance-single {
	background: #eef0ff;
	color: #4a4f8c;
}

.lgmgr-badge--attendance-couple {
	background: #eef6f0;
	color: #2f6f4a;
}

.lgmgr-change-request-submitted {
	white-space: nowrap;
}

.lgmgr-modal--form-answers .lgmgr-modal__dialog {
	max-width: 560px;
}

.lgmgr-form-answers-modal__person {
	margin: 0 0 6px;
	font-size: 16px;
	color: #1d2327;
}

.lgmgr-form-answers-modal__meta {
	margin: 0 0 18px;
	font-size: 13px;
	color: #646970;
}

.lgmgr-form-answers-list {
	margin: 0;
}

.lgmgr-form-answers-list__item {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--lgmgr-border);
}

.lgmgr-form-answers-list__item:first-child {
	padding-top: 0;
}

.lgmgr-form-answers-list__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.lgmgr-form-answers-list__label {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: #646970;
	text-transform: none;
	letter-spacing: 0;
}

.lgmgr-form-answers-list__value {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #1d2327;
}

.lgmgr-change-requests-pagination {
	padding: 16px 0 0;
}

.lgmgr-board-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 40px 24px;
	text-align: center;
	color: var(--lgmgr-text-muted);
	font-size: 14px;
}

.lgmgr-board-loading::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	border: 2px solid #c3c4c7;
	border-top-color: var(--lgmgr-primary);
	border-radius: 50%;
	animation: lgmgr-spin 0.8s linear infinite;
}

@keyframes lgmgr-spin {
	to {
		transform: rotate(360deg);
	}
}

.lgmgr-settings-grid {
	display: grid;
	gap: 20px;
	margin-top: 16px;
}

.lgmgr-settings-card h2 {
	margin: 0 0 8px;
	font-size: 18px;
}

.lgmgr-settings-card .description {
	margin-top: 0;
}

.lgmgr-rich-editor {
	border: 1px solid var(--lgmgr-border, #dcdcde);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.lgmgr-project-notes-modal__intro {
	margin-bottom: 16px;
}

.lgmgr-rich-editor__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--lgmgr-border, #dcdcde);
	background: #f6f7f7;
}

.lgmgr-rich-editor__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: var(--lgmgr-text, #1d2327);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.lgmgr-rich-editor__btn:hover {
	background: #ececec;
	border-color: #dcdcde;
}

.lgmgr-rich-editor__btn:focus-visible {
	outline: 2px solid var(--lgmgr-primary, #2271b1);
	outline-offset: 1px;
}

.lgmgr-rich-editor__btn--icon {
	padding: 0 6px;
}

.lgmgr-rich-editor__icon {
	display: block;
	width: 16px;
	height: 16px;
}

.lgmgr-rich-editor__divider {
	width: 1px;
	height: 20px;
	margin: 0 4px;
	background: #dcdcde;
}

.lgmgr-rich-editor__body {
	min-height: 220px;
	max-height: 420px;
	overflow-y: auto;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--lgmgr-text, #1d2327);
}

.lgmgr-rich-editor__body:focus {
	outline: none;
}

.lgmgr-rich-editor__body:empty::before {
	content: attr(data-placeholder);
	color: var(--lgmgr-text-muted, #646970);
	pointer-events: none;
}

.lgmgr-rich-editor__body ul,
.lgmgr-rich-editor__body ol {
	margin: 0 0 0.75em 1.4em;
	padding: 0;
}

.lgmgr-rich-editor__body p {
	margin: 0 0 0.75em;
}

.lgmgr-rich-editor__body p:last-child {
	margin-bottom: 0;
}

/* Checklist tab */
.lgmgr-checklist-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	max-width: 100%;
}

.lgmgr-checklist-add__input {
	flex: 0 0 25%;
	width: 25%;
	max-width: 25%;
	min-width: 0;
}

.lgmgr-checklist-reset-link {
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lgmgr-primary, #2271b1);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: underline;
	cursor: pointer;
}

.lgmgr-checklist-reset-link:hover,
.lgmgr-checklist-reset-link:focus-visible {
	color: #135e96;
}

.lgmgr-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lgmgr-checklist-empty {
	margin: 0;
}

.lgmgr-checklist-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--lgmgr-border, #dcdcde);
	border-radius: var(--lgmgr-radius, 8px);
	background: var(--lgmgr-card-bg, #fff);
	cursor: grab;
}

.lgmgr-checklist-item:active {
	cursor: grabbing;
}

.lgmgr-checklist-item--ghost {
	opacity: 0.45;
}

.lgmgr-checklist-item--chosen {
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.lgmgr-checklist-item--drag {
	opacity: 0.85;
}

.lgmgr-checklist-item--editing {
	cursor: default;
}

.lgmgr-checklist-item__toggle {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 2px solid var(--lgmgr-border, #c3c4c7);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lgmgr-checklist-item__toggle svg {
	width: 14px;
	height: 14px;
}

.lgmgr-checklist-item__toggle:hover {
	border-color: var(--lgmgr-primary, #2271b1);
}

.lgmgr-checklist-item__toggle--done {
	border-color: #7ec87e;
	background: #7ec87e;
}

.lgmgr-checklist-item__text {
	flex: 0 1 auto;
	min-width: 0;
	font-size: 16px;
	line-height: 1.45;
	color: var(--lgmgr-text, #1d2327);
	cursor: text;
	outline: none;
	border-bottom: 1px dotted transparent;
}

.lgmgr-checklist-item__text:hover {
	border-bottom-color: #c3c4c7;
}

.lgmgr-checklist-item--editing .lgmgr-checklist-item__text {
	border-bottom-color: transparent;
}

.lgmgr-checklist-item__content {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 10px;
	min-width: 0;
}

.lgmgr-checklist-item--done .lgmgr-checklist-item__text {
	color: var(--lgmgr-text-muted, #a7aaad);
}

.lgmgr-checklist-item__notes {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	align-self: center;
	padding: 5px 10px;
	border: 0;
	border-radius: 6px;
	background: #f0f0f1;
	color: #a7aaad;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lgmgr-checklist-item:hover .lgmgr-checklist-item__notes,
.lgmgr-checklist-item__notes--has-note {
	opacity: 1;
}

.lgmgr-checklist-item__notes:hover,
.lgmgr-checklist-item__notes:focus-visible {
	background: #e7e7e8;
	color: #8c8f94;
}

.lgmgr-checklist-item__remove {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--lgmgr-text-muted, #646970);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lgmgr-checklist-item:hover .lgmgr-checklist-item__remove,
.lgmgr-checklist-item__remove:focus-visible {
	opacity: 1;
}

.lgmgr-checklist-item__remove:hover {
	background: #fef2f2;
	color: #b32d2e;
}

#lgmgr-checklist-notes-modal-subtitle {
	margin-bottom: 16px;
}

.lgmgr-checklist-notes-textarea {
	width: 100%;
	min-height: 180px;
	resize: vertical;
}

#lgmgr-rosters-card .lgmgr-card__body {
	padding: 0;
}

#lgmgr-ld-panel .lgmgr-card__body {
	padding: 24px;
}

.lgmgr-ld-search {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}

.lgmgr-ld-search .lgmgr-board-search.lgmgr-ld-search__field {
	max-width: 520px;
	width: 100%;
}

#lgmgr-ld-panel .lgmgr-card__body > .lgmgr-ld-search__hint {
	margin: 12px auto 0;
	padding: 0;
	max-width: 520px;
	width: 100%;
	text-align: center;
}

#lgmgr-ld-panel .lgmgr-card__body > .lgmgr-ld-tracker-empty {
	margin: 24px 0 0;
	padding: 0;
	text-align: center;
}

.lgmgr-autocomplete__empty {
	padding: 10px 14px;
	color: var(--lgmgr-text-muted, #646970);
	font-size: 14px;
}

.lgmgr-ld-search-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.lgmgr-ld-search-result__name {
	font-weight: 600;
}

.lgmgr-ld-search-result__meta {
	color: var(--lgmgr-text-muted, #646970);
	font-size: 12px;
	font-weight: 500;
}

.lgmgr-ld-tracker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	padding: 4px;
	margin-top: 24px;
}

.lgmgr-ld-card {
	border: 1px solid var(--lgmgr-border, #dcdcde);
	border-radius: var(--lgmgr-radius, 8px);
	background: var(--lgmgr-card-bg, #fff);
	overflow: hidden;
}

.lgmgr-ld-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	cursor: grab;
}

.lgmgr-ld-card__header:active {
	cursor: grabbing;
}

.lgmgr-ld-card__header .lgmgr-btn {
	cursor: pointer;
}

.lgmgr-ld-card--ghost {
	opacity: 0.55;
}

.lgmgr-ld-card--chosen {
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.lgmgr-ld-card--drag {
	opacity: 0.9;
}

.lgmgr-ld-card__header--tone-0 {
	background: #e8f0fe;
}

.lgmgr-ld-card__header--tone-1 {
	background: #e6f4ea;
}

.lgmgr-ld-card__header--tone-2 {
	background: #fce8e6;
}

.lgmgr-ld-card__header--tone-3 {
	background: #fef7e0;
}

.lgmgr-ld-card__header--tone-4 {
	background: #f3e8fd;
}

.lgmgr-ld-card__header--tone-5 {
	background: #e0f2f1;
}

.lgmgr-ld-card__header--tone-6 {
	background: #fff3e0;
}

.lgmgr-ld-card__header--tone-7 {
	background: #e8eaf6;
}

.lgmgr-ld-card__header--tone-8 {
	background: #f1f8e9;
}

.lgmgr-ld-card__header--tone-9 {
	background: #fce4ec;
}

.lgmgr-ld-card__header--tone-10 {
	background: #e1f5fe;
}

.lgmgr-ld-card__header--tone-11 {
	background: #f9fbe7;
}

.lgmgr-ld-card__header--tone-12 {
	background: #ede7f6;
}

.lgmgr-ld-card__header--tone-13 {
	background: #fff8e1;
}

.lgmgr-ld-card__header--tone-14 {
	background: #e0f7fa;
}

.lgmgr-ld-card__header--tone-15 {
	background: #fbe9e7;
}

.lgmgr-ld-card__title {
	margin: 0;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	flex: 1 1 auto;
	min-width: 0;
}

.lgmgr-ld-card__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.lgmgr-ld-card__actions .lgmgr-btn {
	min-height: 38px;
	box-sizing: border-box;
}

.lgmgr-ld-card__remove-btn {
	min-width: 38px;
	padding: 10px 12px;
	font-size: 16px;
	line-height: 1;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lgmgr-ld-card__remove-btn:hover,
.lgmgr-ld-card__remove-btn:focus-visible {
	background: #fef2f2;
	border-color: #f1aeb5;
	color: #b32d2e;
}

.lgmgr-ld-card__body {
	padding: 22px 24px;
}

.lgmgr-ld-card__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.lgmgr-ld-card__people {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.lgmgr-ld-card__checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.lgmgr-ld-card__checklist-title {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--lgmgr-text-muted, #646970);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.lgmgr-ld-card__checklist-list {
	gap: 6px;
}

.lgmgr-ld-card__checklist-list .lgmgr-checklist-item {
	padding: 8px 10px;
	gap: 8px;
}

.lgmgr-ld-card__checklist-list .lgmgr-checklist-item__text {
	font-size: 14px;
}

.lgmgr-ld-card__checklist-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.lgmgr-ld-card__checklist-input {
	flex: 1 1 auto;
	min-width: 0;
}

.lgmgr-ld-card__checklist-add-btn {
	flex-shrink: 0;
}

.lgmgr-ld-card__person + .lgmgr-ld-card__person {
	padding-top: 14px;
}

.lgmgr-ld-card__person-name {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
}

.lgmgr-ld-card__meta-row {
	font-size: 14px;
	line-height: 1.45;
	color: var(--lgmgr-text, #1d2327);
}

.lgmgr-ld-card__meta-row + .lgmgr-ld-card__meta-row {
	margin-top: 4px;
}

.lgmgr-ld-card__meta-label {
	color: var(--lgmgr-text-muted, #646970);
	font-weight: 600;
}

.lgmgr-ld-card__meta-value {
	font-weight: 700;
	color: var(--lgmgr-text, #1d2327);
}

.lgmgr-ld-notes-textarea {
	width: 100%;
	min-height: 180px;
	resize: vertical;
}

#lgmgr-ld-notes-modal-subtitle {
	margin-bottom: 16px;
}


/* Post-publish Sync CTA + non-admin sync note */
.lgmgr-publish-result__actions {
	margin-top: 0.75rem;
}
.lgmgr-publish-result__actions .lgmgr-btn {
	margin: 0;
}
.lgmgr-sync-admin-note {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	opacity: 0.85;
	max-width: 16rem;
}
