/* /Components/Controls/DayBarChart.razor.rz.scp.css */
.day-chart[b-og2i1rqllp] {
    width: 100%;
}

.day-chart-head[b-og2i1rqllp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: #5a5a64;
}

.day-chart-title[b-og2i1rqllp] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9a9aa8;
}

.day-chart-key i[b-og2i1rqllp] {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.3rem;
}

.day-chart-bars[b-og2i1rqllp] {
    display: flex;
    align-items: stretch;
    gap: 5px;
    margin-top: 0.5rem;
}

.day-chart-day[b-og2i1rqllp] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.day-chart-stack[b-og2i1rqllp] {
    width: 100%;
    max-width: 22px;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.045);
}

.day-chart-stack.is-loading[b-og2i1rqllp] {
    animation: day-chart-pulse-b-og2i1rqllp 1.4s ease-in-out infinite;
}

.day-chart-label[b-og2i1rqllp] {
    font-size: 0.65rem;
    line-height: 1;
    color: #9a9aa8;
}

@keyframes day-chart-pulse-b-og2i1rqllp {
    50% { opacity: 0.45; }
}

@media (min-width: 992px) {
    .day-chart[b-og2i1rqllp] { width: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
    .day-chart-stack.is-loading[b-og2i1rqllp] { animation: none; }
}
/* /Components/Controls/SegmentBar.razor.rz.scp.css */
.segment-bar[b-2gy7qumti1] {
    width: 100%;
}

.segment-bar-head[b-2gy7qumti1] {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.segment-bar-figure[b-2gy7qumti1] {
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1e;
}

.segment-bar-figure.is-loading[b-2gy7qumti1] {
    display: inline-block;
    width: 4rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
}

.segment-bar-caption[b-2gy7qumti1] {
    font-size: 0.8rem;
    color: #5a5a64;
}

.segment-bar-track[b-2gy7qumti1] {
    display: flex;
    gap: 3px;
    height: 10px;
    margin-top: 0.5rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.045);
}

.segment-bar-track span[b-2gy7qumti1] { min-width: 0; }

.segment-bar-track.is-loading[b-2gy7qumti1],
.segment-bar-figure.is-loading[b-2gy7qumti1] {
    animation: segment-bar-pulse-b-2gy7qumti1 1.4s ease-in-out infinite;
}

.segment-bar-legend[b-2gy7qumti1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #5a5a64;
}

.segment-bar-legend strong[b-2gy7qumti1] { color: #1a1a1e; margin-right: 0.2rem; }

.segment-bar-legend i[b-2gy7qumti1] {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.3rem;
}

.segment-bar-link[b-2gy7qumti1] {
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.25);
    text-underline-offset: 3px;
}

.segment-bar-link:hover:not(:disabled)[b-2gy7qumti1] { color: #1a1a1e; text-decoration-color: currentColor; }

@keyframes segment-bar-pulse-b-2gy7qumti1 {
    50% { opacity: 0.45; }
}

@media (min-width: 992px) {
    .segment-bar[b-2gy7qumti1] { width: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
    .segment-bar-track.is-loading[b-2gy7qumti1],
    .segment-bar-figure.is-loading[b-2gy7qumti1] { animation: none; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-75ttvk9s30] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-75ttvk9s30] {
    flex: 1;
    /* Without this, a flex item's automatic minimum size is its content's
       min-content width — so a wide descendant (e.g. the Milkdown editor's
       un-wrapped toolbar) becomes a floor main won't shrink below, forcing
       the whole page wider than the viewport instead of just scrolling
       internally. min-width: 0 lets main shrink to the space actually
       available next to the sidebar. */
    min-width: 0;
}

.sidebar[b-75ttvk9s30] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-color: #212529;*/
    background-color: #0A121A;
}

/* Sidebar brand row (logo + mobile menu toggle). Named distinctly from the
   content-area .top-row above so the two don't collide. */
.sidebar-top-row[b-75ttvk9s30] {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
}

.sidebar-top-row .container-fluid[b-75ttvk9s30] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: inherit;
    gap: 0.75rem;
}

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

/* Mobile hamburger — a plain checkbox styled as a toggle. The nav show/hide it
   drives is pure CSS (see app.css: .sidebar:has(.navbar-toggler:checked) ...),
   so it needs no interactivity and stays out of any render circuit. */
.navbar-toggler[b-75ttvk9s30] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: static;
    flex-shrink: 0;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

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

/* Search section sits between the brand row and the nav links. */
.nav-search-section[b-75ttvk9s30] {
    padding-top: 0.5rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-row[b-75ttvk9s30] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-75ttvk9s30]  a, .top-row[b-75ttvk9s30]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-75ttvk9s30]  a:hover, .top-row[b-75ttvk9s30]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-75ttvk9s30]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-75ttvk9s30] {
        justify-content: space-between;
    }

    .top-row[b-75ttvk9s30]  a, .top-row[b-75ttvk9s30]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-75ttvk9s30] {
        flex-direction: row;
    }

    .sidebar[b-75ttvk9s30] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        /* Flex column so the nav list (.nav-scrollable, flex:1) fills the space
           left by the brand row and search section and scrolls on its own. */
        display: flex;
        flex-direction: column;
    }

    .navbar-toggler[b-75ttvk9s30] {
        display: none;
    }

    .nav-search-section[b-75ttvk9s30] {
        padding-top: 0.75rem;
    }

    .top-row[b-75ttvk9s30] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-75ttvk9s30]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-75ttvk9s30], article[b-75ttvk9s30] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-75ttvk9s30] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-75ttvk9s30] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---------- Phones: tab bar along the bottom (see MainLayout.razor) ---------- */
.app-tabbar[b-75ttvk9s30],
.app-menu-backdrop[b-75ttvk9s30] {
    display: none;
}

