/**
 * Landing pages — registration layout brief design system.
 * Barlow Condensed + DM Sans · #194b7f / #f8c628 · no gradients.
 */

.bm-brief {
	--bm-blue: #194b7f;
	--bm-yellow: #f8c628;
	--bm-ink: #0f1923;
	--bm-ink2: #3d4a58;
	--bm-ink3: #6b7889;
	--bm-surface: #f2f4f7;
	--bm-border: #d5dae2;
	font-family: 'DM Sans', system-ui, sans-serif;
	color: var(--bm-ink);
	line-height: 1.55;
	background: var(--bm-surface);
}

.bm-brief-display {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	line-height: 1.05;
	color: var(--bm-blue);
	margin: 0;
}

.bm-brief-display--light { color: #fff; }
.bm-brief-display--sm { font-size: 1.5rem; }
.bm-brief-display--xl { font-size: clamp(3rem, 10vw, 5.5rem); color: #fff; white-space: pre-line; }

.bm-brief-lead { font-size: 0.95rem; color: var(--bm-ink2); margin: 0 0 1rem; line-height: 1.7; }
.bm-brief-lead--light { color: rgba(255, 255, 255, 0.65); }
.bm-brief-meta { font-size: 0.85rem; color: var(--bm-ink3); display: flex; align-items: center; gap: 6px; }
.bm-brief-meta--light { color: rgba(255, 255, 255, 0.75); }
.bm-brief-body { color: var(--bm-ink2); line-height: 1.7; }

.bm-brief-rule { height: 3px; background: var(--bm-yellow); width: 40px; margin: 10px 0 14px; }
.bm-brief-rule--short { width: 48px; margin: 8px auto 16px; }

.bm-brief-btn,
.bm-brief .bm-er-open-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 10px 18px !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	border: none !important;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.25 !important;
}

.bm-brief-btn--blue,
.bm-brief .bm-er-open-btn.bm-brief-btn--blue {
	background: var(--bm-blue) !important;
	color: #fff !important;
}

.bm-brief-btn--blue:hover,
.bm-brief .bm-er-open-btn.bm-brief-btn--blue:hover {
	background: #143d68 !important;
	color: #fff !important;
}

.bm-brief-btn--yellow,
.bm-brief .bm-er-open-btn.bm-brief-btn--yellow {
	background: var(--bm-yellow) !important;
	color: var(--bm-ink) !important;
}

.bm-brief-btn--yellow:hover,
.bm-brief .bm-er-open-btn.bm-brief-btn--yellow:hover {
	background: #e0b020 !important;
	color: var(--bm-ink) !important;
}

.bm-brief-btn--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #fff !important;
}

.bm-brief-btn--sm { padding: 7px 14px !important; font-size: 0.8rem !important; }
.bm-brief-btn--block { width: 100%; justify-content: center; margin-top: 12px; }

.bm-brief-section { padding: 40px 20px; max-width: 1080px; margin: 0 auto; }
.bm-brief-section--surface { background: var(--bm-surface); }
.bm-brief-section-head { text-align: center; padding: 32px 20px 0; max-width: 1080px; margin: 0 auto; }
.bm-brief-card {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	padding: 20px;
	box-shadow: none;
}

/* Nav */
.bm-brief-nav {
	background: #fff;
	border-bottom: 1px solid var(--bm-border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.bm-brief-nav__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.bm-brief-nav__brand {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--bm-blue);
}

/* Summit hero */
.bm-brief-hero--summit {
	background: var(--bm-blue);
	padding: 48px 20px;
}
.bm-brief-hero__grid {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	gap: 28px;
	align-items: center;
}
@media (min-width: 768px) {
	.bm-brief-hero__grid { grid-template-columns: 1fr auto; }
}
.bm-brief-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(248, 198, 40, 0.15);
	border: 1px solid rgba(248, 198, 40, 0.3);
	color: var(--bm-yellow);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 4px;
	margin-bottom: 14px;
}
.bm-brief-hero--summit .bm-brief-display { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.bm-brief-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bm-brief-countdown {
	background: rgba(248, 198, 40, 0.12);
	border: 1px solid rgba(248, 198, 40, 0.35);
	border-radius: 4px;
	padding: 16px 20px;
	text-align: center;
	min-width: 120px;
}
.bm-brief-countdown__num {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--bm-yellow);
	line-height: 1;
}
.bm-brief-countdown__label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 4px;
}

