.sgp-hca,
.sgp-hca-access-message {
	--h-primary: #a71c33;
	--h-primary-dark: #480e15;
	--h-rose-50: #fff5f7;
	--h-rose-100: #fde8eb;
	--h-powder: #fbf0f2;
	--h-cream: #fff8f4;
	--h-success: #3f8f68;
	--h-success-soft: #e8f6ef;
	--h-error: #a71c33;
	--h-error-soft: #fde8eb;
	--h-white: #ffffff;
	--h-border: #eadde1;
	--h-text: #2c1a1d;
	--h-text-soft: #6b5b60;
	--sgp-h-ca-font-heading: inherit;
	--sgp-h-ca-font-body: inherit;
	--sgp-h-ca-font-button: inherit;
	--sgp-h-ca-font-heading-size: inherit;
	--sgp-h-ca-font-body-size: inherit;
	--sgp-h-ca-font-button-size: inherit;
	--sgp-h-ca-font-heading-weight: inherit;
	--sgp-h-ca-font-body-weight: inherit;
	--sgp-h-ca-font-button-weight: inherit;
	color: var(--h-text);
	font-family: var(--sgp-h-ca-font-body);
	font-size: var(--sgp-h-ca-font-body-size);
	font-weight: var(--sgp-h-ca-font-body-weight);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.sgp-hca,
.sgp-hca *,
.sgp-hca-access-message,
.sgp-hca-access-message * {
	box-sizing: border-box;
}

.sgp-hca {
	display: grid;
	gap: 18px;
	max-width: 1180px;
	margin: 0 auto;
}

.sgp-hca-access-message,
.sgp-hca-hero,
.sgp-hca-card,
.sgp-hca-list-card,
.sgp-hca-empty {
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 22px;
	box-shadow: 0 14px 34px rgba(44, 26, 29, 0.07);
}

.sgp-hca-access-message {
	display: grid;
	gap: 18px;
	width: min(100%, 920px);
	max-width: 920px;
	margin: 0 auto;
	padding: 26px;
	background: linear-gradient(135deg, var(--h-cream), var(--h-rose-50));
}

.sgp-hca-access-message h2,
.sgp-hca-hero h2,
.sgp-hca-section-heading h3 {
	margin: 0;
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: var(--sgp-h-ca-font-heading-size);
	font-weight: var(--sgp-h-ca-font-heading-weight);
	line-height: 1.16;
}

.sgp-hca-access-message h2,
.sgp-hca-hero h2 {
	font-size: clamp(30px, 6vw, 44px);
}

.sgp-hca-access-message p,
.sgp-hca-hero p,
.sgp-hca-section-heading p {
	margin: 0;
	color: var(--h-text-soft);
	font-size: 15px;
	line-height: 1.6;
}

.sgp-hca-kicker {
	margin: 0 0 8px;
	color: var(--h-primary);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: 12px;
	font-weight: var(--sgp-h-ca-font-heading-weight);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sgp-hca-hero {
	display: grid;
	gap: 18px;
	padding: 26px;
	background: linear-gradient(135deg, var(--h-cream), var(--h-rose-50));
}

.sgp-hca-hero__actions,
.sgp-hca-auth-tabs,
.sgp-hca-auth-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.sgp-hca-card {
	padding: 24px;
}

.sgp-hca-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.sgp-hca-section-heading h3 {
	font-size: clamp(23px, 4vw, 31px);
}

.sgp-hca-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 46px;
	padding: 12px 18px;
	color: var(--h-white);
	background: var(--h-primary);
	border: 1px solid var(--h-primary);
	border-radius: 30px;
	box-shadow: 0 10px 20px rgba(167, 28, 51, 0.18);
	cursor: pointer;
	font-family: var(--sgp-h-ca-font-button);
	font-size: var(--sgp-h-ca-font-button-size);
	font-weight: var(--sgp-h-ca-font-button-weight);
	text-decoration: none;
	transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sgp-hca-button:hover,
.sgp-hca-button:focus {
	color: var(--h-white);
	background: var(--h-primary-dark);
	border-color: var(--h-primary-dark);
	transform: translateY(-1px);
}

.sgp-hca-button--secondary {
	color: var(--h-primary);
	background: var(--h-white);
	border-color: rgba(167, 28, 51, 0.2);
	box-shadow: none;
}

.sgp-hca-button--secondary:hover,
.sgp-hca-button--secondary:focus {
	color: var(--h-white);
}

.sgp-hca-manager-shortcut {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 24px;
	background: linear-gradient(135deg, var(--h-cream), var(--h-rose-50));
	border: 1px solid rgba(167, 28, 51, 0.16);
	border-radius: 24px;
	box-shadow: 0 16px 38px rgba(44, 26, 29, 0.08);
}

.sgp-hca-manager-shortcut h3,
.sgp-hca-manager-shortcut p {
	margin: 0;
}

.sgp-hca-manager-shortcut h3 {
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: clamp(24px, 4vw, 34px);
	font-weight: var(--sgp-h-ca-font-heading-weight);
	line-height: 1.14;
}

.sgp-hca-manager-shortcut p:not(.sgp-hca-kicker) {
	color: var(--h-text-soft);
	font-size: 15px;
}

.sgp-hca-featured-appointment {
	display: grid;
	gap: 18px;
}

.sgp-hca-featured-appointment strong,
.sgp-hca-list-card strong {
	display: block;
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: var(--sgp-h-ca-font-heading-size);
	font-weight: var(--sgp-h-ca-font-heading-weight);
	line-height: 1.35;
}

.sgp-hca-featured-appointment span,
.sgp-hca-list-card span {
	color: var(--h-text-soft);
	font-size: 14px;
	font-weight: 700;
}

.sgp-hca-featured-appointment dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.sgp-hca-featured-appointment dl div {
	display: grid;
	gap: 6px;
	padding: 14px;
	background: var(--h-rose-50);
	border: 1px solid var(--h-border);
	border-radius: 16px;
}

.sgp-hca-featured-appointment dt {
	color: var(--h-text-soft);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.sgp-hca-featured-appointment dd {
	margin: 0;
	color: var(--h-primary-dark);
	font-weight: 900;
}

.sgp-hca-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
}

.sgp-hca-list {
	display: grid;
	gap: 12px;
}

.sgp-hca-list-card {
	display: grid;
	gap: 10px;
	padding: 16px;
	background: linear-gradient(135deg, var(--h-white), var(--h-rose-50));
}

.sgp-hca-list-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sgp-hca-list-card__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 10px;
	color: var(--h-primary);
	background: var(--h-white);
	border: 1px solid rgba(167, 28, 51, 0.14);
	border-radius: 999px;
	font-family: var(--sgp-h-ca-font-button);
}

.sgp-hca-list-card a {
	color: var(--h-primary);
	font-weight: 800;
	text-decoration: none;
}

.sgp-hca-empty {
	display: grid;
	gap: 12px;
	padding: 18px;
	color: var(--h-text-soft);
	background: var(--h-powder);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	box-shadow: none;
}

.sgp-hca-profile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sgp-hca-auth-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 18px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid var(--h-border);
	border-radius: 18px;
}

