/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-erlfuyw3qd] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* pleine hauteur */
    overflow: hidden;
}

main[b-erlfuyw3qd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.sidebar[b-erlfuyw3qd] {
    background-image: linear-gradient(180deg, #085041 15%, #5DCAA5 70%);
}

@media (min-width: 641px) {
    .page[b-erlfuyw3qd] {
        flex-direction: row;
    }

    main[b-erlfuyw3qd] {
        height: 100vh;
        flex: 1;
    }

    .sidebar[b-erlfuyw3qd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
    }

    article.content[b-erlfuyw3qd] {
        flex: 1;
        overflow-y: auto;
        min-height: 0;
        padding: 0 !important;
        margin: 8px;
    }

    #blazor-error-ui[b-erlfuyw3qd] {
        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-erlfuyw3qd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ietuz9wyhb] {
    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-ietuz9wyhb] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ietuz9wyhb] {
    min-height: 3.5rem;
    background-color: rgba(8, 80, 65, 0.4);
}

.navbar-brand[b-ietuz9wyhb] {
    font-size: 1.5rem;
}

/* Commune courante, sous le titre : code Insee puis nom */
.nav-commune[b-ietuz9wyhb] {
    margin: 0.75rem 1rem 2rem;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 0 6px 6px 0;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.nav-commune-code[b-ietuz9wyhb] {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.nav-commune-nom[b-ietuz9wyhb] {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-item[b-ietuz9wyhb] {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ietuz9wyhb] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ietuz9wyhb] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ietuz9wyhb]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        width: 100%;
    }

.nav-item[b-ietuz9wyhb]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ietuz9wyhb]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.ti[b-ietuz9wyhb] {
    font-size: 1.2rem;
    padding-right: 8px;
}

.nav-divider[b-ietuz9wyhb] {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    /* Bootstrap applique opacity: .25 aux <hr> : sans ce reset, le trait est quasi invisible. */
    opacity: 1;
    margin: 0.75rem 1rem;
}

.nav-scrollable[b-ietuz9wyhb] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ietuz9wyhb] {
    display: block;
}

.nav-user[b-ietuz9wyhb] {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 0.5rem 1rem 1rem;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.navbar-toggler:checked ~ .nav-user[b-ietuz9wyhb] {
    display: flex;
}

.nav-user-avatar[b-ietuz9wyhb] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: white;
    color: #0F6E56;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-user-info[b-ietuz9wyhb] {
    flex: 1;
    min-width: 0;
}

.nav-user-nom[b-ietuz9wyhb] {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-role[b-ietuz9wyhb] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-deconnexion[b-ietuz9wyhb] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: background 0.15s;
}

.nav-user-deconnexion:hover[b-ietuz9wyhb] {
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 641px) {
    .navbar-toggler[b-ietuz9wyhb] {
        display: none;
    }

    .nav-scrollable[b-ietuz9wyhb] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Prend toute la hauteur restante sous le bandeau (.sidebar est en colonne flex),
           .nav-user (après) reste ainsi épinglé en bas plutôt que poussé hors champ. */
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .nav-user[b-ietuz9wyhb] {
        display: flex;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-yc3odf7c0g],
.components-reconnect-repeated-attempt-visible[b-yc3odf7c0g],
.components-reconnect-failed-visible[b-yc3odf7c0g],
.components-pause-visible[b-yc3odf7c0g],
.components-resume-failed-visible[b-yc3odf7c0g],
.components-rejoining-animation[b-yc3odf7c0g] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-retrying[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-failed[b-yc3odf7c0g],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-yc3odf7c0g] {
    display: block;
}


#components-reconnect-modal[b-yc3odf7c0g] {
    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-yc3odf7c0g 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-yc3odf7c0g 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-yc3odf7c0g 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-yc3odf7c0g]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-yc3odf7c0g 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-yc3odf7c0g {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-yc3odf7c0g {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-yc3odf7c0g {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-yc3odf7c0g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-yc3odf7c0g] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-yc3odf7c0g] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-yc3odf7c0g] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-yc3odf7c0g] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-yc3odf7c0g] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-yc3odf7c0g] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-yc3odf7c0g 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-yc3odf7c0g] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-yc3odf7c0g {
    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/AccesRefuse.razor.rz.scp.css */
.refuse-page[b-82v8xb9emd] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 1rem;
}

.refuse-card[b-82v8xb9emd] {
    width: 100%;
    max-width: 30rem;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-md);
    text-align: center;
}

.refuse-icone[b-82v8xb9emd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
    font-size: 1.9rem;
}

.refuse-titre[b-82v8xb9emd] {
    margin: 0 0 .75rem;
    font-size: 1.5rem;
    color: var(--ps-text-strong);
}

.refuse-message[b-82v8xb9emd] {
    margin: 0 0 .5rem;
    color: var(--ps-text-strong);
}

.refuse-aide[b-82v8xb9emd] {
    margin: 0 0 1.75rem;
    font-size: .875rem;
    color: var(--ps-text-muted);
}

.refuse-retour[b-82v8xb9emd] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .5rem 1.25rem;
    border: 1px solid var(--ps-primary);
    border-radius: var(--ps-radius-md);
    background: #fff;
    color: var(--ps-primary);
    font-weight: 500;
    text-decoration: none;
}

.refuse-retour:hover[b-82v8xb9emd] {
    background: var(--ps-primary-bg);
}

.refuse-retour:focus-visible[b-82v8xb9emd] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Authentification/Connexion.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Connexion — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.connexion-page[b-bve355zp9x] {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ── Fond abstrait plein écran ───────────────────────────── */
.connexion-background[b-bve355zp9x] {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(93, 202, 165, 0.55), transparent 42%),
        radial-gradient(circle at 82% 12%, rgba(29, 158, 117, 0.45), transparent 46%),
        radial-gradient(circle at 72% 82%, rgba(8, 80, 65, 0.55), transparent 50%),
        radial-gradient(circle at 12% 88%, rgba(15, 110, 86, 0.45), transparent 46%),
        linear-gradient(135deg, #085041 0%, #0F6E56 55%, #1D9E75 100%);
}

/* Semis de points, en habillage discret du fond */
.connexion-background[b-bve355zp9x]::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

/* Grands cercles concentriques décoratifs (motif "réseau/population") */
.connexion-background[b-bve355zp9x]::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8%;
    width: 620px;
    height: 620px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.035), 0 0 0 180px rgba(255, 255, 255, 0.02);
}


/* ── Bulle contact, en haut à droite ─────────────────────── */
.connexion-contact[b-bve355zp9x] {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.15s;
}

.connexion-contact:hover[b-bve355zp9x] { background: rgba(255, 255, 255, 0.25); }
.connexion-contact i[b-bve355zp9x] { font-size: 18px; }

/* ── Cadre de connexion, flottant à gauche ───────────────── */
.connexion-card[b-bve355zp9x] {
    position: relative;
    z-index: 2;
    margin-left: 6vw;
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    /* Hauteur du cadre de connexion mesurée (633.6px) : le cadre "mot de passe oublié", moins
       fourni, prend la même pour que la carte ne "saute" pas d'une vue à l'autre. */
    min-height: 39.6rem;
    padding: 4.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
}

.connexion-logo[b-bve355zp9x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.connexion-logo-icon[b-bve355zp9x] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ps-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--ps-shadow-btn);
}

.connexion-logo-icon-img[b-bve355zp9x] {
    width: 30px;
    height: 30px;
}

.connexion-logo-text[b-bve355zp9x] {
    font-size: 19px;
    font-weight: 600;
    color: var(--ps-text-strong);
}

/* ::deep, ancré sur .connexion-card (un <div> écrit directement dans cette page, donc
   bien scopé) : <EditForm> ET <InputText> viennent de Microsoft.AspNetCore.Components.Forms,
   un assembly hors-projet — ni le <form> ni les <input> qu'ils génèrent ne portent
   l'attribut de portée CSS de cette page. */
.connexion-card[b-bve355zp9x]  .connexion-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field[b-bve355zp9x] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-label[b-bve355zp9x] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ps-text-mid);
}

.connexion-card[b-bve355zp9x]  .field-input {
    font-size: 14px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.connexion-card[b-bve355zp9x]  .field-input:focus {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.btn-connexion[b-bve355zp9x] {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ps-primary-bg);
    background: var(--ps-primary);
    border: none;
    border-radius: var(--ps-radius-md);
    padding: 11px;
    cursor: pointer;
    box-shadow: var(--ps-shadow-btn);
    transition: background 0.15s;
}

.btn-connexion:hover[b-bve355zp9x] { background: var(--ps-primary-dark); }

.connexion-oublie[b-bve355zp9x] {
    align-self: center;
    font-size: 12px;
    color: var(--ps-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.connexion-oublie:hover[b-bve355zp9x] { color: var(--ps-primary); text-decoration: underline; }

/* ── Cadre "mot de passe oublié" (remplace le formulaire dans le même cadre) ── */
.oubli[b-bve355zp9x] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.oubli-titre[b-bve355zp9x] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ps-text-strong);
}

.oubli-texte[b-bve355zp9x] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ps-text-mid);
}

.oubli-aide[b-bve355zp9x] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 14px;
    background: var(--ps-primary-surface);
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
}

.oubli-ligne[b-bve355zp9x] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ps-text-strong);
}

    .oubli-ligne i[b-bve355zp9x] {
        flex-shrink: 0;
        margin-top: 1px;
        font-size: 15px;
        color: var(--ps-primary);
    }

.btn-retour[b-bve355zp9x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-primary);
    background: var(--ps-primary-bg);
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 10px;
    text-decoration: none;
    transition: background 0.15s;
}

.btn-retour:hover[b-bve355zp9x] { background: var(--ps-primary-pale); }

/* Logo éditeur, en bas du cadre (fond blanc — plus lisible que sur le dégradé) */
.connexion-footlogo[b-bve355zp9x] {
    align-self: center;
    max-width: 110px;
    height: auto;
    /* auto : colle le logo en bas du cadre, donc au même endroit dans les deux vues */
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ps-primary-bg);
}

/* ── Titre à droite du cadre ──────────────────────────────── */
.connexion-headline[b-bve355zp9x] {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 3rem;
}

.connexion-headline-title[b-bve355zp9x] {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px;
}

.connexion-headline-subtitle[b-bve355zp9x] {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

/* ── Responsive minimal : le titre disparaît en dessous d'une certaine largeur ── */
@media (max-width: 900px) {
    .connexion-headline[b-bve355zp9x] { display: none; }
    .connexion-card[b-bve355zp9x] { margin: 0 auto; }
}

/* ── Bandeaux d'état de connexion ─────────────────────────── */
.bandeau[b-bve355zp9x] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: var(--ps-radius-md);
    padding: 11px 12px;
    font-size: 12.5px;
    line-height: 1.45;
}

    .bandeau i[b-bve355zp9x] {
        font-size: 16px;
        flex-shrink: 0;
        margin-top: 1px;
    }

.bandeau-erreur[b-bve355zp9x] {
    background: #FBEAE7;
    border: 1px solid #E8B4AC;
    color: #A8342A;
}

.bandeau-alerte[b-bve355zp9x] {
    background: #FDF3E3;
    border: 1px solid #E6C692;
    color: #8A560F;
}
/* /Components/Pages/Authentification/MotDePasseAci.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Mot de passe ACI — CSS isolé Blazor (mêmes champs que la connexion)
═══════════════════════════════════════════════════════════ */

.mdp-page[b-un5kvs58fb] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--ps-primary-surface);
}

.mdp-card[b-un5kvs58fb] {
    width: 520px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 2.25rem 2.5rem;
    background: white;
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
}

.mdp-entete[b-un5kvs58fb] {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .mdp-entete i[b-un5kvs58fb] {
        font-size: 22px;
        color: var(--ps-primary);
    }

.mdp-titre[b-un5kvs58fb] {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: var(--ps-text-strong);
}

.mdp-texte[b-un5kvs58fb] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ps-text-mid);
}

code[b-un5kvs58fb] {
    font-size: 12px;
    color: var(--ps-primary-dark);
    background: var(--ps-primary-bg);
    padding: 1px 5px;
    border-radius: var(--ps-radius-sm);
}

/* ::deep : <form> et <input> générés par EditForm / InputText ne portent pas l'attribut de portée de cette page. */
.mdp-card[b-un5kvs58fb]  .mdp-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field[b-un5kvs58fb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-label[b-un5kvs58fb] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ps-text-mid);
}

.mdp-card[b-un5kvs58fb]  .field-input,
.mdp-ligne[b-un5kvs58fb] {
    font-size: 14px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

    .mdp-card[b-un5kvs58fb]  .field-input:focus {
        outline: none;
        border-color: var(--ps-primary);
        box-shadow: var(--ps-focus-ring);
    }

.mdp-ligne[b-un5kvs58fb] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    resize: none;
    word-break: break-all;
}

.btn-principal[b-un5kvs58fb],
.btn-secondaire[b-un5kvs58fb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    border-radius: var(--ps-radius-md);
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.btn-principal[b-un5kvs58fb] {
    font-weight: 500;
    color: var(--ps-primary-bg);
    background: var(--ps-primary);
    border: none;
    box-shadow: var(--ps-shadow-btn);
}

    .btn-principal:hover[b-un5kvs58fb] {
        background: var(--ps-primary-dark);
    }

.btn-secondaire[b-un5kvs58fb] {
    width: 100%;
    color: var(--ps-primary);
    background: var(--ps-primary-bg);
    border: 1px solid var(--ps-primary-pale);
}

    .btn-secondaire:hover[b-un5kvs58fb] {
        background: var(--ps-primary-pale);
    }

.mdp-etapes[b-un5kvs58fb] {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ps-text-strong);
}

.mdp-propose[b-un5kvs58fb] {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.mdp-retour[b-un5kvs58fb] {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ps-text-muted);
    text-decoration: none;
}

    .mdp-retour:hover[b-un5kvs58fb] {
        color: var(--ps-primary);
        text-decoration: underline;
    }

.bandeau[b-un5kvs58fb] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: var(--ps-radius-md);
    padding: 11px 12px;
    font-size: 12.5px;
    line-height: 1.45;
}

    .bandeau i[b-un5kvs58fb] {
        font-size: 16px;
        flex-shrink: 0;
        margin-top: 1px;
    }

