.rh-rmseo-box {
	--rh-seo-green: #16853d;
	--rh-seo-red: #c9342f;
	--rh-seo-border: #dfe4e8;
	background: #fff;
	border: 1px solid var(--rh-seo-border);
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(20, 35, 50, .07);
	clear: both;
	color: #202a33;
	margin: 24px 0;
	padding: 20px;
}

.rh-rmseo-box h3,
.rh-rmseo-box h4 { margin: 0; }
.rh-rmseo-box h3 { font-size: 22px; }
.rh-rmseo-intro { color: #5a6875; margin: 7px 0 20px; }
.rh-rmseo-editor-layout { --rh-seo-green: #16853d; --rh-seo-red: #c9342f; --rh-seo-border: #dfe4e8; align-items: start; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); margin: 0 0 24px; width: 100%; }
.rh-rmseo-editor-layout.rh-rmseo-checklist-active { gap: 22px; grid-template-columns: minmax(0, 1fr) 340px; }
.rh-rmseo-editor-main { min-width: 0; }
.rh-rmseo-editor-main > .wpfepp-form-field-container { margin-bottom: 0; }
.rh-rmseo-sidebar { display: none; min-width: 0; }
.rh-rmseo-checklist-active .rh-rmseo-sidebar { display: block; }
.rh-rmseo-sidebar .rh-rmseo-box { margin: 0; max-height: calc(100vh - 32px); overflow-x: hidden; overflow-y: auto; position: sticky; top: 16px; }
.rh-rmseo-fields-panel { background: #fff; border: 1px solid var(--rh-seo-border, #dfe4e8); border-radius: 8px; margin-top: 20px; padding: 20px; }
.rh-rmseo-fields-panel > h3 { font-size: 20px; margin: 0; }
.rh-rmseo-fields-panel > .rh-rmseo-intro { margin-bottom: 17px; }
.rh-rmseo-fields { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh-rmseo-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.rh-rmseo-field label span { color: var(--rh-seo-red, #c9342f); }
.rh-rmseo-field input,
.rh-rmseo-field textarea { border: 1px solid #aeb8c1; border-radius: 5px; box-sizing: border-box; display: block; padding: 10px 12px; width: 100%; }
.rh-rmseo-field textarea { resize: vertical; }
.rh-rmseo-field small { color: #687582; display: block; line-height: 1.4; margin-top: 5px; }
.rh-rmseo-summary { align-items: flex-start; background: #f3f6f8; border-radius: 7px; display: flex; flex-direction: column; gap: 2px; justify-content: space-between; margin: 15px 0; padding: 11px 12px; }
.rh-rmseo-summary.is-ready { background: #e9f8ee; color: #126b33; }
.rh-rmseo-ready { font-size: 12px; }
.rh-rmseo-group { border-top: 1px solid var(--rh-seo-border); padding: 13px 0 2px; }
.rh-rmseo-group h4 { font-size: 14px; margin-bottom: 8px; }
.rh-rmseo-group ul { list-style: none; margin: 0; padding: 0; }
.rh-rmseo-check { align-items: flex-start; display: flex; font-size: 12px; gap: 7px; line-height: 1.35; margin: 6px 0; }
.rh-rmseo-icon { align-items: center; background: var(--rh-seo-red); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 16px; font-size: 11px; font-weight: 800; height: 16px; justify-content: center; margin-top: 0; }
.rh-rmseo-check.is-pass { color: #126b33; }
.rh-rmseo-check.is-pass .rh-rmseo-icon { background: var(--rh-seo-green); }
.rh-rmseo-check.is-pending { color: #687582; }
.rh-rmseo-check.is-pending .rh-rmseo-icon { background: #7a8792; }
.rh-rmseo-box.rh-rmseo-attention { animation: rh-rmseo-shake .28s linear 2; border-color: var(--rh-seo-red); }

@keyframes rh-rmseo-shake {
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

@media (max-width: 1100px) {
	.rh-rmseo-editor-layout.rh-rmseo-checklist-active { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
}

@media (max-width: 900px) {
	.rh-rmseo-editor-layout { display: flex; flex-direction: column; }
	.rh-rmseo-editor-main,
	.rh-rmseo-sidebar { width: 100%; }
	.rh-rmseo-sidebar .rh-rmseo-box { max-height: none; position: static; }
}

@media (max-width: 700px) {
	.rh-rmseo-box { padding: 18px; }
	.rh-rmseo-fields { grid-template-columns: 1fr; }
	.rh-rmseo-fields-panel { padding: 17px; }
}