.sgp-hca-auth-switcher {
	position: relative;
	display: grid;
	gap: 14px;
	perspective: 900px;
}

.sgp-hca-auth-switcher .sgp-hca-auth-panel {
	position: relative;
	display: grid;
	gap: 14px;
	width: 100%;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: rotateY(0deg) translateX(0);
	transform-origin: center;
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.sgp-hca-auth-switcher .sgp-hca-auth-panel--lost {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: rotateY(8deg) translateX(12px);
}

.sgp-hca-auth-switcher.sgp-hca-auth-switcher--login .sgp-hca-auth-panel--login,
.sgp-hca-auth-switcher:not(.sgp-hca-auth-switcher--lost) .sgp-hca-auth-panel--login,
.sgp-hca-auth-switcher.sgp-hca-auth-switcher--lost .sgp-hca-auth-panel--lost {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: rotateY(0deg) translateX(0);
}

.sgp-hca-auth-switcher.sgp-hca-auth-switcher--lost .sgp-hca-auth-panel--login {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: rotateY(-8deg) translateX(-12px);
}

.sgp-hca-auth-switcher.sgp-hca-auth-switcher--login .sgp-hca-auth-panel--lost,
.sgp-hca-auth-switcher:not(.sgp-hca-auth-switcher--lost) .sgp-hca-auth-panel--lost {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: rotateY(8deg) translateX(12px);
}

.sgp-hca-lost-password-panel h3 {
	margin: 0;
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: clamp(22px, 3vw, 28px);
	font-weight: var(--sgp-h-ca-font-heading-weight);
	line-height: 1.18;
}

.sgp-hca-auth-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0;
	color: var(--h-primary);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
}

.sgp-hca-auth-link-button:hover,
.sgp-hca-auth-link-button:focus {
	color: var(--h-primary-dark);
	background: transparent;
	box-shadow: none;
	text-decoration: underline;
}

.sgp-hca-profile label,
.sgp-hca-auth-form label {
	display: grid;
	gap: 7px;
	color: var(--h-text);
	font-size: 14px;
	font-weight: 800;
}

.sgp-hca-profile input,
.sgp-hca-auth-form input,
.sgp-hca-clients-search input,
.sgp-hca-clients-search select {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	color: var(--h-text);
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 14px;
	font: inherit;
}

.sgp-hca-profile input[readonly] {
	color: var(--h-text-soft);
	background: var(--h-rose-50);
}

.sgp-hca-auth-remember {
	grid-template-columns: auto 1fr;
	align-items: center;
	width: fit-content;
}

.sgp-hca-auth-remember input {
	width: auto;
	min-height: auto;
}

