.topbar,
body {
	background: #fff;
}
.booking-head,
.brand,
.week-title {
	text-align: center;
}
:root {
	--brand: #e91e63;
	--brand-dark: #d81b60;
	--brand-soft: #f8bbd0;
	--ink: #292929;
	--line: #999;
	--soft: #fce4ec;
}
body,
html {
	min-height: 100%;
}
body {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: rgba(0, 0, 0, 0.87);
	padding-bottom: 44px;
}
.topbar {
	height: 64px;
	box-shadow:
		0 2px 4px -1px rgba(0, 0, 0, 0.2),
		0 4px 5px rgba(0, 0, 0, 0.14),
		0 1px 10px rgba(0, 0, 0, 0.12);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}
main {
	padding-top: 64px;
}
.bi {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	vertical-align: -0.125em;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}
.bi-filter-left {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 10.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 10.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
}
.bi-chevron-left {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M11 1.5 4.5 8l6.5 6.5-1 1L2.5 8 10 0.5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M11 1.5 4.5 8l6.5 6.5-1 1L2.5 8 10 0.5z'/%3E%3C/svg%3E");
}
.bi-chevron-right {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='m5 1.5 6.5 6.5L5 14.5l1 1L13.5 8 6 .5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='m5 1.5 6.5 6.5L5 14.5l1 1L13.5 8 6 .5z'/%3E%3C/svg%3E");
}
.bi-person-fill {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/%3E%3C/svg%3E");
}
.brand {
	line-height: 0.85;
	letter-spacing: 0.12em;
	color: #e91e63;
	text-decoration: none;
	font-family: Georgia, serif;
	font-size: 1.55rem;
	width: 151px;
}
.booking-submit,
.choose-btn,
.outline-nav {
	text-transform: uppercase;
	letter-spacing: 0.0892857143em;
	cursor: pointer;
}
.brand small {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 0.31rem;
	letter-spacing: 0.18em;
	margin-top: 6px;
	color: #aaa;
}
.outline-nav {
	height: 28px;
	border: 1px solid rgba(0, 0, 0, 0.87);
	border-radius: 4px;
	background: #fff;
	color: rgba(0, 0, 0, 0.87);
	font:
		500 12px/18px Roboto,
		sans-serif;
	padding: 0 12.4444px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.18s;
}
.book:hover,
.filters-link i,
.nav-week .btn,
.trainer i,
.week-range {
	color: var(--brand);
}
.filters-link,
.week-title {
	font:
		400 16px/24px Roboto,
		sans-serif;
	white-space: nowrap;
}
.dialog-close:hover,
.outline-nav:hover {
	background: rgba(0, 0, 0, 0.06);
}
.flag {
	width: 32px;
	height: 20px;
	border-radius: 1px;
	overflow: hidden;
	box-shadow: 0 0 0 1px #ddd;
}
.flag span {
	display: block;
	height: 33.333%;
}
.flag .w {
	background: #fff;
}
.flag .g {
	background: #159447;
}
.flag .r {
	background: #d9292e;
}
.calendar-wrap {
	padding: 88px 12px 18px;
}
.toolbar {
	height: auto;
	min-height: 88px;
	margin: 0;
}
.toolbar-top {
	height: auto;
	min-height: 48px;
	padding-top: 12px;
}
.toolbar-bottom {
	height: auto;
	min-height: 40px;
	padding: 8px 0 4px;
}
.filters-link {
	cursor: pointer;
}
.filters-link i {
	font-size: 24px;
	vertical-align: -5px;
	margin-left: 4px;
}
.week-title {
	padding: 0;
}
.booking-meta strong,
.week-title strong {
	font-weight: 700;
}
.week-range {
	font-weight: 500;
}
.nav-week {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.nav-week .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.week-date {
	margin: 0 8px;
	white-space: nowrap;
}
.empty-week {
	margin: 0;
	padding: 32px 16px;
	color: #666;
	text-align: center;
}
.nav-week .btn {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	font-size: 16px;
	line-height: 24px;
	padding: 8px 12px;
	cursor: pointer;
	transition:
		color 0.18s,
		background-color 0.18s;
}
.nav-week .btn:hover {
	color: var(--brand-dark);
	background: rgba(233, 30, 99, 0.08);
}
.nav-week .btn.disabled {
	opacity: 0.35;
	pointer-events: none;
}
.choose-btn {
	width: 118.953px;
	height: 28px;
	background: var(--brand);
	border: 0;
	border-radius: 4px;
	font:
		500 12px/18px Roboto,
		sans-serif;
	padding: 0 12.4444px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 3px 1px -2px rgba(0, 0, 0, 0.2),
		0 2px 2px rgba(0, 0, 0, 0.14),
		0 1px 5px rgba(0, 0, 0, 0.12);
	transition:
		background-color 0.18s,
		box-shadow 0.18s;
}
.choose-btn:focus,
.choose-btn:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	box-shadow:
		0 2px 4px -1px rgba(0, 0, 0, 0.3),
		0 4px 5px rgba(0, 0, 0, 0.18);
}
.filter-summary {
	color: #9e9e9e;
	font:
		400 14px/20px Roboto,
		sans-serif;
	margin-left: 12px;
}
.schedule {
	position: relative;
	clear: both;
	margin-top: 0;
	border: 1px solid #ddd;
}
.day-title {
	height: 40px;
	background: var(--soft);
	border-left: 5px solid var(--brand);
	color: #7a1740;
	font:
		700 16px/24px Roboto,
		sans-serif;
	padding: 8px 14px;
}
.class-row {
	display: grid;
	grid-template-columns:
		140px 24px minmax(250px, 1.35fr) minmax(150px, 0.8fr) minmax(80px, 0.5fr)
		minmax(80px, 0.5fr) minmax(150px, 0.75fr);
	align-items: stretch;
	height: 41.5px;
	border-bottom: 1px solid #999;
	border-left: 5px solid var(--brand-soft);
	padding: 0;
	font:
		400 16px/24px Roboto,
		sans-serif;
	transition: background-color 0.14s;
}
.class-row:hover {
	background: #fff3f7;
}
.class-row:last-child {
	border-bottom: 0;
}
.class-row.waiting {
	border-left-color: #f0d79b;
}
.class-row > .book,
.class-row > div {
	display: flex;
	align-items: center;
	padding: 8px 14px;
}
.class-row > div:first-child {
	grid-column: 1;
	white-space: nowrap;
}
.class-name {
	grid-column: 3;
	font-weight: 700;
}
.trainer i {
	font-size: 13px;
	margin-right: 7px;
}
.book {
	grid-column: 6;
	justify-content: flex-end;
	color: rgba(0, 0, 0, 0.87);
	text-decoration: underline;
	cursor: pointer;
}
.class-time {
	grid-column: 1;
}
.class-name {
	grid-column: 3;
}
.trainer {
	grid-column: 4;
}
.price {
	grid-column: 5;
}
.class-info {
	grid-column: 6;
}
.book,
.nonbookable {
	grid-column: 7;
}
.filters-panel {
	display: none;
	background: #f7f7f7;
	border: 1px solid #ddd;
	padding: 14px;
	margin-bottom: 12px;
}
.filters-panel.show {
	display: block;
}
.footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 44px;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 12px;
	font:
		400 12.8px/19.2px Roboto,
		sans-serif;
	color: #888;
}
.footer a {
	color: #777;
}
.booking-dialog {
	width: min(700px, calc(100vw - 32px));
	height: min(700px, calc(100vh - 94px));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: rgba(0, 0, 0, 0.87);
	box-shadow:
		0 11px 15px -7px rgba(0, 0, 0, 0.2),
		0 24px 38px 3px rgba(0, 0, 0, 0.14),
		0 9px 46px 8px rgba(0, 0, 0, 0.12);
}
.booking-dialog::backdrop {
	background: rgba(0, 0, 0, 0.54);
}
.booking-shell {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 14px 10px 24px;
}
.booking-head {
	position: relative;
	padding: 3px 42px 8px;
}
.booking-title {
	margin: 0;
	font:
		700 24px/32px Roboto,
		sans-serif;
}
.dialog-close {
	position: absolute;
	right: 4px;
	top: 0;
	width: 40px;
	height: 40px;
	border: 0;
	background: 0 0;
	color: #e53935;
	font:
		300 32px/32px Arial,
		sans-serif;
	cursor: pointer;
	border-radius: 50%;
}
.booking-meta {
	font-size: 16px;
	line-height: 22px;
	color: #777;
}
.availability {
	height: 58px;
	margin: 2px 0 14px;
	background: #90ee90;
	color: #4caf50;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.booking-form {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.field-label {
	margin: 0 0 1px;
	font-weight: 700;
}
.booking-input,
.booking-select {
	width: 100%;
	height: 41px;
	border: 1px solid #999;
	border-radius: 4px;
	background: #fff;
	padding: 8px 12px;
	font:
		400 16px/24px Roboto,
		sans-serif;
	color: rgba(0, 0, 0, 0.87);
	outline: 0;
}
.booking-input:focus,
.booking-select:focus {
	border: 2px solid var(--brand);
	padding: 7px 11px;
}
.booking-input.required-look {
	border: 2px solid pink;
	padding: 7px 11px;
}
.required-note {
	height: 34px;
	padding: 1px 12px 0;
	color: #ef5350;
	font-size: 12px;
	line-height: 20px;
}
.comment-label {
	margin: 4px 0 1px;
	color: #aaa;
	font-size: 12px;
	line-height: 16px;
}
.booking-submit {
	width: 100%;
	height: 36px;
	margin-top: auto;
	border: 0;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
	font:
		500 14px/20px Roboto,
		sans-serif;
	box-shadow:
		0 3px 1px -2px rgba(0, 0, 0, 0.2),
		0 2px 2px rgba(0, 0, 0, 0.14),
		0 1px 5px rgba(0, 0, 0, 0.12);
}
.booking-submit:hover {
	background: var(--brand-dark);
}
.header-logo {
	width: auto;
	height: 50px;
	max-width: 100%;
	object-fit: contain;
}
div.unavailable {
	background-color: #ccc;
}
.nonbookable {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 8px 14px;
	color: rgba(0, 0, 0, 0.87);
	white-space: nowrap;
}
.footer > div:first-child {
	margin-right: auto;
}