.bandeau-alerte[b-un5kvs58fb] {
    background: #FDF3E3;
    border: 1px solid #E6C692;
    color: #8A560F;
}
/* /Components/Pages/Contact.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Contact — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.contact-page[b-b9zu2hztwe] {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-primary-surface);
    padding: 2rem;
    box-sizing: border-box;
}

.contact-retour[b-b9zu2hztwe] {
    position: absolute;
    top: 1.75rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-mid);
    text-decoration: none;
}

.contact-retour:hover[b-b9zu2hztwe] { color: var(--ps-primary); }

.contact-card[b-b9zu2hztwe] {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
    box-sizing: border-box;
}

.contact-title[b-b9zu2hztwe] {
    font-size: 24px;
    font-weight: 600;
    color: var(--ps-text-strong);
    margin: 0;
}

.contact-subtitle[b-b9zu2hztwe] {
    font-size: 13px;
    color: var(--ps-text-muted);
    margin: -1rem 0 0;
    line-height: 1.5;
}

.contact-form[b-b9zu2hztwe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-row[b-b9zu2hztwe] {
    display: flex;
    gap: 1rem;
}

.contact-form-row .field[b-b9zu2hztwe] { flex: 1; min-width: 0; }

.field[b-b9zu2hztwe] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-label[b-b9zu2hztwe] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ps-text-mid);
}

.field-input[b-b9zu2hztwe] {
    font-size: 14px;
    font-family: inherit;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-b9zu2hztwe] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-textarea[b-b9zu2hztwe] {
    min-height: 110px;
    resize: vertical;
}

.field-error[b-b9zu2hztwe] {
    font-size: 12px;
    color: #A32D2D;
    margin: 0;
}

.btn-connexion[b-b9zu2hztwe] {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ps-primary-bg);
    background: var(--ps-primary);
    border: none;
    border-radius: var(--ps-radius-md);
    padding: 11px;
    cursor: pointer;
    box-shadow: var(--ps-shadow-btn);
    transition: background 0.15s;
}

.btn-connexion:hover[b-b9zu2hztwe] { background: var(--ps-primary-dark); }

/* ── Encart ACI (déplacé depuis la page d'accueil, sans la hotline) ── */
.contact-aci[b-b9zu2hztwe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ps-primary-bg);
}

.contact-aci-logo[b-b9zu2hztwe] {
    max-width: 130px;
    height: auto;
}

.contact-aci-info[b-b9zu2hztwe] {
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: var(--ps-text-muted);
}

.contact-aci-info p[b-b9zu2hztwe] { margin: 0; }

/* Champ piège anti-robots : hors écran plutôt que display:none, que certains robots savent ignorer. */
.champ-piege[b-b9zu2hztwe] {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* /Components/Pages/EtatsPredefinis/Dialogues/AnniversairesASouhaiterDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-uu6g2tzcva] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-uu6g2tzcva] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-uu6g2tzcva] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-uu6g2tzcva] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-uu6g2tzcva] { width: 110px; }
.field--flex[b-uu6g2tzcva] { flex: 1; min-width: 140px; }

.row-champs[b-uu6g2tzcva] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.champ-avec-unite[b-uu6g2tzcva] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-mid);
}

.champ-avec-unite .field-input[b-uu6g2tzcva] { width: 70px; }
/* /Components/Pages/EtatsPredefinis/Dialogues/AnniversairesDeMariageDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-11yspmdtfu] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-11yspmdtfu] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-11yspmdtfu] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-11yspmdtfu] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-11yspmdtfu] { width: 110px; }

.grille-annees[b-11yspmdtfu] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.champ-avec-unite[b-11yspmdtfu] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ps-text-mid);
}

.champ-avec-unite .field-input[b-11yspmdtfu] { width: 100%; }
/* /Components/Pages/EtatsPredefinis/Dialogues/CriteresEtatDialog.razor.rz.scp.css */
.criteres-body[b-w4izxs53nm] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.roles[b-w4izxs53nm] {
    display: flex;
    gap: 20px;
}

.case[b-w4izxs53nm] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.case input[type="checkbox"][b-w4izxs53nm] {
    accent-color: var(--ps-primary);
}

.case--desactivee[b-w4izxs53nm] {
    color: var(--ps-text-muted);
    cursor: default;
    opacity: 0.6;
}

.criteres-erreur[b-w4izxs53nm] {
    margin: 0;
    font-size: 12.5px;
    color: #a63333;
}

.actions[b-w4izxs53nm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 0.5px solid var(--ps-primary-pale);
}

/* NB : pas de classes .field* ici — la zone ChampsCriteres est un RenderFragment créé
   par chaque dialogue englobant donc scopée à SON propre CSS isolé. */

/* ── Boutons ──────────────────────────────────────────────── */
.btn[b-w4izxs53nm] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-w4izxs53nm] { background: var(--ps-primary-bg); }

.btn-primary[b-w4izxs53nm] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-w4izxs53nm] { background: var(--ps-primary-dark); }
/* /Components/Pages/EtatsPredefinis/Dialogues/EnfantsAtteignantUnAgeDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-eipk1d526j] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-eipk1d526j] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-eipk1d526j] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-eipk1d526j] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-eipk1d526j] { width: 160px; }

.row-dates[b-eipk1d526j] {
    display: flex;
    gap: 12px;
}

.champ-avec-unite[b-eipk1d526j] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-mid);
}

.champ-avec-unite .field-input[b-eipk1d526j] { width: 80px; }

/* Rappel de la règle de calcul, sous les dates */
.criteres-aide[b-eipk1d526j] {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 0;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--ps-text-mid);
    background: var(--ps-primary-bg);
    border-radius: var(--ps-radius-md);
}

    .criteres-aide i[b-eipk1d526j] {
        color: var(--ps-primary);
        font-size: 14px;
        margin-top: 1px;
    }
/* /Components/Pages/EtatsPredefinis/Dialogues/FamillesNombreusesDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-rwe3cv8lw8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-rwe3cv8lw8] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-rwe3cv8lw8] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-rwe3cv8lw8] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-rwe3cv8lw8] { width: 140px; }

.champ-avec-unite[b-rwe3cv8lw8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-mid);
}

.champ-avec-unite .field-input[b-rwe3cv8lw8] { width: 80px; }
/* /Components/Pages/EtatsPredefinis/Dialogues/FoyersEntreDeuxNomsDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-vmhwajg70c] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.field-label[b-vmhwajg70c] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-vmhwajg70c] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-vmhwajg70c] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.options[b-vmhwajg70c] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row-noms[b-vmhwajg70c] {
    display: flex;
    gap: 12px;
}

.case[b-vmhwajg70c] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.case input[type="checkbox"][b-vmhwajg70c] {
    accent-color: var(--ps-primary);
}
/* /Components/Pages/EtatsPredefinis/Dialogues/HabitantsParPeriodeDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-22m1uf3vea] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-22m1uf3vea] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-22m1uf3vea] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-22m1uf3vea] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-22m1uf3vea] { width: 160px; }

.row-dates[b-22m1uf3vea] {
    display: flex;
    gap: 12px;
}
/* /Components/Pages/EtatsPredefinis/Dialogues/HabitantsParRueDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-xtyyuradgu] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-xtyyuradgu] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-xtyyuradgu] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-xtyyuradgu] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.case[b-xtyyuradgu] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.case input[type="checkbox"][b-xtyyuradgu] {
    accent-color: var(--ps-primary);
}
/* /Components/Pages/EtatsPredefinis/Dialogues/HabitantsPresentsDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-awul3ikqa1] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-awul3ikqa1] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-awul3ikqa1] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-awul3ikqa1] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--s[b-awul3ikqa1] { width: 160px; }
/* /Components/Pages/EtatsPredefinis/Dialogues/RecensesParPeriodeDialog.razor.rz.scp.css */
/* Zone ChampsCriteres de ce dialogue (RenderFragment authoré ici, donc scopé ici — voir
   la note dans CriteresEtatDialog.razor.css). */

.field[b-1jtowmiqac] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-1jtowmiqac] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-1jtowmiqac] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

    .field-input:focus[b-1jtowmiqac] {
        outline: none;
        border-color: var(--ps-primary);
        box-shadow: var(--ps-focus-ring);
    }

.field--s[b-1jtowmiqac] {
    width: 110px;
}

.field--flex[b-1jtowmiqac] {
    flex: 1;
    min-width: 140px;
}

.row-champs[b-1jtowmiqac] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
/* /Components/Pages/EtatsPredefinis/Dialogues/TriExclusif.razor.rz.scp.css */
.tris[b-ocfppkp2s5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case[b-ocfppkp2s5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.case input[type="checkbox"][b-ocfppkp2s5] {
    accent-color: var(--ps-primary);
}
/* /Components/Pages/EtatsPredefinis/EtatsPredefinis.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   EtatsPredefinis — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.etats-wrap[b-dtwh9f9lhh] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.etats-header[b-dtwh9f9lhh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.etats-title[b-dtwh9f9lhh] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.etats-actions[b-dtwh9f9lhh] { display: flex; gap: 8px; }

/* ── Onglets ────────────────────────────────────────────── */
.tabs[b-dtwh9f9lhh] {
    display: flex;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
    overflow-x: auto;
}

.tab[b-dtwh9f9lhh] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-dtwh9f9lhh] { color: var(--ps-text-mid); }

.tab.active[b-dtwh9f9lhh] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: var(--color-background-primary);
}

/* ── Contenu onglet (placeholders "à venir") ────────────── */
.tab-content[b-dtwh9f9lhh] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.section[b-dtwh9f9lhh] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-body[b-dtwh9f9lhh] { padding: 1.25rem; }

.onglet-empty[b-dtwh9f9lhh] {
    font-size: 13px;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: 1rem 0;
    text-align: center;
}

/* /Components/Pages/EtatsPredefinis/OngletEditions.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletEditions — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-v22vgsc8ei] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section[b-v22vgsc8ei] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-v22vgsc8ei] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-v22vgsc8ei] { padding: 1rem; }

/* ── Liste de boutons pleine largeur ─────────────────────── */
.etat-liste[b-v22vgsc8ei] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.etat-btn[b-v22vgsc8ei] {
    text-align: left;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.etat-btn:hover[b-v22vgsc8ei] {
    background: var(--ps-primary-bg);
    border-color: var(--ps-primary-light);
}

.etat-btn:focus[b-v22vgsc8ei],
.etat-btn:focus-visible[b-v22vgsc8ei] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

/*Boutons lancement des éditions*/
.etat-btn--indisponible[b-v22vgsc8ei] {
    color: var(--ps-text-muted);
    background: transparent;
    border-style: dashed;
}

.etat-btn--indisponible:hover[b-v22vgsc8ei] {
    background: var(--ps-primary-surface);
    border-color: var(--ps-primary-pale);
}
/* /Components/Pages/EtatsPredefinis/OngletRecensement.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletRecensement — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-be4o3mn2u6] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.section[b-be4o3mn2u6] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-be4o3mn2u6] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-be4o3mn2u6] { padding: 1rem; }

/* ── Liste de boutons pleine largeur ─────────────────────── */
.etat-liste[b-be4o3mn2u6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.etat-btn[b-be4o3mn2u6] {
    text-align: left;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.etat-btn:hover[b-be4o3mn2u6] {
    background: var(--ps-primary-bg);
    border-color: var(--ps-primary-light);
}

.etat-btn:focus[b-be4o3mn2u6],
.etat-btn:focus-visible[b-be4o3mn2u6] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/EtatsPredefinis/OngletTableauEditions.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletTableauEditions — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-sqdxq8dmmp] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.25rem;
    gap: 8px;
}

.tableau-grid-wrap[b-sqdxq8dmmp] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.tableau-entete[b-sqdxq8dmmp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.tableau-info[b-sqdxq8dmmp] {
    font-size: 12px;
    color: var(--ps-text-muted);
    flex-shrink: 0;
}

.section[b-sqdxq8dmmp] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-body[b-sqdxq8dmmp] { padding: 1.25rem; }

.onglet-empty[b-sqdxq8dmmp] {
    font-size: 13px;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: 1rem 0;
    text-align: center;
}

.btn[b-sqdxq8dmmp] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-sqdxq8dmmp] { background: var(--ps-primary-bg); }
/* /Components/Pages/Foyers/FicheDomicileDialog.razor.rz.scp.css */
.domicile-dialog-body[b-6wbzhi2jf4] {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

/* ── Champs ─────────────────────────────────────────────── */
.row-inline[b-6wbzhi2jf4] {
    display: flex;
    gap: 8px 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Rangée de cadres (Situation / Type de domicile) plutôt que de champs :
   alignés en haut, pas en bas, sinon le plus court "coule" au fond */
.row-inline--top[b-6wbzhi2jf4] {
    align-items: flex-start;
}

.field[b-6wbzhi2jf4] { display: flex; flex-direction: column; gap: 3px; }
.field--flex[b-6wbzhi2jf4] { flex: 1; min-width: 100px; }
.field--xs[b-6wbzhi2jf4]   { width: 80px; flex-shrink: 0; }
.field--m[b-6wbzhi2jf4]    { width: 150px; flex-shrink: 0; }

.field-label[b-6wbzhi2jf4] { font-size: 11px; color: var(--ps-text-muted); font-weight: 500; }

.field-input[b-6wbzhi2jf4] {
    width: 100%;
    border-radius: var(--ps-radius-md);
    border: 1px solid var(--ps-primary-pale);
    padding: 6px 10px;
    font-size: 13px;
}

.field-input:focus[b-6wbzhi2jf4] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-check[b-6wbzhi2jf4] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.field-check input[type="checkbox"][b-6wbzhi2jf4] {
    accent-color: var(--ps-primary);
    width: 14px;
    height: 14px;
}

.domicile-check-inline[b-6wbzhi2jf4] { padding-bottom: 8px; }

/* ── Sections ───────────────────────────────────────────── */
.section[b-6wbzhi2jf4] {
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    overflow: visible;
    flex: 1;
    min-width: 0;
}

.section-head[b-6wbzhi2jf4] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md) var(--ps-radius-md) 0 0;
}

.domicile-section-head[b-6wbzhi2jf4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.domicile-flags[b-6wbzhi2jf4] {
    display: flex;
    gap: 12px;
    text-transform: none;
    letter-spacing: normal;
}

.domicile-flags .field-check[b-6wbzhi2jf4] { font-size: 11px; }

.section-body[b-6wbzhi2jf4] {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.domicile-section--half[b-6wbzhi2jf4] { flex: 1; }

.btn[b-6wbzhi2jf4] {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-6wbzhi2jf4] { background: var(--ps-primary-bg); }

.btn-primary[b-6wbzhi2jf4] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-6wbzhi2jf4] { background: var(--ps-primary-dark); }

button:focus[b-6wbzhi2jf4],
button:focus-visible[b-6wbzhi2jf4],
input:focus-visible[b-6wbzhi2jf4] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Foyers/FicheFoyer.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   FicheFoyer — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────── */
.fiche-wrap[b-0nqdrxrzqd] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

/* ── Bandeau vert foncé ─────────────────────────────────── */
.foyer-header[b-0nqdrxrzqd] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    font-size: 13px;
    box-shadow: var(--ps-shadow-sm);
    flex-shrink: 0;
}

.foyer-header strong[b-0nqdrxrzqd] { color: #fff; font-weight: 500; }
.foyer-item[b-0nqdrxrzqd] { display: flex; align-items: center; gap: 6px; }
.foyer-sep[b-0nqdrxrzqd] { width: 0.5px; height: 14px; background: rgba(255,255,255,0.3); }

/* ── En-tête éditable ───────────────────────────────────── */
.foyer-entete[b-0nqdrxrzqd] {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--ps-primary-bg);
    border-bottom: 1px solid var(--ps-primary-pale);
    flex-shrink: 0;
}

.foyer-entete-fields[b-0nqdrxrzqd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foyer-entete-row[b-0nqdrxrzqd] {
    display: flex;
    gap: 8px 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.foyer-adresse-row[b-0nqdrxrzqd] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px 12px;
}

.foyer-adresse-droite[b-0nqdrxrzqd] {
    display: flex;
    gap: 8px 12px;
}

.foyer-entete-actions[b-0nqdrxrzqd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    padding-top: 4px;
}

.field--flex[b-0nqdrxrzqd] { flex: 1; min-width: 100px; }
.field--s[b-0nqdrxrzqd]    { width: 140px; flex-shrink: 0; }
.field--xs[b-0nqdrxrzqd]   { width: 72px; flex-shrink: 0; }
.field--ville[b-0nqdrxrzqd] { flex: 1.4; min-width: 200px; }

/* ── Onglets ────────────────────────────────────────────── */
.fiche-main[b-0nqdrxrzqd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--color-background-primary);
}

.tabs[b-0nqdrxrzqd] {
    display: flex;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.tab[b-0nqdrxrzqd] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-0nqdrxrzqd] { color: var(--ps-text-mid); }

.tab.active[b-0nqdrxrzqd] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: var(--color-background-primary);
}

