.mp-rm-page {
    --mp-rm-brand: var(--primary_color, #005450);
    --mp-rm-brand-rgb: var(--primary_color_rgb, 0, 84, 80);
    --mp-rm-border: #e5edf5;
    --mp-rm-muted: #64748b;
    padding: 2.5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(var(--mp-rm-brand-rgb), 0.06), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #fff 220px);
}

.mp-rm-shell {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mp-rm-hero {
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--mp-rm-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.mp-rm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(var(--mp-rm-brand-rgb), 0.1);
    color: var(--mp-rm-brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.mp-rm-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
}

.mp-rm-hero__lead {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--mp-rm-muted);
}

.mp-rm-card {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--mp-rm-border);
    border-radius: 16px;
    background: #fff;
}

.mp-rm-card--muted {
    background: #f8fafc;
}

.mp-rm-card--ok {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

.mp-rm-card--no {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
}

.mp-rm-card__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.mp-rm-list {
    margin: 0;
    padding-left: 1.15rem;
    color: #334155;
    line-height: 1.55;
}

.mp-rm-list li + li {
    margin-top: 0.45rem;
}

.mp-rm-steps {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    counter-reset: mp-rm-step;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mp-rm-steps li {
    position: relative;
    padding-left: 2.4rem;
    color: #334155;
    line-height: 1.5;
}

.mp-rm-steps li::before {
    counter-increment: mp-rm-step;
    content: counter(mp-rm-step);
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--mp-rm-brand-rgb), 0.12);
    color: var(--mp-rm-brand);
    font-size: 0.8rem;
    font-weight: 800;
}

.mp-rm-steps strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #111827;
}

.mp-rm-steps span {
    display: block;
    font-size: 0.92rem;
    color: var(--mp-rm-muted);
}

.mp-rm-note {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px dashed #dbe3ee;
    color: var(--mp-rm-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.mp-rm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mp-rm-card a {
    color: var(--mp-rm-brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 767.98px) {
    .mp-rm-page {
        padding-top: 1.5rem;
    }

    .mp-rm-grid {
        grid-template-columns: 1fr;
    }
}