.sgp-hca-auth-form__actions,
.sgp-hca-profile__actions {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.sgp-hca-auth-form__actions a {
	color: var(--h-primary);
	font-weight: 800;
	text-decoration: none;
}

.sgp-hca-clients-search {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr) auto;
	gap: 14px;
	align-items: end;
}

.sgp-hca-clients-search label {
	display: grid;
	gap: 7px;
	color: var(--h-text);
	font-size: 14px;
	font-weight: 800;
}

.sgp-hca-clients-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sgp-hca-client-card {
	display: grid;
	gap: 14px;
}

.sgp-hca-client-card__header {
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.sgp-hca-client-card__header strong {
	display: block;
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-heading);
	font-size: 18px;
}

.sgp-hca-client-card__header span,
.sgp-hca-client-card__header small {
	color: var(--h-text-soft);
	font-weight: 800;
}

.sgp-hca-client-card dl,
.sgp-hca-client-detail dl {
	display: grid;
	gap: 9px;
	margin: 0;
}

.sgp-hca-client-card dl div,
.sgp-hca-client-detail dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	background: var(--h-rose-50);
	border: 1px solid var(--h-border);
	border-radius: 14px;
}

.sgp-hca-client-card dt {
	color: var(--h-text-soft);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.sgp-hca-client-card dd {
	margin: 0;
	color: var(--h-primary-dark);
	font-weight: 800;
	text-align: right;
}

.sgp-hca-client-detail summary {
	color: var(--h-primary);
	cursor: pointer;
	font-weight: 900;
}

.sgp-hca-client-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sgp-hca-action-disabled {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 12px;
	color: var(--h-text-soft);
	background: var(--h-powder);
	border: 1px solid var(--h-border);
	border-radius: 999px;
	font-family: var(--sgp-h-ca-font-button);
	font-size: 13px;
	font-weight: 800;
}

.sgp-hca-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.sgp-hca-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	color: var(--h-primary);
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 999px;
	font-family: var(--sgp-h-ca-font-button);
	font-weight: 900;
	text-decoration: none;
}

.sgp-hca-pagination a.is-active {
	color: var(--h-white);
	background: var(--h-primary);
	border-color: var(--h-primary);
}

.sgp-hca-auth-notice {
	margin: 0;
	padding: 14px 16px;
	color: var(--h-success);
	background: var(--h-success-soft);
	border: 1px solid rgba(63, 143, 104, 0.22);
	border-radius: 16px;
	font-weight: 800;
	line-height: 1.5;
}

.sgp-hca-auth-notice[data-type="error"] {
	color: var(--h-error);
	background: var(--h-error-soft);
	border-color: rgba(167, 28, 51, 0.18);
}

.sgp-hca-feedback {
	margin: 0;
	padding: 12px 14px;
	color: var(--h-success);
	background: var(--h-success-soft);
	border-radius: 14px;
	font-weight: 800;
}

.sgp-hca-feedback[data-type="error"] {
	color: var(--h-error);
	background: var(--h-error-soft);
}

