/* ============================================================
   shell.css — tokens / utilidades del shell Core (FASE E)
   Clases genéricas del shell reusable (auth brand, error pages,
   sidebar brand text). Sin nombres de módulos de dominio.
   components.css / main.css siguen como skin legacy domain.
   ============================================================ */

:root {
    --shell-text: #1f2937;
    --shell-muted: #6b7280;
    --shell-surface: #f8fafc;
    --shell-border: #e5e7eb;
    --shell-accent: #334155;
}

.auth-brand-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--shell-accent, #334155);
    text-align: center;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sidebar-brand-title {
    font-weight: 700;
    line-height: 1.2;
}

.sidebar-brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.2;
}

.auth-brand .auth-institution {
    margin-top: 0.5rem;
}

.error-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--shell-text);
    font-family: Georgia, "Times New Roman", serif;
}

.error-shell {
    max-width: 28rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.error-brand {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shell-accent);
    margin: 0 0 1.5rem;
}

.error-code {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--shell-muted);
    line-height: 1;
}

.error-title {
    font-size: 1.35rem;
    margin: 0.75rem 0;
}

.error-message,
.error-detail {
    color: var(--shell-muted);
    margin: 0.5rem 0;
}

.error-detail {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.85rem;
    word-break: break-word;
    background: #fff;
    border: 1px solid var(--shell-border);
    padding: 0.75rem;
    text-align: left;
}

.error-actions {
    margin-top: 1.75rem;
}
