.scc-admin {
	--scc-ink: #14233b;
	--scc-muted: #5c6a80;
	--scc-line: #d7deea;
	--scc-panel: #ffffff;
	--scc-panel-soft: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
	--scc-accent: #0f6972;
	--scc-accent-2: #0b4f73;
	--scc-shadow: 0 18px 40px rgba(20, 35, 59, 0.08);
	max-width: 1360px;
	margin: 24px 20px 0 2px;
	color: var(--scc-ink);
}

.scc-admin__hero,
.scc-customer-dashboard__hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 28px 32px;
	border: 1px solid var(--scc-line);
	border-radius: 26px;
	background: radial-gradient(circle at top left, #eef7ff 0%, #ffffff 46%), linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
	box-shadow: var(--scc-shadow);
}

.scc-admin__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--scc-accent);
}

.scc-admin__hero h1,
.scc-customer-dashboard__hero h2 {
	margin: 8px 0 0;
	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.scc-admin__intro,
.scc-customer-dashboard__hero p {
	max-width: 760px;
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--scc-muted);
}

.scc-admin .button,
.scc-account-auth .button,
.scc-checkout .button,
.scc-customer-dashboard .button {
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
}

.scc-admin .button-primary,
.scc-account-auth .button-primary,
.scc-checkout .button-primary,
.scc-customer-dashboard .button-primary {
	border: 0;
	background: linear-gradient(135deg, var(--scc-accent) 0%, var(--scc-accent-2) 100%);
	box-shadow: 0 12px 24px rgba(11, 79, 115, 0.22);
	color: #fff;
}

.scc-admin .button-primary:hover,
.scc-admin .button-primary:focus,
.scc-account-auth .button-primary:hover,
.scc-account-auth .button-primary:focus,
.scc-checkout .button-primary:hover,
.scc-checkout .button-primary:focus,
.scc-customer-dashboard .button-primary:hover,
.scc-customer-dashboard .button-primary:focus {
	background: linear-gradient(135deg, #0d5f67 0%, #094764 100%);
	color: #fff;
}

.scc-admin .button-secondary,
.scc-account-auth .button-secondary,
.scc-checkout .button-secondary,
.scc-customer-dashboard .button-secondary {
	border: 1px solid #c7d2e1;
	background: rgba(255, 255, 255, 0.9);
	color: var(--scc-ink);
}

.scc-notice {
	border-radius: 18px;
	padding: 12px 16px;
}

.scc-settings-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.scc-settings-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--scc-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 600;
	color: var(--scc-ink);
}

.scc-settings-nav__link.is-active {
	border-color: transparent;
	background: linear-gradient(135deg, var(--scc-accent) 0%, var(--scc-accent-2) 100%);
	color: #fff;
}

.scc-grid {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}

.scc-grid--stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scc-grid--admin {
	grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
	align-items: start;
}

.scc-card,
.scc-customer-dashboard__card,
.scc-checkout__form {
	padding: 24px;
	border: 1px solid var(--scc-line);
	border-radius: 22px;
	background: var(--scc-panel-soft);
	box-shadow: var(--scc-shadow);
	color: var(--scc-ink);
}

.scc-card h2,
.scc-card h3,
.scc-customer-dashboard__card h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
}

.scc-card--stat {
	min-height: 110px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.scc-card--stat strong {
	font-size: 30px;
	line-height: 1;
}

.scc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.scc-field,
.scc-check {
	display: grid;
	gap: 8px;
	font-weight: 600;
	color: inherit;
}

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

.scc-field input,
.scc-field select,
.scc-field textarea,
.scc-media-field__input {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid #c7d2e1;
	border-radius: 14px;
	background: #fff;
	color: inherit;
	box-sizing: border-box;
}

.scc-field textarea {
	min-height: 120px;
	resize: vertical;
}

.scc-math-captcha {
	margin-top: 4px;
	padding: 16px;
	border: 1px solid rgba(199, 210, 225, 0.65);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
}

.scc-math-captcha__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 140px;
	gap: 12px;
	align-items: center;
}

