/* /Components/Account/Login.razor.rz.scp.css */
/* Two-way "who's signing in" chooser (ADR 0025 / ADR 0021 amendment). Replaces the previous
   CSS-only radio-tab toggle: both cards are always visible and each is a single large link
   (not a label-for-hidden-input trick), which is both a bigger/more forgiving tap target for a
   Year 3 student and more legible to a screen reader (one <a> per choice, not a tab+panel
   pair). This page is shared by the whole Year 3-12 student age range plus parents, so neither
   card leans overtly "kids' app" (no illustration, no saturated fills) nor generic adult SaaS
   (no ghost-icon-only buttons) - plain line icon + label + one sentence + explicit CTA text. */

.login-chooser[b-mdrramg723] {
    width: 100%;
    max-width: 640px;
}

.chooser-grid[b-mdrramg723] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 0.25rem;
}

/* Stack to one column well before the cards get cramped - a shared-tablet Year 3 user is the
   most likely narrow-viewport case here, and a single wide card is easier to hit accurately
   than two squeezed ones. */
@media (max-width: 560px) {
    .chooser-grid[b-mdrramg723] {
        grid-template-columns: 1fr;
    }
}

.chooser-card[b-mdrramg723] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
    background: var(--surface);
    border: 2px solid var(--line);
    border-top-width: 4px;
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.35rem;
    min-height: 12rem;
    box-shadow: 0 4px 14px rgba(30, 42, 86, 0.07);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.chooser-card:hover[b-mdrramg723] {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 42, 86, 0.12);
    border-color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
    .chooser-card[b-mdrramg723] {
        transition: none;
    }

    .chooser-card:hover[b-mdrramg723] {
        transform: none;
    }
}

.chooser-card--student[b-mdrramg723] {
    border-top-color: var(--red);
}

.chooser-card--parent[b-mdrramg723] {
    border-top-color: var(--ink);
}