/* Stats bar */
.bm-brief-stats {
	display: flex;
	flex-wrap: wrap;
	background: #fff;
	border-top: 1px solid var(--bm-border);
	max-width: 1080px;
	margin: 0 auto;
}
.bm-brief-stat {
	flex: 1;
	min-width: 100px;
	text-align: center;
	padding: 16px 12px;
	border-right: 1px solid var(--bm-border);
}
.bm-brief-stat:last-child { border-right: none; }
.bm-brief-stat__num {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--bm-yellow);
	line-height: 1;
}
.bm-brief-stat__label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bm-ink3);
	margin-top: 4px;
}

/* Speakers */
.bm-brief-speakers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 32px;
}
.bm-brief-speaker {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	transition: border-color 0.15s;
}
.bm-brief-speaker:hover { border-top: 3px solid var(--bm-yellow); padding-top: 14px; }
.bm-brief-speaker__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--bm-blue);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	overflow: hidden;
}
.bm-brief-speaker__photo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
	display: block;
}
.bm-brief-speaker__initial {
	font-size: 1.25rem;
	line-height: 1;
}
.bm-brief-speaker h3 { font-size: 0.95rem; margin: 0 0 4px; color: var(--bm-ink); }
.bm-brief-speaker p { font-size: 0.8rem; color: var(--bm-ink3); margin: 0; }

/* Media gallery */
.bm-brief-gallery {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 40px;
}
.bm-brief-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.bm-brief-gallery__item {
	margin: 0;
	background: #fff;
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	overflow: hidden;
}
.bm-brief-gallery__media {
	aspect-ratio: 16 / 10;
	background: var(--bm-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.bm-brief-gallery__media img,
.bm-brief-gallery__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bm-brief-gallery__media iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
.bm-brief-gallery__item figcaption {
	padding: 10px 12px;
	font-size: 0.85rem;
	color: var(--bm-ink2);
	text-align: center;
}

/* Slideshow gallery */
.bm-brief-gallery--slideshow {
	max-width: 1200px;
}
.bm-brief-slideshow {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--bm-border);
	background: var(--bm-ink);
}
.bm-brief-slideshow__track {
	position: relative;
	aspect-ratio: 16 / 9;
	min-height: 280px;
}
.bm-brief-slideshow__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.bm-brief-slideshow__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}
.bm-brief-slideshow__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bm-brief-slideshow__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 12px 16px;
	background: linear-gradient(transparent, rgba(15, 25, 35, 0.75));
	color: #fff;
	font-size: 0.9rem;
	text-align: center;
}
.bm-brief-slideshow__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: var(--bm-blue);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.bm-brief-slideshow__nav--prev { left: 12px; }
.bm-brief-slideshow__nav--next { right: 12px; }
.bm-brief-slideshow__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	background: #fff;
}
.bm-brief-slideshow__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: var(--bm-border);
	cursor: pointer;
	padding: 0;
}
.bm-brief-slideshow__dot.is-active {
	background: var(--bm-blue);
}

/* Video section — 1920×900 crop */
.bm-brief-video-section {
	max-width: 100%;
	margin: 0 auto 40px;
	padding: 0 20px;
}
.bm-brief-video-section__frame {
	position: relative;
	width: 100%;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}
