/* Volt Course Booking — public styles
   Accent and ink come from plugin settings via --vcb-accent / --vcb-ink. */

.vcb-app {
	--vcb-accent: #f2b705;
	--vcb-ink: #0f172a;
	--vcb-paper: #ffffff;
	--vcb-surface: #f8fafc;
	--vcb-line: #e2e8f0;
	--vcb-line-soft: #eef2f7;

	/* Body copy sits at slate-600; slate-400 was unreadable at small sizes. */
	--vcb-muted: #475569;
	--vcb-faint: #64748b;
	--vcb-backdrop: #c9d2de;

	--vcb-open: #1f8a5f;
	--vcb-low: #c2610a;
	--vcb-shut: #94a3b8;

	/* Soft beads from the reference palette. */
	--vcb-bead-open: #8fdc8f;
	--vcb-bead-low: #f7e08a;
	--vcb-bead-shut: #dde3ea;

	--vcb-radius-xl: 28px;
	--vcb-radius: 16px;
	--vcb-radius-sm: 12px;

	--vcb-shadow-card: 0 1px 2px rgba(15, 23, 42, .04);
	--vcb-shadow-hover: 0 6px 16px rgba(15, 23, 42, .08);
	--vcb-shadow-panel: 0 24px 60px rgba(15, 23, 42, .10);

	font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--vcb-ink);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ── Board shell ────────────────────────────────────────── */

/* Pill palette from the supplied design: fill, hover chip, and a dark
   partner for text so every label clears AA contrast on its own tint. */
.vcb-app {
	--tone-green-bg: #dff3df;   --tone-green-chip: #bfe5bf;   --tone-green-ink: #1c5733;
	--tone-blue-bg: #cfe6fb;    --tone-blue-chip: #aed4f7;    --tone-blue-ink: #114b78;
	--tone-amber-bg: #fbdcbb;   --tone-amber-chip: #f6c795;   --tone-amber-ink: #7a4208;
	--tone-purple-bg: #dcd3f7;  --tone-purple-chip: #c6b8f0;  --tone-purple-ink: #422d95;
	--tone-cyan-bg: #cdeef0;    --tone-cyan-chip: #a9e0e4;    --tone-cyan-ink: #0d4f56;
	--tone-indigo-bg: #d9e0fb;  --tone-indigo-chip: #c0cbf6;  --tone-indigo-ink: #26357a;
}

.vcb-app--panelled { background: var(--vcb-backdrop); padding: 16px; border-radius: var(--vcb-radius-xl); }

@media (max-width: 640px) {
	/* Pill palette from the supplied design: fill, hover chip, and a dark
   partner for text so every label clears AA contrast on its own tint. */
.vcb-app {
	--tone-green-bg: #dff3df;   --tone-green-chip: #bfe5bf;   --tone-green-ink: #1c5733;
	--tone-blue-bg: #cfe6fb;    --tone-blue-chip: #aed4f7;    --tone-blue-ink: #114b78;
	--tone-amber-bg: #fbdcbb;   --tone-amber-chip: #f6c795;   --tone-amber-ink: #7a4208;
	--tone-purple-bg: #dcd3f7;  --tone-purple-chip: #c6b8f0;  --tone-purple-ink: #422d95;
	--tone-cyan-bg: #cdeef0;    --tone-cyan-chip: #a9e0e4;    --tone-cyan-ink: #0d4f56;
	--tone-indigo-bg: #d9e0fb;  --tone-indigo-chip: #c0cbf6;  --tone-indigo-ink: #26357a;
}

.vcb-app--panelled { padding: 0; background: transparent; }
}

.vcb-board {
	background: var(--vcb-paper);
	border-radius: var(--vcb-radius-xl);
	box-shadow: var(--vcb-shadow-panel);
	padding: 22px;
}

@media (max-width: 640px) {
	.vcb-board { padding: 18px; box-shadow: none; border: 1px solid var(--vcb-line); }
}

.vcb-board-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.vcb-board-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.vcb-board-sub {
	margin: 5px 0 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--vcb-muted);
}