.chooser-icon[b-mdrramg723] {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.chooser-card--student .chooser-icon[b-mdrramg723] {
    color: var(--red);
}

.chooser-card--parent .chooser-icon[b-mdrramg723] {
    color: var(--ink);
}

.chooser-label[b-mdrramg723] {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.chooser-copy[b-mdrramg723] {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pushed to the bottom of the card via the flex column + margin-top: auto, so both CTAs line
   up on the same baseline even when the copy above them wraps to a different number of lines. */
.chooser-cta[b-mdrramg723] {
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--red);
}

.chooser-card--parent .chooser-cta[b-mdrramg723] {
    color: var(--ink);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
header nav[b-deomyqsna1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid var(--orange);
    background: var(--surface);
    font-family: var(--font-body);
    position: relative;
}

header nav a[b-deomyqsna1] {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

header nav a:hover[b-deomyqsna1] {
    color: var(--red);
}

header nav a.brand[b-deomyqsna1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    flex-shrink: 0;
}

header nav a.brand:hover[b-deomyqsna1] {
    color: var(--ink);
}

header nav a.brand img[b-deomyqsna1] {
    display: block;
}

/* This <details> is only ever a stateful toggle — its own content is just the
   hamburger icon, so the browser's "hide non-summary content when closed"
   behaviour never touches anything we actually need visible. The real nav
   links live as a sibling (.nav-links below) and read this toggle's [open]
   state via :has() instead of being inside the <details> themselves. */
.nav-toggle-details[b-deomyqsna1] {
    display: none;
}

.nav-toggle-details summary[b-deomyqsna1] {
    list-style: none;
    cursor: pointer;
}

.nav-toggle-details summary[b-deomyqsna1]::-webkit-details-marker,
.nav-toggle-details summary[b-deomyqsna1]::marker {
    display: none;
    content: "";
}

.nav-toggle[b-deomyqsna1] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
}

.nav-toggle:hover[b-deomyqsna1] {
    background: var(--paper);
}

.nav-toggle span[b-deomyqsna1] {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 2px;
}

.nav-links[b-deomyqsna1] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-type-badge[b-deomyqsna1] {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nav-links form[b-deomyqsna1] {
    display: inline;
    margin: 0;
}

.nav-links button[b-deomyqsna1] {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 0;
}

.nav-links button:hover[b-deomyqsna1] {
    color: var(--red);
}

/* Content dropdown — CSS-only, same open/close mechanism as .nav-toggle-details above, just
   rendered inline instead of hidden, since this one's own <summary> is real, visible nav text. */
.nav-dropdown[b-deomyqsna1] {
    position: relative;
}

.nav-dropdown summary[b-deomyqsna1] {
    list-style: none;
    cursor: pointer;
    color: var(--ink);
    font-weight: 600;
}

.nav-dropdown summary[b-deomyqsna1]::-webkit-details-marker,
.nav-dropdown summary[b-deomyqsna1]::marker {
    display: none;
    content: "";
}

.nav-dropdown summary[b-deomyqsna1]::after {
    content: "▾";
    margin-left: 0.3rem;
    font-size: 0.7em;
}

.nav-dropdown summary:hover[b-deomyqsna1] {
    color: var(--red);
}

.nav-dropdown-menu[b-deomyqsna1] {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(30, 42, 86, 0.12);
    padding: 0.4rem;
    min-width: 180px;
    z-index: 30;
}

.nav-dropdown-menu a[b-deomyqsna1] {
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover[b-deomyqsna1] {
    background: var(--paper);
    color: var(--red);
}

@media (max-width: 720px) {
    .nav-dropdown-menu[b-deomyqsna1] {
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 0.25rem;
        padding-left: 0.75rem;
    }

    .nav-toggle-details[b-deomyqsna1] {
        display: block;
    }

    .nav-links[b-deomyqsna1] {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 3px solid var(--orange);
        box-shadow: 0 10px 20px rgba(30, 42, 86, 0.1);
        padding: 0.25rem 1.5rem 0.75rem;
        z-index: 30;
    }

    /* :has() reads the toggle's open/closed state from a sibling — no <details>
       content-hiding quirks involved since .nav-links was never inside it. */
    header nav:has(.nav-toggle-details[open]) .nav-links[b-deomyqsna1] {
        display: flex;
    }

    .nav-links a[b-deomyqsna1],
    .nav-links button[b-deomyqsna1] {
        width: 100%;
        text-align: left;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--line);
    }
}

/* Was capped at 900px with no centering margin — on any normal desktop screen every page sat
   flush-left in a narrow column with the rest of the viewport left empty. Widened and centered
   so pages actually use the available width; text-heavy content still self-limits its own line
   length locally (.dek, Home.razor.css's own max-width: 60ch) rather than relying on this shared
   wrapper to do it, and the grid layouts that exist (Dashboard's student list, Home's action
   cards) already use auto-fill/auto-fit + minmax, so they simply show more columns on the extra
   width instead of breaking. */
main[b-deomyqsna1] {
    padding: 2rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

#blazor-error-ui[b-deomyqsna1] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-deomyqsna1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Assessment.razor.rz.scp.css */
/* ER-102: comfortable tap target (WCAG 2.2 AA target size) for the sole back-navigation
   affordance on this page -- benefits the Year 3-6 band without being out of place for older
   students, since it's still a plain understated link, not a bright childish button. */
.back-link[b-iqyoyyn6pi] {
    display: inline-block;
    padding: 0.5rem 0.1rem;
    margin-bottom: 0.75rem;
    color: var(--ink-soft);
    text-decoration: underline;
}

.back-link:hover[b-iqyoyyn6pi] {
    color: var(--ink);
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.student-list[b-tm1nhunft4] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.student-card[b-tm1nhunft4] {
    text-decoration: none;
    color: inherit;
    min-height: 140px;
}

.student-card h2[b-tm1nhunft4] {
    margin: 0.5rem 0 0.2rem;
    font-size: 1.1rem;
}

.student-card p[b-tm1nhunft4] {
    margin: 0;
    color: var(--ink-soft);
}

.student-card:hover[b-tm1nhunft4] {
    border-color: var(--orange);
}

.section-heading[b-tm1nhunft4] {
    margin-bottom: 1rem;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.hero[b-l9w16obrp3] {
    position: relative;
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    text-align: center;
    z-index: 1;
}

/* A soft brand-colour glow behind the logo — grounded in the actual palette,
   not a generic purple SaaS gradient — plus two short dashes echoing the
   rocket's own motion-lines. Both decorative, so hidden from assistive tech. */
.hero[b-l9w16obrp3]::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--orange-tint) 0%, transparent 70%);
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

.hero-motion-dash[b-l9w16obrp3] {
    position: absolute;
    height: 4px;
    border-radius: 2px;
    pointer-events: none;
}

.hero-motion-dash--1[b-l9w16obrp3] {
    top: 2.2rem;
    left: calc(50% - 130px);
    width: 34px;
    background: var(--red);
    transform: rotate(-18deg);
}

.hero-motion-dash--2[b-l9w16obrp3] {
    top: 3.6rem;
    left: calc(50% - 155px);
    width: 20px;
    background: var(--orange);
    transform: rotate(-18deg);
}

@media (max-width: 540px) {
    .hero-motion-dash[b-l9w16obrp3] {
        display: none;
    }
}

.hero-logo[b-l9w16obrp3] {
    display: block;
    margin: 0 auto 0.5rem;
    position: relative;
}

.hero h1[b-l9w16obrp3] {
    font-size: clamp(2.25rem, 4vw + 1rem, 3rem);
    margin: 0 0 0.3rem;
    color: var(--ink);
}

.tagline[b-l9w16obrp3] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
    margin: 0 0 1.1rem;
}

.dot[b-l9w16obrp3] {
    font-weight: 700;
}

.dot-red[b-l9w16obrp3] {
    color: var(--red);
}

.dot-orange[b-l9w16obrp3] {
    color: var(--orange);
}

.lede[b-l9w16obrp3] {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin: 0 auto;
}

.actions[b-l9w16obrp3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

/* Rounded corners and colour are deliberate here, drawn from the logo's own
   hand-drawn rocket mark — not a default template choice. Top border repeats
   the same colour as the card's .tag: real category information, not just
   decoration. */
.action-card[b-l9w16obrp3] {
    display: block;
    background: var(--surface);
    border: 2px solid var(--line);
    border-top: 4px solid var(--orange);
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.4rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(30, 42, 86, 0.06);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .action-card[b-l9w16obrp3] {
        transition: none;
    }
}

.action-card:hover[b-l9w16obrp3] {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(30, 42, 86, 0.12);
}

.action-card h2[b-l9w16obrp3] {
    font-size: 1.15rem;
    margin: 0.6rem 0 0.4rem;
    color: var(--ink);
}

.action-card p[b-l9w16obrp3] {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.action-card .tag[b-l9w16obrp3] {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--orange-tint);
    border-radius: 999px;
    padding: 0.3em 0.75em;
}

/* Parent action is functionally different (it's the one that requires an
   account), so it earns the brand-red treatment, not just a heavier weight. */
.action-card--primary[b-l9w16obrp3] {
    border-top-color: var(--red);
    border-color: var(--red-tint);
}

.action-card--primary:hover[b-l9w16obrp3] {
    border-color: var(--red);
}

.action-card--primary .tag[b-l9w16obrp3] {
    color: var(--red);
    background: var(--red-tint);
}
/* /Components/Pages/Lessons.razor.rz.scp.css */
.year-picker[b-n3fi7a6pqm] {
    margin-bottom: 1.75rem;
}

.year-picker label[b-n3fi7a6pqm] {
    display: inline-block;
    margin-right: 0.6rem;
    margin-bottom: 0;
}

.year-picker select[b-n3fi7a6pqm] {
    width: auto;
    margin-bottom: 0;
}

.lesson-list[b-n3fi7a6pqm] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lesson-card h2[b-n3fi7a6pqm] {
    margin: 0.5rem 0 0.4rem;
}

.lesson-outcomes[b-n3fi7a6pqm] {
    color: var(--ink-faint);
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}
/* /Components/Pages/StudentDetails.razor.rz.scp.css */
.student-summary[b-b48ujxp666] {
    margin-bottom: 2rem;
}

.student-summary h2[b-b48ujxp666] {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}

.section-heading[b-b48ujxp666] {
    margin-bottom: 1rem;
}
/* /Components/Pages/Tutor.razor.rz.scp.css */
/* ER-53: three-way view toggle. "Both" is a two-column grid (board left, chat right) — the
   familiar split view of a modern AI chat app, rather than stacking the whiteboard underneath a
   full-width chat. "Chat only" and "Whiteboard only" are single-pane, so they're always a single
   block regardless of screen width; "Both" collapses to a single column on narrow screens. */
.tutor-layout[b-r9t3qszyu9] {
    display: block;
}

.tutor-layout--split[b-r9t3qszyu9] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 1.25rem;
}

@media (max-width: 860px) {
    .tutor-layout--split[b-r9t3qszyu9] {
        grid-template-columns: 1fr;
    }
}

/* Whiteboard-only mode gets a taller canvas than the split/chat-only panel height, since it's
   the only thing on the page rather than sharing space with a chat pane. */
.tutor-layout--board-only .tutor-board-pane[b-r9t3qszyu9] {
    height: 42rem;
}

/* Segmented control: three toggle buttons for Chat only / Whiteboard only / Both, replacing the
   old binary show/hide whiteboard button. Plain toggle buttons with aria-pressed rather than a
   full ARIA radiogroup — natively keyboard-operable (Tab + Enter/Space) with no custom arrow-key
   handling needed. */
.tutor-view-toggle[b-r9t3qszyu9] {
    display: inline-flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 999px;
}

.tutor-view-toggle-btn[b-r9t3qszyu9] {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-soft);
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 0.45em 1em;
    cursor: pointer;
}

.tutor-view-toggle-btn:hover[b-r9t3qszyu9] {
    color: var(--ink);
}

.tutor-view-toggle-btn[aria-pressed="true"][b-r9t3qszyu9] {
    background: var(--orange);
    color: var(--ink);
}

.tutor-board-pane[b-r9t3qszyu9] {
    display: flex;
    flex-direction: column;
    height: 34rem;
}

.tutor-board-header[b-r9t3qszyu9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

/* ::deep — <Whiteboard> is a separate component; the div.whiteboard-canvas it renders never
   carries Tutor.razor's scope attribute, so without ::deep this override silently never applied
   (the global fixed 500px rule in app.css was the only one actually in effect). */
.tutor-board-pane[b-r9t3qszyu9]  .whiteboard-canvas {
    flex: 1 1 auto;
    height: auto;
}

.tutor-chat-pane[b-r9t3qszyu9] {
    display: flex;
    flex-direction: column;
}

/* The message thread and the composer used to be two separate cards with a visible gap between
   them, which read as disconnected. Now it's a single bordered box — thread scrolls above,
   composer is pinned below a divider, like a real chat app's message list + input bar. */
.tutor-chat-panel[b-r9t3qszyu9] {
    display: flex;
    flex-direction: column;
    height: 34rem;
    padding: 0;
    overflow: hidden;
}

.tutor-thread[b-r9t3qszyu9] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.tutor-empty-state[b-r9t3qszyu9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    color: var(--ink-soft);
}

.tutor-message-row[b-r9t3qszyu9] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    max-width: 80%;
}

/* Right-aligns the student's own messages (like every familiar chat app) so the thread visually
   reads as a back-and-forth rather than a flat list — the tutor stays anchored on the left. */
.tutor-message-row--student[b-r9t3qszyu9] {
    flex-direction: row-reverse;
    align-self: flex-end;
    text-align: right;
}

.tutor-avatar[b-r9t3qszyu9] {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--orange-tint);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ink);
}

/* var(--red), not var(--ink) — ink flips from dark navy to light cream in dark mode (see
   app.css's :root vs prefers-color-scheme:dark block), which would leave this white text
   unreadable against a near-white background. Red keeps sufficient white-text contrast in both
   themes (see app.css's contrast-ratio comment). */
.tutor-message-row--student .tutor-avatar[b-r9t3qszyu9] {
    background: var(--red);
    color: #fff;
}

.tutor-bubble[b-r9t3qszyu9] {
    background: var(--orange-tint);
    border-radius: 14px;
    border-top-left-radius: 4px;
    padding: 0.6rem 0.9rem;
}

.tutor-message-row--student .tutor-bubble[b-r9t3qszyu9] {
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: 14px;
    border-top-right-radius: 4px;
}

.tutor-bubble p[b-r9t3qszyu9] {
    margin: 0;
    white-space: pre-wrap;
}

.tutor-bubble-label[b-r9t3qszyu9] {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink-faint);
    margin-bottom: 0.15rem;
}