.scc-math-captcha__question {
	font-size: 15px;
	line-height: 1.5;
	color: inherit;
}

.scc-math-captcha__question strong {
	font-size: 18px;
}

.scc-check {
	align-content: center;
	padding-top: 12px;
}

.scc-check input {
	margin-right: 8px;
}

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

.scc-list {
	margin: 16px 0 0;
	padding-left: 18px;
	color: var(--scc-muted);
}

.scc-list li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.scc-handbook__section {
	margin-top: 20px;
}

.scc-handbook__section h2 {
	margin-bottom: 14px;
}

.scc-handbook__section h3 {
	margin: 22px 0 10px;
	font-size: 18px;
}

.scc-handbook__paragraph {
	margin: 0 0 14px;
	line-height: 1.75;
	color: var(--scc-ink);
}

.scc-handbook__list {
	margin-top: 8px;
}

.scc-handbook__section code {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef4fb;
	font-size: 12px;
}

.scc-table-wrap {
	overflow-x: auto;
}

.scc-table {
	width: 100%;
	border-collapse: collapse;
}

.scc-table td,
.scc-table th {
	vertical-align: top;
	padding: 14px 12px;
}

.scc-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	background: #edf2f7;
	color: var(--scc-ink);
}

.scc-badge--active,
.scc-badge--issued {
	background: #e9f7f4;
	color: #0d6d60;
}

.scc-badge--draft,
.scc-badge--pending,
.scc-badge--pending_approval,
.scc-badge--unpaid {
	background: #fff5e8;
	color: #8b5a18;
}

.scc-badge--archived,
.scc-badge--failed,
.scc-badge--expired,
.scc-badge--cancelled,
.scc-badge--suspended {
	background: #fdeced;
	color: #98343c;
}

.scc-empty,
.scc-inline-note {
	margin: 16px 0 0;
	color: var(--scc-muted);
	font-weight: 600;
}

.scc-media-field {
	display: flex;
	gap: 10px;
	align-items: center;
}

