/* /Components/Layout/ConnexionLayout.razor.rz.scp.css */
/* Parcours de connexion — habillage uniquement (retour 27/07 : « page de login très moche »).
   Même langage visuel que le bandeau d'accueil : dégradé primaire + silhouette de rame.
   Les classes .cx-* sont partagées par les 4 pages du layout (::deep). */

.connexion-fond[b-kt7x2c6io2] {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(255, 255, 255, .16), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(255, 255, 255, .08), transparent 55%),
        linear-gradient(130deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 55%, #16233d 100%);
}

.connexion-rame[b-kt7x2c6io2] {
    position: absolute;
    right: 6%;
    bottom: 4%;
    width: min(340px, 40vw);
    height: auto;
    color: #fff;
    opacity: .8;
    pointer-events: none;
}

.connexion-cadre[b-kt7x2c6io2] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 430px;
}

/* La carte des pages (MudPaper) : coins doux + ombre portée profonde. */
.connexion-cadre[b-kt7x2c6io2]  .mud-paper {
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.connexion-pied[b-kt7x2c6io2] {
    margin-top: 14px;
    text-align: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .02em;
}

/* ── Éléments de formulaire partagés (natifs, POST inchangé) ─────────────── */
.connexion-cadre[b-kt7x2c6io2]  .cx-label {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    margin-bottom: .3rem;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-input {
    width: 100%;
    padding: .65rem .8rem;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    box-sizing: border-box;
    font-size: .95rem;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-input:focus {
    outline: none;
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary) 22%, transparent);
}

.connexion-cadre[b-kt7x2c6io2]  .cx-bouton {
    width: 100%;
    padding: .72rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(120deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    color: var(--mud-palette-primary-text);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: filter .12s ease, transform .12s ease, box-shadow .12s ease;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-bouton:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
}

.connexion-cadre[b-kt7x2c6io2]  .cx-bouton-secondaire {
    width: 100%;
    padding: .68rem 1rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: border-color .12s ease, background .12s ease;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-bouton-secondaire:hover {
    border-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, var(--mud-palette-surface));
}

.connexion-cadre[b-kt7x2c6io2]  .cx-lien {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-lien:hover { text-decoration: underline; }

/* Pastille de l'icône d'entête des cartes. */
.connexion-cadre[b-kt7x2c6io2]  .cx-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--mud-palette-primary) 45%, transparent);
}

.connexion-cadre[b-kt7x2c6io2]  .cx-logo .mud-icon-root { font-size: 2rem; }

.connexion-cadre[b-kt7x2c6io2]  .cx-titre { letter-spacing: .05em; font-weight: 700; }

/* Boutons de CHOIX DU SITE : carte cliquable avec étoile favori. */
.connexion-cadre[b-kt7x2c6io2]  .cx-site {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .6rem;
    text-align: left;
    transition: border-color .12s ease, background .12s ease, transform .12s ease;
}

.connexion-cadre[b-kt7x2c6io2]  .cx-site:hover {
    border-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, var(--mud-palette-surface));
    transform: translateY(-1px);
}

.connexion-cadre[b-kt7x2c6io2]  .cx-site-etoile { color: var(--mud-palette-warning); width: 1em; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-q0k9vp6j2c] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-q0k9vp6j2c] {
    flex: 1;
}

.sidebar[b-q0k9vp6j2c] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-q0k9vp6j2c] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-q0k9vp6j2c]  a, .top-row[b-q0k9vp6j2c]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-q0k9vp6j2c]  a:hover, .top-row[b-q0k9vp6j2c]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-q0k9vp6j2c]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-q0k9vp6j2c] {
        justify-content: space-between;
    }

    .top-row[b-q0k9vp6j2c]  a, .top-row[b-q0k9vp6j2c]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-q0k9vp6j2c] {
        flex-direction: row;
    }

    .sidebar[b-q0k9vp6j2c] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-q0k9vp6j2c] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-q0k9vp6j2c]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-q0k9vp6j2c], article[b-q0k9vp6j2c] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-q0k9vp6j2c] {
    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-q0k9vp6j2c] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1y1fkkzry5] {
    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-1y1fkkzry5] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-1y1fkkzry5] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-1y1fkkzry5] {
    font-size: 1.1rem;
}

.bi[b-1y1fkkzry5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-1y1fkkzry5] {
    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-1y1fkkzry5] {
    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-1y1fkkzry5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-1y1fkkzry5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1y1fkkzry5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1y1fkkzry5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1y1fkkzry5]  .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-1y1fkkzry5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-1y1fkkzry5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-1y1fkkzry5] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-1y1fkkzry5] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1y1fkkzry5] {
        display: none;
    }

    .nav-scrollable[b-1y1fkkzry5] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a7j728118a],
