/* The console's own few rules (design/server/console.md#console); MudBlazor styles the rest from ConsoleTheme. The loading
   shell uses the site's tokens (/site/styles.css), so it paints in the user's theme before .NET has started. */

.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1rem; background: var(--bg); color: var(--muted); }

.boot-mark { width: 44px; height: 44px; color: var(--accent); animation: boot-spin 1.1s linear infinite; }

@keyframes boot-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .boot-mark { animation: none; } }

.boot-error { position: fixed; inset: auto 1rem 1rem; z-index: 2000; padding: 0.75rem 1rem; border-radius: 10px; background: #7f1d1d; color: #fff; }

.boot-error a { color: #fff; font-weight: 600; }

.boot-error:not([hidden]) { display: block; }

/* Shell */
.console-main { min-height: calc(100vh - var(--mud-appbar-height)); }

.console-content { padding-block: 1.5rem 3rem; }

.brand-link { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font-weight: 650; }

.brand-link img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }

.nav-heading { padding: 1rem 1.25rem 0.25rem; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mud-palette-text-secondary); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1400; padding: 0.5rem 1rem; border-radius: 6px; background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); }

.skip-link:focus { top: 0.5rem; }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mud-palette-text-disabled); }

.live-dot.on { background: var(--mud-palette-success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-success) 25%, transparent); }

/* Pages */
.page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.page-header .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.85em; }

.stat-value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }

.empty-state { display: grid; justify-items: center; gap: 0.5rem; padding: 2.5rem 1rem; text-align: center; color: var(--mud-palette-text-secondary); }

.empty-state .mud-icon-root { font-size: 2.5rem; opacity: 0.7; }

.wrap-anywhere { overflow-wrap: anywhere; }

.json-view { max-height: 60vh; overflow: auto; margin: 0; padding: 1rem; border-radius: 8px; background: var(--mud-palette-background-gray); white-space: pre-wrap; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }

.filters > * { min-width: 180px; flex: 0 1 220px; }

.filters .grow { flex: 1 1 280px; }

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

.brand-endorsement { padding: 1rem 1.5rem; color: var(--mud-palette-text-secondary); font-size: 0.8rem; }

.boot-brand { width: 80px; height: 80px; object-fit: contain; }