.vcb-board-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.vcb-board-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.vcb-today {
	appearance: none;
	border: 1px solid var(--vcb-line);
	background: var(--vcb-paper);
	border-radius: 999px;
	padding: 8px 16px;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--vcb-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.vcb-today:hover { background: var(--vcb-surface); color: var(--vcb-ink); }

.vcb-app *,
.vcb-app *::before,
.vcb-app *::after { box-sizing: border-box; }

/* Author display rules (ours or the theme's) override the UA's [hidden]
   handling, so enforce it explicitly. */
.vcb-app [hidden] { display: none !important; }

.vcb-app .screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ── Toolbar ────────────────────────────────────────────── */

.vcb-switch {
	display: inline-flex;
	border: 1px solid var(--vcb-line);
	border-radius: 999px;
	padding: 4px;
	gap: 4px;
}

.vcb-switch button {
	appearance: none;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	color: var(--vcb-muted);
	padding: 6px 17px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .16s ease, color .16s ease;
}

.vcb-switch button:hover { color: var(--vcb-ink); }

.vcb-switch button.is-active {
	background: var(--vcb-ink);
	color: #fff;
	font-weight: 500;
}

.vcb-filter select {
	appearance: none;
	border: 1px solid var(--vcb-line);
	background: var(--vcb-paper);
	border-radius: 999px;
	padding: 9px 38px 9px 16px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--vcb-ink);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
}

.vcb-filter select:hover { border-color: var(--vcb-shut); }

/* ── Layout ─────────────────────────────────────────────── */

.vcb-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 20px;
	align-items: start;
}

@media (max-width: 1080px) {
	.vcb-shell { grid-template-columns: 1fr; }
	.vcb-panel { position: static; }
}

/* ── Agenda (list view) ─────────────────────────────────── */

.vcb-agenda { display: grid; gap: 10px; }

.vcb-agenda-month {
	font-size: 11.5px;
	letter-spacing: .13em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--vcb-muted);
	margin: 20px 0 2px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--vcb-line);
}

.vcb-agenda-month:first-child { margin-top: 0; }

.vcb-daycard {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	background: var(--vcb-paper);
	border: 1px solid var(--vcb-line);
	border-radius: var(--vcb-radius);
	padding: 14px;
}

.vcb-daycard.is-today { border-color: var(--vcb-ink); }

.vcb-daycard-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--vcb-surface);
	border-radius: var(--vcb-radius-sm);
	padding: 10px 4px;
	min-height: 62px;
}

.vcb-daycard.is-today .vcb-daycard-date {
	background: var(--vcb-ink);
}

.vcb-daycard.is-today .vcb-daycard-dow,
.vcb-daycard.is-today .vcb-daycard-num { color: #fff; }

.vcb-daycard-dow {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--vcb-muted);
}