.components-reconnect-repeated-attempt-visible[b-a7j728118a],
.components-reconnect-failed-visible[b-a7j728118a],
.components-pause-visible[b-a7j728118a],
.components-resume-failed-visible[b-a7j728118a],
.components-rejoining-animation[b-a7j728118a] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a7j728118a],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a7j728118a],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a7j728118a],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a7j728118a],
#components-reconnect-modal.components-reconnect-retrying[b-a7j728118a],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a7j728118a],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a7j728118a],
#components-reconnect-modal.components-reconnect-failed[b-a7j728118a],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a7j728118a] {
    display: block;
}


#components-reconnect-modal[b-a7j728118a] {
    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-a7j728118a 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-a7j728118a 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-a7j728118a 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-a7j728118a]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-a7j728118a 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-a7j728118a {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-a7j728118a {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-a7j728118a {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-a7j728118a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-a7j728118a] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-a7j728118a] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a7j728118a] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-a7j728118a] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-a7j728118a] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-a7j728118a] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-a7j728118a 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-a7j728118a] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-a7j728118a {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Gmao/ParcoursStatuts.razor.rz.scp.css */
/* Parcours des statuts d'une intervention — rail vertical + jalons. Couleurs du thème MudBlazor
   (variables --mud-palette-*) : le panneau suit le thème clair comme le thème sombre. */
.frise[b-52ktrml3lr] {
    font-size: .8125rem;
    line-height: 1.35;
}

.frise-entete[b-52ktrml3lr] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.frise-jalon[b-52ktrml3lr] {
    display: flex;
    gap: 10px;
    min-height: 44px;
}

/* ---- le rail : une pastille par statut, reliées par un trait */
.frise-rail[b-52ktrml3lr] {
    flex: 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frise-pastille[b-52ktrml3lr] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid var(--mud-palette-lines-inputs);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-disabled);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.frise-trait[b-52ktrml3lr] {
    flex: 1 1 auto;
    width: 2px;
    min-height: 14px;
    margin: 3px 0;
    background: var(--mud-palette-lines-default);
}

.frise-passe .frise-trait[b-52ktrml3lr] {
    background: var(--mud-palette-success);
    opacity: .55;
}

/* ---- le corps d'un jalon */
.frise-corps[b-52ktrml3lr] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 2px 8px 12px 8px;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
}

.frise-actuel .frise-corps[b-52ktrml3lr] {
    padding-top: 6px;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.frise-titre[b-52ktrml3lr] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.frise-code[b-52ktrml3lr] {
    font-weight: 500;
}

.frise-actuel .frise-code[b-52ktrml3lr] {
    font-weight: 700;
}

.frise-nonpasse .frise-code[b-52ktrml3lr],
.frise-nonpasse .frise-libelle[b-52ktrml3lr] {
    color: var(--mud-palette-text-secondary);
}

.frise-libelle[b-52ktrml3lr] {
    color: var(--mud-palette-text-secondary);
}

.frise-meta[b-52ktrml3lr] {
    color: var(--mud-palette-text-secondary);
    font-size: .75rem;
    margin-top: 1px;
}

.frise-multi[b-52ktrml3lr] {
    cursor: help;
    text-decoration: underline dotted;
}

.frise-consigne[b-52ktrml3lr] {
    margin-top: 4px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--mud-palette-text-secondary);
    font-size: .75rem;
}

.frise-actuel .frise-consigne[b-52ktrml3lr] {
    color: var(--mud-palette-text-primary);
    font-size: .8125rem;
}

.frise-afaire[b-52ktrml3lr] {
    font-weight: 600;
}

.frise-profils[b-52ktrml3lr] {
    margin-top: 4px;
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
}

.frise-refuse[b-52ktrml3lr] {
    color: var(--mud-palette-warning-darken);
}

/* Note du cycle (« se pose tout seul à la dernière réception ») : information, pas consigne. */
.frise-note[b-52ktrml3lr] {
    margin-top: 4px;
    font-size: .75rem;
    font-style: italic;
    color: var(--mud-palette-text-secondary);
}

/* Composants MudBlazor enfants : hors portée du CSS isolé sans ::deep. */
.frise[b-52ktrml3lr]  .frise-action {
    margin-top: 6px;
    text-transform: none;
    font-size: .75rem;
}

.frise[b-52ktrml3lr]  .frise-interrupteur {
    margin: 0;
}

