/* ═══════════════════════════════════════════════════════════════════════════
   RS Flow — Main Stylesheet
   Colors: Charcoal #2c3a4a (R), Steel Blue #6b8fbe (S), BG #f0f4f8
   Compact sizing: 87.5% root font-size = ~14px base, no body zoom needed
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --rs-sidebar-w:    200px;
    --rs-topbar-h:     44px;
    --rs-bg:           #f0f4f8;
    --rs-sidebar-bg:   #2c3a4a;
    --rs-sidebar-txt:  rgba(255,255,255,.68);
    --rs-sidebar-sec:  rgba(255,255,255,.28);
    --rs-accent:       #6b8fbe;
    --rs-accent-light: rgba(107,143,190,.14);
    --rs-accent-dark:  #4d6f99;
    --rs-text:         #1e2d3d;
    --rs-text-muted:   #6b7a8d;
    --rs-border:       #e2e8f0;
    --rs-card-bg:      #ffffff;
    --rs-topbar-bg:    #ffffff;
}

/* ── Global compact scale (no body zoom needed) ───────────────────────────── */
html { font-size: 87.5%; }   /* 14px base — matches maridadilounge scale */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .82rem;
    background: var(--rs-bg);
    color: var(--rs-text);
    -webkit-font-smoothing: antialiased;
}

/* ── Bootstrap compact overrides ─────────────────────────────────────────── */
.form-control, .form-select { font-size: .78rem !important; padding: .24rem .48rem !important; }
.form-control-sm, .form-select-sm { font-size: .74rem !important; padding: .18rem .4rem !important; }
.form-label  { font-size: .74rem; margin-bottom: .2rem; font-weight: 600; color: #374151; }
.btn         { font-size: .78rem !important; padding: .24rem .58rem !important; }
.btn-sm      { font-size: .72rem !important; padding: .18rem .44rem !important; }
.btn-lg      { font-size: .88rem !important; padding: .4rem .9rem !important; }
.badge       { font-size: .62rem !important; }
.table-sm td, .table-sm th { padding: .28rem .5rem !important; font-size: .76rem; }
.table th    { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rs-text-muted); }
.card        { border-radius: 8px !important; }
.card.border-0.shadow-sm { box-shadow: 0 1px 5px rgba(0,0,0,.07) !important; }
.dropdown-item { font-size: .78rem; padding: .3rem .9rem; }
.modal-title   { font-size: .88rem; }
.modal-body    { font-size: .80rem; }

/* ── Layout Shell ─────────────────────────────────────────────────────────── */
.rs-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.rs-sidebar {
    position: fixed; top: 0; left: 0;
    width: var(--rs-sidebar-w); height: 100vh;
    background: var(--rs-sidebar-bg);
    display: flex; flex-direction: column;
    z-index: 1000; overflow-y: auto; overflow-x: hidden;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
}
.rs-sidebar::-webkit-scrollbar { width: 3px; }
.rs-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }

.rs-sidebar-brand-row {
    display: flex; align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.rs-sidebar-brand {
    padding: 12px 14px 10px;
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
    flex: 1; min-width: 0;
}
/* In-sidebar pin/collapse button · sits at the top-right of the brand row.
   Rendered as a visible light-gray pill so the target is obvious against the
   dark charcoal sidebar. Hover lifts, active pushes. */
.rs-sidebar-pin {
    background: #cbd5e1; border: 1px solid #dbe2ec;
    cursor: pointer; color: #334155;
    margin: 10px 12px 8px 4px;
    padding: 0; width: 30px; height: 30px;
    border-radius: 6px; font-size: .8rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: color .15s, background .15s, border-color .15s, transform .15s;
    flex-shrink: 0;
}
.rs-sidebar-pin:hover  { background: #e2e8f0; border-color: #eef2f7; color: #1e293b; transform: scale(1.05); }
.rs-sidebar-pin:active { transform: scale(.95); }
.rs-sidebar-pin i      { transition: transform .2s ease; }
/* Sticky-open → chevron points left ("collapse"). Collapsed/previewing → points right ("pin"). */
.rs-wrapper.rs-collapsed .rs-sidebar-pin i { transform: rotate(180deg); }

/* Left-edge hover trigger · invisible slim strip along the viewport's left
   edge that reveals the sidebar preview when the pointer brushes past it.
   Only active while the sidebar is fully collapsed. */
.rs-sidebar-edge-zone {
    position: fixed; top: 0; left: 0;
    width: 8px; height: 100vh;
    z-index: 998;
    pointer-events: none;
}
.rs-wrapper.rs-collapsed .rs-sidebar-edge-zone { pointer-events: auto; }
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar-edge-zone { pointer-events: none; }
.rs-sidebar-brand img { height: 28px; width: auto; object-fit: contain; }
.rs-sidebar-brand .brand-name  { color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .2px; line-height: 1.1; }
.rs-sidebar-brand .brand-sub   { color: var(--rs-sidebar-sec); font-size: .58rem; letter-spacing: 1px; text-transform: uppercase; }

.rs-nav { flex: 1; padding: 5px 0 4px; }
.rs-nav ul { list-style: none; margin: 0; padding: 0; }

/* ── Sidebar search box ────────────────────────────────────────────────────── */
.rs-nav-search {
    position: relative;
    margin: 6px 10px 10px;
}
.rs-nav-search input {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-size: .72rem;
    padding: 6px 26px 6px 26px;
    border-radius: 6px;
    outline: none;
    transition: background .15s, border-color .15s;
}
.rs-nav-search input::placeholder { color: rgba(255,255,255,.35); }
.rs-nav-search input:focus {
    background: rgba(255,255,255,.11);
    border-color: rgba(255,255,255,.28);
}
.rs-nav-search-ico {
    position: absolute; top: 50%; left: 9px; transform: translateY(-50%);
    color: rgba(255,255,255,.4); font-size: .65rem; pointer-events: none;
}
.rs-nav-search-clear {
    position: absolute; top: 50%; right: 9px; transform: translateY(-50%);
    color: rgba(255,255,255,.4); font-size: .7rem; cursor: pointer;
    display: none;
}
.rs-nav-search-clear:hover { color: rgba(255,255,255,.85); }
.rs-nav.is-searching .rs-nav-search-clear { display: block; }

/* Filtered-out items when searching */
.rs-nav.is-searching .rs-nav-link.nav-hidden,
.rs-nav.is-searching .rs-nav-section.nav-hidden,
.rs-nav.is-searching .rs-nav-section-items.nav-hidden { display: none !important; }
/* Force sections open while searching so matches are visible */
.rs-nav.is-searching .rs-nav-section-items { max-height: none !important; opacity: 1 !important; }
.rs-nav.is-searching .rs-nav-section.collapsed .section-chevron { transform: rotate(0deg); }

.rs-nav-empty {
    padding: 16px 14px; color: rgba(255,255,255,.35); font-size: .72rem;
    text-align: center; display: none;
}
.rs-nav.is-searching.is-empty .rs-nav-empty { display: block; }

.rs-nav-section {
    font-size: .57rem; font-weight: 700; letter-spacing: 1.2px;
    color: var(--rs-sidebar-sec); text-transform: uppercase;
    padding: 10px 14px 3px;
    display: flex; align-items: center; gap: 7px;
    cursor: pointer; user-select: none;
    transition: color .15s;
}
.rs-nav-section:hover { color: rgba(255,255,255,.58); }
.rs-nav-section .section-chevron {
    margin-left: auto; font-size: .52rem;
    transition: transform .2s ease;
    opacity: .6;
}
.rs-nav-section.collapsed .section-chevron { transform: rotate(-90deg); }

/* ── Sidebar section collapsible items ─────────────────────────────────────── */
.rs-nav-section-items {
    overflow: hidden;
    max-height: 800px; /* enough for any section */
    transition: max-height .3s ease, opacity .25s ease;
    opacity: 1;
}
.rs-nav-section-items.collapsed {
    max-height: 0;
    opacity: 0;
}

.rs-nav-link {
    display: flex; align-items: center; gap: 7px;
    padding: 6px 14px; color: var(--rs-sidebar-txt);
    text-decoration: none; font-size: .74rem; font-weight: 400;
    border-left: 3px solid transparent;
    transition: background .12s, color .12s, border-color .12s;
}
.rs-nav-link:hover  { background: rgba(255,255,255,.05); color: #fff; border-left-color: var(--rs-accent-light); }
.rs-nav-link.active { background: var(--rs-accent-light); color: #fff; border-left-color: var(--rs-accent); font-weight: 500; }
.rs-nav-link i      { width: 13px; text-align: center; font-size: .74rem; opacity: .82; flex-shrink: 0; }
.rs-nav-link.active i { opacity: 1; }
.rs-nav-link .badge { margin-left: auto; }

/* ── Sidebar footer (user) ────────────────────────────────────────────────── */
.rs-sidebar-footer {
    padding: 8px 14px; border-top: 1px solid rgba(255,255,255,.07);
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.rs-user-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--rs-accent-light); color: var(--rs-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 700; flex-shrink: 0;
}
.rs-user-name { color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-user-role { color: rgba(255,255,255,.38); font-size: .58rem; margin-top: 1px; }

/* ── Main Area ────────────────────────────────────────────────────────────── */
.rs-main { margin-left: var(--rs-sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ── Topbar ───────────────────────────────────────────────────────────────── */
.rs-topbar {
    position: sticky; top: 0; z-index: 900;
    height: var(--rs-topbar-h);
    background: var(--rs-topbar-bg);
    border-bottom: 1px solid var(--rs-border);
    display: flex; align-items: center; gap: 12px;
    padding: 0 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.rs-topbar .page-title   { font-size: .82rem; font-weight: 700; color: var(--rs-text); }
.rs-topbar .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rs-topbar .date-pill    { font-size: .68rem; color: var(--rs-text-muted); font-variant-numeric: tabular-nums; }
.rs-sidebar-toggle {
    background: none; border: none; cursor: pointer;
    color: var(--rs-text-muted); padding: .22rem .4rem;
    border-radius: 4px; font-size: .9rem; line-height: 1;
}
.rs-sidebar-toggle:hover { background: var(--rs-bg); color: var(--rs-text); }

/* ── Content ──────────────────────────────────────────────────────────────── */
.rs-content { flex: 1; padding: 16px; }

/* ── RS Cards ─────────────────────────────────────────────────────────────── */
.rs-card { background: var(--rs-card-bg); border-radius: 8px; border: 1px solid var(--rs-border); box-shadow: 0 1px 4px rgba(44,58,74,.06); }
.rs-stat-card { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.rs-stat-card .stat-value { font-size: 1.5rem; font-weight: 800; color: var(--rs-text); line-height: 1; }
.rs-stat-card .stat-label { font-size: .67rem; color: var(--rs-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.rs-stat-card .stat-icon  { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.rs-stat-card .stat-icon.blue  { background: var(--rs-accent-light); color: var(--rs-accent); }
.rs-stat-card .stat-icon.green { background: rgba(34,197,94,.12);    color: #16a34a; }
.rs-stat-card .stat-icon.amber { background: rgba(245,158,11,.12);   color: #d97706; }
.rs-stat-card .stat-icon.red   { background: rgba(239,68,68,.12);    color: #dc2626; }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table > thead > tr > th { background: #f7f9fc; font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--rs-text-muted); text-transform: uppercase; border-bottom: 1px solid var(--rs-border); }
.table-hover tbody tr:hover td { background: #f3f7ff; }

/* ── Button colours ───────────────────────────────────────────────────────── */
.btn-primary   { background: var(--rs-accent) !important; border-color: var(--rs-accent) !important; color: #fff !important; }
.btn-primary:hover { background: var(--rs-accent-dark) !important; border-color: var(--rs-accent-dark) !important; }
.btn-outline-primary { color: var(--rs-accent) !important; border-color: var(--rs-accent) !important; }
.btn-outline-primary:hover { background: var(--rs-accent) !important; border-color: var(--rs-accent) !important; color: #fff !important; }
.badge.bg-primary { background-color: var(--rs-accent) !important; }

/* ── POS specific ─────────────────────────────────────────────────────────── */
.pos-product-card {
    cursor: pointer; border: 1px solid var(--rs-border) !important;
    border-radius: 7px !important; transition: border-color .12s, box-shadow .12s;
    background: #fff;
}
.pos-product-card:hover { border-color: var(--rs-accent) !important; box-shadow: 0 2px 8px rgba(107,143,190,.2) !important; }
.pos-product-card.oos   { opacity: .45; cursor: not-allowed; }
.pos-product-name  { font-size: .74rem; font-weight: 600; line-height: 1.25; color: var(--rs-text); }
.pos-product-sku   { font-size: .62rem; color: var(--rs-text-muted); }
.pos-product-price { font-size: .8rem; font-weight: 700; color: var(--rs-accent); margin-top: 3px; }

/* ── Login page ───────────────────────────────────────────────────────────── */
.rs-login-bg {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--rs-sidebar-bg) 0%, #1a2636 100%);
}
.rs-login-card {
    background: #fff; border-radius: 10px; padding: 2rem 1.75rem;
    width: 100%; max-width: 360px;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

/* ── Modal overlay ────────────────────────────────────────────────────────── */
.modal-backdrop { z-index: 1040; }
.modal          { z-index: 1050; }

/* ── Media picker ─────────────────────────────────────────────────────────── */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: .5rem; }
.mp-item { border: 2px solid transparent; border-radius: 7px; overflow: hidden; cursor: pointer; background: #f8f9fa; transition: border-color .13s; }
.mp-item:hover { border-color: var(--rs-accent); }
.mp-item img { width: 100%; height: 88px; object-fit: cover; display: block; }
.mp-item-icon { width: 100%; height: 88px; display: flex; align-items: center; justify-content: center; }
.mp-item-name { font-size: .63rem; padding: .2rem .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; border-top: 1px solid #f0f0f0; }
.mp-upload-zone { border: 2px dashed #adb5bd; border-radius: 10px; padding: 2.5rem 1rem; text-align: center; cursor: pointer; transition: border-color .2s,background .2s; }
.mp-upload-zone:hover, .mp-upload-zone.dragover { border-color: var(--rs-accent); background: #eef4fd; }
.mp-upload-zone i { font-size: 2rem; color: #adb5bd; }

/* ── CMS Admin Cards & Tables (for ShopAdmin pages using main layout) ─────── */
.cms-page-header { margin-bottom: 1.2rem; }
.cms-title { font-size: .95rem; font-weight: 700; color: var(--rs-text); margin: 0 0 .1rem; }
.cms-subtitle { font-size: .72rem; color: var(--rs-text-muted); margin: 0; }

.cms-card {
    background: #fff;
    border: 1px solid var(--rs-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.cms-card .card-header {
    background: #f8fafc;
    padding: .5rem .85rem;
    border-bottom: 1px solid var(--rs-border);
    font-size: .78rem;
    font-weight: 600;
}
.cms-card .card-body {
    padding: .85rem;
    background: #fff;
}

.cms-table {
    font-size: .78rem;
    width: 100%;
}
.cms-table thead th {
    background: #f8fafc;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rs-text-muted);
    padding: .35rem .55rem;
    border-bottom: 1px solid var(--rs-border);
}
.cms-table tbody td {
    font-size: .76rem;
    padding: .35rem .55rem;
    vertical-align: middle;
    color: var(--rs-text);
}
.cms-table .table > :not(caption) > * > * {
    padding: .35rem .55rem;
}

.btn-cta {
    background: #d42020;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: .78rem;
    padding: .4rem 1rem;
    transition: background .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-cta:hover {
    background: #b51c1c;
    color: #fff;
}

.text-pink { color: #e64980; }
.bg-pink { background-color: #e64980 !important; color: #fff; }

/* ── Sidebar toggle (claude.ai-style collapsible shell) ─────────────────────
   Click the hamburger in the topbar to slide the sidebar off-screen; the main
   area's left margin animates in step so no dead gutter is left behind.
   State persists per-user in localStorage. Ctrl/Cmd+B toggles from anywhere. */
.rs-sidebar { transition: width .22s cubic-bezier(.4, 0, .2, 1), transform .25s cubic-bezier(.4, 0, .2, 1); }
.rs-main    { transition: margin-left .22s cubic-bezier(.4, 0, .2, 1); }

/* ── Rail mode ────────────────────────────────────────────────────────────
   Collapsed = icon-only rail (56px). The rail is always visible on desktop;
   only the text labels + section titles + brand text hide. Hovering a link
   pops the label up as a floating tooltip.
   Mobile still slides fully off-screen (see the @media block below). */
:root { --rs-sidebar-rail: 56px; }

.rs-wrapper.rs-collapsed .rs-sidebar { width: var(--rs-sidebar-rail); overflow: hidden; }
.rs-wrapper.rs-collapsed .rs-main    { margin-left: var(--rs-sidebar-rail); }

/* Hide text — icons stay, everything text-shaped goes. */
.rs-wrapper.rs-collapsed .rs-nav-link span,
.rs-wrapper.rs-collapsed .rs-nav-section,
.rs-wrapper.rs-collapsed .rs-sidebar-brand > div,
.rs-wrapper.rs-collapsed .rs-sidebar-footer,
.rs-wrapper.rs-collapsed .rs-nav-search { display: none; }
.rs-wrapper.rs-collapsed .rs-nav-section-items { display: block !important; max-height: none !important; opacity: 1 !important; }
.rs-wrapper.rs-collapsed .rs-nav-link {
    justify-content: center;
    padding: 10px 0;
    position: relative;
}
.rs-wrapper.rs-collapsed .rs-nav-link i {
    width: 100%; text-align: center; font-size: 1rem; opacity: .9;
}

/* Top of the rail — chevron on top, small centered logo directly beneath.
   Gives the rail its own identity without the empty search box. */
.rs-wrapper.rs-collapsed .rs-sidebar-brand-row {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 12px;
}
.rs-wrapper.rs-collapsed .rs-sidebar-brand {
    padding: 0; justify-content: center; width: 100%;
}
.rs-wrapper.rs-collapsed .rs-sidebar-brand img {
    height: 26px; width: auto; opacity: .95;
}
.rs-wrapper.rs-collapsed .rs-sidebar-pin { margin: 0; }

/* Floating tooltip on hover — reuse the link's own <span> instead of adding
   data attributes, so every sidebar (10 of them) needs zero markup change. */
.rs-wrapper.rs-collapsed .rs-nav-link:hover span {
    display: block !important;
    position: absolute;
    left: 100%; top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
    padding: 5px 10px;
    background: #0F172A;
    color: #fff;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .01em;
    border-radius: 3px;
    white-space: nowrap;
    box-shadow: 0 6px 18px -4px rgba(0,0,0,.35);
    z-index: 1000;
    pointer-events: none;
}

/* Highlight the pin so it stays discoverable in rail mode. */
.rs-wrapper.rs-collapsed .rs-sidebar-toggle {
    background: var(--rs-accent-light);
    color: var(--rs-accent-dark);
}

/* Hover-preview: while the user brushes the left-edge zone (or hovers the
   sidebar itself) in the collapsed state, the sidebar expands back to full
   width as an OVERLAY. Main content stays in its rail-margin, so the full
   sidebar floats over content. Pointer leaves both zones → back to rail. */
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar {
    width: var(--rs-sidebar-w);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    z-index: 1001;
}
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-link span,
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-section,
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar-brand > div,
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar-footer { display: block; }
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-search { display: flex; }
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar-brand-row {
    flex-direction: row; gap: 0; padding: initial;
}
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-sidebar-brand img { height: 28px; opacity: 1; }
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-link {
    justify-content: flex-start; padding: 6px 14px;
}
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-link i {
    width: 13px; text-align: center; font-size: .74rem;
}
.rs-wrapper.rs-collapsed.rs-hover-preview .rs-nav-link:hover span {
    /* revert tooltip → normal inline label during preview */
    display: inline !important;
    position: static;
    background: transparent; color: inherit;
    padding: 0; margin: 0; box-shadow: none;
    transform: none;
}

/* Backdrop for mobile — dim the page while the sidebar is drawn over content. */
.rs-sidebar-backdrop {
    position: fixed; inset: 0; background: rgba(28, 40, 55, .35);
    z-index: 999; opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
}
.rs-sidebar-backdrop.is-visible { opacity: 1; pointer-events: auto; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Mobile: main content never reserves a sidebar gutter — the sidebar overlays. */
    .rs-main { margin-left: 0 !important; }
    /* Mobile collapse still slides off-screen entirely — a 56px rail eats
       too much of a phone viewport. */
    .rs-wrapper.rs-collapsed .rs-sidebar {
        width: var(--rs-sidebar-w);
        transform: translateX(-100%);
        overflow-y: auto;
    }
    /* When sidebar is showing on mobile, drop-shadow it above the page. */
    .rs-wrapper:not(.rs-collapsed) .rs-sidebar { box-shadow: 0 8px 32px rgba(0, 0, 0, .25); }
}