@media (min-width: 768px) and (max-width: 1499.98px) {
	.toolbar-top {
		min-height: 64px;
	}
	.week-title {
		white-space: normal;
		line-height: 20px;
		padding: 0 12px;
	}
	.toolbar-bottom {
		padding-top: 8px;
	}
	.class-row {
		grid-template-columns: 125px 12px minmax(210px, 1.35fr) minmax(115px, 0.8fr) 55px 55px minmax(130px, 0.75fr);
	}
	.class-row > div,
	.class-row > span {
		padding-left: 8px;
		padding-right: 8px;
	}
}
@media (max-width: 767.98px) {
	.booking-dialog,
	.booking-shell {
		height: auto;
		max-height: calc(100dvh - 32px);
		box-sizing: border-box;
	}
	.booking-dialog {
		max-width: 500px;
		margin: auto;
		padding: 0;
		overflow: hidden;
	}
	.header-logo {
		height: 46px;
	}
	.topbar {
		height: 58px;
	}
	main {
		padding-top: 0;
	}
	.brand {
		font-size: 1.25rem;
	}
	.calendar-wrap {
		padding: 76px 8px 18px;
	}
	.toolbar {
		height: auto;
		min-height: 0;
	}
	.toolbar-top {
		height: auto;
		min-height: 88px;
		padding-top: 0;
	}
	.week-title {
		order: -1;
		width: 100%;
		min-height: 40px;
		height: auto;
		margin-bottom: 8px;
		white-space: normal;
		line-height: 20px;
	}
	.toolbar-bottom {
		height: auto;
		min-height: 60px;
		padding: 8px 0;
	}
	.filter-summary {
		display: block;
		min-height: 20px;
		margin: 4px 0 0;
		line-height: 20px;
	}
	.schedule {
		margin-top: 0;
	}
	.class-row > .book,
	.class-row > div {
		padding: 4px 10px;
	}
	.class-row > div:first-child,
	.class-time {
		grid-column: 1;
		grid-row: 1;
	}
	.book {
		grid-column: 1;
		grid-row: 2;
		justify-content: flex-start;
	}
	.day-title {
		padding-left: 10px;
	}
	.flag {
		width: 28px;
	}
	.footer {
		position: static;
	}
	.booking-dialog {
		width: calc(100vw - 16px);
		height: calc(100vh - 16px);
	}
	.booking-title {
		font-size: 20px;
		line-height: 28px;
	}
	.booking-shell {
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 10px 8px 14px;
	}
	.availability {
		height: 50px;
	}
	.class-row {
		grid-template-columns: 34% 66%;
		gap: 0;
		height: auto;
		min-height: 106px;
		grid-template-columns: 34% 66%;
		grid-template-rows: auto auto auto;
	}
	.class-name {
		grid-column: 2;
		grid-row: 1;
	}
	.price {
		grid-column: 1;
		grid-row: 2;
	}
	.trainer {
		grid-column: 2;
		grid-row: 2;
	}
	.class-info {
		grid-column: 1;
		grid-row: 3;
	}
	.book,
	.nonbookable {
		grid-column: 2;
		grid-row: 3;
		justify-content: flex-start;
	}
	.class-row > div,
	.class-row > span {
		min-width: 0;
		padding: 4px 10px;
	}
}

