/* Bootstrap handles the grid, cards, forms, tabs, and dialogs. */
/* Match the business/admin workspace surface; cards keep their default white background. */
.account-page {
	min-height: 100dvh;
	background-color: var(--lac-surface);
}
/* Shared account layout: the actual profile card is 350px, without percentage-column gutters. */
.account-workspace-main, .account-profile-sidebar {
	width: 100%;
	min-width: 0;
}

@media ( min-width : 992px) {
	.account-workspace-main {
		flex: 1 1 0;
		width: auto;
	}
	.account-profile-sidebar {
		flex: 0 0 350px;
		width: 350px;
	}
}

.account-avatar {
	width: 2.75rem;
	height: 2.75rem;
}

/* Full-width navigation rows: equal icon columns and a trailing disclosure arrow. */
.account-panel-nav a {
	color: var(--bs-body-color);
	font-weight: 500;

}

.account-panel-nav a[aria-current="page"] {
	color: var(--color-burgundy);
	font-weight: 600;
}

/* Native disclosure keeps Service links inside the sidebar, with keyboard support. */
.account-panel-services > summary { list-style: none; cursor: pointer; font-weight: 500; }
.account-panel-services > summary::-webkit-details-marker { display: none; }
.account-panel-services[open] .account-panel-service-chevron { transform: rotate(90deg); }

.account-panel-avatar {
	width: 2.25rem;
	height: 2.25rem;
}

[data-followed-communities] .community-card:is(:hover, :focus-within) .community-card-name {
  color: var(--color-plum);
}

.account-panel-nav-icon {
	font-size: 1rem;
	flex-shrink: 0;
}

.account-settings-accordion {
	--bs-accordion-active-bg: white;
	--bs-accordion-active-color: var(--bs-body-color);
	--bs-accordion-btn-focus-box-shadow: none;
}

@media ( min-width : 992px) {
	.account-panel-avatar {
		width: 3.5rem;
		height: 3.5rem;
	}
	.account-profile-panel {
		position: sticky;
		top: 1.5rem;
	}
}

[hidden] {
	display: none !important;
}

/* Saved legacy titles and community names must fit the reference columns. */
[data-saved-list] .min-w-0, [data-account-panel] .min-w-0 {
	overflow-wrap: anywhere;
}
