/* Vitruv Membership front-end design system. */
:root {
	--vfm-accent: #B5522A;
	--vfm-accent-strong: #913B1D;
	--vfm-accent-rgb: 181, 82, 42;
	--vfm-accent-strong-rgb: 145, 59, 29;
	--vfm-accent-soft: #fdf0eb;
	--vfm-accent-on-dark: #f1bc9c;
	--vfm-ink: #152033;
	--vfm-muted: #667085;
	--vfm-line: #e4e7ec;
	--vfm-soft: #f7f8fb;
	--vfm-card: #fff;
	--vfm-success: #15803d;
	--vfm-warning: #b45309;
	--vfm-danger: #b42318;
	--vfm-radius-sm: 10px;
	--vfm-radius: 18px;
	--vfm-radius-lg: 26px;
	--vfm-shadow-sm: 0 8px 24px rgba(15, 23, 42, .07);
	--vfm-shadow: 0 24px 65px rgba(15, 23, 42, .12);
	--vfm-font: Georgia, "Times New Roman", Times, serif;
}

.vfm-packages-grid,
.vfm-package-card,
.vfm-auth-shell,
.vfm-auth-signed-in,
.vfm-profile-form,
.vfm-dashboard-shell,
	.vfm-availability-grid,
.vfm-access-notice,
.vfm-access-page,
.vfm-empty-state,
.vfm-studio-block,
.vfm-consultation-form {
	box-sizing: border-box;
	font-family: var(--vfm-font);
	color: var(--vfm-ink);
}

.vfm-packages-grid *,
.vfm-package-card *,
.vfm-auth-shell *,
.vfm-auth-signed-in *,
.vfm-profile-form *,
.vfm-dashboard-shell *,
	.vfm-availability-grid *,
.vfm-access-notice *,
.vfm-access-page *,
.vfm-empty-state *,
.vfm-studio-block *,
.vfm-consultation-form * { box-sizing: border-box; }

.vfm-eyebrow {
	display: inline-block;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--vfm-accent-strong);
}

.vfm-icon {
	width: 1.08em;
	height: 1.08em;
	flex: 0 0 auto;
	vertical-align: -.14em;
	fill: none;
	stroke: currentColor;
}