@media (max-width: 640.98px) {
    .page[b-75ttvk9s30] {
        /* Landscape on a notched phone: keep content clear of the notch. */
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* Clear of the status bar when opened from the Home Screen (it's see-through there; see app.css). */
    .sidebar-top-row[b-75ttvk9s30] {
        padding-top: env(safe-area-inset-top);
    }

    .page:has(.app-tabbar) main[b-75ttvk9s30] {
        padding-bottom: calc(var(--app-tabbar-height) + env(safe-area-inset-bottom));
    }

    .app-tabbar[b-75ttvk9s30] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        background: rgba(10, 18, 26, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Out of the way while typing: the keyboard is up, and on Android the bar would sit on top of it. */
    .page:has(:is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
                  input[type="url"], input[type="number"], input[type="password"], textarea, [contenteditable="true"]):focus) .app-tabbar[b-75ttvk9s30] {
        display: none;
    }

    .app-tab[b-75ttvk9s30] {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
        min-width: 0;
        height: var(--app-tabbar-height);
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.68rem;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .app-tab .bi[b-75ttvk9s30] { font-size: 1.3rem; line-height: 1; }

    .app-tab.is-active[b-75ttvk9s30],
    .page:has(#sidebar-nav-toggler:checked) .app-tab-more[b-75ttvk9s30] {
        color: #6cf127;
    }

    /* Any tab other than More is dimmed while the menu sheet is open. */
    .page:has(#sidebar-nav-toggler:checked) .app-tab.is-active[b-75ttvk9s30] {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Tapping outside the menu sheet closes it. */
    .page:has(#sidebar-nav-toggler:checked) .app-menu-backdrop[b-75ttvk9s30] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1028;
        background: rgba(0, 0, 0, 0.45);
    }

    /* Blazor's error bar sits above the tab bar, not behind it. */
    .page:has(.app-tabbar) + #blazor-error-ui[b-75ttvk9s30] {
        bottom: calc(var(--app-tabbar-height) + env(safe-area-inset-bottom));
    }
}

/* From the Home Screen, iOS fades the page out for a little way below the status bar, too. Start the logo below
   that fade so it isn't dimmed. */
@media (max-width: 640.98px) and (display-mode: standalone) {
    .sidebar-top-row[b-75ttvk9s30] {
        padding-top: calc(env(safe-area-inset-top) + 1.25rem);
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.bi[b-a3tceojozt] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-menu[b-a3tceojozt] {
    height: unset !important;
    font-size: 1.4em;
}

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

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

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

.bi-lock-nav-menu[b-a3tceojozt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-a3tceojozt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-a3tceojozt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-a3tceojozt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-a3tceojozt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

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

.nav-menu-layout[b-a3tceojozt] {
    min-height: 100%;
    padding-bottom: 0.5rem;
}

.nav-section-workspace[b-a3tceojozt] {
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-section-platform[b-a3tceojozt] {
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-section-title[b-a3tceojozt] {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.35rem;
}

.nav-account-section[b-a3tceojozt] {
    margin-top: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

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

.nav-link-group-row[b-a3tceojozt] {
    display: flex;
    align-items: center;
}

.nav-link-group-row[b-a3tceojozt]  a.nav-link {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-group-toggle[b-a3tceojozt] {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(215, 215, 215, 0.75);
    height: 3rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.nav-group-toggle:hover[b-a3tceojozt] {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* The .bi rule above is sized/spaced for this file's background-image icons (margin-right,
   fixed box, vertical nudge) and would otherwise throw off the chevron glyph here, which is
   a plain bootstrap-icons webfont character with no background image. Reset it back to an
   unboxed inline glyph so it centers in the button. */
.nav-group-toggle .bi[b-a3tceojozt] {
    display: inline;
    position: static;
    width: auto;
    height: auto;
    margin-right: 0;
    top: 0;
    background: none;
}

/* Bootstrap's collapse plugin flips this attribute on the trigger button itself when it
   shows/hides #websitesNavSubmenu, so the chevron rotates without any Blazor round-trip. */
.nav-group-toggle .bi-chevron-down[b-a3tceojozt] {
    transition: transform 0.15s ease;
}

.nav-group-toggle[aria-expanded="true"] .bi-chevron-down[b-a3tceojozt] {
    transform: rotate(180deg);
}

.nav-submenu[b-a3tceojozt] {
    padding-left: 1.5rem;
}

.nav-item[b-a3tceojozt]  .nav-link-sub {
    height: 2.35rem;
    line-height: 2.35rem;
    font-size: 0.82rem;
    color: rgba(215, 215, 215, 0.8);
}

.bi-menu-sub[b-a3tceojozt] {
    height: unset !important;
    font-size: 1.1em;
}

/* Hidden on mobile until the sidebar toggle is checked. The show rule lives in
   app.css because the toggle checkbox is rendered by MainLayout (a different CSS
   scope), and a scoped selector here can't reach across to it. */
.nav-scrollable[b-a3tceojozt] {
    display: none;
}

@media (min-width: 641px) {
    .nav-scrollable[b-a3tceojozt] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Fill the remaining sidebar height and scroll independently so the
           bottom account links are never clipped. Relies on .sidebar being a
           flex column at this breakpoint (see MainLayout.razor.css). */
        flex: 1 1 auto;
        min-height: 0;
        padding-bottom: 0.75rem;
        overflow-y: auto;
    }
}
/* /Components/Pages/TicketDetails.razor.rz.scp.css */
/* ---------- Hero: the tickets list's look, tinted by the ticket's tone ---------- */
.tkt-hero[b-as33ug7dhv] {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border-radius: 1.1rem;
    background:
        radial-gradient(110% 160% at 100% 0%, color-mix(in srgb, var(--tone-bright, #6bb8ff) 30%, transparent) 0%, transparent 45%),
        radial-gradient(90% 120% at 0% 100%, rgba(108, 241, 39, 0.12) 0%, rgba(108, 241, 39, 0) 50%),
        var(--brand-dark, #1a1a1e);
    color: #f4f4f6;
    box-shadow: 0 10px 30px rgba(26, 26, 30, 0.18);
}

.tkt-hero[b-as33ug7dhv]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
    pointer-events: none;
}

.tkt-hero-inner[b-as33ug7dhv] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.75rem;
    padding: 0.75rem 1.3rem;
}

/* The ticket's tone, as on the tickets list. */
.tkt-hero-dot[b-as33ug7dhv] {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.5rem; /* beside the subject's first line when it wraps */
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--tone-bright, #6bb8ff);
}

.tkt-hero[aria-busy="true"] .tkt-hero-dot[b-as33ug7dhv] { animation: tkt-pulse-b-as33ug7dhv 1.6s ease-out infinite; }

@keyframes tkt-pulse-b-as33ug7dhv {
    0%   { box-shadow: 0 0 0 0 rgba(107, 184, 255, 0.55); }
    70%  { box-shadow: 0 0 0 0.5rem rgba(107, 184, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(107, 184, 255, 0); }
}

.tkt-headline[b-as33ug7dhv] {
    flex: 1 1 16rem;
    min-width: 0;
    margin: 0;
    font-family: var(--app-font-heading);
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.tkt-hero-source[b-as33ug7dhv],
.tkt-clock[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: rgba(244, 244, 246, 0.7);
    white-space: nowrap;
}

/* The wait clock: how long they've waited for us, or we for them. */
.tkt-clock[b-as33ug7dhv] { --clock: #6bb8ff; }
.tkt-clock.is-slow[b-as33ug7dhv] { --clock: #ffc24d; }
.tkt-clock.is-late[b-as33ug7dhv] { --clock: #ff7a7e; }
.tkt-clock.is-calm[b-as33ug7dhv] { --clock: #a8a6a0; }
.tkt-clock .bi[b-as33ug7dhv] { color: var(--clock); }
.tkt-clock strong[b-as33ug7dhv] { font-family: var(--app-font-heading); font-size: 1rem; color: #ffffff; }
.tkt-clock.is-slow strong[b-as33ug7dhv], .tkt-clock.is-late strong[b-as33ug7dhv] { color: var(--clock); }

/* Shared initials circle for customers (staff use UserAvatar). */
.tkt-initials[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e7ecf3;
    color: #2d4a6b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kind-staff .tkt-initials[b-as33ug7dhv] { background: #dcebfb; color: #1f6fbf; }
.kind-note .tkt-initials[b-as33ug7dhv] { background: #ffe9c2; color: #a85f00; }

/* ---------- Conversation: a timeline of messages ---------- */
.tkt-thread-bar[b-as33ug7dhv] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8a94;
}

.tkt-thread-actions[b-as33ug7dhv] { display: inline-flex; gap: 0.35rem; margin-left: auto; }

.tkt-thread[b-as33ug7dhv] {
    position: relative;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

/* The rail joining the avatars. */
.tkt-thread[b-as33ug7dhv]::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.07);
}

.tkt-msg[b-as33ug7dhv] {
    position: relative;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.tkt-msg + .tkt-msg[b-as33ug7dhv] { margin-top: 0.85rem; }
.tkt-msg.is-collapsed + .tkt-msg.is-collapsed[b-as33ug7dhv] { margin-top: 0.4rem; }

.tkt-msg-avatar[b-as33ug7dhv] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 0.35rem;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--app-bg, #f6f6f4);
}

.kind-staff .tkt-msg-avatar[b-as33ug7dhv] { box-shadow: 0 0 0 3px var(--app-bg, #f6f6f4), 0 0 0 5px rgba(42, 120, 214, 0.35); }
.kind-note .tkt-msg-avatar[b-as33ug7dhv] { box-shadow: 0 0 0 3px var(--app-bg, #f6f6f4), 0 0 0 5px rgba(240, 140, 0, 0.45); }

.tkt-msg-card[b-as33ug7dhv] {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0.9rem;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.kind-staff .tkt-msg-card[b-as33ug7dhv] { border-color: rgba(42, 120, 214, 0.2); }
.kind-staff .tkt-msg-head[b-as33ug7dhv] { background: rgba(42, 120, 214, 0.05); }

.kind-note .tkt-msg-card[b-as33ug7dhv] { background: #fffaf0; border: 1px dashed rgba(240, 140, 0, 0.45); }

.tkt-msg-head[b-as33ug7dhv] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem 0.6rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.is-collapsed .tkt-msg-head[b-as33ug7dhv] { border-bottom: 0; }
.kind-note .tkt-msg-head[b-as33ug7dhv] { border-bottom-color: rgba(240, 140, 0, 0.2); }

.tkt-msg-toggle[b-as33ug7dhv] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
}

.tkt-msg-who[b-as33ug7dhv] { font-weight: 700; color: #1a1a1e; }

.tkt-msg-kind[b-as33ug7dhv] {
    padding: 0 0.5rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.05);
    color: #4a4a52;
}

.kind-staff .tkt-msg-kind[b-as33ug7dhv] { background: rgba(42, 120, 214, 0.12); color: #1f6fbf; }
.kind-note .tkt-msg-kind[b-as33ug7dhv] { background: rgba(240, 140, 0, 0.16); color: #a85f00; }

.tkt-msg-email[b-as33ug7dhv] { font-size: 0.8rem; color: #6c6c76; }

.tkt-msg-time[b-as33ug7dhv] {
    display: inline-flex;
    gap: 0.5rem;
    margin-left: auto;
    font-size: 0.8rem;
    color: #6c6c76;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tkt-msg-age[b-as33ug7dhv] {
    padding: 0 0.4rem;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.72rem;
    line-height: 1.6;
}

.tkt-msg-preview[b-as33ug7dhv],
.tkt-msg-recipients[b-as33ug7dhv] {
    flex-basis: 100%;
    font-size: 0.82rem;
    color: #6c6c76;
    min-width: 0;
}

.tkt-msg-preview[b-as33ug7dhv] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tkt-msg.is-collapsed .tkt-msg-card[b-as33ug7dhv] { box-shadow: none; }
.tkt-msg.is-collapsed .tkt-msg-card:hover[b-as33ug7dhv] { border-color: rgba(0, 0, 0, 0.15); }

.tkt-msg-delete[b-as33ug7dhv] {
    flex-shrink: 0;
    padding: 0.1rem 0.3rem;
    border: 0;
    border-radius: 0.4rem;
    background: none;
    color: #b5b5bd;
    transition: color 0.15s, background 0.15s;
}

.tkt-msg-delete:hover[b-as33ug7dhv] { color: #d6383d; background: rgba(229, 72, 77, 0.08); }

.tkt-msg-body[b-as33ug7dhv] { padding: 0.9rem 1rem 1rem; overflow-wrap: anywhere; }
.tkt-msg-body[b-as33ug7dhv]  img { max-width: 100%; height: auto; }
.tkt-msg-body[b-as33ug7dhv]  blockquote { border-left: 3px solid rgba(0, 0, 0, 0.1); padding-left: 0.75rem; color: #6c6c76; }

.tkt-files[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tkt-file[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.3rem 0.4rem 0.3rem 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 0.6rem;
    background: #fafaf9;
    font-size: 0.82rem;
}

.tkt-file-icon[b-as33ug7dhv] { color: #1f7fd1; }

.tkt-file-name[b-as33ug7dhv] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0;
    border: 0;
    background: none;
    color: #1a1a1e;
    text-decoration: none;
    min-width: 0;
}

.tkt-file-name:hover[b-as33ug7dhv] { text-decoration: underline; color: #1a1a1e; }
.tkt-file-size[b-as33ug7dhv] { color: #8a8a94; white-space: nowrap; }

.tkt-file-download[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 0.4rem;
    color: #6c6c76;
}

button.tkt-file-download[b-as33ug7dhv] { border: 0; background: none; padding: 0; }

.tkt-file-download:hover[b-as33ug7dhv] { background: rgba(0, 0, 0, 0.06); color: #1a1a1e; }

/* ---------- Reply box ---------- */
.tkt-composer[b-as33ug7dhv] {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
    transition: border-color 0.15s;
}

.tkt-composer.kind-note[b-as33ug7dhv] { border-color: rgba(240, 140, 0, 0.5); }

.tkt-composer-head[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tkt-composer-body[b-as33ug7dhv] { padding: 1rem; }

.tkt-seg[b-as33ug7dhv] {
    display: inline-flex;
    padding: 3px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.05);
}

.tkt-seg-btn[b-as33ug7dhv] {
    padding: 0.25rem 0.8rem;
    border: 0;
    border-radius: 100px;
    background: transparent;
    color: #4a4a52;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.tkt-seg-btn:hover[b-as33ug7dhv] { color: #1a1a1e; }

.tkt-seg-btn.is-active[b-as33ug7dhv] {
    background: var(--brand-dark, #1a1a1e);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.kind-note .tkt-seg-btn.is-active[b-as33ug7dhv] { background: #f08c00; }

.tkt-ai-btn[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.8rem;
    border: 1px solid rgba(124, 77, 255, 0.35);
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(124, 77, 255, 0.08), rgba(42, 120, 214, 0.08));
    color: #5b3cc4;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.15s, transform 0.1s;
}

.tkt-ai-btn:hover:not(:disabled)[b-as33ug7dhv] { background: linear-gradient(90deg, rgba(124, 77, 255, 0.16), rgba(42, 120, 214, 0.16)); transform: translateY(-1px); }
.tkt-ai-btn:disabled[b-as33ug7dhv] { opacity: 0.6; }

.tkt-ai-draft[b-as33ug7dhv] {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(124, 77, 255, 0.25);
    border-radius: 0.8rem;
    background: linear-gradient(180deg, rgba(124, 77, 255, 0.05), rgba(124, 77, 255, 0.01));
}

.tkt-ai-draft-title[b-as33ug7dhv] { font-weight: 700; color: #5b3cc4; }

/* ---------- Sidebar panels ---------- */
.tkt-panel[b-as33ug7dhv] {
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.tkt-panel-body[b-as33ug7dhv] { padding: 1rem 1.1rem; }

.tkt-panel-title[b-as33ug7dhv] {
    margin: 0 0 0.75rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a94;
}

.tkt-panel-toggle[b-as33ug7dhv] { display: flex; align-items: center; cursor: pointer; }
.tkt-person[b-as33ug7dhv] { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.tkt-person-text[b-as33ug7dhv] { min-width: 0; }
.tkt-person-name[b-as33ug7dhv] { font-weight: 600; overflow-wrap: anywhere; }
.tkt-person-email[b-as33ug7dhv] { display: block; font-size: 0.82rem; overflow-wrap: anywhere; }

.tkt-customer-link[b-as33ug7dhv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 0.6rem;
    background: rgba(42, 120, 214, 0.07);
    color: #1f6fbf;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.tkt-customer-link:hover[b-as33ug7dhv] { background: rgba(42, 120, 214, 0.13); color: #1f6fbf; }

.tkt-others[b-as33ug7dhv] { list-style: none; margin: 0 -0.5rem; padding: 0; }

.tkt-other[b-as33ug7dhv] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.6rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s;
}

.tkt-other:hover[b-as33ug7dhv] { background: rgba(0, 0, 0, 0.035); color: inherit; }

.tkt-other-icon[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.55rem;
    background: var(--tone-soft);
    color: var(--tone);
    font-size: 0.85rem;
}

.tkt-other-text[b-as33ug7dhv] { display: flex; flex-direction: column; min-width: 0; }
.tkt-other-subject[b-as33ug7dhv] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.88rem; font-weight: 500; }
.tkt-other-meta[b-as33ug7dhv] { font-size: 0.75rem; color: #8a8a94; }

/* ---------- Shared small controls ---------- */
/* A quiet pill button for secondary actions: expand, confirm, add, attach. */
.tkt-chip-btn[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    background: #ffffff;
    color: #3a3a42;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tkt-chip-btn:hover:not(:disabled):not(.is-disabled)[b-as33ug7dhv] {
    background: var(--brand-dark, #1a1a1e);
    border-color: var(--brand-dark, #1a1a1e);
    color: #ffffff;
}

.tkt-chip-btn:disabled[b-as33ug7dhv], .tkt-chip-btn.is-disabled[b-as33ug7dhv] { opacity: 0.45; cursor: default; pointer-events: none; }

/* The page's buttons, beside the breadcrumb. */
.tkt-header-actions[b-as33ug7dhv] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; margin: 0.35rem 0; }
.tkt-header-actions .tkt-chip-btn[b-as33ug7dhv] { padding: 0.3rem 0.85rem; font-size: 0.82rem; }
.tkt-chip-btn.is-primary[b-as33ug7dhv] { background: var(--app-accent, #6cf127); border-color: var(--app-accent, #6cf127); color: var(--brand-dark, #1a1a1e); font-weight: 600; }
.tkt-chip-btn.is-primary:hover:not(:disabled)[b-as33ug7dhv] { background: var(--app-accent-hover, #8af552); border-color: var(--app-accent-hover, #8af552); color: var(--brand-dark, #1a1a1e); }
.tkt-chip-btn.is-danger[b-as33ug7dhv] { color: #c62a2f; border-color: rgba(229, 72, 77, 0.35); }
.tkt-chip-btn.is-danger:hover:not(:disabled)[b-as33ug7dhv] { background: #e5484d; border-color: #e5484d; color: #ffffff; }

.tkt-icon-btn[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: #ffffff;
    color: #6c6c76;
    font-size: 0.8rem;
    transition: background 0.15s, color 0.15s;
}

.tkt-icon-btn:hover[b-as33ug7dhv] { background: rgba(0, 0, 0, 0.05); color: #1a1a1e; }
.tkt-icon-btn.is-good[b-as33ug7dhv] { background: #2f9e44; border-color: #2f9e44; color: #ffffff; }
.tkt-icon-btn.is-bad[b-as33ug7dhv] { background: #e5484d; border-color: #e5484d; color: #ffffff; }

.tkt-pill-select[b-as33ug7dhv],
.tkt-pill-input[b-as33ug7dhv] {
    border-radius: 100px;
    border-color: rgba(0, 0, 0, 0.12);
    font-size: 0.82rem;
}

.tkt-pill-select[b-as33ug7dhv] { padding-left: 0.85rem; }
.tkt-pill-input[b-as33ug7dhv] { padding-left: 0.85rem; padding-right: 0.85rem; }

.tkt-switch[b-as33ug7dhv] { font-size: 0.82rem; color: #4a4a52; }

.tkt-muted[b-as33ug7dhv] { color: #8a8a94; }

/* Notices: the page's own alerts, rounded like everything else. */
.tkt-notice[b-as33ug7dhv] {
    --notice: #4a4a52;
    --notice-soft: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding: 0.6rem 0.75rem 0.6rem 1rem;
    border: 1px solid color-mix(in srgb, var(--notice) 22%, transparent);
    border-radius: 0.8rem;
    background: var(--notice-soft);
    color: var(--notice);
    font-size: 0.88rem;
}

.tkt-notice > span[b-as33ug7dhv] { flex: 1; min-width: 0; }
.tkt-notice.is-danger[b-as33ug7dhv] { --notice: #c62a2f; --notice-soft: rgba(229, 72, 77, 0.07); }
.tkt-notice.is-warning[b-as33ug7dhv] { --notice: #a85f00; --notice-soft: rgba(240, 140, 0, 0.08); }
.tkt-notice.is-info[b-as33ug7dhv] { --notice: #1f6fbf; --notice-soft: rgba(42, 120, 214, 0.07); }
.tkt-notice.is-compact[b-as33ug7dhv] { margin-bottom: 0.5rem; padding: 0.35rem 0.65rem; font-size: 0.82rem; }

.tkt-notice-close[b-as33ug7dhv] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 0.75rem;
    opacity: 0.7;
}

.tkt-notice-close:hover[b-as33ug7dhv] { opacity: 1; background: color-mix(in srgb, var(--notice) 10%, transparent); }

/* ---------- Reply box: email fields, signature, files, footer ---------- */
.tkt-email-fields[b-as33ug7dhv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.7rem;
    overflow: hidden;
}

.tkt-field[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    padding: 0.1rem 0.75rem;
    min-width: 0;
}

.tkt-field + .tkt-field[b-as33ug7dhv] { border-left: 1px solid rgba(0, 0, 0, 0.07); }

.tkt-field-label[b-as33ug7dhv] {
    flex-shrink: 0;
    padding: 0.4rem 0;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8a8a94;
}

.tkt-field-input[b-as33ug7dhv] {
    flex: 1 1 8rem;
    min-width: 0;
    padding: 0.4rem 0;
    border: 0;
    background: transparent;
    font-size: 0.88rem;
    outline: none;
}

.tkt-suggestion[b-as33ug7dhv] { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 0.5rem; font-size: 0.72rem; }

.tkt-attach[b-as33ug7dhv] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.6rem; }

.tkt-hint[b-as33ug7dhv] { margin-top: 0.5rem; font-size: 0.8rem; color: #8a8a94; }

/* The signature, folded into the hint line. */
.tkt-signature summary[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.6rem;
    list-style: none;
    cursor: pointer;
}

.tkt-signature summary[b-as33ug7dhv]::-webkit-details-marker { display: none; }
.tkt-signature summary > span:first-child[b-as33ug7dhv] { flex: 1 1 18rem; min-width: 0; }
.tkt-signature-toggle[b-as33ug7dhv] { font-weight: 500; color: #1f6fbf; white-space: nowrap; }
.tkt-signature summary:hover .tkt-signature-toggle[b-as33ug7dhv] { text-decoration: underline; }
.tkt-signature[open] .when-closed[b-as33ug7dhv], .tkt-signature:not([open]) .when-open[b-as33ug7dhv] { display: none; }

.tkt-signature-body[b-as33ug7dhv] {
    margin-top: 0.4rem;
    padding: 0.6rem 0.85rem;
    border-radius: 0.7rem;
    background: #fafaf9;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.82rem;
    color: #6c6c76;
}

.tkt-signature-body[b-as33ug7dhv]  p { margin-bottom: 0.25rem; }
.tkt-signature-body > a[b-as33ug7dhv] { display: inline-block; margin-top: 0.25rem; font-size: 0.78rem; }

.tkt-composer-foot[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 1rem 1rem;
    background: #fafaf9;
}

.tkt-foot-label[b-as33ug7dhv] { margin: 0; font-size: 0.8rem; font-weight: 600; color: #8a8a94; }

/* ---------- Sidebar contents ---------- */
.tkt-props[b-as33ug7dhv] {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.tkt-prop-label[b-as33ug7dhv] { margin: 0; font-size: 0.82rem; color: #6c6c76; }

.tkt-prop-select[b-as33ug7dhv] {
    border-color: transparent;
    border-radius: 0.5rem;
    background-color: transparent;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1a1a1e;
    transition: background-color 0.15s, border-color 0.15s;
}

.tkt-prop-select:hover:not(:disabled)[b-as33ug7dhv], .tkt-prop-select:focus[b-as33ug7dhv] { background-color: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.1); }
.tkt-prop-select:disabled[b-as33ug7dhv] { background-image: none; color: #1a1a1e; opacity: 1; }

.tkt-prop-value[b-as33ug7dhv] { padding: 0.25rem 0.5rem; font-size: 0.88rem; }

.tkt-prop-note[b-as33ug7dhv] {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: -0.15rem 0 0.25rem 0.5rem;
    font-size: 0.78rem;
    color: #7c4dff;
}

.tkt-panel-foot[b-as33ug7dhv] {
    margin: 0.85rem -1.1rem -1rem;
    padding: 0.6rem 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 1rem 1rem;
    background: #fafaf9;
    font-size: 0.78rem;
    color: #8a8a94;
}

.tkt-panel-foot .bi[b-as33ug7dhv] { margin-right: 0.3rem; }

.tkt-panel-more[b-as33ug7dhv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
}

.tkt-people[b-as33ug7dhv] { list-style: none; margin: 0; padding: 0; }

.tkt-person-row[b-as33ug7dhv] { display: flex; align-items: flex-start; gap: 0.6rem; }
.tkt-person-row + .tkt-person-row[b-as33ug7dhv] { margin-top: 0.7rem; }
.tkt-person-row .tkt-person-name[b-as33ug7dhv] { font-size: 0.88rem; }
.tkt-person-row .tkt-person-email[b-as33ug7dhv] { color: #6c6c76; }

.tkt-initials-xs[b-as33ug7dhv] { width: 28px; height: 28px; font-size: 0.68rem; }

.tkt-add-contact[b-as33ug7dhv] { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.5rem; }

.tkt-unmatched[b-as33ug7dhv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0.7rem;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    border-radius: 0.6rem;
    font-size: 0.82rem;
    color: #6c6c76;
}

.tkt-account[b-as33ug7dhv] { margin-top: 0.75rem; font-size: 0.85rem; }

.tkt-account-head[b-as33ug7dhv] {
    margin: 0.75rem 0 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #3a3a42;
}

.tkt-account-head:first-child[b-as33ug7dhv] { margin-top: 0; }

.tkt-account-list[b-as33ug7dhv] { list-style: none; margin: 0; padding: 0; }

.tkt-account-list li[b-as33ug7dhv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.1rem 0.4rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tkt-account-list li:last-child[b-as33ug7dhv] { border-bottom: 0; }
.tkt-account-name[b-as33ug7dhv] { font-weight: 500; overflow-wrap: anywhere; }
a.tkt-account-name[b-as33ug7dhv] { color: #1a1a1e; text-decoration: none; }
a.tkt-account-name:hover[b-as33ug7dhv] { text-decoration: underline; }
.tkt-account-list .tkt-muted[b-as33ug7dhv] { font-size: 0.78rem; }

.tkt-tag[b-as33ug7dhv] {
    padding: 0 0.45rem;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.06);
    color: #4a4a52;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.6;
}

.tkt-tag.is-bad[b-as33ug7dhv] { background: rgba(229, 72, 77, 0.12); color: #c62a2f; }
.tkt-tag.is-warn[b-as33ug7dhv] { background: rgba(240, 140, 0, 0.14); color: #a85f00; }

/* The linked records control, slimmed into a panel: its title matches the other panel titles. */
.tkt-linked[b-as33ug7dhv]  .assignment-selector-slim-body > .fw-semibold:first-child {
    margin-bottom: 0.75rem !important;
    font-size: 0.72rem;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a94 !important;
}

.tkt-linked[b-as33ug7dhv]  .empty-state { border-radius: 0.7rem; }
.tkt-linked[b-as33ug7dhv]  .form-control { border-radius: 100px; padding-left: 0.85rem; }

/* ---------- Bar at the top on smaller screens (see ticketBar in ticket-view.js) ---------- */
.tkt-mbar[b-as33ug7dhv] {
    position: fixed;
    top: env(safe-area-inset-top);
    left: 0;
    right: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    height: 3rem;
    padding: 0 calc(0.5rem + env(safe-area-inset-right)) 0 calc(0.4rem + env(safe-area-inset-left));
    background: rgba(26, 26, 30, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f4f4f6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
}

.tkt-mbar[data-shown][b-as33ug7dhv] {
    transform: none;
    visibility: visible;
    transition: transform 0.2s ease, visibility 0s;
}

.tkt-mbar-back[b-as33ug7dhv] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.15rem;
    height: 2.2rem;
    padding: 0 0.75rem 0 0.45rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.tkt-mbar-back:hover[b-as33ug7dhv], .tkt-mbar-back:focus-visible[b-as33ug7dhv] { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

.tkt-mbar-dot[b-as33ug7dhv] { flex-shrink: 0; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--tone-bright, #6bb8ff); }

.tkt-mbar-title[b-as33ug7dhv] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
    color: #d8d8de;
}

.tkt-mbar-title strong[b-as33ug7dhv] { margin-right: 0.2rem; color: #ffffff; }

.tkt-mbar-btn[b-as33ug7dhv] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
}

.tkt-mbar-btn:hover:not(:disabled)[b-as33ug7dhv] { background: rgba(255, 255, 255, 0.18); }
.tkt-mbar-btn:disabled[b-as33ug7dhv] { opacity: 0.6; }

/* From the Home Screen, iOS fades the page out a little way below the status bar, so the bar's buttons sit below
   that fade (as the logo does; see MainLayout.razor.css). */
@media (display-mode: standalone) {
    .tkt-mbar[b-as33ug7dhv] { height: 4.25rem; padding-top: 1.25rem; }
}

/* Beside the app's sidebar, which sits on the left from 641px. */
@media (min-width: 641px) {
    .tkt-mbar[b-as33ug7dhv] { left: 250px; }
}

/* Large screens: the conversation scrolls on its own, so the header stays in view. */
@media (min-width: 992px) {
    .tkt-mbar[b-as33ug7dhv] { display: none; }
}

/* ---------- Status, priority and assignee under the header, below 992px ---------- */
.tkt-quick[b-as33ug7dhv] { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: -0.5rem 0 1rem; }

.tkt-quick-item[b-as33ug7dhv] {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.tkt-quick-item > .bi[b-as33ug7dhv],
.tkt-quick-dot[b-as33ug7dhv] {
    position: absolute;
    left: 0.7rem;
    z-index: 1;
    pointer-events: none;
    color: #6c6c76;
    font-size: 0.85rem;
}

.tkt-quick-dot[b-as33ug7dhv] { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--tone, #1f7fd1); }

.tkt-quick-select[b-as33ug7dhv] {
    width: auto;
    max-width: 100%;
    padding: 0.3rem 2rem 0.3rem 1.75rem;
    border-radius: 100px;
    border-color: rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    font-weight: 500;
    text-overflow: ellipsis;
}

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
    .tkt-hero-inner[b-as33ug7dhv] { padding: 0.7rem 1.1rem; }
    .tkt-email-fields[b-as33ug7dhv] { grid-template-columns: minmax(0, 1fr); }
    .tkt-field + .tkt-field[b-as33ug7dhv] { border-left: 0; border-top: 1px solid rgba(0, 0, 0, 0.07); }
    .tkt-msg[b-as33ug7dhv] { gap: 0.55rem; }
    .tkt-msg-avatar[b-as33ug7dhv] { transform: scale(0.85); transform-origin: top left; }
    .tkt-thread[b-as33ug7dhv]::before { left: 14px; }
    .tkt-msg-time[b-as33ug7dhv] { margin-left: 0; flex-basis: 100%; }
    .tkt-msg-head[b-as33ug7dhv] { padding-left: 0.8rem; }
    .tkt-msg-body[b-as33ug7dhv] { padding: 0.8rem; }
    .tkt-composer-foot .btn-primary[b-as33ug7dhv] { margin-left: 0 !important; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .tkt-hero[aria-busy="true"] .tkt-hero-dot[b-as33ug7dhv] { animation: none; }
    .tkt-ai-btn[b-as33ug7dhv], .tkt-seg-btn[b-as33ug7dhv], .tkt-chip-btn[b-as33ug7dhv], .tkt-icon-btn[b-as33ug7dhv], .tkt-prop-select[b-as33ug7dhv], .tkt-mbar[b-as33ug7dhv], .tkt-mbar[data-shown][b-as33ug7dhv] { transition: none; }
}
/* /Components/Pages/Tickets.razor.rz.scp.css */
/* ---------- Hero: the same brand look as the Today page, shorter ---------- */
.desk-hero[b-qsigy3g668] {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(42, 120, 214, 0.28) 0%, rgba(42, 120, 214, 0) 45%),
        radial-gradient(90% 120% at 0% 100%, rgba(108, 241, 39, 0.16) 0%, rgba(108, 241, 39, 0) 50%),
        var(--brand-dark, #1a1a1e);
    color: #f4f4f6;
    box-shadow: 0 10px 30px rgba(26, 26, 30, 0.18);
}

.desk-hero[b-qsigy3g668]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
    pointer-events: none;
}

.desk-hero-inner[b-qsigy3g668] {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.6rem 2rem;
}

.desk-hero-text[b-qsigy3g668] { flex: 1; min-width: 0; }

.desk-kicker[b-qsigy3g668] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 244, 246, 0.65);
    margin-bottom: 0.7rem;
}

.desk-live-dot[b-qsigy3g668] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #6bb8ff;
    animation: desk-pulse-b-qsigy3g668 2.4s ease-out infinite;
}

@keyframes desk-pulse-b-qsigy3g668 {
    0%   { box-shadow: 0 0 0 0 rgba(107, 184, 255, 0.55); }
    70%  { box-shadow: 0 0 0 0.55rem rgba(107, 184, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(107, 184, 255, 0); }
}

.desk-headline[b-qsigy3g668] {
    font-family: var(--app-font-heading);
    font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.45rem;
    color: #ffffff;
}

.desk-headline-accent[b-qsigy3g668] { color: #6bb8ff; }
.desk-headline-muted[b-qsigy3g668] { color: rgba(244, 244, 246, 0.5); }

.desk-sub[b-qsigy3g668] {
    color: rgba(244, 244, 246, 0.7);
    margin-bottom: 1.1rem;
    min-height: 1.5em;
}

.desk-chips[b-qsigy3g668] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.desk-chip[b-qsigy3g668] {
    --dot: rgba(244, 244, 246, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(244, 244, 246, 0.85);
    font-size: 0.82rem;
    transition: background 0.15s, transform 0.1s;
}

.desk-chip:hover[b-qsigy3g668] { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }

.desk-chip.is-active[b-qsigy3g668] {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--brand-dark, #1a1a1e);
}

.desk-chip-dot[b-qsigy3g668] { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--dot); }
.desk-chip-count[b-qsigy3g668] { font-weight: 700; font-variant-numeric: tabular-nums; }

.queue-open[b-qsigy3g668] { --dot: #6cf127; }
.queue-needsreply[b-qsigy3g668] { --dot: #6bb8ff; }
.queue-todo[b-qsigy3g668] { --dot: #ff7a7e; }
.queue-unassigned[b-qsigy3g668] { --dot: #ffc24d; }
.queue-mine[b-qsigy3g668] { --dot: #b39dff; }
.queue-waitingoncustomer[b-qsigy3g668] { --dot: #ffd98a; }
.queue-onhold[b-qsigy3g668] { --dot: #a8a6a0; }
.queue-resolved[b-qsigy3g668] { --dot: #7ee2a0; }
.queue-all[b-qsigy3g668] { --dot: #f4f4f6; }

.desk-wait[b-qsigy3g668] {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 8.5rem;
    height: 8.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(107, 184, 255, 0.35);
    background: radial-gradient(circle, rgba(107, 184, 255, 0.14) 0%, rgba(107, 184, 255, 0.02) 70%);
    text-align: center;
}

.desk-wait-number[b-qsigy3g668] {
    font-family: var(--app-font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.desk-wait-caption[b-qsigy3g668] {
    margin-top: 0.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244, 244, 246, 0.6);
}

/* ---------- List ---------- */
.desk-list[b-qsigy3g668] {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
    padding: 0.5rem;
}

.desk-list-header[b-qsigy3g668] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
    padding: 0.75rem 0.85rem 0.6rem;
}

.desk-list-title[b-qsigy3g668] {
    font-family: var(--app-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.desk-list-count[b-qsigy3g668] { font-size: 0.85rem; color: #6c6c76; }

.desk-row[b-qsigy3g668] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0.85rem 0.75rem 1rem;
    border-radius: 0.75rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, opacity 0.15s;
}

.desk-row + .desk-row[b-qsigy3g668] { margin-top: 2px; }

/* Priority stripe: only urgent and high show one. */
.desk-row[b-qsigy3g668]::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.85rem;
    bottom: 0.85rem;
    width: 3px;
    border-radius: 3px;
    background: transparent;
}

.desk-row.priority-urgent[b-qsigy3g668]::before { background: #e5484d; }
.desk-row.priority-high[b-qsigy3g668]::before { background: #f08c00; }

.desk-row:hover[b-qsigy3g668] { background: rgba(0, 0, 0, 0.03); color: inherit; }

.desk-row.is-opening[b-qsigy3g668] { background: var(--tone-soft); opacity: 0.75; }

.desk-row-icon[b-qsigy3g668] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.7rem;
    background: var(--tone-soft);
    color: var(--tone);
    font-size: 1rem;
}

.desk-row-main[b-qsigy3g668] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.desk-row-title[b-qsigy3g668] {
    display: flex;
    gap: 0.45rem;
    align-items: baseline;
    min-width: 0;
}

.desk-row-number[b-qsigy3g668] {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #8a8a94;
    font-variant-numeric: tabular-nums;
}

.desk-row-subject[b-qsigy3g668] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #1a1a1e;
}

.desk-row.is-unread .desk-row-subject[b-qsigy3g668] { font-weight: 700; }

.desk-row-meta[b-qsigy3g668] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0.5rem;
    font-size: 0.82rem;
    color: #6c6c76;
    min-width: 0;
}

.desk-row-customer[b-qsigy3g668]::before { content: '·'; margin-right: 0.5rem; color: #b5b5bd; }

.desk-row-category[b-qsigy3g668] {
    padding: 0 0.45rem;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.05);
    color: #4a4a52;
    font-size: 0.75rem;
    line-height: 1.5;
}

.desk-row-category.is-guess[b-qsigy3g668] { background: transparent; border: 1px dashed rgba(0, 0, 0, 0.18); color: #6c6c76; }

.desk-row-side[b-qsigy3g668] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.desk-pill[b-qsigy3g668] {
    padding: 0.15rem 0.55rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.desk-pill-status[b-qsigy3g668] { background: var(--tone-soft); color: var(--tone); }
.priority-urgent .desk-pill-priority[b-qsigy3g668] { background: rgba(229, 72, 77, 0.12); color: #c62a2f; }
.priority-high .desk-pill-priority[b-qsigy3g668] { background: rgba(240, 140, 0, 0.14); color: #a85f00; }

.desk-row-assignee[b-qsigy3g668] { display: inline-flex; }

.desk-unassigned[b-qsigy3g668] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 0, 0, 0.25);
    color: #9a9aa4;
    font-size: 0.8rem;
}

.desk-row-when[b-qsigy3g668] {
    min-width: 5.5rem;
    text-align: right;
    font-size: 0.8rem;
    color: #6c6c76;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.desk-row-when.is-slow[b-qsigy3g668] { color: #b86e00; font-weight: 600; }
.desk-row-when.is-late[b-qsigy3g668] { color: #d6383d; font-weight: 600; }

.desk-row-go[b-qsigy3g668] {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9a9aa4;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.desk-row:hover .desk-row-go[b-qsigy3g668] { background: var(--brand-dark, #1a1a1e); color: #ffffff; transform: translateX(2px); }
.desk-row.is-opening .desk-row-go[b-qsigy3g668] { color: var(--tone); background: transparent; }

.desk-list-footer[b-qsigy3g668] { padding: 0.5rem; }

/* Loading and empty */
.desk-skeleton[b-qsigy3g668] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
}

.desk-skeleton-icon[b-qsigy3g668],
.desk-skeleton-lines span[b-qsigy3g668] {
    background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.09) 50%, rgba(0,0,0,0.05) 100%);
    background-size: 200% 100%;
    animation: desk-shimmer-b-qsigy3g668 1.3s ease-in-out infinite;
}

.desk-skeleton-icon[b-qsigy3g668] { width: 2.3rem; height: 2.3rem; border-radius: 0.7rem; flex-shrink: 0; }
.desk-skeleton-lines[b-qsigy3g668] { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; }
.desk-skeleton-lines span[b-qsigy3g668] { display: block; height: 0.7rem; border-radius: 4px; }
.desk-skeleton-lines span:first-child[b-qsigy3g668] { width: 55%; }
.desk-skeleton-lines span:last-child[b-qsigy3g668] { width: 30%; }

@keyframes desk-shimmer-b-qsigy3g668 {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.desk-empty[b-qsigy3g668] { text-align: center; padding: 2.5rem 1rem; }

.desk-empty-badge[b-qsigy3g668] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(42, 120, 214, 0.1);
    color: #1f7fd1;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.desk-empty-title[b-qsigy3g668] { font-weight: 700; }
.desk-empty-sub[b-qsigy3g668] { color: #6c6c76; font-size: 0.9rem; }

/* ---------- Small screens: the side details move under the subject ---------- */
@media (max-width: 767.98px) {
    /* The search takes the full width; the three filters share the row below. */
    .desk-toolbar[b-qsigy3g668]  form > .d-flex { flex-wrap: wrap; }
    .desk-toolbar[b-qsigy3g668]  form > .d-flex > .input-group { flex-basis: 100%; }
    .desk-toolbar[b-qsigy3g668]  form > .d-flex > .form-select { flex: 1 1 0; min-width: 0; width: auto !important; }
    .desk-hero-inner[b-qsigy3g668] { padding: 1.3rem 1.25rem; }
    .desk-row[b-qsigy3g668] { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
    .desk-row-main[b-qsigy3g668] { flex-basis: calc(100% - 3.2rem); }
    .desk-row-side[b-qsigy3g668] { width: 100%; padding-left: 3.05rem; gap: 0.5rem; flex-wrap: wrap; }
    .desk-row-when[b-qsigy3g668] { min-width: 0; margin-left: auto; }
    .desk-row-go[b-qsigy3g668] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .desk-live-dot[b-qsigy3g668], .desk-skeleton-icon[b-qsigy3g668], .desk-skeleton-lines span[b-qsigy3g668] { animation: none; }
    .desk-row[b-qsigy3g668], .desk-chip[b-qsigy3g668], .desk-row-go[b-qsigy3g668] { transition: none; }
}
/* /Components/Pages/WebsiteDetailsTabNav.razor.rz.scp.css */
.website-details-section-switcher[b-7mcbz9lu2u] {
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.website-details-section-toggle[b-7mcbz9lu2u] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.5rem 0.9rem 0;
    border: 0;
    border-bottom: 1px solid var(--app-border);
    border-radius: 0;
    background: transparent;
    color: var(--app-text-secondary);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.website-details-section-toggle:focus[b-7mcbz9lu2u],
.website-details-section-toggle:focus-visible[b-7mcbz9lu2u] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 241, 39, 0.22);
}

.website-details-section-current[b-7mcbz9lu2u],
.website-details-section-caret[b-7mcbz9lu2u] {
    padding-bottom: calc(0.5rem - 2px);
    border-bottom: 2px solid transparent;
}

.website-details-section-current[b-7mcbz9lu2u] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    border-bottom-color: var(--app-accent);
    color: var(--app-accent-text);
    font-weight: 600;
}

.website-details-section-current-label[b-7mcbz9lu2u] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-details-section-caret[b-7mcbz9lu2u] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.25rem;
    color: var(--app-text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.website-details-section-menu[b-7mcbz9lu2u] {
    min-width: 0;
    max-width: 100%;
    max-height: 70vh;
    overflow-y: auto;
}

.website-details-section-menu.show[b-7mcbz9lu2u] {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    transform: none;
}

.website-details-section-menu .dropdown-item[b-7mcbz9lu2u] {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: normal;
    text-align: left;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .website-details-section-menu.show[b-7mcbz9lu2u] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .website-details-section-menu > li[b-7mcbz9lu2u] {
        min-width: 0;
    }

    .website-details-section-span[b-7mcbz9lu2u] {
        grid-column: 1 / -1;
    }
}

.website-details-tabs .nav-link[b-7mcbz9lu2u] {
    white-space: nowrap;
}

.website-details-tabs-group-prefix[b-7mcbz9lu2u] {
    color: var(--app-text-secondary);
    font-weight: 400;
}

/* The tabs sit in the website page's dark header, styled as its chips (see .pg-chip in app.css). */
.website-details-tabs[b-7mcbz9lu2u] {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0 !important;
    border-bottom: 0;
}

.website-details-tabs .nav-link[b-7mcbz9lu2u] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(244, 244, 246, 0.85);
    font-size: 0.82rem;
    transition: background 0.15s;
}

.website-details-tabs .nav-link:hover[b-7mcbz9lu2u] { background: rgba(255, 255, 255, 0.1); color: #ffffff; }

.website-details-tabs .nav-link.active[b-7mcbz9lu2u],
.website-details-tabs .nav-item.show .nav-link[b-7mcbz9lu2u] {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--brand-dark, #1a1a1e);
}

.website-details-tabs .nav-link i[b-7mcbz9lu2u] { margin-right: 0 !important; opacity: 0.75; }
.website-details-tabs .nav-link .website-details-tabs-group-prefix[b-7mcbz9lu2u] { color: rgba(244, 244, 246, 0.6); }
.website-details-tabs .nav-link.active .website-details-tabs-group-prefix[b-7mcbz9lu2u] { color: #6c6c76; }

.website-details-section-switcher[b-7mcbz9lu2u] { margin-bottom: 0 !important; }

.website-details-section-toggle[b-7mcbz9lu2u] {
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(244, 244, 246, 0.7);
}

.website-details-section-current[b-7mcbz9lu2u],
.website-details-section-caret[b-7mcbz9lu2u] { padding-bottom: 0; border-bottom: 0; }
.website-details-section-current[b-7mcbz9lu2u] { color: #ffffff; }
.website-details-section-caret[b-7mcbz9lu2u] { color: rgba(244, 244, 246, 0.6); }

@media (prefers-reduced-motion: reduce) {
    .website-details-tabs .nav-link[b-7mcbz9lu2u] { transition: none; }
}
/* /Components/Pages/WebsiteDetailsTabs/ApplicationPluginsTab.razor.rz.scp.css */
/* Row styles live in PluginInventoryRow.razor.css: scoped styles here don't reach that component.
   Full width (stacked buttons) on phones; beside the card title from md up. */
.plugin-toolbar[b-4xvcaqzbtu] {
    width: 100%;
}

@media (min-width: 768px) {
    .plugin-toolbar[b-4xvcaqzbtu] {
        width: auto;
    }
}

.plugin-search[b-4xvcaqzbtu] {
    width: 16rem;
}

@media (max-width: 767.98px) {
    .plugins-table thead[b-4xvcaqzbtu] {
        display: none;
    }

    .plugin-search[b-4xvcaqzbtu] {
        width: 100%;
    }

    .plugins-table tbody.plugin-group tr.plugin-group-header-row[b-4xvcaqzbtu],
    .plugins-table tbody.plugin-group tr.plugin-group-header-row[b-4xvcaqzbtu] >  th {
        display: block;
        width: 100%;
    }

}

.plugins-table.table-hover > tbody > tr.plugin-group-header-row:hover[b-4xvcaqzbtu] >  th {
    --bs-table-bg-state: var(--bs-tertiary-bg);
    background-color: var(--bs-tertiary-bg);
}

/* /Components/Pages/WebsiteDetailsTabs/PluginGroupHeaderCell.razor.rz.scp.css */
/* Lives with this component so the flex gap is not dropped by the parent tab's scoped CSS.
   html is 15px, so 0.5rem is 7.5px; badges need at least 8px between them and the link label. */
.plugin-group-header-layout[b-0f22jr7qwa] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.plugin-group-header-layout > *[b-0f22jr7qwa] {
    max-width: 100%;
}

.plugin-group-safe-update[b-0f22jr7qwa] {
    width: 100%;
}

@media (min-width: 768px) {
    .plugin-group-header-layout[b-0f22jr7qwa] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .plugin-group-safe-update[b-0f22jr7qwa] {
        width: auto;
        margin-left: auto;
    }
}
/* /Components/Pages/WebsiteDetailsTabs/PluginInventoryRow.razor.rz.scp.css */
/* A plugin row. These lived in ApplicationPluginsTab.razor.css, where scoped styles never reached this component. */

/* Actions: one joined group, right-aligned on desktop; full width under the plugin details on phones. */
.plugin-actions-cell[b-4s2bva1jms] {
    white-space: nowrap;
}

.plugin-action-group[b-4s2bva1jms] {
    border-radius: 100px;
}

.plugin-action[b-4s2bva1jms] {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

/* Descriptions can run to a paragraph; two lines is enough to recognise the plugin (full text on hover). */
.plugin-description[b-4s2bva1jms] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 42rem;
}

.plugin-update-menu[b-4s2bva1jms] {
    max-width: 18rem;
}

.plugin-lifecycle-action[b-4s2bva1jms] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Activate and Deactivate share a width so the update buttons line up down the column. */
@media (min-width: 768px) {
    .plugin-lifecycle-action[b-4s2bva1jms] {
        min-width: 7.25rem;
    }

    td.plugin-group-member-name[b-4s2bva1jms] {
        border-left: 3px solid var(--bs-primary-border-subtle);
        padding-left: 1.5rem;
    }
}

/* Inactive plugins recede. Actions stay at full strength, and so do vulnerabilities: an inactive
   plugin's code is still on the server and still exploitable. */
.plugin-row-inactive > td:not(.plugin-actions-cell):not(.plugin-vulnerability-cell)[b-4s2bva1jms] {
    opacity: 0.6;
}

button.plugin-row-group[b-4s2bva1jms] {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

@media (max-width: 767.98px) {
    .plugins-table tbody tr[b-4s2bva1jms] {
        display: block;
        border-bottom: 1px solid var(--app-border);
    }

    .plugins-table tbody td[b-4s2bva1jms] {
        display: block;
        border-bottom: 0;
    }

    .plugins-table tbody td.plugin-actions-cell[b-4s2bva1jms] {
        padding-top: 0;
        padding-bottom: 0.9rem;
        text-align: left;
        white-space: normal;
    }

    .plugin-action-group[b-4s2bva1jms],
    .plugin-lifecycle-action[b-4s2bva1jms] {
        width: 100%;
    }

    .plugin-action-group > .plugin-action[b-4s2bva1jms] {
        flex: 1 1 0;
        justify-content: center;
        white-space: nowrap;
    }

    .plugin-action-group > .plugin-action-more[b-4s2bva1jms] {
        flex: 0 0 auto;
    }

    tr.plugin-group-member[b-4s2bva1jms] {
        border-left: 3px solid var(--bs-primary-border-subtle);
    }

    tr.plugin-group-member > td:first-child[b-4s2bva1jms] {
        padding-left: 1rem;
    }
}
/* /Components/Pages/WebsiteDetailsTabs/WebsiteDetailsBackupsTab.razor.rz.scp.css */
/* Backups list: quiet header, content chips, technical detail tucked into a disclosure. */
.backups-table[b-mwaqpn3owz] {
    --bs-table-bg: transparent;
    font-size: 0.925rem;
}

.backups-table thead th[b-mwaqpn3owz] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--app-text-muted);
    border-bottom: 1px solid var(--app-border);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    white-space: nowrap;
}

.backups-table tbody td[b-mwaqpn3owz] {
    border-bottom: 1px solid var(--app-border-subtle);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: top;
}

.backups-table tbody tr[b-mwaqpn3owz] {
    transition: background-color 0.12s ease;
}

.backups-table tbody tr:hover[b-mwaqpn3owz] {
    background-color: var(--app-bg);
}

.backups-table tbody td.backup-actions-cell[b-mwaqpn3owz] {
    vertical-align: middle;
}

.backup-date[b-mwaqpn3owz] {
    font-weight: 600;
    color: var(--app-text);
    white-space: nowrap;
}

.backup-meta[b-mwaqpn3owz] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.backup-meta .bi[b-mwaqpn3owz] {
    margin-right: 0.15rem;
}

.backup-size[b-mwaqpn3owz] {
    font-variant-numeric: tabular-nums;
    color: var(--app-text-secondary);
}

/* Contents chips */
.backup-chip[b-mwaqpn3owz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: var(--app-radius-sm);
    border: 1px solid var(--app-border);
    background-color: var(--app-surface);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--app-text);
    white-space: nowrap;
}

.backup-chip .bi[b-mwaqpn3owz] {
    color: var(--app-text-muted);
}

.backup-chip-count[b-mwaqpn3owz] {
    color: var(--app-text-muted);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.backup-link[b-mwaqpn3owz] {
    font-size: 0.8rem;
    color: var(--app-text-secondary);
}

.backup-link:hover[b-mwaqpn3owz] {
    color: var(--app-accent-text);
}

.backup-error[b-mwaqpn3owz] {
    font-size: 0.8rem;
    max-width: 22rem;
}

.backup-contents[b-mwaqpn3owz] {
    font-size: 0.85rem;
    color: var(--app-text-secondary);
    white-space: nowrap;
}

/* Details disclosure: source URL, exclusions, manifest */
.backup-details[b-mwaqpn3owz] {
    margin-top: 0.25rem;
    font-size: 0.78rem;
}

.backup-details summary[b-mwaqpn3owz] {
    cursor: pointer;
    color: var(--app-text-muted);
    width: fit-content;
    user-select: none;
}

.backup-details summary:hover[b-mwaqpn3owz] {
    color: var(--app-text-secondary);
}

.backup-details dl[b-mwaqpn3owz] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.75rem;
    margin: 0.4rem 0 0;
    padding: 0.5rem 0.65rem;
    border-radius: var(--app-radius-sm);
    background-color: var(--app-bg);
}

.backup-details dt[b-mwaqpn3owz] {
    font-weight: 500;
    color: var(--app-text-secondary);
}

.backup-details dd[b-mwaqpn3owz] {
    margin: 0;
    color: var(--app-text);
    word-break: break-all;
}

.backups-table tfoot td[b-mwaqpn3owz] {
    border-bottom: 0;
    border-top: 1px solid var(--app-border);
    padding-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--app-text-secondary);
    font-variant-numeric: tabular-nums;
}

.backups-empty[b-mwaqpn3owz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 2rem 1rem;
    color: var(--app-text-muted);
    text-align: center;
}

.backups-empty .bi[b-mwaqpn3owz] {
    font-size: 1.75rem;
}

/* At-a-glance line above the list: last good backup, recent failures, schedule.
   Layout only; colours come from the card / alert classes on the element. */
.backup-health[b-mwaqpn3owz] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.5rem 1rem;
}

.backup-actions[b-mwaqpn3owz] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.deploy-message[b-mwaqpn3owz] {
    min-width: 16rem;
}

/* Host (Enhance) snapshots grouped by day */
.host-backup-day + .host-backup-day[b-mwaqpn3owz] {
    margin-top: 0.9rem;
}

.host-backup-day-header[b-mwaqpn3owz] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--app-border);
    font-size: 0.9rem;
}

.host-backup-row[b-mwaqpn3owz] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--app-border-subtle);
    font-size: 0.875rem;
}

.host-backup-time[b-mwaqpn3owz] {
    min-width: 4.5rem;
    font-variant-numeric: tabular-nums;
}

/* Phones: each backup becomes a stacked card instead of a squeezed two-column table. */
@media (max-width: 767.98px) {
    .backups-table thead[b-mwaqpn3owz] {
        display: none;
    }

    .backups-table tbody tr[b-mwaqpn3owz] {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 0.75rem;
        border-bottom: 1px solid var(--app-border-subtle);
        padding: 0.75rem 0;
    }

    .backups-table tbody td[b-mwaqpn3owz] {
        display: block;
        border-bottom: 0;
        padding: 0;
    }

    .backups-table tbody td.backup-when[b-mwaqpn3owz] {
        grid-column: 1;
    }

    .backups-table tbody td.backup-actions-cell[b-mwaqpn3owz] {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
    }

    .backups-table tbody td:nth-child(2)[b-mwaqpn3owz] {
        grid-column: 1;
        margin-top: 0.35rem;
    }

    .backups-table tfoot tr[b-mwaqpn3owz] {
        display: block;
    }

    .backups-table tfoot td[b-mwaqpn3owz] {
        display: block;
    }

    .backups-table tfoot td:empty[b-mwaqpn3owz] {
        display: none;
    }
}
/* /Components/Pages/WebsiteDetailsTabs/WebsiteDetailsDnsTab.razor.rz.scp.css */
/* The shared DnsQueryResultTable draws its own card; inside this headed card it should sit flat,
   not as a second bordered box. Scoped here so the table's other pages are unchanged. */
.dns-records-card[b-3a297uarxf]  .card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.dns-records-card[b-3a297uarxf]  .card-body {
    padding-top: 0.5rem;
}
/* /Components/Pages/WebsiteDetailsTabs/WebsiteDetailsOverviewTab.razor.rz.scp.css */
/* Only tiles that go somewhere lift on hover; the shared .dash-stat-card lifts every tile. */
.overview-stat:not(.overview-stat-link):hover[b-whsc2msh3j] {
    box-shadow: var(--bs-box-shadow-sm) !important;
    transform: none;
}

.overview-stat-link[b-whsc2msh3j] {
    cursor: pointer;
    background: var(--bs-card-bg, #fff);
    color: inherit;
}

.overview-stat-link:focus-visible[b-whsc2msh3j] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 241, 39, 0.35) !important;
}

.overview-stat-chevron[b-whsc2msh3j] {
    margin-left: auto;
    color: var(--app-text-secondary);
    opacity: 0.45;
    transition: opacity 0.15s, transform 0.15s;
}

.overview-stat-link:hover .overview-stat-chevron[b-whsc2msh3j],
.overview-stat-link:focus-visible .overview-stat-chevron[b-whsc2msh3j] {
    opacity: 1;
    transform: translateX(2px);
}

.overview-backup-strip[b-whsc2msh3j] {
    display: flex;
    gap: 3px;
}

.overview-backup-cell[b-whsc2msh3j] {
    flex: 1 1 0;
    max-width: 28px;
    height: 20px;
    border-radius: 3px;
}

.overview-details dt[b-whsc2msh3j] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--app-text-secondary);
}

.overview-details dd[b-whsc2msh3j] {
    margin-bottom: 0.65rem;
}

.overview-details dd:last-child[b-whsc2msh3j] {
    margin-bottom: 0;
}

/* The app's default switch is dark when on, which reads the same as off at a glance. */
.overview-monitoring-switch .form-check-input:checked[b-whsc2msh3j] {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

/* Customer / Linked Entities sit in the Details card: give their titles the same small uppercase
   label as the details above, and show "none yet" as a plain line rather than a large dashed box.
   Scoped here, so the selectors keep their usual look on Task Details and elsewhere. */
.overview-sidebar-selectors[b-whsc2msh3j]  .assignment-selector-slim-body > .text-muted.small.fw-semibold {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--app-text-secondary) !important;
    margin-bottom: 0.35rem !important;
}

.overview-sidebar-selectors[b-whsc2msh3j]  .empty-state {
    background: none;
    border: 0;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
    text-align: left !important;
}

.overview-sidebar-selectors[b-whsc2msh3j]  .empty-state .empty-icon {
    display: none;
}

/* Anchor each selector's search dropdown to its own input width, not the whole card. */
.overview-sidebar-selectors[b-whsc2msh3j]  .assignment-selector-slim {
    position: relative;
}
/* /Components/Pages/WebsiteDetailsTabs/WebsiteSafeUpdatesPanel.razor.rz.scp.css */
/* WordPress and PHP cards, side by side from lg up. */
.safe-cards[b-7xwe44yyru] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .safe-cards[b-7xwe44yyru] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.safe-card[b-7xwe44yyru] {
    --safe-tone: #4a4a52;
    --safe-tone-soft: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
}

.safe-card.is-warn[b-7xwe44yyru] { --safe-tone: #a85f00; --safe-tone-soft: rgba(240, 140, 0, 0.12); }
.safe-card.is-bad[b-7xwe44yyru] { --safe-tone: #c62a2f; --safe-tone-soft: rgba(229, 72, 77, 0.1); }

.safe-card-icon[b-7xwe44yyru] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.7rem;
    background: var(--safe-tone-soft);
    color: var(--safe-tone);
    font-size: 1.05rem;
}

.safe-card-main[b-7xwe44yyru] { flex: 1; min-width: 0; }

.safe-card-title[b-7xwe44yyru] {
    margin: 0 0 0.2rem;
    font-family: var(--app-font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.safe-card-facts[b-7xwe44yyru] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.82rem;
    color: #4a4a52;
}

.safe-card-note[b-7xwe44yyru] {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #8a8a94;
}

.safe-card-actions[b-7xwe44yyru] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
}

@media (max-width: 575.98px) {
    .safe-card[b-7xwe44yyru] { flex-wrap: wrap; }
    .safe-card-actions[b-7xwe44yyru] { width: 100%; padding-left: 3.15rem; flex-direction: row; flex-wrap: wrap; }
}

/* Safe update modal */
.su-backdrop[b-7xwe44yyru] {
    display: block;
    background-color: rgba(26, 26, 30, 0.55);
    backdrop-filter: blur(3px);
}

.su-modal[b-7xwe44yyru] {
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.su-header[b-7xwe44yyru] {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem 1.5rem 1rem;
}

.su-header-icon[b-7xwe44yyru] {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--app-accent-subtle);
    border: 1px solid var(--app-accent-border);
    color: var(--app-accent-text);
    font-size: 1.2rem;
}

.su-title[b-7xwe44yyru] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.su-subtitle[b-7xwe44yyru] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-top: 0.2rem;
    color: var(--app-text-secondary);
    font-size: 0.875rem;
}

.su-version[b-7xwe44yyru] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: var(--app-surface-raised);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.su-version-to[b-7xwe44yyru] {
    color: var(--app-accent-text);
    font-weight: 600;
}

/* Review → Confirm indicator */
.su-wizard-steps[b-7xwe44yyru] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0 1.5rem 1rem;
    list-style: none;
    border-bottom: 1px solid var(--app-border-subtle);
    color: var(--app-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.su-wizard-steps li[b-7xwe44yyru] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.su-wizard-dot[b-7xwe44yyru] {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    border: 1px solid var(--app-border);
    font-size: 0.72rem;
    font-weight: 600;
}

.su-wizard-steps .is-current[b-7xwe44yyru] {
    color: var(--app-text);
}

.su-wizard-steps .is-current .su-wizard-dot[b-7xwe44yyru] {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.su-wizard-steps .is-done[b-7xwe44yyru] {
    color: var(--app-accent-text);
}

.su-wizard-steps .is-done .su-wizard-dot[b-7xwe44yyru] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--brand-dark);
}

.su-wizard-line[b-7xwe44yyru] {
    flex: 0 0 2.5rem;
    height: 2px;
    border-radius: 1px;
    background: var(--app-border);
}

.su-wizard-line.is-done[b-7xwe44yyru] {
    background: var(--app-accent);
}

.su-body[b-7xwe44yyru] {
    padding: 1.25rem 1.5rem;
}

.su-header + .su-body[b-7xwe44yyru] {
    border-top: 1px solid var(--app-border-subtle);
}

.su-callout[b-7xwe44yyru] {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: var(--app-radius);
    background: var(--app-accent-subtle);
    border: 1px solid var(--app-accent-border);
    color: var(--app-text);
}

.su-callout .bi[b-7xwe44yyru] {
    color: var(--app-accent-text);
    font-size: 1.1rem;
    line-height: 1.4;
}

.su-section-label[b-7xwe44yyru] {
    margin-bottom: 0.5rem;
    color: var(--app-text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.su-meta[b-7xwe44yyru] {
    color: var(--app-text-secondary);
    font-size: 0.82rem;
}

.su-list[b-7xwe44yyru] {
    margin-top: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    overflow: hidden;
}

.su-list > li[b-7xwe44yyru] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
}

.su-list > li + li[b-7xwe44yyru],
.su-shot-group + .su-shot-group[b-7xwe44yyru] {
    border-top: 1px solid var(--app-border-subtle);
}

.su-list > li > .bi[b-7xwe44yyru] {
    color: var(--app-text-muted);
    line-height: 1.4;
}

.su-list > li > .bi.text-success[b-7xwe44yyru],
.su-list > li > .bi.text-danger[b-7xwe44yyru],
.su-list > li > .bi.text-warning[b-7xwe44yyru] {
    font-size: 1rem;
}

/* Auto-restore toggle row */
.su-option[b-7xwe44yyru] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.su-option:hover[b-7xwe44yyru] {
    border-color: var(--app-accent-border);
    background: var(--app-accent-subtle);
}

.su-option-fixed[b-7xwe44yyru] {
    cursor: default;
}

.su-option-fixed:hover[b-7xwe44yyru] {
    border-color: var(--app-border);
    background: transparent;
}

.su-member-names[b-7xwe44yyru] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.su-option-icon[b-7xwe44yyru] {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.6rem;
    background: var(--app-surface-raised);
    color: var(--app-text-secondary);
}

.su-option .form-switch .form-check-input[b-7xwe44yyru] {
    width: 2.4rem;
    height: 1.3rem;
    margin: 0;
    cursor: pointer;
}

.su-option .form-check-input:checked[b-7xwe44yyru] {
    background-color: var(--app-accent-text);
    border-color: var(--app-accent-text);
}

/* Run progress */
.su-status-card[b-7xwe44yyru] {
    padding: 1rem 1.1rem;
    border-radius: var(--app-radius);
    background: var(--app-surface-raised);
}

.su-stage[b-7xwe44yyru] {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.su-track[b-7xwe44yyru] {
    display: flex;
    gap: 3px;
}

.su-track-segment[b-7xwe44yyru] {
    flex: 1 1 0;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.su-track-segment.is-done[b-7xwe44yyru] {
    background: var(--app-accent);
}

.su-track-segment.is-current[b-7xwe44yyru] {
    background: var(--app-accent);
    animation: su-pulse-b-7xwe44yyru 1.4s ease-in-out infinite;
}

.su-track-segment.is-stopped[b-7xwe44yyru] {
    background: var(--bs-danger);
}

@keyframes su-pulse-b-7xwe44yyru {
    50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
    .su-track-segment.is-current[b-7xwe44yyru] {
        animation: none;
    }
}

/* Screenshots */
.su-shot[b-7xwe44yyru] {
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-surface-raised);
}

.su-shot img[b-7xwe44yyru] {
    display: block;
    max-width: 100%;
    max-height: 22rem;
    margin: 0 auto;
    border-radius: var(--app-radius-sm);
    background: #fff;
}

.su-shot figcaption[b-7xwe44yyru] {
    margin-top: 0.4rem;
    color: var(--app-text-secondary);
    font-size: 0.8rem;
    text-align: center;
}

.su-shot-group[b-7xwe44yyru] {
    padding: 0.65rem 0.9rem;
}

.su-shot-group-title[b-7xwe44yyru] {
    font-size: 0.82rem;
    font-weight: 600;
}

.su-shot-row[b-7xwe44yyru] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.su-viewport[b-7xwe44yyru] {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--app-surface-raised);
    color: var(--app-text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
}

.su-footer[b-7xwe44yyru] {
    padding: 0.9rem 1.5rem;
    background: var(--app-bg);
    border-top: 1px solid var(--app-border-subtle);
}

.su-close-link[b-7xwe44yyru] {
    padding-left: 0;
    color: var(--app-text-secondary);
    text-decoration: none;
}

.su-close-link:hover[b-7xwe44yyru] {
    color: var(--app-text);
}

/* In-flight card on the Plugins tab */
.su-header-icon-sm[b-7xwe44yyru] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    font-size: 1.05rem;
}

.su-inflight-stage[b-7xwe44yyru] {
    color: var(--app-text);
}

.su-inflight + .su-inflight[b-7xwe44yyru] {
    border-top: 1px solid var(--app-border-subtle);
}
