@import 'FluentFox.UI.Client.naqyc06d27.bundle.scp.css';

/* /Components/Account/Pages/ExternalLogin.razor.rz.scp.css */
/* Terms/Privacy consent row for the external-login (Google) new-account gate. Mirrors the
   Register page's consent styling — body-size text at full contrast with clearly-clickable
   underlined links, using the shared auth theme tokens so it reads correctly in light and dark.
   (Scoped CSS is per-component, so the rules are repeated here rather than shared, which keeps the
   Tailwind source→output pipeline untouched.) */
.ff-auth-consent[b-99z27bdhm8] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1rem 0 0.25rem;
}

.ff-auth-consent-box[b-99z27bdhm8] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: rgb(var(--ff-action-line));
    cursor: pointer;
}

.ff-auth-consent-text[b-99z27bdhm8] {
    font-size: 0.9375rem; /* 15px — body size, above the 14px floor */
    line-height: 1.45;
    color: var(--ff-auth-heading);
    cursor: pointer;
}

.ff-auth-consent-text a[b-99z27bdhm8] {
    color: var(--ff-auth-link);
    text-decoration: underline;
    font-weight: 600;
}

.ff-auth-consent-text a:hover[b-99z27bdhm8],
.ff-auth-consent-text a:focus[b-99z27bdhm8] {
    text-decoration: underline;
    filter: brightness(1.1);
}
/* /Components/Account/Pages/ReacceptTerms.razor.rz.scp.css */
/* Re-acceptance gate. The consent row mirrors the Register/ExternalLogin styling (scoped CSS is
   per-component, so the rules are restated here) so it reads as first-class form content, not a
   de-emphasized caption. */
.ff-reaccept-list[b-txjj14if5q] {
    margin: 0 0 1.25rem;
    padding-left: 1.2rem;
    list-style: disc;
}

.ff-reaccept-list li[b-txjj14if5q] {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--ff-auth-heading);
}

.ff-reaccept-summary[b-txjj14if5q] {
    display: block;
    opacity: 0.8;
    font-size: 0.9rem;
}

.ff-auth-consent[b-txjj14if5q] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1rem 0 0.25rem;
}

.ff-auth-consent-box[b-txjj14if5q] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: rgb(var(--ff-action-line));
    cursor: pointer;
}

.ff-auth-consent-text[b-txjj14if5q] {
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--ff-auth-heading);
    cursor: pointer;
}

.ff-auth-consent-text a[b-txjj14if5q] {
    color: var(--ff-auth-link);
    text-decoration: underline;
    font-weight: 600;
}

.ff-auth-consent-text a:hover[b-txjj14if5q],
.ff-auth-consent-text a:focus[b-txjj14if5q] {
    text-decoration: underline;
    filter: brightness(1.1);
}
/* /Components/Account/Pages/Register.razor.rz.scp.css */
/* Terms/Privacy consent row. Deliberately NOT a de-emphasized caption: body-size text, full
   contrast (reuses the same --ff-auth-heading colour as the form labels), and clearly-clickable
   underlined links. Under-styling this is the most common reason click-wrap acceptance gets thrown
   out, so it is styled as first-class form content. Uses the shared auth theme tokens so it is
   legible in both light and dark mode. */
.ff-auth-consent[b-303roux85w] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.75rem 0 0.25rem;
}

.ff-auth-consent-box[b-303roux85w] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: rgb(var(--ff-action-line));
    cursor: pointer;
}

.ff-auth-consent-text[b-303roux85w] {
    font-size: 0.9375rem; /* 15px — body size, above the 14px floor */
    line-height: 1.45;
    color: var(--ff-auth-heading);
    cursor: pointer;
}

.ff-auth-consent-text a[b-303roux85w] {
    color: var(--ff-auth-link);
    text-decoration: underline;
    font-weight: 600;
}

.ff-auth-consent-text a:hover[b-303roux85w],
.ff-auth-consent-text a:focus[b-303roux85w] {
    text-decoration: underline;
    filter: brightness(1.1);
}

/* ── Compact vertical rhythm (this page only) ─────────────────────────────────
   Register is the tallest auth card — five fields plus consent plus the external picker — and the
   coupon field pushed it past a laptop viewport. These overrides shave whitespace, not content;
   the shared .ff-auth-* rhythm is untouched, so Login and the Manage pages keep the roomier
   default. Scoped rules out-rank the globals by the CSS-isolation attribute selector. */
