:root {
	--mb-rules-blue: #76c3fc;
	--mb-rules-pink: #fc769c;
	--mb-rules-text: #20262c;
	--mb-rules-muted: #68737d;
	--mb-rules-line: #dce3e8;
	--mb-rules-soft: #f6f8fa;
}

.mb-rules-report { width: 100%; margin: 12px 0; color: var(--mb-rules-text); }
.mb-rules-report > summary {
	display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 6px 10px;
	border: 1px solid var(--mb-rules-line); border-radius: 5px; background: #f3f5f6;
	color: #59636c; font-size: 12px; font-weight: 650; cursor: pointer; list-style: none;
}
.mb-rules-report > summary::-webkit-details-marker { display: none; }
.mb-rules-report > summary:hover,
.mb-rules-report[open] > summary { border-color: #aebbc5; background: #eaedef; color: #303840; }
.mb-rules-report-icon,
.mb-rules-report-icon svg { width: 15px; height: 15px; }
.mb-rules-report-icon svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mb-rules-report-photo { width: auto; margin: 4px 0; }
.mb-rules-report-photo > summary { width: 30px; min-height: 30px; justify-content: center; padding: 6px; }
.mb-rules-report-photo[open] { width: min(440px, 100%); }

.mb-rules-report-form {
	display: grid; gap: 14px; width: min(560px, 100%); margin-top: 10px; padding: 18px;
	border: 1px solid var(--mb-rules-line); border-radius: 6px; background: #fff;
	box-shadow: 0 8px 24px rgba(29, 42, 53, .08);
}
.mb-rules-report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mb-rules-report-field { display: grid; gap: 6px; min-width: 0; }
.mb-rules-report-field label { color: #3e4851; font-size: 13px; font-weight: 700; }
.mb-rules-report-field input,
.mb-rules-report-field select,
.mb-rules-report-field textarea {
	box-sizing: border-box; width: 100%; min-height: 42px; margin: 0; padding: 9px 11px;
	border: 1px solid #cbd5dc; border-radius: 5px; background: #fff; color: var(--mb-rules-text); font: inherit;
}
.mb-rules-report-field textarea { min-height: 112px; resize: vertical; }
.mb-rules-report-field input:focus,
.mb-rules-report-field select:focus,
.mb-rules-report-field textarea:focus { border-color: var(--mb-rules-blue); outline: 2px solid rgba(118, 195, 252, .24); outline-offset: 0; }

.mb-rules-report-submit,
.mb-rules-button {
	display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 38px;
	padding: 8px 15px; border: 1px solid #55aae8; border-radius: 5px; background: var(--mb-rules-blue);
	color: #10293b; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer;
}
.mb-rules-report-submit:hover,
.mb-rules-button:hover { border-color: var(--mb-rules-pink); background: var(--mb-rules-pink); color: #32101b; }
.mb-rules-privacy-center,
.mb-rules-moderation { color: var(--mb-rules-text); }
.mb-rules-public-links { display: grid; gap: 7px; padding-left: 20px; }
.mb-rules-public-login { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--mb-rules-blue); background: var(--mb-rules-soft); }
.mb-rules-public-login p { margin-top: 0; }

@media (max-width: 600px) {
	.mb-rules-report-fields { grid-template-columns: 1fr; }
	.mb-rules-report-form { padding: 14px; }
}
