/* ─── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--green: #5cb85c;
	--darker-green: #4a8740;
	--off-black: #1c1e1f;
}

body {
	font-family: 'Work Sans', sans-serif;
	background: #f5f6f8;
	color: #333;
	overflow: hidden;
	height: 100vh;
}

/* ─── Full-screen layout ────────────────────────────────── */
.pt-acal {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

.pt-acal-header {
	flex-shrink: 0;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.pt-view-tabs {
	display: flex;
	gap: 4px;
}

/* Mobile-only action buttons in the header (Filters / Selected).
   Hidden on desktop — revealed inside the mobile media query below. */
.pt-acal-mobile-actions {
	display: none;
}

/* Drawer header shown at the top of the sidebar / shortlist on mobile.
   Hidden on desktop. */
.pt-acal-drawer-header {
	display: none;
}

/* Backdrop behind an open drawer. Hidden on desktop. */
.pt-acal-overlay {
	display: none;
}

/* Shortlist close button (mobile only). */
.pt-acal-shortlist-close {
	display: none !important;
}

/* Mobile-only notice above the calendar. */
.pt-acal-mobile-notice {
	display: none;
}

/* Lock body scroll when a drawer is open on mobile. */
html.pt-acal-no-scroll,
html.pt-acal-no-scroll body {
	overflow: hidden;
}

.pt-view-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Work Sans', sans-serif;
	color: #666;
	text-decoration: none;
	border: none;
	background: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}

.pt-view-tab:hover {
	color: #333;
}

.pt-view-tab--active {
	color: var(--green);
	border-bottom-color: var(--green);
	cursor: default;
}

.pt-view-tab i {
	font-size: 13px;
}

.pt-acal-body {
	display: flex;
	flex: 1;
	overflow: hidden;
}

/* ─── Sidebar ───────────────────────────────────────────── */
.pt-acal-sidebar {
	width: 220px;
	flex-shrink: 0;
	background: #fff;
	border-right: 1px solid #e5e5e5;
	overflow-y: auto;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pt-acal-filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pt-acal-filter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
}

.pt-acal-filter-header span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #888;
	cursor: pointer;
	user-select: none;
}

.pt-acal-collapse-icon {
	font-size: 9px;
	margin-right: 2px;
	transition: transform 0.15s;
}

.pt-acal-collapsed {
	display: none !important;
}

.pt-acal-toggle-all {
	font-size: 11px;
	color: var(--green);
	background: none;
	border: none;
	cursor: pointer;
	font-weight: 600;
	font-family: 'Work Sans', sans-serif;
}

.pt-acal-toggle-all:hover {
	color: var(--darker-green);
}

/* ─── Checkbox filters ──────────────────────────────────── */
.pt-acal-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pt-acal-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #444;
	cursor: pointer;
	padding: 3px 0;
	user-select: none;
}

.pt-acal-checkbox input[type="checkbox"] {
	width: 14px;
	height: 14px;
	accent-color: var(--green);
	cursor: pointer;
	flex-shrink: 0;
}

.pt-acal-checkbox-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pt-acal-checkbox-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.pt-acal-only {
	margin-left: auto;
	font-size: 11px;
	color: var(--green);
	font-weight: 500;
	opacity: 0;
	transition: opacity 0.1s;
	cursor: pointer;
	flex-shrink: 0;
}

.pt-acal-checkbox:hover .pt-acal-only {
	opacity: 1;
}

/* ─── Coach calendar sub-items ───────────────────────────── */
.pt-acal-coach-group {
	margin-bottom: 2px;
}

.pt-acal-coach-calendars {
	padding-left: 28px;
	margin: 0 0 4px 0;
}

.pt-acal-coach-cal {
	font-size: 10px;
	color: #777;
	line-height: 1.6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pt-acal-loc-group {
	margin-bottom: 2px;
}

.pt-acal-loc-schedules {
	padding-left: 20px;
	margin: 0 0 4px 0;
}

/* ─── Main calendar area ────────────────────────────────── */
.pt-acal-main {
	flex: 1;
	overflow: hidden;
	position: relative;
	padding: 12px 16px;
}

#acal-calendar {
	height: 100%;
}

