/* =====================================================================
   Cyber Clinic - LIQUID GLASS  (mobile only: max-width 768px)
   One plain CSS file, no build step.  Desktop is never touched:
   every visual rule lives inside the media query below; the only rules
   outside it just keep the NEW mobile-only elements hidden on desktop.

   Reusable classes for other layouts (dashboard / staff, part 2):
     .lg-page            body class -> gradient background + blobs + bottom padding
     .lg-glass           frosted glass surface        .lg-glass-strong  denser glass
     .lg-card            glass card (radius 26)       .lg-card-red      red glass card
     .lg-hero            blue gradient glass hero card
     .lg-tile            feature tile (.lg-ic + .lg-tile-title + .lg-tile-sub)
     .lg-ic + .lg-ic-blue|mint|violet|peach|pink|amber|red|teal   pastel icon box
     .lg-iconbtn         round glass icon button
     .lg-btn  .lg-btn-primary  .lg-btn-danger   pill buttons
     .lg-search          big glass search bar (.lg-search > i + input)
     .lg-input           glass input             .lg-chip   glass chip / pill
     .lg-row             rounded list row        .lg-drawer  glass side panel
     .lg-tabbar > .lg-tab(.active)   floating bottom tab bar
     .lg-fade-up         fade-in animation       .lg-press  press-scale
   .lg-pager-wrap > .lg-pager  glass pager (<x-pager :paginator="$p" />), default for every paginate() list, all screens
   .lg-ucard / .lg-uchip       phone user cards + role chips (owner Foydalanuvchilar page)

   Part 2 (dashboard + staff panels): body.lg-page.lg-dash, see the
   "DASHBOARD / STAFF PANELS" section at the bottom of this file.
   ===================================================================== */

/* ---- desktop: new elements stay hidden ---- */
.lg-tabbar, .lg-drawer-head, .lg-drawer-foot, .lg-dhero { display: none; }

.lg-uphone, .lg-ulist { display: none; }

/* =========================== GLASS PAGER (all screens) ===========================
   <x-pager :paginator="$users" /> - the ONE pager of the site (also the default view of every paginate()). */