.vcb-daycard-num {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.vcb-daycard-body { display: grid; gap: 8px; min-width: 0; }

/* Session rows — the workhorse element, used in three places. */

.vcb-daylist { display: grid; gap: 8px; }

.vcb-daylist-item[data-tone="green"]  { --tone-chip: var(--tone-green-chip); }
.vcb-daylist-item[data-tone="blue"]   { --tone-chip: var(--tone-blue-chip); }
.vcb-daylist-item[data-tone="amber"]  { --tone-chip: var(--tone-amber-chip); }
.vcb-daylist-item[data-tone="purple"] { --tone-chip: var(--tone-purple-chip); }
.vcb-daylist-item[data-tone="cyan"]   { --tone-chip: var(--tone-cyan-chip); }
.vcb-daylist-item[data-tone="indigo"] { --tone-chip: var(--tone-indigo-chip); }
.vcb-daylist-item[data-tone="shut"]   { --tone-chip: #e2e8f0; }

.vcb-daylist-item {
	appearance: none;
	border: 1px solid var(--vcb-line);
	border-left: 4px solid var(--tone-chip, var(--chip-color, var(--vcb-ink)));
	background: var(--vcb-paper);
	border-radius: var(--vcb-radius-sm);
	padding: 13px 15px;
	text-align: left;
	font: inherit;
	color: inherit;
	cursor: pointer;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.vcb-daylist-item:hover:not(:disabled) {
	border-color: var(--vcb-shut);
	border-left-color: var(--chip-color, var(--vcb-ink));
	box-shadow: 0 3px 12px rgba(20,27,38,.08);
	transform: translateY(-1px);
}

.vcb-daylist-when {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.vcb-daylist-when strong {
	font-size: 15px;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.vcb-daylist-when small {
	font-size: 12.5px;
	color: var(--vcb-muted);
	font-weight: 500;
}

.vcb-daylist-status {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.vcb-daylist-price { font-size: 14px; font-weight: 700; }

.vcb-daylist-item:disabled { cursor: not-allowed; }
.vcb-daylist-item:disabled .vcb-daylist-when strong { color: var(--vcb-shut); }
.vcb-daylist-item:disabled { border-left-color: var(--vcb-line); }

@media (max-width: 560px) {
	.vcb-daylist-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.vcb-daycard { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
}

/* ── Seat badges ────────────────────────────────────────── */

.vcb-seats-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
	background: rgba(31,138,95,.10);
	color: var(--vcb-open);
}

.vcb-seats-badge--low { background: rgba(194,97,10,.11); color: var(--vcb-low); }
.vcb-seats-badge--shut { background: var(--vcb-line-soft); color: var(--vcb-shut); }


.vcb-nav {
	appearance: none;
	border: 1px solid var(--vcb-line);
	background: var(--vcb-paper);
	color: var(--vcb-muted);
	width: 36px; height: 36px;
	border-radius: 999px;
	font-size: 14px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.vcb-nav:hover:not(:disabled) { background: var(--vcb-surface); color: var(--vcb-ink); }
.vcb-nav:disabled { opacity: .35; cursor: default; }


/* ── Month grid ─────────────────────────────────────────
   Full width, so a day cell has room for real course names. */

.vcb-month { min-width: 0; }

.vcb-month-head {
	display: grid;
	grid-template-columns: repeat(var(--vcb-cols, 5), minmax(0, 1fr));
	gap: 5px;
	margin-bottom: 8px;
}

.vcb-month-dow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--vcb-muted);
	text-align: center;
	padding-bottom: 2px;
}

.vcb-month-grid {
	display: grid;
	grid-template-columns: repeat(var(--vcb-cols, 5), minmax(0, 1fr));
	gap: 5px;
}

.vcb-cell {
	background: var(--vcb-paper);
	border: 1px solid var(--vcb-line);
	border-radius: var(--vcb-radius-sm);
	min-height: 116px;
	padding: 8px 6px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.vcb-cell--blank { background: transparent; border-color: transparent; }

/* Days with nothing on recede so scheduled days carry the eye. */
.vcb-cell--empty {
	background: transparent;
	border-color: transparent;
}

.vcb-cell--empty .vcb-cell-num { color: var(--vcb-faint); font-weight: 500; }

.vcb-cell.is-past { background: var(--vcb-surface); }
.vcb-cell.is-past.vcb-cell--empty { background: transparent; }

.vcb-cell-head { display: flex; align-items: center; justify-content: space-between; }

.vcb-cell-num {
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--vcb-ink);
}

.vcb-cell.is-today .vcb-cell-num {
	background: var(--vcb-ink);
	color: #fff;
	border-radius: 999px;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

/* ── Course entries inside a day ────────────────────────
   Filled pastel pills, following the event tiles in the design. */

.vcb-entry {
	appearance: none;
	width: 100%;
	display: block;
	text-align: left;
	font: inherit;
	border: 0;
	border-radius: 10px;
	padding: 7px 8px;
	cursor: pointer;
	min-width: 0;
	background: var(--tone-bg, #eef2f7);
	color: var(--tone-ink, #0f172a);
	transition: box-shadow .15s ease, transform .12s ease, background .15s ease;
}

.vcb-entry[data-tone="green"]  { --tone-bg: var(--tone-green-bg);  --tone-chip: var(--tone-green-chip);  --tone-ink: var(--tone-green-ink); }
.vcb-entry[data-tone="blue"]   { --tone-bg: var(--tone-blue-bg);   --tone-chip: var(--tone-blue-chip);   --tone-ink: var(--tone-blue-ink); }
.vcb-entry[data-tone="amber"]  { --tone-bg: var(--tone-amber-bg);  --tone-chip: var(--tone-amber-chip);  --tone-ink: var(--tone-amber-ink); }
.vcb-entry[data-tone="purple"] { --tone-bg: var(--tone-purple-bg); --tone-chip: var(--tone-purple-chip); --tone-ink: var(--tone-purple-ink); }
.vcb-entry[data-tone="cyan"]   { --tone-bg: var(--tone-cyan-bg);   --tone-chip: var(--tone-cyan-chip);   --tone-ink: var(--tone-cyan-ink); }
.vcb-entry[data-tone="indigo"] { --tone-bg: var(--tone-indigo-bg); --tone-chip: var(--tone-indigo-chip); --tone-ink: var(--tone-indigo-ink); }

.vcb-entry:hover:not([data-tone="shut"]) {
	background: var(--tone-chip, #e2e8f0);
	box-shadow: var(--vcb-shadow-hover);
	transform: translateY(-1px);
}

.vcb-entry.is-active {
	box-shadow: 0 0 0 2px var(--vcb-ink);
}

.vcb-entry-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.005em;
	color: inherit;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.vcb-entry-meta {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.25;
	color: inherit;
	opacity: .78;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vcb-entry-meta.is-low { opacity: 1; font-weight: 700; }

/* Closed dates read as inert but stay visible, so a busy month looks busy. */
.vcb-entry[data-tone="shut"] {
	--tone-bg: transparent;
	--tone-ink: #64748b;
	border: 1px dashed #cbd5e1;
	cursor: default;
	font-weight: 500;
}

.vcb-entry[data-tone="shut"] .vcb-entry-title { font-weight: 500; }

.vcb-cell-more {
	appearance: none;
	background: none;
	border: 0;
	padding: 1px 6px;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	color: var(--vcb-ink);
	text-align: left;
	cursor: pointer;
}

.vcb-cell-more:hover { color: var(--vcb-ink); text-decoration: underline; }

/* Month view puts the booking panel under the calendar, so the grid keeps
   the full width it needs. */
@media (max-width: 1000px) {
	.vcb-cell { min-height: 108px; padding: 7px 6px; }
	.vcb-entry { padding: 6px; gap: 5px; }
	.vcb-entry-meta { display: none; }
}

@media (max-width: 700px) {
	.vcb-month-head, .vcb-month-grid { gap: 5px; }
}

.vcb-week-empty {
	margin: 16px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--vcb-faint);
}

/* ── Booking panel ──────────────────────────────────────── */

.vcb-panel {
	background: var(--vcb-paper);
	border: 1px solid var(--vcb-line);
	border-radius: var(--vcb-radius);
	padding: 26px 28px;
	position: sticky;
	top: 24px;
}

@media (max-width: 900px) {
	.vcb-panel { position: static; }
}

.vcb-panel-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	text-align: center;
}

.vcb-panel-hint { margin: 0; color: var(--vcb-muted); font-size: 14px; font-weight: 500; max-width: 26ch; }

.vcb-panel-eyebrow {
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--vcb-muted);
	margin: 0 0 5px;
	font-weight: 700;
}

.vcb-panel h4 {
	margin: 0 0 16px;
	font-size: 1.3rem;
	line-height: 1.22;
	letter-spacing: -0.022em;
}

.vcb-panel-media {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: var(--vcb-radius-sm);
	margin-bottom: 16px;
}

.vcb-back {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13px;
	color: var(--vcb-muted);
	cursor: pointer;
	margin-bottom: 12px;
}

.vcb-back:hover { color: var(--vcb-ink); }

.vcb-facts {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 0;
	font-size: 14px;
}

.vcb-facts li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--vcb-line-soft);
}

.vcb-facts li:last-child { border-bottom: 0; }
.vcb-facts span:first-child { color: var(--vcb-muted); }
.vcb-facts span:last-child { font-weight: 650; text-align: right; }

.vcb-includes {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	display: grid;
	gap: 7px;
}

.vcb-includes li {
	margin: 0;
	padding-left: 23px;
	position: relative;
	color: var(--vcb-ink);
}

.vcb-includes li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: .5em;
	width: 9px; height: 5px;
	border-left: 2px solid var(--vcb-accent);
	border-bottom: 2px solid var(--vcb-accent);
	transform: rotate(-45deg);
}

.vcb-desc { font-size: 14px; color: var(--vcb-muted); margin: 0 0 18px; line-height: 1.55; }
.vcb-desc p { margin: 0 0 8px; }

.vcb-callout {
	border-left: 3px solid var(--vcb-accent);
	background: var(--vcb-surface);
	padding: 13px 15px;
	border-radius: 0 var(--vcb-radius-sm) var(--vcb-radius-sm) 0;
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0 0 18px;
}

.vcb-callout strong { display: block; margin-bottom: 4px; }
.vcb-callout p { margin: 0; }

.vcb-closed-note {
	border: 1px solid var(--vcb-line);
	background: var(--vcb-surface);
	border-radius: var(--vcb-radius);
	padding: 22px;
	font-size: 14.5px;
	color: var(--vcb-muted);
	margin: 0;
	text-align: center;
}

/* ── Form ───────────────────────────────────────────────── */

.vcb-form { display: grid; gap: 14px; }
.vcb-field { display: grid; gap: 6px; }

.vcb-field label { font-size: 13px; font-weight: 600; color: var(--vcb-ink); }

.vcb-field input[type="text"],
.vcb-field input[type="email"],
.vcb-field input[type="tel"],
.vcb-field input[type="number"],
.vcb-field select,
.vcb-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--vcb-line);
	border-radius: 10px;
	font: inherit;
	font-size: 14.5px;
	background: var(--vcb-paper);
	color: var(--vcb-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.vcb-field input:focus,
.vcb-field select:focus,
.vcb-field textarea:focus {
	outline: none;
	border-color: var(--vcb-ink);
	box-shadow: 0 0 0 3px rgba(20,27,38,.09);
}

.vcb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 480px) {
	.vcb-field-row { grid-template-columns: 1fr; }
}

.vcb-hint {
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--vcb-faint);
}

.vcb-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	color: var(--vcb-muted);
	line-height: 1.5;
}

.vcb-check input { margin-top: 3px; flex: 0 0 auto; }

.vcb-totals {
	border-top: 1px solid var(--vcb-line);
	padding-top: 14px;
	display: grid;
	gap: 7px;
	font-size: 14px;
}

.vcb-totals div { display: flex; justify-content: space-between; gap: 12px; }

.vcb-totals .vcb-total-row {
	font-weight: 700;
	font-size: 17px;
	padding-top: 9px;
	border-top: 1px solid var(--vcb-line);
	margin-top: 2px;
}

.vcb-submit {
	appearance: none;
	border: 0;
	width: 100%;
	padding: 14px 18px;
	border-radius: 10px;
	background: var(--vcb-ink);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}

.vcb-submit:hover:not(:disabled) { background: #000; transform: translateY(-1px); }
.vcb-submit:disabled { opacity: .55; cursor: default; transform: none; }

.vcb-secure { font-size: 11.5px; color: var(--vcb-muted); text-align: center; margin: 0; }

.vcb-error {
	background: #fdeaea;
	border-left: 3px solid #c62828;
	color: #7f1d1d;
	padding: 11px 13px;
	border-radius: 0 9px 9px 0;
	font-size: 13.5px;
	margin: 0;
}

/* ── Focus visibility ───────────────────────────────────── */

.vcb-app button:focus-visible,
.vcb-app select:focus-visible,
.vcb-app a:focus-visible {
	outline: 3px solid var(--vcb-accent);
	outline-offset: 2px;
}

/* ── Spinner ────────────────────────────────────────────── */

.vcb-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--vcb-muted);
	font-size: 14px;
	padding: 34px 0;
}