.bm-brief-video-media--bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.bm-brief-video-media--bg .bm-brief-video-embed,
.bm-brief-video-media--bg iframe,
.bm-brief-video-media--bg video {
	pointer-events: none;
	user-select: none;
}
.bm-brief-video-shield {
	position: absolute;
	inset: 0;
	z-index: 2;
	cursor: default;
	background: transparent;
}
.bm-brief-video-section--crop .bm-brief-video-section__frame {
	position: relative;
	aspect-ratio: 1920 / 900;
	max-height: min(56.25vw, 900px);
}
.bm-brief-video-section--crop iframe,
.bm-brief-video-section--crop video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	border: 0;
}
.bm-brief-video-section:not(.bm-brief-video-section--crop) .bm-brief-video-section__frame {
	position: relative;
	aspect-ratio: 16 / 9;
}
.bm-brief-video-section:not(.bm-brief-video-section--crop) iframe,
.bm-brief-video-section:not(.bm-brief-video-section--crop) video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Admin landing media picker */
.bm-lp-items-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 14px 0 8px;
}
.bm-lp-item__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.bm-lp-media-preview {
	margin: 6px 0 8px;
	max-width: 160px;
	border: 1px solid var(--bm-border, #d5dae2);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
.bm-lp-media-preview img,
.bm-lp-media-preview video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
}
.bm-lp-media-preview--embed {
	padding: 12px;
	text-align: center;
}
.bm-reg-wrap .bm-reg-media-row {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.bm-reg-wrap .bm-reg-media-row .bm-reg-input {
	flex: 1;
	min-width: 140px;
}

/* Schedule */
.bm-brief-schedule {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 20px 32px;
	list-style: none;
}
.bm-brief-schedule__row {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 14px;
	padding: 12px;
	align-items: start;
	background: #fff;
	margin-bottom: 6px;
	border-radius: 4px;
	border: 1px solid var(--bm-border);
}
.bm-brief-schedule__row.has-image {
	grid-template-columns: 88px 1fr minmax(100px, 160px);
}
.bm-brief-schedule__row--keynote { border-left: 4px solid var(--bm-yellow); }
.bm-brief-schedule__time {
	font-family: 'DM Mono', monospace;
	font-weight: 600;
	color: var(--bm-blue);
	font-size: 0.85rem;
}
.bm-brief-schedule__body strong {
	display: block;
	margin-bottom: 4px;
}
.bm-brief-schedule__body p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--bm-ink2);
}

/* CTA band */
.bm-brief-cta-band {
	background: var(--bm-blue);
	border-top: 3px solid var(--bm-yellow);
	padding: 40px 20px;
}
.bm-brief-cta-band__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Forum */
.bm-brief-forum-hero {
	display: grid;
	min-height: 420px;
}
@media (min-width: 900px) {
	.bm-brief-forum-hero { grid-template-columns: 58% 42%; }
}
.bm-brief-forum-hero__left {
	background: #fff;
	padding: 40px 32px;
	position: relative;
}
.bm-brief-forum-hero__stripe {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--bm-yellow);
}
.bm-brief-forum-form {
	background: var(--bm-blue);
	padding: 32px 24px;
}
.bm-brief-forum-form__inner {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 16px;
}
.bm-brief-forum-form__hint {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 10px;
	text-align: center;
}

/* Timeline */
.bm-brief-timeline {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 20px 32px 32px;
	border-left: 2px solid var(--bm-blue);
}
.bm-brief-timeline__item {
	position: relative;
	padding: 0 0 24px 20px;
}
.bm-brief-timeline__item.has-image {
	display: grid;
	grid-template-columns: 1fr minmax(100px, 160px);
	gap: 16px;
	align-items: start;
	padding-right: 0;
}
.bm-brief-timeline__item.has-image .bm-brief-timeline__dot {
	left: -27px;
}
.bm-brief-item-image {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--bm-border);
	background: var(--bm-surface);
	box-shadow: 0 2px 8px rgba(15, 25, 35, 0.06);
}
.bm-brief-item-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.bm-brief-timeline__dot {
	position: absolute;
	left: -27px;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--bm-yellow);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--bm-blue);
}

/* Expo */
.bm-brief-expo-hero {
	background: var(--bm-ink);
	padding: 56px 20px 40px;
	text-align: left;
}
.bm-brief-expo-hero__rule {
	height: 3px;
	background: var(--bm-yellow);
	width: 100%;
	margin: 16px 0 20px;
}
.bm-brief-highlights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	max-width: 1080px;
	margin: 0 auto;
	background: var(--bm-surface);
	padding: 32px 20px;
}
.bm-brief-highlight {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-top: 4px solid var(--bm-yellow);
	padding: 20px 16px;
	text-align: center;
}
.bm-brief-highlight__num {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--bm-yellow);
	line-height: 1;
}
.bm-brief-grid-blocks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 32px;
}
.bm-brief-grid-block {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-top: 4px solid var(--bm-yellow);
	padding: 18px;
	border-radius: 0 0 8px 8px;
}
.bm-brief-grid-block i { font-size: 1.4rem; color: var(--bm-blue); display: block; margin-bottom: 8px; }

