/* _content/AgivaWeb/Components/Layout/AdminNavMenu.razor.rz.scp.css */
.navbar-toggler[b-hch2xlg82a] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-hch2xlg82a] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-hch2xlg82a] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-hch2xlg82a] {
    font-size: 1.1rem;
}

.bi[b-hch2xlg82a] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-hch2xlg82a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-hch2xlg82a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-hch2xlg82a] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-hch2xlg82a] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-hch2xlg82a] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-hch2xlg82a] {
        padding-bottom: 1rem;
    }

    .nav-item[b-hch2xlg82a]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-hch2xlg82a]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-hch2xlg82a]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-hch2xlg82a] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-hch2xlg82a] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-hch2xlg82a] {
        display: none;
    }

    .nav-scrollable[b-hch2xlg82a] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/AgivaWeb/Components/Layout/AppHeader.razor.rz.scp.css */
/* ============================================================
   AppHeader — global 52px header bar
   Design tokens (declared in app.css ::root):
     --header-h, --brand, --brand-hover
   ============================================================ */

.app-header[b-4i2hdpv9jd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: var(--header-h, 52px);
    background: var(--brand, #00678F);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    overflow: visible;
}

/* Hamburger toggle */
.app-header__hamburger[b-4i2hdpv9jd] {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    padding: 0;
    color: white;
    transition: background 0.15s;
}

.app-header__hamburger:hover[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.15);
}

.app-header__hamburger-icon[b-4i2hdpv9jd] {
    font-size: 1.4rem;
    line-height: 1;
}