/* ── Champs ─────────────────────────────────────────────── */
.field[b-0nqdrxrzqd] { display: flex; flex-direction: column; gap: 3px; }

.field-label[b-0nqdrxrzqd] { font-size: 11px; color: var(--ps-text-muted); font-weight: 500; }

.field-input[b-0nqdrxrzqd] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-0nqdrxrzqd] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input--ro[b-0nqdrxrzqd] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
    cursor: default;
}

.field-input--ro:focus[b-0nqdrxrzqd] {
    border-color: var(--ps-primary-light);
    box-shadow: none;
}

/* ── Boutons globaux ────────────────────────────────────── */
.btn[b-0nqdrxrzqd] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
    white-space: nowrap;
}

.btn:hover[b-0nqdrxrzqd] { background: var(--ps-primary-bg); }

.btn-primary[b-0nqdrxrzqd] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-0nqdrxrzqd] { background: var(--ps-primary-dark); }

/* ── Dropdown imprimer ──────────────────────────────────── */
.export-dropdown[b-0nqdrxrzqd] { position: relative; }
.export-chevron[b-0nqdrxrzqd] { font-size: 11px; margin-left: 2px; }

.export-menu[b-0nqdrxrzqd] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
    z-index: 100;
    min-width: 200px;
    overflow: hidden;
}

.export-menu--left[b-0nqdrxrzqd] { right: auto; left: 0; }

.export-menu-item[b-0nqdrxrzqd] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
    color: var(--ps-text-strong);
    font-size: 13px;
}

.export-menu-item:hover[b-0nqdrxrzqd] { background: var(--ps-primary-bg); }
.export-menu-item i[b-0nqdrxrzqd] { font-size: 16px; color: var(--ps-primary); flex-shrink: 0; }
.export-menu-label[b-0nqdrxrzqd] { font-size: 12px; font-weight: 500; }

/* ── Focus boutons ──────────────────────────────────────── */
.fiche-main button:focus[b-0nqdrxrzqd],
.fiche-main button:focus-visible[b-0nqdrxrzqd],
.foyer-entete button:focus[b-0nqdrxrzqd],
.foyer-entete button:focus-visible[b-0nqdrxrzqd] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Foyers/ListeFoyers.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   ListeFoyers — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────── */
.liste-wrap[b-gn84xi206c] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.liste-header[b-gn84xi206c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 12px;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    box-shadow: var(--ps-shadow-sm);
    flex-shrink: 0;
}

.liste-title[b-gn84xi206c] {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Barre d'outils ─────────────────────────────────────── */
.liste-toolbar[b-gn84xi206c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    box-shadow: var(--ps-shadow-sm);
    flex-shrink: 0;
}

.liste-toolbar-left[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.liste-toolbar-right[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.liste-search[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--ps-radius-md);
    padding: 5px 10px;
    flex: 1;
    max-width: 400px;
}

.liste-search i[b-gn84xi206c] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    flex-shrink: 0;
}

.liste-search-input[b-gn84xi206c] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    flex: 1;
}

.liste-search-input[b-gn84xi206c]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.liste-search-clear[b-gn84xi206c] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.liste-search-clear:hover[b-gn84xi206c] {
    color: #fff;
}

.liste-histo-toggle[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    white-space: nowrap;
}

.liste-histo-toggle input[b-gn84xi206c] {
    accent-color: var(--ps-primary-bg);
    width: 14px;
    height: 14px;
}

/* ── Export dropdown ────────────────────────────────────── */
.export-dropdown[b-gn84xi206c] {
    position: relative;
}

.export-chevron[b-gn84xi206c] {
    font-size: 11px;
    margin-left: 2px;
}

.export-menu[b-gn84xi206c] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
    z-index: 100;
    min-width: 220px;
    overflow: hidden;
}

.export-menu-item[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
    color: var(--ps-text-strong);
    font-size: 13px;
}

.export-menu-item:hover[b-gn84xi206c] {
    background: var(--ps-primary-bg);
}

.export-menu-item i[b-gn84xi206c] {
    font-size: 18px;
    color: var(--ps-primary);
    flex-shrink: 0;
}

.export-menu-label[b-gn84xi206c] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ps-text-strong);
}

.export-menu-desc[b-gn84xi206c] {
    font-size: 11px;
    color: var(--ps-text-muted);
    margin-top: 1px;
}

.btn-toolbar[b-gn84xi206c] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    background: #fff;
    color: var(--ps-primary);
    border: none;
    border-radius: var(--ps-radius-md);
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--ps-shadow-sm);
    transition: background 0.15s;
}

.btn-toolbar:hover:not(:disabled)[b-gn84xi206c] {
    background: var(--ps-primary-bg);
}

.btn-toolbar:disabled[b-gn84xi206c] {
    opacity: 0.45;
    cursor: default;
}

/* ── Grille Radzen ──────────────────────────────────────── */
.liste-grid[b-gn84xi206c] {
    height: 100%;
    width: 100%;
}

/* ── Zone grille ────────────────────────────────────────── */
.liste-grid-wrap[b-gn84xi206c] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* ── Pagination ─────────────────────────────────────────── */
.liste-pagination[b-gn84xi206c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 1.25rem;
    border-top: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
    gap: 12px;
}

.liste-total[b-gn84xi206c] {
    font-size: 12px;
    color: var(--ps-text-muted);
    white-space: nowrap;
}

.liste-pagination-btns[b-gn84xi206c] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.btn-page[b-gn84xi206c] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-pale);
    background: white;
    color: var(--ps-text-strong);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-page:hover:not(:disabled)[b-gn84xi206c] {
    background: var(--ps-primary-bg);
}

.btn-page:disabled[b-gn84xi206c] {
    opacity: 0.4;
    cursor: default;
}

.btn-page--active[b-gn84xi206c] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
}

.liste-taille-select[b-gn84xi206c] {
    font-size: 12px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 4px 8px;
    cursor: pointer;
}
/* /Components/Pages/Foyers/OngletDocuments.razor.rz.scp.css */
/* ── Contenu onglet ─────────────────────────────────────── */
.tab-content[b-02x0dow9py] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ── Section ────────────────────────────────────────────── */
.section[b-02x0dow9py] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: visible;
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-02x0dow9py] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-02x0dow9py] {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.documents-grid-wrap[b-02x0dow9py] { min-width: 0; }

/* ── Actions (bas de tableau) ───────────────────────────── */
.documents-actions[b-02x0dow9py] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.documents-actions-spacer[b-02x0dow9py] { flex: 1; }

.btn-foyer-action[b-02x0dow9py] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    width: auto;
}

.btn-foyer-action:hover:not(:disabled)[b-02x0dow9py] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-02x0dow9py] { opacity: 0.4; cursor: default; }
.btn-foyer-action--danger[b-02x0dow9py] { color: #A32D2D; border-color: #e8b4b4; }
.btn-foyer-action--danger:hover:not(:disabled)[b-02x0dow9py] { background: #fdecea; }

.tab-content button:focus[b-02x0dow9py],
.tab-content button:focus-visible[b-02x0dow9py] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

a.btn-foyer-action[b-02x0dow9py],
label.btn-foyer-action[b-02x0dow9py] {
    text-decoration: none;
    cursor: pointer;
}
/* /Components/Pages/Foyers/OngletDomiciles.razor.rz.scp.css */
/* ── Contenu onglet ─────────────────────────────────────── */
.tab-content[b-5p07u0j7f0] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ── Section ────────────────────────────────────────────── */
.section[b-5p07u0j7f0] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: visible;
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-5p07u0j7f0] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-5p07u0j7f0] { padding: 12px 14px; }

.domicile-grid-wrap[b-5p07u0j7f0] { min-width: 0; }

/* ── Actions (bas de tableau) ───────────────────────────── */
.domicile-actions[b-5p07u0j7f0] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 10px;
}

.btn-foyer-action[b-5p07u0j7f0] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    width: auto;
}

.btn-foyer-action:hover:not(:disabled)[b-5p07u0j7f0] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-5p07u0j7f0] { opacity: 0.4; cursor: default; }
.btn-foyer-action--danger[b-5p07u0j7f0] { color: #A32D2D; border-color: #e8b4b4; }
.btn-foyer-action--danger:hover:not(:disabled)[b-5p07u0j7f0] { background: #fdecea; }

.tab-content button:focus[b-5p07u0j7f0],
.tab-content button:focus-visible[b-5p07u0j7f0] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Foyers/OngletFoyer.razor.rz.scp.css */
/* ── Contenu onglet ─────────────────────────────────────── */
.tab-content[b-csve6sxp0x] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ── Sections ───────────────────────────────────────────── */
.section[b-csve6sxp0x] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: visible;
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-csve6sxp0x] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-csve6sxp0x] { padding: 12px 14px; }

.foyer-section-body[b-csve6sxp0x] {
    display: flex;
    gap: 0;
    padding: 0;
}

.foyer-section-content[b-csve6sxp0x] {
    flex: 1;
    padding: 12px 14px;
    min-width: 0;
}

.foyer-section-actions[b-csve6sxp0x] {
    width: 155px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px 10px 10px;
    border-left: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    border-radius: 0 0 var(--ps-radius-lg) 0;
}

/* ── Boutons d'action section ───────────────────────────── */
.btn-foyer-action[b-csve6sxp0x] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

.btn-foyer-action:hover:not(:disabled)[b-csve6sxp0x] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-csve6sxp0x] { opacity: 0.4; cursor: default; }
.btn-foyer-action--danger[b-csve6sxp0x] { color: #A32D2D; border-color: #e8b4b4; }
.btn-foyer-action--danger:hover:not(:disabled)[b-csve6sxp0x] { background: #fdecea; }

/* ── Checkbox dans actions ──────────────────────────────── */
.foyer-action-check[b-csve6sxp0x] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ps-text-strong);
    padding: 4px 0 8px;
    margin-bottom: 4px;
    border-bottom: 0.5px solid var(--ps-primary-pale);
}

.foyer-action-check input[type="checkbox"][b-csve6sxp0x] {
    accent-color: var(--ps-primary);
    width: 14px;
    height: 14px;
}

/* ── Chef grid ──────────────────────────────────────────── */
/* Lignes Nom | Nom d'usage puis Prénoms | Prénom d'usage, comme le WinDev.
   La 1re colonne prend la largeur de la plus longue valeur (nom ou prénoms) : la colonne « Usage » commence juste après.
   Au plus la moitié de la largeur (au-delà, la valeur passe à la ligne), au moins 200px (sinon les deux colonnes se collent). */
.chef-grid[b-csve6sxp0x] {
    display: grid;
    grid-template-columns: fit-content(50%) 1fr;
    gap: 8px 32px;
    margin-bottom: 8px;
}

    .chef-grid .chef-identite[b-csve6sxp0x] {
        min-width: 200px;
    }

/* ── Valeurs lecture seule ──────────────────────────────── */
.field-value-ro[b-csve6sxp0x] {
    font-size: 13px;
    color: var(--ps-text-strong);
    font-weight: 500;
    display: block;
    padding: 5px 0;
    border-bottom: 0.5px solid var(--ps-primary-surface);
}

