/* ==========================================
   Hub Drawers — Gavetas e Modais
   Tokens: var(--hub-*) como fonte da verdade
   ========================================== */

/* --- .hub-drawer (Canônico) --- */
.hub-drawer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    justify-items: end;
}
.hub-drawer[hidden] {
    display: none;
}

/* --- Auditoria de Metadados --- */
.beto-audit-modal {
    z-index: 101000;
}

.beto-audit-modal .beto-table-wrap {
    padding: var(--space-s);
}

.beto-audit-modal__results {
    margin-top: var(--space-s);
}

/* --- Desktop Drawer Footer Buttons Height Standardization --- */
@media (min-width: 861px) {
    .beto-drawer__footer .hub-button,
    .beto-drawer__footer .beto-button {
        height: var(--hub-button-height);
        min-height: var(--hub-button-height);
        padding: 0 var(--space-s);
        flex-shrink: 0;
    }
}