/* Logo */
.app-header__logo-link[b-4i2hdpv9jd] {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.app-header__logo-img[b-4i2hdpv9jd] {
    height: 32px;
    width: auto;
}

.app-header__logo-text[b-4i2hdpv9jd] {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

/* Spacer */
.app-header__spacer[b-4i2hdpv9jd] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Optional intervention timer (mobile) */
.app-header__affix[b-4i2hdpv9jd] {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    max-width: min(40vw, 168px);
    margin-right: 2px;
    overflow: hidden;
}

.app-header__affix .chat-poc-timer-nav[b-4i2hdpv9jd] {
    min-width: 0;
    max-width: 100%;
}

.app-header__affix .chat-poc-timer-nav-chip[b-4i2hdpv9jd] {
    max-width: 100%;
}

/* Right actions cluster */
.app-header__actions[b-4i2hdpv9jd] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Bell + unread count — keep badge on the bell, fully inside the header bar.
   z-index must exceed avatar-backdrop (1299) so the bell stays tappable on mobile
   even when the avatar dropdown is accidentally open. */
.app-header__bell-wrap[b-4i2hdpv9jd] {
    position: relative;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-header__bell-btn[b-4i2hdpv9jd] {
    margin: 0 !important;
}

.app-header__notif-badge[b-4i2hdpv9jd] {
    position: absolute;
    top: 6px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e50031;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border: 2px solid var(--brand, #00678F);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* PWA install — icon in header; pwa-update.js toggles display */
.app-header__install-link[b-4i2hdpv9jd] {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 8px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.app-header__install-link:hover[b-4i2hdpv9jd],
.app-header__install-link:focus[b-4i2hdpv9jd],
.app-header__install-link:visited[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.app-header__install-link .material-icons[b-4i2hdpv9jd] {
    font-size: 1.25rem;
    color: inherit;
}

.app-header__install-label[b-4i2hdpv9jd] {
    display: none;
}

@media (min-width: 768px) {
    .app-header__install-link[b-4i2hdpv9jd] {
        padding: 0 10px;
    }

    .app-header__install-label[b-4i2hdpv9jd] {
        display: inline;
    }
}

/* Avatar button */
.app-header__avatar-wrap[b-4i2hdpv9jd] {
    position: relative;
}

.app-header__avatar-btn[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
}

.app-header__avatar-btn:hover[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.3);
}

.app-header__avatar-initials[b-4i2hdpv9jd] {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

/* Avatar dropdown */
.app-header__avatar-backdrop[b-4i2hdpv9jd] {
    position: fixed;
    inset: 0;
    z-index: 1299;
}

.app-header__avatar-dropdown[b-4i2hdpv9jd] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1300;
    background: #ffffff;
    border: 1px solid rgba(0, 103, 143, 0.14);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    min-width: 200px;
    padding: 6px 0;
    animation: avatar-dropdown-in-b-4i2hdpv9jd 0.14s ease;
}

@keyframes avatar-dropdown-in-b-4i2hdpv9jd {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-header__dropdown-item[b-4i2hdpv9jd] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1a2a38;
    text-align: left;
    transition: background 0.12s;
    line-height: 1.3;
}

.app-header__dropdown-item:hover[b-4i2hdpv9jd] {
    background: rgba(0, 103, 143, 0.07);
}

.app-header__dropdown-item--danger[b-4i2hdpv9jd] {
    color: #c62828;
}

.app-header__dropdown-item--danger:hover[b-4i2hdpv9jd] {
    background: rgba(198, 40, 40, 0.07);
}

.app-header__dropdown-divider[b-4i2hdpv9jd] {
    margin: 4px 12px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.app-header__dropdown-icon[b-4i2hdpv9jd] {
    font-size: 1.05rem;
    opacity: 0.8;
}

/* Login button (unauthenticated) */
.app-header__login-btn[b-4i2hdpv9jd] {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    height: 34px !important;
    min-width: 88px;
}

.app-header__login-btn .mud-button-label[b-4i2hdpv9jd] {
    color: #ffffff !important;
}

.app-header__login-btn:hover[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.12) !important;
}

.app-header__login-btn:hover .mud-button-label[b-4i2hdpv9jd] {
    color: #ffffff !important;
}

/* Top navigation (Admin / Account) */
.app-header__top-nav[b-4i2hdpv9jd] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 8px;
}

.app-header__nav-group[b-4i2hdpv9jd] {
    position: relative;
}

.app-header__nav-trigger[b-4i2hdpv9jd] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s;
    white-space: nowrap;
}

.app-header__nav-trigger:hover[b-4i2hdpv9jd],
.app-header__nav-trigger--open[b-4i2hdpv9jd] {
    background: rgba(255, 255, 255, 0.15);
}

.app-header__nav-chevron[b-4i2hdpv9jd] {
    font-size: 1.1rem !important;
    transition: transform 0.15s;
}

.app-header__nav-trigger--open .app-header__nav-chevron[b-4i2hdpv9jd] {
    transform: rotate(180deg);
}

.app-header__nav-trigger-label--account[b-4i2hdpv9jd] {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-header__dropdown[b-4i2hdpv9jd] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1300;
    background: #ffffff;
    border: 1px solid rgba(0, 103, 143, 0.14);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    min-width: 220px;
    padding: 6px 0;
    animation: avatar-dropdown-in-b-4i2hdpv9jd 0.14s ease;
}

.app-header__nav-group:last-child .app-header__dropdown[b-4i2hdpv9jd] {
    left: auto;
    right: 0;
}

.app-header__dropdown-item--link[b-4i2hdpv9jd] {
    text-decoration: none;
}

.app-header__menu-backdrop[b-4i2hdpv9jd] {
    position: fixed;
    inset: 0;
    z-index: 1299;
}

.app-header__avatar-wrap[b-4i2hdpv9jd] {
    position: relative;
}

.app-header__dropdown--from-avatar[b-4i2hdpv9jd] {
    right: 0;
    left: auto;
}

@media (max-width: 768px) {
    .app-header__nav-group--account-desktop[b-4i2hdpv9jd] {
        display: none;
    }

    .app-header__affix .chat-poc-timer-nav-badge[b-4i2hdpv9jd],
    .app-header__affix .chat-poc-timer-nav-chevron[b-4i2hdpv9jd] {
        display: none;
    }

    .app-header__affix .chat-poc-timer-nav-chip[b-4i2hdpv9jd] {
        padding: 4px 6px;
        gap: 4px;
    }
}

/* Mobile: hide logo text — rules in app.css (Portal shell section). */
/* _content/AgivaWeb/Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MainLayout — shell content-area offset rules (FSPEC-033)
   All shell chrome (header, sidebar, mobile drawer,
   bottom nav) is positioned by the individual component CSS files.
   This file only manages the main content area offset.
   ============================================================ */

/* Content area: offset from fixed header + sidebar */
.main-content-area[b-1t7kkb2lyc] {
    margin-top: var(--header-h, 52px);
    margin-left: var(--sidebar-w, 220px);
    min-height: calc(100vh - var(--header-h, 52px));
    background: var(--page-bg, #f0f0f5);
    transition: margin-left 0.22s ease;
}

/* Sidebar collapsed: reduce left margin */
.main-content-area--sidebar-collapsed[b-1t7kkb2lyc] {
    margin-left: var(--sidebar-sm, 72px);
}

.main-content-area--no-sidebar[b-1t7kkb2lyc] {
    margin-left: 0;
}

/* Narrow shell layout: see app.css (--portal-shell-compact-max-px + Portal shell section). */

/* Shell article padding: none — see app.css article.content (full bleed). */
.content[b-1t7kkb2lyc] {
    padding: 0;
}

/* Blazor error boundary */
#blazor-error-ui[b-1t7kkb2lyc] {
    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: 9999;
}

#blazor-error-ui .dismiss[b-1t7kkb2lyc] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/AgivaWeb/Components/Layout/MobileBottomNav.razor.rz.scp.css */
/* ============================================================
   MobileBottomNav — unified contextual bottom tab bar (52px)
   Shown on compact shell (app.css) inside machine / intervention context.
   ============================================================ */

.bottom-nav[b-yi2hm46ubt] {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    z-index: 2;
    height: var(--bottom-h, 52px);
    background: #ffffff;
    border-top: 1px solid rgba(0, 103, 143, 0.15);
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.bottom-nav__tab[b-yi2hm46ubt] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: none;
    border-top: 2px solid transparent;
    cursor: pointer;
    color: rgba(80, 100, 120, 0.75);
    transition: color 0.13s, border-top-color 0.13s;
    padding: 4px 2px 2px;
    /* minimum touch target 44×44px */
    min-height: 44px;
    min-width: 44px;
}

.bottom-nav__tab:hover[b-yi2hm46ubt] {
    color: var(--brand, #00678F);
}

.bottom-nav__tab--active[b-yi2hm46ubt] {
    color: var(--brand, #00678F);
    border-top-color: var(--brand, #00678F);
    font-weight: 600;
}

.bottom-nav__icon[b-yi2hm46ubt] {
    font-size: 1.3rem !important;
    line-height: 1 !important;
}

.bottom-nav__label[b-yi2hm46ubt] {
    font-size: 0.62rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

/* Hidden on desktop shell — rules in app.css (Portal shell section). */
/* _content/AgivaWeb/Components/Layout/MobileDrawer.razor.rz.scp.css */
/* ============================================================
   MobileDrawer — slide-in navigation drawer (when sidebar hidden, compact shell)
   Width: min(85vw, 320px).  z-index above header (1200) → 1300.
   ============================================================ */

/* Backdrop */
.mobile-drawer__backdrop[b-wp8qa978cb] {
    position: fixed;
    inset: 0;
    z-index: 1298;
    background: rgba(0, 0, 0, 0.45);
    animation: drawer-backdrop-in-b-wp8qa978cb 0.2s ease;
}

@keyframes drawer-backdrop-in-b-wp8qa978cb {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Drawer panel */
.mobile-drawer[b-wp8qa978cb] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1299;
    width: min(85vw, 320px);
    background: linear-gradient(180deg, var(--sidebar-top, rgb(5,39,103)) 0%, var(--sidebar-bot, #3a0647) 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

.mobile-drawer--open[b-wp8qa978cb] {
    transform: translateX(0);
}

.mobile-drawer__header[b-wp8qa978cb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 8px 16px;
    flex-shrink: 0;
}

.mobile-drawer__title[b-wp8qa978cb] {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.mobile-drawer__close[b-wp8qa978cb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.mobile-drawer__close:hover[b-wp8qa978cb],
.mobile-drawer__close:active[b-wp8qa978cb] {
    background: rgba(255, 255, 255, 0.22);
}

/* User identity card at the top */
.mobile-drawer__user-card[b-wp8qa978cb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.mobile-drawer__user-card--guest[b-wp8qa978cb] {
    opacity: 0.8;
}

.mobile-drawer__user-avatar[b-wp8qa978cb] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mobile-drawer__user-info[b-wp8qa978cb] {
    min-width: 0;
}

.mobile-drawer__user-name[b-wp8qa978cb] {
    color: white;
    font-size: 0.925rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-drawer__user-email[b-wp8qa978cb] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* Navigation body */
.mobile-drawer__nav[b-wp8qa978cb] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 0 24px;
}

.mobile-drawer__tiles[b-wp8qa978cb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px 8px;
}

.mobile-drawer__tile[b-wp8qa978cb] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    min-height: 96px;
    padding: 12px 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.13s;
}

.mobile-drawer__tile:hover[b-wp8qa978cb],
.mobile-drawer__tile:active[b-wp8qa978cb] {
    background: rgba(255, 255, 255, 0.16);
}

.mobile-drawer__tile-icon[b-wp8qa978cb] {
    font-size: 2.15rem !important;
    color: #ffffff;
    line-height: 1 !important;
}

.mobile-drawer__tile-label[b-wp8qa978cb] {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    color: #9ed4ff;
    white-space: normal;
    word-break: break-word;
}

.mobile-drawer__section-header[b-wp8qa978cb] {
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 14px 16px 6px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.mobile-drawer__nav-item[b-wp8qa978cb] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.0625rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.13s, color 0.13s;
    /* minimum touch target */
    min-height: 44px;
}

.mobile-drawer__nav-item:hover[b-wp8qa978cb],
.mobile-drawer__nav-item:active[b-wp8qa978cb] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-drawer__nav-item--logout[b-wp8qa978cb] {
    color: rgba(255, 120, 120, 0.85);
}

.mobile-drawer__nav-item--logout:hover[b-wp8qa978cb] {
    background: rgba(255, 80, 80, 0.1);
    color: #ff9999;
}

.mobile-drawer__nav-icon[b-wp8qa978cb] {
    font-size: 1.45rem !important;
    flex-shrink: 0;
    opacity: 0.85;
    line-height: 1 !important;
}

.mobile-drawer__divider[b-wp8qa978cb] {
    margin: 8px 16px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Desktop shell: drawer hidden — rules in app.css (Portal shell section). */
/* _content/AgivaWeb/Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   NavMenu — tile sidebar (My machines + Webshop)
   Tokens: --header-h, --sidebar-w, --sidebar-sm, --sidebar-top, --sidebar-bot, --brand
   ============================================================ */

.nav-sidebar[b-p4heep5uwh] {
    position: fixed;
    top: var(--header-h, 52px);
    left: 0;
    bottom: 0;
    z-index: 1190;
    background: linear-gradient(180deg, var(--sidebar-top, rgb(5,39,103)) 0%, var(--sidebar-bot, #3a0647) 100%);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.22s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.18) transparent;
}

.nav-sidebar--expanded[b-p4heep5uwh] {
    width: var(--sidebar-w, 112px);
}

.nav-sidebar--collapsed[b-p4heep5uwh] {
    width: var(--sidebar-sm, 72px);
}

.nav-tiles[b-p4heep5uwh] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 10px;
}

.nav-tile[b-p4heep5uwh] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 12px 8px;
    border-radius: 14px;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
    box-sizing: border-box;
    width: 100%;
}

.nav-tile:hover[b-p4heep5uwh] {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-tile--active[b-p4heep5uwh],
.nav-tile.active[b-p4heep5uwh] {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-tile__icon[b-p4heep5uwh] {
    font-size: 2.15rem !important;
    line-height: 1 !important;
    color: #ffffff;
}

.nav-tile__icon-wrap[b-p4heep5uwh] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-tile__badge[b-p4heep5uwh] {
    position: absolute;
    top: 2px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e50031;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border: 2px solid rgba(5, 39, 103, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-tile--active .nav-tile__icon[b-p4heep5uwh],
.nav-tile.active .nav-tile__icon[b-p4heep5uwh] {
    color: #ffffff;
}

.nav-tile__label[b-p4heep5uwh] {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #9ed4ff;
    max-width: 100%;
}

.nav-tile--active .nav-tile__label[b-p4heep5uwh],
.nav-tile.active .nav-tile__label[b-p4heep5uwh] {
    color: #ffffff;
}

.nav-sidebar--collapsed .nav-tiles[b-p4heep5uwh] {
    padding: 12px 6px;
    gap: 8px;
}

.nav-sidebar--collapsed .nav-tile[b-p4heep5uwh] {
    min-height: 56px;
    padding: 10px 4px;
    gap: 0;
}

.nav-sidebar--collapsed .nav-tile__label[b-p4heep5uwh] {
    display: none;
}

.nav-sidebar--collapsed .nav-tile__icon[b-p4heep5uwh] {
    font-size: 1.65rem !important;
}
/* _content/AgivaWeb/Components/Machine/MachineChecklistProfilePanel.razor.rz.scp.css */
.checklist-profile-zone-nav[b-2dm2tj3177] {
    position: sticky;
    top: 0.75rem;
}

.checklist-profile-zone-nav__btn[b-2dm2tj3177] {
    justify-content: flex-start !important;
    text-align: left;
    text-transform: none !important;
    min-height: 2.75rem;
}

.checklist-profile-zone-nav__label[b-2dm2tj3177] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.checklist-profile-zone-nav__name[b-2dm2tj3177] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checklist-profile-zone-nav__badge[b-2dm2tj3177] {
    flex-shrink: 0;
}

.checklist-profile-settings .mud-input-root[b-2dm2tj3177] {
    width: 100%;
}

@media (max-width: 959.98px) {
    .checklist-profile-zone-nav[b-2dm2tj3177] {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
        gap: 0.35rem;
    }

    .checklist-profile-zone-nav.mud-stack[b-2dm2tj3177] {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
}
/* _content/AgivaWeb/Components/Pages/ChatPocMessageRow.razor.rz.scp.css */
.chat-mention-highlight[b-y497wkh6y8] {
  background-color: rgba(255, 213, 79, 0.4);
  border-radius: 3px;
  padding: 0 2px;
}
/* _content/AgivaWeb/Components/Pages/DevicePermissionsSettings.razor.rz.scp.css */
.pulse-highlight[b-zzapq7d8u5] {
    animation: device-perm-prompt-pulse-b-zzapq7d8u5 1.5s ease-in-out 3;
}

@keyframes device-perm-prompt-pulse-b-zzapq7d8u5 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--mud-palette-primary-rgb), 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(var(--mud-palette-primary-rgb), 0); }
}
/* _content/AgivaWeb/Components/Pages/Machines/MachinesPage.razor.rz.scp.css */
[b-jm7vjciy6o] .machine-card {
    border-radius: 8px !important;
}

[b-jm7vjciy6o] .stat-card {
    border-radius: 6px !important;
}

.portal-machine-card-unread-dot[b-jm7vjciy6o] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mud-palette-error, #d32f2f);
    flex-shrink: 0;
}

.portal-machine-card-activity--top[b-jm7vjciy6o] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* BUG-037: MudTypography caption lines must not flow inline after wrapped model text. */
.portal-machine-card-meta[b-jm7vjciy6o] {
    width: 100%;
    min-width: 0;
}

.portal-machine-card-meta[b-jm7vjciy6o]  .portal-machine-card-meta__line {
    display: block;
    width: 100%;
    line-height: 1.35;
    word-break: break-word;
}
/* _content/AgivaWeb/Components/Pages/NotificationSettings.razor.rz.scp.css */
.notification-prefs-table th[b-9aw2y2nakw],
.notification-prefs-table td[b-9aw2y2nakw] {
    vertical-align: middle;
}

.pulse-highlight[b-9aw2y2nakw] {
    animation: push-prompt-pulse-b-9aw2y2nakw 1.5s ease-in-out 3;
}

@keyframes push-prompt-pulse-b-9aw2y2nakw {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--mud-palette-primary-rgb), 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(var(--mud-palette-primary-rgb), 0); }
}
