/*
 * TABC Course Reviews
 *
 * Built on the site's design-system tokens (:root custom properties). Each token is mapped to a component-scoped
 * `--tabc-*` variable with the design-system value as fallback, so the section looks right even if the global
 * tokens are not loaded, and can be re-themed by overriding `--tabc-*` on `.tabc-reviews`.
 *
 * Naming: BEM-ish, everything prefixed `tabc-` so it cannot collide with theme or WooCommerce styles.
 */

.tabc-reviews {
	/* Colors */
	--tabc-white: var(--white, #fff);
	--tabc-cyan: var(--Cyan, #00afe1);
	--tabc-blue-dark: var(--blue-dark, #0098c7);
	--tabc-blue-light: var(--blue-light, #e8f7fc);
	--tabc-green: var(--green, #5fbe75);
	--tabc-green-dark: var(--green-dark, #4da863);
	--tabc-green-light: var(--green-light, #edf8f0);
	--tabc-green-bg: var(--green-bg, #f6fcf7);
	--tabc-forest: var(--MSU-Green, #19453c);
	--tabc-cultured: var(--Cultured, #f4f8f8);
	--tabc-gray-100: var(--gray-100, #f3f4f6);
	--tabc-gray-200: var(--gray-200, #e5e7eb);
	--tabc-gray-300: var(--gray-300, #d1d5db);
	--tabc-gray-500: var(--gray-500, #6b7280);
	--tabc-gray-600: var(--gray-600, #4b5563);
	--tabc-gray-700: var(--gray-700, #374151);
	--tabc-gray-900: var(--gray-900, #111827);

	/* Not part of the design system: rating stars and error text. */
	--tabc-star: #f5b301;
	--tabc-danger: #dc2626;

	/* Shape, motion, depth */
	--tabc-radius-sm: var(--radius-sm, 8px);
	--tabc-radius-md: var(--radius-md, 12px);
	--tabc-radius-lg: var(--radius-lg, 16px);
	--tabc-radius-pill: var(--radius-pill, 100px);
	--tabc-t-fast: var(--t-fast, 0.2s cubic-bezier(0.16, 1, 0.3, 1));
	--tabc-t-normal: var(--t-normal, 0.3s cubic-bezier(0.16, 1, 0.3, 1));
	--tabc-shadow-sm: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.03));
	--tabc-shadow-md: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.03));
	--tabc-shadow-green: var(--shadow-green, 0 4px 14px rgba(95, 190, 117, 0.25));
	--tabc-shadow-premium: var(--shadow-premium, 0 25px 50px -12px rgba(10, 25, 49, 0.08), 0 8px 24px -8px rgba(0, 175, 225, 0.03));

	/* Primary button. White on the brand gradient is low contrast, so the default is solid forest green.
	   To use the gradient instead: --tabc-btn-primary-bg: var(--primary-gradient); */
	--tabc-btn-primary-bg: var(--tabc-forest);

	width: 100%;
	padding-block: clamp(32px, 5vw, 64px);
	font-family: inherit;
	color: var(--tabc-gray-700);
}

.tabc-reviews *,
.tabc-reviews *::before,
.tabc-reviews *::after {
	box-sizing: border-box;
}

/* `display` on our components would otherwise beat the UA `[hidden]` rule. */
.tabc-reviews [hidden] {
	display: none !important;
}

.tabc-reviews :is(h2, h3, p, ul, li, figure) {
	margin: 0;
	padding: 0;
}

.tabc-reviews :is(ul) {
	list-style: none;
}

.tabc-reviews :focus-visible {
	outline: 2px solid var(--tabc-cyan);
	outline-offset: 2px;
}

.tabc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ Header */

.tabc-reviews__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: clamp(24px, 3vw, 40px);
	text-align: center;
}

.tabc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid var(--tabc-green);
	border-radius: var(--tabc-radius-pill);
	background: var(--tabc-green-bg);
	color: var(--tabc-forest);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tabc-eyebrow svg {
	width: 16px;
	height: 16px;
	color: var(--tabc-green-dark);
}

.tabc-reviews__title {
	font-size: clamp(1.375rem, 0.9476rem + 0.8915vw, 1.75rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--tabc-gray-900);
	text-wrap: balance;
}

.tabc-reviews__subtitle {
	max-width: 60ch;
	font-size: 16px;
	line-height: 1.6;
	color: var(--tabc-gray-500);
}

/* ----------------------------------------------------------------- Summary */

.tabc-summary {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 1.3fr);
	padding-block: 32px;
	border: 1px solid var(--tabc-gray-200);
	border-radius: var(--tabc-radius-lg);
	background: var(--tabc-white);
	box-shadow: var(--tabc-shadow-md);
}

.tabc-summary__col {
	padding-inline: clamp(20px, 3vw, 36px);
}

.tabc-summary__col + .tabc-summary__col {
	border-left: 1px solid var(--tabc-gray-200);
}

.tabc-summary__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
}

.tabc-summary__average {
	font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--tabc-green-dark);
}

.tabc-summary__count {
	font-size: 14px;
	line-height: 1.5;
	color: var(--tabc-gray-600);
}

.tabc-summary__verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tabc-forest);
}

.tabc-summary__verified svg {
	width: 16px;
	height: 16px;
	color: var(--tabc-green-dark);
}

/* Rating breakdown */

.tabc-bars {
	display: grid;
	gap: 10px;
	height: 100%;
	align-content: center;
}

.tabc-bars__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 3ch;
	align-items: center;
	gap: 14px;
}

.tabc-bars__track {
	display: block;
	height: 8px;
	overflow: hidden;
	border-radius: var(--tabc-radius-pill);
	background: var(--tabc-gray-200);
}

.tabc-bars__fill {
	display: block;
	width: var(--tabc-pct, 0%);
	min-width: 4px;
	height: 100%;
	border-radius: inherit;
	background: var(--tabc-green-dark);
	transition: width var(--tabc-t-slow, 0.5s) ease;
}

.tabc-bars__fill.is-empty {
	min-width: 0;
}

.tabc-bars__percent {
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	text-align: right;
	color: var(--tabc-gray-600);
}

/* Trust points */

.tabc-trust {
	display: grid;
	gap: 16px;
	align-content: center;
	height: 100%;
}

.tabc-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tabc-gray-700);
}

.tabc-trust__item svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--tabc-green-dark);
}

/* ------------------------------------------------------------------- Stars */

.tabc-stars {
	position: relative;
	display: inline-flex;
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
	color: var(--tabc-gray-300);
}

.tabc-stars--sm {
	font-size: 14px;
}

.tabc-stars--lg {
	font-size: 28px;
}

.tabc-stars__layer {
	display: flex;
	gap: 0.12em;
}

.tabc-stars__layer--fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--tabc-fill, 0%);
	overflow: hidden;
	color: var(--tabc-star);
}