.sgp-hca.sgp-hca :where(p, span, label, input, select, dt, dd, small, summary, a, .sgp-hca-empty, .sgp-hca-auth-notice, .sgp-hca-feedback),
.sgp-hca-access-message.sgp-hca-access-message :where(p, span, label, input, select, small, a, .sgp-hca-auth-notice) {
	font-size: var(--sgp-h-ca-font-body-size);
	font-weight: var(--sgp-h-ca-font-body-weight);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.sgp-hca.sgp-hca :where(h2, h3, .sgp-hca-kicker, .sgp-hca-featured-appointment strong, .sgp-hca-list-card strong, .sgp-hca-client-card__header strong),
.sgp-hca-access-message.sgp-hca-access-message :where(h2, .sgp-hca-kicker) {
	font-size: var(--sgp-h-ca-font-heading-size);
	font-weight: var(--sgp-h-ca-font-heading-weight);
	line-height: 1.18;
	overflow-wrap: anywhere;
}

.sgp-hca.sgp-hca :where(.sgp-hca-button, button, .sgp-hca-list-card__meta span, .sgp-hca-action-disabled, .sgp-hca-pagination a),
.sgp-hca-access-message.sgp-hca-access-message :where(.sgp-hca-button, button) {
	font-size: var(--sgp-h-ca-font-button-size);
	font-weight: var(--sgp-h-ca-font-button-weight);
	line-height: 1.2;
	overflow-wrap: anywhere;
	white-space: normal;
}

.sgp-hca-access-message h2 {
	color: var(--sgp-h-ca-access-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-access-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-access-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-access-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-access-title-transform, none);
}

.sgp-hca-access-message > p:not(.sgp-hca-kicker):not(.sgp-hca-auth-notice) {
	color: var(--sgp-h-ca-access-text-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-access-text-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-access-text-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-access-text-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-access-text-transform, none);
}

.sgp-hca .sgp-hca-kicker,
.sgp-hca-access-message .sgp-hca-kicker {
	color: var(--sgp-h-ca-header-kicker-color, var(--h-primary));
	font-family: var(--sgp-h-ca-header-kicker-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-header-kicker-size, 12px);
	font-weight: var(--sgp-h-ca-header-kicker-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-header-kicker-transform, uppercase);
}

.sgp-hca .sgp-hca-hero h2 {
	color: var(--sgp-h-ca-header-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-header-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-header-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-header-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-header-title-transform, none);
}

.sgp-hca .sgp-hca-hero p:not(.sgp-hca-kicker) {
	color: var(--sgp-h-ca-header-intro-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-header-intro-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-header-intro-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-header-intro-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-header-intro-transform, none);
}

.sgp-hca-access-message .sgp-hca-auth-tabs .sgp-hca-button {
	color: var(--sgp-h-ca-nav-color, currentColor);
	font-family: var(--sgp-h-ca-nav-font, var(--sgp-h-ca-font-button));
	font-size: var(--sgp-h-ca-nav-size, var(--sgp-h-ca-font-button-size));
	font-weight: var(--sgp-h-ca-nav-weight, var(--sgp-h-ca-font-button-weight));
	text-transform: var(--sgp-h-ca-nav-transform, none);
}

.sgp-hca-access-message .sgp-hca-auth-tabs .sgp-hca-button:not(.sgp-hca-button--secondary) {
	color: var(--sgp-h-ca-nav-active-color, var(--h-white));
}

.sgp-hca .sgp-hca-section-heading h3,
.sgp-hca .sgp-hca-card > h3 {
	color: var(--sgp-h-ca-panel-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-panel-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-panel-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-panel-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-panel-title-transform, none);
}

.sgp-hca .sgp-hca-section-heading p,
.sgp-hca .sgp-hca-card > p {
	color: var(--sgp-h-ca-panel-text-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-panel-text-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-panel-text-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-panel-text-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-panel-text-transform, none);
}

.sgp-hca .sgp-hca-auth-form legend,
.sgp-hca-access-message .sgp-hca-auth-form legend {
	color: var(--sgp-h-ca-form-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-form-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-form-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-form-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-form-title-transform, none);
}

.sgp-hca .sgp-hca-profile label,
.sgp-hca .sgp-hca-auth-form label,
.sgp-hca-access-message .sgp-hca-auth-form label {
	color: var(--sgp-h-ca-form-label-color, var(--h-text));
	font-family: var(--sgp-h-ca-form-label-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-form-label-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-form-label-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-form-label-transform, none);
}

.sgp-hca :where(input, select, textarea),
.sgp-hca-access-message :where(input, select, textarea) {
	color: var(--sgp-h-ca-form-field-color, var(--h-text));
	font-family: var(--sgp-h-ca-form-field-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-form-field-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-form-field-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-form-field-transform, none);
}

.sgp-hca .sgp-hca-auth-form__actions a,
.sgp-hca-access-message .sgp-hca-auth-form__actions a,
.sgp-hca .sgp-hca-auth-remember span {
	color: var(--sgp-h-ca-form-help-color, var(--h-primary));
	font-family: var(--sgp-h-ca-form-help-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-form-help-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-form-help-weight, 800);
	text-transform: var(--sgp-h-ca-form-help-transform, none);
}

.sgp-hca .sgp-hca-hero p strong,
.sgp-hca .sgp-hca-profile input[readonly] {
	color: var(--sgp-h-ca-account-name-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-account-name-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-account-name-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-account-name-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-account-name-transform, none);
}

.sgp-hca .sgp-hca-profile + h3,
.sgp-hca #sgp-hca-profile-title {
	color: var(--sgp-h-ca-account-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-account-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-account-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-account-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-account-title-transform, none);
}

.sgp-hca .sgp-hca-profile :where(label, input) {
	color: var(--sgp-h-ca-account-meta-color, var(--h-text));
	font-family: var(--sgp-h-ca-account-meta-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-account-meta-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-account-meta-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-account-meta-transform, none);
}

.sgp-hca .sgp-hca-featured-appointment strong,
.sgp-hca .sgp-hca-list-card strong {
	color: var(--sgp-h-ca-appointment-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-appointment-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-appointment-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-appointment-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-appointment-title-transform, none);
}

.sgp-hca .sgp-hca-list-card__meta span:first-child,
.sgp-hca .sgp-hca-featured-appointment dl div:nth-child(-n+2) dd {
	color: var(--sgp-h-ca-appointment-date-color, var(--h-primary));
	font-family: var(--sgp-h-ca-appointment-date-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-appointment-date-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-appointment-date-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-appointment-date-transform, none);
}

.sgp-hca .sgp-hca-featured-appointment span,
.sgp-hca .sgp-hca-list-card span,
.sgp-hca .sgp-hca-featured-appointment dd {
	color: var(--sgp-h-ca-appointment-meta-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-appointment-meta-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-appointment-meta-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-appointment-meta-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-appointment-meta-transform, none);
}