.ff-auth-card[b-303roux85w]    { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.ff-auth-title[b-303roux85w]   { font-size: 1.4rem; }
.ff-auth-subtitle[b-303roux85w] { margin-top: 0.25rem; }
.ff-auth-rule[b-303roux85w]    { margin: 0.9rem 0; }
.ff-auth-field[b-303roux85w]   { margin-bottom: 0.65rem; }
.ff-auth-label[b-303roux85w]   { margin-bottom: 0.25rem; }
.ff-auth-input[b-303roux85w]   { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.ff-auth-submit[b-303roux85w]  { padding-top: 0.7rem; padding-bottom: 0.7rem; }

/* Child components need ::deep: the Log in / Register tabs above the title, and the
   "or" divider + provider button from ExternalLoginPicker below the form. */
.ff-auth-card[b-303roux85w]  .ff-auth-tabs     { margin-bottom: 1rem; }
.ff-auth-card[b-303roux85w]  .ff-auth-divider  { margin: 0.9rem 0 0.7rem; }
.ff-auth-card[b-303roux85w]  .ff-auth-external { padding-top: 0.55rem; padding-bottom: 0.55rem; }
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
/* Shell for public shareable pages. The app's MainLayout wraps content in an overflow-hidden,
   viewport-tall <main>; this one deliberately does the opposite — the document scrolls normally,
   because a public page has no chat pane to keep pinned and a stranger's browser should behave the
   way every other page on the web does. */

.ff-public-shell[b-cji3lcawfx] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--ff-public-bg, oklch(0.972 0.018 75));
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-offline-visible[b-obhcwastue],
.components-away-visible[b-obhcwastue],
.components-device-offline-visible[b-obhcwastue],
.components-pause-visible[b-obhcwastue],
.components-resume-failed-visible[b-obhcwastue],
.components-busy-visible[b-obhcwastue],
.components-slow-visible[b-obhcwastue] {
    display: none;
}

/* The Continue button shows in every "connection lost" state — first attempt, retrying, failed — and
   while the device itself reports offline (.components-offline, set by the page script). The message
   beside it is "you were away" for a lost circuit, and "you're offline" whenever the device says so
   (that one wins when both hold). */
#components-reconnect-modal.components-reconnect-show .components-offline-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-retrying .components-offline-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-failed .components-offline-visible[b-obhcwastue],
#components-reconnect-modal.components-offline .components-offline-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-show:not(.components-offline) .components-away-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-retrying:not(.components-offline) .components-away-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-failed:not(.components-offline) .components-away-visible[b-obhcwastue],
#components-reconnect-modal.components-offline .components-device-offline-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-obhcwastue],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-obhcwastue] {
    display: block;
}

/* Busy (Fix List 25): after Continue/Resume is clicked, ONLY the spinner + "Reconnecting…" show, so
   there is nothing left to click again. Slow: the reconnect ran past the time limit — only the message
   and Try again show. Both classes are set by the page script and beat every state rule above. */
#components-reconnect-modal.components-busy .components-reconnect-container > :not(.components-busy-visible)[b-obhcwastue],
#components-reconnect-modal.components-slow .components-reconnect-container > :not(.components-slow-visible)[b-obhcwastue] {
    display: none !important;
}

#components-reconnect-modal.components-busy .components-busy-visible[b-obhcwastue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal.components-slow .components-slow-visible[b-obhcwastue] {
    display: block;
}

.ff-reconnect-spinner[b-obhcwastue] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 3px solid var(--ff-chat-column-border, #e6e6ef);
    border-top-color: #6b9ed2;
    animation: ff-reconnect-spin-b-obhcwastue 0.9s linear infinite;
}

@keyframes ff-reconnect-spin-b-obhcwastue {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-reconnect-spinner[b-obhcwastue] {
        animation-duration: 2.5s;
    }
}

#components-reconnect-modal.components-reconnect-retrying[b-obhcwastue],
#components-reconnect-modal.components-reconnect-failed[b-obhcwastue] {
    display: block;
}


