/* /Components/FollowButton.razor.rz.scp.css */
/* Cliquable : colorée et plus grande ; pleine et verte une fois le ticket suivi, estompée tant qu'il ne l'est pas. */
.follow-button[b-bwoex24hja] { color: var(--bs-success); opacity: .3; filter: grayscale(.8); line-height: 1; transition: opacity .15s, transform .15s; cursor: pointer; }

    .follow-button[b-bwoex24hja]  .icon { width: 24px; height: 24px; }

    .follow-button:hover:not([aria-disabled="true"])[b-bwoex24hja] { opacity: 1; filter: none; transform: scale(1.15); }

    .follow-button.followed[b-bwoex24hja] { color: var(--bs-success); opacity: 1; filter: none; }

    .follow-button[aria-disabled="true"][b-bwoex24hja] { cursor: default; }

    .follow-button[aria-disabled="true"]:not(.followed)[b-bwoex24hja] { opacity: .3; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xfukyrsntv] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xfukyrsntv] {
    flex: 1;
    /* Un tableau large défile dans la page au lieu d'élargir toute la fenêtre (et de chasser le bouton de thème). */
    min-width: 0;
}

article[b-xfukyrsntv] {
    overflow-x: auto;
}

.sidebar[b-xfukyrsntv] {
    background: linear-gradient(180deg, var(--csh-surface-2), transparent);
    border-right: 1px solid var(--csh-line);
}

.top-row[b-xfukyrsntv] {
    background: transparent;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 3.5rem;
    padding-top: .35rem;
    padding-bottom: .35rem;
    display: flex;
    align-items: center;
}

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

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

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

    /* Fil d'Ariane : à gauche, le reste (thème) poussé à droite ; le dernier élément se tronque. */
    .top-row[b-xfukyrsntv]  .crumbs {
        flex: 1;
        min-width: 0;
    }

    .top-row[b-xfukyrsntv]  .crumbs .breadcrumb {
        flex-wrap: nowrap;
        font-size: 1.35rem;
        font-weight: 700;
        --bs-breadcrumb-divider: '›';
    }

    .top-row[b-xfukyrsntv]  .crumbs .breadcrumb-item {
        white-space: nowrap;
    }

    .top-row[b-xfukyrsntv]  .crumbs .breadcrumb-item.active {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--bs-body-color);
    }

    .top-row[b-xfukyrsntv]  .crumbs a {
        margin-left: 0;
        color: var(--bs-secondary-color);
    }

    /* Fiche d'une application : nom, puis code/pastilles/Apple ID, puis onglets sur la même ligne ; ce qui ne tient pas passe
       dessous (la barre grandit au lieu de couper). */
    .top-row[b-xfukyrsntv]  .crumbs {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .25rem 1.25rem;
    }

    .top-row[b-xfukyrsntv]  .crumbs > nav {
        min-width: 0;
        max-width: 100%;
    }

    .top-row[b-xfukyrsntv]  .crumbs-meta {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
    }

    .top-row[b-xfukyrsntv]  .crumbs-tabs {
        --bs-nav-link-padding-y: .2rem;
        --bs-nav-underline-gap: 1rem;
        flex-wrap: wrap;
        font-size: .95rem;
    }

    .top-row[b-xfukyrsntv]  .crumbs-tabs .nav-link {
        color: var(--bs-secondary-color);
        overflow: visible;
    }

    .top-row[b-xfukyrsntv]  .crumbs-tabs .nav-link.active,
    .top-row[b-xfukyrsntv]  .crumbs-tabs .nav-link:hover {
        color: var(--bs-body-color);
        text-decoration: none;
    }

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

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

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

    .sidebar[b-xfukyrsntv] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        /* Contexte d'empilement de la barre : le sous-menu des clients (flyout) doit passer au-dessus des listes à en-tête collant (z-index 2) mais sous les tiroirs (1040+). */
        z-index: 30;
    }

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

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

    .top-row[b-xfukyrsntv], article[b-xfukyrsntv] {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
}

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

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

.top-row[b-b33jv45ic1] {
    min-height: 5.5rem;
    background: transparent;
}

.brand-logo[b-b33jv45ic1] { height: 2.4rem; max-width: 100%; object-fit: contain; display: block; }