.vcb-spinner {
	width: 15px; height: 15px;
	border: 2px solid var(--vcb-line);
	border-top-color: var(--vcb-ink);
	border-radius: 50%;
	animation: vcb-spin .7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
	.vcb-app *,
	.vcb-app *::before,
	.vcb-app *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}

/* ── Course cards ───────────────────────────────────────── */

.vcb-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}

.vcb-course-card {
	border: 1px solid var(--vcb-line);
	border-radius: var(--vcb-radius);
	overflow: hidden;
	background: var(--vcb-paper);
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s ease, transform .12s ease;
}

.vcb-course-card:hover {
	box-shadow: 0 6px 22px rgba(20,27,38,.09);
	transform: translateY(-2px);
}

.vcb-course-media img { width: 100%; height: 165px; object-fit: cover; display: block; }
.vcb-course-body { padding: 17px 19px 19px; }
.vcb-course-body h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.3; }
.vcb-course-body h3 a { color: inherit; text-decoration: none; }
.vcb-course-body h3 a:hover { text-decoration: underline; }

.vcb-course-meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 12.5px;
	color: var(--vcb-muted);
	margin: 0 0 10px;
}

.vcb-course-price { font-weight: 700; color: var(--vcb-ink); }
.vcb-course-excerpt { font-size: 14px; color: var(--vcb-muted); margin: 0 0 10px; }
.vcb-course-next { font-size: 12.5px; margin: 0; font-weight: 650; }