.scc-media-field__preview {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid #d7deea;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

.scc-media-field__preview img {
	max-width: 180px;
	height: auto;
	display: block;
}

.scc-setup__grid,
.scc-customer-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.scc-setup__item {
	display: grid;
	gap: 8px;
	padding: 16px;
	border: 1px solid rgba(199, 210, 225, 0.65);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
}

.scc-setup__item a {
	text-decoration: none;
	font-weight: 600;
}

.scc-customer-dashboard,
.scc-checkout,
.scc-account-auth {
	--scc-front-bg: rgba(14, 18, 24, 0.92);
	--scc-front-panel: linear-gradient(180deg, rgba(25, 31, 40, 0.96) 0%, rgba(18, 24, 32, 0.98) 100%);
	--scc-front-panel-soft: linear-gradient(180deg, rgba(27, 34, 44, 0.98) 0%, rgba(18, 24, 32, 0.98) 100%);
	--scc-front-line: rgba(255, 255, 255, 0.12);
	--scc-front-text: #f4f7fb;
	--scc-front-muted: rgba(230, 237, 246, 0.78);
	--scc-front-accent: #8dd3df;
	max-width: 1120px;
	margin: 32px auto;
	color: var(--scc-front-text);
}

.scc-customer-dashboard__hero,
.scc-checkout .scc-customer-dashboard__hero,
.scc-account-auth .scc-customer-dashboard__hero {
	border-color: var(--scc-front-line);
	background: linear-gradient(135deg, rgba(31, 40, 51, 0.98) 0%, rgba(20, 27, 36, 0.98) 100%);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
	color: var(--scc-front-text);
}

.scc-customer-dashboard__hero h2,
.scc-checkout .scc-customer-dashboard__hero h2,
.scc-account-auth .scc-customer-dashboard__hero h2,
.scc-checkout .scc-customer-dashboard__hero h1,
.scc-account-auth .scc-customer-dashboard__hero h1 {
	color: var(--scc-front-text);
}

.scc-customer-dashboard__hero p,
.scc-checkout .scc-customer-dashboard__hero p,
.scc-account-auth .scc-customer-dashboard__hero p {
	color: var(--scc-front-muted);
}

.scc-checkout__form,
.scc-customer-dashboard__card,
.scc-account-auth .scc-customer-dashboard__card {
	border-color: var(--scc-front-line);
	background: var(--scc-front-panel);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
	color: var(--scc-front-text);
}

.scc-checkout .scc-field input,
.scc-checkout .scc-field select,
.scc-checkout .scc-field textarea,
.scc-account-auth .scc-field input,
.scc-account-auth .scc-field select,
.scc-account-auth .scc-field textarea,
.scc-customer-dashboard .scc-field input,
.scc-customer-dashboard .scc-field select,
.scc-customer-dashboard .scc-field textarea {
	border-color: var(--scc-front-line);
	background: rgba(255, 255, 255, 0.06);
	color: var(--scc-front-text);
	box-shadow: none;
}

.scc-checkout .scc-math-captcha,
.scc-account-auth .scc-math-captcha,
.scc-customer-dashboard .scc-math-captcha {
	border-color: var(--scc-front-line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--scc-front-text);
}

.scc-checkout .scc-math-captcha input,
.scc-account-auth .scc-math-captcha input,
.scc-customer-dashboard .scc-math-captcha input {
	border-color: var(--scc-front-line);
	background: rgba(255, 255, 255, 0.06);
	color: var(--scc-front-text);
}

.scc-checkout .scc-field input::placeholder,
.scc-checkout .scc-field textarea::placeholder,
.scc-account-auth .scc-field input::placeholder,
.scc-account-auth .scc-field textarea::placeholder,
.scc-customer-dashboard .scc-field input::placeholder,
.scc-customer-dashboard .scc-field textarea::placeholder {
	color: rgba(244, 247, 251, 0.55);
}

.scc-checkout .scc-list,
.scc-account-auth .scc-list,
.scc-customer-dashboard .scc-list,
.scc-checkout .scc-inline-note,
.scc-account-auth .scc-inline-note,
.scc-customer-dashboard .scc-inline-note,
.scc-customer-dashboard__package {
	color: var(--scc-front-muted);
}

.scc-checkout a,
.scc-account-auth a,
.scc-customer-dashboard a {
	color: var(--scc-front-accent);
}

.scc-account-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.scc-account-tabs__link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--scc-front-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	color: var(--scc-front-text);
	font-weight: 600;
}

.scc-account-tabs__link.is-active {
	background: linear-gradient(135deg, var(--scc-accent) 0%, var(--scc-accent-2) 100%);
	border-color: transparent;
	color: #fff;
}

.scc-customer-dashboard__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scc-customer-dashboard__meta strong {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--scc-front-muted);
}

.scc-customer-dashboard__meta span,
.scc-customer-dashboard__meta code {
	max-width: 60%;
	text-align: right;
	word-break: break-word;
	font-size: 14px;
	color: var(--scc-front-text);
}

.scc-customer-dashboard__meta code {
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-family: Menlo, Monaco, Consolas, monospace;
}

.scc-front-notice {
	margin-top: 18px;
	padding: 14px 18px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	color: var(--scc-front-text);
}

.scc-front-notice--error {
	background: rgba(152, 52, 60, 0.22);
	border-color: rgba(242, 194, 199, 0.25);
	color: #ffd9dd;
}

.scc-front-notice--success {
	background: rgba(13, 109, 96, 0.22);
	border-color: rgba(189, 231, 222, 0.24);
	color: #d7fff6;
}

