/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wf0xjuynuy],
.components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
.components-reconnect-failed-visible[b-wf0xjuynuy],
.components-pause-visible[b-wf0xjuynuy],
.components-resume-failed-visible[b-wf0xjuynuy],
.components-rejoining-animation[b-wf0xjuynuy] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wf0xjuynuy] {
    display: block;
}


#components-reconnect-modal[b-wf0xjuynuy] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-wf0xjuynuy 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-wf0xjuynuy]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-wf0xjuynuy {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-wf0xjuynuy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wf0xjuynuy] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-wf0xjuynuy] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-wf0xjuynuy] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-wf0xjuynuy] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-wf0xjuynuy] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-wf0xjuynuy] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-wf0xjuynuy 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-wf0xjuynuy] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-wf0xjuynuy {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/RevenueAudit.razor.rz.scp.css */
/* Revenue Audit — neutral, owner-facing artifact. Mobile-first: base = phone, min-width = desktop. */

.audit-page[b-2idzgq89b4] {
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 1rem 4rem;
    color: #1f2329;
}

/* ===== Empty / not-found states ===== */
.audit-empty[b-2idzgq89b4] {
    text-align: center;
    padding: 4rem 1rem;
    color: #555;
}

.audit-empty-icon[b-2idzgq89b4] {
    font-size: 3rem;
    color: #b9bcc2;
}

.audit-empty h1[b-2idzgq89b4] {
    font-size: 1.4rem;
    margin: 0.75rem 0 0.35rem;
}

/* ===== White-label masthead (owner-forwardable view) ===== */
.audit-wl-bar[b-2idzgq89b4] {
    display: flex;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 0.9rem 1rem 0.4rem;
}

.audit-wl-brand[b-2idzgq89b4] {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1f2329;
}

.audit-prepared-by[b-2idzgq89b4] {
    color: #5a606b;
}

/* ===== Header ===== */
.audit-header[b-2idzgq89b4] {
    margin-bottom: 1.5rem;
}

.audit-hero[b-2idzgq89b4] {
    border-radius: 14px;
    overflow: hidden;
}

.audit-eyebrow[b-2idzgq89b4] {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
}

.audit-eyebrow--plain[b-2idzgq89b4] {
    color: #C1272D;
    background: rgba(193, 39, 45, 0.08);
}

.audit-title-plain[b-2idzgq89b4] {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.audit-meta[b-2idzgq89b4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #5a606b;
}

.audit-meta > span[b-2idzgq89b4] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.audit-copy-btn[b-2idzgq89b4] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #d4d7dd;
    background: #fff;
    color: #1f2329;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
    cursor: pointer;
}

.audit-copy-btn:hover[b-2idzgq89b4] {
    border-color: #C1272D;
    color: #C1272D;
}