.booking-form {
	gap: 0;
}
.booking-input.input-error {
	border: 2px solid #e53935;
}
.field-error {
	min-height: 18px;
	margin: 2px 0 6px;
	color: #e53935;
	font-size: 12px;
	line-height: 16px;
}
.form-message {
	display: none;
	margin: 12px 0;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 14px;
}
.form-message.success {
	display: block;
	color: #1b5e20;
	background: #e8f5e9;
}
.form-message.error {
	display: block;
	color: #b71c1c;
	background: #ffebee;
}
.review-prompt {
	width: min(100%, 500px);
	margin: 12px auto 0;
}
.review-prompt[hidden] {
	display: none;
}
.review-prompt a,
.review-prompt img {
	display: block;
	width: 100%;
}
.review-prompt img {
	height: auto;
}
.booking-submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

/* Demo 2 reference presentation: restrained editorial schedule */
:root {
	--canvas: #fafafa;
	--paper: #fff;
	--ink: #292929;
	--muted: #616161;
	--line: #e9e8e7;
	--rust: #b44922;
	--rust-deep: #9c3e1d;
	--rust-pale: #f6e8e1;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-height: 100dvh;
	padding: 0;
	background: var(--canvas);
	color: var(--ink);
	font:
		14px/1.5 Inter,
		system-ui,
		sans-serif;
}
button,
input {
	font: inherit;
}
button {
	cursor: pointer;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--rust);
	outline-offset: 3px;
}
[hidden] {
	display: none !important;
}
.ref-wrap {
	width: 100%;
	max-width: 1180px;
	padding-left: 32px;
	padding-right: 32px;
	margin: auto;
}
.ref-header {
	background: var(--canvas);
}
.ref-header-inner {
	padding-top: 32px;
	padding-bottom: 16px;
}
.ref-header-top {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.ref-brand {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
}
.ref-brand img,
.header-logo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: contain;
	flex: none;
	box-shadow: 0 1px 3px #00000012;
}
.ref-brand span {
	font-size: 13px;
	line-height: 20px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ref-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
}
.ref-header-actions a {
	text-decoration: none;
}
.ref-leave {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
}
.ref-leave > span {
	font-size: 21px;
	font-weight: 300;
	line-height: 14px;
}
.ref-leave:hover {
	color: var(--ink);
}
.ref-signin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	border: 1px solid #e4e4e4;
	border-radius: 13px;
	background: #fff;
	padding: 0 11px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
}
.ref-signin svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ref-description {
	max-width: 768px;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.025em;
}
.calendar-wrap {
	padding-top: 24px;
	padding-bottom: 60px;
	min-height: calc(100dvh - 122px);
}
main {
	padding-top: 24px;
}
.toolbar {
	height: auto;
	min-height: 0;
	margin: 0 0 32px;
}
.nav-week {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 20px;
	margin-bottom: 16px;
	gap: 10px;
}
.nav-week .btn {
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--muted);
	text-decoration: none;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
