.ams-form,
.ams-account {
	max-width: 40rem;
}

.ams-form p,
.ams-account > p {
	margin: 0 0 1rem;
}

.ams-form label,
.ams-plans legend {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.ams-form input[type="text"],
.ams-form input[type="email"],
.ams-form input[type="password"] {
	box-sizing: border-box;
	display: block;
	max-width: 100%;
	width: 100%;
}

.ams-plans label {
	display: block;
	font-weight: 400;
	margin: 0.4rem 0;
}

.ams-plans input {
	margin-right: 0.35rem;
}

.ams-button {
	background: #1d2327;
	border: 1px solid #1d2327;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	padding: 0.55rem 1rem;
}

.ams-button-secondary {
	background: transparent;
	color: #1d2327;
}

.ams-button:focus-visible,
.ams-form input:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.ams-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
}

.ams-notice-error {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
}

.ams-notice-success {
	background: #edfaef;
	border-left: 4px solid #00a32a;
}

.ams-account-table {
	border-collapse: collapse;
	margin: 0 0 1rem;
	width: 100%;
}

.ams-account-table th,
.ams-account-table td {
	border-bottom: 1px solid #dcdcde;
	padding: 0.6rem 0.4rem;
	text-align: left;
	vertical-align: top;
}

.ams-links a {
	margin-right: 0.75rem;
}

.ams-template-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	padding: 1.25rem 1.25rem 0.5rem;
}

.ams-restrict {
	background: #f6f7f7;
	border-left: 4px solid #1d2327;
	margin: 0 0 1rem;
	max-width: 40rem;
	padding: 0.9rem 1rem;
}

.ams-restrict p:last-child {
	margin-bottom: 0;
}