/* ── Tableaux membres ───────────────────────────────────── */
.foyer-table[b-csve6sxp0x] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.foyer-table th[b-csve6sxp0x] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-strong);
    font-size: 11px;
    font-weight: 500;
    padding: 7px 10px;
    text-align: left;
    border-bottom: 0.5px solid var(--ps-primary-pale);
    white-space: nowrap;
}

.foyer-table td[b-csve6sxp0x] {
    padding: 6px 10px;
    color: var(--ps-text-strong);
    border-bottom: 0.5px solid var(--ps-primary-surface);
    white-space: nowrap;
}

.foyer-table tbody tr[b-csve6sxp0x] { cursor: pointer; transition: background 0.1s; }
.foyer-table tbody tr:hover[b-csve6sxp0x] { background: var(--ps-primary-surface); }
.foyer-table tbody tr.row-selected[b-csve6sxp0x] { background: var(--ps-primary-bg); }
.foyer-table tbody tr.row-selected td[b-csve6sxp0x] { color: var(--ps-primary); }

/* ── Vide ───────────────────────────────────────────────── */
.foyer-empty[b-csve6sxp0x] {
    font-size: 13px;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: 1rem 0;
    text-align: center;
}

.foyer-hint[b-csve6sxp0x] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-style: italic;
    margin: 0 0 6px;
}

/* ── row-inline ─────────────────────────────────────────── */
.row-inline[b-csve6sxp0x] {
    display: flex;
    gap: 8px 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.field[b-csve6sxp0x] { display: flex; flex-direction: column; gap: 3px; }
.field--flex[b-csve6sxp0x] { flex: 1; min-width: 100px; }
.field--s[b-csve6sxp0x]    { width: 110px; flex-shrink: 0; }
.field--m[b-csve6sxp0x]    { width: 150px; flex-shrink: 0; }

.field-label[b-csve6sxp0x] { font-size: 11px; color: var(--ps-text-muted); font-weight: 500; }
/* /Components/Pages/Foyers/RetourCommuneDialog.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   RetourCommuneDialog — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.retour-body[b-3tbi2ij696] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ps-text-strong);
    font-size: 13px;
}

    .retour-body p[b-3tbi2ij696] {
        margin: 0;
    }

.field-label[b-3tbi2ij696] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.retour-cas[b-3tbi2ij696] {
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .retour-cas legend[b-3tbi2ij696] {
        margin-bottom: 6px;
    }

.retour-option[b-3tbi2ij696] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    cursor: pointer;
}

    .retour-option input[b-3tbi2ij696] {
        margin-top: 3px;
        accent-color: var(--ps-primary);
    }

.retour-option--choisie[b-3tbi2ij696] {
    border-color: var(--ps-primary);
    background: var(--ps-primary-surface);
}

.retour-option strong[b-3tbi2ij696] {
    display: block;
}

.retour-detail[b-3tbi2ij696] {
    display: block;
    color: var(--ps-text-mid);
    font-size: 12px;
}

.retour-date[b-3tbi2ij696] {
    max-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.retour-info[b-3tbi2ij696] {
    display: flex;
    gap: 8px;
    background: var(--ps-primary-bg);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    line-height: 1.45;
}

    .retour-info i[b-3tbi2ij696] {
        color: var(--ps-primary);
        font-size: 16px;
    }

.retour-erreur[b-3tbi2ij696] {
    color: #C0392B;
}

/* ── Bilan après validation ─────────────────────────────── */
.retour-bilan-titre[b-3tbi2ij696] {
    font-size: 14px;
    font-weight: 600;
}

.retour-bilan-section p[b-3tbi2ij696] {
    font-weight: 500;
}

.retour-bilan-section ul[b-3tbi2ij696] {
    margin: 4px 0 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Wrapper ────────────────────────────────────────────── */
.home-wrap[b-7l0qj7ls6s] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    gap: 3rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.home-hero[b-7l0qj7ls6s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.home-logo[b-7l0qj7ls6s] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ps-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ps-shadow-btn);
    margin-bottom: 8px;
}

.home-logo-icon[b-7l0qj7ls6s] {
    width: 56px;
    height: 56px;
}

.home-title[b-7l0qj7ls6s] {
    font-size: 28px;
    font-weight: 600;
    color: var(--ps-text-strong);
    margin: 0;
}

.home-subtitle[b-7l0qj7ls6s] {
    font-size: 14px;
    color: var(--ps-text-muted);
    margin: 0;
}

/* ── Cards ──────────────────────────────────────────────── */
/* Grille 2 colonnes, ordre naturel : Foyers | États prédéfinis
   puis Personnes | Multicritères (comme l'ancienne version) */
.home-cards[b-7l0qj7ls6s] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.home-card[b-7l0qj7ls6s] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-md);
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
    text-decoration: none;
}

.home-card:hover[b-7l0qj7ls6s] {
    background: var(--ps-primary-bg);
    border-color: var(--ps-primary-light);
    box-shadow: var(--ps-shadow-lg);
    transform: translateY(-1px);
}

.home-card-icon[b-7l0qj7ls6s] {
    width: 48px;
    height: 48px;
    border-radius: var(--ps-radius-md);
    background: var(--ps-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-card:hover .home-card-icon[b-7l0qj7ls6s] {
    background: var(--ps-primary);
}

.home-card-icon i[b-7l0qj7ls6s] {
    font-size: 22px;
    color: var(--ps-primary);
}

.home-card:hover .home-card-icon i[b-7l0qj7ls6s] {
    color: white;
}

.home-card-content[b-7l0qj7ls6s] {
    flex: 1;
}

.home-card-title[b-7l0qj7ls6s] {
    font-size: 15px;
    font-weight: 500;
    color: var(--ps-text-strong);
    margin: 0 0 4px;
}

.home-card-desc[b-7l0qj7ls6s] {
    font-size: 12px;
    color: var(--ps-text-muted);
    margin: 0;
}

.home-card-arrow[b-7l0qj7ls6s] {
    font-size: 18px;
    color: var(--ps-primary-light);
}

.home-card:hover .home-card-arrow[b-7l0qj7ls6s] {
    color: var(--ps-primary);
}
/* /Components/Pages/Parametres/Codification/FicheCodificationDialog.razor.rz.scp.css */
.fichecodif-body[b-du3ds3le5b] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow-y: auto;
}

.field[b-du3ds3le5b] { display: flex; flex-direction: column; gap: 3px; }

.field-label[b-du3ds3le5b] { font-size: 11px; color: var(--ps-text-muted); font-weight: 500; }

.field-input[b-du3ds3le5b] {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border-radius: var(--ps-radius-md);
    border: 1px solid var(--ps-primary-pale);
    padding: 6px 10px;
}

.field-input:focus[b-du3ds3le5b] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-check[b-du3ds3le5b] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.field-check input[type="checkbox"][b-du3ds3le5b] {
    accent-color: var(--ps-primary);
    width: 15px;
    height: 15px;
}

.field-error[b-du3ds3le5b] {
    font-size: 12px;
    color: #A32D2D;
    background: #fdecea;
    border: 0.5px solid #e8b4b4;
    border-radius: var(--ps-radius-md);
    padding: 8px 10px;
    margin: 0;
}

/* ── Boutons du pied ─────────────────────────────────────── */
.btn[b-du3ds3le5b] {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-du3ds3le5b] { background: var(--ps-primary-bg); }

.btn-primary[b-du3ds3le5b] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-du3ds3le5b] { background: var(--ps-primary-dark); }

.btn-primary:disabled[b-du3ds3le5b] {
    background: var(--ps-primary-pale);
    border-color: var(--ps-primary-pale);
    cursor: not-allowed;
    box-shadow: none;
}

button:focus[b-du3ds3le5b],
button:focus-visible[b-du3ds3le5b],
input:focus-visible[b-du3ds3le5b] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Parametres/Codification/TableCodificationDialog.razor.rz.scp.css */
.codif-body[b-os2ewf3s37] {
    flex: 1;
    display: flex;
    gap: 0;
    min-height: 0;
    padding: 14px;
    gap: 12px;
}

.codif-grid-wrap[b-os2ewf3s37] {
    flex: 1;
    min-width: 0;
}

/* ── Actions (colonne de droite) ─────────────────────────── */
.codif-actions[b-os2ewf3s37] {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-foyer-action[b-os2ewf3s37] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

.btn-foyer-action:hover:not(:disabled)[b-os2ewf3s37] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-os2ewf3s37] { opacity: 0.4; cursor: default; }
.btn-foyer-action--danger[b-os2ewf3s37] { color: #A32D2D; border-color: #e8b4b4; }
.btn-foyer-action--danger:hover:not(:disabled)[b-os2ewf3s37] { background: #fdecea; }

button:focus[b-os2ewf3s37],
button:focus-visible[b-os2ewf3s37] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Parametres/OngletFichiersDeBase.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletFichiersDeBase — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-2cc92sqwr6] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.section[b-2cc92sqwr6] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-2cc92sqwr6] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-2cc92sqwr6] { padding: 1.25rem; }

/* ── Grille des boutons de paramétrage ──────────────────── */
/* Grid place les boutons en ordre naturel (item 1 & 2 côte à côte,
   puis 3 & 4, etc.) */
.parametres-grille[b-2cc92sqwr6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.btn-parametre[b-2cc92sqwr6] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 12px 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}

.btn-parametre:hover[b-2cc92sqwr6] {
    background: var(--ps-primary-bg);
    border-color: var(--ps-primary-light);
}

.btn-parametre:focus[b-2cc92sqwr6],
.btn-parametre:focus-visible[b-2cc92sqwr6] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

/* Bouton "Utilisateurs" — mis en évidence */
.btn-parametre--special[b-2cc92sqwr6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ps-primary-bg);
    border: 0.5px solid var(--ps-primary);
    color: var(--ps-primary-dark);
    font-weight: 600;
}

.btn-parametre--special:hover[b-2cc92sqwr6] {
    background: var(--ps-primary-pale);
    border-color: var(--ps-primary-dark);
}

.btn-parametre--special i[b-2cc92sqwr6] { font-size: 15px; }
/* /Components/Pages/Parametres/OngletParametreCommune.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletParametreCommune — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-3gxwt1hdro] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section[b-3gxwt1hdro] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-3gxwt1hdro] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-3gxwt1hdro] { padding: 1.25rem; }

/* ── Grilles de champs ──────────────────────────────────── */
.fields-grid-2[b-3gxwt1hdro] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-3gxwt1hdro] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-3gxwt1hdro] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-3gxwt1hdro] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-3gxwt1hdro] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.row-inline[b-3gxwt1hdro] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.field--flex[b-3gxwt1hdro] { flex: 1; min-width: 140px; }
.field--m[b-3gxwt1hdro] { width: 200px; flex-shrink: 0; }

.field-error[b-3gxwt1hdro] {
    font-size: 12px;
    color: #A32D2D;
    margin: 0;
}

/* ── Logo ────────────────────────────────────────────────── */
.logo-zone[b-3gxwt1hdro] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 260px;
    margin: 0 auto;
}

.logo-cadre[b-3gxwt1hdro] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 180px;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    background: var(--ps-primary-surface);
}

.logo-apercu[b-3gxwt1hdro] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-vide[b-3gxwt1hdro] {
    font-size: 12px;
    color: var(--ps-text-muted);
    font-style: italic;
}

.logo-actions[b-3gxwt1hdro] {
    display: flex;
    gap: 8px;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn[b-3gxwt1hdro] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-3gxwt1hdro] { background: var(--ps-primary-bg); }

.btn:disabled[b-3gxwt1hdro] {
    opacity: 0.5;
    cursor: default;
}

.btn:disabled:hover[b-3gxwt1hdro] { background: var(--color-background-primary); }
/* /Components/Pages/Parametres/OngletParametresApplication.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletParametresApplication — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-6xopxje1ln] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section[b-6xopxje1ln] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-6xopxje1ln] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-6xopxje1ln] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Champs ──────────────────────────────────────────────── */
.field[b-6xopxje1ln] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-6xopxje1ln] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-6xopxje1ln] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-6xopxje1ln] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.row-inline[b-6xopxje1ln] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.field--xs[b-6xopxje1ln] { width: 70px; flex-shrink: 0; }
.field--m[b-6xopxje1ln] { width: 260px; flex-shrink: 0; }

.field--combo[b-6xopxje1ln] {
    width: 100%;
    max-width: 360px;
    padding-right: 12px;
    box-sizing: border-box;
}

.champ-unite[b-6xopxje1ln] {
    font-size: 12px;
    color: var(--ps-text-muted);
    margin-left: 4px;
}

/* ── Checkbox ────────────────────────────────────────────── */
.field-check[b-6xopxje1ln] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.field-check input[type="checkbox"][b-6xopxje1ln] {
    accent-color: var(--ps-primary);
    width: 15px;
    height: 15px;
}
/* /Components/Pages/Parametres/OngletPecoto.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletPecoto — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-zk3ex6d3m7] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section[b-zk3ex6d3m7] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-zk3ex6d3m7] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-zk3ex6d3m7] { padding: 1.25rem; }

.field[b-zk3ex6d3m7] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-zk3ex6d3m7] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-zk3ex6d3m7] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-zk3ex6d3m7] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field--combo[b-zk3ex6d3m7] {
    width: 100%;
    max-width: 480px;
}
/* /Components/Pages/Parametres/Parametres.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Parametres — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.parametres-wrap[b-y4kdyogfm4] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.parametres-header[b-y4kdyogfm4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.parametres-title[b-y4kdyogfm4] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.parametres-actions[b-y4kdyogfm4] { display: flex; gap: 8px; }

/* ── Onglets ────────────────────────────────────────────── */
.tabs[b-y4kdyogfm4] {
    display: flex;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
    overflow-x: auto;
}

.tab[b-y4kdyogfm4] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-y4kdyogfm4] { color: var(--ps-text-mid); }

.tab.active[b-y4kdyogfm4] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: var(--color-background-primary);
}

/* ── Boutons globaux ────────────────────────────────────── */
.btn[b-y4kdyogfm4] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    text-decoration: none;
    transition: background 0.15s;
}

.btn:hover[b-y4kdyogfm4] { background: var(--ps-primary-bg); }