.tutor-replay-btn[b-r9t3qszyu9] {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.25em 0.75em;
    cursor: pointer;
}

.tutor-replay-btn:hover:not(:disabled)[b-r9t3qszyu9] {
    border-color: var(--ink-faint);
}

/* Typing indicator — three dots pulsing in sequence inside a tutor-styled bubble, so "the tutor
   is thinking" reads as a live conversational cue instead of a line of loading text. */
.tutor-bubble--typing[b-r9t3qszyu9] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
}

.typing-dot[b-r9t3qszyu9] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--ink-faint);
    animation: tutor-typing-b-r9t3qszyu9 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2)[b-r9t3qszyu9] {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3)[b-r9t3qszyu9] {
    animation-delay: 0.4s;
}

@keyframes tutor-typing-b-r9t3qszyu9 {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .typing-dot[b-r9t3qszyu9] {
        animation: none;
        opacity: 0.7;
    }
}

/* ADR 0048/ER-T3: replaces the three dots once a tool-specific progress update arrives —
   same bubble, just text instead of dots, so it doesn't read as a different UI element. */
.tutor-progress-text[b-r9t3qszyu9] {
    color: var(--ink-faint);
    font-size: 0.9rem;
    font-style: italic;
}

/* Composer — pinned below the thread inside the same panel, set off by a divider and a slightly
   different background (paper vs. the panel's white surface) so it still reads as a distinct
   "input bar" the way a real chat app's does, without being a separate floating card. */
