/* Tauira Mahi session list */
.tmcs {
	--tmcs-teal: #0F7F7B;
	--tmcs-teal-dark: #0A5E5B;
	--tmcs-mint: #EEF9F8;
	--tmcs-ink: #333333;
	--tmcs-muted: #4A5A58;
	--tmcs-line: #C9E3E0;
	--tmcs-grey-bg: #E8ECEB;
	--tmcs-grey-fg: #4E5756;
	color: var(--tmcs-ink);
	font-family: Poppins, "Segoe UI", Arial, sans-serif;
	text-align: left;
}
.tmcs *, .tmcs *::before, .tmcs *::after { box-sizing: border-box; }
.tmcs [hidden] { display: none !important; }
.tmcs a:focus-visible { outline: 3px solid #4F7A24; outline-offset: 2px; }
.tmcs-announce { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--tmcs-teal); text-align: center; }
.tmcs-announce:empty { display: none; }

.tmcs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tmcs-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 18px;
	border: 1px solid var(--tmcs-line);
	border-radius: 10px;
	background: #FFFFFF;
}
.tmcs-thumb {
	flex: 0 0 104px;
	width: 104px;
	height: 104px;
	align-self: center;
	border-radius: 8px;
	overflow: hidden;
	background: var(--tmcs-mint);
	color: var(--tmcs-teal);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tmcs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.is-muted .tmcs-thumb img { filter: grayscale(1); opacity: 0.7; }
.tmcs-tile {
	flex: 0 0 88px;
	min-height: 104px;
	padding: 14px 8px;
	align-self: center;
	border-radius: 8px;
	background: var(--tmcs-teal);
	color: #FFFFFF;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-align: center;
}
.tmcs-tile--anytime { gap: 6px; padding: 0 6px; }
.tmcs-tile--anytime .tmcs-my { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
.tmcs-any-icon { display: block; }
.is-muted .tmcs-tile { background: var(--tmcs-grey-bg); color: var(--tmcs-grey-fg); }
.tmcs-wd { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.tmcs-day { font-size: 34px; line-height: 1; font-weight: 800; }
.tmcs-my { font-size: 12px; font-weight: 600; }

.tmcs-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; align-self: center; }
/* Themes often add bottom margins to paragraphs (e.g. p:not(:last-child)); keep the spacing to the gap above. */
.tmcs .tmcs-info > p,
.tmcs .tmcs-info > div,
.tmcs .tmcs-buy > p,
.tmcs .tmcs-empty p { margin: 0; }
.tmcs .tmcs-head { margin: 0 0 4px; }
.tmcs .tmcs-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.tmcs .tmcs-fact { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; font-size: 14px; line-height: 1.45; color: var(--tmcs-muted); }
.tmcs .tmcs-fact::before { content: none; }
.tmcs-fact-icon { flex: 0 0 16px; margin-top: 2px; color: var(--tmcs-teal); }
.tmcs .tmcs-fact--calendar { color: var(--tmcs-ink); font-weight: 600; }
.is-muted .tmcs-fact-icon { color: var(--tmcs-grey-fg); }
/* Title and status read as one line: the badge sits right after the last word and wraps with the text. */
.tmcs-head { display: block; }
.tmcs .tmcs-head .tmcs-place { display: inline; margin: 0 8px 0 0; }
.tmcs .tmcs-head .tmcs-pill { display: inline-block; vertical-align: 2px; }
.tmcs .tmcs-place { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--tmcs-ink); }
.tmcs-meta { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tmcs-muted); }
.tmcs-pill { font-size: 12px; font-weight: 700; line-height: 1.4; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.tmcs-pill--open { background: #E3F3F1; color: var(--tmcs-teal-dark); }
.tmcs-pill--few { background: #FDEBD3; color: #8A4B00; }
.tmcs-pill--done { background: #E6F0DA; color: #3D5F1B; }
.tmcs-pill--muted { background: var(--tmcs-grey-bg); color: var(--tmcs-grey-fg); }
.tmcs-places { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; font-weight: 600; }
.tmcs-bar { width: 120px; height: 8px; border-radius: 4px; background: #DCEDEB; overflow: hidden; display: block; }
.tmcs-bar-fill { display: block; height: 100%; background: var(--tmcs-teal); }
.tmcs-bar-fill--few { background: #B4400E; }
.tmcs-bar-fill--muted { background: #8C9695; }

.tmcs-buy { flex: 0 1 220px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.tmcs-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.tmcs-price strong { font-size: 24px; font-weight: 800; }
.tmcs-price span { font-size: 13px; color: var(--tmcs-muted); }
.tmcs-add, .tmcs-incart { display: flex; flex-direction: column; gap: 8px; }

.tmcs .tmcs-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	margin: 0;
	background: var(--tmcs-teal);
	color: #FFFFFF;
	border: 2px solid var(--tmcs-teal);
	border-radius: 4px;
	font: 800 14px/1.2 Poppins, "Segoe UI", Arial, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
.tmcs .tmcs-btn:hover { background: var(--tmcs-teal-dark); border-color: var(--tmcs-teal-dark); color: #FFFFFF; }
.tmcs .tmcs-btn--outline { background: #FFFFFF; color: var(--tmcs-teal); }
.tmcs .tmcs-btn--outline:hover { background: var(--tmcs-mint); color: var(--tmcs-teal-dark); }
.tmcs .tmcs-btn--disabled,
.tmcs .tmcs-btn--disabled:hover { background: var(--tmcs-grey-bg); border-color: var(--tmcs-grey-bg); color: var(--tmcs-grey-fg); cursor: not-allowed; }
.tmcs .tmcs-btn.loading { opacity: 0.7; pointer-events: none; }
.tmcs .tmcs-btn.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tmcs-spin 0.8s linear infinite; }
.tmcs a.added_to_cart { display: none !important; }
.tmcs-progress-note { font-size: 13px; font-weight: 600; text-align: center; color: var(--tmcs-muted); }
.tmcs-cart-link { font-size: 13px; font-weight: 600; text-align: center; color: var(--tmcs-teal); }

.tmcs-empty { background: var(--tmcs-mint); border-radius: 10px; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tmcs-empty-icon { width: 56px; height: 56px; border-radius: 28px; background: #FFFFFF; color: var(--tmcs-teal); display: flex; align-items: center; justify-content: center; }
.tmcs-empty h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--tmcs-ink); }
.tmcs-empty p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.6; }
.tmcs-admin-note { padding: 12px 16px; border: 1px dashed #B4400E; border-radius: 6px; color: #8A4B00; background: #FFF7EE; }

@keyframes tmcs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tmcs .tmcs-btn.loading::after { animation: none; } }
@media (max-width: 560px) {
	.tmcs-row { gap: 14px; }
	.tmcs-tile { flex-basis: 72px; min-height: 88px; padding: 12px 6px; }
	.tmcs-thumb { flex-basis: 80px; width: 80px; height: 80px; }
	.tmcs-day { font-size: 28px; }
	.tmcs-buy { flex: 1 1 100%; }
}
