/* Aspire DrChrono Booking: GHL-style calendar (mint card, teal circles, outlined time buttons). */
.adb {
	--adb-teal: var(--wp--preset--color--teal, #0c8175);
	/* Darker teal for text on white and mint: #0c8175 is 4.33:1 on mint and 3.83:1 on mint-2; #0a7368 is 5.21 and 4.61 (WCAG AA). 0.1.6 */
	--adb-teal-text: #0a7368;
	--adb-ink: var(--wp--preset--color--ink, #0f2a33);
	--adb-mint: #eef6f3;
	--adb-mint-2: #d7ebe5;
	--adb-line: #d6e4e0;
	--adb-muted: #6b7f84;
	font-family: inherit;
	color: var(--adb-ink);
	max-width: 1000px;
	margin: 0 auto;
}
.adb *, .adb *::before, .adb *::after { box-sizing: border-box; }
.adb button { font: inherit; }
.adb-card {
	display: grid;
	grid-template-columns: 240px 1fr;
	background: var(--adb-mint);
	border: 1px solid var(--adb-line);
	border-radius: 10px;
	overflow: hidden;
	min-height: 420px;
}
.adb-side { padding: 24px 20px; border-right: 1px solid var(--adb-line); }
.adb-title { margin: 0 0 12px; font-weight: 700; font-size: 18px; line-height: 1.3; }
.adb-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: var(--adb-ink); }
.adb-mode { margin: 16px 0 0; padding: 8px 10px; font-size: 14px; line-height: 1.4; background: #fff7e0; border: 1px solid #f5d27a; border-radius: 6px; }
.adb-ico { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
.adb-main { padding: 20px 24px 24px; min-width: 0; }
.adb-h { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.3; }
/* Step titles are h2 (0.1.6, follows the page H1); keep the site's h2 sizes off them. body:not(#adb-x) (0.1.7) out-ranks the theme's phone h2 rule. */
body:not(#adb-x) .adb h2.adb-h { margin: 0 0 14px !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: normal !important; }
.adb-pick { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: start; }
.adb-cal-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; }
.adb-month { font-weight: 600; font-size: 16px; min-width: 150px; text-align: center; }
.adb-nav {
	width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
	background: var(--adb-mint-2); color: var(--adb-teal-text); cursor: pointer;
}
.adb-nav:disabled { background: transparent; color: #b8c6c9; cursor: default; }
.adb-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.adb-dow { font-size: 14px; font-weight: 600; color: var(--adb-ink); padding: 6px 0; }
.adb-day {
	justify-self: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
	font-size: 15px; color: #a9b7ba; cursor: default; position: relative;
}
.adb-day.is-blank { visibility: hidden; }
.adb-day.is-open { background: var(--adb-mint-2); color: var(--adb-teal-text); font-weight: 600; cursor: pointer; }
.adb-day.is-open:hover { background: #c3e1d9; }
.adb-day.is-selected { background: var(--adb-teal); color: #fff; }
.adb-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.adb-slots-day { margin: 2px 0 10px; font-size: 15px; font-weight: 600; }
.adb-slot-list { display: grid; grid-template-columns: 1fr; gap: 10px; max-height: 380px; overflow-y: auto; padding-right: 2px; }
.adb-slot {
	height: 46px; border: 1px solid var(--adb-teal); border-radius: 6px; background: var(--adb-mint);
	color: var(--adb-teal-text); font-size: 15px; font-weight: 600; cursor: pointer;
}
.adb-slot:hover, .adb-slot:focus-visible { background: var(--adb-teal); color: #fff; }
.adb-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--adb-teal-text); font-weight: 600; padding: 6px 0; margin-bottom: 6px; cursor: pointer; min-height: 44px; }
.adb-form { max-width: 520px; }
.adb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adb-field { margin-bottom: 14px; }
.adb-field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.adb-field input {
	width: 100%; height: 48px; padding: 0 12px; border: 1px solid #b9cbc6; border-radius: 6px; background: #fff;
	font-size: 16px; color: var(--adb-ink);
}
.adb-field input:focus { outline: 2px solid var(--adb-teal); outline-offset: 0; border-color: var(--adb-teal); }
.adb-field input[aria-invalid='true'] { border-color: #c0392b; }
.adb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.adb-submit {
	width: 100%; height: 52px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--wp--preset--color--gold, #f5b63f); color: var(--adb-ink); font-size: 17px; font-weight: 700;
}
.adb-submit:disabled { opacity: .7; cursor: wait; }
.adb-note { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--adb-muted); }
.adb-status { margin: 10px 0 0; font-size: 15px; min-height: 0; }
.adb-status.is-error { color: #a12a1f; font-weight: 600; }
/* 0.2.0 conversion polish: step label, time groups, picked-time recap, reassurance lines. */
.adb-step { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--adb-teal-text); }
.adb-tz { margin: 14px 0 0; font-size: 13px; color: var(--adb-muted); }
.adb-slot-group { margin: 12px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--adb-muted); }
.adb-slots-day + .adb-slot-group { margin-top: 0; }
.adb-picked { max-width: 520px; }
.adb-picked strong { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.adb-picked { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; margin: 0 0 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--adb-line); border-left: 4px solid var(--adb-teal); border-radius: 6px; font-size: 16px; }
.adb-picked .adb-ico { color: var(--adb-teal-text); }
.adb-change { margin-left: auto; border: 0; background: none; color: var(--adb-teal-text); font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
/* 0.2.1 simplify: white work area (mint only in the header/side), one "Change" control, lighter recap, no asterisks. */
.adb-card { background: #fff; }
.adb-side { background: var(--adb-mint); }
.adb-meta-date { display: none !important; }
.adb-slots-tz { margin: -6px 0 10px; font-size: 13px; color: var(--adb-muted); }
.adb .adb-picked { border: 0; border-left: 0; background: var(--adb-mint); border-radius: 8px; }
.adb-slot { background: #fff; }
.adb-field label { font-size: 14px; }
.adb-note { font-size: 13px; }
.adb-loading { padding: 40px 0; text-align: center; color: var(--adb-muted); font-size: 15px; }
.adb-fallback, .adb-done { padding: 20px; background: #fff; border: 1px solid var(--adb-line); border-radius: 8px; font-size: 16px; line-height: 1.5; }
.adb-fallback-title, .adb-done-title { margin: 0 0 6px; font-weight: 700; }
.adb-fallback p, .adb-done p { margin: 0 0 6px; }
.adb-fallback a { color: var(--adb-teal-text); font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
	.adb-card { grid-template-columns: 1fr; min-height: 0; }
	.adb-side { border-right: 0; border-bottom: 1px solid var(--adb-line); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
	.adb-title { width: 100%; margin: 0 0 2px; font-size: 17px; }
	.adb-meta { margin: 0; font-size: 14px; }
	.adb-mode { width: 100%; margin-top: 8px; }
	.adb-tz { width: 100%; margin: 2px 0 0; }
	.adb-meta-date { display: none; }
	.adb-picked { padding: 10px 12px; font-size: 15px; }
	.adb-change { margin-left: 0; }
	.adb-slot { height: 48px; font-size: 16px; }
	.adb-main { padding: 14px 12px 18px; }
	.adb-pick { grid-template-columns: 1fr; gap: 14px; }
	.adb-grid { gap: 2px; }
	.adb-day { width: 100%; max-width: 44px; height: auto; aspect-ratio: 1 / 1; font-size: 15px; }
	.adb-slot-list { grid-template-columns: 1fr 1fr; max-height: none; overflow: visible; }
	.adb-row { grid-template-columns: 1fr 1fr; gap: 10px; }
	.adb.is-step2 .adb-side { padding: 10px 16px; }
}
@media (max-width: 340px) {
	.adb-day { width: 36px; height: 36px; font-size: 14px; }
}
