/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* main layout.css */

/* Base layout styling */
.page[b-05lgbna4wi] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure page takes full height */
    z-index: auto !important;
}

main[b-05lgbna4wi] {
    flex: 1; /* Allows main content to grow */
    /* Flex items default to min-width:auto — main would then refuse to shrink below
       its widest child's intrinsic width (e.g. a wide report table), pushing the whole
       page past the viewport. min-width:0 lets wide content scroll inside its own
       overflow-x container instead. */
    min-width: 0;
    z-index: 1 !important; /* Ensure main content is behind top-row/sidebar/modals */
    position: relative;
    /* Remove padding-left from here, apply to children */
    /* Add base padding for mobile/default and top/bottom */
    padding: 1rem;
}

/* Top navigation bar styling (Main layout) */
/* This rule applies to the top-row OUTSIDE the sidebar */
.top-row[b-05lgbna4wi] {
    background-color: var(--header-bg, #f7f7f7);
    border-bottom: 1px solid var(--header-border, #d6d5d5);
    justify-content: flex-end;
    height: 3.5rem; /* Base height */
    display: flex;
    align-items: center;
    position: sticky; /* Fixed header - stays at top on scroll */
    top: 0;
    z-index: 9999 !important; /* Critical: Very high z-index */
    /* Base padding for mobile */
    padding-right: 1.5rem;
    /* Padding-left handled in media query */
}

    /* Styles for links directly in the main layout's top row */
    .top-row[b-05lgbna4wi]  a,
    .top-row[b-05lgbna4wi]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-05lgbna4wi]  a:hover,
        .top-row[b-05lgbna4wi]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-05lgbna4wi]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* Content article styling.
   Global content cap: every page renders inside this single wrapper, so the
   1600px cap + auto margins here are THE app-wide max content width — pages
   must not add their own full-bleed wrappers or per-page max-width:none. */
article.content[b-05lgbna4wi] {
    position: relative;
    z-index: 1 !important; /* Below top-row */
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    /* Padding-left handled in media query */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Error UI styling */
#blazor-error-ui[b-05lgbna4wi] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 99999;
}

    #blazor-error-ui .dismiss[b-05lgbna4wi] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Dropdown styling */
.modal-overlay[b-05lgbna4wi] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 100000;
}