.sgp-hca.sgp-hca-clients .sgp-hca-hero h2 {
	color: var(--sgp-h-ca-client-list-title-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-client-list-title-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-client-list-title-size, var(--sgp-h-ca-font-heading-size));
	font-weight: var(--sgp-h-ca-client-list-title-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-client-list-title-transform, none);
}

.sgp-hca .sgp-hca-client-card__header strong {
	color: var(--sgp-h-ca-client-name-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-client-name-font, var(--sgp-h-ca-font-heading));
	font-size: var(--sgp-h-ca-client-name-size, 18px);
	font-weight: var(--sgp-h-ca-client-name-weight, var(--sgp-h-ca-font-heading-weight));
	text-transform: var(--sgp-h-ca-client-name-transform, none);
}

.sgp-hca .sgp-hca-client-card__header span,
.sgp-hca .sgp-hca-client-card dd,
.sgp-hca .sgp-hca-client-detail dd {
	color: var(--sgp-h-ca-client-meta-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-client-meta-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-client-meta-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-client-meta-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-client-meta-transform, none);
}

.sgp-hca .sgp-hca-clients-search :where(label, input, select) {
	color: var(--sgp-h-ca-filter-color, var(--h-text));
	font-family: var(--sgp-h-ca-filter-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-filter-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-filter-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-filter-transform, none);
}

.sgp-hca :where(thead th, .sgp-hca-client-card dt) {
	color: var(--sgp-h-ca-table-head-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-table-head-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-table-head-size, 12px);
	font-weight: var(--sgp-h-ca-table-head-weight, 900);
	text-transform: var(--sgp-h-ca-table-head-transform, uppercase);
}

.sgp-hca :where(tbody td, .sgp-hca-list-card, .sgp-hca-client-detail dd) {
	color: var(--sgp-h-ca-table-cell-color, var(--h-text));
	font-family: var(--sgp-h-ca-table-cell-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-table-cell-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-table-cell-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-table-cell-transform, none);
}

.sgp-hca :where(dt, .sgp-hca-featured-appointment dt, .sgp-hca-client-card dt, .sgp-hca-client-detail dt) {
	color: var(--sgp-h-ca-label-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-label-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-label-size, 12px);
	font-weight: var(--sgp-h-ca-label-weight, 900);
	text-transform: var(--sgp-h-ca-label-transform, uppercase);
}

.sgp-hca :where(dd, .sgp-hca-featured-appointment dd, .sgp-hca-client-card dd, .sgp-hca-client-detail dd) {
	color: var(--sgp-h-ca-value-color, var(--h-primary-dark));
	font-family: var(--sgp-h-ca-value-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-value-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-value-weight, 800);
	text-transform: var(--sgp-h-ca-value-transform, none);
}

.sgp-hca :where(.sgp-hca-admin-help, .sgp-hca-action-disabled, .sgp-hca-auth-form__actions a),
.sgp-hca-access-message :where(.sgp-hca-auth-form__actions a) {
	color: var(--sgp-h-ca-help-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-help-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-help-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-help-weight, var(--sgp-h-ca-font-body-weight));
	text-transform: var(--sgp-h-ca-help-transform, none);
}

.sgp-hca .sgp-hca-empty {
	color: var(--sgp-h-ca-empty-color, var(--h-text-soft));
	font-family: var(--sgp-h-ca-empty-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-empty-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-empty-weight, 800);
	text-transform: var(--sgp-h-ca-empty-transform, none);
}

.sgp-hca .sgp-hca-feedback,
.sgp-hca .sgp-hca-auth-notice,
.sgp-hca-access-message .sgp-hca-auth-notice {
	color: var(--sgp-h-ca-feedback-color, currentColor);
	font-family: var(--sgp-h-ca-feedback-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-feedback-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-feedback-weight, 800);
	text-transform: var(--sgp-h-ca-feedback-transform, none);
}

.sgp-hca :where(.sgp-hca-button:not(.sgp-hca-button--secondary), button:not(.sgp-hca-button--secondary)),
.sgp-hca-access-message :where(.sgp-hca-button:not(.sgp-hca-button--secondary), button:not(.sgp-hca-button--secondary)) {
	color: var(--sgp-h-ca-primary-button-color, var(--h-white));
	font-family: var(--sgp-h-ca-primary-button-font, var(--sgp-h-ca-font-button));
	font-size: var(--sgp-h-ca-primary-button-size, var(--sgp-h-ca-font-button-size));
	font-weight: var(--sgp-h-ca-primary-button-weight, var(--sgp-h-ca-font-button-weight));
	text-transform: var(--sgp-h-ca-primary-button-transform, none);
}

.sgp-hca .sgp-hca-button--secondary,
.sgp-hca-access-message .sgp-hca-button--secondary {
	color: var(--sgp-h-ca-secondary-button-color, var(--h-primary));
	font-family: var(--sgp-h-ca-secondary-button-font, var(--sgp-h-ca-font-button));
	font-size: var(--sgp-h-ca-secondary-button-size, var(--sgp-h-ca-font-button-size));
	font-weight: var(--sgp-h-ca-secondary-button-weight, var(--sgp-h-ca-font-button-weight));
	text-transform: var(--sgp-h-ca-secondary-button-transform, none);
}

