.asm-box,
.asm-message-card,
.asm-attachment-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px;
	margin: 18px 0;
	background: #fff;
}

.asm-toggle,
.asm-submit,
.asm-form .button,
.asm-message-card .button {
	cursor: pointer;
}

.asm-form .asm-field,
.comment-form-asm-attachment {
	margin: 0 0 14px;
}

.asm-form label,
.comment-form-asm-attachment label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.asm-form input[type="text"],
.asm-form select,
.asm-form textarea {
	width: 100%;
	max-width: 720px;
}

.asm-form textarea {
	min-height: 120px;
}

.asm-notice {
	padding: 12px 14px;
	border-radius: 8px;
	margin: 12px 0;
}

.asm-notice-success {
	background: #ecfdf5;
	border: 1px solid #10b981;
}

.asm-notice-error {
	background: #fef2f2;
	border: 1px solid #ef4444;
}

.asm-notice-warning {
	background: #fffbeb;
	border: 1px solid #f59e0b;
}

.asm-attachment-card audio,
.asm-attachment-card video {
	display: block;
	width: 100%;
	max-width: 640px;
	margin-top: 10px;
}

.asm-message-card h4 {
	margin-top: 0;
}

.asm-message-meta {
	font-size: 0.9em;
	opacity: 0.78;
}

.asm-submit:disabled,
.asm-form .button:disabled {
	opacity: 0.65;
	cursor: wait;
}

.asm-toggle-primary {
	margin: 0 0 14px;
}

.asm-collapsible {
	margin-top: 14px;
}

.asm-collapsible[hidden] {
	display: none;
}


.asm-cases-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
}

.asm-case-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
}

.asm-cases-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 14px;
	background: #fff;
}

.asm-cases-table th,
.asm-cases-table td {
	padding: 10px;
	border: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.asm-case-status {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.asm-case-status-pending {
	background: #fffbeb;
	color: #92400e;
}

.asm-case-status-corrected {
	background: #ecfdf5;
	color: #065f46;
}

.asm-cases-settings-table select {
	min-width: 260px;
}

@media (max-width: 768px) {
	.asm-cases-table {
		display: block;
		overflow-x: auto;
	}
}


.asm-notice-info {
	background: #eff6ff;
	border: 1px solid #3b82f6;
}

.asm-case-box-admin-preview {
	position: relative;
}

.asm-admin-preview-form input:disabled,
.asm-admin-preview-form select:disabled,
.asm-admin-preview-form textarea:disabled,
.asm-admin-preview-form button:disabled {
	opacity: 0.72;
	cursor: not-allowed;
}

.asm-admin-preview-notice {
	font-size: 13px;
}