.absolute-dropdown[b-05lgbna4wi] {
    position: fixed;
    background-color: var(--surface-card, white);
    border: 1px solid var(--surface-border, rgba(0, 0, 0, 0.15));
    border-radius: var(--radius-sm, 0.25rem);
    box-shadow: var(--shadow-lg, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
    z-index: 100001;
}

.dropdown-item-text[b-05lgbna4wi] {
    padding: 0.5rem 1rem;
    color: var(--text-secondary, #6c757d);
}

.dropdown-divider[b-05lgbna4wi] {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--surface-border-light, #e9ecef);
}

.dropdown-item[b-05lgbna4wi] {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--text-primary, #212529);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

    .dropdown-item:hover[b-05lgbna4wi] {
        background-color: var(--surface-hover, #f8f9fa);
        color: var(--text-primary, #16181b);
        text-decoration: none;
    }

/* User dropdown specific styles */
.user-dropdown-container[b-05lgbna4wi] {
    position: relative;
}

.user-menu[b-05lgbna4wi] {
    top: 64px;
    right: 20px;
    min-width: 200px;
}

/* Hero section fix */
:deep(.hero-section)[b-05lgbna4wi], :deep(.overlay)[b-05lgbna4wi], :deep(.hero-content)[b-05lgbna4wi] {
    z-index: 1 !important;
}


/* --- Media Queries --- */

/* Mobile Styles (canonical mobile band — see site.css breakpoint convention) */
@media (max-width: 767.98px) {
    /* Prevent horizontal scroll from scrollbar width changes. clip, not
       hidden: hidden turns .page into a (non-scrolling) scroll container, which
       silently breaks every position: sticky inside it on phones — the top
       bar and EventInquiryPage's total bar (2026-09-23). */
    .page[b-05lgbna4wi] {
        overflow-x: clip;
    }

    /* Remove padding from main for mobile if base padding is 1rem.
       No top margin: the old fixed mobile header is gone — nav is an overlay
       side-drawer and the top bar is sticky INSIDE main, so any margin here
       just leaves a blank band above the bar. */
    main[b-05lgbna4wi] {
        padding: 0; /* Reset base padding */
    }

    /* Add padding back to children for mobile */
    .top-row[b-05lgbna4wi] {
        justify-content: space-between;
        padding-left: 0.75rem; /* Mobile padding */
        padding-right: 0.75rem;
        gap: 0.5rem;
    }

    /* Greeting stays on one line at a phone size (2026-09-10) */
    .top-row > span[b-05lgbna4wi] { font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
    .top-row > .d-flex[b-05lgbna4wi] { gap: 0.35rem !important; }

        .top-row[b-05lgbna4wi]  a,
        .top-row[b-05lgbna4wi]  .btn-link {
            margin-left: 0;
        }

    article.content[b-05lgbna4wi] {
        padding-left: 1rem; /* Mobile padding */
        padding-right: 1rem;
    }
}

/* Tablet-and-up Styles (canonical — sidebar rail + side-by-side layout) */
@media (min-width: 768px) {
    .page[b-05lgbna4wi] {
        flex-direction: row; /* Sidebar and main content side-by-side */
    }

    main[b-05lgbna4wi] {
        flex: 1;
        /* Remove padding-left from main */
        padding-top: 0; /* Remove base padding if needed */
        padding-bottom: 0;
        padding-right: 0;
        padding-left: 0; /* Explicitly remove */
        overflow-x: clip; /* Use clip instead of hidden - doesn't break sticky positioning */
        /* Optionally add 'position: relative;' if not already implied */
        position: relative; /* Ensures z-index and potential absolute children work correctly */
    }

        /* Header (no rail anymore — the drawer overlays, so no dynamic padding) */
        main > .top-row[b-05lgbna4wi] {
            position: sticky;
            top: 0;
            z-index: 9999 !important;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            background-color: var(--header-bg, #f7f7f7);
            border-bottom: 1px solid var(--header-border, #d6d5d5);
        }

        main > article.content[b-05lgbna4wi] {
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

    /* Specific alignment for auth links in desktop top row */
    .top-row.auth[b-05lgbna4wi]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable transitions for layout changes */
    main > .top-row[b-05lgbna4wi], main > article.content[b-05lgbna4wi] {
        transition: none;
    }

        /* Disable transitions within NavMenu */
        .nav-text[b-05lgbna4wi], .navbar-brand[b-05lgbna4wi],
        .nav-item[b-05lgbna4wi]  a, .nav-icon-container[b-05lgbna4wi], .bi[b-05lgbna4wi] {
            transition: none !important; /* Ensure no transitions apply */
        }
}
/* /Components/Layout/NavDrawerToggle.razor.rz.scp.css */
.nav-drawer-toggle[b-cxakzrfqwb] {
    appearance: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--text-primary, #333);
    transition: background 0.2s ease;
}

.nav-drawer-toggle svg[b-cxakzrfqwb] { width: 18px; height: 14px; }

    .nav-drawer-toggle:hover[b-cxakzrfqwb] {
        background: var(--surface-hover, rgba(0, 0, 0, 0.06));
    }

/* Mobile-only: tablet/desktop have the permanent sidebar, no trigger needed. */
@media (min-width: 768px) {
    .nav-drawer-toggle[b-cxakzrfqwb] {
        display: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu.razor.css */

/* Styles specific to the NavMenu component, often within the .sidebar */

/* Base Styles */
.navbar-toggler[b-r6kjlxz0j4] {
    appearance: none;
    cursor: pointer;
    color: white;
    z-index: 10;
    flex-shrink: 0;
}

.sidebar .top-row[b-r6kjlxz0j4] {
    height: 7.5rem;
    background-color: rgba(0,0,0,0.4);
    border-bottom: none;
    position: relative;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .sidebar .top-row .container-fluid[b-r6kjlxz0j4] {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0.5rem 1rem;
        transition: padding 0.3s ease;
    }

.navbar-brand[b-r6kjlxz0j4] { /* Added padding and transform transition */
    font-size: 1.1rem;
    margin: 0;
    padding: 0; /* Base padding is 0 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
    color: var(--brand-accent, #c0ff00);
    /* Animate padding and transform for smooth shift */
    transition: padding 0.3s ease, transform 0.3s ease;
}

    /* Base image style - Represents EXPANDED size based on user code */
    .navbar-brand img[b-r6kjlxz0j4] {
        height: 95px; /* User's current expanded height */
        width: auto;
        max-width: 100%;
        /* Add height transition */
        transition: transform 0.3s ease, height 0.3s ease;
        object-fit: contain;
    }

        .navbar-brand img:hover[b-r6kjlxz0j4] {
            transform: scale(1.05);
        }

.nav-scrollable[b-r6kjlxz0j4] { /* Unchanged */
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 7.5rem);
    position: relative;
    padding-top: 1rem;
}

.nav-item[b-r6kjlxz0j4] {
    /* Drawer-first sizing: generous type like the Coterie reference */
    font-size: 1.05rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    white-space: nowrap;
    margin: 0 0.5rem;
    transition: padding 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

    /* --- Base Link and Icon Styles with Transitions --- */
    .nav-item[b-r6kjlxz0j4]  a {
        color: var(--sidebar-text-muted, #d7d7d7);
        border-radius: var(--radius-sm, 4px);
        height: 3.25rem;
        display: flex;
        align-items: center;
        line-height: normal;
        padding: 0 0.75rem;
        overflow: hidden;
        text-decoration: none;
        /* Define transitions on base state - Re-add padding transition */
        transition: background-color 0.2s ease, color 0.2s ease, padding 0.3s ease;
    }

.nav-icon-container[b-r6kjlxz0j4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    margin-right: 12px; /* Default margin */
    flex-shrink: 0;
    /* Re-add margin transition */
    transition: margin-right 0.3s ease;
}

.bi[b-r6kjlxz0j4] {
    width: 1.5rem;
    font-size: 1.25rem;
    vertical-align: text-top;
    color: var(--brand-accent, #c0ff00);
    flex-shrink: 0;
    /* Define transition on base state */
    transition: color 0.2s ease;
}

.nav-text[b-r6kjlxz0j4] {
    line-height: 1;
    opacity: 0;
    white-space: nowrap;
    /* flex-basis 0 + grow 1 fills the row exactly like the old flex-grow: 1,
       but makes the label's width a pure function of flex-grow — a NUMBER the
       rail can animate to 0 on collapse (width: 0 / basis auto cannot). */
    flex: 1 1 0px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis; /* long labels truncate gracefully next to count pills */
    /* Doubles as the query container for the long-label reveal below — the
       inner .nav-text-scroll span measures itself against 100cqw = this
       window's width. Containment is inline-size only, and the label's width
       is already a pure function of flex-grow (basis 0 + min-width 0), so the
       rail's flex-grow collapse animation is untouched by it. */
    container-type: inline-size;
    /* Layered reveal: text fades + slides in slightly AFTER the rail starts
       widening (Coterie-style parallax feel). Curve = easeInOutQuart, matching
       the rail width transition in MainLayout.razor.css. */
    transform: translateX(-8px);
    transition: opacity 0.35s cubic-bezier(0.77, 0, 0.175, 1) 0.06s,
                transform 0.45s cubic-bezier(0.77, 0, 0.175, 1) 0.06s,
                flex-grow 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                margin-left 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Long-label reveal ───────────────────────────────────────────────────
   A label wider than its row scrolls sideways while the ROW is hovered/focused
   so the tail can be read; the icon and the count pill never move (only this
   inner span translates, inside .nav-text's overflow window).

   Overflow detection is pure CSS, no JS and no per-label measurement: .nav-text
   is an inline-size container, so 100cqw = the window's width while 100% on the
   transform = the inner span's own (max-content, nowrap) width. min() of the two
   is therefore 0px whenever the text FITS — labels that fit do not move at all —
   and exactly the overflow amount when it doesn't. The delay keeps a quick mouse
   pass across the menu from jittering every row it crosses. */
.nav-text-scroll[b-r6kjlxz0j4] {
    display: inline-block;
    white-space: nowrap;
    transform: translateX(0);
    transition: transform 0.95s ease-in-out 0.3s;
}

.nav-item[b-r6kjlxz0j4]  a:hover .nav-text-scroll,
.nav-item[b-r6kjlxz0j4]  a:focus-visible .nav-text-scroll,
.nav-group-header:hover .nav-text-scroll[b-r6kjlxz0j4],
.nav-group-header:focus-visible .nav-text-scroll[b-r6kjlxz0j4] {
    transform: translateX(min(0px, calc(100cqw - 100%)));
}

/* At rest the ellipsis is the "there's more" cue; while scrolled it would mask
   the very tail being revealed, so the window clips instead. */
.nav-item[b-r6kjlxz0j4]  a:hover .nav-text,
.nav-item[b-r6kjlxz0j4]  a:focus-visible .nav-text,
.nav-group-header:hover .nav-text[b-r6kjlxz0j4],
.nav-group-header:focus-visible .nav-text[b-r6kjlxz0j4] {
    text-overflow: clip;
}

/* --- Base Link States (Mobile / Fallback) --- */
.nav-item[b-r6kjlxz0j4]  a.active {
    background-color: var(--sidebar-active-bg, rgba(192, 255, 0, 0.25));
    color: var(--sidebar-text, white);
}

    .nav-item[b-r6kjlxz0j4]  a.active .bi {
        color: var(--sidebar-text, white);
    }

.nav-item[b-r6kjlxz0j4]  a:not(.active):hover {
    background-color: var(--sidebar-hover-bg, rgba(192, 255, 0, 0.1));
    color: var(--brand-accent, #c0ff00);
}

    .nav-item[b-r6kjlxz0j4]  a:not(.active):hover .bi {
        color: var(--brand-accent, #c0ff00);
    }

    /* Coterie-style label micro-slide on hover (interactive elements only) */
    .nav-item[b-r6kjlxz0j4]  a:not(.active):hover .nav-text {
        transform: translateX(3px);
    }

/* ============================================================
   Collapsible group headers (folder rows) — same row anatomy/height/
   colors as .nav-item ::deep a, but a native <button> (not a NavLink
   inside a child component) since it toggles expand/collapse instead
   of navigating. Chevron mirrors .nav-text's hover-reveal treatment.
   ============================================================ */
.nav-group-header[b-r6kjlxz0j4] {
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    color: var(--sidebar-text-muted, #d7d7d7);
    border-radius: var(--radius-sm, 4px);
    height: 3.25rem;
    line-height: normal;
    padding: 0 0.75rem;
    overflow: hidden;
    text-align: left;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, color 0.2s ease, padding 0.3s ease;
}

.nav-group-header:not(.active):hover[b-r6kjlxz0j4] {
    background-color: var(--sidebar-hover-bg, rgba(192, 255, 0, 0.1));
    color: var(--brand-accent, #c0ff00);
}

    .nav-group-header:not(.active):hover .bi[b-r6kjlxz0j4] {
        color: var(--brand-accent, #c0ff00);
    }

    .nav-group-header:not(.active):hover .nav-group-label[b-r6kjlxz0j4] {
        transform: translateX(3px);
    }

.nav-group-label[b-r6kjlxz0j4] {
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-group-header.active[b-r6kjlxz0j4] {
    background-color: var(--sidebar-active-bg, rgba(192, 255, 0, 0.25));
    color: var(--sidebar-text, white);
}

    .nav-group-header.active .bi[b-r6kjlxz0j4] {
        color: var(--sidebar-text, white);
    }

.nav-group-label[b-r6kjlxz0j4] {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-group-badge[b-r6kjlxz0j4] {
    flex-shrink: 0;
    margin-right: 0.4rem;
}

.nav-chevron[b-r6kjlxz0j4] {
    flex-shrink: 0;
    /* Fixed width (not auto) so the collapsed rail can animate it to 0 —
       display: none / width: auto both snap. */
    width: 0.9rem;
    min-width: 0;
    margin-left: auto;
    overflow: hidden;
    font-size: 0.8rem !important;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.77, 0, 0.175, 1) 0.06s,
                transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                width 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Drill-in levels (Coterie side-nav model) ────────────────────────────
   THREE full-width panels side by side inside a 300%-wide flex track
   (root → group panel → category panel; the third level is used only by
   Reports' categories). Drilling translates the track one panel left per
   level (one transform = the whole motion). Curve/duration match Coterie's
   linkWrapper slide (easeInOutQuart). */
.nav-levels[b-r6kjlxz0j4] {
    display: flex;
    align-items: flex-start;
    width: 300%;
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-levels.drilled[b-r6kjlxz0j4] {
    transform: translateX(-33.3333%);
}

/* drilled-2 always accompanies drilled — declared after so it wins. */
.nav-levels.drilled-2[b-r6kjlxz0j4] {
    transform: translateX(-66.6667%);
}

.nav-level[b-r6kjlxz0j4] {
    width: 33.3333%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* Platform pinned to the foot of the root level (2026-09-26): the levels strip
   fills the drawer's height so margin-top:auto can push the footer row down. */
.nav-levels[b-r6kjlxz0j4] {
    flex: 1 0 auto;
}

.nav-level-root[b-r6kjlxz0j4] {
    align-self: stretch;
    padding-bottom: 0.75rem;
}

.nav-item-foot[b-r6kjlxz0j4] {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Cross-fade + cascade: the outgoing level's rows fade/slide away instantly,
   the incoming level's rows stagger in (--i set inline per row). On first
   render rows are already at their final state, so nothing flashes. */
.nav-level .nav-item[b-r6kjlxz0j4] {
    /* padding rides along so the rail's collapsed px-3 shrink animates too
       (this rule replaces .nav-item's base transition, so it must be listed
       here or the wrapper padding snaps on rail collapse). */
    transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1),
                transform 0.4s cubic-bezier(0.77, 0, 0.175, 1),
                padding 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: 0s;
}

/* Panels to the LEFT of the current level slide away leftward… */
.nav-levels.drilled .nav-level-root .nav-item[b-r6kjlxz0j4],
.nav-levels.drilled-2 .nav-level-sub .nav-item[b-r6kjlxz0j4] {
    opacity: 0;
    transform: translateX(-12px);
}

/* …panels to the RIGHT wait offset rightward. */
.nav-levels:not(.drilled) .nav-level-sub .nav-item[b-r6kjlxz0j4],
.nav-levels:not(.drilled-2) .nav-level-sub2 .nav-item[b-r6kjlxz0j4] {
    opacity: 0;
    transform: translateX(12px);
}

/* Exactly one panel is "current" per state; its rows cascade in. */
.nav-levels:not(.drilled) .nav-level-root .nav-item[b-r6kjlxz0j4],
.nav-levels.drilled:not(.drilled-2) .nav-level-sub .nav-item[b-r6kjlxz0j4],
.nav-levels.drilled-2 .nav-level-sub2 .nav-item[b-r6kjlxz0j4] {
    opacity: 1;
    transform: none;
    /* Per-property delays (opacity, transform, padding): the cascade stagger
       applies only to the drill animation — padding must stay at 0s so the
       rail collapse animates all rows in sync with the drawer width. */
    transition-delay: calc(0.1s + var(--i, 0) * 0.035s),
                      calc(0.1s + var(--i, 0) * 0.035s),
                      0s;
}

/* Back rows: separated from their panel's links by a soft rule */
.nav-level-sub .nav-item:first-child[b-r6kjlxz0j4],
.nav-level-sub2 .nav-item:first-child[b-r6kjlxz0j4] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
    margin-bottom: 0.35rem;
}

.nav-item.nav-item-sub[b-r6kjlxz0j4] {
    margin-left: 0;
}

/* --- Mobile Specific Styles (canonical mobile band) --- */
@media (max-width: 767.98px) {
    /* Show nav text on mobile when menu is open */
    .nav-text[b-r6kjlxz0j4] {
        opacity: 1;
        transform: none;
    }

    .nav-chevron[b-r6kjlxz0j4] {
        opacity: 1;
    }

    /* Ensure links are left-aligned with proper padding */
    .nav-item[b-r6kjlxz0j4]  a {
        justify-content: flex-start;
        padding: 0 0.75rem;
    }

    .nav-icon-container[b-r6kjlxz0j4] {
        margin-right: 12px;
    }

    /* Make nav-scrollable fill width when open */
    .nav-scrollable:not(.collapse)[b-r6kjlxz0j4] {
        display: block;
        width: 100%;
    }

    /* Mobile header layout: logo centered, hamburger right */
    .sidebar .top-row .container-fluid[b-r6kjlxz0j4] {
        justify-content: center;
        position: relative;
        padding: 0.5rem 1rem;
    }

    .navbar-toggler[b-r6kjlxz0j4] {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-brand[b-r6kjlxz0j4] {
        transition: none;
    }

    /* Compact header on scroll */
    .sidebar .top-row.scrolled[b-r6kjlxz0j4] {
        height: 3.5rem;
    }

    .sidebar .top-row.scrolled .navbar-brand img[b-r6kjlxz0j4] {
        height: 36px;
    }

    .sidebar .top-row.scrolled .container-fluid[b-r6kjlxz0j4] {
        padding: 0.25rem 1rem;
    }
}

/* --- Tablet-and-up Specific Styles (canonical) --- */
@media (min-width: 768px) {

    .navbar-toggler[b-r6kjlxz0j4] {
        display: none;
    }

    /* Reveal text on hover/focus */
    .sidebar:hover .nav-text[b-r6kjlxz0j4],
    .sidebar:focus-within .nav-text[b-r6kjlxz0j4] {
        opacity: 1;
        transform: none;
    }

    .sidebar:hover .nav-chevron[b-r6kjlxz0j4],
    .sidebar:focus-within .nav-chevron[b-r6kjlxz0j4] {
        opacity: 1;
    }

    /* --- Logo Centering/Alignment --- */
    /* Center container when collapsed */
    .sidebar:not(:hover):not(:focus-within) .top-row .container-fluid[b-r6kjlxz0j4] {
        justify-content: center;
    }
    /* Ensure brand has NO padding and shift left slightly when collapsed */
    .sidebar:not(:hover):not(:focus-within) .navbar-brand[b-r6kjlxz0j4] {
        padding: 0;
        /* Use transform to shift left */
        transform: translateX(-5px); /* <-- ADJUST THIS VALUE (-3px, -8px etc.) */
        /* margin-left: -5px; */ /* Alternative, might not work as well */
    }
    /* Align left and add padding when expanded (transitions on base elements) */
    .sidebar:hover .top-row .container-fluid[b-r6kjlxz0j4],
    .sidebar:focus-within .top-row .container-fluid[b-r6kjlxz0j4] {
        justify-content: flex-start;
    }

    .sidebar:hover .navbar-brand[b-r6kjlxz0j4],
    .sidebar:focus-within .navbar-brand[b-r6kjlxz0j4] {
        justify-content: flex-start; /* Ensure content within brand aligns left */
        padding-left: 2rem;
        transform: translateX(0); /* Reset transform */
    }
    /* --- End Logo Centering/Alignment --- */

    /* --- Logo Size Adjustment --- */
    /* Set smaller height when collapsed */
    .sidebar:not(:hover):not(:focus-within) .navbar-brand img[b-r6kjlxz0j4] {
        /* Assuming 60px was the intended collapsed size from before */
        height: 60px;
    }
    /* Expanded height (95px) is set by the base .navbar-brand img rule */
    /* --- End Logo Size Adjustment --- */


    /* --- Icon Centering Rules --- */
    /* Apply instantly when collapsed */
    .sidebar:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a {
        justify-content: center; /* Center icon horizontally */
        padding-left: 0; /* Remove padding */
        padding-right: 0;
    }

    .sidebar:not(:hover):not(:focus-within) .nav-icon-container[b-r6kjlxz0j4] {
        margin-right: 0; /* Remove margin next to icon */
    }

    .sidebar:not(:hover):not(:focus-within) .nav-group-header[b-r6kjlxz0j4] {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .sidebar:not(:hover):not(:focus-within) .nav-group-header .nav-icon-container[b-r6kjlxz0j4] {
        margin-right: 0;
    }

    /* Revert smoothly on hover/focus (padding/margin transitions applied on base) */
    .sidebar:hover .nav-item[b-r6kjlxz0j4]  a,
    .sidebar:focus-within .nav-item[b-r6kjlxz0j4]  a {
        justify-content: flex-start; /* Align left */
        padding: 0 0.75rem; /* Restore padding */
    }

    .sidebar:hover .nav-icon-container[b-r6kjlxz0j4],
    .sidebar:focus-within .nav-icon-container[b-r6kjlxz0j4] {
        margin-right: 12px; /* Restore margin */
    }

    .sidebar:hover .nav-group-header[b-r6kjlxz0j4],
    .sidebar:focus-within .nav-group-header[b-r6kjlxz0j4] {
        justify-content: flex-start;
        padding: 0 0.75rem;
    }

    /* --- End Icon Centering Rules --- */


    /* --- Active Link Highlighting Styles (Desktop) --- */
    /* Expanded Active */
    .sidebar:hover .nav-item[b-r6kjlxz0j4]  a.active,
    .sidebar:focus-within .nav-item[b-r6kjlxz0j4]  a.active {
        background-color: var(--sidebar-active-bg, rgba(192, 255, 0, 0.25));
        color: var(--sidebar-text, white);
    }

        .sidebar:hover .nav-item[b-r6kjlxz0j4]  a.active .bi,
        .sidebar:focus-within .nav-item[b-r6kjlxz0j4]  a.active .bi {
            color: var(--sidebar-text, white);
        }
    /* Collapsed Active */
    .sidebar:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a.active {
        background-color: transparent; /* No background */
    }

        .sidebar:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a.active .bi {
            color: var(--sidebar-text, white); /* Highlight icon only */
        }

    /* Collapsed Active — group header */
    .sidebar:not(:hover):not(:focus-within) .nav-group-header.active[b-r6kjlxz0j4] {
        background-color: transparent;
    }

        .sidebar:not(:hover):not(:focus-within) .nav-group-header.active .bi[b-r6kjlxz0j4] {
            color: var(--sidebar-text, white);
        }

    /* --- Hover Link Styles (Desktop - NON-ACTIVE) --- */
    .nav-item[b-r6kjlxz0j4]  a:not(.active):hover {
        background-color: var(--sidebar-hover-bg, rgba(192, 255, 0, 0.1));
        color: var(--brand-accent, #c0ff00);
    }

        .nav-item[b-r6kjlxz0j4]  a:not(.active):hover .bi {
            color: var(--brand-accent, #c0ff00);
        }
}
/* End of @media (min-width: 768px) */


/* Laser removed */

/* ── Left drawer (Coterie side menu) ─────────────────────────────────────
   Panel: 1s springy slide (cubic-bezier(0.16,1.08,0.38,0.98) — measured off
   coterie.com); content: 0.8s quart counter-slide (their linkWrapper parallax).
   Backdrop stays near-transparent like theirs but catches outside clicks. */
.side-drawer-backdrop[b-r6kjlxz0j4] {
    position: fixed;
    inset: 0;
    z-index: 10040;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.6s ease;
}

.side-drawer-backdrop.show[b-r6kjlxz0j4] {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.10);
}

.side-drawer[b-r6kjlxz0j4] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    max-width: 88vw;
    z-index: 10050;
    display: flex;
    overflow: hidden;
    background-image: var(--sidebar-bg, linear-gradient(180deg, #000000 0%, #222222 70%));
    border-right: 2px solid var(--sidebar-border, #c0ff00);
    box-shadow: 10px 0 44px rgba(0, 0, 0, 0.28);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 1s cubic-bezier(0.16, 1.08, 0.38, 0.98),
                visibility 1s cubic-bezier(0.16, 1.08, 0.38, 0.98);
}

.side-drawer.open[b-r6kjlxz0j4] {
    transform: translateX(0);
    visibility: visible;
}

.side-drawer-content[b-r6kjlxz0j4] {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    transform: translateX(-42px);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.side-drawer-content[b-r6kjlxz0j4]::-webkit-scrollbar {
    display: none;
}

.side-drawer.open .side-drawer-content[b-r6kjlxz0j4] {
    transform: translateX(0);
}

/* The drawer is always "expanded": text/chevrons visible regardless of the
   rail's hover state. */
.side-drawer .nav-text[b-r6kjlxz0j4],
.side-drawer .nav-chevron[b-r6kjlxz0j4] {
    opacity: 1;
    transform: none;
}

.side-drawer-header[b-r6kjlxz0j4] {
    /* Logo centered like the old sidebar header; ✕ pinned to the corner */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1.25rem 0.85rem;
    flex-shrink: 0;
}

    .side-drawer-header img[b-r6kjlxz0j4] {
        height: 72px;
        width: auto;
        object-fit: contain;
    }

.side-drawer-close[b-r6kjlxz0j4] {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    appearance: none;
    border: none;
    cursor: pointer;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease;
}

    .side-drawer-close:hover[b-r6kjlxz0j4] {
        background: rgba(255, 255, 255, 0.15);
    }

/* ── Tablet-and-up: PERMANENT left sidebar, collapsed to an icon rail (75px)
   and hover-expanding to the full panel (280px). The drawer keeps a FIXED
   75px layout footprint (flex child never changes width — content, now a
   centered max-width column, must not reflow/re-center on hover); the
   expansion happens on the absolutely-positioned .side-drawer-content, which
   carries the panel visuals and OVERLAYS the page like a drawer. ── */
@media (min-width: 768px) {
    .side-drawer-backdrop[b-r6kjlxz0j4] {
        display: none;
    }

    .side-drawer[b-r6kjlxz0j4] {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 75px; /* fixed layout footprint — never animates */
        max-width: none;
        flex-shrink: 0;
        transform: none;
        visibility: visible;
        box-shadow: none;
        z-index: 9990;
        /* Panel visuals move to .side-drawer-content so the expansion can
           overflow this 75px footprint. */
        overflow: visible;
        background-image: none;
        border-right: none;
    }

    /* The painted panel: rail-width at rest, expands OVER the content column.
       Rows track the panel width so icons self-center in the 75px state;
       labels are nowrap + hidden, so nothing visibly reflows while animating. */
    .side-drawer-content[b-r6kjlxz0j4] {
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 75px;
        transform: none;
        background-image: var(--sidebar-bg, linear-gradient(180deg, #000000 0%, #222222 70%));
        border-right: 2px solid var(--sidebar-border, #c0ff00);
        transition: width 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                    box-shadow 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    }

        .side-drawer:hover .side-drawer-content[b-r6kjlxz0j4],
        .side-drawer:focus-within .side-drawer-content[b-r6kjlxz0j4] {
            width: 280px;
            box-shadow: 10px 0 44px rgba(0, 0, 0, 0.28);
        }

    .side-drawer-close[b-r6kjlxz0j4] {
        display: none;
    }

    /* Collapsed rail: labels ANIMATE to zero width via flex-grow (a number,
       so it interpolates — unlike width: 0/basis auto, which snapped the text
       away the instant the pointer left while the drawer was still closing).
       Text ellipsizes + fades while it shrinks, in sync with the 0.45s width
       collapse; same layered reveal on hover-in as before. */
    .side-drawer:not(:hover):not(:focus-within) .nav-text[b-r6kjlxz0j4] {
        opacity: 0;
        transform: translateX(-8px);
        flex-grow: 0;
        margin-left: 0;
        /* Collapse direction only (transitions read the destination state):
           fade out FAST while the width shrinks — a slow fade leaves a
           floating "…" as the label ellipsizes down. clip kills the ellipsis
           glyph during the squeeze; hover-in still gets the layered reveal. */
        text-overflow: clip;
        transition: opacity 0.18s cubic-bezier(0.77, 0, 0.175, 1),
                    transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                    flex-grow 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                    margin-left 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Chevron shrinks + fades on the same curve (display: none snapped). */
    .side-drawer:not(:hover):not(:focus-within) .nav-chevron[b-r6kjlxz0j4] {
        opacity: 0;
        width: 0;
        transition: opacity 0.18s cubic-bezier(0.77, 0, 0.175, 1),
                    width 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Rows are ALWAYS centered: while expanded the flex-grow:1 label absorbs
       every free pixel so centering is a visual no-op; on collapse the label's
       width animates to zero and the freed space re-centers the icon
       CONTINUOUSLY. (justify-content is discrete — flipping it per state was
       part of the hover-out snap.) */
    .side-drawer .nav-item[b-r6kjlxz0j4]  a,
    .side-drawer .nav-group-header[b-r6kjlxz0j4] {
        justify-content: center;
    }

    .side-drawer:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a,
    .side-drawer:not(:hover):not(:focus-within) .nav-group-header[b-r6kjlxz0j4] {
        padding-left: 0;
        padding-right: 0;
    }

    .side-drawer:not(:hover):not(:focus-within) .nav-icon-container[b-r6kjlxz0j4] {
        margin-right: 0;
    }

    /* The Bootstrap px-3 wrapper padding (1rem/side, !important) leaves only
       ~27px of row for a 32px icon container at 75px rail width — the row's
       overflow:hidden then crops the icon against the dark background. Shrink
       it while collapsed so icons get full room. */
    .side-drawer:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4] {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    /* Collapsed active: highlight the icon only (no pill background) */
    .side-drawer:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a.active {
        background-color: transparent;
    }

        .side-drawer:not(:hover):not(:focus-within) .nav-item[b-r6kjlxz0j4]  a.active .bi {
            color: var(--sidebar-text, white);
        }

    .side-drawer:not(:hover):not(:focus-within) .nav-group-header.active[b-r6kjlxz0j4] {
        background-color: transparent;
    }

        .side-drawer:not(:hover):not(:focus-within) .nav-group-header.active .bi[b-r6kjlxz0j4] {
            color: var(--sidebar-text, white);
        }

    /* Logo shrinks/centers in the rail, grows when expanded */
    .side-drawer-header img[b-r6kjlxz0j4] {
        transition: height 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .side-drawer:not(:hover):not(:focus-within) .side-drawer-header img[b-r6kjlxz0j4] {
        height: 44px;
    }
}

/* Reduced motion handled in main layout CSS */
@media (prefers-reduced-motion: reduce) {
    .side-drawer[b-r6kjlxz0j4],
    .side-drawer-content[b-r6kjlxz0j4],
    .side-drawer-backdrop[b-r6kjlxz0j4] {
        transition: none !important;
    }

    .nav-chevron[b-r6kjlxz0j4],
    .nav-text[b-r6kjlxz0j4],
    .nav-group-label[b-r6kjlxz0j4],
    .nav-levels[b-r6kjlxz0j4],
    .nav-level .nav-item[b-r6kjlxz0j4] {
        transition: none !important;
    }

    /* Long-label reveal is opt-out here rather than instant — with no
       transition the slide would snap, which is exactly the motion this
       preference asks us to drop. The ellipsis stays as the overflow cue. */
    .nav-text-scroll[b-r6kjlxz0j4] {
        transition: none !important;
        transform: none !important;
    }
}
/* /Components/Pages/ManageEvent.razor.rz.scp.css */
/* Mobile responsiveness improvements for ManageEvent page */

.complete-event-section[b-xz5ya7xnml] {
    margin-bottom: 1.5rem;
}

.complete-event-button[b-xz5ya7xnml] {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.complete-event-button:disabled[b-xz5ya7xnml] {
    opacity: 0.65;
    cursor: not-allowed;
}

.complete-event-button:hover:not(:disabled)[b-xz5ya7xnml] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.complete-event-button .spinner-border-sm[b-xz5ya7xnml] {
    width: 1rem;
    height: 1rem;
}

.event-stage-cards[b-xz5ya7xnml] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stage-card[b-xz5ya7xnml] {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.stage-card:hover[b-xz5ya7xnml] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stage-card-header[b-xz5ya7xnml] {
    border-radius: 0.5rem 0.5rem 0 0 !important;
    padding: 1rem;
}

.stage-card-body[b-xz5ya7xnml] {
    padding: 1.5rem;
}

.completed-event-indicator[b-xz5ya7xnml] {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.completed-event-indicator .bi[b-xz5ya7xnml] {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .complete-event-section[b-xz5ya7xnml] {
        margin-bottom: 1rem;
    }
    
    .stage-card-header[b-xz5ya7xnml] {
        padding: 0.75rem;
    }
    
    .stage-card-header h5[b-xz5ya7xnml] {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .stage-card-body[b-xz5ya7xnml] {
        padding: 1rem;
    }
    
    .complete-event-button[b-xz5ya7xnml] {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .completed-event-indicator[b-xz5ya7xnml] {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .completed-event-indicator .bi[b-xz5ya7xnml] {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .modal-dialog[b-xz5ya7xnml] {
        margin: 0.5rem;
    }
    
    .modal-body[b-xz5ya7xnml] {
        padding: 1rem;
    }
    
    .modal-footer[b-xz5ya7xnml] {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn[b-xz5ya7xnml] {
        width: 100%;
    }
}

/* Touch-friendly button sizes on mobile */
@media (max-width: 576px) {
    .btn[b-xz5ya7xnml] {
        min-height: 44px; /* Apple's recommended minimum touch target */
        padding: 0.75rem 1rem;
    }
    
    .btn-sm[b-xz5ya7xnml] {
        min-height: 38px;
        padding: 0.5rem 0.75rem;
    }
    
    .complete-event-button[b-xz5ya7xnml] {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .card-header h5[b-xz5ya7xnml] {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .stage-card[b-xz5ya7xnml] {
        border-radius: 0.375rem;
    }
    
    .stage-card-header[b-xz5ya7xnml] {
        padding: 0.75rem;
        border-radius: 0.375rem 0.375rem 0 0 !important;
    }
    
    .stage-card-body[b-xz5ya7xnml] {
        padding: 0.75rem;
    }
    
    .completed-event-indicator[b-xz5ya7xnml] {
        padding: 0.75rem;
    }
    
    .text-muted[b-xz5ya7xnml] {
        font-size: 0.875rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stage-card[b-xz5ya7xnml] {
        border: 2px solid #000;
    }
    
    .complete-event-button[b-xz5ya7xnml] {
        border: 2px solid currentColor;
    }
    
    .completed-event-indicator[b-xz5ya7xnml] {
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .complete-event-button[b-xz5ya7xnml],
    .stage-card[b-xz5ya7xnml] {
        transition: none;
    }
    
    .complete-event-button:hover:not(:disabled)[b-xz5ya7xnml] {
        transform: none;
    }
}

/* Focus styles for accessibility */
.complete-event-button:focus[b-xz5ya7xnml] {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.stage-card:focus-within[b-xz5ya7xnml] {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state improvements */
.loading-overlay[b-xz5ya7xnml] {
    position: relative;
}

.loading-overlay[b-xz5ya7xnml]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

/* Success and error states */
.success-state[b-xz5ya7xnml] {
    border-color: #28a745 !important;
    background-color: #f8fff9 !important;
}

.error-state[b-xz5ya7xnml] {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

.success-text[b-xz5ya7xnml] {
    color: #28a745 !important;
}

.error-text[b-xz5ya7xnml] {
    color: #dc3545 !important;
}
/* /Components/Pages/Sales/CloverReconciliation.razor.rz.scp.css */
/* Clover reconciliation: one flat panel, aligned columns (list = grid, rows = subgrid). */
.cr-body[b-d0zhjm0iby] { padding: 8px 6px; }

.cr-list[b-d0zhjm0iby] {
    display: grid;
    grid-template-columns: minmax(180px, 1.6fr) auto auto auto minmax(160px, 1.5fr) minmax(120px, 1fr) minmax(120px, 1fr) 18px;
    column-gap: 18px;
}

.cr-head[b-d0zhjm0iby], .cr-row[b-d0zhjm0iby] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    padding: 9px 10px;
}

.cr-head[b-d0zhjm0iby] {
    padding-top: 2px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.cr-head span[b-d0zhjm0iby] {
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-secondary, #9ca3af); white-space: nowrap;
}

.cr-row[b-d0zhjm0iby] {
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}
.cr-row:hover[b-d0zhjm0iby] { background: rgba(0, 0, 0, 0.025); }
.cr-row.open[b-d0zhjm0iby] { background: rgba(0, 0, 0, 0.03); border-bottom-color: transparent; }

.r[b-d0zhjm0iby] { text-align: right; justify-self: end; }

.cr-event[b-d0zhjm0iby] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.cr-code[b-d0zhjm0iby] { font-weight: 700; text-decoration: none; }
.cr-name[b-d0zhjm0iby] { font-weight: 600; }
.cr-sub[b-d0zhjm0iby], .cr-muted[b-d0zhjm0iby] { color: var(--text-secondary, #6b7280); font-size: 0.78rem; }
.cr-chev[b-d0zhjm0iby] { color: var(--text-secondary, #9ca3af); justify-self: end; }

.cr-pill[b-d0zhjm0iby] {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600; white-space: nowrap;
}
.cr-pill.bad[b-d0zhjm0iby] { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
.cr-pill.warn[b-d0zhjm0iby] { background: rgba(217, 119, 6, 0.14); color: #b45309; }

.cr-detail[b-d0zhjm0iby] {
    grid-column: 1 / -1;
    padding: 4px 10px 14px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.03);
    font-size: 0.8rem;
}
.cr-chips[b-d0zhjm0iby] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cr-chip[b-d0zhjm0iby] {
    padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
    background: rgba(217, 119, 6, 0.12); color: #b45309;
}
.cr-line[b-d0zhjm0iby] { padding: 3px 0; line-height: 1.45; }
.cr-pay[b-d0zhjm0iby] { padding-left: 14px; }
.cr-action[b-d0zhjm0iby] { font-weight: 600; display: flex; align-items: baseline; gap: 2px; }
.cr-warn[b-d0zhjm0iby] { color: #b45309; }
.cr-alert[b-d0zhjm0iby] { color: #b91c1c; font-weight: 600; font-size: 0.85rem; }

:global([data-theme="dark"]) .cr-head[b-d0zhjm0iby] { border-color: rgba(255, 255, 255, 0.1); }
:global([data-theme="dark"]) .cr-row[b-d0zhjm0iby],
:global([data-theme="dark"]) .cr-detail[b-d0zhjm0iby] { border-color: rgba(255, 255, 255, 0.08); }
:global([data-theme="dark"]) .cr-row:hover[b-d0zhjm0iby],
:global([data-theme="dark"]) .cr-row.open[b-d0zhjm0iby],
:global([data-theme="dark"]) .cr-detail[b-d0zhjm0iby] { background: rgba(255, 255, 255, 0.04); }
:global([data-theme="dark"]) .cr-pill.bad[b-d0zhjm0iby] { color: #fca5a5; }
:global([data-theme="dark"]) .cr-pill.warn[b-d0zhjm0iby],
:global([data-theme="dark"]) .cr-chip[b-d0zhjm0iby],
:global([data-theme="dark"]) .cr-warn[b-d0zhjm0iby] { color: #fbbf24; }

@media (max-width: 899px) { /* breakpoint exception: the 8-column list needs to stack before tablet width */
    .cr-list[b-d0zhjm0iby] { display: block; }
    .cr-head[b-d0zhjm0iby] { display: none; }
    .cr-row[b-d0zhjm0iby] { display: flex; flex-wrap: wrap; gap: 4px 12px; }
    .cr-row > .cr-event[b-d0zhjm0iby] { width: 100%; }
    .cr-row > .r[b-d0zhjm0iby] { text-align: left; justify-self: auto; }
    .cr-chev[b-d0zhjm0iby] { margin-left: auto; }
}
/* /Components/Shared/Charts/EChart.razor.rz.scp.css */
/* Optional title row above an EChart (used when the host card has no header of its own). */
.vk-echart-head[b-9pgj26jt04] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
    margin-bottom: 0.25rem;
}

.vk-echart-title[b-9pgj26jt04] {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
}

.vk-echart-sub[b-9pgj26jt04] {
    font-size: 0.78rem;
    color: var(--text-muted, #9ca3af);
}
/* /Components/Shared/RecipientPicker.razor.rz.scp.css */
/* RecipientPicker (2026-11-22) — pill chips + "+ Add" pill; the people modal is
   portaled into OverlayHost but keeps this file's scope attribute, so these rules
   still apply there. Layering via the site.css z-tokens (--z-modal). */

.rp[b-dhtw2l4bko] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; width: 100%; }
.rp-empty[b-dhtw2l4bko] { font-size: 0.82rem; color: var(--text-secondary, #6b7280); }

.rp-chip[b-dhtw2l4bko] {
    display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; max-width: 100%;
    padding: 0 0.3rem 0 0.65rem; border-radius: 999px; font-size: 0.82rem;
    background: rgba(var(--brand-primary-rgb, 3, 102, 214), 0.08);
    border: 1px solid rgba(var(--brand-primary-rgb, 3, 102, 214), 0.18);
    color: var(--text-primary, #111827);
}
.rp-chip.is-off[b-dhtw2l4bko] { background: rgba(108,117,125,0.08); border-color: rgba(108,117,125,0.2); color: var(--text-secondary, #6b7280); }
.rp-chip.is-outside[b-dhtw2l4bko] { background: rgba(108,117,125,0.06); border-color: rgba(108,117,125,0.22); }
.rp-chip-icon[b-dhtw2l4bko] { font-size: 0.8rem; color: var(--text-secondary, #6b7280); flex: 0 0 auto; }
.rp-chip-name[b-dhtw2l4bko] { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rp-chip.is-outside .rp-chip-name[b-dhtw2l4bko] { font-weight: 500; }
.rp-chip-sub[b-dhtw2l4bko] { font-size: 0.74rem; color: var(--text-secondary, #6b7280); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rp-chip-x[b-dhtw2l4bko] {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px;
    background: transparent; color: var(--text-secondary, #6b7280); cursor: pointer; font-size: 0.7rem;
}
.rp-chip-x:hover[b-dhtw2l4bko] { background: rgba(220,38,38,0.1); color: #dc2626; }

.rp-add[b-dhtw2l4bko],
.rp-pill[b-dhtw2l4bko] {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
    min-height: 32px; padding: 0 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
    border: 1px solid var(--surface-border, rgba(0,0,0,0.15));
    background: var(--surface-elevated, #fff); color: var(--text-primary, #111827); cursor: pointer; white-space: nowrap;
}
.rp-add[b-dhtw2l4bko] { border-style: dashed; color: var(--brand-primary, #0366d6); border-color: rgba(var(--brand-primary-rgb, 3, 102, 214), 0.45); }
.rp-add:hover:not(:disabled)[b-dhtw2l4bko] { background: rgba(var(--brand-primary-rgb, 3, 102, 214), 0.06); }
.rp-pill:hover:not(:disabled)[b-dhtw2l4bko] { border-color: var(--text-secondary, #6b7280); }
.rp-pill.primary[b-dhtw2l4bko] { background: var(--brand-primary, #0366d6); border-color: var(--brand-primary, #0366d6); color: #fff; }
.rp-pill.primary:hover:not(:disabled)[b-dhtw2l4bko] { filter: brightness(1.08); }
.rp-add:disabled[b-dhtw2l4bko], .rp-pill:disabled[b-dhtw2l4bko] { opacity: 0.5; cursor: default; }

/* ── Modal (OverlayService portal) ── */
.rp-backdrop[b-dhtw2l4bko] { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: calc(var(--z-modal, 1500) - 10); }
.rp-wrap[b-dhtw2l4bko] {
    position: fixed; inset: 0; z-index: var(--z-modal, 1500);
    display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none;
}
.rp-modal[b-dhtw2l4bko] {
    pointer-events: auto; width: min(520px, 100%); max-height: calc(100dvh - 2rem);
    display: flex; flex-direction: column; gap: 0.75rem;
    background: var(--surface-elevated, #fff); color: var(--text-primary, #111827);
    border: 1px solid var(--surface-border, rgba(0,0,0,0.1)); border-radius: 1rem;
    padding: 1rem 1.15rem 1.1rem; box-shadow: 0 18px 50px rgba(0,0,0,0.3);
}
.rp-head[b-dhtw2l4bko] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.rp-title[b-dhtw2l4bko] { font-weight: 700; font-size: 0.98rem; display: flex; align-items: center; gap: 0.5rem; }
.rp-close[b-dhtw2l4bko] {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border: 0; border-radius: 999px; background: transparent; color: var(--text-secondary, #6b7280); cursor: pointer;
}
.rp-close:hover[b-dhtw2l4bko] { background: rgba(108,117,125,0.12); }
.rp-search[b-dhtw2l4bko] { min-height: 40px; border-radius: 999px; font-size: 0.88rem; padding-left: 1rem; }

.rp-list[b-dhtw2l4bko] {
    flex: 1 1 auto; min-height: 120px; max-height: 50vh; overflow-y: auto;
    border: 1px solid var(--surface-border, rgba(0,0,0,0.1)); border-radius: 0.75rem;
}
.rp-list-note[b-dhtw2l4bko] { padding: 1rem; font-size: 0.84rem; color: var(--text-secondary, #6b7280); display: flex; align-items: center; }
.rp-person[b-dhtw2l4bko] {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%;
    min-height: 48px; padding: 0.45rem 0.85rem; border: 0; background: transparent; text-align: left;
    color: inherit; cursor: pointer; border-top: 1px solid var(--surface-border, rgba(0,0,0,0.06));
}
.rp-person:first-child[b-dhtw2l4bko] { border-top: 0; }
.rp-person:hover:not(:disabled)[b-dhtw2l4bko] { background: rgba(var(--brand-primary-rgb, 3, 102, 214), 0.06); }
.rp-person:disabled[b-dhtw2l4bko] { cursor: default; }
.rp-person:disabled:not(.is-picked)[b-dhtw2l4bko] { opacity: 0.5; }
.rp-person-main[b-dhtw2l4bko] { display: flex; flex-direction: column; min-width: 0; }
.rp-person-name[b-dhtw2l4bko] { font-weight: 600; font-size: 0.86rem; }
.rp-person-meta[b-dhtw2l4bko] { font-size: 0.74rem; color: var(--text-secondary, #6b7280); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-person-state[b-dhtw2l4bko] { flex: 0 0 auto; font-size: 1.05rem; color: var(--brand-primary, #0366d6); }
.rp-person.is-picked .rp-person-state[b-dhtw2l4bko] { color: #16a34a; }

.rp-outside[b-dhtw2l4bko] { display: flex; flex-direction: column; gap: 0.3rem; }
.rp-outside-label[b-dhtw2l4bko] { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary, #6b7280); margin: 0; }
.rp-outside-row[b-dhtw2l4bko] { display: flex; gap: 0.5rem; align-items: center; }
.rp-outside-row .form-control[b-dhtw2l4bko] { flex: 1 1 auto; min-width: 0; min-height: 40px; font-size: 0.86rem; }
.rp-outside-row .rp-pill[b-dhtw2l4bko] { min-height: 40px; }
.rp-outside-error[b-dhtw2l4bko] { font-size: 0.76rem; color: #dc2626; }

.rp-foot[b-dhtw2l4bko] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.rp-count[b-dhtw2l4bko] { font-size: 0.78rem; color: var(--text-secondary, #6b7280); }
.rp-foot .rp-pill[b-dhtw2l4bko] { min-height: 40px; padding: 0 1.25rem; }

[data-theme="dark"] .rp-chip-x:hover[b-dhtw2l4bko] { color: #f87171; }

@media (max-width: 767.98px) {
    .rp-add[b-dhtw2l4bko] { min-height: 44px; }
    .rp-chip-x[b-dhtw2l4bko] { width: 32px; height: 32px; }
    .rp-wrap[b-dhtw2l4bko] { padding: 0.5rem; align-items: flex-end; }
    .rp-modal[b-dhtw2l4bko] { width: 100%; max-height: calc(100dvh - 1rem); }
    .rp-list[b-dhtw2l4bko] { max-height: none; }
    .rp-search[b-dhtw2l4bko],
    .rp-outside-row .form-control[b-dhtw2l4bko],
    .rp-outside-row .rp-pill[b-dhtw2l4bko],
    .rp-foot .rp-pill[b-dhtw2l4bko],
    .rp-close[b-dhtw2l4bko] { min-height: 44px; }
    .rp-close[b-dhtw2l4bko] { width: 44px; }
    .rp-person[b-dhtw2l4bko] { min-height: 52px; }
}
/* /Components/Shared/SalesCallBox.razor.rz.scp.css */
/* "Call the client" box — flat strip at the top of ManageEvent's main column (owner picked
   mockup A, 2026-11-22): small amber "● CALL THE CLIENT" label, hairline below (the card's own top
   edge is the line above), text on
   the column's left edge (no accent bar — it pushed everything right). Small pill buttons
   (~32px / 0.78rem desktop, 34px phones), no shadows, nothing wraps to two lines.
   Containers never hover. */
.cb[b-0jkpmdwm7k] {
    display: flex;
    flex-direction: column;
    margin: 0 0 1.1rem;
    padding: 0;
    border-bottom: 1px solid var(--me-divider, rgba(0, 0, 0, 0.07));
    scroll-margin-top: 5rem;
}

.cb-eyebrow[b-0jkpmdwm7k] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(217, 119, 6);
    white-space: nowrap;
}
.cb-eyebrow[b-0jkpmdwm7k]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.cb-quiet .cb-eyebrow[b-0jkpmdwm7k] { color: var(--text-muted); }

/* The dot breathes while the call is due now (owner 2026-11-22); still when snoozed until the
   next try, and for anyone who asked their device for less motion. */
.cb-eyebrow[b-0jkpmdwm7k]::before { animation: cb-pulse-b-0jkpmdwm7k 1.6s ease-in-out infinite; }
.cb-quiet .cb-eyebrow[b-0jkpmdwm7k]::before { animation: none; }
@keyframes cb-pulse-b-0jkpmdwm7k {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
    .cb-eyebrow[b-0jkpmdwm7k]::before { animation: none; }
}

.cb-empty[b-0jkpmdwm7k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0 0.7rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cb-item[b-0jkpmdwm7k] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.2rem 0 0.85rem;
}
.cb-item + .cb-item[b-0jkpmdwm7k] {
    padding-top: 0.85rem;
    border-top: 1px solid var(--me-divider, rgba(0, 0, 0, 0.07));
}

.cb-head[b-0jkpmdwm7k] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.6rem;
}
.cb-reason[b-0jkpmdwm7k] {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.cb-count[b-0jkpmdwm7k] {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: rgba(108, 117, 125, 0.12);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.cb-contact[b-0jkpmdwm7k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.cb-phone[b-0jkpmdwm7k] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 32px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    white-space: nowrap;
}
.cb-phone:hover[b-0jkpmdwm7k] { text-decoration: underline; }
.cb-muted[b-0jkpmdwm7k] { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

.cb-outcomes[b-0jkpmdwm7k] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.cb-pill[b-0jkpmdwm7k] {
    --cb-tone: 108, 117, 125;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 32px;
    padding: 0 0.8rem;
    border: 1px solid var(--me-border, rgba(0, 0, 0, 0.12));
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.cb-pill i[b-0jkpmdwm7k] { color: rgb(var(--cb-tone)); }
.cb-pill:hover[b-0jkpmdwm7k] { border-color: rgba(var(--cb-tone), 0.6); color: var(--text-heading); }
.cb-pill.on[b-0jkpmdwm7k] {
    border-color: rgb(var(--cb-tone));
    background: rgba(var(--cb-tone), 0.1);
    color: var(--text-heading);
}
.cb-green[b-0jkpmdwm7k] { --cb-tone: 25, 135, 84; }
.cb-amber[b-0jkpmdwm7k] { --cb-tone: 217, 119, 6; }
.cb-red[b-0jkpmdwm7k] { --cb-tone: 220, 53, 69; }
.cb-grey[b-0jkpmdwm7k] { --cb-tone: 108, 117, 125; }
.cb-neutral[b-0jkpmdwm7k] { --cb-tone: 111, 66, 193; }

/* Note + "Log call" share one row and one height. */
.cb-log[b-0jkpmdwm7k] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cb-note[b-0jkpmdwm7k] {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    border-radius: 999px;
    padding: 0 0.85rem;
    font-size: 0.8rem;
}
.cb-submit[b-0jkpmdwm7k],
.cb-btn[b-0jkpmdwm7k] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 32px;
    padding: 0 0.85rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(33, 37, 41, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}
.cb-submit:hover:not(:disabled)[b-0jkpmdwm7k] { background: rgba(33, 37, 41, 1); }
.cb-submit:disabled[b-0jkpmdwm7k],
.cb-btn:disabled[b-0jkpmdwm7k] { opacity: 0.45; cursor: not-allowed; }
.cb-btn[b-0jkpmdwm7k] {
    background: transparent;
    border-color: var(--me-border, rgba(0, 0, 0, 0.12));
    color: var(--text-secondary);
}
.cb-btn:hover:not(:disabled)[b-0jkpmdwm7k] { background: rgba(108, 117, 125, 0.1); color: var(--text-heading); }
.cb-btn.cb-btn-danger[b-0jkpmdwm7k] { background: rgba(220, 53, 69, 0.92); border-color: transparent; color: #fff; }
.cb-btn.cb-btn-danger:hover:not(:disabled)[b-0jkpmdwm7k] { background: rgb(220, 53, 69); color: #fff; }
.cb-submit:focus-visible[b-0jkpmdwm7k],
.cb-btn:focus-visible[b-0jkpmdwm7k],
.cb-pill:focus-visible[b-0jkpmdwm7k] { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

[data-theme="dark"] .cb-submit[b-0jkpmdwm7k] { background: rgba(255, 255, 255, 0.9); color: #111; }
[data-theme="dark"] .cb-submit:hover:not(:disabled)[b-0jkpmdwm7k] { background: #fff; }
[data-theme="dark"] .cb-btn[b-0jkpmdwm7k] { border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.75); }
[data-theme="dark"] .cb-btn.cb-btn-danger[b-0jkpmdwm7k] { border-color: transparent; color: #fff; }

/* Phones: pills wrap two per row, 34px tap targets, note + button stack full width. */
@media (max-width: 767.98px) {
    /* Phone (owner 2026-11-22: small pills, not chunky): pills keep their natural width and
       wrap; the note and "Log call" stay on one row at the same height. */
    .cb-pill[b-0jkpmdwm7k] { flex: 0 0 auto; height: 32px; }
    .cb-log[b-0jkpmdwm7k] { flex-direction: row; align-items: center; }
    .cb-note[b-0jkpmdwm7k] { flex: 1 1 auto; min-width: 0; height: 34px; min-height: 34px; font-size: 16px; }
    .cb-submit[b-0jkpmdwm7k], .cb-btn[b-0jkpmdwm7k] { height: 34px; }
    .cb-submit[b-0jkpmdwm7k] { width: auto; flex: 0 0 auto; }
    .cb-phone[b-0jkpmdwm7k] { min-height: 32px; }
}