/* ─── FullCalendar overrides ────────────────────────────── */
#acal-calendar .fc {
	font-family: 'Work Sans', sans-serif;
	height: 100%;
}

#acal-calendar .fc-toolbar-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--off-black);
}

#acal-calendar .fc-button-primary {
	background: var(--green);
	border-color: var(--green);
	font-family: 'Work Sans', sans-serif;
	font-size: 12px;
	border-radius: 5px;
	padding: 5px 12px;
}

#acal-calendar .fc-button-primary:hover {
	background: var(--darker-green);
	border-color: var(--darker-green);
}

#acal-calendar .fc-button-primary:disabled {
	background: #ccc;
	border-color: #ccc;
}

#acal-calendar .fc-button-primary:focus {
	box-shadow: 0 0 0 2px rgba(92, 184, 92, 0.3);
}

#acal-calendar .fc-today-button {
	text-transform: capitalize;
}

/* Space out prev/next/today buttons */
#acal-calendar .fc-toolbar .fc-button-group {
	gap: 6px;
}

#acal-calendar .fc-toolbar .fc-button-group .fc-button {
	margin-left: 0;
}

/* Refresh button */
#acal-calendar .fc-refresh-button {
	background: transparent;
	border: 1.5px solid #ccc;
	color: #666;
	font-size: 12px;
}

#acal-calendar .fc-refresh-button:hover {
	background: #f0f0f0;
	border-color: #aaa;
	color: #333;
}

#acal-calendar .fc-timegrid-now-indicator-line {
	border-color: #e74c3c;
}

#acal-calendar .fc-timegrid-now-indicator-arrow {
	border-top-color: #e74c3c;
}

#acal-calendar .fc-day-today {
	background: rgba(92, 184, 92, 0.04) !important;
}

#acal-calendar .fc-col-header-cell-cushion {
	font-size: 12px;
	font-weight: 600;
	color: #555;
}

#acal-calendar .fc-timegrid-slot-label-cushion {
	font-size: 11px;
	color: #888;
}

#acal-calendar .fc-event {
	cursor: pointer;
	border-radius: 4px;
	border: none;
	font-size: 11px;
}

#acal-calendar .fc-timegrid-event .fc-event-main {
	padding: 2px 4px;
}

/* ─── Event content ─────────────────────────────────────── */
.pt-acal-event {
	line-height: 1.25;
	overflow: hidden;
}

.pt-acal-event__coach {
	font-weight: 600;
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pt-acal-event__meta {
	font-size: 9px;
	opacity: 0.85;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.pt-acal-event--is-booked .pt-acal-event__meta {
	font-style: italic;
}

.pt-acal-avail-tag {
	font-weight: 700;
	font-size: 8px;
	letter-spacing: 0.5px;
	color: #5cb85c;
	font-style: normal;
}

/* Available events — pale coach color, dotted border */
.pt-acal-event--available {
	border-style: dotted !important;
	border-width: 1.5px !important;
	border-left-width: 3px !important;
}

.pt-acal-event--available .fc-event-main {
	color: #333 !important;
}

/* Booked events — darker coach color, solid */
.pt-acal-event--booked {
	border-style: solid !important;
}


/* ─── Popover ───────────────────────────────────────────── */
.pt-acal-popover {
	position: fixed;
	z-index: 99999;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.18);
	padding: 16px;
	width: 280px;
	animation: pt-acal-popIn 0.15s ease-out;
}

@keyframes pt-acal-popIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.pt-acal-popover-close {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 20px;
	color: #aaa;
	cursor: pointer;
	line-height: 1;
}

.pt-acal-popover-close:hover {
	color: #333;
}

.pt-acal-popover-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--off-black);
	margin-bottom: 10px;
	padding-right: 20px;
}