.frise[b-52ktrml3lr]  .frise-interrupteur .mud-typography {
    font-size: .75rem;
}

/* ---- les modifications intercalées sous le statut pendant lequel elles ont eu lieu */
.frise-modifs[b-52ktrml3lr] {
    margin-top: 6px;
    padding-left: 6px;
    border-left: 1px dashed var(--mud-palette-lines-inputs);
}

.frise-modif[b-52ktrml3lr] {
    font-size: .72rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
    padding: 1px 0;
}

.frise-modif-quand[b-52ktrml3lr] {
    font-variant-numeric: tabular-nums;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Accueil — habillage uniquement (retour 20/07 : « page d'accueil très moche »).
   Couleurs par variables MudBlazor : suit le thème (clair/sombre) sans rien coder en dur. */

/* ── Bandeau ─────────────────────────────────────────────────────────────── */
.accueil-hero[b-s9c4dh8mzq] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1100px 320px at 8% -60%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(115deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 68%, #1b2a4a 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.accueil-hero-texte[b-s9c4dh8mzq] { position: relative; z-index: 1; }

.accueil-hero-titre[b-s9c4dh8mzq] {
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.1;
}

.accueil-hero-soustitre[b-s9c4dh8mzq] { opacity: .85; }

.accueil-hero-actions[b-s9c4dh8mzq] {
    position: relative;
    z-index: 1;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Boutons lisibles sur le dégradé (le bouton MudBlazor est un enfant → ::deep). */
.accueil-hero-actions[b-s9c4dh8mzq]  .mud-button-root { color: #fff; border-color: rgba(255, 255, 255, .55); }
.accueil-hero-actions[b-s9c4dh8mzq]  .mud-icon-button { color: #fff; }
.accueil-hero-actions[b-s9c4dh8mzq]  .mud-button-root:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

.accueil-hero-rame[b-s9c4dh8mzq] {
    position: absolute;
    right: 130px;
    bottom: -4px;
    width: 220px;
    height: 60px;
    color: #fff;
    pointer-events: none;
}

@media (max-width: 700px) {
    .accueil-hero[b-s9c4dh8mzq] { flex-wrap: wrap; }
    .accueil-hero-rame[b-s9c4dh8mzq] { display: none; }
}

/* ── Tuiles compteurs ────────────────────────────────────────────────────── */
.accueil-kpis[b-s9c4dh8mzq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.accueil-kpi[b-s9c4dh8mzq] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--kpi-couleur, var(--mud-palette-primary));
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
    transition: transform .12s ease, box-shadow .12s ease;
}

.accueil-kpi:hover[b-s9c4dh8mzq] { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }

.kpi-primaire[b-s9c4dh8mzq] { --kpi-couleur: var(--mud-palette-primary); }
.kpi-succes[b-s9c4dh8mzq]   { --kpi-couleur: var(--mud-palette-success); }
.kpi-erreur[b-s9c4dh8mzq]   { --kpi-couleur: var(--mud-palette-error); }
.kpi-info[b-s9c4dh8mzq]     { --kpi-couleur: var(--mud-palette-info); }

.kpi-icone[b-s9c4dh8mzq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--kpi-couleur, var(--mud-palette-primary));
    background: color-mix(in srgb, var(--kpi-couleur, var(--mud-palette-primary)) 14%, transparent);
}

.kpi-valeur[b-s9c4dh8mzq] {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--kpi-couleur, var(--mud-palette-primary));
    font-variant-numeric: tabular-nums;
}

.kpi-valeur-perso[b-s9c4dh8mzq] { --kpi-couleur: var(--mud-palette-primary); }

.kpi-libelle[b-s9c4dh8mzq] {
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
}

/* ── Cartes (graphiques, tuiles perso, BI) ───────────────────────────────── */
.accueil-carte[b-s9c4dh8mzq] {
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
    height: 100%;
}

.carte-entete[b-s9c4dh8mzq] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--mud-palette-text-primary);
}

.carte-entete[b-s9c4dh8mzq]  .mud-icon-root { color: var(--mud-palette-primary); }

/* ── Accès rapides ───────────────────────────────────────────────────────── */
.accueil-nav[b-s9c4dh8mzq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.nav-carte[b-s9c4dh8mzq] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.nav-carte:hover[b-s9c4dh8mzq] {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    border-color: var(--mud-palette-primary);
}

.nav-icone[b-s9c4dh8mzq] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
}

.nav-titre[b-s9c4dh8mzq] { font-weight: 600; color: var(--mud-palette-text-primary); }

.nav-desc[b-s9c4dh8mzq] {
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

.nav-carte[b-s9c4dh8mzq]  .nav-fleche {
    margin-left: auto;
    color: var(--mud-palette-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .12s ease, transform .12s ease;
}

.nav-carte:hover[b-s9c4dh8mzq]  .nav-fleche { opacity: 1; transform: translateX(0); }
/* /Components/Pages/PlanningCt.razor.rz.scp.css */
/* La page tient EXACTEMENT dans la fenêtre (retour 02/10 : à 100 % de zoom la page dépassait et le
   navigateur affichait ses ascenseurs). Colonne = barre d'outils (hauteur réelle, elle passe sur
   deux lignes selon la largeur) + bandeaux éventuels + planning qui prend le RESTE — plus de
   hauteur calculée sur une barre supposée d'une ligne. 32px = marges haute et basse du contenu. */
.ct-page[b-d53o4rizgj] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--mud-appbar-height, 64px) - 32px);
    min-height: 440px;
}