/* ── Receipt ────────────────────────────────────────────── */

.vcb-receipt {
	max-width: 620px;
	border: 1px solid var(--vcb-line);
	border-top: 4px solid var(--vcb-accent);
	border-radius: var(--vcb-radius);
	padding: 32px;
	background: var(--vcb-paper);
}

.vcb-receipt-eyebrow {
	font-size: 11.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--vcb-muted);
	margin: 0 0 7px;
	font-weight: 700;
}

.vcb-receipt h2 { margin: 0 0 11px; font-size: 1.55rem; letter-spacing: -0.025em; }
.vcb-receipt-lede { margin: 0 0 24px; color: var(--vcb-muted); }
.vcb-receipt-details { margin: 0 0 24px; display: grid; }

.vcb-receipt-details > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--vcb-line-soft);
}

.vcb-receipt-details dt { color: var(--vcb-muted); margin: 0; font-size: 14px; }
.vcb-receipt-details dd { margin: 0; font-weight: 650; text-align: right; font-size: 14px; }
.vcb-receipt-sub { font-weight: 700; font-size: 14px; margin: 0 0 7px; }
.vcb-receipt-list { margin: 0 0 20px; padding-left: 18px; font-size: 14px; color: var(--vcb-muted); }

/* ── Single course page ─────────────────────────────────── */

