/* ── Sidebar — mobile: Claude-style full-bleed ── */

@media (max-width: 768px) {
    .sidebar {
        /* Full edge-to-edge — no rounded corners, no border */
        border-right: none !important;
        border-radius: 0 !important;
        box-shadow: 4px 0 32px rgba(0, 0, 0, 0.12);
        /* Remove sidebar-level safe-area padding — handled by children */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Header: push content below status bar, but background extends behind it */
    .sidebar .sidebar-header {
        border-bottom: none !important;
        padding-top: calc(1rem + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: 0.75rem;
    }

    /* Nav: fill available space, scroll if needed */
    .sidebar .sidebar-nav {
        flex: 1;
        overflow-y: auto;
        border-top: none !important;
        border-bottom: none !important;
    }

    /* Footer: push to bottom, pad for home indicator */
    .sidebar .sidebar-footer {
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)) !important;
        margin-top: auto;
    }
}
