.nexa-shell {
    min-height: 100vh;
    background: var(--nexa-bg);
}

.nexa-layout {
    display: flex;
    min-height: calc(100vh - var(--nexa-header-height));
}

.nexa-sidebar {
    width: var(--nexa-sidebar-width);
    background: var(--nexa-sidebar-bg);
    color: var(--nexa-sidebar-text);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease;
}

.nexa-sidebar.collapsed {
    width: var(--nexa-sidebar-collapsed-width);
}

.nexa-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nexa-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background: var(--nexa-bg);
}

.nexa-page {
    max-width: 1700px;
    width: 100%;
    margin: auto;
}

.nexa-row {
    display: flex;
    gap: 24px;
}

.nexa-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nexa-grow {
    flex: 1;
}

.nexa-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexa-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nexa-wrap {
    flex-wrap: wrap;
}

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

.nexa-scroll-y {
    overflow-y: auto;
}

.nexa-scroll-x {
    overflow-x: auto;
}

.nexa-fill {
    width: 100%;
}

.nexa-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nexa-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 24px;
}

.nexa-tab-section {
    margin-top: 24px;
}

.nexa-section-title {
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.nexa-sticky {
    position: sticky;
    top: 0;
}

.nexa-footer-space {
    height: 30px;
}

@media (max-width: 1400px) {
    .nexa-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .nexa-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nexa-layout {
        flex-direction: column;
    }

    .nexa-sidebar {
        width: 100%;
    }

    .nexa-content {
        padding: 18px;
    }
}

@media (max-width: 650px) {
    .nexa-kpi-grid {
        grid-template-columns: 1fr;
    }
}
