/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-y4q3ktl5pq],
.components-reconnect-repeated-attempt-visible[b-y4q3ktl5pq],
.components-reconnect-failed-visible[b-y4q3ktl5pq],
.components-pause-visible[b-y4q3ktl5pq],
.components-resume-failed-visible[b-y4q3ktl5pq],
.components-rejoining-animation[b-y4q3ktl5pq] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-retrying[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-failed[b-y4q3ktl5pq],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-y4q3ktl5pq] {
    display: block;
}


#components-reconnect-modal[b-y4q3ktl5pq] {
    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-y4q3ktl5pq 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-y4q3ktl5pq 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-y4q3ktl5pq 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-y4q3ktl5pq]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-y4q3ktl5pq 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-y4q3ktl5pq {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-y4q3ktl5pq {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-y4q3ktl5pq {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-y4q3ktl5pq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-y4q3ktl5pq] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-y4q3ktl5pq] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-y4q3ktl5pq] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-y4q3ktl5pq] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-y4q3ktl5pq] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-y4q3ktl5pq] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-y4q3ktl5pq 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-y4q3ktl5pq] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-y4q3ktl5pq {
    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/Read.razor.rz.scp.css */
/* The reader.
   Scoped to this page: these rules exist for one screen, and app.css is already
   1,400 lines. Scoped CSS still sees the :root tokens, so both themes come for free. */

.reader[b-sbl2a6830b] {
    /* 40rem, matching .prose — DESIGN.md sets prose surfaces at 0.9rem inside a 40rem
       measure, and the whole reason this page exists is that a 1.3 MB A4 PDF cannot
       reflow to any measure at all. */
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.4rem 0 4rem;
}

/* ---------- header ---------- */

.rd-head[b-sbl2a6830b] { margin-bottom: 1.8rem; }

/* DESIGN.md: "there is no page-level headline anywhere" — the brand at 1.02rem is the
   largest type in the system. The title takes the silkscreened .prose h1 voice rather
   than inventing an editorial one. */
.rd-head h1[b-sbl2a6830b] {
    margin: 0 0 .6rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.28;
    color: var(--ink);
}

/* Routes.razor focuses the h1 on navigation, which is right for a screen reader and
   wrong to draw: a heading in a focus ring reads as a selected control. Keep the
   focus, drop the outline — and leave :focus-visible alone so keyboard users still
   see it if they tab back to it. */
.rd-head h1:focus[b-sbl2a6830b] { outline: none; }

.rd-meta[b-sbl2a6830b] {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .8rem;
    margin: 0 0 .6rem;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--ink-3);
}

.rd-tags[b-sbl2a6830b] { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .8rem; }

.rd-actions[b-sbl2a6830b] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--engrave);
}

/* ---------- prose ---------- */

.rd-body[b-sbl2a6830b] {
    /* --sans, not --mono: JetBrains Mono is the readout face, and 43 KB of monospace
       is punishing to read. Mono stays on the stamps and code. */
    font-family: var(--sans);
    font-size: .9rem;      /* the documented prose size */
    line-height: 1.7;
    color: var(--ink);
}

.rd-body p[b-sbl2a6830b] { margin: 0 0 1.1rem; }

.rd-body h2[b-sbl2a6830b],
.rd-body h3[b-sbl2a6830b],
.rd-body h4[b-sbl2a6830b] {
    margin: 2rem 0 .7rem;
    line-height: 1.3;
    color: var(--ink);
}

/* Prose headings, per DESIGN.md: looser tracking, 0.72-0.95rem. */
.rd-body h2[b-sbl2a6830b] { font-size: .95rem; letter-spacing: .04em; }
.rd-body h3[b-sbl2a6830b] { font-size: .9rem; letter-spacing: .04em; }
.rd-body h4[b-sbl2a6830b] { font-size: .85rem; letter-spacing: .04em; }

.rd-list[b-sbl2a6830b] { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.rd-list li[b-sbl2a6830b] { margin-bottom: .35rem; }

.rd-quote[b-sbl2a6830b] {
    margin: 0 0 1.1rem;
    padding: .1rem 0 .1rem .9rem;
    border-left: 2px solid var(--engrave-hi);
    color: var(--ink-2);
    font-style: italic;
}

.rd-code[b-sbl2a6830b] {
    /* overflow-x here is what stops one long line reintroducing horizontal page scroll
       on a phone — the exact bug the mobile pass just fixed. */
    margin: 0 0 1.1rem;
    padding: .7rem .8rem;
    background: var(--recess);
    border: 1px solid var(--engrave);
    overflow-x: auto;
    font-family: var(--mono);
    font-size: .78rem;
    line-height: 1.55;
    color: var(--ink-2);
}

/* ---------- timestamps ---------- */

/* Deliberately not --signal. This design spends its one accent on the live control,
   and a transcript carries a stamp every minute — amber would turn the page into a
   runway. Grey until pointed at. */
.rd-time[b-sbl2a6830b] {
    display: inline-block;
    margin: 0 0 .5rem;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--ink-3);
    border-bottom: 1px solid var(--engrave-hi);
    text-decoration: none;
}
.rd-time:hover[b-sbl2a6830b],
.rd-time:focus-visible[b-sbl2a6830b] { color: var(--signal); border-bottom-color: var(--signal); }

.rd-empty[b-sbl2a6830b] {
    padding: 2rem 0;
    color: var(--ink-3);
    font-size: .85rem;
    line-height: 1.6;
}

/* ---------- images ---------- */

.rd-figure[b-sbl2a6830b] { margin: 1.4rem 0; }

.rd-figure img[b-sbl2a6830b] {
    /* max-width, not width: a 3000px source must not reintroduce the horizontal scroll
       that the mobile pass fixed. height:auto keeps the aspect ratio. */
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--engrave);
    background: var(--recess);
}

.rd-figure figcaption[b-sbl2a6830b] {
    margin-top: .4rem;
    font-family: var(--mono);
    font-size: .7rem;
    line-height: 1.5;
    color: var(--ink-3);
}

/* ---------- foot ---------- */

.rd-foot[b-sbl2a6830b] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--engrave);
}

.rd-done[b-sbl2a6830b] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--led-on);
}
