.rl-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    padding: 24px;
    overflow-y: auto;
    background: rgba(18, 31, 51, .48);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.rl-overlay[hidden] { display: none !important; }
body.report-loading-visible { overflow: hidden; }

.rl-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 34px;
    border: 1px solid rgba(225, 232, 242, .9);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(15, 31, 54, .2);
    color: #20324d;
    text-align: left;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rl-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 26px;
}

.rl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid #e2e9f3;
    border-radius: 12px;
    background: #f3f6fb;
    color: #244269;
}

.rl-eyebrow {
    margin: 0;
    color: #718096;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 1.5px;
}

.rl-brand-caption { color: #526984; font-size: 13px; line-height: 1.5; }

.rl-title {
    margin: 0 0 12px;
    color: #20324d;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.65px;
    line-height: 1.25;
}

.rl-message {
    min-height: 44px;
    margin: 0 0 24px;
    color: #718096;
    font-size: 14px;
    line-height: 1.65;
}

.rl-details {
    padding: 15px 17px;
    border: 1px solid #e9edf4;
    border-radius: 9px;
    background: #f8fafd;
    overflow-wrap: anywhere;
}

.rl-details-label {
    display: block;
    margin-bottom: 5px;
    color: #8090a5;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.rl-name { display: block; color: #3b526f; font-size: 14px; font-weight: 600; line-height: 1.5; }
.rl-range { margin: 5px 0 0; color: #7b8ba0; font-size: 12px; line-height: 1.5; }
.rl-range[hidden] { display: none !important; }

.rl-progress {
    position: relative;
    height: 6px;
    margin: 9px 0 13px;
    overflow: hidden;
    border-radius: 6px;
    background: #edf1f6;
}

.rl-progress-segment {
    position: absolute;
    inset: 0 auto 0 0;
    width: 1%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f4b075, #ed7d31 65%, #e56e23);
    transition: width .3s ease-out;
}

.rl-progress-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.6;
}
.rl-progress-caption strong { color: #c96527; font-variant-numeric: tabular-nums; font-weight: 600; }

.rl-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: #8090a5;
    font-size: 12px;
    line-height: 1.6;
}

.rl-elapsed { color: #536a87; font-variant-numeric: tabular-nums; }

.rl-footer {
    margin: 25px 0 0;
    padding-top: 21px;
    border-top: 1px solid #edf1f6;
    color: #7a8a9e;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 480px) {
    .rl-overlay { padding: 16px; }
    .rl-card { padding: 27px 24px; border-radius: 14px; }
    .rl-title { font-size: 25px; }
    .rl-brand { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .rl-progress-segment {
        transition: none;
    }
}

@media print { .rl-overlay { display: none !important; } }