.sgp-hca a:not(.sgp-hca-button),
.sgp-hca-access-message a:not(.sgp-hca-button) {
	color: var(--sgp-h-ca-link-color, var(--h-primary));
	font-family: var(--sgp-h-ca-link-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-link-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-link-weight, 800);
	text-transform: var(--sgp-h-ca-link-transform, none);
}

.sgp-hca-access-message .sgp-hca-auth-link-button {
	color: var(--sgp-h-ca-link-color, var(--h-primary));
	font-family: var(--sgp-h-ca-link-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-link-size, var(--sgp-h-ca-font-body-size));
	font-weight: var(--sgp-h-ca-link-weight, 800);
	text-transform: var(--sgp-h-ca-link-transform, none);
}

.sgp-hca :where(.sgp-hca-list-card__meta span, .sgp-hca-client-card__header small, .sgp-hca-pagination a, .sgp-hca-action-disabled) {
	color: var(--sgp-h-ca-badge-color, var(--h-primary));
	font-family: var(--sgp-h-ca-badge-font, var(--sgp-h-ca-font-body));
	font-size: var(--sgp-h-ca-badge-size, 13px);
	font-weight: var(--sgp-h-ca-badge-weight, 800);
	text-transform: var(--sgp-h-ca-badge-transform, none);
}

.sgp-hca-feedback[hidden],
.sgp-hca [hidden] {
	display: none;
}

