/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-layout[b-o4pvvnw5xb] {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar[b-o4pvvnw5xb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
    z-index: 100;
    overflow-y: auto;
}

.admin-brand[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.admin-brand-logo[b-o4pvvnw5xb] {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.admin-brand-title[b-o4pvvnw5xb] {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.admin-brand-subtitle[b-o4pvvnw5xb] {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

.admin-nav[b-o4pvvnw5xb] {
    display: flex;
    flex-direction: column;
    padding: 0 0.75rem;
    gap: 0.2rem;
}

.admin-nav-link[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s;
}

.admin-nav-link:hover[b-o4pvvnw5xb] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-nav-link.active[b-o4pvvnw5xb] {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.3);
}

.admin-nav-link .material-symbols-outlined[b-o4pvvnw5xb] {
    font-size: 20px;
}

/* Section label above each nav group. Rendered by this component (a plain div), so scoped CSS
   reaches it — the NavLinks beside it are styled from global app.css instead (gotcha #27). */
.admin-nav-section[b-o4pvvnw5xb] {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    padding: 0 1.25rem;
    margin: 1rem 0 0.35rem;
}

.admin-nav-divider[b-o4pvvnw5xb] {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: auto 1.25rem 0.75rem;
}

.admin-content[b-o4pvvnw5xb] {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f0f4f8;
    min-height: 100vh;
}

.admin-topbar[b-o4pvvnw5xb] {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 1.5rem;
}

.admin-topbar-inner[b-o4pvvnw5xb] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.admin-topbar-user[b-o4pvvnw5xb] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.admin-topbar-user .material-symbols-outlined[b-o4pvvnw5xb] {
    font-size: 18px;
    color: #3b82f6;
}

.admin-main[b-o4pvvnw5xb] {
    flex: 1;
    padding: 1.5rem;
}
/* /Components/Layout/AmsLayout.razor.rz.scp.css */
/* AMS Layout — nests inside MainLayout, matches Chat sidebar style */
/* Nav link styles are in global app.css (scoped CSS can't reach NavLink output) */

.ams-layout[b-rtrg4a6hjw] {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--tv-surface, #f0f4f8);
    min-height: 0;
}

/* Sidebar — same color scheme as Avia chat sidebar */
.ams-sidebar[b-rtrg4a6hjw] {
    width: 250px;
    min-width: 250px;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
}

.ams-sidebar[b-rtrg4a6hjw]::-webkit-scrollbar {
    width: 4px;
}

.ams-sidebar[b-rtrg4a6hjw]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Brand header */
.ams-sidebar-brand[b-rtrg4a6hjw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ams-sidebar-logo[b-rtrg4a6hjw] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.ams-sidebar-title[b-rtrg4a6hjw] {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ams-sidebar-subtitle[b-rtrg4a6hjw] {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.03em;
}

/* Navigation container */
.ams-sidebar-nav[b-rtrg4a6hjw] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.1rem;
}

/* Main content area */
.ams-main-area[b-rtrg4a6hjw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 0;
    padding: 1.5rem;
}

/* The top bar holds the global search island (Release 4); the island styles itself. */
.ams-topbar[b-rtrg4a6hjw] {
    display: flex;
    justify-content: flex-end;
    margin: -0.5rem 0 1rem;
    min-height: 2.1rem;
}

/* Mobile bar + drawer chrome — hidden above the breakpoint */
.ams-mobile-bar[b-rtrg4a6hjw],
.ams-nav-backdrop[b-rtrg4a6hjw],
.ams-nav-close[b-rtrg4a6hjw] {
    display: none;
}

/* Responsive — below 768px the sidebar is an offcanvas drawer (it used to be display:none, which left
   phones with NO way to reach any AviAMS page but the one they landed on). */
@media (max-width: 768px) {
    .ams-layout[b-rtrg4a6hjw] {
        flex-direction: column;
    }

    .ams-mobile-bar[b-rtrg4a6hjw] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.5rem 0.75rem;
        background: linear-gradient(90deg, #0a1628 0%, #1a2d50 100%);
        color: #fff;
        flex-shrink: 0;
    }

    .ams-nav-toggle[b-rtrg4a6hjw],
    .ams-nav-close[b-rtrg4a6hjw] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .ams-nav-toggle:focus-visible[b-rtrg4a6hjw],
    .ams-nav-close:focus-visible[b-rtrg4a6hjw] {
        outline: 2px solid #38bdf8;
        outline-offset: 2px;
    }

    .ams-nav-close[b-rtrg4a6hjw] {
        margin-left: auto;
        width: 34px;
        height: 34px;
    }

    .ams-mobile-logo[b-rtrg4a6hjw] {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #fff;
    }

    .ams-mobile-title[b-rtrg4a6hjw] {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: -0.01em;
    }

    .ams-sidebar[b-rtrg4a6hjw] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        min-width: 280px;
        z-index: 1045;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

    .ams-layout.ams-nav-open .ams-sidebar[b-rtrg4a6hjw] {
        transform: translateX(0);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    }

    .ams-nav-backdrop[b-rtrg4a6hjw] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(10, 22, 40, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .ams-layout.ams-nav-open .ams-nav-backdrop[b-rtrg4a6hjw] {
        opacity: 1;
        pointer-events: auto;
    }

    .ams-main-area[b-rtrg4a6hjw] {
        padding: 1rem;
    }

    .ams-topbar[b-rtrg4a6hjw] {
        margin: 0 0 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ams-sidebar[b-rtrg4a6hjw],
    .ams-nav-backdrop[b-rtrg4a6hjw] {
        transition: none;
    }
}
/* /Components/Layout/ChatLayout.razor.rz.scp.css */
.chat-layout[b-qo3kz2s4mu] {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--tv-surface, #f0f4f8);
    min-height: 0; /* Allow flex shrink below content size */
}

/* Sidebar */
.chat-sidebar[b-qo3kz2s4mu] {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(180deg, #0a1628 0%, #1a2d50 100%);
    display: flex;
    flex-direction: column;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-sidebar-brand[b-qo3kz2s4mu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-sidebar-logo[b-qo3kz2s4mu] {
    width: 32px;
    height: 32px;
    filter: invert(1) brightness(2);
}

.chat-sidebar-title[b-qo3kz2s4mu] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.chat-sidebar-subtitle[b-qo3kz2s4mu] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* Main content area */
.chat-main-area[b-qo3kz2s4mu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0; /* Critical: allow flex shrink in nested flex column */
}

/* Responsive */
@media (max-width: 768px) {
    .chat-sidebar[b-qo3kz2s4mu] {
        display: none;
    }
}
/* /Components/Layout/ChatSidebarPanel.razor.rz.scp.css */
/* ChatSidebarPanel — the sidebar island's scoped styles.

   These selectors were MOVED here from ChatLayout.razor.css (2026-08, unified sessions P2):
   Blazor CSS isolation stamps a component's scope attribute only on that component's OWN
   markup — a child component's elements never receive the parent's attribute, so styles for
   the panel's markup left in ChatLayout.razor.css silently never applied (the P1 sidebar
   rendered unstyled). Rule: a style consumed by this island's markup lives in THIS file;
   ChatLayout.razor.css keeps only what ChatLayout itself renders (.chat-layout, .chat-sidebar,
   .chat-main-area). */

.chat-new-btn[b-33ogno20l0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    text-decoration: none;
    width: calc(100% - 1.5rem);
}

.chat-new-btn:hover[b-33ogno20l0] {
    opacity: 0.9;
    transform: translateY(-1px);
}

.chat-new-btn .material-symbols-outlined[b-33ogno20l0] {
    font-size: 1.1rem;
}

.chat-conversation-list[b-33ogno20l0] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.chat-conversation-list[b-33ogno20l0]::-webkit-scrollbar {
    width: 4px;
}

.chat-conversation-list[b-33ogno20l0]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Conversation group labels */
.chat-conv-group-label[b-33ogno20l0] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.6rem 0.5rem 0.3rem;
    margin-top: 0.25rem;
}

/* Conversation items */
.chat-conv-item[b-33ogno20l0] {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.15s;
    position: relative;
}

.chat-conv-item:hover[b-33ogno20l0] {
    background: rgba(255, 255, 255, 0.06);
}

.chat-conv-item.active[b-33ogno20l0] {
    background: rgba(59, 130, 246, 0.15);
}

.chat-conv-item-link[b-33ogno20l0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    flex: 1;
    min-width: 0;
    border-radius: 8px;
    transition: color 0.15s;
}

.chat-conv-item:hover .chat-conv-item-link[b-33ogno20l0],
.chat-conv-item.active .chat-conv-item-link[b-33ogno20l0] {
    color: white;
}

.chat-conv-item-icon[b-33ogno20l0] {
    font-size: 0.95rem;
    flex-shrink: 0;
    opacity: 0.6;
}

.chat-conv-item-title[b-33ogno20l0] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-conv-item-delete[b-33ogno20l0] {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    margin-right: 0.35rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.chat-conv-item:hover .chat-conv-item-delete[b-33ogno20l0] {
    display: flex;
}

.chat-conv-item-delete:hover[b-33ogno20l0] {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.chat-conv-item-delete .material-symbols-outlined[b-33ogno20l0] {
    font-size: 0.85rem;
}

/* Empty state */
.chat-conv-empty[b-33ogno20l0] {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    padding: 2rem 1rem;
}

/* Sidebar footer */
.chat-sidebar-footer[b-33ogno20l0] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chat-sidebar-link[b-33ogno20l0],
.chat-sidebar-link-form button[b-33ogno20l0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    width: 100%;
    text-align: left;
}

.chat-sidebar-link:hover[b-33ogno20l0],
.chat-sidebar-link-form button:hover[b-33ogno20l0] {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.chat-sidebar-link .material-symbols-outlined[b-33ogno20l0],
.chat-sidebar-link-form button .material-symbols-outlined[b-33ogno20l0] {
    font-size: 1rem;
}

.chat-sidebar-link-form[b-33ogno20l0] {
    margin: 0;
    padding: 0;
}

/* ── Unified Avia sessions (New Analysis + status indicators) ─────────────── */

.chat-new-analysis-btn[b-33ogno20l0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
    padding: 0.55rem 1rem;
    background: rgba(6, 182, 212, 0.08);
    color: #7dd3fc;
    border: 1px solid rgba(6, 182, 212, 0.45);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, color 0.2s;
    width: calc(100% - 1.5rem);
}

.chat-new-analysis-btn:hover[b-33ogno20l0] {
    background: rgba(6, 182, 212, 0.18);
    color: #bae6fd;
    transform: translateY(-1px);
}

.chat-new-analysis-btn .material-symbols-outlined[b-33ogno20l0] {
    font-size: 1.1rem;
}

/* Session status dot on a conversation row. Running pulses; Ready/Failed persist until viewed. */
.chat-session-dot[b-33ogno20l0] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 0.35rem;
}

.chat-session-dot.running[b-33ogno20l0] {
    background: #06b6d4;
    animation: chatSessionPulse-b-33ogno20l0 1.4s ease-in-out infinite;
}

.chat-session-dot.ready[b-33ogno20l0] {
    background: #34d399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.55);
}

.chat-session-dot.failed[b-33ogno20l0] {
    background: #f87171;
    box-shadow: 0 0 6px rgba(248, 113, 113, 0.5);
}

@keyframes chatSessionPulse-b-33ogno20l0 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

/* The New Analysis modal styles moved to NewAnalysisWizard.razor.css (US-P3) — a
   parent's scope attribute never stamps a child component's markup. */

/* ── Session search + idle overflow (unified sessions P2) ─────────────────── */

.chat-conv-search-wrap[b-33ogno20l0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0.75rem 0.5rem;
    padding: 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.chat-conv-search-wrap .material-symbols-outlined[b-33ogno20l0] {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.chat-conv-search[b-33ogno20l0] {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

.chat-conv-search[b-33ogno20l0]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.chat-conv-show-more[b-33ogno20l0] {
    display: block;
    width: calc(100% - 1.5rem);
    margin: 0.25rem 0.75rem 0.5rem;
    padding: 0.4rem 0.75rem;
    background: none;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.chat-conv-show-more:hover[b-33ogno20l0] {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-yywgqwliaj] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header[b-yywgqwliaj] {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 50%, #0d3b66 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo[b-yywgqwliaj] {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.brand-title[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-subtitle[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
}

.brand-name[b-yywgqwliaj] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: none;
}

.nav-link-custom[b-yywgqwliaj] {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link-custom:hover[b-yywgqwliaj],
.nav-link-custom.active[b-yywgqwliaj] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.nav-link-custom .material-symbols-outlined[b-yywgqwliaj] {
    font-size: 20px;
}

.nav-signup[b-yywgqwliaj] {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.nav-signup:hover[b-yywgqwliaj] {
    background: rgba(59, 130, 246, 0.5);
}

.nav-user-info[b-yywgqwliaj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-user-name[b-yywgqwliaj] {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-main[b-yywgqwliaj] {
    flex: 1;
    background: #f0f4f8;
}

.app-footer[b-yywgqwliaj] {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-text[b-yywgqwliaj] {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

#blazor-error-ui[b-yywgqwliaj] {
    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: 1000;
}

#blazor-error-ui .dismiss[b-yywgqwliaj] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu not used */
/* /Components/Layout/NewAnalysisWizard.razor.rz.scp.css */
/* New Analysis wizard (unified sessions US-P3). These styles live in the WIZARD's own scoped
   file — a parent component's scope attribute never stamps a child's markup (the P2a lesson),
   so the .chat-na-* rules moved here from ChatSidebarPanel.razor.css with the modal markup. */

.chat-na-overlay[b-pyxepo54co] {
    position: fixed;
    inset: 0;
    background: rgba(13, 26, 46, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 1rem;
}

.chat-na-dialog[b-pyxepo54co] {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(13, 26, 46, 0.35);
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.4rem 1.5rem;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
}

.chat-na-header[b-pyxepo54co] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.chat-na-header h3[b-pyxepo54co] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d1a2e;
    flex: 1;
}

.chat-na-step-ind[b-pyxepo54co] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
}

.chat-na-back[b-pyxepo54co] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #374151;
    cursor: pointer;
    flex: 0 0 auto;
}

.chat-na-back:hover[b-pyxepo54co] { background: #eef2f7; }
.chat-na-back .material-symbols-outlined[b-pyxepo54co] { font-size: 18px; }

.chat-na-sub[b-pyxepo54co] {
    font-size: 0.82rem;
    color: #4b5563;
    margin: 0.35rem 0 0.75rem 0;
    line-height: 1.45;
}

.chat-na-hint[b-pyxepo54co] {
    font-size: 0.76rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

.chat-na-hint a[b-pyxepo54co] {
    color: #2d68ea;
    font-weight: 600;
    text-decoration: none;
}

.chat-na-hint a:hover[b-pyxepo54co] { text-decoration: underline; }

.chat-na-label[b-pyxepo54co] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.chat-na-input[b-pyxepo54co],
.chat-na-select[b-pyxepo54co],
.chat-na-textarea[b-pyxepo54co] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1f2937;
}

.chat-na-input.code[b-pyxepo54co] { text-transform: uppercase; }

.chat-na-textarea[b-pyxepo54co] { resize: vertical; }

.chat-na-input:focus[b-pyxepo54co],
.chat-na-select:focus[b-pyxepo54co],
.chat-na-textarea:focus[b-pyxepo54co] {
    outline: none;
    border-color: #2d68ea;
    box-shadow: 0 0 0 3px rgba(45, 104, 234, 0.15);
}

.chat-na-select:disabled[b-pyxepo54co] {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* ── Step 1: kind cards ──────────────────────────────────────────────────── */

.chat-na-kinds[b-pyxepo54co] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.chat-na-kind-card[b-pyxepo54co] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}

.chat-na-kind-card:hover[b-pyxepo54co] { border-color: #93b4f5; background: #f2f7ff; }

.chat-na-kind-card.active[b-pyxepo54co] {
    border-color: #2d68ea;
    background: #eff6ff;
}

.chat-na-kind-card .material-symbols-outlined[b-pyxepo54co] {
    font-size: 22px;
    color: #2d68ea;
}

.chat-na-kind-title[b-pyxepo54co] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d1a2e;
}

.chat-na-kind-sub[b-pyxepo54co] {
    font-size: 0.72rem;
    color: #6b7280;
}

/* ── Step 2: sub-mode pills, search rows, result lists ───────────────────── */

.chat-na-subtoggle[b-pyxepo54co] {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.chat-na-subtoggle button[b-pyxepo54co] {
    padding: 0.35rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.chat-na-subtoggle button.active[b-pyxepo54co] {
    border-color: #2d68ea;
    background: #eff6ff;
    color: #1d4ed8;
}

.chat-na-search-row[b-pyxepo54co] {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.chat-na-search-row .chat-na-input[b-pyxepo54co] { flex: 1; }
.chat-na-search-row .chat-na-run[b-pyxepo54co] { flex: 0 0 auto; white-space: nowrap; }

.chat-na-grid2[b-pyxepo54co] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.chat-na-results[b-pyxepo54co] {
    margin-top: 0.7rem;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.chat-na-result-item[b-pyxepo54co] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.55rem 0.75rem;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
}

.chat-na-result-item:last-child[b-pyxepo54co] { border-bottom: none; }
.chat-na-result-item:hover[b-pyxepo54co] { background: #f2f7ff; }

.chat-na-result-title[b-pyxepo54co] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d1a2e;
}

.chat-na-result-sub[b-pyxepo54co] {
    font-size: 0.74rem;
    color: #6b7280;
}

.chat-na-resolved[b-pyxepo54co],
.chat-na-review[b-pyxepo54co] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
}

.chat-na-resolved[b-pyxepo54co] {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.chat-na-resolved > .material-symbols-outlined[b-pyxepo54co] { color: #16a34a; font-size: 22px; }

.chat-na-review[b-pyxepo54co] {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.chat-na-review > .material-symbols-outlined[b-pyxepo54co] { color: #2d68ea; font-size: 24px; }

.chat-na-resolved > div[b-pyxepo54co],
.chat-na-review > div[b-pyxepo54co] { flex: 1; min-width: 0; }

.chat-na-resolved-name[b-pyxepo54co] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d1a2e;
    overflow-wrap: anywhere;
}

.chat-na-resolved-sub[b-pyxepo54co] {
    font-size: 0.75rem;
    color: #4b5563;
}

.chat-na-clear[b-pyxepo54co] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    flex: 0 0 auto;
}

.chat-na-clear:hover[b-pyxepo54co] { background: rgba(13, 26, 46, 0.08); color: #111827; }
.chat-na-clear .material-symbols-outlined[b-pyxepo54co] { font-size: 18px; }

/* ── Step 2: document upload (submission + policy — US-P4) ───────────────── */

.chat-na-dropzone[b-pyxepo54co] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.1rem 1rem;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}

.chat-na-dropzone:hover[b-pyxepo54co],
.chat-na-dropzone.drop-active[b-pyxepo54co] {
    border-color: #2d68ea;
    background: #f2f7ff;
}

.chat-na-dropzone.has-files[b-pyxepo54co] { padding: 0.7rem 1rem; }

.chat-na-drop-title[b-pyxepo54co] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d1a2e;
}

.chat-na-drop-sub[b-pyxepo54co] {
    font-size: 0.72rem;
    color: #6b7280;
}

.chat-na-upload-progress[b-pyxepo54co] {
    margin-top: 0.6rem;
    font-size: 0.76rem;
    color: #4b5563;
}

.chat-na-upload-bar[b-pyxepo54co] {
    margin-top: 0.25rem;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.chat-na-upload-bar > div[b-pyxepo54co] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    transition: width 0.2s;
}

.chat-na-doc-list[b-pyxepo54co] {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 180px;
    overflow-y: auto;
}

.chat-na-doc-chip[b-pyxepo54co] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
}

.chat-na-doc-chip .material-symbols-outlined[b-pyxepo54co] {
    font-size: 18px;
    color: #2d68ea;
    flex: 0 0 auto;
}

.chat-na-doc-name[b-pyxepo54co] {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d1a2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-na-doc-size[b-pyxepo54co] {
    font-size: 0.72rem;
    color: #6b7280;
    flex: 0 0 auto;
}

/* ── Step 3: mode toggle + actions (unchanged from P1) ───────────────────── */

.chat-na-mode[b-pyxepo54co] {
    display: flex;
    gap: 0.5rem;
    margin: 0.35rem 0 0.25rem 0;
}

.chat-na-mode-btn[b-pyxepo54co] {
    flex: 1;
    padding: 0.5rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.chat-na-mode-btn span[b-pyxepo54co] {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
    margin-top: 0.1rem;
}

.chat-na-mode-btn.active[b-pyxepo54co] {
    border-color: #2d68ea;
    background: #eff6ff;
    color: #1d4ed8;
}

.chat-na-error[b-pyxepo54co] {
    margin-top: 0.6rem;
    padding: 0.5rem 0.7rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 0.8rem;
}

.chat-na-actions[b-pyxepo54co] {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1rem;
}

.chat-na-cancel[b-pyxepo54co] {
    padding: 0.5rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.chat-na-cancel:hover[b-pyxepo54co] {
    background: #f3f4f6;
}

.chat-na-run[b-pyxepo54co] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.chat-na-run:hover[b-pyxepo54co] {
    opacity: 0.9;
}

.chat-na-run:disabled[b-pyxepo54co],
.chat-na-cancel:disabled[b-pyxepo54co],
.chat-na-mode-btn:disabled[b-pyxepo54co],
.chat-na-subtoggle button:disabled[b-pyxepo54co],
.chat-na-result-item:disabled[b-pyxepo54co],
.chat-na-back:disabled[b-pyxepo54co] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Multi-slot comparison kinds (US-P5) ─────────────────────────────────── */

.chat-na-slots[b-pyxepo54co] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-na-slot[b-pyxepo54co] {
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: #fafcff;
}

.chat-na-slot-head[b-pyxepo54co] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-na-slot-label[b-pyxepo54co] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}

.chat-na-slot-role[b-pyxepo54co] {
    flex: 1;
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
}

.chat-na-slot-add[b-pyxepo54co] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.7rem;
    border: 1px dashed #93b4f5;
    border-radius: 8px;
    background: #f2f7ff;
    color: #2d68ea;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.chat-na-slot-add:hover[b-pyxepo54co] { background: #e6f0ff; }
.chat-na-slot-add .material-symbols-outlined[b-pyxepo54co] { font-size: 16px; }

.chat-na-add-slot[b-pyxepo54co] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    padding: 0.4rem 0.85rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: transparent;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.chat-na-add-slot:hover[b-pyxepo54co] { border-color: #93b4f5; color: #2d68ea; background: #f2f7ff; }
.chat-na-add-slot .material-symbols-outlined[b-pyxepo54co] { font-size: 17px; }

/* ── Photos sub-mode: the corroboration table + mismatch acknowledgement ── */

.chat-na-corr[b-pyxepo54co] {
    width: 100%;
    margin-top: 0.6rem;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.chat-na-corr th[b-pyxepo54co] {
    text-align: left;
    padding: 0.35rem 0.5rem;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    border-bottom: 1px solid #dbe3ee;
}

.chat-na-corr td[b-pyxepo54co] {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #eef2f7;
    color: #1f2937;
}

.chat-na-corr tr.mismatch td[b-pyxepo54co] {
    background: #fef2f2;
    color: #991b1b;
    font-weight: 600;
}

.chat-na-corr tr.corr-note td[b-pyxepo54co] {
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
    padding-top: 0.1rem;
}

.chat-na-ack[b-pyxepo54co] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.83rem;
    cursor: pointer;
}

.chat-na-ack input[b-pyxepo54co] { margin-top: 0.15rem; }

.chat-na-optional[b-pyxepo54co] { font-weight: 400; color: #6b7280; font-size: 0.82rem; }

.chat-na-check[b-pyxepo54co] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: #374151;
    cursor: pointer;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8j8tq5feh8],
.components-reconnect-repeated-attempt-visible[b-8j8tq5feh8],
.components-reconnect-failed-visible[b-8j8tq5feh8],
.components-pause-visible[b-8j8tq5feh8],
.components-resume-failed-visible[b-8j8tq5feh8],
.components-rejoining-animation[b-8j8tq5feh8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-failed[b-8j8tq5feh8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-8j8tq5feh8] {
    display: block;
}


#components-reconnect-modal[b-8j8tq5feh8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-8j8tq5feh8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-8j8tq5feh8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-8j8tq5feh8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-8j8tq5feh8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-8j8tq5feh8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-8j8tq5feh8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-8j8tq5feh8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-8j8tq5feh8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-8j8tq5feh8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-8j8tq5feh8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-8j8tq5feh8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-8j8tq5feh8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-8j8tq5feh8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-8j8tq5feh8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-8j8tq5feh8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-8j8tq5feh8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Chat/AnalysisOfferCard.razor.rz.scp.css */
/* AviaIntel analysis offer card — the route launch card's look (brand blue accent), so it reads as
   part of the answer it sits under. Explicit colours throughout: the chat bubble must not leak its
   own text colour into the inputs. */
.aoc[b-gahcffgvjq] {
    width: 100%;
    max-width: 560px;
    margin-top: 0.75rem;
    padding: 0.7rem 0.85rem 0.75rem;
    background: #f6f8fc;
    border: 1px solid var(--tv-border, #e4e7ee);
    border-left: 3px solid #2d68ea;
    border-radius: 10px;
    color: #12203b;
    text-align: left;
}

.aoc-done[b-gahcffgvjq] {
    padding: 0.5rem 0.85rem;
    border-left-color: #9aa5b8;
}

.aoc-head[b-gahcffgvjq] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.aoc-icon[b-gahcffgvjq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(45, 104, 234, 0.12);
    color: #2d68ea;
}

.aoc-done .aoc-icon[b-gahcffgvjq] {
    width: 28px;
    height: 28px;
    background: rgba(91, 100, 115, 0.12);
    color: #5b6473;
}

.aoc-heading[b-gahcffgvjq] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.aoc-title[b-gahcffgvjq] {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #2d68ea;
}

.aoc-done .aoc-title[b-gahcffgvjq] {
    color: #5b6473;
}

.aoc-subject[b-gahcffgvjq] {
    font-weight: 700;
    color: #12203b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aoc-outcome[b-gahcffgvjq] {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eceff4;
    color: #5b6473;
}

.aoc-outcome-started[b-gahcffgvjq] {
    background: #e7f6ee;
    color: #1f7a4d;
}

.aoc-reason[b-gahcffgvjq] {
    margin: 0.55rem 0 0;
    font-size: 0.85rem;
    color: #3d4757;
}

.aoc-fields[b-gahcffgvjq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.6rem;
}

.aoc-field[b-gahcffgvjq] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1 1 140px;
    min-width: 0;
    margin: 0;
}

.aoc-field-wide[b-gahcffgvjq] {
    flex-basis: 100%;
}

.aoc-label[b-gahcffgvjq] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5b6473;
}

.aoc-input[b-gahcffgvjq] {
    width: 100%;
    padding: 0.4rem 0.55rem;
    font: inherit;
    font-size: 0.875rem;
    color: #12203b;
    background: #ffffff;
    border: 1px solid #cfd6e3;
    border-radius: 7px;
}

.aoc-input:focus[b-gahcffgvjq] {
    outline: none;
    border-color: #2d68ea;
    box-shadow: 0 0 0 3px rgba(45, 104, 234, 0.15);
}

textarea.aoc-input[b-gahcffgvjq] {
    resize: vertical;
    min-height: 3.5rem;
}

.aoc-optional[b-gahcffgvjq] {
    margin-top: 0.6rem;
}

.aoc-optional summary[b-gahcffgvjq] {
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d68ea;
}

.aoc-actions[b-gahcffgvjq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.aoc-run[b-gahcffgvjq] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.8rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d68ea;
    background: #ffffff;
    border: 1px solid #2d68ea;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.aoc-run .material-symbols-outlined[b-gahcffgvjq] {
    font-size: 1.05rem;
}

.aoc-run:hover:not(:disabled)[b-gahcffgvjq],
.aoc-run-suggested[b-gahcffgvjq] {
    color: #ffffff;
    background: #2d68ea;
}

.aoc-run:disabled[b-gahcffgvjq] {
    opacity: 0.55;
    cursor: default;
}

.aoc-hint[b-gahcffgvjq] {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: #5b6473;
}

.aoc-error[b-gahcffgvjq] {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #b42318;
}
/* /Components/Shared/Ams/AmsGlobalSearch.razor.rz.scp.css */
/* AmsGlobalSearch: the island's own scoped styles (a parent's scoped CSS never reaches a child's markup). The box sits at
   the right of the AviAMS top bar; the panel opens under it, above the page and below any page modal. */
.ams-search[b-5coubfgwox] {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.ams-search-icon[b-5coubfgwox] {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: #64748b;
    pointer-events: none;
}

.ams-search-input[b-5coubfgwox] {
    width: 100%;
    padding: 0.4rem 0.75rem 0.4rem 2.1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.88rem;
    color: #0f172a;
}

.ams-search-input:focus[b-5coubfgwox] {
    outline: none;
    border-color: #2d68ea;
    box-shadow: 0 0 0 3px rgba(45, 104, 234, 0.15);
}

.ams-search-backdrop[b-5coubfgwox] {
    position: fixed;
    inset: 0;
    z-index: 1039;
    background: transparent;
}

.ams-search-panel[b-5coubfgwox] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 1040;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 0.35rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.ams-search-note[b-5coubfgwox] {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    color: #64748b;
}

.ams-search-group + .ams-search-group[b-5coubfgwox] {
    border-top: 1px solid #f1f5f9;
}

.ams-search-group-title[b-5coubfgwox] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
}

.ams-search-group-title .material-symbols-outlined[b-5coubfgwox] {
    font-size: 0.95rem;
}

.ams-search-hit[b-5coubfgwox] {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.9rem;
    text-decoration: none;
    color: #0f172a;
}

.ams-search-hit:hover[b-5coubfgwox],
.ams-search-hit:focus[b-5coubfgwox] {
    background: #f1f5f9;
    outline: none;
}

.ams-search-hit-title[b-5coubfgwox] {
    font-size: 0.88rem;
    font-weight: 500;
}

.ams-search-hit-detail[b-5coubfgwox] {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ams-search-all[b-5coubfgwox] {
    display: block;
    margin-top: 0.25rem;
    padding: 0.5rem 0.9rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
    font-weight: 500;
    color: #2d68ea;
    text-decoration: none;
}

.ams-search-all:hover[b-5coubfgwox] {
    background: #f8fafc;
}

@media (max-width: 768px) {
    .ams-search[b-5coubfgwox] {
        max-width: none;
    }
}
/* /Components/Shared/Ams/AmsNotificationBell.razor.rz.scp.css */
/* AmsNotificationBell — styles live on the ISLAND's own scoped file (a parent's scoped CSS never reaches a child's
   markup — the ChatSidebarPanel lesson). The bell sits in the dark AviAMS sidebar, so it reads like a nav link; the
   drop-down renders IN-FLOW (not absolutely positioned) so a scrolling sidebar never clips it. */
.ams-bell[b-him3xygawo] {
    padding: 0.35rem 0.75rem 0.5rem;
}

.ams-bell-btn[b-him3xygawo] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
}

.ams-bell-btn:hover[b-him3xygawo], .ams-bell-btn.open[b-him3xygawo] {
    background: rgba(45, 104, 234, 0.25);
    color: #ffffff;
}

.ams-bell-btn .material-symbols-outlined[b-him3xygawo] {
    font-size: 1.25rem;
}

.ams-bell-badge[b-him3xygawo] {
    margin-left: auto;
    min-width: 1.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.ams-bell-panel[b-him3xygawo] {
    margin-top: 0.4rem;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.ams-bell-head[b-him3xygawo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.ams-bell-head-title[b-him3xygawo] {
    font-weight: 600;
}

.ams-bell-actions[b-him3xygawo] {
    display: flex;
    gap: 0.6rem;
}

.ams-bell-link[b-him3xygawo] {
    border: 0;
    background: none;
    padding: 0;
    color: #2d68ea;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.ams-bell-link:hover[b-him3xygawo] {
    text-decoration: underline;
}

.ams-bell-empty[b-him3xygawo] {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.ams-bell-item[b-him3xygawo] {
    display: flex;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.ams-bell-item:hover[b-him3xygawo] {
    background: #f4f7ff;
}

.ams-bell-item.unread[b-him3xygawo] {
    background: #eef4ff;
}

.ams-bell-item.unread .ams-bell-title[b-him3xygawo] {
    font-weight: 600;
}

.ams-bell-icon[b-him3xygawo] {
    font-size: 1.15rem;
    color: #2d68ea;
    margin-top: 0.1rem;
}

.ams-bell-text[b-him3xygawo] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.ams-bell-title[b-him3xygawo] {
    font-size: 0.85rem;
    color: #111827;
    line-height: 1.3;
}

.ams-bell-body[b-him3xygawo] {
    font-size: 0.78rem;
    color: #4b5563;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ams-bell-time[b-him3xygawo] {
    font-size: 0.72rem;
    color: #9ca3af;
}

.ams-bell-all[b-him3xygawo] {
    display: block;
    width: 100%;
    padding: 0.55rem;
    border: 0;
    background: #f8fafc;
    color: #2d68ea;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.ams-bell-all:hover[b-him3xygawo] {
    background: #eef4ff;
}
/* /Components/Shared/Ams/AmsRecordPicker.razor.rz.scp.css */
/* AmsRecordPicker: the matches open under the field, above the page and below any page modal. */
.ams-picker[b-34jdstndpr] {
    position: relative;
}

.ams-picker-backdrop[b-34jdstndpr] {
    position: fixed;
    inset: 0;
    z-index: 1039;
    background: transparent;
}

.ams-picker-panel[b-34jdstndpr] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 1040;
    width: max(100%, 320px);
    max-height: 300px;
    overflow-y: auto;
    padding: 0.25rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.ams-picker-note[b-34jdstndpr] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
}

.ams-picker-hit[b-34jdstndpr] {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.35rem 0.75rem;
    border: 0;
    background: transparent;
    text-align: left;
    color: #0f172a;
}

.ams-picker-hit:hover[b-34jdstndpr],
.ams-picker-hit:focus[b-34jdstndpr] {
    background: #f1f5f9;
    outline: none;
}

.ams-picker-hit-title[b-34jdstndpr] {
    font-size: 0.85rem;
    font-weight: 500;
}

.ams-picker-hit-detail[b-34jdstndpr] {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Shared/Ams/RelatedRecordsStrip.razor.rz.scp.css */
.ams-related[b-zxiqthe8td] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: -0.25rem 0 1rem;
}

.ams-related-chip[b-zxiqthe8td] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 100%;
    padding: 0.2rem 0.6rem 0.2rem 0.45rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.ams-related-chip:hover[b-zxiqthe8td],
.ams-related-chip:focus-visible[b-zxiqthe8td] {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.ams-related-icon[b-zxiqthe8td] {
    font-size: 1rem;
    color: #64748b;
}

.ams-related-label[b-zxiqthe8td] {
    color: #64748b;
}

.ams-related-text[b-zxiqthe8td] {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}