.lg-pager-wrap {
    --pg-fill: rgba(255,255,255,.62); --pg-fill-2: rgba(255,255,255,.84); --pg-border: rgba(255,255,255,.9);
    --pg-text: #0f1a33; --pg-muted: #4b5b78; --pg-blue: #2563eb;
    --pg-sh: 0 10px 34px rgba(64,86,160,.16), 0 2px 8px rgba(64,86,160,.08),
             inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35), inset 0 0 24px rgba(255,255,255,.14);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    max-width: 100%; margin: 18px 0 8px; min-width: 0;
}
[data-bs-theme=dark] .lg-pager-wrap {
    --pg-fill: rgba(255,255,255,.1); --pg-fill-2: rgba(255,255,255,.16); --pg-border: rgba(255,255,255,.2);
    --pg-text: #e9eefc; --pg-muted: #9db0d3; --pg-blue: #8ab8ff;
    --pg-sh: 0 12px 38px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25),
             inset 0 1.5px 0 rgba(255,255,255,.26), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 26px rgba(255,255,255,.04);
}
.lg-pager {
    display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; padding: 6px;
    border-radius: 999px; border: 1px solid var(--pg-border); box-shadow: var(--pg-sh);
    background: linear-gradient(160deg, rgba(255,255,255,.4), rgba(255,255,255,0) 50%), var(--pg-fill);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
}
.lg-pg-nums { order: 2; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.lg-pg-prev { order: 1; } .lg-pg-next { order: 3; }
.lg-pager-wrap .lg-pg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 18px;
    border-radius: 999px; border: 1px solid var(--pg-border); background: var(--pg-fill-2); color: var(--pg-text);
    font-size: .9rem; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 3px 10px rgba(64,86,160,.1);
    transition: transform .18s cubic-bezier(.22,.9,.3,1), color .2s; -webkit-tap-highlight-color: transparent; user-select: none;
}
.lg-pager-wrap a.lg-pg-btn:hover { color: var(--pg-blue); }
.lg-pager-wrap a.lg-pg-btn:active { transform: scale(.95); }
.lg-pager-wrap .lg-pg-btn.is-disabled { opacity: .45; background: transparent; box-shadow: none; pointer-events: none; cursor: default; }
.lg-pager-wrap .lg-pg-num {
    display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 6px;
    border-radius: 999px; border: 1px solid transparent; color: var(--pg-text); font-weight: 700; font-size: .95rem; line-height: 1;
    text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .18s cubic-bezier(.22,.9,.3,1), background .2s;
}
.lg-pager-wrap a.lg-pg-num:hover { background: var(--pg-fill-2); color: var(--pg-blue); }
.lg-pager-wrap a.lg-pg-num:active { transform: scale(.92); }
.lg-pager-wrap .lg-pg-num.is-current {
    color: #fff; background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); border-color: rgba(255,255,255,.5);
    box-shadow: 0 6px 16px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.5);
}
.lg-pg-dots { min-width: 22px; text-align: center; color: var(--pg-muted); font-weight: 700; letter-spacing: 1px; }
.lg-pg-total { font-size: .82rem; font-weight: 600; color: var(--pg-muted); text-align: center; }
@media (max-width: 560px) {
    .lg-pager-wrap { width: 100%; margin: 16px 0 6px; }
    .lg-pager { flex-wrap: wrap; width: 100%; border-radius: 30px; padding: 8px; gap: 8px; }
    .lg-pg-nums { order: 1; width: 100%; gap: 3px; }
    .lg-pager-wrap .lg-pg-num { min-width: 38px; height: 40px; padding: 0 4px; }
    .lg-pg-dots { min-width: 18px; }
    .lg-pg-prev, .lg-pg-next { order: 2; flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 10px; font-size: .95rem; }
    .lg-pager-wrap { scroll-margin-bottom: calc(var(--lg-tab-h, 66px) + 30px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 768px) {

/* =========================== TOKENS =========================== */
:root {
    --lg-blue: #3b82f6; --lg-blue-2: #2563eb; --lg-violet: #6a5cf0;
    --lg-ease: cubic-bezier(.22, .9, .3, 1);
    --lg-r: 26px; --lg-r-lg: 32px; --lg-r-sm: 18px;
    --lg-tab-h: 66px;

    --lg-text: #0f1a33; --lg-muted: #5f6f8c;
    --lg-fill: rgba(255,255,255,.52);
    --lg-fill-2: rgba(255,255,255,.72);
    --lg-fill-3: rgba(255,255,255,.9);
    --lg-input: rgba(255,255,255,.62);
    --lg-border: rgba(255,255,255,.88);
    --lg-hi: rgba(255,255,255,.95);
    --lg-pill: rgba(255,255,255,.78);
    --lg-bar: rgba(255,255,255,.34);
    --lg-sh: 0 10px 34px rgba(64,86,160,.16), 0 2px 8px rgba(64,86,160,.08),
             inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35), inset 0 0 24px rgba(255,255,255,.14);
    --lg-bg-base: #e6eefc;
    --lg-bg: linear-gradient(165deg, #e1edff 0%, #ebe5ff 46%, #dcf6ec 100%);
    --lg-blobs:
        radial-gradient(52vmax 52vmax at 8% 6%,  rgba(96,165,250,.62), transparent 62%),
        radial-gradient(48vmax 48vmax at 96% 22%, rgba(167,139,250,.55), transparent 62%),
        radial-gradient(54vmax 54vmax at 12% 74%, rgba(110,231,183,.55), transparent 62%),
        radial-gradient(46vmax 46vmax at 92% 92%, rgba(125,211,252,.5), transparent 62%);
    --lg-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}
[data-bs-theme=dark] {
    --lg-text: #e9eefc; --lg-muted: #9db0d3;
    --lg-fill: rgba(255,255,255,.075);
    --lg-fill-2: rgba(255,255,255,.12);
    --lg-fill-3: rgba(255,255,255,.18);
    --lg-input: rgba(255,255,255,.08);
    --lg-border: rgba(255,255,255,.17);
    --lg-hi: rgba(255,255,255,.3);
    --lg-pill: rgba(255,255,255,.16);
    --lg-bar: rgba(18,26,52,.46);
    --lg-sh: 0 12px 38px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25),
             inset 0 1.5px 0 rgba(255,255,255,.26), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 26px rgba(255,255,255,.04);
    --lg-bg-base: #0a1226;
    --lg-bg: linear-gradient(165deg, #0a1226 0%, #140f31 50%, #072022 100%);
    --lg-blobs:
        radial-gradient(52vmax 52vmax at 8% 6%,  rgba(59,130,246,.40), transparent 62%),
        radial-gradient(48vmax 48vmax at 96% 22%, rgba(139,92,246,.38), transparent 62%),
        radial-gradient(54vmax 54vmax at 12% 74%, rgba(20,184,166,.30), transparent 62%),
        radial-gradient(46vmax 46vmax at 92% 92%, rgba(56,189,248,.28), transparent 62%);
    --lg-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b6c4e4' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}
/* re-point the site's own tokens to the glass ones */
[data-bs-theme=light], [data-bs-theme=dark] {
    --cc-accent: #3b82f6; --cc-accent2: #6a5cf0; --cc-radius: 26px;
    --cc-bg: transparent; --cc-card: var(--lg-fill); --cc-border: var(--lg-border);
    --cc-text: var(--lg-text); --cc-muted: var(--lg-muted); --cc-header: transparent;
    --cc-shadow: 0 10px 34px rgba(64,86,160,.16);
}
[data-bs-theme=dark] { --cc-shadow: 0 12px 38px rgba(0,0,0,.45); }

/* =========================== PAGE =========================== */
body.cc, body.lg-page {
    position: relative; isolation: isolate;
    background-color: var(--lg-bg-base);
    color: var(--lg-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
    padding-bottom: calc(var(--lg-tab-h) + 38px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
}
body.cc::before, body.lg-page::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: var(--lg-blobs), var(--lg-bg);
}
body.cc::after, body.lg-page::after {
    content: ""; position: fixed; z-index: -1; pointer-events: none;
    width: 70vmax; height: 70vmax; left: -20vmax; top: 30vh; border-radius: 50%;
    background: radial-gradient(circle, rgba(244,168,255,.38), transparent 62%);
    animation: lg-drift 22s ease-in-out infinite alternate;
}
[data-bs-theme=dark] body.cc::after, [data-bs-theme=dark] body.lg-page::after {
    background: radial-gradient(circle, rgba(168,85,247,.22), transparent 62%);
}

body.cc .text-muted { color: var(--lg-muted) !important; }
body.cc a { color: var(--lg-blue-2); }
body.cc hr { border-color: var(--lg-border); opacity: 1; }
body.cc .container { padding-left: 16px; padding-right: 16px; }
body.cc main > .container.py-5 { padding-top: 14px !important; padding-bottom: 8px !important; }
body.cc main > .container.pb-2 { padding-top: 22px; }
body.cc main .mb-5 { margin-bottom: 1.7rem !important; }
body.cc .mt-5 { margin-top: 1.7rem !important; }
body.cc .section-title { font-weight: 800; letter-spacing: -.03em; }
body.cc h2.section-title.h3 { font-size: 1.4rem; }
body.cc h1.section-title.h2 { font-size: 1.75rem; }
body.cc .display-6 { font-size: 1.8rem; }

/* =========================== HEADER =========================== */
body.cc .cc-header {
    position: relative; top: auto; z-index: 1030;
    background: transparent; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.cc .cc-header > .container {
    padding-top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
    padding-bottom: 6px !important; gap: 10px !important; flex-wrap: nowrap;
}
body.cc .cc-nav { display: none !important; }
body.cc .cc-logo { min-width: 0; text-decoration: none; }
body.cc .cc-header .logo-badge {
    width: 46px; height: 46px; border-radius: 50%; padding: 6px;
    background: var(--lg-fill-3); border: 1px solid var(--lg-border);
    box-shadow: var(--lg-sh);
}
body.cc .cc-header .cc-logo { font-size: 1.12rem; }
body.cc .cc-header .cc-brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
body.cc .cc-header .cc-logo { flex: none; position: static; }
body.cc .cc-header .cu-logo { height: 30px; width: auto; flex: none; position: static; }
body.cc .cc-header a.cu-badge { font-size: 12px; padding: 5px 12px; }
body.cc .cc-header .ms-auto { gap: 8px !important; flex: none; margin-left: auto; }

@media (max-width: 430px) {
    body.cc .cc-header .cc-brand { gap: 6px; }
    body.cc .cc-header .cu-logo { height: 28px; }
    body.cc .cc-header a.cu-badge { font-size: 11px; padding: 4px 10px; white-space: normal; }
}
@media (max-width: 375px) { body.cc .cc-header a.cu-badge { font-size: 10px; padding: 4px 9px; } }

/* round glass icon buttons */
.lg-iconbtn, body.cc .lg-ibtn {
    position: relative; width: 44px; height: 44px; padding: 0 !important; flex: none;
    display: inline-grid !important; place-items: center; border-radius: 50% !important;
    background: var(--lg-fill-2) !important; border: 1px solid var(--lg-border) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--lg-sh); color: var(--lg-text) !important; font-size: 1.12rem;
    text-decoration: none; transition: transform .18s var(--lg-ease), background .25s;
}
.lg-iconbtn:active, body.cc .lg-ibtn:active { transform: scale(.9); }
body.cc .lg-ibtn.dropdown-toggle::after { display: none; }
body.cc .lg-ibtn.lg-ibtn-blue {
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0) !important;
    border-color: rgba(255,255,255,.55) !important; color: #fff !important;
    box-shadow: 0 8px 20px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.cc .cc-header .lg-ibtn { min-height: 44px; min-width: 44px; }
body.cc .lg-ibtn-avatar > span.me-1 { margin: 0 !important; display: grid; place-items: center; }
body.cc .lg-ibtn-avatar > span.d-sm-inline { display: none !important; }
body.cc .lg-ibtn-avatar img, body.cc .lg-ibtn-avatar span.rounded-circle {
    width: 36px !important; height: 36px !important; font-size: 15px !important;
}
body.cc .cc-header .badge.rounded-pill {
    font-size: .64rem; padding: .3em .52em; top: 4px !important; left: auto !important; right: -2px;
    transform: none !important; box-shadow: 0 2px 8px rgba(239,68,68,.5);
}
body.cc .cc-header .lg-staff-full { display: none !important; }
body.cc .cc-header .btn-ghost:not(.lg-ibtn) {
    padding: .55rem 1.15rem; min-height: 44px; display: inline-flex; align-items: center;
}
@media (max-width: 359px) {
    body.cc .cc-header > .container { gap: 6px !important; }
    body.cc .cc-header .cu-logo { height: 24px; }
    body.cc .cc-header a.cu-badge { padding: 4px 8px; }
    body.cc .cc-header .ms-auto { gap: 5px !important; }
    body.cc .lg-ibtn, body.cc .cc-header .lg-ibtn { width: 38px; height: 38px; min-width: 38px; min-height: 38px; font-size: 1rem; }
    body.cc .lg-ibtn-avatar img, body.cc .lg-ibtn-avatar span.rounded-circle { width: 30px !important; height: 30px !important; }
    body.cc .cc-header .btn-ghost:not(.lg-ibtn) { padding: .4rem .8rem; min-height: 38px; font-size: .85rem; }
}

/* =========================== DRAWER (profile dropdown) =========================== */
.lg-drawer, body.cc .cc-header .dropdown-menu {
    background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,0) 40%), var(--lg-fill-2);
    -webkit-backdrop-filter: blur(34px) saturate(190%); backdrop-filter: blur(34px) saturate(190%);
    border: 1px solid var(--lg-border); border-radius: 32px; box-shadow: 0 24px 60px rgba(30,45,110,.3), inset 0 1.5px 0 var(--lg-hi);
}
body.cc .cc-header .dropdown-menu {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important; right: 12px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important; left: auto !important;
    width: min(330px, 86vw) !important; height: auto; margin: 0 !important; padding: 14px;
    transform: none !important; z-index: 5; overflow-y: auto;
    list-style: none; --bs-dropdown-bg: transparent; --bs-dropdown-border-width: 0;
}
body.cc .cc-header .dropdown-menu.show {
    display: flex; flex-direction: column; gap: 10px;
    animation: lg-drawer-in .34s var(--lg-ease);
}
body.cc .cc-header:has(.dropdown-menu.show)::after {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: rgba(20,30,70,.28);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: lg-fade .25s ease;
}
body.cc .lg-drawer-head {
    display: flex; align-items: center; gap: 12px; padding: 8px 6px 14px; min-width: 0;
}
body.cc .lg-drawer-head > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
body.cc .lg-drawer-head strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--lg-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.cc .lg-drawer-head small { color: var(--lg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.cc .cc-header .dropdown-menu .lg-drawer-sep { display: none; }
body.cc .cc-header .dropdown-menu .lg-drawer-bottom { margin-top: auto; }
.lg-row, body.cc .cc-header .dropdown-item {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 10px 14px 10px 10px; border-radius: 22px; font-weight: 700; font-size: .98rem;
    background: var(--lg-fill-2); border: 1px solid var(--lg-border);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.08);
    color: var(--lg-text); text-decoration: none; white-space: normal;
    transition: transform .18s var(--lg-ease), background .2s;
}
body.cc .cc-header .dropdown-item i { margin: 0 !important; }
body.cc .cc-header .dropdown-item:active, .lg-row:active { transform: scale(.97); }
body.cc .cc-header .dropdown-item:hover, body.cc .cc-header .dropdown-item:focus { background: var(--lg-fill-3); color: var(--lg-text); }
body.cc .cc-header .dropdown-menu li > form { margin: 0; }
body.cc .cc-header .lg-drawer-bottom .dropdown-item,
.lg-card-red, .lg-btn-danger {
    background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,0) 50%), rgba(255,69,58,.16);
    border-color: rgba(255,69,58,.34); color: #d92d20 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 18px rgba(255,69,58,.14);
}
[data-bs-theme=dark] body.cc .cc-header .lg-drawer-bottom .dropdown-item,
[data-bs-theme=dark] .lg-card-red, [data-bs-theme=dark] .lg-btn-danger { color: #ff8f86 !important; }

/* =========================== PASTEL ICON BOXES =========================== */
.icon-tile, .lg-ic { --tile: #3b82f6; }
.lg-ic-blue { --tile: #3b82f6; } .lg-ic-mint { --tile: #10b981; } .lg-ic-violet { --tile: #8b5cf6; }
.lg-ic-peach { --tile: #fb923c; } .lg-ic-pink { --tile: #ec4899; } .lg-ic-amber { --tile: #f59e0b; }
.lg-ic-red { --tile: #ef4444; } .lg-ic-teal { --tile: #14b8a6; }
body.cc .icon-tile, .lg-ic {
    display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 17px;
    font-size: 1.45rem; color: var(--tile) !important;
    background: rgba(255,255,255,.7) !important;
    box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -2px 6px rgba(255,255,255,.2), 0 6px 14px rgba(64,86,160,.12);
}
.lg-ic { width: 40px; height: 40px; border-radius: 14px; font-size: 1.15rem; }
@supports (background: color-mix(in srgb, red, blue)) {
    body.cc .icon-tile, .lg-ic { background: color-mix(in srgb, var(--tile) 20%, #fff) !important; }
    [data-bs-theme=dark] body.cc .icon-tile, [data-bs-theme=dark] .lg-ic {
        background: color-mix(in srgb, var(--tile) 32%, transparent) !important;
        color: color-mix(in srgb, var(--tile) 55%, #fff) !important;
        box-shadow: inset 0 1.5px 0 rgba(255,255,255,.3), 0 6px 14px rgba(0,0,0,.25);
    }
}

/* =========================== GLASS SURFACES =========================== */
.lg-glass, .lg-card, body.cc .cc-card, body.cc .ask-box, body.cc .modal-content, body.cc .cc-footer, body.cc .offcanvas {
    background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%), var(--lg-fill);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid var(--lg-border);
    box-shadow: var(--lg-sh);
    border-radius: var(--lg-r);
    color: var(--lg-text);
}
[data-bs-theme=dark] .lg-glass, [data-bs-theme=dark] .lg-card, [data-bs-theme=dark] body.cc .cc-card,
[data-bs-theme=dark] body.cc .ask-box, [data-bs-theme=dark] body.cc .modal-content,
[data-bs-theme=dark] body.cc .cc-footer {
    background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,0) 42%), var(--lg-fill);
}
.lg-glass-strong { background: var(--lg-fill-2) !important; }
body.cc .cc-card { padding: 1.15rem; transition: transform .2s var(--lg-ease), box-shadow .25s; }
body.cc .cc-card.hoverable:hover { transform: none; border-color: var(--lg-border); }
body.cc .cc-card.hoverable:active, .lg-press:active { transform: scale(.972); }
body.cc .cc-card .fw-semibold { letter-spacing: -.01em; }
body.cc .cc-card.hoverable { -webkit-tap-highlight-color: transparent; }
body.cc .answer-card { border-left: 1px solid var(--lg-border); box-shadow: inset 5px 0 0 rgba(52,199,89,.85), var(--lg-sh); }
body.cc .cc-card.text-center .fs-1 { font-size: 2.4rem !important; }

/* blue gradient CTA cards (inline gradient on home / about) */
.lg-hero, body.cc .cc-card[style*="linear-gradient"] {
    background: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.34), transparent 55%),
                linear-gradient(145deg, #4aa3ff 0%, #3a6df5 50%, #6a5cf0 100%) !important;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 20px 44px rgba(58,109,245,.34), inset 0 2px 0 rgba(255,255,255,.55), inset 0 -22px 44px rgba(255,255,255,.08);
    color: #fff; border-radius: var(--lg-r-lg);
}
body.cc .cc-card[style*="linear-gradient"] h2, body.cc .cc-card[style*="linear-gradient"] h3 { color: #fff; font-weight: 800; letter-spacing: -.02em; }
body.cc .cc-card[style*="linear-gradient"] .text-muted, .lg-hero .text-muted { color: rgba(255,255,255,.86) !important; }
body.cc .cc-card[style*="linear-gradient"] .btn-cc {
    background: rgba(255,255,255,.94); color: #1d4ed8 !important;
    box-shadow: 0 8px 20px rgba(15,30,100,.22), inset 0 1px 0 #fff;
}

/* feature tiles (category grid on home) */
.lg-tile, body.cc .row > [class*="col-"] > .cc-card.hoverable { gap: .7rem !important; padding: 1.05rem; }
.lg-tile-title { font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; line-height: 1.2; color: var(--lg-text); }
.lg-tile-sub { font-size: .8rem; color: var(--lg-muted); line-height: 1.35; }
body.cc .row > [class*="col-"] > .cc-card.hoverable > a.stretched-link { font-weight: 800 !important; font-size: 1.02rem; letter-spacing: -.02em; color: var(--lg-text) !important; }
body.cc .row > [class*="col-"] > .cc-card.hoverable .text-muted.small { font-size: .8rem !important; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================== HERO (home) =========================== */
body.cc .hero {
    margin: 2px 14px 0; padding: 14px 0 20px; border-radius: 34px; overflow: hidden;
    background: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.36), transparent 55%),
                linear-gradient(145deg, #4aa3ff 0%, #3a6df5 48%, #6a5cf0 100%);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 24px 54px rgba(58,109,245,.38), inset 0 2px 0 rgba(255,255,255,.6), inset 0 -26px 50px rgba(255,255,255,.1);
    color: #fff; animation: lg-fade-up .6s var(--lg-ease) backwards;
}
@media (min-width: 576px) { body.cc .hero { padding-top: 18px; } }
body.cc .hero.text-center { text-align: left !important; }
body.cc .hero > .container { padding-left: 16px; padding-right: 16px; }
body.cc .hero .orb { filter: blur(34px); opacity: .55; }
body.cc .hero .orb-1 { width: 230px; height: 230px; top: -90px; left: -70px; background: #7dd3fc; }
body.cc .hero .orb-2 { width: 220px; height: 220px; top: 40px; right: -90px; background: #c4b5fd; }
body.cc .hero .orb-3 { width: 200px; height: 200px; bottom: -110px; left: 30%; background: #f9a8d4; opacity: .38; }
[data-bs-theme=light] body.cc .hero .orb { opacity: .5; }
body.cc .hero .pill {
    background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); color: #fff;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    font-size: .78rem; padding: .35rem .85rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
body.cc .hero h1 { font-size: 2.5rem; font-weight: 800 !important; letter-spacing: -.045em !important; color: #fff; text-shadow: 0 2px 18px rgba(20,40,140,.25); }
body.cc .hero h1 .grad { background: none; -webkit-text-fill-color: #fff; color: #fff; }
body.cc .hero .lead { font-size: 1rem; color: rgba(255,255,255,.88) !important; margin-left: 0 !important; margin-right: 0 !important; }

/* big glass search bar */
.lg-search, body.cc .ask-box {
    background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(255,255,255,.3)), rgba(255,255,255,.4);
    border: 1px solid rgba(255,255,255,.85); border-radius: 28px;
    box-shadow: 0 12px 32px rgba(20,40,140,.22), inset 0 1.5px 0 #fff;
    color: var(--lg-text);
}
[data-bs-theme=dark] body.cc .ask-box { background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)), rgba(10,18,40,.45); border-color: rgba(255,255,255,.28); }
.lg-search { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; min-height: 56px; }
.lg-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--lg-text); font-size: 1rem; }
.lg-search > i { color: var(--lg-muted); font-size: 1.15rem; }
body.cc .ask-box { padding: 1rem 1rem .8rem; max-width: none; }
body.cc .ask-box:focus-within { border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.35), 0 12px 32px rgba(20,40,140,.25), inset 0 1.5px 0 #fff; }
body.cc .ask-box textarea { font-size: 1rem; min-height: 78px; color: var(--lg-text); }
body.cc .ask-box textarea::placeholder { color: var(--lg-muted); opacity: .85; }
body.cc .ask-box .text-muted { color: var(--lg-muted) !important; }
body.cc .ask-box .btn-cc { width: 100%; }
body.cc .ask-box .ask-note { margin-top: 10px; font-size: 12px; line-height: 1.35; text-align: center; color: #4b5b78 !important; }
body.cc .ask-box .ask-note i { font-size: 13px; }
[data-bs-theme=dark] body.cc .ask-box .ask-note { color: #b4c2e0 !important; }

/* chips */
.lg-chip, body.cc .chip {
    background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-text);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 3px 10px rgba(64,86,160,.1);
    padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem;
    transition: transform .18s var(--lg-ease), background .2s;
}
body.cc .chip:hover { background: var(--lg-fill-3); }
body.cc .chip:active { transform: scale(.94); }
body.cc .btn-check:checked + .chip, body.cc #slotPicker .chip.is-picked {
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); color: #fff; border-color: rgba(255,255,255,.5);
    box-shadow: 0 6px 16px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.5);
}
body.cc .chips { gap: .45rem; }
body.cc .pill { background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-muted); box-shadow: inset 0 1px 0 var(--lg-hi); }
body.cc .lw-chip { background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-muted); font-weight: 600; padding: .2rem .65rem; }
body.cc .step-num {
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0);
    box-shadow: 0 6px 14px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.5); font-weight: 800;
}

/* =========================== BUTTONS =========================== */
.lg-btn, .lg-btn-primary, body.cc .btn-cc, body.cc .btn-ghost,
body.cc .btn-outline-secondary, body.cc .btn-outline-danger, body.cc .btn-outline-warning {
    border-radius: 999px; font-weight: 700; letter-spacing: -.005em; min-height: 46px;
    text-align: center; text-decoration: none;
    transition: transform .18s var(--lg-ease), box-shadow .25s, filter .2s;
    -webkit-tap-highlight-color: transparent;
}
.lg-btn, .lg-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.4rem; border: 1px solid var(--lg-border); }
.lg-btn { background: var(--lg-fill-2); color: var(--lg-text) !important;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.1); }
.lg-btn-primary, body.cc .btn-cc {
    background: linear-gradient(145deg, #5aa9ff 0%, #3b6cff 58%, #6a5cf0 100%);
    border: 1px solid rgba(255,255,255,.5) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -3px 8px rgba(30,40,160,.18);
}
body.cc .btn-cc { padding: .72rem 1.5rem; }
body.cc .btn-cc:hover { filter: none; transform: none; }
.lg-btn:active, .lg-btn-primary:active, body.cc .btn-cc:active, body.cc .btn-ghost:active,
body.cc .btn-outline-secondary:active, body.cc .btn-outline-danger:active { transform: scale(.95); }
body.cc .btn-ghost, body.cc .btn-outline-secondary {
    background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-text) !important;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.1);
}
body.cc .btn-ghost:hover, body.cc .btn-outline-secondary:hover { background: var(--lg-fill-3); color: var(--lg-text) !important; }
body.cc .btn-ghost.py-1 { min-height: 40px; }
body.cc .btn-sm { min-height: 38px; padding: .4rem .95rem; font-size: .85rem; }
body.cc .btn-outline-danger { background: rgba(255,69,58,.1); border-color: rgba(255,69,58,.35); color: #d92d20; }
body.cc .btn-outline-danger:hover { background: rgba(255,69,58,.2); color: #d92d20; border-color: rgba(255,69,58,.45); }
body.cc .btn-outline-warning { background: var(--lg-fill-2); border-color: rgba(245,158,11,.5); color: #b45309; }
body.cc .btn-check:checked + .btn-outline-warning { background: linear-gradient(145deg,#fbbf24,#f59e0b); color: #fff; border-color: rgba(255,255,255,.6); box-shadow: 0 6px 16px rgba(245,158,11,.4); }
body.cc .btn-link { color: var(--lg-muted) !important; }
body.cc .btn-close { opacity: .6; }

/* =========================== FORMS =========================== */
.lg-input, body.cc .form-control, body.cc .form-select {
    background-color: var(--lg-input); border: 1px solid var(--lg-border); border-radius: var(--lg-r-sm);
    min-height: 50px; padding: .75rem 1rem; font-size: 16px; color: var(--lg-text);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 2px 4px rgba(60,80,150,.07), inset 0 1.5px 0 rgba(255,255,255,.7);
    transition: border-color .2s, box-shadow .25s, background-color .2s;
}
body.cc .form-select { background-image: var(--lg-select-arrow); background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.6rem; }
body.cc .form-control:focus, body.cc .form-select:focus {
    background-color: var(--lg-fill-3); border-color: rgba(59,130,246,.75); color: var(--lg-text);
    box-shadow: 0 0 0 4px rgba(59,130,246,.2), inset 0 1.5px 0 rgba(255,255,255,.7);
}
body.cc .form-control::placeholder { color: var(--lg-muted); opacity: .75; }
body.cc textarea.form-control { min-height: 110px; }
body.cc .form-control-sm { min-height: 42px; border-radius: 14px; padding: .5rem .8rem; font-size: 15px; }
body.cc .form-control::file-selector-button { border: 0; border-radius: 10px; padding: .35rem .8rem; margin-right: .7rem; background: var(--lg-fill-3); color: var(--lg-text); font-weight: 600; }
body.cc .form-control:disabled { opacity: .6; }
body.cc .form-label { font-weight: 600; font-size: .86rem; color: var(--lg-muted); margin: 0 0 .35rem .3rem; }
body.cc .form-text { color: var(--lg-muted); font-size: .78rem; margin-left: .3rem; }
body.cc .form-check-input { width: 1.3em; height: 1.3em; border-radius: .45em; background-color: var(--lg-input); border-color: var(--lg-border); }
body.cc .form-check-input:checked { background-color: #3b82f6; border-color: #3b82f6; }
body.cc .code-input { font-size: 1.7rem; }
body.cc .auth-wrap { max-width: 480px; }

/* =========================== ALERTS / BADGES / PAGINATION =========================== */
body.cc .alert {
    border-radius: 22px; border: 1px solid var(--lg-border); color: var(--lg-text);
    background: var(--lg-fill-2); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--lg-sh);
}
body.cc .alert-success { background: linear-gradient(rgba(52,199,89,.16), rgba(52,199,89,.16)), var(--lg-fill-2); border-color: rgba(52,199,89,.4); color: #15803d; }
body.cc .alert-danger  { background: linear-gradient(rgba(255,69,58,.14), rgba(255,69,58,.14)), var(--lg-fill-2); border-color: rgba(255,69,58,.4); color: #b91c1c; }
body.cc .alert-warning { background: linear-gradient(rgba(255,159,10,.16), rgba(255,159,10,.16)), var(--lg-fill-2); border-color: rgba(255,159,10,.42); color: #92400e; }
[data-bs-theme=dark] body.cc .alert-success { color: #86efac; }
[data-bs-theme=dark] body.cc .alert-danger  { color: #fca5a5; }
[data-bs-theme=dark] body.cc .alert-warning { color: #fcd34d; }
body.cc .badge { border-radius: 999px; font-weight: 700; padding: .45em .8em; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
body.cc .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
body.cc .page-link {
    border-radius: 14px !important; border: 1px solid var(--lg-border); background: var(--lg-fill-2); color: var(--lg-text);
    min-width: 42px; text-align: center; font-weight: 600; box-shadow: inset 0 1px 0 var(--lg-hi);
}
body.cc .page-item.active .page-link { background: linear-gradient(145deg,#5aa9ff,#3b6cff 60%,#6a5cf0); color: #fff; border-color: rgba(255,255,255,.5); }
body.cc .page-item.disabled .page-link { opacity: .5; background: var(--lg-fill); color: var(--lg-muted); }
body.cc .modal-backdrop { --bs-backdrop-opacity: .3; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.cc .modal-content { border-radius: var(--lg-r-lg); }
body.cc .modal-header, body.cc .modal-footer { border-color: var(--lg-border); }

/* =========================== SLIDER / MAPS / FOOTER =========================== */
body.cc .lw-nav {
    width: 42px; height: 42px; background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-text);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 12px rgba(64,86,160,.12); transition: transform .18s var(--lg-ease);
}
body.cc .lw-nav:active:not(:disabled) { transform: scale(.9); }
body.cc .lw-track { padding: .4rem .2rem 1.1rem; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
body.cc .lw-slide { flex-basis: min(300px, 82%); }
body.cc .map-frame { border-radius: 22px; min-height: 320px; }
body.cc .footer-map { border-radius: 22px; border: 1px solid var(--lg-border); box-shadow: var(--lg-sh); background: var(--lg-fill); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.cc .cc-footer { margin: 28px 14px 0; border-radius: var(--lg-r-lg); }
body.cc .cc-footer > .container { padding-left: 18px; padding-right: 18px; }
body.cc .cc-footer a { color: var(--lg-muted); }
body.cc .cc-footer .btn-cc { color: #fff !important; }
body.cc .cc-footer.mt-5 { margin-top: 28px !important; }

/* =========================== FLOATING GLASS TAB BAR =========================== */
.lg-tabbar {
    position: fixed; left: 14px; right: 14px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1020;
    display: grid; grid-template-columns: repeat(var(--lg-tabs, 4), 1fr); gap: 2px; padding: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.1)), var(--lg-bar);
    -webkit-backdrop-filter: blur(30px) saturate(210%); backdrop-filter: blur(30px) saturate(210%);
    border: 1px solid var(--lg-border);
    box-shadow: 0 16px 44px rgba(40,60,130,.26), 0 2px 8px rgba(40,60,130,.1),
                inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.35);
    animation: lg-rise .6s var(--lg-ease) .1s backwards;
}
[data-bs-theme=dark] .lg-tabbar { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.02)), var(--lg-bar); box-shadow: 0 16px 44px rgba(0,0,0,.5), inset 0 1.5px 1px rgba(255,255,255,.28), inset 0 -1px 1px rgba(255,255,255,.06); }
body .lg-tabbar .lg-tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 54px; min-width: 0; border-radius: 999px; color: var(--lg-muted); text-decoration: none;
    font-size: 10.5px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-align: center;
    transition: transform .2s var(--lg-ease), background .3s, color .3s, box-shadow .3s; -webkit-tap-highlight-color: transparent;
}
body .lg-tabbar .lg-tab i { font-size: 21px; line-height: 1; transition: transform .3s var(--lg-ease); }
body .lg-tabbar .lg-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
body .lg-tabbar .lg-tab:active { transform: scale(.92); }
body .lg-tabbar .lg-tab.active {
    color: var(--lg-blue-2); background: var(--lg-pill);
    box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 2px rgba(255,255,255,.3), 0 6px 16px rgba(59,108,255,.2);
    animation: lg-pop .38s var(--lg-ease);
}
body .lg-tabbar .lg-tab.active i { transform: translateY(-1px) scale(1.06); }
[data-bs-theme=dark] body .lg-tabbar .lg-tab.active { color: #8ab8ff; }

/* =========================== MOTION =========================== */
body.cc main .section-title, body.cc main .row > [class*="col-"], body.cc main .cc-card, body.cc main .alert,
body.cc main .lw-slider-section, body.cc main > .container > .d-flex, body.cc main > .container > .mb-4,
.lg-fade-up { animation: lg-fade-up .55s var(--lg-ease) backwards; }
body.cc main .row > [class*="col-"]:nth-child(2) { animation-delay: .05s; }
body.cc main .row > [class*="col-"]:nth-child(3) { animation-delay: .1s; }
body.cc main .row > [class*="col-"]:nth-child(4) { animation-delay: .15s; }
body.cc main .row > [class*="col-"]:nth-child(5) { animation-delay: .2s; }
body.cc main .row > [class*="col-"]:nth-child(6) { animation-delay: .25s; }
body.cc main .row > [class*="col-"]:nth-child(n+7) { animation-delay: .3s; }
body.cc main .row > [class*="col-"] > .cc-card { animation: none; }

@keyframes lg-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lg-rise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lg-pop { 0% { transform: scale(.88); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes lg-drawer-in { from { opacity: 0; transform: translateX(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lg-drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(22vw,-12vh,0) scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
    body.cc *, body.cc::after, .lg-tabbar, .lg-tabbar * { animation: none !important; transition: none !important; }
}

/* =====================================================================
   DASHBOARD / STAFF PANELS  (part 2)  -  body.lg-page.lg-dash, phones only
   ===================================================================== */

/* ---- page ---- */
body.lg-dash, body.lg-dash .app-wrapper, body.lg-dash .app-main { background-image: none !important; }
body.lg-dash { background-color: var(--lg-bg-base) !important; }
body.lg-dash .app-wrapper, body.lg-dash .app-main { background: transparent !important; }
body.lg-dash.sidebar-open { overflow: hidden; }
body.lg-dash a { color: var(--lg-blue-2); }
body.lg-dash .text-muted, body.lg-dash .text-body-secondary { color: var(--lg-muted) !important; }
body.lg-dash hr { border-color: var(--lg-border); opacity: 1; }
body.lg-dash .app-content > .container-fluid, body.lg-dash .app-content-header > .container-fluid { padding-left: 14px; padding-right: 14px; }
body.lg-dash .app-content-header { padding: 4px 0 8px; }
body.lg-dash .app-content-header h3 {
    color: var(--lg-text); font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; margin: 6px 2px 0;
}
body.lg-dash .app-content-header .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; text-align: left !important; }
body.lg-dash .app-content-header .row > [class*="col-"]:empty { display: none; }
body.lg-dash .app-content-header .row > [class*="col-"]:nth-child(2):not(:empty) { margin-top: 10px; }
body.lg-dash .app-content-header .btn-group { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
body.lg-dash .app-content-header .btn-group::-webkit-scrollbar { display: none; }
body.lg-dash .app-content .row { --bs-gutter-x: 1rem; }
body.lg-dash .app-content .row.g-4 { --bs-gutter-y: 1rem; --bs-gutter-x: .85rem; }
body.lg-dash .app-content .row > [class*="col-"] { animation: lg-fade-up .5s var(--lg-ease) backwards; }
body.lg-dash .app-content .mb-3, body.lg-dash .app-content .card.mb-3 { margin-bottom: 1rem !important; }

/* ---- header: glass round buttons ---- */
body.lg-dash .app-header {
    position: relative !important; top: auto !important; z-index: 1030;
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 4px;
}
body.lg-dash .app-header > .container-fluid { padding-left: 14px; padding-right: 14px; gap: 10px; }
body.lg-dash .app-header .navbar-nav { align-items: center; gap: 8px; flex-direction: row; }
body.lg-dash .app-header .navbar-nav .nav-link {
    position: relative; width: 46px; height: 46px; padding: 0 !important; margin: 0;
    display: inline-grid !important; place-items: center; border-radius: 50% !important;
    background: var(--lg-fill-2) !important; border: 1px solid var(--lg-border) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--lg-sh); color: var(--lg-text) !important; font-size: 1.2rem;
    transition: transform .18s var(--lg-ease), background .25s;
}
body.lg-dash .app-header .navbar-nav:first-child .nav-link {
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0) !important;
    border-color: rgba(255,255,255,.55) !important; color: #fff !important;
    box-shadow: 0 8px 20px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .app-header .navbar-nav .nav-link:active { transform: scale(.9); }
body.lg-dash .app-header .nav-link.dropdown-toggle::after { display: none; }
body.lg-dash .app-header [data-lte-toggle="fullscreen"] { display: none !important; }
body.lg-dash .app-header .nav-link img, body.lg-dash .app-header .nav-link span.rounded-circle { width: 36px !important; height: 36px !important; font-size: 15px !important; }
body.lg-dash .app-header .navbar-badge {
    top: 2px !important; right: -2px !important; font-size: .64rem; padding: .3em .52em;
    background: #ef4444 !important; color: #fff !important; box-shadow: 0 2px 8px rgba(239,68,68,.5);
}
body.lg-dash .app-header .dropdown-menu {
    position: fixed !important; top: calc(env(safe-area-inset-top, 0px) + 66px) !important; right: 14px !important; left: auto !important;
    width: min(300px, 86vw); margin: 0 !important; padding: 12px; transform: none !important; z-index: 1045;
    display: none; flex-direction: column; gap: 8px; list-style: none;
    background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,255,255,0) 40%), var(--lg-fill-3);
    -webkit-backdrop-filter: blur(34px) saturate(190%); backdrop-filter: blur(34px) saturate(190%);
    border: 1px solid var(--lg-border); border-radius: 28px; box-shadow: 0 24px 60px rgba(30,45,110,.3), inset 0 1.5px 0 var(--lg-hi);
}
body.lg-dash .app-header .dropdown-menu.show { display: flex; animation: lg-fade-up .3s var(--lg-ease); }
body.lg-dash .app-header .dropdown-menu .dropdown-item-text { color: var(--lg-muted) !important; padding: 6px 10px; }
body.lg-dash .app-header .dropdown-menu .dropdown-divider { display: none; }
body.lg-dash .app-header .dropdown-menu form { margin: 0; }
body.lg-dash .app-header .dropdown-item {
    display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; border-radius: 20px; font-weight: 700;
    background: var(--lg-fill-2); border: 1px solid var(--lg-border); color: var(--lg-text);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.08);
}
body.lg-dash .app-header .dropdown-item i { margin: 0 !important; }
body.lg-dash .app-header .dropdown-menu li:last-child .dropdown-item { background: rgba(255,69,58,.14); border-color: rgba(255,69,58,.34); color: #d92d20; }

/* ---- sidebar -> glass side drawer ---- */
body.lg-dash .app-sidebar, body.lg-dash .app-sidebar[data-bs-theme=dark] {
    --lg-text: #0f1a33; --lg-muted: #5f6f8c;
    --lg-fill: rgba(255,255,255,.52); --lg-fill-2: rgba(255,255,255,.72); --lg-fill-3: rgba(255,255,255,.9);
    --lg-border: rgba(255,255,255,.88); --lg-hi: rgba(255,255,255,.95);
    --lg-sh: 0 10px 34px rgba(64,86,160,.16), 0 2px 8px rgba(64,86,160,.08), inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35);
}
body.lg-dash .app-sidebar {
    position: fixed !important; z-index: 1038;
    top: calc(env(safe-area-inset-top, 0px) + 10px) !important; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    left: 10px !important; right: auto !important; height: auto !important;
    width: min(332px, 88vw) !important; min-width: 0 !important; max-width: none !important; margin: 0 !important;
    display: flex !important; flex-direction: column; overflow: hidden; padding: 12px;
    transform: translateX(calc(-100% - 24px)) !important; visibility: hidden;
    transition: transform .4s var(--lg-ease), visibility 0s linear .4s !important;
    background: linear-gradient(160deg, rgba(255,255,255,.36), rgba(255,255,255,0) 40%), rgba(255,255,255,.66) !important;
    -webkit-backdrop-filter: blur(36px) saturate(190%); backdrop-filter: blur(36px) saturate(190%);
    border: 1px solid var(--lg-border); border-radius: 34px;
    box-shadow: 0 26px 64px rgba(30,45,110,.34), inset 0 1.5px 0 var(--lg-hi) !important;
    color: var(--lg-text);
}
body.lg-dash.sidebar-open .app-sidebar { transform: none !important; visibility: visible; transition: transform .4s var(--lg-ease), visibility 0s !important; }
body.lg-dash .sidebar-overlay {
    background: rgba(20,30,70,.28) !important; z-index: 1037;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body.lg-dash .app-sidebar .sidebar-brand {
    background: transparent !important; border: 0 !important; height: auto; padding: 4px 4px 8px; flex: none;
}
body.lg-dash .app-sidebar .brand-link { display: flex; align-items: center; gap: 10px; color: var(--lg-text) !important; text-decoration: none; padding: 0; }
body.lg-dash .app-sidebar .brand-image {
    width: 44px !important; height: 44px !important; border-radius: 50% !important; margin: 0 !important; float: none; opacity: 1;
    background: var(--lg-fill-3) !important; border: 1px solid var(--lg-border); box-shadow: var(--lg-sh);
}
body.lg-dash .app-sidebar .brand-text { font-size: 1.15rem; font-weight: 800 !important; letter-spacing: -.03em; color: var(--lg-text); }
body.lg-dash .lg-drawer-head {
    display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; padding: 12px; margin: 0 0 8px;
    border-radius: 24px; background: var(--lg-fill-2); border: 1px solid var(--lg-border); box-shadow: var(--lg-sh);
}
body.lg-dash .lg-drawer-head > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
body.lg-dash .lg-drawer-head strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; color: var(--lg-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.lg-dash .lg-drawer-head small { color: var(--lg-muted); }
body.lg-dash .app-sidebar .sidebar-wrapper { flex: 1 1 auto; min-height: 0; height: auto !important; padding: 0; margin: 0 -4px; }
body.lg-dash .app-sidebar .sidebar-wrapper > nav, body.lg-dash .app-sidebar nav { margin: 0 !important; padding: 0 4px; }
body.lg-dash .app-sidebar .sidebar-menu { padding: 0; }
body.lg-dash .app-sidebar .nav-header {
    padding: 14px 10px 6px !important; font-size: .8rem !important; font-weight: 800; letter-spacing: .02em;
    color: var(--lg-muted) !important; text-transform: lowercase; background: transparent !important;
}
body.lg-dash .app-sidebar .nav-header::first-letter { text-transform: uppercase; }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item { margin: 0 0 8px; }
body.lg-dash .app-sidebar .nav-link {
    display: flex !important; align-items: center; gap: 12px; position: relative;
    padding: 8px 14px 8px 8px !important; margin: 0 !important; min-height: 56px;
    border-radius: 22px !important; font-weight: 700; font-size: .98rem; white-space: normal;
    background: var(--lg-fill-2) !important; border: 1px solid var(--lg-border);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.08);
    color: var(--lg-text) !important; transition: transform .18s var(--lg-ease), background .2s;
}
body.lg-dash .app-sidebar .nav-link:hover { background: var(--lg-fill-3) !important; }
body.lg-dash .app-sidebar .nav-link:active { transform: scale(.97); }
body.lg-dash .app-sidebar .nav-link > p { flex: 1; min-width: 0; margin: 0; display: flex; align-items: center; gap: 6px; padding-right: 22px; }
body.lg-dash .app-sidebar .nav-link > p .badge { margin-left: auto !important; float: none !important; }
body.lg-dash .app-sidebar .nav-link .nav-arrow { color: var(--lg-muted); right: 14px; }
body.lg-dash .app-sidebar .nav-link.active, body.lg-dash .app-sidebar .menu-open > .nav-link {
    background: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.3), transparent 55%), linear-gradient(145deg, #4aa3ff 0%, #3a6df5 55%, #6a5cf0 100%) !important;
    border-color: rgba(255,255,255,.55); color: #fff !important;
    box-shadow: 0 10px 24px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .app-sidebar .nav-link.active .nav-arrow, body.lg-dash .app-sidebar .menu-open > .nav-link .nav-arrow { color: #fff; }
/* pastel icon boxes */
body.lg-dash .app-sidebar .nav-icon {
    --tile: #3b82f6; display: inline-grid !important; place-items: center; flex: none; width: 40px !important; height: 40px; margin: 0 !important;
    border-radius: 14px; font-size: 1.15rem !important; color: var(--tile) !important;
    background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.62)), var(--tile-bg, rgba(59,130,246,.22)) !important;
    box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), 0 6px 14px rgba(64,86,160,.12);
}
body.lg-dash .app-sidebar .nav-link.active > .nav-icon, body.lg-dash .app-sidebar .menu-open > .nav-link > .nav-icon { background: rgba(255,255,255,.9) !important; }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+1) > .nav-link > .nav-icon { --tile: #3b82f6; --tile-bg: rgba(59,130,246,.22); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+2) > .nav-link > .nav-icon { --tile: #10b981; --tile-bg: rgba(16,185,129,.22); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+3) > .nav-link > .nav-icon { --tile: #8b5cf6; --tile-bg: rgba(139,92,246,.22); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+4) > .nav-link > .nav-icon { --tile: #fb923c; --tile-bg: rgba(251,146,60,.24); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+5) > .nav-link > .nav-icon { --tile: #ec4899; --tile-bg: rgba(236,72,153,.2); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+6) > .nav-link > .nav-icon { --tile: #f59e0b; --tile-bg: rgba(245,158,11,.24); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n+7) > .nav-link > .nav-icon { --tile: #14b8a6; --tile-bg: rgba(20,184,166,.22); }
body.lg-dash .app-sidebar .sidebar-menu > .nav-item:nth-child(8n) > .nav-link > .nav-icon { --tile: #ef4444; --tile-bg: rgba(239,68,68,.2); }
/* sub-items */
body.lg-dash .app-sidebar .nav-treeview { padding: 8px 0 2px 14px !important; }
body.lg-dash .app-sidebar .nav-treeview > .nav-item { margin-bottom: 6px; }
body.lg-dash .app-sidebar .nav-treeview > .nav-item > .nav-link { min-height: 48px; padding: 6px 12px 6px 8px !important; font-size: .9rem !important; border-radius: 18px !important; }
body.lg-dash .app-sidebar .nav-treeview .nav-icon { width: 34px !important; height: 34px; border-radius: 12px; font-size: 1rem !important; --tile: #3b82f6; --tile-bg: rgba(59,130,246,.2); }
body.lg-dash .app-sidebar .nav-treeview > .nav-item > .nav-link.active > .nav-icon { background: rgba(255,255,255,.9) !important; }
/* bottom rows */
body.lg-dash .lg-drawer-foot { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 4px; }
body.lg-dash .lg-drawer-foot form { margin: 0; }
body.lg-dash .lg-drawer-foot .lg-row { min-height: 52px; font-family: inherit; cursor: pointer; text-align: left; }
body.lg-dash .lg-drawer-foot .lg-row .lg-ic { --tile: #3b82f6; --tile-bg: rgba(59,130,246,.22); }
body.lg-dash .lg-drawer-foot .lg-ic-teal { --tile: #14b8a6; --tile-bg: rgba(20,184,166,.22); }
body.lg-dash .lg-drawer-foot .lg-ic-violet { --tile: #8b5cf6; --tile-bg: rgba(139,92,246,.22); }
body.lg-dash .lg-drawer-foot .lg-ic-red { --tile: #ef4444; --tile-bg: rgba(239,68,68,.2); }
body.lg-dash .lg-drawer-foot .lg-ic { background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.62)), var(--tile-bg) !important; }
body.lg-dash .lg-drawer-foot a.lg-row { color: var(--lg-text); }
body.lg-dash .lg-drawer-foot .lg-row-danger { background: rgba(255,69,58,.14) !important; border-color: rgba(255,69,58,.34); color: #d92d20 !important; }

/* ---- hero summary (dashboard home) ---- */
body.lg-dash .lg-dhero { display: block; padding: 18px 16px 16px; margin: 4px 0 18px; position: relative; overflow: hidden; animation: lg-fade-up .6s var(--lg-ease) backwards; }
body.lg-dash .lg-dhero::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: rgba(196,181,253,.55); filter: blur(34px); }
body.lg-dash .lg-dhero-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
body.lg-dash .lg-dhero-hi { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
body.lg-dash .lg-dhero-hi small { color: rgba(255,255,255,.82); font-weight: 600; font-size: .8rem; }
body.lg-dash .lg-dhero-hi strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 16px rgba(20,40,140,.25); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.lg-dash .lg-dhero-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.lg-dash .lg-dhero-stat {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 12px 10px 10px;
    border-radius: 22px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5);
}
body.lg-dash .lg-dhero-stat i { font-size: 1.1rem; opacity: .95; }
body.lg-dash .lg-dhero-stat b { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
body.lg-dash .lg-dhero-stat span { font-size: .68rem; line-height: 1.2; color: rgba(255,255,255,.88); font-weight: 600; }
body.lg-dash .lg-dhero .rounded-circle { border: 2px solid rgba(255,255,255,.8); }

/* ---- cards ---- */
body.lg-dash .card {
    background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%), var(--lg-fill);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid var(--lg-border); border-radius: var(--lg-r); box-shadow: var(--lg-sh); color: var(--lg-text);
    --bs-card-cap-bg: transparent; --bs-card-bg: transparent; --bs-card-color: var(--lg-text);
}
body.lg-dash .card.card-outline, body.lg-dash .card[class*="card-outline"] { border-top: 1px solid var(--lg-border); }
body.lg-dash .card-header { background: transparent; border-bottom: 1px solid rgba(255,255,255,.7); padding: 14px 18px 12px; border-radius: var(--lg-r) var(--lg-r) 0 0; }
body.lg-dash .card-header:has(.nav-tabs) { padding: 12px 12px 4px; border-bottom: 0; }
body.lg-dash .card-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: var(--lg-text); float: none; margin: 0; }
body.lg-dash .card-header .card-tools { float: none; margin-top: 6px; }
body.lg-dash .card-body { padding: 16px 18px; }
body.lg-dash .card-footer { background: transparent; border-top: 1px solid rgba(255,255,255,.7); padding: 12px 16px; border-radius: 0 0 var(--lg-r) var(--lg-r); }
body.lg-dash .card-body.p-0 { padding: 0; }
body.lg-dash .card canvas { max-width: 100%; }
body.lg-dash .callout, body.lg-dash .bg-body-secondary:not(.app-sidebar) { background: var(--lg-fill-2) !important; border-radius: var(--lg-r-sm); }

/* stat cards (AdminLTE info-box) */
body.lg-dash .info-box {
    display: flex; align-items: center; gap: 14px; min-height: 0; padding: 14px; margin-bottom: 14px; border-radius: var(--lg-r);
    background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%), var(--lg-fill);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid var(--lg-border); box-shadow: var(--lg-sh); color: var(--lg-text);
}
body.lg-dash .info-box.mb-0 { margin-bottom: 0; }
body.lg-dash .info-box-icon {
    --tile: #3b82f6; --tile-bg: rgba(59,130,246,.22);
    display: inline-grid !important; place-items: center; flex: none; width: 52px !important; height: 52px; border-radius: 17px !important; font-size: 1.45rem !important;
    color: var(--tile) !important; background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.62)), var(--tile-bg) !important;
    box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), 0 6px 14px rgba(64,86,160,.12) !important;
}
body.lg-dash .info-box-icon.text-bg-warning { --tile: #f59e0b; --tile-bg: rgba(245,158,11,.26); }
body.lg-dash .info-box-icon.text-bg-info { --tile: #0ea5e9; --tile-bg: rgba(14,165,233,.22); }
body.lg-dash .info-box-icon.text-bg-success { --tile: #10b981; --tile-bg: rgba(16,185,129,.22); }
body.lg-dash .info-box-icon.text-bg-danger { --tile: #ef4444; --tile-bg: rgba(239,68,68,.2); }
body.lg-dash .info-box-icon.text-bg-secondary { --tile: #8b5cf6; --tile-bg: rgba(139,92,246,.22); }
body.lg-dash .info-box-icon.text-bg-primary { --tile: #3b82f6; --tile-bg: rgba(59,130,246,.22); }
body.lg-dash .info-box-content { display: flex; flex-direction: column; min-width: 0; padding: 0; margin: 0; line-height: 1.2; }
body.lg-dash .info-box-text { color: var(--lg-muted); font-size: .82rem; font-weight: 600; white-space: normal; text-transform: none; }
body.lg-dash .info-box-number { color: var(--lg-text); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; margin: 0; }
body.lg-dash .row > .col-6 > .info-box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
body.lg-dash .small-box { border-radius: var(--lg-r); box-shadow: var(--lg-sh); overflow: hidden; }

/* ---- tables -> glass cards on phones ---- */
body.lg-dash .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--lg-r); }
body.lg-dash .table {
    --bs-table-bg: transparent; --bs-table-color: var(--lg-text); --bs-table-striped-bg: transparent; --bs-table-hover-bg: transparent;
    --bs-table-border-color: rgba(255,255,255,.7); color: var(--lg-text); margin: 0;
}
body.lg-dash .table > :not(caption) > * > * { background: transparent !important; box-shadow: none !important; color: inherit; border-bottom-color: rgba(255,255,255,.7); }
body.lg-dash .table thead th { color: var(--lg-muted); font-size: .76rem; font-weight: 700; letter-spacing: .02em; border-bottom-color: rgba(255,255,255,.7); }
body.lg-dash .table.lg-stack { display: block; border: 0; }
body.lg-dash .table-responsive:has(> .table.lg-stack) { overflow: visible; }
body.lg-dash .table.lg-stack thead { display: none; }
body.lg-dash .table.lg-stack tbody { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
body.lg-dash .table.lg-stack tr {
    display: block; padding: 6px 14px; border-radius: 22px; background: var(--lg-fill-2); border: 1px solid var(--lg-border);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 6px 18px rgba(64,86,160,.1);
}
body.lg-dash .table.lg-stack tr.table-info, body.lg-dash .table.lg-stack tr.table-active { background: linear-gradient(rgba(59,130,246,.14), rgba(59,130,246,.14)), var(--lg-fill-2); }
body.lg-dash .table.lg-stack td, body.lg-dash .table.lg-stack th {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; width: auto !important; max-width: none !important;
    padding: 9px 0; border: 0; border-bottom: 1px dashed rgba(95,111,140,.22); text-align: right !important; white-space: normal !important; word-break: break-word;
}
body.lg-dash .table.lg-stack td:last-child { border-bottom: 0; }
body.lg-dash .table.lg-stack td::before {
    content: attr(data-label); flex: none; max-width: 40%; text-align: left; font-size: .74rem; font-weight: 700; color: var(--lg-muted); letter-spacing: .01em;
}
body.lg-dash .table.lg-stack td[data-label=""]::before, body.lg-dash .table.lg-stack td[colspan]::before { display: none; }
body.lg-dash .table.lg-stack td[data-label=""] { justify-content: flex-end; flex-wrap: wrap; }
body.lg-dash .table.lg-stack td[colspan] { display: block; text-align: center !important; }
body.lg-dash .table.lg-stack td > form, body.lg-dash .table.lg-stack td > .btn { margin: 0; }
body.lg-dash .table.lg-stack td .d-flex { justify-content: flex-end; }
body.lg-dash .table.lg-mini { font-size: .9rem; }
body.lg-dash .table.lg-mini td, body.lg-dash .table.lg-mini th { padding: .6rem .7rem; }

/* ---- buttons ---- */
body.lg-dash .btn {
    border-radius: 999px; font-weight: 700; letter-spacing: -.005em; min-height: 46px; padding: .62rem 1.3rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    border: 1px solid var(--lg-border); text-align: center; text-decoration: none;
    transition: transform .18s var(--lg-ease), box-shadow .25s, filter .2s; -webkit-tap-highlight-color: transparent;
}
body.lg-dash .btn:active { transform: scale(.95); }
body.lg-dash .btn-sm { min-height: 38px; padding: .38rem .95rem; font-size: .85rem; }
body.lg-dash .btn-lg { min-height: 54px; font-size: 1.05rem; padding: .8rem 1.6rem; }
body.lg-dash .btn-link { min-height: 0; padding: .2rem .4rem; border: 0; background: transparent !important; box-shadow: none !important; color: var(--lg-blue-2); }
body.lg-dash .btn.w-100, body.lg-dash .d-grid > .btn { display: flex; }
body.lg-dash .btn-primary, body.lg-dash .btn-primary:hover, body.lg-dash .btn-primary:focus,
body.lg-dash .btn-check:checked + .btn-outline-primary, body.lg-dash .btn-outline-primary.active, body.lg-dash .btn-outline-primary:hover {
    background: linear-gradient(145deg, #5aa9ff 0%, #3b6cff 58%, #6a5cf0 100%) !important;
    border-color: rgba(255,255,255,.5) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -3px 8px rgba(30,40,160,.18);
}
body.lg-dash .btn-success, body.lg-dash .btn-success:hover, body.lg-dash .btn-check:checked + .btn-outline-success, body.lg-dash .btn-outline-success:hover {
    background: linear-gradient(145deg, #5eead4 0%, #10b981 60%, #059669 100%) !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(16,185,129,.34), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .btn-danger, body.lg-dash .btn-danger:hover, body.lg-dash .btn-outline-danger:hover {
    background: linear-gradient(145deg, #ff8a80 0%, #ef4444 60%, #dc2626 100%) !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(239,68,68,.32), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .btn-warning, body.lg-dash .btn-warning:hover, body.lg-dash .btn-check:checked + .btn-outline-warning, body.lg-dash .btn-outline-warning:hover {
    background: linear-gradient(145deg, #fcd34d 0%, #f59e0b 60%, #ea8a05 100%) !important; border-color: rgba(255,255,255,.55) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(245,158,11,.34), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .btn-info, body.lg-dash .btn-info:hover, body.lg-dash .btn-outline-info:hover {
    background: linear-gradient(145deg, #7dd3fc 0%, #0ea5e9 60%, #0284c7 100%) !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(14,165,233,.32), inset 0 1.5px 0 rgba(255,255,255,.55);
}
body.lg-dash .btn-dark, body.lg-dash .btn-dark:hover {
    background: linear-gradient(145deg, #64748b, #334155 70%) !important; border-color: rgba(255,255,255,.4) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgba(51,65,85,.3), inset 0 1.5px 0 rgba(255,255,255,.4);
}
body.lg-dash .btn-secondary, body.lg-dash .btn-light, body.lg-dash .btn-outline-secondary, body.lg-dash .btn-outline-primary, body.lg-dash .btn-outline-success,
body.lg-dash .btn-outline-info, body.lg-dash .btn-outline-dark, body.lg-dash .btn-outline-warning, body.lg-dash .btn-outline-danger {
    background: var(--lg-fill-2); border: 1px solid var(--lg-border);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.1);
}
body.lg-dash .btn-secondary, body.lg-dash .btn-light, body.lg-dash .btn-outline-secondary, body.lg-dash .btn-outline-dark { color: var(--lg-text); }
body.lg-dash .btn-secondary:hover, body.lg-dash .btn-light:hover, body.lg-dash .btn-outline-secondary:hover, body.lg-dash .btn-outline-dark:hover { background: var(--lg-fill-3); color: var(--lg-text); }
body.lg-dash .btn-outline-primary { color: #1d4ed8; }
body.lg-dash .btn-outline-success { color: #047857; }
body.lg-dash .btn-outline-info { color: #0369a1; }
body.lg-dash .btn-outline-warning { color: #b45309; border-color: rgba(245,158,11,.5); }
body.lg-dash .btn-outline-danger { color: #d92d20; background: rgba(255,69,58,.1); border-color: rgba(255,69,58,.35); }
body.lg-dash .btn.disabled, body.lg-dash .btn:disabled { opacity: .55; }
body.lg-dash .btn-close { opacity: .6; }
body.lg-dash .btn-group, body.lg-dash .btn-group-sm { border-radius: 999px; box-shadow: 0 4px 14px rgba(64,86,160,.1); }
body.lg-dash .btn-group > .btn { border-radius: 0 !important; box-shadow: none; min-height: 40px; }
body.lg-dash .btn-group > .btn:first-child, body.lg-dash .btn-group > .btn-check:first-child + .btn { border-radius: 999px 0 0 999px !important; }
body.lg-dash .btn-group > .btn:last-child { border-radius: 0 999px 999px 0 !important; }
body.lg-dash .btn-group > .btn:only-child { border-radius: 999px !important; }
body.lg-dash .btn-group.btn-group-sm > .btn { min-height: 36px; }
body.lg-dash .btn-group > .btn + .btn { margin-left: -1px; }

/* ---- forms ---- */
body.lg-dash .form-control, body.lg-dash .form-select, body.lg-dash .input-group-text {
    background-color: var(--lg-input); border: 1px solid var(--lg-border); border-radius: var(--lg-r-sm);
    min-height: 50px; padding: .75rem 1rem; font-size: 16px; color: var(--lg-text);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 2px 4px rgba(60,80,150,.07), inset 0 1.5px 0 rgba(255,255,255,.7);
    transition: border-color .2s, box-shadow .25s, background-color .2s;
}
body.lg-dash .form-select { background-image: var(--lg-select-arrow); background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.6rem; }
body.lg-dash .form-control:focus, body.lg-dash .form-select:focus {
    background-color: var(--lg-fill-3); border-color: rgba(59,130,246,.75); color: var(--lg-text);
    box-shadow: 0 0 0 4px rgba(59,130,246,.2), inset 0 1.5px 0 rgba(255,255,255,.7);
}
body.lg-dash .form-control::placeholder { color: var(--lg-muted); opacity: .75; }
body.lg-dash textarea.form-control { min-height: 110px; }
body.lg-dash .form-control-sm, body.lg-dash .form-select-sm { min-height: 42px; border-radius: 14px; padding: .5rem .8rem; font-size: 15px; }
body.lg-dash .form-control::file-selector-button { border: 0; border-radius: 10px; padding: .35rem .8rem; margin-right: .7rem; background: var(--lg-fill-3); color: var(--lg-text); font-weight: 600; }
body.lg-dash .form-control:disabled, body.lg-dash .form-select:disabled { opacity: .6; }
body.lg-dash .form-label { font-weight: 600; font-size: .86rem; color: var(--lg-muted); margin: 0 0 .35rem .3rem; }
body.lg-dash .form-text { color: var(--lg-muted); font-size: .78rem; margin-left: .3rem; }
body.lg-dash .form-check-input { width: 1.3em; height: 1.3em; border-radius: .45em; background-color: var(--lg-input); border-color: var(--lg-border); }
body.lg-dash .form-check-input[type=radio] { border-radius: 50%; }
body.lg-dash .form-check-input:checked { background-color: #3b82f6; border-color: #3b82f6; }
body.lg-dash .form-switch .form-check-input { width: 2.4em; border-radius: 2em; }
body.lg-dash .input-group { flex-wrap: nowrap; gap: 8px; }
body.lg-dash .input-group > .form-control, body.lg-dash .input-group > .btn, body.lg-dash .input-group > .form-select, body.lg-dash .input-group > .input-group-text {
    border-radius: 999px !important; margin-left: 0 !important;
}
body.lg-dash .input-group > .form-control { padding-left: 1.2rem; }
body.lg-dash .input-group > .btn { flex: none; }

/* ---- alerts / badges / pagination / lists / progress ---- */
body.lg-dash .alert {
    border-radius: 22px; border: 1px solid var(--lg-border); color: var(--lg-text); background: var(--lg-fill-2);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--lg-sh);
}
body.lg-dash .alert-success { background: linear-gradient(rgba(52,199,89,.16), rgba(52,199,89,.16)), var(--lg-fill-2); border-color: rgba(52,199,89,.4); color: #15803d; }
body.lg-dash .alert-danger  { background: linear-gradient(rgba(255,69,58,.14), rgba(255,69,58,.14)), var(--lg-fill-2); border-color: rgba(255,69,58,.4); color: #b91c1c; }
body.lg-dash .alert-warning { background: linear-gradient(rgba(255,159,10,.16), rgba(255,159,10,.16)), var(--lg-fill-2); border-color: rgba(255,159,10,.42); color: #92400e; }
body.lg-dash .alert-info    { background: linear-gradient(rgba(14,165,233,.14), rgba(14,165,233,.14)), var(--lg-fill-2); border-color: rgba(14,165,233,.4); color: #075985; }
body.lg-dash .alert-secondary, body.lg-dash .alert-light { background: var(--lg-fill-2); color: var(--lg-text); }
body.lg-dash .badge { border-radius: 999px; font-weight: 700; padding: .45em .8em; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
body.lg-dash .badge.text-bg-primary   { background: rgba(59,130,246,.2) !important;  color: #1d4ed8 !important; }
body.lg-dash .badge.text-bg-success   { background: rgba(16,185,129,.2) !important;  color: #047857 !important; }
body.lg-dash .badge.text-bg-warning   { background: rgba(245,158,11,.24) !important; color: #b45309 !important; }
body.lg-dash .badge.text-bg-danger    { background: rgba(239,68,68,.18) !important;  color: #b91c1c !important; }
body.lg-dash .badge.text-bg-info      { background: rgba(14,165,233,.2) !important;  color: #0369a1 !important; }
body.lg-dash .badge.text-bg-secondary { background: rgba(100,116,139,.2) !important; color: #475569 !important; }
body.lg-dash .badge.text-bg-dark      { background: rgba(30,41,59,.82) !important;   color: #fff !important; }
body.lg-dash .badge.text-bg-light     { background: rgba(255,255,255,.85) !important; color: #1e293b !important; }
body.lg-dash .app-header .navbar-badge { background: #ef4444 !important; color: #fff !important; }
body.lg-dash .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; margin: 0; }
body.lg-dash .page-link {
    border-radius: 14px !important; border: 1px solid var(--lg-border); background: var(--lg-fill-2); color: var(--lg-text);
    min-width: 42px; text-align: center; font-weight: 600; box-shadow: inset 0 1px 0 var(--lg-hi);
}
body.lg-dash .page-item.active .page-link { background: linear-gradient(145deg,#5aa9ff,#3b6cff 60%,#6a5cf0); color: #fff; border-color: rgba(255,255,255,.5); }
body.lg-dash .page-item.disabled .page-link { opacity: .5; background: var(--lg-fill); color: var(--lg-muted); }
body.lg-dash .list-group { border-radius: var(--lg-r-sm); }
body.lg-dash .list-group-item { background: transparent; color: var(--lg-text); border-color: rgba(255,255,255,.7); padding: .8rem 1.1rem; }
body.lg-dash .list-group-item.active { background: linear-gradient(145deg,#5aa9ff,#3b6cff 60%,#6a5cf0); border-color: rgba(255,255,255,.5); }
body.lg-dash .progress { height: 10px !important; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 1px 3px rgba(60,80,150,.18); overflow: hidden; }
body.lg-dash .progress-bar { background: linear-gradient(90deg, #5aa9ff, #3b6cff 60%, #6a5cf0); border-radius: 999px; }
body.lg-dash .progress-bar.bg-success { background: linear-gradient(90deg, #5eead4, #10b981); }
body.lg-dash .progress-bar.bg-danger { background: linear-gradient(90deg, #ff8a80, #ef4444); }
body.lg-dash .progress-bar.bg-warning { background: linear-gradient(90deg, #fcd34d, #f59e0b); }
body.lg-dash .border-top, body.lg-dash .border-bottom, body.lg-dash .border { border-color: rgba(255,255,255,.7) !important; }
body.lg-dash .accordion-item { background: var(--lg-fill-2); border-color: var(--lg-border); border-radius: var(--lg-r-sm) !important; overflow: hidden; margin-bottom: 8px; }
body.lg-dash .accordion-button { background: transparent; color: var(--lg-text); font-weight: 700; box-shadow: none; }

/* ---- tabs -> chips ---- */
body.lg-dash .nav-tabs { flex-wrap: nowrap; overflow-x: auto; border: 0; gap: 6px; padding: 2px 2px 8px; scrollbar-width: none; }
body.lg-dash .nav-tabs::-webkit-scrollbar { display: none; }
body.lg-dash .nav-tabs .nav-link {
    flex: none; white-space: nowrap; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .88rem;
    background: var(--lg-fill-2); border: 1px solid var(--lg-border) !important; color: var(--lg-text) !important;
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 3px 10px rgba(64,86,160,.1); margin: 0;
}
body.lg-dash .nav-tabs .nav-link.active {
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0) !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important;
    box-shadow: 0 6px 16px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.5);
}
body.lg-dash .nav-pills .nav-link { border-radius: 999px; }
body.lg-dash .nav-pills .nav-link.active { background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); }

/* ---- modals ---- */
body.lg-dash .modal-dialog { margin: 14px auto; max-width: calc(100% - 28px); }
body.lg-dash .modal-content {
    background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,0) 42%), var(--lg-fill-3);
    -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid var(--lg-border); border-radius: var(--lg-r-lg); box-shadow: 0 26px 64px rgba(30,45,110,.34), inset 0 1.5px 0 var(--lg-hi); color: var(--lg-text);
}
body.lg-dash .modal-header, body.lg-dash .modal-footer { border-color: rgba(255,255,255,.7); padding: 16px 20px; }
body.lg-dash .modal-body { padding: 14px 20px; }
body.lg-dash .modal-title { font-weight: 800; letter-spacing: -.02em; }
body.lg-dash .modal-backdrop { --bs-backdrop-opacity: .3; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.lg-dash .modal { z-index: 1060; } body.lg-dash .modal-backdrop { z-index: 1055; }
body.lg-dash .dropdown-menu:not(.dropdown-menu-end) { border-radius: 22px; }

/* ---- footer ---- */
body.lg-dash .app-footer {
    margin: 18px 14px 0; padding: 14px 18px; border: 1px solid var(--lg-border) !important; border-radius: var(--lg-r); color: var(--lg-muted);
    background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%), var(--lg-fill) !important;
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); box-shadow: var(--lg-sh);
}
body.lg-dash .app-footer strong { color: var(--lg-text); }

/* ---- tab bar extras ---- */
body .lg-tabbar a.lg-tab { color: var(--lg-muted); }
body .lg-tabbar a.lg-tab.active { color: var(--lg-blue-2); }
body .lg-tabbar .lg-tab-badge {
    position: absolute; top: 3px; left: 54%; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px;
    background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
    box-shadow: 0 2px 8px rgba(239,68,68,.5), 0 0 0 2px rgba(255,255,255,.8);
}

/* ---- green "switch" button (public site <-> staff panel) ---- */
body .lg-tabbar a.lg-tab.lg-tab-switch {
    justify-self: center; align-self: center; width: 52px; height: 52px; min-height: 0; flex: none; gap: 0; color: #fff;
    background: linear-gradient(145deg, #10b981, #059669);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 20px rgba(16,185,129,.45), 0 0 14px rgba(16,185,129,.3), inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -1px 2px rgba(4,120,87,.35);
}
body .lg-tabbar a.lg-tab.lg-tab-switch i { font-size: 24px; transform: none; }
body .lg-tabbar a.lg-tab.lg-tab-switch:active { transform: scale(.9); }
[data-bs-theme=dark] body .lg-tabbar a.lg-tab.lg-tab-switch { color: #fff; border-color: rgba(255,255,255,.3); box-shadow: 0 8px 22px rgba(16,185,129,.5), 0 0 16px rgba(16,185,129,.35), inset 0 1.5px 0 rgba(255,255,255,.4), inset 0 -1px 2px rgba(4,120,87,.4); }

/* ---- calendar widget ---- */
body.lg-dash .cal th { color: var(--lg-muted); }
body.lg-dash .cal .today { background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); box-shadow: 0 6px 14px rgba(59,108,255,.38); }
body.lg-dash .cal .shift::after { background: #3b82f6; }

/* ---- group chat ---- */
body.lg-dash #chat, body.lg-dash #search-results {
    height: 52vh; background: var(--lg-fill); border: 1px solid var(--lg-border); border-radius: 24px; box-shadow: inset 0 2px 8px rgba(60,80,150,.08);
}
body.lg-dash .cc-bubble { max-width: 84%; border-radius: 20px; box-shadow: 0 4px 14px rgba(64,86,160,.12); }
body.lg-dash .cc-bubble.in { background: rgba(255,255,255,.92); color: var(--lg-text); border-bottom-left-radius: 6px; }
body.lg-dash .cc-bubble.out { background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px rgba(59,108,255,.3); }
body.lg-dash .cc-bubble .cc-author { color: #2563eb; }
body.lg-dash .cc-bubble.out .cc-author { color: rgba(255,255,255,.92); }
body.lg-dash .cc-sys { background: rgba(255,248,225,.85); border: 1px solid rgba(245,158,11,.35); border-radius: 18px; }
body.lg-dash .cc-head-ico, body.lg-dash .cc-gico { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), 0 6px 14px rgba(64,86,160,.18); }
body.lg-dash .cc-head-ico { background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0); color: #fff; }
body.lg-dash .cc-glist { max-height: 270px; padding: 6px; }
body.lg-dash .cc-gitem { border: 0; border-radius: 20px; margin-bottom: 4px; padding: .6rem .7rem; }
body.lg-dash .cc-gitem:hover { background: var(--lg-fill-2); }
body.lg-dash .cc-gitem.active { background: var(--lg-fill-3); box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 14px rgba(64,86,160,.12); }
body.lg-dash .cc-head-sub, body.lg-dash .cc-glast, body.lg-dash .cc-gmeta { color: var(--lg-muted); }
body.lg-dash .cc-hit { background: rgba(255,255,255,.9); border-radius: 18px; }
body.lg-dash #emoji-pop { background: var(--lg-fill-3); border: 1px solid var(--lg-border); border-radius: 22px; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.lg-dash #emoji-pop button:hover { background: var(--lg-fill-2); }

/* ---- tests ---- */
body.lg-dash .tk-progress {
    top: 8px; z-index: 5; padding: .7rem 1rem .6rem; border-radius: 22px; background: var(--lg-fill-3);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--lg-border); box-shadow: var(--lg-sh);
}
body.lg-dash .tk-opt, body.lg-dash .rv-opt {
    border: 1px solid var(--lg-border); border-radius: 18px; padding: .7rem 1rem; background: var(--lg-fill-2);
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 3px 10px rgba(64,86,160,.08);
}
body.lg-dash .tk-opt:has(input:checked) { border-color: rgba(59,130,246,.7); background: linear-gradient(rgba(59,130,246,.16), rgba(59,130,246,.16)), var(--lg-fill-2); }
body.lg-dash .rv-opt.rv-ok { border-color: rgba(16,185,129,.6); background: linear-gradient(rgba(16,185,129,.18), rgba(16,185,129,.18)), var(--lg-fill-2); }
body.lg-dash .rv-opt.rv-bad { border-color: rgba(239,68,68,.55); background: linear-gradient(rgba(239,68,68,.16), rgba(239,68,68,.16)), var(--lg-fill-2); }
body.lg-dash .rv-note { border-left: 3px solid #3b82f6; background: rgba(59,130,246,.1); border-radius: 16px; }
body.lg-dash .tq-opt { flex-wrap: wrap; }
body.lg-dash .tq-opt .form-control { flex: 1 1 60%; min-width: 0; }
body.lg-dash .tq-opt:has(input[type=radio]:checked) .form-control { border-color: rgba(16,185,129,.7); background: rgba(16,185,129,.12); }
body.lg-dash .tq-card:target { box-shadow: 0 0 0 3px rgba(245,158,11,.6), var(--lg-sh); }
body.lg-dash .es-counter { border-left: 1px solid var(--lg-border); }
body.lg-dash .es-wrap { word-break: break-word; }

/* ---- motion ---- */
body.lg-dash .app-content .card, body.lg-dash .app-content .alert { animation: lg-fade-up .5s var(--lg-ease) backwards; }
body.lg-dash .app-content .row > [class*="col-"] > .card, body.lg-dash .app-content .row > [class*="col-"] > .info-box { animation: none; }
@media (prefers-reduced-motion: reduce) {
    body.lg-dash *, body.lg-dash::after, body.lg-dash .app-sidebar { animation: none !important; transition: none !important; }
}


/* ---- phone menu fix: own scrim + guaranteed stacking (drawer 1038 > scrim 1037 > header 1030 > tab bar 1020) ---- */
body.lg-dash .sidebar-overlay { display: none !important; }
body.lg-dash .lg-scrim {
    display: none; position: fixed; inset: 0; z-index: 1037; cursor: pointer;
    background: rgba(20,30,70,.28);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
}
body.lg-dash.sidebar-open .lg-scrim { display: block; }
body.lg-dash .app-sidebar { pointer-events: auto; }
body.lg-dash .app-header .navbar-nav:first-child .nav-link { position: relative; z-index: 1031; pointer-events: auto; touch-action: manipulation; }
body.lg-dash .lg-tabbar .lg-tab { touch-action: manipulation; }
/* =========================== USERS PAGE (owner "Foydalanuvchilar") - phones =========================== */
body.lg-dash .lg-udesk { display: none !important; }
body.lg-dash .lg-uphone { display: block; margin-bottom: 12px; min-width: 0; }
body.lg-dash .lg-ulist { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 100%; }
body.lg-dash .lg-usearch { min-height: 52px; padding: .5rem 1rem; margin-bottom: 8px; max-width: 100%; }
body.lg-dash a.lg-uclear {
    flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; text-decoration: none;
    color: var(--lg-muted); background: var(--lg-fill-2); border: 1px solid var(--lg-border); font-size: .85rem;
}
body.lg-dash .lg-uchips {
    position: relative; display: flex; gap: 8px; max-width: 100%; padding: 4px 2px 10px;
    overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
body.lg-dash .lg-uchips::-webkit-scrollbar { display: none; }
body.lg-dash a.lg-uchip { flex: none; display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; text-decoration: none; color: var(--lg-text); }
body.lg-dash a.lg-uchip.active {
    color: #fff; border-color: rgba(255,255,255,.5);
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0);
    box-shadow: 0 6px 16px rgba(59,108,255,.38), inset 0 1.5px 0 rgba(255,255,255,.5);
}

body.lg-dash .lg-ucard {
    display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 100%; padding: 14px; overflow: hidden;
    border-radius: var(--lg-r); color: var(--lg-text); border: 1px solid var(--lg-border); box-shadow: var(--lg-sh);
    background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%), var(--lg-fill);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    animation: lg-fade-up .5s var(--lg-ease) backwards;
}
body.lg-dash .lg-uempty { align-items: center; padding: 26px 14px; color: var(--lg-muted); text-align: center; }
.lg-uhead { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.lg-uav { flex: none; line-height: 0; }
.lg-uav img, .lg-uav .rounded-circle { border: 2px solid rgba(255,255,255,.85); box-shadow: 0 4px 12px rgba(64,86,160,.18); }
.lg-umain { flex: 1 1 0; min-width: 0; }
.lg-uname { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-usub { font-size: .8rem; line-height: 1.4; color: var(--lg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-ubadges { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 46%; }
body.lg-dash .lg-ubadges .badge { max-width: 100%; padding: .38em .7em; font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-umeta {
    display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 9px; font-size: .78rem; color: var(--lg-muted);
    border-top: 1px dashed rgba(95,111,140,.28);
}
.lg-umeta b { color: var(--lg-text); font-weight: 800; }
.lg-udate { margin-left: auto; }

.lg-uact { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.lg-uact form { margin: 0; flex: none; }
.lg-ubtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--lg-border); background: var(--lg-fill-2); color: var(--lg-text);
    font-size: .82rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
    box-shadow: inset 0 1px 0 var(--lg-hi), 0 4px 12px rgba(64,86,160,.1);
    transition: transform .18s var(--lg-ease), background .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lg-ubtn:active { transform: scale(.95); }
.lg-ubtn-role { flex: 1 1 0; min-width: 0; }
.lg-ubtn-role i { flex: none; }
.lg-ubtn-role span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-ubtn-role.is-open { border-color: rgba(59,130,246,.5); background: linear-gradient(rgba(59,130,246,.16), rgba(59,130,246,.16)), var(--lg-fill-2); }
body.lg-dash a.lg-ubtn-open {
    flex: none; color: #fff; border-color: rgba(255,255,255,.5);
    background: linear-gradient(145deg, #5aa9ff, #3b6cff 60%, #6a5cf0);
    box-shadow: 0 8px 18px rgba(59,108,255,.34), inset 0 1.5px 0 rgba(255,255,255,.55);
}
.lg-ubtn-del { width: 44px; padding: 0; font-size: 1.05rem; color: #d92d20; background: rgba(255,69,58,.14); border-color: rgba(255,69,58,.34); }
[data-bs-theme=dark] .lg-ubtn-del { color: #ff8f86; }
.lg-urole { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lg-urole[hidden] { display: none !important; }
body.lg-dash .lg-urole .form-select { flex: 1 1 0; min-width: 0; min-height: 44px; border-radius: 999px; }
.lg-ubtn-save { flex: none; width: 44px; padding: 0; font-size: 1.2rem; color: #047857; background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.4); }
[data-bs-theme=dark] .lg-ubtn-save { color: #6ee7b7; }
@media (max-width: 340px) {
    .lg-ubtn-role i { display: none; }
    .lg-ubtn { padding: 0 10px; font-size: .78rem; }
}
} /* end @media (max-width: 768px) */
