:root {
    --rz-primary: #F66308;
    --rz-primary-light: #ff8a3d;
    --rz-primary-lighter: rgba(246, 99, 8, 0.12);
    --rz-primary-dark: #d45200;
    --rz-primary-darker: #282828;
    --rz-on-primary: #ffffff;
    --rz-on-primary-light: #282828;
    --rz-on-primary-lighter: #F66308;
    --rz-secondary: #6b6560;
    --rz-secondary-light: #8a847e;
    --rz-secondary-lighter: rgba(107, 101, 96, 0.12);
    --rz-secondary-dark: #4e4945;
    --rz-secondary-darker: #282828;
    --rz-text-font-family: Inter, "Segoe UI", Roboto, sans-serif;
    --rz-text-title-color: #282828;
    --rz-text-color: #282828;
    --rz-text-secondary-color: #6b6560;
    --rz-base-50: #fbfaf8;
    --rz-base-100: #f4f1ec;
    --rz-base-200: #f4f1ec;
    --rz-base-300: #e6ddd4;
    --rz-header-background-color: #ffffff;
    --rz-header-color: #282828;
    --rz-sidebar-background-color: #ffffff;
    --rz-sidebar-color: #282828;
    --rz-sidebar-toggle-color: #F66308;
    --rz-sidebar-toggle-hover-background-color: #fff1e6;
    --rz-panel-menu-item-hover-background-color: #fff1e6;
    --rz-panel-menu-item-active-color: #F66308;
    --rz-panel-menu-item-active-background-color: #fff1e6;
    --rz-panel-menu-item-active-indicator: #F66308;
    --rz-body-background-color: transparent;
}

h1:focus {
    outline: none;
}

body {
    margin: 0;
    background: #f4f1ec;
    color: #282828;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
}

.rz-header {
    background: #fff !important;
    height: 118px !important;
    min-height: 118px !important;
    padding: 0 !important;
    border-bottom: 1px solid #e6ddd4;
}

.rz-body {
    background: transparent;
}

.rz-sidebar {
    z-index: 3;
    border-inline-end: 1px solid #e6ddd4;
    box-shadow: 8px 0 24px rgba(40, 40, 40, 0.08);
}

.rz-sidebar-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    margin: 0 !important;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e6ddd4 !important;
    border-radius: 12px;
    background: #ffffff !important;
    color: #F66308 !important;
    padding: 0 !important;
}

.rz-sidebar-toggle:hover {
    background: #fff1e6 !important;
    color: #F66308 !important;
}

.rz-grid-table thead .rz-column-title,
.rz-grid-table thead .rz-column-title-content {
    white-space: nowrap;
}

.rz-data-grid .rz-data-row.rz-state-highlight > td {
    font-weight: 700;
}

.inicio {
    max-width: 40rem;
}

.inicio h1 {
    margin: 0 0 0.6rem;
    font-size: 1.6rem;
}

.inicio p {
    margin: 0;
    color: #6b6560;
    line-height: 1.5;
}

.eh-mobile .rz-sidebar.rz-sidebar-expanded {
    position: fixed !important;
    z-index: 30;
    top: 0;
    bottom: 0;
    height: 100dvh;
    max-width: min(300px, 86vw);
}

@media (max-width: 720px) {
    .rz-header {
        height: auto !important;
        min-height: 0 !important;
    }

    .rz-body {
        padding: 0.75rem !important;
    }

    .rz-sidebar.rz-sidebar-expanded {
        position: fixed !important;
        z-index: 30;
        top: 0;
        bottom: 0;
        height: 100dvh;
        max-width: min(300px, 86vw);
    }
}

@media (max-width: 768px) {
    .rz-datatable-reflow .rz-data-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem 0.75rem;
        margin: 0 0 0.75rem;
        padding: 0.75rem;
        border: 1px solid #e6ddd4;
        border-radius: 0.6rem;
        background: #fff;
    }

    .rz-datatable-reflow .rz-data-row > td {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        width: auto !important;
        min-width: 0;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        white-space: normal;
    }

    .rz-datatable-reflow .rz-data-row > td:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