.tabc-stars svg {
	flex: none;
	width: 1em;
	height: 1em;
}

/* ----------------------------------------------------------------- Toolbar */

.tabc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-block: 32px 20px;
}

.tabc-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.tabc-inline-field {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tabc-inline-field label {
	font-size: 14px;
	font-weight: 500;
	color: var(--tabc-gray-700);
}

.tabc-select {
	min-width: 150px;
	height: 44px;
	padding: 0 40px 0 14px;
	border: 1px solid var(--tabc-gray-200);
	border-radius: var(--tabc-radius-sm);
	background: var(--tabc-white)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
		no-repeat right 14px center / 16px;
	font: inherit;
	font-size: 14px;
	color: var(--tabc-gray-700);
	cursor: pointer;
	appearance: none;
	transition: border-color var(--tabc-t-fast), box-shadow var(--tabc-t-fast);
}

.tabc-select:hover {
	border-color: var(--tabc-gray-300);
}

/* ----------------------------------------------------------------- Buttons */

.tabc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: var(--tabc-radius-sm);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--tabc-t-normal), box-shadow var(--tabc-t-normal), transform var(--tabc-t-normal), border-color var(--tabc-t-normal);
}

.tabc-btn svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.tabc-btn--outline {
	border-color: var(--tabc-green);
	background: var(--tabc-white);
	color: var(--tabc-forest);
}

.tabc-btn--outline:hover {
	background: var(--tabc-green-light);
	box-shadow: var(--tabc-shadow-green);
	color: var(--tabc-forest);
}

.tabc-btn--primary {
	background: var(--tabc-btn-primary-bg);
	color: var(--tabc-white);
	box-shadow: var(--tabc-shadow-green);
}

.tabc-btn--primary:hover {
	filter: brightness(1.15);
	color: var(--tabc-white);
}

.tabc-btn--ghost {
	border-color: var(--tabc-gray-300);
	background: transparent;
	color: var(--tabc-gray-600);
}

.tabc-btn--ghost:hover {
	background: var(--tabc-gray-100);
	color: var(--tabc-gray-700);
}

.tabc-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	filter: none;
	box-shadow: none;
}

/* ------------------------------------------------------------------- Cards */

.tabc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	transition: opacity var(--tabc-t-fast);
}

