/* /Components/Layout/AlertBell.razor.rz.scp.css */
.alert-bell-wrap[b-c9f4grlvor] {
    position: relative;
    display: inline-flex;
}

.alert-bell-btn[b-c9f4grlvor] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.375rem;
    cursor: pointer;
    color: #64748b;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.alert-bell-btn:hover[b-c9f4grlvor] {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #334155;
}

.alert-bell-badge[b-c9f4grlvor] {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 9999px;
    pointer-events: none;
}

/* --- Auto-dismissing "unread alerts" reminder popover, anchored under the bell --- */
.alert-reminder[b-c9f4grlvor] {
    position: absolute;
    top: calc(100% + 10px);
    right: -6px;
    width: 290px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    z-index: 1080;
    animation: ar-in-b-c9f4grlvor 0.18s ease-out, ar-out-b-c9f4grlvor 0.4s ease-in 7.6s forwards;
}

/* caret pointing up at the bell */
.alert-reminder[b-c9f4grlvor]::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 18px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
}

.alert-reminder .ar-head[b-c9f4grlvor] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.alert-reminder .ar-title[b-c9f4grlvor] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.alert-reminder .ar-close[b-c9f4grlvor] {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
}

.alert-reminder .ar-close:hover[b-c9f4grlvor] {
    color: #475569;
}

.alert-reminder .ar-body[b-c9f4grlvor] {
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #334155;
}

.alert-reminder .ar-foot[b-c9f4grlvor] {
    display: flex;
    justify-content: flex-end;
    padding: 0 0.75rem 0.75rem;
}

@keyframes ar-in-b-c9f4grlvor {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@keyframes ar-out-b-c9f4grlvor {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(-6px); }
}
/* /Components/Layout/FavoriteLinks.razor.rz.scp.css */
/* ── Favorites strip ── */
.favorite-links[b-kqiokcw7kt] {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    overflow-x: auto;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,0.3) transparent;
    padding: 0 0 2px;
}

.favorite-links[b-kqiokcw7kt]::-webkit-scrollbar {
    height: 3px;
}

.favorite-links[b-kqiokcw7kt]::-webkit-scrollbar-track {
    background: transparent;
}

.favorite-links[b-kqiokcw7kt]::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.3);
    border-radius: 3px;
}

/* ── Ghost link ── */
.fav-link[b-kqiokcw7kt] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.01em;
    background: transparent;
    border: 1px solid transparent;
    flex-shrink: 0;
    transition: color 0.15s ease,
                background-color 0.15s ease,
                border-color 0.15s ease;
}

.fav-link:hover[b-kqiokcw7kt] {
    color: #4338ca;
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.12);
    text-decoration: none;
}

.fav-link:active[b-kqiokcw7kt] {
    background: rgba(99, 102, 241, 0.10);
}

/* ── Icon ── */
.fav-link-icon[b-kqiokcw7kt] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.45;
    transition: opacity 0.15s ease;
    filter: brightness(0) saturate(100%) invert(45%) sepia(5%) saturate(500%) hue-rotate(185deg) brightness(95%) contrast(90%);
}

.fav-link:hover .fav-link-icon[b-kqiokcw7kt] {
    opacity: 0.85;
    filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(4867%) hue-rotate(238deg) brightness(92%) contrast(90%);
}

/* ── Text ── */
.fav-link-text[b-kqiokcw7kt] {
    line-height: 1;
}