.nav-week .btn:hover {
	color: var(--ink);
	background: transparent;
}
.nav-week .btn span {
	font-size: 23px;
	font-weight: 300;
	line-height: 16px;
}
.nav-week .btn.disabled {
	opacity: 0.3;
}
.week-date {
	margin: 0;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	letter-spacing: -0.02em;
}
.ref-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}
.ref-day {
	height: 63px;
	min-width: 0;
	padding: 8px;
	border: 0;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	background: transparent;
	color: var(--ink);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
.ref-day:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 14px #0000000c;
}
.ref-day.is-past {
	color: #b2b2b2;
}
.ref-day.is-future:not(.is-selected) {
	background: #fff;
	box-shadow: 0 1px 3px #0000000b;
}
.ref-day.is-selected {
	color: #fafafa;
	background: var(--rust);
	box-shadow: 0 5px 10px #00000020;
	transform: scale(1.02);
}
.ref-day-name {
	font-size: 10px;
	line-height: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.ref-day-number {
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
}
.ref-day-dots {
	height: 4px;
	display: flex;
	align-items: center;
}
.ref-day-dots i {
	height: 2px;
	width: 2px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.35;
}
.ref-list-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
}
.ref-filters-button {
	display: inline-flex;
	height: 40px;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--muted);
	box-shadow: 0 1px 3px #0000000d;
	font-size: 14px;
	font-weight: 500;
}
.ref-filters-button:hover {
	color: var(--ink);
	box-shadow: 0 2px 8px #00000015;
}
.ref-filters-button svg,
.ref-filter-heading svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}
.ref-filter-backdrop {
	position: fixed;
	inset: 0;
	z-index: 20;
	background: #0009;
}
.ref-filter-panel {
	display: block;
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 21;
	width: min(292px, 85vw);
	overflow-y: auto;
	background: #fff;
	box-shadow: 10px 0 25px #00000012;
	padding: 0;
	margin: 0;
	border: 0;
}
.ref-filter-heading {
	height: 57px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	font-weight: 600;
}
.ref-filter-heading button {
	border: 0;
	background: transparent;
	font-size: 22px;
	color: var(--muted);
}
.ref-filter-group {
	border-bottom: 1px solid var(--line);
	padding: 24px 20px 20px;
}
.ref-filter-group h2 {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 20px;
}
.ref-filter-group > div {
	display: grid;
	gap: 15px;
}
.ref-filter-check {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--muted);
	font-size: 14px;
	cursor: pointer;
	margin-bottom: 12px;
}
.ref-filter-check input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--rust);
}
.ref-view-switch {
	height: 40px;
	padding: 2px;
	display: flex;
	align-items: center;
	border-radius: 999px;
	background: #0000000a;
}
.ref-view-switch button {
	height: 36px;
	width: 44px;
	padding: 0;
	display: grid;
	place-items: center;
	background: transparent;
	color: #858585;
	border: 0;
	border-radius: 999px;
}
.ref-view-switch button[aria-pressed="true"] {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 1px 3px #0000000b;
}
.ref-view-switch svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.schedule {
	position: relative;
	clear: both;
	margin: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.day-title {
	height: auto;
	padding: 8px 0 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font:
		600 13px/20px Inter,
		system-ui,
		sans-serif;
}
.class-row.ref-class-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: 100%;
	height: auto;
	min-height: 130px;
	padding: 0;
	border: 0;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px #00000012;
	font: inherit;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.class-row.ref-class-row:hover,
.class-row.ref-class-row.unavailable:hover {
	background: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px #00000014;
}
.class-row.ref-class-row.unavailable {
	background: #fff;
}
.ref-class-image {
	width: 124px;
	flex: none;
	object-fit: cover;
}
.ref-class-body {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 20px 28px;
}
.class-row > .ref-class-body,
.class-row > .ref-class-body > div {
	padding: 0;
}
.class-row > .ref-class-body {
	padding: 20px 28px;
}
.ref-time {
	width: 80px;
	flex: none;
	display: block;
}
.ref-time strong {
	display: block;
	font:
		600 18px/26px ui-monospace,
		SFMono-Regular,
		Menlo,
		monospace;
	white-space: nowrap;
}
.ref-time small {
	display: block;
	color: #aaa;
	font-size: 11px;
	line-height: 16.5px;
}
.ref-class-detail {
	flex: 1;
	min-width: 0;
}
.class-name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 21px;
	letter-spacing: -0.02em;
}
.trainer {
	display: block;
	margin: 2px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 20px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ref-class-tags {
	margin-top: 5px;
	font-size: 11px;
	line-height: 16px;
	color: #999;
}
.class-info {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 5px;
	color: var(--muted);
	font-size: 12px;
	line-height: 16px;
}
.ref-occupancy-track {
	width: 64px;
	height: 5px;
	flex: none;
	background: var(--line);
	border-radius: 999px;
	overflow: hidden;
}
.ref-occupancy-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #cb8d76;
}
.ref-class-side {
	display: flex;
	gap: 20px;
	align-items: center;
	flex: none;
}
.price {
	display: block;
	color: var(--muted);
	text-align: right;
	font-size: 13px;
	white-space: nowrap;
}
.price span {
	display: inline;
}
.book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 36px;
	padding: 0 12px;
	border: 0;
	border-radius: 14px;
	background: var(--rust);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
}
.book:hover {
	background: var(--rust-deep);
	color: #fff;
}
.nonbookable {
	min-width: 120px;
	padding: 0;
	display: block;
	color: var(--muted);
	text-align: center;
	font-size: 12px;
	white-space: nowrap;
}
.empty-week {
	margin: 0;
	padding: 50px 26px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}