.vfm-inline-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.vfm-button {
	appearance: none;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	font: 750 14px/1 var(--vfm-font);
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.vfm-button:hover { transform: translateY(-1px); }
.vfm-button:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .25); outline-offset: 3px; }
.vfm-button-primary { color: #fff !important; background: var(--vfm-accent) !important; border-color: var(--vfm-accent) !important; box-shadow: 0 10px 24px rgba(var(--vfm-accent-rgb), .2) !important; }
.vfm-button-primary:hover { color: #fff !important; background: var(--vfm-accent-strong) !important; border-color: var(--vfm-accent-strong) !important; box-shadow: 0 14px 30px rgba(var(--vfm-accent-strong-rgb), .24) !important; }
.vfm-button-secondary { color: var(--vfm-ink) !important; background: #fff; border-color: var(--vfm-line); }
.vfm-button-secondary:hover { color: var(--vfm-accent-strong) !important; border-color: rgba(var(--vfm-accent-rgb), .5); background: var(--vfm-accent-soft); }
.vfm-button-block { width: 100%; }
.vfm-button-disabled { color: #98a2b3 !important; background: #f2f4f7; border-color: #eaecf0; cursor: not-allowed; box-shadow: none; }
.vfm-button-disabled:hover { transform: none; }
.vfm-button[disabled], .vfm-button.is-loading { opacity: .7; cursor: progress; }
.vfm-button-spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.42); border-top-color: currentColor; border-radius: 50%; animation: vfm-spin .7s linear infinite; }
.vfm-button.is-loading .vfm-button-spinner { display: inline-block; }
@keyframes vfm-spin { to { transform: rotate(360deg); } }

/* Packages */
.vfm-packages-grid {
	display: grid;
	gap: 24px;
	align-items: stretch;
	width: 100%;
}
.vfm-packages-grid.vfm-columns-1 { grid-template-columns: minmax(0, 680px); justify-content: center; }
.vfm-packages-grid.vfm-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vfm-packages-grid.vfm-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vfm-packages-grid.vfm-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.vfm-package-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	padding: 28px;
	border: 1px solid var(--vfm-line);
	border-radius: var(--vfm-radius-lg);
	background: linear-gradient(155deg, #fff 0%, #fbfcfe 100%);
	box-shadow: var(--vfm-shadow-sm);
	overflow: hidden;
	isolation: isolate;
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.vfm-package-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -70px;
	top: -80px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--vfm-accent-rgb), .12), rgba(var(--vfm-accent-rgb), 0) 70%);
}
.vfm-package-card:hover { transform: translateY(-5px); border-color: rgba(var(--vfm-accent-rgb), .34); box-shadow: var(--vfm-shadow); }
.vfm-package-card.is-featured { border: 2px solid var(--vfm-accent); box-shadow: 0 24px 65px rgba(var(--vfm-accent-rgb), .15); }
.vfm-package-card.is-renewing { background: linear-gradient(155deg, #fff 0%, var(--vfm-accent-soft) 100%); }

.vfm-package-badge {
	position: absolute;
	right: 20px;
	top: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	max-width: calc(100% - 40px);
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	color: var(--vfm-accent-strong);
	background: var(--vfm-accent-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vfm-package-head { padding-right: 54px; }
.vfm-package-head h3 { margin: 9px 0 8px; font-size: clamp(23px, 2vw, 30px); line-height: 1.1; letter-spacing: -.035em; color: var(--vfm-ink); }
.vfm-package-head p { margin: 0; min-height: 3.2em; color: var(--vfm-muted); font-size: 14px; line-height: 1.6; }
.vfm-package-details { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none !important; }
.vfm-package-details li { display: inline-flex; align-items: center; min-height: 27px; margin: 0; padding: 5px 9px; border: 1px solid rgba(var(--vfm-accent-rgb), .2); border-radius: 999px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); font-size: 11px; font-weight: 750; line-height: 1.2; }
.vfm-package-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 25px 0 5px; }
.vfm-package-price strong { font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; color: var(--vfm-ink); }
.vfm-package-price > span { font-size: 13px; font-weight: 650; color: var(--vfm-muted); }
.vfm-package-price .vfm-package-price-prefix { flex-basis: 100%; margin-bottom: -2px; color: var(--vfm-accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vfm-package-price .vfm-package-consultation-price { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.vfm-package-unit { margin: 5px 0 0; color: var(--vfm-muted); font-size: 12px; }
.vfm-package-features { display: grid; gap: 12px; margin: 24px 0 0; padding: 21px 0 0; border-top: 1px solid var(--vfm-line); list-style: none !important; }
.vfm-package-features li { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #344054; font-size: 14px; line-height: 1.5; }
.vfm-package-features li .vfm-icon { width: 19px; height: 19px; margin-top: 1px; padding: 3px; border-radius: 50%; color: var(--vfm-success); background: #dcfce7; }
.vfm-package-actions { position: relative; z-index: 3; margin-top: auto; padding-top: 24px; }
.vfm-package-actions .vfm-button { position: relative; z-index: 4; width: 100%; pointer-events: auto; }
.vfm-package-actions a.vfm-button { touch-action: manipulation; }
.vfm-package-actions a.vfm-button.is-clicked { opacity: .78; cursor: progress; pointer-events: none; }
.vfm-package-checkout-note { display: block; margin: 9px 4px 0; color: var(--vfm-muted); font-size: 10px; line-height: 1.45; text-align: center; }
.vfm-package-checkout-note.is-warning { color: var(--vfm-warning); }
.vfm-package-checkout-note.is-consultation { color: var(--vfm-accent-strong); }
.vfm-button-setup { border-style: dashed; }

.vfm-renew-switch {
	display: grid;
	grid-template-columns: 46px 1fr;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding: 13px;
	border: 1px solid var(--vfm-line);
	border-radius: 14px;
	background: #f8fafc;
	cursor: pointer;
}
.vfm-renew-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vfm-switch-track { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #cbd5e1; transition: .2s ease; }
.vfm-switch-track > span { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.2); transition: .2s ease; }
.vfm-renew-switch input:checked + .vfm-switch-track { background: var(--vfm-accent); }
.vfm-renew-switch input:checked + .vfm-switch-track > span { transform: translateX(20px); }
.vfm-renew-switch input:focus-visible + .vfm-switch-track { outline: 3px solid rgba(var(--vfm-accent-rgb), .25); outline-offset: 3px; }
.vfm-renew-switch strong, .vfm-renew-switch small { display: block; }
.vfm-renew-switch strong { font-size: 13px; color: var(--vfm-ink); }
.vfm-renew-switch small { margin-top: 3px; font-size: 11px; color: var(--vfm-muted); }

/* Authentication */
.vfm-auth-shell {
	width: min(100%, 1080px);
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
	margin: 0 auto;
	border: 1px solid var(--vfm-line);
	border-radius: 30px;
	background: #fff;
	box-shadow: var(--vfm-shadow);
	overflow: hidden;
}
.vfm-auth-intro {
	position: relative;
	padding: clamp(38px, 6vw, 68px);
	background: linear-gradient(145deg, #152033 0%, #263754 100%);
	color: #fff;
	overflow: hidden;
}
.vfm-auth-intro::before, .vfm-auth-intro::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.vfm-auth-intro::before { right: -90px; top: -90px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(var(--vfm-accent-rgb), .45), rgba(var(--vfm-accent-rgb), 0) 70%); }
.vfm-auth-intro::after { left: -110px; bottom: -130px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0) 70%); }
.vfm-auth-mark { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); color: var(--vfm-accent-on-dark); }
.vfm-auth-mark .vfm-icon { width: 27px; height: 27px; }
.vfm-auth-intro .vfm-eyebrow { position: relative; z-index: 1; color: var(--vfm-accent-on-dark); }
.vfm-auth-intro h2 { position: relative; z-index: 1; margin: 12px 0 14px; font-size: clamp(33px, 4.5vw, 52px); line-height: 1.02; letter-spacing: -.05em; color: #fff; }
.vfm-auth-intro > p { position: relative; z-index: 1; margin: 0; max-width: 440px; color: #d0d5dd; font-size: 15px; line-height: 1.7; }
.vfm-auth-benefits { position: relative; z-index: 1; display: grid; gap: 13px; margin: 34px 0 0; padding: 0; list-style: none !important; }
.vfm-auth-benefits li { display: flex; align-items: center; gap: 10px; margin: 0; color: #f2f4f7; font-size: 14px; }
.vfm-auth-benefits .vfm-icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--vfm-accent-on-dark); }
.vfm-auth-card { padding: clamp(28px, 5vw, 56px); background: #fff; }
.vfm-auth-shell .vfm-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin-bottom: 28px; padding: 5px; border: 1px solid #eceef2; border-radius: 13px; background: #f2f4f7 !important; }
.vfm-auth-shell .vfm-auth-tabs > button { min-height: 42px; width: auto !important; margin: 0 !important; padding: 8px 12px !important; appearance: none !important; -webkit-appearance: none !important; border: 1px solid transparent !important; border-radius: 9px !important; background: transparent !important; background-image: none !important; color: var(--vfm-ink) !important; font: 750 13px/1 var(--vfm-font) !important; letter-spacing: normal !important; text-align: center !important; text-decoration: none !important; text-shadow: none !important; text-transform: none !important; transform: none !important; cursor: pointer; box-shadow: none !important; }
.vfm-auth-shell .vfm-auth-tabs > button[aria-selected="false"]:hover { color: var(--vfm-accent-strong) !important; background: var(--vfm-accent-soft) !important; }
.vfm-auth-shell .vfm-auth-tabs > button.is-active, .vfm-auth-shell .vfm-auth-tabs > button[aria-selected="true"] { color: #fff !important; border-color: var(--vfm-accent) !important; background: var(--vfm-accent) !important; box-shadow: 0 8px 18px rgba(var(--vfm-accent-rgb), .25) !important; }
.vfm-auth-shell .vfm-auth-tabs > button.is-active:hover, .vfm-auth-shell .vfm-auth-tabs > button[aria-selected="true"]:hover { color: #fff !important; border-color: var(--vfm-accent-strong) !important; background: var(--vfm-accent-strong) !important; box-shadow: 0 10px 22px rgba(var(--vfm-accent-strong-rgb), .28) !important; }
.vfm-auth-shell .vfm-auth-tabs > button:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .28) !important; outline-offset: 3px; }
.vfm-auth-form { display: grid; gap: 18px; }
.vfm-auth-form[hidden] { display: none !important; }
.vfm-form-message { margin: 0 0 16px; padding: 12px 14px; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.vfm-form-message[hidden] { display: none !important; }
.vfm-form-message:not([hidden]) { display: block !important; }
.vfm-form-message.is-error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.vfm-form-message.is-success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.vfm-field { min-width: 0; }
.vfm-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.vfm-field label, .vfm-label-row label { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.vfm-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vfm-label-row a { margin-bottom: 7px; color: var(--vfm-accent-strong); font-size: 12px; font-weight: 650; text-decoration: none; }
.vfm-field input:not([type="checkbox"]):not([type="file"]), .vfm-field select, .vfm-profile-form input:not([type="file"]), .vfm-profile-form select {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #d0d5dd;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15,23,42,.03);
	color: var(--vfm-ink);
	font: 500 14px/1.3 var(--vfm-font);
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.vfm-field input:hover, .vfm-field select:hover, .vfm-profile-form input:hover, .vfm-profile-form select:hover { border-color: #98a2b3; }
.vfm-field input:focus, .vfm-field select:focus, .vfm-profile-form input:focus, .vfm-profile-form select:focus { border-color: var(--vfm-accent); box-shadow: 0 0 0 4px rgba(var(--vfm-accent-rgb), .12); }
.vfm-field input[readonly], .vfm-profile-form input[readonly] { color: #667085; background: #f8fafc; cursor: not-allowed; }
.vfm-field small, .vfm-profile-form small { display: block; margin-top: 6px; color: var(--vfm-muted); font-size: 11px; line-height: 1.45; }
.vfm-password-field { position: relative; }
.vfm-password-field input { padding-right: 48px !important; }
.vfm-password-field button { position: absolute; right: 6px; top: 50%; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--vfm-muted); transform: translateY(-50%); cursor: pointer; }
.vfm-password-field button:hover { color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); }
.vfm-password-meter { height: 4px; margin-top: 8px; border-radius: 99px; background: #eaecf0; overflow: hidden; }
.vfm-password-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--vfm-danger); transition: width .2s ease, background-color .2s ease; }
.vfm-password-meter[data-score="1"] span { width: 20%; }
.vfm-password-meter[data-score="2"] span { width: 40%; background: var(--vfm-warning); }
.vfm-password-meter[data-score="3"] span { width: 60%; background: #ca8a04; }
.vfm-password-meter[data-score="4"] span { width: 80%; background: #65a30d; }
.vfm-password-meter[data-score="5"] span { width: 100%; background: var(--vfm-success); }
.vfm-check-row { display: flex; align-items: flex-start; gap: 9px; color: #475467; font-size: 12px; line-height: 1.55; cursor: pointer; }
.vfm-check-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--vfm-accent); }
.vfm-check-row a { color: var(--vfm-accent-strong); }
.vfm-optional-fields { padding: 13px; border: 1px solid var(--vfm-line); border-radius: 12px; background: #f8fafc; }
.vfm-optional-fields summary { cursor: pointer; color: #344054; font-size: 13px; font-weight: 700; }
.vfm-optional-fields[open] summary { margin-bottom: 15px; }
.vfm-optional-fields > .vfm-field, .vfm-optional-fields > .vfm-field-grid { margin-top: 13px; }
.vfm-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Keep account controls independent from theme button and hover styles. */
.vfm-auth-shell .vfm-auth-form .vfm-button.vfm-button-primary {
	appearance: none !important;
	-webkit-appearance: none !important;
	color: #fff !important;
	border-color: var(--vfm-accent) !important;
	background: var(--vfm-accent) !important;
	background-image: none !important;
	box-shadow: 0 10px 24px rgba(var(--vfm-accent-rgb), .22) !important;
	font: 750 14px/1 var(--vfm-font) !important;
	letter-spacing: normal !important;
	text-shadow: none !important;
	text-transform: none !important;
}
.vfm-auth-shell .vfm-auth-form .vfm-button.vfm-button-primary:hover:not([disabled]) {
	color: #fff !important;
	border-color: var(--vfm-accent-strong) !important;
	background: var(--vfm-accent-strong) !important;
	box-shadow: 0 14px 30px rgba(var(--vfm-accent-strong-rgb), .28) !important;
	transform: translateY(-1px) !important;
}
.vfm-auth-shell .vfm-auth-form .vfm-button.vfm-button-primary:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .3) !important; outline-offset: 3px; }
.vfm-auth-shell .vfm-auth-form .vfm-button.vfm-button-primary[disabled] { color: #98a2b3 !important; border-color: #eaecf0 !important; background: #f2f4f7 !important; box-shadow: none !important; }
.vfm-auth-shell .vfm-auth-form .vfm-field input:focus, .vfm-auth-shell .vfm-auth-form .vfm-field select:focus { border-color: var(--vfm-accent) !important; box-shadow: 0 0 0 4px rgba(var(--vfm-accent-rgb), .12) !important; }
.vfm-auth-shell .vfm-auth-form .vfm-check-row input { accent-color: var(--vfm-accent) !important; }
.vfm-auth-shell .vfm-auth-form .vfm-password-field > button { appearance: none !important; -webkit-appearance: none !important; padding: 0 !important; border: 0 !important; background: transparent !important; background-image: none !important; color: var(--vfm-muted) !important; text-shadow: none !important; box-shadow: none !important; }
.vfm-auth-shell .vfm-auth-form .vfm-password-field > button:hover { color: var(--vfm-accent-strong) !important; background: var(--vfm-accent-soft) !important; }
.vfm-auth-shell .vfm-auth-form .vfm-password-field > button:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .26) !important; outline-offset: 2px; }

.vfm-auth-signed-in {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--vfm-line);
	border-radius: var(--vfm-radius);
	background: #fff;
	box-shadow: var(--vfm-shadow-sm);
}
.vfm-avatar-fallback { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); font-weight: 800; }
.vfm-auth-signed-in h3 { margin: 4px 0 3px; font-size: 20px; color: var(--vfm-ink); }
.vfm-auth-signed-in p { margin: 0; color: var(--vfm-muted); }

/* Profile */
.vfm-profile-form { display: grid; gap: 18px; width: 100%; }
.vfm-profile-photo { display: flex; align-items: center; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--vfm-line); }
.vfm-profile-photo-preview { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; overflow: hidden; border: 3px solid #fff; border-radius: 22px; background: var(--vfm-accent-soft); color: var(--vfm-accent-strong); box-shadow: 0 0 0 1px var(--vfm-line), 0 10px 24px rgba(15,23,42,.1); font-size: 20px; font-weight: 800; }
.vfm-profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.vfm-upload-button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--vfm-line); border-radius: 9px; background: #fff; color: var(--vfm-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.vfm-upload-button:hover { color: var(--vfm-accent-strong); border-color: rgba(var(--vfm-accent-rgb), .45); }

/* Dashboard */
.vfm-dashboard-shell {
	width: 100%;
	border: 1px solid var(--vfm-line);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--vfm-shadow);
	overflow: hidden;
}
.vfm-dashboard-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; border-bottom: 1px solid var(--vfm-line); background: linear-gradient(135deg, #fff, #fafbfe); }
.vfm-dashboard-topbar h2 { margin: 6px 0 0; font-size: clamp(25px, 3vw, 35px); line-height: 1.1; letter-spacing: -.04em; color: var(--vfm-ink); }
.vfm-dashboard-user { display: grid; grid-template-columns: 44px auto; grid-template-rows: 1fr; align-items: center; gap: 11px; max-width: 290px; color: var(--vfm-ink) !important; text-decoration: none !important; }
.vfm-dashboard-user > img, .vfm-dashboard-user > span { grid-row: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; object-fit: cover; background: var(--vfm-accent-soft); color: var(--vfm-accent-strong); font-weight: 800; }
.vfm-dashboard-user small { grid-column: 2; min-width: 0; overflow: hidden; color: var(--vfm-muted); white-space: nowrap; text-overflow: ellipsis; }
.vfm-dashboard-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 600px; }
.vfm-dashboard-nav { display: flex; flex-direction: column; gap: 7px; padding: 19px 14px; border-right: 1px solid var(--vfm-line); background: #f8fafc; }
.vfm-dashboard-nav button, .vfm-dashboard-nav > a { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: #475467 !important; font: 700 13px/1 var(--vfm-font); text-align: left; text-decoration: none !important; cursor: pointer; transition: color .16s ease, background-color .16s ease; }
.vfm-dashboard-nav button:hover, .vfm-dashboard-nav > a:hover { color: var(--vfm-accent-strong) !important; background: var(--vfm-accent-soft); }
.vfm-dashboard-nav button.is-active { color: #fff !important; background: var(--vfm-accent); box-shadow: 0 9px 20px rgba(var(--vfm-accent-rgb), .2); }
.vfm-dashboard-nav button:focus-visible, .vfm-dashboard-nav > a:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .22); outline-offset: 2px; }
.vfm-dashboard-logout { margin-top: auto; color: #b42318 !important; }
.vfm-dashboard-panel { min-width: 0; padding: clamp(22px, 4vw, 38px); outline: none; background: #fff; }
.vfm-dashboard-section { display: grid; gap: 22px; }
.vfm-dashboard-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.vfm-dashboard-section-head h3 { margin: 6px 0 5px; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.04em; color: var(--vfm-ink); }
.vfm-dashboard-section-head p { margin: 0; color: var(--vfm-muted); line-height: 1.6; }
.vfm-status-pill { display: inline-flex; align-items: center; min-height: 29px; padding: 6px 11px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 11px; font-weight: 800; white-space: nowrap; }
.vfm-status-pill.is-active { color: #166534; background: #dcfce7; }
.vfm-status-pill.is-warning { color: #92400e; background: #fef3c7; }
.vfm-status-pill.is-muted { color: #475467; background: #f2f4f7; }
.vfm-dashboard-alert { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid #dbeafe; border-radius: 13px; background: #eff6ff; color: #1e3a8a; }
.vfm-dashboard-alert.is-warning { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
.vfm-dashboard-alert strong { flex: 0 0 auto; }
.vfm-dashboard-alert p { flex: 1; min-width: 220px; margin: 0; }
.vfm-dashboard-alert a { color: inherit; font-weight: 800; }
.vfm-membership-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 4vw, 32px); border-radius: 22px; background: linear-gradient(135deg, #152033, #273957); color: #fff; overflow: hidden; }
.vfm-membership-hero::after { content: ""; position: absolute; right: -80px; top: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--vfm-accent-rgb), .55), rgba(var(--vfm-accent-rgb), 0) 70%); }
.vfm-membership-plan, .vfm-membership-hero .vfm-inline-actions { position: relative; z-index: 1; }
.vfm-membership-plan > span { color: var(--vfm-accent-on-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vfm-membership-plan h4 { margin: 8px 0 6px; color: #fff; font-size: clamp(23px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.vfm-membership-plan p { margin: 0; color: #d0d5dd; }
.vfm-plan-cadence { color: var(--vfm-accent-on-dark); font-weight: 750; }
.vfm-membership-hero .vfm-button-secondary { color: #fff !important; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.vfm-membership-hero .vfm-button-secondary:hover { background: rgba(255,255,255,.14); }
.vfm-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.vfm-metric-grid article { min-height: 145px; padding: 19px; border: 1px solid var(--vfm-line); border-radius: 16px; background: #fff; box-shadow: var(--vfm-shadow-sm); }
.vfm-metric-grid article > span { display: block; font-size: 11px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; color: var(--vfm-muted); }
.vfm-metric-grid article > strong { display: block; margin-top: 17px; font-size: clamp(23px, 3vw, 31px); line-height: 1.1; letter-spacing: -.035em; color: var(--vfm-ink); overflow-wrap: anywhere; }
.vfm-metric-grid article > strong.vfm-metric-state { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.vfm-metric-grid article > small { display: block; margin-top: 10px; color: var(--vfm-muted); line-height: 1.4; }
.vfm-dashboard-card { border: 1px solid var(--vfm-line); border-radius: 18px; background: #fff; box-shadow: var(--vfm-shadow-sm); overflow: hidden; }
.vfm-dashboard-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 21px; border-bottom: 1px solid var(--vfm-line); background: #f8fafc; }
.vfm-dashboard-card-head h4 { margin: 5px 0 0; font-size: 18px; color: var(--vfm-ink); }
.vfm-dashboard-card-body { padding: 18px 20px 20px; }
.vfm-text-button { appearance: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--vfm-accent-strong); font: 750 12px/1 var(--vfm-font); cursor: pointer; white-space: nowrap; }
.vfm-text-button:hover { background: var(--vfm-accent-soft); }
.vfm-text-button:focus-visible { outline: 3px solid rgba(var(--vfm-accent-rgb), .22); outline-offset: 2px; }
.vfm-dashboard-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0; padding: 20px; list-style: none !important; }
.vfm-dashboard-feature-list li { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: #344054; }
.vfm-dashboard-feature-list .vfm-icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--vfm-success); background: #dcfce7; }
.vfm-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.vfm-resource-card { min-width: 0; display: grid; grid-template-columns: 45px 1fr 20px; align-items: center; gap: 13px; padding: 18px; border: 1px solid var(--vfm-line); border-radius: 16px; background: #fff; color: var(--vfm-ink) !important; text-decoration: none !important; box-shadow: var(--vfm-shadow-sm); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.vfm-resource-card:hover { transform: translateY(-2px); border-color: rgba(var(--vfm-accent-rgb), .4); box-shadow: 0 18px 40px rgba(15,23,42,.11); }
.vfm-resource-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); }
.vfm-resource-card > div { min-width: 0; }
.vfm-resource-card > div > span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--vfm-accent-strong); }
.vfm-resource-card h4 { margin: 5px 0 5px; font-size: 17px; color: var(--vfm-ink); }
.vfm-resource-card p { margin: 0; color: var(--vfm-muted); font-size: 12px; line-height: 1.5; }
.vfm-resource-card > .vfm-icon { color: var(--vfm-muted); }
.vfm-responsive-table { width: 100%; overflow-x: auto; }
.vfm-responsive-table table { width: 100%; border-collapse: collapse; }
.vfm-responsive-table th, .vfm-responsive-table td { padding: 14px 18px; border-bottom: 1px solid #eef0f4; text-align: left; }
.vfm-responsive-table th { color: var(--vfm-muted); background: #f8fafc; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vfm-responsive-table td { color: #344054; font-size: 13px; }
.vfm-responsive-table tbody tr:last-child td { border-bottom: 0; }
.vfm-responsive-table a { color: var(--vfm-accent-strong); font-weight: 750; text-decoration: none; }
.vfm-billing-state { display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid #dbeafe; border-radius: 16px; background: linear-gradient(135deg, #eff6ff, #f8fbff); color: #1e3a8a; }
.vfm-billing-state > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #dbeafe; }
.vfm-billing-state .vfm-icon { width: 23px; height: 23px; }
.vfm-billing-state strong { display: block; color: #1e3a8a; }
.vfm-billing-state p { margin: 4px 0 0; color: #475569; font-size: 12px; line-height: 1.5; }
.vfm-session-history { display: grid; }
.vfm-session-history article { display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: start; gap: 13px; padding: 16px 20px; border-bottom: 1px solid #eef0f4; }
.vfm-session-history article:last-child { border-bottom: 0; }
.vfm-session-history article > div { min-width: 0; }
.vfm-session-history strong, .vfm-session-history small { display: block; }
.vfm-session-history small { margin-top: 4px; color: var(--vfm-muted); font-size: 11px; }
.vfm-session-history p { margin: 6px 0 0; color: #475467; font-size: 12px; line-height: 1.45; }
.vfm-session-delta { min-width: 46px; min-height: 34px; display: grid; place-items: center; padding: 6px; border-radius: 10px; color: #166534; background: #dcfce7; font-size: 13px; font-weight: 800; }
.vfm-session-delta.is-debit { color: #991b1b; background: #fee2e2; }
.vfm-dashboard-card > .vfm-profile-form { padding: 22px; }
.vfm-dashboard-loading, .vfm-dashboard-error { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; color: var(--vfm-muted); }
.vfm-loading-ring { width: 38px; height: 38px; border: 3px solid #eaecf0; border-top-color: var(--vfm-accent); border-radius: 50%; animation: vfm-spin .75s linear infinite; }
.vfm-dashboard-error { color: var(--vfm-danger); }

/* Administrator-managed Small Group availability. */
.vfm-availability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; width: 100%; }
.vfm-availability-card { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(118px,.72fr) minmax(0,1.25fr) auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--vfm-line); border-radius: 16px; background: linear-gradient(145deg, #fff, #fbfcfe); box-shadow: 0 7px 22px rgba(15,23,42,.055); overflow: hidden; }
.vfm-availability-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--vfm-accent); }
.vfm-availability-card.is-full::before { background: #94a3b8; }
.vfm-availability-day span, .vfm-availability-day strong { display: block; }
.vfm-availability-day span { color: var(--vfm-accent-strong); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.vfm-availability-day strong { margin-top: 5px; color: var(--vfm-ink); font-size: 13px; line-height: 1.35; }
.vfm-availability-copy { min-width: 0; }
.vfm-availability-copy h4 { margin: 0; color: var(--vfm-ink); font-size: 15px; line-height: 1.3; }
.vfm-availability-copy p { margin: 5px 0 0; color: var(--vfm-muted); font-size: 11px; line-height: 1.45; }
.vfm-availability-status { min-width: 96px; text-align: right; }
.vfm-availability-status span { display: inline-flex; min-height: 29px; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 999px; color: #166534; background: #dcfce7; font-size: 11px; font-weight: 800; white-space: nowrap; }
.vfm-availability-card.is-full .vfm-availability-status span { color: #475569; background: #e2e8f0; }
.vfm-availability-status small { display: block; margin-top: 6px; color: var(--vfm-muted); font-size: 10px; white-space: nowrap; }

/* Access control */
.vfm-access-notice { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; width: min(100%, 820px); margin: 28px auto; padding: clamp(24px, 5vw, 38px); border: 1px solid var(--vfm-line); border-radius: 22px; background: linear-gradient(145deg, #fff, #fbfcfe); box-shadow: var(--vfm-shadow-sm); }
.vfm-access-summary { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; padding: 16px 18px; border: 1px solid var(--vfm-line); border-left: 4px solid var(--vfm-accent); border-radius: 14px; background: linear-gradient(135deg, #fff, #fbfcfe); box-shadow: var(--vfm-shadow-sm); color: var(--vfm-muted); font-size: 13px; line-height: 1.6; }
.vfm-access-summary::before { content: "\1F512"; flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--vfm-accent-soft); color: var(--vfm-accent-strong); font-size: 13px; }
.vfm-access-summary strong { display: block; margin-bottom: 2px; color: var(--vfm-ink); font-size: 14px; }
.vfm-access-notice.is-full-page { width: min(100%, 900px); padding: clamp(30px, 6vw, 58px); box-shadow: var(--vfm-shadow); }
.vfm-access-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 19px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); }
.vfm-access-icon .vfm-icon { width: 29px; height: 29px; }
.vfm-access-copy h2 { margin: 8px 0 9px; font-size: clamp(25px, 3vw, 36px); line-height: 1.1; letter-spacing: -.04em; color: var(--vfm-ink); }
.vfm-access-copy p { margin: 0 0 20px; max-width: 650px; color: var(--vfm-muted); line-height: 1.65; }
.vfm-access-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at top right, rgba(var(--vfm-accent-rgb), .16), transparent 34%), #f6f7fb; }
.vfm-access-page-inner { width: 100%; }
.vfm-access-back { display: inline-flex; margin: 18px auto 0; color: var(--vfm-muted) !important; text-decoration: none !important; font-size: 13px; font-weight: 700; }
.vfm-menu-locked > a, a.vfm-menu-locked { opacity: .82; }
.vfm-menu-locked > a::after, a.vfm-menu-locked::after { content: "\1F512"; margin-left: .4em; font-size: .72em; }

.vfm-empty-state { display: grid; place-items: center; min-height: 220px; padding: 30px; border: 1px dashed #cbd5e1; border-radius: 18px; background: #f8fafc; text-align: center; }
.vfm-empty-state > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); }
.vfm-empty-state h3, .vfm-empty-state h4 { margin: 15px 0 5px; color: var(--vfm-ink); }
.vfm-empty-state p { margin: 0; max-width: 540px; color: var(--vfm-muted); line-height: 1.6; }
.vfm-empty-state.is-compact { min-height: 150px; border: 0; border-radius: 0; }

@media (max-width: 1080px) {
	.vfm-packages-grid.vfm-columns-4, .vfm-packages-grid.vfm-columns-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.vfm-auth-shell { grid-template-columns: minmax(0,.8fr) minmax(400px,1.2fr); }
	.vfm-dashboard-layout { grid-template-columns: 190px minmax(0,1fr); }
}

@media (max-width: 820px) {
	.vfm-auth-shell { grid-template-columns: 1fr; }
	.vfm-auth-intro { padding: 36px; }
	.vfm-auth-benefits { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
	.vfm-auth-benefits li { align-items: flex-start; font-size: 12px; }
	.vfm-dashboard-topbar { align-items: flex-start; }
	.vfm-dashboard-layout { grid-template-columns: 1fr; }
	.vfm-dashboard-nav { position: sticky; top: 0; z-index: 4; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px,1fr); grid-template-columns: none; padding: 9px; border-right: 0; border-bottom: 1px solid var(--vfm-line); overflow-x: auto; overscroll-behavior-inline: contain; }
	.vfm-dashboard-nav button, .vfm-dashboard-nav > a { justify-content: center; min-width: 105px; }
	.vfm-dashboard-logout { display: none !important; }
	.vfm-membership-hero, .vfm-dashboard-section-head { align-items: flex-start; flex-direction: column; }
	.vfm-metric-grid { grid-template-columns: 1fr; }
	.vfm-resource-grid { grid-template-columns: 1fr; }
	.vfm-availability-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.vfm-packages-grid.vfm-columns-4, .vfm-packages-grid.vfm-columns-3, .vfm-packages-grid.vfm-columns-2 { grid-template-columns: 1fr; }
	.vfm-package-card { padding: 23px; border-radius: 21px; }
	.vfm-package-head { padding-right: 0; }
	.vfm-package-badge { position: static; align-self: flex-start; width: fit-content; margin-bottom: 17px; }
	.vfm-auth-intro { padding: 30px 24px; }
	.vfm-auth-intro h2 { font-size: 34px; }
	.vfm-auth-benefits { grid-template-columns: 1fr; }
	.vfm-auth-card { padding: 25px 20px; }
	.vfm-field-grid { grid-template-columns: 1fr; }
	.vfm-auth-signed-in { grid-template-columns: 52px 1fr; }
	.vfm-auth-signed-in .vfm-inline-actions { grid-column: 1 / -1; }
	.vfm-profile-photo { align-items: flex-start; }
	.vfm-dashboard-shell { border-radius: 20px; }
	.vfm-dashboard-topbar { padding: 20px; }
	.vfm-dashboard-user small { display: none; }
	.vfm-dashboard-user { grid-template-columns: 44px; }
	.vfm-dashboard-panel { padding: 20px 15px 24px; }
	.vfm-dashboard-nav { grid-auto-columns: 110px; grid-template-columns: none; }
	.vfm-dashboard-nav button { flex-direction: column; gap: 5px; min-height: 60px; font-size: 10px; }
	.vfm-membership-hero { padding: 22px; }
	.vfm-membership-hero .vfm-inline-actions, .vfm-dashboard-section-head .vfm-inline-actions { width: 100%; }
	.vfm-membership-hero .vfm-button, .vfm-dashboard-section-head .vfm-button { flex: 1; }
	.vfm-dashboard-feature-list { grid-template-columns: 1fr; }
	.vfm-dashboard-card-head { align-items: flex-start; flex-direction: column; }
	.vfm-dashboard-card-head .vfm-text-button { margin-left: -10px; }
	.vfm-availability-card { grid-template-columns: minmax(108px,.75fr) minmax(0,1fr); gap: 12px; padding: 16px; }
	.vfm-availability-status { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-width: 0; text-align: left; }
	.vfm-availability-status small { margin: 0; }
	.vfm-responsive-table table, .vfm-responsive-table thead, .vfm-responsive-table tbody, .vfm-responsive-table th, .vfm-responsive-table td, .vfm-responsive-table tr { display: block; }
	.vfm-responsive-table thead { position: absolute; left: -9999px; }
	.vfm-responsive-table tr { padding: 12px 16px; border-bottom: 1px solid var(--vfm-line); }
	.vfm-responsive-table td { display: grid; grid-template-columns: 105px 1fr; gap: 10px; padding: 7px 0; border: 0; text-align: right; }
	.vfm-responsive-table td::before { content: attr(data-label); text-align: left; color: var(--vfm-muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
	.vfm-access-notice { grid-template-columns: 1fr; margin: 18px auto; }
	.vfm-access-icon { width: 54px; height: 54px; }
	.vfm-access-page { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.vfm-package-card, .vfm-button, .vfm-resource-card, .vfm-switch-track, .vfm-switch-track > span { transition-duration: .01ms !important; }
	.vfm-button-spinner, .vfm-loading-ring { animation-duration: 1.5s; }
}

/* Admin-Managed Roster Plus — member-facing weekly roster. */
.vfm-roster-public-shell,
.vfm-roster-public-shell *,
.vfm-roster-dialog,
.vfm-roster-dialog * { box-sizing: border-box; }

.vfm-roster-public-shell {
	display: grid;
	gap: 16px;
	width: 100%;
	font-family: var(--vfm-font);
	color: var(--vfm-ink);
}

.vfm-roster-public-shell .vfm-availability-grid {
	grid-template-columns: 1fr;
	gap: 14px;
}

.vfm-member-roster-summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 24px 22px 28px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 10%, rgba(var(--vfm-accent-rgb), .34), transparent 34%),
		linear-gradient(135deg, #152033 0%, #243552 100%);
	box-shadow: 0 18px 44px rgba(15,23,42,.16);
	color: #fff;
	overflow: hidden;
}
.vfm-member-roster-summary::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: var(--vfm-accent);
}
.vfm-member-roster-summary > div,
.vfm-member-roster-summary > p { position: relative; z-index: 1; }
.vfm-member-roster-summary span {
	display: block;
	margin-bottom: 5px;
	color: var(--vfm-accent-on-dark);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.vfm-member-roster-summary strong {
	display: block;
	color: #fff;
	font-size: clamp(18px, 2.5vw, 25px);
	line-height: 1.2;
	letter-spacing: -.025em;
}
.vfm-member-roster-summary p {
	max-width: 490px;
	margin: 0;
	color: #d7deea;
	font-size: 12px;
	line-height: 1.65;
}

.vfm-roster-slot-card {
	grid-template-columns: minmax(132px,.68fr) minmax(220px,1.35fr) minmax(118px,.58fr);
	gap: 18px;
	padding: 20px 21px;
	border-color: #e0e6ee;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15,23,42,.065);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}
.vfm-roster-slot-card.has-action {
	grid-template-columns: minmax(132px,.65fr) minmax(210px,1.15fr) minmax(116px,.5fr) minmax(245px,.95fr);
}
.vfm-roster-slot-card:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--vfm-accent-rgb), .34);
	box-shadow: 0 18px 38px rgba(15,23,42,.095);
}
.vfm-roster-slot-card::before {
	width: 5px;
	background: linear-gradient(180deg, var(--vfm-accent), var(--vfm-accent-strong));
}
.vfm-roster-slot-card.is-assigned {
	border-color: #a7e5bc;
	background: linear-gradient(145deg, #fff, #f4fff7);
	box-shadow: 0 14px 34px rgba(21,128,61,.09);
}
.vfm-roster-slot-card.is-assigned::before { background: linear-gradient(180deg, #22c55e, #15803d); }
.vfm-roster-slot-card.has-request:not(.is-assigned) {
	border-color: #fed7aa;
	background: linear-gradient(145deg, #fff, #fffaf4);
}
.vfm-roster-slot-card.has-request:not(.is-assigned)::before { background: linear-gradient(180deg, #f59e0b, #b45309); }
.vfm-roster-slot-card.is-full:not(.is-assigned):not(.has-request)::before { background: linear-gradient(180deg, #94a3b8, #64748b); }
.vfm-roster-slot-card.is-busy {
	pointer-events: none;
	opacity: .68;
}

.vfm-roster-slot-card .vfm-availability-day {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #edf0f4;
	border-radius: 14px;
	background: #f8fafc;
}
.vfm-roster-slot-card .vfm-availability-day span {
	color: var(--vfm-accent-strong);
	font-size: 10px;
	letter-spacing: .12em;
}
.vfm-roster-slot-card .vfm-availability-day strong {
	margin-top: 7px;
	font-size: 14px;
	line-height: 1.45;
}
.vfm-roster-slot-card .vfm-availability-day small {
	display: block;
	margin-top: 7px;
	color: var(--vfm-muted);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
}

.vfm-roster-card-title {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}
.vfm-roster-slot-card .vfm-availability-copy h4 {
	font-size: 17px;
	letter-spacing: -.015em;
}
.vfm-roster-card-title > span {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 999px;
	color: #166534;
	background: #dcfce7;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.vfm-roster-slot-card .vfm-availability-copy p {
	margin-top: 7px;
	font-size: 12px;
	line-height: 1.55;
}
.vfm-roster-policy-note {
	display: block;
	margin-top: 8px;
	color: #7c2d12;
	font-size: 10px;
	font-weight: 650;
	line-height: 1.5;
}

.vfm-roster-slot-card .vfm-availability-status {
	min-width: 0;
	text-align: center;
}
.vfm-roster-slot-card .vfm-availability-status span {
	width: 100%;
	min-height: 34px;
	padding: 8px 11px;
	font-size: 11px;
}
.vfm-roster-slot-card.is-assigned .vfm-availability-status span {
	color: #166534;
	background: #dcfce7;
}
.vfm-roster-slot-card.has-request:not(.is-assigned) .vfm-availability-status span {
	color: #92400e;
	background: #fef3c7;
}
.vfm-roster-slot-card .vfm-availability-status small {
	margin-top: 7px;
	font-size: 9px;
	line-height: 1.4;
	white-space: normal;
}

.vfm-roster-card-action {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 13px;
	padding-left: 18px;
	border-left: 1px solid #edf0f4;
}
.vfm-roster-card-action > div { min-width: 0; flex: 1; }
.vfm-roster-card-action strong,
.vfm-roster-card-action small { display: block; }
.vfm-roster-card-action strong {
	color: var(--vfm-ink);
	font-size: 12px;
	line-height: 1.35;
}
.vfm-roster-card-action small {
	margin-top: 3px;
	color: var(--vfm-muted);
	font-size: 10px;
	line-height: 1.45;
}
.vfm-roster-card-action .vfm-button-small {
	flex: 0 0 auto;
	min-height: 38px;
	padding: 9px 13px;
	border-radius: 10px;
	font-size: 11px;
	white-space: nowrap;
}
.vfm-roster-confirmed-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid #bbf7d0;
	border-radius: 11px;
	color: #166534;
	background: #f0fdf4;
	font-size: 11px;
	font-weight: 800;
}
.vfm-roster-confirmed-note > span {
	width: 21px;
	height: 21px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #16a34a;
	font-size: 11px;
}

.vfm-roster-dialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(15,23,42,.67);
	backdrop-filter: blur(7px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility .18s ease;
}
.vfm-roster-dialog.is-visible { opacity: 1; visibility: visible; }
.vfm-roster-dialog-panel {
	width: min(100%, 560px);
	max-height: min(760px, calc(100vh - 36px));
	overflow: auto;
	padding: clamp(24px, 5vw, 34px);
	border: 1px solid rgba(255,255,255,.6);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 32px 90px rgba(2,6,23,.35);
	transform: translateY(14px) scale(.985);
	transition: transform .18s ease;
}
.vfm-roster-dialog.is-visible .vfm-roster-dialog-panel { transform: translateY(0) scale(1); }
.vfm-roster-dialog-panel h3 {
	margin: 9px 0 10px;
	color: var(--vfm-ink);
	font-size: clamp(24px, 4vw, 31px);
	line-height: 1.15;
	letter-spacing: -.035em;
}
.vfm-roster-dialog-panel > p {
	margin: 0 0 20px;
	color: var(--vfm-muted);
	font-size: 14px;
	line-height: 1.65;
}
.vfm-roster-dialog-field { display: grid; gap: 8px; }
.vfm-roster-dialog-field > span {
	color: #344054;
	font-size: 12px;
	font-weight: 800;
}
.vfm-roster-dialog-field textarea {
	width: 100%;
	min-height: 112px;
	padding: 12px 13px;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background: #fff;
	color: var(--vfm-ink);
	font: 500 13px/1.55 var(--vfm-font);
	resize: vertical;
	outline: none;
}
.vfm-roster-dialog-field textarea:focus {
	border-color: var(--vfm-accent);
	box-shadow: 0 0 0 4px rgba(var(--vfm-accent-rgb), .12);
}
.vfm-roster-dialog-note {
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid #dbeafe;
	border-radius: 12px;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.55;
}
.vfm-roster-dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 24px;
}
.vfm-roster-dialog-actions .vfm-button { min-width: 126px; }

.vfm-roster-toast {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 100001;
	max-width: min(430px, calc(100vw - 30px));
	padding: 14px 17px;
	border: 1px solid #bbf7d0;
	border-radius: 13px;
	background: #f0fdf4;
	box-shadow: 0 18px 48px rgba(15,23,42,.2);
	color: #166534;
	font: 750 13px/1.5 var(--vfm-font);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease;
}
.vfm-roster-toast.is-error {
	border-color: #fecaca;
	background: #fff1f2;
	color: #991b1b;
}
.vfm-roster-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
	.vfm-roster-slot-card,
	.vfm-roster-slot-card.has-action {
		grid-template-columns: minmax(132px,.62fr) minmax(0,1.38fr);
	}
	.vfm-roster-slot-card .vfm-availability-status {
		grid-column: 1;
		text-align: left;
	}
	.vfm-roster-card-action {
		grid-column: 2;
		padding: 12px 0 0;
		border-top: 1px solid #edf0f4;
		border-left: 0;
	}
}

@media (max-width: 720px) {
	.vfm-member-roster-summary {
		align-items: flex-start;
		flex-direction: column;
		padding: 20px 20px 20px 24px;
	}
	.vfm-roster-slot-card,
	.vfm-roster-slot-card.has-action {
		grid-template-columns: 1fr;
		gap: 13px;
		padding: 18px;
	}
	.vfm-roster-slot-card .vfm-availability-day,
	.vfm-roster-slot-card .vfm-availability-status,
	.vfm-roster-card-action { grid-column: 1; }
	.vfm-roster-slot-card .vfm-availability-status {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}
	.vfm-roster-slot-card .vfm-availability-status span { width: auto; }
	.vfm-roster-slot-card .vfm-availability-status small { margin: 0; text-align: right; }
	.vfm-roster-card-action {
		align-items: flex-start;
		flex-direction: column;
		padding-top: 14px;
	}
	.vfm-roster-card-action .vfm-button-small,
	.vfm-roster-confirmed-note { width: 100%; }
	.vfm-roster-dialog-actions { flex-direction: column-reverse; }
	.vfm-roster-dialog-actions .vfm-button { width: 100%; }
	.vfm-roster-toast { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.vfm-roster-slot-card,
	.vfm-roster-dialog,
	.vfm-roster-dialog-panel,
	.vfm-roster-toast { transition-duration: .01ms !important; }
}
body.vfm-roster-dialog-open { overflow: hidden; }

/* Client-ready public studio content */
.vfm-studio-block {
	width: min(100%, 1120px);
	margin: 0 auto;
	padding: clamp(28px, 5vw, 54px);
	border: 1px solid var(--vfm-line);
	border-radius: var(--vfm-radius-lg);
	background: linear-gradient(145deg, #fff 0%, #fbfcfe 100%);
	box-shadow: var(--vfm-shadow-sm);
}
.vfm-studio-block + .vfm-studio-block { margin-top: 24px; }
.vfm-studio-block-heading { max-width: 650px; }
.vfm-studio-block-heading h2 {
	margin: 9px 0 0;
	color: var(--vfm-ink);
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.08;
	letter-spacing: -.045em;
}
.vfm-studio-block-heading p { margin: 13px 0 0; color: var(--vfm-muted); font-size: 16px; line-height: 1.65; }
.vfm-studio-info-grid,
.vfm-studio-pricing-grid,
.vfm-studio-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}
.vfm-studio-info-item,
.vfm-studio-price-card,
.vfm-studio-testimonial {
	min-width: 0;
	padding: 21px;
	border: 1px solid var(--vfm-line);
	border-radius: 18px;
	background: #fff;
}
.vfm-studio-info-item { display: grid; gap: 8px; color: var(--vfm-ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.vfm-studio-info-item:hover { border-color: rgba(var(--vfm-accent-rgb), .45); box-shadow: 0 10px 26px rgba(15,23,42,.08); transform: translateY(-2px); }
.vfm-studio-info-item strong { color: var(--vfm-accent-strong); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.vfm-studio-info-item span { font-size: 16px; font-weight: 700; line-height: 1.45; }
.vfm-studio-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.vfm-studio-social a { padding: 8px 11px; border: 1px solid rgba(var(--vfm-accent-rgb), .24); border-radius: 999px; color: var(--vfm-accent-strong); background: var(--vfm-accent-soft); font-size: 12px; font-weight: 800; text-decoration: none; }
.vfm-studio-price-card { display: grid; align-content: start; gap: 6px; background: linear-gradient(155deg, #fff 0%, var(--vfm-accent-soft) 155%); }
.vfm-studio-price-card h3 { margin: 0 0 9px; color: var(--vfm-ink); font-size: 18px; line-height: 1.22; }
.vfm-studio-price-card strong { color: var(--vfm-ink); font-size: clamp(32px, 4vw, 46px); line-height: .95; letter-spacing: -.06em; }
.vfm-studio-price-card > span { color: var(--vfm-muted); font-size: 13px; font-weight: 700; }
.vfm-studio-price-card .vfm-studio-price-prefix { color: var(--vfm-accent-strong); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.vfm-studio-pricing-note { margin: 23px 0 0; color: var(--vfm-muted); font-size: 14px; font-weight: 650; line-height: 1.55; }
.vfm-studio-policies dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 28px 0 0; }
.vfm-studio-policies dl > div { padding: 18px; border-left: 3px solid var(--vfm-accent); border-radius: 0 14px 14px 0; background: var(--vfm-soft); }
.vfm-studio-policies dt { color: var(--vfm-ink); font-size: 14px; font-weight: 800; }
.vfm-studio-policies dd { margin: 7px 0 0; color: #475467; font-size: 14px; line-height: 1.6; }
.vfm-studio-credentials ul { display: grid; gap: 13px; margin: 27px 0 0; padding: 0; list-style: none; }
.vfm-studio-credentials li { display: flex; align-items: flex-start; gap: 10px; color: #344054; font-size: 16px; line-height: 1.55; }
.vfm-studio-credentials .vfm-icon { width: 21px; height: 21px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--vfm-success); background: #dcfce7; }
.vfm-studio-testimonial { margin: 0; display: grid; align-content: start; gap: 16px; }
.vfm-studio-testimonial-image img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.vfm-studio-testimonial blockquote { margin: 0; color: #344054; font-size: 15px; font-style: italic; line-height: 1.7; }
.vfm-studio-testimonial figcaption { color: var(--vfm-ink); font-size: 13px; font-weight: 800; }
.vfm-consultation-form-wrap { background: linear-gradient(145deg, #fff 0%, var(--vfm-accent-soft) 180%); }
.vfm-consultation-form { display: grid; gap: 17px; margin-top: 28px; }
.vfm-consultation-form textarea,
.vfm-consultation-form input:not([type="checkbox"]),
.vfm-consultation-form select {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #d0d5dd;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15,23,42,.03);
	color: var(--vfm-ink);
	font: 500 14px/1.45 var(--vfm-font);
	outline: none;
	resize: vertical;
}
.vfm-consultation-form textarea { min-height: 112px; }
.vfm-consultation-form input:focus,
.vfm-consultation-form textarea:focus,
.vfm-consultation-form select:focus { border-color: var(--vfm-accent); box-shadow: 0 0 0 4px rgba(var(--vfm-accent-rgb), .12); }
.vfm-consultation-form .vfm-button { justify-self: start; }
.vfm-consultation-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 760px) {
	.vfm-studio-info-grid,
	.vfm-studio-pricing-grid,
	.vfm-studio-testimonial-grid,
	.vfm-studio-policies dl { grid-template-columns: 1fr; }
	.vfm-studio-block { padding: 25px 20px; border-radius: 20px; }
	.vfm-consultation-form .vfm-field-grid { grid-template-columns: 1fr; }
	.vfm-consultation-form .vfm-button { width: 100%; }
}