/* ── Unread badge ── */
.fav-badge[b-kqiokcw7kt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.3rem;
    border-radius: 9999px;
    background: #4f46e5;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}


/* ── Remove button — appears on hover ── */
.fav-link-remove[b-kqiokcw7kt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    overflow: hidden;
    padding: 0;
    margin-left: -0.15rem;
    border: none;
    background: none;
    color: transparent;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    border-radius: 0.2rem;
    flex-shrink: 0;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.12s ease,
                background-color 0.12s ease,
                margin 0.2s ease;
}

.fav-link:hover .fav-link-remove[b-kqiokcw7kt] {
    width: 1rem;
    margin-left: 0.1rem;
    color: #94a3b8;
}

.fav-link-remove:hover[b-kqiokcw7kt] {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* ── Separator dot between links ── */
.fav-link + .fav-link[b-kqiokcw7kt]::before {
    content: "";
    position: absolute;
    left: -0.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* ── Drag-and-drop states ── */
.fav-link[draggable="true"][b-kqiokcw7kt] {
    cursor: grab;
}

.fav-link[draggable="true"]:active[b-kqiokcw7kt] {
    cursor: grabbing;
}

.fav-dragging[b-kqiokcw7kt] {
    opacity: 0.35;
}

.fav-drop-before[b-kqiokcw7kt] {
    box-shadow: -2px 0 0 0 #6366f1;
}

.fav-drop-after[b-kqiokcw7kt] {
    box-shadow: 2px 0 0 0 #6366f1;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .favorite-links[b-kqiokcw7kt] {
        max-width: 35vw;
    }

    .fav-link-text[b-kqiokcw7kt] {
        display: none;
    }

    .fav-link[b-kqiokcw7kt] {
        padding: 0.3rem;
    }

    .fav-link + .fav-link[b-kqiokcw7kt]::before {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1ljzhzqrsz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Applied when the page is loaded with ?embed=true (inside the list-row preview
   iframe). Drops the sidebar + top bar so the iframe shows only page content,
   and strips the outer horizontal padding so the page uses the full iframe width. */
.page.embed-mode[b-1ljzhzqrsz] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.page.embed-mode main[b-1ljzhzqrsz] {
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Override Bootstrap's px-4 on the .content wrapper. Using !important because
   .px-4 sets padding-left/right with its own specificity. The ::deep lets this
   rule break out of MainLayout's scope and also affect the embedded page's
   first-level descendants which may have their own max-width / container. */
.page.embed-mode .content[b-1ljzhzqrsz],
.page.embed-mode article.content.px-4[b-1ljzhzqrsz] {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

[b-1ljzhzqrsz] .page.embed-mode .container,
[b-1ljzhzqrsz] .page.embed-mode .container-fluid,
[b-1ljzhzqrsz] .page.embed-mode .container-sm,
[b-1ljzhzqrsz] .page.embed-mode .container-md,
[b-1ljzhzqrsz] .page.embed-mode .container-lg,
[b-1ljzhzqrsz] .page.embed-mode .container-xl,
[b-1ljzhzqrsz] .page.embed-mode .container-xxl {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

main[b-1ljzhzqrsz] {
    flex: 1;
    background-color: #f8fafc;
    min-height: 100vh;
    min-width: 0;
    overflow-x: hidden;
}

.sidebar[b-1ljzhzqrsz] {
    background: #f3f5f7;
    border-right: 1px solid #e5e8ec;
}

/* Left group in top bar: toggle + favorites */
.top-row-start[b-1ljzhzqrsz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    min-width: 0;
    overflow: hidden;
    flex: 1 1 0%;
}

/* Toggle button in top bar */
.sidebar-toggle-btn[b-1ljzhzqrsz] {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 0.375rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.sidebar-toggle-btn:hover[b-1ljzhzqrsz] {
    background-color: #f1f5f9;
}

.toggle-bar[b-1ljzhzqrsz] {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #64748b;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.top-row[b-1ljzhzqrsz] {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .top-row[b-1ljzhzqrsz]  a, .top-row[b-1ljzhzqrsz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.875rem;
        color: #64748b;
        transition: color 0.2s ease;
    }

    .top-row[b-1ljzhzqrsz]  a:hover, .top-row[b-1ljzhzqrsz]  .btn-link:hover {
        text-decoration: none;
        color: #0d9488;
    }

    .top-row[b-1ljzhzqrsz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1ljzhzqrsz] {
        justify-content: space-between;
    }

    .top-row[b-1ljzhzqrsz]  a, .top-row[b-1ljzhzqrsz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1ljzhzqrsz] {
        flex-direction: row;
    }

    .sidebar[b-1ljzhzqrsz] {
        width: 260px;
        min-width: 260px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.3s ease, min-width 0.3s ease;
    }

    main[b-1ljzhzqrsz] {
        height: 100vh;
        overflow-y: auto;
        transition: margin-left 0.3s ease;
    }

    .top-row[b-1ljzhzqrsz] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row.auth[b-1ljzhzqrsz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1ljzhzqrsz], article[b-1ljzhzqrsz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* Show toggle button on desktop */
    .sidebar-toggle-btn[b-1ljzhzqrsz] {
        display: flex;
    }

    /* ── Collapsed sidebar ── */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz] {
        width: 64px;
        min-width: 64px;
        overflow: hidden;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 50;
        transition: width 0.25s ease, min-width 0.25s ease, box-shadow 0.25s ease;
    }

    .page.sidebar-collapsed main[b-1ljzhzqrsz] {
        margin-left: 64px;
    }

    /* Hide brand text when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .brand-text {
        display: none;
    }

    /* Center brand icon when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .top-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .top-row .container-fluid {
        padding: 0;
        justify-content: center;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .navbar-brand {
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .brand-icon {
        font-size: 0.85rem;
        width: 28px;
        height: 28px;
    }

    /* Strip card styling when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section {
        background: none;
        border: none;
        padding: 0;
        margin: 0.1rem 0;
        border-radius: 0;
    }

    /* Show section headers as icon-only when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section-header {
        justify-content: center;
        padding: 0.4rem;
        margin: 0;
        border-radius: 0.375rem;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section-header:hover {
        background: rgba(15,23,42,0.06);
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section-title {
        display: none;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section-icon {
        margin-right: 0;
    }

    /* Hide child items and search when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-item {
        display: none;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-search {
        display: none;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-section-chevron {
        display: none;
    }

    /* Compact footer when collapsed */
    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-footer {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.5rem 0.25rem;
        justify-content: center;
    }

    .page.sidebar-collapsed .sidebar[b-1ljzhzqrsz]  .nav-version {
        display: none;
    }

    /* Restore footer on hover-expand */
    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-footer {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        justify-content: space-between;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-version {
        display: block;
    }

    /* Hamburger → X animation when collapsed */
    .page.sidebar-collapsed main .toggle-bar:nth-child(1)[b-1ljzhzqrsz] {
        transform: rotate(45deg) translate(4.5px, 4.5px);
    }

    .page.sidebar-collapsed main .toggle-bar:nth-child(2)[b-1ljzhzqrsz] {
        opacity: 0;
    }

    .page.sidebar-collapsed main .toggle-bar:nth-child(3)[b-1ljzhzqrsz] {
        transform: rotate(-45deg) translate(4.5px, -4.5px);
    }

    /* ── Expand on hover when collapsed ── */
    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz] {
        width: 260px;
        box-shadow: 4px 0 24px rgba(15,23,42,0.12);
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .brand-text {
        display: inline;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .top-row {
        padding-left: 1rem !important;
        justify-content: flex-start;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .top-row .container-fluid {
        padding: 0 var(--bs-gutter-x, 0.75rem);
        justify-content: flex-start;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .navbar-brand {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .brand-icon {
        font-size: 0.95rem;
        width: 30px;
        height: 30px;
    }

    /* Restore card styling on hover */
    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-section {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 0.625rem;
        padding: 0.375rem 0;
        margin: 0.25rem 0.5rem;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-section-header {
        justify-content: flex-start;
        padding: 0.35rem 0.75rem 0.2rem;
        margin: 0;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-section-title {
        display: inline;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-search {
        display: block;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-item {
        display: block;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-section-chevron {
        display: inline-flex;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-section.section-collapsed .nav-section-items {
        display: none;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-link {
        font-size: 0.84rem;
        justify-content: flex-start;
    }

    .page.sidebar-collapsed .sidebar.sidebar-hover[b-1ljzhzqrsz]  .nav-link .bi {
        margin-right: 0.625rem;
    }
}

#blazor-error-ui[b-1ljzhzqrsz] {
    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;
    border-radius: 0;
}

    #blazor-error-ui .dismiss[b-1ljzhzqrsz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media print {
    .sidebar[b-1ljzhzqrsz] {
        display: none !important;
    }

    .top-row[b-1ljzhzqrsz] {
        display: none !important;
    }

    .page[b-1ljzhzqrsz] {
        display: block !important;
    }

    main[b-1ljzhzqrsz] {
        background-color: #fff !important;
        min-height: auto !important;
    }

    article[b-1ljzhzqrsz] {
        padding: 0 !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-naw8tjd2bm] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #334155;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid #e2e8f0;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 65, 85, 0.7%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(15, 23, 42, 0.04);
    border-radius: 0.5rem;
}

.navbar-toggler:checked[b-naw8tjd2bm] {
    background-color: rgba(15, 23, 42, 0.08);
}

.top-row[b-naw8tjd2bm] {
    min-height: 3.25rem;
    background: transparent;
    border-bottom: 1px solid transparent;
    position: relative;
}

.navbar-brand[b-naw8tjd2bm] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
    color: #1e293b !important;
}

.navbar-brand:hover[b-naw8tjd2bm] {
    color: #0f172a !important;
}

.brand-icon[b-naw8tjd2bm] {
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(79,70,229,0.3);
    line-height: 1;
}

.brand-text[b-naw8tjd2bm] {
    transition: opacity 0.2s ease;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.brand-sub[b-naw8tjd2bm] {
    font-size: 0.62rem;
    font-weight: 400;
    color: #94a3b8;
}

.bi[b-naw8tjd2bm] {
    display: inline-block;
    position: relative;
    width: 1rem;
    height: 1rem;
    margin-right: 0.65rem;
    top: -1px;
    background-size: cover;
    opacity: 0.75;
    filter: brightness(0) saturate(100%) invert(42%) sepia(8%) saturate(530%) hue-rotate(181deg) brightness(95%) contrast(88%);
    transition: opacity 0.12s ease, filter 0.12s ease;
    flex-shrink: 0;
}

.nav-item[b-naw8tjd2bm] {
    font-size: 0.85rem;
    padding: 0 0.6rem;
}

    .nav-item[b-naw8tjd2bm]  .nav-link {
        color: #475569;
        background: none;
        border: none;
        border-radius: 0.45rem;
        height: 2.15rem;
        display: flex;
        align-items: center;
        line-height: 2.15rem;
        width: 100%;
        font-weight: 500;
        font-size: 0.83rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: color 0.15s ease, background-color 0.15s ease;
        padding: 0 0.7rem;
        position: relative;
    }

.nav-item[b-naw8tjd2bm]  a.active {
    background: rgba(99,102,241,0.1);
    color: #4338ca;
    font-weight: 600;
    box-shadow: none;
}

.nav-item[b-naw8tjd2bm]  a.active::before {
    content: none;
}

.nav-item[b-naw8tjd2bm]  a.active .bi {
    filter: brightness(0) saturate(100%) invert(22%) sepia(76%) saturate(3340%) hue-rotate(233deg) brightness(92%) contrast(98%);
    opacity: 1;
}

.nav-item[b-naw8tjd2bm]  .nav-link:hover {
    background-color: #f3f4f6;
    color: #0f172a;
}

.nav-item[b-naw8tjd2bm]  .nav-link:hover .bi {
    opacity: 1;
}

.nav-scrollable[b-naw8tjd2bm] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-naw8tjd2bm] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-naw8tjd2bm] {
        display: none;
    }

    .nav-scrollable[b-naw8tjd2bm] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* ---- Sidebar scrollbar ---- */
.nav-scrollable[b-naw8tjd2bm]::-webkit-scrollbar {
    width: 4px;
}

.nav-scrollable[b-naw8tjd2bm]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-naw8tjd2bm]::-webkit-scrollbar-thumb {
    background: rgba(15,23,42,0.15);
    border-radius: 2px;
}

.nav-scrollable[b-naw8tjd2bm]::-webkit-scrollbar-thumb:hover {
    background: rgba(15,23,42,0.3);
}

/* ---- Nav Search ---- */
.nav-search[b-naw8tjd2bm] {
    padding: 0.6rem 0.75rem 0.5rem;
}

.nav-search-input[b-naw8tjd2bm] {
    width: 100%;
    padding: 0.4rem 0.625rem 0.4rem 1.85rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    background-color: #f1f5f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.6rem center;
    background-size: 0.8rem;
    color: #1e293b;
    font-size: 0.78rem;
    outline: none;
    box-shadow: none;
    transition: all 0.15s ease;
}

.nav-search-input[b-naw8tjd2bm]::placeholder {
    color: #94a3b8;
}

.nav-search-input:focus[b-naw8tjd2bm] {
    border-color: #cbd5e1;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}

/* ---- Favorite star button ---- */
.nav-sub-item[b-naw8tjd2bm] {
    position: relative;
}

.nav-fav-btn[b-naw8tjd2bm] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: rgba(15,23,42,0.25);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s ease, color 0.15s ease;
    z-index: 10;
}

.nav-sub-item:hover .nav-fav-btn[b-naw8tjd2bm] {
    opacity: 1;
}

.nav-fav-btn.is-fav[b-naw8tjd2bm] {
    color: #fbbf24;
    opacity: 1;
}

.nav-fav-btn:hover[b-naw8tjd2bm] {
    color: #fbbf24;
    opacity: 1;
}

.nav-badge[b-naw8tjd2bm] {
    position: absolute;
    right: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    z-index: 5;
    pointer-events: none;
}

.nav-footer[b-naw8tjd2bm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.nav-version[b-naw8tjd2bm] {
    font-size: 0.7rem;
    color: #94a3b8;
}

.nav-theme-toggle[b-naw8tjd2bm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-theme-toggle:hover[b-naw8tjd2bm] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.nav-theme-icon-sun[b-naw8tjd2bm] { display: none; }
.nav-theme-icon-moon[b-naw8tjd2bm] { display: inline; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mpjz7kbq3a],
.components-reconnect-repeated-attempt-visible[b-mpjz7kbq3a],
.components-reconnect-failed-visible[b-mpjz7kbq3a],
.components-pause-visible[b-mpjz7kbq3a],
.components-resume-failed-visible[b-mpjz7kbq3a],
.components-rejoining-animation[b-mpjz7kbq3a] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-retrying[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-failed[b-mpjz7kbq3a],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mpjz7kbq3a] {
    display: block;
}


#components-reconnect-modal[b-mpjz7kbq3a] {
    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-mpjz7kbq3a 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mpjz7kbq3a 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mpjz7kbq3a 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mpjz7kbq3a]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mpjz7kbq3a 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mpjz7kbq3a {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mpjz7kbq3a {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mpjz7kbq3a {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mpjz7kbq3a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mpjz7kbq3a] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mpjz7kbq3a] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mpjz7kbq3a] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mpjz7kbq3a] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mpjz7kbq3a] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mpjz7kbq3a] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mpjz7kbq3a 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mpjz7kbq3a] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mpjz7kbq3a {
    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/Layout/TimecardButton.razor.rz.scp.css */
/* === Animated My Timecard button === */
.tc-btn-wrap[b-bwuqdxr3oo] {
    position: relative;
    display: inline-flex;
}

.tc-btn[b-bwuqdxr3oo] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    overflow: hidden;
    isolation: isolate;
}

/* --- Speech bubble under the button (idle state) --- */
.tc-btn-bubble[b-bwuqdxr3oo] {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform-origin: 50% 0%;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 0.3rem 0.65rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    animation: tc-bubble-pop-b-bwuqdxr3oo 18s ease-in-out infinite;
}

.tc-btn-bubble[b-bwuqdxr3oo]::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fef3c7;
    filter: drop-shadow(0 -1px 0 #fde68a);
}

@keyframes tc-bubble-pop-b-bwuqdxr3oo {
    0%   { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.6); }
    3%   { opacity: 1; transform: translateX(-50%) translateY(6px) scale(1.12); }
    7%   { opacity: 1; transform: translateX(-50%) translateY(-2px) scale(0.97); }
    10%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    30%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    34%  { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.85); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.6); }
}

.tc-btn-emoji[b-bwuqdxr3oo] {
    display: inline-block;
    line-height: 1;
    transform-origin: 50% 60%;
}

/* --- Running state: green glow + wobbling clock + sweeping underline --- */
.tc-btn--running[b-bwuqdxr3oo] {
    border-color: #22c55e !important;
    color: #166534 !important;
    background: #f0fdf4;
    animation: tc-btn-glow-b-bwuqdxr3oo 2s ease-in-out infinite;
}

.tc-btn--running .tc-btn-emoji[b-bwuqdxr3oo] {
    animation: tc-clock-wobble-b-bwuqdxr3oo 2s ease-in-out infinite;
}

.tc-btn--running[b-bwuqdxr3oo]::after {
    content: "";
    position: absolute;
    left: -30%;
    bottom: 0;
    height: 2px;
    width: 40%;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    animation: tc-underline-sweep-b-bwuqdxr3oo 1.8s linear infinite;
}

@keyframes tc-btn-glow-b-bwuqdxr3oo {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
    50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);    }
}

@keyframes tc-clock-wobble-b-bwuqdxr3oo {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-12deg); }
    75%      { transform: rotate(12deg); }
}

@keyframes tc-underline-sweep-b-bwuqdxr3oo {
    0%   { left: -30%; }
    100% { left: 110%; }
}

/* --- Idle state (clocked in, no timer): amber shimmer + gentle breathe --- */
.tc-btn--idle[b-bwuqdxr3oo] {
    border-color: #f59e0b !important;
    color: #92400e !important;
    background: #fffbeb;
    animation: tc-btn-breathe-b-bwuqdxr3oo 2.4s ease-in-out infinite;
}

.tc-btn--idle[b-bwuqdxr3oo]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -80%;
    width: 60%;
    background: linear-gradient(110deg,
        transparent 20%,
        rgba(245, 158, 11, 0.22) 50%,
        transparent 80%);
    transform: skewX(-20deg);
    animation: tc-shimmer-b-bwuqdxr3oo 2.6s ease-in-out infinite;
    z-index: -1;
}

@keyframes tc-btn-breathe-b-bwuqdxr3oo {
    0%, 100% { transform: scale(1);     box-shadow: 0 0 0 0   rgba(245, 158, 11, 0.35); }
    50%      { transform: scale(1.035); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0);    }
}

@keyframes tc-shimmer-b-bwuqdxr3oo {
    0%   { left: -80%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}

/* === Nav-bar Running Timer Pill === */
.tc-running-pill[b-bwuqdxr3oo] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    cursor: pointer;
    max-width: 280px;
    transition: background 0.15s, border-color 0.15s;
}

.tc-running-pill:hover[b-bwuqdxr3oo] {
    background: #bbf7d0;
    border-color: #86efac;
}

.tc-running-name[b-bwuqdxr3oo] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.tc-running-elapsed[b-bwuqdxr3oo] {
    font-variant-numeric: tabular-nums;
    color: #065f46;
    padding-left: 0.25rem;
    border-left: 1px solid #86efac;
}

/* === Modal Shell ===
   Marker class with no visual styling of its own — purely a hook for dark-mode CSS
   scoping. The modal renders with default Bootstrap styling, matching every other
   modal in the app. */

/* === Clock-In (compact) === */
.tc-clockin-compact[b-bwuqdxr3oo] {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-bottom: 1px solid #d1fae5;
}

.tc-clockin-input[b-bwuqdxr3oo] {
    width: auto;
    max-width: 180px;
    font-size: 0.85rem;
}

/* === Stats Strip === */
.tc-stats-strip[b-bwuqdxr3oo] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-bottom: 1px solid #d1fae5;
}

.tc-stat[b-bwuqdxr3oo] {
    text-align: center;
}

.tc-stat-value[b-bwuqdxr3oo] {
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.tc-stat-primary[b-bwuqdxr3oo] {
    color: #16a34a;
}

.tc-stat-absence[b-bwuqdxr3oo] {
    color: #0891b2;
}

.tc-stat-lunch[b-bwuqdxr3oo] {
    color: #b45309;
    font-size: 1rem;
}

.tc-stat-label[b-bwuqdxr3oo] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 2px;
}

.tc-stat-divider[b-bwuqdxr3oo] {
    width: 1px;
    height: 32px;
    background: #d1d5db;
    flex-shrink: 0;
}

/* === Date Bar === */
.tc-date-bar[b-bwuqdxr3oo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
}

/* === Active Timers === */
.tc-active-timers[b-bwuqdxr3oo] {
    margin: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.tc-label[b-bwuqdxr3oo] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.tc-timer-row[b-bwuqdxr3oo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    background: rgba(255, 255, 255, 0.6);
}

.tc-timer-row:last-child[b-bwuqdxr3oo] {
    margin-bottom: 0;
}

.tc-timer-name[b-bwuqdxr3oo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.tc-timer-sub[b-bwuqdxr3oo] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.tc-timer-badge[b-bwuqdxr3oo] {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: #fef3c7;
    color: #92400e;
}

/* === Top Split: Log Work (left) + Summary (right) === */
.tc-split[b-bwuqdxr3oo] {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
    gap: 1rem;
    padding: 0.75rem;
    align-items: stretch;
}

.tc-split > *[b-bwuqdxr3oo] {
    display: flex;
    flex-direction: column;
}

.tc-split-right .tc-summary-card[b-bwuqdxr3oo] {
    flex: 1 1 auto;
}

.tc-split-left[b-bwuqdxr3oo],
.tc-split-right[b-bwuqdxr3oo] {
    min-width: 0;
}

.tc-split-left .tc-log-panel[b-bwuqdxr3oo] {
    margin: 0;
}

.tc-summary-card[b-bwuqdxr3oo] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.tc-summary-date[b-bwuqdxr3oo] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0.25rem;
}

.tc-summary-row[b-bwuqdxr3oo] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.tc-summary-label[b-bwuqdxr3oo] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    font-weight: 600;
}

.tc-summary-value[b-bwuqdxr3oo] {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #1f2937;
}

/* === Unified Log-Work Panel === */
.tc-log-panel[b-bwuqdxr3oo] {
    margin: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.tc-log-header[b-bwuqdxr3oo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tc-mode-group[b-bwuqdxr3oo] {
    display: inline-flex;
    gap: 2px;
    background: #e5e7eb;
    padding: 2px;
    border-radius: 6px;
}

.tc-mode-btn[b-bwuqdxr3oo] {
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.tc-mode-btn:hover[b-bwuqdxr3oo] {
    color: #374151;
}

.tc-mode-btn.active[b-bwuqdxr3oo] {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tc-log-body[b-bwuqdxr3oo] {
    padding: 0.75rem;
}

.tc-picker-row[b-bwuqdxr3oo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tc-search-wrap[b-bwuqdxr3oo] {
    position: relative;
    flex-grow: 1;
}

.tc-search-icon[b-bwuqdxr3oo] {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.5;
    pointer-events: none;
}

.tc-search-input[b-bwuqdxr3oo] {
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    font-size: 0.8rem;
}

.tc-search-clear[b-bwuqdxr3oo] {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0 0.25rem;
}

.tc-search-clear:hover[b-bwuqdxr3oo] {
    color: #374151;
}

.tc-inputs-row[b-bwuqdxr3oo] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tc-input-field[b-bwuqdxr3oo] {
    display: flex;
    flex-direction: column;
}

.tc-input-field label[b-bwuqdxr3oo] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

.tc-input-field input[b-bwuqdxr3oo] {
    width: 110px;
    font-size: 0.8rem;
}

.tc-inputs-hint[b-bwuqdxr3oo] {
    font-size: 0.7rem;
    color: #9ca3af;
    flex-grow: 1;
    align-self: center;
}

.tc-submit[b-bwuqdxr3oo] {
    font-size: 0.8rem;
    padding: 0.3rem 1.25rem;
    margin-left: auto;
}

/* === Time Entries (Timeline) === */
.tc-entries-wrap[b-bwuqdxr3oo] {
    margin: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.tc-entries-header[b-bwuqdxr3oo] {
    padding: 0.6rem 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tc-grid[b-bwuqdxr3oo] {
    display: flex;
    flex-direction: column;
    font-variant-numeric: tabular-nums;
}

.tc-grid-head[b-bwuqdxr3oo],
.tc-grid-row[b-bwuqdxr3oo] {
    display: grid;
    grid-template-columns: 78px minmax(150px, 1fr) minmax(150px, 1.3fr) 95px 95px 72px 72px;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
}

.tc-grid-head[b-bwuqdxr3oo] {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.tc-grid-row[b-bwuqdxr3oo] {
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.82rem;
    transition: background 0.15s;
    min-height: 44px;
    background: #fff;
}

.tc-grid-row:nth-child(even)[b-bwuqdxr3oo] {
    background: #fafbfc;
}

.tc-grid-row:last-child[b-bwuqdxr3oo] {
    border-bottom: none;
}

.tc-grid-row:hover[b-bwuqdxr3oo] {
    background: #eef2ff;
}

.tc-grid-row.is-running[b-bwuqdxr3oo] {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    padding-left: calc(0.9rem - 3px);
}

.tc-grid-row.is-running:hover[b-bwuqdxr3oo] {
    background: #ecfdf5;
}

.tc-grid-row.is-editing[b-bwuqdxr3oo] {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    padding-left: calc(0.9rem - 3px);
}

.tc-grid-row.is-absence[b-bwuqdxr3oo] {
    border-left: 3px solid #0891b2;
    padding-left: calc(0.9rem - 3px);
}

.tc-g-time[b-bwuqdxr3oo] {
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.25;
}

.tc-g-date[b-bwuqdxr3oo] {
    font-size: 0.68rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.tc-g-time-val[b-bwuqdxr3oo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.tc-g-duration[b-bwuqdxr3oo] {
    text-align: right;
}

.tc-g-type[b-bwuqdxr3oo] {
    white-space: nowrap;
}

.tc-g-item[b-bwuqdxr3oo] {
    font-weight: 600;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-g-details[b-bwuqdxr3oo] {
    color: #6b7280;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-g-actions[b-bwuqdxr3oo] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.tc-g-actions .btn[b-bwuqdxr3oo] {
    font-size: 1rem;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
}

.tc-lunch-sub[b-bwuqdxr3oo] {
    font-size: 0.65rem;
    color: #92400e;
    margin-top: 2px;
}

.tc-edit-time[b-bwuqdxr3oo] {
    width: 100%;
    max-width: 110px;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
}

/* === Entry Details === */
.tc-entry-name[b-bwuqdxr3oo] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.tc-entry-sub[b-bwuqdxr3oo] {
    font-size: 0.72rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-type-badge[b-bwuqdxr3oo] {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-right: 4px;
}

.tc-type-task[b-bwuqdxr3oo] {
    background: #dbeafe;
    color: #1e40af;
}

.tc-type-project[b-bwuqdxr3oo] {
    background: #ede9fe;
    color: #5b21b6;
}

.tc-type-timecode[b-bwuqdxr3oo] {
    background: #e5e7eb;
    color: #374151;
}

.tc-type-absence[b-bwuqdxr3oo] {
    background: #fef3c7;
    color: #92400e;
}

.tc-entry-hours[b-bwuqdxr3oo] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    min-width: 42px;
    text-align: center;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.tc-entry-hours--running[b-bwuqdxr3oo] {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.tc-lunch-badge[b-bwuqdxr3oo] {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    background: #fef3c7;
    color: #92400e;
}

.tc-lunch-row[b-bwuqdxr3oo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    color: #92400e;
}

/* === Entry Actions === */
.tc-entry-actions[b-bwuqdxr3oo] {
    opacity: 0;
    transition: opacity 0.15s;
}

.tc-tl-row:hover .tc-entry-actions[b-bwuqdxr3oo] {
    opacity: 1;
}

/* === Pulsing Dot === */
.tc-pulse-dot[b-bwuqdxr3oo] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: tc-pulse-b-bwuqdxr3oo 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.tc-pulse-green[b-bwuqdxr3oo] {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

.tc-pulse-amber[b-bwuqdxr3oo] {
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
}

@keyframes tc-pulse-b-bwuqdxr3oo {
    0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    50% { box-shadow: 0 0 0 4px transparent; opacity: 0.7; }
    100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
}

/* ============================================
   Dark theme overrides
   ============================================ */
html.nav-theme-dark .tc-modal[b-bwuqdxr3oo] {
    background: #0b1220;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

html.nav-theme-dark .tc-modal .modal-header[b-bwuqdxr3oo],
html.nav-theme-dark .tc-date-bar[b-bwuqdxr3oo] {
    background: #0f172a;
    border-bottom-color: #1e293b;
    color: #e2e8f0;
}

html.nav-theme-dark .tc-modal .modal-footer[b-bwuqdxr3oo] {
    background: #0f172a;
    border-top-color: #1e293b;
}

/* Stats / clock-in green strips */
html.nav-theme-dark .tc-clockin-compact[b-bwuqdxr3oo],
html.nav-theme-dark .tc-stats-strip[b-bwuqdxr3oo] {
    background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(16,185,129,0.06));
    border-bottom-color: rgba(16,185,129,0.25);
}
html.nav-theme-dark .tc-stat-primary[b-bwuqdxr3oo] { color: #6ee7b7; }
html.nav-theme-dark .tc-stat-absence[b-bwuqdxr3oo] { color: #67e8f9; }
html.nav-theme-dark .tc-stat-lunch[b-bwuqdxr3oo]   { color: #fcd34d; }
html.nav-theme-dark .tc-stat-label[b-bwuqdxr3oo]   { color: #94a3b8; }
html.nav-theme-dark .tc-stat-divider[b-bwuqdxr3oo] { background: #334155; }

/* Right-hand summary card */
html.nav-theme-dark .tc-summary-card[b-bwuqdxr3oo] {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
html.nav-theme-dark .tc-summary-date[b-bwuqdxr3oo] {
    color: #f1f5f9;
    border-bottom-color: #1e293b;
}
html.nav-theme-dark .tc-summary-label[b-bwuqdxr3oo] { color: #94a3b8; }
html.nav-theme-dark .tc-summary-value[b-bwuqdxr3oo] { color: #e2e8f0; }

/* Log Work panel */
html.nav-theme-dark .tc-log-panel[b-bwuqdxr3oo] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .tc-log-header[b-bwuqdxr3oo],
html.nav-theme-dark .tc-entries-header[b-bwuqdxr3oo],
html.nav-theme-dark .tc-grid-head[b-bwuqdxr3oo] {
    background: #111c33;
    border-bottom-color: #1e293b;
    color: #94a3b8;
}
html.nav-theme-dark .tc-mode-group[b-bwuqdxr3oo] {
    background: #1e293b;
}
html.nav-theme-dark .tc-mode-btn[b-bwuqdxr3oo] { color: #94a3b8; }
html.nav-theme-dark .tc-mode-btn:hover[b-bwuqdxr3oo] { color: #cbd5e1; }
html.nav-theme-dark .tc-mode-btn.active[b-bwuqdxr3oo] {
    background: #0f172a;
    color: #c7d2fe;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
html.nav-theme-dark .tc-search-clear[b-bwuqdxr3oo] { color: #64748b; }
html.nav-theme-dark .tc-search-clear:hover[b-bwuqdxr3oo] { color: #cbd5e1; }
html.nav-theme-dark .tc-input-field label[b-bwuqdxr3oo],
html.nav-theme-dark .tc-label[b-bwuqdxr3oo] { color: #cbd5e1; }
html.nav-theme-dark .tc-inputs-hint[b-bwuqdxr3oo] { color: #94a3b8; }

/* Active timers card (amber) */
html.nav-theme-dark .tc-active-timers[b-bwuqdxr3oo] {
    background: rgba(245,158,11,0.10);
    border-color: rgba(245,158,11,0.30);
}
html.nav-theme-dark .tc-timer-row[b-bwuqdxr3oo] {
    background: rgba(255,255,255,0.04);
}
html.nav-theme-dark .tc-timer-name[b-bwuqdxr3oo] { color: #f1f5f9; }
html.nav-theme-dark .tc-timer-sub[b-bwuqdxr3oo] { color: #94a3b8; }
html.nav-theme-dark .tc-timer-badge[b-bwuqdxr3oo] {
    background: rgba(245,158,11,0.20);
    color: #fde68a;
}

/* Time Entries grid */
html.nav-theme-dark .tc-entries-wrap[b-bwuqdxr3oo] {
    border-color: #1e293b;
    background: #0f172a;
}
html.nav-theme-dark .tc-grid-row[b-bwuqdxr3oo] {
    background: #0f172a;
    border-bottom-color: #1e293b;
    color: #e2e8f0;
}
html.nav-theme-dark .tc-grid-row:nth-child(even)[b-bwuqdxr3oo] {
    background: #111c33;
}
html.nav-theme-dark .tc-grid-row:hover[b-bwuqdxr3oo] {
    background: rgba(99,102,241,0.12);
}
html.nav-theme-dark .tc-grid-row.is-running[b-bwuqdxr3oo] {
    background: rgba(16,185,129,0.10);
}
html.nav-theme-dark .tc-grid-row.is-running:hover[b-bwuqdxr3oo] {
    background: rgba(16,185,129,0.16);
}
html.nav-theme-dark .tc-grid-row.is-editing[b-bwuqdxr3oo] {
    background: rgba(59,130,246,0.10);
}
html.nav-theme-dark .tc-g-time[b-bwuqdxr3oo],
html.nav-theme-dark .tc-g-time-val[b-bwuqdxr3oo],
html.nav-theme-dark .tc-g-item[b-bwuqdxr3oo],
html.nav-theme-dark .tc-entry-name[b-bwuqdxr3oo] { color: #e2e8f0; }
html.nav-theme-dark .tc-g-date[b-bwuqdxr3oo],
html.nav-theme-dark .tc-g-details[b-bwuqdxr3oo],
html.nav-theme-dark .tc-entry-sub[b-bwuqdxr3oo] { color: #94a3b8; }
html.nav-theme-dark .tc-lunch-sub[b-bwuqdxr3oo] { color: #fde68a; }

/* Type badges */
html.nav-theme-dark .tc-type-task[b-bwuqdxr3oo]     { background: rgba(59,130,246,0.18); color: #93c5fd; }
html.nav-theme-dark .tc-type-project[b-bwuqdxr3oo]  { background: rgba(139,92,246,0.18); color: #c4b5fd; }
html.nav-theme-dark .tc-type-timecode[b-bwuqdxr3oo] { background: #334155; color: #cbd5e1; }
html.nav-theme-dark .tc-type-absence[b-bwuqdxr3oo]  { background: rgba(245,158,11,0.18); color: #fde68a; }

/* Entry hours pill */
html.nav-theme-dark .tc-entry-hours[b-bwuqdxr3oo] {
    background: #1e293b;
    color: #cbd5e1;
    border-color: #334155;
}
html.nav-theme-dark .tc-entry-hours--running[b-bwuqdxr3oo] {
    background: rgba(16,185,129,0.18);
    color: #6ee7b7;
    border-color: rgba(16,185,129,0.35);
}

/* Lunch row */
html.nav-theme-dark .tc-lunch-row[b-bwuqdxr3oo] {
    background: rgba(245,158,11,0.10);
    border-top-color: rgba(245,158,11,0.30);
    color: #fde68a;
}
html.nav-theme-dark .tc-lunch-badge[b-bwuqdxr3oo] {
    background: rgba(245,158,11,0.20);
    color: #fde68a;
}
/* /Components/Layout/UserMenu.razor.rz.scp.css */
.user-dropdown[b-d8vs1pmh6d] {
    position: relative;
}

.user-dropdown-toggle[b-d8vs1pmh6d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.user-dropdown-toggle:hover[b-d8vs1pmh6d] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.user-dropdown-name[b-d8vs1pmh6d] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.user-dropdown-caret[b-d8vs1pmh6d] {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* ── Dropdown menu ── */

.user-dropdown-menu[b-d8vs1pmh6d] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.5rem;
    animation: dropdownFadeIn-b-d8vs1pmh6d 0.15s ease-out;
}

@keyframes dropdownFadeIn-b-d8vs1pmh6d {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── User header inside dropdown ── */

.user-dropdown-header[b-d8vs1pmh6d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
}

.user-dropdown-header-avatar[b-d8vs1pmh6d],
.user-dropdown-header-avatar-fallback[b-d8vs1pmh6d] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-dropdown-header-avatar[b-d8vs1pmh6d] {
    object-fit: cover;
}

.user-dropdown-header-avatar-fallback[b-d8vs1pmh6d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.user-dropdown-header-info[b-d8vs1pmh6d] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-dropdown-header-name[b-d8vs1pmh6d] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-header-label[b-d8vs1pmh6d] {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* ── Menu items ── */

.user-dropdown-item[b-d8vs1pmh6d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    text-align: left;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    line-height: 1.25rem;
}

.user-dropdown-item .menu-icon[b-d8vs1pmh6d] {
    display: block;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.user-dropdown-item:hover[b-d8vs1pmh6d] {
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
}

.user-dropdown-item:hover .menu-icon[b-d8vs1pmh6d] {
    opacity: 0.85;
}

.user-dropdown-item:active[b-d8vs1pmh6d] {
    background: #e2e8f0;
}

/* Sign-out item */
.user-dropdown-item-danger:hover[b-d8vs1pmh6d] {
    background: #fef2f2;
    color: #dc2626;
}

.user-dropdown-item-danger:hover .menu-icon[b-d8vs1pmh6d] {
    opacity: 0.85;
}

.user-dropdown-item-danger:active[b-d8vs1pmh6d] {
    background: #fee2e2;
}

/* ── Divider ── */

.user-dropdown-divider[b-d8vs1pmh6d] {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

/* ── Toggle button avatar ── */

.user-avatar[b-d8vs1pmh6d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.user-avatar-img[b-d8vs1pmh6d] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ---- Dark theme overrides ---- */
html.nav-theme-dark .user-dropdown-toggle:hover[b-d8vs1pmh6d] {
    background: rgba(255,255,255,0.06);
    border-color: #334155;
}

html.nav-theme-dark .user-dropdown-name[b-d8vs1pmh6d] {
    color: #cbd5e1;
}

html.nav-theme-dark .user-dropdown-caret[b-d8vs1pmh6d] {
    color: #64748b;
}

html.nav-theme-dark .user-dropdown-menu[b-d8vs1pmh6d] {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 10px 40px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
}

html.nav-theme-dark .user-dropdown-header-name[b-d8vs1pmh6d] {
    color: #f1f5f9;
}

html.nav-theme-dark .user-dropdown-header-label[b-d8vs1pmh6d] {
    color: #94a3b8;
}

html.nav-theme-dark .user-dropdown-item[b-d8vs1pmh6d] {
    color: #cbd5e1;
}

html.nav-theme-dark .user-dropdown-item:hover[b-d8vs1pmh6d] {
    background: rgba(99,102,241,0.18);
    color: #e0e7ff;
}

html.nav-theme-dark .user-dropdown-item:active[b-d8vs1pmh6d] {
    background: rgba(99,102,241,0.28);
}

html.nav-theme-dark .user-dropdown-item-danger:hover[b-d8vs1pmh6d] {
    background: rgba(239,68,68,0.18);
    color: #fecaca;
}

html.nav-theme-dark .user-dropdown-item-danger:active[b-d8vs1pmh6d] {
    background: rgba(239,68,68,0.28);
}

html.nav-theme-dark .user-dropdown-divider[b-d8vs1pmh6d] {
    background: #1e293b;
}
/* /Components/Pages/Admin/EmployeeManagement.razor.rz.scp.css */
/* ======================================================
   Hero Header
   ====================================================== */
.hr-hero[b-otjfq59xti] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    border: 1px solid #e9e5f7;
    border-radius: 14px;
}

.hr-hero-content[b-otjfq59xti] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hr-hero-icon[b-otjfq59xti] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.hr-hero-text h3[b-otjfq59xti] {
    font-weight: 600;
    color: #1f2937;
}

.btn-new-employee[b-otjfq59xti] {
    font-weight: 500;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.2);
}

/* ======================================================
   Stat Cards
   ====================================================== */
.hr-stat-card[b-otjfq59xti] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hr-stat-card:hover[b-otjfq59xti] {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.hr-stat-icon[b-otjfq59xti] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hr-stat-body[b-otjfq59xti] {
    min-width: 0;
}

.hr-stat-value[b-otjfq59xti] {
    font-size: 1.6rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.1;
}

.hr-stat-label[b-otjfq59xti] {
    font-size: 0.78rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

/* ======================================================
   Toolbar (search + filters)
   ====================================================== */
.hr-toolbar[b-otjfq59xti] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hr-search[b-otjfq59xti] {
    position: relative;
    flex: 1 1 280px;
    min-width: 240px;
}

.hr-search .form-control[b-otjfq59xti] {
    padding-left: 2.25rem;
    padding-right: 2rem;
    border-radius: 8px;
    border-color: #e5e7eb;
}

.hr-search .form-control:focus[b-otjfq59xti] {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.hr-search-icon[b-otjfq59xti] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
    pointer-events: none;
}

.hr-search-clear[b-otjfq59xti] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
}

.hr-search-clear:hover[b-otjfq59xti] {
    color: #4b5563;
}

.hr-filter-select[b-otjfq59xti] {
    width: auto;
    min-width: 180px;
    flex: 0 0 auto;
    border-radius: 8px;
    border-color: #e5e7eb;
}

.hr-status-chips[b-otjfq59xti] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hr-chip[b-otjfq59xti] {
    border: 1px solid #e5e7eb;
    background: white;
    color: #4b5563;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hr-chip:hover[b-otjfq59xti] {
    background: #f9fafb;
    border-color: #d1d5db;
}

.hr-chip.active[b-otjfq59xti] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.hr-chip.active.hr-chip-active[b-otjfq59xti] { background: #16a34a; border-color: #16a34a; }
.hr-chip.active.hr-chip-onleave[b-otjfq59xti] { background: #d97706; border-color: #d97706; }
.hr-chip.active.hr-chip-terminated[b-otjfq59xti] { background: #dc2626; border-color: #dc2626; }
.hr-chip.active.hr-chip-resigned[b-otjfq59xti] { background: #6b7280; border-color: #6b7280; }
.hr-chip.active.hr-chip-retired[b-otjfq59xti] { background: #0891b2; border-color: #0891b2; }

/* ======================================================
   Employee List
   ====================================================== */
.hr-list[b-otjfq59xti] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.hr-list-header[b-otjfq59xti],
.hr-row[b-otjfq59xti] {
    display: grid;
    grid-template-columns: minmax(220px, 2.2fr) minmax(140px, 1.6fr) minmax(120px, 1.2fr) minmax(100px, 1fr) minmax(110px, 1.1fr) minmax(110px, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.hr-list-header[b-otjfq59xti] {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.hr-row[b-otjfq59xti] {
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.hr-row:last-child[b-otjfq59xti] {
    border-bottom: none;
}

.hr-row:hover[b-otjfq59xti] {
    background: #f9fafb;
}

.hr-col-emp[b-otjfq59xti] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hr-row-avatar[b-otjfq59xti] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.hr-row-name[b-otjfq59xti] {
    min-width: 0;
}

.hr-name-primary[b-otjfq59xti] {
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-name-secondary[b-otjfq59xti] {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.1rem;
}

.hr-col-title[b-otjfq59xti] {
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-dept-pill[b-otjfq59xti] {
    display: inline-block;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}

.hr-col-status[b-otjfq59xti] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #374151;
    font-size: 0.88rem;
}

.hr-status-dot[b-otjfq59xti] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hr-status-dot-active[b-otjfq59xti] { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
.hr-status-dot-onleave[b-otjfq59xti] { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.hr-status-dot-terminated[b-otjfq59xti] { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15); }
.hr-status-dot-resigned[b-otjfq59xti] { background: #6b7280; box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.15); }
.hr-status-dot-retired[b-otjfq59xti] { background: #06b6d4; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15); }

.hr-col-hire[b-otjfq59xti] {
    color: #6b7280;
    font-size: 0.88rem;
    white-space: nowrap;
}

.hr-col-actions[b-otjfq59xti] {
    display: flex;
    gap: 0.2rem;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.hr-row:hover .hr-col-actions[b-otjfq59xti] {
    opacity: 1;
}

.btn-icon[b-otjfq59xti] {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
}

.btn-icon:hover[b-otjfq59xti] {
    background: white;
    border-color: #d1d5db;
}

.hr-action-danger:hover[b-otjfq59xti] {
    background: #fef2f2;
    border-color: #fecaca;
}

/* Smaller screens — collapse columns */
@@media (max-width: 992px) {
    .hr-list-header[b-otjfq59xti] { display: none; }
    .hr-row[b-otjfq59xti] {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 1rem;
    }
    .hr-col-actions[b-otjfq59xti] { opacity: 1; justify-content: flex-end; }
}

/* ======================================================
   Empty State
   ====================================================== */
.hr-empty[b-otjfq59xti] {
    text-align: center;
    padding: 3rem 1rem;
}

.hr-empty-icon[b-otjfq59xti] {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

/* ======================================================
   Detail Modal
   ====================================================== */
.detail-modal-header[b-otjfq59xti] {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.hr-detail-section[b-otjfq59xti] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    height: 100%;
}

.hr-detail-heading[b-otjfq59xti] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.hr-detail-list[b-otjfq59xti] {
    display: grid;
    grid-template-columns: 130px 1fr;
    row-gap: 0.4rem;
    column-gap: 0.5rem;
    font-size: 0.9rem;
}

.hr-detail-list dt[b-otjfq59xti] {
    color: #6b7280;
    font-weight: 500;
}

.hr-detail-list dd[b-otjfq59xti] {
    color: #111827;
    margin: 0;
}

/* ======================================================
   Edit Modal — Avatar & Tabs (kept compatible with create)
   ====================================================== */
.avatar-circle[b-otjfq59xti] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.avatar-circle-lg[b-otjfq59xti] {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
}

.edit-employee-modal .modal-header[b-otjfq59xti] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.edit-employee-modal .nav-tabs[b-otjfq59xti] {
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    padding: 0 1rem;
    flex-shrink: 0;
}

.edit-employee-modal .nav-tabs .nav-link[b-otjfq59xti] {
    color: #6c757d;
    border: 1px solid transparent;
    border-bottom: none;
    background: transparent;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.edit-employee-modal .nav-tabs .nav-link:hover[b-otjfq59xti] {
    color: var(--df-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.05);
}

.edit-employee-modal .nav-tabs .nav-link.active[b-otjfq59xti] {
    color: var(--df-primary, #0d6efd);
    background: white;
    border-color: #dee2e6 #dee2e6 white;
    font-weight: 500;
}

.edit-employee-modal .modal-body[b-otjfq59xti] {
    padding: 1.25rem 1.5rem;
}

.edit-employee-modal .modal-footer[b-otjfq59xti] {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.tab-pane-content[b-otjfq59xti] {
    min-height: 240px;
}
/* /Components/Pages/Admin/MenuSetup.razor.rz.scp.css */
.menu-setup-section[b-6omzvtjlj1] {
    border-bottom: 1px solid #e2e8f0;
}

.menu-setup-section:last-child[b-6omzvtjlj1] {
    border-bottom: none;
}

.menu-setup-section-header[b-6omzvtjlj1] {
    background: #f8fafc;
}

.menu-setup-section-header:hover[b-6omzvtjlj1] {
    background: #f1f5f9;
}

.menu-setup-item:hover[b-6omzvtjlj1] {
    background: #fefce8;
}

/* ---- Dark theme overrides ---- */
html.nav-theme-dark .menu-setup-section[b-6omzvtjlj1] {
    border-bottom-color: #1e293b;
}

html.nav-theme-dark .menu-setup-section-header[b-6omzvtjlj1] {
    background: #111c33;
    color: #e2e8f0;
}

html.nav-theme-dark .menu-setup-section-header:hover[b-6omzvtjlj1] {
    background: rgba(255,255,255,0.05);
}

html.nav-theme-dark .menu-setup-item:hover[b-6omzvtjlj1] {
    background: rgba(245,158,11,0.10);
}
/* /Components/Pages/Admin/TaskCategoryManagement.razor.rz.scp.css */
[b-ciktmrf9e7] tr.drag-over-highlight {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
    background-color: rgba(13, 110, 253, 0.08);
}

[b-ciktmrf9e7] tr[draggable="true"]:active {
    opacity: 0.5;
}
/* /Components/Pages/Admin/TaskTemplates.razor.rz.scp.css */
[b-06pjhcnw4k] tr.drag-over-highlight {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
    background-color: rgba(13, 110, 253, 0.08);
}

[b-06pjhcnw4k] tr[draggable="true"]:active {
    opacity: 0.5;
}
/* /Components/Pages/Admin/UserManagement.razor.rz.scp.css */
/* ============================================
   User Management — scoped styles
   ============================================ */

.users-toolbar .input-group-text[b-ucq4dwfzuz] {
    border-right: 0;
}

.users-toolbar .input-group .form-control[b-ucq4dwfzuz] {
    border-left: 0;
}

/* ------- Users table ------- */
.users-table[b-ucq4dwfzuz] {
    font-size: 0.9rem;
}

.users-table thead th[b-ucq4dwfzuz] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--df-text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--df-border);
}

.users-table tbody tr[b-ucq4dwfzuz] {
    transition: background-color 0.15s ease;
}

.users-table tbody tr:hover[b-ucq4dwfzuz] {
    background-color: var(--df-primary-light);
}

/* ------- User cell with avatar ------- */
.user-cell[b-ucq4dwfzuz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-ucq4dwfzuz] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-meta[b-ucq4dwfzuz] {
    min-width: 0;
}

.user-name[b-ucq4dwfzuz] {
    font-weight: 600;
    color: var(--df-text);
    line-height: 1.2;
}

.user-email[b-ucq4dwfzuz] {
    color: var(--df-text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

.user-username[b-ucq4dwfzuz] {
    color: var(--df-text-muted);
    font-size: 0.72rem;
    opacity: 0.75;
}

/* ------- Status badge ------- */
.status-badge[b-ucq4dwfzuz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
}

.status-badge .status-dot[b-ucq4dwfzuz] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

/* ------- Action icon buttons ------- */
.action-buttons[b-ucq4dwfzuz] {
    display: inline-flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

.btn-icon[b-ucq4dwfzuz] {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-icon:hover[b-ucq4dwfzuz] {
    background: var(--df-bg);
    border-color: var(--df-border);
}

.btn-icon-danger:hover[b-ucq4dwfzuz] {
    background: var(--df-danger-light);
    border-color: var(--df-danger);
}

.btn-icon-success:hover[b-ucq4dwfzuz] {
    background: var(--df-success-light);
    border-color: var(--df-success);
}

/* ------- Modal — create/edit ------- */
.setup-toggle[b-ucq4dwfzuz] {
    background: var(--df-primary-light);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 0.75rem 1rem;
}

.setup-toggle .form-check-input[b-ucq4dwfzuz] {
    margin-top: 0.35rem;
}

/* ------- Permissions modal ------- */
.permission-group .card-header[b-ucq4dwfzuz] {
    background: var(--df-bg);
}

.permission-group .form-check-label[b-ucq4dwfzuz] {
    font-size: 0.85rem;
    cursor: pointer;
}

.permissions-toolbar .input-group-text[b-ucq4dwfzuz] {
    border-right: 0;
}

.permissions-toolbar .input-group .form-control[b-ucq4dwfzuz] {
    border-left: 0;
}

/* ------- Responsive tweaks ------- */
@media (max-width: 768px) {
    .users-table[b-ucq4dwfzuz] {
        font-size: 0.85rem;
    }

    .user-avatar[b-ucq4dwfzuz] {
        width: 32px;
        height: 32px;
        font-size: 0.72rem;
    }

    .action-buttons[b-ucq4dwfzuz] {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/AIChat/AIChat.razor.rz.scp.css */
.chat-shell[b-np68xhiyn7] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    height: calc(100vh - 180px);
    min-height: 520px;
}

@media (max-width: 900px) {
    .chat-shell[b-np68xhiyn7] {
        grid-template-columns: 1fr;
        height: auto;
    }
}

/* ---- Session sidebar ---- */
.sessions-card[b-np68xhiyn7] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    box-shadow: var(--df-card-shadow);
    overflow: hidden;
    min-height: 0;
}

.sessions-header[b-np68xhiyn7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--df-border);
}

.sessions-header h6[b-np68xhiyn7] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--df-text);
}

.new-chat-btn[b-np68xhiyn7] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--df-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    transition: background var(--df-transition);
}

.new-chat-btn:hover:not(:disabled)[b-np68xhiyn7] {
    background: var(--df-primary-hover);
}

.new-chat-btn:disabled[b-np68xhiyn7] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sessions-list[b-np68xhiyn7] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.session-group-label[b-np68xhiyn7] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--df-text-muted);
    letter-spacing: 0.05em;
    padding: 0.75rem 0.5rem 0.25rem;
}

.session-item[b-np68xhiyn7] {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.65rem;
    margin-bottom: 2px;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    color: var(--df-text);
    font-size: 0.85rem;
    line-height: 1.3;
    transition: background var(--df-transition);
    cursor: pointer;
}

.session-item:hover:not(:disabled)[b-np68xhiyn7] {
    background: var(--df-primary-light);
}

.session-item.active[b-np68xhiyn7] {
    background: var(--df-primary);
    color: #fff;
}

.session-item.active:hover[b-np68xhiyn7] {
    background: var(--df-primary-hover);
}

.session-item:disabled[b-np68xhiyn7] {
    cursor: not-allowed;
}

.session-title[b-np68xhiyn7] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1.5rem;
    font-weight: 500;
}

.session-delete[b-np68xhiyn7] {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--df-text-muted);
    opacity: 0;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1;
    transition: opacity var(--df-transition), color var(--df-transition), background var(--df-transition);
}

.session-item:hover .session-delete[b-np68xhiyn7],
.session-item:focus-within .session-delete[b-np68xhiyn7] {
    opacity: 1;
}

.session-delete:hover[b-np68xhiyn7] {
    color: var(--df-danger);
    background: var(--df-danger-light);
}

.sessions-empty[b-np68xhiyn7] {
    text-align: center;
    color: var(--df-text-muted);
    padding: 2rem 1rem;
    font-size: 0.85rem;
}

/* ---- Main chat area ---- */
.chat-card[b-np68xhiyn7] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    box-shadow: var(--df-card-shadow);
    overflow: hidden;
    min-height: 0;
}

.chat-header[b-np68xhiyn7] {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--df-border);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--df-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header .badge-new[b-np68xhiyn7] {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    background: var(--df-primary-light);
    color: var(--df-primary);
    border-radius: 999px;
}

.chat-messages[b-np68xhiyn7] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--df-bg);
    min-height: 0;
}

.msg-row[b-np68xhiyn7] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.msg-row.user[b-np68xhiyn7] {
    flex-direction: row-reverse;
}

.msg-avatar[b-np68xhiyn7] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.msg-avatar.user[b-np68xhiyn7] {
    background: var(--df-primary);
}

.msg-avatar.assistant[b-np68xhiyn7] {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.msg-bubble[b-np68xhiyn7] {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-shadow: var(--df-card-shadow);
}

.msg-row.user .msg-bubble[b-np68xhiyn7] {
    background: var(--df-primary);
    color: #fff;
    border-bottom-right-radius: 0.3rem;
}

.msg-row.assistant .msg-bubble[b-np68xhiyn7] {
    background: #fff;
    color: var(--df-text);
    border: 1px solid var(--df-border);
    border-bottom-left-radius: 0.3rem;
}

.msg-time[b-np68xhiyn7] {
    font-size: 0.7rem;
    color: var(--df-text-muted);
    margin-top: 0.25rem;
    padding: 0 0.25rem;
}

.msg-row.user .msg-time[b-np68xhiyn7] {
    text-align: right;
}

/* Empty state */
.chat-empty[b-np68xhiyn7] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--df-text-muted);
}

.chat-empty-icon[b-np68xhiyn7] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.chat-empty h4[b-np68xhiyn7] {
    font-size: 1.25rem;
    color: var(--df-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chat-empty p[b-np68xhiyn7] {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.suggested-prompts[b-np68xhiyn7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
    max-width: 640px;
    width: 100%;
}

.prompt-chip[b-np68xhiyn7] {
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: 0.625rem;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.825rem;
    color: var(--df-text);
    cursor: pointer;
    transition: border-color var(--df-transition), background var(--df-transition), box-shadow var(--df-transition);
}

.prompt-chip:hover[b-np68xhiyn7] {
    border-color: var(--df-primary);
    background: var(--df-primary-light);
    box-shadow: var(--df-card-shadow);
}

/* Caret + typing */
.ai-chat-caret[b-np68xhiyn7] {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: currentColor;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: ai-chat-blink-b-np68xhiyn7 1s steps(2) infinite;
    opacity: 0.75;
}

@keyframes ai-chat-blink-b-np68xhiyn7 {
    to { opacity: 0; }
}

/* ---- Composer / input ---- */
.chat-composer[b-np68xhiyn7] {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--df-border);
    background: #fff;
}

.composer-wrap[b-np68xhiyn7] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    border: 1px solid var(--df-border);
    border-radius: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    background: #fff;
    transition: border-color var(--df-transition), box-shadow var(--df-transition);
}

.composer-wrap:focus-within[b-np68xhiyn7] {
    border-color: var(--df-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.composer-textarea[b-np68xhiyn7] {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.35rem 0.25rem;
    max-height: 180px;
    min-height: 24px;
    font-family: inherit;
    background: transparent;
    color: var(--df-text);
}

.composer-textarea[b-np68xhiyn7]::placeholder {
    color: var(--df-text-muted);
}

.send-btn[b-np68xhiyn7] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background: var(--df-primary);
    color: #fff;
    transition: background var(--df-transition), transform var(--df-transition);
}

.send-btn:hover:not(:disabled)[b-np68xhiyn7] {
    background: var(--df-primary-hover);
}

.send-btn:active:not(:disabled)[b-np68xhiyn7] {
    transform: scale(0.96);
}

.send-btn:disabled[b-np68xhiyn7] {
    background: var(--df-border);
    color: var(--df-text-muted);
    cursor: not-allowed;
}

.composer-hint[b-np68xhiyn7] {
    margin-top: 0.4rem;
    font-size: 0.7rem;
    color: var(--df-text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.composer-model[b-np68xhiyn7] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
}

.composer-model-select[b-np68xhiyn7] {
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--df-border);
    background: #fff;
    color: var(--df-text);
    cursor: pointer;
}

.composer-model-select:disabled[b-np68xhiyn7] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Image attachments ---- */
.pending-attachments[b-np68xhiyn7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pending-thumb[b-np68xhiyn7] {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--df-border);
    background: var(--df-bg);
}

.pending-thumb img[b-np68xhiyn7] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pending-thumb-remove[b-np68xhiyn7] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--df-transition);
}

.pending-thumb-remove:hover[b-np68xhiyn7] {
    background: var(--df-danger);
}

.msg-images[b-np68xhiyn7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.msg-image[b-np68xhiyn7] {
    max-width: 260px;
    max-height: 260px;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    display: block;
}

.msg-row.user .msg-image[b-np68xhiyn7] {
    border-color: rgba(255, 255, 255, 0.3);
}

.file-chip[b-np68xhiyn7] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    max-width: 260px;
    color: var(--df-text);
    text-decoration: none;
    line-height: 1.2;
    transition: border-color var(--df-transition), background var(--df-transition);
}

.file-chip:hover[b-np68xhiyn7] {
    border-color: var(--df-primary);
    background: var(--df-primary-light);
    color: var(--df-text);
    text-decoration: none;
}

.file-chip-icon[b-np68xhiyn7] {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
}

.file-chip-name[b-np68xhiyn7] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.file-chip-size[b-np68xhiyn7] {
    color: var(--df-text-muted);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.msg-row.user .file-chip[b-np68xhiyn7] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.msg-row.user .file-chip:hover[b-np68xhiyn7] {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.msg-row.user .file-chip-size[b-np68xhiyn7] {
    color: rgba(255, 255, 255, 0.7);
}

/* Pending file chip (before send) */
.pending-file[b-np68xhiyn7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.55rem;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    max-width: 240px;
    position: relative;
}

.pending-file-name[b-np68xhiyn7] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--df-text);
}

.pending-file-remove[b-np68xhiyn7] {
    border: none;
    background: transparent;
    color: var(--df-text-muted);
    cursor: pointer;
    padding: 0 2px;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 3px;
    transition: color var(--df-transition), background var(--df-transition);
}

.pending-file-remove:hover[b-np68xhiyn7] {
    color: var(--df-danger);
    background: var(--df-danger-light);
}

/* Attach button */
.attach-btn[b-np68xhiyn7] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--df-text-muted);
    transition: background var(--df-transition), color var(--df-transition);
    cursor: pointer;
}

.attach-btn:hover:not(:disabled)[b-np68xhiyn7] {
    background: var(--df-primary-light);
    color: var(--df-primary);
}

.attach-btn:disabled[b-np68xhiyn7] {
    opacity: 0.5;
    cursor: not-allowed;
}

.attach-hidden-input[b-np68xhiyn7] {
    display: none;
}

/* Drop zone overlay */
.chat-card.dragging[b-np68xhiyn7]::after {
    content: 'Drop files to attach';
    position: absolute;
    inset: 0;
    background: rgba(79, 70, 229, 0.08);
    border: 2px dashed var(--df-primary);
    border-radius: var(--df-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--df-primary);
    pointer-events: none;
    z-index: 10;
}

.chat-card[b-np68xhiyn7] {
    position: relative;
}

kbd[b-np68xhiyn7] {
    display: inline-block;
    padding: 0.05rem 0.35rem;
    font-size: 0.7rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: var(--df-bg);
    border: 1px solid var(--df-border);
    border-radius: 0.25rem;
    color: var(--df-text);
}
/* /Components/Pages/Branches/BranchManagement.razor.rz.scp.css */
/* Stat strip */
.v9-stat-strip[b-m8fl8eipst] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.v9-stat[b-m8fl8eipst] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: box-shadow .12s, transform .12s;
    position: relative;
}

    .v9-stat:hover[b-m8fl8eipst] {
        box-shadow: 0 4px 14px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

    .v9-stat.active[b-m8fl8eipst] {
        box-shadow: 0 0 0 2px #0d6efd33, 0 4px 14px rgba(13,110,253,.12);
    }

    .v9-stat.active[b-m8fl8eipst]::after {
        content: "filtering";
        position: absolute;
        top: 8px;
        right: 10px;
        font-size: 0.62rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #0d6efd;
        font-weight: 600;
    }

    .v9-stat .lbl[b-m8fl8eipst] {
        font-size: 0.74rem;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .v9-stat .val[b-m8fl8eipst] {
        font-size: 1.7rem;
        font-weight: 700;
        line-height: 1;
        margin-top: 6px;
    }

    .v9-stat .trend[b-m8fl8eipst] {
        font-size: 0.74rem;
        color: #6c757d;
        margin-top: 4px;
    }

    .v9-stat.danger[b-m8fl8eipst] {
        border-left: 3px solid #dc3545;
    }

    .v9-stat.warn[b-m8fl8eipst] {
        border-left: 3px solid #fd7e14;
    }

    .v9-stat.good[b-m8fl8eipst] {
        border-left: 3px solid #198754;
    }

    .v9-stat.info[b-m8fl8eipst] {
        border-left: 3px solid #0d6efd;
    }

/* Panel + pill tabs */
.v9-panel[b-m8fl8eipst] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
}

/* Split layout */
.v9-split[b-m8fl8eipst] {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: start;
}

.v9-folder-pane[b-m8fl8eipst] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 16px;
}

.v9-folder-pane-head[b-m8fl8eipst] {
    padding: 10px 14px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.v9-folder-list[b-m8fl8eipst] {
    padding: 6px 0;
    max-height: 70vh;
    overflow-y: auto;
}

.v9-folder-item[b-m8fl8eipst] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: #495057;
    cursor: pointer;
    border-left: 3px solid transparent;
}

    .v9-folder-item:hover[b-m8fl8eipst] {
        background: #f8f9fa;
    }

    .v9-folder-item.active[b-m8fl8eipst] {
        background: #e7f1ff;
        border-left-color: #0d6efd;
        color: #0a4595;
        font-weight: 500;
    }

    .v9-folder-item .v9-folder-item-name[b-m8fl8eipst] {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .v9-folder-item .count[b-m8fl8eipst] {
        background: rgba(0,0,0,0.06);
        color: #6c757d;
        padding: 0 7px;
        border-radius: 10px;
        font-size: 0.72rem;
        min-width: 22px;
        text-align: center;
    }

    .v9-folder-item.active .count[b-m8fl8eipst] {
        background: rgba(13,110,253,0.15);
        color: #0a4595;
    }

    .v9-folder-item .dot[b-m8fl8eipst] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #dc3545;
    }

        .v9-folder-item .dot.warn[b-m8fl8eipst] {
            background: #fd7e14;
        }

.v9-folder-divider[b-m8fl8eipst] {
    height: 1px;
    background: #f1f3f5;
    margin: 6px 14px;
}

/* Avatar */
.av-circle[b-m8fl8eipst] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.65rem;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Table */
.v9-table[b-m8fl8eipst] {
    width: 100%;
}

    .v9-table thead th[b-m8fl8eipst] {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #6c757d;
        border-bottom: 2px solid #e9ecef;
        background: #fff;
    }

    .v9-table td[b-m8fl8eipst], .v9-table th[b-m8fl8eipst] {
        vertical-align: middle;
        padding: 8px 12px;
    }

/* Right pane title strip */
.v9-pane-title[b-m8fl8eipst] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.v9-pane-title-text[b-m8fl8eipst] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #495057;
}

    .v9-pane-title-text .pane-icon[b-m8fl8eipst] {
        font-size: 1.1rem;
    }

    .v9-pane-title-text .pane-name[b-m8fl8eipst] {
        font-size: 1.05rem;
    }

    .v9-pane-title-text .pane-count[b-m8fl8eipst] {
        background: #e9ecef;
        color: #495057;
        padding: 2px 10px;
        border-radius: 12px;
        font-size: 0.78rem;
        font-weight: 500;
    }

.v9-pane-stats[b-m8fl8eipst] {
    display: inline-flex;
    gap: 8px;
    font-size: 0.78rem;
    color: #6c757d;
    align-items: center;
    flex-wrap: wrap;
}

    .v9-pane-stats .stat-pill[b-m8fl8eipst] {
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: 2px 10px;
    }

        .v9-pane-stats .stat-pill.behind[b-m8fl8eipst] {
            color: #dc3545;
            border-color: #fadbdb;
            background: #fff5f5;
        }

        .v9-pane-stats .stat-pill.stale[b-m8fl8eipst] {
            color: #fd7e14;
            border-color: #fbe3cb;
            background: #fff8f0;
        }

        .v9-pane-stats .stat-pill.policies[b-m8fl8eipst] {
            color: #0a4595;
            border-color: #cfe2ff;
            background: #f0f8ff;
        }

.v9-pane-search[b-m8fl8eipst] {
    width: 320px;
    max-width: 100%;
}

/* Branch rows */
.v9-branch-row.default-branch[b-m8fl8eipst] {
    background: #fffdf5;
}

.v9-branch-name[b-m8fl8eipst] {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Ahead/behind chips */
.ab-chips[b-m8fl8eipst] {
    display: inline-flex;
    gap: 4px;
    vertical-align: middle;
}

.ab-chip[b-m8fl8eipst] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    font-variant-numeric: tabular-nums;
    min-width: 38px;
    justify-content: center;
}

    .ab-chip i[b-m8fl8eipst] {
        font-size: 0.7rem;
        line-height: 1;
    }

    .ab-chip.behind[b-m8fl8eipst] {
        background: #fde8ea;
        color: #b02a37;
        border-color: #f5c2c7;
    }

        .ab-chip.behind.warn[b-m8fl8eipst] {
            background: #fff3cd;
            color: #7c4a03;
            border-color: #ffe69c;
        }

        .ab-chip.behind.danger[b-m8fl8eipst] {
            background: #dc3545;
            color: #fff;
            border-color: #b02a37;
        }

    .ab-chip.ahead[b-m8fl8eipst] {
        background: #d1e7dd;
        color: #0a3622;
        border-color: #a3cfbb;
    }

    .ab-chip.zero[b-m8fl8eipst] {
        background: #f1f3f5;
        color: #868e96;
        border-color: #e9ecef;
    }

/* Soft badges */
.badge-soft-blue[b-m8fl8eipst] {
    background: #d6e4ff;
    color: #0a4595;
}

.badge-soft-amber[b-m8fl8eipst] {
    background: #fff3cd;
    color: #7c5500;
}

/* Compact creator cell */
.creator-cell[b-m8fl8eipst] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
}

    .creator-cell .creator-name[b-m8fl8eipst] {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .creator-cell .creator-email[b-m8fl8eipst] {
        font-size: 0.7rem;
        color: #6c757d;
    }
/* /Components/Pages/ClientPortal.razor.rz.scp.css */
[b-nayw2oz85g] .client-ticket-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

[b-nayw2oz85g] .client-ticket-link:hover {
    color: inherit;
    text-decoration: none;
}

[b-nayw2oz85g] tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}
/* /Components/Pages/Deployments/DeploymentDetail.razor.rz.scp.css */
[b-kzalb7bpng] .script-list {
    display: flex;
    flex-direction: column;
}

[b-kzalb7bpng] .script-card {
    border: 1px solid #dee2e6;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

[b-kzalb7bpng] .script-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

[b-kzalb7bpng] .script-card-header {
    cursor: pointer;
    user-select: none;
}

[b-kzalb7bpng] .script-card-header:hover {
    background-color: #f8f9fa;
}

[b-kzalb7bpng] .script-chevron {
    color: #6c757d;
    font-size: 0.8rem;
    width: 12px;
    display: inline-block;
    text-align: center;
    user-select: none;
}

[b-kzalb7bpng] .script-drag-handle {
    cursor: grab;
    color: #adb5bd;
    font-size: 1.4rem;
    line-height: 1;
    padding: 2px 8px;
    user-select: none;
    border-radius: 4px;
    touch-action: none;
}

[b-kzalb7bpng] .script-drag-handle:hover {
    color: #0d6efd;
    background-color: #e7f1ff;
}

[b-kzalb7bpng] .script-drag-handle:active {
    cursor: grabbing;
    background-color: #cfe2ff;
}

[b-kzalb7bpng] .min-width-0 {
    min-width: 0;
}

/* SortableJS visual states */
[b-kzalb7bpng] .sortable-ghost {
    opacity: 0.4;
    background-color: #e7f1ff !important;
    border: 2px dashed #0d6efd !important;
}

[b-kzalb7bpng] .sortable-ghost > * {
    visibility: hidden;
}

[b-kzalb7bpng] .sortable-chosen {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

[b-kzalb7bpng] .sortable-drag {
    opacity: 0.95;
    cursor: grabbing;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[b-kzalb7bpng] .pending-file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

[b-kzalb7bpng] .pending-file-item:last-child {
    border-bottom: none;
}

/* ── Deployment Email Modal ── */

[b-kzalb7bpng] .deploy-email-shell {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
[b-kzalb7bpng] .deploy-email-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px 16px;
    background: #fff;
    border-bottom: 1px solid #e4e4e7;
    flex-shrink: 0;
}

[b-kzalb7bpng] .deploy-email-header-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[b-kzalb7bpng] .deploy-email-header-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

[b-kzalb7bpng] .deploy-email-header-icon {
    font-size: 1.15rem;
    line-height: 1;
}

[b-kzalb7bpng] .deploy-email-header-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #18181b;
    margin: 0;
    letter-spacing: -0.005em;
}

[b-kzalb7bpng] .deploy-email-header-subtitle {
    font-size: 0.8rem;
    color: #71717a;
    line-height: 1.4;
}

[b-kzalb7bpng] .deploy-email-version {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3f3f46;
    background: #f4f4f5;
    padding: 2px 9px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

[b-kzalb7bpng] .deploy-email-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #a1a1aa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

[b-kzalb7bpng] .deploy-email-close-btn:hover {
    background: #f4f4f5;
    color: #52525b;
}

/* Body */
[b-kzalb7bpng] .deploy-email-body {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    min-height: 0;
}

/* Compose panel */
[b-kzalb7bpng] .deploy-email-compose {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    min-width: 0;
    background: #fff;
    border-right: 1px solid #e4e4e7;
}

[b-kzalb7bpng] .deploy-email-compose-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
}

[b-kzalb7bpng] .deploy-email-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 24px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 500;
    line-height: 1.4;
}

[b-kzalb7bpng] .deploy-email-banner-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

[b-kzalb7bpng] .deploy-email-banner-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

[b-kzalb7bpng] .deploy-email-banner-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

[b-kzalb7bpng] .deploy-email-field {
    display: flex;
    flex-direction: column;
    padding: 18px 24px;
    border-bottom: 1px solid #f4f4f5;
}

[b-kzalb7bpng] .deploy-email-field:last-child {
    border-bottom: none;
}

[b-kzalb7bpng] .deploy-email-field-grow {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

[b-kzalb7bpng] .deploy-email-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

[b-kzalb7bpng] .deploy-email-field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

[b-kzalb7bpng] .deploy-email-field-count {
    font-size: 0.72rem;
    font-weight: 500;
    color: #a1a1aa;
}

[b-kzalb7bpng] .deploy-email-field-action {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

[b-kzalb7bpng] .deploy-email-field-action:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

[b-kzalb7bpng] .deploy-email-field-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

[b-kzalb7bpng] .deploy-email-field-error {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #b91c1c;
    font-weight: 500;
}

[b-kzalb7bpng] .deploy-email-recipients-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: flex-start;
    min-height: 32px;
    margin-bottom: 10px;
}

[b-kzalb7bpng] .deploy-email-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 3px 4px 3px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    transition: background 0.15s ease;
}

[b-kzalb7bpng] .deploy-email-pill:hover {
    background: #dbeafe;
}

[b-kzalb7bpng] .deploy-email-pill-text {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-kzalb7bpng] .deploy-email-pill-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    color: #1e40af;
    cursor: pointer;
    border-radius: 999px;
    opacity: 0.55;
    transition: all 0.15s;
}

[b-kzalb7bpng] .deploy-email-pill-remove:hover {
    background: rgba(30, 64, 175, 0.15);
    opacity: 1;
}

[b-kzalb7bpng] .deploy-email-placeholder {
    color: #a1a1aa;
    font-size: 0.82rem;
    padding: 6px 2px;
}

[b-kzalb7bpng] .deploy-email-hint {
    font-size: 0.75rem;
    color: #a1a1aa;
    line-height: 1.4;
}

[b-kzalb7bpng] .deploy-email-add-row {
    display: flex;
    gap: 8px;
}

[b-kzalb7bpng] .deploy-email-add-input {
    flex-grow: 1;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: #18181b;
    background: #fff;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    outline: none;
    transition: all 0.15s ease;
}

[b-kzalb7bpng] .deploy-email-add-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

[b-kzalb7bpng] .deploy-email-add-input::placeholder {
    color: #a1a1aa;
}

[b-kzalb7bpng] .deploy-email-add-btn {
    background: #f4f4f5;
    color: #18181b;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    padding: 0 16px;
    height: 36px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

[b-kzalb7bpng] .deploy-email-add-btn:hover:not(:disabled) {
    background: #e4e4e7;
}

[b-kzalb7bpng] .deploy-email-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

[b-kzalb7bpng] .deploy-email-input-boxed {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #18181b;
    background: #fff;
    border: 1.5px solid #e4e4e7;
    border-radius: 8px;
    outline: none;
    transition: all 0.15s ease;
}

[b-kzalb7bpng] .deploy-email-input-boxed:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

[b-kzalb7bpng] .deploy-email-richtext {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 240px;
    margin-bottom: 8px;
    position: relative;
}

[b-kzalb7bpng] .deploy-email-richtext > .rich-text-editor {
    flex-grow: 1;
    min-height: 0;
}

[b-kzalb7bpng] .deploy-email-richtext-loading > .rich-text-editor {
    opacity: 0.4;
    pointer-events: none;
}

[b-kzalb7bpng] .deploy-email-richtext-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    color: #52525b;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
}

/* Preview pane */
[b-kzalb7bpng] .deploy-email-preview-pane {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    min-width: 0;
    overflow: hidden;
    background: #fafafa;
}

[b-kzalb7bpng] .deploy-email-preview-head {
    padding: 18px 32px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-kzalb7bpng] .deploy-email-preview-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

[b-kzalb7bpng] .deploy-email-preview-hint {
    font-size: 0.75rem;
    color: #a1a1aa;
}

[b-kzalb7bpng] .deploy-email-preview-scroll {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 32px 32px;
}

[b-kzalb7bpng] .deploy-email-preview-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[b-kzalb7bpng] .deploy-email-preview-header {
    padding: 22px 28px 18px;
    border-bottom: 1px solid #f4f4f5;
}

[b-kzalb7bpng] .deploy-email-preview-subject {
    font-size: 1.05rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 4px;
    line-height: 1.4;
}

[b-kzalb7bpng] .deploy-email-preview-meta {
    font-size: 0.78rem;
    color: #a1a1aa;
}

[b-kzalb7bpng] .deploy-email-preview-body {
    padding: 24px 28px 32px;
}

/* Footer */
[b-kzalb7bpng] .deploy-email-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid #e4e4e7;
    flex-shrink: 0;
}

[b-kzalb7bpng] .deploy-email-footer-left {
    font-size: 0.82rem;
    color: #71717a;
}

[b-kzalb7bpng] .deploy-email-footer-warning {
    color: #b45309;
    font-weight: 500;
}

[b-kzalb7bpng] .deploy-email-footer-ready {
    color: #52525b;
}

[b-kzalb7bpng] .deploy-email-footer-actions {
    display: flex;
    gap: 10px;
}

[b-kzalb7bpng] .deploy-email-cancel-btn {
    background: #fff;
    color: #52525b;
    border: 1.5px solid #e4e4e7;
    border-radius: 10px;
    padding: 0 20px;
    height: 38px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

[b-kzalb7bpng] .deploy-email-cancel-btn:hover:not(:disabled) {
    background: #f4f4f5;
    color: #18181b;
}

[b-kzalb7bpng] .deploy-email-cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

[b-kzalb7bpng] .deploy-email-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #18181b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 22px;
    height: 38px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

[b-kzalb7bpng] .deploy-email-send-btn:hover:not(:disabled) {
    background: #27272a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

[b-kzalb7bpng] .deploy-email-send-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

[b-kzalb7bpng] .deploy-email-send-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* /Components/Pages/Deployments/DeploymentPage.razor.rz.scp.css */
[b-osu7puna49] .deployment-row-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

[b-osu7puna49] .deployment-row-link:hover {
    color: inherit;
    text-decoration: none;
}
/* /Components/Pages/Files/FilesPage.razor.rz.scp.css */
/* ===== Max size hint ===== */
.max-size-hint[b-u4vwb0zhv7] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

/* ===== Two-panel layout ===== */
.files-layout[b-u4vwb0zhv7] {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    height: calc(100vh - 160px);
    min-height: 400px;
}

/* ===== Left: Folder tree ===== */
.folder-tree-panel[b-u4vwb0zhv7] {
    width: 240px;
    min-width: 200px;
    flex-shrink: 0;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.folder-tree-header[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.6rem 0.75rem;
    background: var(--bs-light, #f8f9fa);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    color: var(--bs-secondary-color, #6c757d);
}

.folder-tree-body[b-u4vwb0zhv7] {
    flex: 1;
    overflow-y: auto;
    padding: 0.35rem 0;
    font-size: 0.84rem;
}

/* ===== Tree nodes (shared with FolderTreeNode) ===== */
[b-u4vwb0zhv7] .tree-node,
.tree-node[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    padding: 0.32rem 0.5rem;
    cursor: pointer;
    border-radius: 0.3rem;
    margin: 1px 0.3rem;
    white-space: nowrap;
    user-select: none;
    color: var(--bs-body-color, #212529);
    transition: background-color 0.12s ease;
}

[b-u4vwb0zhv7] .tree-node:hover,
.tree-node:hover[b-u4vwb0zhv7] {
    background-color: rgba(0, 0, 0, 0.04);
}

[b-u4vwb0zhv7] .tree-node.active,
.tree-node.active[b-u4vwb0zhv7] {
    background-color: rgba(13, 110, 253, 0.09);
    color: var(--bs-primary, #0d6efd);
    font-weight: 600;
}

[b-u4vwb0zhv7] .tree-chevron,
.tree-chevron[b-u4vwb0zhv7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--bs-secondary, #6c757d);
    border-radius: 3px;
    margin-right: 2px;
    transition: background-color 0.1s ease;
}

[b-u4vwb0zhv7] .tree-chevron:hover,
.tree-chevron:hover[b-u4vwb0zhv7] {
    background-color: rgba(0, 0, 0, 0.08);
}

[b-u4vwb0zhv7] .tree-chevron-spacer,
.tree-chevron-spacer[b-u4vwb0zhv7] {
    display: inline-block;
    width: 18px;
    flex-shrink: 0;
    margin-right: 2px;
}

[b-u4vwb0zhv7] .tree-label,
.tree-label[b-u4vwb0zhv7] {
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ===== Right: Content panel ===== */
.files-content-panel[b-u4vwb0zhv7] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== Breadcrumb bar ===== */
.files-breadcrumb-bar[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: var(--bs-light, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.files-breadcrumb-bar .breadcrumb[b-u4vwb0zhv7] {
    font-size: 0.85rem;
}

.files-breadcrumb-bar .breadcrumb a[b-u4vwb0zhv7] {
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
}

.files-breadcrumb-bar .breadcrumb a:hover[b-u4vwb0zhv7] {
    text-decoration: underline;
}

.files-count-badge[b-u4vwb0zhv7] {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
    padding: 0.15rem 0.5rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 1rem;
}

/* ===== New folder bar ===== */
.new-folder-bar[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
}

/* ===== Files table card ===== */
.files-table-card[b-u4vwb0zhv7] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.files-table[b-u4vwb0zhv7] {
    font-size: 0.85rem;
}

.files-table thead[b-u4vwb0zhv7] {
    background: var(--bs-light, #f8f9fa);
    position: sticky;
    top: 0;
    z-index: 1;
}

.files-table thead th[b-u4vwb0zhv7] {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color, #6c757d);
    border-bottom-width: 1px;
    padding: 0.6rem 0.75rem;
    white-space: nowrap;
}

/* ===== Sortable headers ===== */
.sortable-header[b-u4vwb0zhv7] {
    cursor: pointer;
    user-select: none;
    transition: color 0.12s ease;
}

.sortable-header:hover[b-u4vwb0zhv7] {
    color: var(--bs-body-color, #212529);
}

.sort-arrow[b-u4vwb0zhv7] {
    font-size: 0.6rem;
    margin-left: 3px;
    vertical-align: middle;
    color: var(--bs-primary, #0d6efd);
}

.files-table tbody td[b-u4vwb0zhv7] {
    padding: 0.55rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,0.06));
}

.files-table tbody tr:last-child td[b-u4vwb0zhv7] {
    border-bottom: none;
}

/* Column widths */
.col-icon[b-u4vwb0zhv7] {
    width: 44px;
    text-align: center;
}

.col-name[b-u4vwb0zhv7] {
    min-width: 200px;
}

.col-size[b-u4vwb0zhv7] {
    width: 100px;
    white-space: nowrap;
}

.col-user[b-u4vwb0zhv7] {
    width: 140px;
    white-space: nowrap;
}

.col-date[b-u4vwb0zhv7] {
    width: 120px;
    white-space: nowrap;
}

.col-actions[b-u4vwb0zhv7] {
    width: 150px;
    text-align: right;
}

/* ===== Clickable rows ===== */
.row-clickable[b-u4vwb0zhv7] {
    cursor: pointer;
}

.row-clickable:hover td[b-u4vwb0zhv7] {
    background-color: rgba(13, 110, 253, 0.03);
}

/* ===== File icon badges ===== */
.file-icon[b-u4vwb0zhv7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
}

.file-icon-folder[b-u4vwb0zhv7] {
    color: #d97706;
    background: none;
    width: auto;
    height: auto;
}

.file-icon-pdf[b-u4vwb0zhv7] {
    background: #fee2e2;
    color: #dc2626;
}

.file-icon-img[b-u4vwb0zhv7] {
    background: #f3e8ff;
    color: #9333ea;
}

.file-icon-vid[b-u4vwb0zhv7] {
    background: #fce7f3;
    color: #db2777;
}

.file-icon-aud[b-u4vwb0zhv7] {
    background: #ccfbf1;
    color: #0d9488;
}

.file-icon-xls[b-u4vwb0zhv7] {
    background: #dcfce7;
    color: #16a34a;
}

.file-icon-doc[b-u4vwb0zhv7] {
    background: #dbeafe;
    color: #2563eb;
}

.file-icon-zip[b-u4vwb0zhv7] {
    background: #ffedd5;
    color: #ea580c;
}

.file-icon-txt[b-u4vwb0zhv7] {
    background: #f1f5f9;
    color: #64748b;
}

.file-icon-gen[b-u4vwb0zhv7] {
    background: #f1f5f9;
    color: #475569;
}

/* ===== File name styles ===== */
.file-name-text[b-u4vwb0zhv7] {
    font-size: 0.85rem;
}

.folder-name[b-u4vwb0zhv7] {
    font-weight: 600;
    color: var(--bs-body-color, #212529);
}

.file-name-link[b-u4vwb0zhv7] {
    color: var(--bs-body-color, #212529);
    text-decoration: none;
    font-size: 0.85rem;
}

.file-name-link:hover[b-u4vwb0zhv7] {
    color: var(--bs-primary, #0d6efd);
    text-decoration: underline;
}

/* ===== Action buttons ===== */
.action-btns[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: nowrap;
}

.action-btn[b-u4vwb0zhv7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--bs-secondary, #6c757d);
    border-radius: 0.3rem;
    cursor: pointer;
    transition: all 0.12s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.action-btn:hover[b-u4vwb0zhv7] {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--bs-body-color, #212529);
}

.action-btn-danger:hover[b-u4vwb0zhv7] {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.action-btn-locked[b-u4vwb0zhv7] {
    color: #d97706;
}

.action-btn-locked:hover[b-u4vwb0zhv7] {
    background-color: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

/* ===== Lock badge ===== */
.lock-badge[b-u4vwb0zhv7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: #d97706;
    opacity: 0.75;
    vertical-align: middle;
}

/* ===== Empty state ===== */
.empty-state[b-u4vwb0zhv7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state-icon[b-u4vwb0zhv7] {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.empty-state-text[b-u4vwb0zhv7] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-color, #212529);
    margin-bottom: 0.25rem;
}

.empty-state-hint[b-u4vwb0zhv7] {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* ===== Toast notifications ===== */
.success-toast[b-u4vwb0zhv7] {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1060;
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toast-slide-in-b-u4vwb0zhv7 0.25s ease-out;
    background: #059669;
    color: #fff;
    border: none;
}

/* ===== Upload progress toast ===== */
.upload-progress-toast[b-u4vwb0zhv7] {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1060;
    width: 340px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    animation: toast-slide-in-b-u4vwb0zhv7 0.25s ease-out;
    font-size: 0.84rem;
}

.upload-progress-header[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--bs-body-color, #212529);
}

.upload-progress-filename[b-u4vwb0zhv7] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.upload-progress-track[b-u4vwb0zhv7] {
    height: 6px;
    background: var(--bs-light, #e9ecef);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.upload-progress-fill[b-u4vwb0zhv7] {
    height: 100%;
    background: var(--bs-primary, #0d6efd);
    border-radius: 3px;
    transition: width 0.15s ease;
}

.upload-progress-stats[b-u4vwb0zhv7] {
    font-size: 0.72rem;
    color: var(--bs-secondary-color, #6c757d);
    text-align: right;
}

@keyframes toast-slide-in-b-u4vwb0zhv7 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Move folder picker ===== */
.move-folder-picker[b-u4vwb0zhv7] {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.4rem;
    padding: 0.25rem 0;
}

.move-folder-item[b-u4vwb0zhv7] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    font-size: 0.84rem;
    border-radius: 0.25rem;
    margin: 1px 0.25rem;
    user-select: none;
    color: var(--bs-body-color, #212529);
    transition: background-color 0.1s ease;
}

.move-folder-item:hover[b-u4vwb0zhv7] {
    background-color: rgba(0, 0, 0, 0.04);
}

.move-folder-item.active[b-u4vwb0zhv7] {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary, #0d6efd);
    font-weight: 600;
}

.move-folder-item.disabled[b-u4vwb0zhv7] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.active-indicator[b-16utouovnm] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28a745;
    animation: pulse 1.5s ease-in-out infinite;
}

@@keyframes pulse {
    0%[b-16utouovnm], 100%[b-16utouovnm] { opacity: 1; transform: scale(1); }
    50%[b-16utouovnm] { opacity: 0.5; transform: scale(1.3); }
}

.empty-state[b-16utouovnm] {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.empty-state-icon[b-16utouovnm] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Slim banner replacing the old birthday card */
.birthday-banner[b-16utouovnm] {
    background: #fff7e6;
    border-left: 4px solid #f59f00;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 0.95rem;
}

/* Stat strip: at-a-glance metrics across the top of the page */
.stat-strip[b-16utouovnm] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.strip-stat[b-16utouovnm] {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 1rem 0.75rem;
    text-align: center;
}

.strip-stat-val[b-16utouovnm] {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.strip-stat-lbl[b-16utouovnm] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 0.4rem;
}

.strip-stat.critical .strip-stat-val[b-16utouovnm] { color: #dc3545; }
.strip-stat.today    .strip-stat-val[b-16utouovnm] { color: #fd7e14; }
.strip-stat.week     .strip-stat-val[b-16utouovnm] { color: #0d6efd; }
.strip-stat.team     .strip-stat-val[b-16utouovnm] { color: #198754; }

@@media (max-width: 768px) {
    .stat-strip[b-16utouovnm] { grid-template-columns: repeat(2, 1fr); }
}

/* Scoped pill toolbar used inside card headers (e.g. My Time range switcher) */
.toolbar-pill[b-16utouovnm] {
    display: inline-flex;
    gap: 2px;
    background: #f1f3f5;
    border-radius: 999px;
    padding: 3px;
}

.toolbar-pill button[b-16utouovnm] {
    border: none;
    background: transparent;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #495057;
    cursor: pointer;
}

.toolbar-pill button.active[b-16utouovnm] {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 500;
}

/* Team-working list inside the bento can grow with team size; cap the
   visible height so the bento stays balanced — scroll for the rest. */
.team-working-list[b-16utouovnm] {
    max-height: 320px;
    overflow-y: auto;
}

.summary-stats[b-16utouovnm] {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6c757d;
}

[b-16utouovnm] .user-group-header {
    background-color: #f0f4f8;
    border-left: 3px solid #0d6efd;
}

[b-16utouovnm] .user-group-header td {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 0.9rem;
}

[b-16utouovnm] .subtotal-row {
    background-color: #fafbfc;
    border-top: 1px dashed #dee2e6;
}

[b-16utouovnm] .subtotal-row td {
    font-size: 0.85rem;
    color: #495057;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
/* /Components/Pages/Personalities/PersonalityTest.razor.rz.scp.css */
.pt-hero[b-8gkskl2n5m] {
    padding: .25rem 0 0;
}

.pt-temp-card[b-8gkskl2n5m] {
    border: 1px solid #e9ecef;
    border-left-width: 4px;
    transition: transform .15s, box-shadow .15s;
}

    .pt-temp-card:hover[b-8gkskl2n5m] {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    }

.pt-temp-sanguine[b-8gkskl2n5m] {
    border-left-color: #ffc107;
}

.pt-temp-choleric[b-8gkskl2n5m] {
    border-left-color: #dc3545;
}

.pt-temp-melancholic[b-8gkskl2n5m] {
    border-left-color: #0d6efd;
}

.pt-temp-phlegmatic[b-8gkskl2n5m] {
    border-left-color: #198754;
}

.pt-temp-dot[b-8gkskl2n5m] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-bottom: .5rem;
    display: inline-block;
}

.pt-option[b-8gkskl2n5m] {
    text-align: left;
    padding: 1rem 1.25rem;
    border: 1px solid #dee2e6;
    background: #fff;
    transition: all .12s;
    border-radius: .5rem;
    width: 100%;
}

    .pt-option:hover[b-8gkskl2n5m] {
        border-color: #0d6efd;
        background: #f8faff;
    }

.pt-option-selected[b-8gkskl2n5m],
.pt-option-selected:hover[b-8gkskl2n5m] {
    border-color: #0d6efd;
    background: #0d6efd;
    color: #fff;
}

    .pt-option-selected .text-muted[b-8gkskl2n5m] {
        color: rgba(255, 255, 255, .8) !important;
    }

.pt-option-letter[b-8gkskl2n5m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    font-weight: 600;
    margin-right: .85rem;
    flex-shrink: 0;
}

.pt-option-selected .pt-option-letter[b-8gkskl2n5m] {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.pt-review-icon[b-8gkskl2n5m] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2.25rem;
    line-height: 72px;
    display: inline-block;
    color: #fff;
    font-weight: 700;
}

.pt-review-ok[b-8gkskl2n5m] {
    background: #198754;
}

.pt-review-warn[b-8gkskl2n5m] {
    background: #ffc107;
    color: #212529;
}

.pt-tabs[b-8gkskl2n5m] {
    border-bottom: 2px solid #e9ecef;
}

    .pt-tabs .nav-link[b-8gkskl2n5m] {
        border: none;
        color: #6c757d;
        font-weight: 500;
        padding: .7rem 1.15rem;
        background: none;
    }

        .pt-tabs .nav-link:hover[b-8gkskl2n5m] {
            color: #0d6efd;
        }

        .pt-tabs .nav-link.active[b-8gkskl2n5m] {
            color: #0d6efd;
            border-bottom: 2px solid #0d6efd;
            margin-bottom: -2px;
            background: none;
        }

.pt-tab-panel .card[b-8gkskl2n5m] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.pt-hero-card[b-8gkskl2n5m] {
    border: none;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
/* /Components/Pages/Projects/ProjectList.razor.rz.scp.css */
/* Styled like an anchor but rendered as a <span> when the user prefers
   the side-panel preview — keeps the click handler but eliminates the
   <a href> so the browser can't race us with a real navigation. */
[b-l9cgw0a05r] .project-row-link-panel {
    cursor: pointer;
    color: var(--bs-link-color, #0d6efd);
}

[b-l9cgw0a05r] .project-row-link-panel:hover {
    text-decoration: underline;
}
/* /Components/Pages/PullRequests/PullRequestReview.razor.rz.scp.css */
.cursor-pointer[b-s9zc5azq0u] {
    cursor: pointer;
}

.diff-container[b-s9zc5azq0u] {
    border-top: 1px solid var(--bs-border-color);
    overflow-x: auto;
}

.diff-wrapper[b-s9zc5azq0u] {
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.diff-header[b-s9zc5azq0u] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.75rem;
}

.diff-header-left[b-s9zc5azq0u],
.diff-header-right[b-s9zc5azq0u] {
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-secondary-color);
}

.diff-header-right[b-s9zc5azq0u] {
    border-left: 2px solid var(--bs-border-color);
}

.diff-body[b-s9zc5azq0u] {
    max-height: 600px;
    overflow-y: auto;
}

.diff-row[b-s9zc5azq0u] {
    display: grid;
    grid-template-columns: 45px 1fr 45px 1fr;
    min-height: 1.5em;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.diff-line-num[b-s9zc5azq0u] {
    padding: 0 6px;
    text-align: right;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
    user-select: none;
    border-right: 1px solid var(--bs-border-color);
    font-size: 0.7rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.diff-line-num-right[b-s9zc5azq0u] {
    border-left: 2px solid var(--bs-border-color);
}

.diff-line-content[b-s9zc5azq0u] {
    padding: 0 8px;
    white-space: pre;
    overflow-x: auto;
    line-height: 1.5;
}

/* Unchanged */
.diff-unchanged .diff-line-content[b-s9zc5azq0u] {
    background: transparent;
}

/* Removed */
.diff-removed .diff-line-content-left[b-s9zc5azq0u] {
    background: rgba(255, 100, 100, 0.15);
    color: #c0392b;
}

.diff-removed .diff-line-num-left[b-s9zc5azq0u] {
    background: rgba(255, 100, 100, 0.1);
}

.diff-removed .diff-line-content-right[b-s9zc5azq0u] {
    background: rgba(0, 0, 0, 0.02);
}

/* Added */
.diff-added .diff-line-content-right[b-s9zc5azq0u] {
    background: rgba(100, 255, 100, 0.15);
    color: #27ae60;
}

.diff-added .diff-line-num-right[b-s9zc5azq0u] {
    background: rgba(100, 255, 100, 0.1);
}

.diff-added .diff-line-content-left[b-s9zc5azq0u] {
    background: rgba(0, 0, 0, 0.02);
}

/* Modified (side-by-side) */
.diff-modified .diff-line-content-left[b-s9zc5azq0u] {
    background: rgba(255, 100, 100, 0.12);
}

.diff-modified .diff-line-content-right[b-s9zc5azq0u] {
    background: rgba(100, 255, 100, 0.12);
}

.diff-modified .diff-line-num-left[b-s9zc5azq0u] {
    background: rgba(255, 100, 100, 0.08);
}

.diff-modified .diff-line-num-right[b-s9zc5azq0u] {
    background: rgba(100, 255, 100, 0.08);
}

/* Scrollbar minimap */
.diff-scroll-container[b-s9zc5azq0u] {
    position: relative;
    display: flex;
}

.diff-scroll-container .diff-body[b-s9zc5azq0u] {
    flex: 1;
    min-width: 0;
}

.diff-minimap[b-s9zc5azq0u] {
    position: relative;
    width: 10px;
    flex-shrink: 0;
    background: var(--bs-tertiary-bg);
    border-left: 1px solid var(--bs-border-color);
}

.minimap-marker[b-s9zc5azq0u] {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 1px;
}

.minimap-marker-added[b-s9zc5azq0u] {
    background: rgba(40, 167, 69, 0.8);
}

.minimap-marker-removed[b-s9zc5azq0u] {
    background: rgba(220, 53, 69, 0.8);
}

/* Commits split layout */
.commits-split-layout[b-s9zc5azq0u] {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
    height: calc(100vh - 320px);
    min-height: 500px;
}

.commits-list-panel[b-s9zc5azq0u] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    min-height: 0;
}

.commits-list-header[b-s9zc5azq0u] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.commits-list-body[b-s9zc5azq0u] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.commit-item[b-s9zc5azq0u] {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background-color 0.1s;
}

.commit-item:hover[b-s9zc5azq0u] {
    background: var(--bs-tertiary-bg);
}

.commit-item-selected[b-s9zc5azq0u] {
    background: var(--bs-primary) !important;
    color: white;
}

.commit-message[b-s9zc5azq0u] {
    font-size: 0.82rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.commits-detail-panel[b-s9zc5azq0u] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--bs-body-bg);
}

.commits-detail-header[b-s9zc5azq0u] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.commits-detail-body[b-s9zc5azq0u] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.commit-file-item[b-s9zc5azq0u] {
    padding: 6px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background-color 0.1s;
}

.commit-file-item:hover[b-s9zc5azq0u] {
    background: var(--bs-tertiary-bg);
}

/* ── Merge Conflict Resolution ── */

.conflicts-split-layout[b-s9zc5azq0u] {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
    height: calc(100vh - 320px);
    min-height: 500px;
}

.conflicts-list-panel[b-s9zc5azq0u] {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    min-height: 0;
}

.conflicts-list-header[b-s9zc5azq0u] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.conflicts-list-body[b-s9zc5azq0u] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.conflict-file-item[b-s9zc5azq0u] {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: background-color 0.1s;
}

.conflict-file-item:hover[b-s9zc5azq0u] {
    background: var(--bs-tertiary-bg);
}

.conflict-file-item-selected[b-s9zc5azq0u] {
    background: var(--bs-primary) !important;
    color: white;
}

.conflict-file-item-selected .text-muted[b-s9zc5azq0u],
.conflict-file-item-selected .conflict-file-dir[b-s9zc5azq0u] {
    color: rgba(255,255,255,0.7) !important;
}

.conflict-file-resolved[b-s9zc5azq0u] {
    opacity: 0.55;
}

.conflict-file-resolved:hover[b-s9zc5azq0u] {
    opacity: 0.85;
}

.conflict-file-name[b-s9zc5azq0u] {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conflict-file-dir[b-s9zc5azq0u] {
    font-size: 0.68rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conflicts-detail-panel[b-s9zc5azq0u] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--bs-body-bg);
}

.conflicts-detail-header[b-s9zc5azq0u] {
    padding: 10px 14px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    flex-shrink: 0;
}

.conflicts-detail-body[b-s9zc5azq0u] {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.conflict-diff-toolbar[b-s9zc5azq0u] {
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    font-size: 0.8rem;
}

.conflict-editor-toolbar[b-s9zc5azq0u] {
    background: rgba(25, 135, 84, 0.08);
    border-bottom: 1px solid rgba(25, 135, 84, 0.3);
    font-size: 0.8rem;
}

.conflict-editor-container[b-s9zc5azq0u] {
    flex: 1;
    display: flex;
    min-height: 0;
}

.conflict-editor-textarea[b-s9zc5azq0u] {
    width: 100%;
    min-height: 400px;
    border: none;
    outline: none;
    resize: none;
    padding: 12px 16px;
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    tab-size: 4;
}

.conflict-editor-textarea:focus[b-s9zc5azq0u] {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(25, 135, 84, 0.25);
}

.ai-merge-suggestion[b-s9zc5azq0u] {
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 0.375rem;
    padding: 12px 16px;
    background: rgba(255, 193, 7, 0.05);
}

.ai-suggestion-content[b-s9zc5azq0u] {
    line-height: 1.6;
    overflow-x: auto;
}

.ai-suggestion-content pre[b-s9zc5azq0u] {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 10px 12px;
    margin: 8px 0;
    overflow-x: auto;
    font-size: 0.78rem;
}

.ai-suggestion-content code[b-s9zc5azq0u] {
    font-size: 0.8rem;
}
/* /Components/Pages/Reports/PayrollReport.razor.rz.scp.css */
/* Payroll report table */
.payroll-section[b-q94fed1y26] {
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.payroll-table[b-q94fed1y26] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.payroll-table td[b-q94fed1y26],
.payroll-table th[b-q94fed1y26] {
    padding: 0.25rem 0.75rem;
    vertical-align: middle;
}

.payroll-user-header[b-q94fed1y26] {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem !important;
    border-bottom: none;
    background-color: #fff;
}

.payroll-col-header th[b-q94fed1y26] {
    font-weight: 700;
    font-size: 0.82rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.35rem !important;
}

.payroll-table tbody tr[b-q94fed1y26] {
    border-bottom: 1px solid #f0f0f0;
}

.payroll-date[b-q94fed1y26] {
    font-style: italic;
    color: #555;
}

.payroll-totals-row td[b-q94fed1y26] {
    border-top: 2px solid #333;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.payroll-print-header[b-q94fed1y26] {
    display: none;
}

/* ---- Dark theme overrides ---- */
html.nav-theme-dark .payroll-section[b-q94fed1y26] {
    border-color: #1e293b;
    background-color: #0f172a;
}

html.nav-theme-dark .payroll-user-header[b-q94fed1y26] {
    background-color: #111c33;
    color: #f1f5f9;
}

html.nav-theme-dark .payroll-col-header th[b-q94fed1y26] {
    color: #cbd5e1;
    border-bottom-color: #334155;
}

html.nav-theme-dark .payroll-table tbody tr[b-q94fed1y26] {
    border-bottom-color: #1e293b;
}

html.nav-theme-dark .payroll-table tbody tr:hover[b-q94fed1y26] {
    background-color: rgba(255,255,255,0.04);
}

html.nav-theme-dark .payroll-table td[b-q94fed1y26] {
    color: #e2e8f0;
}

html.nav-theme-dark .payroll-date[b-q94fed1y26] {
    color: #94a3b8;
}

html.nav-theme-dark .payroll-totals-row td[b-q94fed1y26] {
    border-top-color: #cbd5e1;
    color: #f1f5f9;
}

@media print {
    .payroll-print-header[b-q94fed1y26] {
        display: block;
        text-align: center;
        margin-bottom: 1rem;
    }

    .payroll-print-header h3[b-q94fed1y26] {
        margin-bottom: 0.25rem;
    }

    .payroll-print-header p[b-q94fed1y26] {
        margin: 0;
        font-size: 0.9rem;
        color: #666;
    }

    .no-print[b-q94fed1y26] {
        display: none !important;
    }

    /* Hide Blazor layout chrome */
    [b-q94fed1y26] .sidebar,
    [b-q94fed1y26] .top-row,
    [b-q94fed1y26] .navbar-toggler,
    [b-q94fed1y26] #blazor-error-ui {
        display: none !important;
    }

    [b-q94fed1y26] .page {
        display: block !important;
    }

    [b-q94fed1y26] main {
        background-color: #fff !important;
        min-height: auto !important;
        padding: 0 !important;
    }

    [b-q94fed1y26] article {
        padding: 0 !important;
    }

    .payroll-section[b-q94fed1y26] {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
        margin-bottom: 1rem !important;
    }

    .payroll-totals-row td[b-q94fed1y26] {
        border-top: 2px solid #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* /Components/Pages/Sprints/SprintBoard.razor.rz.scp.css */
[b-z6wete4b2v] .sprint-header-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 0;
}

[b-z6wete4b2v] .sprint-header-toggle:hover .collapse-chevron {
    color: var(--bs-primary, #0d6efd);
}

[b-z6wete4b2v] .collapse-chevron {
    display: inline-block;
    font-size: 0.65rem;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
    color: var(--bs-secondary-color, #6c757d);
    flex-shrink: 0;
}

[b-z6wete4b2v] .collapse-chevron.expanded {
    transform: rotate(90deg);
}

[b-z6wete4b2v] .ticket-row-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

[b-z6wete4b2v] .ticket-row-link:hover {
    color: inherit;
    text-decoration: none;
}

[b-z6wete4b2v] .next-task-name {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.85rem;
}

[b-z6wete4b2v] .move-sprint-cell {
    position: relative;
    white-space: nowrap;
}

[b-z6wete4b2v] .move-btn {
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

[b-z6wete4b2v] .move-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
}

[b-z6wete4b2v] .move-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1050;
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.25rem 0;
}

[b-z6wete4b2v] .move-dropdown-header {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

[b-z6wete4b2v] .move-dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.35rem 0.75rem;
    border: none;
    background: none;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

[b-z6wete4b2v] .move-dropdown-item:hover {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
}

[b-z6wete4b2v] .move-dropdown-divider {
    height: 0;
    margin: 0.25rem 0;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}

[b-z6wete4b2v] .sprint-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-size: 0.85rem;
    line-height: 1;
}

[b-z6wete4b2v] .star-filled {
    color: #ffc107;
}

[b-z6wete4b2v] .star-empty {
    color: #dee2e6;
}

[b-z6wete4b2v] .sprint-star-btn {
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, color 0.15s ease;
}

[b-z6wete4b2v] .sprint-star-btn:hover {
    transform: scale(1.2);
    color: #ffca2c;
    text-decoration: none;
}

[b-z6wete4b2v] .sprint-star-btn:focus {
    box-shadow: none;
    text-decoration: none;
}
/* /Components/Pages/Surveys/SurveyList.razor.rz.scp.css */
/* ===== Surveys list ============================================== */

.surveys-page[b-hpln4ikvqe] {
    max-width: 1180px;
    margin: 0 auto;
}

.surveys-header[b-hpln4ikvqe] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.surveys-header h2[b-hpln4ikvqe] {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.surveys-header p[b-hpln4ikvqe] {
    margin: 0;
    font-size: .9rem;
    color: #64748b;
}

.surveys-toolbar[b-hpln4ikvqe] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.surveys-search[b-hpln4ikvqe] {
    position: relative;
}
.surveys-search input[b-hpln4ikvqe] {
    padding-left: 2.1rem;
    width: 280px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.625rem;
    height: 2.4rem;
}
.surveys-search input:focus[b-hpln4ikvqe] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}
.surveys-search-icon[b-hpln4ikvqe] {
    position: absolute;
    left: .75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.surveys-new-btn[b-hpln4ikvqe] {
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: 0.625rem;
    font-weight: 600;
    background: #4f46e5;
    color: #fff;
    border: 0;
    transition: background .15s ease;
}
.surveys-new-btn:hover[b-hpln4ikvqe] {
    background: #4338ca;
}

/* ----- Card row layout ----- */
.surveys-list[b-hpln4ikvqe] {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.survey-card[b-hpln4ikvqe] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.survey-card:hover[b-hpln4ikvqe] {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.survey-card-main[b-hpln4ikvqe] {
    min-width: 0;
}

.survey-card-title-row[b-hpln4ikvqe] {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: .25rem;
}
.survey-card-title[b-hpln4ikvqe] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.3;
}
.survey-card-title:hover[b-hpln4ikvqe] {
    color: #4f46e5;
}

.survey-card-desc[b-hpln4ikvqe] {
    color: #64748b;
    font-size: .87rem;
    margin: 0 0 .65rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.survey-card-desc.is-empty[b-hpln4ikvqe] {
    color: #94a3b8;
    font-style: italic;
}

/* ----- Status pill ----- */
.survey-pill[b-hpln4ikvqe] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .2rem .55rem;
    border-radius: 999px;
    line-height: 1.4;
}
.survey-pill.draft[b-hpln4ikvqe]    { background: #f1f5f9; color: #475569; }
.survey-pill.active[b-hpln4ikvqe]   { background: #dcfce7; color: #15803d; }
.survey-pill.closed[b-hpln4ikvqe]   { background: #dbeafe; color: #1d4ed8; }

.survey-lock[b-hpln4ikvqe] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .7rem;
    color: #b45309;
    background: #fef3c7;
    padding: .15rem .5rem;
    border-radius: 999px;
}

/* ----- Stats row ----- */
.survey-stats[b-hpln4ikvqe] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #475569;
}
.survey-stat[b-hpln4ikvqe] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.survey-stat .bi[b-hpln4ikvqe] {
    color: #94a3b8;
}
.survey-stat strong[b-hpln4ikvqe] {
    color: #0f172a;
    font-weight: 600;
}

.survey-progress[b-hpln4ikvqe] {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.survey-progress-bar[b-hpln4ikvqe] {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}
.survey-progress-fill[b-hpln4ikvqe] {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    border-radius: inherit;
    transition: width .3s ease;
}
.survey-progress-fill.complete[b-hpln4ikvqe] {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}
.survey-progress-text[b-hpln4ikvqe] {
    font-size: .78rem;
    font-weight: 600;
    color: #475569;
    min-width: 3.5rem;
    text-align: right;
}

.survey-meta[b-hpln4ikvqe] {
    margin-top: .5rem;
    font-size: .75rem;
    color: #94a3b8;
}

/* ----- Actions ----- */
.survey-card-actions[b-hpln4ikvqe] {
    display: flex;
    align-items: center;
    gap: .35rem;
    align-self: center;
}
.survey-action-btn[b-hpln4ikvqe] {
    height: 2.1rem;
    padding: 0 .85rem;
    border-radius: 0.5rem;
    font-size: .82rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: all .12s ease;
}
.survey-action-btn:hover[b-hpln4ikvqe] {
    border-color: #6366f1;
    color: #4f46e5;
    background: #eef2ff;
}
.survey-action-btn.primary[b-hpln4ikvqe] {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}
.survey-action-btn.primary:hover[b-hpln4ikvqe] {
    background: #4338ca;
    border-color: #4338ca;
    color: #fff;
}
.survey-action-btn.danger[b-hpln4ikvqe] {
    color: #b91c1c;
}
.survey-action-btn.danger:hover[b-hpln4ikvqe] {
    border-color: #dc2626;
    background: #fef2f2;
    color: #991b1b;
}
.survey-action-btn:disabled[b-hpln4ikvqe],
.survey-action-btn.disabled[b-hpln4ikvqe] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ----- Empty state ----- */
.surveys-empty[b-hpln4ikvqe] {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 0.875rem;
}
.surveys-empty-icon[b-hpln4ikvqe] {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}
.surveys-empty h4[b-hpln4ikvqe] {
    margin: 0 0 .25rem;
    color: #0f172a;
}
.surveys-empty p[b-hpln4ikvqe] {
    color: #64748b;
    margin: 0 0 1.25rem;
}

/* ----- Loading skeleton ----- */
.surveys-skeleton[b-hpln4ikvqe] {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.surveys-skeleton-row[b-hpln4ikvqe] {
    height: 96px;
    background: #f1f5f9;
    border-radius: 0.875rem;
    position: relative;
    overflow: hidden;
}
.surveys-skeleton-row[b-hpln4ikvqe]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, .55) 50%, transparent 100%);
    animation: surveys-skeleton-shimmer-b-hpln4ikvqe 1.4s infinite;
}
@keyframes surveys-skeleton-shimmer-b-hpln4ikvqe {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Dark theme overrides =====================================
   Every color literal in the light styles above has a counterpart here
   so the page flips cleanly with html.nav-theme-dark. The CSS theme
   coverage tests in DevFlow.Tests pin this contract — adding a new
   selector above without a dark twin will fail the build. */

html.nav-theme-dark .surveys-header p[b-hpln4ikvqe] {
    color: #94a3b8;
}

html.nav-theme-dark .surveys-search input[b-hpln4ikvqe] {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
}
html.nav-theme-dark .surveys-search input:focus[b-hpln4ikvqe] {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}
html.nav-theme-dark .surveys-search-icon[b-hpln4ikvqe] {
    color: #64748b;
}
html.nav-theme-dark .surveys-new-btn[b-hpln4ikvqe] {
    background: #6366f1;
}
html.nav-theme-dark .surveys-new-btn:hover[b-hpln4ikvqe] {
    background: #818cf8;
}

html.nav-theme-dark .survey-card[b-hpln4ikvqe] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .survey-card:hover[b-hpln4ikvqe] {
    border-color: #4338ca;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
html.nav-theme-dark .survey-card-title[b-hpln4ikvqe] {
    color: #f1f5f9;
}
html.nav-theme-dark .survey-card-title:hover[b-hpln4ikvqe] {
    color: #c7d2fe;
}
html.nav-theme-dark .survey-card-desc[b-hpln4ikvqe] {
    color: #94a3b8;
}
html.nav-theme-dark .survey-card-desc.is-empty[b-hpln4ikvqe] {
    color: #64748b;
}

html.nav-theme-dark .survey-pill.draft[b-hpln4ikvqe]  { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
html.nav-theme-dark .survey-pill.active[b-hpln4ikvqe] { background: rgba(34, 197, 94, .20);  color: #6ee7b7; }
html.nav-theme-dark .survey-pill.closed[b-hpln4ikvqe] { background: rgba(59, 130, 246, .20); color: #93c5fd; }
html.nav-theme-dark .survey-lock[b-hpln4ikvqe]        { background: rgba(245, 158, 11, .18); color: #fcd34d; }

html.nav-theme-dark .survey-stats[b-hpln4ikvqe] {
    color: #94a3b8;
}
html.nav-theme-dark .survey-stat .bi[b-hpln4ikvqe] {
    color: #64748b;
}
html.nav-theme-dark .survey-stat strong[b-hpln4ikvqe] {
    color: #f1f5f9;
}

html.nav-theme-dark .survey-progress-bar[b-hpln4ikvqe] {
    background: #1e293b;
}
html.nav-theme-dark .survey-progress-fill[b-hpln4ikvqe] {
    background: linear-gradient(90deg, #6366f1 0%, #a78bfa 100%);
}
html.nav-theme-dark .survey-progress-fill.complete[b-hpln4ikvqe] {
    background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}
html.nav-theme-dark .survey-progress-text[b-hpln4ikvqe] {
    color: #cbd5e1;
}
html.nav-theme-dark .survey-meta[b-hpln4ikvqe] {
    color: #64748b;
}

html.nav-theme-dark .survey-action-btn[b-hpln4ikvqe] {
    background: rgba(255, 255, 255, 0.04);
    border-color: #334155;
    color: #cbd5e1;
}
html.nav-theme-dark .survey-action-btn:hover[b-hpln4ikvqe] {
    border-color: #6366f1;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.18);
}
html.nav-theme-dark .survey-action-btn.primary[b-hpln4ikvqe] {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}
html.nav-theme-dark .survey-action-btn.primary:hover[b-hpln4ikvqe] {
    background: #818cf8;
    border-color: #818cf8;
    color: #fff;
}
html.nav-theme-dark .survey-action-btn.danger[b-hpln4ikvqe] {
    color: #fca5a5;
}
html.nav-theme-dark .survey-action-btn.danger:hover[b-hpln4ikvqe] {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
}

html.nav-theme-dark .surveys-empty[b-hpln4ikvqe] {
    background: #0f172a;
    border-color: #334155;
}
html.nav-theme-dark .surveys-empty-icon[b-hpln4ikvqe] {
    color: #475569;
}
html.nav-theme-dark .surveys-empty h4[b-hpln4ikvqe] {
    color: #f1f5f9;
}
html.nav-theme-dark .surveys-empty p[b-hpln4ikvqe] {
    color: #94a3b8;
}

html.nav-theme-dark .surveys-skeleton-row[b-hpln4ikvqe] {
    background: #1e293b;
}
html.nav-theme-dark .surveys-skeleton-row[b-hpln4ikvqe]::after {
    background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
}
/* /Components/Pages/Surveys/SurveyResults.razor.rz.scp.css */
/* ===== Survey results ============================================ */

.results-page[b-610tsh42fs] {
    max-width: 1180px;
    margin: 0 auto;
}

.results-header[b-610tsh42fs] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.results-back[b-610tsh42fs] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    text-decoration: none;
    font-size: .85rem;
    margin-bottom: .5rem;
}
.results-back:hover[b-610tsh42fs] {
    color: #4f46e5;
}
.results-title-row[b-610tsh42fs] {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
    margin-bottom: .25rem;
}
.results-title[b-610tsh42fs] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
}
.results-desc[b-610tsh42fs] {
    color: #64748b;
    margin: 0;
    font-size: .92rem;
    max-width: 720px;
}

/* Reuse same status pill styles as the list page so the visual language
   stays coherent. */
.results-pill[b-610tsh42fs] {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .2rem .55rem;
    border-radius: 999px;
}
.results-pill.draft[b-610tsh42fs]  { background: #f1f5f9; color: #475569; }
.results-pill.active[b-610tsh42fs] { background: #dcfce7; color: #15803d; }
.results-pill.closed[b-610tsh42fs] { background: #dbeafe; color: #1d4ed8; }

/* ----- KPI tiles ----- */
.kpi-grid[b-610tsh42fs] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 720px) {
    .kpi-grid[b-610tsh42fs] { grid-template-columns: repeat(2, 1fr); }
}

.kpi-tile[b-610tsh42fs] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1rem 1.1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.kpi-tile:hover[b-610tsh42fs] {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.kpi-label[b-610tsh42fs] {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin-bottom: .35rem;
}
.kpi-value[b-610tsh42fs] {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.02em;
}
.kpi-value .kpi-suffix[b-610tsh42fs] {
    font-size: .9rem;
    font-weight: 500;
    color: #64748b;
    margin-left: .25rem;
}
.kpi-tile.accent .kpi-value[b-610tsh42fs] { color: #4f46e5; }

/* ----- Per-question result card ----- */
.q-card[b-610tsh42fs] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: .85rem;
}
.q-card-header[b-610tsh42fs] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .85rem;
}
.q-card-title[b-610tsh42fs] {
    margin: 0;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}
.q-card-type[b-610tsh42fs] {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6366f1;
    background: #eef2ff;
    padding: .15rem .5rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.q-card-empty[b-610tsh42fs] {
    color: #94a3b8;
    font-style: italic;
    font-size: .87rem;
    padding: .5rem 0;
}

/* Big-number stats (rating / number / yes-no aggregates) */
.q-stats[b-610tsh42fs] {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: .85rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #f1f5f9;
}
.q-stat[b-610tsh42fs] {
    display: flex;
    flex-direction: column;
}
.q-stat-label[b-610tsh42fs] {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
}
.q-stat-value[b-610tsh42fs] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}
.q-stat-value.accent[b-610tsh42fs] { color: #4f46e5; }

/* Distribution bars (rating, single/multi-choice) */
.q-dist[b-610tsh42fs] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.q-dist-row[b-610tsh42fs] {
    display: grid;
    grid-template-columns: 110px 1fr 90px;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
}
.q-dist-label[b-610tsh42fs] {
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.q-dist-bar[b-610tsh42fs] {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.q-dist-fill[b-610tsh42fs] {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
    border-radius: inherit;
    transition: width .3s ease;
    min-width: 2px; /* always show a sliver so 0%-but-not-empty is distinguishable */
}
.q-dist-fill.zero[b-610tsh42fs] {
    min-width: 0;
}
.q-dist-fill.yes[b-610tsh42fs]  { background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%); }
.q-dist-fill.no[b-610tsh42fs]   { background: linear-gradient(90deg, #dc2626 0%, #f87171 100%); }
.q-dist-meta[b-610tsh42fs] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    font-variant-numeric: tabular-nums;
}
.q-dist-pct[b-610tsh42fs]  { color: #475569; font-weight: 600; min-width: 2.25rem; text-align: right; }
.q-dist-count[b-610tsh42fs] { color: #94a3b8; min-width: 2rem; text-align: right; }

/* Text response cards */
.q-text-list[b-610tsh42fs] {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.q-text-item[b-610tsh42fs] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: .65rem .85rem;
    font-size: .9rem;
    color: #334155;
    line-height: 1.5;
}
.q-text-item-author[b-610tsh42fs] {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    margin-top: .35rem;
    font-style: italic;
}

/* Date list */
.q-date-list[b-610tsh42fs] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.q-date-pill[b-610tsh42fs] {
    background: #eef2ff;
    color: #4338ca;
    font-size: .78rem;
    font-weight: 500;
    padding: .25rem .65rem;
    border-radius: 999px;
}

/* ----- Invitations table ----- */
.invitations-card[b-610tsh42fs] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    overflow: hidden;
    margin-top: 1.5rem;
}
.invitations-card-header[b-610tsh42fs] {
    padding: .85rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.invitations-card-header h5[b-610tsh42fs] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.invitations-table[b-610tsh42fs] {
    width: 100%;
    border-collapse: collapse;
}
.invitations-table th[b-610tsh42fs] {
    background: #f8fafc;
    color: #64748b;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
    padding: .55rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.invitations-table td[b-610tsh42fs] {
    padding: .65rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: .87rem;
    color: #334155;
}
.invitations-table tr:last-child td[b-610tsh42fs] {
    border-bottom: 0;
}
.invitations-table tr:hover td[b-610tsh42fs] {
    background: #f8fafc;
}
.invitations-table .muted[b-610tsh42fs] {
    color: #94a3b8;
}

/* Status badge inside the invitations table */
.inv-pill[b-610tsh42fs] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
}
.inv-pill .inv-dot[b-610tsh42fs] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.inv-pill.active[b-610tsh42fs]    { background: #fef3c7; color: #b45309; }
.inv-pill.completed[b-610tsh42fs] { background: #dcfce7; color: #15803d; }
.inv-pill.expired[b-610tsh42fs]   { background: #f1f5f9; color: #64748b; }
.inv-pill.revoked[b-610tsh42fs]   { background: #fee2e2; color: #b91c1c; }

/* ===== Dark theme overrides ====================================== */

html.nav-theme-dark .results-back[b-610tsh42fs] {
    color: #94a3b8;
}
html.nav-theme-dark .results-back:hover[b-610tsh42fs] {
    color: #c7d2fe;
}
html.nav-theme-dark .results-title[b-610tsh42fs] {
    color: #f1f5f9;
}
html.nav-theme-dark .results-desc[b-610tsh42fs] {
    color: #94a3b8;
}
html.nav-theme-dark .results-pill.draft[b-610tsh42fs]  { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
html.nav-theme-dark .results-pill.active[b-610tsh42fs] { background: rgba(34, 197, 94, .20);  color: #6ee7b7; }
html.nav-theme-dark .results-pill.closed[b-610tsh42fs] { background: rgba(59, 130, 246, .20); color: #93c5fd; }

html.nav-theme-dark .kpi-tile[b-610tsh42fs] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .kpi-tile:hover[b-610tsh42fs] {
    border-color: #4338ca;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
html.nav-theme-dark .kpi-label[b-610tsh42fs] {
    color: #64748b;
}
html.nav-theme-dark .kpi-value[b-610tsh42fs] {
    color: #f1f5f9;
}
html.nav-theme-dark .kpi-value .kpi-suffix[b-610tsh42fs] {
    color: #94a3b8;
}
html.nav-theme-dark .kpi-tile.accent .kpi-value[b-610tsh42fs] {
    color: #c7d2fe;
}

html.nav-theme-dark .q-card[b-610tsh42fs] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .q-card-title[b-610tsh42fs] {
    color: #f1f5f9;
}
html.nav-theme-dark .q-card-type[b-610tsh42fs] {
    background: rgba(99, 102, 241, .18);
    color: #c7d2fe;
}
html.nav-theme-dark .q-card-empty[b-610tsh42fs] {
    color: #64748b;
}

html.nav-theme-dark .q-stats[b-610tsh42fs] {
    border-bottom-color: #1e293b;
}
html.nav-theme-dark .q-stat-label[b-610tsh42fs] {
    color: #64748b;
}
html.nav-theme-dark .q-stat-value[b-610tsh42fs] {
    color: #f1f5f9;
}
html.nav-theme-dark .q-stat-value.accent[b-610tsh42fs] {
    color: #c7d2fe;
}

html.nav-theme-dark .q-dist-label[b-610tsh42fs] {
    color: #cbd5e1;
}
html.nav-theme-dark .q-dist-bar[b-610tsh42fs] {
    background: #1e293b;
}
html.nav-theme-dark .q-dist-fill[b-610tsh42fs] {
    background: linear-gradient(90deg, #6366f1 0%, #a78bfa 100%);
}
html.nav-theme-dark .q-dist-fill.yes[b-610tsh42fs] {
    background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}
html.nav-theme-dark .q-dist-fill.no[b-610tsh42fs] {
    background: linear-gradient(90deg, #dc2626 0%, #fca5a5 100%);
}
html.nav-theme-dark .q-dist-pct[b-610tsh42fs]   { color: #cbd5e1; }
html.nav-theme-dark .q-dist-count[b-610tsh42fs] { color: #64748b; }

html.nav-theme-dark .q-text-item[b-610tsh42fs] {
    background: rgba(255, 255, 255, 0.03);
    border-color: #1e293b;
    color: #cbd5e1;
}
html.nav-theme-dark .q-text-item-author[b-610tsh42fs] {
    color: #64748b;
}

html.nav-theme-dark .q-date-pill[b-610tsh42fs] {
    background: rgba(99, 102, 241, .18);
    color: #c7d2fe;
}

html.nav-theme-dark .invitations-card[b-610tsh42fs] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .invitations-card-header[b-610tsh42fs] {
    background: #0b1220;
    border-bottom-color: #1e293b;
}
html.nav-theme-dark .invitations-card-header h5[b-610tsh42fs] {
    color: #f1f5f9;
}
html.nav-theme-dark .invitations-table th[b-610tsh42fs] {
    background: #0b1220;
    color: #94a3b8;
    border-bottom-color: #1e293b;
}
html.nav-theme-dark .invitations-table td[b-610tsh42fs] {
    color: #cbd5e1;
    border-bottom-color: #1e293b;
}
html.nav-theme-dark .invitations-table tr:hover td[b-610tsh42fs] {
    background: rgba(255, 255, 255, 0.03);
}
html.nav-theme-dark .invitations-table .muted[b-610tsh42fs] {
    color: #64748b;
}

html.nav-theme-dark .inv-pill.active[b-610tsh42fs]    { background: rgba(245, 158, 11, .18); color: #fcd34d; }
html.nav-theme-dark .inv-pill.completed[b-610tsh42fs] { background: rgba(34, 197, 94, .20);  color: #6ee7b7; }
html.nav-theme-dark .inv-pill.expired[b-610tsh42fs]   { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
html.nav-theme-dark .inv-pill.revoked[b-610tsh42fs]   { background: rgba(239, 68, 68, .18); color: #fca5a5; }
/* /Components/Pages/Tasks/TaskList.razor.rz.scp.css */
.task-category-sidebar[b-3f624g0ffr] {
    width: 220px;
    min-width: 220px;
    position: sticky;
    top: 1rem;
    align-self: flex-start;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    overflow: hidden;
}

.task-category-sidebar .list-group-item[b-3f624g0ffr] {
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
    border-left: 3px solid transparent;
    transition: background-color 0.15s, border-color 0.15s;
    color: var(--bs-body-color, #212529);
    background-color: transparent;
}

.task-category-sidebar .list-group-item:hover:not(.active)[b-3f624g0ffr] {
    background-color: #e9ecef;
    border-left-color: #0d6efd;
}

.task-category-sidebar .list-group-item.active[b-3f624g0ffr] {
    background-color: #e7f1ff;
    border-left-color: #0d6efd;
    color: #0a58ca;
    font-weight: 600;
}

.task-category-sidebar .list-group-item.active .category-count[b-3f624g0ffr] {
    background-color: #0d6efd;
    color: #fff;
}

html.nav-theme-dark .task-category-sidebar .list-group-item:hover:not(.active)[b-3f624g0ffr] {
    background-color: rgba(255,255,255,0.06);
    border-left-color: #818cf8;
}

html.nav-theme-dark .task-category-sidebar .list-group-item.active[b-3f624g0ffr] {
    background-color: rgba(99,102,241,0.20);
    border-left-color: #818cf8;
    color: #c7d2fe;
}

html.nav-theme-dark .task-category-sidebar .list-group-item.active .category-count[b-3f624g0ffr] {
    background-color: #4f46e5;
    color: #fff;
}

.category-count[b-3f624g0ffr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 11px;
    background-color: #6c757d;
    color: #fff;
}

[b-3f624g0ffr] .inline-edit-trigger {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px dashed transparent;
    transition: background-color 0.15s, border-color 0.15s;
}

[b-3f624g0ffr] .inline-edit-trigger:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

[b-3f624g0ffr] .inline-edit-select {
    width: auto;
    min-width: 120px;
    font-size: 0.8rem;
    padding: 2px 6px;
}

[b-3f624g0ffr] .drag-handle-cell {
    cursor: grab;
    text-align: center;
    color: #adb5bd;
    font-size: 1.1rem;
    user-select: none;
    width: 40px;
}

[b-3f624g0ffr] .drag-handle-cell:hover {
    color: #495057;
}

[b-3f624g0ffr] .drag-over-highlight {
    outline: 2px dashed #0d6efd;
    outline-offset: -2px;
    background-color: #e7f1ff !important;
}

[b-3f624g0ffr] .task-row-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

[b-3f624g0ffr] .task-row-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Assignment chip styles */
[b-3f624g0ffr] .assignment-cell {
    position: relative;
}

[b-3f624g0ffr] .assignment-avatars {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

[b-3f624g0ffr] .assignment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.68rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, margin 0.15s;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-left: -8px;
    position: relative;
}

[b-3f624g0ffr] .assignment-chip:first-child {
    margin-left: 0;
}

[b-3f624g0ffr] .assignment-chip:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

[b-3f624g0ffr] .assignment-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

[b-3f624g0ffr] .assignment-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

[b-3f624g0ffr] .assignment-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px dashed #cbd5e1;
    background: #fff;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    padding: 0;
    line-height: 1;
    margin-left: 2px;
    flex-shrink: 0;
}

[b-3f624g0ffr] .assignment-add-btn:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #eff6ff;
}

[b-3f624g0ffr] .assignment-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1052;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    width: 220px;
    padding: 6px;
    margin-top: 4px;
}

[b-3f624g0ffr] .assignment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1051;
    background: transparent;
    cursor: default;
}

[b-3f624g0ffr] .assignment-dropdown-list {
    max-height: 180px;
    overflow-y: auto;
}

[b-3f624g0ffr] .assignment-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #334155;
    transition: background 0.12s;
    text-align: left;
}

[b-3f624g0ffr] .assignment-dropdown-item:hover {
    background: #f1f5f9;
}

[b-3f624g0ffr] .assignment-dropdown-item .assignment-initials {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.65rem;
}

[b-3f624g0ffr] .assignment-dropdown-item .assignment-avatar-img {
    width: 24px;
    height: 24px;
    min-width: 24px;
}
/* /Components/Pages/Tickets/GanttChart.razor.rz.scp.css */
.gantt-wrapper[b-i7mwua6kr6] {
    position: relative;
    overflow: auto;
    border: 1px solid var(--df-border, #e2e8f0);
    border-radius: var(--df-radius, 0.625rem);
    background: var(--df-bg, #f8fafc);
    max-height: 78vh;
    user-select: none;
}

.gantt-container[b-i7mwua6kr6] {
    position: relative;
    min-width: 100%;
    min-height: 600px;
}

/* Timeline header */
.gantt-timeline[b-i7mwua6kr6] {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    border-bottom: 2px solid var(--df-border, #e2e8f0);
}

.gantt-day[b-i7mwua6kr6] {
    flex: 0 0 var(--day-width, 48px);
    width: var(--day-width, 48px);
    text-align: center;
    padding: 0.4rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--df-text-muted, #64748b);
    border-right: 1px solid var(--df-border, #e2e8f0);
    box-sizing: border-box;
}

.gantt-day.weekend[b-i7mwua6kr6] {
    background: #f1f5f9;
    color: #94a3b8;
}

.gantt-day.today[b-i7mwua6kr6] {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 700;
}

.gantt-day-name[b-i7mwua6kr6] {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gantt-day-num[b-i7mwua6kr6] {
    display: block;
    font-size: 0.8rem;
}

/* Rows area */
.gantt-body[b-i7mwua6kr6] {
    position: relative;
}

.gantt-row[b-i7mwua6kr6] {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #f1f5f9;
}

.gantt-row:nth-child(even)[b-i7mwua6kr6] {
    background: rgba(248, 250, 252, 0.5);
}

/* Grid lines */
.gantt-grid-lines[b-i7mwua6kr6] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.gantt-grid-line[b-i7mwua6kr6] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #f1f5f9;
}

.gantt-grid-line.weekend-line[b-i7mwua6kr6] {
    background: #e8ecf1;
}

.gantt-today-line[b-i7mwua6kr6] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3b82f6;
    z-index: 5;
    opacity: 0.6;
}

/* Task bars */
.gantt-bar[b-i7mwua6kr6] {
    position: absolute;
    height: 30px;
    top: 7px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    cursor: grab;
    z-index: 6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: box-shadow 0.15s ease, transform 0.1s ease;
    touch-action: none;
    min-width: 40px;
}

.gantt-bar:hover[b-i7mwua6kr6] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.gantt-bar-dragging[b-i7mwua6kr6] {
    cursor: grabbing;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    transform: scale(1.03);
    z-index: 100 !important;
    opacity: 0.92;
}

/* Status colors */
.gantt-bar.status-notstarted[b-i7mwua6kr6] {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.gantt-bar.status-inprogress[b-i7mwua6kr6] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.gantt-bar.status-blocked[b-i7mwua6kr6] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.gantt-bar.status-completed[b-i7mwua6kr6] {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Priority indicators */
.gantt-bar.priority-critical[b-i7mwua6kr6] {
    border: 2px solid #fbbf24;
}

.gantt-bar.priority-high[b-i7mwua6kr6] {
    border-left: 4px solid #f97316;
}

/* Ticket group headers */
.gantt-ticket-header[b-i7mwua6kr6] {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: white;
    border-bottom: 1px solid var(--df-border, #e2e8f0);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--df-text, #1e293b);
    z-index: 7;
    gap: 8px;
}

.gantt-ticket-header .ticket-id[b-i7mwua6kr6] {
    color: var(--df-text-muted, #64748b);
    font-weight: 500;
    font-size: 0.75rem;
}

/* Sidebar labels */
.gantt-sidebar[b-i7mwua6kr6] {
    position: sticky;
    left: 0;
    z-index: 8;
    background: white;
    border-right: 2px solid var(--df-border, #e2e8f0);
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
}

.gantt-sidebar-header[b-i7mwua6kr6] {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--df-border, #e2e8f0);
    background: white;
}

.gantt-sidebar-ticket[b-i7mwua6kr6] {
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--df-border, #e2e8f0);
    background: #fafbfc;
    color: var(--df-text, #1e293b);
    gap: 6px;
}

.gantt-sidebar-task[b-i7mwua6kr6] {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 24px;
    font-size: 0.75rem;
    color: var(--df-text-muted, #64748b);
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gantt-sidebar-task .status-dot[b-i7mwua6kr6] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.status-dot.not-started[b-i7mwua6kr6] { background: #94a3b8; }
.status-dot.in-progress[b-i7mwua6kr6] { background: #3b82f6; }
.status-dot.blocked[b-i7mwua6kr6] { background: #ef4444; }
.status-dot.completed[b-i7mwua6kr6] { background: #22c55e; }

/* Layout */
.gantt-layout[b-i7mwua6kr6] {
    display: flex;
}

.gantt-chart-area[b-i7mwua6kr6] {
    flex: 1;
    overflow: visible;
}

/* Bar label */
.gantt-bar-label[b-i7mwua6kr6] {
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.gantt-bar-icon[b-i7mwua6kr6] {
    margin-right: 4px;
    flex-shrink: 0;
}

/* Legend */
.gantt-legend[b-i7mwua6kr6] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gantt-legend-item[b-i7mwua6kr6] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--df-text-muted, #64748b);
}

.gantt-legend-color[b-i7mwua6kr6] {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

/* No-dates fallback bar (semi-transparent, dashed border) */
.gantt-bar-no-dates[b-i7mwua6kr6] {
    opacity: 0.5;
    border: 2px dashed rgba(255,255,255,0.6) !important;
}
/* /Components/Pages/Tickets/TicketDetail.razor.rz.scp.css */
[b-4za7wpnc0b] .drag-handle-cell {
    cursor: grab;
    text-align: center;
    color: #adb5bd;
    font-size: 1.1rem;
    user-select: none;
    width: 40px;
}

[b-4za7wpnc0b] .drag-handle-cell:hover {
    color: #495057;
}

[b-4za7wpnc0b] .drag-over-highlight {
    outline: 2px dashed #0d6efd;
    outline-offset: -2px;
    background-color: #e7f1ff !important;
}

/* Upload zone */
[b-4za7wpnc0b] .upload-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: border-color 0.2s, background-color 0.2s;
    background: #f8fafc;
}

[b-4za7wpnc0b] .upload-zone.compact {
    padding: 0.5rem 1rem;
}

[b-4za7wpnc0b] .upload-zone:hover,
[b-4za7wpnc0b] .upload-zone.drag-over {
    border-color: #0d6efd;
    background: #eff6ff;
}

[b-4za7wpnc0b] .upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

[b-4za7wpnc0b] .upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    pointer-events: none;
    color: #64748b;
    font-size: 0.9rem;
}

[b-4za7wpnc0b] .pending-file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

[b-4za7wpnc0b] .pending-file-item:last-child {
    border-bottom: none;
}

/* Meta Info Bar - Compact horizontal layout */
.meta-grid[b-4za7wpnc0b] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.meta-group[b-4za7wpnc0b] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0;
    overflow: visible;
}

.meta-group-header[b-4za7wpnc0b] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding: 0.5rem 0.85rem 0.25rem;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
}

.meta-group-items[b-4za7wpnc0b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.meta-item[b-4za7wpnc0b] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.85rem;
    min-width: 0;
    flex: 1 1 auto;
}

.meta-label[b-4za7wpnc0b] {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 4px;
}

.meta-value[b-4za7wpnc0b] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.meta-date[b-4za7wpnc0b] {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 1px;
}

.meta-inline-cell[b-4za7wpnc0b] {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.meta-avatar[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.6rem;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-left: -6px;
}

.meta-avatar:first-child[b-4za7wpnc0b] {
    margin-left: 0;
}

.meta-approval-avatar[b-4za7wpnc0b] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    margin-left: -6px;
}

.meta-approval-avatar:first-child[b-4za7wpnc0b] {
    margin-left: 0;
}

.meta-approval-badge[b-4za7wpnc0b] {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.42rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    z-index: 1;
}

.meta-approval-badge--approved[b-4za7wpnc0b] {
    background: #198754;
}

.meta-approval-badge--denied[b-4za7wpnc0b] {
    background: #dc3545;
}

.meta-avatar:hover[b-4za7wpnc0b] {
    transform: scale(1.1);
    z-index: 2;
}

.meta-avatar img[b-4za7wpnc0b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meta-avatar-sm[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.5rem;
    margin-right: 4px;
}

.meta-chip[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.meta-chip:hover[b-4za7wpnc0b] {
    background: #c7d2fe;
}

.meta-chip.sprint[b-4za7wpnc0b] {
    background: #dbeafe;
    color: #1e40af;
}

.meta-chip.sprint:hover[b-4za7wpnc0b] {
    background: #bfdbfe;
}

.meta-chip.deployment[b-4za7wpnc0b] {
    background: #dcfce7;
    color: #166534;
    text-decoration: none;
}

.meta-chip.deployment:hover[b-4za7wpnc0b] {
    background: #bbf7d0;
    color: #166534;
}

.meta-add-btn[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px dashed #d1d5db;
    background: transparent;
    color: #9ca3af;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.meta-add-btn:hover[b-4za7wpnc0b] {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

.meta-progress[b-4za7wpnc0b] {
    display: inline-block;
    width: 50px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-left: 6px;
    vertical-align: middle;
    overflow: hidden;
}

.meta-progress-bar[b-4za7wpnc0b] {
    display: block;
    height: 100%;
    background: #22c55e;
    border-radius: 2px;
    transition: width 0.3s;
}

.meta-progress-bar.over[b-4za7wpnc0b] {
    background: #ef4444;
}

/* Responsive: stack on smaller screens */
@media (max-width: 1200px) {
    .meta-grid[b-4za7wpnc0b] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .meta-grid[b-4za7wpnc0b] {
        grid-template-columns: 1fr;
    }
}

/* Ticket assignment cell - used in meta info card */
.ticket-assignment-cell[b-4za7wpnc0b] {
    position: relative;
}

/* Sprint chip style */
.sprint-chip[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sprint-chip:hover[b-4za7wpnc0b] {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.sprint-chip .sprint-label[b-4za7wpnc0b] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Deployment chip style */
.deployment-chip[b-4za7wpnc0b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.deployment-chip:hover[b-4za7wpnc0b] {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    color: #166534;
    text-decoration: none;
}

.deployment-chip .deployment-label[b-4za7wpnc0b] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Assignment chip with name (for Requested By) */
.ticket-assignment-cell .assignment-chip[b-4za7wpnc0b] {
    width: auto;
    height: 28px;
    padding: 0 10px 0 0;
    border-radius: 14px;
    gap: 6px;
}

.ticket-assignment-cell .assignment-chip .assignment-initials[b-4za7wpnc0b] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    font-size: 0.65rem;
}

.ticket-assignment-cell .assignment-chip .assignment-name[b-4za7wpnc0b] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    font-size: 0.75rem;
}

/* Inline editable task name */
[b-4za7wpnc0b] .task-name-editable {
    cursor: pointer;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.15s, color 0.15s;
    padding-bottom: 1px;
}

[b-4za7wpnc0b] .task-name-editable:hover {
    border-bottom-color: #0d6efd;
    color: #0d6efd;
}

/* ===== Toast notifications ===== */
.success-toast[b-4za7wpnc0b] {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1080;
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toast-slide-in-b-4za7wpnc0b 0.25s ease-out;
    background: #059669;
    color: #fff;
    border: none;
}

@keyframes toast-slide-in-b-4za7wpnc0b {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Dark theme overrides ---- */
html.nav-theme-dark .meta-group[b-4za7wpnc0b] {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
}

html.nav-theme-dark .meta-group-header[b-4za7wpnc0b] {
    background: #111c33;
    border-bottom-color: #1e293b;
    color: #94a3b8;
}

html.nav-theme-dark .meta-value[b-4za7wpnc0b] {
    color: #e2e8f0;
}

html.nav-theme-dark .meta-label[b-4za7wpnc0b],
html.nav-theme-dark .meta-date[b-4za7wpnc0b] {
    color: #94a3b8;
}

html.nav-theme-dark .meta-avatar[b-4za7wpnc0b],
html.nav-theme-dark .meta-avatar-sm[b-4za7wpnc0b] {
    background: #312e81;
    color: #c7d2fe;
    border-color: #0f172a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

html.nav-theme-dark .meta-chip[b-4za7wpnc0b] {
    background: rgba(99,102,241,0.20);
    color: #c7d2fe;
}
html.nav-theme-dark .meta-chip:hover[b-4za7wpnc0b] {
    background: rgba(99,102,241,0.30);
}
html.nav-theme-dark .meta-chip.sprint[b-4za7wpnc0b] {
    background: rgba(59,130,246,0.20);
    color: #93c5fd;
}
html.nav-theme-dark .meta-chip.sprint:hover[b-4za7wpnc0b] {
    background: rgba(59,130,246,0.30);
}
html.nav-theme-dark .meta-chip.deployment[b-4za7wpnc0b] {
    background: rgba(16,185,129,0.20);
    color: #6ee7b7;
}
html.nav-theme-dark .meta-chip.deployment:hover[b-4za7wpnc0b] {
    background: rgba(16,185,129,0.30);
    color: #a7f3d0;
}

html.nav-theme-dark .meta-add-btn[b-4za7wpnc0b] {
    border-color: #334155;
    color: #94a3b8;
}
html.nav-theme-dark .meta-add-btn:hover[b-4za7wpnc0b] {
    border-color: #6366f1;
    color: #c7d2fe;
    background: rgba(99,102,241,0.15);
}

html.nav-theme-dark .meta-progress[b-4za7wpnc0b] {
    background: #334155;
}

/* /Components/Pages/Tickets/TicketKanban.razor.rz.scp.css */
.kanban-board[b-ah86pm8hfx] {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    min-height: 60vh;
}

.kanban-column[b-ah86pm8hfx] {
    flex: 1 1 0;
    min-width: 0;
    background: var(--df-bg, #f8fafc);
    border: 1px solid var(--df-border, #e2e8f0);
    border-radius: var(--df-radius, 0.625rem);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--df-transition, 0.2s ease);
}

.kanban-column:hover[b-ah86pm8hfx] {
    box-shadow: var(--df-card-shadow-hover, 0 4px 12px rgba(0,0,0,0.08));
}

.kanban-column-header[b-ah86pm8hfx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--df-border, #e2e8f0);
    font-weight: 600;
    font-size: 0.85rem;
    background: white;
    border-radius: var(--df-radius, 0.625rem) var(--df-radius, 0.625rem) 0 0;
}

.kanban-count[b-ah86pm8hfx] {
    background: var(--df-border, #e2e8f0);
    color: var(--df-text-muted, #64748b);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    min-width: 1.5rem;
    text-align: center;
}

.kanban-column-body[b-ah86pm8hfx] {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    min-height: 100px;
}

.kanban-card[b-ah86pm8hfx] {
    background: white;
    border: 1px solid var(--df-border, #e2e8f0);
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: grab;
    transition: box-shadow var(--df-transition, 0.2s ease), transform var(--df-transition, 0.2s ease);
    box-shadow: var(--df-card-shadow, 0 1px 3px rgba(0,0,0,0.06));
}

.kanban-card:hover[b-ah86pm8hfx] {
    box-shadow: var(--df-card-shadow-hover, 0 4px 12px rgba(0,0,0,0.08));
    transform: translateY(-1px);
}

.kanban-card.dragging[b-ah86pm8hfx] {
    opacity: 0.5;
    transform: rotate(2deg);
}

.kanban-card-header[b-ah86pm8hfx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.kanban-card-id[b-ah86pm8hfx] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--df-primary, #4f46e5);
}

.kanban-card-title[b-ah86pm8hfx] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--df-text, #1e293b);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kanban-card-footer[b-ah86pm8hfx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.kanban-card-link[b-ah86pm8hfx] {
    color: inherit;
    text-decoration: none;
    display: block;
}

.kanban-card-link:hover[b-ah86pm8hfx] {
    color: inherit;
    text-decoration: none;
}

.kanban-card-assignee[b-ah86pm8hfx],
.kanban-card-tasks[b-ah86pm8hfx] {
    font-size: 0.7rem;
    color: var(--df-text-muted, #64748b);
    white-space: nowrap;
}

html.nav-theme-dark .kanban-column[b-ah86pm8hfx] {
    background: #0b1220;
    border-color: #1e293b;
}

html.nav-theme-dark .kanban-column-header[b-ah86pm8hfx] {
    background: #0f172a;
    border-bottom-color: #1e293b;
    color: #e2e8f0;
}

html.nav-theme-dark .kanban-count[b-ah86pm8hfx] {
    background: #334155;
    color: #cbd5e1;
}

html.nav-theme-dark .kanban-card[b-ah86pm8hfx] {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

html.nav-theme-dark .kanban-card:hover[b-ah86pm8hfx] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.55);
}

html.nav-theme-dark .kanban-card-id[b-ah86pm8hfx] {
    color: #c7d2fe;
}

html.nav-theme-dark .kanban-card-title[b-ah86pm8hfx] {
    color: #e2e8f0;
}
/* /Components/Pages/Tickets/TicketList.razor.rz.scp.css */
[b-d5fku98vgm] .ticket-row-link {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

[b-d5fku98vgm] .ticket-row-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Sortable header styles */
[b-d5fku98vgm] .sortable-header {
    cursor: pointer;
    user-select: none;
    /* Keep header labels on a single line. Long labels are abbreviated in markup
       so they stay compact and don't steal width from the Title column. */
    white-space: nowrap;
    vertical-align: middle;
    transition: background-color 0.15s ease;
}

/* Keep optional/secondary columns compact so Title gets the leftover width.
   Data cells in these columns shouldn't wrap awkwardly. */
[b-d5fku98vgm] .tickets-table-section thead th:not(.col-title) {
    width: 1%;
}

/* Give the Title column priority over the table's remaining width. */
[b-d5fku98vgm] .col-title {
    width: 45%;
    min-width: 260px;
}

[b-d5fku98vgm] td.col-title {
    white-space: normal;
    word-break: break-word;
}

[b-d5fku98vgm] .sortable-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-d5fku98vgm] .sort-icon {
    margin-left: 4px;
    font-size: 0.75rem;
    opacity: 0.6;
}

[b-d5fku98vgm] .next-task-name {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.85rem;
}

[b-d5fku98vgm] .sortable-header:hover .sort-icon {
    opacity: 1;
}

/* Filter modal styles */
[b-d5fku98vgm] .filter-modal .modal-body {
    padding: 1.25rem;
}

[b-d5fku98vgm] .filter-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

[b-d5fku98vgm] .filter-modal-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[b-d5fku98vgm] .filter-modal-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e9ecef;
}

[b-d5fku98vgm] .filter-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

[b-d5fku98vgm] .filter-modal-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

[b-d5fku98vgm] .filter-modal-field-label {
    font-size: 0.78rem;
    color: #495057;
    font-weight: 500;
}

[b-d5fku98vgm] .filter-modal .modal-footer {
    justify-content: space-between;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

[b-d5fku98vgm] .filter-modal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

[b-d5fku98vgm] .filter-tabs {
    border-bottom: 1px solid #dee2e6;
    padding: 0 1rem;
    margin: 0;
    flex-shrink: 0;
    background-color: #fff;
}

[b-d5fku98vgm] .filter-tabs .nav-link {
    color: #6c757d;
    border: 1px solid transparent;
    border-bottom: none;
    background: transparent;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

[b-d5fku98vgm] .filter-tabs .nav-link:hover {
    color: var(--df-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.05);
}

[b-d5fku98vgm] .filter-tabs .nav-link.active {
    color: var(--df-primary, #0d6efd);
    background: white;
    border-color: #dee2e6 #dee2e6 white;
}

[b-d5fku98vgm] .filter-date-section {
    padding: 1rem;
    background-color: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
}

[b-d5fku98vgm] .filter-date-heading {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Assignment avatar styles */
[b-d5fku98vgm] .assignment-avatars {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

[b-d5fku98vgm] .assignment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    font-size: 0.68rem;
    cursor: default;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-left: -8px;
    position: relative;
}

[b-d5fku98vgm] .assignment-chip:first-child {
    margin-left: 0;
}

[b-d5fku98vgm] .assignment-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

[b-d5fku98vgm] .assignment-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Row selection styles */
[b-d5fku98vgm] .table-active {
    background-color: rgba(13, 110, 253, 0.08) !important;
}

[b-d5fku98vgm] tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

[b-d5fku98vgm] tbody tr.table-active:hover {
    background-color: rgba(13, 110, 253, 0.12) !important;
}

/* Fixed header and scrollable table layout */
.tickets-page-container[b-d5fku98vgm] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px); /* Adjust based on your navbar height */
    overflow: hidden;
}

.tickets-header-section[b-d5fku98vgm] {
    flex-shrink: 0;
}

/* One-row header: title | search + filter controls | actions */
.tickets-page-header-v3[b-d5fku98vgm] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tickets-title[b-d5fku98vgm] {
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.tickets-header-controls[b-d5fku98vgm] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 400px;
    min-width: 280px;
}

.tickets-header-controls .tickets-search[b-d5fku98vgm] {
    flex: 1 1 220px;
    min-width: 160px;
    max-width: 380px;
}

.tickets-actions[b-d5fku98vgm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Transparent click-catcher behind open header dropdowns */
.dropdown-backdrop[b-d5fku98vgm] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

/* Kebab "More" menu */
.more-btn[b-d5fku98vgm] {
    width: 40px;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.35rem 0;
    font-weight: 700;
}

[b-d5fku98vgm] .more-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    padding: 0.35rem;
    animation: columnChooserFadeIn-b-d5fku98vgm 0.15s ease-out;
}

[b-d5fku98vgm] .more-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.45rem 0.75rem;
    border-radius: 0.35rem;
    text-align: left;
    font-size: 0.88rem;
    color: var(--df-text);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

[b-d5fku98vgm] .more-menu-item:hover:not(:disabled) {
    background: var(--df-primary-light);
    color: var(--df-primary);
}

[b-d5fku98vgm] .more-menu-item:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Filter chips row (when any filters active) */
.filter-chips-row[b-d5fku98vgm] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.filter-chip[b-d5fku98vgm] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--df-primary-light);
    color: var(--df-primary);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.2rem 0.25rem 0.2rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.filter-chip .chip-key[b-d5fku98vgm] {
    color: var(--df-text-muted);
    font-weight: 500;
}

.filter-chip.chip-mine[b-d5fku98vgm] {
    background: #ecfdf5;
    color: var(--df-success);
}

.chip-close[b-d5fku98vgm] {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.chip-close:hover[b-d5fku98vgm] {
    opacity: 1;
    background: rgba(0, 0, 0, 0.08);
}

.chip-clear-all[b-d5fku98vgm] {
    color: var(--df-text-muted) !important;
    font-size: 0.78rem;
    padding: 0.1rem 0.4rem;
}

.chip-clear-all:hover[b-d5fku98vgm] {
    color: var(--df-danger) !important;
}

.filter-add-btn[b-d5fku98vgm] {
    font-weight: 500;
}

.tickets-header-section .card[b-d5fku98vgm] {
    overflow: visible;
}

.tickets-table-section[b-d5fku98vgm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.tickets-table-section .card[b-d5fku98vgm] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.tickets-table-section .table-responsive[b-d5fku98vgm] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* Sticky table header */
[b-d5fku98vgm] .tickets-table-section thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
}

[b-d5fku98vgm] .tickets-table-section thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.tickets-table-section .card-footer[b-d5fku98vgm] {
    flex-shrink: 0;
    border-top: 1px solid #dee2e6;
}

/* Column chooser dropdown */
[b-d5fku98vgm] .column-chooser-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    min-width: 220px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    padding: 0;
    animation: columnChooserFadeIn-b-d5fku98vgm 0.15s ease-out;
}

@keyframes columnChooserFadeIn-b-d5fku98vgm {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

[b-d5fku98vgm] .column-chooser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.82rem;
}

[b-d5fku98vgm] .column-chooser-list {
    padding: 0.35rem 0;
    max-height: 520px;
    overflow-y: auto;
}

[b-d5fku98vgm] .column-chooser-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    font-size: 0.84rem;
    transition: background-color 0.1s ease;
    margin: 0;
}

[b-d5fku98vgm] .column-chooser-item:hover {
    background-color: #f0f4ff;
}

[b-d5fku98vgm] .column-chooser-item.disabled {
    opacity: 0.5;
    cursor: default;
}

[b-d5fku98vgm] .column-chooser-item.disabled:hover {
    background-color: transparent;
}

[b-d5fku98vgm] .column-chooser-item .form-check-input {
    margin: 0;
    cursor: pointer;
}

[b-d5fku98vgm] .column-chooser-item.disabled .form-check-input {
    cursor: default;
}
/* /Components/Pages/Timecards/TimecardPage.razor.rz.scp.css */
/* Mode toggle pill (Hours / Range) */
.tc-mode-toggle[b-eivcni2q3m] {
    background: #e5e7eb;
}

html.nav-theme-dark .tc-mode-toggle[b-eivcni2q3m] {
    background: #1e293b;
}

/* Summary card "Lunch" amount — orange accent that adapts to theme. */
.tc-lunch-amount[b-eivcni2q3m] {
    color: #b45309;
}

html.nav-theme-dark .tc-lunch-amount[b-eivcni2q3m] {
    color: #fbbf24;
}

/* Lunch break banner shown above the time-entries table. */
.tc-lunch-banner[b-eivcni2q3m] {
    background: #fff7ed;
    border-left: 3px solid #f59e0b;
}

html.nav-theme-dark .tc-lunch-banner[b-eivcni2q3m] {
    background: rgba(245, 158, 11, 0.12);
    border-left-color: #fbbf24;
    color: var(--df-text);
}
/* /Components/Pages/UserProfile.razor.rz.scp.css */
.card[b-i8beshvu9c] {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-label[b-i8beshvu9c] {
    color: #495057;
}

.btn-primary[b-i8beshvu9c] {
    min-width: 140px;
}

[b-i8beshvu9c] .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
/* /Components/Shared/EmailThreadPane.razor.rz.scp.css */
.etp-thread[b-vojjpwk0ri] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.etp-header[b-vojjpwk0ri] {
    padding: 0 .25rem .25rem;
}
.etp-header-row[b-vojjpwk0ri] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    font-size: .85rem;
    color: #475569;
}
.etp-toggle-all[b-vojjpwk0ri] {
    text-decoration: none;
    color: #475569;
    font-size: .8rem;
    padding: .15rem .35rem;
}
.etp-toggle-all:hover[b-vojjpwk0ri] {
    color: #1d4ed8;
    text-decoration: none;
}
.etp-header-title[b-vojjpwk0ri] {
    color: #16a34a;
    font-weight: 600;
}

.etp-empty[b-vojjpwk0ri] {
    padding: 1rem;
    text-align: center;
    font-size: .9rem;
}

.etp-row[b-vojjpwk0ri] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .12s, box-shadow .12s;
}
.etp-row.expanded[b-vojjpwk0ri] {
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.etp-row-head[b-vojjpwk0ri] {
    width: 100%;
    background: transparent;
    border: 0;
    padding: .65rem .85rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: left;
    cursor: pointer;
}
.etp-row:not(.expanded) .etp-row-head:hover[b-vojjpwk0ri] { background: #f8fafc; }

.etp-avatar[b-vojjpwk0ri] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 600;
    font-size: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.etp-avatar.in[b-vojjpwk0ri] { background: #93c5fd; color: #1e3a8a; }
.etp-avatar.out[b-vojjpwk0ri] { background: #86efac; color: #14532d; }

.etp-row-main[b-vojjpwk0ri] {
    flex: 1;
    min-width: 0;
}
.etp-row-line1[b-vojjpwk0ri] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}
.etp-row-name[b-vojjpwk0ri] {
    font-size: .9rem;
    color: #1e293b;
    font-weight: 600;
}

.etp-badge[b-vojjpwk0ri] {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .15rem .45rem;
    border-radius: 4px;
}
.etp-badge.etp-in[b-vojjpwk0ri] { background: #dbeafe; color: #1d4ed8; }
.etp-badge.etp-out[b-vojjpwk0ri] { background: #dcfce7; color: #15803d; }
.etp-badge.etp-auto[b-vojjpwk0ri] { background: #f1f5f9; color: #475569; }
.etp-badge.etp-latest[b-vojjpwk0ri] { background: transparent; color: #64748b; font-weight: 500; padding: .15rem .25rem; display: inline-flex; align-items: center; gap: .3rem; }
.etp-latest-dot[b-vojjpwk0ri] { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; display: inline-block; }

.etp-row-preview[b-vojjpwk0ri] {
    font-size: .82rem;
    color: #475569;
    margin-top: .15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.etp-row-recipients[b-vojjpwk0ri] {
    font-size: .75rem;
    color: #64748b;
    margin-top: .2rem;
}

.etp-row-when[b-vojjpwk0ri] {
    font-size: .78rem;
    color: #94a3b8;
    flex-shrink: 0;
    white-space: nowrap;
}

.etp-row-caret[b-vojjpwk0ri] {
    color: #94a3b8;
    flex-shrink: 0;
    font-size: .7rem;
    width: 14px;
    text-align: center;
}

.etp-row-body[b-vojjpwk0ri] {
    padding: .25rem 1rem 1rem 4.45rem;
    border-top: 1px solid #f1f5f9;
    background: #fcfcfd;
}
.etp-row-subject[b-vojjpwk0ri] {
    font-size: .82rem;
    font-weight: 600;
    color: #1e293b;
    margin: .5rem 0 .35rem;
}
.etp-row-html[b-vojjpwk0ri] {
    font-size: .9rem;
    line-height: 1.6;
    color: #1e293b;
}
.etp-row-html[b-vojjpwk0ri]  blockquote {
    border-left: 3px solid #e2e8f0;
    padding-left: .75rem;
    margin-left: 0;
    color: #64748b;
}
.etp-row-html[b-vojjpwk0ri]  img { max-width: 100%; height: auto; }

/* Attachments */
.etp-attachments[b-vojjpwk0ri] {
    margin-top: .85rem;
    padding-top: .65rem;
    border-top: 1px dashed #e2e8f0;
}
.etp-attachments-label[b-vojjpwk0ri] {
    font-size: .75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.etp-attachments-list[b-vojjpwk0ri] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.etp-attachment[b-vojjpwk0ri] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: 18rem;
    padding: .35rem .6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color .12s, box-shadow .12s;
}
.etp-attachment:hover[b-vojjpwk0ri] {
    border-color: #93c5fd;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.etp-attachment-icon[b-vojjpwk0ri] { font-size: 1rem; flex-shrink: 0; }
.etp-attachment-name[b-vojjpwk0ri] {
    font-size: .82rem;
    font-weight: 500;
    color: #1d4ed8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.etp-attachment-size[b-vojjpwk0ri] {
    font-size: .72rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Composer */
.etp-composer[b-vojjpwk0ri] {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}
.etp-composer-head[b-vojjpwk0ri] {
    font-size: .85rem;
    color: #1e293b;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.etp-composer-field[b-vojjpwk0ri] {
    margin-bottom: .55rem;
}
.etp-composer-field label[b-vojjpwk0ri] {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: .2rem;
}
.etp-composer-editor-wrap[b-vojjpwk0ri] { margin: .55rem 0 .35rem; }
.etp-composer-editor[b-vojjpwk0ri] {
    min-height: 110px;
    max-height: 360px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: .9rem;
}
.etp-composer-actions[b-vojjpwk0ri] {
    margin-top: .5rem;
}

.etp-summarize-btn[b-vojjpwk0ri] {
    font-size: .78rem;
    padding: .2rem .55rem;
    line-height: 1.2;
}
.etp-summarize-btn .bi[b-vojjpwk0ri] {
    font-size: .85rem;
}

.etp-summary-panel[b-vojjpwk0ri] {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: .75rem .9rem;
    margin: 0 .25rem;
}
.etp-summary-head[b-vojjpwk0ri] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0c4a6e;
    font-size: .85rem;
    margin-bottom: .4rem;
}
.etp-summary-body[b-vojjpwk0ri] {
    font-size: .88rem;
    line-height: 1.55;
    color: #1e293b;
}
.etp-summary-body[b-vojjpwk0ri]  h4,
.etp-summary-body[b-vojjpwk0ri]  h5,
.etp-summary-body[b-vojjpwk0ri]  h6 {
    margin: .6rem 0 .3rem;
    color: #0c4a6e;
}
.etp-summary-body[b-vojjpwk0ri]  ul {
    margin: .25rem 0 .5rem 1.1rem;
    padding-left: .25rem;
}
.etp-summary-body[b-vojjpwk0ri]  p {
    margin: 0 0 .4rem;
}

/* ---- Dark theme overrides ----
   The light styles above use hardcoded slate/blue palette colors that become
   unreadable on the dark surface. These rules flip every surface, border, text,
   and accent color when the user toggles `html.nav-theme-dark`. Any new style
   added above MUST have a matching override here — see EmailThreadPaneCssTests
   for the enforced selector list. */
html.nav-theme-dark .etp-header-row[b-vojjpwk0ri] {
    color: #94a3b8;
}
html.nav-theme-dark .etp-toggle-all[b-vojjpwk0ri] {
    color: #cbd5e1;
}
html.nav-theme-dark .etp-toggle-all:hover[b-vojjpwk0ri] {
    color: #93c5fd;
}
html.nav-theme-dark .etp-header-title[b-vojjpwk0ri] {
    color: #4ade80;
}

html.nav-theme-dark .etp-empty[b-vojjpwk0ri] {
    color: #94a3b8;
}

html.nav-theme-dark .etp-row[b-vojjpwk0ri] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .etp-row.expanded[b-vojjpwk0ri] {
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
html.nav-theme-dark .etp-row:not(.expanded) .etp-row-head:hover[b-vojjpwk0ri] {
    background: rgba(255, 255, 255, .04);
}

html.nav-theme-dark .etp-avatar.in[b-vojjpwk0ri] { background: #1e3a8a; color: #bfdbfe; }
html.nav-theme-dark .etp-avatar.out[b-vojjpwk0ri] { background: #14532d; color: #bbf7d0; }

html.nav-theme-dark .etp-row-name[b-vojjpwk0ri] {
    color: #f1f5f9;
}

html.nav-theme-dark .etp-badge.etp-in[b-vojjpwk0ri] { background: rgba(59, 130, 246, .20); color: #93c5fd; }
html.nav-theme-dark .etp-badge.etp-out[b-vojjpwk0ri] { background: rgba(16, 185, 129, .20); color: #6ee7b7; }
html.nav-theme-dark .etp-badge.etp-auto[b-vojjpwk0ri] { background: rgba(148, 163, 184, .18); color: #cbd5e1; }
html.nav-theme-dark .etp-badge.etp-latest[b-vojjpwk0ri] { color: #94a3b8; }
html.nav-theme-dark .etp-latest-dot[b-vojjpwk0ri] { background: #fbbf24; }

html.nav-theme-dark .etp-row-preview[b-vojjpwk0ri] {
    color: #94a3b8;
}

html.nav-theme-dark .etp-row-recipients[b-vojjpwk0ri] {
    color: #94a3b8;
}

html.nav-theme-dark .etp-row-when[b-vojjpwk0ri] {
    color: #94a3b8;
}

html.nav-theme-dark .etp-row-caret[b-vojjpwk0ri] {
    color: #94a3b8;
}

html.nav-theme-dark .etp-row-body[b-vojjpwk0ri] {
    border-top-color: #1e293b;
    background: #0b1220;
}
html.nav-theme-dark .etp-row-subject[b-vojjpwk0ri] {
    color: #f1f5f9;
}
html.nav-theme-dark .etp-row-html[b-vojjpwk0ri] {
    color: #e2e8f0;
}
html.nav-theme-dark .etp-row-html[b-vojjpwk0ri]  blockquote {
    border-left-color: #334155;
    color: #94a3b8;
}

html.nav-theme-dark .etp-attachments[b-vojjpwk0ri] {
    border-top-color: #1e293b;
}
html.nav-theme-dark .etp-attachments-label[b-vojjpwk0ri] {
    color: #94a3b8;
}
html.nav-theme-dark .etp-attachment[b-vojjpwk0ri] {
    background: #111827;
    border-color: #1e293b;
}
html.nav-theme-dark .etp-attachment:hover[b-vojjpwk0ri] {
    border-color: #1d4ed8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
html.nav-theme-dark .etp-attachment-name[b-vojjpwk0ri] {
    color: #93c5fd;
}
html.nav-theme-dark .etp-attachment-size[b-vojjpwk0ri] {
    color: #64748b;
}

html.nav-theme-dark .etp-composer[b-vojjpwk0ri] {
    background: #0f172a;
    border-color: #1e293b;
}
html.nav-theme-dark .etp-composer-head[b-vojjpwk0ri] {
    color: #f1f5f9;
}
html.nav-theme-dark .etp-composer-field label[b-vojjpwk0ri] {
    color: #94a3b8;
}
html.nav-theme-dark .etp-composer-editor[b-vojjpwk0ri] {
    background: #0b1220;
    color: #e2e8f0;
    border-color: #1e293b;
}

html.nav-theme-dark .etp-summary-panel[b-vojjpwk0ri] {
    background: linear-gradient(180deg, rgba(34, 211, 238, .12) 0%, #0f172a 100%);
    border-color: rgba(34, 211, 238, .35);
}
html.nav-theme-dark .etp-summary-head[b-vojjpwk0ri] {
    color: #67e8f9;
}
html.nav-theme-dark .etp-summary-body[b-vojjpwk0ri] {
    color: #e2e8f0;
}
html.nav-theme-dark .etp-summary-body[b-vojjpwk0ri]  h4,
html.nav-theme-dark .etp-summary-body[b-vojjpwk0ri]  h5,
html.nav-theme-dark .etp-summary-body[b-vojjpwk0ri]  h6 {
    color: #67e8f9;
}
/* /Components/Shared/ProjectPreview.razor.rz.scp.css */
.preview-loading[b-ysgjqfu1hf],
.preview-empty[b-ysgjqfu1hf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
    color: #71717a;
    font-size: 0.9rem;
}

.preview-header[b-ysgjqfu1hf] {
    margin-bottom: 18px;
}

.preview-title[b-ysgjqfu1hf] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 10px;
    line-height: 1.35;
}

.preview-badges[b-ysgjqfu1hf] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.preview-grid[b-ysgjqfu1hf] {
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 8px;
    column-gap: 14px;
    margin-bottom: 18px;
    font-size: 0.86rem;
}

.preview-grid dt[b-ysgjqfu1hf] {
    font-weight: 600;
    color: #71717a;
}

.preview-grid dd[b-ysgjqfu1hf] {
    margin: 0;
    color: #18181b;
    overflow-wrap: anywhere;
}

.preview-section-title[b-ysgjqfu1hf] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 18px 0 8px;
}

.preview-description[b-ysgjqfu1hf] {
    font-size: 0.9rem;
    color: #27272a;
    line-height: 1.55;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 12px 14px;
    max-height: 260px;
    overflow-y: auto;
}

.preview-description :where(img)[b-ysgjqfu1hf] {
    max-width: 100%;
    height: auto;
}

.preview-actions[b-ysgjqfu1hf] {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
/* /Components/Shared/SidePanel.razor.rz.scp.css */
/* ==========================================================================
   SidePanel — STYLE 3: Minimal borderless card.
   No backdrop dim, panel floats as a quiet card with a big soft shadow,
   inset from the edges with rounded corners. Very clean / quiet.
   Scoped CSS. JS in /js/side-panel-resize.js relies on the .side-panel,
   .side-panel-resize-handle, and .dragging class names; keep them stable.
   ========================================================================== */

.side-panel-backdrop[b-afmkb11qjd] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1040;
    animation: sp-fade-in-b-afmkb11qjd 0.15s ease-out;
    pointer-events: auto;
}

.side-panel[b-afmkb11qjd] {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(60vw - 20px);
    min-width: 540px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    box-shadow:
        0 60px 100px -30px rgba(15, 23, 42, 0.22),
        0 20px 40px -12px rgba(15, 23, 42, 0.12),
        0 1px 2px rgba(15, 23, 42, 0.04);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sp-slide-in-b-afmkb11qjd 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.side-panel-resize-handle[b-afmkb11qjd] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: ew-resize;
    background: transparent;
    z-index: 3;
}

.side-panel-resize-handle[b-afmkb11qjd]::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 40px;
    border-radius: 3px;
    background: #cbd5e1;
    opacity: 0;
    transition: opacity 0.18s ease, height 0.18s ease, background 0.18s ease;
}

.side-panel-resize-handle:hover[b-afmkb11qjd]::before {
    opacity: 1;
    height: 64px;
    background: #94a3b8;
}

.side-panel-resize-handle.dragging[b-afmkb11qjd]::before {
    opacity: 1;
    height: 100%;
    border-radius: 0;
    width: 2px;
    left: 4px;
    background: #64748b;
}

/* Header — no divider, just whitespace. Title is a subtle caps "eyebrow". */
.side-panel-header[b-afmkb11qjd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px 26px;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
}

.side-panel-title[b-afmkb11qjd] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-panel-close[b-afmkb11qjd] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: #94a3b8;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.side-panel-close:hover[b-afmkb11qjd] {
    background: #f1f5f9;
    color: #0f172a;
}

.side-panel-close:active[b-afmkb11qjd] {
    transform: scale(0.94);
}

.side-panel-close:focus-visible[b-afmkb11qjd] {
    outline: none;
    background: #eef2ff;
    color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

/* Body */
.side-panel-body[b-afmkb11qjd] {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 26px 26px;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.15) transparent;
}

.side-panel-body[b-afmkb11qjd]::-webkit-scrollbar {
    width: 10px;
}

.side-panel-body[b-afmkb11qjd]::-webkit-scrollbar-track {
    background: transparent;
}

.side-panel-body[b-afmkb11qjd]::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.12);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 10px;
}

.side-panel-body[b-afmkb11qjd]::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.24);
    background-clip: padding-box;
    border: 2px solid transparent;
}

/* Iframe variant — a hairline separator so the embedded page doesn't look
   like it's just bleeding through the header. The card's border-radius
   handles the clean rounded-corner edge via outer overflow: hidden. */
.side-panel-body.side-panel-body-frame[b-afmkb11qjd] {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: var(--df-bg, #f8fafc);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

[b-afmkb11qjd] iframe {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    display: block;
    background: transparent;
}

@keyframes sp-slide-in-b-afmkb11qjd {
    from {
        transform: translateX(calc(100% + 20px));
        opacity: 0.8;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes sp-fade-in-b-afmkb11qjd {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 640px) {
    .side-panel[b-afmkb11qjd] {
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
        min-width: 0;
        border-radius: 10px;
    }
    .side-panel-header[b-afmkb11qjd] {
        padding: 14px 14px 10px 20px;
    }
    .side-panel-body[b-afmkb11qjd] {
        padding: 4px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .side-panel[b-afmkb11qjd],
    .side-panel-backdrop[b-afmkb11qjd] {
        animation: none;
    }
    .side-panel-close[b-afmkb11qjd],
    .side-panel-resize-handle[b-afmkb11qjd]::before {
        transition: none;
    }
}

/* ---- Dark theme overrides ---- */
html.nav-theme-dark .side-panel[b-afmkb11qjd] {
    background: #0f172a;
    border-color: #1e293b;
    color: #e2e8f0;
    box-shadow:
        0 60px 100px -30px rgba(0, 0, 0, 0.55),
        0 20px 40px -12px rgba(0, 0, 0, 0.40),
        0 1px 2px rgba(0, 0, 0, 0.30);
}

html.nav-theme-dark .side-panel-header[b-afmkb11qjd] {
    background: #0f172a;
}

html.nav-theme-dark .side-panel-title[b-afmkb11qjd] {
    color: #94a3b8;
}

html.nav-theme-dark .side-panel-close[b-afmkb11qjd] {
    color: #94a3b8;
}

html.nav-theme-dark .side-panel-close:hover[b-afmkb11qjd] {
    background: #1e293b;
    color: #e2e8f0;
}

html.nav-theme-dark .side-panel-close:focus-visible[b-afmkb11qjd] {
    background: rgba(99, 102, 241, 0.20);
    color: #c7d2fe;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.30);
}

html.nav-theme-dark .side-panel-body[b-afmkb11qjd] {
    background: #0f172a;
    scrollbar-color: rgba(226, 232, 240, 0.20) transparent;
}

html.nav-theme-dark .side-panel-body[b-afmkb11qjd]::-webkit-scrollbar-thumb {
    background: rgba(226, 232, 240, 0.18);
}

html.nav-theme-dark .side-panel-body[b-afmkb11qjd]::-webkit-scrollbar-thumb:hover {
    background: rgba(226, 232, 240, 0.32);
}

html.nav-theme-dark .side-panel-body.side-panel-body-frame[b-afmkb11qjd] {
    background: #0b1220;
    border-top-color: #1e293b;
}

html.nav-theme-dark .side-panel-resize-handle[b-afmkb11qjd]::before {
    background: #475569;
}

html.nav-theme-dark .side-panel-resize-handle:hover[b-afmkb11qjd]::before {
    background: #94a3b8;
}

html.nav-theme-dark .side-panel-resize-handle.dragging[b-afmkb11qjd]::before {
    background: #cbd5e1;
}
/* /Components/Shared/TicketPreview.razor.rz.scp.css */
.preview-loading[b-tp5mcsoq27],
.preview-empty[b-tp5mcsoq27] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
    color: #71717a;
    font-size: 0.9rem;
}

.preview-header[b-tp5mcsoq27] {
    margin-bottom: 18px;
}

.preview-id[b-tp5mcsoq27] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #a1a1aa;
    letter-spacing: 0.04em;
}

.preview-title[b-tp5mcsoq27] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181b;
    margin: 4px 0 10px;
    line-height: 1.35;
}

.preview-badges[b-tp5mcsoq27] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.preview-grid[b-tp5mcsoq27] {
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 8px;
    column-gap: 14px;
    margin-bottom: 18px;
    font-size: 0.86rem;
}

.preview-grid dt[b-tp5mcsoq27] {
    font-weight: 600;
    color: #71717a;
}

.preview-grid dd[b-tp5mcsoq27] {
    margin: 0;
    color: #18181b;
    overflow-wrap: anywhere;
}

.preview-section-title[b-tp5mcsoq27] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 18px 0 8px;
}

.preview-description[b-tp5mcsoq27] {
    font-size: 0.9rem;
    color: #27272a;
    line-height: 1.55;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 12px 14px;
    max-height: 260px;
    overflow-y: auto;
}

.preview-description :where(img)[b-tp5mcsoq27] {
    max-width: 100%;
    height: auto;
}

.preview-actions[b-tp5mcsoq27] {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
/* /Components/Shared/TimeEntryRow.razor.rz.scp.css */
.te-row[b-26a8j83yn2] {
    display: grid;
    grid-template-columns: 4px 1fr auto auto;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--df-border, #e2e8f0);
    align-items: center;
    font-variant-numeric: tabular-nums;
}

.te-row:last-child[b-26a8j83yn2] {
    border-bottom: 0;
}

.te-bar[b-26a8j83yn2] {
    grid-row: 1 / 3;
    align-self: stretch;
    width: 4px;
    border-radius: 2px;
    background: var(--df-primary, #4f46e5);
}

.te-row.te-task .te-bar[b-26a8j83yn2] {
    background: #14b8a6;
}

.te-row.te-absence .te-bar[b-26a8j83yn2] {
    background: var(--df-warning, #d97706);
}

.te-row.te-other .te-bar[b-26a8j83yn2] {
    background: var(--df-text-muted, #64748b);
}

.te-row.te-running .te-bar[b-26a8j83yn2] {
    background: var(--df-success, #059669);
    animation: te-pulse-b-26a8j83yn2 2s ease-in-out infinite;
}

@keyframes te-pulse-b-26a8j83yn2 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.te-primary[b-26a8j83yn2] {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--df-text, #1e293b);
}

.te-name[b-26a8j83yn2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.te-running-text[b-26a8j83yn2] {
    color: var(--df-success, #059669);
    font-weight: 500;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.te-running-text .bi[b-26a8j83yn2] {
    margin-right: 0.15rem;
}

.te-duration[b-26a8j83yn2] {
    color: var(--df-primary, #4f46e5);
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.te-row.te-running .te-duration[b-26a8j83yn2] {
    color: var(--df-success, #059669);
}

.te-duration-value[b-26a8j83yn2] {
    font-size: 1rem;
}

.te-duration-unit[b-26a8j83yn2] {
    color: var(--df-text-muted, #64748b);
    font-weight: 500;
    margin-left: 0.15rem;
    font-size: 0.85rem;
}

.te-actions[b-26a8j83yn2] {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    opacity: 0;
    transition: opacity 0.15s;
}

.te-row:hover .te-actions[b-26a8j83yn2],
.te-row:focus-within .te-actions[b-26a8j83yn2] {
    opacity: 1;
}

.te-action-btn[b-26a8j83yn2] {
    background: transparent;
    border: 0;
    color: var(--df-text-muted, #64748b);
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    font-size: 0.95rem;
}

.te-action-btn:hover[b-26a8j83yn2],
.te-action-btn:focus[b-26a8j83yn2] {
    background: var(--df-primary-light, #eef2ff);
    color: var(--df-primary, #4f46e5);
    outline: none;
}

.te-action-btn.te-action-danger:hover[b-26a8j83yn2],
.te-action-btn.te-action-danger:focus[b-26a8j83yn2] {
    background: #fef2f2;
    color: var(--df-danger, #dc2626);
}

.te-lock[b-26a8j83yn2] {
    color: var(--df-text-muted, #64748b);
    padding: 0.3rem 0.45rem;
    font-size: 0.95rem;
}

.te-secondary[b-26a8j83yn2] {
    grid-column: 2 / 5;
    font-size: 0.8rem;
    color: var(--df-text-muted, #64748b);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    min-width: 0;
}

.te-time[b-26a8j83yn2] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.te-time .bi-clock[b-26a8j83yn2] {
    font-size: 0.85rem;
    opacity: 0.7;
}

.te-arrow[b-26a8j83yn2] {
    opacity: 0.6;
}

.te-sep[b-26a8j83yn2] {
    opacity: 0.5;
}

.te-link[b-26a8j83yn2] {
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.te-link:hover[b-26a8j83yn2] {
    color: var(--df-primary, #4f46e5);
    text-decoration: underline;
}

.te-detail[b-26a8j83yn2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.te-lunch[b-26a8j83yn2] {
    color: var(--df-warning, #d97706);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

/* Dark theme harmony (sidebar dark theme spills onto some surfaces) */
html.nav-theme-dark .te-row[b-26a8j83yn2] {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