.btn-primary[b-y4kdyogfm4] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--color-background-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-y4kdyogfm4] { background: var(--ps-primary-dark); }

/* ── Contenu de l'onglet ────────────────────────────────── */
/* Le panneau occupe la hauteur restante sous les onglets et défile lui-même : sans lui, un onglet plus haut
   que l'écran (logo d'édition renseigné) était coupé par .parametres-wrap (overflow: hidden), sans ascenseur. */
.onglet-panneau[b-y4kdyogfm4] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
/* /Components/Pages/Personnes/EtatFamDialog.razor.rz.scp.css */
.etatfam-dialog-body[b-omcir947i8] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--ps-text-strong);
}

.etatfam-dialog-body .field-input[b-omcir947i8] {
    width: 100%;
    border-radius: var(--ps-radius-md);
    border: 1px solid var(--ps-primary-pale);
    padding: 6px 10px;
}

.etatfam-dialog-body .field-input:focus[b-omcir947i8] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

/* Champ "Avec qui" avec bouton conjoint */
.etatfam-avecqui[b-omcir947i8] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.etatfam-avecqui .field-input[b-omcir947i8] {
    flex: 1;
}

.etatfam-avecqui button[b-omcir947i8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s;
    box-shadow: var(--ps-shadow-sm);
}

.etatfam-avecqui button:hover[b-omcir947i8] {
    background: var(--ps-primary-pale);
}

.etatfam-fiche-liee[b-omcir947i8] {
    font-size: 11px;
    color: var(--ps-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.btn[b-omcir947i8] {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-omcir947i8] {
    background: var(--ps-primary-bg);
}

.btn-primary[b-omcir947i8] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-omcir947i8] {
    background: var(--ps-primary-dark);
}

button:focus[b-omcir947i8],
button:focus-visible[b-omcir947i8] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Personnes/FichePersonne.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   FichePersonne — CSS isolé Blazor
   Palette : var(--ps-*)  définie dans app.css
═══════════════════════════════════════════════════════════ */

/* ── Wrapper global ─────────────────────────────────────── */
.fiche-wrap[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
    margin: 0;         
    height: 100%;        
}

/* ── En-tête foyer ──────────────────────────────────────── */
.foyer-header[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    font-size: 13px;
    box-shadow: var(--ps-shadow-sm);
    position: relative;
    z-index: 1;
}

.foyer-header strong[b-ucqhh8nel8] {
    color: #fff;
    font-weight: 500;
}

.foyer-header i[b-ucqhh8nel8] {
    font-size: 15px;
    opacity: 0.8;
}

.foyer-item[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.foyer-sep[b-ucqhh8nel8] {
    width: 0.5px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
}

/* ── Corps ──────────────────────────────────────────────── */
.fiche-body[b-ucqhh8nel8] {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Sidebar ────────────────────────────────────────────── */
.sidebar[b-ucqhh8nel8] {
    width: 210px;
    flex-shrink: 0;
    background: var(--ps-primary-bg);
    border-right: 0.5px solid var(--ps-primary-pale);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    box-shadow: inset -2px 0 6px rgba(15, 110, 86, 0.05);
}

.sb-avatar-block[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sb-avatar[b-ucqhh8nel8] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ps-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--ps-primary-bg);
    border: 2px solid var(--ps-primary-light);
    box-shadow: var(--ps-shadow-btn);
    margin-bottom: 4px;
}

.sb-name[b-ucqhh8nel8] {
    font-size: 14px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-align: center;
    margin: 0;
}

.sb-sub[b-ucqhh8nel8] {
    font-size: 12px;
    color: var(--ps-text-mid);
    text-align: center;
    margin: 0;
}

.sb-badges[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.sb-badge[b-ucqhh8nel8] {
    display: block;
    width: fit-content;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 99px;
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    margin: 2px auto 0;
}

.sb-badge-archive[b-ucqhh8nel8] {
    background: var(--ps-badge-archive-bg);
    color: var(--ps-badge-archive-text);
}

.sb-badge-morale[b-ucqhh8nel8] {
    background: var(--ps-badge-morale-bg);
    color: var(--ps-badge-morale-text);
}

.sb-divider[b-ucqhh8nel8] {
    border: none;
    border-top: 0.5px solid var(--ps-primary-pale);
    margin: 0;
}

.sb-coords[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.sb-coord-item[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sb-coord-icon[b-ucqhh8nel8] {
    font-size: 16px;
    color: var(--ps-primary-light);
}

.sb-coord-value[b-ucqhh8nel8] {
    font-size: 12px;
    color: var(--ps-text-strong);
    font-weight: 500;
}

.sb-coord-link[b-ucqhh8nel8] {
    font-size: 12px;
    color: var(--ps-text-mid);
    font-weight: 500;
}

/* ── Boutons sidebar ────────────────────────────────────── */
.sb-actions[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-sb-action[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    width: 100%;
}

.btn-sb-action:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-pale);
}

.btn-sb-action i[b-ucqhh8nel8] {
    font-size: 15px;
    flex-shrink: 0;
}

/* ── Zone principale ────────────────────────────────────── */
.fiche-main[b-ucqhh8nel8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--color-background-primary);
    min-width: 0;
    min-height: 0;
}

.fiche-main button:focus[b-ucqhh8nel8],
.fiche-main button:focus-visible[b-ucqhh8nel8] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}

/* ── Onglets ────────────────────────────────────────────── */
.tabs[b-ucqhh8nel8] {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
}

.tab[b-ucqhh8nel8] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-ucqhh8nel8] {
    color: var(--ps-text-mid);
}

.tab.active[b-ucqhh8nel8] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: var(--color-background-primary);
    box-shadow: 0 -2px 6px rgba(15, 110, 86, 0.06);
}

/* ── Contenu onglet ─────────────────────────────────────── */
.tab-content[b-ucqhh8nel8] {
    padding: 1.25rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ── Sections encadrées ─────────────────────────────────── */
.section[b-ucqhh8nel8] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: visible;
    /* pas de hidden */
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-ucqhh8nel8] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-ucqhh8nel8] {
    padding: 12px 14px;
    border-radius: 0 0 var(--ps-radius-lg) var(--ps-radius-lg);
}

/* ── Grilles de champs ──────────────────────────────────── */
.fields-grid[b-ucqhh8nel8] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

/* ── Champ individuel ───────────────────────────────────── */
.field[b-ucqhh8nel8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-ucqhh8nel8] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-label--requis[b-ucqhh8nel8]::after {
    content: " *";
    color: #A32D2D;
    font-weight: 700;
}

.field-input--erreur[b-ucqhh8nel8] {
    border-color: #A32D2D;
    background: #FBEAEA;
}

.field-erreur[b-ucqhh8nel8] {
    font-size: 11px;
    color: #A32D2D;
}

.field-input[b-ucqhh8nel8] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input--xs[b-ucqhh8nel8] {
    width: 80px;
}

.field-input:focus[b-ucqhh8nel8] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input:read-only[b-ucqhh8nel8] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
    cursor: default;
}

textarea.field-input[b-ucqhh8nel8] {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-sans);
    line-height: 1.5;
}

.filiation-duo[b-ucqhh8nel8] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.field--flex[b-ucqhh8nel8] {
    flex: 1;
}

/* ── Ligne adresse origine/destination ──────────────────── */
.row-adresse[b-ucqhh8nel8] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px 12px;
}

.row-adresse-droite[b-ucqhh8nel8] {
    display: flex;
    flex-direction: row;
    gap: 8px;
}


/* ── Cases à cocher ─────────────────────────────────────── */
.field-check[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ps-text-strong);
    padding: 4px 0;
}

.field-check input[type="checkbox"][b-ucqhh8nel8] {
    accent-color: var(--ps-primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ── Boutons d'action ───────────────────────────────────── */
.fiche-actions[b-ucqhh8nel8] {
    display: flex;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--ps-primary-pale);
    justify-content: flex-end;
    background: var(--ps-primary-surface);
    box-shadow: 0 -2px 6px rgba(15, 110, 86, 0.06);
}

.btn[b-ucqhh8nel8] {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-bg);
}

.btn-primary[b-ucqhh8nel8] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-dark);
}


/* ── Sous-sections dans un onglet ───────────────────────── */
.subsection-label[b-ucqhh8nel8] {
    font-size: 11px;
    font-weight: 600;
    color: var(--ps-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-left: 2px;
}

.subsection-label--mt[b-ucqhh8nel8] {
    margin-top: 1.25rem;
}

.fields-grid--mt[b-ucqhh8nel8] {
    margin-top: 8px;
}

.fields-grid--mb[b-ucqhh8nel8] {
    margin-bottom: 4px;
}

/* ── Tableau historique marital ─────────────────────────── */
.etatfam-table-wrap[b-ucqhh8nel8] {
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    overflow: hidden;
    margin-bottom: 4px;
}

.etatfam-table[b-ucqhh8nel8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.etatfam-table thead tr[b-ucqhh8nel8] {
    background: var(--ps-primary-bg);
}

.etatfam-table th[b-ucqhh8nel8] {
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-mid);
    padding: 7px 10px;
    border-bottom: 0.5px solid var(--ps-primary-pale);
}

.etatfam-table td[b-ucqhh8nel8] {
    padding: 6px 10px;
    color: var(--ps-text-strong);
    border-bottom: 0.5px solid var(--ps-primary-surface);
}

.etatfam-table tbody tr:last-child td[b-ucqhh8nel8] {
    border-bottom: none;
}

.etatfam-table tbody tr:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-surface);
}

.etatfam-empty[b-ucqhh8nel8] {
    text-align: center;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: 12px !important;
}

.etatfam-btn[b-ucqhh8nel8] {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: var(--ps-radius-md);
    font-size: 14px;
    transition: background 0.1s;
}

.etatfam-btn--edit[b-ucqhh8nel8] {
    color: var(--ps-primary);
}

.etatfam-btn--edit:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-bg);
}

.etatfam-btn--delete[b-ucqhh8nel8] {
    color: #A32D2D;
}

.etatfam-btn--delete:hover[b-ucqhh8nel8] {
    background: #fdecea;
}

/* ── Bouton Ajouter ─────────────────────────────────────── */
.btn-add[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 0;
    border: none;
    border-top: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    color: var(--ps-primary);
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}

.btn-add:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-bg);
}

/* ── Boutons filiation ──────────────────────────────────── */
.filiation-btns[b-ucqhh8nel8] {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-filiation[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s;
    box-shadow: var(--ps-shadow-sm);
}

.btn-filiation:hover[b-ucqhh8nel8] {
    background: var(--ps-primary-pale);
}

/* ── Ligne inline (origine/destination) ─────────────────── */
.row-inline[b-ucqhh8nel8] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
 
.row-inline--vcenter[b-ucqhh8nel8] { align-items: flex-end; }

/* Tailles pour la ligne adresse */
.field--flex[b-ucqhh8nel8] { flex: 1; min-width: 140px; }
.field--xs[b-ucqhh8nel8]   { width: 80px;  flex-shrink: 0; }

/* Case à cocher alignée avec les champs */
.field-check--inline[b-ucqhh8nel8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 7px; /* aligner avec le bas des inputs */
    font-size: 13px;
    color: var(--ps-text-strong);
    white-space: nowrap;
}

.filiation-hint[b-ucqhh8nel8] {
    font-size: 12px;
    color: var(--ps-text-muted);
    font-style: italic;
    margin: 0 0 8px;
}

/* ── Validation ─────────────────────────────────────────── */
.field-input--error[b-ucqhh8nel8] {
    border-color: #A32D2D;
    background: #fdecea;
}

.field-input--error:focus[b-ucqhh8nel8] {
    border-color: #A32D2D;
    box-shadow: 0 0 0 2px rgba(163, 45, 45, 0.2);
}

.field-error[b-ucqhh8nel8] {
    font-size: 10px;
    color: #A32D2D;
    margin-top: 2px;
}

/* ── Bandeau d'enregistrement ─────────────────────────────── */
.save-banner[b-ucqhh8nel8] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    margin: 12px 0 0;
    border-radius: var(--ps-radius-md);
    font-size: 13px;
    box-shadow: var(--ps-shadow-sm);
}

    .save-banner .ti[b-ucqhh8nel8] {
        font-size: 16px;
        flex-shrink: 0;
        margin-top: 1px;
    }

.save-banner--error[b-ucqhh8nel8] {
    background: #FBEAEA;
    color: #A32D2D;
    border: 0.5px solid #E4A9A9;
}

.save-banner ul[b-ucqhh8nel8] {
    margin: 4px 0 0;
    padding-left: 18px;
}

.save-banner li[b-ucqhh8nel8] {
    margin-top: 2px;
}
/* /Components/Pages/Personnes/FusionFoyersDialog.razor.rz.scp.css */
.fusion-dialog-body[b-62t8860x46] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--ps-text-strong);
}

.fusion-intro[b-62t8860x46] {
    font-size: 13px;
    color: var(--ps-text-muted);
    margin: 0;
}

/* ── Cartes foyers ──────────────────────────────────────── */
.fusion-foyers[b-62t8860x46] {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.fusion-carte[b-62t8860x46] {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--ps-primary-surface);
}

.fusion-carte-label[b-62t8860x46] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ps-text-muted);
    font-weight: 600;
}

.fusion-carte-num[b-62t8860x46] {
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-text-strong);
}

.fusion-carte-nom[b-62t8860x46] {
    font-size: 13px;
    color: var(--ps-text-strong);
    overflow-wrap: break-word;
}

.fusion-sep[b-62t8860x46] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ps-primary-light);
    font-size: 18px;
}

.fusion-changer[b-62t8860x46] {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ps-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
}

.fusion-changer:hover[b-62t8860x46] { color: var(--ps-primary); }

/* ── Avertissement ──────────────────────────────────────── */
.fusion-avertissement[b-62t8860x46] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--ps-badge-archive-bg);
    background: #FDF3E3;
    border: 0.5px solid var(--ps-badge-archive-bg);
    border-radius: var(--ps-radius-md);
    padding: 8px 10px;
    margin: 0;
}

.btn[b-62t8860x46] {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-62t8860x46] { background: var(--ps-primary-bg); }

