/* Single-purpose helpers — use sparingly (skill: no !important except here). */

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

.is-hidden {
    display: none !important;
}

.is-visible {
    display: block !important;
}

.text-muted {
    color: var(--color-text-muted);
}

.u-mt-4 {
    margin-top: var(--space-4, 1rem);
}

.u-mb-4 {
    margin-bottom: var(--space-4, 1rem);
}

.error-page {
    max-width: min(700px, 90vw);
    margin: 40px auto;
    padding: var(--space-4, 20px);
    text-align: center;
}

.error-page-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 20px;
}

.error-page-lead {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.error-page-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-traceback {
    margin-top: 24px;
    text-align: left;
    overflow: auto;
    max-height: 240px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
    border-radius: var(--radius-md, 8px);
}