.vcb-single { --vcb-course: #2c6e9b; }

.vcb-single-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.vcb-single-hero {
	background: var(--vcb-ink);
	color: #fff;
	padding: 54px 0 46px;
	border-bottom: 5px solid var(--vcb-course);
}

.vcb-single-code {
	font-size: 11.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--vcb-accent);
	margin: 0 0 10px;
}

.vcb-single-title {
	margin: 0 0 14px;
	font-size: clamp( 2rem, 4.5vw, 3.1rem );
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: #fff;
}

.vcb-single-lede {
	margin: 0 0 26px;
	font-size: 1.06rem;
	line-height: 1.55;
	max-width: 62ch;
	color: rgba( 255, 255, 255, .8 );
}

.vcb-single-specs {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-top: 1px solid rgba( 255, 255, 255, .16 );
}

.vcb-single-specs li {
	margin: 0;
	padding: 14px 30px 14px 0;
	border-right: 1px solid rgba( 255, 255, 255, .16 );
	padding-right: 30px;
	margin-right: 30px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.vcb-single-specs li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.vcb-single-specs span {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, .55 );
}

.vcb-single-specs strong {
	font-size: 1.02rem;
	color: #fff;
	font-weight: 650;
}

.vcb-single-cta {
	display: inline-block;
	background: var(--vcb-accent);
	color: var(--vcb-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: 8px;
	transition: transform .12s ease, filter .12s ease;
}

.vcb-single-cta:hover {
	transform: translateY( -1px );
	filter: brightness( 1.06 );
	color: var(--vcb-ink);
}

.vcb-single-body { padding: 48px 0 10px; }

.vcb-single-cols {
	display: grid;
	grid-template-columns: minmax( 0, 1.7fr ) minmax( 0, 1fr );
	gap: 44px;
	align-items: start;
}

@media (max-width: 880px) {
	.vcb-single-cols { grid-template-columns: 1fr; gap: 30px; }
	.vcb-single-hero { padding: 36px 0 32px; }
}

.vcb-single-figure {
	margin: 0 0 26px;
	border-radius: var(--vcb-radius);
	overflow: hidden;
}

.vcb-single-figure img {
	width: 100%;
	height: auto;
	display: block;
}

.vcb-single-content { font-size: 1rem; line-height: 1.65; }
.vcb-single-content p { margin: 0 0 1em; }

.vcb-single-section { margin-top: 32px; }

.vcb-single-section h2 {
	font-size: 1.2rem;
	margin: 0 0 14px;
	letter-spacing: -0.015em;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--vcb-course);
	display: inline-block;
}

.vcb-single-section .vcb-includes li { font-size: 15px; }

.vcb-single-aside { position: sticky; top: 24px; }

@media (max-width: 880px) {
	.vcb-single-aside { position: static; }
}

.vcb-single-card {
	border: 1px solid var(--vcb-line);
	border-top: 4px solid var(--vcb-course);
	border-radius: var(--vcb-radius);
	padding: 24px;
	background: var(--vcb-paper);
}

.vcb-single-price {
	margin: 0 0 16px;
	font-size: 2.1rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.vcb-single-price span {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--vcb-muted);
	margin-top: 6px;
}

.vcb-single-cardlist {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 14px;
	color: var(--vcb-muted);
}

.vcb-single-cardlist li {
	margin: 0;
	padding-left: 20px;
	position: relative;
}

.vcb-single-cardlist li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .55em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--vcb-course);
}