@media (min-width: 700px) {
	.tabc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.tabc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tabc-reviews[aria-busy='true'] .tabc-grid {
	opacity: 0.5;
	pointer-events: none;
}

.tabc-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border: 1px solid var(--tabc-gray-200);
	border-radius: var(--tabc-radius-lg);
	background: var(--tabc-white);
	box-shadow: var(--tabc-shadow-sm);
	transition: box-shadow var(--tabc-t-normal), border-color var(--tabc-t-normal);
}

.tabc-card:hover {
	border-color: var(--tabc-gray-300);
	box-shadow: var(--tabc-shadow-md);
}

.tabc-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.tabc-card__body {
	flex: 1;
	padding-bottom: 16px;
}

.tabc-card__title {
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tabc-gray-900);
}

.tabc-card__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
	overflow-wrap: anywhere;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tabc-gray-600);
}

.tabc-card__text.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
	overflow: visible;
}

.tabc-card__toggle {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--tabc-blue-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.tabc-card__footer {
	padding-top: 16px;
	border-top: 1px solid var(--tabc-gray-200);
}

.tabc-person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tabc-avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tabc-green-light);
	font-size: 14px;
	font-weight: 600;
	color: var(--tabc-forest);
}

.tabc-person__details {
	min-width: 0;
}

.tabc-person__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tabc-gray-900);
}

.tabc-person__role {
	font-size: 13px;
	line-height: 1.4;
	color: var(--tabc-gray-600);
}

.tabc-person__company {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--tabc-forest);
}

.tabc-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--tabc-gray-500);
}

.tabc-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tabc-gray-600);
}

.tabc-verified svg {
	width: 16px;
	height: 16px;
	color: var(--tabc-green-dark);
}

/* .tabc-verified--guest svg {
	color: var(--tabc-gray-500);
} */

/* Format badges. Unknown slugs fall back to neutral gray. */

.tabc-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: var(--tabc-radius-pill);
	background: var(--tabc-gray-100);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	color: var(--tabc-gray-700);
}

.tabc-badge--online-training {
	background: var(--tabc-green-light);
	color: var(--tabc-forest);
}

.tabc-badge--dvd-usb {
	background: var(--tabc-blue-light);
	color: var(--tabc-blue-dark);
	color: color-mix(in srgb, var(--tabc-blue-dark) 65%, #000);
}

/* The mock's third badge is purple, which the design system doesn't define; mapped to its neutral tint. */
.tabc-badge--ondemand-streaming {
	background: var(--tabc-cultured);
	box-shadow: inset 0 0 0 1px var(--tabc-gray-200);
	color: var(--tabc-forest);
}

/* ------------------------------------------------------ Actions and notice */

.tabc-empty {
	padding: 32px 16px;
	text-align: center;
	color: var(--tabc-gray-500);
}

.tabc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin-top: 32px;
}

.tabc-actions:not(:has(> :not([hidden]))) {
	display: none;
}

.tabc-notice {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 32px;
	padding: 20px 24px;
	border: 1px solid var(--tabc-green-light);
	border: 1px solid color-mix(in srgb, var(--tabc-green) 30%, transparent);
	border-radius: var(--tabc-radius-md);
	background: var(--tabc-green-bg);
}

.tabc-notice > svg {
	flex: none;
	width: 32px;
	height: 32px;
	color: var(--tabc-green-dark);
}

.tabc-notice__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tabc-gray-900);
}

.tabc-notice__text {
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tabc-gray-600);
}

.tabc-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	padding: 48px 24px;
	border: 1px dashed var(--tabc-gray-300);
	border-radius: var(--tabc-radius-lg);
	background: var(--tabc-green-bg);
	text-align: center;
}

.tabc-empty-state > svg {
	width: 36px;
	height: 36px;
	color: var(--tabc-green-dark);
}

.tabc-empty-state__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--tabc-gray-900);
}

.tabc-empty-state__text {
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--tabc-gray-600);
}

/* ------------------------------------------------------------------ Dialog */

.tabc-modal-open {
	overflow: hidden;
}

.tabc-dialog {
	/* Native <dialog> centres itself with `margin: auto`; a global `* { margin: 0 }` reset would pin it top-left. */
	margin: auto;
	width: min(560px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--tabc-radius-lg);
	background: var(--tabc-white);
	box-shadow: var(--tabc-shadow-premium);
	color: var(--tabc-gray-700);
}

.tabc-dialog[open] {
	display: flex;
	flex-direction: column;
	animation: tabc-dialog-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tabc-dialog::backdrop {
	background: rgba(10, 15, 26, 0.55);
	backdrop-filter: blur(2px);
}

@keyframes tabc-dialog-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

.tabc-dialog__inner {
	width: 100%;
	min-height: 0;
	padding: 24px;
	overflow-y: auto;
}

.tabc-dialog__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tabc-dialog__title {
	font-size: clamp(1.25rem, 0.9651rem + 0.5944vw, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--tabc-gray-900);
}

.tabc-dialog__subtitle {
	margin-top: 2px;
	font-size: 14px;
	color: var(--tabc-gray-500);
}

.tabc-dialog__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tabc-gray-500);
	cursor: pointer;
	transition: background-color var(--tabc-t-fast), color var(--tabc-t-fast);
}

