.cgm-shell,
.cgm-account,
.cgm-services {
	width: min(100% - 32px, 1080px);
	margin: 48px auto;
}

.cgm-shell {
	max-width: 760px;
	padding: 32px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(11, 19, 43, .08);
}

.cgm-auth-shell {
	max-width: 560px;
}

.cgm-form-head,
.cgm-services-head {
	margin-bottom: 24px;
}

.cgm-form-head span,
.cgm-services-head span,
.cgm-account-head span {
	color: #028074;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cgm-form-head h2,
.cgm-services-head h2,
.cgm-account-head h2 {
	margin: 5px 0 0;
	font-family: "Syne", sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.cgm-form,
.cgm-subscribe-form {
	display: grid;
	gap: 16px;
}

.cgm-form label,
.cgm-subscribe-form label {
	display: grid;
	gap: 7px;
	font-weight: 600;
}

.cgm-form input,
.cgm-form select,
.cgm-form textarea,
.cgm-subscribe-form select,
.cgm-subscribe-form textarea,
.cgm-auth-shell input[type="text"],
.cgm-auth-shell input[type="password"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #0b132b;
	font: inherit;
}

.cgm-form textarea,
.cgm-subscribe-form textarea {
	resize: vertical;
}

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

.cgm-check {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: flex-start;
	gap: 9px !important;
	font-weight: 400 !important;
}

.cgm-check input {
	width: auto;
	min-height: 0;
	margin-top: 4px;
}

.cgm-button,
.cgm-auth-shell input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid #0b132b;
	border-radius: 6px;
	background: #0b132b;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.cgm-button-secondary {
	background: #fff;
	color: #0b132b;
}

.cgm-auth-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	font-size: .9rem;
}

.cgm-notice {
	margin-bottom: 20px;
	padding: 12px 14px;
	border-left: 4px solid #00a896;
	background: #e3f7f5;
}

.cgm-notice-error {
	border-color: #b32d2e;
	background: #fcf0f1;
}

.cgm-account-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.cgm-account-grid,
.cgm-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cgm-panel,
.cgm-service-card {
	padding: 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(11, 19, 43, .06);
}

.cgm-panel h3,
.cgm-service-card h3 {
	margin-top: 0;
	font-family: "Syne", sans-serif;
}

.cgm-panel dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid #e2e8f0;
}

.cgm-panel dd {
	margin: 0;
	font-weight: 700;
}

.cgm-request-history {
	margin-top: 18px;
}

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

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

.cgm-table-wrap th,
.cgm-table-wrap td {
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.cgm-service-grid {
	margin-top: 28px;
}

.cgm-service-card {
	display: flex;
	flex-direction: column;
}

.cgm-service-card > p {
	flex: 1;
}

.cgm-service-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	font-size: .84rem;
}

.cgm-access {
	padding: 5px 9px;
	border-radius: 5px;
	background: #f1f5f9;
	font-weight: 700;
}

.cgm-access-premium {
	background: #fff3d6;
	color: #7c5300;
}

.cgm-access-members {
	background: #e3f7f5;
	color: #026a60;
}

.cgm-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.cgm-help {
	margin-top: -8px;
	color: #64748b;
	font-size: .9rem;
}

@media (max-width: 720px) {
	.cgm-shell {
		padding: 22px;
	}

	.cgm-form-grid,
	.cgm-account-grid,
	.cgm-service-grid {
		grid-template-columns: 1fr;
	}

	.cgm-account-head {
		align-items: flex-start;
		flex-direction: column;
	}
}