.btn-primary[b-62t8860x46] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-62t8860x46] { background: var(--ps-primary-dark); }

.btn-primary:disabled[b-62t8860x46] {
    background: var(--ps-primary-pale);
    border-color: var(--ps-primary-pale);
    color: var(--ps-primary-surface);
    cursor: not-allowed;
    box-shadow: none;
}

button:focus[b-62t8860x46],
button:focus-visible[b-62t8860x46] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Personnes/ListePersonnes.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   ListePersonnes — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────── */
.liste-wrap[b-4p6oewgkgt] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.liste-header[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.liste-title[b-4p6oewgkgt] {
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Barre d'outils ─────────────────────────────────────── */
.liste-toolbar[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    box-shadow: var(--ps-shadow-sm);
    flex-shrink: 0;
}

.liste-toolbar-left[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.liste-toolbar-right[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.liste-search[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--ps-radius-md);
    padding: 5px 10px;
    flex: 1;
    max-width: 400px;
}

.liste-search i[b-4p6oewgkgt] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    flex-shrink: 0;
}

.liste-search-input[b-4p6oewgkgt] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    flex: 1;
}

.liste-search-input[b-4p6oewgkgt]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.liste-search-clear[b-4p6oewgkgt] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.liste-search-clear:hover[b-4p6oewgkgt] {
    color: #fff;
}

.liste-histo-toggle[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    white-space: nowrap;
}

.liste-histo-toggle input[b-4p6oewgkgt] {
    accent-color: var(--ps-primary-bg);
    width: 14px;
    height: 14px;
}

/* ── Export dropdown ────────────────────────────────────── */
.export-dropdown[b-4p6oewgkgt] {
    position: relative;
}

.export-chevron[b-4p6oewgkgt] {
    font-size: 11px;
    margin-left: 2px;
}

.export-menu[b-4p6oewgkgt] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-lg);
    z-index: 100;
    min-width: 220px;
    overflow: hidden;
}

.export-menu-item[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
    color: var(--ps-text-strong);
    font-size: 13px;
}

.export-menu-item:hover[b-4p6oewgkgt] {
    background: var(--ps-primary-bg);
}

.export-menu-item i[b-4p6oewgkgt] {
    font-size: 18px;
    color: var(--ps-primary);
    flex-shrink: 0;
}

.export-menu-label[b-4p6oewgkgt] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ps-text-strong);
}

.export-menu-desc[b-4p6oewgkgt] {
    font-size: 11px;
    color: var(--ps-text-muted);
    margin-top: 1px;
}

.btn-toolbar[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 14px;
    background: #fff;
    color: var(--ps-primary);
    border: none;
    border-radius: var(--ps-radius-md);
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--ps-shadow-sm);
    transition: background 0.15s;
}

.btn-toolbar:hover:not(:disabled)[b-4p6oewgkgt] {
    background: var(--ps-primary-bg);
}

.btn-toolbar:disabled[b-4p6oewgkgt] {
    opacity: 0.45;
    cursor: default;
}

/* ── Grille Radzen ──────────────────────────────────────── */
.liste-grid[b-4p6oewgkgt] {
    height: 100%;
    width: 100%;
}

/* ── Zone grille ────────────────────────────────────────── */
.liste-grid-wrap[b-4p6oewgkgt] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* ── Pagination ─────────────────────────────────────────── */
.liste-pagination[b-4p6oewgkgt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 1.25rem;
    border-top: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
    gap: 12px;
}

.liste-total[b-4p6oewgkgt] {
    font-size: 12px;
    color: var(--ps-text-muted);
    white-space: nowrap;
}

.liste-pagination-btns[b-4p6oewgkgt] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.btn-page[b-4p6oewgkgt] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-pale);
    background: white;
    color: var(--ps-text-strong);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-page:hover:not(:disabled)[b-4p6oewgkgt] {
    background: var(--ps-primary-bg);
}

.btn-page:disabled[b-4p6oewgkgt] {
    opacity: 0.4;
    cursor: default;
}

.btn-page--active[b-4p6oewgkgt] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
}

.liste-taille-select[b-4p6oewgkgt] {
    font-size: 12px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 4px 8px;
    cursor: pointer;
}

.export-menu-group[b-4p6oewgkgt] {
    font-size: 10px;
    font-weight: 600;
    color: var(--ps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px 2px;
}

.export-menu-separator[b-4p6oewgkgt] {
    height: 0.5px;
    background: var(--ps-primary-pale);
    margin: 4px 0;
}
/* /Components/Pages/Personnes/ReintegrerFoyerDialog.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   ReintegrerFoyerDialog — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.reintegrer-body[b-gczl74nu26] {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ps-text-strong);
    font-size: 13px;
}

    .reintegrer-body p[b-gczl74nu26] {
        margin: 0;
    }

.reintegrer-role[b-gczl74nu26] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 220px;
}

.field-label[b-gczl74nu26] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-gczl74nu26] {
    width: 100%;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 6px 10px;
}

    .field-input:focus[b-gczl74nu26] {
        outline: none;
        border-color: var(--ps-primary);
        box-shadow: var(--ps-focus-ring);
    }

.reintegrer-info[b-gczl74nu26] {
    display: flex;
    gap: 8px;
    background: var(--ps-primary-bg);
    border-radius: var(--ps-radius-md);
    padding: 10px 12px;
    line-height: 1.45;
}

    .reintegrer-info i[b-gczl74nu26] {
        color: var(--ps-primary);
        font-size: 16px;
    }
/* /Components/Pages/Recensement/Fiche/FicheRecensement.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   FicheRecensement — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.fiche-wrap[b-ctw3ba6hoc] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.fr-header[b-ctw3ba6hoc] {
    display: flex;
    align-items: center;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
    flex-shrink: 0;
}

.fr-title[b-ctw3ba6hoc] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Corps ──────────────────────────────────────────────── */
.fiche-body[b-ctw3ba6hoc] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.fiche-main[b-ctw3ba6hoc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* ── Onglets ────────────────────────────────────────────── */
.tabs[b-ctw3ba6hoc] {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.tab[b-ctw3ba6hoc] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-ctw3ba6hoc] { color: var(--ps-text-mid); }

.tab.active[b-ctw3ba6hoc] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: white;
}

.tab-content[b-ctw3ba6hoc] {
    padding: 1.25rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ── Sidebar actions ─────────────────────────────────────── */
.fr-sidebar[b-ctw3ba6hoc] {
    width: 190px;
    flex-shrink: 0;
    background: var(--ps-primary-bg);
    border-left: 0.5px solid var(--ps-primary-pale);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.fr-sidebar-actions[b-ctw3ba6hoc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-sb-action[b-ctw3ba6hoc] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: white;
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    text-align: left;
}

.btn-sb-action:hover[b-ctw3ba6hoc] { background: var(--ps-primary-pale); }

.fr-tile[b-ctw3ba6hoc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #8a4b00;
    background: #FDEBD0;
    border: 0.5px solid #F0B865;
    border-radius: var(--ps-radius-md);
    padding: 16px 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.fr-tile:hover[b-ctw3ba6hoc] { background: #FCE0B3; }

.fr-tile i[b-ctw3ba6hoc] { font-size: 26px; }

/* ── Boutons globaux ────────────────────────────────────── */
.btn[b-ctw3ba6hoc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: white;
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-ctw3ba6hoc] { background: var(--ps-primary-bg); }

.btn-primary[b-ctw3ba6hoc] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-ctw3ba6hoc] { background: var(--ps-primary-dark); }

/* ── Consultation seule ─────────────────────────────────── */
/* display: contents : le fieldset ne crée pas de boîte, la mise en page de .tab-content est inchangée. */
.fr-fieldset[b-ctw3ba6hoc] {
    display: contents;
}

/* ── Éditions indisponibles tant que la fiche n'est pas enregistrée ── */
/* Pas de pointer-events: none, sinon l'infobulle « Validez la fiche… » ne s'afficherait pas. */
.btn-sb-action:disabled[b-ctw3ba6hoc],
.fr-tile:disabled[b-ctw3ba6hoc] {
    opacity: 0.4;
    cursor: default;
}

.btn-sb-action:disabled:hover[b-ctw3ba6hoc] {
    background: white;
}

.fr-tile:disabled:hover[b-ctw3ba6hoc] {
    background: #FDEBD0;
}
/* /Components/Pages/Recensement/Fiche/FiliationParent.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   FiliationParent — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-frgi4b4hfr] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-frgi4b4hfr] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-frgi4b4hfr] { padding: 12px 14px; }

/* ── Grille de champs ───────────────────────────────────── */
.fields-grid[b-frgi4b4hfr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-frgi4b4hfr] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field--xs[b-frgi4b4hfr] { width: 110px; }

.field-label[b-frgi4b4hfr] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-frgi4b4hfr] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-frgi4b4hfr] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input:read-only[b-frgi4b4hfr] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
}

/* ── Champs + actions côte à côte ───────────────────────── */
.filiation-layout[b-frgi4b4hfr] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.filiation-fields[b-frgi4b4hfr] { flex: 1; min-width: 0; }

.filiation-actions[b-frgi4b4hfr] {
    width: 190px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filiation-btn[b-frgi4b4hfr] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: white;
    color: var(--ps-primary);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    text-align: left;
}

.filiation-btn:hover:not(:disabled)[b-frgi4b4hfr] { background: var(--ps-primary-bg); }

.filiation-btn:disabled[b-frgi4b4hfr],
.filiation-btn--disabled[b-frgi4b4hfr] {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
/* /Components/Pages/Recensement/Fiche/OngletAdresse.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletAdresse (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-g9b2u1kl49] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-g9b2u1kl49] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-head--row[b-g9b2u1kl49] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-head-btn[b-g9b2u1kl49] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: white;
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
}

.section-head-btn:hover[b-g9b2u1kl49] { background: var(--ps-primary-pale); }

.section-body[b-g9b2u1kl49] { padding: 12px 14px; }

.fields-grid[b-g9b2u1kl49] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-g9b2u1kl49] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field--flex[b-g9b2u1kl49] { flex: 1; min-width: 200px; grid-column: span 1; }

.field-label[b-g9b2u1kl49] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-g9b2u1kl49] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-g9b2u1kl49] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Recensement/Fiche/OngletDemandeExemption.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletDemandeExemption (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-zhk84ie71f] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-zhk84ie71f] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-zhk84ie71f] { padding: 12px 14px; }

.fields-grid[b-zhk84ie71f] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-zhk84ie71f] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field--flex[b-zhk84ie71f] { flex: 1; min-width: 200px; }

.field-label[b-zhk84ie71f] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-zhk84ie71f] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-zhk84ie71f] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Recensement/Fiche/OngletEtatCivil.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletEtatCivil (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-zja7tb7ev8] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-zja7tb7ev8] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-zja7tb7ev8] { padding: 12px 14px; }

/* ── Grilles de champs ──────────────────────────────────── */
.fields-grid[b-zja7tb7ev8] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.fields-grid--mt[b-zja7tb7ev8] { margin-top: 12px; }

.field[b-zja7tb7ev8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field--xs[b-zja7tb7ev8] { width: 110px; }
.field--s[b-zja7tb7ev8] { width: 160px; }
.field--flex[b-zja7tb7ev8] { flex: 1; min-width: 200px; }

.field-label[b-zja7tb7ev8] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-label--requis[b-zja7tb7ev8]::after {
    content: " *";
    color: #A32D2D;
    font-weight: 700;
}

.field-input[b-zja7tb7ev8] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-zja7tb7ev8] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input:read-only[b-zja7tb7ev8] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
}

/* ── Sexe (radios) ──────────────────────────────────────── */
.fr-radio-group[b-zja7tb7ev8] {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-top: 4px;
}

.fr-radio[b-zja7tb7ev8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.fr-radio input[type="radio"][b-zja7tb7ev8] {
    accent-color: var(--ps-primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ── Info période légale ────────────────────────────────── */
.fr-info[b-zja7tb7ev8] {
    font-size: 12px;
    color: var(--ps-text-mid);
    background: var(--ps-primary-bg);
    border-radius: var(--ps-radius-md);
    padding: 8px 12px;
    margin: 12px 0 0;
    line-height: 1.5;
}

/* ── Note bas de page ───────────────────────────────────── */
.fr-footer-note[b-zja7tb7ev8] {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    font-size: 12px;
    color: var(--ps-text-muted);
    font-style: italic;
}
/* /Components/Pages/Recensement/Fiche/OngletFiliation.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletFiliation (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.fr-info[b-y47o7jqdqs] {
    font-size: 12px;
    color: var(--ps-text-mid);
    background: var(--ps-primary-bg);
    border-radius: var(--ps-radius-md);
    padding: 8px 12px;
    margin: 12px 0 0;
    line-height: 1.5;
}
/* /Components/Pages/Recensement/Fiche/OngletNationalite.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletNationalite (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-81lvy02i81] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-81lvy02i81] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-81lvy02i81] { padding: 12px 14px; }

.fields-grid[b-81lvy02i81] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-81lvy02i81] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-81lvy02i81] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-81lvy02i81] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-81lvy02i81] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

/* ── Case à cocher ──────────────────────────────────────── */
.field-check[b-81lvy02i81] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ps-text-strong);
    padding: 18px 0 0;
}

.field-check input[type="checkbox"][b-81lvy02i81] {
    accent-color: var(--ps-primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
}
/* /Components/Pages/Recensement/Fiche/OngletQualifProfess.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletQualifProfess (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-bkoo12ca4r] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-bkoo12ca4r] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-bkoo12ca4r] { padding: 12px 14px; }

.fields-grid[b-bkoo12ca4r] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-bkoo12ca4r] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-bkoo12ca4r] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-bkoo12ca4r] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-bkoo12ca4r] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Recensement/Fiche/OngletSituationFamiliale.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletSituationFamiliale (Fiche recensement) — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.section[b-y8q4oujqxv] {
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-y8q4oujqxv] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-y8q4oujqxv] { padding: 12px 14px; }

.fields-grid[b-y8q4oujqxv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.field[b-y8q4oujqxv] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-y8q4oujqxv] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-y8q4oujqxv] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-y8q4oujqxv] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Pages/Recensement/Listes/PersonnesRecensablesDialog.razor.rz.scp.css */
.recensables-annuler[b-od5doowy14] {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.recensables-annuler:hover[b-od5doowy14] { background: rgba(255, 255, 255, 0.15); }

.recensables-body[b-od5doowy14] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 14px;
}

/* ── Filtres ────────────────────────────────────────────── */
.recensables-filtres[b-od5doowy14] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.field[b-od5doowy14] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-od5doowy14] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-od5doowy14] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-od5doowy14] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input--ro[b-od5doowy14] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
}