/* Sponsorship */
.bm-brief-hero--sponsor {
	background: var(--bm-blue);
	padding: 48px 20px;
	text-align: center;
}
.bm-brief-sponsor-stats {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 20px;
	flex-wrap: wrap;
}
.bm-brief-sponsor-stats__num {
	display: block;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: var(--bm-yellow);
}
.bm-brief-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 20px;
}
.bm-brief-tier {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	overflow: hidden;
}
.bm-brief-tier header {
	padding: 16px;
	text-align: center;
	color: #fff;
}
.bm-brief-tier--platinum header { background: var(--bm-blue); }
.bm-brief-tier--platinum header i { color: var(--bm-yellow); font-size: 1.4rem; }
.bm-brief-tier--gold header { background: #c8960a; }
.bm-brief-tier--silver header { background: #8a9bb0; }
.bm-brief-tier--bronze header { background: #a07850; }
.bm-brief-tier__rule { height: 2px; background: var(--bm-yellow); margin: 8px auto; width: 60%; }
.bm-brief-tier__body { padding: 14px; font-size: 0.88rem; }
.bm-brief-tier__body ul { list-style: none; margin: 10px 0; padding: 0; }
.bm-brief-tier__body li { display: flex; gap: 6px; margin-bottom: 6px; font-size: 0.82rem; }
.bm-brief-tier__body li i { color: var(--bm-yellow); flex-shrink: 0; }
.bm-brief-tier__price { font-weight: 700; color: var(--bm-blue); }

/* Exhibitor */
.bm-brief-exhibitor-welcome {
	background: var(--bm-blue);
	padding: 32px 20px;
}
.bm-brief-booth-split {
	display: grid;
	gap: 16px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 20px;
}
@media (min-width: 768px) {
	.bm-brief-booth-split { grid-template-columns: 1fr 1fr; }
}
.bm-brief-booth-panel {
	background: #fff;
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	overflow: hidden;
}
.bm-brief-booth-panel > header {
	background: var(--bm-blue);
	color: #fff;
	padding: 10px 14px;
	font-size: 0.85rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}
.bm-brief-booth-panel > header i { color: var(--bm-yellow); }
.bm-brief-booth-plan {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 12px;
}
.bm-brief-booth-zone {
	border: 2px dashed var(--bm-border);
	border-radius: 4px;
	padding: 14px 8px;
	text-align: center;
	font-size: 0.75rem;
	color: var(--bm-ink3);
	min-height: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.bm-brief-booth-zone--has {
	border-style: solid;
	border-color: var(--bm-blue);
	background: rgba(25, 75, 127, 0.04);
	color: var(--bm-blue);
}
.bm-brief-item-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 12px;
}
.bm-brief-item-tile {
	border: 1.5px solid var(--bm-border);
	border-radius: 4px;
	padding: 8px;
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--bm-ink2);
}
.bm-brief-item-tile.is-selected {
	border-color: var(--bm-yellow);
	background: rgba(248, 198, 40, 0.08);
	font-weight: 600;
	color: var(--bm-ink);
}
.bm-brief-item-tile i { color: var(--bm-blue); }
.bm-brief-item-tile.is-selected i { color: #7a5c00; }
.bm-brief-booth-footer {
	background: var(--bm-blue);
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.8rem;
}
.bm-brief-deadline {
	background: var(--bm-yellow);
	color: var(--bm-ink);
	padding: 14px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 0.9rem;
	max-width: 1080px;
	margin: 0 auto 24px;
	border-radius: 4px;
}
.bm-brief-deadline i { font-size: 1.2rem; }
.bm-brief-deadline__link { color: var(--bm-blue); font-weight: 600; text-decoration: underline; }

/* Admin registration hub — brief tokens for template grid / section editor */
.bm-reg-wrap {
	--bm-blue: #194b7f;
	--bm-yellow: #f8c628;
	--bm-ink: #0f1923;
	--bm-ink2: #3d4a58;
	--bm-ink3: #6b7889;
	--bm-surface: #f2f4f7;
	--bm-surface2: #e8ecf1;
	--bm-border: #d5dae2;
}

/* Admin preview shell */
.bm-lp-preview-shell {
	background: var(--bm-surface);
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	max-height: min(72vh, 720px);
	overflow: auto;
}
.bm-lp-preview-shell.is-loading { opacity: 0.6; pointer-events: none; }

.bm-lp-template-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}
.bm-lp-template-card {
	background: #fff;
	border: 2px solid var(--bm-border);
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	padding: 0;
	transition: border-color 0.15s;
}
.bm-lp-template-card.is-selected { border-color: var(--bm-yellow); }
.bm-lp-template-card__thumb { height: 88px; background: var(--bm-blue); position: relative; overflow: hidden; }
.bm-lp-template-card__thumb--summit::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 28%;
	background: var(--bm-yellow);
	opacity: 0.85;
}
.bm-lp-template-card__thumb--forum {
	background: linear-gradient(90deg, var(--bm-blue) 55%, #fff 55%);
}
.bm-lp-template-card__thumb--forum::before {
	content: '';
	position: absolute;
	top: 18%;
	right: 8%;
	width: 38%;
	height: 64%;
	background: var(--bm-surface);
	border: 2px solid var(--bm-border);
	border-radius: 4px;
}
.bm-lp-template-card__thumb--expo { background: var(--bm-ink); }
.bm-lp-template-card__thumb--expo::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 22px;
	height: 4px;
	background: var(--bm-yellow);
}
.bm-lp-template-card__thumb--sponsorship {
	background: repeating-linear-gradient(
		90deg,
		var(--bm-blue) 0,
		var(--bm-blue) 20%,
		var(--bm-surface2) 20%,
		var(--bm-surface2) 25%
	);
}
.bm-lp-template-card__thumb--exhibitor {
	background: var(--bm-surface);
}
.bm-lp-template-card__thumb--exhibitor::before,
.bm-lp-template-card__thumb--exhibitor::after {
	content: '';
	position: absolute;
	top: 20%;
	width: 42%;
	height: 60%;
	border: 2px solid var(--bm-border);
	border-radius: 4px;
	background: #fff;
}
.bm-lp-template-card__thumb--exhibitor::before { left: 8%; }
.bm-lp-template-card__thumb--exhibitor::after { right: 8%; }
.bm-lp-template-card__meta { padding: 10px 12px; }
.bm-lp-template-card__name {
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--bm-ink);
	display: flex;
	align-items: center;
	gap: 6px;
}
.bm-lp-template-card__name i { color: var(--bm-blue); }
.bm-lp-template-card__desc { font-size: 0.75rem; color: var(--bm-ink3); margin-top: 4px; }