@media (min-width: 900px) {
	.sgp-hca-hero {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

@media (max-width: 980px) {
	.sgp-hca-columns,
	.sgp-hca-featured-appointment dl,
	.sgp-hca-clients-grid,
	.sgp-hca-clients-search {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.sgp-hca {
		gap: 14px;
	}

	.sgp-hca-access-message,
	.sgp-hca-hero,
	.sgp-hca-manager-shortcut,
	.sgp-hca-card {
		padding: 18px;
		border-radius: 18px;
	}

	.sgp-hca-access-message {
		width: min(100%, 520px);
		max-width: calc(100vw - 32px);
		margin-right: auto;
		margin-left: auto;
		padding: 20px;
	}

	.sgp-hca-access-message .sgp-hca-auth-form {
		width: 100%;
		padding: 20px;
	}

	.elementor-widget-html .sgp-hca-access-message {
		display: block;
		position: relative;
		left: 50%;
		width: calc(100vw - 32px) !important;
		max-width: 520px !important;
		margin-right: auto;
		margin-left: auto;
		box-sizing: border-box;
		transform: translateX(-50%);
	}

	.elementor-widget-html .sgp-hca-access-message .sgp-hca-auth-form {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

	.elementor-widget-html .sgp-hca-access-message .sgp-hca-auth-form label,
	.elementor-widget-html .sgp-hca-access-message .sgp-hca-auth-form__actions,
	.elementor-widget-html .sgp-hca-access-message .sgp-hca-auth-form__actions .sgp-hca-button {
		width: 100%;
		max-width: none;
	}

	.sgp-hca-section-heading,
	.sgp-hca-profile__actions,
	.sgp-hca-auth-form__actions,
	.sgp-hca-client-actions,
	.sgp-hca-hero__actions,
	.sgp-hca-manager-shortcut,
	.sgp-hca-auth-tabs {
		display: grid;
	}

	.sgp-hca-manager-shortcut {
		grid-template-columns: 1fr;
	}

	.sgp-hca-manager-shortcut .sgp-hca-button {
		width: 100%;
	}

	.sgp-hca-button,
	.sgp-hca-profile__actions .sgp-hca-button,
	.sgp-hca-auth-form__actions .sgp-hca-button {
		width: 100%;
	}

	.sgp-hca-profile,
	.sgp-hca-auth-form,
	.sgp-hca-clients-search {
		grid-template-columns: 1fr;
	}

	.sgp-hca-client-card__header,
	.sgp-hca-client-card dl div,
	.sgp-hca-client-detail dl div {
		display: grid;
	}

	.sgp-hca-client-card dd {
		text-align: left;
	}
}

@media (max-width: 390px) {
	.sgp-hca-access-message {
		max-width: calc(100vw - 32px);
		padding: 18px;
	}

	.elementor-widget-html .sgp-hca-access-message {
		width: calc(100vw - 28px) !important;
	}

	.sgp-hca-access-message .sgp-hca-auth-form {
		padding: 18px;
	}
}

.sgp-hca-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 20px;
	box-shadow: 0 12px 28px rgba(44, 26, 29, 0.06);
}

.sgp-hca-tabs__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 16px;
	border: 1px solid rgba(167, 28, 51, 0.14);
	border-radius: 999px;
	background: var(--h-rose-50);
	color: var(--h-primary-dark);
	font-family: var(--sgp-h-ca-font-button);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(72, 14, 21, 0.04);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sgp-hca-tabs__button:hover,
.sgp-hca-tabs__button:focus-visible {
	color: var(--h-primary-dark);
	border-color: rgba(167, 28, 51, 0.28);
	background: var(--h-rose-100);
	outline: none;
	box-shadow: 0 0 0 3px rgba(167, 28, 51, 0.1);
	transform: translateY(-1px);
}

.sgp-hca-tabs__button.is-active {
	color: var(--h-white);
	background: var(--h-primary);
	border-color: var(--h-primary);
	box-shadow: 0 10px 20px rgba(167, 28, 51, 0.18);
}

.sgp-hca-panels {
	display: grid;
	gap: 18px;
}

.sgp-hca-panel[hidden] {
	display: none !important;
}

.sgp-hca-panel.is-active {
	display: grid;
	gap: 18px;
}

.sgp-hca-welcome-card h3 {
	margin: 0 0 8px;
}

.sgp-hca-muted {
	margin: 0;
	color: var(--h-text-soft);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca-summary-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sgp-hca-summary-card strong {
	display: block;
	margin: 6px 0;
	color: var(--h-primary-dark);
	font-size: 18px;
	line-height: 1.25;
}

.sgp-hca-empty--coming {
	text-align: center;
	padding: 28px 20px;
}

.sgp-hca-context-notice {
	margin: 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--h-rose-50);
	border: 1px solid rgba(167, 28, 51, 0.14);
	color: var(--h-primary-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca .sgp-hca-context-notice--subscription-multiple {
	margin-bottom: 18px;
}

.sgp-hca-help-card {
	padding: 18px 20px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(44, 26, 29, 0.05);
}

.sgp-hca-help-card p {
	margin: 0;
	color: var(--h-text-soft);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
}

.sgp-hca-help-card strong {
	color: var(--h-primary-dark);
}

.sgp-hca-help-card a {
	color: var(--h-primary);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sgp-hca-help-card a:hover,
.sgp-hca-help-card a:focus {
	color: var(--h-primary-dark);
	outline: none;
}

.sgp-hca-help-card a:focus-visible {
	box-shadow: 0 0 0 3px rgba(167, 28, 51, 0.12);
	border-radius: 4px;
}

.sgp-hca-profile-logout {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--h-border);
}

.sgp-hca-appointment-list {
	display: grid;
	gap: 12px;
}

.sgp-hca-appointment-card {
	padding: 16px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 18px;
}

.sgp-hca-appointment-card.is-cancelled {
	border-style: dashed;
	background: var(--h-rose-50);
}

.sgp-hca-appointment-card__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.sgp-hca-appointment-card__variation {
	display: block;
	margin-top: 4px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-appointment-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sgp-hca-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
}

.sgp-hca-badge--status {
	background: var(--h-rose-50);
	color: var(--h-primary-dark);
	border: 1px solid rgba(167, 28, 51, 0.12);
}

.sgp-hca-badge--cancelled {
	background: var(--h-error-soft);
	color: var(--h-error);
	border: 1px solid rgba(167, 28, 51, 0.18);
}

.sgp-hca-badge--payment.sgp-hca-badge--success {
	background: var(--h-success-soft);
	color: var(--h-success);
}

.sgp-hca-badge--payment.sgp-hca-badge--warning {
	background: #fff8e8;
	color: #8a5b00;
}

.sgp-hca-badge--payment.sgp-hca-badge--danger {
	background: var(--h-error-soft);
	color: var(--h-error);
}

.sgp-hca-badge--payment.sgp-hca-badge--neutral {
	background: var(--h-powder);
	color: var(--h-text-soft);
}

.sgp-hca-appointment-card__meta {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 12px;
}

.sgp-hca-appointment-card__meta div {
	display: grid;
	gap: 2px;
}

.sgp-hca-appointment-card__meta dt {
	margin: 0;
	color: var(--h-text-soft);
	font-size: 12px;
	font-weight: 800;
}

.sgp-hca-appointment-card__meta dd {
	margin: 0;
	color: var(--h-text);
	font-size: 14px;
	font-weight: 800;
}

.sgp-hca-appointment-card__payment {
	display: grid;
	gap: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--h-border);
}

.sgp-hca-appointment-card__payment-line {
	margin: 0;
}

.sgp-hca-appointment-card__payment-details {
	margin: 0;
	padding-left: 18px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-featured-appointment .sgp-hca-badge--payment {
	margin-top: 8px;
}

.sgp-hca-payment-list {
	display: grid;
	gap: 12px;
}

.sgp-hca-payment-card {
	padding: 16px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 18px;
}

.sgp-hca-payment-card__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.sgp-hca-payment-card__type {
	display: block;
	margin-top: 4px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-payment-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-payment-card__meta strong {
	color: var(--h-primary-dark);
	font-size: 16px;
}

.sgp-hca-payment-card__details {
	margin: 10px 0 0;
	padding-left: 18px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca-badge--subscription.sgp-hca-badge--success {
	background: rgba(46, 125, 50, 0.12);
	color: #2e7d32;
}

.sgp-hca-badge--subscription.sgp-hca-badge--warning {
	background: rgba(237, 108, 2, 0.12);
	color: #ed6c02;
}

.sgp-hca-badge--subscription.sgp-hca-badge--danger {
	background: rgba(198, 40, 40, 0.12);
	color: #c62828;
}

.sgp-hca-badge--subscription.sgp-hca-badge--neutral {
	background: rgba(92, 74, 58, 0.1);
	color: var(--h-text-soft);
}

.sgp-hca-subscription-list {
	display: grid;
	gap: 12px;
}

.sgp-hca-subscription-card {
	padding: 16px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 18px;
}

.sgp-hca-subscription-card--history {
	background: rgba(255, 255, 255, 0.72);
	border-style: dashed;
	opacity: 0.92;
}

.sgp-hca-subscription-card__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.sgp-hca-subscription-card__interval {
	display: block;
	margin-top: 4px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-subscription-card__amount {
	margin: 0 0 8px;
	color: var(--h-primary-dark);
	font-size: 16px;
	font-weight: 800;
}

.sgp-hca-subscription-card__details {
	margin: 10px 0 0;
	padding-left: 18px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca-subscription-card__message {
	margin: 12px 0 0;
	padding: 12px 14px;
	background: rgba(92, 74, 58, 0.06);
	border-radius: 12px;
	color: var(--h-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca-subscription-history {
	margin-top: 20px;
}

.sgp-hca-subscription-history__title {
	margin: 0 0 12px;
	color: var(--h-text-soft);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sgp-hca-context-notice--soft {
	font-size: 13px;
}

.sgp-hca-subscription-portal {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--h-border);
}

.sgp-hca-subscription-portal__hint {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.sgp-hca-subscription-portal__secure {
	margin: 8px 0 0;
	font-size: 12px;
}

.sgp-hca-subscription-portal__feedback {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-subscription-portal__feedback[data-type="error"] {
	color: #c62828;
}

.sgp-hca-subscription-portal__fallback {
	margin-top: 10px;
}

.sgp-hca-invoices-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--h-border);
}

.sgp-hca-section-heading--nested {
	margin-bottom: 14px;
}

.sgp-hca-section-heading--nested h4 {
	margin: 4px 0 0;
	color: var(--h-primary-dark);
	font-size: 18px;
}

.sgp-hca-invoice-list {
	display: grid;
	gap: 12px;
}

.sgp-hca-invoice-card {
	padding: 16px;
	background: var(--h-white);
	border: 1px solid var(--h-border);
	border-radius: 18px;
}

.sgp-hca-invoice-card__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.sgp-hca-invoice-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	color: var(--h-text-soft);
	font-size: 13px;
	font-weight: 700;
}

.sgp-hca-invoice-card__meta strong {
	color: var(--h-primary-dark);
	font-size: 16px;
}

.sgp-hca-invoice-card__action {
	margin: 12px 0 0;
}

.sgp-hca-badge--invoice.sgp-hca-badge--success {
	background: rgba(46, 125, 50, 0.12);
	color: #2e7d32;
}

.sgp-hca-badge--invoice.sgp-hca-badge--warning {
	background: rgba(237, 108, 2, 0.12);
	color: #ed6c02;
}

.sgp-hca-badge--invoice.sgp-hca-badge--danger {
	background: rgba(198, 40, 40, 0.12);
	color: #c62828;
}

.sgp-hca-badge--invoice.sgp-hca-badge--neutral {
	background: rgba(92, 74, 58, 0.1);
	color: var(--h-text-soft);
}

.sgp-hca-empty--invoices {
	margin-top: 8px;
}

@media (max-width: 767px) {
	.sgp-hca-appointment-card__meta {
		grid-template-columns: 1fr;
	}

	.sgp-hca-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		justify-content: stretch;
		gap: 10px;
		padding: 12px;
		border-radius: 20px;
	}

	.sgp-hca-tabs__button {
		width: 100%;
		min-height: 52px;
		padding: 12px 10px;
		border-radius: 16px;
		background: var(--h-white);
		border-color: rgba(167, 28, 51, 0.18);
		text-align: center;
		font-size: 13px;
		line-height: 1.28;
		box-shadow: 0 6px 14px rgba(44, 26, 29, 0.05);
	}

	.sgp-hca-tabs__button.is-active {
		background: var(--h-primary);
		border-color: var(--h-primary);
		box-shadow: 0 10px 20px rgba(167, 28, 51, 0.16);
	}

	.sgp-hca-tabs__button:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.sgp-hca .sgp-hca-context-notice--subscription-multiple {
		margin-bottom: 16px;
	}

	.sgp-hca-summary-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgp-hca *,
	.sgp-hca *::before,
	.sgp-hca *::after,
	.sgp-hca-access-message *,
	.sgp-hca-access-message *::before,
	.sgp-hca-access-message *::after {
		transition: none;
	}
}