.tutor-composer[b-r9t3qszyu9] {
    flex-shrink: 0;
    border-top: 2px solid var(--line);
    background: var(--paper);
    padding: 1rem 1.5rem 1.25rem;
}

/* ::deep is required here, not optional — <InputTextArea> is a framework component, so the
   <textarea> it renders never carries Tutor.razor's scope attribute (Blazor CSS isolation only
   auto-scopes elements written literally in this file's own markup, not a child component's
   rendered output). Without ::deep this rule compiles to a selector that can never match anything
   real, which is why the box stayed at its browser-default narrow size despite this same rule
   existing beforehand.
   The textarea now spans the full width of the composer on its own row — previously it shared a
   row with the mic/send buttons, which squeezed it down to a narrow strip. Buttons sit on their
   own row underneath, right-aligned. */
.tutor-input-row[b-r9t3qszyu9]  textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    resize: vertical;
}

.tutor-input-actions[b-r9t3qszyu9] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.tutor-mic-btn[b-r9t3qszyu9] {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--ink);
    background: var(--orange-tint);
    border: none;
    border-radius: 10px;
    padding: 0.7em 1.1em;
    cursor: pointer;
}

.tutor-mic-btn--listening[b-r9t3qszyu9] {
    background: var(--red-tint);
    color: var(--red);
}

