/*
Theme Name: The Ophir Prison Band Theme
Theme URI: https://bandhub.local
Author: The Ophir Prison Band
Description: Minimal custom block theme scaffold for The Ophir Prison Band presentation.
Version: 0.1.2
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: bandhub-theme
*/

:root {
	--bandhub-bg: #ffffff;
	--bandhub-surface: #eef6fc;
	--bandhub-ink: #030302;
	--bandhub-muted: #4f4638;
	--bandhub-accent: #b00000;
	--bandhub-border: #b8d3e8;
	--bandhub-card-bg: #ffffff;
	--bandhub-card-border: var(--bandhub-border);
	--bandhub-card-accent: var(--bandhub-block-blue);
	--bandhub-block-red: #e40b0a;
	--bandhub-block-yellow: #b8d3e8;
	--bandhub-block-blue: #0863ab;
	--bandhub-hero-bg: var(--bandhub-surface);
	--bandhub-button-bg: var(--bandhub-block-blue);
	--bandhub-button-bg-hover: #064f89;
	--bandhub-button-text: #ffffff;
	--bandhub-subtle-bg: #f7fbff;
	--bandhub-subtle-bg-strong: var(--bandhub-surface);
	--bandhub-label: var(--bandhub-accent);
	--bandhub-success-bg: #e8f7ec;
	--bandhub-success-text: #145c2b;
	--bandhub-warning-bg: #eef6fc;
	--bandhub-warning-text: #064f89;
	--bandhub-danger-bg: #ffe9e6;
	--bandhub-danger-text: #7c2c20;
	--bandhub-radius: 14px;
	--bandhub-shadow: 0 10px 22px rgba(8, 99, 171, 0.08);
	--bandhub-heading: #0863ab;
	--bandhub-font-body: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
	--bandhub-font-heading: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
	--bandhub-focus: rgba(228, 11, 10, 0.22);
	--bandhub-content-max: 1200px;
}

body {
    background: var(--bandhub-bg);
    color: var(--bandhub-ink);
    line-height: 1.55;
    font-family: var(--bandhub-font-body);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

li {
	color: var(--bandhub-ink);
}

th,
td {
	color: var(--bandhub-ink);
}

html :where(img[class*="wp-image-"]) {
	height: auto;
	max-width: 100%;
	width: 70px;
}


.wp-site-blocks {
	padding: 0 1rem;
}

.wp-site-blocks > * {
	max-width: var(--bandhub-content-max);
	margin-left: auto;
	margin-right: auto;
}

/* WordPress applies its block gap to every direct site child. The page
 * sections carry their own intentional spacing, so keep the site canvas flush. */
:where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0;
}

/* Preserve full-width block behavior (Cover, Group, etc.) */
.wp-site-blocks > .alignfull,
.wp-site-blocks .alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Ensure nested full-width blocks can break out of constrained containers */
.is-layout-constrained > .alignfull {
	max-width: none !important;
}


.wp-site-blocks *:focus-visible {
	outline: 2px solid var(--bandhub-focus);
	outline-offset: 2px;
}

