:root {
	--ct-ink: #17212b;
	--ct-muted: #647184;
	--ct-bg: #f6f8fb;
	--ct-panel: #ffffff;
	--ct-line: #dfe6ee;
	--ct-blue: #2563eb;
	--ct-blue-dark: #1e4fb8;
	--ct-green: #0f9f7a;
	--ct-amber: #b7791f;
	--ct-red: #c2413d;
	--ct-shadow: 0 14px 32px rgba(23, 33, 43, 0.08);
}

.cts-account,
.ct-pricing,
.cts-form {
	color: var(--ct-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cts-account {
	margin: 0 auto;
	max-width: 1040px;
}

.cts-account > p:first-child {
	display: none;
}

.cts-account-hero {
	align-items: center;
	background: var(--ct-panel);
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	box-shadow: var(--ct-shadow);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 24px;
	padding: 20px;
}

.cts-account-hero h2 {
	font-size: 26px;
	margin: 4px 0 6px;
}

.cts-account-eyebrow {
	color: var(--ct-green);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.cts-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.cts-section {
	margin-top: 26px;
}

.cts-section-title {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.cts-license-card {
	background: var(--ct-panel);
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	box-shadow: var(--ct-shadow);
	padding: 18px;
}

.cts-account-note {
	color: var(--ct-muted);
	font-size: 13px;
}

.cts-account h2,
.cts-account h3,
.ct-pricing h3,
.cts-form h2,
.cts-form h3 {
	color: var(--ct-ink);
	font-weight: 850;
	line-height: 1.2;
}

.cts-account table {
	background: var(--ct-panel);
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	overflow: hidden;
}

.cts-empty-state {
	background: #ffffff;
	border: 1px dashed var(--ct-line);
	border-radius: 8px;
	color: var(--ct-muted);
	padding: 16px;
}

.cts-account th,
.cts-account td {
	padding: 11px 12px;
}

.cts-account code {
	background: #f1f5f9;
	border: 1px solid var(--ct-line);
	border-radius: 6px;
	color: #0f172a;
	padding: 2px 6px;
}

.ct-pricing {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 24px auto;
	max-width: 1120px;
}

.ct-plan {
	background: var(--ct-panel);
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	box-shadow: var(--ct-shadow);
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 420px;
	padding: 22px;
	position: relative;
}

.ct-plan--featured {
	border-color: #93dbc8;
	box-shadow: 0 14px 34px rgba(15, 159, 122, 0.16);
}

.ct-plan--featured::before {
	background: var(--ct-green);
	border-radius: 8px 8px 0 0;
	content: "";
	height: 4px;
	left: -1px;
	position: absolute;
	right: -1px;
	top: -1px;
}

.ct-mt0 {
	margin-top: 0;
}

.ct-price {
	color: var(--ct-ink);
	font-size: 42px;
	font-weight: 900;
	line-height: 1;
}

.ct-price small {
	color: var(--ct-muted);
	font-size: 14px;
	font-weight: 750;
	margin-left: 4px;
}

.ct-checklist {
	display: grid;
	gap: 9px;
	list-style: none;
	margin: 6px 0 10px;
	padding: 0;
}

.ct-checklist li {
	color: var(--ct-ink);
	display: flex;
	gap: 8px;
	line-height: 1.4;
}

.ct-checklist li::before {
	background: var(--ct-green);
	border-radius: 999px;
	content: "";
	flex: 0 0 auto;
	height: 8px;
	margin-top: 8px;
	width: 8px;
}

.ct-btn,
.cts-form button,
.cts-account button,
.cts-account .button {
	align-items: center;
	background: var(--ct-blue);
	border: 1px solid var(--ct-blue);
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 850;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 16px;
	text-decoration: none;
}

.ct-btn:hover,
.cts-form button:hover,
.cts-account button:hover,
.cts-account .button:hover {
	background: var(--ct-blue-dark);
	border-color: var(--ct-blue-dark);
	color: #ffffff;
}

.ct-btn--ghost {
	background: #ffffff;
	border-color: var(--ct-line);
	color: var(--ct-ink);
}

.ct-btn--ghost:hover {
	background: #f8fafc;
	border-color: #bfdbfe;
	color: var(--ct-blue-dark);
}

.cts-email,
.cts-gateway,
.cts-form input,
.cts-form select,
.cts-form textarea,
.cts-account input,
.cts-account select,
.cts-account textarea {
	background: #ffffff;
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--ct-ink);
	font: inherit;
	min-height: 42px;
	padding: 10px 12px;
	width: 100%;
}

.cts-email:focus,
.cts-gateway:focus,
.cts-form input:focus,
.cts-form select:focus,
.cts-form textarea:focus,
.cts-account input:focus,
.cts-account select:focus,
.cts-account textarea:focus {
	border-color: var(--ct-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
	outline: none;
}

.cts-form {
	background: var(--ct-panel);
	border: 1px solid var(--ct-line);
	border-radius: 8px;
	box-shadow: var(--ct-shadow);
	display: grid;
	gap: 14px;
	padding: 18px;
}

.cts-form label {
	display: grid;
	gap: 6px;
}

.cts-form label span {
	color: var(--ct-ink);
	font-size: 13px;
	font-weight: 850;
}

.cts-account > div[style*="border:1px"],
.cts-account > div[style*="background:#ecfdf5"] {
	border-radius: 8px !important;
	box-shadow: var(--ct-shadow);
}

@media (max-width: 920px) {
	.ct-pricing {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.cts-account-hero {
		grid-template-columns: 1fr;
	}

	.cts-account-actions {
		justify-content: flex-start;
	}

	.ct-plan {
		min-height: 0;
		padding: 18px;
	}

	.ct-price {
		font-size: 34px;
	}
}
