.appointment-dialog {
	position: fixed;
	inset: 50% auto auto 50%;
	width: min(760px, calc(100% - 32px));
	max-width: none;
	max-height: min(94vh, 900px);
	overflow: auto;
	transform: translate(-50%, calc(-50% - 14px));
	margin: 0;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 18px 60px color-mix(in srgb, var(--brand-dark, #48091c) 24%, transparent);
}
.appointment-dialog::backdrop {
	background: color-mix(in srgb, var(--brand-dark, #48091c) 62%, transparent);
	backdrop-filter: blur(3px);
}
.appointment-dialog-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}
.appointment-dialog-heading h2 {
	margin: 0;
	color: var(--plum);
	font: 600 clamp(21px, 3vw, 28px)/1.2 var(--serif);
}
.appointment-dialog-close {
	display: inline-grid;
	flex: none;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--plum);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.appointment-dialog-close:hover { background: var(--cream); }
.appointment-dialog .appointment-panel { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.appointment-dialog .appointment-heading { display: none; }
.appointment-dialog .appointment-bar { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; border: 0; background: transparent; }
.appointment-dialog .appointment-bar .button { width: 100%; min-height: 48px; }
.appointment-dialog .appointment-privacy,
.appointment-dialog .appointment-feedback { grid-column: 1 / -1; }
body:has(.appointment-dialog[open]) { overflow: hidden; }
@media (max-width: 520px) {
	.appointment-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); padding: 17px; }
	.appointment-dialog { transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce) {
	.appointment-dialog { scroll-behavior: auto; }
}
