html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #F7F9FB;
    color: #1A2033;
}

/* ============================================================
   ev2 — Sistema de diseño (paleta única)
   Primario #1565C0 · Azul suave #E3F0FF · Texto #1A2033
   Subt. #4A5568 · Aux. #7A8394 · Borde #E4E8ED · Fondo #F7F9FB
   Ámbar #9A6E28 / #FDF3E0 · Error #C62828 · Blanco #FFFFFF
   ============================================================ */

.ev2-page {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.ev2-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ev2-back-btn {
    color: #4A5568 !important;
    text-transform: none !important;
    font-weight: 500;
}

.ev2-progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.ev2-progress-label {
    color: #7A8394;
    font-size: 0.75rem;
}

.ev2-progress-bar {
    width: 130px;
    height: 6px !important;
}

.ev2-header {
    margin-bottom: 1.5rem;
}

.ev2-title {
    color: #1A2033 !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem;
}

.ev2-subtitle {
    color: #7A8394 !important;
}

.ev2-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.ev2-loading-text {
    color: #4A5568;
}

.ev2-anio-wrap {
    margin-bottom: 1.5rem;
}

.ev2-card {
    background: #FFFFFF;
    border: 1px solid #E4E8ED;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.ev2-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ev2-q-label {
    color: #4A5568;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ev2-required-badge {
    background: #FDF3E0;
    color: #9A6E28;
    border-radius: 999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.ev2-q-text {
    color: #1A2033;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.ev2-q-obs {
    color: #7A8394;
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.45;
}

.ev2-textfield {
    margin-top: 0.25rem;
}

.ev2-rating-wrap {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 0.25rem;
}

.ev2-rating-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ev2-rating-inner .mud-rating-item:hover,
.ev2-rating-inner .mud-rating-item:focus,
.ev2-rating-inner .mud-ripple {
    background: transparent !important;
}

.ev2-rating-nums {
    display: flex;
    gap: 0;
    justify-content: center;
}

.ev2-rating-num {
    width: 48px;
    text-align: center;
    color: #7A8394;
    font-size: 0.8125rem;
}

.ev2-rating-num--active {
    color: #1565C0;
    font-weight: 700;
}

.ev2-scale-ends {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.25rem;
}

.ev2-scale-label {
    color: #7A8394;
    font-size: 0.75rem;
}

.ev2-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.ev2-submit-btn {
    text-transform: none !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 0.625rem 1.5rem !important;
}

/* Blazor error boundary keeps default look for diagnostics */
.blazor-error-boundary {
    background: #C62828;
    padding: 1rem;
    color: white;
    border-radius: 4px;
}

.blazor-error-boundary::after {
    content: "Ocurrió un error.";
}

.validation-message {
    color: #C62828;
    font-size: 0.8125rem;
}