/* ===== Headline figure ===== */
.audit-headline[b-2idzgq89b4] {
    background: linear-gradient(135deg, #fff5f0 0%, #fef2f2 100%);
    border: 1px solid #f3d6cf;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.75rem;
    text-align: center;
}

.audit-headline-label[b-2idzgq89b4] {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9a3b35;
}

.audit-headline-figure[b-2idzgq89b4] {
    font-size: 2rem;
    font-weight: 800;
    color: #C1272D;
    margin: 0.4rem 0 0.6rem;
    line-height: 1.15;
}

.audit-headline-figure--ok[b-2idzgq89b4] {
    color: #15803d;
    font-size: 1.5rem;
}

.audit-headline-figure--warn[b-2idzgq89b4] {
    color: #9a3b35;
    font-size: 1.45rem;
}

.audit-approx[b-2idzgq89b4] {
    font-weight: 600;
    opacity: 0.7;
}

.audit-per[b-2idzgq89b4] {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
}

.audit-headline-sub[b-2idzgq89b4] {
    font-size: 0.92rem;
    color: #4a4f59;
    margin: 0 auto;
    max-width: 52ch;
}

.audit-footnote[b-2idzgq89b4] {
    font-size: 0.78rem;
    color: #8a8f99;
    margin: 0.6rem 0 0;
    font-style: italic;
}

/* ===== Sections ===== */
.audit-section[b-2idzgq89b4] {
    margin-bottom: 2rem;
}

.audit-section-title[b-2idzgq89b4] {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f0f1f3;
}

.audit-prose[b-2idzgq89b4] {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3a3f49;
    margin: 0 0 0.5rem;
}

.audit-gap-note[b-2idzgq89b4] {
    font-size: 0.85rem;
    color: #5a606b;
    margin: 0 0 0.6rem;
}

/* ===== Pricing vs market, by month ===== */
.audit-mkt-table[b-2idzgq89b4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.audit-mkt-table th[b-2idzgq89b4] {
    text-align: right;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a8f99;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #ebecef;
}

.audit-mkt-table th:first-child[b-2idzgq89b4] {
    text-align: left;
}

.audit-mkt-table td[b-2idzgq89b4] {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: right;
}

.audit-mkt-month[b-2idzgq89b4] {
    text-align: left !important;
    color: #3a3f49;
    font-weight: 600;
}

.audit-mkt-you[b-2idzgq89b4] { color: #1f2329; font-weight: 600; }
.audit-mkt-mkt[b-2idzgq89b4] { color: #8a8f99; }

.audit-mkt-below[b-2idzgq89b4] { color: #b45309; font-weight: 700; }
.audit-mkt-above[b-2idzgq89b4] { color: #991b1b; font-weight: 700; }
.audit-mkt-even[b-2idzgq89b4] { color: #15803d; font-weight: 600; }

/* ===== Visibility ===== */
.audit-vis-badge[b-2idzgq89b4] {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3f49;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.5rem;
}

/* ===== Listing health ===== */
.audit-health-list[b-2idzgq89b4] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audit-health-row[b-2idzgq89b4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f1f3;
    font-size: 0.92rem;
}

.audit-health-label[b-2idzgq89b4] { color: #3a3f49; }

.audit-health-score[b-2idzgq89b4] {
    font-weight: 700;
    border-radius: 6px;
    padding: 0.1rem 0.45rem;
    font-size: 0.85rem;
}

.audit-health-score--ok[b-2idzgq89b4] { color: #15803d; background: #dcfce7; }
.audit-health-score--mid[b-2idzgq89b4] { color: #b45309; background: #fef3c7; }
.audit-health-score--low[b-2idzgq89b4] { color: #991b1b; background: #fee2e2; }

/* ===== The plan ===== */
.audit-plan[b-2idzgq89b4] {
    list-style: none;
    counter-reset: plan;
    padding: 0;
    margin: 0;
}

.audit-plan-item[b-2idzgq89b4] {
    counter-increment: plan;
    border: 1px solid #ebecef;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.6rem;
    position: relative;
}

.audit-plan-head[b-2idzgq89b4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.audit-plan-title[b-2idzgq89b4] {
    font-weight: 700;
    font-size: 0.98rem;
}

.audit-plan-pill[b-2idzgq89b4] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
}

.audit-plan-pill--high[b-2idzgq89b4] { color: #991b1b; background: #fee2e2; }
.audit-plan-pill--medium[b-2idzgq89b4] { color: #b45309; background: #fef3c7; }
.audit-plan-pill--low[b-2idzgq89b4] { color: #1f6feb; background: #e0ecff; }

.audit-plan-action[b-2idzgq89b4] {
    font-size: 0.9rem;
    color: #4a4f59;
    line-height: 1.5;
    margin: 0.4rem 0 0;
}

/* ===== Desktop ===== */
@media (min-width: 700px) {
    .audit-page[b-2idzgq89b4] {
        padding: 2rem 1.5rem 5rem;
    }

    .audit-headline[b-2idzgq89b4] {
        padding: 2.25rem 2rem;
    }

    .audit-headline-figure[b-2idzgq89b4] {
        font-size: 2.6rem;
    }

    .audit-title-plain[b-2idzgq89b4] {
        font-size: 2rem;
    }
}