.field-input--badge[b-od5doowy14] {
    background: var(--ps-primary-surface);
    border-color: var(--ps-badge-morale-bg);
    color: var(--ps-badge-morale-bg);
    font-weight: 600;
    text-align: center;
}

.field--xs[b-od5doowy14] { width: 90px; }
.field--s[b-od5doowy14] { width: 140px; }
.field--nationalite[b-od5doowy14] { width: 120px; }
.field--actualiser[b-od5doowy14] { width: 150px; flex-shrink: 0; margin-left: auto; }

/* ── Tableau + action ───────────────────────────────────── */
.recensables-tablerow[b-od5doowy14] {
    flex: 1;
    display: flex;
    gap: 12px;
    min-height: 0;
}

.recensables-souslabel[b-od5doowy14] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-primary);
    margin: 0 0 6px;
}

.recensables-souslabel--spacer[b-od5doowy14] { visibility: hidden; }

.recensables-actions-col[b-od5doowy14] {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recensables-actions-col .btn-foyer-action + .btn-foyer-action[b-od5doowy14] { margin-top: 6px; }

.btn-foyer-action[b-od5doowy14] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

.btn-foyer-action:hover:not(:disabled)[b-od5doowy14] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-od5doowy14] { opacity: 0.4; cursor: default; }

/* ── Grille ─────────────────────────────────────────────── */
.recensables-grid-wrap[b-od5doowy14] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.recensables-grid[b-od5doowy14] { flex: 1; min-height: 0; }
/* /Components/Pages/Recensement/Listes/Recensement.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Recensement — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.recensement-wrap[b-n9u7hlrdwy] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.recensement-header[b-n9u7hlrdwy] {
    display: flex;
    align-items: center;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.recensement-title[b-n9u7hlrdwy] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Filtres ────────────────────────────────────────────── */
.recensement-filtres[b-n9u7hlrdwy] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    border-bottom: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.field[b-n9u7hlrdwy] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-n9u7hlrdwy] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-n9u7hlrdwy] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-n9u7hlrdwy] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input--ro[b-n9u7hlrdwy] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
}

.field--xs[b-n9u7hlrdwy] { width: 90px; }
.field--s[b-n9u7hlrdwy] { width: 140px; }
.field--flex[b-n9u7hlrdwy] { flex: 1; min-width: 220px; }

.field--actualiser[b-n9u7hlrdwy] { width: 150px; flex-shrink: 0; }

/* ── Corps (grille + actions) ────────────────────────────── */
.recensement-body[b-n9u7hlrdwy] {
    flex: 1;
    display: flex;
    gap: 12px;
    min-height: 0;
    padding: 1rem 1.25rem;
}

.recensement-grid-wrap[b-n9u7hlrdwy] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recensement-souslabel[b-n9u7hlrdwy] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-primary);
    margin: 0;
}

.recensement-souslabel--spacer[b-n9u7hlrdwy] { visibility: hidden; }

.recensement-grid[b-n9u7hlrdwy] { flex: 1; min-height: 0; }

.recensement-actions-col[b-n9u7hlrdwy] {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-foyer-action[b-n9u7hlrdwy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

.btn-foyer-action:hover:not(:disabled)[b-n9u7hlrdwy] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-n9u7hlrdwy] { opacity: 0.4; cursor: default; }

/* ── Forcer (non recensés) ──────────────────────────────── */
.recensement-forcer[b-n9u7hlrdwy] {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 0.5px solid var(--ps-primary-pale);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* /Components/Pages/Recensement/Validation/HistoriquePecotoDialog.razor.rz.scp.css */
.historique-body[b-iqn8yvh38h] {
    flex: 1;
    min-height: 0;
    padding: 16px 20px;
}

.btn[b-iqn8yvh38h] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-iqn8yvh38h] { background: var(--ps-primary-bg); }
/* /Components/Pages/Recensement/Validation/ValidationRecensements.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Validation des recensements — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.validation-wrap[b-y3a1xtfpqt] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.validation-header[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.validation-title[b-y3a1xtfpqt] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Recherche (encadré + actualiser) ────────────────────── */
.validation-recherche-row[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem 0.75rem;
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.validation-recherche[b-y3a1xtfpqt] {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 1rem 1rem 0.85rem;
    border: 1px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
}

.validation-recherche-legend[b-y3a1xtfpqt] {
    position: absolute;
    top: -9px;
    left: 12px;
    padding: 0 6px;
    background: var(--ps-primary-surface);
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-primary);
}

.validation-recherche-fields[b-y3a1xtfpqt] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

button.validation-actualiser[b-y3a1xtfpqt] {
    width: 140px;
    height: 44px;
    flex-shrink: 0;
    justify-content: center;
}

/* ── Filtres secondaires (officier / commune / fichier) ──── */
.validation-filtres2[b-y3a1xtfpqt] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 0 1.25rem 1rem;
    background: var(--ps-primary-surface);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    flex-shrink: 0;
}

.field[b-y3a1xtfpqt] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.field-label[b-y3a1xtfpqt] {
    font-size: 11px;
    color: var(--ps-text-muted);
    font-weight: 500;
}

.field-input[b-y3a1xtfpqt] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-y3a1xtfpqt] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-input--ro[b-y3a1xtfpqt] {
    background: var(--ps-primary-bg);
    color: var(--ps-text-mid);
}

.field--xs[b-y3a1xtfpqt] { width: 90px; }
.field--s[b-y3a1xtfpqt] { width: 160px; }
.field--flex[b-y3a1xtfpqt] { flex: 1; min-width: 220px; }

.field--checkbox[b-y3a1xtfpqt] {
    flex-direction: row;
    align-items: center;
    padding-bottom: 6px;
}

.field-checkbox-label[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-mid);
    white-space: nowrap;
    cursor: pointer;
}

.field-checkbox-label input[type="checkbox"][b-y3a1xtfpqt] {
    accent-color: var(--ps-primary);
}

/* ── Grille ───────────────────────────────────────────────── */
.validation-grid-wrap[b-y3a1xtfpqt] {
    flex: 1;
    min-height: 0;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.validation-grid[b-y3a1xtfpqt] { flex: 1; min-height: 0; }

/* ── Barre d'actions ──────────────────────────────────────── */
.validation-actions[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0.75rem 1.25rem;
    border-top: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.validation-actions-grid[b-y3a1xtfpqt] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px;
}

.validation-actions-carre[b-y3a1xtfpqt] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.validation-btn-carre[b-y3a1xtfpqt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 140px;
    height: 90px;
    padding: 8px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    cursor: pointer;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s;
}

.validation-btn-carre i[b-y3a1xtfpqt] {
    font-size: 22px;
    color: var(--ps-primary);
}

.validation-btn-carre:hover:not(:disabled)[b-y3a1xtfpqt] { background: var(--ps-primary-bg); }
.validation-btn-carre:disabled[b-y3a1xtfpqt] { opacity: 0.4; cursor: default; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover:not(:disabled)[b-y3a1xtfpqt] { background: var(--ps-primary-bg); }
.btn:disabled[b-y3a1xtfpqt] { opacity: 0.4; cursor: default; }

.btn-foyer-action[b-y3a1xtfpqt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--color-background-primary);
    color: var(--ps-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

.btn-foyer-action:hover:not(:disabled)[b-y3a1xtfpqt] { background: var(--ps-primary-bg); }
.btn-foyer-action:disabled[b-y3a1xtfpqt] { opacity: 0.4; cursor: default; }

/* ── Libellé au-dessus de la grille (comme LIB_Libellé du WinDev) ── */
.validation-souslabel[b-y3a1xtfpqt] {
    font-size: 12px;
    font-weight: 600;
    color: var(--ps-primary);
    margin: 0 0 6px;
    flex-shrink: 0;
}
/* /Components/Pages/Recherche/OngletCriteres.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletCriteres — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

/* ── Corps (formulaire + colonnes) ──────────────────────── */
/* .criteres-body est le seul élément qui scrolle, sans padding
   (le padding sur un conteneur overflow:auto perd son bas au scroll) */
.criteres-body[b-f96790qqnv] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.criteres-body-inner[b-f96790qqnv] {
    display: flex;
    gap: 2rem;
    padding: 1rem 1.25rem;
}

.criteres-form[b-f96790qqnv] {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.criteres-colonnes[b-f96790qqnv] {
    flex: 1;
    min-width: 0;
}

.criteres-colonnes .section[b-f96790qqnv] { height: 100%; display: flex; flex-direction: column; }

.criteres-colonnes-head[b-f96790qqnv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.criteres-colonnes-actions[b-f96790qqnv] { display: flex; gap: 10px; }

.btn-lien[b-f96790qqnv] {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--ps-primary);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.btn-lien:hover[b-f96790qqnv] { text-decoration: underline; }

.criteres-colonnes-body[b-f96790qqnv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.criteres-footer[b-f96790qqnv] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 1.25rem;
    border-top: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

/* ── Sections ───────────────────────────────────────────── */
.section[b-f96790qqnv] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-head[b-f96790qqnv] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ps-text-strong);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 14px;
    background: var(--ps-primary-bg);
    border-bottom: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.section-body[b-f96790qqnv] {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Rangées label-gauche / champs-droite ───────────────── */
.criteres-row[b-f96790qqnv] {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 30px;
}

.criteres-row-label[b-f96790qqnv] {
    flex: 1;
    flex-shrink: 0;
    text-align: right;
    font-size: 12px;
    color: var(--ps-text-strong);
    font-weight: 500;
}

.criteres-row-content[b-f96790qqnv] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 3;
    min-width: 0;
}

.criteres-row-content--wrap[b-f96790qqnv] { flex-wrap: wrap; }

.criteres-row-spacer[b-f96790qqnv] { flex: 1; }

/* Deux colonnes de checkboxes (ex. "Autres critères") */
.criteres-cols[b-f96790qqnv] {
    align-items: flex-start;
    gap: 40px;
}

.criteres-col[b-f96790qqnv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Connecteur qui lie deux champs d'une même plage ("et", "et le") */
.criteres-inter[b-f96790qqnv] {
    font-size: 12px;
    color: var(--ps-primary-mid);
    font-weight: 500;
    white-space: nowrap;
    width: 46px;
    flex-shrink: 0;
    text-align: center;
}

/* Sous-libellé qui qualifie uniquement le champ suivant ("Mois", "Lettre") */
.criteres-sublabel[b-f96790qqnv] {
    font-size: 12px;
    color: var(--ps-text-strong);
    font-weight: 500;
    white-space: nowrap;
    width: 46px;
    flex-shrink: 0;
    text-align: center;
}

.field[b-f96790qqnv] { display: flex; flex-direction: column; gap: 3px; }
.field--flex[b-f96790qqnv] { flex: 1 1 0%; min-width: 120px; }
.field--xs[b-f96790qqnv],
.field--s[b-f96790qqnv]    { flex: 0 0 140px; min-width: 0; }

.field-label[b-f96790qqnv] { font-size: 11px; color: var(--ps-text-muted); font-weight: 500; }

.field-input[b-f96790qqnv] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    box-sizing: border-box;
}

.field-input:focus[b-f96790qqnv] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.criteres-hint[b-f96790qqnv] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ps-text-muted);
    font-style: italic;
}

/* ── Checkbox / radio ───────────────────────────────────── */
.field-check[b-f96790qqnv],
.field-radio[b-f96790qqnv] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-strong);
    cursor: pointer;
    white-space: nowrap;
}

.field-check input[type="checkbox"][b-f96790qqnv],
.field-radio input[type="radio"][b-f96790qqnv] {
    accent-color: var(--ps-primary);
    width: 14px;
    height: 14px;
}

/* ── Boutons globaux ────────────────────────────────────── */
.btn[b-f96790qqnv] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-f96790qqnv] { background: var(--ps-primary-bg); }

.btn-primary[b-f96790qqnv] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-f96790qqnv] { background: var(--ps-primary-dark); }

/* Liste des rues (ComboboxAvecAjout) : prend la place disponible à côté de la case « anciennes adresses » */
.criteres-rue[b-f96790qqnv] {
    flex: 1;
    min-width: 0;
}
/* /Components/Pages/Recherche/OngletResultat.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   OngletResultat — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.tab-content[b-8n1u3y5eot] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.25rem;
    gap: 8px;
}

.resultat-grid-wrap[b-8n1u3y5eot] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.resultat-info[b-8n1u3y5eot] {
    font-size: 12px;
    color: var(--ps-text-muted);
    flex-shrink: 0;
}

/* ── Pied de page (même principe que .criteres-footer de l'onglet Critères) ── */
.resultat-footer[b-8n1u3y5eot] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 1.25rem;
    border-top: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.btn[b-8n1u3y5eot] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-8n1u3y5eot] { background: var(--ps-primary-bg); }
/* /Components/Pages/Recherche/RechercheMulticriteres.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   RechercheMulticriteres — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.recherche-wrap[b-iy1bxk052v] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    box-shadow: var(--ps-shadow-md);
}

.recherche-header[b-iy1bxk052v] {
    padding: 10px 1.25rem;
    background: var(--ps-primary);
}

.recherche-title[b-iy1bxk052v] {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

/* ── Onglets ────────────────────────────────────────────── */
.tabs[b-iy1bxk052v] {
    display: flex;
    border-bottom: 1px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}

