.rv-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.rv-wrapper h2 {
    margin-top: 0;
    color: #111827;
    font-size: 26px;
    font-weight: 700;
}

.rv-wrapper p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.rv-form-row {
    margin-bottom: 18px;
}

.rv-form-row label {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-weight: 600;
}

.rv-form-row input[type="text"],
.rv-form-row input[type="email"] {
    width: 100%;
    max-width: 360px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.rv-form-row input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.rv-domains {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.rv-domains h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #111827;
    font-size: 18px;
}

.rv-domain-row {
    margin-bottom: 20px;
    padding: 14px 14px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

.rv-domain-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.rv-domain-label {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.rv-domain-score-pill {
    min-width: 66px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rv-domain-score-pill.is-low {
    background: #fee2e2;
    color: #991b1b;
}

.rv-domain-score-pill.is-mid {
    background: #fef3c7;
    color: #92400e;
}

.rv-domain-score-pill.is-high {
    background: #dcfce7;
    color: #166534;
}

.rv-domain-score-pill span.rv-score-value {
    font-size: 14px;
}

.rv-domain-slider {
    width: 100%;
    height: 6px;
    margin: 2px 0 4px;
    border-radius: 999px;
    appearance: none;
    background: #e5e7eb;
    outline: none;
}

.rv-domain-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
    cursor: pointer;
}

.rv-domain-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
    cursor: pointer;
}

.rv-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
}

.rv-scale-help {
    margin-top: 4px;
    color: #6b7280;
    font-size: 11px;
}

.rv-form-actions {
    margin-top: 26px;
}

.rv-btn-main {
    display: inline-block;
    padding: 10px 22px;
    border: none;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.rv-btn-main:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.rv-btn-secondary {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.rv-btn-secondary:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.rv-note {
    margin-top: 12px;
    color: #6b7280;
    font-size: 12px;
}

.rv-instant-result {
    margin-bottom: 28px;
}

.rv-result-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    margin-bottom: 18px;
    align-items: start;
}

.rv-result-copy {
    min-width: 0;
}

.rv-result-kicker {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-result-title {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.2;
}

.rv-result-lead {
    margin: 12px 0 8px;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

.rv-result-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.rv-profile-card {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #eff6ff;
}

.rv-profile-card p {
    margin: 6px 0 0;
    color: #1e3a8a;
    font-size: 14px;
}

.rv-profile-label {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.rv-wheel-card {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.rv-wheel {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
}

.rv-wheel-ring {
    fill: none;
    stroke: #dbeafe;
    stroke-width: 1;
}

.rv-wheel-axis {
    stroke: #e2e8f0;
    stroke-width: 1;
}

.rv-wheel-shape {
    fill: rgba(37, 99, 235, 0.18);
    stroke: #2563eb;
    stroke-width: 3;
    stroke-linejoin: round;
}

.rv-wheel-dot {
    stroke: #ffffff;
    stroke-width: 2;
}

.rv-wheel-dot.is-low {
    fill: #dc2626;
}

.rv-wheel-dot.is-mid {
    fill: #d97706;
}

.rv-wheel-dot.is-high {
    fill: #16a34a;
}

.rv-wheel-center {
    fill: #0f172a;
}

.rv-wheel-label {
    fill: #334155;
    font-size: 12px;
    font-weight: 700;
}

.rv-wheel-legend {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
}

.rv-wheel-legend-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    color: #334155;
    font-size: 12px;
}

.rv-wheel-legend-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
}

.rv-wheel-legend-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rv-wheel-legend-score {
    color: #0f172a;
    font-weight: 700;
}

.rv-result-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.rv-result-metric {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.rv-result-metric-label {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
}

.rv-result-metric-value {
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}

.rv-result-focus {
    padding: 14px;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
}

.rv-result-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 18px;
    margin: 18px 0 14px;
    padding: 18px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}

.rv-result-spotlight h3 {
    margin: 4px 0 8px;
    color: #14532d;
    font-size: 20px;
    line-height: 1.25;
}

.rv-result-spotlight p {
    margin: 0;
    color: #166534;
}

.rv-result-section-kicker {
    margin: 0;
    color: #15803d !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rv-result-step-list {
    display: grid;
    gap: 10px;
}

.rv-result-step-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid rgba(22, 101, 52, 0.18);
    border-radius: 10px;
    background: #ffffff;
}

.rv-result-step-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    grid-row: span 2;
}

.rv-result-step-item strong {
    color: #14532d;
    font-size: 13px;
}

.rv-result-step-item small {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.45;
}

.rv-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.rv-insight-card {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.rv-insight-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.3;
}

.rv-insight-card ol {
    margin: 0;
    padding-left: 18px;
}

.rv-insight-card li {
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
}

.rv-insight-card li span {
    margin-left: 4px;
    color: #64748b;
}

.rv-insight-card p {
    margin: 0 0 8px;
    color: #334155;
    font-size: 13px;
}

.rv-next-step-card {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.rv-next-step {
    color: #166534 !important;
}

.rv-premium-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f8fafc;
}

.rv-premium-teaser-copy h3 {
    margin: 8px 0 8px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.rv-premium-teaser-copy p {
    margin: 0 0 10px;
    color: #334155;
    font-size: 14px;
}

.rv-premium-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.rv-premium-intro {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.rv-premium-intro p {
    margin: 0 0 8px;
    color: #475569;
    font-size: 13px;
}

.rv-premium-intro p:last-child {
    margin-bottom: 0;
}

.rv-premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.rv-premium-muted {
    color: #64748b;
    font-size: 13px;
}

.rv-premium-preview {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
}

.rv-premium-preview h4 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 15px;
}

.rv-premium-benefits {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    font-size: 13px;
}

.rv-premium-benefits li {
    margin-bottom: 7px;
}

.rv-premium-focus-preview {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.rv-premium-preview-title {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rv-premium-focus-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
}

.rv-premium-focus-row:last-child {
    border-bottom: none;
}

.rv-premium-focus-row strong {
    color: #0f172a;
}

.rv-user-dashboard {
    max-width: 1040px;
    margin: 40px auto;
    color: #0f172a;
}

.rv-user-dashboard > h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

.rv-section {
    margin-top: 22px;
}

.rv-dashboard-overview {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.rv-dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

.rv-dashboard-copy {
    min-width: 0;
}

.rv-dashboard-copy p {
    color: #475569;
}

.rv-dashboard-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rv-dashboard-progress {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.rv-dashboard-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 13px;
}

.rv-dashboard-progress-top span {
    color: #2563eb;
    font-weight: 700;
}

.rv-dashboard-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.rv-dashboard-progress-bar div {
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

.rv-dashboard-download a {
    color: #166534;
    font-weight: 700;
}

.rv-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rv-chart-box {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.rv-chart-box h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 16px;
}

.rv-chart-box canvas {
    width: 100% !important;
    max-height: 320px;
}

.rv-onboarding {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.rv-onboarding h3 {
    margin-top: 0;
}

.rv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rv-table th,
.rv-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    text-align: left;
}

.rv-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.rv-table td:nth-child(2) {
    white-space: nowrap;
    font-weight: 700;
}

.rv-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.rv-result-domain {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
}

.rv-result-domain-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.rv-result-domain-name {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.rv-result-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.rv-result-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

.rv-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.rv-accordion {
    margin-top: 18px;
}

.rv-acc {
    margin: 12px 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.rv-acc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f9fafb;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.rv-acc__summary::-webkit-details-marker {
    display: none;
}

.rv-acc__hint {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

.rv-acc__content {
    padding: 16px;
}

@media (min-width: 768px) {
    .rv-name-email {
        display: flex;
        gap: 24px;
    }

    .rv-name-email .rv-form-row {
        flex: 1;
    }
}

@media (max-width: 700px) {
    .rv-result-hero,
    .rv-result-summary,
    .rv-result-spotlight {
        display: block;
    }

    .rv-wheel-card {
        margin-top: 16px;
    }

    .rv-result-metric {
        margin-bottom: 10px;
    }

    .rv-result-step-list {
        margin-top: 14px;
    }

    .rv-result-hero-actions .rv-btn-main,
    .rv-result-hero-actions .rv-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .rv-insight-grid {
        grid-template-columns: 1fr;
    }

    .rv-premium-teaser {
        grid-template-columns: 1fr;
    }

    .rv-user-dashboard {
        margin: 24px auto;
    }

    .rv-dashboard-main,
    .rv-dashboard-summary,
    .rv-charts {
        display: block;
    }

    .rv-dashboard-overview,
    .rv-onboarding,
    .rv-chart-box {
        padding: 14px;
    }

    .rv-chart-box {
        margin-bottom: 12px;
    }

    .rv-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .rv-result-grid {
        grid-template-columns: 1fr;
    }
}
