/* MudBlazor owns almost everything now. This file keeps only:
   the Blazor framework error UI, the auth-page shell, and a few app bits. */

html, body { margin: 0; }

/* audio players used inside Mud cards/tables */
audio { width: 100%; max-width: 520px; height: 40px; vertical-align: middle; }

.ws-mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace; }

/* keep short table cells (actions, durations) on one line */
td.nowrap { white-space: nowrap; }

/* auth pages (EmptyLayout) */
.ws-auth-shell {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-background, #141210);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Blazor's unhandled-error strip (framework markup, kept as-is) */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 3000;
    padding: .75rem 1.25rem;
    background: #b00020;
    color: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .4);
}
#blazor-error-ui .reload { color: #fff; text-decoration: underline; margin-left: .5rem; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

@media print {
    .mud-appbar, .mud-drawer, audio { display: none !important; }
}
