/* /View/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-o6o2ub70ke] {
    color-scheme: light only;
    background: lightyellow;
    /* The app's theme is light-on-dark, so without an explicit colour the banner inherits near-white text
       onto this light background and is unreadable. */
    color: #1b1b1b;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    /* A stack trace can be long: cap the banner and scroll inside it rather than covering the board. */
    max-height: 45vh;
    overflow-y: auto;
}

    #blazor-error-ui .dismiss[b-o6o2ub70ke] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .error-header[b-o6o2ub70ke] {
        align-items: baseline;
        display: flex;
        gap: 0.75rem;
        /* Keep the message and its controls reachable while the trace below scrolls past. */
        padding-right: 1.5rem;
    }

    #blazor-error-ui .error-title[b-o6o2ub70ke] {
        font-weight: 600;
    }

    #blazor-error-ui .copy[b-o6o2ub70ke] {
        background: rgba(0, 0, 0, 0.06);
        color: #1b1b1b;
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: 0.25rem;
        cursor: pointer;
        font: inherit;
        font-size: 0.85em;
        padding: 0.05rem 0.5rem;
    }

    #blazor-error-ui .copy:hover[b-o6o2ub70ke] {
        background: rgba(0, 0, 0, 0.12);
    }

    /* The exception text itself — monospace, wrapped (traces have long frames), selectable. */
    #blazor-error-detail[b-o6o2ub70ke] {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        color: #1b1b1b;
        font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
        font-size: 0.78rem;
        line-height: 1.35;
        margin: 0.5rem 0 0 0;
        overflow-x: auto;
        padding: 0.5rem 0.6rem;
        user-select: text;
        white-space: pre-wrap;
        word-break: break-word;
    }
/* /View/Pages/Error.razor.rz.scp.css */
/* The exception text — same treatment as the error banner's trace pane (MainLayout.razor.css): monospace,
   wrapped (stack frames are long), selectable, and readable on its own light background regardless of the
   app's light-on-dark theme. */
.error-detail[b-q7onj7x7th] {
    background: #fffde7;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    color: #1b1b1b;
    color-scheme: light only;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0.5rem 0;
    max-height: 70vh;
    overflow: auto;
    padding: 0.6rem 0.75rem;
    user-select: text;
    white-space: pre-wrap;
    word-break: break-word;
}
