.rd-hero .rd-form {
    max-width: 520px;
    margin: 36px auto 0;
    text-align: left;
}

.rd-form input[type="text"] {
    font-size: 1.15rem;
}

.rd-turnstile {
    margin: 22px 0 18px;
    min-height: 65px;
}

.rd-form .vlt-btn,
.rd-verify .vlt-btn {
    width: 100%;
}

.rd-form-note {
    margin-top: 14px;
    text-align: center;
}

.rd-error {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid #cf000f;
    background: rgba(207, 0, 15, 0.08);
    color: #f0f0f0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.rd-error.is-visible {
    display: block;
}

.rd-progress {
    max-width: 560px;
    margin: 0 auto;
    padding: 90px 0 60px;
    text-align: center;
}

.rd-progress-domain {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 10px 0 30px;
    word-break: break-all;
}

.rd-steps {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 420px;
    text-align: left;
}

.rd-steps li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: #5a5a5a;
    transition: color 0.3s ease;
}

.rd-steps li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    border: 1px solid #5a5a5a;
}

.rd-steps li.is-active {
    color: #ffffff;
}

.rd-steps li.is-active::before {
    border-color: #cf000f;
    background: #cf000f;
    animation: rd-pulse 1s ease-in-out infinite alternate;
}

.rd-steps li.is-done {
    color: #9a9a9a;
}

.rd-steps li.is-done::before {
    border-color: #9a9a9a;
    background: #9a9a9a;
}

@keyframes rd-pulse {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.rd-result {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 0 20px;
}

.rd-summary {
    display: flex;
    align-items: center;
    gap: 28px;
}

.rd-grade {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid currentColor;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.rd-domain,
.rd-summary-text .rd-domain {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 6px 0 6px;
    word-break: break-all;
}

.rd-summary-sub {
    color: #9a9a9a;
    margin: 0;
}

.rd-partial {
    color: #d88a00;
    font-size: 0.9rem;
    margin: 8px 0 0;
}

.rd-g-a,
.rd-g-b {
    color: #ffffff;
}

.rd-g-c {
    color: #d88a00;
}

.rd-g-d,
.rd-g-f {
    color: #ff3341;
}

.rd-g-x {
    color: #5a5a5a;
}

.rd-areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 36px 0 0;
}

.rd-area {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #141414;
    border: 1px solid #222222;
    border-radius: 8px;
}

.rd-area-grade {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 1.35rem;
    font-weight: 700;
}

.rd-area-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rd-area-label {
    color: #ffffff;
    font-weight: 600;
}

.rd-area-note {
    color: #8a8a8a;
    font-size: 0.85rem;
}

.rd-block {
    margin-top: 44px;
}

.rd-top {
    margin: 0;
    padding-left: 20px;
    color: #e0e0e0;
    line-height: 1.7;
}

.rd-top li::marker {
    color: #cf000f;
}

.rd-lead {
    color: #9a9a9a;
    line-height: 1.7;
    margin: 0 0 20px;
}

.rd-unlock {
    padding: 28px;
    background: #141414;
    border-left: 3px solid #cf000f;
    border-radius: 8px;
}

.rd-unlock .rd-verify {
    max-width: 480px;
    margin: 0;
}

.rd-unlock .rd-lead {
    margin-bottom: 28px;
}

.rd-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 20px;
    color: #9a9a9a;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.rd-consent input {
    margin-top: 4px;
    accent-color: #cf000f;
}

.rd-sent-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.rd-again {
    display: block;
    margin: 40px 0 0;
}

.rd-landing {
    max-width: 760px;
}

.rr-container {
    max-width: 900px;
}

.rr-state {
    max-width: 640px;
    margin: 0 auto;
    padding: 100px 0 40px;
    text-align: center;
}

.rr-error-title {
    margin-top: 12px;
}

#rrReport {
    padding: 60px 0 20px;
}

.rr-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 30px 0 0;
}

.rr-rescan-note {
    margin-top: 10px;
}

.rr-area {
    margin-top: 48px;
}

.rr-area-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.rr-area-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

.rr-finding {
    padding: 18px 20px;
    margin-bottom: 12px;
    background: #141414;
    border-left: 3px solid #5a5a5a;
    border-radius: 6px;
}

.rr-sev-critico { border-left-color: #ff3341; }
.rr-sev-alto { border-left-color: #e8590c; }
.rr-sev-medio { border-left-color: #d88a00; }
.rr-sev-baixo { border-left-color: #6a6a6a; }

.rr-finding-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.rr-sev {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.rr-sev-critico .rr-sev { color: #ff3341; }
.rr-sev-alto .rr-sev { color: #e8590c; }
.rr-sev-medio .rr-sev { color: #d88a00; }

.rr-finding-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.rr-finding-detail {
    color: #b0b0b0;
    margin: 8px 0 0;
    line-height: 1.6;
}

.rr-evidence {
    margin: 12px 0 0;
    padding: 10px 14px;
    list-style: none;
    background: #0c0c0c;
    border-radius: 4px;
    font-family: "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 0.82rem;
    color: #d0d0d0;
    max-height: 240px;
    overflow: auto;
    word-break: break-all;
}

.rr-evidence li + li {
    margin-top: 4px;
}

.rr-passed {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    color: #9a9a9a;
}

.rr-passed li {
    position: relative;
    padding: 4px 0 4px 24px;
}

.rr-passed li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
}

.rr-note {
    color: #7a7a7a;
    font-size: 0.9rem;
    margin: 10px 0 0;
}

.rr-foot {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .rd-areas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .rd-areas {
        grid-template-columns: 1fr;
    }
    .rd-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .rd-grade {
        width: 96px;
        height: 96px;
        font-size: 3.2rem;
    }
    .rd-unlock {
        padding: 22px;
    }
}

@media print {
    body,
    .vlt-main {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .vlt-header,
    .vlt-footer,
    .rr-actions,
    .rr-rescan-note,
    .rd-cta {
        display: none !important;
    }
    .rd-domain,
    .rr-area-title,
    .rr-finding-title,
    .rd-area-label {
        color: #000000 !important;
    }
    .rd-area,
    .rr-finding {
        background: #ffffff !important;
        border-color: #cccccc;
        break-inside: avoid;
    }
    .rr-finding-detail,
    .rr-evidence,
    .rr-note,
    .rr-passed,
    .rd-summary-sub {
        color: #333333 !important;
        background: #ffffff !important;
    }
}