.brand-text[b-b33jv45ic1] { font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; color: var(--csh-title); line-height: 1; }
.brand-text span[b-b33jv45ic1] { color: var(--csh-brown); }

.brand-sub[b-b33jv45ic1] { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-secondary-color); margin-top: .35rem; }
.brand-version[b-b33jv45ic1] { letter-spacing: .04em; text-transform: none; opacity: .8; margin-left: .3rem; color: inherit; text-decoration: none; }
.brand-version:hover[b-b33jv45ic1] { opacity: 1; color: var(--csh-brown); text-decoration: underline; }

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

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

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

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

    /* Liens à la CsBackup : gris discret, pilule bronze en dégradé pour la page active. */
    .nav-item[b-b33jv45ic1]  .nav-link {
        color: var(--csh-muted);
        background: none;
        border: none;
        border-radius: 12px;
        font-weight: 500;
        height: 2.6rem;
        padding: 0 .8rem;
        display: flex;
        align-items: center;
        gap: .65rem;
        line-height: 1.2;
        white-space: nowrap;
        width: 100%;
    }

    .nav-item[b-b33jv45ic1]  .nav-link > span { overflow: hidden; text-overflow: ellipsis; }

    .nav-item[b-b33jv45ic1]  .icon { width: 18px; height: 18px; flex: none; }

.nav-item[b-b33jv45ic1]  .nav-link:hover {
    background-color: var(--csh-card);
    color: var(--bs-body-color);
}

.nav-item[b-b33jv45ic1]  a.active,
.nav-item[b-b33jv45ic1]  a.active:hover {
    background: linear-gradient(135deg, var(--csh-brown), var(--csh-brown-hi));
    color: #fff;
    box-shadow: 0 6px 18px var(--csh-glow);
}

/* Profil et déconnexion séparés du menu. */
.nav-item:has(form)[b-b33jv45ic1], .nav-item:has(a[href="Account/Manage"])[b-b33jv45ic1] { font-size: .85rem; }
.nav-personal[b-b33jv45ic1] { margin-top: auto; padding-top: .5rem; padding-bottom: .5rem; border-top: 1px solid var(--csh-line); }

/* Épingles : prennent la place libre entre le menu et le bas de la barre. */
.nav-pins[b-b33jv45ic1] { flex: 1 0 auto; min-width: 0; }

/* Application Mac : bandeau sur toute la largeur, juste au-dessus de l'encart personnel. */
.nav-scrollable > nav[b-b33jv45ic1] { min-height: 100%; }

.mac-download[b-b33jv45ic1] { margin-top: .75rem; border-top: 1px solid var(--csh-line); }

    .mac-download a[b-b33jv45ic1] {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding: .45rem .8rem .45rem 1.36rem;
        color: var(--bs-body-color);
        font-size: .82rem;
        font-weight: 600;
        line-height: 1.25;
        text-decoration: none;
        transition: background-color .15s;
    }

    .mac-download a:hover[b-b33jv45ic1] { background-color: var(--csh-card); }

    .mac-download img[b-b33jv45ic1] { width: 2rem; height: 2rem; flex: none; }

/* Deux entrées d'application empilées : une seule séparation. */
.mac-download + .mac-download[b-b33jv45ic1] { margin-top: 0; border-top: 0; }

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

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

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

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

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 5.5rem);
        overflow-y: auto;
    }
}

/* Nombre de non lues (UnreadNotifications), en rouge à la place de l'icône de l'entrée « Notifications ». */
.nav-item[b-b33jv45ic1]  .nav-badge {
    background: var(--bs-danger);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    line-height: 18px;
    flex: none;
    overflow: visible;
}