.scc-checkout .scc-badge,
.scc-account-auth .scc-badge,
.scc-customer-dashboard .scc-badge {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--scc-front-text);
}

.scc-checkout .scc-badge--active,
.scc-checkout .scc-badge--issued,
.scc-account-auth .scc-badge--active,
.scc-account-auth .scc-badge--issued,
.scc-customer-dashboard .scc-badge--active,
.scc-customer-dashboard .scc-badge--issued {
	background: rgba(27, 114, 98, 0.18);
	border-color: rgba(64, 176, 152, 0.35);
	color: #d7fff6;
}

.scc-checkout .scc-badge--draft,
.scc-checkout .scc-badge--pending,
.scc-checkout .scc-badge--pending_approval,
.scc-checkout .scc-badge--unpaid,
.scc-account-auth .scc-badge--draft,
.scc-account-auth .scc-badge--pending,
.scc-account-auth .scc-badge--pending_approval,
.scc-account-auth .scc-badge--unpaid,
.scc-customer-dashboard .scc-badge--draft,
.scc-customer-dashboard .scc-badge--pending,
.scc-customer-dashboard .scc-badge--pending_approval,
.scc-customer-dashboard .scc-badge--unpaid {
	background: rgba(185, 125, 31, 0.18);
	border-color: rgba(255, 198, 92, 0.24);
	color: #ffe8bc;
}

.scc-checkout .scc-badge--archived,
.scc-checkout .scc-badge--failed,
.scc-checkout .scc-badge--expired,
.scc-checkout .scc-badge--cancelled,
.scc-checkout .scc-badge--suspended,
.scc-account-auth .scc-badge--archived,
.scc-account-auth .scc-badge--failed,
.scc-account-auth .scc-badge--expired,
.scc-account-auth .scc-badge--cancelled,
.scc-account-auth .scc-badge--suspended,
.scc-customer-dashboard .scc-badge--archived,
.scc-customer-dashboard .scc-badge--failed,
.scc-customer-dashboard .scc-badge--expired,
.scc-customer-dashboard .scc-badge--cancelled,
.scc-customer-dashboard .scc-badge--suspended {
	background: rgba(152, 52, 60, 0.22);
	border-color: rgba(242, 194, 199, 0.2);
	color: #ffd9dd;
}

.scc-checkout .scc-table,
.scc-account-auth .scc-table,
.scc-customer-dashboard .scc-table {
	color: var(--scc-front-text);
	background: transparent;
}

.scc-checkout .scc-table th,
.scc-checkout .scc-table td,
.scc-account-auth .scc-table th,
.scc-account-auth .scc-table td,
.scc-customer-dashboard .scc-table th,
.scc-customer-dashboard .scc-table td {
	border-color: rgba(255, 255, 255, 0.08);
	background: transparent;
}

.scc-table-subline {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--scc-front-muted);
	word-break: break-word;
}

.scc-customer-dashboard__empty-state {
	margin-top: 18px;
	padding: 18px;
	border: 1px dashed rgba(255, 255, 255, 0.18);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1240px) {
	.scc-grid--stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.scc-grid--admin {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.scc-admin {
		margin-right: 10px;
	}

	.scc-admin__hero,
	.scc-customer-dashboard__hero {
		flex-direction: column;
		padding: 22px;
	}

	.scc-grid--stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.scc-form-grid,
	.scc-setup__grid,
	.scc-customer-dashboard__grid {
		grid-template-columns: 1fr;
	}

	.scc-math-captcha__row {
		grid-template-columns: 1fr;
	}

	.scc-account-tabs {
		flex-direction: column;
	}

	.scc-settings-nav {
		flex-direction: column;
	}

	.scc-customer-dashboard__meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.scc-customer-dashboard__meta span,
	.scc-customer-dashboard__meta code {
		max-width: 100%;
		text-align: left;
	}

	.scc-media-field {
		flex-direction: column;
		align-items: stretch;
	}
}