.wp-site-blocks .wp-element-button,
.wp-site-blocks button,
.wp-site-blocks input[type="submit"] {
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	padding: 0.62rem 1rem;
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
	font-weight: 600;
	line-height: 1.25;
	transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.wp-site-blocks .wp-element-button:hover,
.wp-site-blocks .wp-element-button:focus,
.wp-site-blocks button:hover,
.wp-site-blocks button:focus,
.wp-site-blocks input[type="submit"]:hover,
.wp-site-blocks input[type="submit"]:focus {
	background: var(--bandhub-button-bg-hover);
	border-color: var(--bandhub-border);
	transform: translateY(-1px);
}

.bandhub-home-section,
.bandhub-member-login-shell,
.bandhub-member-profile-shell,
.bandhub-directory-card,
.bandhub-home-gig-card,
.bandhub-home-featured-gig,
.bandhub-home-upcoming-card,
.bandhub-home-gig-trio-card,
.bandhub-gig-archive-panel,
.bandhub-gig-calendar-panel,
.jet-form-block,
.jet-listing-grid {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-top: 0.35rem solid var(--bandhub-card-accent);
	border-radius: var(--bandhub-radius);
	box-shadow: var(--bandhub-shadow);
}

.jet-form-block,
.jet-listing-grid {
	padding: 1rem;
}

.wp-site-blocks .jet-form__label-text {
	font-weight: 600;
	color: var(--bandhub-ink);
}

hr.wp-block-separator.has-alpha-channel-opacity.is-style-wide {
	height: 20px;
}

.wp-site-blocks .jet-form__field.text-field,
.wp-site-blocks .jet-form__field.textarea-field,
.wp-site-blocks .jet-form__field.select-field,
.wp-site-blocks input[type="date"],
.wp-site-blocks input[type="text"],
.wp-site-blocks input[type="email"],
.wp-site-blocks input[type="password"],
.wp-site-blocks input[type="number"],
.wp-site-blocks textarea,
.wp-site-blocks select {
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	background: var(--bandhub-card-bg);
	padding: 0.58rem 0.68rem;
	min-height: 42px;
}

.wp-site-blocks .jet-form__field.text-field,
.wp-site-blocks .jet-form__field.textarea-field,
.wp-site-blocks .jet-form__field.select-field {
	padding: 0.58rem 0.68rem;
}

.wp-site-blocks input[type="text"]:focus,
.wp-site-blocks input[type="email"]:focus,
.wp-site-blocks input[type="password"]:focus,
.wp-site-blocks input[type="number"]:focus,
.wp-site-blocks input[type="date"]:focus,
.wp-site-blocks textarea:focus,
.wp-site-blocks select:focus,
.wp-site-blocks .jet-form__field.text-field:focus,
.wp-site-blocks .jet-form__field.textarea-field:focus,
.wp-site-blocks .jet-form__field.select-field:focus {
	outline: 2px solid var(--bandhub-focus);
	outline-offset: 0;
	border-color: var(--bandhub-border);
}

.wp-site-blocks .jet-form__submit {
	border: 0;
	border-radius: 8px;
	padding: 0.62rem 0.95rem;
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
	font-weight: 600;
}

.wp-site-blocks .jet-form__submit:hover,
.wp-site-blocks .jet-form__submit:focus {
	background: var(--bandhub-button-bg-hover);
}

.bandhub-home-main {
	padding-top: 0.2rem;
	padding-bottom: 3.1rem;
}

.bandhub-home-hero {
	position: relative;
	overflow: hidden;
	background: var(--bandhub-hero-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	padding: 2.55rem 2.75rem 2rem 1.75rem;
	color: var(--bandhub-ink);
}

.bandhub-home-hero::before,
.bandhub-home-hero::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.bandhub-home-hero::before {
	top: 0;
	left: 0;
	right: 0;
	height: 0.7rem;
	background: var(--bandhub-block-red);
}

.bandhub-home-hero::after {
	top: 0;
	right: 0;
	bottom: 0;
	width: 0.85rem;
	background: var(--bandhub-block-blue);
}

.bandhub-home-hero > * {
	position: relative;
	z-index: 1;
}

.bandhub-home-eyebrow {
	color: var(--bandhub-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

.bandhub-home-hero h1 {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.bandhub-home-hero-ctas {
	margin-top: 1rem;
}

/* Homepage media slider: images are selected with the Homepage Slider media category. */
.bandhub-homepage-slider {
	position: relative;
	min-height: clamp(30rem, 62vw, 43rem);
	overflow: hidden;
	border-radius: 0;
	background: #08121c;
	color: var(--bandhub-homepage-slider-text, #fff);
	isolation: isolate;
}

.bandhub-homepage-slider__slides,
.bandhub-homepage-slider__slide,
.bandhub-homepage-slider__overlay {
	position: absolute;
	inset: 0;
}

.bandhub-homepage-slider__slide {
	margin: 0;
	opacity: 0;
	transition: opacity 700ms ease;
}

.bandhub-homepage-slider__slide.is-active {
	opacity: 1;
}

.bandhub-homepage-slider__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bandhub-homepage-slider__overlay {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.12) 100%);
	z-index: 1;
}

.bandhub-homepage-slider__content {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(30rem, 62vw, 43rem);
	max-width: 44rem;
	padding: clamp(2rem, 6vw, 5.5rem);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.bandhub-homepage-slider__eyebrow {
	color: var(--bandhub-homepage-slider-secondary-text, #d6e8ff);
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bandhub-homepage-slider h1 {
	margin: 0;
	color: var(--bandhub-homepage-slider-text, #fff);
	font-size: clamp(2.9rem, 7vw, 5.8rem);
	line-height: 0.95;
}

.bandhub-homepage-slider__content > p:not(.bandhub-homepage-slider__eyebrow) {
	color: var(--bandhub-homepage-slider-secondary-text, #d6e8ff);
	margin: 1rem 0 0;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.bandhub-homepage-slider__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.5rem;
}

.bandhub-homepage-slider .wp-element-button {
	border-color: #fff;
	background: #fff;
	color: #051019;
	text-shadow: none;
}

.bandhub-homepage-slider .wp-element-button.is-style-outline {
	background: transparent;
	color: var(--bandhub-homepage-slider-text, #fff);
	border-color: var(--bandhub-homepage-slider-text, #fff);
}

.bandhub-homepage-slider__controls {
	position: absolute;
	z-index: 3;
	left: clamp(1rem, 3vw, 2rem);
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.9rem;
}

.wp-site-blocks .bandhub-homepage-slider__button,
.wp-site-blocks .bandhub-homepage-slider__dot {
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	box-shadow: none;
	text-shadow: 0 1px 5px #000;
	transform: none;
}

.wp-site-blocks .bandhub-homepage-slider__button {
	width: 1.8rem;
	height: 1.8rem;
	font-family: Arial, sans-serif;
	font-size: 2.15rem;
	font-weight: 300;
	line-height: 1.45rem;
	opacity: 0.72;
}

.wp-site-blocks .bandhub-homepage-slider__button:hover,
.wp-site-blocks .bandhub-homepage-slider__button:focus {
	border: 0;
	background: transparent;
	color: #fff;
	opacity: 1;
	transform: none;
}

.bandhub-homepage-slider__dots {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 0.35rem;
}

.wp-site-blocks .bandhub-homepage-slider__dot {
	flex: 1 1 0;
	width: auto;
	height: 2px;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.45);
	opacity: 1;
	transition: background 180ms ease, transform 180ms ease;
}


.wp-site-blocks .bandhub-homepage-slider__dot.is-active,
.wp-site-blocks .bandhub-homepage-slider__dot:hover,
.wp-site-blocks .bandhub-homepage-slider__dot:focus {
	border: 0;
	background: #fff;
	transform: none;
}

@media (max-width: 600px) {
	.bandhub-homepage-slider,
	.bandhub-homepage-slider__content {
		min-height: 34rem;
	}

	.bandhub-homepage-slider__overlay {
		background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
	}
}

.bandhub-member-signin-link {
	background: transparent;
	border: 1px solid var(--bandhub-border);
	color: var(--bandhub-ink);
}

.bandhub-home-section {
	margin-top: 1rem;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
	padding: 1.5rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-dashboard-shell {
	display: grid;
	gap: 0.8rem;
}

section.bandhub-dashboard-shell.bandhub-dashboard-member {
	border: none;
	box-shadow: none;
}

.bandhub-dashboard-title {
	margin: 0;
}

.bandhub-dashboard-description {
	margin: 0;
	color: var(--bandhub-muted);
}

.bandhub-dashboard-actions {
	gap: 0.65rem;
}

.bandhub-member-role-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.45rem 0 0.8rem;
}

.bandhub-member-role-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: var(--bandhub-subtle-bg);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--bandhub-ink);
}

.wp-block-template-part .wp-block-site-title a {
	text-decoration: none;
	letter-spacing: 0.01em;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-family: var(--bandhub-font-heading);
}

.bandhub-header-page-nav {
	margin-top: 0.55rem;
}

.bandhub-header-page-nav select {
	min-width: 220px;
	max-width: 100%;
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	background: var(--bandhub-card-bg);
	font: inherit;
	color: var(--bandhub-ink);
}

footer.wp-block-template-part {
	border-top: 1px solid var(--bandhub-border);
	margin-top: 2.2rem;
	padding-top: 0.4rem;
}

footer.wp-block-template-part p {
	color: var(--bandhub-muted);
}

.bandhub-home-gig-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bandhub-home-gig-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 1rem;
}

.bandhub-home-gig-title {
	margin-top: 0;
	margin-bottom: 0.6rem;
	font-size: 1.1rem;
}

.bandhub-home-gig-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-home-gig-title a:hover,
.bandhub-home-gig-title a:focus {
	text-decoration: underline;
}

.bandhub-home-gig-meta {
	color: var(--bandhub-muted);
	font-size: 0.92rem;
	margin: 0.2rem 0;
}

.bandhub-home-gig-excerpt {
	margin-top: 0.7rem;
	margin-bottom: 0;
}

.bandhub-home-empty {
	color: var(--bandhub-muted);
	font-style: italic;
}

.bandhub-home-book .bandhub-booking-form {
	margin-top: 0.8rem;
}

.bandhub-home-gig-spotlight {
	display: grid;
	gap: 1.25rem;
}

.bandhub-home-spotlight-title {
	margin: 0;
}

.bandhub-home-featured-gig {
	display: grid;
	grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 1fr);
	gap: 1rem;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.8rem;
}

.bandhub-home-featured-image-link {
	display: block;
}

.bandhub-home-featured-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	background: var(--bandhub-subtle-bg-strong);
}

.bandhub-home-featured-content {
	padding: 0.35rem 0.2rem 0.35rem 0;
}

.bandhub-home-featured-label {
	margin: 0 0 0.3rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bandhub-accent);
}

.bandhub-home-featured-title {
	margin: 0;
	font-size: 1.35rem;
}

.bandhub-home-featured-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-home-featured-title a:hover,
.bandhub-home-featured-title a:focus {
	text-decoration: underline;
}

.bandhub-home-featured-meta {
	margin: 0.5rem 0 0;
	color: var(--bandhub-muted);
}

.bandhub-home-featured-excerpt {
	margin: 0.65rem 0 0;
}

.bandhub-home-upcoming-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.bandhub-home-gig-spotlight .bandhub-home-upcoming-row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bandhub-home-next-gig-row {
	display: grid;
	grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
	gap: 1rem;
	align-items: start;
}

.bandhub-home-next-gig-row .bandhub-home-upcoming-image {
	/* The homepage feature is a concise preview; full imagery belongs on the event page. */
	aspect-ratio: 16 / 9;
}

.bandhub-home-next-gig-detail {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 1rem;
}

.bandhub-home-next-gig-detail-title {
	margin: 0 0 0.55rem;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bandhub-label);
}

.bandhub-home-next-gig-detail p {
	margin: 0;
}

.bandhub-home-next-gig-rsvp {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-home-next-gig-rsvp-summary {
	margin: 0.35rem 0 0.7rem !important;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-home-next-event {
	display: grid;
	gap: 1.35rem;
}

.bandhub-home-next-event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bandhub-home-next-event-actions .wp-element-button.is-style-outline {
	background: transparent;
	color: var(--bandhub-heading);
}

.bandhub-home-upcoming-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	overflow: hidden;
}

.bandhub-home-upcoming-image-link {
	display: block;
}

.bandhub-home-upcoming-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	background: var(--bandhub-subtle-bg-strong);
}

.bandhub-home-upcoming-content {
	padding: 0.85rem;
}

.bandhub-home-upcoming-title {
	margin: 0 0 0.45rem;
	font-size: 1.02rem;
}

.bandhub-home-upcoming-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-home-upcoming-title a:hover,
.bandhub-home-upcoming-title a:focus {
	text-decoration: underline;
}

.bandhub-home-upcoming-meta {
	margin: 0.1rem 0;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-home-upcoming-meta--date {
	margin-top: 0.45rem;
	color: var(--bandhub-heading);
	font-size: 1.08rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.bandhub-home-upcoming-meta--location {
	font-weight: 700;
}

.bandhub-future-gigs,
.bandhub-past-gigs {
	margin-top: 3rem;
}

.bandhub-future-gigs-list {
	display: grid;
	border-top: 2px solid var(--bandhub-block-blue);
}

.bandhub-future-gigs-empty {
	display: grid;
	justify-items: start;
	gap: 0.85rem;
	padding: 1.1rem;
	background: var(--bandhub-subtle-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
}

.bandhub-future-gigs-empty .bandhub-home-empty {
	margin: 0;
}

.bandhub-future-gigs-cta {
	margin-top: 0.1rem;
}

.bandhub-future-gig-item {
	display: grid;
	grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr) auto;
	gap: 1.1rem;
	align-items: center;
	padding: 1.05rem 0.7rem;
	border-bottom: 1px solid var(--bandhub-border);
	background: linear-gradient(90deg, var(--bandhub-subtle-bg) 0%, transparent 52%);
}

.bandhub-future-gig-date,
.bandhub-past-gig-date {
	margin: 0;
	font-size: 1.06rem;
	font-weight: 800;
	color: var(--bandhub-heading);
}

.bandhub-future-gig-date span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.86rem;
	font-weight: 400;
	color: var(--bandhub-muted);
}

.bandhub-future-gig-main h3,
.bandhub-past-gig-card h3 {
	margin: 0;
	font-size: 1.1rem;
}

.bandhub-future-gig-main h3 a,
.bandhub-past-gig-card h3 a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-future-gig-main h3 a:hover,
.bandhub-future-gig-main h3 a:focus,
.bandhub-past-gig-card h3 a:hover,
.bandhub-past-gig-card h3 a:focus {
	text-decoration: underline;
}

.bandhub-future-gig-main p,
.bandhub-past-gig-venue {
	margin: 0.2rem 0 0;
	color: var(--bandhub-muted);
}

.bandhub-future-gig-link,
.bandhub-past-gig-link {
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--bandhub-accent);
	text-decoration: none;
}

.bandhub-future-gig-link:hover,
.bandhub-future-gig-link:focus,
.bandhub-past-gig-link:hover,
.bandhub-past-gig-link:focus {
	text-decoration: underline;
}

.bandhub-past-gigs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.bandhub-past-gig-card {
	display: grid;
	align-content: start;
	gap: 0.7rem;
	padding: 1.1rem;
	background: var(--bandhub-subtle-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
}

.bandhub-past-gig-date {
	color: var(--bandhub-label);
}

.bandhub-past-gig-excerpt {
	margin: 0;
	color: var(--bandhub-muted);
	font-size: 0.94rem;
}

@media (max-width: 760px) {
	.bandhub-future-gig-item {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.bandhub-past-gigs-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 980px) {
	.bandhub-home-next-gig-row {
		grid-template-columns: 1fr;
	}
}

.bandhub-home-gig-trio {
	display: grid;
	gap: 1.25rem;
}

.bandhub-home-gig-trio-title {
	margin: 0;
}

.bandhub-home-gig-trio-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.bandhub-home-gig-trio-item {
	margin: 0;
	padding: 0;
}

.bandhub-home-gig-trio-link {
	text-decoration: none;
	font-weight: 600;
	color: var(--bandhub-heading);
}

.bandhub-home-gig-trio-link:hover,
.bandhub-home-gig-trio-link:focus {
	text-decoration: underline;
}

.bandhub-home-gig-trio-row {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1rem;
}

.bandhub-home-gig-trio-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	overflow: hidden;
}

.bandhub-home-gig-trio-image-link {
	display: block;
}

.bandhub-home-gig-trio-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	background: var(--bandhub-subtle-bg-strong);
}

.bandhub-home-gig-trio-content {
	padding: 0.85rem;
}

.bandhub-home-gig-trio-item-title {
	margin: 0 0 0.45rem;
	font-size: 1.02rem;
}

.bandhub-home-gig-trio-item-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-home-gig-trio-item-title a:hover,
.bandhub-home-gig-trio-item-title a:focus {
	text-decoration: underline;
}

.bandhub-home-gig-trio-meta {
	margin: 0.1rem 0;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-directory-page {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.bandhub-directory-page .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 0.4rem;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

.bandhub-directory-page .wp-block-post-content > p:first-of-type {
	margin-top: 0;
	color: var(--bandhub-muted);
	max-width: 62ch;
}

.bandhub-directory-shell {
	margin-top: 1.25rem;
}

/* Homepage sections already provide the visual frame. Keep the public gig
 * directory itself open so it does not become a second striped card. */
.bandhub-directory-gigs > .jet-listing-grid {
	padding: 0;
	border: 0;
	border-top: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.bandhub-directory-title {
	margin-top: 0;
	margin-bottom: 0.85rem;
}

.bandhub-directory-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bandhub-gig-archive-calendar {
	display: grid;
	gap: 1.2rem;
}

.bandhub-gig-archive-calendar-panels {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 1.1rem;
	align-items: start;
}

.bandhub-gig-archive-panel,
.bandhub-gig-calendar-panel {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 1rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-gig-archive-calendar-heading {
	margin: 0 0 0.8rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--bandhub-label);
	padding-bottom: 0.45rem;
	border-bottom: 1px solid var(--bandhub-border);
}

.bandhub-gig-calendar-month + .bandhub-gig-calendar-month {
	margin-top: 0.9rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-gig-calendar-month-title {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-label);
}

.bandhub-gig-calendar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.2rem;
}

.bandhub-gig-calendar-item {
	display: grid;
	grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
	gap: 0.7rem;
	padding: 0.6rem 0;
	border-bottom: 1px dashed var(--bandhub-border);
}

.bandhub-gig-calendar-item:last-child {
	border-bottom: 0;
	padding-bottom: 0.1rem;
}

.bandhub-gig-calendar-item-stamp {
	display: grid;
	gap: 0.15rem;
}

.bandhub-gig-calendar-item-date {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--bandhub-ink);
	letter-spacing: 0.01em;
}

.bandhub-gig-calendar-item-time,
.bandhub-gig-calendar-item-city {
	color: var(--bandhub-muted);
	font-size: 0.88rem;
}

.bandhub-gig-calendar-item-main {
	display: grid;
	gap: 0.2rem;
}

.bandhub-gig-calendar-item-title {
	color: var(--bandhub-heading);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
}

.bandhub-gig-calendar-item-title:hover,
.bandhub-gig-calendar-item-title:focus {
	text-decoration: underline;
}

.bandhub-gig-archive-panel .bandhub-directory-grid {
	gap: 0.9rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.bandhub-gig-archive-panel .bandhub-directory-card {
	border-color: var(--bandhub-border);
	box-shadow: 0 1px 0 var(--bandhub-subtle-bg) inset;
	padding: 0.95rem;
	display: grid;
	gap: 0.55rem;
}

.bandhub-gig-archive-panel .bandhub-directory-card-title {
	margin: 0;
	font-size: 1.03rem;
}

.bandhub-gig-archive-panel .bandhub-directory-card-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-gig-archive-panel .bandhub-directory-card-title a:hover,
.bandhub-gig-archive-panel .bandhub-directory-card-title a:focus {
	text-decoration: underline;
}

.bandhub-gig-archive-card-meta {
	display: grid;
	gap: 0.3rem;
}

.bandhub-gig-archive-card-row {
	margin: 0;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 0.55rem;
}

.bandhub-gig-archive-card-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bandhub-label);
}

.bandhub-gig-archive-card-value {
	font-size: 0.93rem;
	color: var(--bandhub-ink);
}

.bandhub-gig-archive-card-excerpt {
	margin: 0.1rem 0 0;
	color: var(--bandhub-muted);
	font-size: 0.91rem;
	line-height: 1.45;
}

.bandhub-directory-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 1rem;
}

.bandhub-directory-card-title {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-size: 1.08rem;
}

.bandhub-directory-meta {
	color: var(--bandhub-muted);
	font-size: 0.94rem;
	margin: 0.18rem 0;
}

.bandhub-public-musician-card {
	text-align: center;
}

.bandhub-public-musician-card-media {
	margin: -1rem -1rem 0.9rem;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	background: var(--bandhub-surface);
	aspect-ratio: 4 / 3;
}

.bandhub-public-musician-avatar {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bandhub-public-musician-card .bandhub-directory-card-title {
	margin-bottom: 0.25rem;
}

.bandhub-public-musician-card .bandhub-directory-meta {
	margin: 0;
}

body.page-id-2068 .bandhub-directory-shell.bandhub-directory-musicians {
	max-width: 940px;
}

body.page-id-2068 .bandhub-directory-shell.bandhub-directory-musicians .bandhub-directory-title {
	margin-bottom: 1rem;
	text-align: center;
}

body.page-id-2068 .bandhub-directory-shell.bandhub-directory-musicians .bandhub-directory-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border: 1px solid #c8d2dc;
	background: #c8d2dc;
}

body.page-id-2068 .bandhub-public-musician-card {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: stretch;
	gap: 0;
	padding: 0;
	text-align: left;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: #ffffff;
	min-height: 72px;
}

body.page-id-2068 .bandhub-public-musician-card-media {
	margin: 0;
	border-radius: 0;
	aspect-ratio: auto;
	height: 72px;
	background: #f0f0f0;
	border-right: 1px solid #c8d2dc;
}

body.page-id-2068 .bandhub-public-musician-avatar {
	height: 72px;
	width: 58px;
	object-fit: cover;
}

body.page-id-2068 .bandhub-public-musician-card .bandhub-directory-card-title,
body.page-id-2068 .bandhub-public-musician-card .bandhub-directory-meta {
	padding-left: 0.65rem;
	padding-right: 0.65rem;
}

body.page-id-2068 .bandhub-public-musician-card .bandhub-directory-card-title {
	margin: 0;
	padding-top: 0.42rem;
	font-size: 0.88rem;
	line-height: 1.05;
}

body.page-id-2068 .bandhub-public-musician-card .bandhub-directory-meta {
	padding-top: 0.1rem;
	padding-bottom: 0.3rem;
	font-size: 0.74rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bandhub-login-note {
	color: var(--bandhub-ink);
	font-weight: 600;
}

.bandhub-page-cta-row {
	margin-top: 1.25rem;
}

.bandhub-member-login-shell {
	max-width: 560px;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 1.15rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-member-login-title {
	margin: 0 0 0.3rem;
}

.bandhub-member-login-description {
	margin: 0 0 0.85rem;
	color: var(--bandhub-muted);
}

.bandhub-member-login-notice {
	margin: 0 0 0.85rem;
	background: var(--bandhub-subtle-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	padding: 0.55rem 0.65rem;
	color: var(--bandhub-muted);
	font-size: 0.93rem;
}

.bandhub-member-login-form-wrap form {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

.bandhub-member-login-form-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.bandhub-member-login-form-wrap input[type="text"],
.bandhub-member-login-form-wrap input[type="password"] {
	width: 100%;
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	padding: 0.55rem 0.65rem;
	font: inherit;
	background: var(--bandhub-card-bg);
}

.bandhub-member-login-form-wrap .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-weight: 500;
}

.bandhub-member-login-form-wrap .button-primary {
	border: 0;
	border-radius: 8px;
	padding: 0.6rem 0.9rem;
	background: #8d99a8;
	color: var(--bandhub-button-text);
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bandhub-member-login-form-wrap .button-primary.is-ready {
	background: var(--bandhub-button-bg);
	box-shadow: 0 8px 18px rgba(10, 75, 145, 0.22);
}

.bandhub-member-login-form-wrap .button-primary.is-ready:hover,
.bandhub-member-login-form-wrap .button-primary.is-ready:focus {
	background: var(--bandhub-button-bg-hover);
	transform: translateY(-1px);
}

.bandhub-member-login-helper {
	margin: 0.5rem 0 0;
	font-size: 0.92rem;
}

.bandhub-member-login-helper a {
	color: var(--bandhub-heading);
}

.bandhub-member-login-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bandhub-member-login-secondary {
	color: var(--bandhub-muted);
	font-weight: 600;
	text-decoration: none;
}

.bandhub-member-login-secondary:hover,
.bandhub-member-login-secondary:focus {
	text-decoration: underline;
}

.bandhub-member-profile-shell {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 1.15rem;
}

.bandhub-member-profile-title {
	margin-top: 0;
	margin-bottom: 0.4rem;
}

.bandhub-member-profile-description {
	margin-top: 0;
	margin-bottom: 1rem;
	color: var(--bandhub-muted);
}

.bandhub-member-profile-notice {
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	margin: 0 0 1rem;
	font-weight: 600;
}

.bandhub-member-profile-notice-success {
	background: var(--bandhub-success-bg);
	border: 1px solid var(--bandhub-border);
	color: var(--bandhub-success-text);
}

.bandhub-member-profile-notice-error {
	background: var(--bandhub-danger-bg);
	border: 1px solid var(--bandhub-border);
	color: var(--bandhub-danger-text);
}

.bandhub-member-profile-notice:focus {
	outline: 3px solid rgba(8, 99, 171, 0.3);
	outline-offset: 3px;
}

.bandhub-member-profile-form {
	display: grid;
	gap: 0.85rem;
}

.bandhub-member-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.bandhub-member-profile-field {
	margin: 0;
	min-width: 0;
}

.bandhub-member-profile-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.bandhub-member-profile-input,
.bandhub-member-profile-textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	padding: 0.55rem 0.65rem;
	font: inherit;
	background: var(--bandhub-card-bg);
}

.bandhub-member-profile-textarea {
	resize: vertical;
}

.bandhub-member-profile-help {
	display: block;
	margin-top: 0.25rem;
	color: var(--bandhub-muted);
	font-size: 0.85rem;
}

.bandhub-member-profile-field-checkbox {
	display: flex;
	align-items: end;
}

.bandhub-member-profile-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
}

.bandhub-member-profile-submit-row {
	margin-top: 0.25rem;
}

.bandhub-admin-message-form {
	display: grid;
	gap: 1.25rem;
	max-width: 34rem;
}

.bandhub-admin-message-form .bandhub-member-profile-field,
.bandhub-admin-message-form .bandhub-member-profile-submit-row {
	margin: 0;
}

/* Keep the Messenger event picker in the same light native-control treatment
 * as its audience and RSVP selectors, including while its options are open. */
.bandhub-event-messenger-select {
	color-scheme: light;
}

.bandhub-member-profile-croc-form form {
	margin: 0;
}

.bandhub-member-profile-croc-form .jet-form__row {
	margin-bottom: 0.85rem;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content {
	margin: 0 auto;
	max-width: var(--wp--style--global--content-size);
	padding: var(--wp--preset--spacing--60);
	border: 0;
	border-radius: 0;
	background: var(--bandhub-card-bg);
	box-shadow: none;
}

:is(.page-id-86,.bandhub-account-page) .entry-content.wp-block-post-content {
	display: block;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns {
	gap: 1rem;
	align-items: start;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > h2,
:is(.page-id-86,.bandhub-account-page) .wp-block-column > h2 {
	margin: 0 0 0.8rem;
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0.5rem;
	position: static;
	top: auto;
	box-shadow: none;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item + .jet-profile-menu__item {
	margin-top: 0.3rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link {
	display: block;
	padding: 0.6rem 0.7rem;
	border-radius: 0;
	border-left: 2px solid transparent;
	text-decoration: none;
	font-weight: 500;
	color: inherit;
	background: transparent;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:hover,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:focus {
	background: transparent;
	border-left-color: currentColor;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link[aria-current="page"],
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.is-active .jet-profile-menu__item-link,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.current-menu-item .jet-profile-menu__item-link {
	background: transparent;
	color: inherit;
	border-left-color: currentColor;
	font-weight: 700;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 1rem;
	box-shadow: none;
}

:is(.page-id-86,.bandhub-account-page) .jet-form-block,
:is(.page-id-86,.bandhub-account-page) .jet-listing-grid {
	background: transparent;
	border: 0;
	border-radius: 12px;
	padding: 0;
	box-shadow: none;
}

:is(.page-id-86,.bandhub-account-page) .jet-form {
	margin: 0;
}

:is(.page-id-86,.bandhub-account-page) .jet-form-row + .jet-form-row {
	margin-top: 0.75rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__label {
	margin-bottom: 0.3rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__label-text {
	font-weight: 600;
	color: inherit;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__field.text-field,
:is(.page-id-86,.bandhub-account-page) .jet-form__field.textarea-field,
:is(.page-id-86,.bandhub-account-page) .jet-form__field.select-field {
	width: 100%;
	border: 1px solid var(--bandhub-border);
	border-radius: 6px;
	padding: 0.55rem 0.65rem;
	font: inherit;
	background: var(--bandhub-card-bg);
}

:is(.page-id-86,.bandhub-account-page) .jet-form__field.textarea-field {
	min-height: 140px;
	resize: vertical;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__field:focus {
	outline: 2px solid var(--bandhub-focus);
	outline-offset: 0;
	border-color: var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .jet-form__submit-wrap {
	padding-top: 0.2rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__submit {
	border-radius: 6px;
	cursor: pointer;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__submit:hover,
:is(.page-id-86,.bandhub-account-page) .jet-form__submit:focus {
	filter: none;
}

:is(.page-id-86,.bandhub-account-page) .jet-form-messages-wrap {
	margin-top: 0.75rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-form__submit ~ .jet-form__message,
:is(.page-id-86,.bandhub-account-page) .jet-form-messages-wrap .jet-form__message,
:is(.page-id-86,.bandhub-account-page) .jet-form-messages-wrap .jet-form-message {
	border-radius: 8px;
	padding: 0.5rem 0.6rem;
	font-size: 0.92rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-listing-grid__item {
	padding: 0.65rem 0.45rem;
	border-bottom: 1px solid var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .jet-listing-grid__item:last-child {
	border-bottom: 0;
}

:is(.page-id-86,.bandhub-account-page) .jet-listing-grid__item .jet-listing-dynamic-field {
	margin-bottom: 0.35rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-manager,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-records-manager {
	margin-top: 0.8rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-manager > h2,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-records-manager > h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-list {
	display: grid;
	gap: 0.75rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-item {
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-card-bg);
	padding: 0.75rem;
	border-radius: 8px;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item-title,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item-meta,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-meta {
	margin: 0.3rem 0 0;
	font-size: 0.94rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-form,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
	gap: 0.55rem;
	align-items: center;
	margin-top: 0.6rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-label {
	font-size: 0.88rem;
	font-weight: 600;
	grid-column: 1 / -1;
	margin: 0;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-select,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-note,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-select,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-note {
	width: 100%;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 6px;
	background: var(--bandhub-card-bg);
	font: inherit;
	line-height: 1.2;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-select:focus,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-note:focus,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-select:focus,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-note:focus {
	outline: 2px solid var(--bandhub-focus);
	outline-offset: 0;
	border-color: var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-submit,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-submit {
	border: 0;
	border-radius: 6px;
	padding: 0.52rem 0.72rem;
	font: inherit;
	font-weight: 600;
	line-height: 1.1;
	cursor: pointer;
	background: var(--bandhub-ink);
	color: var(--bandhub-button-text);
	white-space: nowrap;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-submit:hover,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-submit:focus,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-submit:hover,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-submit:focus {
	background: var(--bandhub-ink);
}

/* Account page clarity pass */
:is(.page-id-86,.bandhub-account-page) .bandhub-directory-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.25rem 1rem 2rem;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child {
	background: var(--bandhub-subtle-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 0.7rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link {
	border-radius: 8px;
	border-left: 0;
	padding: 0.62rem 0.72rem;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:hover,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:focus {
	background: var(--bandhub-subtle-bg-strong);
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link[aria-current="page"],
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.is-active .jet-profile-menu__item-link,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.current-menu-item .jet-profile-menu__item-link {
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
}

:is(.page-id-86,.bandhub-account-page) .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 1rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-home-section,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-manager,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-records-manager {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-home-section .bandhub-directory-card,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-item {
	background: var(--bandhub-card-bg);
	border-color: var(--bandhub-border);
	border-radius: 10px;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-directory-card-title,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item-title {
	margin-bottom: 0.35rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-directory-meta,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-item-meta,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-meta {
	color: var(--bandhub-muted);
}

/* RSVP table polish: /inmate/my-gigs-rsvps/ */
:is(.page-id-86,.bandhub-account-page) .bandhub-event-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--bandhub-card-bg);
	box-shadow: var(--bandhub-shadow);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-event-table thead th {
	background: var(--bandhub-subtle-bg-strong);
	color: var(--bandhub-ink);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	padding: 0.72rem 0.75rem;
	border-bottom: 1px solid var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-event-table tbody td {
	padding: 0.72rem 0.75rem;
	border-bottom: 1px solid var(--bandhub-border);
	vertical-align: top;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-event-table tbody tr:last-child td {
	border-bottom: 0;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-event-table-row:hover td {
	background: var(--bandhub-card-bg);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	align-items: center;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form label {
	display: inline-flex !important;
	align-items: center;
	gap: 0.3rem;
	margin: 0 !important;
	padding: 0.34rem 0.52rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: var(--bandhub-card-bg);
	font-size: 0.88rem;
	color: var(--bandhub-ink);
	cursor: pointer;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form input[type="radio"] {
	margin: 0;
	accent-color: var(--bandhub-heading);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form button[type="submit"] {
	padding: 0.42rem 0.72rem;
	border-radius: 8px;
	font-size: 0.86rem;
	line-height: 1;
}

/* Member hub layout pass: /inmate/ and member subpages */
:is(.page-id-86,.bandhub-account-page) .wp-site-blocks {
	background: var(--bandhub-subtle-bg);
}

/* Fallback scope when Profile Builder rewrite bypasses custom account body class */
body.bandhub-account-page .wp-site-blocks,
body.bandhub-account-page .wp-site-blocks > main {
	background: var(--bandhub-subtle-bg);
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content {
	max-width: 1200px;
	padding: clamp(1rem, 2vw, 1.5rem);
}

body.bandhub-account-page .wp-site-blocks > main {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(1rem, 2vw, 1.5rem);
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) {
	gap: 1.25rem;
	align-items: stretch;
}

body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-columns, .is-layout-flex):has(.jet-profile-menu) {
	gap: 1.25rem;
	align-items: stretch;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child {
	flex-basis: 280px !important;
	flex-grow: 0;
}

body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) {
	flex-basis: 280px !important;
	flex-grow: 0;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	flex: 1 1 auto;
	min-width: 0;
}

body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) + :is(.wp-block-column, .wp-block-group) {
	flex: 1 1 auto;
	min-width: 0;
}

:is(.page-id-86,.bandhub-account-page) .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu {
	position: sticky;
	top: 1rem;
	padding: 0;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link {
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 0.62rem 0.72rem;
	font-weight: 600;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:hover,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link:focus {
	background: var(--bandhub-subtle-bg-strong);
	border-color: var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item-link[aria-current="page"],
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.is-active .jet-profile-menu__item-link,
:is(.page-id-86,.bandhub-account-page) .jet-profile-menu__item.current-menu-item .jet-profile-menu__item-link {
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
	border-color: var(--bandhub-border);
}

:is(.page-id-86,.bandhub-account-page) .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) + :is(.wp-block-column, .wp-block-group) {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

body.bandhub-account-page .wp-site-blocks > main .jet-profile-menu {
	position: sticky;
	top: 1rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-dashboard-shell,
:is(.page-id-86,.bandhub-account-page) .bandhub-home-section,
:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-manager,
:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-records-manager,
:is(.page-id-86,.bandhub-account-page) .jet-form-block,
:is(.page-id-86,.bandhub-account-page) .jet-listing-grid {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: clamp(0.85rem, 1.5vw, 1.1rem);
}

:is(.page-id-86,.bandhub-account-page) .bandhub-directory-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-directory-card {
	height: 100%;
}

:is(.page-id-86,.bandhub-account-page) .bandhub-dashboard-actions {
	margin-top: 0.9rem;
}

@media (max-width: 900px) {
	.bandhub-home-featured-gig {
		grid-template-columns: 1fr;
	}

	.bandhub-home-gig-trio-row {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.bandhub-gig-archive-calendar-panels {
		grid-template-columns: 1fr;
	}

	:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) {
		flex-wrap: wrap;
	}

	:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) > .wp-block-column {
		flex-basis: 100% !important;
	}

	:is(.page-id-86,.bandhub-account-page) .jet-profile-menu {
		position: static;
	}

	:is(.page-id-86,.bandhub-account-page) .wp-block-post-content > .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child {
		flex-basis: 100% !important;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-directory-grid {
		grid-template-columns: 1fr;
	}

	:is(.page-id-86,.bandhub-account-page) .wp-block-post-content {
		padding: var(--wp--preset--spacing--50);
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-form,
	:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-form {
		grid-template-columns: 1fr;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-member-attendance-submit,
	:is(.page-id-86,.bandhub-account-page) .bandhub-attendance-record-submit {
		width: 100%;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-event-table {
		display: block;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-event-table thead {
		display: none;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-event-table tbody {
		display: grid;
		gap: 0.75rem;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-event-table tr {
		display: block;
		background: var(--bandhub-card-bg);
		border: 1px solid var(--bandhub-border);
		border-radius: 10px;
		padding: 0.65rem;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-event-table td {
		display: block;
		border: 0;
		padding: 0.35rem 0;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form {
		gap: 0.45rem;
	}

	:is(.page-id-86,.bandhub-account-page) .bandhub-inline-rsvp-form button[type="submit"] {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.bandhub-member-profile-grid {
		grid-template-columns: 1fr;
	}

	.bandhub-home-gig-trio-row {
		grid-template-columns: 1fr !important;
	}

	.bandhub-gig-calendar-item {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.bandhub-gig-calendar-item-stamp {
		grid-template-columns: repeat(2, minmax(0, max-content));
		column-gap: 0.65rem;
	}

	:is(.page-id-86,.bandhub-account-page) .wp-block-post-content {
		padding: 1rem;
	}

	.bandhub-gigs-archive-filters {
		grid-template-columns: 1fr;
	}

	.bandhub-gigs-archive-filters select,
	.bandhub-gigs-archive-filters button {
		width: 100%;
	}
}

.bandhub-attendance-event-grid-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.bandhub-attendance-event-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 0.9rem;
}

.bandhub-attendance-event-card-title {
	margin: 0 0 0.3rem;
}

.bandhub-attendance-event-card-title a {
	text-decoration: none;
}

.bandhub-attendance-event-card-meta {
	margin: 0 0 0.45rem;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-attendance-event-card-stats {
	margin: 0 0 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.8rem;
	font-size: 0.9rem;
}

.bandhub-attendance-event-card-notes {
	margin: 0;
	padding-left: 1rem;
	font-size: 0.9rem;
	color: var(--bandhub-ink);
}

@media (max-width: 900px) {
	.bandhub-attendance-event-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bandhub-attendance-event-grid-list {
		grid-template-columns: 1fr;
	}
}

.bandhub-gigs-archive-filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, max-content));
	gap: 0.75rem;
	align-items: end;
	margin: 0 0 1rem;
}

.bandhub-gigs-archive-filters label {
	display: grid;
	gap: 0.3rem;
	font-weight: 600;
}

.bandhub-gigs-archive-filters select {
	min-width: 180px;
	padding: 0.45rem 0.55rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 6px;
	background: var(--bandhub-card-bg);
	font: inherit;
}

.bandhub-gigs-archive-filters button {
	padding: 0.5rem 0.75rem;
	border: 0;
	border-radius: 6px;
	background: var(--bandhub-ink);
	color: var(--bandhub-button-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.bandhub-gigs-archive-filters button:hover,
.bandhub-gigs-archive-filters button:focus {
	background: var(--bandhub-ink);
}

.bandhub-status-pill {
	display: inline-block;
	padding: 0.18rem 0.52rem;
	border-radius: 999px;
	font-size: 0.82rem;
	line-height: 1.2;
	font-weight: 700;
}

.bandhub-status-pill.is-finished {
	background: var(--bandhub-success-bg);
	color: var(--bandhub-success-text);
}

.bandhub-status-pill.is-in-progress {
	background: var(--bandhub-warning-bg);
	color: var(--bandhub-warning-text);
}

.bandhub-status-pill.is-planned {
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-ink);
}

.bandhub-venue-detail-shell {
	display: grid;
	gap: 1.1rem;
}

.bandhub-venue-detail-grid {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
	gap: 1rem;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.8rem;
}

.bandhub-venue-detail-media {
	margin: 0;
}

.bandhub-venue-detail-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	background: var(--bandhub-subtle-bg-strong);
}

.bandhub-venue-detail-main {
	padding: 0.2rem 0.1rem;
}

.bandhub-venue-detail-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.bandhub-venue-detail-description p:first-child {
	margin-top: 0.1rem;
}

.bandhub-venue-detail-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 0.65rem;
}

.bandhub-venue-detail-panel,
.bandhub-venue-upcoming-shell {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 0.8rem;
}

.bandhub-venue-detail-heading {
	margin: 0 0 0.45rem;
	font-size: 1rem;
}

.bandhub-venue-detail-value {
	margin: 0.25rem 0;
}

.bandhub-venue-detail-empty {
	margin: 0.25rem 0;
	color: var(--bandhub-muted);
}

.bandhub-venue-detail-actions {
	margin: 0.5rem 0 0;
}

.bandhub-venue-upcoming-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bandhub-venue-upcoming-item {
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--bandhub-border);
}

.bandhub-venue-upcoming-item:last-child {
	border-bottom: 0;
}

.bandhub-venue-upcoming-title {
	display: block;
	font-weight: 600;
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-venue-upcoming-title:hover,
.bandhub-venue-upcoming-title:focus {
	text-decoration: underline;
}

.bandhub-venue-upcoming-meta {
	display: block;
	margin-top: 0.2rem;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

@media (max-width: 900px) {
	.bandhub-venue-detail-grid {
		grid-template-columns: 1fr;
	}

	.bandhub-venue-detail-panels {
		grid-template-columns: 1fr;
	}
}

.bandhub-setlist-shell,
.bandhub-setlist-archive-shell {
	display: grid;
	gap: 1rem;
}

.bandhub-setlist-shell {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 1.1rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-setlist-list {
	margin: 0.4rem 0 0;
	padding-left: 1.4rem;
}

.bandhub-setlist-item {
	margin: 0.35rem 0;
	line-height: 1.35;
}

.bandhub-setlist-song {
	font-weight: 600;
	color: var(--bandhub-heading);
}

.bandhub-setlist-tag {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.5rem;
	font-size: 0.74rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 999px;
	background: var(--bandhub-subtle-bg-strong);
	color: var(--bandhub-muted);
	border: 1px solid var(--bandhub-border);
}

.bandhub-setlist-note {
	display: inline-block;
	margin-left: 0.5rem;
	font-size: 0.88rem;
	color: var(--bandhub-muted);
}

.bandhub-setlist-meta {
	margin: 0.5rem 0 0;
	padding-top: 0.5rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-setlist-filter-form {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr auto;
	gap: 0.75rem;
	align-items: end;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.9rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-setlist-filter-form label {
	display: grid;
	gap: 0.28rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--bandhub-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bandhub-setlist-filter-form input,
.bandhub-setlist-filter-form select,
.bandhub-setlist-filter-form button {
	height: 42px;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 9px;
	font: inherit;
	background: var(--bandhub-card-bg);
}

.bandhub-setlist-filter-form input:focus,
.bandhub-setlist-filter-form select:focus {
	outline: 2px solid var(--bandhub-focus);
	outline-offset: 0;
	border-color: var(--bandhub-border);
}

.bandhub-setlist-filter-form button {
	cursor: pointer;
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
	border-color: var(--bandhub-border);
	font-weight: 600;
	padding: 0 1rem;
	white-space: nowrap;
	transition: background 0.18s ease, transform 0.18s ease;
}

.bandhub-setlist-filter-form button:hover,
.bandhub-setlist-filter-form button:focus {
	background: var(--bandhub-button-bg-hover);
	transform: translateY(-1px);
}

.bandhub-setlist-archive-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.bandhub-setlist-archive-card {
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.95rem;
	background: var(--bandhub-card-bg);
	box-shadow: var(--bandhub-shadow);
}

.bandhub-setlist-archive-card .bandhub-directory-card-title {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
}

@media (max-width: 900px) {
	.bandhub-setlist-filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.bandhub-setlist-archive-results {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.bandhub-setlist-filter-form {
		grid-template-columns: 1fr;
	}
}

.bandhub-song-detail-shell {
	display: grid;
	gap: 0.9rem;
}

/* Member Music Library: quick, read-only song finder. */
.bandhub-member-library {
	display: grid;
	gap: 1.15rem;
	padding: clamp(1rem, 2.5vw, 2rem);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
}

.bandhub-member-library__intro {
	display: flex;
	gap: 1rem;
	align-items: start;
	justify-content: space-between;
}

.bandhub-member-library__intro h2 {
	margin: 0;
}

.bandhub-member-library__intro > div > p:last-child {
	max-width: 44rem;
	margin: 0.4rem 0 0;
	color: var(--bandhub-muted);
}

.bandhub-member-library__eyebrow {
	margin: 0 0 0.2rem;
	color: var(--bandhub-primary);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bandhub-member-library__next {
	display: grid;
	gap: 0.25rem;
	min-width: min(100%, 17rem);
	padding: 0.85rem 1rem;
	background: rgba(28, 98, 171, 0.08);
	border-left: 4px solid var(--bandhub-primary);
	border-radius: 8px;
}

.bandhub-member-library__next > span {
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-member-library__text-link,
.bandhub-member-library-card__action {
	font-weight: 750;
}

.bandhub-member-library__controls {
	display: grid;
	gap: 0.8rem;
}

.bandhub-member-library__search input {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 9px;
	font: inherit;
}

.bandhub-member-library__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bandhub-member-library__filters button {
	padding: 0.48rem 0.75rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: #fff;
	color: #1268b3;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.bandhub-member-library__filters button.is-active,
.bandhub-member-library__filters button:hover,
.bandhub-member-library__filters button:focus-visible {
	background: #1268b3;
	border-color: #1268b3;
	color: #fff !important;
	text-decoration: none;
}

.bandhub-member-library__filters button:focus-visible {
	outline: 3px solid rgba(18, 104, 179, 0.32);
	outline-offset: 2px;
}

.bandhub-member-library__results {
	margin: -0.35rem 0 0;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-member-library__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 0.8rem;
}

.bandhub-member-library-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: #fff;
}

.bandhub-member-library-card__topline {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	justify-content: space-between;
	color: var(--bandhub-muted);
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bandhub-member-library-card__tag {
	padding: 0.2rem 0.4rem;
	border-radius: 999px;
	background: rgba(28, 98, 171, 0.1);
	color: var(--bandhub-primary);
	font-size: 0.68rem;
	white-space: nowrap;
}

.bandhub-member-library-card h3,
.bandhub-member-library-card__coverage {
	margin: 0;
}

.bandhub-member-library-card h3 {
	font-size: 1.15rem;
}

.bandhub-member-library-card__coverage {
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-member-library-card__coverage.is-ready {
	color: #286b2f;
}

.bandhub-member-library-card__coverage.is-needs-parts {
	color: #746554;
}

.bandhub-member-library-card__action {
	margin-top: auto;
}

.bandhub-member-library__empty {
	margin: 0;
	padding: 1rem;
	border: 1px dashed var(--bandhub-border);
	border-radius: 9px;
	color: var(--bandhub-muted);
	text-align: center;
}

@media (max-width: 640px) {
	.bandhub-member-library__intro {
		flex-direction: column;
	}

	.bandhub-member-library__next {
		width: 100%;
	}

	.bandhub-member-library__filters {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bandhub-member-library__filters button {
		min-height: 2.7rem;
	}
}

.bandhub-song-detail-card,
.bandhub-song-detail-panel {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.95rem;
	box-shadow: var(--bandhub-shadow);
}

/* The song template has one outer frame already. Keep detail content open
 * inside it rather than stacking a second and third card border. */
body.single-bandhub_song .bandhub-song-detail-card,
body.single-bandhub_song .bandhub-song-detail-panel {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.bandhub-song-detail-title {
	margin: 0 0 0.35rem;
}

.bandhub-song-detail-meta-row,
.bandhub-song-packet-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.bandhub-song-detail-meta {
	margin: 0.25rem 0 0.4rem;
}

.bandhub-song-detail-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.45rem;
}

.bandhub-song-detail-link {
	display: inline-block;
	padding: 0.44rem 0.72rem;
	border-radius: 9px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-card-bg);
	text-decoration: none;
	font-weight: 600;
}

.bandhub-song-detail-link:hover,
.bandhub-song-detail-link:focus {
	text-decoration: underline;
}

.bandhub-song-detail-link--primary {
	background: #2f7d32;
	border-color: #2f7d32;
	color: #fff;
}

.bandhub-song-detail-heading {
	margin: 0 0 0.45rem;
}

.bandhub-song-detail-notes {
	margin: 0;
}

.bandhub-song-detail-panel--availability-board {
	border-color: rgba(28, 98, 171, 0.22);
}

.bandhub-song-availability-header {
	display: grid;
	gap: 0.2rem;
	margin-bottom: 0.8rem;
}

.bandhub-song-availability-note {
	margin: 0;
	color: var(--bandhub-muted);
	font-size: 0.92rem;
}

.bandhub-song-availability-group + .bandhub-song-availability-group {
	margin-top: 0.8rem;
}

.bandhub-song-availability-group-title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
}

.bandhub-song-availability-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
	gap: 0.45rem;
}

.bandhub-song-slot-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.45rem 0.35rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

button.bandhub-song-slot-chip {
	width: 100%;
	cursor: pointer;
	font: inherit;
	appearance: none;
}

.bandhub-song-slot-chip-abbr {
	display: block;
	font-size: 0.92rem;
	line-height: 1.1;
}

.bandhub-song-slot-chip--available {
	background: #e2f1e2;
	border-color: rgba(47, 125, 50, 0.32);
	color: #1e5d24;
	cursor: pointer;
}

.bandhub-song-slot-chip--available:hover,
.bandhub-song-slot-chip--available:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(30, 93, 36, 0.12);
	border-color: rgba(47, 125, 50, 0.48);
}

.bandhub-song-slot-chip--missing {
	background: #f1f3f5;
	border-color: rgba(120, 126, 133, 0.25);
	color: #66727c;
}

.bandhub-song-slot-chip--upload:hover,
.bandhub-song-slot-chip--upload:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(80, 90, 102, 0.1);
	border-color: rgba(80, 90, 102, 0.32);
}

.bandhub-song-slot-upload-form {
	display: none;
}

.bandhub-song-detail-panel--all-parts {
	border-color: rgba(47, 125, 50, 0.35);
}

.bandhub-song-summary-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	font-size: 0.9rem;
	font-weight: 600;
}

.bandhub-song-summary-pill--available,
.bandhub-song-part-tile--available {
	background: rgba(47, 125, 50, 0.12);
}

.bandhub-song-summary-pill--covered,
.bandhub-song-part-tile--covered-by-all-parts {
	background: rgba(120, 120, 120, 0.12);
}

.bandhub-song-summary-pill--needs-update,
.bandhub-song-part-tile--needs-update {
	background: rgba(184, 134, 11, 0.15);
}

.bandhub-song-summary-pill--missing,
.bandhub-song-part-tile--missing {
	background: rgba(160, 160, 160, 0.12);
}

.bandhub-song-summary-pill--retired,
.bandhub-song-part-tile--retired {
	background: rgba(110, 110, 110, 0.12);
}

.bandhub-song-part-group + .bandhub-song-part-group {
	margin-top: 1rem;
}

.bandhub-song-part-group-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.bandhub-song-part-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.75rem;
}

.bandhub-song-part-tile {
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	padding: 0.85rem;
}

.bandhub-song-part-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.bandhub-song-part-meta,
.bandhub-song-part-status,
.bandhub-song-part-note {
	margin: 0.25rem 0 0;
}

.bandhub-song-part-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.65rem;
}

.bandhub-song-setlist-links {
	margin: 0.1rem 0 0;
	padding-left: 1.15rem;
}

.bandhub-song-setlist-links li + li {
	margin-top: 0.2rem;
}

.bandhub-song-setlist-manager-list {
	display: grid;
	gap: 0.45rem;
	margin-top: 0.15rem;
}

.bandhub-song-setlist-manager-head,
.bandhub-song-setlist-manager-card {
	display: grid;
	grid-template-columns: minmax(180px, 1.1fr) minmax(240px, 1.4fr) auto;
	gap: 0.75rem;
	align-items: center;
}

.bandhub-song-setlist-manager-head {
	padding: 0 0.4rem;
	color: var(--bandhub-muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bandhub-song-setlist-manager-card,
.bandhub-song-setlist-manager-assign {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 13px;
	background: var(--bandhub-card-bg);
}

.bandhub-song-setlist-manager-copy {
	min-width: 0;
}

.bandhub-song-setlist-manager-copy--meta {
	display: flex;
	align-items: center;
}

.bandhub-song-setlist-manager-title {
	margin: 0;
	font-size: 0.98rem;
}

.bandhub-song-setlist-manager-title a {
	color: inherit;
	text-decoration: none;
}

.bandhub-song-setlist-manager-title a:hover,
.bandhub-song-setlist-manager-title a:focus {
	text-decoration: underline;
}

.bandhub-song-setlist-manager-meta {
	margin: 0;
	color: var(--bandhub-muted);
	font-size: 0.88rem;
}

.bandhub-song-setlist-manager-actions,
.bandhub-song-setlist-manager-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.bandhub-song-setlist-manager-form button.bandhub-song-detail-link {
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.bandhub-song-setlist-manager-assign {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
}

.bandhub-song-setlist-manager-form--assign {
	flex: 1 1 auto;
	justify-content: flex-end;
}

.bandhub-song-setlist-manager-form--assign select {
	max-width: 26rem;
}

@media (max-width: 720px) {
	.bandhub-song-setlist-manager-head {
		display: none;
	}

	.bandhub-song-setlist-manager-card,
	.bandhub-song-setlist-manager-assign {
		grid-template-columns: 1fr;
	}

	.bandhub-song-setlist-manager-assign {
		display: grid;
	}

	.bandhub-song-setlist-manager-actions,
	.bandhub-song-setlist-manager-form--assign {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

.bandhub-setlist-detail-shell {
	display: grid;
	gap: 0.9rem;
}

.bandhub-setlist-detail-card {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	padding: 0.95rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-setlist-detail-card--hero {
	padding: 1.15rem;
}

.bandhub-setlist-detail-hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}

.bandhub-setlist-detail-kicker {
	margin: 0 0 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bandhub-accent);
}

.bandhub-setlist-detail-summary {
	margin: 0.25rem 0 0;
	color: var(--bandhub-muted);
	font-size: 1rem;
}

.bandhub-setlist-detail-stats {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bandhub-setlist-detail-stat {
	min-width: 8rem;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-surface-soft);
}

.bandhub-setlist-detail-stat-value {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-setlist-detail-stat-label {
	display: block;
	margin-top: 0.12rem;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bandhub-muted);
}

.bandhub-setlist-detail-meta-list {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.9rem;
}

.bandhub-setlist-detail-meta {
	margin: 0;
}

.bandhub-setlist-detail-heading {
	margin: 0 0 0.45rem;
}

.bandhub-setlist-detail-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.8rem;
}

.bandhub-setlist-detail-row {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
	padding: 0.9rem 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-surface-soft);
}

.bandhub-setlist-detail-row--break {
	background: #f8fbff;
}

.bandhub-setlist-detail-row-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-setlist-detail-row-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
}

.bandhub-setlist-detail-row-meta {
	margin: 0.3rem 0 0;
	font-size: 0.92rem;
	color: var(--bandhub-muted);
}

.bandhub-setlist-detail-notes {
	margin: 0;
}

@media (max-width: 700px) {
	.bandhub-setlist-detail-row {
		grid-template-columns: 1fr;
	}

	.bandhub-setlist-detail-row-index {
		width: 2rem;
		height: 2rem;
	}
}

.bandhub-event-page {
	padding-top: 1.25rem;
	padding-bottom: 3rem;
}

.bandhub-event-page > .wp-block-post-content {
	margin-top: 1rem;
	max-width: 74ch;
}

.bandhub-event-page > .wp-block-post-content > p:first-child {
	margin-top: 0;
	color: var(--bandhub-muted);
	font-size: 1.02rem;
}

.bandhub-event-hero {
	display: grid;
	grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
	gap: 1.15rem;
	align-items: stretch;
	background: linear-gradient(180deg, #f7fbff 0%, #eef6fc 100%);
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	padding: 1rem;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-event-hero-media {
	overflow: hidden;
	border-radius: 14px;
	background: var(--bandhub-subtle-bg-strong);
	min-height: 280px;
}

.bandhub-event-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	object-position: center center;
}

.bandhub-event-hero-copy {
	display: grid;
	align-content: start;
	gap: 0.85rem;
	padding: 0.35rem 0.2rem;
}

.bandhub-event-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.bandhub-event-status-badge,
.bandhub-event-type-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.24rem 0.62rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-card-bg);
}

.bandhub-event-hero-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.04;
	color: var(--bandhub-heading);
}

.bandhub-event-hero-summary {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--bandhub-ink);
	max-width: 52ch;
}

.bandhub-event-hero-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.65rem;
}

.bandhub-event-hero-fact {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 0.7rem 0.8rem;
}

.bandhub-event-hero-fact h2 {
	margin: 0 0 0.28rem;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-event-hero-fact p {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.25;
}

.bandhub-event-public-section,
.bandhub-event-ops-section {
	margin-top: 1rem;
}

.bandhub-event-ops-section > .wp-block-heading:first-child {
	margin-top: 0;
	margin-bottom: 0.9rem;
}

.bandhub-event-detail-shell {
	display: grid;
	gap: 0.75rem;
}

.bandhub-event-detail-shell .bandhub-directory-title {
	margin: 0;
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	line-height: 1.2;
}

.bandhub-event-priority-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.38rem;
}

.bandhub-event-priority-item {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	padding: 0.38rem 0.5rem;
}

.bandhub-event-priority-item h3 {
	margin: 0 0 0.22rem;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-event-priority-item p {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bandhub-ink);
}

.bandhub-event-priority-item--name {
	grid-column: span 2;
}

.bandhub-event-detail-panel {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	padding: 0.56rem 0.7rem;
}

.bandhub-event-detail-list {
	display: grid;
	grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
	column-gap: 0;
	row-gap: 0;
	margin: 0;
}

.bandhub-event-detail-list dt {
	margin: 5px 0 !important;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--bandhub-muted);
	border-bottom: 1px solid var(--bandhub-border);
	min-height: 10px;
	padding: 10px;
}

.bandhub-event-detail-list dd {
	margin: 5px 0 !important;
	font-size: 0.86rem;
	line-height: 1.25;
	color: var(--bandhub-ink);
	border-bottom: 1px solid var(--bandhub-border);
	min-height: 10px;
	padding: 10px;
}

@media (max-width: 760px) {
	.bandhub-event-hero {
		grid-template-columns: 1fr;
	}

	.bandhub-event-hero-media,
	.bandhub-event-hero-media img {
		min-height: 220px;
	}

	.bandhub-event-priority-item--name {
		grid-column: span 1;
	}

	.bandhub-event-detail-list {
		grid-template-columns: 1fr;
		row-gap: 0.25rem;
	}

	.bandhub-event-detail-list dt {
		margin-top: 0.4rem;
	}
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--wp--style--global--content-size);
}

/* Keep full-width Cover media edge-to-edge while its content follows the normal site width. */
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	width: min(calc(100% - 2rem), 1200px);
	max-width: 1200px;
	margin-inline: auto;
}

.single-event .is-layout-constrained {
	--wp--style--global--content-size: var(--wp--style--global--wide-size);
}

body.single-event .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.single.single-event .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--wp--style--global--wide-size) !important;
}

article.bandhub-directory-card.bandhub-member-card {
	display: flex;
	gap: 19px;
	text-align: center;
}

section.bandhub-dashboard-shell.bandhub-dashboard-member {
	max-width: 1200px;
	width: 90%;
	margin: auto;
}

.bandhub-directory-grid {
	width: 100%;
	min-width: 0;
}

.bandhub-admin-accordion {
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
	padding: 0.75rem 0.9rem;
}

.bandhub-admin-accordion > summary {
	cursor: pointer;
	margin-bottom: 0.5rem;
}

.bandhub-musician-table-wrap,
.bandhub-attendance-feed-table-wrap,
.bandhub-attendance-event-table-wrap {
	overflow-x: auto;
}

.bandhub-directory-musicians {
	display: grid;
	gap: 0.55rem;
}

.bandhub-directory-musicians .bandhub-directory-title {
	margin: 0 0 0.25rem;
	color: var(--bandhub-heading);
	line-height: 1.1;
}

.bandhub-musician-filters {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) minmax(135px, 0.8fr) minmax(150px, 1fr) minmax(110px, auto) minmax(110px, auto);
	gap: 0.45rem;
	align-items: center;
	padding: 0.55rem 0.65rem;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-top: 0.25rem solid var(--bandhub-block-red);
	border-radius: var(--bandhub-radius);
	box-shadow: var(--bandhub-shadow);
}

.bandhub-musician-filters p {
	margin: 0;
}

.bandhub-musician-filters input,
.bandhub-musician-filters select {
	width: 100%;
	min-height: 2.35rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	background: var(--bandhub-card-bg);
	color: var(--bandhub-ink);
	padding: 0.35rem 0.55rem;
	font-size: 0.92rem;
}

.bandhub-musician-filters .wp-element-button {
	min-height: 2.35rem;
	padding: 0.35rem 0.9rem;
	line-height: 1;
}

.bandhub-musician-filters .wp-element-button.is-style-outline {
	background: var(--bandhub-card-bg);
	color: var(--bandhub-heading);
	border-color: var(--bandhub-border);
}

table.bandhub-musician-table,
table.bandhub-attendance-feed-table,
table.bandhub-attendance-event-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bandhub-border);
	border-top: 0.25rem solid var(--bandhub-card-accent);
	border-radius: 12px;
	overflow: hidden;
	background: var(--bandhub-card-bg);
	box-shadow: var(--bandhub-shadow);
}

table.bandhub-musician-table {
	font-size: 0.9rem;
	line-height: 1.22;
}

.bandhub-musician-table thead th,
.bandhub-attendance-feed-table thead th,
.bandhub-attendance-event-table thead th {
	background: var(--bandhub-subtle-bg-strong);
	color: var(--bandhub-ink);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	padding: 0.42rem 0.56rem;
	border-bottom: 1px solid var(--bandhub-border);
}

.bandhub-musician-table tbody td,
.bandhub-attendance-feed-table tbody td,
.bandhub-attendance-event-table tbody td {
	padding: 0.42rem 0.56rem;
	border-bottom: 1px solid var(--bandhub-border);
	vertical-align: middle;
}

.bandhub-musician-table td form {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

.bandhub-musician-table td select,
.bandhub-musician-table td .wp-element-button,
.bandhub-musician-table td .bandhub-member-attendance-submit {
	min-height: 2.1rem;
	border-radius: 8px;
	font-size: 0.86rem;
}

.bandhub-musician-table td select {
	padding: 0.25rem 0.45rem;
}

.bandhub-musician-table td .wp-element-button,
.bandhub-musician-table td .bandhub-member-attendance-submit {
	padding: 0.3rem 0.7rem;
	line-height: 1;
}

.bandhub-musician-table tbody td:first-child strong {
	color: var(--bandhub-heading);
}

.bandhub-musician-table th:nth-child(1),
.bandhub-musician-table th:nth-child(2),
.bandhub-musician-table th:nth-child(3),
.bandhub-musician-table th:nth-child(4),
.bandhub-musician-table td:nth-child(1),
.bandhub-musician-table td:nth-child(2),
.bandhub-musician-table td:nth-child(3),
.bandhub-musician-table td:nth-child(4) {
	white-space: nowrap;
}

.bandhub-musician-table tbody td:nth-child(2) {
	color: var(--bandhub-muted);
}

.bandhub-musician-table tbody tr:last-child td,
.bandhub-attendance-feed-table tbody tr:last-child td,
.bandhub-attendance-event-table tbody tr:last-child td {
	border-bottom: 0;
}

.bandhub-musician-table-row:hover td,
.bandhub-attendance-event-table-row:hover td {
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-section-intro {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.bandhub-rufus-inmate-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.bandhub-rufus-summary-card {
	display: grid;
	gap: 0.15rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-summary-card strong {
	font-size: 1.45rem;
	line-height: 1;
	color: var(--bandhub-heading);
}

.bandhub-rufus-summary-card span {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-rsvp-chart {
	display: grid;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	margin-bottom: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	background: #fff;
}

.bandhub-rufus-rsvp-chart-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	align-items: baseline;
	justify-content: space-between;
}

.bandhub-rufus-rsvp-chart-total {
	font-size: 0.9rem;
	color: var(--bandhub-muted);
}

.bandhub-rufus-rsvp-chart-bar {
	display: flex;
	min-height: 18px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-rsvp-chart-segment {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.bandhub-rufus-rsvp-chart-segment span {
	padding: 0 0.35rem;
	white-space: nowrap;
}

.bandhub-rufus-rsvp-chart-segment.is-going,
.bandhub-rufus-rsvp-chart-key.is-going {
	background: #2f7d4a;
}

.bandhub-rufus-rsvp-chart-segment.is-maybe,
.bandhub-rufus-rsvp-chart-key.is-maybe {
	background: #d29a17;
}

.bandhub-rufus-rsvp-chart-segment.is-declined,
.bandhub-rufus-rsvp-chart-key.is-declined {
	background: #b8543a;
}

.bandhub-rufus-rsvp-chart-segment.is-missing,
.bandhub-rufus-rsvp-chart-key.is-missing {
	background: #5f6f85;
}

.bandhub-rufus-rsvp-chart-legend {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

.bandhub-rufus-rsvp-chart-stat {
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 0.45rem;
	align-items: center;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-subtle-bg);
	text-decoration: none;
}

.bandhub-rufus-rsvp-chart-key {
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 999px;
}

.bandhub-rufus-rsvp-chart-stat strong {
	font-size: 1.05rem;
	line-height: 1;
	color: var(--bandhub-heading);
}

.bandhub-rufus-rsvp-chart-stat span:last-child {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-rsvp-chart-stat.is-active {
	border-color: var(--bandhub-card-accent);
	box-shadow: inset 0 0 0 1px var(--bandhub-card-accent);
	background: #fff;
}

.bandhub-rufus-rsvp-inline-form {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.bandhub-rufus-rsvp-inline-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.bandhub-rufus-rsvp-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bandhub-rufus-rsvp-inline-option {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.bandhub-rufus-rsvp-inline-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bandhub-rufus-rsvp-inline-option span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: #fff;
	color: var(--bandhub-ink);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bandhub-rufus-rsvp-inline-option.is-going span {
	border-color: rgba(47, 125, 74, 0.28);
}

.bandhub-rufus-rsvp-inline-option.is-tentative span {
	border-color: rgba(210, 154, 23, 0.32);
}

.bandhub-rufus-rsvp-inline-option.is-declined span {
	border-color: rgba(184, 84, 58, 0.3);
}

.bandhub-rufus-rsvp-inline-radio:checked + span {
	color: #fff;
}

.bandhub-rufus-rsvp-inline-option.is-going .bandhub-rufus-rsvp-inline-radio:checked + span {
	border-color: #2f7d4a;
	background: #2f7d4a;
}

.bandhub-rufus-rsvp-inline-option.is-tentative .bandhub-rufus-rsvp-inline-radio:checked + span {
	border-color: #d29a17;
	background: #d29a17;
}

.bandhub-rufus-rsvp-inline-option.is-declined .bandhub-rufus-rsvp-inline-radio:checked + span {
	border-color: #b8543a;
	background: #b8543a;
}

.bandhub-rufus-rsvp-inline-radio:focus-visible + span {
	outline: 2px solid var(--bandhub-accent, #1f6bb8);
	outline-offset: 2px;
}

.bandhub-rufus-inline-save-state {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-rsvp-inline-form.is-going .bandhub-rufus-rsvp-pill {
	border-color: #2f7d4a;
	background: rgba(47, 125, 74, 0.12);
	color: #245f39;
}

.bandhub-rufus-rsvp-inline-form.is-tentative .bandhub-rufus-rsvp-pill {
	border-color: #d29a17;
	background: rgba(210, 154, 23, 0.14);
	color: #8a650f;
}

.bandhub-rufus-rsvp-inline-form.is-declined .bandhub-rufus-rsvp-pill {
	border-color: #b8543a;
	background: rgba(184, 84, 58, 0.12);
	color: #8b3f2b;
}

.bandhub-rufus-rsvp-inline-form.is-empty .bandhub-rufus-rsvp-pill {
	border-color: #8b97a8;
	background: rgba(95, 111, 133, 0.08);
	color: #526176;
}

.bandhub-rufus-inmate-filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.5rem;
	align-items: end;
	margin-bottom: 0.75rem;
}

.bandhub-rufus-inmate-filters label {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.bandhub-rufus-inmate-filters label span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-inmate-filters input,
.bandhub-rufus-inmate-filters select {
	width: 100%;
	min-height: 2.15rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	background: var(--bandhub-card-bg);
	color: var(--bandhub-ink);
	padding: 0.36rem 0.55rem;
	font: inherit;
}

.bandhub-rufus-inmate-filters .wp-element-button {
	min-height: 2.15rem;
	padding: 0.36rem 0.8rem;
	border-radius: 10px;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters {
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.45rem;
	align-items: end;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters label span {
	font-size: 0.68rem;
	letter-spacing: 0.03em;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters input,
body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters select {
	min-height: 2rem;
	padding: 0.28rem 0.5rem;
	border-radius: 10px;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters .wp-element-button {
	min-height: 2rem;
	padding: 0.28rem 0.72rem;
	border-radius: 10px;
	font-size: 0.92rem;
}

body.page-id-300 .bandhub-home-section.bandhub-rufus-inmate-management {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* The Rufus workspace panel is already the Inmates card. Avoid nesting a
 * second bordered card inside it. */
.bandhub-rufus-panel .bandhub-home-section.bandhub-rufus-inmate-management {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.bandhub-rufus-subsection-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 1rem 0 0.85rem;
}

.bandhub-rufus-subsection-head h3 {
	margin: 0;
	color: var(--bandhub-heading);
}

.bandhub-rufus-subsection-head p {
	margin: 0;
	color: var(--bandhub-muted);
}

.bandhub-rufus-inmate-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.bandhub-rufus-inmate-card {
	display: grid;
	gap: 0.9rem;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	background: var(--bandhub-card-bg);
}

.bandhub-rufus-inmate-card-head {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 0.75rem;
}

.bandhub-rufus-inmate-identity {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.bandhub-rufus-inmate-avatar {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border: 1px solid var(--bandhub-border);
	border-radius: 50%;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-inmate-avatar .bandhub-public-musician-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bandhub-rufus-member-spotlight-avatar {
	width: 104px;
	height: 104px;
	margin: 0 0 1rem;
	overflow: hidden;
	border: 1px solid var(--bandhub-border);
	border-radius: 50%;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-member-spotlight-avatar .bandhub-public-musician-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bandhub-rufus-inmate-name {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1.1rem;
}

.bandhub-rufus-inmate-real-name {
	margin: 0.15rem 0 0;
	color: var(--bandhub-muted);
}

.bandhub-rufus-table-member {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.bandhub-rufus-table-member-avatar {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border: 1px solid var(--bandhub-border);
	border-radius: 50%;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-table-member-avatar .bandhub-public-musician-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bandhub-rufus-inmate-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.bandhub-rufus-inmate-card.is-active .bandhub-rufus-inmate-status-badge {
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
}

.bandhub-rufus-inmate-card.is-inactive .bandhub-rufus-inmate-status-badge {
	background: #f4edea;
	color: #7a4d28;
}

.bandhub-rufus-inmate-meta {
	display: grid;
	gap: 0.45rem;
}

.bandhub-rufus-inmate-meta p {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 0.55rem;
	margin: 0;
}

.bandhub-rufus-inmate-meta strong {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-inmate-meta span {
	min-width: 0;
}

.bandhub-rufus-inmate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: center;
	margin: 0;
	padding-top: 0.15rem;
}

.bandhub-rufus-inmate-actions select,
.bandhub-rufus-inmate-actions button {
	min-height: 2.2rem;
}

.bandhub-rufus-inmate-drawer {
	margin-top: 1rem;
	border-top: 1px solid var(--bandhub-border);
	padding-top: 0.9rem;
}

.bandhub-rufus-inmate-drawer > summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-rufus-inmate-drawer > summary span {
	color: var(--bandhub-muted);
	font-weight: 600;
}

.bandhub-rufus-inmate-drawer[open] .bandhub-rufus-inmate-grid {
	margin-top: 0.9rem;
}

.bandhub-directory-card,
.bandhub-directory-card-title,
.bandhub-directory-meta {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

@media (max-width: 900px) {
	.bandhub-musician-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bandhub-rufus-inmate-summary,
	.bandhub-rufus-rsvp-chart-legend,
	.bandhub-rufus-inmate-grid,
	.bandhub-rufus-inmate-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bandhub-musician-filters {
		grid-template-columns: 1fr;
	}

	.bandhub-rufus-inmate-summary,
	.bandhub-rufus-rsvp-chart-legend,
	.bandhub-rufus-inmate-grid,
	.bandhub-rufus-inmate-filters {
		grid-template-columns: 1fr;
	}

	.bandhub-rufus-rsvp-chart-heading {
		flex-direction: column;
		align-items: flex-start;
	}

	.bandhub-rufus-rsvp-chart-bar {
		min-height: 16px;
	}

	.bandhub-rufus-rsvp-chart-segment span {
		font-size: 0.68rem;
	}

	.bandhub-rufus-inmate-meta p {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
}

/* Account canonical layout (core-first + functional blocks) */
body.bandhub-account-page .bandhub-account-hub,
body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-home-section {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto;
	margin-right: auto;
}

body.bandhub-account-page .bandhub-account-hub {
	padding: 0 1rem 1.5rem;
}

body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-home-section,
body.bandhub-account-page .bandhub-member-attendance-manager,
body.bandhub-account-page .bandhub-attendance-records-manager,
body.bandhub-account-page .jet-form-block,
body.bandhub-account-page .jet-listing-grid {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
	box-shadow: var(--bandhub-shadow);
	padding: 1rem;
}

/* Account page: keep a single border layer (avoid nested double borders) */
body.bandhub-account-page .bandhub-account-page > .wp-block-group.bandhub-home-section {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body.bandhub-account-page .bandhub-account-page > .wp-block-columns > .wp-block-column > .wp-block-group {
	box-shadow: none !important;
}

body.bandhub-account-page .bandhub-dashboard-title,
body.bandhub-account-page .bandhub-dashboard-description {
	text-align: left;
}

body.bandhub-account-page .bandhub-dashboard-actions {
	padding: 0;
	justify-content: flex-start;
	gap: 0.6rem;
	background: transparent;
}

body.bandhub-account-page .bandhub-dashboard-actions .wp-block-button {
	margin: 0 !important;
}

body.bandhub-account-page .bandhub-directory-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	padding: 0;
	background: transparent;
}

body.bandhub-account-page .bandhub-directory-card {
	margin: 0;
	padding: 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	background: var(--bandhub-card-bg);
}

body.bandhub-account-page .bandhub-event-filters {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.75rem;
	align-items: end;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	max-width: 100%;
}

body.bandhub-account-page .bandhub-event-filters p {
	margin: 0;
	flex: 1 1 170px;
	min-width: 150px;
}

body.bandhub-account-page .bandhub-event-filters input,
body.bandhub-account-page .bandhub-event-filters select {
	width: 100%;
}

body.bandhub-account-page .bandhub-event-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--bandhub-card-bg);
	table-layout: fixed;
}

body.bandhub-account-page .bandhub-event-table thead th {
	background: var(--bandhub-subtle-bg-strong);
	padding: 0.65rem;
	text-align: left;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.bandhub-account-page .bandhub-event-table tbody td {
	padding: 0.7rem;
	border-top: 1px solid var(--bandhub-border);
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.bandhub-account-page .bandhub-inline-rsvp-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.7rem;
	align-items: center;
}

body.bandhub-account-page .bandhub-inline-rsvp-form button[type="submit"] {
	margin-left: 0 !important;
}

body.bandhub-account-page .bandhub-home-section,
body.bandhub-account-page .bandhub-event-table {
	max-width: 100%;
	min-width: 0;
}

body.bandhub-account-page .bandhub-event-table {
	overflow-x: auto;
}

@media (max-width: 980px) {
	body.bandhub-account-page .bandhub-directory-grid,
	body.bandhub-account-page .bandhub-event-filters {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.bandhub-account-page .bandhub-event-table {
		min-width: 720px;
	}
}

@media (max-width: 640px) {
	body.bandhub-account-page .bandhub-directory-grid,
	body.bandhub-account-page .bandhub-event-filters {
		grid-template-columns: 1fr;
	}
}

/* Band Admin page makeover */
body.page-id-300 .bandhub-directory-page {
	padding: 0.9rem 0.75rem 1.4rem !important;
	max-width: 1240px !important;
	width: min(1240px, calc(100vw - 2rem)) !important;
}

body.page-id-300 .bandhub-directory-page > .wp-block-post-title {
	margin-bottom: 0.5rem;
}

body.page-id-300 .bandhub-directory-page .wp-block-post-title {
	display: none !important;
}

body.page-id-300 .bandhub-directory-page > .wp-block-group:has(> .wp-block-post-title) {
	display: none !important;
}

body.page-id-300 .bandhub-directory-page > .wp-block-post-content {
	margin-bottom: 1rem;
}

body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
	box-shadow: var(--bandhub-shadow);
	padding: 0.8rem !important;
	margin-bottom: 0.8rem !important;
}

body.page-id-300 .bandhub-directory-title,
body.page-id-300 .bandhub-gig-archive-calendar-heading,
body.page-id-300 .bandhub-dashboard-title {
	margin-top: 0;
}

body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section:first-of-type {
	background: var(--bandhub-subtle-bg) !important;
	border-color: var(--bandhub-border) !important;
}

body.page-id-300 .bandhub-dashboard-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	padding: 0;
	margin-top: 0.85rem;
	background: transparent;
	justify-content: flex-start;
	gap: 0.6rem;
	overflow: visible !important;
}

body.page-id-300 .bandhub-dashboard-actions .wp-block-button {
	display: flex;
	align-items: center;
	margin: 0 !important;
	min-width: 0;
}

body.page-id-300 .bandhub-dashboard-actions .wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 2.35rem;
	padding: 0.5rem 0.95rem;
	line-height: 1.15;
	white-space: nowrap;
	margin: 0 !important;
}

body.page-id-300 .bandhub-dashboard-shell {
	padding: 1rem !important;
	border: 1px solid var(--bandhub-border) !important;
	border-radius: 12px !important;
	background: var(--bandhub-card-bg) !important;
}

body.page-id-300 .bandhub-dashboard-admin .bandhub-login-note {
	background: var(--bandhub-subtle-bg-strong);
	border: 1px solid var(--bandhub-border);
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
}

body.page-id-300 .bandhub-directory-grid,
body.page-id-300 .bandhub-attendance-event-grid-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	padding: 0;
	background: transparent;
}

body.page-id-300 .bandhub-directory-card,
body.page-id-300 .bandhub-attendance-record-item,
body.page-id-300 .bandhub-member-attendance-item {
	margin: 0;
	padding: 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	background: var(--bandhub-card-bg);
}

body.page-id-300 .bandhub-musician-table-wrap,
body.page-id-300 .bandhub-event-table-wrap {
	overflow-x: auto;
}

body.page-id-300 table.bandhub-musician-table,
body.page-id-300 .bandhub-event-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--bandhub-card-bg);
}

body.page-id-300 .bandhub-musician-table thead th,
body.page-id-300 .bandhub-event-table thead th {
	background: var(--bandhub-subtle-bg-strong);
	padding: 0.42rem 0.56rem;
	text-align: left;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.page-id-300 .bandhub-musician-table tbody td,
body.page-id-300 .bandhub-event-table tbody td {
	padding: 0.42rem 0.56rem;
	border-top: 1px solid var(--bandhub-border);
	vertical-align: middle;
}

body.page-id-300 .bandhub-event-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: end;
}

body.page-id-300 .bandhub-musician-filters {
	grid-template-columns: minmax(150px, 1fr) minmax(135px, 0.8fr) minmax(150px, 1fr) minmax(110px, auto) minmax(110px, auto);
	gap: 0.45rem;
	align-items: center;
	padding: 0.55rem 0.65rem;
}

body.page-id-300 .bandhub-event-filters p {
	margin: 0;
}

body.page-id-300 .bandhub-event-filters input,
body.page-id-300 .bandhub-event-filters select {
	width: 100%;
}

body.page-id-300 .bandhub-admin-accordion {
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-card-bg);
	border-radius: 12px;
}

body.page-id-300 .bandhub-admin-accordion > summary {
	padding: 0.2rem 0;
}

/* Band Admin: normalize filtered data displays without touching Musician Roster */
body.page-id-300 .bandhub-directory-page {
	display: grid;
	gap: 0.9rem;
}

body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section {
	margin-bottom: 0 !important;
	padding: 0.95rem !important;
}

body.page-id-300 .bandhub-directory-title,
body.page-id-300 .bandhub-gig-archive-calendar-heading,
body.page-id-300 .bandhub-dashboard-title {
	margin-bottom: 0.45rem;
	line-height: 1.15;
}

body.page-id-300 .bandhub-dashboard-description,
body.page-id-300 .bandhub-directory-page p {
	margin-top: 0;
}

body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters),
body.page-id-300 .bandhub-gigs-archive-filters,
body.page-id-300 .bandhub-setlist-filter-form {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
	gap: 0.5rem !important;
	align-items: end !important;
	margin: 0 0 0.75rem !important;
	padding: 0.55rem 0.65rem !important;
	background: var(--bandhub-subtle-bg) !important;
	border: 0 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

body.page-id-300 .bandhub-gigs-archive-filters {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters) p,
body.page-id-300 .bandhub-gigs-archive-filters label,
body.page-id-300 .bandhub-setlist-filter-form label {
	min-width: 0 !important;
	margin: 0 !important;
	gap: 0.22rem !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: var(--bandhub-muted) !important;
}

body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters) input,
body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters) select,
body.page-id-300 .bandhub-gigs-archive-filters select,
body.page-id-300 .bandhub-setlist-filter-form input,
body.page-id-300 .bandhub-setlist-filter-form select {
	width: 100% !important;
	min-width: 0 !important;
	height: 2.25rem !important;
	padding: 0.35rem 0.5rem !important;
	border: 1px solid var(--bandhub-border) !important;
	border-radius: 8px !important;
	background: var(--bandhub-card-bg) !important;
	color: var(--bandhub-ink) !important;
	font-size: 0.9rem !important;
}

body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters) button,
body.page-id-300 .bandhub-gigs-archive-filters button,
body.page-id-300 .bandhub-setlist-filter-form button {
	width: 100% !important;
	min-height: 2.25rem !important;
	padding: 0.35rem 0.8rem !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--bandhub-button-bg) !important;
	color: var(--bandhub-button-text) !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	transform: none !important;
}

body.page-id-300 .bandhub-attendance-feed-table-wrap,
body.page-id-300 .bandhub-attendance-event-table-wrap,
body.page-id-300 .bandhub-event-table-wrap {
	margin-top: 0.5rem;
	overflow-x: auto;
}

body.page-id-300 table.bandhub-attendance-feed-table,
body.page-id-300 table.bandhub-attendance-event-table,
body.page-id-300 .bandhub-event-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 0.9rem;
}

body.page-id-300 .bandhub-attendance-feed-table thead th,
body.page-id-300 .bandhub-attendance-event-table thead th,
body.page-id-300 .bandhub-event-table thead th {
	padding: 0.45rem 0.55rem !important;
	background: var(--bandhub-subtle-bg) !important;
	border-top: 1px solid var(--bandhub-border) !important;
	border-bottom: 1px solid var(--bandhub-border) !important;
	color: var(--bandhub-ink) !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em !important;
	text-align: left !important;
	text-transform: uppercase !important;
}

body.page-id-300 .bandhub-attendance-feed-table tbody td,
body.page-id-300 .bandhub-attendance-event-table tbody td,
body.page-id-300 .bandhub-event-table tbody td {
	padding: 0.48rem 0.55rem !important;
	border-top: 0 !important;
	border-bottom: 1px solid var(--bandhub-border) !important;
	vertical-align: middle !important;
	line-height: 1.35;
}

body.page-id-300 .bandhub-attendance-feed-event,
body.page-id-300 .bandhub-attendance-event-grid,
body.page-id-300 .bandhub-upcoming-events-ops,
body.page-id-300 .bandhub-setlists-by-event {
	display: grid;
	gap: 0.6rem;
}

body.page-id-300 .bandhub-attendance-feed-event + .bandhub-attendance-feed-event {
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--bandhub-border);
}

body.page-id-300 .bandhub-attendance-feed-event-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
}

body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-grid,
body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
	gap: 0.75rem !important;
	border-top: 0;
	border-bottom: 0;
}

body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card,
body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card,
body.page-id-300 .bandhub-attendance-record-item,
body.page-id-300 .bandhub-member-attendance-item {
	padding: 0.75rem !important;
	border: 1px solid var(--bandhub-border) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	background: var(--bandhub-card-bg) !important;
}

body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card + .bandhub-directory-card,
body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card + .bandhub-directory-card {
	border-left: 1px solid var(--bandhub-border) !important;
}

body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card:nth-child(3n + 1),
body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card:nth-child(3n + 1) {
	border-left: 1px solid var(--bandhub-border) !important;
}

body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card:nth-child(n + 4),
body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card:nth-child(n + 4) {
	border-top: 1px solid var(--bandhub-border) !important;
}

body.page-id-300 .bandhub-admin-accordion {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.page-id-300 .bandhub-admin-accordion > summary {
	padding: 0.35rem 0 !important;
	border-bottom: 1px solid var(--bandhub-border);
	cursor: pointer;
}

@media (max-width: 980px) {
	body.page-id-300 .bandhub-directory-grid,
	body.page-id-300 .bandhub-attendance-event-grid-list,
	body.page-id-300 .bandhub-event-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters),
	body.page-id-300 .bandhub-gigs-archive-filters,
	body.page-id-300 .bandhub-setlist-filter-form,
	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-grid,
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-grid {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	}

	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card,
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card {
		border-left: 1px solid var(--bandhub-border) !important;
	}

	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card:nth-child(even),
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card:nth-child(even) {
		border-left: 1px solid var(--bandhub-border) !important;
	}

	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card:nth-child(n + 3),
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card:nth-child(n + 3) {
		border-top: 1px solid var(--bandhub-border) !important;
	}
}

@media (max-width: 640px) {
	body.page-id-300 .bandhub-directory-grid,
	body.page-id-300 .bandhub-attendance-event-grid-list,
	body.page-id-300 .bandhub-event-filters {
		grid-template-columns: 1fr;
	}

	body.page-id-300 .bandhub-event-filters:not(.bandhub-musician-filters),
	body.page-id-300 .bandhub-gigs-archive-filters,
	body.page-id-300 .bandhub-setlist-filter-form,
	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-grid,
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-grid {
		grid-template-columns: 1fr !important;
	}

	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card,
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card,
	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card:nth-child(even),
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card:nth-child(even) {
		border-left: 1px solid var(--bandhub-border) !important;
	}

	body.page-id-300 .bandhub-upcoming-events-ops .bandhub-directory-card + .bandhub-directory-card,
	body.page-id-300 .bandhub-setlists-by-event .bandhub-directory-card + .bandhub-directory-card {
		border-top: 1px solid var(--bandhub-border) !important;
	}

	body.page-id-300 .bandhub-rufus-events-manager .bandhub-member-profile-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions .wp-block-button,
	body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions .wp-block-button__link {
		width: 100%;
	}
}

/* Band Admin: unsqueeze non-roster data surfaces */
body.page-id-300 .bandhub-directory-page {
	max-width: 1240px !important;
	width: min(1240px, calc(100vw - 2rem)) !important;
}

body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section {
	overflow-x: visible;
}

body.page-id-300 :is(.bandhub-attendance-event-grid-list, .bandhub-setlist-archive-results) {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
	gap: 0.85rem !important;
}

body.page-id-300 :is(.bandhub-upcoming-events-ops, .bandhub-setlists-by-event) .bandhub-directory-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
	gap: 0.85rem !important;
}

body.page-id-300 :is(.bandhub-event-filters:not(.bandhub-musician-filters), .bandhub-gigs-archive-filters, .bandhub-setlist-filter-form) {
	grid-template-columns: repeat(auto-fit, minmax(260px, max-content)) !important;
	justify-content: start !important;
}

body.page-id-300 :is(.bandhub-attendance-feed-table-wrap, .bandhub-attendance-event-table-wrap, .bandhub-event-table-wrap) {
	max-width: 100%;
	overflow-x: auto;
}

body.page-id-300 :is(.bandhub-attendance-feed-table, .bandhub-attendance-event-table, .bandhub-event-table) {
	min-width: 920px;
}

body.page-id-300 :is(.bandhub-attendance-feed-table, .bandhub-attendance-event-table, .bandhub-event-table) th,
body.page-id-300 :is(.bandhub-attendance-feed-table, .bandhub-attendance-event-table, .bandhub-event-table) td {
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
}

/* Rufus Events manager uses a wider single-column flow than the generic admin card grid. */
body.page-id-300 .bandhub-rufus-events-manager {
	display: grid;
	gap: 1rem;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-rufus-events-header {
	display: grid;
	gap: 0.7rem;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	gap: 0.55rem !important;
	overflow: visible !important;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions .wp-block-button,
body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions .wp-block-button__link {
	min-width: 0;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-dashboard-actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35rem;
	padding: 0.55rem 0.95rem;
	line-height: 1.15;
	white-space: nowrap;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-directory-grid {
	grid-template-columns: 1fr !important;
	gap: 0.9rem !important;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-directory-card {
	grid-column: 1 / -1 !important;
	min-width: 0;
	padding: 1rem !important;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-member-profile-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-member-profile-field {
	min-width: 0;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-events-manager .bandhub-member-profile-textarea {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.page-id-300 .bandhub-rufus-events-manager input[type="datetime-local"].bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-events-manager input[type="text"].bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-events-manager input[type="time"].bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-events-manager select.bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-events-manager textarea.bandhub-member-profile-textarea {
	width: 100% !important;
	max-width: 100% !important;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-attendance-feed-table-wrap {
	margin-top: 0.75rem;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-attendance-feed-table {
	min-width: 720px;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-attendance-feed-table td {
	padding: 1rem 1.2rem;
}

.bandhub-rufus-event-rsvp-totals {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.76rem;
	line-height: 1.2;
}

.bandhub-rufus-event-rsvp-totals a:hover,
.bandhub-rufus-event-rsvp-totals a:focus-visible {
	text-decoration: underline;
}

.bandhub-rufus-event-rsvp-totals a {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.55rem;
	border: 1px solid transparent;
	border-radius: 999px;
	white-space: nowrap;
	text-decoration: none;
}

.bandhub-rufus-event-rsvp-totals strong {
	color: inherit;
	font-size: 0.8rem;
}

.bandhub-rufus-event-rsvp-totals a.is-going { color: #1d6b3a; background: #eaf7ee; border-color: #7abd90; }
.bandhub-rufus-event-rsvp-totals a.is-declined { color: #b43c33; background: #fff0ee; border-color: #e9aaa4; }
.bandhub-rufus-event-rsvp-totals a.is-maybe { color: #1468ae; background: #edf6ff; border-color: #9bc7ed; }
.bandhub-rufus-event-rsvp-totals a.is-missing { color: #806000; background: #fff9d8; border-color: #e6ca68; }

.bandhub-rufus-inmate-create {
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 0.85rem;
	background: #f8fbff;
}

.bandhub-rufus-inmate-create > summary {
	cursor: pointer;
	color: var(--bandhub-heading);
	font-weight: 700;
}

.bandhub-rufus-inmate-create > p {
	margin: 0.7rem 0 1rem;
	color: var(--bandhub-muted);
}

.bandhub-rufus-inmate-next-event {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.2rem;
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 0.85rem;
	background: #fff;
}

.bandhub-rufus-inmate-next-event > div:first-child {
	display: grid;
	gap: 0.15rem;
}

.bandhub-rufus-inmate-next-event > div:first-child strong {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-inmate-next-event > div:first-child span {
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-rufus-inmate-next-event .bandhub-rufus-event-rsvp-totals a {
	gap: 0.25rem;
}

.bandhub-rufus-inmate-next-event .bandhub-rufus-event-rsvp-totals a span {
	font-size: 0.7rem;
	font-weight: 700;
}

.bandhub-rufus-inmate-rsvp-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.32rem 0.55rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.bandhub-rufus-inmate-rsvp-status.is-going { color: #1d6b3a; background: #eaf7ee; border-color: #7abd90; }
.bandhub-rufus-inmate-rsvp-status.is-declined { color: #b43c33; background: #fff0ee; border-color: #e9aaa4; }
.bandhub-rufus-inmate-rsvp-status.is-maybe { color: #1468ae; background: #edf6ff; border-color: #9bc7ed; }
.bandhub-rufus-inmate-rsvp-status.is-missing { color: #806000; background: #fff9d8; border-color: #e6ca68; }
body.page-id-300 .bandhub-rufus-event-date { display: block; margin-top: .45rem; color: var(--bandhub-muted); font-size: .8rem; font-weight: 600; }

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table {
	table-layout: fixed;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table th:nth-child(1),
body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table td:nth-child(1) {
	width: 38%;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table th:nth-child(2),
body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table td:nth-child(2) {
	width: 18%;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table th:nth-child(3),
body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table td:nth-child(3) {
	width: 44%;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table th:nth-child(1),
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table td:nth-child(1) {
	width: 36%;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table th:nth-child(2),
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table td:nth-child(2) {
	width: 16%;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table th:nth-child(3),
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table td:nth-child(3) {
	width: 48%;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table td,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table td {
	overflow-wrap: anywhere;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table thead th,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table thead th {
	padding: 0.32rem 0.48rem !important;
	font-size: 0.74rem !important;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-attendance-feed-table tbody td,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-attendance-feed-table tbody td {
	padding: 0.32rem 0.48rem !important;
	line-height: 1.2;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-rsvp-inline-form,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-inline-form {
	align-items: start;
	gap: 0.18rem;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-rsvp-inline-group,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-inline-group {
	align-items: center;
	row-gap: 0.2rem;
	column-gap: 0.18rem;
	flex-wrap: nowrap;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-rsvp-inline-option span,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-inline-option span {
	min-height: 1.55rem;
	padding: 0.18rem 0.42rem;
	font-size: 0.64rem;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-rsvp-pill,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-pill {
	max-width: 100%;
	padding: 0.12rem 0.32rem;
	font-size: 0.62rem;
	line-height: 1;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-rsvp-pill.is-empty.is-active,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-pill.is-empty.is-active {
	border-color: #8b97a8;
	background: rgba(95, 111, 133, 0.12);
	color: #526176;
}

body.page-id-300 .bandhub-rufus-name-stack {
	display: grid;
	gap: 0.06rem;
}

body.page-id-300 .bandhub-rufus-name-stack strong,
body.page-id-300 .bandhub-rufus-name-stack span,
body.page-id-300 .bandhub-rufus-name-stack a {
	display: block;
}

body.page-id-300 .bandhub-rufus-name-stack strong {
	line-height: 1.1;
}

body.page-id-300 .bandhub-rufus-name-stack span {
	font-size: 0.72rem;
	color: var(--bandhub-muted-text);
	line-height: 1.08;
}

body.page-id-300 .bandhub-rufus-inmate-management .bandhub-rufus-inline-save-state,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-inline-save-state {
	font-size: 0.58rem;
	letter-spacing: 0.03em;
}

body.page-id-300 .bandhub-rufus-events-manager .bandhub-attendance-feed-table th:last-child,
body.page-id-300 .bandhub-rufus-events-manager .bandhub-attendance-feed-table td:last-child {
	min-width: 0;
	white-space: normal;
}

body.page-id-300 .bandhub-rufus-events-manager .button-link.delete-link {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bandhub-danger-text);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

body.page-id-300 .bandhub-rufus-event-focus-picker {
	margin-bottom: 1.1rem;
}

body.page-id-300 .bandhub-rufus-event-focus-picker .bandhub-directory-card {
	display: grid;
	gap: 1.35rem;
	padding: 1.4rem !important;
}

.bandhub-rufus-event-focus-form {
	/* Keep choosing an event separate from its actions. A three-column
	 * filter grid makes the two buttons compete with the select at medium
	 * widths, which caused the Create button to split across lines. */
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 1rem;
}

.bandhub-rufus-event-focus-form label {
	min-width: 0;
	width: 100%;
}

.bandhub-rufus-event-focus-form .bandhub-rufus-workspace-actions {
	margin: 0;
	gap: 0.75rem;
	width: 100%;
	grid-column: 1;
}

/* Protected Lyrics library */
.bandhub-lyrics-library {
	display: grid;
	gap: 1.15rem;
}

.bandhub-lyrics-library-intro {
	margin: 0;
	color: var(--bandhub-muted-text);
}

.bandhub-lyrics-library-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.9rem;
}

.bandhub-lyrics-library-card {
	display: grid;
	align-content: start;
	gap: 0.65rem;
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: var(--bandhub-radius);
	background: var(--bandhub-card-bg);
}

.bandhub-lyrics-library-title,
.bandhub-lyrics-library-excerpt,
.bandhub-lyrics-library-song,
.bandhub-lyric-back-link {
	margin: 0;
}

.bandhub-lyrics-library-title {
	font-size: 1.2rem;
}

.bandhub-lyrics-library-title a,
.bandhub-lyrics-library-song a,
.bandhub-lyric-back-link a {
	color: var(--bandhub-button-bg);
}

.bandhub-lyrics-library-excerpt {
	color: var(--bandhub-muted-text);
}

.bandhub-lyrics-library-song {
	font-weight: 700;
	font-size: 0.9rem;
}

.bandhub-lyric-sheet .wp-block-post-content {
	line-height: 1.65;
}

/* Reusable heading color for Home feature sections. */
.bandhub-heading-button-blue {
	color: var(--bandhub-button-bg);
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-directory-card {
	margin-top: 1.5rem;
}

.bandhub-rufus-event-wizard-shell {
	display: grid;
	gap: 1.5rem;
	padding: 1.35rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-event-wizard-intro {
	display: grid;
	gap: 0.45rem;
}

.bandhub-rufus-event-wizard-intro > * {
	margin: 0;
}

.bandhub-rufus-event-wizard-progress {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-rufus-event-wizard-step-button {
	margin: 0 !important;
}

.bandhub-rufus-event-wizard-step-button > span {
	display: inline-block;
	margin-right: 0.35em !important;
}

.bandhub-rufus-event-wizard-steps {
	padding-top: 1.25rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-rufus-event-wizard-step {
	display: grid;
	gap: 1.2rem;
}

/* The theme's grid display rule is more specific than the browser's default
 * [hidden] rule, so preserve the wizard's one-step-at-a-time state explicitly. */
.bandhub-rufus-event-wizard-step[hidden] {
	display: none !important;
}

.bandhub-rufus-event-wizard-step-head > * {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.bandhub-rufus-event-wizard-step-head > *:last-child {
	margin-bottom: 0;
}

.bandhub-rufus-event-wizard-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.8rem;
	padding-top: 1.2rem;
}

body.page-id-300 .bandhub-rufus-event-workspace {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bandhub-admin-divider);
}

body.page-id-300 .bandhub-rufus-event-workspace .bandhub-rufus-inline-meta {
	margin: 0;
	color: var(--bandhub-muted-text);
	font-size: 0.95rem;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-directory-card {
	padding: 0.9rem;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-chart {
	margin-bottom: 0;
}

body.page-id-300 .bandhub-rufus-event-rsvp-section {
	display: grid;
	gap: 0.75rem;
	padding-top: 0.9rem;
	margin-top: 0.9rem;
	border-top: 1px solid var(--bandhub-admin-divider);
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-section-heading-row {
	gap: 0.5rem 0.9rem;
	align-items: baseline;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-lineup-form {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1rem;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-lineup-form .bandhub-member-profile-field,
body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-member-profile-submit-row {
	margin: 0;
}

/* Separate the RSVP follow-up action from the report table above it. */
.bandhub-rufus-event-rsvp-panel .bandhub-rufus-rsvp-email-action {
	padding-top: 0.75rem;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-event-hub-list {
	margin: 0;
}

body.page-id-300 .bandhub-rufus-event-rsvp-panel .bandhub-rufus-event-hub-footnote {
	margin-top: 0;
}

body.page-id-300 .bandhub-rufus-workspace-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1rem 0 1.15rem;
}

body.page-id-300 .bandhub-rufus-event-ops-grid {
	margin-bottom: 1rem;
}

body.page-id-300 .bandhub-rufus-summary-suffix {
	font-size: 0.9rem;
	color: var(--bandhub-muted-text);
	font-weight: 500;
}

body.page-id-300 .bandhub-rufus-event-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

body.page-id-300 .bandhub-rufus-event-hub-grid .bandhub-directory-card {
	height: 100%;
}

body.page-id-300 .bandhub-rufus-event-hub-list {
	margin: 0;
	padding-left: 1rem;
}

body.page-id-300 .bandhub-rufus-event-hub-list li + li {
	margin-top: 0.55rem;
}

body.page-id-300 .bandhub-rufus-event-hub-list--ordered {
	padding-left: 1.15rem;
}

body.page-id-300 .bandhub-rufus-event-hub-note,
body.page-id-300 .bandhub-rufus-event-hub-footnote {
	margin-top: 0.65rem;
	color: var(--bandhub-muted-text);
	font-size: 0.95rem;
}

body.page-id-300 .bandhub-rufus-lineup-form {
	margin: 0 0 1rem;
}

body.page-id-300 .bandhub-rufus-inline-remove-form {
	margin: -0.15rem 0 1rem;
}

body.page-id-300 .bandhub-rufus-inline-remove-form .button-link {
	font-size: 0.95rem;
}

@media (max-width: 960px) {
	body.page-id-300 .bandhub-rufus-event-hub-grid {
		grid-template-columns: 1fr;
	}
}

/* Event type accents */
.bandhub-event-type-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.1;
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-ink);
}

/* Admin surface cleanup: keep depth on outer wrappers, flatten inner panels/cards. */
body.page-id-300,
body.bandhub-account-page {
	--bandhub-admin-outer-shadow: 0 16px 36px rgba(10, 39, 74, 0.08);
	--bandhub-admin-inner-shadow: none;
	--bandhub-admin-inner-border: rgba(8, 99, 171, 0.14);
	--bandhub-admin-divider: rgba(8, 99, 171, 0.12);
}

body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section,
body.page-id-300 .bandhub-dashboard-shell,
body.page-id-300 .bandhub-home-section,
body.page-id-300 .bandhub-member-attendance-manager,
body.page-id-300 .bandhub-attendance-records-manager,
body.page-id-300 .jet-form-block,
body.page-id-300 .jet-listing-grid,
body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-home-section,
body.bandhub-account-page .bandhub-member-attendance-manager,
body.bandhub-account-page .bandhub-attendance-records-manager,
body.bandhub-account-page .jet-form-block,
body.bandhub-account-page .jet-listing-grid {
	box-shadow: var(--bandhub-admin-outer-shadow) !important;
}

body.page-id-300 :is(
	.bandhub-directory-card,
	.bandhub-attendance-record-item,
	.bandhub-member-attendance-item,
	.bandhub-rufus-summary-card-lg,
	.bandhub-rufus-event-card,
	.bandhub-admin-accordion,
	.bandhub-member-profile-shell,
	.bandhub-home-gig-card,
	.bandhub-home-featured-gig,
	.bandhub-home-upcoming-card,
	.bandhub-home-gig-trio-card
),
body.bandhub-account-page :is(
	.bandhub-directory-card,
	.bandhub-attendance-record-item,
	.bandhub-member-attendance-item,
	.bandhub-member-profile-shell,
	.bandhub-home-gig-card,
	.bandhub-home-featured-gig,
	.bandhub-home-upcoming-card,
	.bandhub-home-gig-trio-card
) {
	box-shadow: var(--bandhub-admin-inner-shadow) !important;
}

body.page-id-300 .bandhub-directory-card,
body.page-id-300 .bandhub-attendance-record-item,
body.page-id-300 .bandhub-member-attendance-item,
body.page-id-300 .bandhub-rufus-summary-card-lg,
body.page-id-300 .bandhub-rufus-event-card,
body.bandhub-account-page .bandhub-directory-card,
body.bandhub-account-page .bandhub-attendance-record-item,
body.bandhub-account-page .bandhub-member-attendance-item {
	border-color: var(--bandhub-admin-inner-border) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92)) !important;
}

body.page-id-300 .bandhub-directory-card .bandhub-directory-card,
body.page-id-300 .bandhub-directory-card .bandhub-member-profile-shell,
body.page-id-300 .bandhub-dashboard-shell .bandhub-directory-card,
body.page-id-300 .bandhub-dashboard-shell .bandhub-member-profile-shell,
body.bandhub-account-page .bandhub-directory-card .bandhub-directory-card,
body.bandhub-account-page .bandhub-directory-card .bandhub-member-profile-shell,
body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-card,
body.bandhub-account-page .bandhub-dashboard-shell .bandhub-member-profile-shell {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.page-id-300 .bandhub-member-profile-input,
body.page-id-300 .bandhub-member-profile-textarea,
body.page-id-300 .bandhub-dashboard-admin .bandhub-login-note,
body.page-id-300 .bandhub-rufus-mini-button,
body.page-id-300 .bandhub-rufus-manager-nav__link,
body.bandhub-account-page .bandhub-member-profile-input,
body.bandhub-account-page .bandhub-member-profile-textarea,
body.bandhub-account-page .bandhub-dashboard-admin .bandhub-login-note {
	box-shadow: none !important;
}

body.page-id-300 :is(
	.bandhub-member-profile-grid,
	.bandhub-rufus-summary-grid,
	.bandhub-rufus-event-card-grid,
	.bandhub-directory-grid,
	.bandhub-attendance-event-grid-list
) > * + *,
body.bandhub-account-page :is(
	.bandhub-member-profile-grid,
	.bandhub-directory-grid,
	.bandhub-attendance-event-grid-list
) > * + * {
	box-shadow: none !important;
}

body.page-id-300 .bandhub-rufus-events-list .bandhub-directory-card,
body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-directory-card,
body.page-id-300 .bandhub-rufus-events-manager .bandhub-directory-card,
body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-card {
	border-top-width: 1px !important;
}

body.page-id-300 .bandhub-rufus-events-list .bandhub-directory-card > * + *,
body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-directory-card > * + *,
body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-card > * + * {
	border-top-color: var(--bandhub-admin-divider);
}

body.page-id-300 .bandhub-rufus-event-editor-shell,
body.bandhub-account-page .bandhub-rufus-event-editor-shell {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.page-id-300 section.bandhub-home-section.bandhub-rufus-event-editor-shell,
body.bandhub-account-page section.bandhub-home-section.bandhub-rufus-event-editor-shell,
body.page-id-300 .bandhub-directory-page > .wp-block-group.bandhub-home-section.bandhub-rufus-event-editor-shell {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.bandhub-rufus-event-editor-shell .bandhub-directory-card {
	padding: 1.4rem;
}

.bandhub-rufus-event-editor-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.35rem;
	align-items: start;
}

body.page-id-300 .bandhub-home-columns,
body.bandhub-account-page .bandhub-home-columns {
	gap: 0.7rem;
	padding-top: 0.45rem;
}

body.page-id-300 .bandhub-home-sidebar,
body.bandhub-account-page .bandhub-home-sidebar {
	flex: 0 0 220px;
	width: 220px;
}

body.page-id-300 .bandhub-home-feature,
body.bandhub-account-page .bandhub-home-feature {
	flex: 1 1 auto;
	min-width: 0;
}

body.page-id-300 .bandhub-home-sidebar .bandhub-home-section,
body.bandhub-account-page .bandhub-home-sidebar .bandhub-home-section {
	padding: 0.8rem !important;
}

.bandhub-rufus-event-editor-hero,
.bandhub-rufus-event-editor-details {
	display: grid;
	gap: 1.15rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.bandhub-rufus-event-editor-toprow {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: 1.15rem;
	align-items: start;
}

.bandhub-rufus-event-editor-media-column,
.bandhub-rufus-event-editor-story,
.bandhub-rufus-event-editor-details {
	padding: 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-card-bg);
}

.bandhub-rufus-event-editor-media {
	overflow: hidden;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-event-editor-media img {
	display: block;
	width: 100%;
	min-height: 280px;
	max-height: 430px;
	object-fit: cover;
}

.bandhub-rufus-event-editor-media-controls {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

.bandhub-rufus-event-editor-media-column {
	display: grid;
	gap: 0.9rem;
	align-content: start;
}

.bandhub-rufus-event-editor-story {
	display: grid;
	gap: 0.7rem;
}

.bandhub-rufus-event-editor-content {
	min-height: 460px;
}

/* Use the Messenger's light, readable rich-text editor treatment throughout Rufus. */
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-toolbar-grp,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .quicktags-toolbar,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-toolbar-grp,
.bandhub-messenger-editor-field .wp-editor-wrap .quicktags-toolbar {
	background: #f7fafc !important;
	border-color: #c7dff2 !important;
}

.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-toolbar .mce-btn,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-toolbar .mce-btn button,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-menubtn button,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-toolbar .mce-btn,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-toolbar .mce-btn button,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-menubtn button,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .quicktags-toolbar input.button,
.bandhub-messenger-editor-field .wp-editor-wrap .quicktags-toolbar input.button {
	background: #fff !important;
	border-color: #c7dff2 !important;
	color: #223041 !important;
	border-radius: 3px !important;
	box-shadow: none !important;
}

.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-toolbar .mce-btn button span,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-toolbar .mce-btn i,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .mce-menubtn button span,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-toolbar .mce-btn button span,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-toolbar .mce-btn i,
.bandhub-messenger-editor-field .wp-editor-wrap .mce-menubtn button span {
	color: #223041 !important;
}

.bandhub-rufus-event-editor-content-field .wp-editor-wrap .wp-switch-editor,
.bandhub-messenger-editor-field .wp-editor-wrap .wp-switch-editor {
	background: #fff !important;
	border-color: #c7dff2 !important;
	color: #223041 !important;
}

.bandhub-rufus-event-editor-content-field .wp-editor-wrap .html-active .switch-html,
.bandhub-rufus-event-editor-content-field .wp-editor-wrap .tmce-active .switch-tmce,
.bandhub-messenger-editor-field .wp-editor-wrap .html-active .switch-html,
.bandhub-messenger-editor-field .wp-editor-wrap .tmce-active .switch-tmce {
	background: #fff !important;
	border-color: #c7dff2 !important;
	color: #223041 !important;
}

.bandhub-rufus-event-editor-host-preview {
	margin: 0;
}

.bandhub-rufus-event-editor-details-head {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 0.75rem;
}

.bandhub-rufus-event-editor-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.bandhub-rufus-event-editor-priority {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

.bandhub-rufus-event-editor-priority-item {
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-event-editor-priority-item h5,
.bandhub-rufus-event-editor-preview-note h5 {
	margin: 0 0 0.28rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

.bandhub-rufus-event-editor-priority-item p,
.bandhub-rufus-event-editor-preview-note p {
	margin: 0;
}

.bandhub-rufus-event-editor-fields {
	display: grid;
	gap: 0.75rem;
}

.bandhub-rufus-event-editor-fields .bandhub-member-profile-field {
	margin: 0;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 0.9rem;
	align-items: end;
	padding: 0;
	margin-bottom: 1.5rem;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters label,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters label {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-element-button,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-element-button {
	min-width: 0;
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters,
	body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters {
		flex-wrap: wrap;
	}
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters:not(.bandhub-musician-filters) p,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters:not(.bandhub-musician-filters) p {
	min-width: 0 !important;
	margin: 0 !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell :is(.wp-element-button, .wp-block-button__link),
body.bandhub-account-page .bandhub-rufus-event-editor-shell :is(.wp-element-button, .wp-block-button__link) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-height: 2.05rem;
	padding: 0.36rem 0.72rem !important;
	border-radius: 9px !important;
	font-size: 0.86rem !important;
	line-height: 1.1 !important;
	white-space: nowrap;
	transform: none !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-element-button,
body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-block-button__link,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-element-button,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters .wp-block-button__link {
	align-self: end;
	width: auto !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-editor-media-column :is(.wp-element-button, .wp-block-button__link),
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-editor-media-column :is(.wp-element-button, .wp-block-button__link) {
	min-width: 9rem;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-editor-media-controls :is(.wp-element-button, .wp-block-button__link),
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-editor-media-controls :is(.wp-element-button, .wp-block-button__link) {
	width: auto !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters :is(button, .wp-element-button, .wp-block-button__link, a.wp-element-button),
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters :is(button, .wp-element-button, .wp-block-button__link, a.wp-element-button) {
	width: auto !important;
	flex: 0 0 auto !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell :is(.wp-element-button:hover, .wp-element-button:focus, .wp-block-button__link:hover, .wp-block-button__link:focus),
body.bandhub-account-page .bandhub-rufus-event-editor-shell :is(.wp-element-button:hover, .wp-element-button:focus, .wp-block-button__link:hover, .wp-block-button__link:focus) {
	transform: none !important;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-member-profile-label,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-member-profile-label,
body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters label span,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-rufus-event-filters label span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-member-profile-input,
body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-member-profile-textarea,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-member-profile-input,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-member-profile-textarea {
	padding: 0.56rem 0.72rem;
	border-radius: 12px;
	font-size: 0.96rem;
}

body.page-id-300 .bandhub-rufus-event-editor-shell .bandhub-member-profile-submit-row,
body.bandhub-account-page .bandhub-rufus-event-editor-shell .bandhub-member-profile-submit-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	align-items: center;
}

/* Keep final event actions compact on the live Rufus workspace as well as
 * the older account/editor views. */
.bandhub-rufus-event-save-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.7rem;
	margin-top: 1.25rem;
}

.bandhub-rufus-event-save-actions :is(.wp-element-button, .wp-block-button__link) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	flex: 0 0 auto !important;
	box-sizing: border-box;
	width: auto !important;
	height: 2.5rem !important;
	max-height: 2.5rem !important;
	min-width: 0;
	min-height: 2.5rem !important;
	margin: 0 !important;
	padding: 0.65rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
}

.bandhub-rufus-event-save-actions .bandhub-rufus-broadcast-warning {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	flex: 1 0 100%;
	max-width: 42rem;
	margin: 0;
}

@media (max-width: 960px) {
	.bandhub-rufus-event-editor-toprow,
	.bandhub-rufus-event-editor-priority {
		grid-template-columns: 1fr;
	}
}

.bandhub-event-table-row.bandhub-event-type-gig td:first-child,
.bandhub-event-list-item.bandhub-event-type-gig {
	border-left: 4px solid var(--bandhub-border);
}

.bandhub-event-table-row.bandhub-event-type-gig td:first-child a,
.bandhub-event-list-item.bandhub-event-type-gig h4 a,
.bandhub-event-type-badge.bandhub-event-type-gig {
	color: var(--bandhub-heading);
}

.bandhub-event-type-badge.bandhub-event-type-gig {
	background: var(--bandhub-subtle-bg);
}

.bandhub-event-table-row.bandhub-event-type-rehearsal td:first-child,
.bandhub-event-list-item.bandhub-event-type-rehearsal {
	border-left: 4px solid var(--bandhub-border);
}

.bandhub-event-table-row.bandhub-event-type-rehearsal td:first-child a,
.bandhub-event-list-item.bandhub-event-type-rehearsal h4 a,
.bandhub-event-type-badge.bandhub-event-type-rehearsal {
	color: var(--bandhub-heading);
}

.bandhub-event-type-badge.bandhub-event-type-rehearsal {
	background: var(--bandhub-subtle-bg);
}

/* Account page de-layer + overflow hard fix */
body.bandhub-account-page main.wp-block-group,
body.bandhub-account-page .entry-content.wp-block-post-content,
body.bandhub-account-page .entry-content.wp-block-post-content > .wp-block-group.alignfull,
body.bandhub-account-page .entry-content.wp-block-post-content > .wp-block-group.alignfull > .wp-block-group.alignwide,
body.bandhub-account-page .entry-content.wp-block-post-content > .wp-block-group.alignfull > .wp-block-group.alignwide > .wp-block-group,
body.bandhub-account-page .entry-content.wp-block-post-content > .wp-block-group.alignfull > .wp-block-group.alignwide > .wp-block-group > .wp-block-group {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

body.bandhub-account-page main.wp-block-group {
	padding-top: 1.5rem !important;
	padding-right: 1.5rem !important;
	padding-bottom: 2rem !important;
	padding-left: 1.5rem !important;
}

body.bandhub-account-page .bandhub-dashboard-shell {
	margin-top: 0 !important;
}

body.bandhub-account-page .bandhub-home-section,
body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-dashboard-member {
	max-width: 100% !important;
	min-width: 0 !important;
	overflow-x: hidden;
}

body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-home-section {
	padding: 1.5rem !important;
}

body.bandhub-account-page .bandhub-directory-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1rem !important;
}

body.bandhub-account-page .bandhub-event-filters {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1rem !important;
	overflow: visible !important;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

body.bandhub-account-page .bandhub-event-filters p {
	min-width: 0 !important;
}

body.bandhub-account-page .bandhub-event-table {
	table-layout: auto !important;
	min-width: 0 !important;
}

body.bandhub-account-page .bandhub-event-table td,
body.bandhub-account-page .bandhub-event-table th,
body.bandhub-account-page .bandhub-inline-rsvp-form {
	min-width: 0;
	overflow-wrap: anywhere;
}

body.bandhub-account-page .bandhub-event-table th {
	padding: 0.8rem 0.65rem !important;
}

body.bandhub-account-page .bandhub-event-table td {
	padding: 0.95rem 0.75rem !important;
	line-height: 1.45;
}

body.bandhub-account-page .bandhub-inline-rsvp-form {
	gap: 0.55rem 0.8rem;
}

body.bandhub-account-page .bandhub-event-table td:nth-child(1) {
	width: 23%;
}

body.bandhub-account-page .bandhub-event-table td:nth-child(2) {
	width: 9%;
}

body.bandhub-account-page .bandhub-event-table td:nth-child(3) {
	width: 17%;
}

body.bandhub-account-page .bandhub-event-table td:nth-child(4) {
	width: 16%;
}

body.bandhub-account-page .bandhub-event-table td:nth-child(5) {
	width: 35%;
}

@media (max-width: 1100px) {
	body.bandhub-account-page .bandhub-directory-grid,
	body.bandhub-account-page .bandhub-event-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	body.bandhub-account-page main.wp-block-group {
		padding-right: 1rem !important;
		padding-left: 1rem !important;
	}

	body.bandhub-account-page .bandhub-dashboard-shell,
	body.bandhub-account-page .bandhub-home-section {
		padding: 1rem !important;
	}

	body.bandhub-account-page .bandhub-directory-grid,
	body.bandhub-account-page .bandhub-event-filters {
		grid-template-columns: 1fr !important;
	}
}

/* Account page final polish: remove legacy warm presets and tighten spacing */
body.bandhub-account-page .has-base-background-color,
body.bandhub-account-page .has-surface-background-color,
body.bandhub-account-page .has-accent-2-background-color,
body.bandhub-account-page .has-base-background,
body.bandhub-account-page .has-surface-background,
body.bandhub-account-page .has-accent-2-background,
body.bandhub-account-page [style*="#fffaf0"],
body.bandhub-account-page [style*="#f7f3e8"],
body.bandhub-account-page [style*="#c8a35d"],
body.bandhub-account-page [style*="--wp--preset--color--surface"],
body.bandhub-account-page [style*="--wp--preset--color--base"],
body.bandhub-account-page [style*="--wp--preset--color--accent-2"] {
	background: var(--bandhub-card-bg) !important;
	border-color: var(--bandhub-border) !important;
}

body.bandhub-account-page main.wp-block-group {
	max-width: 1180px !important;
	padding: clamp(1.25rem, 2.6vw, 2rem) clamp(1.25rem, 3.2vw, 2.5rem) 2rem !important;
}

body.bandhub-account-page .entry-content.wp-block-post-content,
body.bandhub-account-page .wp-block-post-content {
	padding: 0 !important;
}

body.bandhub-account-page .bandhub-dashboard-shell,
body.bandhub-account-page .bandhub-home-section,
body.bandhub-account-page .bandhub-member-attendance-manager,
body.bandhub-account-page .bandhub-attendance-records-manager {
	padding: clamp(1rem, 2vw, 1.4rem) !important;
	overflow: visible !important;
}

body.bandhub-account-page .bandhub-dashboard-title {
	margin-bottom: 0.25rem;
}

body.bandhub-account-page .bandhub-dashboard-description {
	margin: 0 0 0.65rem;
}

body.bandhub-account-page .bandhub-dashboard-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	gap: 0.45rem !important;
	margin-top: 0.7rem !important;
	overflow: visible !important;
}

body.bandhub-account-page .bandhub-dashboard-actions .wp-block-button__link {
	min-height: 2rem;
	padding: 0.38rem 0.75rem;
	font-size: 0.86rem;
	line-height: 1.1;
}

body.bandhub-account-page .bandhub-directory-grid {
	gap: 0.65rem !important;
}

body.bandhub-account-page .bandhub-dashboard-metrics {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border-top: 1px solid var(--bandhub-border);
	border-bottom: 1px solid var(--bandhub-border);
}

body.bandhub-account-page .bandhub-dashboard-metric-card {
	min-width: 0;
	padding: 0.6rem 0.75rem !important;
}

body.bandhub-account-page .bandhub-dashboard-metric-card + .bandhub-dashboard-metric-card {
	border-left: 1px solid var(--bandhub-border) !important;
}

body.bandhub-account-page .bandhub-dashboard-metric-card:nth-child(3n + 1) {
	border-left: 0 !important;
}

body.bandhub-account-page .bandhub-dashboard-metric-card:nth-child(n + 4) {
	border-top: 1px solid var(--bandhub-border) !important;
}

body.bandhub-account-page .bandhub-dashboard-metric-card .bandhub-directory-card-title {
	margin-bottom: 0.18rem;
	font-size: 0.95rem;
}

body.bandhub-account-page .bandhub-dashboard-metric-card .bandhub-directory-meta {
	font-size: 0.92rem;
	line-height: 1.35;
}

body.bandhub-account-page .bandhub-directory-card,
body.bandhub-account-page .bandhub-member-attendance-item,
body.bandhub-account-page .bandhub-attendance-record-item {
	padding: 0.65rem 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.bandhub-account-page .bandhub-member-attendance-list {
	gap: 0;
	border-top: 1px solid var(--bandhub-border);
}

body.bandhub-account-page .bandhub-member-attendance-form,
body.bandhub-account-page .bandhub-attendance-record-form {
	grid-template-columns: minmax(170px, 0.95fr) minmax(220px, 1.2fr) auto;
	gap: 0.4rem;
	margin-top: 0.5rem;
}

body.bandhub-account-page .bandhub-member-attendance-select,
body.bandhub-account-page .bandhub-member-attendance-note,
body.bandhub-account-page .bandhub-attendance-record-select,
body.bandhub-account-page .bandhub-attendance-record-note {
	min-height: 2.2rem;
	padding: 0.36rem 0.55rem !important;
}

body.bandhub-account-page .bandhub-member-attendance-submit,
body.bandhub-account-page .bandhub-attendance-record-submit {
	min-height: 2.2rem;
	padding: 0.38rem 0.7rem !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) {
	align-items: flex-start !important;
	display: grid !important;
	grid-template-columns: 245px minmax(0, 1fr) !important;
	gap: 1.25rem !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child,
body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) {
	position: sticky;
	top: 1rem;
	width: auto !important;
	max-width: none !important;
	min-height: 0;
	background: var(--bandhub-surface) !important;
	border: 0 !important;
	border-right: 3px solid var(--bandhub-block-blue) !important;
	border-radius: 0 !important;
	padding: 0.85rem 0.75rem !important;
	box-shadow: none !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.5rem) !important;
}

body.bandhub-account-page .jet-profile-menu__item-link {
	border: 0 !important;
	padding: 0.52rem 0.65rem !important;
}

body.bandhub-account-page .bandhub-account-profile-shell,
body.bandhub-account-page .bandhub-account-hub {
	padding: 0 !important;
}

body.bandhub-account-page .bandhub-account-subpage .jet-form-block,
body.bandhub-account-page .bandhub-account-subpage .jet-listing-grid,
body.bandhub-account-page .bandhub-account-subpage .bandhub-account-profile-shell {
	padding-inline: 0 !important;
}

body.bandhub-account-page .bandhub-home-section .bandhub-directory-card,
body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-card {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0.35rem 0 !important;
}

body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-grid {
	border-top: 0;
	border-bottom: 0;
}

body.bandhub-account-page .bandhub-dashboard-shell .bandhub-directory-card + .bandhub-directory-card,
body.bandhub-account-page .bandhub-member-attendance-item + .bandhub-member-attendance-item,
body.bandhub-account-page .bandhub-attendance-record-item + .bandhub-attendance-record-item {
	border-top: 1px solid var(--bandhub-border) !important;
}

body.bandhub-account-page .jet-profile-menu,
body.bandhub-account-page .jet-profile-menu__item {
	background-color: transparent !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child,
body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) {
	background: var(--bandhub-surface) !important;
}

body.bandhub-account-page .jet-profile-menu {
	position: static !important;
	padding: 0 !important;
}

body.bandhub-account-page .jet-profile-menu__item + .jet-profile-menu__item {
	margin-top: 0.15rem !important;
}

body.bandhub-account-page .jet-profile-menu__item-link {
	background-color: transparent !important;
	border-radius: 7px !important;
	color: var(--bandhub-ink) !important;
	font-size: 0.93rem;
}

body.bandhub-account-page .jet-profile-menu__item-link:hover,
body.bandhub-account-page .jet-profile-menu__item-link:focus {
	background-color: var(--bandhub-card-bg) !important;
}

body.bandhub-account-page .jet-profile-menu__item-link[aria-current="page"],
body.bandhub-account-page .jet-profile-menu__item.is-active .jet-profile-menu__item-link,
body.bandhub-account-page .jet-profile-menu__item.current-menu-item .jet-profile-menu__item-link {
	background: var(--bandhub-button-bg) !important;
	color: var(--bandhub-button-text) !important;
}

body.bandhub-account-page :is(.wp-block-column, .wp-block-group, .wp-block-cover, .jet-form-block, .jet-listing-grid)[style*="250,240"],
body.bandhub-account-page :is(.wp-block-column, .wp-block-group, .wp-block-cover, .jet-form-block, .jet-listing-grid)[style*="255,250"],
body.bandhub-account-page :is(.wp-block-column, .wp-block-group, .wp-block-cover, .jet-form-block, .jet-listing-grid)[style*="200,163"] {
	background: var(--bandhub-card-bg) !important;
	border-color: var(--bandhub-border) !important;
}

@media (max-width: 760px) {
	body.bandhub-account-page main.wp-block-group {
		padding: 1rem 1rem 1.4rem !important;
	}

	body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) {
		display: block !important;
	}

	body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child,
	body.bandhub-account-page .wp-site-blocks > main :is(.wp-block-column, .wp-block-group):has(.jet-profile-menu) {
		position: static;
		min-height: 0;
		border-right: 0 !important;
		border-top: 3px solid var(--bandhub-block-blue) !important;
		margin-bottom: 1rem;
	}

	body.bandhub-account-page .bandhub-dashboard-metrics {
		grid-template-columns: 1fr !important;
	}

	body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
		padding: 1rem !important;
	}

	body.bandhub-account-page .bandhub-dashboard-metric-card,
	body.bandhub-account-page .bandhub-dashboard-metric-card + .bandhub-dashboard-metric-card {
		border-left: 0 !important;
	}

	body.bandhub-account-page .bandhub-dashboard-metric-card + .bandhub-dashboard-metric-card {
		border-top: 1px solid var(--bandhub-border) !important;
	}

	body.bandhub-account-page .bandhub-member-attendance-form,
	body.bandhub-account-page .bandhub-attendance-record-form {
		grid-template-columns: 1fr;
	}
}

/* Home layout: Gutenberg pattern-driven classic shell */
.bandhub-layout-shell {
	border: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.bandhub-top-row {
	padding: 0.3rem 0.5rem;
	border-bottom: 1px solid var(--bandhub-border);
	gap: 0.65rem;
	flex-wrap: nowrap !important;
	align-items: center;
}

.bandhub-topbar {
	padding: 0.45rem 0.5rem;
	margin-bottom: 0;
	border-bottom: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	gap: 0.75rem;
}

.bandhub-topbar-note,
.bandhub-topbar-links p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.2;
}

.bandhub-topbar-note {
	color: var(--bandhub-muted);
	font-weight: 600;
}

.bandhub-topbar-links {
	gap: 0.75rem;
}

.bandhub-topbar-links a {
	text-decoration: none;
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-topbar-account-menu {
	position: relative;
}

.bandhub-topbar-account-menu summary {
	list-style: none;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-topbar-account-menu summary::-webkit-details-marker {
	display: none;
}

.bandhub-topbar-account-menu summary::after {
	content: "▾";
	display: inline-block;
	margin-left: 0.35rem;
	font-size: 0.7rem;
}

.bandhub-topbar-account-menu[open] summary::after {
	transform: rotate(180deg);
}

.bandhub-topbar-account-panel {
	position: absolute;
	right: 0;
	z-index: 30;
	min-width: 220px;
	margin-top: 0.45rem;
	padding: 0.55rem 0;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
	box-shadow: var(--bandhub-shadow);
}

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

.bandhub-topbar-account-list li {
	margin: 0;
}

.bandhub-topbar-account-list a {
	display: block;
	padding: 0.5rem 0.85rem;
	text-decoration: none;
	font-weight: 600;
	color: var(--bandhub-ink);
}

.bandhub-topbar-account-list li.is-current a,
.bandhub-topbar-account-list a:hover,
.bandhub-topbar-account-list a:focus {
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
}

.bandhub-top-brand h1 {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	line-height: 1.1;
}

.bandhub-header-mark {
	margin: 0;
	flex: 0 0 auto;
}

.bandhub-header-mark img {
	display: block;
	width: 72px;
	height: auto;
}

.bandhub-top-brand .bandhub-home-eyebrow {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.1;
}

.bandhub-top-quote {
	display: none;
	margin: 0;
	color: var(--bandhub-muted);
	text-align: left;
	white-space: nowrap;
	font-size: 0.82rem;
}

.bandhub-top-cta {
	margin: 0;
	flex: 0 0 auto;
}

.bandhub-home-nav {
	border: 0;
	background: transparent;
	padding: 0;
	gap: 0.6rem;
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: nowrap !important;
}

.bandhub-home-nav p {
	margin: 0;
	font-size: 0.86rem;
	white-space: nowrap;
}

.bandhub-home-nav a {
	text-decoration: none;
	font-weight: 600;
}

/* Shared public header: a compact account stripe and a calmer main row. */
.bandhub-site-header {
	/* Match the site's 1rem canvas gutter without viewport-width math.
	 * This stays full-bleed without adding the scrollbar width to the page. */
	width: calc(100% + 2rem) !important;
	max-width: none !important;
	margin-right: -1rem !important;
	margin-left: -1rem !important;
	padding: 0 !important;
	background: var(--bandhub-card-bg);
	box-shadow: 0 1px 0 rgba(8, 99, 171, 0.12);
}

.bandhub-site-header .bandhub-topbar {
	box-sizing: border-box;
	/* The header wrapper is already alignfull.  Keeping its inner rows at
	 * 100% prevents the two 100vw breakouts from creating a horizontal scroll. */
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
	min-height: 2.55rem;
	padding: 0.35rem clamp(1rem, 4vw, 3rem);
	border: 0;
	background: var(--bandhub-heading);
	color: var(--bandhub-card-bg);
	justify-content: flex-end !important;
}

.bandhub-site-header .bandhub-topbar-links,
.bandhub-site-header .bandhub-topbar-links > p {
	margin: 0;
}

.bandhub-site-header .bandhub-topbar-links {
	width: 100%;
	margin-left: auto;
	justify-content: flex-end !important;
}

/* Gutenberg leaves empty paragraph blocks around the account menu. */
.bandhub-site-header .bandhub-topbar-links > p:not(:has(a)) {
	display: none;
}

.bandhub-site-header .bandhub-topbar-links > p,
.bandhub-site-header .bandhub-topbar-account-menu {
	display: inline-flex;
	align-items: center;
	min-height: 1.75rem;
	margin: 0;
	padding: 0.1rem 0.15rem 0.1rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
}

.bandhub-site-header .bandhub-topbar-links > p a,
.bandhub-site-header .bandhub-topbar-account-menu summary {
	padding: 0.24rem 0.55rem;
	color: var(--bandhub-card-bg);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.bandhub-site-header .bandhub-topbar-links > p a:hover,
.bandhub-site-header .bandhub-topbar-links > p a:focus,
.bandhub-site-header .bandhub-topbar-account-menu summary:hover,
.bandhub-site-header .bandhub-topbar-account-menu summary:focus {
	color: var(--bandhub-card-bg);
	text-decoration: none;
}

.bandhub-site-header .bandhub-topbar-account-menu summary::after {
	margin-left: 0.45rem;
}

.bandhub-site-header .bandhub-top-row {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
	min-height: 6.8rem;
	padding: 1rem clamp(1rem, 4vw, 3rem);
	border: 0;
	gap: clamp(0.85rem, 2vw, 2rem);
	background: var(--bandhub-card-bg);
	box-shadow: none;
}

/* Do not let a constrained Group shrink the two full-width header rows. */
.bandhub-site-header.is-layout-constrained > .bandhub-topbar,
.bandhub-site-header.is-layout-constrained > .bandhub-top-row {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.bandhub-site-header .bandhub-header-identity {
	flex: 0 1 auto;
	min-width: 0;
	gap: 0.85rem;
}

.bandhub-site-header .wp-block-site-logo {
	margin: 0;
	flex: 0 0 auto;
}

.bandhub-site-header .wp-block-site-logo img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.bandhub-site-header .bandhub-top-brand {
	min-width: 0;
}

.bandhub-site-header .bandhub-top-brand .wp-block-site-tagline {
	margin: 0 0 0.18rem;
	color: var(--bandhub-muted);
	font-size: 0.78rem;
	line-height: 1.25;
}

.bandhub-site-header .bandhub-header-title {
	margin: 0;
	font-family: var(--bandhub-font-heading);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 800;
	line-height: 1.05;
}

.bandhub-site-header .bandhub-header-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-site-header .bandhub-header-title a:hover,
.bandhub-site-header .bandhub-header-title a:focus {
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.bandhub-site-header .bandhub-header-nav {
	margin-left: auto;
	flex: 0 1 auto;
}

.bandhub-site-header .bandhub-header-nav .wp-block-navigation__container {
	gap: clamp(0.75rem, 1.8vw, 1.55rem);
}

.bandhub-site-header .bandhub-header-nav a {
	font-weight: 700;
	text-decoration: none;
}

.bandhub-site-header .wp-block-woocommerce-mini-cart {
	margin: 0;
	flex: 0 0 auto;
}

@media (max-width: 800px) {
	.bandhub-site-header .bandhub-top-row {
		min-height: 0;
		padding: 0.9rem 1rem;
		flex-wrap: wrap !important;
		overflow: visible;
	}

	.bandhub-site-header .bandhub-header-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
	}

	.bandhub-site-header .bandhub-header-nav .wp-block-navigation__container {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

@media (max-width: 480px) {
	.bandhub-site-header .bandhub-topbar {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.bandhub-site-header .wp-block-site-logo img {
		width: 52px;
		height: 52px;
	}

	.bandhub-site-header .bandhub-header-title {
		font-size: 1.28rem;
	}
}

.bandhub-home-columns {
	align-items: flex-start;
	gap: 1rem;
	padding-top: 0.9rem;
}

.bandhub-home-sidebar {
	flex: 0 0 330px;
	width: 330px;
}

.bandhub-home-feature {
	flex: 1 1 auto;
	min-width: 0;
}

.bandhub-home-sidebar .bandhub-home-section {
	margin-top: 0;
	margin-bottom: 0.8rem;
}

.bandhub-home-feature .bandhub-home-hero {
	margin-bottom: 1rem;
}

.bandhub-home-path-grid {
	gap: 0.9rem;
}

.bandhub-home-path-card {
	position: relative;
	overflow: hidden;
	height: 100%;
	padding: 1.25rem 0.95rem 0.95rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
	color: var(--bandhub-ink);
}

.bandhub-home-path-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0.45rem;
	background: var(--bandhub-block-blue);
}

.bandhub-home-path-card:nth-child(3n+2)::before {
	background: var(--bandhub-block-red);
}

.bandhub-home-path-card:nth-child(3n)::before {
	background: var(--bandhub-block-yellow);
}

.bandhub-home-path-card h3 {
	margin-top: 0;
	color: var(--bandhub-heading);
}

.bandhub-home-footer-nav {
	margin-top: 0.5rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--bandhub-border);
	gap: 0.65rem;
}

.bandhub-home-footer-nav p {
	margin: 0;
	font-size: 0.9rem;
}

@media (max-width: 980px) {
	.bandhub-top-row {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.bandhub-site-header .bandhub-top-row {
		overflow-x: clip;
	}

	.bandhub-topbar {
		padding-right: 0;
		padding-left: 0;
	}

	.bandhub-home-columns {
		flex-wrap: wrap !important;
	}

	.bandhub-home-sidebar,
	.bandhub-home-feature {
		flex: 1 1 100%;
		width: 100%;
	}
}

/* JetEngine calendar day card */
.bandhub-croco-event-card {
	display: grid;
	gap: 0.5rem;
	height: 100%;
	padding: 0.5rem;
	border-radius: 0;
	background: var(--bandhub-card-bg);
	text-align: left;
	align-content: start;
}

.bandhub-croco-event-card .wp-block-post-featured-image {
	margin: 0;
	line-height: 0;
	display: block;
	/* Keep event art consistent regardless of the source image's crop. */
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 4px;
	background: var(--bandhub-subtle-bg-strong);
	overflow: hidden;
}

.bandhub-croco-event-card .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.bandhub-croco-event-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 0;
	background: transparent;
}

.bandhub-croco-event-card .wp-block-post-title {
	margin: 0;
	text-align: left;
}

.bandhub-croco-event-card .wp-block-post-title a {
	display: block;
	color: var(--bandhub-heading);
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.18;
	text-decoration: none;
}

.bandhub-croco-event-card .wp-block-post-title a:hover,
.bandhub-croco-event-card .wp-block-post-title a:focus {
	text-decoration: underline;
}

.bandhub-croco-event-card .jet-listing-dynamic-field-block {
	margin: 0;
}

.bandhub-croco-event-card .bandhub-croco-event-card__time .jet-listing-dynamic-field__content {
	color: var(--bandhub-muted);
	font-size: 0.78rem;
	line-height: 1.3;
	text-align: left;
}

.bandhub-croco-event-card .bandhub-croco-event-card__venue .jet-listing-dynamic-field__content {
	color: var(--bandhub-ink);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
}

.bandhub-croco-event-card .bandhub-croco-event-card__venue {
	padding-bottom: 0.05rem;
}

/* The public gig listing template uses a Cover block for featured images. */
.bandhub-directory-gigs .jet-listing-grid__item > .wp-block-group > .wp-block-cover {
	aspect-ratio: 1 / 1;
	min-height: 0;
}

.bandhub-rufus-manager-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0 1.75rem;
}

.bandhub-rufus-manager-nav__link {
	border: 1px solid rgba(8, 99, 171, 0.18);
	border-radius: 999px;
	color: var(--bandhub-heading);
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0.7rem 1rem;
	text-decoration: none;
	background: #fff;
}

.bandhub-rufus-manager-nav__link.is-active,
.bandhub-rufus-manager-nav__link:hover,
.bandhub-rufus-manager-nav__link:focus {
	background: var(--bandhub-heading);
	color: #fff;
}

.bandhub-rufus-quicktools {
	margin-top: 0;
	margin-bottom: 2rem;
}

.bandhub-rufus-summary-overview,
.bandhub-rufus-dashboard-events {
	margin-top: 2rem;
}

.bandhub-rufus-section-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bandhub-rufus-section-title {
	color: var(--bandhub-heading);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 700;
	margin: 0;
}

.bandhub-rufus-inline-link,
.bandhub-rufus-summary-link {
	color: var(--bandhub-heading);
	font-weight: 700;
	text-decoration: none;
}

.bandhub-rufus-inline-link:hover,
.bandhub-rufus-inline-link:focus,
.bandhub-rufus-summary-link:hover,
.bandhub-rufus-summary-link:focus {
	text-decoration: underline;
}

.bandhub-rufus-summary-grid,
.bandhub-rufus-event-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bandhub-rufus-summary-card-lg,
.bandhub-rufus-event-card {
	background: #fff;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(10, 39, 74, 0.08);
	padding: 1.2rem;
}

.bandhub-rufus-music-workflow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.25rem 0 1.75rem;
}

.bandhub-rufus-music-workflow-card,
.bandhub-rufus-music-stage {
	background: #fff;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(10, 39, 74, 0.08);
	padding: 1.25rem;
}

.bandhub-rufus-music-workflow-step,
.bandhub-rufus-music-stage-kicker {
	color: var(--bandhub-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.45rem;
	text-transform: uppercase;
}

.bandhub-rufus-music-workflow-title {
	color: var(--bandhub-heading);
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 0.55rem;
}

.bandhub-rufus-music-workflow-copy {
	margin: 0;
}

.bandhub-rufus-music-workflow-card .bandhub-rufus-workspace-actions {
	margin: 1rem 0 0;
}

.bandhub-rufus-music-stage {
	margin-top: 0.85rem;
	padding: 0.85rem;
}

.bandhub-rufus-music-subtabs {
	display: grid;
	gap: 0.7rem;
	margin: 0 0 1rem;
}

.bandhub-rufus-music-subtabs-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem 1rem;
}

.bandhub-rufus-music-subtabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.bandhub-rufus-music-subtab-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border: 1px solid #0863ab;
	border-radius: 999px;
	background: #fff;
	color: #0863ab;
	text-decoration: none;
	font-weight: 700;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.bandhub-rufus-music-subtab-link:hover,
.bandhub-rufus-music-subtab-link:focus {
	background: #e8f2fb;
	border-color: #064f87;
	color: #064f87;
	outline: none;
}

.bandhub-rufus-music-subtab-link.is-active {
	background: #0863ab;
	color: #fff;
	border-color: #0863ab;
}

.bandhub-rufus-music-panel:not(.is-active) {
	display: none;
}

.bandhub-rufus-music-panel.is-active {
	display: block;
}

.bandhub-rufus-music-stage--manage {
	margin-top: 0;
}

.bandhub-rufus-music-workspace > .bandhub-rufus-section-heading-row {
	margin-bottom: 0.4rem;
}

body.page-id-300 .bandhub-home-section.bandhub-rufus-music-workspace,
body.page-id-300 .bandhub-home-section.bandhub-rufus-resources-workspace,
body.bandhub-account-page .bandhub-home-section.bandhub-rufus-resources-workspace,
body.bandhub-account-page .bandhub-home-section.bandhub-rufus-music-workspace {
	padding: 0.85rem !important;
}

/* The workspace canvas owns the frame; resources keeps only its two useful
 * inner cards instead of adding another border around the whole tab. */
body.page-id-300 .bandhub-home-section.bandhub-rufus-resources-workspace,
body.bandhub-account-page .bandhub-home-section.bandhub-rufus-resources-workspace {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.page-id-2194 .bandhub-rufus-panel:has(.bandhub-rufus-resources-workspace) {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Rufus is a fixed sidebar plus a flexible workspace. Never let WordPress's
 * saved column percentages squeeze the editor into a skinny strip. */
body.page-id-2194 .bandhub-rufus-workspace-columns {
	display: grid !important;
	grid-template-columns: 230px minmax(0, 1fr) !important;
	gap: 1.25rem !important;
	align-items: start !important;
}

body.page-id-2194 .bandhub-rufus-workspace-columns > .wp-block-column {
	width: auto !important;
	min-width: 0 !important;
	flex: none !important;
}

body.page-id-2194 .bandhub-rufus-workspace-columns > .wp-block-column:first-child {
	grid-column: 1;
}

body.page-id-2194 .bandhub-rufus-workspace-columns > .wp-block-column:last-child {
	grid-column: 2;
}

body.page-id-2194 .bandhub-rufus-events-manager-shell {
	width: 100% !important;
	max-width: none !important;
}

@media (max-width: 980px) {
	body.page-id-2194 .bandhub-rufus-workspace-columns {
		grid-template-columns: 1fr !important;
	}

	body.page-id-2194 .bandhub-rufus-workspace-columns > .wp-block-column:first-child,
	body.page-id-2194 .bandhub-rufus-workspace-columns > .wp-block-column:last-child {
		grid-column: 1;
	}
}

body.page-id-300 .bandhub-rufus-music-workspace > .bandhub-rufus-section-heading-row,
body.page-id-300 .bandhub-rufus-resources-workspace > .bandhub-rufus-section-heading-row,
body.bandhub-account-page .bandhub-rufus-resources-workspace > .bandhub-rufus-section-heading-row,
body.bandhub-account-page .bandhub-rufus-music-workspace > .bandhub-rufus-section-heading-row {
	margin-bottom: 0.6rem;
}

.bandhub-rufus-resources-grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
	gap: 1rem;
	align-items: start;
}

.bandhub-rufus-resource-upload-form,
.bandhub-rufus-resource-list {
	display: grid;
	gap: 0.85rem;
}

.bandhub-rufus-resource-checkbox {
	margin: 0;
	font-size: 0.95rem;
}

.bandhub-rufus-resource-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	padding-top: 0.85rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-rufus-resource-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.bandhub-rufus-resource-row-copy {
	min-width: 0;
	display: grid;
	gap: 0.35rem;
}

.bandhub-rufus-resource-row-copy .bandhub-directory-card-title,
.bandhub-rufus-resource-row-copy .bandhub-directory-meta,
.bandhub-rufus-resource-row-copy .bandhub-member-resource-meta {
	margin: 0;
}

.bandhub-rufus-resource-row-actions {
	display: grid;
	gap: 0.55rem;
	justify-items: end;
}

.bandhub-rufus-resource-delete-button {
	background: #9f1d1d;
}

.bandhub-rufus-resource-delete-button:hover,
.bandhub-rufus-resource-delete-button:focus-visible {
	background: #791616;
}

.bandhub-rufus-resource-status {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #f4efe6;
	border: 1px solid var(--bandhub-border);
	color: var(--bandhub-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.bandhub-rufus-resource-status.is-included {
	background: #e4f3e6;
	color: #2f6a3c;
	border-color: rgba(47, 106, 60, 0.22);
}

.bandhub-rufus-resource-toggle-form {
	margin: 0;
}

.bandhub-rufus-music-library-drawer {
	margin-top: 0.75rem;
}

.bandhub-rufus-music-library-drawer > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: #fff;
	color: var(--bandhub-heading);
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.bandhub-rufus-music-library-drawer > summary::-webkit-details-marker {
	display: none;
}

.bandhub-rufus-music-library-drawer[open] > summary {
	margin-bottom: 0.6rem;
}

.bandhub-rufus-music-stage--library {
	margin-top: 0;
}

.bandhub-folder-manager,
.bandhub-folder-list-shell {
	display: grid;
	gap: 0.6rem;
}

.bandhub-folder-manager-intro > * + *,
.bandhub-folder-list-shell > * + * {
	margin-top: 0.45rem;
}

.bandhub-folder-manager-kicker {
	color: var(--bandhub-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0;
	text-transform: uppercase;
}

.bandhub-folder-manager-title {
	color: var(--bandhub-heading);
	font-size: clamp(1.3rem, 1.7vw, 1.7rem);
	font-weight: 700;
	margin: 0.15rem 0 0;
}

.bandhub-folder-manager-copy,
.bandhub-folder-manager-readonly {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.5;
}

.bandhub-folder-manager-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.65rem;
	align-items: start;
}

.bandhub-folder-create-form,
.bandhub-song-search-form {
	display: grid;
	gap: 0.25rem;
	margin: 0;
}

.bandhub-folder-create-form--inline {
	gap: 0;
}

.bandhub-folder-create-form--secondary {
	padding-top: 0.1rem;
	border-top: 1px solid rgba(8, 99, 171, 0.1);
}

.bandhub-folder-manager-label {
	display: block;
	font-weight: 700;
	margin: 0;
}

.bandhub-folder-manager-label--compact {
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bandhub-folder-manager-inline,
.bandhub-song-add-form .bandhub-folder-manager-inline {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.bandhub-folder-create-form .bandhub-folder-manager-inline {
	align-items: stretch;
}

.bandhub-folder-create-form--inline .bandhub-folder-manager-inline {
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.6rem;
}

.bandhub-folder-create-form--secondary .bandhub-folder-manager-inline {
	justify-content: flex-start;
}

.bandhub-folder-manager :is(input[type="text"], input[type="search"], select) {
	min-height: 46px;
	border-radius: 14px;
	padding: 0.65rem 0.9rem;
}

.bandhub-folder-create-form :is(input[type="text"], button) {
	min-height: 42px;
	border-radius: 14px;
	padding: 0.52rem 0.82rem;
}

.bandhub-folder-create-form select {
	min-height: 42px;
	border-radius: 14px;
	padding: 0.52rem 0.82rem;
}

.bandhub-folder-manager-inline > :is(input[type="text"], input[type="search"]) {
	flex: 1 1 18rem;
}

.bandhub-folder-toolbar-button,
.bandhub-folder-manager-inline > button {
	min-width: 84px;
	padding-inline: 0.85rem;
	font-size: 0.9rem;
	line-height: 1;
	white-space: nowrap;
}

.bandhub-folder-create-button {
	flex: 0 0 auto;
	min-width: 0;
	padding-inline: 0.9rem;
	white-space: nowrap;
}

.bandhub-folder-inline-kicker {
	flex: 0 0 auto;
	color: var(--bandhub-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bandhub-folder-create-form--inline input[type="text"] {
	min-width: 0;
	flex: 1 1 auto;
}

.bandhub-folder-create-form--secondary input[type="text"] {
	max-width: 30rem;
}

.bandhub-folder-create-shell {
	display: grid;
	gap: 0.5rem;
	padding: 0.95rem 1rem 1rem;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(246, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.bandhub-folder-setup-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
	grid-template-areas:
		"selection create";
	gap: 1rem 1.35rem;
	align-items: start;
}

.bandhub-folder-tabs-shell--selection {
	grid-area: selection;
}

.bandhub-folder-create-shell--top {
	grid-area: create;
	align-self: start;
}

.bandhub-folder-section-heading {
	display: grid;
	gap: 0.2rem;
}

.bandhub-folder-section-heading p,
.bandhub-folder-create-disclosure > p {
	margin: 0;
	color: var(--bandhub-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.bandhub-folder-create-disclosure {
	display: grid;
	gap: 0.75rem;
}

.bandhub-folder-create-disclosure summary {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 2.35rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--bandhub-button-bg);
	border-radius: 10px;
	background: #fff;
	color: var(--bandhub-button-bg);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.bandhub-folder-create-disclosure summary::-webkit-details-marker {
	display: none;
}

.bandhub-folder-create-disclosure[open] summary {
	background: var(--bandhub-subtle-bg);
}

.bandhub-folder-link-disclosure {
	margin: 0.15rem 0 0;
}

.bandhub-folder-link-disclosure summary {
	cursor: pointer;
	color: var(--bandhub-heading);
	font-size: 0.9rem;
	font-weight: 700;
	list-style: none;
}

.bandhub-folder-link-disclosure summary::-webkit-details-marker {
	display: none;
}

.bandhub-folder-link-disclosure summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 1.15rem;
	margin-left: 0.45rem;
	border: 1px solid rgba(8, 99, 171, 0.22);
	border-radius: 999px;
	color: var(--bandhub-button-bg);
	font-size: 0.82rem;
	line-height: 1;
}

.bandhub-folder-link-disclosure[open] summary::after {
	content: "−";
}

.bandhub-folder-link-disclosure .bandhub-folder-link-form {
	margin-top: 0.55rem;
}

.bandhub-folder-create-heading {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
}

.bandhub-folder-tabs-shell {
	display: grid;
	gap: 0.65rem;
	padding: 0.15rem 0 0.2rem;
}

.bandhub-folder-tabs-heading {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
}

.bandhub-folder-link-shell {
	display: grid;
	gap: 0.45rem;
	padding: 0.9rem 1rem 1rem;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(246, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.bandhub-folder-link-shell--inline {
	grid-area: copy;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.bandhub-folder-link-heading {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
}

.bandhub-folder-link-copy {
	margin: 0;
	color: var(--bandhub-ink);
	font-size: 0.95rem;
	line-height: 1.45;
}

.bandhub-folder-link-copy--muted {
	color: var(--bandhub-muted);
}

.bandhub-folder-link-form select {
	min-width: 0;
	flex: 1 1 18rem;
}

.bandhub-folder-link-shell--inline .bandhub-folder-link-form {
	gap: 0;
}

.bandhub-folder-link-shell--inline .bandhub-folder-manager-inline {
	gap: 0.55rem;
	justify-content: flex-start;
}

.bandhub-folder-link-shell--inline .bandhub-folder-inline-kicker {
	min-width: 6rem;
}

.bandhub-folder-link-shell--inline .bandhub-folder-link-form {
	max-width: 38rem;
}

.bandhub-folder-stage-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.35rem 0 0.55rem;
}

.bandhub-folder-library-list {
	display: grid;
	gap: 0;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 18px;
	overflow: auto;
	background: #fff;
	box-shadow: 0 12px 32px rgba(10, 39, 74, 0.05);
}

.bandhub-folder-selection-form {
	display: grid;
	gap: 0.65rem;
}

.bandhub-folder-selection-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 1rem;
}

.bandhub-folder-library-list--matrix {
	overflow-x: auto;
}

.bandhub-folder-library-list--matrix .bandhub-folder-library-head,
.bandhub-folder-library-list--matrix .bandhub-folder-library-row {
	grid-template-columns: minmax(260px, 1.8fr) 72px repeat(var(--bandhub-folder-columns, 0), 96px);
	min-width: max-content;
}

.bandhub-folder-library-list--setlist-matrix .bandhub-folder-library-head,
.bandhub-folder-library-list--setlist-matrix .bandhub-folder-library-row {
	grid-template-columns: minmax(260px, 1.8fr) repeat(var(--bandhub-folder-columns, 0), 96px);
}

.bandhub-folder-library-head,
.bandhub-folder-library-row {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) 90px minmax(220px, 1.2fr);
	gap: 1rem;
	align-items: center;
}

.bandhub-folder-library-head {
	color: var(--bandhub-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.7rem 0.8rem;
	position: sticky;
	top: 0;
	background: #eef5fb;
	z-index: 1;
	text-transform: uppercase;
}

.bandhub-folder-library-head > span,
.bandhub-folder-library-row > div {
	min-width: 0;
}

.bandhub-folder-library-head > span:nth-child(n+2) {
	text-align: center;
}

.bandhub-folder-library-head > span:nth-child(n+3) {
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.bandhub-folder-library-row {
	background: #fff;
	border-top: 1px solid rgba(8, 99, 171, 0.1);
	border-radius: 0;
	padding: 0.65rem 0.8rem;
}

.bandhub-folder-library-song-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.bandhub-folder-library-song-title a {
	text-decoration: none;
}

.bandhub-folder-library-song-title a:hover,
.bandhub-folder-library-song-title a:focus {
	text-decoration: underline;
}

.bandhub-song-library-feedback {
	display: block;
	margin: 0.22rem 0 0;
	color: var(--bandhub-muted);
	font-size: 0.82rem;
	line-height: 1.35;
}

.bandhub-folder-library-number strong {
	color: var(--bandhub-ink);
	font-size: 1rem;
	font-weight: 700;
}

.bandhub-folder-library-check,
.bandhub-folder-library-action--setlist,
.bandhub-folder-library-action--folder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.bandhub-folder-library-mobile-label {
	display: none;
	color: var(--bandhub-muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.bandhub-folder-library-action,
.bandhub-song-add-form {
	margin: 0;
}

.bandhub-folder-choice-group {
	border: 0;
	margin: 0 0 0.45rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.bandhub-folder-choice {
	position: relative;
	display: inline-flex;
}

.bandhub-folder-choice input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bandhub-folder-choice span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 999px;
	background: #fff;
	color: var(--bandhub-heading);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.1;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
	cursor: pointer;
}

.bandhub-folder-choice input[type="radio"]:checked + span {
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
	color: #fff;
}

.bandhub-folder-choice input[type="radio"]:focus-visible + span,
.bandhub-folder-choice:hover span {
	border-color: var(--bandhub-button-bg);
	transform: translateY(-1px);
}

.bandhub-folder-library-readonly {
	margin: 0;
	color: var(--bandhub-muted);
}

.bandhub-folder-library-action {
	align-self: start;
}

.bandhub-folder-library-list--setlist-matrix .bandhub-folder-choice span {
	min-height: 18px;
	width: 18px;
	padding: 0;
	border-radius: 999px;
	font-size: 0;
}

.bandhub-folder-library-list--setlist-matrix .bandhub-folder-choice input[type="radio"]:checked + span::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
}

.bandhub-folder-library-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: .35rem;
	text-align: left;
}

.bandhub-folder-library-toggle input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bandhub-folder-library-toggle span {
	display: inline-flex;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(8, 99, 171, 0.26);
	border-radius: 5px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.bandhub-folder-library-toggle input[type="checkbox"]:checked + span {
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
}

.bandhub-folder-library-toggle input[type="checkbox"]:checked + span::after {
	content: "";
	width: 5px;
	height: 9px;
	margin: auto;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-1px) rotate(45deg);
}

.bandhub-folder-library-toggle:hover span,
.bandhub-folder-library-toggle input[type="checkbox"]:focus-visible + span {
	border-color: var(--bandhub-button-bg);
	transform: translateY(-1px);
}

.bandhub-folder-selection-actions {
	display: flex;
	justify-content: flex-end;
}

.bandhub-song-add-form .bandhub-folder-manager-inline {
	justify-content: flex-start;
}

.bandhub-song-add-form .bandhub-folder-manager-inline button {
	padding: 0.45rem 0.8rem;
	min-height: 36px;
	line-height: 1;
}

.bandhub-folder-list-shell > h2,
.bandhub-folder-list-shell > p {
	margin: 0;
}

.bandhub-folder-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.bandhub-folder-tab-shell {
	position: relative;
}

.bandhub-folder-tab {
	display: inline-flex;
	flex-direction: column;
	gap: 0.24rem;
	min-width: 11.5rem;
	padding: 0.8rem 2.05rem 0.8rem 0.95rem;
	border: 1px solid rgba(8, 99, 171, 0.14);
	border-radius: 16px;
	background: #fff;
	color: var(--bandhub-heading);
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(10, 39, 74, 0.06);
	transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.bandhub-folder-tab:hover,
.bandhub-folder-tab:focus,
.bandhub-folder-tab.is-active {
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
	color: #fff;
	transform: translateY(-1px);
}

.bandhub-folder-tab-delete-form {
	position: absolute;
	right: 0.28rem;
	bottom: 0.28rem;
	margin: 0;
	z-index: 2;
}

.bandhub-folder-tab-delete-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.55rem;
	padding: 0.18rem 0.45rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.bandhub-folder-tab-delete-button:hover,
.bandhub-folder-tab-delete-button:focus {
	transform: translateY(-1px);
}

.bandhub-folder-tab-name {
	font-weight: 700;
	line-height: 1.25;
	font-size: 1.05rem;
}

.bandhub-folder-tab-count {
	font-size: 0.92rem;
	opacity: 0.78;
}

.bandhub-music-tile {
	position: relative;
	max-width: 100%;
}

.bandhub-music-create-folder {
	margin-top: 1.25rem;
}

.bandhub-music-create-folder > summary {
	width: fit-content;
	padding: 0.5rem 0;
	color: var(--bandhub-heading);
	font-weight: 700;
	cursor: pointer;
}

.bandhub-music-create-folder > summary:focus-visible {
	outline: 2px solid var(--bandhub-heading);
	outline-offset: 4px;
	border-radius: 2px;
}

.bandhub-music-create-folder[open] > summary {
	margin-bottom: 0.75rem;
}

.bandhub-music-tile > .bandhub-folder-tab {
	box-sizing: border-box;
	max-width: 100%;
	padding-right: 2.8rem;
	overflow-wrap: anywhere;
}

.bandhub-music-tile-remove-form {
	position: absolute;
	top: 0.45rem;
	right: 0.35rem;
	margin: 0;
}

.bandhub-music-tile-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bandhub-heading);
	box-shadow: none;
	font: 400 1.35rem/1 var(--bandhub-font-body);
	cursor: pointer;
}

.bandhub-music-tile:has(> .bandhub-folder-tab.is-active) .bandhub-music-tile-remove,
.bandhub-music-tile:has(> .bandhub-folder-tab:hover) .bandhub-music-tile-remove,
.bandhub-music-tile:has(> .bandhub-folder-tab:focus) .bandhub-music-tile-remove {
	color: #fff;
}

.bandhub-music-tile-remove:hover {
	background: rgba(128, 128, 128, 0.22);
}

.bandhub-music-tile-remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.bandhub-folder-setlist-pills {
	gap: 0.85rem 0.9rem;
}

.bandhub-folder-setlist-pill-shell {
	min-width: 20rem;
}

.bandhub-folder-setlist-pill {
	min-width: 20rem;
	padding-right: 2.5rem;
}

.bandhub-folder-setlist-pill-shell .bandhub-folder-tab-delete-form {
	right: 0.42rem;
	bottom: 0.42rem;
}

.bandhub-folder-setlist-pill-shell .bandhub-folder-tab-delete-button {
	min-height: 1.55rem;
	padding: 0.18rem 0.45rem;
	font-size: 0.7rem;
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
	box-shadow: none;
}

.bandhub-folder-setlist-pill-shell .bandhub-folder-tab-name {
	font-size: 0.96rem;
	line-height: 1.2;
}

@media (max-width: 1100px) {
	.bandhub-folder-setup-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"selection"
			"create";
	}

	.bandhub-folder-link-shell--inline .bandhub-folder-link-form {
		max-width: none;
	}
}


.bandhub-folder-detail-shell {
	display: grid;
	gap: 0.85rem;
	margin-top: 0.2rem;
	padding: 1.1rem 1rem 1rem;
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(244, 249, 255, 0.96));
}

.bandhub-folder-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}

.bandhub-folder-card {
	background: var(--bandhub-subtle-bg);
	border: 1px solid rgba(8, 99, 171, 0.14);
	border-radius: 18px;
	padding: 0.75rem 0.85rem;
}

.bandhub-folder-card h3 {
	margin: 0 0 0.45rem;
	color: var(--bandhub-heading);
}

.bandhub-folder-card--selected h3,
.bandhub-folder-card--setlist h3 {
	margin-bottom: 0.35rem;
}

.bandhub-folder-card-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.bandhub-folder-card-heading h3 {
	margin-bottom: 0;
}

.bandhub-folder-detail-kicker {
	color: var(--bandhub-accent);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.3rem;
	text-transform: uppercase;
}

.bandhub-folder-detail-meta,
.bandhub-folder-detail-note {
	margin: 0;
	color: var(--bandhub-muted);
}

.bandhub-folder-song-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.bandhub-folder-song-table {
	border: 1px solid rgba(8, 99, 171, 0.12);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.bandhub-folder-song-table-head,
.bandhub-folder-song-list li {
	display: grid;
	grid-template-columns: 44px minmax(240px, 1.8fr) 72px 72px;
	align-items: center;
	gap: 0.75rem;
	padding: 0.48rem 0.6rem;
}

.bandhub-folder-song-table-head {
	color: var(--bandhub-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: #eef5fb;
	text-transform: uppercase;
}

.bandhub-folder-song-table-head > span:nth-child(n+3) {
	text-align: center;
}

.bandhub-folder-song-list li {
	background: #fff;
	border-top: 1px solid rgba(8, 99, 171, 0.1);
}

.bandhub-folder-song-item {
	cursor: grab;
}

.bandhub-folder-song-item.is-dragging {
	opacity: 0.65;
	border-color: var(--bandhub-button-bg);
	box-shadow: 0 10px 24px rgba(10, 39, 74, 0.12);
}

.bandhub-folder-song-handle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(8, 99, 171, 0.18);
	border-radius: 7px;
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
}

.bandhub-folder-song-handle--static {
	opacity: 0.55;
}

.bandhub-folder-song-name {
	font-weight: 600;
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bandhub-folder-song-name a {
	color: inherit;
	text-decoration: none;
}

.bandhub-folder-song-name a:hover,
.bandhub-folder-song-name a:focus {
	text-decoration: underline;
}

.bandhub-folder-song-number {
	font-weight: 700;
	text-align: center;
}

.bandhub-folder-remove-form {
	margin: 0;
	display: flex;
	justify-content: center;
}

.bandhub-folder-remove-form button {
	min-height: 26px;
	min-width: 26px;
	padding: 0;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1;
}

body.page-id-300 .bandhub-rufus-music-stage .bandhub-directory-card,
body.page-id-300 .bandhub-rufus-music-stage .bandhub-member-profile-shell,
body.bandhub-account-page .bandhub-rufus-music-stage .bandhub-directory-card,
body.bandhub-account-page .bandhub-rufus-music-stage .bandhub-member-profile-shell {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.page-id-300 .bandhub-rufus-music-stage .bandhub-directory-card > * + *,
body.bandhub-account-page .bandhub-rufus-music-stage .bandhub-directory-card > * + * {
	border-top: 0 !important;
}

@media (max-width: 900px) {
	.bandhub-rufus-music-workflow {
		grid-template-columns: 1fr;
	}

	.bandhub-folder-manager-toolbar,
	.bandhub-folder-library-head,
	.bandhub-folder-library-row {
		grid-template-columns: 1fr;
	}

	.bandhub-folder-manager-toolbar {
		gap: 0.55rem;
	}

	.bandhub-folder-create-form--inline .bandhub-folder-manager-inline {
		flex-wrap: wrap;
	}

	.bandhub-folder-selection-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.bandhub-rufus-resources-grid {
		grid-template-columns: 1fr;
	}

	.bandhub-rufus-resource-row {
		grid-template-columns: 1fr;
	}

	.bandhub-rufus-resource-row-actions {
		justify-items: start;
	}

	.bandhub-folder-library-list--matrix .bandhub-folder-library-head,
	.bandhub-folder-library-list--matrix .bandhub-folder-library-row {
		min-width: 0;
	}

	.bandhub-folder-detail-grid {
		grid-template-columns: 1fr;
	}

	.bandhub-folder-library-head {
		display: none;
	}

	.bandhub-folder-library-mobile-label {
		display: block;
	}

	.bandhub-folder-song-list li {
		grid-template-columns: 36px minmax(0, 1fr) 56px 56px;
		gap: 0.5rem;
	}
}

.bandhub-rufus-summary-label {
	color: var(--bandhub-muted);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

.bandhub-rufus-summary-value {
	color: var(--bandhub-heading);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	margin: 0 0 0.65rem;
}

.bandhub-rufus-summary-text {
	color: var(--bandhub-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0 0 0.75rem;
}

.bandhub-rufus-event-card__title {
	font-size: 1.15rem;
	margin: 0 0 0.7rem;
}

.bandhub-rufus-event-card__title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

.bandhub-rufus-event-card__title a:hover,
.bandhub-rufus-event-card__title a:focus {
	text-decoration: underline;
}

.bandhub-rufus-event-card__meta {
	font-size: 0.94rem;
	line-height: 1.5;
	margin: 0 0 0.45rem;
}

.bandhub-rufus-event-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;
}

.bandhub-rufus-mini-button {
	border: 1px solid rgba(8, 99, 171, 0.18);
	border-radius: 999px;
	color: var(--bandhub-heading);
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.55rem 0.8rem;
	text-decoration: none;
}

.bandhub-rufus-mini-button:hover,
.bandhub-rufus-mini-button:focus {
	background: rgba(8, 99, 171, 0.08);
}

/* Rufus is an operations space: its action buttons use the same clear blue
 * treatment as the musician account rather than reading as secondary links. */
body.page-id-2194 .bandhub-rufus-panel .bandhub-rufus-mini-button {
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
}

body.page-id-2194 .bandhub-rufus-panel .bandhub-rufus-mini-button--danger {
	background: var(--bandhub-danger-bg);
	border-color: var(--bandhub-danger-text);
	color: var(--bandhub-danger-text);
}

body.page-id-2194 .bandhub-rufus-panel .bandhub-rufus-mini-button:hover,
body.page-id-2194 .bandhub-rufus-panel .bandhub-rufus-mini-button:focus-visible {
	background: #064e88;
	border-color: #064e88;
	color: var(--bandhub-button-text);
	outline: 3px solid rgba(8, 99, 171, 0.24);
	outline-offset: 2px;
}

@media (max-width: 980px) {
	.bandhub-rufus-summary-grid,
	.bandhub-rufus-event-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bandhub-rufus-summary-grid,
	.bandhub-rufus-event-card-grid {
		grid-template-columns: 1fr;
	}

	.bandhub-rufus-section-heading-row {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Band member archive readability reset */
body.page-id-304 .bandhub-directory-page {
	padding-inline: 1rem;
}

body.page-id-304 .bandhub-directory-shell {
	margin-top: 1.5rem;
}

body.page-id-304 .bandhub-directory-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
	gap: 1rem !important;
	padding: 0 !important;
	background: transparent !important;
	align-items: stretch;
}

body.page-id-304 article.bandhub-directory-card.bandhub-member-card {
	display: grid !important;
	gap: 0.55rem !important;
	margin: 0 !important;
	padding: 1rem !important;
	text-align: left !important;
	align-content: start;
}

body.page-id-304 .bandhub-directory-card-title,
body.page-id-304 .bandhub-directory-meta,
body.page-id-304 .bandhub-member-role-list {
	overflow-wrap: anywhere;
	word-break: normal;
}

body.page-id-304 .bandhub-directory-card-title {
	margin: 0;
	line-height: 1.2;
}

body.page-id-304 .bandhub-directory-meta {
	margin: 0;
	line-height: 1.45;
}

body.page-id-304 .bandhub-member-role-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.1rem 0 0.2rem;
}

body.page-id-304 .bandhub-member-role-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem 0.65rem;
	white-space: nowrap;
}

@media (max-width: 640px) {
	body.page-id-304 .bandhub-directory-page {
		padding-inline: 0.75rem;
	}

	body.page-id-304 .bandhub-directory-grid {
		grid-template-columns: 1fr !important;
	}
}

.bandhub-booking-page {
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.bandhub-booking-hero {
	background:
		radial-gradient(circle at top left, rgba(191, 221, 255, 0.7), transparent 32rem),
		linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(232, 243, 255, 0.82));
	border: 1px solid var(--bandhub-border);
	border-radius: 28px;
	box-shadow: var(--bandhub-shadow);
	overflow: hidden;
	padding: clamp(1.35rem, 3vw, 2.2rem);
}

.bandhub-booking-hero-grid {
	align-items: stretch;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.bandhub-booking-kicker {
	color: #b01d14;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.bandhub-booking-hero-copy > .wp-block-post-title,
.bandhub-booking-hero-copy > .wp-block-post-title a {
	font-size: clamp(2.7rem, 6vw, 4.8rem);
	line-height: 0.95;
	margin: 0;
	max-width: 10ch;
}

.bandhub-booking-lead {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.55;
	margin: 1rem 0 0;
	max-width: 40rem;
}

.bandhub-booking-highlight-list {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 1.35rem 0 0;
	padding: 0;
}

.bandhub-booking-highlight-list li {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(127, 170, 219, 0.48);
	border-radius: 999px;
	font-weight: 700;
	padding: 0.8rem 1rem;
}

.bandhub-booking-sidebar-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(127, 170, 219, 0.56);
	border-radius: 22px;
	box-shadow: 0 24px 44px rgba(17, 57, 93, 0.12);
	height: 100%;
	padding: 1.3rem;
}

.bandhub-booking-sidebar-card .wp-block-heading {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.bandhub-booking-sidebar-card p {
	line-height: 1.6;
	margin: 0.6rem 0 0;
}

.bandhub-booking-sidebar-card .wp-block-buttons {
	gap: 0.75rem;
	margin-top: 1.1rem;
}

.bandhub-booking-photo-rail {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1.45fr 1fr 0.9fr;
	margin: 0;
}

.bandhub-booking-photo-rail .wp-block-image,
.bandhub-booking-photo-rail .wp-block-image img {
	height: 100%;
	margin: 0;
	width: 100%;
}

.bandhub-booking-photo-rail .wp-block-image {
	border-radius: 20px;
	overflow: hidden;
	min-height: 12rem;
}

.bandhub-booking-photo-rail .wp-block-image img {
	display: block;
	object-fit: cover;
}

.bandhub-booking-main-grid {
	align-items: flex-start;
	gap: 1.35rem;
	margin-top: 0;
}

.bandhub-booking-content,
.bandhub-booking-form-wrap {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 24px;
	box-shadow: var(--bandhub-shadow);
	padding: clamp(1.2rem, 2vw, 1.7rem);
}

.bandhub-booking-content > .wp-block-post-content > *:first-child {
	margin-top: 0;
}

.bandhub-booking-content h2,
.bandhub-booking-content h3 {
	margin-top: 0;
}

.bandhub-booking-content .wp-block-columns {
	gap: 1rem;
}

.bandhub-booking-content .wp-block-column,
.bandhub-booking-content .wp-block-group.has-white-background-color {
	background: rgba(240, 247, 255, 0.8);
	border: 1px solid rgba(127, 170, 219, 0.42);
	border-radius: 18px;
	padding: 1rem;
}

.bandhub-booking-content .wp-block-group.has-white-background-color {
	padding: 1.15rem !important;
}

.bandhub-booking-content .wp-block-buttons {
	gap: 0.75rem;
	margin-top: 1rem;
}

.bandhub-booking-form-shell {
	max-width: none;
	margin: 0;
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92));
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form h3 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form > p {
	color: var(--bandhub-muted);
	line-height: 1.5;
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.1rem;
	margin-top: 1.1rem;
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p {
	margin: 0;
	min-width: 0;
}

.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(8),
.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(9),
.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(10) {
	grid-column: 1 / -1;
}

.bandhub-booking-form-shell label {
	display: inline-block;
	margin-bottom: 0.35rem;
	color: var(--bandhub-ink);
	font-size: 0.9rem;
	font-weight: 700;
}

.bandhub-booking-form-shell input[type="text"],
.bandhub-booking-form-shell input[type="email"],
.bandhub-booking-form-shell input[type="date"],
.bandhub-booking-form-shell textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border: 1px solid var(--bandhub-border);
	border-radius: 10px;
	background: #fff;
	color: var(--bandhub-ink);
	font: inherit;
	padding: 0.75rem 0.85rem;
}

.bandhub-booking-form-shell input[type="date"] {
	display: block;
}

.bandhub-booking-form-shell textarea {
	min-height: 11rem;
	resize: vertical;
}

.bandhub-booking-form-shell button[type="submit"] {
	border: 0;
	border-radius: 999px;
	background: var(--bandhub-heading);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.9rem 1.35rem;
}

.bandhub-booking-form-shell button[type="submit"]:hover,
.bandhub-booking-form-shell button[type="submit"]:focus {
	filter: brightness(1.05);
}

.bandhub-rufus-hub-links .bandhub-rufus-hub-grid {
	gap: 1rem;
	margin-top: 1rem;
}

.bandhub-rufus-hub-card {
	height: 100%;
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	box-shadow: var(--bandhub-shadow);
	padding: 1rem;
}

.bandhub-rufus-hub-card .wp-block-heading {
	margin-top: 0;
	margin-bottom: 0.35rem;
}

.bandhub-rufus-hub-card p {
	margin: 0.25rem 0 0;
}

.bandhub-messaging-shell,
.bandhub-messaging-surface {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.bandhub-messaging-note {
	margin: 0;
	color: var(--bandhub-ink);
	font-size: 1rem;
	line-height: 1.6;
}

.bandhub-messaging-plan {
	margin-top: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
	padding: 0.85rem 1rem;
}

.bandhub-messaging-plan > summary {
	cursor: pointer;
}

.bandhub-messaging-plan ol {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
}

.bandhub-messaging-surface > .wp-block-post-content,
.bandhub-messaging-surface > .wp-block-post-content > *:first-child {
	margin-top: 0;
}

@media (max-width: 720px) {
	.bandhub-booking-highlight-list {
		grid-template-columns: 1fr;
	}

	.bandhub-booking-photo-rail {
		grid-template-columns: 1fr;
	}

	.bandhub-booking-form-shell .bandhub-booking-inquiry-form form {
		grid-template-columns: 1fr;
	}

	.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(8),
	.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(9),
	.bandhub-booking-form-shell .bandhub-booking-inquiry-form form > p:nth-of-type(10) {
		grid-column: auto;
	}
}

@media (max-width: 900px) {
	.bandhub-booking-hero-copy > .wp-block-post-title,
	.bandhub-booking-hero-copy > .wp-block-post-title a {
		max-width: none;
	}

	.bandhub-booking-main-grid,
	.bandhub-booking-hero-grid {
		flex-direction: column;
	}
}

.bandhub-member-identity-snapshot .bandhub-directory-grid {
	grid-template-columns: minmax(0, 1fr);
}

.bandhub-member-identity-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bandhub-member-identity-avatar {
	border-radius: 999px;
	flex: 0 0 auto;
}

.bandhub-member-identity-copy {
	min-width: 0;
}

body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-directory-grid {
	grid-template-columns: minmax(0, 1fr) !important;
}

body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-directory-card {
	padding: 1rem !important;
}

body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-member-identity-header {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
}

body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-member-identity-copy,
body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-member-identity-copy * {
	overflow-wrap: normal;
	word-break: normal;
}

@media (max-width: 680px) {
	body.bandhub-account-page .bandhub-member-identity-snapshot .bandhub-member-identity-header {
		grid-template-columns: 1fr;
	}
}

/* Inmate workspace refresh */
body.bandhub-account-page .jet-profile-menu {
	display: none !important;
}

body.bandhub-account-page .wp-block-group.bandhub-home-section:has(> :is(.bandhub-member-events-workspace, .bandhub-member-resources-panel, .bandhub-member-identity-snapshot, .bandhub-member-attendance-history)) {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) {
	display: block !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:first-child {
	display: none !important;
}

body.bandhub-account-page .wp-block-columns:has(.jet-profile-menu) > .wp-block-column:last-child {
	padding: 0 !important;
}

body.bandhub-account-page .bandhub-member-workspace-layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
	width: min(100%, 1200px);
	margin: 0 auto;
}

/* The account template already has a full header; do not add Gutenberg's
 * default section gap before the workspace. */
body.bandhub-account-page .bandhub-account-template-shell,
body.bandhub-account-page .bandhub-account-template-content {
	margin-block-start: 0 !important;
}

body.bandhub-account-page .bandhub-account-template-shell {
	padding-top: 0.75rem !important;
}

body.bandhub-account-page .bandhub-account-template-content .wp-block-post-content {
	padding-top: 0.75rem !important;
}

/* Every inmate tab shares one content canvas, regardless of its legacy markup. */
body.bandhub-account-page .bandhub-member-workspace-panel {
	min-width: 0;
}

body.bandhub-account-page .bandhub-member-workspace-content {
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.25rem);
	background: #ffffff;
	border: 1px solid #b9d7ef;
	border-radius: 22px;
	box-shadow: 0 16px 34px rgba(31, 42, 55, 0.06);
}

body.bandhub-account-page .bandhub-member-workspace-content > :first-child {
	margin-top: 0 !important;
}

body.bandhub-account-page .bandhub-member-workspace-content > .wp-block-group:first-child,
body.bandhub-account-page .bandhub-member-workspace-content > .bandhub-dashboard-shell:first-child {
	padding-top: 0;
}

/* The Resources page is the visual reference: its shell becomes the shared
 * canvas above, avoiding a second inset card on that tab alone. */
body.bandhub-account-page .bandhub-member-workspace-content > .bandhub-dashboard-shell:first-child {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.bandhub-account-page .bandhub-member-workspace-shell {
	position: sticky;
	top: 1rem;
	display: grid;
	gap: 0.8rem;
	margin: 0 !important;
	align-self: start;
	padding: 0.85rem !important;
}

body.bandhub-account-page .bandhub-member-workspace-shell .bandhub-directory-title {
	margin: 0;
	font-size: 1.85rem;
	line-height: 0.95;
}

body.bandhub-account-page .bandhub-member-workspace-shell .bandhub-dashboard-description {
	margin: 0;
	font-size: 0.95rem;
}

body.bandhub-account-page .bandhub-member-workspace-nav {
	display: grid;
	gap: 0.75rem;
}

/* Keep the member workspace tabs in the same button system as the actions
 * directly beneath them: blue outline by default, light-blue feedback on
 * hover, and blue fill only for the current tab. */
body.bandhub-account-page .bandhub-member-tab-link {
	display: flex;
	align-items: center;
	justify-content: center;
	border-color: rgba(8, 99, 171, 0.18);
	border-radius: 999px;
	background: #ffffff;
	color: var(--bandhub-heading);
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.55rem 0.8rem;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.bandhub-account-page .bandhub-member-tab-link:hover,
body.bandhub-account-page .bandhub-member-tab-link:focus:not(.is-active) {
	background: rgba(8, 99, 171, 0.08);
	border-color: rgba(8, 99, 171, 0.18);
	color: var(--bandhub-heading);
	outline: none;
}

body.bandhub-account-page .bandhub-member-tab-link:focus-visible {
	outline: 3px solid var(--bandhub-button-bg);
	outline-offset: 3px;
}

body.bandhub-account-page .bandhub-member-tab-link.is-active,
body.bandhub-account-page .bandhub-member-tab-link.is-active:focus {
	background: var(--bandhub-button-bg);
	border-color: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
}

body.bandhub-account-page .bandhub-member-workspace-actions {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.15rem;
}

body.bandhub-account-page .bandhub-member-workspace-actions .bandhub-rufus-mini-button {
	text-align: center;
}

body.bandhub-account-page .bandhub-member-workspace-actions .bandhub-member-share-photos-button {
	background: #ffffff;
	border-color: rgba(8, 99, 171, 0.18);
	color: var(--bandhub-heading);
}

body.bandhub-account-page .bandhub-member-workspace-actions .bandhub-member-share-photos-button:hover,
body.bandhub-account-page .bandhub-member-workspace-actions .bandhub-member-share-photos-button:focus-visible {
	background: rgba(8, 99, 171, 0.08);
	border-color: rgba(8, 99, 171, 0.18);
	color: var(--bandhub-heading);
}

/* Rufus communication controls. */
.bandhub-rufus-reminder-builder {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-card-bg);
}

.bandhub-rufus-reminder-event-picker,
.bandhub-rufus-reminder-rule-list {
	display: grid;
	gap: 0.5rem;
}

.bandhub-rufus-reminder-rule-list {
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-reminder-rule-list h4,
.bandhub-rufus-reminder-rule-list p {
	margin: 0;
}

.bandhub-rufus-email-flows,
.bandhub-rufus-email-schedule,
.bandhub-rufus-email-flow-history {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-card-bg);
}

.bandhub-rufus-email-flow-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.85rem;
}

.bandhub-rufus-email-flow-card {
	display: grid;
	gap: 0.65rem;
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-email-flow-card.is-paused {
	border-color: #e4bb69;
	background: #fff7e6;
}

.bandhub-rufus-email-flow-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.bandhub-rufus-email-flow-card__head h4,
.bandhub-rufus-email-flow-card p {
	margin: 0;
}

.bandhub-rufus-email-flow-card__head span {
	padding: 0.2rem 0.55rem;
	border: 1px solid #7abd90;
	border-radius: 999px;
	background: #eaf7ee;
	color: #1d6b3a;
	font-size: 0.8rem;
	font-weight: 700;
}

.bandhub-rufus-email-flow-card.is-paused .bandhub-rufus-email-flow-card__head span {
	border-color: #e4bb69;
	background: #fff1cc;
	color: #806000;
}

.bandhub-rufus-email-schedule-table td,
.bandhub-rufus-email-schedule-table th {
	vertical-align: top;
}

.bandhub-rufus-email-flow-tone {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
}

.bandhub-rufus-email-flow-tone.is-standard {
	background: #eaf7ee;
	color: #1d6b3a;
}

.bandhub-rufus-email-flow-tone.is-urgent {
	background: #fff7d6;
	color: #806000;
}

.bandhub-rufus-email-flow-tone.is-final {
	background: #fff0ee;
	color: #b43c33;
}

.bandhub-rufus-communication-settings {
	display: grid;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-rufus-attachment-choice {
	display: block;
	margin: 0.45rem 0;
}

.bandhub-rufus-notification-rules,
.bandhub-rufus-email-activity {
	padding: 1rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-rufus-notification-rules h4,
.bandhub-rufus-email-activity h4 {
	margin-top: 0;
}

.bandhub-rufus-email-manager-types {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.8rem;
	margin-top: 0.9rem;
}

.bandhub-rufus-email-manager-type {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--bandhub-border);
}

.bandhub-rufus-email-manager-type:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.bandhub-rufus-email-manager-type input {
	margin-top: 0.28rem;
}

.bandhub-rufus-email-manager-type span {
	display: grid;
	gap: 0.2rem;
}

.bandhub-rufus-email-manager-type strong {
	font-size: 1rem;
}

.bandhub-rufus-email-manager-type small {
	color: var(--bandhub-muted-text);
	font-size: 0.9rem;
	line-height: 1.5;
}

.bandhub-rufus-broadcast-warning {
	display: grid;
	gap: 0.55rem;
	padding: 0.9rem 1rem;
	border: 1px solid #e4bb69;
	border-radius: 12px;
	background: #fff7e6;
	color: #5f4519;
}

body.bandhub-account-page .bandhub-member-workspace-panel {
	min-width: 0;
}

body.bandhub-account-page .bandhub-member-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 1rem;
	margin-top: 1rem;
	align-items: start;
}

body.bandhub-account-page .bandhub-member-dashboard-column {
	display: grid;
	gap: 1rem;
	align-content: start;
}

body.bandhub-account-page .bandhub-member-resources-panel .bandhub-rufus-section-heading-row {
	margin-bottom: 0.75rem;
}

body.bandhub-account-page .bandhub-member-resource-hub,
body.bandhub-account-page .bandhub-member-resource-group {
	display: grid;
	gap: 1rem;
}

body.bandhub-account-page .bandhub-member-resource-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 1rem;
}

body.bandhub-account-page .bandhub-member-resource-tile {
	display: grid;
	gap: 0.75rem;
	align-content: start;
}

body.bandhub-account-page .bandhub-member-resource-tile .bandhub-directory-card-title {
	margin: 0;
}

body.bandhub-account-page .bandhub-member-resource-tile .bandhub-directory-meta {
	margin: 0;
}

body.bandhub-account-page .bandhub-member-resource-tile .bandhub-dashboard-actions {
	margin-top: 0;
}

body.bandhub-account-page .bandhub-member-resource-list {
	display: grid;
	gap: 0.75rem;
}

body.bandhub-account-page .bandhub-member-resource-card {
	padding: 0.85rem 0 0;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-member-resource-preview {
	display: block;
	max-width: 180px;
	margin: 0 0 1rem;
	overflow: hidden;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: #fff;
}

.bandhub-member-resource-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.bandhub-event-setlist-manager-actions {
	align-items: flex-start;
}

.bandhub-event-setlist-change {
	display: grid;
	gap: 0.75rem;
}

.bandhub-event-setlist-change > summary {
	width: fit-content;
	max-width: 100%;
	justify-self: start;
	list-style: none;
	cursor: pointer;
}

.bandhub-event-setlist-change > summary::-webkit-details-marker {
	display: none;
}

body.bandhub-account-page .bandhub-member-resource-card:first-child {
	padding-top: 0;
	border-top: 0;
}

body.bandhub-account-page .bandhub-member-resource-meta {
	margin: 0.35rem 0 0;
	color: var(--bandhub-muted);
	font-size: 0.84rem;
}

body.bandhub-account-page .bandhub-member-resource-actions {
	margin-top: 0.55rem !important;
}

body.bandhub-account-page .bandhub-member-resource-actions .bandhub-rufus-mini-button {
	font-size: 0.8rem;
	padding: 0.5rem 0.75rem;
}

body.bandhub-account-page .bandhub-member-events-workspace {
	display: grid;
	gap: 1rem;
}

body.bandhub-account-page .bandhub-member-event-feature,
body.bandhub-account-page .bandhub-member-event-row {
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(10, 39, 74, 0.06);
}

body.bandhub-account-page .bandhub-member-event-row.is-just-saved {
	box-shadow: inset 0 0 0 1px var(--bandhub-card-accent), 0 16px 38px rgba(10, 39, 74, 0.06);
}

body.bandhub-account-page .bandhub-member-event-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 1rem;
	padding: 0;
	align-items: start;
}

/* The workspace is the card. The featured-event layout inside it should not
 * repeat that same border, background, or shadow. */
body.bandhub-account-page .bandhub-member-event-feature {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.bandhub-account-page .bandhub-member-event-feature-copy {
	display: grid;
	gap: 0.85rem;
	min-width: 0;
}

body.bandhub-account-page .bandhub-member-event-feature-media {
	overflow: hidden;
	border-radius: 16px;
	background: var(--bandhub-subtle-bg);
}

body.bandhub-account-page .bandhub-member-event-feature-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

body.bandhub-account-page .bandhub-member-event-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

body.bandhub-account-page .bandhub-member-event-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.bandhub-account-page .bandhub-member-event-chip.is-kicker {
	background: var(--bandhub-heading);
	border-color: var(--bandhub-heading);
	color: #fff;
}

body.bandhub-account-page .bandhub-member-event-title,
body.bandhub-account-page .bandhub-member-event-row-title {
	margin: 0;
}

body.bandhub-account-page .bandhub-member-event-title a,
body.bandhub-account-page .bandhub-member-event-row-title a {
	color: var(--bandhub-heading);
	text-decoration: none;
}

body.bandhub-account-page .bandhub-member-event-title a:hover,
body.bandhub-account-page .bandhub-member-event-title a:focus,
body.bandhub-account-page .bandhub-member-event-row-title a:hover,
body.bandhub-account-page .bandhub-member-event-row-title a:focus {
	text-decoration: underline;
}

body.bandhub-account-page .bandhub-member-event-title {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.05;
}

body.bandhub-account-page .bandhub-member-event-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
}

body.bandhub-account-page .bandhub-member-event-detail-grid p {
	display: grid;
	gap: 0.18rem;
	margin: 0;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 12px;
	background: var(--bandhub-card-bg);
}

body.bandhub-account-page .bandhub-member-event-detail-grid strong {
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

body.bandhub-account-page .bandhub-member-event-detail-grid span {
	font-weight: 600;
}

body.bandhub-account-page .bandhub-member-event-summary {
	margin: 0;
	line-height: 1.6;
	color: var(--bandhub-ink);
}

body.bandhub-account-page .bandhub-member-event-feature-rsvp {
	min-width: 0;
	padding: 0.8rem 0.85rem;
	border-radius: 16px;
	background: var(--bandhub-card-bg);
	border: 0;
}

body.bandhub-account-page .bandhub-member-event-rsvp-shell {
	display: grid;
	gap: 0.45rem;
}

body.bandhub-account-page .bandhub-member-event-rsvp-current {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

body.bandhub-account-page .bandhub-member-event-rsvp-caption {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--bandhub-muted);
}

body.bandhub-account-page .bandhub-member-event-rsvp-form {
	gap: 0.35rem;
}

body.bandhub-account-page .bandhub-member-event-rsvp-shell .bandhub-rufus-rsvp-inline-group {
	gap: 0.3rem;
}

body.bandhub-account-page .bandhub-member-event-rsvp-shell .bandhub-rufus-rsvp-pill {
	padding: 0.2rem 0.58rem;
	font-size: 0.68rem;
}

body.bandhub-account-page .bandhub-member-event-rsvp-shell .bandhub-rufus-rsvp-inline-option span {
	min-height: 1.8rem;
	padding: 0.26rem 0.7rem;
	font-size: 0.75rem;
}

body.bandhub-account-page .bandhub-member-event-note {
	margin: 0;
	font-size: 0.88rem;
	color: var(--bandhub-muted);
}

body.bandhub-account-page .bandhub-member-events-list {
	display: grid;
	gap: 0.75rem;
}

body.bandhub-account-page .bandhub-member-event-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
	gap: 0.85rem;
	padding: 0.8rem 0.95rem;
	align-items: start;
}

body.bandhub-account-page .bandhub-member-event-row-copy {
	display: grid;
	gap: 0.28rem;
	min-width: 0;
}

body.bandhub-account-page .bandhub-member-event-row-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.65rem;
	color: var(--bandhub-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

body.bandhub-account-page .bandhub-member-event-row-rsvp {
	min-width: 0;
	display: flex;
	justify-content: flex-end;
}

body.bandhub-account-page .bandhub-member-event-row-rsvp .bandhub-member-event-rsvp-shell {
	width: min(100%, 330px);
}

body.bandhub-account-page .bandhub-member-event-roster {
	grid-column: 1 / -1;
	min-width: 0;
	margin-top: 0.35rem;
	border-top: 1px solid var(--bandhub-border);
	padding-top: 0.75rem;
}

body.bandhub-account-page .bandhub-member-event-roster summary {
	cursor: pointer;
	color: var(--bandhub-heading);
	font-weight: 700;
}

body.bandhub-account-page .bandhub-member-event-roster-note {
	margin: 0.65rem 0;
	color: var(--bandhub-muted);
	font-size: 0.86rem;
}

body.bandhub-account-page .bandhub-member-event-roster-table-wrap {
	overflow-x: auto;
}

body.bandhub-account-page .bandhub-member-event-roster-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.87rem;
}

body.bandhub-account-page .bandhub-member-event-roster-table th,
body.bandhub-account-page .bandhub-member-event-roster-table td {
	padding: 0.55rem 0.6rem;
	border-bottom: 1px solid var(--bandhub-border);
	text-align: left;
	white-space: nowrap;
}

.bandhub-rufus-resource-divider {
	margin: 1.4rem 0;
	border: 0;
	border-top: 1px solid var(--bandhub-border);
}

.bandhub-member-single-event-roster {
	margin-top: 2rem;
	padding: 1.25rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: #fff;
}

.bandhub-member-single-event-roster .bandhub-member-event-roster summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--bandhub-heading);
}

.bandhub-member-single-event-roster .bandhub-member-event-roster-note {
	color: var(--bandhub-muted);
}

.bandhub-member-single-event-roster .bandhub-member-event-roster-table-wrap {
	overflow-x: auto;
}

.bandhub-member-single-event-roster .bandhub-member-event-roster-table {
	width: 100%;
	border-collapse: collapse;
}

.bandhub-member-single-event-roster .bandhub-member-event-roster-table th,
.bandhub-member-single-event-roster .bandhub-member-event-roster-table td {
	padding: 0.55rem 0.6rem;
	border-bottom: 1px solid var(--bandhub-border);
	text-align: left;
	white-space: nowrap;
}

body.bandhub-account-page .bandhub-event-filters {
	display: none !important;
}

@media (max-width: 980px) {
	body.bandhub-account-page .bandhub-member-workspace-layout,
	body.bandhub-account-page .bandhub-member-dashboard-grid,
	body.bandhub-account-page .bandhub-member-event-feature,
	body.bandhub-account-page .bandhub-member-event-row {
		grid-template-columns: 1fr;
	}

	body.bandhub-account-page .bandhub-member-workspace-shell {
		position: static;
	}

	body.bandhub-account-page .bandhub-member-event-detail-grid {
		grid-template-columns: 1fr;
	}
}

body.page-slug-merch main.wp-block-group {
	width: 100%;
}

.bandhub-merch-page {
	display: grid;
	gap: 1.2rem;
	padding: 0.35rem 0 2.8rem;
}

.bandhub-merch-hero,
.bandhub-merch-order,
.bandhub-merch-collection,
.bandhub-merch-footer-note {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-merch-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
	gap: 1.2rem;
	padding: 1.45rem;
	background:
		linear-gradient(135deg, rgba(8, 99, 171, 0.06), rgba(184, 211, 232, 0.38)),
		var(--bandhub-card-bg);
}

.bandhub-merch-hero::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 0.7rem;
	background: linear-gradient(90deg, var(--bandhub-block-red), var(--bandhub-block-blue));
}

.bandhub-merch-hero-copy,
.bandhub-merch-hero-media {
	position: relative;
	z-index: 1;
}

.bandhub-merch-eyebrow {
	margin: 0 0 0.4rem;
	color: var(--bandhub-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bandhub-merch-hero h1,
.bandhub-merch-section-heading {
	margin: 0;
	color: var(--bandhub-heading);
	line-height: 1.02;
}

.bandhub-merch-hero h1 {
	font-size: clamp(2rem, 5vw, 3.3rem);
}

.bandhub-merch-hero p,
.bandhub-merch-order p,
.bandhub-merch-item p,
.bandhub-merch-footer-note p {
	margin: 0;
}

.bandhub-merch-hero-copy {
	display: grid;
	gap: 0.85rem;
	align-content: start;
}

.bandhub-merch-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.bandhub-merch-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.78rem;
	font-weight: 700;
}

.bandhub-merch-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-top: 0.15rem;
}

.bandhub-merch-hero-actions .wp-element-button.is-style-outline,
.bandhub-merch-order .wp-element-button.is-style-outline {
	background: transparent;
	color: var(--bandhub-heading);
}

.bandhub-merch-hero-media {
	display: grid;
	gap: 0.7rem;
	align-content: start;
}

.bandhub-merch-hero-poster {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
}

.bandhub-merch-hero-poster img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.bandhub-merch-hero-note {
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--bandhub-border);
	font-size: 0.92rem;
}

.bandhub-merch-order {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 1rem;
	padding: 1.15rem 1.2rem;
}

.bandhub-merch-order h2 {
	margin: 0 0 0.4rem;
	color: var(--bandhub-heading);
	font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.bandhub-merch-order-copy {
	display: grid;
	gap: 0.75rem;
}

.bandhub-merch-order-steps {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: merch-order-step;
}

.bandhub-merch-order-steps li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem;
	align-items: start;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 14px;
	background: var(--bandhub-subtle-bg);
}

.bandhub-merch-order-steps li::before {
	counter-increment: merch-order-step;
	content: counter(merch-order-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	background: var(--bandhub-heading);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
}

.bandhub-merch-order-card {
	display: grid;
	gap: 0.85rem;
	align-content: start;
	padding: 1rem;
	border-radius: 16px;
	background: linear-gradient(180deg, var(--bandhub-subtle-bg), #fff);
	border: 1px solid var(--bandhub-border);
}

.bandhub-merch-order-card h3 {
	margin: 0;
	color: var(--bandhub-heading);
}

.bandhub-merch-address {
	padding: 0.8rem 0.9rem;
	border-radius: 14px;
	background: #fff;
	border: 1px dashed var(--bandhub-border);
	font-style: normal;
	line-height: 1.55;
}

.bandhub-merch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.bandhub-merch-collection {
	padding: 1rem;
}

.bandhub-merch-collection-header {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 0.95rem;
}

.bandhub-merch-collection-header p {
	margin: 0;
	color: var(--bandhub-muted);
}

.bandhub-merch-item {
	display: grid;
	gap: 0.75rem;
	padding: 0.9rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-card-bg);
}

.bandhub-merch-item-media {
	overflow: hidden;
	border-radius: 14px;
	background: var(--bandhub-subtle-bg);
	border: 1px solid var(--bandhub-border);
}

.bandhub-merch-item-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bandhub-merch-item h3 {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1.15rem;
}

.bandhub-merch-item-copy {
	display: grid;
	gap: 0.55rem;
}

.bandhub-merch-item-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bandhub-merch-item-links a {
	font-weight: 700;
	text-decoration: none;
}

.bandhub-merch-item-links a:hover,
.bandhub-merch-item-links a:focus {
	text-decoration: underline;
}

.bandhub-merch-footer-note {
	padding: 1rem 1.1rem;
	background: linear-gradient(180deg, rgba(184, 211, 232, 0.28), #fff);
}

.bandhub-merch-footer-note strong {
	color: var(--bandhub-heading);
}

@media (max-width: 980px) {
	.bandhub-merch-hero,
	.bandhub-merch-order {
		grid-template-columns: 1fr;
	}
}

.bandhub-press-page {
	display: grid;
	gap: 1.2rem;
	padding: 0.35rem 0 2.8rem;
}

.bandhub-press-hero,
.bandhub-press-jumpnav,
.bandhub-press-section {
	background: var(--bandhub-card-bg);
	border: 1px solid var(--bandhub-border);
	border-radius: 18px;
	box-shadow: var(--bandhub-shadow);
}

.bandhub-press-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 1.2rem;
	padding: 1.45rem;
	background:
		linear-gradient(135deg, rgba(8, 99, 171, 0.06), rgba(184, 211, 232, 0.38)),
		var(--bandhub-card-bg);
}

.bandhub-press-hero::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 0.7rem;
	background: linear-gradient(90deg, var(--bandhub-block-blue), var(--bandhub-block-red));
}

.bandhub-press-hero-copy,
.bandhub-press-hero-media {
	position: relative;
	z-index: 1;
}

.bandhub-press-eyebrow {
	margin: 0 0 0.4rem;
	color: var(--bandhub-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bandhub-press-hero h1,
.bandhub-press-section h2 {
	margin: 0;
	color: var(--bandhub-heading);
	line-height: 1.02;
}

.bandhub-press-hero h1 {
	font-size: clamp(2rem, 5vw, 3.3rem);
}

.bandhub-press-hero-copy {
	display: grid;
	gap: 0.85rem;
	align-content: start;
}

.bandhub-press-stat-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.bandhub-press-stat {
	display: inline-flex;
	align-items: center;
	padding: 0.36rem 0.72rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.78rem;
	font-weight: 700;
}

.bandhub-press-hero-media {
	display: grid;
	gap: 0.7rem;
	align-content: start;
}

.bandhub-press-hero-preview {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
}

.bandhub-press-hero-preview img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.bandhub-press-hero-note {
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--bandhub-border);
	font-size: 0.92rem;
}

.bandhub-press-jumpnav,
.bandhub-press-section {
	padding: 1rem 1.1rem;
}

.bandhub-press-jumpnav h2,
.bandhub-press-section h2 {
	font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.bandhub-press-jumpnav p,
.bandhub-press-section p {
	margin-top: 0.35rem;
	margin-bottom: 0;
}

.bandhub-press-jumpnav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.9rem;
}

.bandhub-press-jumpnav-links a {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.72rem;
	border-radius: 999px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
	color: var(--bandhub-heading);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.bandhub-press-jumpnav-links a:hover,
.bandhub-press-jumpnav-links a:focus {
	background: var(--bandhub-surface);
	text-decoration: none;
}

.bandhub-press-section {
	display: grid;
	gap: 0.95rem;
}

.bandhub-press-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.9rem;
}

.bandhub-press-card {
	display: grid;
	gap: 0.7rem;
	padding: 0.85rem;
	border: 1px solid var(--bandhub-border);
	border-radius: 16px;
	background: var(--bandhub-card-bg);
}

.bandhub-press-card-media {
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid var(--bandhub-border);
	background: var(--bandhub-subtle-bg);
}

.bandhub-press-card-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.bandhub-press-card-copy {
	display: grid;
	gap: 0.35rem;
}

.bandhub-press-card h3 {
	margin: 0;
	color: var(--bandhub-heading);
	font-size: 1rem;
	line-height: 1.15;
}

.bandhub-press-card p {
	margin: 0;
	font-size: 0.92rem;
}

.bandhub-press-card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.bandhub-press-card-links a {
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
}

.bandhub-press-card-links a:hover,
.bandhub-press-card-links a:focus {
	text-decoration: underline;
}

@media (max-width: 980px) {
	.bandhub-press-hero {
		grid-template-columns: 1fr;
	}
}

/* Lean member photo-submission and Rufus review surfaces. */
.bandhub-member-photo-help { display:block; margin-top:.35rem; color:var(--bandhub-muted); font-size:.88rem; }
.bandhub-rufus-photo-filter { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.bandhub-rufus-photo-filter .is-active { background:var(--bandhub-block-blue); color:#fff; }
.bandhub-rufus-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.bandhub-event-submitted-photos__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.bandhub-rufus-photo-card { overflow:hidden; border:1px solid var(--bandhub-border); border-radius:12px; background:#fff; }
.bandhub-rufus-photo-card > img { display:block; width:100%; height:200px; aspect-ratio:16 / 9; object-fit:cover; }
.bandhub-rufus-photo-card__body { padding:1rem; }
.bandhub-rufus-photo-card__body h3, .bandhub-rufus-photo-card__body p { margin-top:0; }
.bandhub-rufus-photo-card__actions { display:grid; gap:.7rem; }
.bandhub-rufus-photo-card__actions input:not([type="checkbox"]), .bandhub-rufus-photo-card__actions select { box-sizing:border-box; width:100%; min-width:0; max-width:100%; margin-top:.25rem; }
.bandhub-rufus-photo-card__actions > label { display:flex; align-items:center; gap:.5rem; }
.bandhub-rufus-photo-card__actions input[type="checkbox"] { width:auto; margin:0; flex:0 0 auto; }
.bandhub-rufus-photo-card__buttons { display:flex; flex-wrap:wrap; gap:.5rem; }
.bandhub-rufus-photo-card__buttons .bandhub-rufus-mini-button { width:auto; margin:0; }
.bandhub-event-submitted-photos { margin-top:2rem; }
.bandhub-event-submitted-photos__grid figure { margin:0; }
.bandhub-event-submitted-photos__grid figure { aspect-ratio:1 / 1; overflow:hidden; }
.bandhub-event-submitted-photos__grid img { display:block; width:100%; height:100%; object-fit:cover; object-position:center center; }
@media (max-width: 900px) { .bandhub-rufus-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .bandhub-rufus-photo-grid { grid-template-columns:1fr; } }

/* Public documentation archive. */
.bandhub-tutorial-archive { display: grid; gap: 2rem; padding-block: 2rem 3rem; }
.bandhub-tutorial-archive__intro { display: grid; gap: .55rem; max-width: 760px; padding: 1.35rem; border: 1px solid var(--bandhub-border); border-radius: 18px; background: var(--bandhub-subtle-bg); }
.bandhub-tutorial-archive__eyebrow, .bandhub-tutorial-card__area { margin: 0; color: var(--bandhub-accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bandhub-tutorial-archive__intro h1, .bandhub-tutorial-archive__group h2, .bandhub-tutorial-card h3 { margin: 0; color: var(--bandhub-heading); }
.bandhub-tutorial-archive__intro h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.02; }
.bandhub-tutorial-archive__intro > p:last-child { margin: 0; color: var(--bandhub-muted); font-size: 1.08rem; }
.bandhub-tutorial-archive__groups { display: grid; gap: 2rem; }
.bandhub-tutorial-archive__group { display: grid; gap: .85rem; }
.bandhub-tutorial-archive__group h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
.bandhub-tutorial-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bandhub-tutorial-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: .65rem; min-height: 230px; padding: 1.15rem; border: 1px solid var(--bandhub-border); border-radius: 16px; background: var(--bandhub-card-bg); box-shadow: var(--bandhub-shadow); }
.bandhub-tutorial-card h3 { font-size: 1.15rem; line-height: 1.14; }
.bandhub-tutorial-card h3 a { color: inherit; }
.bandhub-tutorial-card > p:not(.bandhub-tutorial-card__area) { margin: 0; color: var(--bandhub-muted); }
.bandhub-tutorial-card__link { align-self: end; color: var(--bandhub-heading); font-weight: 800; text-decoration: none; }
.bandhub-tutorial-card__link:hover, .bandhub-tutorial-card__link:focus { text-decoration: underline; }
@media (max-width: 900px) { .bandhub-tutorial-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bandhub-tutorial-archive__grid { grid-template-columns: 1fr; } .bandhub-tutorial-card { min-height: 0; } }

/* Presskit appearance categories keep their heading and entries in one card. */
.bandhub-presskit-appearances { margin-block: 2rem; }
.bandhub-presskit-appearances > h2 { margin-bottom: 1rem; }
.bandhub-presskit-appearances-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bandhub-presskit-appearance-card { padding: 1.25rem; border: 1px solid var(--bandhub-border); border-radius: 16px; background: var(--bandhub-card-bg); }
.bandhub-presskit-appearance-card h3 { margin: 0 0 .7rem; color: var(--bandhub-heading); font-size: 1.15rem; }
.bandhub-presskit-appearance-card ul { margin: 0; padding-left: 1.2rem; }
.bandhub-presskit-appearance-card li + li { margin-top: .3rem; }
.bandhub-presskit-appearance-card--parades { grid-column: 1 / -1; }
.bandhub-presskit-parade-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .bandhub-presskit-appearances-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bandhub-presskit-parade-columns { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .bandhub-presskit-appearances-grid { grid-template-columns: 1fr; } }

/* Focused Rufus music workflow. */
.bandhub-rufus-music-workspace > .bandhub-folder-detail-shell { margin-top: 1.25rem; }
.bandhub-music-master-library { display: grid; gap: 1rem; }
.bandhub-music-master-library-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.25rem; border: 1px solid var(--bandhub-border); border-radius: 16px; background: var(--bandhub-subtle-bg); }
.bandhub-music-master-library-intro .bandhub-folder-manager-kicker, .bandhub-music-master-library-intro .bandhub-folder-manager-title, .bandhub-music-master-library-intro .bandhub-folder-manager-copy { margin-top: 0; }
.bandhub-music-master-library-intro .bandhub-folder-manager-copy { margin-bottom: 0; max-width: 50rem; }
.bandhub-music-master-library-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.bandhub-music-master-library-browser { border: 1px solid var(--bandhub-border); border-radius: 12px; background: var(--bandhub-subtle-bg); }
.bandhub-music-master-library-browser > summary { cursor: pointer; padding: .9rem 1rem; color: var(--bandhub-accent); font-weight: 800; }
.bandhub-music-master-library-browser[open] > summary { border-bottom: 1px solid var(--bandhub-border); }
.bandhub-music-master-library-browser-content { display: grid; gap: .65rem; padding: 1rem 1rem 0; }
.bandhub-music-master-library-count { margin: 0; color: var(--bandhub-muted); font-size: .9rem; }
.bandhub-music-master-library-list { display: grid; gap: .55rem; }
.bandhub-music-master-library-row { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr) minmax(10rem, .55fr) auto; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--bandhub-border); border-radius: 12px; background: #fff; }
.bandhub-music-master-library-number { color: var(--bandhub-accent); font-weight: 800; }
.bandhub-music-master-library-row h4, .bandhub-music-master-library-row p { margin: 0; }
.bandhub-music-master-library-row h4 { color: var(--bandhub-heading); font-size: 1rem; }
.bandhub-music-master-library-row h4 a { color: inherit; }
.bandhub-music-master-library-row p, .bandhub-music-master-library-folder { color: var(--bandhub-muted); font-size: .84rem; }
.bandhub-music-master-library-folder { text-align: right; }
.bandhub-music-master-library-edit { font-size: .86rem; font-weight: 700; white-space: nowrap; }
.bandhub-music-master-library-row[data-music-song-manage-url] { cursor: pointer; }
.bandhub-music-master-library-row[data-music-song-manage-url]:hover, .bandhub-music-master-library-row[data-music-song-manage-url]:focus-visible { border-color: var(--bandhub-button-bg); box-shadow: 0 0 0 2px rgba(8, 99, 171, .12); outline: 0; }
.bandhub-music-master-library-usage { display: block; margin-top: .2rem; color: var(--bandhub-muted); font-size: .78rem; }
.bandhub-music-master-song-editor { display: grid; gap: 1rem; padding: 1.25rem; border: 2px solid var(--bandhub-accent); border-radius: 16px; background: #fff; }
.bandhub-music-master-song-editor > header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.bandhub-music-master-song-editor h3, .bandhub-music-master-song-editor p { margin: 0; }
.bandhub-music-master-song-editor .bandhub-song-detail-panel { margin: 0; }
.bandhub-member-setlists { display: grid; gap: 1.25rem; }
.bandhub-member-setlists > header { max-width: 48rem; }
.bandhub-member-setlists > header > * { margin-top: 0; }
.bandhub-member-setlists > header h2 { margin-bottom: .45rem; }
.bandhub-member-setlist-event { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--bandhub-border); border-radius: 16px; background: #fff; }
.bandhub-member-setlist-event > header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 1rem; }
.bandhub-member-setlist-event h3, .bandhub-member-setlist-event h4, .bandhub-member-setlist-event p { margin-top: 0; }
.bandhub-member-setlist-event h3 { margin-bottom: .2rem; }
.bandhub-member-setlist-event header p:last-child { margin-bottom: 0; }
.bandhub-member-setlist { overflow: hidden; border: 1px solid var(--bandhub-border); border-radius: 12px; }
.bandhub-member-setlist h4 { padding: .8rem 1rem; margin: 0; color: var(--bandhub-heading); background: var(--bandhub-subtle-bg); }
.bandhub-member-setlist ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.bandhub-member-setlist li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .8rem 1rem; border-top: 1px solid var(--bandhub-border); }
.bandhub-member-setlist-song-number { color: var(--bandhub-accent); font-weight: 800; }
.bandhub-member-setlist-song-title { font-weight: 700; }
.bandhub-member-setlist-chart { font-weight: 700; text-align: right; }
.bandhub-member-setlist-chart.is-part { color: var(--bandhub-accent); }
.bandhub-member-setlist-chart.is-missing { color: var(--bandhub-muted); font-size: .86rem; font-weight: 500; }
.bandhub-member-setlist-break { display: flex !important; align-items: center; gap: .65rem; color: var(--bandhub-muted); font-style: italic; background: var(--bandhub-subtle-bg); }
.bandhub-member-setlist-break span { color: var(--bandhub-heading); font-size: .8rem; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bandhub-music-song-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem .8rem; max-height: 22rem; margin: .8rem 0 1rem; padding: .85rem; overflow: auto; border: 1px solid var(--bandhub-border); border-radius: 12px; background: var(--bandhub-subtle-bg); }
.bandhub-music-song-picker .bandhub-folder-library-toggle { min-width: 0; font-size: .92rem; }
.bandhub-music-song-picker .bandhub-song-picker-row { justify-content: flex-start; gap: .45rem; padding: .4rem; cursor: pointer; }
.bandhub-song-picker-row > span { flex-shrink: 0; }
.bandhub-song-picker-row > .bandhub-song-picker-copy { display: flex; flex-direction: column; align-items: flex-start; width: auto; height: auto; min-width: 0; flex: 1; border: 0; background: none; box-shadow: none; gap: .15rem; }
.bandhub-song-picker-copy b { font-weight: 600; }
.bandhub-song-picker-row .bandhub-song-picker-copy small { margin-left: 0; font-size: .78rem; }
.bandhub-song-picker-row small { margin-left: auto; color: var(--bandhub-muted); font-size: .7rem; }
.bandhub-song-picker-row:has(input:disabled) { opacity: .65; cursor: default; }
.bandhub-music-song-picker [hidden], [data-song-picker-empty][hidden], [data-music-song-list] [data-music-song-row][hidden] { display: none !important; }
[data-song-picker-panel] > input[type="search"] { width: 100%; box-sizing: border-box; }
.bandhub-song-picker-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.bandhub-song-picker-actions > button {
	border: 1px solid var(--bandhub-button-bg);
	border-radius: 10px;
	padding: 0.62rem 1rem;
	background: var(--bandhub-button-bg);
	color: var(--bandhub-button-text);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.bandhub-song-picker-actions > button:hover,
.bandhub-song-picker-actions > button:focus {
	background: var(--bandhub-button-bg-hover) !important;
	border-color: var(--bandhub-button-bg-hover) !important;
	color: var(--bandhub-button-text) !important;
}
.bandhub-song-picker-actions button:disabled { opacity: .5; cursor: default; }

/* Keep Rufus music actions on the same dark-blue primary treatment. */
.bandhub-rufus-music-workspace .wp-element-button:not(.is-style-outline),
.bandhub-rufus-music-workspace .bandhub-song-picker-clear {
	background: var(--bandhub-button-bg) !important;
	border-color: var(--bandhub-button-bg) !important;
	color: var(--bandhub-button-text) !important;
}
.bandhub-rufus-music-workspace .wp-element-button:not(.is-style-outline):hover,
.bandhub-rufus-music-workspace .wp-element-button:not(.is-style-outline):focus,
.bandhub-rufus-music-workspace .bandhub-song-picker-clear:hover,
.bandhub-rufus-music-workspace .bandhub-song-picker-clear:focus {
	background: var(--bandhub-button-bg-hover) !important;
	border-color: var(--bandhub-button-bg-hover) !important;
	color: var(--bandhub-button-text) !important;
}
.bandhub-song-import-packet, .bandhub-song-part-import { display: grid; gap: .8rem; margin: .25rem 0; padding: 1rem; border: 1px solid var(--bandhub-border); border-radius: 12px; }
.bandhub-song-import-packet legend, .bandhub-song-part-import legend { padding: 0 .25rem; color: var(--bandhub-heading); font-weight: 800; }
.bandhub-song-import-packet p, .bandhub-song-part-import p { margin: 0; color: var(--bandhub-muted); font-size: .9rem; }
.bandhub-song-part-import [data-chart-part-rows] { display: grid; gap: .65rem; }
.bandhub-song-part-import-row { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(14rem, 1fr) auto; align-items: end; gap: .65rem; padding: .75rem; border: 1px solid var(--bandhub-border); border-radius: 10px; background: var(--bandhub-subtle-bg); }
.bandhub-song-part-import-row label { display: grid; gap: .3rem; font-weight: 700; }
.bandhub-song-part-remove { width: 2.25rem; height: 2.25rem; border: 1px solid var(--bandhub-border); border-radius: 8px; background: #fff; color: var(--bandhub-heading); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.bandhub-song-part-remove:hover { border-color: var(--bandhub-danger, #b20a0a); color: var(--bandhub-danger, #b20a0a); }
.bandhub-chart-download-list { list-style: none; margin: 0; padding: 0; }
.bandhub-chart-download-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--bandhub-border); }
.bandhub-chart-download-row { display: flex; align-items: center; justify-content: flex-start; gap: .65rem; }
.bandhub-chart-download-identity { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; min-width: 0; }
.bandhub-chart-song-title { color: var(--bandhub-muted); font-size: .8rem; font-weight: 400; white-space: nowrap; }
.bandhub-chart-instrument-tag { padding: .2rem .5rem; border-radius: 5px; background: var(--bandhub-subtle-bg); color: var(--bandhub-heading); font-size: .78rem; line-height: 1.2; white-space: nowrap; }
.bandhub-chart-download-row > a { font-size: .78rem; font-weight: 700; }
.bandhub-chart-tag-editor { margin-top: .5rem; font-size: .85rem; }
.bandhub-chart-download-list > li > .bandhub-chart-tag-editor { width: fit-content; margin-left: auto; }
.bandhub-chart-download-list > li > .bandhub-chart-tag-editor[open] { flex-basis: 100%; margin-left: 0; }
.bandhub-chart-tag-editor > summary { cursor: pointer; color: var(--bandhub-muted); }
.bandhub-chart-tag-editor form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .5rem; }
.bandhub-chart-upload form { display: grid; gap: .65rem; margin-top: .75rem; }
.bandhub-music-section-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; }
.bandhub-music-section-pill { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; border: 1px solid #0863ab; border-radius: 999px; background: #0863ab; color: #fff; text-decoration: none; font-weight: 700; }
.bandhub-music-section-pill:hover { background: #064f87; color: #fff; }
.bandhub-music-section-pill.is-active { background: #223041; border-color: #223041; color: #fff; }
.bandhub-music-section-pill:focus-visible { outline: 2px solid #0863ab; outline-offset: 3px; }
.bandhub-setlist-remove-song { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bandhub-heading); cursor: pointer; font-size: 1.3rem; }
.bandhub-setlist-remove-song:hover { background: var(--bandhub-subtle-bg); }
.bandhub-setlist-remove-song:focus-visible { outline: 2px solid currentColor; }
@media (max-width: 600px) { .bandhub-chart-download-row { align-items: flex-start; } .bandhub-chart-download-row > a { flex: 0 0 auto; } }
.bandhub-rufus-music-workspace [data-music-song-search] { box-sizing: border-box; width: 100%; margin-top: .4rem; }
.bandhub-rufus-music-workspace [data-setlist-order-list] { display: grid; gap: .55rem; min-height: 3rem; margin: 0 0 1.4rem; padding: 0; list-style: none; counter-reset: bandhub-setlist-order; }
.bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-item { display: grid; grid-template-columns: 1.7rem 1rem minmax(0, 1fr) auto auto 2rem; align-items: center; gap: .6rem; margin: 0; padding: .7rem .8rem; border: 1px solid var(--bandhub-border); border-radius: 10px; background: #fff; cursor: grab; counter-increment: bandhub-setlist-order; }
.bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-item::before { content: counter(bandhub-setlist-order); color: var(--bandhub-accent); font-weight: 800; text-align: center; }
.bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-item:active { cursor: grabbing; }
.bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-item > label, .bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-song-details { display: flex; align-items: center; gap: .55rem; min-width: 0; margin: 0; }
.bandhub-setlist-stack { display: grid; gap: 1.25rem; margin-top: 1.1rem; }
.bandhub-setlist-editor { padding: 1.25rem; border: 1px solid var(--bandhub-border); border-radius: 16px; background: #fff; box-shadow: var(--bandhub-shadow); }
.bandhub-setlist-editor-title { margin: 0 0 1rem; color: var(--bandhub-heading); font-size: 1.35rem; }
.bandhub-setlist-editor-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bandhub-setlist-editor-header .bandhub-folder-manager-kicker, .bandhub-setlist-editor-header .bandhub-setlist-editor-title { margin: 0; }
.bandhub-setlist-editor-summary { margin: .25rem 0 0; color: var(--bandhub-muted); font-size: .9rem; }
.bandhub-setlist-chart-warning { margin: .65rem 0 0; padding: .55rem .7rem; border: 1px solid #e4b15b; border-radius: 8px; background: #fff8e9; color: #7b4b00; font-size: .88rem; font-weight: 700; }
.bandhub-setlist-duplicate { flex: 0 0 auto; background: var(--bandhub-button-bg); border-color: var(--bandhub-button-bg); color: var(--bandhub-button-text); }
.bandhub-setlist-duplicate:hover, .bandhub-setlist-duplicate:focus-visible { background: var(--bandhub-button-hover); border-color: var(--bandhub-button-hover); color: var(--bandhub-button-text); }
.bandhub-setlist-order-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 1.1rem 0 .65rem; }
.bandhub-setlist-order-heading h5, .bandhub-setlist-editor h5 { margin: 0; color: var(--bandhub-heading); font-size: 1rem; }
.bandhub-setlist-add-break { border: 1px solid var(--bandhub-accent); border-radius: 999px; padding: .42rem .75rem; background: #fff; color: var(--bandhub-accent); font: inherit; font-weight: 700; cursor: pointer; }
.bandhub-setlist-add-break:hover, .bandhub-setlist-add-break:focus-visible { background: var(--bandhub-accent); color: #fff; }
.bandhub-setlist-song-copy { display: grid; min-width: 0; gap: .13rem; color: inherit; text-decoration: none; }
.bandhub-setlist-song-copy:hover .bandhub-setlist-song-title, .bandhub-setlist-song-copy:focus-visible .bandhub-setlist-song-title { color: var(--bandhub-accent); text-decoration: underline; }
.bandhub-setlist-song-copy:focus-visible { outline: 2px solid var(--bandhub-accent); outline-offset: 3px; border-radius: 3px; }
.bandhub-setlist-song-title { overflow: hidden; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.bandhub-setlist-song-library { overflow: hidden; color: var(--bandhub-muted); font-size: .78rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.bandhub-setlist-drag-grip { color: var(--bandhub-accent); font-size: 1.2rem; font-weight: 800; letter-spacing: -.22rem; line-height: 1; transform: rotate(90deg); }
.bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-note { color: var(--bandhub-muted); font-size: .82rem; white-space: nowrap; }
.bandhub-setlist-reorder-controls { display: inline-flex; flex-direction: column; gap: .18rem; }
.bandhub-setlist-reorder-controls button { display: grid; width: 1.55rem; height: 1.3rem; padding: 0; place-items: center; border: 0; border-radius: 4px; background: var(--bandhub-subtle-bg); color: var(--bandhub-accent); font-size: .62rem; line-height: 1; cursor: pointer; }
.bandhub-setlist-reorder-controls button:hover, .bandhub-setlist-reorder-controls button:focus-visible { background: var(--bandhub-accent); color: #fff; }
.bandhub-setlist-item-break { border-style: dashed !important; background: var(--bandhub-subtle-bg) !important; }
.bandhub-setlist-break-label { color: var(--bandhub-accent); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bandhub-setlist-break-title { box-sizing: border-box; min-width: 10rem; padding: .35rem .5rem; border: 1px solid var(--bandhub-border); border-radius: 6px; background: #fff; color: var(--bandhub-ink); font: inherit; font-weight: 700; }
.bandhub-setlist-events { display: grid; gap: .75rem; margin-top: 1.35rem; padding-top: 1.15rem; border-top: 1px solid var(--bandhub-border); }
@media (max-width: 900px) { .bandhub-music-song-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bandhub-music-song-picker { grid-template-columns: 1fr; max-height: 18rem; } .bandhub-music-master-library-intro { align-items: stretch; } .bandhub-music-master-library-actions { display: grid; } .bandhub-music-master-library-row { grid-template-columns: 3.75rem minmax(0, 1fr); gap: .7rem; } .bandhub-music-master-library-folder, .bandhub-music-master-library-edit { grid-column: 2; text-align: left; } .bandhub-music-master-song-editor > header, .bandhub-member-setlist-event > header { display: grid; } .bandhub-member-setlist li { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .55rem; } .bandhub-member-setlist-chart { grid-column: 2; text-align: left; } .bandhub-song-part-import-row { grid-template-columns: 1fr; align-items: stretch; } .bandhub-song-part-remove { justify-self: end; } .bandhub-setlist-editor { padding: .9rem; } .bandhub-setlist-editor-header { display: grid; } .bandhub-setlist-duplicate { justify-self: start; } .bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-item { grid-template-columns: 1.4rem .9rem minmax(0, 1fr) auto 2rem; gap: .4rem; padding: .6rem; } .bandhub-rufus-music-workspace [data-setlist-order-list] .bandhub-setlist-note { display: none; } .bandhub-setlist-break-title { min-width: 0; width: 100%; } }

/* BugHerd September 22: use the theme blue for event actions and heading. */
.bandhub-home-spotlight-title { color: var(--wp--preset--color--heading, #0863ab); }
.bandhub-event-setlist-link-form .bandhub-rufus-mini-button { background: #0863ab; border-color: #0863ab; color: #fff; }
.bandhub-event-setlist-link-form .bandhub-rufus-mini-button:hover,
.bandhub-event-setlist-link-form .bandhub-rufus-mini-button:focus-visible { background: #064f87; border-color: #064f87; color: #fff; }
.bandhub-rufus-status-form { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.bandhub-rufus-status-form .bandhub-rufus-mini-button { width: auto; margin: 0; }

.bandhub-message-recipient-list { display: grid; gap: .5rem; max-height: 20rem; overflow: auto; padding: .5rem; }
.bandhub-message-recipient-list label { display: flex; align-items: center; gap: .5rem; }

/* Rufus interaction standard: stable action sizing, visible keyboard focus,
 * and narrow-screen wrapping only when the available width requires it. */
body.page-id-2194 .bandhub-rufus-panel :is(.wp-element-button, .bandhub-rufus-mini-button, button[type="submit"]) {
	box-sizing: border-box;
	min-height: 2.5rem;
	white-space: nowrap;
}
body.page-id-2194 .bandhub-rufus-panel :is(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid rgba(8, 99, 171, 0.3);
	outline-offset: 2px;
}
body.page-id-2194 .bandhub-rufus-panel :is(.bandhub-member-profile-submit-row, .bandhub-rufus-event-card__actions, .bandhub-song-picker-actions) {
	display: flex;
	align-items: center;
	gap: .65rem;
	flex-wrap: nowrap;
}
@media (max-width: 640px) {
	body.page-id-2194 .bandhub-rufus-panel :is(.bandhub-member-profile-submit-row, .bandhub-rufus-event-card__actions, .bandhub-song-picker-actions) {
		align-items: stretch;
		flex-direction: column;
	}
	body.page-id-2194 .bandhub-rufus-panel :is(.wp-element-button, .bandhub-rufus-mini-button, button[type="submit"]) {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* Compact Rufus inmate roster, shared by frontend and editor preview. */
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management table.bandhub-attendance-feed-table { table-layout:auto; width:100%; min-width:680px; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-attendance-feed-table :is(th,td) { width:auto; padding:3px 5px !important; font-size:12px !important; line-height:1.15; vertical-align:middle; overflow-wrap:normal; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-attendance-feed-table :is(th,td):first-child { width:1%; text-align:center; white-space:nowrap; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-attendance-feed-table :is(th,td):nth-child(2) { width:1%; white-space:nowrap; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-table-member { gap:5px; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-table-member-avatar { flex:0 0 24px; width:24px; height:24px; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-name-stack { font-size:12px; line-height:1.1; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-name-stack :is(a,strong,span) { font-size:inherit; line-height:inherit; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-name-stack br { display:none; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-name-stack > span { margin-left:5px; font-size:11px; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-status-form { gap:3px; margin:0; flex-wrap:nowrap; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-status-form :is(select,button) { width:auto; min-width:0; min-height:24px; height:24px; margin:0; padding:1px 4px; font-size:11px; line-height:1.1; border-radius:4px; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inmate-rsvp-status { padding:2px 4px; font-size:11px; line-height:1.1; white-space:nowrap; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-profile-actions-cell { white-space:nowrap; }
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inline-link { font-size:11px; padding:2px; }

/* Keep the five inmate filters and submit button on one desktop row. */
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters {
 grid-template-columns:minmax(130px,1.4fr) minmax(115px,1fr) minmax(95px,.8fr) minmax(125px,1fr) minmax(120px,1fr) auto;
 gap:8px; align-items:end;
}
:is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters :is(input,select,button) {
 box-sizing:border-box; min-width:0; width:100%; height:32px; min-height:32px; padding:4px 8px; font-size:13px; line-height:1.2;
}
@media(max-width:760px) {
 :is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:400px) {
 :is(body, .editor-styles-wrapper) .bandhub-rufus-inmate-management .bandhub-rufus-inmate-filters { grid-template-columns:1fr; }
}