.pt-acal-popover-detail {
	font-size: 13px;
	color: #555;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pt-acal-popover-detail i {
	width: 14px;
	text-align: center;
	color: #999;
	font-size: 12px;
}

.pt-acal-book-btn {
	display: block;
	text-align: center;
	margin-top: 14px;
	padding: 10px 16px;
	background: var(--green);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: background 0.15s;
}

.pt-acal-book-btn:hover {
	background: var(--darker-green);
	color: #fff;
}

.pt-acal-book-btn i {
	margin-left: 4px;
	font-size: 10px;
}

.pt-acal-popover-booked {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}

.pt-acal-popover-badge {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 12px;
	background: #555;
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

/* ─── Slot detail modal ─────────────────────────────────── */
/* Hidden by default. JS toggles `.pt-acal-modal--open` (display:flex).
   Use explicit viewport dimensions rather than `inset: 0` to avoid mobile
   browser quirks where a horizontally-scrolled document can shift a
   fixed-positioned element off the visible viewport. */
.pt-acal-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pt-acal-modal--open {
	display: flex;
}

.pt-acal-modal__backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	animation: pt-acal-fadeIn 0.15s ease-out;
}

.pt-acal-modal__card {
	position: relative;
	width: min(420px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
	padding: 24px 24px 20px;
	animation: pt-acal-modalPop 0.18s ease-out;
}

.pt-acal-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #aaa;
	cursor: pointer;
	padding: 4px 6px;
}

.pt-acal-modal__close:hover {
	color: #333;
}

.pt-acal-modal__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--off-black);
	margin-bottom: 14px;
	padding-right: 28px;
}

.pt-acal-modal__row {
	font-size: 14px;
	color: #444;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.pt-acal-modal__row i {
	width: 14px;
	text-align: center;
	color: #999;
	font-size: 13px;
}

.pt-acal-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 18px;
}

.pt-acal-modal__book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--green);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.15s;
}

.pt-acal-modal__book:hover {
	background: var(--darker-green);
	color: #fff;
}

.pt-acal-modal__book i {
	font-size: 13px;
}

.pt-acal-modal__select {
	padding: 11px 16px;
	background: #fff;
	color: #555;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	font-family: 'Work Sans', sans-serif;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s;
}

.pt-acal-modal__select:hover {
	border-color: #888;
	color: #222;
}

.pt-acal-modal__select--remove {
	color: #c0392b;
	border-color: #e4b4ae;
}

.pt-acal-modal__select--remove:hover {
	border-color: #c0392b;
	color: #c0392b;
}

/* ─── "How many people?" selector ──────────────────────── */
.pt-acal-people {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #eee;
}

.pt-acal-people__title {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	margin-bottom: 10px;
}

.pt-acal-people__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.pt-acal-people-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 10px 6px;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	cursor: pointer;
	font-family: 'Work Sans', sans-serif;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pt-acal-people-btn:hover {
	border-color: var(--green);
	background: #f0faf0;
}

.pt-acal-people-btn--active {
	border-color: var(--green);
	background: #e8f5e8;
	box-shadow: 0 0 0 1px var(--green);
}

.pt-acal-people-btn__icons {
	display: flex;
	gap: 2px;
	font-size: 13px;
	color: #888;
}

.pt-acal-people-btn--active .pt-acal-people-btn__icons {
	color: var(--green);
}

.pt-acal-people-btn__label {
	font-size: 12px;
	font-weight: 600;
	color: #555;
}

.pt-acal-people-btn--active .pt-acal-people-btn__label {
	color: var(--darker-green);
}

.pt-acal-people-btn__type {
	font-size: 10px;
	color: #999;
}