/* Petite cloche des notifications à droite du logo (UnreadNotifications : icône, ou nombre de non lues en rouge). */
.top-row .container-fluid[b-b33jv45ic1] { display: flex; align-items: flex-start; justify-content: space-between; }
.nav-bell[b-b33jv45ic1] { display: inline-flex; align-items: center; padding: .35rem; text-decoration: none; }
/* /Components/Layout/PanelLayout.razor.rz.scp.css */
.panel-page[b-i1vfu1hdk7] {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

    /* Le panneau d'appel occupe toute la fenêtre au lieu de flotter à droite ; rien à replier. */
    .panel-page[b-i1vfu1hdk7]  .live-panel {
        position: static;
        flex: 1;
        width: auto;
        height: auto;
        min-height: 0;
        border: 0;
    }

    .panel-page[b-i1vfu1hdk7]  .live-panel-header .btn-link {
        display: none;
    }

    /* Fenêtre large (app Mac) : la conversation à gauche, les bulles et le guide à droite. */
    @media (min-width: 720px) {
        .panel-page[b-i1vfu1hdk7]  .live-body {
            flex-direction: row-reverse;
            gap: 1rem;
        }

        .panel-page[b-i1vfu1hdk7]  .live-side {
            width: 24rem;
            max-height: none;
        }
    }
/* /Components/Layout/PinnedMenu.razor.rz.scp.css */
/* Même allure que les liens du menu (NavMenu.razor.css), plus petite, avec la croix à droite. */
.pins-title[b-vbywzxg8pc] {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin: .75rem 0 .25rem;
    padding-left: 1.8rem !important;
}

/* Largeur nulle + min-width 100 % : un long libellé ne sert plus à mesurer le menu (sinon il l'élargit et le fait défiler). */
.pin-item[b-vbywzxg8pc] {
    position: relative;
    width: 0;
    min-width: 100%;
    font-size: .82rem;
    padding-bottom: .15rem;
}

    .pin-item[b-vbywzxg8pc]  .nav-link {
        color: var(--csh-muted);
        border-radius: 10px;
        font-weight: 500;
        height: 2.2rem;
        padding: 0 1.9rem 0 .8rem;
        display: flex;
        align-items: center;
        gap: .55rem;
        white-space: nowrap;
        width: 100%;
    }

    .pin-item[b-vbywzxg8pc]  .nav-link > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

    .pin-item[b-vbywzxg8pc]  .icon { width: 15px; height: 15px; flex: none; }

    .pin-item[b-vbywzxg8pc]  .nav-link:hover { background-color: var(--csh-card); color: var(--bs-body-color); }

    .pin-item[b-vbywzxg8pc]  a.active,
    .pin-item[b-vbywzxg8pc]  a.active:hover {
        background: linear-gradient(135deg, var(--csh-brown), var(--csh-brown-hi));
        color: #fff;
    }

.pin-remove[b-vbywzxg8pc] {
    position: absolute;
    right: 1.4rem;
    top: calc(50% - .1rem);
    transform: translateY(-50%);
    border: none;
    background: none;
    color: inherit;
    opacity: .45;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 .2rem;
}

    .pin-remove:hover[b-vbywzxg8pc] { opacity: 1; color: var(--bs-danger); }

.pin-item:has(a.active) .pin-remove[b-vbywzxg8pc] { color: #fff; opacity: .8; }

/* Sous-menu des clients : position fixe pour sortir du défilement de la barre ; sans top ni left calculés, il reste à
   hauteur du lien « Clients » (position statique), décalé juste à droite de la barre de 250 px. Visible au survol (NavMenu). */
.pins-flyout[b-vbywzxg8pc] {
    display: none;
    position: fixed;
    left: 250px;
    margin-top: -2.6rem;
    width: 260px;
    max-height: 60vh;
    overflow-y: auto;
    padding: .1rem 0 .4rem;
    border: 1px solid var(--csh-line);
    border-radius: var(--csh-radius);
    background: var(--csh-surface);
    box-shadow: var(--csh-shadow-lg);
    z-index: 20;
}

    .pins-flyout .pins-title[b-vbywzxg8pc] { margin-top: .5rem; padding-left: 1.1rem !important; }

    .pins-flyout .pin-item[b-vbywzxg8pc]  .nav-link { padding-left: .5rem; }

    .pins-flyout .pin-remove[b-vbywzxg8pc] { right: 1.2rem; }

@media (min-width: 641px) {
    .pins-flyout:hover[b-vbywzxg8pc],
    .nav-clients:hover .pins-flyout[b-vbywzxg8pc],
    .nav-apps:hover .pins-flyout[b-vbywzxg8pc] { display: block; }
}

/* Punaise d'une application du sous-menu, à la place de la croix. */
.pin-toggle[b-vbywzxg8pc] { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a5aersnkdu],
.components-reconnect-repeated-attempt-visible[b-a5aersnkdu],
.components-reconnect-failed-visible[b-a5aersnkdu],
.components-pause-visible[b-a5aersnkdu],
.components-resume-failed-visible[b-a5aersnkdu],
.components-rejoining-animation[b-a5aersnkdu] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-retrying[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-failed[b-a5aersnkdu],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a5aersnkdu] {
    display: block;
}


#components-reconnect-modal[b-a5aersnkdu] {
    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-a5aersnkdu 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-a5aersnkdu 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-a5aersnkdu 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-a5aersnkdu]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-a5aersnkdu 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-a5aersnkdu {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-a5aersnkdu {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-a5aersnkdu {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-a5aersnkdu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-a5aersnkdu] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-a5aersnkdu] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a5aersnkdu] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-a5aersnkdu] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-a5aersnkdu] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-a5aersnkdu] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-a5aersnkdu 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-a5aersnkdu] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-a5aersnkdu {
    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/PinButton.razor.rz.scp.css */
/* Cliquable : colorée et plus grande ; bronze, pleine et droite une fois épinglée, estompée et penchée sinon. */
.pin-button[b-kd64xs8r9j] { color: var(--csh-brown); opacity: .3; filter: grayscale(.8); line-height: 1; transition: opacity .15s, transform .15s; cursor: pointer; }

    .pin-button[b-kd64xs8r9j]  .icon { width: 24px; height: 24px; transform: rotate(35deg); transition: transform .15s; }

    .pin-button:hover[b-kd64xs8r9j] { opacity: 1; filter: none; transform: scale(1.15); }

    .pin-button.pinned[b-kd64xs8r9j] { color: var(--csh-brown); opacity: 1; filter: none; }

        .pin-button.pinned[b-kd64xs8r9j]  .icon { transform: none; }
/* /Components/TicketAttachmentsPanel.razor.rz.scp.css */
.att-grid[b-4b5u06uf6b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .6rem;
}

.att-card[b-4b5u06uf6b] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--bs-body-bg, #fff);
    transition: box-shadow .15s, border-color .15s;
}