.footer {
	position: static;
	min-height: 44px;
	height: auto;
	border-top: 1px solid var(--line);
	background: var(--canvas);
	color: var(--muted);
	padding: 14px max(16px, calc((100vw - 1116px) / 2));
	font:
		12px/19px Inter,
		system-ui,
		sans-serif;
}
.booking-dialog {
	width: min(94vw, 570px);
	height: auto;
	max-height: 92dvh;
	overflow: auto;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 20px 60px #0002;
	font-family: Inter, system-ui, sans-serif;
}
.booking-dialog::backdrop {
	background: #0009;
}
.ref-booking-hero {
	position: relative;
}
.ref-booking-image {
	display: block;
	width: 100%;
	height: 155px;
	object-fit: cover;
}
.booking-shell {
	height: auto;
	display: block;
	padding: 24px;
}
.booking-head {
	position: relative;
	padding: 0 35px 0 0;
	text-align: left;
}
.dialog-eyebrow {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 11px;
	letter-spacing: 0.15em;
}
.booking-title {
	margin: 0 0 8px;
	font:
		600 21px/1.3 Inter,
		system-ui,
		sans-serif;
	letter-spacing: -0.02em;
}
.dialog-close {
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 1;
	width: 35px;
	height: 35px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	font:
		300 26px/1 Inter,
		system-ui,
		sans-serif;
}
.booking-meta {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 13px;
	line-height: 20px;
}
.booking-meta strong {
	font-weight: 600;
}
.ref-dropin-label {
	padding-top: 12px;
	border-top: 1px solid var(--line);
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
}
.ref-dropin-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	margin: 0 0 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	font-size: 13px;
	font-weight: 600;
}
.ref-dropin-row small {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 400;
}
.booking-form {
	display: block;
}
.field-label {
	display: block;
	margin: 12px 0 8px;
	color: var(--ink);
	font-size: 11px;
	font-weight: 700;
}
.booking-input {
	width: 100%;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	padding: 0 13px;
	font:
		13px Inter,
		system-ui,
		sans-serif;
	color: var(--ink);
}
.booking-input:focus {
	border: 1px solid var(--rust);
	padding: 0 13px;
	outline: 2px solid #b4492222;
}
.field-error {
	min-height: 0;
	margin: 3px 0 6px;
	color: #a04432;
}
.booking-submit {
	width: 100%;
	height: 44px;
	margin: 18px 0 0;
	border: 0;
	border-radius: 12px;
	background: var(--rust);
	color: #fff;
	box-shadow: none;
	font:
		600 13px Inter,
		system-ui,
		sans-serif;
	text-transform: none;
	letter-spacing: 0;
}
.booking-submit:hover {
	background: var(--rust-deep);
}
.form-message {
	border-radius: 12px;
}
.form-message.success {
	color: #28593c;
	background: #edf6ef;
}
.form-message.error {
	color: #924737;
	background: #f8e8e1;
}
@media (max-width: 1050px) {
	.ref-wrap {
		padding-left: 24px;
		padding-right: 24px;
	}
	.ref-class-body {
		gap: 18px;
	}
	.class-row > .ref-class-body {
		padding: 18px 22px;
	}
	.ref-class-image {
		width: 108px;
	}
}
@media (min-width: 641px) and (max-width: 850px) {
	.ref-class-body {
		flex-wrap: wrap;
		row-gap: 12px;
	}
	.ref-class-side {
		width: 100%;
		justify-content: space-between;
	}
}
@media (max-width: 640px) {
	.ref-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}
	.ref-header-inner {
		padding-top: 24px;
		padding-bottom: 8px;
	}
	.ref-header-top {
		flex-wrap: wrap;
		margin-bottom: 16px;
	}
	.ref-brand span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.ref-description {
		line-height: 20px;
	}
	.calendar-wrap,
	main {
		padding-top: 24px;
	}
	.ref-days {
		gap: 4px;
	}
	.ref-day {
		padding: 8px 1px;
	}
	.nav-week .btn {
		font-size: 11px;
	}
	.class-row.ref-class-row {
		display: block;
		border-radius: 24px;
	}
	.ref-class-image {
		width: 100%;
		aspect-ratio: 3/1;
		display: block;
		object-fit: cover;
	}
	.class-row > .ref-class-body {
		padding: 16px;
		display: block;
	}
	.ref-time {
		width: auto;
		display: flex;
		align-items: baseline;
		gap: 6px;
		margin-bottom: 8px;
	}
	.ref-time strong {
		display: inline;
		font-size: 16px;
		line-height: 22px;
	}
	.ref-time small {
		display: inline;
		font-size: 10px;
	}
	.ref-class-side {
		margin-top: 12px;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.price {
		text-align: center;
	}
	.book {
		width: 100%;
	}
	.nonbookable {
		padding: 8px;
	}
	.booking-dialog {
		width: calc(100vw - 24px);
		max-height: calc(100dvh - 24px);
	}
	.booking-shell {
		padding: 22px;
	}
	.ref-booking-image {
		height: 120px;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