@keyframes pt-acal-fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes pt-acal-modalPop {
	from { opacity: 0; transform: translateY(8px) scale(0.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Hover tooltip ─────────────────────────────────────── */
.pt-acal-tooltip {
	display: none;
	position: fixed;
	z-index: 999999;
	background: var(--off-black);
	color: #eee;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 12px;
	line-height: 1.5;
	max-width: 240px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
	pointer-events: none;
}

.pt-acal-tt-coach {
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	margin-bottom: 4px;
}

.pt-acal-tt-row {
	color: #ccc;
	margin-bottom: 1px;
}

.pt-acal-tt-row i {
	width: 14px;
	text-align: center;
	margin-right: 4px;
	font-size: 10px;
	color: #999;
}

.pt-acal-tt-booked {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	color: #e74c3c;
}

.pt-acal-tt-available {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	color: #5cb85c;
}

/* ─── Shortlist right sidebar ────────────────────────────── */
.pt-acal-shortlist {
	width: 260px;
	flex-shrink: 0;
	background: #fff;
	border-left: 1px solid #e5e5e5;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pt-acal-shortlist-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: var(--off-black);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	flex-shrink: 0;
}

.pt-acal-shortlist-badge {
	display: none;
	background: var(--green);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
	margin-left: 5px;
}

.pt-acal-shortlist-actions {
	display: flex;
	gap: 4px;
	align-items: center;
}

.pt-acal-shortlist-btn {
	background: rgba(255,255,255,0.12);
	border: none;
	color: #aaa;
	font-size: 12px;
	font-family: 'Work Sans', sans-serif;
	padding: 4px 8px;
	border-radius: 4px;
	cursor: pointer;
}

.pt-acal-shortlist-btn:hover {
	background: rgba(255,255,255,0.25);
	color: #fff;
}

.pt-acal-shortlist-btn--danger:hover {
	background: rgba(231,76,60,0.3);
	color: #e74c3c;
}

.pt-acal-shortlist-body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 10px;
}

.pt-acal-shortlist-empty {
	color: #bbb;
	font-size: 12px;
	text-align: center;
	padding: 20px 8px;
	line-height: 1.5;
}

.pt-acal-shortlist-items {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pt-acal-shortlist-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 8px;
	background: #f8f8f8;
	border-radius: 6px;
	border-left: 3px solid var(--green);
}

.pt-acal-shortlist-item__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pt-acal-shortlist-item__date {
	font-size: 11px;
	font-weight: 600;
	color: #333;
}

.pt-acal-shortlist-item__detail {
	font-size: 10px;
	color: #777;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pt-acal-shortlist-item__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin-left: 8px;
}

.pt-acal-shortlist-item__book {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	font-family: 'Work Sans', sans-serif;
	color: #fff;
	background: var(--green);
	border: none;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s;
	line-height: 1.4;
}

.pt-acal-shortlist-item__book:hover {
	background: var(--darker-green);
}

.pt-acal-shortlist-item__remove {
	background: none;
	border: none;
	font-size: 16px;
	color: #ccc;
	cursor: pointer;
	padding: 0 2px;
	line-height: 1;
	flex-shrink: 0;
}

.pt-acal-shortlist-item__remove:hover {
	color: #e74c3c;
}

/* "Added" indicator in popover */
.pt-acal-popover-added {
	text-align: center;
	margin-top: 12px;
	padding: 8px;
	color: var(--green);
	font-weight: 600;
	font-size: 13px;
}

/* "Add to List" button cursor */
.pt-acal-add-btn {
	cursor: pointer;
}

/* Checkmark on listed events */
.pt-acal-event--listed {
	outline: 2px solid var(--green) !important;
	outline-offset: -2px;
}

.pt-acal-event--listed::after {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	top: 2px;
	right: 3px;
	font-size: 9px;
	color: var(--green);
	background: #fff;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ─── Loading ───────────────────────────────────────────── */
.pt-acal-loading {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(245, 246, 248, 0.85);
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #888;
	font-size: 14px;
	z-index: 10;
}

.pt-acal-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid #ddd;
	border-top-color: var(--green);
	border-radius: 50%;
	animation: pt-acal-spin 0.7s linear infinite;
}

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

/* ─── Mobile: drawer pattern (filters + shortlist slide in from right) ── */
@media (max-width: 900px) {
	body {
		/* Allow a tall calendar to scroll if it exceeds 100vh on short screens.
		   Lock horizontal scroll so the modal's viewport-anchored positioning stays correct. */
		overflow-y: auto;
		overflow-x: hidden;
		height: auto;
		min-height: 100vh;
	}

	.pt-acal {
		height: auto;
		min-height: 100vh;
	}

	.pt-acal-header {
		padding: 0 12px;
		flex-wrap: wrap;
		gap: 6px;
		position: sticky;
		top: 0;
		z-index: 60;
	}

	.pt-view-tab {
		padding: 10px 14px;
		font-size: 13px;
	}

	.pt-acal-mobile-actions {
		display: flex;
		gap: 8px;
	}

	.pt-acal-mobile-btn {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 14px;
		font-size: 13px;
		font-weight: 600;
		font-family: 'Work Sans', sans-serif;
		color: #fff;
		background: var(--green);
		border: none;
		border-radius: 20px;
		cursor: pointer;
		line-height: 1;
	}

	.pt-acal-mobile-btn:active {
		background: var(--darker-green);
	}

	.pt-acal-mobile-btn i {
		font-size: 12px;
	}

	.pt-acal-mobile-btn__badge {
		display: inline-block;
		min-width: 18px;
		padding: 2px 6px;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		text-align: center;
		color: var(--green);
		background: #fff;
		border-radius: 10px;
	}

	.pt-acal-mobile-btn__badge--zero {
		display: none;
	}

	/* Body becomes column so the calendar fills remaining height. */
	.pt-acal-body {
		flex-direction: column;
		overflow: visible;
	}

	/* Hide both sidebars by default — they become slide-in drawers. */
	.pt-acal-sidebar,
	.pt-acal-shortlist {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(320px, 88vw);
		max-width: 88vw;
		z-index: 101;
		background: #fff;
		box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		border-right: none;
		border-left: none;
	}

	/* Sidebar scrolls as a whole. The shortlist keeps its desktop behavior
	   (sticky dark header + scrollable body via flex) so we don't double-scroll. */
	.pt-acal-sidebar {
		overflow-y: auto;
	}

	.pt-acal-sidebar--open,
	.pt-acal-shortlist--open {
		transform: translateX(0);
	}

	.pt-acal-drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		border-bottom: 1px solid #eee;
		position: sticky;
		top: 0;
		background: #fff;
		z-index: 1;
	}

	.pt-acal-drawer-title {
		font-size: 15px;
		font-weight: 700;
		color: #222;
	}

	.pt-acal-drawer-close {
		background: none;
		border: none;
		font-size: 24px;
		line-height: 1;
		color: #888;
		cursor: pointer;
		padding: 0 4px;
	}

	.pt-acal-drawer-close:hover {
		color: #333;
	}

	.pt-acal-shortlist-close {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		font-size: 18px;
		padding: 2px 8px;
	}

	/* Backdrop when a drawer is open. */
	.pt-acal-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.4);
		z-index: 100;
	}

	.pt-acal-overlay--visible {
		display: block;
	}

	.pt-acal-main {
		flex: 1;
		min-height: calc(100vh - 110px);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.pt-acal-mobile-notice {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 10px;
		padding: 10px 12px;
		background: #fff8e1;
		border: 1px solid #f5e2a8;
		border-radius: 6px;
		color: #7a5a00;
		font-size: 12px;
		line-height: 1.4;
	}

	.pt-acal-mobile-notice i {
		color: #b88800;
		font-size: 14px;
		flex-shrink: 0;
	}

	#acal-calendar {
		min-width: 600px;
		min-height: calc(100vh - 140px);
	}

	#acal-calendar .fc-toolbar {
		flex-wrap: wrap;
		gap: 6px;
	}

	#acal-calendar .fc-toolbar-title {
		font-size: 15px;
	}

	.pt-acal-only {
		opacity: 1;
	}
}
