:root {
    --drawer-empty: #f1f3f5;
    --drawer-content: #d1e7dd;
    --drawer-blocked: #f8d7da;
}

body {
    background: #f8fafc;
}

.cabinet-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.cabinet-tab {
    border: 1px solid #ced4da;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    white-space: nowrap;
    cursor: pointer;
    font-size: 0.9rem;
}

.cabinet-tab.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.drawer-grid {
    --cols: 8;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(42px, 1fr));
    gap: 8px;
}

.drawer-btn {
    border: 1px solid #cfd4da;
    border-radius: 10px;
    min-height: 56px;
    padding: 4px;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--drawer-empty);
}

.drawer-btn.has-content {
    background: var(--drawer-content);
}

.drawer-btn.blocked {
    background: var(--drawer-blocked);
    border-color: #dc3545;
}

.drawer-btn small {
    line-height: 1;
    opacity: 0.8;
}

.drawer-btn strong {
    line-height: 1.1;
}

@media (max-width: 575px) {
    .drawer-grid {
        gap: 6px;
    }
    .drawer-btn {
        min-height: 50px;
        font-size: 0.7rem;
    }
}
