/* PCMB: light-only + remove Filament chrome */

/* FIX: даже если где-то у Filament включится dark — принудительно светлая схема */
:root { color-scheme: light; }

/* Убираем верхний topbar Filament (CRM + avatar) */
.fi-topbar { display: none !important; }

/* Убираем левый sidebar Filament */
.fi-sidebar { display: none !important; }

/* Убираем резерв слева под sidebar */
.fi-main { padding-left: 0 !important; }

/* Растягиваем контент */
.fi-page, .fi-page-content, .fi-body, .fi-layout { max-width: 100% !important; }

/* Единый стандарт рабочей области: симметричные поля слева/справа */
.fi-layout .fi-main-ctn {
    width: 100% !important;
    max-width: 100% !important;
}

.fi-layout .fi-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

/* Remove default Filament vertical spacing between custom top header and page content */
.fi-main-ctn,
.fi-main,
.fi-page,
.fi-page-content,
.fi-page-content-ctn {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.fi-page > section {
    padding-top: 2px !important;
    padding-bottom: 0 !important;
    gap: 2px !important;
    row-gap: 2px !important;
}

.fi-page > section > .grid,
.fi-page > section > div.grid,
.fi-page > section > div[class*="gap-y-"] {
    gap: 2px !important;
    row-gap: 2px !important;
}
