/* Mejoras de layout en escritorio (≥901px). */

@media (min-width: 901px) {
    body {
        background: #eef1f5;
    }

    .container {
        margin-top: 28px !important;
        margin-bottom: 40px !important;
    }

    .card {
        padding: 28px 32px !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06) !important;
    }

    /* Cabecera de ficha: nombre a la izquierda, acciones alineadas a la derecha */
    .person-page-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px 24px;
        margin-bottom: 4px;
    }

    .person-page-header h2 {
        flex: 1 1 280px;
        min-width: 0;
        line-height: 1.35;
    }

    .person-page-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .person-page-actions .btn-sm {
        min-width: 148px;
        text-align: center;
        padding: 9px 16px !important;
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .history-item {
        padding: 10px 14px;
        border-radius: 8px;
    }

    .history-item:nth-child(even) {
        background: #fafbfc;
    }
}