.tab[b-iy1bxk052v] {
    font-size: 12px;
    padding: 10px 14px;
    color: var(--ps-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s;
}

.tab:hover[b-iy1bxk052v] { color: var(--ps-text-mid); }

.tab.active[b-iy1bxk052v] {
    color: var(--ps-primary);
    border-bottom-color: var(--ps-primary);
    font-weight: 500;
    background: var(--color-background-primary);
}

/* ── Onglets à venir ────────────────────────────────────── */
.tab-content[b-iy1bxk052v] {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
}

.section[b-iy1bxk052v] {
    background: var(--color-background-primary);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
}

.section-body[b-iy1bxk052v] { padding: 12px 14px; }

.onglet-empty[b-iy1bxk052v] {
    font-size: 13px;
    color: var(--ps-text-muted);
    font-style: italic;
    padding: 1rem 0;
    text-align: center;
}
/* /Components/Shared/Dialogues/ChoisirPersonneDialog.razor.rz.scp.css */
.choix-body[b-76jg43ndet] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px;
}

/* ── Barre d'outils ─────────────────────────────────────── */
.choix-toolbar[b-76jg43ndet] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.choix-recherche[b-76jg43ndet] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 0 10px;
    min-width: 240px;
}

.choix-recherche i[b-76jg43ndet] {
    color: var(--ps-text-muted);
    font-size: 14px;
}

.choix-recherche .field-input[b-76jg43ndet] {
    border: none;
    background: transparent;
    padding: 7px 0;
}

.choix-recherche .field-input:focus[b-76jg43ndet] { outline: none; box-shadow: none; }

.choix-toggle[b-76jg43ndet] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ps-text-mid);
    cursor: pointer;
    white-space: nowrap;
}

/* ── Grille ─────────────────────────────────────────────── */
.choix-grid-wrap[b-76jg43ndet] {
    flex: 1;
    min-height: 0;
}

.btn[b-76jg43ndet] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-76jg43ndet] { background: var(--ps-primary-bg); }

.btn-primary[b-76jg43ndet] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-76jg43ndet] { background: var(--ps-primary-dark); }

.btn-primary:disabled[b-76jg43ndet] {
    background: var(--ps-primary-pale);
    border-color: var(--ps-primary-pale);
    color: var(--ps-primary-surface);
    cursor: not-allowed;
    box-shadow: none;
}

button:focus[b-76jg43ndet],
button:focus-visible[b-76jg43ndet] {
    outline: none;
    box-shadow: var(--ps-focus-ring);
}
/* /Components/Shared/Dialogues/ConfirmDialog.razor.rz.scp.css */
.confirm-body[b-84mty856z0] {
    padding: 20px;
    font-size: 13px;
    color: var(--ps-text-strong);
    line-height: 1.5;
}

.confirm-body strong[b-84mty856z0] {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.confirm-body p[b-84mty856z0] {
    margin: 0;
    color: var(--ps-text-mid);
    /* Les « \n » du message deviennent des retours à la ligne (sans effet sur les messages d'une ligne). */
    white-space: pre-line;
}

.btn-danger[b-84mty856z0] {
    background: #a63333;
    color: white;
    border-color: #a63333;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(163, 45, 45, 0.3);
}

.btn-danger:hover[b-84mty856z0] {
    background: #852424;
}
/* /Components/Shared/Dialogues/DialogueCadre.razor.rz.scp.css */
.dialogue-fond[b-50dc9781j0] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialogue-cadre[b-50dc9781j0] {
    background: white;
    border-radius: var(--ps-radius-lg);
    box-shadow: 0 8px 32px rgba(15, 110, 86, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dialogue-cadre--visible[b-50dc9781j0] {
    overflow: visible;
}

/* Sans « overflow: hidden », le bandeau et le pied doivent arrondir eux-mêmes leurs coins. */
.dialogue-cadre--visible .dialogue-entete[b-50dc9781j0] {
    border-radius: var(--ps-radius-lg) var(--ps-radius-lg) 0 0;
}

.dialogue-cadre--visible .dialogue-pied[b-50dc9781j0] {
    border-radius: 0 0 var(--ps-radius-lg) var(--ps-radius-lg);
}

.dialogue-entete[b-50dc9781j0] {
    background: var(--ps-primary);
    color: white;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.dialogue-entete span[b-50dc9781j0] {
    flex: 1;
}

.dialogue-entete i[b-50dc9781j0] {
    font-size: 18px;
    opacity: 0.85;
}

.dialogue-pied[b-50dc9781j0] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 0.5px solid var(--ps-primary-pale);
    background: var(--ps-primary-surface);
    flex-shrink: 0;
}
/* /Components/Shared/Dialogues/MotDePasseDialog.razor.rz.scp.css */
.confirm-body[b-48nk3ctnha] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.confirm-body p[b-48nk3ctnha] {
    margin: 0;
    font-size: 13px;
    color: var(--ps-text-mid);
    line-height: 1.5;
}

.field-input[b-48nk3ctnha] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-48nk3ctnha] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.field-error[b-48nk3ctnha] {
    font-size: 12px;
    color: #A32D2D;
    margin: 4px 0 0;
}

.btn[b-48nk3ctnha] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    cursor: pointer;
    background: var(--color-background-primary);
    color: var(--ps-text-strong);
    transition: background 0.15s;
}

.btn:hover[b-48nk3ctnha] { background: var(--ps-primary-bg); }

.btn-primary[b-48nk3ctnha] {
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    border-color: var(--ps-primary);
    font-weight: 500;
    box-shadow: var(--ps-shadow-btn);
}

.btn-primary:hover[b-48nk3ctnha] { background: var(--ps-primary-dark); }
/* /Components/Shared/Saisie/AdresseAutocomplete.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   AdresseAutocomplete — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.adresse-autocomplete-field[b-kumukiwpnq] { position: relative; }

.field-input[b-kumukiwpnq] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-kumukiwpnq] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.geo-liste[b-kumukiwpnq] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    box-shadow: var(--ps-shadow-lg);
    z-index: 1000;
    list-style: none;
    padding: 4px 0;
    margin: 2px 0 0;
    max-height: 180px;
    overflow-y: auto;
}

.geo-liste li[b-kumukiwpnq] {
    font-size: 13px;
    color: var(--ps-text-strong);
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.1s;
}

.geo-liste li:hover[b-kumukiwpnq] { background: var(--ps-primary-bg); color: var(--ps-primary); }

.geo-liste-item--active[b-kumukiwpnq] { background: var(--ps-primary-bg); color: var(--ps-primary); }

/* Place réservée en permanence pour le rond : le texte ne saute pas quand il apparaît. */
.commune-autocomplete-field input[b-kumukiwpnq],
.adresse-autocomplete-field input[b-kumukiwpnq] {
    padding-right: 28px;
}

/* Rond de chargement, dans le champ, côté droit */
.geo-chargement[b-kumukiwpnq] {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid var(--ps-primary-light);
    border-top-color: var(--ps-primary);
    border-radius: 50%;
    animation: geo-rotation-b-kumukiwpnq 0.7s linear infinite;
    pointer-events: none;
}

@keyframes geo-rotation-b-kumukiwpnq {
    to {
        transform: rotate(360deg);
    }
}

/* Moins de mouvement demandé : le rond tourne plus lentement, sans disparaître */
@media (prefers-reduced-motion: reduce) {
    .geo-chargement[b-kumukiwpnq] {
        animation-duration: 2s;
    }
}

/* Ligne d'information, non cliquable */
.geo-liste li.geo-liste-vide[b-kumukiwpnq],
.geo-liste li.geo-liste-vide:hover[b-kumukiwpnq] {
    background: none;
    color: var(--ps-text-muted);
    font-style: italic;
    cursor: default;
}
/* /Components/Shared/Saisie/ChampDate.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   ChampDate — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.champ-date[b-lpmxv8qk2p] {
    position: relative;
    width: 100%;
}

/* Même présentation que les autres champs : chaque écran style .field-input dans son CSS isolé, qui n'atteint pas ce composant. */
.field-input[b-lpmxv8qk2p] {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 1px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    padding: 6px 30px 6px 10px; /* à droite : place du bouton calendrier */
}

    .field-input:focus[b-lpmxv8qk2p] {
        outline: none;
        border-color: var(--ps-primary);
        box-shadow: var(--ps-focus-ring);
    }

    .field-input:disabled[b-lpmxv8qk2p] {
        background: var(--ps-primary-surface);
        color: var(--ps-text-muted);
        cursor: not-allowed;
    }

    .field-input[readonly][b-lpmxv8qk2p] {
        background: var(--ps-primary-surface);
    }

/* Saisie illisible : laissée affichée, encadrée en rouge */
.champ-date--invalide .field-input[b-lpmxv8qk2p] {
    border-color: #C0392B;
}

    .champ-date--invalide .field-input:focus[b-lpmxv8qk2p] {
        box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.25);
    }

.champ-date-bouton[b-lpmxv8qk2p] {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 2px 4px;
    cursor: pointer;
    color: var(--ps-primary-mid);
    font-size: 15px;
    line-height: 1;
}

    .champ-date-bouton:hover[b-lpmxv8qk2p] {
        color: var(--ps-primary);
    }

/* Calendrier du navigateur, invisible et sans place : seul son sélecteur s'affiche, ancré sous le champ. */
.champ-date-calendrier[b-lpmxv8qk2p] {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}
/* /Components/Shared/Saisie/ComboboxAvecAjout.razor.rz.scp.css */
.combobox-wrapper[b-mj0j5oiy5q] {
    position: relative;
    width: 100%;
}

.combobox-input-row[b-mj0j5oiy5q] {
    display: flex;
    gap: 4px;
}

.combobox-input[b-mj0j5oiy5q] {
    flex: 1;
    font-size: 13px;
    color: var(--ps-text-strong);
    background: var(--ps-primary-surface);
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 5px 9px;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.combobox-input:focus[b-mj0j5oiy5q] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.combobox-add-btn[b-mj0j5oiy5q] {
    font-size: 16px;
    font-weight: 500;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.combobox-add-btn:hover[b-mj0j5oiy5q] {
    background: var(--ps-primary-pale);
}

.combobox-liste[b-mj0j5oiy5q] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white; /* forcer blanc plutôt que var() */
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    box-shadow: var(--ps-shadow-lg);
    z-index: 1000;
    list-style: none;
    padding: 4px 0;
    margin: 2px 0 0;
    max-height: 220px;
    overflow-y: auto;
}

.combobox-item[b-mj0j5oiy5q] {
    font-size: 13px;
    color: var(--ps-text-strong);
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.1s;
}

.combobox-item:hover[b-mj0j5oiy5q] {
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
}

.combobox-item--active[b-mj0j5oiy5q] {
    background: var(--ps-primary-bg);
    color: var(--ps-primary);
}

.combobox-separateur[b-mj0j5oiy5q] {
    border-top: 1px solid var(--ps-primary-pale);
    margin: 4px 8px;
}

.combobox-ajout[b-mj0j5oiy5q] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 6px;
    padding: 8px;
    background: var(--ps-primary-bg);
    border: 0.5px solid var(--ps-primary-pale);
    border-radius: var(--ps-radius-md);
    box-sizing: border-box;
    width: 100%;
}

.combobox-ajout-label[b-mj0j5oiy5q] {
    font-size: 12px;
    color: var(--ps-primary);
    white-space: nowrap;
}

.combobox-ajout-actions[b-mj0j5oiy5q] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.combobox-btn-confirm[b-mj0j5oiy5q] {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary);
    background: var(--ps-primary);
    color: var(--ps-primary-bg);
    cursor: pointer;
}

.combobox-btn-cancel[b-mj0j5oiy5q] {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: var(--ps-radius-md);
    border: 0.5px solid var(--ps-primary-light);
    background: transparent;
    color: var(--ps-text-strong);
    cursor: pointer;
}

.combobox-erreur[b-mj0j5oiy5q] {
    font-size: 12px;
    color: #A32D2D;
    margin-top: 4px;
}

.combobox-item--courante[b-mj0j5oiy5q] {
    font-weight: 600;

}
/* /Components/Shared/Saisie/CommuneAutocomplete.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   CommuneAutocomplete — CSS isolé Blazor
   Palette : var(--ps-*)
═══════════════════════════════════════════════════════════ */

.commune-autocomplete-field[b-m39wkay0bv] { position: relative; }

.field-input[b-m39wkay0bv] {
    font-size: 13px;
    color: var(--ps-text-strong);
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    padding: 6px 9px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field-input:focus[b-m39wkay0bv] {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: var(--ps-focus-ring);
}

.geo-liste[b-m39wkay0bv] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 0.5px solid var(--ps-primary-light);
    border-radius: var(--ps-radius-md);
    box-shadow: var(--ps-shadow-lg);
    z-index: 1000;
    list-style: none;
    padding: 4px 0;
    margin: 2px 0 0;
    max-height: 180px;
    overflow-y: auto;
}

.geo-liste li[b-m39wkay0bv] {
    font-size: 13px;
    color: var(--ps-text-strong);
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.1s;
}

.geo-liste li:hover[b-m39wkay0bv] { background: var(--ps-primary-bg); color: var(--ps-primary); }

.geo-liste-item--active[b-m39wkay0bv] { background: var(--ps-primary-bg); color: var(--ps-primary); }

/* Place réservée en permanence pour le rond : le texte ne saute pas quand il apparaît. */
.commune-autocomplete-field input[b-m39wkay0bv],
.adresse-autocomplete-field input[b-m39wkay0bv] {
    padding-right: 28px;
}

/* Rond de chargement, dans le champ, côté droit */
.geo-chargement[b-m39wkay0bv] {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid var(--ps-primary-light);
    border-top-color: var(--ps-primary);
    border-radius: 50%;
    animation: geo-rotation-b-m39wkay0bv 0.7s linear infinite;
    pointer-events: none;
}

@keyframes geo-rotation-b-m39wkay0bv {
    to {
        transform: rotate(360deg);
    }
}

/* Moins de mouvement demandé : le rond tourne plus lentement, sans disparaître */
@media (prefers-reduced-motion: reduce) {
    .geo-chargement[b-m39wkay0bv] {
        animation-duration: 2s;
    }
}

/* Ligne d'information, non cliquable */
.geo-liste li.geo-liste-vide[b-m39wkay0bv],
.geo-liste li.geo-liste-vide:hover[b-m39wkay0bv] {
    background: none;
    color: var(--ps-text-muted);
    font-style: italic;
    cursor: default;
}