.att-card:hover[b-4b5u06uf6b] {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.att-thumb[b-4b5u06uf6b] {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-tertiary-bg, #f1f3f5);
}

.att-thumb img[b-4b5u06uf6b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.att-icon[b-4b5u06uf6b] {
    font-size: 2.6rem;
    line-height: 1;
}

.att-info[b-4b5u06uf6b] {
    padding: .4rem .5rem;
    min-width: 0;
}

.att-name[b-4b5u06uf6b] {
    font-size: .8rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-meta[b-4b5u06uf6b] {
    font-size: .7rem;
    color: var(--bs-secondary-color, #6c757d);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-drop[b-4b5u06uf6b] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    border: 2px dashed var(--bs-border-color, #adb5bd);
    border-radius: .5rem;
    font-size: .85rem;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-tertiary-bg, #f8f9fa);
    transition: background .15s, border-color .15s;
}

.att-drop:hover[b-4b5u06uf6b],
.att-drop:focus-within[b-4b5u06uf6b] {
    border-color: var(--bs-primary, #0d6efd);
    background: var(--bs-primary-bg-subtle, #e7f1ff);
}

.att-drop.busy[b-4b5u06uf6b] {
    opacity: .7;
}

.att-drop-icon[b-4b5u06uf6b] {
    font-size: 1.3rem;
}

.att-drop[b-4b5u06uf6b]  .att-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* /Components/TracesExplorer.razor.rz.scp.css */
/* Arbre horizontal de navigation : une case par page, les pages ouvertes depuis elle à sa droite. */
.tn-scroll[b-wuoazun3k9] { overflow-x: auto; }
.tn[b-wuoazun3k9] { display: flex; align-items: center; }
.tn-box[b-wuoazun3k9] { display: flex; flex-direction: column; gap: .15rem; min-width: 8rem; max-width: 16rem; padding: .3rem .5rem; border: 1px solid var(--bs-border-color); border-radius: .35rem; background: var(--bs-body-bg); color: var(--bs-body-color); font-size: .8rem; cursor: pointer; }
.tn-box:hover[b-wuoazun3k9] { border-color: #0d6efd; }
.tn-box.sel[b-wuoazun3k9] { border-color: #0d6efd; box-shadow: 0 0 0 2px rgba(13, 110, 253, .25); }
.tn-box.err[b-wuoazun3k9] { border-color: #dc3545; background: var(--bs-danger-bg-subtle); }
/* Branche virtuelle (rapport sans page reconnue) : contour pointillé, elle n'existe pas dans les traces. */
.tn-box.virtual[b-wuoazun3k9] { border-style: dashed; }
/* Case de l'erreur visée (ouverte depuis un rapport ou la liste des erreurs) : contour épais et halo qui pulse trois fois. */
.tn-box.focus[b-wuoazun3k9] { border: 2px solid #dc3545; box-shadow: 0 0 0 .3rem rgba(220, 53, 69, .35); animation: tn-pulse-b-wuoazun3k9 1.2s ease-out 3; }
@keyframes tn-pulse-b-wuoazun3k9 {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, .6); }
    100% { box-shadow: 0 0 0 .6rem rgba(220, 53, 69, 0); }
}
.tn-name[b-wuoazun3k9] { font-weight: 600; word-break: break-word; }
.tn-meta[b-wuoazun3k9] { color: var(--bs-secondary-color); font-size: .7rem; }
.tn-kids[b-wuoazun3k9] { position: relative; display: flex; flex-direction: column; margin-left: 1.5rem; }
.tn-kids[b-wuoazun3k9]::before { content: ""; position: absolute; left: -1.5rem; top: 50%; width: 1.5rem; border-top: 1px solid var(--bs-border-color); }
.tn-kid[b-wuoazun3k9] { position: relative; display: flex; align-items: center; padding: .25rem 0 .25rem 1.5rem; }
.tn-kid[b-wuoazun3k9]::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.5rem; border-top: 1px solid var(--bs-border-color); }
.tn-kid[b-wuoazun3k9]::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--bs-border-color); }
.tn-kid:first-child[b-wuoazun3k9]::after { top: 50%; }
.tn-kid:last-child[b-wuoazun3k9]::after { bottom: 50%; }
.tn-kid:only-child[b-wuoazun3k9]::after { display: none; }

[b-wuoazun3k9] tr.trace-warn > td { background-color: var(--bs-warning-bg-subtle); }

.usage-layout[b-wuoazun3k9] { display: flex; gap: .75rem; align-items: flex-start; }
.usage-layout .tn-scroll[b-wuoazun3k9] { flex: 1; min-width: 0; }
.tn-selected[b-wuoazun3k9] { align-items: flex-start; }
.tn-selected > .tn-kids[b-wuoazun3k9] { margin-top: .75rem; }
.usage-details[b-wuoazun3k9] { width: min(65rem, max(18rem, calc(100vw - 16rem))); }

.usage-range[b-wuoazun3k9] {
    flex: 0 0 4rem;
    display: grid;
    justify-items: center;
    gap: .25rem;
    padding: .5rem 0;
    font-size: .75rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}
.usage-range-track[b-wuoazun3k9] {
    position: relative;
    display: grid;
    grid-template-rows: 1fr 1fr;
    width: 1.5rem;
    height: 16rem;
}
.usage-range-track[b-wuoazun3k9]::before {
    content: "";
    position: absolute;
    inset: .45rem calc(50% - 2px);
    border-radius: 2px;
    background: linear-gradient(to bottom, var(--bs-border-color) var(--usage-before),
        var(--bs-primary) var(--usage-before) var(--usage-after), var(--bs-border-color) var(--usage-after));
}
.usage-range-track input[b-wuoazun3k9] {
    position: relative;
    writing-mode: vertical-lr;
    direction: ltr;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: ns-resize;
    accent-color: var(--bs-primary);
    appearance: none;
    background: transparent;
}
.usage-range-track input[b-wuoazun3k9]::-webkit-slider-thumb {
    appearance: none;
    width: 1rem;
    height: .65rem;
    border-radius: .25rem;
    background: var(--bs-primary);
}
.usage-range-track input[b-wuoazun3k9]::-moz-range-thumb {
    width: 1rem;
    height: .65rem;
    border: 0;
    border-radius: .25rem;
    background: var(--bs-primary);
}