.bm-lp-palette-title,
.bm-lp-sections-title {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7889;
	margin: 14px 0 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bm-lp-palette {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.bm-lp-palette-item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	min-width: 72px;
	border: 1px solid var(--bm-border);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 10px;
	color: var(--bm-ink2);
	transition: border-color 0.15s, background 0.15s;
}

.bm-lp-palette-item:hover {
	border-color: var(--bm-yellow);
	background: rgba(248, 198, 40, 0.06);
}

.bm-lp-palette-item i {
	font-size: 18px;
	color: var(--bm-blue);
}

.bm-lp-section-list-wrap {
	margin-bottom: 12px;
}

.bm-lp-section-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	border: 1px solid var(--bm-border);
	border-radius: 4px;
	margin-bottom: 6px;
	background: #fff;
	font-size: 0.85rem;
	color: var(--bm-ink2);
	cursor: pointer;
	width: 100%;
	text-align: left;
}
.bm-lp-section-item.is-selected {
	border-color: var(--bm-yellow);
	border-left: 4px solid var(--bm-yellow);
	background: rgba(248, 198, 40, 0.04);
	color: var(--bm-ink);
	font-weight: 600;
}
.bm-lp-section-item__icon {
	color: var(--bm-blue);
	flex-shrink: 0;
}
.bm-lp-section-item__label {
	flex: 1;
	min-width: 0;
	text-align: left;
}
.bm-lp-grip {
	color: var(--bm-ink3);
	flex-shrink: 0;
}
.bm-lp-section-actions {
	display: inline-flex;
	gap: 2px;
	flex-shrink: 0;
}
.bm-lp-section-actions button {
	border: none;
	background: transparent;
	padding: 4px 6px;
	cursor: pointer;
	color: var(--bm-ink3);
	border-radius: 3px;
	line-height: 1;
}
.bm-lp-section-actions button:hover:not(:disabled) {
	background: var(--bm-surface);
	color: var(--bm-blue);
}
.bm-lp-section-actions button:disabled {
	opacity: 0.35;
	cursor: default;
}
.bm-lp-section-remove:hover:not(:disabled) {
	color: #c0392b;
}

.bm-lp-custom-panel {
	border: 1px solid var(--bm-border);
	border-radius: 8px;
	background: #fff;
	padding: 14px;
	margin-top: 12px;
}