#components-reconnect-modal[b-obhcwastue] {
    /* Theme-aware, softened panel instead of a stark pure-white box — a gentle off-white in light
       mode and the slate card colour in dark, so it doesn't jar over the dimmed page. Tokens
       inherit from :root / .fox (app.css); referencing them via var() is scope-safe (only
       `.fox descendant` selectors break under CSS isolation, which we don't use here). */
    background-color: var(--ff-tutor-bubble-bg, #eef1f6);
    color: var(--ff-chat-text, #1a1a2e);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--ff-chat-column-border, #e6e6ef);
    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-obhcwastue 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-obhcwastue 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-obhcwastue 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-obhcwastue]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-obhcwastue 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-obhcwastue {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-obhcwastue {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-obhcwastue {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-obhcwastue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-obhcwastue] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-obhcwastue] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-obhcwastue] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-obhcwastue] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-obhcwastue] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-obhcwastue] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-obhcwastue 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-obhcwastue] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-obhcwastue {
    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/Card.razor.rz.scp.css */
/* Public Report Card.

   Self-contained palette on purpose: this page is a shared artifact a stranger opens, so it must
   look identical for everyone and must not depend on the viewer's app theme (which they have never
   set) or on the theme toggle's `.fox` class. Colours here mirror the brand — warm cream ground,
   FluentFox purple, deep slate text — but are declared locally rather than pulled from the app's
   --ff-* tokens.

   Design rule: the metric is the headline, the brand is the frame. The hero number is by far the
   largest thing on the page; the logo is 28px in the footer. It should read as an achievement, not
   as an ad. */

.ff-card-page[b-ic9d8ckctv] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.ff-card-inner[b-ic9d8ckctv] {
    width: 100%;
    max-width: 34rem;
}

.ff-card[b-ic9d8ckctv] {
    background: oklch(0.995 0.008 75);
    border: 1px solid oklch(0.9 0.022 68);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem 1.5rem;
    box-shadow: 0 1px 2px rgb(74 45 143 / 6%), 0 12px 32px rgb(74 45 143 / 8%);
    text-align: center;
    color: oklch(0.3 0.025 55);
}

/* ── Who ── */

.ff-card-who[b-ic9d8ckctv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ff-card-name[b-ic9d8ckctv] {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    /* A display name is capped at 40 chars but can still be one long unbroken token. */
    overflow-wrap: anywhere;
}

.ff-card-lang[b-ic9d8ckctv] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: oklch(0.5 0.02 265);
}

/* ── Hero ── */

.ff-card-hero[b-ic9d8ckctv] {
    margin: 1.75rem 0 1.5rem;
}

.ff-card-hero-value[b-ic9d8ckctv] {
    font-size: clamp(4.5rem, 22vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #4a2d8f;
    font-variant-numeric: tabular-nums;
}

.ff-card-hero-label[b-ic9d8ckctv] {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: oklch(0.45 0.02 265);
}

/* ── Secondary stats ── */

.ff-card-stats[b-ic9d8ckctv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    margin: 0 0 1.25rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid oklch(0.93 0.015 68);
}

.ff-card-stat[b-ic9d8ckctv] {
    min-width: 5rem;
}

.ff-card-stat dt[b-ic9d8ckctv] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: oklch(0.58 0.02 265);
}

.ff-card-stat dd[b-ic9d8ckctv] {
    margin: 0.15rem 0 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ff-card-period[b-ic9d8ckctv] {
    margin: 0 0 1.5rem;
    font-size: 0.8rem;
    color: oklch(0.58 0.02 265);
}

/* ── Call to action ── */

.ff-card-cta[b-ic9d8ckctv] {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    background: #4a2d8f;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.ff-card-cta:hover[b-ic9d8ckctv],
.ff-card-cta:focus-visible[b-ic9d8ckctv] {
    background: #3b2372;
}

/* ── Brand frame ── */

.ff-card-brand[b-ic9d8ckctv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid oklch(0.93 0.015 68);
}

.ff-card-brand-link[b-ic9d8ckctv] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
}

/* The lockup is a wide wordmark (4.7:1), so it is sized by HEIGHT and carries its own name —
   it replaced the old square icon + separate "FluentFox" text span that sat beside it. */
.ff-card-logo[b-ic9d8ckctv] {
    height: 20px;
    width: auto;
}

.ff-card-tagline[b-ic9d8ckctv] {
    font-size: 0.8rem;
    font-style: italic;
    color: oklch(0.58 0.02 265);
}

/* ── 404 / 410 ── */

.ff-card-empty[b-ic9d8ckctv] {
    text-align: center;
    color: oklch(0.3 0.025 55);
}

.ff-card-empty h1[b-ic9d8ckctv] {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ff-card-empty p[b-ic9d8ckctv] {
    margin-bottom: 1.5rem;
    color: oklch(0.5 0.02 265);
}
/* /Components/Pages/LegalChangelog.razor.rz.scp.css */
/* Legal changelog — reuses the .ff-legal-doc container width from the document pages (that class is
   scoped to LegalDocumentView, so the container styles are restated here for this standalone page). */
.ff-legal-doc[b-mzye489y4f] {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 2rem) 4rem;
    line-height: 1.6;
}

.ff-legal-doc h1[b-mzye489y4f] {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.ff-changelog-group[b-mzye489y4f] {
    margin-top: 2rem;
}

.ff-changelog-group h2[b-mzye489y4f] {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.ff-changelog-list[b-mzye489y4f] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ff-changelog-entry[b-mzye489y4f] {
    padding: 0.9rem 0;
    border-top: 1px solid var(--ff-auth-card-border, #e2d3bd);
}

.ff-changelog-head[b-mzye489y4f] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
}

.ff-changelog-head a[b-mzye489y4f] {
    color: var(--ff-auth-link, #2563eb);
    text-decoration: underline;
    font-weight: 600;
}

.ff-changelog-date[b-mzye489y4f] {
    font-size: 0.9rem;
    opacity: 0.75;
}

.ff-changelog-badge[b-mzye489y4f] {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--ff-auth-card-border, #e2d3bd);
}

.ff-changelog-badge-material[b-mzye489y4f] {
    background: rgba(241, 90, 36, 0.12);
    border-color: var(--ff-mkt-card-accent, #f15a24);
}

.ff-changelog-summary[b-mzye489y4f] {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
}
/* /Components/Pages/LegalDocumentView.razor.rz.scp.css */
/* Readable long-form legal document. Colours inherit from the app layout (theme-correct in light and
   dark); only the superseded banner and links set their own. The document body is injected as raw
   markdown HTML (a MarkupString), so its child elements don't carry the scoped attribute — they are
   styled via ::deep. */
/* Full-height scroll container — the app shell's .ff-main-content is overflow-hidden and taller than
   the viewport, so without this the long document is clipped with no way to scroll. Full width so the
   scrollbar sits at the viewport edge; the readable column is centered by .ff-legal-inner. */
.ff-legal-doc[b-6gurumuk4a] {
    height: 100%;
    overflow-y: auto;
}

.ff-legal-inner[b-6gurumuk4a] {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 2rem) 4rem;
    line-height: 1.6;
}

.ff-legal-banner[b-6gurumuk4a] {
    margin-bottom: 1.5rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--ff-auth-card-border, #d9c3a5);
    border-left: 4px solid var(--ff-mkt-card-accent, #f15a24);
    border-radius: 0.5rem;
    background: rgba(241, 90, 36, 0.06);
    font-size: 0.95rem;
}

.ff-legal-banner a[b-6gurumuk4a] {
    color: var(--ff-auth-link, #2563eb);
    text-decoration: underline;
    font-weight: 600;
}

.ff-legal-operator[b-6gurumuk4a] {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ff-auth-card-border, #d9c3a5);
    font-size: 0.9rem;
    opacity: 0.8;
}

.ff-legal-body[b-6gurumuk4a]  h1 {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.ff-legal-body[b-6gurumuk4a]  h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 0.6rem;
}

.ff-legal-body[b-6gurumuk4a]  h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.ff-legal-body[b-6gurumuk4a]  p,
.ff-legal-body[b-6gurumuk4a]  li {
    font-size: 1rem;
    margin: 0.6rem 0;
}

.ff-legal-body[b-6gurumuk4a]  ul {
    padding-left: 1.4rem;
    list-style: disc;
}

.ff-legal-body[b-6gurumuk4a]  blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--ff-auth-card-border, #d9c3a5);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.35rem;
    font-size: 0.95rem;
}

.ff-legal-body[b-6gurumuk4a]  a {
    color: var(--ff-auth-link, #2563eb);
    text-decoration: underline;
}

.ff-legal-body[b-6gurumuk4a]  strong {
    font-weight: 700;
}