.vcb-submit--link {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

.vcb-submit--link:hover { color: #fff; }

.vcb-single-alt {
	display: block;
	text-align: center;
	margin-top: 12px;
	font-size: 13px;
	color: var(--vcb-muted);
}

.vcb-single-booking {
	padding: 44px 0 60px;
	margin-top: 34px;
	background: var(--vcb-surface);
	border-top: 1px solid var(--vcb-line);
	scroll-margin-top: 20px;
}

.vcb-single-booktitle {
	margin: 0 0 22px;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

/* ── Dates list ─────────────────────────────────────────── */

.vcb-dates-shell {
	display: grid;
	grid-template-columns: minmax( 0, 1.35fr ) minmax( 0, 1fr );
	gap: 28px;
	align-items: start;
}

@media (max-width: 900px) {
	.vcb-dates-shell { grid-template-columns: 1fr; }
}

.vcb-dates-heading {
	font-size: 11.5px;
	letter-spacing: .13em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--vcb-muted);
	margin: 0 0 12px;
}

.vcb-daylist-when { display: flex; flex-direction: column; gap: 2px; }

.vcb-daylist-status {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.vcb-daylist-go {
	font-size: 13px;
	font-weight: 700;
	color: var(--vcb-ink);
}

.vcb-daylist-item[data-state="closed"],
.vcb-daylist-item[data-state="full"],
.vcb-daylist-item[data-state="past"] {
	cursor: not-allowed;
	background: var(--vcb-surface);
	border-left-color: var(--vcb-line);
}

.vcb-daylist-item[data-state="closed"] strong,
.vcb-daylist-item[data-state="full"] strong { color: var(--vcb-shut); }

.vcb-daylist-item[data-state="closed"]:hover,
.vcb-daylist-item[data-state="full"]:hover,
.vcb-daylist-item[data-state="past"]:hover { border-color: var(--vcb-line); }

/* ── Layout guards ──────────────────────────────────────── */

/* Grid children default to min-width:auto, which lets long course titles
   blow out the column instead of ellipsing. */
.vcb-main,
.vcb-dates-col { min-width: 0; }

.vcb-toolbar-right { display: flex; align-items: center; gap: 10px; }

.vcb-receipt--empty,
.vcb-receipt--cancelled { border-top-color: var(--vcb-shut); }

/* Grouped card standing in for clashing sessions. */
.vcb-card--group { border-style: solid; }

.vcb-card-stack {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 9px;
	min-height: 0;
	overflow: hidden;
}

.vcb-card-stackline {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	line-height: 1.25;
	color: var(--vcb-muted);
	min-width: 0;
}

.vcb-card-stackline > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vcb-bead--sm { width: 8px; height: 8px; }

.vcb-card--group .vcb-card-time { font-weight: 600; color: var(--vcb-ink); }
.vcb-card.is-compact .vcb-card-stack { display: none; }


/* Group-booking reveal on the form. */
.vcb-grouplink {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--vcb-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	text-align: left;
	width: fit-content;
}

.vcb-grouplink:hover { color: var(--vcb-ink); }


/* Per-seat attendee names for group bookings. */
.vcb-attendee-list { display: grid; gap: 8px; }

.vcb-attendee-list input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--vcb-line);
	border-radius: 10px;
	font: inherit;
	font-size: 14.5px;
	background: var(--vcb-paper);
	color: var(--vcb-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.vcb-attendee-list input:focus {
	outline: none;
	border-color: var(--vcb-ink);
	box-shadow: 0 0 0 3px rgba(15,23,42,.09);
}


/* ── Sidebar slots widget ───────────────────────────────
   Standalone: no board backdrop, sized for a narrow column. */

.vcb-slots {
	--vcb-ink: #0f172a;
	--vcb-muted: #475569;
	--vcb-faint: #64748b;
	--vcb-line: #e2e8f0;
	--vcb-open: #1f8a5f;
	--vcb-low: #c2610a;
	--vcb-shut: #94a3b8;

	border: 1px solid var(--vcb-line);
	border-radius: 14px;
	padding: 18px;
	background: #fff;
	color: var(--vcb-ink);
	font-size: 15px;
	line-height: 1.45;
}

.vcb-slots-title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--vcb-muted);
}

.vcb-slots-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 0;
}

.vcb-slots-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eef2f7;
	margin: 0;
}

.vcb-slots-row:last-child { border-bottom: 0; }

.vcb-slots-date { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vcb-slots-date strong { font-size: 14px; font-weight: 600; }
.vcb-slots-date small { font-size: 12px; color: var(--vcb-muted); }

.vcb-slots-row.is-shut .vcb-slots-date strong { color: var(--vcb-shut); font-weight: 500; }

.vcb-slots .vcb-seats-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
	background: rgba(31,138,95,.10);
	color: var(--vcb-open);
	flex: 0 0 auto;
}

.vcb-slots .vcb-seats-badge--low { background: rgba(194,97,10,.11); color: var(--vcb-low); }
.vcb-slots .vcb-seats-badge--shut { background: #f1f5f9; color: var(--vcb-shut); }

.vcb-slots-loading,
.vcb-slots-empty {
	margin: 0;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--vcb-muted);
}

.vcb-slots-btn {
	display: block;
	text-align: center;
	background: var(--vcb-ink);
	color: #fff !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 650;
	padding: 13px 18px;
	border-radius: 10px;
	transition: background .15s ease, transform .1s ease;
}