.tutor-safety-notice[b-r9t3qszyu9] {
    color: var(--ink);
    background: var(--orange-tint);
    border-radius: 8px;
    padding: 0.6em 0.9em;
    margin: 0 0 0.9rem;
}

/* ER-57: distinct from .tutor-safety-notice (an orange, "this was held back on purpose" tone) --
   red signals "something went wrong on our end", not a deliberate safety decision. */
.tutor-error-notice[b-r9t3qszyu9] {
    color: var(--red);
    background: var(--red-tint);
    border-radius: 8px;
    padding: 0.6em 0.9em;
    margin: 0 0 0.9rem;
}
/* /Components/Shared/Breadcrumb.razor.rz.scp.css */
.breadcrumb ol[b-7zi3z5bcmn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.breadcrumb li[b-7zi3z5bcmn] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumb li:not(:first-child)[b-7zi3z5bcmn]::before {
    content: "/";
    color: var(--ink-faint);
}

.breadcrumb a[b-7zi3z5bcmn] {
    color: var(--ink-soft);
    text-decoration: underline;
}

.breadcrumb a:hover[b-7zi3z5bcmn] {
    color: var(--ink);
}

.breadcrumb [aria-current="page"][b-7zi3z5bcmn] {
    color: var(--ink);
    font-weight: 600;
}