.ct-split[b-d53o4rizgj] {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    overflow: hidden;
}

.ct-left[b-d53o4rizgj] {
    flex: 0 0 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-inline-end: 1px solid var(--mud-palette-lines-default);
}

.ct-left-head[b-d53o4rizgj] { flex: 0 0 auto; }
.ct-left-grid[b-d53o4rizgj] { flex: 1 1 auto; min-height: 0; }

.ct-divider[b-d53o4rizgj] {
    flex: 0 0 7px;
    cursor: col-resize;
    background: var(--mud-palette-background-grey);
    transition: background .15s;
    touch-action: none;
}
.ct-divider:hover[b-d53o4rizgj] { background: var(--mud-palette-primary); }

.ct-right[b-d53o4rizgj] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ct-scheduler[b-d53o4rizgj] {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Bulle « RDV en cours de copie » : suit le curseur (JS), transparente, ne bloque AUCUN clic. */
.ct-copie[b-d53o4rizgj] {
    position: fixed;
    left: 40vw;
    top: 30vh;
    width: 320px;
    max-height: 44vh;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-primary);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
    pointer-events: none;   /* ne gêne jamais le planning : les clics passent au travers */
    opacity: .92;
}

/* Mode pose actif : curseur croix sur le planning (fidèle V1 : CurseurSouris = curCroix). */
.ct-scheduler.ct-pose[b-d53o4rizgj] { cursor: crosshair; }
.ct-scheduler.ct-pose .b-sch-timeaxis-cell[b-d53o4rizgj],
.ct-scheduler.ct-pose .b-grid-subgrid[b-d53o4rizgj] { cursor: crosshair; }
.ct-copie-list[b-d53o4rizgj] { overflow: auto; padding: 0 8px 8px; }
.ct-copie-item[b-d53o4rizgj] {
    font-size: 12px;
    padding: 3px 6px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fenêtre flottante (grille détachée) */
.ct-float[b-d53o4rizgj] {
    position: fixed;
    top: 90px;
    left: 120px;
    width: 640px;
    height: 460px;
    min-width: 340px;
    min-height: 220px;
    z-index: 1350;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
    resize: both;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ct-float-head[b-d53o4rizgj] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 4px 3px 12px;
    background: var(--mud-palette-primary);
    color: #fff;
    cursor: move;
    user-select: none;
    touch-action: none;
}
.ct-float-title[b-d53o4rizgj] { font-size: 12px; opacity: .85; white-space: nowrap; }
.ct-float-body[b-d53o4rizgj] { flex: 1 1 auto; min-height: 0; }

/* Onglets de la fenêtre détachée (changer de grille sans revenir au volet ancré). */
.ct-float-tabs[b-d53o4rizgj] { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ct-float-tab[b-d53o4rizgj] {
    border: none;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    white-space: nowrap;
}
.ct-float-tab:hover[b-d53o4rizgj] { background: rgba(255, 255, 255, .3); }
.ct-float-tab.active[b-d53o4rizgj] { background: var(--mud-palette-surface); color: var(--mud-palette-primary); font-weight: 600; }
/* /Components/Pages/RdvDetailDialog.razor.rz.scp.css */
/* Dates editables du popup detail (inputs natifs datetime-local, cf. commentaire du markup) :
   habillage aligne sur les MudTextField Outlined/Dense voisins. */
.rdv-date-label[b-id0cx8brfj] {
    display: block;
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 2px;
}

.rdv-date[b-id0cx8brfj] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    box-sizing: border-box;
}

.rdv-date:disabled[b-id0cx8brfj] {
    color: var(--mud-palette-text-disabled);
    background: var(--mud-palette-background-grey);
}