.vcb-slots-btn:hover { background: #000; transform: translateY(-1px); color: #fff; }


/* ── Theme hardening ────────────────────────────────────
   Page builders (Elementor kits especially) style bare `button`, `input`
   and `a` with selectors like `.elementor-kit-7 button`, which out-rank
   single-class rules. Everything interactive is re-asserted here under a
   double-class scope so the widget looks the same on any theme. */

div.vcb-app button,
div.vcb-app input,
div.vcb-app select,
div.vcb-app textarea,
div.vcb-slots a {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	background-image: none;
	line-height: 1.4;
	min-height: 0;
}

div.vcb-app button {
	background: transparent;
	color: inherit;
	border: 0;
	padding: 0;
	text-align: inherit;
	cursor: pointer;
}

.vcb-app .vcb-nav,
.vcb-app .vcb-today {
	background: var(--vcb-paper);
	color: var(--vcb-muted);
	border: 1px solid var(--vcb-line);
	border-radius: 999px;
	padding: 0;
	min-height: 0;
}

div.vcb-app .vcb-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	line-height: 1;
	padding: 0;
}

.vcb-app .vcb-today { padding: 8px 16px; font-size: 13px; font-weight: 500; }

.vcb-app .vcb-nav:hover:not(:disabled),
.vcb-app .vcb-today:hover { background: var(--vcb-surface); color: var(--vcb-ink); }

.vcb-app .vcb-nav:disabled { opacity: .35; background: var(--vcb-paper); }

.vcb-app .vcb-switch button {
	background: transparent;
	color: var(--vcb-muted);
	border: 0;
	border-radius: 999px;
	padding: 6px 17px;
	font-size: 14px;
	font-weight: 400;
	min-height: 0;
}

.vcb-app .vcb-switch button.is-active { background: var(--vcb-ink); color: #fff; font-weight: 500; }

div.vcb-app .vcb-entry {
	background: var(--tone-bg, #eef2f7);
	color: var(--tone-ink, #0f172a);
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 7px 8px;
	width: 100%;
	display: block;
	text-align: left;
}

div.vcb-app .vcb-entry[data-tone="shut"] {
	background: transparent;
	color: #64748b;
	border: 1px dashed #cbd5e1;
	cursor: default;
}

/* Session rows in the day chooser and list view — also buttons. */
div.vcb-app .vcb-daylist-item {
	background: var(--vcb-paper);
	color: var(--vcb-ink);
	border: 1px solid var(--vcb-line);
	border-left: 4px solid var(--tone-chip, var(--vcb-ink));
	border-radius: var(--vcb-radius-sm);
	padding: 13px 15px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	text-align: left;
}

div.vcb-app .vcb-daylist-item:disabled {
	background: var(--vcb-surface);
	border-left-color: var(--vcb-line);
	cursor: not-allowed;
}

/* Text-link buttons: leaf elements where theme button styling is never
   legitimate, so paint properties are locked with !important. */
div.vcb-app button.vcb-cell-more,
div.vcb-app button.vcb-back,
div.vcb-app button.vcb-grouplink {
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 0 !important;
	width: fit-content !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: var(--vcb-muted) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

div.vcb-app button.vcb-grouplink {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

div.vcb-app button.vcb-cell-more:hover,
div.vcb-app button.vcb-back:hover,
div.vcb-app button.vcb-grouplink:hover {
	background: transparent !important;
	color: var(--vcb-ink) !important;
}

div.vcb-app button.vcb-cell-more { padding: 1px 6px !important; font-size: 11px !important; font-weight: 700 !important; color: var(--vcb-ink) !important; }

.vcb-app .vcb-submit {
	background: var(--vcb-ink);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 650;
	width: 100%;
	min-height: 0;
}

.vcb-app .vcb-submit:hover:not(:disabled) { background: #000; color: #fff; }

.vcb-app .vcb-field input[type="text"],
.vcb-app .vcb-field input[type="email"],
.vcb-app .vcb-field input[type="tel"],
.vcb-app .vcb-field select,
.vcb-app .vcb-field textarea,
.vcb-app .vcb-attendee-list input {
	background: var(--vcb-paper);
	color: var(--vcb-ink);
	border: 1px solid var(--vcb-line);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14.5px;
	width: 100%;
	min-height: 0;
}

/* Links inside the app never take the theme's link colour or underline. */
.vcb-app a { text-decoration: none; }

.vcb-slots a.vcb-slots-btn,
.vcb-slots a.vcb-slots-btn:visited {
	background: var(--vcb-ink);
	color: #fff;
	text-decoration: none;
	border: 0;
	box-shadow: none;
}

.vcb-slots a.vcb-slots-btn:hover { background: #000; color: #fff; }
