.msc-card {
	max-width: 420px;
	margin: 1.5rem auto;
	padding: 1.75rem 1.5rem;
	border: 1px solid #d8dee6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	font-family: inherit;
}

.msc-title {
	margin: 0 0 1.25rem;
	font-size: 1.45rem;
	line-height: 1.3;
	text-align: center;
}

.msc-form {
	display: grid;
	gap: 0.9rem;
}

.msc-field {
	display: grid;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.msc-field input {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #c5cdd8;
	border-radius: 8px;
	font: inherit;
	font-weight: 400;
	box-sizing: border-box;
}

.msc-field input:focus {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
	border-color: #2563eb;
}

.msc-submit,
.msc-ok {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 8px;
	background: var(--msc-button, #1d4ed8);
	color: var(--msc-button-text, #fff);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.msc-submit:hover,
.msc-ok:hover {
	background: var(--msc-button-hover, #1e40af);
}

.msc-submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.msc-modal[hidden] {
	display: none;
}

.msc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.msc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.msc-modal-dialog {
	position: relative;
	z-index: 1;
	max-width: 420px;
	margin: 15vh auto 0;
	padding: 1.5rem;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.msc-modal-dialog h3 {
	margin: 0 0 0.75rem;
}

.msc-modal-dialog p {
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.msc-ok {
	width: 100%;
}