.tabc-dialog__close:hover {
	background: var(--tabc-gray-100);
	color: var(--tabc-gray-900);
}

.tabc-dialog__close svg {
	width: 20px;
	height: 20px;
}

/* -------------------------------------------------------------------- Form */

.tabc-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 520px) {
	.tabc-form__grid {
		grid-template-columns: 1fr;
	}
}

.tabc-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.tabc-field--full {
	grid-column: 1 / -1;
}

.tabc-label {
	display: block;
	margin-bottom: 6px;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--tabc-gray-700);
}

.tabc-input {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--tabc-gray-300);
	border-radius: var(--tabc-radius-sm);
	background: var(--tabc-white);
	font: inherit;
	font-size: 15px;
	color: var(--tabc-gray-900);
	transition: border-color var(--tabc-t-fast), box-shadow var(--tabc-t-fast);
}

.tabc-textarea {
	height: auto;
	min-height: 120px;
	padding-block: 12px;
	line-height: 1.5;
	resize: vertical;
}

.tabc-input:focus {
	border-color: var(--tabc-cyan);
	box-shadow: 0 0 0 3px var(--tabc-blue-light);
	outline: none;
}

.tabc-input[aria-invalid='true'] {
	border-color: var(--tabc-danger);
}

.tabc-field__error,
.tabc-form__error {
	font-size: 13px;
	line-height: 1.4;
	color: var(--tabc-danger);
}

.tabc-field__error {
	margin-top: 6px;
}

.tabc-field__error:empty,
.tabc-form__error:empty {
	display: none;
}

.tabc-form__error {
	margin-top: 16px;
	padding: 10px 14px;
	border-radius: var(--tabc-radius-sm);
	background: #fef2f2;
}

.tabc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Star picker: DOM order is 5→1 and the row is reversed, so `~` selects "this star and every lower one". */

.tabc-rating-input__stars {
	position: relative;
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
}

.tabc-rating-input__stars input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tabc-rating-input__stars label {
	display: inline-flex;
	padding: 2px;
	border-radius: 6px;
	color: var(--tabc-gray-300);
	cursor: pointer;
	transition: color var(--tabc-t-fast), transform var(--tabc-t-fast);
}

.tabc-rating-input__stars label svg {
	width: 32px;
	height: 32px;
}

.tabc-rating-input__stars input:checked ~ label,
.tabc-rating-input__stars label:hover,
.tabc-rating-input__stars label:hover ~ label {
	color: var(--tabc-star);
}

.tabc-rating-input__stars label:hover {
	transform: scale(1.08);
}

.tabc-rating-input__stars input:focus-visible + label {
	outline: 2px solid var(--tabc-cyan);
	outline-offset: 2px;
}

.tabc-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--tabc-gray-200);
}

.tabc-form__note {
	font-size: 13px;
	line-height: 1.4;
	color: var(--tabc-gray-500);
}

.tabc-form__actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.tabc-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 8px 8px;
	text-align: center;
}

.tabc-success > svg {
	width: 48px;
	height: 48px;
	color: var(--tabc-green-dark);
}

.tabc-success__title {
	font-size: 20px;
	font-weight: 600;
	color: var(--tabc-gray-900);
}

.tabc-success__message {
	max-width: 36ch;
	margin-bottom: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tabc-gray-600);
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 960px) {
	.tabc-summary {
		grid-template-columns: 1fr;
		padding-block: 24px;
	}

	.tabc-summary__col + .tabc-summary__col {
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid var(--tabc-gray-200);
		border-left: 0;
	}
}

@media (max-width: 600px) {
	.tabc-toolbar {
		align-items: stretch;
	}

	.tabc-toolbar__filters,
	.tabc-inline-field {
		width: 100%;
	}

	.tabc-inline-field {
		justify-content: space-between;
	}

	.tabc-toolbar > .tabc-btn {
		width: 100%;
	}

	.tabc-actions > .tabc-btn {
		width: 100%;
	}

	.tabc-form__actions {
		width: 100%;
	}

	.tabc-form__actions .tabc-btn {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tabc-reviews *,
	.tabc-reviews *::before,
	.tabc-reviews *::after,
	.tabc-dialog[open] {
		animation: none !important;
		transition: none !important;
	}
}
