/* /Components/Account/Pages/Manage/EnableAuthenticator.razor.rz.scp.css */
.authentificateur[b-otgsizyvwh] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: etape;
}
.authentificateur > li[b-otgsizyvwh] {
    position: relative;
    padding-left: 40px;
    counter-increment: etape;
}
.authentificateur > li[b-otgsizyvwh]::before {
    content: counter(etape);
    position: absolute;
    left: 0;
    top: -2px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink);
}
.authentificateur h3[b-otgsizyvwh] { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.authentificateur p[b-otgsizyvwh] { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }

.authentificateur__qr[b-otgsizyvwh] { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.authentificateur__image[b-otgsizyvwh] {
    width: 168px;
    height: 168px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #FFFFFF; /* le QR code reste lisible sur fond clair, même en thème sombre */
}
.authentificateur__image[b-otgsizyvwh]  svg { display: block; width: 100%; height: 100%; }
.authentificateur__cle[b-otgsizyvwh] {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.authentificateur__saisie[b-otgsizyvwh] { max-width: 200px; font-family: var(--font-mono); letter-spacing: 0.12em; }
/* /Components/Account/Pages/Manage/ExternalLogins.razor.rz.scp.css */
.comptes-lies[b-8h1r9z1qdj] { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.comptes-lies li[b-8h1r9z1qdj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}
.comptes-lies li > span:first-child[b-8h1r9z1qdj] { font-weight: 600; }
.comptes-lies form[b-8h1r9z1qdj] { margin-left: auto; }
/* /Components/Account/Pages/Manage/Index.razor.rz.scp.css */
.stockage[b-fretw5h06b] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 620px; }

.stockage__ligne[b-fretw5h06b] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

.stockage__nom[b-fretw5h06b] { font-weight: 600; font-size: 14.5px; }

.stockage__etat[b-fretw5h06b] {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    color: var(--ink-muted);
    background: var(--surface-alt);
}
.stockage__etat--ok[b-fretw5h06b] { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }

.stockage__ligne .hp-btn[b-fretw5h06b] { text-decoration: none; }

@media (max-width: 520px) {
    .stockage__ligne[b-fretw5h06b] { flex-wrap: wrap; }
    .stockage__etat[b-fretw5h06b] { margin-left: 0; }
}
/* /Components/Account/Shared/ManageLayout.razor.rz.scp.css */
.compte[b-u65ydoy8uj] { display: flex; flex-direction: column; gap: 24px; max-width: 1040px; }

.compte__titre[b-u65ydoy8uj] {
    margin: 0;
    font-family: var(--font-display);
    font-stretch: var(--heading-stretch);
    font-weight: 800;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.compte__corps[b-u65ydoy8uj] { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }

.compte__contenu[b-u65ydoy8uj] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 26px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

/* Styles communs aux pages de compte (rendu statique, pas de CSS isolé par page) */
.compte__contenu[b-u65ydoy8uj]  h2 { margin: 0; font-size: 18px; font-weight: 700; font-stretch: var(--heading-stretch); }
.compte__contenu[b-u65ydoy8uj]  h3 { margin: 0; font-size: 15px; font-weight: 600; }
.compte__contenu[b-u65ydoy8uj]  p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.compte__contenu[b-u65ydoy8uj]  .compte-form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.compte__contenu[b-u65ydoy8uj]  .compte-form .hp-btn { align-self: flex-start; }
.compte__contenu[b-u65ydoy8uj]  .compte-section { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border); }
.compte__contenu[b-u65ydoy8uj]  .compte-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.compte__contenu[b-u65ydoy8uj]  .hp-field__error { color: var(--danger); font-size: 12.5px; }

@media (max-width: 860px) {
    .compte__corps[b-u65ydoy8uj] { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .compte__contenu[b-u65ydoy8uj] { padding: 18px; }
}
/* /Components/Account/Shared/ManageNavMenu.razor.rz.scp.css */
.compte-nav[b-mfmcrfaa7l] { display: flex; flex-direction: column; gap: 2px; }

.compte-nav[b-mfmcrfaa7l]  .compte-nav__lien {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--ink-muted);
    font-size: 14px;
    text-decoration: none;
}
.compte-nav[b-mfmcrfaa7l]  .compte-nav__lien i { font-size: 17px; color: var(--ink-subtle); }
.compte-nav[b-mfmcrfaa7l]  .compte-nav__lien:hover { background: var(--surface-alt); color: var(--ink); }
.compte-nav[b-mfmcrfaa7l]  .compte-nav__lien.active { background: var(--surface-alt); color: var(--ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }
.compte-nav[b-mfmcrfaa7l]  .compte-nav__lien.active i { color: var(--accent-text); }

@media (max-width: 860px) {
    .compte-nav[b-mfmcrfaa7l] { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .compte-nav[b-mfmcrfaa7l]  .compte-nav__lien { flex-shrink: 0; }
}
/* /Components/Account/Shared/ShowRecoveryCodes.razor.rz.scp.css */
.codes-secours[b-2572jcm7ei] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    max-width: 520px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.codes-secours li[b-2572jcm7ei] {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    text-align: center;
}
.codes-secours code[b-2572jcm7ei] { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; color: var(--ink); }
/* /Components/Documents/DialogueEnvoi.razor.rz.scp.css */
.envoi[b-p0uqoynx43] { display: flex; flex-direction: column; gap: 18px; }

/* Zone de dépôt : tout le cadre est cliquable, l'input natif est étiré dessus */
.envoi__depot[b-p0uqoynx43] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 16px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--bg);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}
.envoi__depot:hover[b-p0uqoynx43],
.envoi__depot:focus-within[b-p0uqoynx43] { border-color: var(--accent-line); background: var(--accent-soft); }
.envoi__depot--plein[b-p0uqoynx43] { border-style: solid; }
.envoi__depot > i[b-p0uqoynx43] { font-size: 28px; color: var(--accent-text); }
.envoi__depot-titre[b-p0uqoynx43] { font-weight: 600; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.envoi__depot-aide[b-p0uqoynx43] { font-size: 12px; color: var(--ink-subtle); }
.envoi__depot[b-p0uqoynx43]  .envoi__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.envoi__stockages[b-p0uqoynx43] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.envoi__stockage[b-p0uqoynx43] {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer;
}
.envoi__stockage--actif[b-p0uqoynx43] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.envoi__puces[b-p0uqoynx43] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.envoi__puce[b-p0uqoynx43] {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding: 0 12px;
    border: 1px solid var(--border); border-radius: var(--radius-pill);
    background: var(--surface); color: var(--ink-muted); font: inherit; font-size: 12.5px; cursor: pointer;
}
.envoi__puce--active[b-p0uqoynx43] { border-color: var(--accent); color: var(--ink); }

.envoi__explorer-btn[b-p0uqoynx43],
.envoi__lien[b-p0uqoynx43] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; border: 0; background: transparent;
    color: var(--accent-text); font: inherit; font-size: 13px; cursor: pointer;
}
.envoi__lien[b-p0uqoynx43] { margin-left: 6px; text-decoration: underline; }
.envoi__chevron[b-p0uqoynx43] { transition: transform 0.2s var(--ease-out); }
.envoi__chevron--ouvert[b-p0uqoynx43] { transform: rotate(180deg); }

.envoi__explorateur[b-p0uqoynx43] {
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.envoi__fil[b-p0uqoynx43] {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
    font-size: 12.5px; color: var(--ink-subtle);
}
.envoi__fil button[b-p0uqoynx43] { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.envoi__fil button:hover[b-p0uqoynx43] { color: var(--accent-text); }

.envoi__dossiers[b-p0uqoynx43] { list-style: none; margin: 0; padding: 4px; max-height: 200px; overflow-y: auto; }
.envoi__dossiers li[b-p0uqoynx43] { display: flex; align-items: center; border-radius: 6px; }
.envoi__dossiers li:hover[b-p0uqoynx43] { background: var(--surface-alt); }
li.envoi__dossier--choisi[b-p0uqoynx43] { background: var(--accent-soft); }
.envoi__dossier[b-p0uqoynx43] {
    flex: 1; display: flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 8px;
    border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.envoi__dossier i[b-p0uqoynx43] { color: var(--ink-subtle); }
.envoi__entrer[b-p0uqoynx43] { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink-subtle); cursor: pointer; }
.envoi__info[b-p0uqoynx43] { margin: 0; padding: 12px; font-size: 12.5px; color: var(--ink-subtle); }
.envoi__nouveau[b-p0uqoynx43] { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--border); }
.envoi__nouveau input[b-p0uqoynx43] { height: 34px; font-size: 13px; }

.envoi__etiquettes[b-p0uqoynx43] {
    display: flex; flex-direction: column;
    max-height: 220px; overflow-y: auto;
    padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md);
}
.envoi__etiquette[b-p0uqoynx43] { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 8px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.envoi__etiquette:hover[b-p0uqoynx43] { background: var(--surface-alt); }
.envoi__etiquette--n1[b-p0uqoynx43] { font-weight: 500; }
.envoi__etiquette--n2[b-p0uqoynx43] { padding-left: 24px; }
.envoi__etiquette--n3[b-p0uqoynx43] { padding-left: 40px; }
.envoi__etiquette input[b-p0uqoynx43] { accent-color: var(--accent); }

.rail-pastille[b-p0uqoynx43] { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--libre); }
.rail-pastille--notion[b-p0uqoynx43] { background: var(--notion); }
.rail-pastille--exercice[b-p0uqoynx43] { background: var(--exercice); }
/* /Components/Documents/DialogueEtiquette.razor.rz.scp.css */
.etq[b-z1h6qluf9t] { display: flex; flex-direction: column; gap: 16px; }
.etq__intro[b-z1h6qluf9t] { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }

.etq__libelle-ia[b-z1h6qluf9t] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.etq__types[b-z1h6qluf9t] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.etq__type[b-z1h6qluf9t] {
    display: flex; flex-direction: column; gap: 3px;
    padding: 12px;
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.etq__type strong[b-z1h6qluf9t] { font-size: 13.5px; }
.etq__type span[b-z1h6qluf9t] { font-size: 12px; color: var(--ink-subtle); line-height: 1.4; }
.etq__type--actif[b-z1h6qluf9t] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.etq__liens[b-z1h6qluf9t] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.etq__lien[b-z1h6qluf9t] { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-text); }
/* /Components/Documents/DialogueFiltres.razor.rz.scp.css */
.filtres[b-rgwm4lbl3i] { gap: 18px; }

.filtres__groupe[b-rgwm4lbl3i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid var(--border);
}
.filtres__groupe:last-of-type[b-rgwm4lbl3i] { border-bottom: 0; }

.filtres__legende[b-rgwm4lbl3i] {
    margin-bottom: 4px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.filtres__legende small[b-rgwm4lbl3i] { margin-left: 6px; font-weight: 400; color: var(--ink-subtle); }

.filtres__tempo[b-rgwm4lbl3i] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.filtres__formats[b-rgwm4lbl3i] { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres__format[b-rgwm4lbl3i] {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-muted);
    font-size: 13px;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.filtres__format:hover[b-rgwm4lbl3i] { border-color: var(--ink-subtle); color: var(--ink); }
.filtres__format--actif[b-rgwm4lbl3i] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.filtres__format:focus-visible[b-rgwm4lbl3i] { outline: 2px solid var(--accent); outline-offset: 2px; }
/* /Components/Documents/DialogueRattacher.razor.rz.scp.css */
.rat__recherche[b-xksbo8jv2h] {
    display: flex; align-items: center; gap: 10px;
    height: 42px; padding: 0 12px;
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    background: var(--bg);
}
.rat__recherche:focus-within[b-xksbo8jv2h] { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.rat__recherche i[b-xksbo8jv2h] { color: var(--ink-muted); }
.rat__recherche input[b-xksbo8jv2h] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }

.rat__liste[b-xksbo8jv2h] { list-style: none; margin: 12px 0 0; padding: 0; max-height: 320px; overflow-y: auto; }
.rat__ligne[b-xksbo8jv2h] { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; cursor: pointer; }
.rat__ligne:hover[b-xksbo8jv2h] { background: var(--surface-alt); }
.rat__ligne input[b-xksbo8jv2h] { accent-color: var(--accent); }
.rat__ligne > i[b-xksbo8jv2h] { font-size: 18px; color: var(--ink-subtle); }
.rat__texte[b-xksbo8jv2h] { display: flex; flex-direction: column; min-width: 0; }
.rat__nom[b-xksbo8jv2h] { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rat__detail[b-xksbo8jv2h] { font-size: 12px; color: var(--ink-subtle); }
.rat__vide[b-xksbo8jv2h] { margin: 16px 0 4px; font-size: 13px; color: var(--ink-subtle); }
/* /Components/Documents/DocumentsApercu.razor.rz.scp.css */
.ap[b-9w1evsyrv5] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 14px 16px 20px;
    border-left: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 40%, var(--surface));
    overflow-y: auto;
    scrollbar-width: thin;
}

.ap__neutre[b-9w1evsyrv5] { display: grid; place-items: center; gap: 10px; margin: auto 0; padding: 40px 10px; text-align: center; color: var(--ink-subtle); font-size: 13px; }
.ap__neutre i[b-9w1evsyrv5] { font-size: 30px; }
.ap__neutre p[b-9w1evsyrv5] { margin: 0; max-width: 220px; }

.ap__entete[b-9w1evsyrv5] { display: flex; align-items: center; justify-content: space-between; }
.ap__type[b-9w1evsyrv5] { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-subtle); }
.ap__fermer[b-9w1evsyrv5] {
    display: grid; place-items: center;
    width: 30px; height: 30px; padding: 0;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--ink-muted); cursor: pointer;
}
.ap__fermer:hover[b-9w1evsyrv5] { background: var(--surface-alt); color: var(--ink); }

.ap__squelette[b-9w1evsyrv5] {
    height: 260px;
    border-radius: 12px;
    background: linear-gradient(100deg, var(--surface-alt) 40%, var(--surface) 50%, var(--surface-alt) 60%) 0 0 / 200% 100%;
    animation: ap-reflet-b-9w1evsyrv5 1.4s linear infinite;
}
@keyframes ap-reflet-b-9w1evsyrv5 { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ap__squelette[b-9w1evsyrv5] { animation: none; } }

/* ── Visuel ───────────────────────────────────────────────────────────────── */
.ap__visuel[b-9w1evsyrv5] {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-alt);
    outline: 1px solid var(--border-strong);
    outline-offset: -1px;
}
.ap__visuel--fichier[b-9w1evsyrv5] { height: 300px; background: var(--viewer-bg); }
.ap__visuel--oeuvre[b-9w1evsyrv5] { background: color-mix(in srgb, var(--accent) 8%, var(--surface-alt)); }
.ap__iframe[b-9w1evsyrv5] { flex: 1; width: 100%; border: 0; background: var(--paper); }
.ap__image[b-9w1evsyrv5] { width: 100%; height: 100%; max-height: 300px; object-fit: contain; object-position: top center; background: var(--paper); }
.ap__tuile[b-9w1evsyrv5] { flex: 1; display: grid; place-items: center; min-height: 160px; }
.ap__tuile i[b-9w1evsyrv5] { font-size: 54px; color: var(--ink-subtle); }
.ap__visuel--oeuvre .ap__tuile i[b-9w1evsyrv5] { color: var(--accent-text); }
.ap__visuel--fichier .ap__tuile i[b-9w1evsyrv5] { color: #8A8F98; }
.ap__audio[b-9w1evsyrv5] { width: calc(100% - 20px); margin: 0 10px 12px; }

.ap__titre[b-9w1evsyrv5] { font-size: 17px; font-weight: 700; line-height: 1.25; margin: 2px 0 0; overflow-wrap: anywhere; }
.ap__auteur[b-9w1evsyrv5] { font-size: 13px; color: var(--ink-muted); margin: -8px 0 0; }

.ap__meta[b-9w1evsyrv5] { margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; }
.ap__meta div[b-9w1evsyrv5] { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; }
.ap__meta dt[b-9w1evsyrv5] { color: var(--ink-subtle); }
.ap__meta dd[b-9w1evsyrv5] { margin: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap__meta dd.ap__libre[b-9w1evsyrv5] { white-space: normal; }

.ap__actions[b-9w1evsyrv5] { display: flex; flex-wrap: wrap; gap: 8px; }
.ap__actions .hp-btn[b-9w1evsyrv5] { text-decoration: none; }

/* ── Blocs ────────────────────────────────────────────────────────────────── */
.ap__bloc[b-9w1evsyrv5] { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.ap__soustitre[b-9w1evsyrv5] { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-subtle); font-family: var(--font-body); }
.ap__compte[b-9w1evsyrv5] { font-family: var(--font-mono); font-weight: 400; }
.ap__aucun[b-9w1evsyrv5] { margin: 0; font-size: 12.5px; color: var(--ink-subtle); }

.ap__etiquettes[b-9w1evsyrv5] { display: flex; flex-wrap: wrap; gap: 6px; }
.ap__etiquette[b-9w1evsyrv5] { display: inline-flex; align-items: center; gap: 2px; }

.ap__retirer[b-9w1evsyrv5] {
    display: grid; place-items: center; flex-shrink: 0;
    width: 22px; height: 22px; padding: 0;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--ink-subtle); font-size: 11px; cursor: pointer;
}
.ap__retirer:hover[b-9w1evsyrv5] { background: var(--surface-alt); color: var(--danger); }

.ap__ajout[b-9w1evsyrv5] { display: flex; gap: 6px; }
.ap__ajout select[b-9w1evsyrv5] { flex: 1; min-width: 0; height: 34px; font-size: 13px; }

.ap__fichiers[b-9w1evsyrv5] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ap__fichier[b-9w1evsyrv5] { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px 0 8px; border-radius: 8px; font-size: 13px; }
.ap__fichier:hover[b-9w1evsyrv5] { background: var(--surface-alt); }
.ap__fichier > i[b-9w1evsyrv5] { color: var(--ink-subtle); font-size: 16px; }
.ap__fichier-nom[b-9w1evsyrv5] {
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 0; border: 0; background: transparent;
    color: var(--ink); font: inherit; text-align: left; cursor: pointer; text-decoration: none;
}
.ap__fichier-nom:hover[b-9w1evsyrv5] { color: var(--accent-text); }
.ap__bouton-ligne[b-9w1evsyrv5] { align-self: flex-start; }

.ap__pied[b-9w1evsyrv5] { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.ap__alerte[b-9w1evsyrv5] { font-size: 13px; }

.ap__drive[b-9w1evsyrv5] {
    display: flex; align-items: flex-start; gap: 8px;
    margin: 0; padding: 10px 12px;
    background: var(--surface); border-top: 1px solid var(--border);
    font-size: 12.5px; line-height: 1.45; color: var(--ink-muted);
}
.ap__drive i[b-9w1evsyrv5] { font-size: 16px; color: var(--warning); margin-top: 1px; }
.ap__visuel--fichier .ap__image[b-9w1evsyrv5] { flex: 1; min-height: 0; height: auto; }
/* /Components/Documents/DocumentsRail.razor.rz.scp.css */
.rail[b-4cg9ca47m4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    padding: 14px 10px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    scrollbar-width: thin;
}

.rail__types[b-4cg9ca47m4] { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.rail__item[b-4cg9ca47m4],
.rail__etiquette[b-4cg9ca47m4] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-muted);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}
.rail__item i[b-4cg9ca47m4] { font-size: 17px; color: var(--ink-subtle); }
.rail__item:hover[b-4cg9ca47m4],
.rail__etiquette:hover[b-4cg9ca47m4] { background: var(--surface-alt); color: var(--ink); }
.rail__item--actif[b-4cg9ca47m4] { background: var(--surface-alt); color: var(--ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }
.rail__item--actif i[b-4cg9ca47m4] { color: var(--accent-text); }

.rail__libelle[b-4cg9ca47m4] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail__nombre[b-4cg9ca47m4] { font-family: var(--font-mono); font-size: 11px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }

.rail__entete[b-4cg9ca47m4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px 6px 10px;
    border-top: 1px solid var(--border);
}
.rail__titre[b-4cg9ca47m4] { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-subtle); }

.rail__ajout[b-4cg9ca47m4],
.rail__editer[b-4cg9ca47m4],
.rail__chevron[b-4cg9ca47m4] {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-subtle);
    cursor: pointer;
}
.rail__ajout:hover[b-4cg9ca47m4],
.rail__editer:hover[b-4cg9ca47m4],
.rail__chevron:hover[b-4cg9ca47m4] { background: var(--surface-alt); color: var(--ink); }
.rail__chevron[b-4cg9ca47m4] { width: 20px; }
.rail__chevron i[b-4cg9ca47m4] { font-size: 11px; transition: transform 0.2s var(--ease-out); }
.rail__chevron--ouvert i[b-4cg9ca47m4] { transform: rotate(90deg); }

.rail__vide[b-4cg9ca47m4] { font-size: 12.5px; color: var(--ink-subtle); padding: 6px 10px; line-height: 1.5; }

.rail__arbre[b-4cg9ca47m4],
.rail__sous[b-4cg9ca47m4] { list-style: none; margin: 0; padding: 0; }

.rail__noeud[b-4cg9ca47m4] { display: flex; align-items: center; gap: 2px; border-radius: 8px; }
.rail__noeud--n1[b-4cg9ca47m4] { padding-left: 14px; }
.rail__noeud--n2[b-4cg9ca47m4] { padding-left: 28px; }
.rail__noeud .rail__etiquette[b-4cg9ca47m4] { height: 30px; padding: 0 8px; font-size: 13px; }
.rail__noeud--n0 .rail__etiquette[b-4cg9ca47m4] { color: var(--ink); font-weight: 500; }
.rail__noeud--actif .rail__etiquette[b-4cg9ca47m4] { background: var(--surface-alt); color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); }

/* Le crayon d'édition n'apparaît qu'au survol (toujours visible au clavier) */
.rail__editer[b-4cg9ca47m4] { opacity: 0; }
.rail__noeud:hover .rail__editer[b-4cg9ca47m4],
.rail__editer:focus-visible[b-4cg9ca47m4] { opacity: 1; }
@media (hover: none) { .rail__editer[b-4cg9ca47m4] { opacity: 1; } }

.rail__pastille[b-4cg9ca47m4] { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--libre); }
.rail__pastille--notion[b-4cg9ca47m4] { background: var(--notion); }
.rail__pastille--exercice[b-4cg9ca47m4] { background: var(--exercice); }
/* /Components/Documents/DocumentsResultats.razor.rz.scp.css */
.res[b-anxficqa9q] { display: flex; flex-direction: column; min-width: 0; min-height: 0; }

/* ── Barre de recherche ───────────────────────────────────────────────────── */
.res__barre[b-anxficqa9q] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.res__recherche[b-anxficqa9q] {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 12px 0 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.res__recherche:focus-within[b-anxficqa9q] { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.res__recherche > i[b-anxficqa9q] { font-size: 18px; color: var(--ink-muted); }
.res__recherche input[b-anxficqa9q] {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15px; color: var(--ink);
}
.res__recherche input[b-anxficqa9q]::placeholder { color: var(--ink-subtle); }
.res__recherche input[b-anxficqa9q]::-webkit-search-cancel-button { display: none; }

.res__effacer[b-anxficqa9q] {
    display: grid; place-items: center;
    width: 26px; height: 26px; padding: 0;
    border: 0; border-radius: 50%;
    background: var(--surface-alt); color: var(--ink-muted); cursor: pointer;
}

.res__vues[b-anxficqa9q] { display: flex; flex-shrink: 0; padding: 3px; border-radius: var(--radius-pill); border: 1px solid var(--border); }
.res__vue[b-anxficqa9q] {
    display: grid; place-items: center;
    width: 34px; height: 32px; padding: 0;
    border: 0; border-radius: var(--radius-pill);
    background: transparent; color: var(--ink-subtle); font-size: 17px; cursor: pointer;
}
.res__vue--active[b-anxficqa9q] { background: var(--surface-alt); color: var(--ink); }

/* ── Zone défilante ───────────────────────────────────────────────────────── */
.res__defile[b-anxficqa9q] { flex: 1; min-height: 0; padding: 14px 16px 24px; overflow-y: auto; scrollbar-width: thin; }

.res__compte[b-anxficqa9q] { font-size: 12.5px; color: var(--ink-subtle); margin: 0 0 12px; }
.res__compte strong[b-anxficqa9q] { font-family: var(--font-mono); color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Grille de vignettes ──────────────────────────────────────────────────── */
.res__grille[b-anxficqa9q] {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 18px 14px;
}

.res__carte[b-anxficqa9q] {
    display: flex; flex-direction: column; gap: 6px;
    width: 100%; padding: 0;
    border: 0; background: transparent; text-align: left; cursor: pointer;
    color: inherit; font: inherit;
}

.res__vignette[b-anxficqa9q] {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-alt);
    outline: 1px solid var(--border-strong);
    outline-offset: -1px;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), outline-color 0.2s;
}
.res__vignette img[b-anxficqa9q] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: var(--paper); }
.res__vignette > i[b-anxficqa9q] { font-size: 38px; color: var(--ink-subtle); }
.res__vignette--oeuvre[b-anxficqa9q] { background: color-mix(in srgb, var(--accent) 8%, var(--surface-alt)); }
.res__vignette--oeuvre > i[b-anxficqa9q] { color: var(--accent-text); }

.res__carte:hover .res__vignette[b-anxficqa9q] { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.55); }
.res__carte--choisie .res__vignette[b-anxficqa9q] { outline: 2px solid var(--accent); outline-offset: 2px; }

.res__pastille[b-anxficqa9q],
.res__fichiers[b-anxficqa9q] {
    position: absolute; bottom: 7px;
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 6px; border-radius: 5px;
    font-size: 10.5px; font-weight: 500;
    background: rgba(15, 17, 21, 0.82); color: #ECEDEF;
}
.res__pastille[b-anxficqa9q] { left: 7px; }
.res__fichiers[b-anxficqa9q] { right: 7px; font-family: var(--font-mono); }

.res__titre[b-anxficqa9q] {
    font-size: 13px; line-height: 1.3; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.res__sous-titre[b-anxficqa9q] { font-size: 12px; color: var(--ink-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res__titre[b-anxficqa9q]  mark,
.res__sous-titre[b-anxficqa9q]  mark { background: var(--accent-soft); color: var(--accent-text); border-radius: 3px; padding: 0 1px; }

.res__squelette[b-anxficqa9q] {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    background: linear-gradient(100deg, var(--surface-alt) 40%, var(--surface) 50%, var(--surface-alt) 60%) 0 0 / 200% 100%;
    animation: res-reflet-b-anxficqa9q 1.4s linear infinite;
}
@keyframes res-reflet-b-anxficqa9q { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .res__squelette[b-anxficqa9q] { animation: none; } }

/* ── Liste ────────────────────────────────────────────────────────────────── */
.res__liste[b-anxficqa9q] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.res__ligne[b-anxficqa9q] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 96px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.res__ligne:hover[b-anxficqa9q] { background: var(--surface-alt); }
.res__ligne--choisie[b-anxficqa9q] { background: var(--surface-alt); box-shadow: inset 2px 0 0 var(--accent); }
.res__ligne .res__titre[b-anxficqa9q] { -webkit-line-clamp: 1; font-weight: 500; }
.res__ligne-texte[b-anxficqa9q] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.res__icone[b-anxficqa9q] {
    display: grid; place-items: center;
    position: relative; overflow: hidden;
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--surface-alt); color: var(--ink-muted); font-size: 18px;
}
.res__icone--oeuvre[b-anxficqa9q] { color: var(--accent-text); }
.res__icone img[b-anxficqa9q] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: var(--paper); }

.res__etiquettes[b-anxficqa9q] { display: flex; gap: 4px; justify-content: flex-end; }
.res__date[b-anxficqa9q] { font-size: 12px; color: var(--ink-subtle); text-align: right; }

/* ── États ────────────────────────────────────────────────────────────────── */
.res__vide[b-anxficqa9q] { display: grid; place-items: center; gap: 10px; padding: 70px 20px; text-align: center; color: var(--ink-subtle); font-size: 14px; }
.res__vide > i[b-anxficqa9q] { font-size: 34px; }
.res__vide p[b-anxficqa9q] { margin: 0; }

.res__plus[b-anxficqa9q] { display: flex; justify-content: center; padding-top: 20px; }

@media (max-width: 720px) {
    .res__barre[b-anxficqa9q] { padding: 10px 12px; }
    .res__defile[b-anxficqa9q] { padding: 12px; }
    .res__grille[b-anxficqa9q] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
    .res__ligne[b-anxficqa9q] { grid-template-columns: 36px minmax(0, 1fr); }
    .res__etiquettes[b-anxficqa9q], .res__date[b-anxficqa9q] { display: none; }
}

/* ── Recherche avancée ─────────────────────────────────────────────────── */
.res__filtres-bouton[b-anxficqa9q] { flex-shrink: 0; gap: 6px; }
.res__filtres-bouton--actif[b-anxficqa9q] { border-color: var(--ink); color: var(--ink); }
.res__filtres-nombre[b-anxficqa9q] {
    display: inline-grid; place-items: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--accent); color: var(--surface);
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}

.res__pastilles[b-anxficqa9q] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.res__pastille-filtre[b-anxficqa9q] {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 28px; padding: 0 10px;
    border: 1px solid var(--border-strong); border-radius: 999px;
    background: var(--surface-alt); color: var(--ink); font-size: 12.5px;
}
.res__pastille-filtre i[b-anxficqa9q] { font-size: 12px; color: var(--ink-subtle); }
.res__pastille-filtre:hover[b-anxficqa9q] { border-color: var(--ink-subtle); }
.res__pastille-filtre:hover i[b-anxficqa9q] { color: var(--ink); }
.res__pastilles-effacer[b-anxficqa9q] { border: 0; background: none; padding: 0 6px; font-size: 12.5px; color: var(--ink-muted); text-decoration: underline; }

@media (max-width: 640px) {
    .res__filtres-bouton span:not(.res__filtres-nombre)[b-anxficqa9q] { display: none; }
}
/* /Components/Landing/LandingGedDemo.razor.rz.scp.css */
.ged[b-ebdtzogvw6] {
    --ged-h: 468px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--shadow-card), 0 60px 120px -60px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

/* ── Barre : recherche + stockage connecté ────────────────────────────────── */
.ged__bar[b-ebdtzogvw6] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.ged__search[b-ebdtzogvw6] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ged__search:focus-within[b-ebdtzogvw6] { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.ged__search i[b-ebdtzogvw6] { font-size: 19px; color: var(--ink-muted); }
.ged__search input[b-ebdtzogvw6] {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15.5px; color: var(--ink);
}
.ged__search input[b-ebdtzogvw6]::placeholder { color: var(--ink-subtle); }
.ged__search input[b-ebdtzogvw6]::-webkit-search-cancel-button { display: none; }

.ged__kbd[b-ebdtzogvw6] {
    font-size: 11px; color: var(--ink-subtle);
    padding: 3px 7px; border: 1px solid var(--border-strong); border-radius: 6px;
}

.ged__storage[b-ebdtzogvw6] { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.ged__status[b-ebdtzogvw6] {
    font-size: 11.5px; font-weight: 500; color: var(--success);
    padding: 2px 8px; border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--success) 14%, transparent);
}

/* ── Corps : dossiers | résultats | aperçu ────────────────────────────────── */
.ged__body[b-ebdtzogvw6] {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 290px;
    height: var(--ged-h);
}

.ged__side[b-ebdtzogvw6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 10px;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.ged__folder[b-ebdtzogvw6] {
    display: flex; align-items: center; gap: 9px;
    height: 32px; padding: 0 10px;
    border-radius: 8px;
    font-size: 13px; color: var(--ink-muted);
}
.ged__folder i[b-ebdtzogvw6] { font-size: 16px; color: var(--ink-subtle); }
.ged__folder span[b-ebdtzogvw6] { margin-left: auto; font-size: 11px; color: var(--ink-subtle); }
.ged__folder--open[b-ebdtzogvw6] { color: var(--ink); font-weight: 500; }
.ged__folder--child[b-ebdtzogvw6] { padding-left: 35px; }
.ged__folder--current[b-ebdtzogvw6] { background: var(--surface-alt); color: var(--ink); }
.ged__folder--shared[b-ebdtzogvw6] { margin-top: auto; border-top: 1px solid var(--border); border-radius: 0; padding-top: 6px; height: 40px; }

.ged__results[b-ebdtzogvw6] { min-width: 0; padding: 14px 16px; overflow-y: auto; scrollbar-width: thin; }

.ged__count[b-ebdtzogvw6] { font-size: 12.5px; color: var(--ink-subtle); margin-bottom: 12px; }
.ged__count[b-ebdtzogvw6]  strong { color: var(--ink); font-weight: 500; }

.ged__grid[b-ebdtzogvw6] {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 14px;
}

.ged__card[b-ebdtzogvw6] {
    display: flex; flex-direction: column; gap: 6px;
    width: 100%; padding: 0;
    border: 0; background: transparent; text-align: left; cursor: pointer;
}

.ged__thumb[b-ebdtzogvw6] {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--paper);
    outline: 1px solid var(--border-strong);
    outline-offset: -1px;
    transition: transform 0.25s var(--ease-out), outline-color 0.2s, box-shadow 0.25s var(--ease-out);
}
.ged__thumb img[b-ebdtzogvw6] { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.ged__card:hover .ged__thumb[b-ebdtzogvw6] { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }
.ged__card--selected .ged__thumb[b-ebdtzogvw6] { outline: 2px solid var(--accent); outline-offset: 2px; }

.ged__tile[b-ebdtzogvw6] {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    background: var(--surface-alt);
}
.ged__tile i[b-ebdtzogvw6] { font-size: 34px; color: var(--ink-muted); }
.ged__tile--large i[b-ebdtzogvw6] { font-size: 56px; }

.ged__format[b-ebdtzogvw6] {
    position: absolute; left: 7px; bottom: 7px;
    font-size: 10px; font-weight: 500;
    padding: 2px 6px; border-radius: 5px;
    background: rgba(15, 17, 21, 0.82); color: #ECEDEF;
}

.ged__name[b-ebdtzogvw6] { font-size: 12.5px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ged__name[b-ebdtzogvw6]  mark { background: var(--accent-soft); color: var(--accent-text); border-radius: 3px; padding: 0 1px; }
.ged__author[b-ebdtzogvw6] { font-size: 11.5px; color: var(--ink-subtle); }

.ged__empty[b-ebdtzogvw6] { display: grid; place-items: center; gap: 10px; padding: 60px 20px; text-align: center; color: var(--ink-subtle); font-size: 13.5px; }
.ged__empty i[b-ebdtzogvw6] { font-size: 30px; }

/* ── Aperçu ───────────────────────────────────────────────────────────────── */
.ged__preview[b-ebdtzogvw6] {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px;
    border-left: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 40%, var(--surface));
    overflow: hidden;
}

.ged__preview-thumb[b-ebdtzogvw6] {
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--paper);
    outline: 1px solid var(--border-strong);
    outline-offset: -1px;
}
.ged__preview-thumb img[b-ebdtzogvw6] { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.ged__preview-title[b-ebdtzogvw6] { font-size: 15px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.ged__preview-author[b-ebdtzogvw6] { font-size: 12.5px; color: var(--ink-muted); margin-top: -6px; }

.ged__meta[b-ebdtzogvw6] { margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.ged__meta div[b-ebdtzogvw6] { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.ged__meta dt[b-ebdtzogvw6] { color: var(--ink-subtle); }
.ged__meta dd[b-ebdtzogvw6] { margin: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ged__actions[b-ebdtzogvw6] { display: flex; gap: 8px; margin-top: auto; }
.ged__action[b-ebdtzogvw6] {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 34px; border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong);
    font-size: 12.5px; color: var(--ink-muted);
}

/* Les cartes qui apparaissent pendant la recherche glissent en place */
@media (prefers-reduced-motion: no-preference) {
    .ged__item--enter[b-ebdtzogvw6] { animation: ged-in-b-ebdtzogvw6 0.45s var(--ease-out) backwards; }
}
@keyframes ged-in-b-ebdtzogvw6 {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .ged__body[b-ebdtzogvw6] { grid-template-columns: 180px minmax(0, 1fr); }
    .ged__preview[b-ebdtzogvw6] { display: none; }
}

@media (max-width: 720px) {
    .ged[b-ebdtzogvw6] { --ged-h: auto; }
    .ged__body[b-ebdtzogvw6] { grid-template-columns: minmax(0, 1fr); height: auto; }
    .ged__side[b-ebdtzogvw6], .ged__storage[b-ebdtzogvw6], .ged__kbd[b-ebdtzogvw6] { display: none; }
    .ged__results[b-ebdtzogvw6] { max-height: 520px; padding: 12px; }
    .ged__grid[b-ebdtzogvw6] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ged__bar[b-ebdtzogvw6] { padding: 10px; }
}

/* Éléments masqués par landing.js : « hidden » doit l'emporter sur display: grid */
.ged__empty[hidden][b-ebdtzogvw6], .ged__tile[hidden][b-ebdtzogvw6], .ged__preview-thumb img[hidden][b-ebdtzogvw6] { display: none; }

/* Chasse fixe pour les compteurs, formats et raccourcis */
.ged__kbd[b-ebdtzogvw6], .ged__format[b-ebdtzogvw6], .ged__folder span[b-ebdtzogvw6], .ged__count[b-ebdtzogvw6]  strong { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* /Components/Landing/LandingPricing.razor.rz.scp.css */
.pricing[b-ii2xq2ao3l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.pricing__price[b-ii2xq2ao3l] { display: flex; align-items: baseline; gap: 12px; }
.pricing__amount[b-ii2xq2ao3l] { font-size: 58px; line-height: 1; }
.pricing__period[b-ii2xq2ao3l] { color: var(--ink-muted); }
.pricing__alt[b-ii2xq2ao3l] { color: var(--ink-muted); font-size: 14px; }
.pricing__alt strong[b-ii2xq2ao3l] { color: var(--ink); font-weight: 600; }

.pricing__list[b-ii2xq2ao3l] {
    list-style: none;
    margin: 22px 0 26px; padding: 20px 0 0;
    display: flex; flex-direction: column; gap: 12px;
    border-top: 1px solid var(--border);
    font-size: 14.5px;
}
.pricing__list li[b-ii2xq2ao3l] { display: flex; gap: 10px; align-items: flex-start; }
.pricing__list i[b-ii2xq2ao3l] { color: var(--success); font-size: 17px; margin-top: 2px; }

.pricing__cta[b-ii2xq2ao3l] { width: 100%; }
.pricing__note[b-ii2xq2ao3l] { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-subtle); }

@media (max-width: 480px) {
    .pricing[b-ii2xq2ao3l] { padding: 24px 20px; }
    .pricing__amount[b-ii2xq2ao3l] { font-size: 48px; }
}
/* /Components/Landing/LandingTagColonnes.razor.rz.scp.css */
.cols[b-5y23xpji8f] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
    border-radius: 18px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cols__col[b-5y23xpji8f] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 10px 20px;
    min-width: 0;
}
.cols__col + .cols__col[b-5y23xpji8f] { border-left: 1px solid var(--border); }
.cols__col:nth-child(2)[b-5y23xpji8f] { background: color-mix(in srgb, var(--bg) 25%, var(--surface)); }
.cols__col:nth-child(3)[b-5y23xpji8f] { background: color-mix(in srgb, var(--bg) 50%, var(--surface)); }
.cols__col--docs[b-5y23xpji8f] { background: var(--bg); }

.cols__doc[b-5y23xpji8f] { display: flex; flex-direction: column; gap: 6px; padding: 0 8px 10px; }
.cols__doc img[b-5y23xpji8f] {
    width: 100%; aspect-ratio: 4 / 3;
    object-fit: cover; object-position: top;
    border-radius: 9px; background: var(--paper);
    outline: 2px solid var(--accent); outline-offset: 2px;
}
.cols__doc-name[b-5y23xpji8f] { font-size: 12.5px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.cols__doc-meta[b-5y23xpji8f] { font-size: 11px; color: var(--ink-subtle); }
.cols__row[b-5y23xpji8f] { display: flex; align-items: center; gap: 8px; padding: 8px; font-size: 12.5px; color: var(--ink-muted); border-top: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cols__row i[b-5y23xpji8f] { font-size: 15px; color: var(--ink-subtle); flex: none; }

.cols__level[b-5y23xpji8f] {
    padding: 0 10px 10px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-subtle);
}

.cols__node[b-5y23xpji8f] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 13.5px;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
}
.cols__node span[b-5y23xpji8f] { margin-left: auto; font-size: 11px; color: var(--ink-subtle); }
.cols__node i[b-5y23xpji8f] { font-size: 14px; color: var(--ink-subtle); }

.cols__node--path[b-5y23xpji8f] { background: var(--surface-alt); color: var(--ink); font-weight: 500; }
.cols__node--leaf[b-5y23xpji8f] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cols__node--leaf span[b-5y23xpji8f], .cols__node--leaf i[b-5y23xpji8f] { color: var(--accent-ink); }

@media (prefers-reduced-motion: no-preference) {
    .cols__col[b-5y23xpji8f] { animation: cols-in-b-5y23xpji8f 0.7s var(--ease-out) backwards; }
    .cols__col:nth-child(2)[b-5y23xpji8f] { animation-delay: 0.12s; }
    .cols__col:nth-child(3)[b-5y23xpji8f] { animation-delay: 0.24s; }
    .cols__col:nth-child(4)[b-5y23xpji8f] { animation-delay: 0.36s; }
}
@keyframes cols-in-b-5y23xpji8f { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
    .cols[b-5y23xpji8f] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cols__col--docs[b-5y23xpji8f] { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--border); }
    .cols__doc[b-5y23xpji8f] { flex-direction: row; align-items: center; gap: 12px; }
    .cols__doc img[b-5y23xpji8f] { width: 72px; flex: none; }
}

@media (max-width: 560px) {
    .cols__node[b-5y23xpji8f] { font-size: 12.5px; padding: 0 6px; height: 34px; gap: 5px; }
    .cols__col[b-5y23xpji8f] { padding: 12px 6px 14px; }
    .cols__level[b-5y23xpji8f] { padding: 0 6px 8px; font-size: 10.5px; }
    .cols__node span[b-5y23xpji8f] { display: none; }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* AuthLayout.razor.css
   Intentionnellement vide : tous les styles .auth-* sont dans app.css (global)
   car le CSS scopé Blazor ne se propage pas aux composants enfants.
   Voir wwwroot/app.css section "Auth — styles globaux".
*/
/* /Components/Layout/HpSidebar.razor.rz.scp.css */
/* HpSidebar.razor.css — styles scopés */

.hp-sidebar[b-28mmffb5e4] {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: width var(--transition);
    overflow: hidden;
}

.hp-sidebar--collapsed[b-28mmffb5e4] {
    width: var(--sidebar-compact);
}

/* Header */
.hp-sidebar__header[b-28mmffb5e4] {
    padding: var(--space-4) var(--space-4) var(--space-3);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    position: relative;
}

.hp-sidebar__logo[b-28mmffb5e4] {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    text-decoration: none;
    min-height: 44px;
}

.hp-sidebar__brand[b-28mmffb5e4] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.hp-sidebar__brand-accent[b-28mmffb5e4] {
    color: var(--accent);
}

.hp-sidebar__tenant[b-28mmffb5e4] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 2px;
}

.hp-sidebar__toggle[b-28mmffb5e4] {
    all: unset;
    position: absolute;
    top: var(--space-4);
    right: var(--space-3);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--ink-subtle);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-sidebar__toggle:hover[b-28mmffb5e4] {
    background: var(--border);
    color: var(--ink);
}

/* Nav */
.hp-sidebar__nav[b-28mmffb5e4] {
    list-style: none;
    padding: var(--space-3) var(--space-2);
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hp-sidebar__link[b-28mmffb5e4] {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    padding: var(--space-2-5) var(--space-3);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    min-height: 44px;
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.hp-sidebar__link:hover[b-28mmffb5e4] {
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
}

.hp-sidebar__link--active[b-28mmffb5e4] {
    background: var(--surface);
    color: var(--ink);
    font-weight: 500;
    box-shadow: inset 2px 0 0 var(--accent);
    padding-left: var(--space-3);
}

.hp-sidebar__link--active:hover[b-28mmffb5e4] {
    color: var(--ink);
}

.hp-sidebar__icon[b-28mmffb5e4] {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-sidebar__label[b-28mmffb5e4] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.hp-sidebar__footer[b-28mmffb5e4] {
    padding: var(--space-2) var(--space-2) var(--space-4);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hp-sidebar__hr[b-28mmffb5e4] {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-1) 0 var(--space-2);
}

/* Séparateurs de sections */
.hp-sidebar__section-divider[b-28mmffb5e4] {
    list-style: none;
    height: 1px;
    background: var(--border);
    margin: var(--space-1) var(--space-2);
}

.hp-sidebar__section-label[b-28mmffb5e4] {
    list-style: none;
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-subtle);
    padding: var(--space-2) var(--space-3) var(--space-1);
}

/* Overlay mobile */
.hp-sidebar__overlay[b-28mmffb5e4] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 21, 0.5);
    z-index: 99;
    animation: hp-fade-in var(--transition-fast) ease;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hp-sidebar[b-28mmffb5e4] {
        transform: translateX(-100%);
        transition: transform var(--transition);
        width: var(--sidebar-width);
    }

    .hp-sidebar--open[b-28mmffb5e4] {
        transform: translateX(0);
    }

    .hp-sidebar__overlay[b-28mmffb5e4] {
        display: block;
    }

    .hp-sidebar__toggle[b-28mmffb5e4] {
        display: none;
    }
}

/* Direction « Portée » : icône active en vermillon, marque en Archivo étendu */
.hp-sidebar__link--active .hp-sidebar__icon[b-28mmffb5e4] { color: var(--accent-text); }
.hp-sidebar__brand[b-28mmffb5e4] { font-stretch: var(--heading-stretch); font-weight: 700; }
.hp-sidebar__brand-accent[b-28mmffb5e4] { color: var(--ink-subtle); }
/* /Components/Layout/HpTopbar.razor.rz.scp.css */
/* HpTopbar.razor.css */

.hp-topbar[b-18zybo02x1] {
    height: var(--topbar-height);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(14, 11, 28, 0.04);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: 0 var(--space-8);
    position: sticky;
    top: 0;
    z-index: 50;
}

.hp-topbar__hamburger[b-18zybo02x1] {
    all: unset;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.hp-topbar__hamburger:hover[b-18zybo02x1] {
    background: var(--accent-soft);
    color: var(--ink);
}

.hp-topbar__title[b-18zybo02x1] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-topbar__actions[b-18zybo02x1] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.hp-topbar__icon-btn[b-18zybo02x1] {
    all: unset;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-topbar__icon-btn:hover[b-18zybo02x1] {
    background: var(--accent-soft);
    color: var(--ink);
}

/* User menu */
.hp-topbar__user-menu[b-18zybo02x1] {
    position: relative;
}

.hp-topbar__user-btn[b-18zybo02x1] {
    all: unset;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1-5) var(--space-3) var(--space-1-5) var(--space-1-5);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    min-height: 44px;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hp-topbar__user-btn:hover[b-18zybo02x1] {
    border-color: var(--border-strong);
    background: var(--surface-alt);
}

.hp-topbar__avatar[b-18zybo02x1] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--ink-muted);
    border: 1px solid var(--border-strong);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-body);
}

.hp-topbar__user-name[b-18zybo02x1] {
    font-size: var(--text-sm);
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-topbar__chevron[b-18zybo02x1] {
    color: var(--ink-subtle);
    transition: transform var(--transition-fast);
}

.hp-topbar__chevron--open[b-18zybo02x1] {
    transform: rotate(180deg);
}

/* Dropdown */
.hp-topbar__dropdown[b-18zybo02x1] {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    padding: var(--space-1-5);
    z-index: 200;
}

.hp-topbar__dropdown-item[b-18zybo02x1] {
    all: unset;
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    padding: var(--space-2-5) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink-muted);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
    min-height: 44px;
}

.hp-topbar__dropdown-item:hover[b-18zybo02x1] {
    background: var(--accent-soft);
    color: var(--ink);
    text-decoration: none;
}

.hp-topbar__dropdown-item--danger:hover[b-18zybo02x1] {
    background: var(--danger-soft);
    color: var(--danger);
}

.hp-topbar__dropdown-sep[b-18zybo02x1] {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-1-5) 0;
}

.hp-topbar__dropdown-form[b-18zybo02x1] {
    display: contents;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hp-topbar[b-18zybo02x1] {
        padding: 0 var(--space-4);
    }

    .hp-topbar__hamburger[b-18zybo02x1] {
        display: flex;
    }

    .hp-topbar__user-name[b-18zybo02x1] {
        display: none;
    }
}
/* /Components/Layout/LandingLayout.razor.rz.scp.css */
.landing-layout[b-aknorx37bb] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.landing-main[b-aknorx37bb] { flex: 1; }

/* ── Navigation collante, une ligne, 68 px ────────────────────────────────── */
.landing-nav[b-aknorx37bb] {
    position: sticky;
    top: 0;
    z-index: 30;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
}

.landing-nav__inner[b-aknorx37bb] {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 1240px;
    height: 68px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.landing-nav__brand[b-aknorx37bb] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}
.landing-nav__brand:hover[b-aknorx37bb] { text-decoration: none; }

.landing-nav__brand-text[b-aknorx37bb] {
    font-family: var(--font-display);
    font-stretch: var(--heading-stretch);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.landing-nav__brand-accent[b-aknorx37bb] { color: var(--ink-subtle); }

.landing-nav__links[b-aknorx37bb] { display: flex; gap: 28px; font-size: 14px; }
.landing-nav__links a[b-aknorx37bb] { color: var(--ink-muted); }
.landing-nav__links a:hover[b-aknorx37bb] { color: var(--ink); text-decoration: none; }

.landing-nav__actions[b-aknorx37bb] { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.landing-nav__login[b-aknorx37bb] { font-size: 14px; color: var(--ink-muted); padding: 0 6px; }
.landing-nav__login:hover[b-aknorx37bb] { color: var(--ink); text-decoration: none; }

.landing-nav__cta:hover[b-aknorx37bb] { text-decoration: none; }

/* Bouton de thème : on propose le soleil en sombre, la lune en clair */
.landing-nav__theme[b-aknorx37bb] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-size: 17px;
    cursor: pointer;
}
.landing-nav__theme:hover[b-aknorx37bb] { border-color: var(--border-strong); }
.landing-nav__theme-moon[b-aknorx37bb] { display: none; }
[data-theme="light"] .landing-nav__theme-sun[b-aknorx37bb] { display: none; }
[data-theme="light"] .landing-nav__theme-moon[b-aknorx37bb] { display: inline-block; }

/* Menu mobile : <details> natif, aucun JavaScript */
.landing-nav__mobile[b-aknorx37bb] { display: none; position: relative; }
.landing-nav__mobile summary[b-aknorx37bb] {
    list-style: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 19px;
    cursor: pointer;
}
.landing-nav__mobile summary[b-aknorx37bb]::-webkit-details-marker { display: none; }

.landing-nav__mobile-panel[b-aknorx37bb] {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--shadow-elev);
}
.landing-nav__mobile-panel a[b-aknorx37bb] { padding: 12px 14px; border-radius: var(--radius-md); color: var(--ink); font-size: 15px; }
.landing-nav__mobile-panel a:hover[b-aknorx37bb] { background: var(--surface-alt); text-decoration: none; }

/* ── Pied de page ─────────────────────────────────────────────────────────── */
.landing-footer[b-aknorx37bb] { border-top: 1px solid var(--border); }

.landing-footer__inner[b-aknorx37bb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 40px) 40px;
    font-size: 13px;
    color: var(--ink-subtle);
}

.landing-footer__brand[b-aknorx37bb] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-family: var(--font-display);
    font-stretch: var(--heading-stretch);
    font-weight: 700;
}
.landing-footer__brand:hover[b-aknorx37bb] { text-decoration: none; }

.landing-footer__links[b-aknorx37bb] { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.landing-footer__links a[b-aknorx37bb] { color: var(--ink-subtle); }
.landing-footer__links a:hover[b-aknorx37bb] { color: var(--ink); }

.landing-footer__copy[b-aknorx37bb] { margin-left: auto; }
.landing-footer__credits[b-aknorx37bb] { flex-basis: 100%; font-size: 12px; color: var(--ink-subtle); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .landing-nav__links[b-aknorx37bb] { display: none; }
    .landing-nav__mobile[b-aknorx37bb] { display: block; }
}

@media (max-width: 600px) {
    .landing-nav__inner[b-aknorx37bb] { gap: 12px; }
    .landing-nav__login[b-aknorx37bb], .landing-nav__theme[b-aknorx37bb] { display: none; }
    .landing-nav__cta[b-aknorx37bb] { padding: 0 16px; }
    .landing-footer__copy[b-aknorx37bb] { margin-left: 0; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css
   La sidebar est en position:fixed.
   --current-sidebar-width est injectée dynamiquement depuis MainLayout.razor
   via style inline, et mise à jour à chaque toggle collapsed.
*/

.hp-layout[b-mnzhy9c0mt] {
    min-height: 100vh;
    --current-sidebar-width: var(--sidebar-width); /* valeur par défaut SSR */
}

.hp-layout__main[b-mnzhy9c0mt] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-left: var(--current-sidebar-width);
    transition: margin-left var(--transition);
}

.hp-layout__content[b-mnzhy9c0mt] {
    flex: 1;
    padding: var(--space-8);
    overflow-y: auto;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hp-layout__main[b-mnzhy9c0mt] {
        margin-left: 0;
    }

    .hp-layout__content[b-mnzhy9c0mt] {
        padding: var(--space-4);
    }
}

/* Blazor error UI */
#blazor-error-ui[b-mnzhy9c0mt] {
    background: var(--warning-soft);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    color: var(--warning);
    padding: var(--space-3) var(--space-4);
    display: none;
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 1000;
    font-size: var(--text-sm);
    max-width: 400px;
    box-shadow: var(--shadow-modal);
}

#blazor-error-ui .dismiss[b-mnzhy9c0mt] {
    cursor: pointer;
    margin-left: var(--space-3);
    font-style: normal;
}

/* /Components/Pages/Abonnements/AccesBloque.razor.rz.scp.css */
.ab-layout[b-mb2zu5hkah] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: var(--space-6);
}

.ab-card[b-mb2zu5hkah] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    text-align: center;
}

.ab-logo[b-mb2zu5hkah] {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    text-decoration: none;
    margin-bottom: var(--space-2);
}

.ab-logo__brand[b-mb2zu5hkah] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ink);
}

.ab-logo__accent[b-mb2zu5hkah] { color: var(--accent); }

.ab-icon[b-mb2zu5hkah] {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--warning-soft);
    border: 1px solid var(--warning-border);
    color: var(--warning);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-titre[b-mb2zu5hkah] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.ab-desc[b-mb2zu5hkah] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

.ab-actions[b-mb2zu5hkah] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
}

.ab-btn-primary[b-mb2zu5hkah] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
    transition: opacity 0.15s;
}

.ab-btn-primary:hover[b-mb2zu5hkah] { opacity: 0.88; }

.ab-btn-primary:focus-visible[b-mb2zu5hkah] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.ab-btn-ghost[b-mb2zu5hkah] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2-5) var(--space-6);
    background: none;
    color: var(--ink-muted);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 500;
    text-decoration: none;
    min-height: 44px;
    transition: background 0.15s;
}

.ab-btn-ghost:hover[b-mb2zu5hkah] { background: var(--surface-alt); }

.ab-note[b-mb2zu5hkah] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
}
/* /Components/Pages/Abonnements/GestionAbonnement.razor.rz.scp.css */
.ga-page[b-hquw7attuz] {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ── Skeleton ────────────────────────────────────────────────────────────── */
.ga-skeleton[b-hquw7attuz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ga-skeleton__block[b-hquw7attuz] {
    height: 80px;
    background: var(--border);
    border-radius: var(--radius-md);
    animation: ga-pulse-b-hquw7attuz 1.5s ease-in-out infinite;
}

.ga-skeleton__block--sm[b-hquw7attuz] { height: 48px; }

@keyframes ga-pulse-b-hquw7attuz {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ── Banner essai ─────────────────────────────────────────────────────────── */
.ga-banner-essai[b-hquw7attuz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    background: var(--accent);
    color: var(--accent-ink);
}

.ga-banner-essai--urgent[b-hquw7attuz] {
    background: var(--danger);
}

.ga-banner-essai__icon[b-hquw7attuz] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ga-banner-essai__body[b-hquw7attuz] {
    flex: 1;
    min-width: 0;
}

.ga-banner-essai__label[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: var(--space-1);
}

.ga-banner-essai__titre[b-hquw7attuz] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: var(--space-1);
}

.ga-banner-essai__detail[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    opacity: 0.85;
    line-height: 1.5;
}

/* ── Section head ────────────────────────────────────────────────────────── */
.ga-section-head[b-hquw7attuz] {
    text-align: center;
}

.ga-section-title[b-hquw7attuz] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-2) 0;
    letter-spacing: -0.015em;
}

.ga-section-sub[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
}

/* ── Billing toggle ──────────────────────────────────────────────────────── */
.ga-billing-toggle[b-hquw7attuz] {
    display: flex;
    align-self: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 3px;
}

.ga-billing-btn[b-hquw7attuz] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    border-radius: calc(var(--radius-md) - 3px);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.ga-billing-btn--active[b-hquw7attuz] {
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 3px var(--border);
}

.ga-billing-badge[b-hquw7attuz] {
    padding: 2px 6px;
    background: var(--success);
    color: var(--surface);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 700;
}

/* ── Plans ───────────────────────────────────────────────────────────────── */
.ga-plans[b-hquw7attuz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-items: start;
}

@media (max-width: 560px) {
    .ga-plans[b-hquw7attuz] { grid-template-columns: 1fr; }
}

.ga-plan[b-hquw7attuz] {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
    transition: opacity 0.2s;
}

.ga-plan--featured[b-hquw7attuz] {
    border-color: var(--accent);
    background: linear-gradient(150deg, var(--surface) 60%, var(--accent-soft));
    box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--accent) 25%, transparent);
}

.ga-plan--dimmed[b-hquw7attuz] {
    opacity: 0.6;
}

.ga-plan__top-badge[b-hquw7attuz] {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.ga-plan__kicker[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ga-plan__prix-wrap[b-hquw7attuz] {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.ga-plan__prix[b-hquw7attuz] {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
}

.ga-plan__unite[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--ink-muted);
}

.ga-plan__hint[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.4;
}

.ga-plan__promo[b-hquw7attuz] {
    color: var(--success);
}

.ga-plan__features[b-hquw7attuz] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border-top: 1px solid var(--border);
    padding-top: var(--space-4);
}

.ga-plan__features li[b-hquw7attuz] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
}

.ga-plan__features li[b-hquw7attuz]::before {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: var(--success-soft);
    border: 1px solid var(--success-border);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='1 3.5 3.5 6 8 1' stroke='%231F9D87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.ga-plan__cta[b-hquw7attuz] {
    width: 100%;
    margin-top: var(--space-2);
}

/* ── Bannières ───────────────────────────────────────────────────────────── */
.ga-banner[b-hquw7attuz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-md);
    line-height: 1.5;
}

.ga-banner--info[b-hquw7attuz] {
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent);
}

.ga-banner--warning[b-hquw7attuz] {
    background: var(--warning-soft);
    border: 1px solid var(--warning-border);
    color: var(--warning);
}

.ga-banner--danger[b-hquw7attuz] {
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
    color: var(--danger);
}

/* ── Card statut actif ───────────────────────────────────────────────────── */
.ga-status-card[b-hquw7attuz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.ga-status-card--success[b-hquw7attuz] {
    background: var(--success-soft);
    border-color: var(--success-border);
}

.ga-status-card__icon[b-hquw7attuz] {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.ga-status-card__content[b-hquw7attuz] {
    flex: 1;
    min-width: 0;
}

.ga-status-card__titre[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-1) 0;
}

.ga-status-card__desc[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0 0 var(--space-2) 0;
    line-height: 1.5;
}

.ga-status-card__next[b-hquw7attuz] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
}

/* ── Confirmation réactivation ────────────────────────────────────────────── */
.ga-confirm-bloc[b-hquw7attuz] {
    padding: var(--space-5);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ga-confirm-bloc__head[b-hquw7attuz] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink);
}

.ga-confirm-bloc p[b-hquw7attuz] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}

.ga-confirm-actions[b-hquw7attuz] {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* ── Historique ──────────────────────────────────────────────────────────── */
.ga-historique[b-hquw7attuz] {
    border-top: 1px solid var(--border);
    padding-top: var(--space-6);
}

.ga-historique__titre[b-hquw7attuz] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-4) 0;
    letter-spacing: -0.01em;
}

.ga-historique__date[b-hquw7attuz] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    white-space: nowrap;
}

.ga-historique__transition[b-hquw7attuz] {
    color: var(--ink);
    font-weight: 500;
    font-size: var(--text-sm);
}

.ga-historique__motif[b-hquw7attuz] {
    color: var(--ink-subtle);
    font-style: italic;
    font-size: var(--text-sm);
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.ga-spinner[b-hquw7attuz] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--surface);
    border-radius: 50%;
    animation: ga-spin-b-hquw7attuz 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

.ga-spinner--dark[b-hquw7attuz] {
    border-color: rgba(0, 0, 0, 0.12);
    border-top-color: var(--ink);
}

@keyframes ga-spin-b-hquw7attuz {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/Abonnements/Onboarding.razor.rz.scp.css */
.ob-layout[b-0806ypxky0] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: var(--space-6);
}

.ob-card[b-0806ypxky0] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (max-width: 540px) {
    .ob-card[b-0806ypxky0] {
        padding: var(--space-6) var(--space-5);
    }
}

/* ── Logo ───────────────────────────────────────────────────────────────── */
.ob-logo[b-0806ypxky0] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    align-self: flex-start;
}

.ob-logo__brand[b-0806ypxky0] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ink);
}

.ob-logo__accent[b-0806ypxky0] {
    color: var(--accent);
}

/* ── Stepper ─────────────────────────────────────────────────────────────── */
.ob-stepper[b-0806ypxky0] {
    display: flex;
    align-items: center;
    gap: 0;
}

.ob-stepper__step[b-0806ypxky0] {
    display: flex;
    align-items: center;
    flex: 1;
}

.ob-stepper__step:last-child[b-0806ypxky0] {
    flex: 0;
}

.ob-stepper__num[b-0806ypxky0] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ob-stepper__step--active .ob-stepper__num[b-0806ypxky0] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.ob-stepper__step--done .ob-stepper__num[b-0806ypxky0] {
    background: var(--success);
    border-color: var(--success);
    color: var(--surface);
}

.ob-stepper__line[b-0806ypxky0] {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 var(--space-2);
}

.ob-stepper__step--done + .ob-stepper__step .ob-stepper__line[b-0806ypxky0],
.ob-stepper__step--done .ob-stepper__line[b-0806ypxky0] {
    background: var(--success);
}

/* ── Titres ─────────────────────────────────────────────────────────────── */
.ob-title[b-0806ypxky0] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.ob-subtitle[b-0806ypxky0] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Cards de type ───────────────────────────────────────────────────────── */
.ob-type-cards[b-0806ypxky0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.ob-type-card[b-0806ypxky0] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-5);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    min-height: 44px;
}

.ob-type-card:hover[b-0806ypxky0] {
    border-color: var(--accent-border);
    background: var(--accent-soft);
}

.ob-type-card--selected[b-0806ypxky0] {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.ob-type-card:focus-visible[b-0806ypxky0] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ob-type-card__icon[b-0806ypxky0] {
    color: var(--accent);
    display: flex;
}

.ob-type-card__titre[b-0806ypxky0] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--ink);
}

.ob-type-card__desc[b-0806ypxky0] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.4;
}

.ob-type-card__check[b-0806ypxky0] {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Formulaire ─────────────────────────────────────────────────────────── */
.ob-form[b-0806ypxky0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ob-field[b-0806ypxky0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.ob-label[b-0806ypxky0] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.ob-label-opt[b-0806ypxky0] {
    font-weight: 400;
    color: var(--ink-subtle);
}

.ob-input[b-0806ypxky0] {
    padding: var(--space-2-5) var(--space-4);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink);
    width: 100%;
    min-height: 44px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.ob-input:focus[b-0806ypxky0] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.ob-input--select[b-0806ypxky0] {
    cursor: pointer;
    appearance: auto;
}

.ob-validation[b-0806ypxky0] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--danger);
}

/* ── Consentements ──────────────────────────────────────────────────────── */
.ob-consents[b-0806ypxky0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.ob-consent[b-0806ypxky0] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink);
    cursor: pointer;
    line-height: 1.4;
}

.ob-consent__check[b-0806ypxky0] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.ob-consent__link[b-0806ypxky0] {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Boutons ────────────────────────────────────────────────────────────── */
.ob-btn-primary[b-0806ypxky0] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--accent);
    color: var(--accent-ink);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    transition: opacity 0.15s;
    width: fit-content;
    align-self: flex-start;
}

.ob-btn-primary--full[b-0806ypxky0] {
    width: 100%;
    align-self: stretch;
}

.ob-btn-primary:hover:not(:disabled)[b-0806ypxky0] { opacity: 0.88; }
.ob-btn-primary:disabled[b-0806ypxky0] { opacity: 0.5; cursor: not-allowed; }

.ob-btn-primary:focus-visible[b-0806ypxky0] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.ob-btn-ghost[b-0806ypxky0] {
    background: none;
    border: none;
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    cursor: pointer;
    padding: var(--space-2) 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    min-height: 44px;
    align-self: flex-start;
}

.ob-btn-ghost:hover[b-0806ypxky0] { color: var(--ink); }

/* ── Note réassurance ───────────────────────────────────────────────────── */
.ob-reassurance[b-0806ypxky0] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
}

/* ── Alerte ─────────────────────────────────────────────────────────────── */
.ob-alert[b-0806ypxky0] {
    padding: var(--space-3) var(--space-4);
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--danger);
}

/* ── Spinner ────────────────────────────────────────────────────────────── */
.ob-spinner[b-0806ypxky0] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--surface);
    border-radius: 50%;
    animation: ob-spin-b-0806ypxky0 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes ob-spin-b-0806ypxky0 {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/Abonnements/Tarifs.razor.rz.scp.css */
.tarifs[b-3l7whlp9e1] {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-6) var(--space-12);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.tarifs__hero[b-3l7whlp9e1] {
    text-align: center;
    margin-bottom: var(--space-12);
}

.tarifs__badge[b-3l7whlp9e1] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1-5) var(--space-4);
    background: var(--accent-soft);
    color: var(--accent-text);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.tarifs__titre[b-3l7whlp9e1] {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-4);
}

.tarifs__sous-titre[b-3l7whlp9e1] {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--ink-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Formule (carte partagée avec la page d'accueil) ───────────────────── */
.tarifs__grille[b-3l7whlp9e1] {
    max-width: 560px;
    margin: 0 auto var(--space-12);
}

/* ── Garanties ──────────────────────────────────────────────────────────── */
.tarifs__garanties[b-3l7whlp9e1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

@media (max-width: 720px) {
    .tarifs__garanties[b-3l7whlp9e1] {
        grid-template-columns: 1fr;
    }
}

.tarifs__garantie[b-3l7whlp9e1] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.tarifs__garantie-icon[b-3l7whlp9e1] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--success-soft);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarifs__garantie div[b-3l7whlp9e1] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.tarifs__garantie strong[b-3l7whlp9e1] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink);
}

.tarifs__garantie span[b-3l7whlp9e1] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.5;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.tarifs__faq[b-3l7whlp9e1] {
    max-width: 720px;
    margin: 0 auto var(--space-12);
}

.tarifs__faq-titre[b-3l7whlp9e1] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    margin-bottom: var(--space-8);
    letter-spacing: -0.015em;
}

.tarifs__faq-liste[b-3l7whlp9e1] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.tarifs__faq-item[b-3l7whlp9e1] {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tarifs__faq-question[b-3l7whlp9e1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    background: var(--surface);
    transition: background 0.15s;
}

.tarifs__faq-question:hover[b-3l7whlp9e1] {
    background: var(--surface-alt);
}

.tarifs__faq-question[b-3l7whlp9e1]::-webkit-details-marker { display: none; }

.tarifs__faq-chevron[b-3l7whlp9e1] {
    flex-shrink: 0;
    color: var(--ink-subtle);
    transition: transform 0.2s;
}

details[open] .tarifs__faq-chevron[b-3l7whlp9e1] {
    transform: rotate(180deg);
}

.tarifs__faq-reponse[b-3l7whlp9e1] {
    padding: 0 var(--space-5) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    line-height: 1.6;
    background: var(--surface);
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: var(--space-4);
}

/* ── RGPD ───────────────────────────────────────────────────────────────── */
.tarifs__rgpd[b-3l7whlp9e1] {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
}

.tarifs__rgpd-inner[b-3l7whlp9e1] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.5;
}

.tarifs__rgpd-icon[b-3l7whlp9e1] {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 1px;
}

.tarifs__rgpd-lien[b-3l7whlp9e1] {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
.error-page[b-ehfyjxltd7] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--bg);
}

.error-card[b-ehfyjxltd7] {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-screen);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.error-card__logo[b-ehfyjxltd7] {
    margin-bottom: var(--space-2);
}

.error-card__icon[b-ehfyjxltd7] {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-lg);
    color: var(--danger);
    margin-bottom: var(--space-2);
}

.error-card__title[b-ehfyjxltd7] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.error-card__message[b-ehfyjxltd7] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}

.error-card__btn-primary[b-ehfyjxltd7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 var(--space-6);
    margin-top: var(--space-2);
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: opacity 150ms ease;
    width: 100%;
}

.error-card__btn-primary:hover[b-ehfyjxltd7] {
    opacity: 0.88;
}

.error-card__btn-primary:focus-visible[b-ehfyjxltd7] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.error-card__link-secondary[b-ehfyjxltd7] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 var(--space-2);
    transition: color 150ms ease;
}

.error-card__link-secondary:hover[b-ehfyjxltd7] {
    color: var(--ink);
}

.error-card__link-secondary:focus-visible[b-ehfyjxltd7] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-md);
}
/* /Components/Pages/Admin/Referentiels.razor.rz.scp.css */
/* Referentiels.razor.css — styles scopés */

.ref-page[b-cwdsxy28vo] {
    max-width: 900px;
}

/* ── Section ── */
.ref-section[b-cwdsxy28vo] {
    padding: var(--space-6) 0;
}

.ref-toolbar[b-cwdsxy28vo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
    gap: var(--space-4);
}

.ref-section__title[b-cwdsxy28vo] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
}

/* ── Liste simple ── */
.ref-list[b-cwdsxy28vo] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ref-list__item[b-cwdsxy28vo] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.ref-list__item:hover[b-cwdsxy28vo] { background: var(--surface-alt); }
.ref-list__item--inactive[b-cwdsxy28vo] { opacity: 0.55; }

.ref-list__reorder[b-cwdsxy28vo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ref-list__name[b-cwdsxy28vo] {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
}

.ref-list__badge[b-cwdsxy28vo] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px var(--space-2-5);
    font-family: var(--font-mono);
}

.ref-list__meta[b-cwdsxy28vo] { display: flex; align-items: center; gap: var(--space-2); }
.ref-list__actions[b-cwdsxy28vo] { display: flex; align-items: center; gap: var(--space-1); }

/* ── Icône bouton ── */
.ref-icon-btn[b-cwdsxy28vo] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: var(--radius-sm);
    color: var(--ink-subtle);
    transition: background var(--transition), color var(--transition);
}

.ref-icon-btn:hover[b-cwdsxy28vo] { background: var(--border); color: var(--ink); }
.ref-icon-btn:disabled[b-cwdsxy28vo] { opacity: 0.3; cursor: not-allowed; }
.ref-icon-btn:focus-visible[b-cwdsxy28vo] { outline: 2px solid var(--accent); outline-offset: 1px; }
.ref-icon-btn--danger:hover[b-cwdsxy28vo] { background: var(--danger-soft); color: var(--danger); }

/* ── Formulaire inline ── */
.ref-inline-form[b-cwdsxy28vo] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: var(--surface-alt);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.ref-inline-form--multi[b-cwdsxy28vo] { align-items: flex-start; }

/* Input inline — flex:1 spécifique à ce contexte (pas géré par hp-field__input) */
.ref-inline-form .hp-field__input[b-cwdsxy28vo] {
    flex: 1;
    min-width: 180px;
}

/* Select inline — max-width spécifique */
.hp-field__input.hp-field__input--select.ref-select-discipline[b-cwdsxy28vo] {
    max-width: 340px;
}

/* ── Cartes disciplines ── */
.ref-cards[b-cwdsxy28vo] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.ref-disc-card[b-cwdsxy28vo] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
}

.ref-disc-card__header[b-cwdsxy28vo] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.ref-disc-card__name[b-cwdsxy28vo] {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    flex: 1;
}

.ref-disc-card__rythme[b-cwdsxy28vo] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px var(--space-2-5);
}

.ref-disc-card__actions[b-cwdsxy28vo] { display: flex; gap: var(--space-1); }

.ref-disc-card__niveaux-label[b-cwdsxy28vo] {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink-subtle);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-2);
}

.ref-disc-card__checkboxes[b-cwdsxy28vo] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
}

.ref-checkbox-label[b-cwdsxy28vo] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    cursor: pointer;
    user-select: none;
}

.ref-checkbox-label input[type="checkbox"][b-cwdsxy28vo] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ── État vide ── */
.ref-empty[b-cwdsxy28vo] {
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    padding: var(--space-6) 0;
    text-align: center;
    margin: 0;
}
/* /Components/Pages/Admin/Salles.razor.rz.scp.css */
/* Salles.razor.css — styles scopés page gestion des salles */

.salles-page[b-7w9q13xn1p] {
    max-width: 760px;
}

/* ── Colonne nom ── */
.salles-table__nom[b-7w9q13xn1p] {
    font-weight: 500;
}

/* ── Toggle actif/inactif ── */
.salles-toggle[b-7w9q13xn1p] {
    all: unset;
    cursor: pointer;
    width: 40px;
    height: 22px;
    border-radius: var(--radius-pill);
    background: var(--border-strong);
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}

.salles-toggle:focus-visible[b-7w9q13xn1p] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.salles-toggle:disabled[b-7w9q13xn1p] {
    opacity: 0.5;
    cursor: not-allowed;
}

.salles-toggle--active[b-7w9q13xn1p] {
    background: var(--accent);
}

.salles-toggle__knob[b-7w9q13xn1p] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface);
    transition: transform var(--transition);
    box-shadow: var(--shadow-card);
}

.salles-toggle--active .salles-toggle__knob[b-7w9q13xn1p] {
    transform: translateX(18px);
}
/* /Components/Pages/Admin/SessionAcademique.razor.rz.scp.css */
/* SessionAcademique.razor.css */

.session-page[b-e0eqx0tyq4] {
    max-width: 720px;
}

/* ── Bannière session active ── */
.session-active-banner[b-e0eqx0tyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-6);
}

.session-active-banner__info[b-e0eqx0tyq4] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.session-active-banner__name[b-e0eqx0tyq4] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
}

.session-active-banner__dates[b-e0eqx0tyq4] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

.session-active-banner__icon[b-e0eqx0tyq4] {
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Badge active ── */
.session-active-badge[b-e0eqx0tyq4] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 var(--space-2);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-pill);
    letter-spacing: 0.03em;
}

.session-active-badge--sm[b-e0eqx0tyq4] {
    height: 18px;
    font-size: 10px;
}

/* ── Carte liste ── */
.session-card[b-e0eqx0tyq4] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.session-card__head[b-e0eqx0tyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
}

.session-card__title[b-e0eqx0tyq4] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* ── Liste sessions ── */
.session-list[b-e0eqx0tyq4] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.session-list__item[b-e0eqx0tyq4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    min-height: 64px;
    gap: var(--space-4);
}

.session-list__item:last-child[b-e0eqx0tyq4] {
    border-bottom: none;
}

.session-list__item--active[b-e0eqx0tyq4] {
    background: var(--surface-alt);
}

.session-list__info[b-e0eqx0tyq4] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
}

.session-list__name-row[b-e0eqx0tyq4] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.session-list__name[b-e0eqx0tyq4] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.session-list__dates[b-e0eqx0tyq4] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

/* session-empty reuses page-empty — no additional override needed */
.session-empty[b-e0eqx0tyq4] {
    padding: var(--space-6);
    border: none;
}

/* ── Formulaire inline ── */
.session-form[b-e0eqx0tyq4] {
    padding: var(--space-6);
    border-top: 1px solid var(--border);
    background: var(--surface-alt);
}

.session-form__title[b-e0eqx0tyq4] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 var(--space-5);
}

.session-field-row[b-e0eqx0tyq4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 560px) {
    .session-field-row[b-e0eqx0tyq4] { grid-template-columns: 1fr; }
}

.session-form__actions[b-e0eqx0tyq4] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    margin-top: var(--space-2);
}
/* /Components/Pages/Admin/Sites.razor.rz.scp.css */
/* Sites.razor.css — styles scopés page gestion des sites */

.sites-page[b-1og3tfh0qb] {
    max-width: 1100px;
}

/* ── KPIs ── */
.sites-kpis[b-1og3tfh0qb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
    .sites-kpis[b-1og3tfh0qb] { grid-template-columns: repeat(2, 1fr); }
}

.sites-kpi-tile[b-1og3tfh0qb] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sites-kpi-tile__label[b-1og3tfh0qb] {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sites-kpi-tile__value[b-1og3tfh0qb] {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
}

.sites-kpi-tile__value--mono[b-1og3tfh0qb] {
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
}

/* ── Barre d'actions ── */
.sites-actions-bar[b-1og3tfh0qb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
    gap: var(--space-4);
}

.sites-section-title[b-1og3tfh0qb] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

/* ── Grille cards ── */
.sites-cards-grid[b-1og3tfh0qb] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .sites-cards-grid[b-1og3tfh0qb] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .sites-cards-grid[b-1og3tfh0qb] { grid-template-columns: 1fr; }
}

/* ── Card site ── */
.sites-card[b-1og3tfh0qb] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: box-shadow var(--transition);
}

.sites-card:hover[b-1og3tfh0qb] {
    box-shadow: var(--shadow-card);
}

.sites-card--inactive[b-1og3tfh0qb] {
    opacity: 0.65;
}

.sites-card__head[b-1og3tfh0qb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    border-bottom: none;
    padding: 0;
}

.sites-card__nom-wrap[b-1og3tfh0qb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sites-card__nom[b-1og3tfh0qb] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sites-card__ville[b-1og3tfh0qb] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.sites-card__statut[b-1og3tfh0qb] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 600;
    flex-shrink: 0;
}

.sites-card__statut--actif[b-1og3tfh0qb] {
    background: var(--success-soft);
    color: var(--success);
}

.sites-card__statut--inactif[b-1og3tfh0qb] {
    background: var(--surface-alt);
    color: var(--ink-muted);
}

/* ── Stats ── */
.sites-card__stats[b-1og3tfh0qb] {
    display: flex;
    gap: var(--space-4);
}

.sites-card__stat[b-1og3tfh0qb] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--ink-subtle);
    font-size: var(--text-sm);
}

.sites-card__stat-val[b-1og3tfh0qb] {
    font-weight: 600;
    color: var(--ink);
}

.sites-card__stat-val--mono[b-1og3tfh0qb] {
    font-family: var(--font-mono);
}

.sites-card__stat-label[b-1og3tfh0qb] {
    color: var(--ink-subtle);
}

/* ── Utilisation ── */
.sites-card__utilisation[b-1og3tfh0qb] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.sites-card__utilisation-label[b-1og3tfh0qb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sites-card__utilisation-txt[b-1og3tfh0qb] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.sites-card__utilisation-pct[b-1og3tfh0qb] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.sites-card__utilisation-pct--mono[b-1og3tfh0qb] {
    font-family: var(--font-mono);
}

.sites-card__progress-track[b-1og3tfh0qb] {
    height: 6px;
    background: var(--surface-alt);
    border-radius: 3px;
    overflow: hidden;
}

.sites-card__progress-fill[b-1og3tfh0qb] {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ── Pied de card ── */
.sites-card__footer[b-1og3tfh0qb] {
    display: flex;
    gap: var(--space-2);
    justify-content: flex-end;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

/* Bouton avec texte + icône dans les cards */
.sites-btn-icon[b-1og3tfh0qb] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    min-height: 36px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: var(--radius-md);
    color: var(--ink-subtle);
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.sites-btn-icon:hover:not(:disabled)[b-1og3tfh0qb] {
    background: var(--surface-alt);
    color: var(--ink);
}

.sites-btn-icon--danger:hover:not(:disabled)[b-1og3tfh0qb] {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: var(--danger-border);
}

.sites-btn-icon--disabled[b-1og3tfh0qb] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── Champs locaux drawer ── */
.sites-field-row[b-1og3tfh0qb] {
    display: flex;
    gap: var(--space-3);
}

.sites-field--grow[b-1og3tfh0qb] {
    flex: 1;
}

.sites-field__input--short[b-1og3tfh0qb] {
    width: 100px;
}

/* ── Vide ── */
.sites-empty[b-1og3tfh0qb] {
    padding: var(--space-8) var(--space-6);
    color: var(--ink-subtle);
    text-align: center;
    font-size: var(--text-sm);
}
/* /Components/Pages/Admin/TypesCours.razor.rz.scp.css */
/* TypesCours.razor.css — styles scopés page types de cours */

.tc-page[b-el3suo9w3w] {
    max-width: 960px;
}

/* ── Empty state ── */
.tc-empty[b-el3suo9w3w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-12) var(--space-6);
    text-align: center;
}

.tc-empty__icon[b-el3suo9w3w] {
    color: var(--ink-muted);
}

.tc-empty__msg[b-el3suo9w3w] {
    color: var(--ink-subtle);
    font-size: var(--text-md);
    margin: 0;
}

/* ── Colonnes spécifiques au tableau ── */
.tc-table__col-color[b-el3suo9w3w] {
    width: 56px;
}

.tc-table__nom[b-el3suo9w3w] {
    font-weight: 500;
}

/* ── Pastille couleur ── */
.tc-pastille[b-el3suo9w3w] {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

/* ── Boutons ordre ── */
.tc-ordre-btns[b-el3suo9w3w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* ── Sélecteur couleur ── */
.tc-color-row[b-el3suo9w3w] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.tc-color-input[b-el3suo9w3w] {
    width: 44px;
    height: 44px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--bg);
}

.tc-color-preview[b-el3suo9w3w] {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.tc-color-value[b-el3suo9w3w] {
    font-size: var(--text-sm);
    color: var(--ink-subtle);
}

.tc-field__mono[b-el3suo9w3w] {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
}

.tc-field__input--short[b-el3suo9w3w] {
    width: 100px;
}

.tc-field__input--mono[b-el3suo9w3w] {
    font-family: var(--font-mono);
}
/* /Components/Pages/Auth/Login.razor.rz.scp.css */
/* Login.razor.css — styles scopés pour la page connexion */
/* Tous les styles sont globaux dans app.css (auth-card, auth-form, etc.)
   aucun style spécifique à cette page n'est nécessaire. */
/* /Components/Pages/Auth/Onboarding.razor.rz.scp.css */
/* Onboarding.razor.css — styles scopés pour la page onboarding */

/* Bouton retour espacé du contenu précédent */
.onboarding-back[b-v289o6sphu] {
    margin-top: var(--space-3);
}
/* /Components/Pages/Auth/Register.razor.rz.scp.css */
/* Register.razor.css — styles scopés pour la page inscription */

/* Grille prénom / nom côte à côte */
.auth-name-row[b-oxci17tre4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

@media (max-width: 400px) {
    .auth-name-row[b-oxci17tre4] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.tdb[b-07738e7kar] { display: flex; flex-direction: column; gap: 28px; max-width: 1240px; }

/* ── En-tête : salutation et grande recherche ──────────────────────────────── */
.tdb__entete[b-07738e7kar] { display: flex; flex-direction: column; gap: 6px; }
.tdb__titre[b-07738e7kar] {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-stretch: var(--display-stretch);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.tdb__recherche[b-07738e7kar] {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    height: 60px;
    padding: 0 8px 0 20px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tdb__recherche:focus-within[b-07738e7kar] { border-color: var(--accent-line); box-shadow: 0 0 0 5px var(--accent-soft); }
.tdb__recherche > i[b-07738e7kar] { font-size: 21px; color: var(--ink-muted); }
.tdb__recherche input[b-07738e7kar] {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 16.5px; color: var(--ink);
}
.tdb__recherche input[b-07738e7kar]::placeholder { color: var(--ink-subtle); }
.tdb__recherche input[b-07738e7kar]::-webkit-search-cancel-button { display: none; }

/* ── Grille ───────────────────────────────────────────────────────────────── */
.tdb__grille[b-07738e7kar] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.tdb__bloc[b-07738e7kar] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 22px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.tdb__bloc-entete[b-07738e7kar] { display: flex; align-items: baseline; gap: 12px; }
.tdb__bloc-titre[b-07738e7kar] { margin: 0; font-size: 17px; font-weight: 700; font-stretch: var(--heading-stretch); }
.tdb__stat[b-07738e7kar] { font-family: var(--font-mono); font-size: 12px; color: var(--ink-subtle); }
.tdb__lien[b-07738e7kar] { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.tdb__lien:hover[b-07738e7kar] { color: var(--accent-text); text-decoration: none; }

.tdb__vide[b-07738e7kar] { display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px 0; font-size: 14px; color: var(--ink-subtle); }
.tdb__vide i[b-07738e7kar] { font-size: 22px; }
.tdb__vide--recents[b-07738e7kar] { flex-direction: column; padding: 30px 0; text-align: center; }
.tdb__vide--recents p[b-07738e7kar] { margin: 0; }

.tdb__aide[b-07738e7kar] { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); }
.tdb__annule[b-07738e7kar] { margin: 0; font-size: 13.5px; color: var(--danger); }

/* ── Cours choisi ─────────────────────────────────────────────────────────── */
.tdb__prochain[b-07738e7kar] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    box-shadow: inset 3px 0 0 var(--accent);
}
.tdb__prochain-entete[b-07738e7kar] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tdb__prochain-quand[b-07738e7kar] { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); }
.tdb__prochain-quand .mono[b-07738e7kar] { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-muted); }
.tdb__prochain-titre[b-07738e7kar] { margin: 4px 0 0; font-size: 20px; font-weight: 700; font-stretch: var(--heading-stretch); }
.tdb__prochain-detail[b-07738e7kar] { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); }

.tdb__etiquettes[b-07738e7kar] { display: flex; flex-wrap: wrap; gap: 6px; }
.tdb__etiquette-lien:hover[b-07738e7kar] { text-decoration: none; filter: brightness(1.05); }

.tdb__elements[b-07738e7kar] { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }

/* ── Récents ──────────────────────────────────────────────────────────────── */
.tdb__grille-recents[b-07738e7kar] { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px 14px; }

.tdb__carte[b-07738e7kar] { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.tdb__carte:hover[b-07738e7kar] { text-decoration: none; }
.tdb__vignette[b-07738e7kar] {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-alt);
    outline: 1px solid var(--border-strong);
    outline-offset: -1px;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tdb__vignette img[b-07738e7kar] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: var(--paper); }
.tdb__vignette > i[b-07738e7kar] { font-size: 32px; color: var(--ink-subtle); }
.tdb__vignette--oeuvre[b-07738e7kar] { background: color-mix(in srgb, var(--accent) 8%, var(--surface-alt)); }
.tdb__vignette--oeuvre > i[b-07738e7kar] { color: var(--accent-text); }
.tdb__carte:hover .tdb__vignette[b-07738e7kar] { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.55); }
.tdb__prochain .tdb__vignette[b-07738e7kar] { background-color: var(--surface); }

.tdb__pastille[b-07738e7kar] {
    position: absolute; left: 6px; bottom: 6px;
    padding: 2px 6px; border-radius: 5px;
    font-size: 10px; font-weight: 500;
    background: rgba(15, 17, 21, 0.82); color: #ECEDEF;
}
.tdb__carte-titre[b-07738e7kar] { font-size: 13px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tdb__carte--petite .tdb__carte-titre[b-07738e7kar] { font-size: 12px; }
.tdb__carte-detail[b-07738e7kar] { font-size: 11.5px; color: var(--ink-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Chargement ───────────────────────────────────────────────────────────── */
.tdb__squelette[b-07738e7kar] {
    display: block;
    height: 90px;
    border-radius: var(--radius-md);
    background: linear-gradient(100deg, var(--surface-alt) 40%, var(--surface) 50%, var(--surface-alt) 60%) 0 0 / 200% 100%;
    animation: tdb-reflet-b-07738e7kar 1.4s linear infinite;
}
.tdb__squelette--portee[b-07738e7kar] { height: 150px; }
.tdb__squelette--carte[b-07738e7kar] { height: auto; aspect-ratio: 4 / 5; }
@keyframes tdb-reflet-b-07738e7kar { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .tdb__squelette[b-07738e7kar] { animation: none; } }

@media (max-width: 1080px) {
    .tdb__grille[b-07738e7kar] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .tdb__recherche[b-07738e7kar] { height: 52px; padding-left: 14px; }
    .tdb__recherche .hp-btn[b-07738e7kar] { display: none; }
    .tdb__bloc[b-07738e7kar] { padding: 16px; }
    .tdb__stat[b-07738e7kar] { display: none; }
    .tdb__grille-recents[b-07738e7kar] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Choix du planning affiché */
.tdb__planning-de[b-07738e7kar] { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.tdb__planning-de select[b-07738e7kar] { width: auto; min-width: 12rem; padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
@media (max-width: 640px) {
    .tdb__bloc-entete[b-07738e7kar] { flex-wrap: wrap; }
    .tdb__planning-de[b-07738e7kar] { order: 3; width: 100%; }
    .tdb__planning-de select[b-07738e7kar] { flex: 1; min-width: 0; }
}
/* /Components/Pages/Documents/Documents.razor.rz.scp.css */
/* La page occupe toute la hauteur utile : chaque colonne défile pour son compte */
.docs[b-ugcnpjhna1] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: calc(100dvh - var(--topbar-height) - 2 * var(--space-8));
    min-height: 560px;
}

.docs__entete[b-ugcnpjhna1] { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.docs__titre[b-ugcnpjhna1] {
    margin: 0;
    font-family: var(--font-display);
    font-stretch: var(--heading-stretch);
    font-weight: 800;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.docs__actions[b-ugcnpjhna1] { display: flex; gap: 10px; }

.docs__menu[b-ugcnpjhna1] { position: relative; }
.docs__menu-panneau[b-ugcnpjhna1] {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    width: 280px;
    padding: 6px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-elev);
}
.docs__menu-panneau button[b-ugcnpjhna1] {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 12px;
    border: 0; border-radius: var(--radius-md);
    background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.docs__menu-panneau button:hover[b-ugcnpjhna1] { background: var(--surface-alt); }
.docs__menu-panneau i[b-ugcnpjhna1] { font-size: 20px; color: var(--accent-text); margin-top: 2px; }
.docs__menu-panneau span[b-ugcnpjhna1] { display: flex; flex-direction: column; gap: 2px; }
.docs__menu-panneau strong[b-ugcnpjhna1] { font-size: 14px; }
.docs__menu-panneau small[b-ugcnpjhna1] { font-size: 12px; color: var(--ink-subtle); }

.docs__alerte[b-ugcnpjhna1] { flex-shrink: 0; }

.docs__corps[b-ugcnpjhna1] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 320px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
}

@media (max-width: 1200px) {
    .docs__corps[b-ugcnpjhna1] { grid-template-columns: 220px minmax(0, 1fr); }
    /* Sous 1200 px, l'aperçu passe en panneau par-dessus les résultats, seulement quand un élément est choisi */
    .docs__corps[b-ugcnpjhna1]  .ap {
        display: none;
        position: fixed;
        top: var(--topbar-height);
        right: 0;
        bottom: 0;
        z-index: 40;
        width: min(380px, 100vw);
        box-shadow: var(--shadow-elev);
        background: var(--surface);
    }
    .docs__corps--apercu[b-ugcnpjhna1]  .ap { display: flex; }
}

@media (max-width: 768px) {
    .docs[b-ugcnpjhna1] { height: auto; min-height: 0; }
    .docs__entete[b-ugcnpjhna1] { align-items: flex-start; }
    .docs__actions[b-ugcnpjhna1] { width: 100%; }
    .docs__actions > *[b-ugcnpjhna1], .docs__actions > .docs__menu > .hp-btn[b-ugcnpjhna1] { flex: 1; }
    .docs__menu[b-ugcnpjhna1] { display: flex; }
    .docs__corps[b-ugcnpjhna1] { grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-md); }
    .docs__corps[b-ugcnpjhna1]  .rail { border-right: 0; border-bottom: 1px solid var(--border); max-height: 260px; }
    .docs__corps[b-ugcnpjhna1]  .res__defile { max-height: none; }
    .docs__corps[b-ugcnpjhna1]  .ap { top: 0; width: 100vw; }
}
/* /Components/Pages/Documents/ExerciceDetail.razor.rz.scp.css */
/* ExerciceDetail — styles spécifiques au picker de documents GED */

.ed-docs-toolbar[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
}

.ed-doc-unlink[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--ink-subtle);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: auto;
}

.ed-doc-unlink:hover[b-1c15kwhxkl] {
    background: var(--danger-soft);
    color: var(--danger);
}

/* ── Picker overlay ──────────────────────────────────────────────────────── */

.ed-picker-overlay[b-1c15kwhxkl] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.ed-picker-modal[b-1c15kwhxkl] {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.ed-picker-modal__header[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.ed-picker-modal__title[b-1c15kwhxkl] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
}

.ed-picker-modal__body[b-1c15kwhxkl] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    overflow-y: auto;
    max-height: 70vh;
}

.ed-picker-list[b-1c15kwhxkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
    max-height: 360px;
    overflow-y: auto;
}

.ed-picker-item[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    transition: border-color var(--transition-fast);
}

.ed-picker-item:hover[b-1c15kwhxkl] {
    border-color: var(--border-strong);
}

.ed-picker-item__nom[b-1c15kwhxkl] {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ed-picker-item__deja[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    font-style: italic;
    flex-shrink: 0;
}

/* ── Styles ed-* spécifiques à ExerciceDetail ──────────────────────────────── */

.ed-page[b-1c15kwhxkl] {
    min-height: 100%;
}

.ed-header[b-1c15kwhxkl] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-6) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.ed-header__main[b-1c15kwhxkl] {
    flex: 1;
    min-width: 0;
}

.ed-header__meta[b-1c15kwhxkl] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
    margin-bottom: var(--space-2);
}

.ed-header__title[b-1c15kwhxkl] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.ed-pill[b-1c15kwhxkl] {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--surface-alt);
    color: var(--ink-muted);
    border: 1px solid var(--border);
}

.ed-pill--mono[b-1c15kwhxkl] {
    font-family: var(--font-mono);
}

.ed-spinner[b-1c15kwhxkl] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--exercice);
    border-radius: 50%;
    animation: ed-spin-b-1c15kwhxkl 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes ed-spin-b-1c15kwhxkl {
    to { transform: rotate(360deg); }
}

.ed-params[b-1c15kwhxkl] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
    margin-top: var(--space-3);
    margin-bottom: var(--space-3);
}

.ed-param-pill[b-1c15kwhxkl] {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 3px var(--space-2-5);
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--exercice) 10%, transparent);
    color: var(--exercice);
    border: 1px solid color-mix(in srgb, var(--exercice) 25%, transparent);
}

.ed-param-pill--mono[b-1c15kwhxkl] {
    font-family: var(--font-mono);
}

/* ── Styles nd-* portés ici car CSS isolation Blazor ───────────────────────── */

.nd-breadcrumb[b-1c15kwhxkl] {
    padding: var(--space-4) var(--space-6) var(--space-2);
}

.nd-back[b-1c15kwhxkl] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nd-back:hover[b-1c15kwhxkl] { color: var(--accent); }

.nd-loading[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
}

.nd-header__actions[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.nd-btn-sm[b-1c15kwhxkl] {
    font-size: var(--text-sm);
    padding: var(--space-1-5) var(--space-3);
    min-height: 34px;
}

.nd-layout[b-1c15kwhxkl] {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: var(--space-6);
    padding: var(--space-5) var(--space-6) var(--space-8);
    align-items: start;
}

@media (max-width: 768px) {
    .nd-layout[b-1c15kwhxkl] {
        grid-template-columns: 1fr;
        padding: var(--space-4) var(--space-4) var(--space-6);
    }
}

.nd-tab-content[b-1c15kwhxkl] {
    padding-top: var(--space-4);
}

.nd-description[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    line-height: 1.7;
    margin: 0 0 var(--space-4);
}

.nd-section[b-1c15kwhxkl] {
    margin-bottom: var(--space-4);
}

.nd-section__title[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-subtle);
    margin: 0 0 var(--space-1-5);
}

.nd-section__text[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.65;
}

.nd-empty[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
    padding: var(--space-4) 0;
    font-style: italic;
}

.nd-cards-grid[b-1c15kwhxkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nd-docs-list[b-1c15kwhxkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nd-doc-item[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
}

.nd-doc-nom[b-1c15kwhxkl] {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nd-doc-tag-badge[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 1px var(--space-1-5);
    white-space: nowrap;
}

.nd-sidebar__section[b-1c15kwhxkl] {
    margin-bottom: var(--space-4);
}

.nd-sidebar__title[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-subtle);
    margin: 0 0 var(--space-2);
}

.nd-sidebar__tags[b-1c15kwhxkl] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
}

.nd-sidebar__empty[b-1c15kwhxkl] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    margin: 0;
    font-style: italic;
}

.nd-textarea[b-1c15kwhxkl] {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: var(--space-2-5) var(--space-3);
    resize: vertical;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
}

.nd-textarea:focus[b-1c15kwhxkl] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.nd-drawer-close[b-1c15kwhxkl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nd-drawer-close:hover[b-1c15kwhxkl] {
    background: var(--bg);
    color: var(--ink);
}

/* ── Document avec lecteur audio ──────────────────────────────────────────── */
.ed-doc-wrap[b-1c15kwhxkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

.ed-doc-audio[b-1c15kwhxkl] {
    width: 100%;
    accent-color: var(--accent);
    border-radius: var(--radius-sm);
    margin-left: var(--space-3);
}

/* ── Clickable doc item ────────────────────────────────────────────────────── */
.nd-doc-item--clickable[b-1c15kwhxkl] {
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nd-doc-item--clickable:hover[b-1c15kwhxkl] {
    background: var(--bg);
    border-color: var(--accent);
}

.nd-doc-item--clickable:focus-visible[b-1c15kwhxkl] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nd-notion-lien[b-1c15kwhxkl] { text-decoration: none; }
/* /Components/Pages/Documents/OeuvreDetail.razor.rz.scp.css */
/* Réutilise les classes nd-* de NotionDetail.razor.css via CSS isolation */

.od-page[b-602k2ztanx] {
    min-height: 100%;
}

.od-header[b-602k2ztanx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-6) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.od-header__main[b-602k2ztanx] {
    flex: 1;
    min-width: 0;
}

.od-header__badges[b-602k2ztanx] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
    margin-bottom: var(--space-2);
}

.od-header__title[b-602k2ztanx] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-1);
    line-height: 1.2;
}

.od-header__sub[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.od-header__sep[b-602k2ztanx] {
    color: var(--border-strong);
}

.od-header__arrangeur[b-602k2ztanx] {
    color: var(--ink-subtle);
    font-style: italic;
}

.od-audio-wrap[b-602k2ztanx] {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
}

.od-spinner[b-602k2ztanx] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--oeuvre);
    border-radius: 50%;
    animation: od-spin-b-602k2ztanx 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

.od-spinner--sm[b-602k2ztanx] {
    width: 14px;
    height: 14px;
}

@keyframes od-spin-b-602k2ztanx {
    to { transform: rotate(360deg); }
}

/* ── Paramètres musicaux grille ─────────────────────────────────────────── */

.od-params-grid[b-602k2ztanx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.od-params-grid--sm[b-602k2ztanx] {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.od-param[b-602k2ztanx] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.od-param__label[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-subtle);
}

.od-param__value[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
}

.od-param__value--mono[b-602k2ztanx] {
    font-family: var(--font-mono);
}

/* ── Badges musicaux ────────────────────────────────────────────────────── */

.od-badges-row[b-602k2ztanx] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
    margin-bottom: var(--space-4);
}

.od-music-badge[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--oeuvre-soft, color-mix(in srgb, var(--oeuvre) 12%, transparent));
    color: var(--oeuvre);
    border: 1px solid color-mix(in srgb, var(--oeuvre) 25%, transparent);
}

/* ── Chips (modulations, intervalles) ──────────────────────────────────── */

.od-chips[b-602k2ztanx] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
}

.od-chip[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--surface-alt);
    color: var(--ink-muted);
    border: 1px solid var(--border);
}

/* ── Paroles ────────────────────────────────────────────────────────────── */

.od-paroles[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    line-height: 1.9;
    white-space: pre-wrap;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin: 0;
}

/* ── Toolbar documents ──────────────────────────────────────────────────── */

.od-docs-toolbar[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
}

/* ── Bouton délier document ─────────────────────────────────────────────── */

.od-doc-unlink[b-602k2ztanx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--ink-subtle);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: auto;
}

.od-doc-unlink:hover[b-602k2ztanx] {
    background: var(--danger-soft);
    color: var(--danger);
}

/* ── Picker documents ───────────────────────────────────────────────────── */

.od-picker-list[b-602k2ztanx] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
    max-height: 360px;
    overflow-y: auto;
    margin-top: var(--space-2);
}

.od-picker-item[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    transition: border-color var(--transition-fast);
}

.od-picker-item:hover[b-602k2ztanx] {
    border-color: var(--border-strong);
}

.od-picker-item__nom[b-602k2ztanx] {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.od-picker-item__deja[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    font-style: italic;
    flex-shrink: 0;
}

/* ── Modale ─────────────────────────────────────────────────────────────── */

.od-modal-overlay[b-602k2ztanx] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.od-modal[b-602k2ztanx] {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 720px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.od-modal--picker[b-602k2ztanx] {
    max-width: 560px;
}

.od-modal__header[b-602k2ztanx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.od-modal__title[b-602k2ztanx] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
}

.od-modal__body[b-602k2ztanx] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    max-height: 70vh;
}

.od-modal__footer[b-602k2ztanx] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ── Styles nd-* portés ici car CSS isolation Blazor (NotionDetail.razor.css n'est pas partagé) ── */

.nd-breadcrumb[b-602k2ztanx] {
    padding: var(--space-4) var(--space-6) var(--space-2);
}

.nd-back[b-602k2ztanx] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nd-back:hover[b-602k2ztanx] { color: var(--accent); }

.nd-loading[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
}

.nd-badge[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
}

.nd-badge--systeme[b-602k2ztanx] {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-border);
}

.nd-badge--partage[b-602k2ztanx] {
    background: var(--notion-soft);
    color: var(--notion);
    border-color: var(--notion-border);
}

.nd-badge--cat[b-602k2ztanx] {
    background: var(--surface-alt);
    color: var(--ink-muted);
    border-color: var(--border);
}

.nd-header__actions[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.nd-btn-sm[b-602k2ztanx] {
    font-size: var(--text-sm);
    padding: var(--space-1-5) var(--space-3);
    min-height: 34px;
}

.nd-icon-btn--danger[b-602k2ztanx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nd-icon-btn--danger:hover[b-602k2ztanx] {
    background: var(--danger-soft);
    color: var(--danger);
}

.nd-confirm[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nd-layout[b-602k2ztanx] {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: var(--space-6);
    padding: var(--space-5) var(--space-6) var(--space-8);
    align-items: start;
}

@media (max-width: 768px) {
    .nd-layout[b-602k2ztanx] {
        grid-template-columns: 1fr;
        padding: var(--space-4) var(--space-4) var(--space-6);
    }
}

.nd-tab-content[b-602k2ztanx] {
    padding-top: var(--space-4);
}

.nd-section[b-602k2ztanx] {
    margin-bottom: var(--space-4);
}

.nd-section__title[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-subtle);
    margin: 0 0 var(--space-1-5);
}

.nd-section__text[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.65;
}

.nd-empty[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
    padding: var(--space-4) 0;
    font-style: italic;
}

.nd-docs-list[b-602k2ztanx] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nd-doc-item[b-602k2ztanx] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
}

.nd-doc-nom[b-602k2ztanx] {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nd-doc-tag-badge[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 1px var(--space-1-5);
    white-space: nowrap;
}

.nd-sidebar__section[b-602k2ztanx] {
    margin-bottom: var(--space-4);
}

.nd-sidebar__title[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-subtle);
    margin: 0 0 var(--space-2);
}

.nd-sidebar__tags[b-602k2ztanx] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1-5);
}

.nd-sidebar__empty[b-602k2ztanx] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    margin: 0;
    font-style: italic;
}

.nd-drawer-close[b-602k2ztanx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nd-drawer-close:hover[b-602k2ztanx] {
    background: var(--bg);
    color: var(--ink);
}

/* ── Document avec lecteur audio ──────────────────────────────────────────── */
.od-doc-wrap[b-602k2ztanx] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

.od-doc-audio[b-602k2ztanx] {
    width: 100%;
    accent-color: var(--accent);
    border-radius: var(--radius-sm);
    margin-left: var(--space-3);
}

/* ── Clickable doc item ────────────────────────────────────────────────────── */
.nd-doc-item--clickable[b-602k2ztanx] {
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nd-doc-item--clickable:hover[b-602k2ztanx] {
    background: var(--bg);
    border-color: var(--accent);
}

.nd-doc-item--clickable:focus-visible[b-602k2ztanx] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Niveaux par document ────────────────────────────────────────────── */
.doc-row-niveaux[b-602k2ztanx] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.doc-row-niveau-chip[b-602k2ztanx] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: color-mix(in srgb, var(--notion) 12%, transparent);
    color: var(--notion);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid color-mix(in srgb, var(--notion) 25%, transparent);
}

.nd-notion-lien[b-602k2ztanx] { text-decoration: none; }
/* /Components/Pages/Home.razor.rz.scp.css */
.wrap[b-dnghws072k] {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* ── Titres de section ────────────────────────────────────────────────────── */
.section-title[b-dnghws072k] {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.02;
    text-wrap: balance;
}
.section-body[b-dnghws072k] {
    margin-top: 18px;
    max-width: 52ch;
    font-size: 16.5px;
    color: var(--ink-muted);
}

/* ── Accroche ─────────────────────────────────────────────────────────────── */
.hero[b-dnghws072k] {
    position: relative;
    padding: 72px 0 0;
    overflow: hidden;
    isolation: isolate;
}

/* Lignes de portée très légères, en fondu, derrière l'accroche */
.hero[b-dnghws072k]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 45%;
    height: 620px;
    z-index: -1;
    background:
        radial-gradient(60% 70% at 85% 15%, var(--accent-soft), transparent 70%),
        repeating-linear-gradient(to bottom, var(--staff) 0, var(--staff) 1px, transparent 1px, transparent 26px);
    mask-image: linear-gradient(to bottom, black 20%, transparent 95%), linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 95%), linear-gradient(to right, transparent, black 40%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    opacity: 0.55;
}

.hero__eyebrow[b-dnghws072k] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accent-text);
}
.hero__eyebrow[b-dnghws072k]::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.hero__title[b-dnghws072k] {
    font-size: clamp(40px, 7vw, 100px);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.hero__title-muted[b-dnghws072k] { color: var(--ink-muted); }

/* Révélation ligne par ligne : chaque ligne glisse depuis un masque */
.line[b-dnghws072k] { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span[b-dnghws072k] { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
    .line > span[b-dnghws072k] {
        animation: line-up-b-dnghws072k 0.95s var(--ease-out) backwards;
        animation-delay: calc(120ms + var(--i) * 110ms);
    }
}
@keyframes line-up-b-dnghws072k { from { transform: translateY(105%); } to { transform: none; } }

.hero__row[b-dnghws072k] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    margin-top: 36px;
}
.hero__sub[b-dnghws072k] { max-width: 46ch; font-size: 18px; line-height: 1.5; color: var(--ink-muted); }
.hero__ctas[b-dnghws072k] { display: flex; flex-wrap: wrap; gap: 12px; }

/* Le produit, en grand, qui « monte » à l'arrivée */
.hero__product[b-dnghws072k] { margin-top: 64px; perspective: 1600px; }
.hero__window[b-dnghws072k] { position: relative; }
.hero__window[b-dnghws072k]::after {
    /* fondu vers la section suivante */
    content: "";
    position: absolute;
    left: -2px; right: -2px; bottom: -2px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .hero__window[b-dnghws072k] {
        animation: window-rise-b-dnghws072k 1.2s var(--ease-out) backwards;
        animation-delay: 450ms;
        transform-origin: 50% 0;
    }
}
@keyframes window-rise-b-dnghws072k {
    from { opacity: 0; transform: translateY(60px) rotateX(14deg) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

/* ── Bandeau de compatibilité ─────────────────────────────────────────────── */
.strip[b-dnghws072k] { border-bottom: 1px solid var(--border); }
.strip__inner[b-dnghws072k] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
    padding-top: 26px;
    padding-bottom: 30px;
}
.strip__label[b-dnghws072k] { font-size: 13.5px; color: var(--ink-subtle); }
.strip__logo[b-dnghws072k] { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.strip__logo i[b-dnghws072k] { font-size: 24px; }
.strip__sep[b-dnghws072k] { width: 1px; height: 24px; background: var(--border-strong); }

/* ── Classement (texte | colonnes) ────────────────────────────────────────── */
.classement[b-dnghws072k] {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    padding-top: 112px;
    padding-bottom: 112px;
}

.facts[b-dnghws072k] { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.facts li[b-dnghws072k] { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-muted); }
.facts i[b-dnghws072k] {
    display: grid; place-items: center; flex: none;
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--surface-alt); color: var(--ink); font-size: 18px;
}
.facts strong[b-dnghws072k] { color: var(--ink); font-weight: 600; }

/* ── Bandeau défilant (un seul par page) ──────────────────────────────────── */
.marquee[b-dnghws072k] {
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track[b-dnghws072k] { display: flex; align-items: center; gap: 36px; width: max-content; }
.marquee__word[b-dnghws072k] {
    font-family: var(--font-display);
    font-stretch: 118%;
    font-weight: 800;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--ink-subtle);
    white-space: nowrap;
}
.marquee__word--solid[b-dnghws072k] { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__sep[b-dnghws072k] { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); flex: none; }

@media (prefers-reduced-motion: no-preference) {
    .marquee__track[b-dnghws072k] { animation: marquee-b-dnghws072k 48s linear infinite; }
    .marquee:hover .marquee__track[b-dnghws072k] { animation-play-state: paused; }
}
@keyframes marquee-b-dnghws072k { to { transform: translateX(-50%); } }

/* ── Bento ────────────────────────────────────────────────────────────────── */
.usages[b-dnghws072k] { padding-top: 112px; padding-bottom: 40px; }
.usages .section-title[b-dnghws072k] { max-width: 18ch; margin-bottom: 44px; }

.bento[b-dnghws072k] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.cell[b-dnghws072k] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.cell:hover[b-dnghws072k] { border-color: var(--border-strong); transform: translateY(-2px); }
.cell__title[b-dnghws072k] { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cell__body[b-dnghws072k] { color: var(--ink-muted); font-size: 14.5px; max-width: 40ch; }

.cell--scan[b-dnghws072k] {
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(170deg, var(--accent-soft), transparent 55%), var(--surface);
}
.cell--share[b-dnghws072k] { grid-column: 2 / span 2; }
.cell--storage[b-dnghws072k] { background: var(--surface-alt); }

/* Téléphone qui scanne une vraie page de partition */
.phone[b-dnghws072k] {
    align-self: center;
    width: min(100%, 250px);
    padding: 10px;
    border-radius: 34px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.phone__screen[b-dnghws072k] {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper);
}
.phone__screen img[b-dnghws072k] { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone__corner[b-dnghws072k] { position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); }
.phone__corner--tl[b-dnghws072k] { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.phone__corner--tr[b-dnghws072k] { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.phone__corner--bl[b-dnghws072k] { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.phone__corner--br[b-dnghws072k] { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.phone__beam[b-dnghws072k] {
    position: absolute; left: 14px; right: 14px; top: 14px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft), 0 6px 24px 4px var(--accent-soft);
}
@media (prefers-reduced-motion: no-preference) {
    /* Le faisceau balaie la page : c'est l'action montrée, pas une décoration */
    .phone__beam[b-dnghws072k] { animation: scan-b-dnghws072k 2.8s var(--ease-out) infinite alternate; }
}
@keyframes scan-b-dnghws072k { from { transform: translateY(0); } to { transform: translateY(calc(var(--scan-h, 300px))); } }
.phone__screen[b-dnghws072k] { --scan-h: 280px; }

.phone__bar[b-dnghws072k] { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 4px; font-size: 11px; color: var(--ink-subtle); }
.phone__shutter[b-dnghws072k] { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink-muted); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 20px var(--ink); }
.phone__pdf[b-dnghws072k] { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font-weight: 600; }

/* Partage */
.share[b-dnghws072k] { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.share__avatar[b-dnghws072k] {
    display: grid; place-items: center; flex: none;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface-alt); border: 1px solid var(--border-strong);
    font-size: 13px; font-weight: 600; color: var(--ink-muted);
}
.share__avatar--to[b-dnghws072k] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.share__doc[b-dnghws072k] {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    min-width: 0;
}
.share__doc img[b-dnghws072k] { width: 38px; height: 48px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--paper); flex: none; }
.share__doc > span[b-dnghws072k] { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.share__doc strong[b-dnghws072k] { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share__doc span span[b-dnghws072k] { font-size: 12px; color: var(--ink-subtle); }
.share__arrow[b-dnghws072k] { font-size: 20px; color: var(--ink-subtle); }
.share__modes[b-dnghws072k] { display: inline-flex; margin-left: auto; padding: 4px; gap: 4px; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border-strong); }
.share__mode[b-dnghws072k] { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 12.5px; color: var(--ink-subtle); white-space: nowrap; }
.share__mode--on[b-dnghws072k] { background: var(--surface-alt); color: var(--ink); font-weight: 500; }
@media (max-width: 1180px) { .share__modes[b-dnghws072k] { margin-left: 0; } }

.storage-logos[b-dnghws072k] { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

.cell__staff[b-dnghws072k] { margin-top: auto; padding-top: 16px; }

/* ── Chiffres ─────────────────────────────────────────────────────────────── */
.stats[b-dnghws072k] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-top: 96px;
    padding-bottom: 96px;
}
.stat[b-dnghws072k] { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.stat:first-child[b-dnghws072k] { border-top-color: var(--accent); }
.stat__value[b-dnghws072k] { font-size: clamp(56px, 7vw, 96px); line-height: 0.9; letter-spacing: -0.04em; }
.stat__label[b-dnghws072k] { font-size: 14.5px; color: var(--ink-muted); }

/* ── Tarifs ───────────────────────────────────────────────────────────────── */
.tarifs[b-dnghws072k] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 56px;
    padding-top: 96px;
    padding-bottom: 112px;
    border-top: 1px solid var(--border);
}

/* ── Appel final : bandeau vermillon ──────────────────────────────────────── */
.final[b-dnghws072k] { background: var(--accent); color: var(--accent-ink); }
.final__inner[b-dnghws072k] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    padding-top: 88px;
    padding-bottom: 88px;
}
.final__title[b-dnghws072k] { font-size: clamp(36px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.035em; max-width: 16ch; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .bento[b-dnghws072k] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cell--scan[b-dnghws072k] { grid-row: auto; grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .cell--share[b-dnghws072k] { grid-column: 1 / -1; }
    .classement[b-dnghws072k] { grid-template-columns: minmax(0, 1fr); }
    .stats[b-dnghws072k] { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 860px) {
    .hero__row[b-dnghws072k] { grid-template-columns: minmax(0, 1fr); }
    .tarifs[b-dnghws072k] { grid-template-columns: minmax(0, 1fr); }
    .final__inner[b-dnghws072k] { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 600px) {
    .hero[b-dnghws072k] { padding-top: 44px; }
    .hero__product[b-dnghws072k] { margin-top: 40px; }
    .hero__sub[b-dnghws072k] { font-size: 16.5px; }
    .hp-btn--lg[b-dnghws072k] { height: 48px; padding: 0 20px; }
    .strip__sep[b-dnghws072k] { display: none; }
    .classement[b-dnghws072k], .usages[b-dnghws072k] { padding-top: 72px; padding-bottom: 72px; }
    .bento[b-dnghws072k] { grid-template-columns: minmax(0, 1fr); }
    .cell--scan[b-dnghws072k] { flex-direction: column; align-items: stretch; }
    .cell[b-dnghws072k] { padding: 22px 18px; }
    .stats[b-dnghws072k] { padding-top: 64px; padding-bottom: 64px; }
    .final__inner[b-dnghws072k] { padding-top: 64px; padding-bottom: 64px; }
}
/* /Components/Pages/IA/ChatIA.razor.rz.scp.css */
/* ── Mise en page split ───────────────────────────────────────────────────── */

.chat-layout[b-vin141ji15] {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* ── Sidebar historique ──────────────────────────────────────────────────── */

.chat-sidebar[b-vin141ji15] {
    width: 260px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}

.chat-sidebar__head[b-vin141ji15] {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-sidebar__new-btn[b-vin141ji15] {
    width: 100%;
    justify-content: center;
    gap: var(--space-2);
}

.chat-sidebar__list[b-vin141ji15] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-2) var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-sidebar__empty[b-vin141ji15] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    text-align: center;
    padding: var(--space-6) var(--space-3);
    margin: 0;
    line-height: 1.5;
}

.chat-sidebar__item[b-vin141ji15] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2-5);
    padding: var(--space-2-5) var(--space-3);
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background var(--transition);
    min-height: 44px;
}

.chat-sidebar__item:hover[b-vin141ji15] {
    background: var(--surface-alt);
}

.chat-sidebar__item--active[b-vin141ji15] {
    background: var(--accent-soft);
}

.chat-sidebar__item--active .chat-sidebar__item-title[b-vin141ji15] {
    color: var(--accent);
}

.chat-sidebar__item-icon[b-vin141ji15] {
    color: var(--ink-subtle);
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-sidebar__item--active .chat-sidebar__item-icon[b-vin141ji15] {
    color: var(--accent);
}

.chat-sidebar__item-body[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.chat-sidebar__item-title[b-vin141ji15] {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.chat-sidebar__item-date[b-vin141ji15] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    font-family: var(--font-mono);
}

/* ── Zone principale ─────────────────────────────────────────────────────── */

.chat-main[b-vin141ji15] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* ── En-tête ────────────────────────────────────────────────────────────── */

.chat-header[b-vin141ji15] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg);
}

.chat-header__left[b-vin141ji15] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.chat-header__icon-wrap[b-vin141ji15] {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-header__title[b-vin141ji15] {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.chat-header__model[b-vin141ji15] {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--ink-muted);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px var(--space-2-5);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* ── Zone de messages ───────────────────────────────────────────────────── */

.chat-messages[b-vin141ji15] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    scroll-behavior: smooth;
}

/* ── État d'accueil ─────────────────────────────────────────────────────── */

.chat-welcome[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-10) var(--space-6);
    text-align: center;
    flex: 1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.chat-welcome__icon-wrap[b-vin141ji15] {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xl);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.chat-welcome__title[b-vin141ji15] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
}

.chat-welcome__text[b-vin141ji15] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    max-width: 380px;
    line-height: 1.6;
    margin: 0;
}

/* ── Chips de suggestion ─────────────────────────────────────────────────── */

.chat-suggestions[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    margin-top: var(--space-2);
}

.chat-suggestion-chip[b-vin141ji15] {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition), background var(--transition);
    min-height: 44px;
    line-height: 1.5;
}

.chat-suggestion-chip:hover:not(:disabled)[b-vin141ji15] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.chat-suggestion-chip:disabled[b-vin141ji15] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── IA non configurée ──────────────────────────────────────────────────── */

.chat-unconfigured[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-16) var(--space-6);
    text-align: center;
    flex: 1;
}

.chat-unconfigured__icon-wrap[b-vin141ji15] {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--surface-alt);
    color: var(--ink-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-unconfigured__title[b-vin141ji15] {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.chat-unconfigured__desc[b-vin141ji15] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Bulles de message ──────────────────────────────────────────────────── */

.chat-bubble-wrap[b-vin141ji15] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    max-width: 72%;
}

.chat-bubble-wrap--user[b-vin141ji15] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-bubble-wrap--ia[b-vin141ji15] {
    align-self: flex-start;
}

.chat-bubble-avatar[b-vin141ji15] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.chat-bubble[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    max-width: 100%;
    word-break: break-word;
}

.chat-bubble--user[b-vin141ji15] {
    background: var(--accent);
    color: var(--accent-ink);
    border-bottom-right-radius: var(--radius-sm);
}

.chat-bubble--ia[b-vin141ji15] {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-bottom-left-radius: var(--radius-sm);
}

[data-theme="dark"] .chat-bubble--ia[b-vin141ji15] {
    background: var(--surface-alt);
}

.chat-bubble__text[b-vin141ji15] {
    font-size: var(--text-sm);
    line-height: 1.65;
    white-space: pre-wrap;
    margin: 0;
}

.chat-bubble--user .chat-bubble__text[b-vin141ji15] {
    color: var(--accent-ink);
}

.chat-bubble__time[b-vin141ji15] {
    font-size: 11px;
    font-family: var(--font-mono);
    opacity: 0.6;
    align-self: flex-end;
}

/* ── Indicateur "réfléchit" ─────────────────────────────────────────────── */

.chat-thinking[b-vin141ji15] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
}

.chat-thinking__dots[b-vin141ji15] {
    display: flex;
    gap: 4px;
}

.chat-thinking__dots span[b-vin141ji15] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: chat-dot-bounce-b-vin141ji15 1.2s ease-in-out infinite;
}

.chat-thinking__dots span:nth-child(2)[b-vin141ji15] {
    animation-delay: 0.2s;
}

.chat-thinking__dots span:nth-child(3)[b-vin141ji15] {
    animation-delay: 0.4s;
}

@keyframes chat-dot-bounce-b-vin141ji15 {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40%            { transform: translateY(-5px); opacity: 1; }
}

/* ── Skeleton chargement ────────────────────────────────────────────────── */

.chat-skeleton[b-vin141ji15] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-5) 0;
}

.chat-skeleton__bubble[b-vin141ji15] {
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--border);
    animation: chat-skeleton-pulse-b-vin141ji15 1.4s ease-in-out infinite;
}

.chat-skeleton__bubble--ia[b-vin141ji15] {
    width: 55%;
    align-self: flex-start;
}

.chat-skeleton__bubble--user[b-vin141ji15] {
    width: 40%;
    align-self: flex-end;
    animation-delay: 0.3s;
}

@keyframes chat-skeleton-pulse-b-vin141ji15 {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

/* ── Erreur ─────────────────────────────────────────────────────────────── */

.chat-error[b-vin141ji15] {
    flex-shrink: 0;
    margin: 0 var(--space-6) var(--space-2);
}

/* ── Barre de saisie (sticky bottom) ────────────────────────────────────── */

.chat-input-bar[b-vin141ji15] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6) var(--space-4);
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.chat-input__textarea[b-vin141ji15] {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--surface-alt);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    resize: none;
    min-height: 68px;
    max-height: 180px;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
    line-height: 1.6;
    overflow-y: auto;
}

.chat-input__textarea[b-vin141ji15]::placeholder {
    color: var(--ink-subtle);
}

.chat-input__textarea:focus[b-vin141ji15] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.chat-input__textarea:disabled[b-vin141ji15] {
    opacity: 0.55;
    cursor: not-allowed;
}

.chat-input__actions[b-vin141ji15] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
}

.chat-input__hint[b-vin141ji15] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

/* ── Dark mode ──────────────────────────────────────────────────────────── */

[data-theme="dark"] .chat-sidebar[b-vin141ji15] {
    background: var(--surface);
}

[data-theme="dark"] .chat-input-bar[b-vin141ji15] {
    background: var(--bg);
}

[data-theme="dark"] .chat-bubble--user[b-vin141ji15] {
    background: var(--accent);
}

[data-theme="dark"] .chat-header[b-vin141ji15] {
    background: var(--bg);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .chat-sidebar[b-vin141ji15] {
        display: none;
    }

    .chat-bubble-wrap[b-vin141ji15] {
        max-width: 90%;
    }

    .chat-messages[b-vin141ji15] {
        padding: var(--space-4) var(--space-4);
    }

    .chat-input-bar[b-vin141ji15] {
        padding: var(--space-3) var(--space-4) var(--space-4);
    }

    .chat-header[b-vin141ji15] {
        padding: var(--space-3) var(--space-4);
    }

    .chat-input__hint[b-vin141ji15] {
        display: none;
    }
}
/* /Components/Pages/Legal/PageLegale.razor.rz.scp.css */
.legal[b-9rmh90w8i6] {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 40px) 80px;
    line-height: 1.6;
}

.legal__titre[b-9rmh90w8i6] {
    margin: 4px 0 36px;
    font-family: var(--font-display);
    font-stretch: var(--display-stretch);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.legal[b-9rmh90w8i6]  section { padding: 26px 0; border-top: 1px solid var(--border); }
.legal[b-9rmh90w8i6]  h2 { margin: 0 0 14px; font-size: 19px; font-stretch: var(--heading-stretch); }
.legal[b-9rmh90w8i6]  h3 { margin: 22px 0 8px; font-size: 15px; }
.legal[b-9rmh90w8i6]  p { margin: 0 0 12px; color: var(--ink-muted); font-size: 14.5px; }

.legal[b-9rmh90w8i6]  .legal__fiche { margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.legal[b-9rmh90w8i6]  .legal__fiche div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; }
.legal[b-9rmh90w8i6]  .legal__fiche dt { color: var(--ink-subtle); }
.legal[b-9rmh90w8i6]  .legal__fiche dd { margin: 0; }
.legal[b-9rmh90w8i6]  .legal__a-completer { color: var(--warning); font-style: italic; }

.legal[b-9rmh90w8i6]  .legal__credits { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.legal[b-9rmh90w8i6]  .legal__credits li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.legal[b-9rmh90w8i6]  .legal__credits li > :last-child { color: var(--ink-subtle); text-align: right; }

@media (max-width: 600px) {
    .legal[b-9rmh90w8i6]  .legal__fiche div { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .legal[b-9rmh90w8i6]  .legal__credits li { flex-direction: column; gap: 2px; }
    .legal[b-9rmh90w8i6]  .legal__credits li > :last-child { text-align: left; }
}

.legal__version[b-9rmh90w8i6] { margin: -24px 0 28px; font-size: 13px; color: var(--ink-subtle); }

.legal[b-9rmh90w8i6]  .legal__liste { margin: 0 0 12px; padding-left: 20px; color: var(--ink-muted); font-size: 14.5px; }
.legal[b-9rmh90w8i6]  .legal__liste li { margin: 4px 0; }
.legal[b-9rmh90w8i6]  .legal__liste strong, .legal[b-9rmh90w8i6]  p strong { color: var(--ink); font-weight: 600; }
.legal[b-9rmh90w8i6]  a { color: var(--accent-text); }

.legal[b-9rmh90w8i6]  .legal__sommaire { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
/* /Components/Pages/NotFound.razor.rz.scp.css */
.error-page[b-4j9rnh8cyo] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background: var(--bg);
}

.error-card[b-4j9rnh8cyo] {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-screen);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.error-card__logo[b-4j9rnh8cyo] {
    margin-bottom: var(--space-2);
}

.error-card__code[b-4j9rnh8cyo] {
    font-family: var(--font-mono);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.error-card__title[b-4j9rnh8cyo] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.error-card__message[b-4j9rnh8cyo] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}

.error-card__btn-primary[b-4j9rnh8cyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 var(--space-6);
    margin-top: var(--space-2);
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: opacity 150ms ease;
    width: 100%;
}

.error-card__btn-primary:hover[b-4j9rnh8cyo] {
    opacity: 0.88;
}

.error-card__btn-primary:focus-visible[b-4j9rnh8cyo] {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
/* /Components/Pages/Planning/Parametres/Enseignants.razor.rz.scp.css */
.enseignants-page[b-6p3vh16pnn] { display: flex; flex-direction: column; gap: 20px; }

.enseignants-page__nom[b-6p3vh16pnn] { font-weight: 500; }
.enseignants-page__nom-famille[b-6p3vh16pnn] { text-transform: uppercase; letter-spacing: 0.02em; }

.enseignants-page__mono[b-6p3vh16pnn] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.enseignants-page__vide[b-6p3vh16pnn] { font-size: 36px; color: var(--ink-subtle); }

.enseignants-page__email[b-6p3vh16pnn] { overflow-wrap: anywhere; color: var(--ink-muted); }
/* /Components/Pages/Planning/Parametres/ImportPlanning.razor.rz.scp.css */
.import-page[b-lbsmya6n7u] { display: flex; flex-direction: column; gap: 18px; }

.import-page h2[b-lbsmya6n7u] { margin: 0; font-size: 16px; font-weight: 700; font-stretch: var(--heading-stretch); }
.import-page p[b-lbsmya6n7u] { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.55; }
.import-page .mono[b-lbsmya6n7u] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.hp-card[b-lbsmya6n7u] { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }

/* ── Dépôt du fichier ────────────────────────────────────────────────────── */
.import-depot-carte[b-lbsmya6n7u] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }

.import-depot[b-lbsmya6n7u] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 180px;
    padding: 24px 16px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--bg);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}
.import-depot:hover[b-lbsmya6n7u],
.import-depot:focus-within[b-lbsmya6n7u] { border-color: var(--accent-line); background: var(--accent-soft); }
.import-depot--occupe[b-lbsmya6n7u] { cursor: progress; }
.import-depot > i[b-lbsmya6n7u] { font-size: 34px; color: var(--accent-text); }
.import-depot__titre[b-lbsmya6n7u] { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.import-depot__aide[b-lbsmya6n7u] { font-size: 12px; color: var(--ink-subtle); }
.import-depot[b-lbsmya6n7u]  .import-depot__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.import-formats[b-lbsmya6n7u] { display: flex; flex-direction: column; gap: 10px; }
.import-formats ul[b-lbsmya6n7u] { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-muted); font-size: 14px; line-height: 1.55; }
.import-formats .hp-btn[b-lbsmya6n7u] { align-self: flex-start; }

/* ── Résumé ─────────────────────────────────────────────────────────────── */
.import-resume__fichier[b-lbsmya6n7u] { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.import-resume__fichier > i[b-lbsmya6n7u] { font-size: 22px; color: var(--accent-text); }
.import-resume__fichier .hp-btn[b-lbsmya6n7u] { margin-left: auto; }

.import-chiffres[b-lbsmya6n7u] { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.import-chiffres > div[b-lbsmya6n7u] { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.import-chiffres dt[b-lbsmya6n7u] { font-size: 12px; color: var(--ink-subtle); }
.import-chiffres dd[b-lbsmya6n7u] { margin: 2px 0 0; font-family: var(--font-mono); font-size: 20px; font-weight: 600; }
.import-chiffres small[b-lbsmya6n7u] { display: block; font-family: var(--font-body); font-size: 11.5px; font-weight: 400; color: var(--accent-text); }

/* ── Session ────────────────────────────────────────────────────────────── */
.import-session__choix[b-lbsmya6n7u] { display: flex; flex-wrap: wrap; gap: 18px; }
.import-radio[b-lbsmya6n7u] { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.import-radio input[b-lbsmya6n7u] { accent-color: var(--accent); }
.import-session__nouvelle[b-lbsmya6n7u] { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.import-session .hp-field[b-lbsmya6n7u] { max-width: 520px; }

/* ── Sections repliables ────────────────────────────────────────────────── */
.import-section > summary[b-lbsmya6n7u] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
}
.import-section > summary[b-lbsmya6n7u]::-webkit-details-marker { display: none; }
.import-section > summary[b-lbsmya6n7u]::before { content: "›"; display: inline-block; width: 12px; color: var(--ink-subtle); transition: transform 0.15s; }
.import-section[open] > summary[b-lbsmya6n7u]::before { transform: rotate(90deg); }
.import-section__aide[b-lbsmya6n7u] { font-weight: 400; font-size: 13px; color: var(--ink-subtle); }
.import-section--alerte > summary[b-lbsmya6n7u] { color: var(--warning); }

.import-col-case[b-lbsmya6n7u] { width: 80px; text-align: center; }
.import-col-case input[b-lbsmya6n7u] { width: 16px; height: 16px; accent-color: var(--accent); }
.import-select-niveau[b-lbsmya6n7u] { min-width: 150px; height: 34px; }
.import-muet[b-lbsmya6n7u] { color: var(--ink-subtle); }

.import-pastilles[b-lbsmya6n7u] { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.import-pastilles li[b-lbsmya6n7u] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
}
.import-pastilles li .mono[b-lbsmya6n7u] { color: var(--ink-subtle); font-size: 12px; }
.import-pastille__nom[b-lbsmya6n7u] { text-transform: uppercase; letter-spacing: 0.02em; }
.import-pastille--nouvelle[b-lbsmya6n7u] { border-color: var(--accent-line); background: var(--accent-soft); }

/* ── Bilan ──────────────────────────────────────────────────────────────── */
.import-bilan__entete[b-lbsmya6n7u] { display: flex; align-items: center; gap: 10px; }
.import-bilan__entete > i[b-lbsmya6n7u] { font-size: 26px; color: var(--success); }
.import-conflits[b-lbsmya6n7u] { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }

.import-actions[b-lbsmya6n7u] { display: flex; flex-wrap: wrap; gap: 10px; }
.import-actions .hp-btn[b-lbsmya6n7u] { text-decoration: none; }
.import-actions--fin[b-lbsmya6n7u] { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 35%); }

@media (max-width: 860px) {
    .import-depot-carte[b-lbsmya6n7u] { grid-template-columns: minmax(0, 1fr); }
    .import-session__nouvelle[b-lbsmya6n7u] { grid-template-columns: minmax(0, 1fr); }
}
/* /Components/Pages/Planning/Parametres/ParametresLayout.razor.rz.scp.css */
.parametres[b-xhfbl9a71j] { display: flex; flex-direction: column; gap: 18px; }

.parametres__retour[b-xhfbl9a71j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: var(--ink-muted);
    font-size: 13.5px;
    text-decoration: none;
}
.parametres__retour:hover[b-xhfbl9a71j] { color: var(--ink); }

.parametres__corps[b-xhfbl9a71j] { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }

/* Les pages de paramètres gardent leur propre en-tête et leur mise en page */
.parametres__contenu[b-xhfbl9a71j] { min-width: 0; }

.parametres-nav[b-xhfbl9a71j] { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }

.parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--ink-muted);
    font-size: 14px;
    text-decoration: none;
}
.parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien i { font-size: 17px; color: var(--ink-subtle); }
.parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien:hover { background: var(--surface-alt); color: var(--ink); }
.parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien.active { background: var(--surface-alt); color: var(--ink); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }
.parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien.active i { color: var(--accent-text); }

.parametres-nav__separateur[b-xhfbl9a71j] { height: 1px; margin: 8px 12px; background: var(--border); }

@media (max-width: 860px) {
    .parametres__corps[b-xhfbl9a71j] { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .parametres-nav[b-xhfbl9a71j] { flex-direction: row; overflow-x: auto; scrollbar-width: none; position: static; }
    .parametres-nav[b-xhfbl9a71j]  .parametres-nav__lien { flex-shrink: 0; }
    .parametres-nav__separateur[b-xhfbl9a71j] { width: 1px; height: auto; margin: 6px 4px; }
}
/* /Components/Pages/Planning/Planning.razor.rz.scp.css */
/* Planning.razor.css */

.planning-page[b-89ujzg3srn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.planning-page__header[b-89ujzg3srn] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.planning-page__header-inner[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    flex: 1;
}

.planning-page__title[b-89ujzg3srn] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
}

/* ── Filtres ── */
.planning-page__parametres[b-89ujzg3srn] { margin-left: auto; text-decoration: none; }

.planning-page__filtres[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.planning-filter[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.planning-filter__label[b-89ujzg3srn] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink-muted);
    white-space: nowrap;
}

.planning-filter__select[b-89ujzg3srn] {
    padding: var(--space-1) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    height: 40px;
    cursor: pointer;
    transition: border-color var(--transition);
}

.planning-filter__select:focus[b-89ujzg3srn] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Chargement ── */
.planning-page__loading[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--ink-muted);
    font-size: var(--text-sm);
    padding: var(--space-8) 0;
}

.planning-spinner[b-89ujzg3srn] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: planning-spin-b-89ujzg3srn 700ms linear infinite;
    flex-shrink: 0;
}

.planning-spinner--sm[b-89ujzg3srn] {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

@keyframes planning-spin-b-89ujzg3srn {
    to { transform: rotate(360deg); }
}

/* ── Alertes ── */
.planning-alert[b-89ujzg3srn] {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
}

.planning-alert--error[b-89ujzg3srn] {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}

/* ── État vide ── */
.planning-empty-state[b-89ujzg3srn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-12) 0;
    text-align: center;
}

.planning-empty-state__icon[b-89ujzg3srn] {
    color: var(--ink-subtle);
}

.planning-empty-state__msg[b-89ujzg3srn] {
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
}

/* ── Export dropdown ── */
.planning-export-dropdown[b-89ujzg3srn] {
    position: relative;
}

.planning-export-menu[b-89ujzg3srn] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elev);
    min-width: 140px;
    z-index: 50;
    overflow: hidden;
}

.planning-export-item[b-89ujzg3srn] {
    all: unset;
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--ink);
    cursor: pointer;
    box-sizing: border-box;
    transition: background var(--transition);
}

.planning-export-item:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
    color: var(--accent);
}

.planning-export-item:focus-visible[b-89ujzg3srn] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* ── Boutons ── */
.planning-btn[b-89ujzg3srn] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 0 var(--space-4);
    height: 44px;
    border-radius: var(--radius-md);
    transition: background var(--transition), opacity var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.planning-btn--sm[b-89ujzg3srn] {
    height: 36px;
    font-size: var(--text-xs);
    padding: 0 var(--space-3);
}

.planning-btn:focus-visible[b-89ujzg3srn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.planning-btn--primary[b-89ujzg3srn] {
    background: var(--accent);
    color: var(--accent-ink);
}

.planning-btn--primary:hover[b-89ujzg3srn] { opacity: 0.88; }

.planning-btn--ghost[b-89ujzg3srn] {
    background: var(--surface);
    color: var(--ink-muted);
    border: 1px solid var(--border-strong);
}

.planning-btn--ghost:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
    color: var(--ink);
}

.planning-btn--danger[b-89ujzg3srn] {
    background: var(--danger);
    color: var(--surface);
}

.planning-btn--danger:hover[b-89ujzg3srn] { opacity: 0.88; }

.planning-btn:disabled[b-89ujzg3srn] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Modale créneau ── */
.planning-modal-overlay[b-89ujzg3srn] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planning-modal[b-89ujzg3srn] {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-modal);
    width: min(560px, 95vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 201;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.planning-modal__header[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.planning-modal__title[b-89ujzg3srn] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.planning-modal__close[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.planning-modal__close:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
    color: var(--ink);
}

.planning-modal__close:focus-visible[b-89ujzg3srn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.planning-modal__body[b-89ujzg3srn] {
    padding: var(--space-6);
    overflow-y: auto;
    flex: 1;
}

.planning-modal__body form[b-89ujzg3srn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.planning-modal__alert[b-89ujzg3srn] {
    margin-bottom: var(--space-4);
}

.planning-modal__footer[b-89ujzg3srn] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--surface);
}

/* ── Champs du formulaire ── */
.planning-field[b-89ujzg3srn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.planning-field__label[b-89ujzg3srn] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.planning-field__select[b-89ujzg3srn],
.planning-field__input[b-89ujzg3srn] {
    width: 100%;
    height: 44px;
    padding: 0 var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    box-sizing: border-box;
    transition: border-color var(--transition);
}

.planning-field__input--mono[b-89ujzg3srn] {
    font-family: var(--font-mono);
}

.planning-field__select:focus[b-89ujzg3srn],
.planning-field__input:focus[b-89ujzg3srn] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.planning-field__toggle-group[b-89ujzg3srn] {
    all: unset;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.planning-field__toggle-group legend[b-89ujzg3srn] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-2);
}

.planning-toggle-option[b-89ujzg3srn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    cursor: pointer;
    min-height: 28px;
}

.planning-toggle-option input[type="radio"][b-89ujzg3srn] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Groupe horaires côte à côte */
.planning-field-group[b-89ujzg3srn] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--space-3);
}

@media (max-width: 400px) {
    .planning-field-group[b-89ujzg3srn] {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Messages de validation ── */
.planning-field .validation-message[b-89ujzg3srn] {
    font-size: var(--text-xs);
    color: var(--danger);
    font-weight: 500;
    margin-top: 2px;
}

.planning-field__select.invalid[b-89ujzg3srn],
.planning-field__input.invalid[b-89ujzg3srn],
.planning-field__select:user-invalid[b-89ujzg3srn],
.planning-field__input:user-invalid[b-89ujzg3srn] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px var(--danger-soft);
}

/* ── Section fieldset visible dans le drawer ── */
.planning-field__toggle-group fieldset[b-89ujzg3srn] {
    border: none;
    padding: 0;
    margin: 0;
}

/* ── Fieldset type de prof ── */
.planning-prof-toggle[b-89ujzg3srn] {
    border: none;
    padding: 0;
    margin: 0 0 var(--space-2) 0;
}

.planning-prof-toggle__options[b-89ujzg3srn] {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-2);
}

/* ── Input mono (nombres) ── */
.hp-field__input--mono[b-89ujzg3srn] {
    font-family: var(--font-mono);
}

/* ── Panneaux onglets ── */
.planning-tab-panel[b-89ujzg3srn] {
    padding-top: var(--space-5);
}

.planning-tab-table-wrapper[b-89ujzg3srn] {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.planning-tab-table[b-89ujzg3srn] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    min-width: 600px;
}

.planning-tab-table thead tr[b-89ujzg3srn] {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

.planning-tab-table th[b-89ujzg3srn] {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.planning-tab-table__center[b-89ujzg3srn] {
    text-align: center;
}

.planning-tab-table td[b-89ujzg3srn] {
    padding: var(--space-3) var(--space-4);
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.planning-tab-table tbody tr:last-child td[b-89ujzg3srn] {
    border-bottom: none;
}

.planning-tab-table tbody tr:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
}

.planning-tab-table__row--alert[b-89ujzg3srn] {
    background: var(--danger-soft) !important;
}

.planning-tab-table__nom[b-89ujzg3srn] {
    font-weight: 600;
    color: var(--ink);
}

.planning-tab-table__mono[b-89ujzg3srn] {
    font-family: var(--font-mono);
}

.planning-tab-table__val--danger[b-89ujzg3srn] {
    color: var(--danger);
    font-weight: 700;
}

.planning-tab-badge[b-89ujzg3srn] {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-2);
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
}

.planning-inline-edit[b-89ujzg3srn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.planning-inline-edit__input[b-89ujzg3srn] {
    width: 70px;
    height: 32px;
    padding: 0 var(--space-2);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background: var(--surface);
    color: var(--ink);
    text-align: center;
}

.planning-inline-edit__input:focus[b-89ujzg3srn] {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.planning-inline-edit__save[b-89ujzg3srn],
.planning-inline-edit__cancel[b-89ujzg3srn] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.planning-inline-edit__save[b-89ujzg3srn] {
    color: var(--success);
}

.planning-inline-edit__save:hover[b-89ujzg3srn] {
    background: var(--success-soft);
}

.planning-inline-edit__cancel[b-89ujzg3srn] {
    color: var(--ink-muted);
}

.planning-inline-edit__cancel:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
    color: var(--danger);
}

.planning-inline-edit__trigger[b-89ujzg3srn] {
    all: unset;
    cursor: pointer;
    font-family: var(--font-mono);
    color: var(--ink);
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    min-width: 40px;
    display: inline-block;
    text-align: center;
    border-bottom: 1px dashed var(--border-strong);
    transition: background var(--transition), border-color var(--transition);
}

.planning-inline-edit__trigger:hover[b-89ujzg3srn] {
    background: var(--surface-alt);
    border-color: var(--accent);
    color: var(--accent);
}

.planning-inline-edit__trigger:focus-visible[b-89ujzg3srn] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Types de cours ── */
.planning-tab-types-grid[b-89ujzg3srn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-3);
    padding-top: var(--space-2);
}

.planning-tab-type-card[b-89ujzg3srn] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition);
}

.planning-tab-type-card:hover[b-89ujzg3srn] {
    box-shadow: var(--shadow-card);
}

.planning-tab-type-pastille[b-89ujzg3srn] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.planning-tab-type-info[b-89ujzg3srn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.planning-tab-type-nom[b-89ujzg3srn] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.planning-tab-type-meta[b-89ujzg3srn] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
    white-space: nowrap;
}

.planning-tab-types-footer[b-89ujzg3srn] {
    margin-top: var(--space-4);
    display: flex;
    justify-content: flex-end;
}

.planning-tab-panel__redirect-msg[b-89ujzg3srn] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin-bottom: var(--space-4);
}
/* /Components/Pages/Reglages/MaterielGestion.razor.rz.scp.css */
/* ── Layout page ──────────────────────────────────────────────────────────── */
.mg-page[b-ko039cwl6e] {
    padding: 1.5rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.mg-breadcrumb[b-ko039cwl6e] {
    margin-bottom: 1.25rem;
}

.mg-back[b-ko039cwl6e] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.mg-back:hover[b-ko039cwl6e] {
    color: var(--ink);
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.mg-header[b-ko039cwl6e] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.mg-title[b-ko039cwl6e] {
    font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.25rem;
}

.mg-subtitle[b-ko039cwl6e] {
    font-size: 0.875rem;
    color: var(--ink-muted);
    margin: 0;
}

.mg-btn-sm[b-ko039cwl6e] {
    font-size: 0.8125rem;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

/* ── Loading ──────────────────────────────────────────────────────────────── */
.mg-loading[b-ko039cwl6e] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--ink-muted);
}

@keyframes mg-spin-b-ko039cwl6e {
    to { transform: rotate(360deg); }
}

.mg-spinner[b-ko039cwl6e] {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: mg-spin-b-ko039cwl6e 0.7s linear infinite;
}

.mg-spinner--sm[b-ko039cwl6e] {
    width: 14px;
    height: 14px;
}

/* ── Empty ────────────────────────────────────────────────────────────────── */
.mg-empty[b-ko039cwl6e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--ink-muted);
}

.mg-empty__icon[b-ko039cwl6e] {
    opacity: 0.35;
    color: var(--ink-muted);
}

.mg-empty__msg[b-ko039cwl6e] {
    margin: 0;
    font-size: 0.9375rem;
}

/* ── Table ────────────────────────────────────────────────────────────────── */
.mg-table-wrapper[b-ko039cwl6e] {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.mg-table[b-ko039cwl6e] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.mg-table thead th[b-ko039cwl6e] {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.mg-table tbody tr[b-ko039cwl6e] {
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.mg-table tbody tr:last-child[b-ko039cwl6e] {
    border-bottom: none;
}

.mg-table tbody tr:hover[b-ko039cwl6e] {
    background: var(--bg);
}

.mg-table tbody td[b-ko039cwl6e] {
    padding: 0.75rem 1rem;
    color: var(--ink);
    vertical-align: middle;
}

.mg-row--inactif td[b-ko039cwl6e] {
    opacity: 0.55;
}

.mg-table__nom[b-ko039cwl6e] {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mg-table__cat[b-ko039cwl6e] {
    color: var(--ink-muted);
    font-size: 0.8125rem;
}

.mg-table__desc[b-ko039cwl6e] {
    color: var(--ink-muted);
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mg-table__center[b-ko039cwl6e] {
    text-align: center;
}

.mg-table__actions[b-ko039cwl6e] {
    text-align: right;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

/* ── Badges ───────────────────────────────────────────────────────────────── */
.mg-badge[b-ko039cwl6e] {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mg-badge--systeme[b-ko039cwl6e] {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
}

/* ── Status ───────────────────────────────────────────────────────────────── */
.mg-status[b-ko039cwl6e] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mg-status--actif[b-ko039cwl6e] {
    background: color-mix(in srgb, var(--libre) 15%, transparent);
    color: var(--libre);
}

.mg-status--inactif[b-ko039cwl6e] {
    background: color-mix(in srgb, var(--ink-muted) 12%, transparent);
    color: var(--ink-muted);
}

/* ── Action buttons ───────────────────────────────────────────────────────── */
.mg-action-btn[b-ko039cwl6e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.mg-action-btn:hover[b-ko039cwl6e] {
    background: var(--bg);
    color: var(--ink);
}

.mg-action-btn--danger:hover[b-ko039cwl6e] {
    background: color-mix(in srgb, var(--exercice) 12%, transparent);
    color: var(--exercice);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .mg-page[b-ko039cwl6e] {
        padding: 1rem;
    }

    .mg-header[b-ko039cwl6e] {
        flex-direction: column;
        align-items: flex-start;
    }

    .mg-table__desc[b-ko039cwl6e] {
        display: none;
    }
}
/* /Components/Pages/Settings/ConfigurationIA.razor.rz.scp.css */
/* ConfigurationIA.razor.css — Styles scopés de la page Configuration IA */

/* ── Page container ── */
.ia-page[b-wt07mh2a5x] {
    max-width: 760px;
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ── En-tête ── */
.ia-page__header[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.ia-page__kicker[b-wt07mh2a5x] {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-subtle);
}

.ia-page__title[b-wt07mh2a5x] {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

/* ── Bandeau informatif ── */
.ia-banner[b-wt07mh2a5x] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
}

.ia-banner--info[b-wt07mh2a5x] {
    background: var(--info-soft);
    border-color: var(--info-border);
}

.ia-banner--info .ia-banner__icon[b-wt07mh2a5x] {
    color: var(--info);
}

.ia-banner__icon[b-wt07mh2a5x] {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.ia-banner p[b-wt07mh2a5x] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Spinner de chargement ── */
.ia-loading[b-wt07mh2a5x] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) 0;
    color: var(--ink-muted);
    font-size: var(--text-sm);
}

.ia-spinner[b-wt07mh2a5x] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: ia-spin-b-wt07mh2a5x 700ms linear infinite;
    flex-shrink: 0;
}

@keyframes ia-spin-b-wt07mh2a5x {
    to { transform: rotate(360deg); }
}

/* ── Sections ── */
.ia-sections[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.ia-section[b-wt07mh2a5x] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ia-section > .ia-section__title[b-wt07mh2a5x],
.ia-section > .ia-section__desc[b-wt07mh2a5x] {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.ia-section > .ia-section__title[b-wt07mh2a5x] {
    padding-top: var(--space-5);
    padding-bottom: 0;
}

.ia-section > .ia-section__desc[b-wt07mh2a5x] {
    padding-bottom: var(--space-4);
}

.ia-section--key[b-wt07mh2a5x] {
    /* API keys section gets dividers between provider blocks */
}

.ia-section__title[b-wt07mh2a5x] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
}

.ia-section__desc[b-wt07mh2a5x] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Provider cards (radio-style) ── */
.ia-provider-cards[b-wt07mh2a5x] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    padding: 0 var(--space-6) var(--space-6);
}

@media (max-width: 600px) {
    .ia-provider-cards[b-wt07mh2a5x] {
        grid-template-columns: 1fr;
    }
}

.ia-provider-card[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--surface-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    min-height: 44px;
}

.ia-provider-card:hover[b-wt07mh2a5x] {
    border-color: var(--accent-border);
    background: var(--accent-soft);
}

.ia-provider-card--active[b-wt07mh2a5x] {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.ia-provider-card__head[b-wt07mh2a5x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.ia-provider-card__logo[b-wt07mh2a5x] {
    color: var(--accent);
}

/* Badges provider */
.ia-provider-card__badge[b-wt07mh2a5x] {
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px var(--space-1-5);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.ia-provider-card__badge--free[b-wt07mh2a5x] {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.ia-provider-card__badge--byok[b-wt07mh2a5x] {
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid var(--warning-border);
}

.ia-provider-card__name[b-wt07mh2a5x] {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--ink);
}

.ia-provider-card__desc[b-wt07mh2a5x] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
    line-height: 1.5;
}

/* ── API key blocks ── */
.ia-key-block[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
}

.ia-key-block:last-of-type[b-wt07mh2a5x] {
    border-bottom: none;
}

.ia-key-block__head[b-wt07mh2a5x] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.ia-key-block__name[b-wt07mh2a5x] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.ia-key-block__desc[b-wt07mh2a5x] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* Key block badges */
.ia-key-block__badge[b-wt07mh2a5x] {
    font-size: var(--text-2xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px var(--space-1-5);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.ia-key-block__badge--free[b-wt07mh2a5x] {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.ia-key-block__badge--byok[b-wt07mh2a5x] {
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid var(--warning-border);
}

/* ── API key field ── */
.ia-key-field[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

.ia-key-field__wrap[b-wt07mh2a5x] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.ia-key-field__input[b-wt07mh2a5x] {
    padding-right: var(--space-12) !important;
    font-family: var(--font-mono);
    flex: 1;
}

.ia-key-field__toggle[b-wt07mh2a5x] {
    all: unset;
    position: absolute;
    right: calc(var(--space-10) + var(--space-3));
    cursor: pointer;
    color: var(--ink-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.ia-key-field__toggle:hover[b-wt07mh2a5x] {
    color: var(--ink);
    background: var(--border);
}

.ia-key-field__toggle:focus-visible[b-wt07mh2a5x] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ia-key-field__hint[b-wt07mh2a5x] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    line-height: 1.4;
}

.ia-key-field__hint--saved[b-wt07mh2a5x] {
    color: var(--ink-subtle);
}

/* ── Test result ── */
.ia-test-result[b-wt07mh2a5x] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    margin: 0 var(--space-6) var(--space-4);
}

.ia-test-result--ok[b-wt07mh2a5x] {
    color: var(--success);
    background: var(--success-soft);
    border: 1px solid var(--success-border);
}

.ia-test-result--ko[b-wt07mh2a5x] {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
}

/* ── Features list ── */
.ia-features[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.ia-feature-row[b-wt07mh2a5x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    transition: background var(--transition-fast);
}

.ia-feature-row:last-child[b-wt07mh2a5x] {
    border-bottom: none;
}

.ia-feature-row:hover[b-wt07mh2a5x] {
    background: var(--surface-alt);
}

.ia-feature-row__info[b-wt07mh2a5x] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.ia-feature-row__label[b-wt07mh2a5x] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
}

.ia-feature-row__desc[b-wt07mh2a5x] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
    line-height: 1.4;
}

/* ── Section spacing for provider + key sections ── */
.ia-section > .ia-provider-cards[b-wt07mh2a5x] {
    padding-top: var(--space-4);
}

/* ── Footer ── */
.ia-page__footer[b-wt07mh2a5x] {
    display: flex;
    justify-content: flex-end;
}

/* ── Toast ── */
.ia-toast[b-wt07mh2a5x] {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    z-index: 500;
    box-shadow: var(--shadow-elev);
    animation: hp-fade-in var(--transition-slow) ease;
}

.ia-toast--success[b-wt07mh2a5x] {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.ia-toast--error[b-wt07mh2a5x] {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}
/* /Components/Pages/Settings/DriveCallback.razor.rz.scp.css */
/* ── Callback page — centered loading / success / error ─────────────────────── */
.callback-page[b-lx7gpgez64] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: var(--space-4);
    padding: var(--space-8);
}

/* ── Spinner ─────────────────────────────────────────────────────────────────── */
.callback-page__spinner[b-lx7gpgez64] {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: callback-spin-b-lx7gpgez64 0.8s linear infinite;
}

@keyframes callback-spin-b-lx7gpgez64 {
    to { transform: rotate(360deg); }
}

/* ── Icon circle ─────────────────────────────────────────────────────────────── */
.callback-page__icon[b-lx7gpgez64] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
}

.callback-page__icon--success[b-lx7gpgez64] {
    background: var(--libre-soft);
    color: var(--libre);
    border: 1px solid var(--libre-border);
}

.callback-page__icon--error[b-lx7gpgez64] {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}

/* ── Titles ──────────────────────────────────────────────────────────────────── */
.callback-page__title[b-lx7gpgez64] {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
    text-align: center;
}

.callback-page__title--success[b-lx7gpgez64] {
    color: var(--libre);
}

.callback-page__title--error[b-lx7gpgez64] {
    color: var(--danger);
}

/* ── Text ────────────────────────────────────────────────────────────────────── */
.callback-page__text[b-lx7gpgez64] {
    font-family: var(--font-body);
    font-size: var(--text-md);
    color: var(--ink-muted);
    margin: 0;
    text-align: center;
    max-width: 360px;
    line-height: 1.5;
}

.callback-page__text--error[b-lx7gpgez64] {
    color: var(--danger);
    font-weight: 500;
}

.callback-page__redirect[b-lx7gpgez64] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
    text-align: center;
}
/* /Components/Pages/Settings/DriveSettings.razor.rz.scp.css */
/* ── Cards grid ─────────────────────────────────────────────────────────────── */
.drive-cards[b-8qer66baux] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

@media (max-width: 680px) {
    .drive-cards[b-8qer66baux] {
        grid-template-columns: 1fr;
    }
}

/* ── Card ────────────────────────────────────────────────────────────────────── */
.drive-card[b-8qer66baux] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: box-shadow var(--transition);
}

.drive-card:hover[b-8qer66baux] {
    box-shadow: var(--shadow-card);
}

.drive-card--connected[b-8qer66baux] {
    border-color: var(--libre-border);
}

.drive-card__header[b-8qer66baux] {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.drive-card__icon-wrap[b-8qer66baux] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.drive-card__meta[b-8qer66baux] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.drive-card__title[b-8qer66baux] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.drive-card__desc[b-8qer66baux] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    line-height: 1.55;
    margin: 0;
}

.drive-card__actions[b-8qer66baux] {
    margin-top: auto;
    padding-top: var(--space-1);
}

/* ── Connected account display ───────────────────────────────────────────────── */
.drive-account[b-8qer66baux] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.drive-account__identity[b-8qer66baux] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.drive-account__avatar[b-8qer66baux] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--libre-soft);
    color: var(--libre);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drive-account__info[b-8qer66baux] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.drive-account__email[b-8qer66baux] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drive-account__status[b-8qer66baux] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    flex-wrap: wrap;
}

.drive-account__dot[b-8qer66baux] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--libre);
    flex-shrink: 0;
}

/* ── Quota bar ───────────────────────────────────────────────────────────────── */
.drive-quota[b-8qer66baux] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.drive-quota__bar[b-8qer66baux] {
    height: 5px;
    background: var(--libre-soft);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.drive-quota__fill[b-8qer66baux] {
    height: 100%;
    background: var(--libre);
    border-radius: var(--radius-pill);
    transition: width var(--transition-slow);
}

/* ── Badges ─────────────────────────────────────────────────────────────────── */
.drive-badge[b-8qer66baux] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    letter-spacing: 0.01em;
}

.drive-badge__dot[b-8qer66baux] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.drive-badge--connected[b-8qer66baux] {
    background: var(--libre-soft);
    color: var(--libre);
}

.drive-badge--connected .drive-badge__dot[b-8qer66baux] {
    background: var(--libre);
}

.drive-badge--disconnected[b-8qer66baux] {
    background: var(--bg);
    color: var(--ink-muted);
    border: 1px solid var(--border);
}

.drive-badge--disconnected .drive-badge__dot[b-8qer66baux] {
    background: var(--ink-muted);
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.drive-btn[b-8qer66baux] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0 var(--space-4);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    transition: opacity var(--transition), background var(--transition);
    white-space: nowrap;
}

.drive-btn:disabled[b-8qer66baux] {
    opacity: 0.55;
    cursor: not-allowed;
}

.drive-btn--primary[b-8qer66baux] {
    background: var(--accent);
    color: var(--accent-ink);
}

.drive-btn--primary:not(:disabled):hover[b-8qer66baux] {
    opacity: 0.88;
}

.drive-btn--secondary[b-8qer66baux] {
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--border);
}

.drive-btn--secondary:not(:disabled):hover[b-8qer66baux] {
    background: var(--surface-alt);
    border-color: var(--border-strong);
}

.drive-btn--danger[b-8qer66baux] {
    background: var(--exercice-soft);
    color: var(--exercice);
    border: 1px solid var(--exercice-border);
}

.drive-btn--danger:not(:disabled):hover[b-8qer66baux] {
    opacity: 0.88;
}

/* ── Confirmation inline ─────────────────────────────────────────────────────── */
.drive-confirm[b-8qer66baux] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--exercice-soft);
    border: 1px solid var(--exercice-border);
    border-radius: var(--radius-md);
}

.drive-confirm__text[b-8qer66baux] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
}

.drive-confirm__btns[b-8qer66baux] {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* ── Info banner ─────────────────────────────────────────────────────────────── */
.drive-info-banner[b-8qer66baux] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--notion-soft);
    border: 1px solid var(--notion-border);
    border-radius: var(--radius-lg);
    color: var(--ink-muted);
}

.drive-info-banner svg[b-8qer66baux] {
    flex-shrink: 0;
    color: var(--notion);
    margin-top: 2px;
}

.drive-info-banner p[b-8qer66baux] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    line-height: 1.55;
    margin: 0;
}

/* ── Toast ───────────────────────────────────────────────────────────────────── */
.drive-toast[b-8qer66baux] {
    position: fixed;
    top: var(--space-5);
    right: var(--space-5);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    box-shadow: var(--shadow-elev);
    max-width: 380px;
    animation: drive-toast-in-b-8qer66baux var(--transition-fast) ease;
}

@keyframes drive-toast-in-b-8qer66baux {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.drive-toast--success[b-8qer66baux] {
    background: var(--surface);
    border: 1px solid var(--libre-border);
    color: var(--ink);
}

.drive-toast--success svg[b-8qer66baux] {
    color: var(--libre);
    flex-shrink: 0;
}

.drive-toast--error[b-8qer66baux] {
    background: var(--surface);
    border: 1px solid var(--exercice-border);
    color: var(--ink);
}

.drive-toast--error svg[b-8qer66baux] {
    color: var(--exercice);
    flex-shrink: 0;
}

.drive-toast__close[b-8qer66baux] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-muted);
    padding: 2px;
    margin-left: auto;
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    border-radius: var(--radius-md);
}

.drive-toast__close:hover[b-8qer66baux] {
    background: var(--bg);
}
/* /Components/Shared/HpAIButton.razor.rz.scp.css */
/* HpAIButton.razor.css — Styles scopés du bouton IA contextuel */

.hp-ai-btn-wrap[b-rn7289dwg9] {
    display: inline-flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

/* Bouton outline accent */
.hp-ai-btn[b-rn7289dwg9] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    padding: var(--space-1-5) var(--space-3);
    height: 32px;
    min-height: 32px;
    border: 1.5px solid var(--accent-border);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
    background: var(--accent-soft);
    transition: background var(--transition-fast), border-color var(--transition-fast),
                opacity var(--transition-fast);
    box-sizing: border-box;
}

.hp-ai-btn:hover:not(:disabled)[b-rn7289dwg9] {
    background: var(--accent-soft); /* fallback navigateurs sans color-mix */
    background: color-mix(in srgb, var(--accent-soft) 60%, var(--surface));
    border-color: var(--accent);
}

.hp-ai-btn:focus-visible[b-rn7289dwg9] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hp-ai-btn:disabled[b-rn7289dwg9] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Icône étincelle */
.hp-ai-btn__icon[b-rn7289dwg9] {
    flex-shrink: 0;
}

/* Spinner inline */
.hp-ai-btn__spinner[b-rn7289dwg9] {
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--accent-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: hp-ai-spin-b-rn7289dwg9 600ms linear infinite;
    flex-shrink: 0;
}

@keyframes hp-ai-spin-b-rn7289dwg9 {
    to { transform: rotate(360deg); }
}

/* Message d'erreur inline */
.hp-ai-btn__error[b-rn7289dwg9] {
    font-size: var(--text-xs);
    color: var(--danger);
    line-height: 1.4;
}
/* /Components/Shared/HpAudioPlayer.razor.rz.scp.css */
.hp-audio-player__embed-wrapper[b-pvqnsi5vpv] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
}

.hp-audio-player__embed-wrapper--sc[b-pvqnsi5vpv] {
    padding-bottom: 120px;
    height: 0;
}

.hp-audio-player__iframe[b-pvqnsi5vpv] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-md);
}

.hp-audio-player__iframe--sc[b-pvqnsi5vpv] {
    height: 120px;
    position: absolute;
}

.hp-audio-player__native[b-pvqnsi5vpv] {
    width: 100%;
    accent-color: var(--accent);
    border-radius: var(--radius-md);
}

.hp-audio-player__titre[b-pvqnsi5vpv] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: var(--space-2) 0 0;
    text-align: center;
}

.hp-audio-player__empty[b-pvqnsi5vpv] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
}

/* Variante compacte */
.hp-audio-player--compact .hp-audio-player__compact-link[b-pvqnsi5vpv],
.hp-audio-player--compact .hp-audio-player__compact-native[b-pvqnsi5vpv] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    padding: var(--space-1-5) var(--space-3);
    background: var(--oeuvre-soft);
    border: 1px solid var(--oeuvre-border);
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--oeuvre);
    min-height: 30px;
    transition: all var(--transition-fast);
}

.hp-audio-player--compact .hp-audio-player__compact-link:hover[b-pvqnsi5vpv] {
    background: var(--oeuvre-border);
}

.hp-audio-player__compact-icon[b-pvqnsi5vpv] {
    display: flex;
    align-items: center;
}

.hp-audio-player__compact-label[b-pvqnsi5vpv] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-audio-player__compact-badge[b-pvqnsi5vpv] {
    font-family: var(--font-body);
    font-size: var(--text-2xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 1px var(--space-1-5);
}

/* Lien audio générique (URLs non-YouTube/SoundCloud sans extension audio) */
.hp-audio-player__link[b-pvqnsi5vpv] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2-5) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.hp-audio-player__link:hover[b-pvqnsi5vpv] {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.hp-audio-player__link-icon[b-pvqnsi5vpv] {
    display: flex;
    align-items: center;
    color: var(--accent);
    flex-shrink: 0;
}

.hp-audio-player__link-label[b-pvqnsi5vpv] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-audio-player__link-ext[b-pvqnsi5vpv] {
    display: flex;
    align-items: center;
    color: var(--ink-subtle);
    flex-shrink: 0;
}
/* /Components/Shared/HpAvatar.razor.rz.scp.css */
/* HpAvatar.razor.css */

.hp-avatar[b-959eitot5u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--ink-muted);
    border: 1px solid var(--border-strong);
    font-family: var(--font-body);
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    user-select: none;
}

.hp-avatar__photo[b-959eitot5u] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-avatar__initials[b-959eitot5u] {
    line-height: 1;
    letter-spacing: 0.02em;
}

/* Sizes */
.hp-avatar--sm[b-959eitot5u] {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.hp-avatar--md[b-959eitot5u] {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.hp-avatar--lg[b-959eitot5u] {
    width: 48px;
    height: 48px;
    font-size: 17px;
}

.hp-avatar--xl[b-959eitot5u] {
    width: 64px;
    height: 64px;
    font-size: var(--text-xl);
}
/* /Components/Shared/HpConfirmDialog.razor.rz.scp.css */
/* HpConfirmDialog.razor.css — styles scopés modale de confirmation */
/* Structure : hp-modal-overlay + hp-modal définis dans app.css (globals)
   Seuls les styles spécifiques à la confirmation sont scopés ici. */

/* ── Icône de variante (danger / default) ── */
.hp-confirm__icon[b-jj4s6krzup] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.hp-confirm__icon--danger[b-jj4s6krzup] {
    color: var(--danger);
    background: var(--danger-soft);
}

.hp-confirm__icon--default[b-jj4s6krzup] {
    color: var(--accent);
    background: var(--accent-soft);
}
/* /Components/Shared/HpDocCard.razor.rz.scp.css */
/* HpDocCard.razor.css — styles scopés carte document GED */

.hp-doc-card[b-8dbshptco1] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.hp-doc-card:hover[b-8dbshptco1] {
    box-shadow: var(--shadow-elev);
    border-color: var(--border-strong);
}

.hp-doc-card--revoque[b-8dbshptco1] {
    border-color: var(--danger-border);
    opacity: 0.75;
}

.hp-doc-card__warning[b-8dbshptco1] {
    color: var(--warning);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.hp-doc-card__provider[b-8dbshptco1] {
    color: var(--ink-muted);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.hp-doc-card__nom[b-8dbshptco1] {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}

.hp-doc-card__extension[b-8dbshptco1] {
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    background: var(--surface-alt);
    color: var(--ink-muted);
    border-radius: var(--radius-pill);
    padding: 2px var(--space-2);
    flex-shrink: 0;
    text-transform: uppercase;
    border: 1px solid var(--border);
}

.hp-doc-card__footer[b-8dbshptco1] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
    flex-shrink: 0;
}
/* /Components/Shared/HpDocRow.razor.rz.scp.css */
/* HpDocRow.razor.css — Ligne compacte document */

.hp-doc-row[b-nodqn6371f] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    min-height: 44px;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.hp-doc-row:hover[b-nodqn6371f] {
    background: var(--surface-alt);
    border-color: var(--border-strong);
}

.hp-doc-row__icon[b-nodqn6371f] {
    color: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hp-doc-row__info[b-nodqn6371f] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-doc-row__name[b-nodqn6371f] {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-doc-row__meta[b-nodqn6371f] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.hp-doc-row__actions[b-nodqn6371f] {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}
/* /Components/Shared/HpDocViewer.razor.rz.scp.css */
/* ── Overlay ──────────────────────────────────────────────────────────────── */
.hp-dv-overlay[b-hzg5xwezsl] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: hp-dv-fade-in-b-hzg5xwezsl 0.15s ease;
}

@keyframes hp-dv-fade-in-b-hzg5xwezsl {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal container ──────────────────────────────────────────────────────── */
.hp-dv[b-hzg5xwezsl] {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    animation: hp-dv-slide-in-b-hzg5xwezsl 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hp-dv-slide-in-b-hzg5xwezsl {
    from { transform: translateY(12px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0)     scale(1);    opacity: 1; }
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.hp-dv__header[b-hzg5xwezsl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg);
}

.hp-dv__header-info[b-hzg5xwezsl] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.hp-dv__type-icon[b-hzg5xwezsl] {
    color: var(--ink-muted);
    flex-shrink: 0;
}

.hp-dv__title[b-hzg5xwezsl] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-dv__header-actions[b-hzg5xwezsl] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
}

.hp-dv__action[b-hzg5xwezsl],
.hp-dv__close[b-hzg5xwezsl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-dv__action:hover[b-hzg5xwezsl] { background: var(--surface); color: var(--ink); }
.hp-dv__close:hover[b-hzg5xwezsl]  { background: var(--danger-soft); color: var(--danger); }

/* ── Body ─────────────────────────────────────────────────────────────────── */
.hp-dv__body[b-hzg5xwezsl] {
    flex: 1;
    overflow: auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
}

/* ── Image viewer ─────────────────────────────────────────────────────────── */
.hp-dv__img-wrap[b-hzg5xwezsl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--space-4);
    background: var(--bg);
}

.hp-dv__img[b-hzg5xwezsl] {
    max-width: 100%;
    max-height: calc(100vh - 12rem);
    border-radius: var(--radius-md);
    object-fit: contain;
}

/* ── PDF viewer ───────────────────────────────────────────────────────────── */
.hp-dv__iframe[b-hzg5xwezsl] {
    width: 100%;
    min-height: 520px;
    border: none;
    display: block;
    flex: 1;
}

/* ── Audio viewer ─────────────────────────────────────────────────────────── */
.hp-dv__audio-wrap[b-hzg5xwezsl] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: var(--space-6) var(--space-8);
    gap: var(--space-5);
    background: var(--bg);
}

.hp-dv__waveform[b-hzg5xwezsl] {
    width: 100%;
    height: 96px;
    border-radius: var(--radius-md);
    background: transparent;
    display: block;
}

.hp-dv__audio[b-hzg5xwezsl] {
    width: 100%;
    accent-color: var(--accent);
    border-radius: var(--radius-md);
}

/* ── Video viewer ─────────────────────────────────────────────────────────── */
.hp-dv__video[b-hzg5xwezsl] {
    width: 100%;
    max-height: calc(100vh - 10rem);
    background: var(--viewer-bg);
    display: block;
    flex: 1;
}

/* ── No preview ───────────────────────────────────────────────────────────── */
.hp-dv__no-preview[b-hzg5xwezsl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-10) var(--space-6);
    text-align: center;
    width: 100%;
}

.hp-dv__no-preview-icon[b-hzg5xwezsl] {
    color: var(--ink-subtle);
    opacity: 0.4;
}

.hp-dv__no-preview-msg[b-hzg5xwezsl] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
}

.hp-dv__open-btn[b-hzg5xwezsl] {
    min-height: 44px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hp-dv-overlay[b-hzg5xwezsl] { padding: 0.75rem; }
    .hp-dv__audio-wrap[b-hzg5xwezsl] { padding: var(--space-4); }
}
/* /Components/Shared/HpFileManager.razor.rz.scp.css */
/* HpFileManager.razor.css — Gestionnaire de fichiers Drive */

.hp-fm[b-lxfa8bw300] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ── Chargement ── */

.hp-fm__loading[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    padding: var(--space-4) 0;
}

.hp-fm__spinner[b-lxfa8bw300] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: fm-spin-b-lxfa8bw300 0.7s linear infinite;
    flex-shrink: 0;
}

.hp-fm__spinner--sm[b-lxfa8bw300] {
    width: 13px;
    height: 13px;
}

@keyframes fm-spin-b-lxfa8bw300 {
    to { transform: rotate(360deg); }
}

/* ── Drive non connecté ── */

.hp-fm__no-drive[b-lxfa8bw300] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-4);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.hp-fm__no-drive-icon[b-lxfa8bw300] {
    color: var(--ink-subtle);
}

.hp-fm__no-drive-msg[b-lxfa8bw300] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
}

.hp-fm__settings-link[b-lxfa8bw300] {
    font-size: var(--text-sm);
}

/* ── Barre d'outils ── */

.hp-fm__toolbar[b-lxfa8bw300] {
    display: flex;
    align-items: center;
}

.hp-fm__add-btn[b-lxfa8bw300] {
    font-size: var(--text-sm);
    padding: var(--space-1-5) var(--space-3);
    min-height: 36px;
    gap: var(--space-1-5);
    display: inline-flex;
    align-items: center;
}

/* ── Panneau upload inline ── */

.hp-fm__upload-panel[b-lxfa8bw300] {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hp-fm__input-file[b-lxfa8bw300] {
    display: block;
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    cursor: pointer;
}

.hp-fm__upload-error[b-lxfa8bw300] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-3);
}

.hp-fm__upload-info[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-muted);
}

.hp-fm__upload-actions[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.hp-fm__btn-sm[b-lxfa8bw300] {
    font-size: var(--text-sm);
    padding: var(--space-1-5) var(--space-3);
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
}

/* ── Liste fichiers ── */

.hp-fm__empty[b-lxfa8bw300] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    text-align: center;
    padding: var(--space-4) 0;
}

.hp-fm__list[b-lxfa8bw300] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hp-fm__item[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.hp-fm__item:hover[b-lxfa8bw300] {
    background: var(--bg);
}

.hp-fm__item-preview[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    min-width: 0;
    min-height: 34px;
    padding: var(--space-1) var(--space-1);
    color: inherit;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
}

.hp-fm__item-preview:hover[b-lxfa8bw300] {
    background: var(--surface);
}

.hp-fm__item-icon[b-lxfa8bw300] {
    color: var(--ink-muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hp-fm__item-nom[b-lxfa8bw300] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.hp-fm__item-actions[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
}

.hp-fm__action-btn[b-lxfa8bw300] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: none;
    background: transparent;
    color: var(--ink-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-fm__action-btn:hover[b-lxfa8bw300] {
    background: var(--surface);
    color: var(--ink);
}

.hp-fm__action-btn--danger:hover[b-lxfa8bw300] {
    background: var(--danger-soft);
    color: var(--danger);
}

/* ── Chips niveaux sur les fichiers liés ── */

.hp-fm__item-niveaux[b-lxfa8bw300] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    flex-shrink: 0;
}

.hp-fm__niveau-chip[b-lxfa8bw300] {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    white-space: nowrap;
}
/* /Components/Shared/HpInstrumentSelect.razor.rz.scp.css */
.hp-instrument-select[b-3mrldpe98l] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

.hp-instrument-select__label[b-3mrldpe98l] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink-muted);
}

.hp-instrument-select__chips[b-3mrldpe98l] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.hp-instrument-select__chip[b-3mrldpe98l] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid var(--accent-border);
}

.hp-instrument-select__chip-remove[b-3mrldpe98l],
.hp-instrument-select__selected-remove[b-3mrldpe98l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.hp-instrument-select__chip-remove[b-3mrldpe98l] {
    width: 18px;
    height: 18px;
    opacity: 0.72;
}

.hp-instrument-select__chip-remove:hover[b-3mrldpe98l],
.hp-instrument-select__selected-remove:hover[b-3mrldpe98l] {
    opacity: 1;
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.hp-instrument-select__trigger[b-3mrldpe98l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-md);
    text-align: left;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

.hp-instrument-select__trigger:hover:not(:disabled)[b-3mrldpe98l] {
    border-color: var(--accent);
}

.hp-instrument-select--open .hp-instrument-select__trigger[b-3mrldpe98l] {
    border-color: var(--accent);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.hp-instrument-select__placeholder[b-3mrldpe98l] { color: var(--ink-subtle); }

.hp-instrument-select__chevron[b-3mrldpe98l] {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    color: var(--ink-subtle);
}

.hp-instrument-select--open .hp-instrument-select__chevron[b-3mrldpe98l] { transform: rotate(180deg); }

.hp-instrument-select__dropdown[b-3mrldpe98l] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--accent);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    z-index: 200;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow: hidden;
}

.hp-instrument-select__search[b-3mrldpe98l] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0 var(--space-3);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    color: var(--ink-subtle);
}

.hp-instrument-select__search-input[b-3mrldpe98l] {
    border: none;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    flex: 1;
    min-width: 0;
}

.hp-instrument-select__search-input[b-3mrldpe98l]::placeholder {
    color: var(--ink-subtle);
}

.hp-instrument-select__list[b-3mrldpe98l] {
    overflow-y: auto;
    flex: 1;
}

.hp-instrument-select__group-header[b-3mrldpe98l] {
    padding: var(--space-2) var(--space-3) var(--space-1);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    position: sticky;
    top: 0;
    background: var(--surface);
}

.hp-instrument-select__option[b-3mrldpe98l] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    text-align: left;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.hp-instrument-select__option:hover[b-3mrldpe98l] { background: var(--surface-alt); }

.hp-instrument-select__option--selected[b-3mrldpe98l] {
    background: var(--accent-soft);
    color: var(--accent);
}

.hp-instrument-select__checkbox[b-3mrldpe98l] {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.hp-instrument-select__option--selected .hp-instrument-select__checkbox[b-3mrldpe98l] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.hp-instrument-select__option-name[b-3mrldpe98l] { flex: 1; }

.hp-instrument-select__option-short[b-3mrldpe98l] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    font-family: var(--font-mono);
}

.hp-instrument-select__empty[b-3mrldpe98l] {
    padding: var(--space-4) var(--space-3);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    text-align: center;
}

.hp-instrument-select--disabled[b-3mrldpe98l] {
    opacity: 0.62;
}

.hp-instrument-select--disabled .hp-instrument-select__trigger[b-3mrldpe98l],
.hp-instrument-select--disabled button[b-3mrldpe98l],
.hp-instrument-select--disabled input[b-3mrldpe98l] {
    cursor: not-allowed;
}

/* Mode orchestration lisible */

.hp-instrument-select__builder[b-3mrldpe98l] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: var(--space-3);
}

.hp-instrument-select__panel[b-3mrldpe98l] {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hp-instrument-select__panel-head[b-3mrldpe98l] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3);
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
}

.hp-instrument-select__eyebrow[b-3mrldpe98l] {
    display: block;
    margin-bottom: var(--space-1);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-subtle);
}

.hp-instrument-select__title[b-3mrldpe98l] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.hp-instrument-select__count[b-3mrldpe98l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
}

.hp-instrument-select__family-list[b-3mrldpe98l] {
    max-height: 420px;
    overflow-y: auto;
}

.hp-instrument-select__create[b-3mrldpe98l] {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.hp-instrument-select__create-row[b-3mrldpe98l] {
    display: grid;
    grid-template-columns: minmax(120px, 0.9fr) minmax(140px, 1fr) auto;
    gap: var(--space-2);
    align-items: center;
}

.hp-instrument-select__create-family[b-3mrldpe98l],
.hp-instrument-select__create-input[b-3mrldpe98l] {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 var(--space-2);
    color: var(--ink);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
}

.hp-instrument-select__create-family:focus[b-3mrldpe98l],
.hp-instrument-select__create-input:focus[b-3mrldpe98l] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.hp-instrument-select__create-button[b-3mrldpe98l] {
    min-height: 40px;
    padding: 0 var(--space-3);
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    white-space: nowrap;
}

.hp-instrument-select__create-button:hover:not(:disabled)[b-3mrldpe98l] {
    background: var(--accent);
    color: var(--accent-ink);
}

.hp-instrument-select__create-button:disabled[b-3mrldpe98l] {
    opacity: 0.58;
    cursor: not-allowed;
}

.hp-instrument-select__create-error[b-3mrldpe98l] {
    margin-top: var(--space-1);
    color: var(--danger);
    font-size: var(--text-xs);
}

.hp-instrument-select__family + .hp-instrument-select__family[b-3mrldpe98l] {
    border-top: 1px solid var(--border);
}

.hp-instrument-select__family-header[b-3mrldpe98l] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    color: var(--ink);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
}

.hp-instrument-select__family-header:hover[b-3mrldpe98l] {
    background: var(--surface-alt);
}

.hp-instrument-select__family-chevron[b-3mrldpe98l] {
    color: var(--ink-subtle);
    transition: transform var(--transition-fast);
}

.hp-instrument-select__family-chevron--open[b-3mrldpe98l] {
    transform: rotate(90deg);
}

.hp-instrument-select__family-count[b-3mrldpe98l] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.hp-instrument-select__instrument-list[b-3mrldpe98l] {
    display: flex;
    flex-direction: column;
    padding: 0 0 var(--space-2);
}

.hp-instrument-select__instrument[b-3mrldpe98l] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    margin: 0 var(--space-2);
    padding: var(--space-2) var(--space-2);
    color: var(--ink);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.hp-instrument-select__instrument:hover[b-3mrldpe98l] {
    background: var(--surface-alt);
    border-color: var(--border);
}

.hp-instrument-select__instrument--selected[b-3mrldpe98l] {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent);
}

.hp-instrument-select__instrument-main[b-3mrldpe98l] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hp-instrument-select__instrument-name[b-3mrldpe98l] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--text-sm);
    font-weight: 600;
}

.hp-instrument-select__instrument-short[b-3mrldpe98l] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.hp-instrument-select__instrument-action[b-3mrldpe98l] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    color: var(--accent);
}

.hp-instrument-select__selected-empty[b-3mrldpe98l] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: var(--space-6);
    color: var(--ink-subtle);
    font-size: var(--text-sm);
    text-align: center;
    line-height: 1.5;
}

.hp-instrument-select__selected-toolbar[b-3mrldpe98l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--ink-muted);
    font-size: var(--text-xs);
    border-bottom: 1px solid var(--border);
}

.hp-instrument-select__clear[b-3mrldpe98l] {
    min-height: 32px;
    padding: 0 var(--space-2);
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
}

.hp-instrument-select__clear:hover[b-3mrldpe98l] {
    background: var(--accent-soft);
}

.hp-instrument-select__selected-list[b-3mrldpe98l] {
    list-style: none;
    margin: 0;
    padding: var(--space-2);
    max-height: 420px;
    overflow-y: auto;
}

.hp-instrument-select__selected-row[b-3mrldpe98l] {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    align-items: center;
    gap: var(--space-2);
    min-height: 48px;
    padding: var(--space-2);
    border-radius: var(--radius-md);
}

.hp-instrument-select__selected-row + .hp-instrument-select__selected-row[b-3mrldpe98l] {
    margin-top: var(--space-1);
}

.hp-instrument-select__selected-row:hover[b-3mrldpe98l] {
    background: var(--surface-alt);
}

.hp-instrument-select__selected-order[b-3mrldpe98l] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink-subtle);
}

.hp-instrument-select__selected-body[b-3mrldpe98l] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hp-instrument-select__selected-name[b-3mrldpe98l] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 700;
}

.hp-instrument-select__selected-family[b-3mrldpe98l] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink-subtle);
    font-size: var(--text-xs);
}

.hp-instrument-select__selected-remove[b-3mrldpe98l] {
    width: 32px;
    height: 32px;
    color: var(--ink-subtle);
}

@media (max-width: 760px) {
    .hp-instrument-select__builder[b-3mrldpe98l] {
        grid-template-columns: 1fr;
    }

    .hp-instrument-select__create-row[b-3mrldpe98l] {
        grid-template-columns: 1fr;
    }

    .hp-instrument-select__family-list[b-3mrldpe98l],
    .hp-instrument-select__selected-list[b-3mrldpe98l] {
        max-height: 320px;
    }
}
/* /Components/Shared/HpKpiTile.razor.rz.scp.css */
/* HpKpiTile.razor.css — Tuile KPI */

.hp-kpi-tile[b-v86m8g1kiu] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    transition: box-shadow var(--transition-fast);
}

.hp-kpi-tile__icon[b-v86m8g1kiu] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.hp-kpi-tile__body[b-v86m8g1kiu] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
}

.hp-kpi-tile__value[b-v86m8g1kiu] {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.hp-kpi-tile__label[b-v86m8g1kiu] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    font-weight: 500;
}

.hp-kpi-tile__sub[b-v86m8g1kiu] {
    font-size: var(--text-xs);
    color: var(--ink-subtle);
}

.hp-kpi-tile--up .hp-kpi-tile__value[b-v86m8g1kiu] { color: var(--success); }
.hp-kpi-tile--down .hp-kpi-tile__value[b-v86m8g1kiu] { color: var(--danger); }
/* /Components/Shared/HpMaterielTable.razor.rz.scp.css */
.hp-materiel-table__empty[b-efeuduu41l] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    margin: 0;
    padding: var(--space-3) 0;
}

.hp-materiel-table__table[b-efeuduu41l] {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: var(--text-sm);
}

.hp-materiel-table__table th[b-efeuduu41l] {
    text-align: left;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-1-5) var(--space-3);
    border-bottom: 1px solid var(--border);
}

.hp-materiel-table__table td[b-efeuduu41l] {
    padding: var(--space-2) var(--space-3);
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.hp-materiel-table__table tr:last-child td[b-efeuduu41l] {
    border-bottom: none;
}

.hp-materiel-table__center[b-efeuduu41l] {
    text-align: center;
}

.hp-materiel-table__mono[b-efeuduu41l] {
    font-family: var(--font-mono);
}

.hp-materiel-table__nom[b-efeuduu41l] {
    font-weight: 500;
}

.hp-materiel-table__cat[b-efeuduu41l] {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 1px var(--space-1-5);
    margin-right: var(--space-1-5);
    vertical-align: middle;
}

.hp-materiel-table__notes[b-efeuduu41l] {
    color: var(--ink-muted);
}

.hp-materiel-table__inline-input[b-efeuduu41l] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: var(--space-1) var(--space-2);
    outline: none;
    width: 56px;
    text-align: center;
}

.hp-materiel-table__notes-input[b-efeuduu41l] {
    width: 100%;
    text-align: left;
}

.hp-materiel-table__edit-trigger[b-efeuduu41l] {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    min-width: 32px;
    min-height: 32px;
}

.hp-materiel-table__edit-trigger:not(:disabled):hover[b-efeuduu41l] {
    background: var(--surface-alt);
}

.hp-materiel-table__edit-trigger:disabled[b-efeuduu41l] {
    cursor: default;
}

.hp-materiel-table__edit-actions[b-efeuduu41l] {
    display: flex;
    gap: var(--space-1);
    justify-content: center;
}

.hp-materiel-table__icon-btn[b-efeuduu41l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    padding: 0;
}

.hp-materiel-table__icon-btn:hover[b-efeuduu41l] {
    background: var(--surface-alt);
}

.hp-materiel-table__icon-btn--save[b-efeuduu41l] {
    color: var(--success);
}

.hp-materiel-table__icon-btn--save:hover[b-efeuduu41l] {
    background: var(--success-soft);
}

.hp-materiel-table__icon-btn--danger:hover[b-efeuduu41l] {
    background: var(--danger-soft);
    color: var(--danger);
}

.hp-materiel-table__add-btn[b-efeuduu41l] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1-5);
    padding: var(--space-2) var(--space-3);
    margin-top: var(--space-2);
    border: 1px dashed var(--border-strong);
    background: transparent;
    color: var(--ink-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 36px;
}

.hp-materiel-table__add-btn:hover[b-efeuduu41l] {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
/* /Components/Shared/HpMultiReferentielSelect.razor.rz.scp.css */
.hp-multi-ref[b-x93puxktep] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-multi-ref__label[b-x93puxktep] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink);
    opacity: 0.7;
}

.hp-multi-ref__chips[b-x93puxktep] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hp-multi-ref__chip[b-x93puxktep] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px 3px 10px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.hp-multi-ref__chip-remove[b-x93puxktep] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    border-radius: 50%;
}
.hp-multi-ref__chip-remove:hover[b-x93puxktep] { opacity: 1; }

.hp-multi-ref__trigger[b-x93puxktep] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 12px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    transition: border-color 0.15s;
}
.hp-multi-ref__trigger:hover:not(:disabled)[b-x93puxktep] { border-color: var(--accent); }
.hp-multi-ref--open .hp-multi-ref__trigger[b-x93puxktep] {
    border-color: var(--accent);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.hp-multi-ref__placeholder[b-x93puxktep] { opacity: 0.45; }
.hp-multi-ref__chevron[b-x93puxktep] { flex-shrink: 0; transition: transform 0.2s; opacity: 0.5; }
.hp-multi-ref--open .hp-multi-ref__chevron[b-x93puxktep] { transform: rotate(180deg); }

.hp-multi-ref__dropdown[b-x93puxktep] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--accent);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 200;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 12%, transparent);
    display: flex;
    flex-direction: column;
    max-height: 280px;
    overflow: hidden;
}

.hp-multi-ref__search[b-x93puxktep] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    flex-shrink: 0;
    color: var(--ink);
    opacity: 0.6;
}
.hp-multi-ref__search-input[b-x93puxktep] {
    border: none;
    background: none;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    flex: 1;
}

.hp-multi-ref__list[b-x93puxktep] { overflow-y: auto; flex: 1; }

.hp-multi-ref__option[b-x93puxktep] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.88rem;
    text-align: left;
    transition: background 0.1s;
}
.hp-multi-ref__option:hover[b-x93puxktep] { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.hp-multi-ref__option--selected[b-x93puxktep] {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--accent);
}

.hp-multi-ref__checkbox[b-x93puxktep] {
    width: 16px;
    height: 16px;
    border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}
.hp-multi-ref__option--selected .hp-multi-ref__checkbox[b-x93puxktep] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.hp-multi-ref__option-label[b-x93puxktep] { flex: 1; }

.hp-multi-ref__option-badge[b-x93puxktep] {
    font-size: 0.68rem;
    padding: 1px 6px;
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    border-radius: 4px;
    opacity: 0.6;
}

.hp-multi-ref__create[b-x93puxktep] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    background: none;
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    cursor: pointer;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
}
.hp-multi-ref__create:hover[b-x93puxktep] { background: color-mix(in srgb, var(--accent) 6%, transparent); }

.hp-multi-ref__empty[b-x93puxktep] {
    padding: 16px 12px;
    font-size: 0.85rem;
    color: var(--ink);
    opacity: 0.45;
    text-align: center;
}

.hp-multi-ref--disabled .hp-multi-ref__trigger[b-x93puxktep] { opacity: 0.5; cursor: default; }
/* /Components/Shared/HpNotionChip.razor.rz.scp.css */
.hp-notion-chip[b-jxrypx8s1b] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 3px var(--space-2);
    background: var(--notion-soft);
    border: 1px solid var(--notion-border);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--notion);
    white-space: nowrap;
    max-width: 180px;
}

.hp-notion-chip__dot[b-jxrypx8s1b] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--notion);
    flex-shrink: 0;
}

.hp-notion-chip__label[b-jxrypx8s1b] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-notion-chip__remove[b-jxrypx8s1b] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: var(--notion);
    cursor: pointer;
    border-radius: var(--radius-pill);
    padding: 0;
    flex-shrink: 0;
    transition: background var(--transition-fast);
    min-width: 16px;
    min-height: 16px;
}

.hp-notion-chip__remove:hover[b-jxrypx8s1b] {
    background: var(--notion-border);
}

.hp-notion-chip__remove:focus-visible[b-jxrypx8s1b] {
    outline: 2px solid var(--notion);
    outline-offset: 1px;
}
/* /Components/Shared/HpOeuvreCard.razor.rz.scp.css */
.hp-oeuvre-card[b-8iu539if6f] {
    position: relative;
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
    min-height: 44px;
}

.hp-oeuvre-card:hover[b-8iu539if6f],
.hp-oeuvre-card:focus-within[b-8iu539if6f] {
    border-color: var(--oeuvre-border);
    box-shadow: var(--shadow-elev);
}

.hp-oeuvre-card:focus[b-8iu539if6f] {
    outline: 2px solid var(--oeuvre);
    outline-offset: 2px;
}

.hp-oeuvre-card__bar[b-8iu539if6f] {
    width: 3px;
    flex-shrink: 0;
    background: var(--oeuvre);
    align-self: stretch;
}

.hp-oeuvre-card__body[b-8iu539if6f] {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hp-oeuvre-card__header[b-8iu539if6f] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2);
}

.hp-oeuvre-card__titre[b-8iu539if6f] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}

.hp-oeuvre-card__badges[b-8iu539if6f] {
    display: flex;
    gap: var(--space-1);
    align-items: center;
    flex-shrink: 0;
}

.hp-oeuvre-card__audio-badge[b-8iu539if6f] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-pill);
    background: var(--oeuvre-soft);
    color: var(--oeuvre);
}

.hp-oeuvre-card__badge[b-8iu539if6f] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px var(--space-1-5);
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
}

.hp-oeuvre-card__badge--partage[b-8iu539if6f] {
    background: var(--oeuvre-soft);
    color: var(--oeuvre);
    border-color: var(--oeuvre-border);
}

.hp-oeuvre-card__meta[b-8iu539if6f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1-5);
}

.hp-oeuvre-card__meta-item[b-8iu539if6f] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink-muted);
}

.hp-oeuvre-card__pill[b-8iu539if6f] {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--ink-subtle);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px var(--space-2);
}

.hp-oeuvre-card__pill--mono[b-8iu539if6f] {
    font-family: var(--font-mono);
}

.hp-oeuvre-card--compact .hp-oeuvre-card__body[b-8iu539if6f] {
    padding: var(--space-2) var(--space-3);
}

.hp-oeuvre-card--compact .hp-oeuvre-card__titre[b-8iu539if6f] {
    font-size: var(--text-sm);
}
/* /Components/Shared/HpPagination.razor.rz.scp.css */
.hp-pagination[b-wvve9y0hvb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.hp-pagination__btn[b-wvve9y0hvb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.hp-pagination__btn svg[b-wvve9y0hvb] {
    width: 16px;
    height: 16px;
}

.hp-pagination__btn:hover:not(:disabled)[b-wvve9y0hvb] {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent-text);
}

.hp-pagination__btn:disabled[b-wvve9y0hvb] {
    opacity: 0.35;
    cursor: not-allowed;
}

.hp-pagination__info[b-wvve9y0hvb] {
    font-family: var(--font-body, 'Manrope', sans-serif);
    font-size: 0.875rem;
    color: var(--ink-muted);
    white-space: nowrap;
}
/* /Components/Shared/HpPlanningGrille.razor.rz.scp.css */
/* HpPlanningGrille.razor.css — styles scopés composant grille planning */

/* ── Bandeau objectifs ── */
.hp-grille__objectifs-bandeau[b-x3zdarttof] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-1);
    margin-bottom: var(--space-3);
}

.hp-grille__objectif-chip[b-x3zdarttof] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid transparent;
}

.hp-grille__objectif-chip--atteint[b-x3zdarttof] {
    background: var(--success-subtle);
    color: var(--success);
    border-color: var(--success-border);
}

.hp-grille__objectif-chip--encours[b-x3zdarttof] {
    background: var(--warning-subtle);
    color: var(--warning);
    border-color: var(--warning-border);
}

.hp-grille__objectif-chip-dot[b-x3zdarttof] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

/* ── Navigation semaine ── */
.hp-grille__nav[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.hp-grille__nav-btn[b-x3zdarttof] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--ink);
    transition: background var(--transition), border-color var(--transition);
    flex-shrink: 0;
}

.hp-grille__nav-btn:hover[b-x3zdarttof] {
    background: var(--surface-alt);
    border-color: var(--accent);
    color: var(--accent);
}

.hp-grille__nav-btn:focus-visible[b-x3zdarttof] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hp-grille__semaine-label[b-x3zdarttof] {
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--ink);
    flex: 1;
    text-align: center;
}

.hp-grille__nav-actions[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

/* ── Chargement / erreur ── */
.hp-grille__loading[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--ink-muted);
    font-size: var(--text-sm);
    padding: var(--space-8) 0;
}

.hp-grille__spinner[b-x3zdarttof] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: grille-spin-b-x3zdarttof 700ms linear infinite;
    flex-shrink: 0;
}

@keyframes grille-spin-b-x3zdarttof {
    to { transform: rotate(360deg); }
}

.hp-grille__error[b-x3zdarttof] {
    padding: var(--space-4);
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

/* ── Bandeau vacances ── */
.hp-grille__vacances-banner[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2-5) var(--space-4);
    background: color-mix(in srgb, var(--libre) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--libre) 30%, transparent);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--libre);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

/* ── Grille desktop ── */
/* Le wrapper visuel (border, radius, background) — PAS d'overflow pour ne pas clipper les tooltips */
.hp-grille__table-wrapper[b-x3zdarttof] {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    /* overflow visible : les tooltips position:absolute peuvent dépasser */
}

/* Couche de scroll séparée — ne définit que l'overflow horizontal */
.hp-grille__table-scroll[b-x3zdarttof] {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: calc(var(--radius-lg) - 1px);
}

.hp-grille__table[b-x3zdarttof] {
    min-width: 700px;
    width: 100%;
}

/* En-têtes colonnes */
.hp-grille__header[b-x3zdarttof] {
    display: grid;
    grid-template-columns: 60px repeat(6, 1fr);
    border-bottom: 1px solid var(--border);
    background: var(--surface-alt);
}

.hp-grille__time-gutter[b-x3zdarttof] {
    border-right: 1px solid var(--border);
    min-height: var(--space-12);
}

.hp-grille__col-header[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-2);
    border-right: 1px solid var(--border);
    min-height: var(--space-12);
    gap: 2px;
}

.hp-grille__col-header:last-child[b-x3zdarttof] {
    border-right: none;
}

.hp-grille__col-header--vacances[b-x3zdarttof] {
    background: color-mix(in srgb, var(--libre) 8%, transparent);
}

.hp-grille__col-jour[b-x3zdarttof] {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hp-grille__col-date[b-x3zdarttof] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-muted);
}

.hp-grille__col-vacances-label[b-x3zdarttof] {
    font-size: var(--text-2xs);
    background: var(--libre);
    color: var(--surface);
    border-radius: var(--radius-pill);
    padding: 0 var(--space-1-5);
    font-weight: 700;
}

/* Corps de grille */
.hp-grille__body[b-x3zdarttof] {
    display: grid;
    grid-template-columns: 60px repeat(6, 1fr);
    position: relative;
}

.hp-grille__time-col[b-x3zdarttof] {
    border-right: 1px solid var(--border);
    position: relative;
    min-height: 840px; /* 14h × 60px/h */
}

.hp-grille__time-cell[b-x3zdarttof] {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    color: var(--ink-subtle);
    border-top: 1px solid var(--border);
    line-height: 1;
    padding-top: 4px;
    transform: translateY(0);
    height: 60px;
}

/* Colonnes jours */
.hp-grille__col[b-x3zdarttof] {
    position: relative;
    border-right: 1px solid var(--border);
    /* overflow visible pour laisser les tooltips natifs dépasser */
    overflow: visible;
    /* Lignes horaires en fond via dégradé */
    background-image: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 59px,
        var(--border) 59px,
        var(--border) 60px
    );
}

.hp-grille__col:last-child[b-x3zdarttof] {
    border-right: none;
}

.hp-grille__col--vacances[b-x3zdarttof] {
    background-color: color-mix(in srgb, var(--libre) 5%, transparent);
}

.hp-grille__vacances-overlay[b-x3zdarttof] {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        color-mix(in srgb, var(--libre) 10%, transparent) 6px,
        color-mix(in srgb, var(--libre) 10%, transparent) 12px
    );
    pointer-events: none;
}

/* Blocs créneaux */
.hp-grille__creneau[b-x3zdarttof] {
    all: unset;
    position: absolute;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--creneau-color, var(--accent)) 18%, var(--surface));
    border-left: 3px solid var(--creneau-color, var(--accent));
    padding: var(--space-1) var(--space-2);
    cursor: pointer;
    overflow: visible; /* nécessaire pour le tooltip */
    transition: box-shadow var(--transition), opacity var(--transition), z-index 0s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1px;
    /* clip interne du contenu texte — le tooltip dépasse via position:absolute */
}

/* clip le contenu texte mais pas le tooltip */
.hp-grille__creneau > :not(.hp-grille__tooltip)[b-x3zdarttof] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.hp-grille__creneau:hover[b-x3zdarttof],
.hp-grille__creneau:focus-within[b-x3zdarttof] {
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    z-index: 10;
}

.hp-grille__creneau:focus-visible[b-x3zdarttof] {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    z-index: 11;
}

/* ── Tooltip au survol (positionné via JS en position:fixed) ── */
.hp-grille__tooltip[b-x3zdarttof] {
    display: none; /* affiché/masqué par planning.js */
    position: fixed; /* position injectée par JS — échappe aux overflow containers */
    min-width: 200px;
    max-width: 280px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: var(--space-2-5) var(--space-3);
    z-index: 9999;
    pointer-events: none;
    box-shadow: var(--shadow-modal);
}

/* Flèche vers le bas (tooltip est AU-DESSUS du créneau) */
.hp-grille__tooltip--arrow-bottom[b-x3zdarttof]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    border: 5px solid transparent;
    border-top-color: var(--border-strong);
}

/* Flèche vers le haut (tooltip est EN-DESSOUS du créneau) */
.hp-grille__tooltip--arrow-top[b-x3zdarttof]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 16px;
    border: 5px solid transparent;
    border-bottom-color: var(--border-strong);
}

.hp-grille__tooltip-header[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
}

.hp-grille__tooltip-groupe[b-x3zdarttof] {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__tooltip-heure[b-x3zdarttof] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-muted);
}

.hp-grille__tooltip-body[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1-5);
}

.hp-grille__tooltip-row[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    font-size: var(--text-xs);
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__tooltip-row svg[b-x3zdarttof] {
    flex-shrink: 0;
    opacity: 0.6;
}

.hp-grille__tooltip-row--danger[b-x3zdarttof] {
    color: var(--danger);
}

.hp-grille__tooltip-row--warning[b-x3zdarttof] {
    color: var(--warning);
}

/* Mode compact : créneau trop court (<36px) */
.hp-grille__creneau--annule[b-x3zdarttof] {
    opacity: 0.5;
    background: var(--surface-alt);
    border-left-color: var(--border-strong);
}

.hp-grille__creneau--compact[b-x3zdarttof] {
    padding: 2px var(--space-1-5);
    justify-content: center;
}

.hp-grille__creneau-heure-compact[b-x3zdarttof] {
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__creneau-titre[b-x3zdarttof] {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__creneau--annule .hp-grille__creneau-titre[b-x3zdarttof] {
    text-decoration: line-through;
    color: var(--ink-muted);
}

.hp-grille__creneau-sous[b-x3zdarttof] {
    font-size: var(--text-2xs);
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__creneau-salle[b-x3zdarttof] {
    font-size: var(--text-2xs);
    color: var(--ink-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__creneau-badge[b-x3zdarttof] {
    font-size: var(--text-2xs);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 1px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__creneau-badge--remplacement[b-x3zdarttof] {
    background: var(--accent-soft);
    background: color-mix(in srgb, var(--warning) 15%, transparent);
    color: var(--warning);
}

.hp-grille__creneau-badge--annule[b-x3zdarttof] {
    background: var(--danger-soft);
    color: var(--danger);
}

/* ── Vue mobile ── */
.hp-grille__mobile-list[b-x3zdarttof] {
    display: none;
    flex-direction: column;
    gap: var(--space-4);
}

@media (max-width: 640px) {
    .hp-grille__table-wrapper[b-x3zdarttof] { display: none; }
    .hp-grille__mobile-list[b-x3zdarttof] { display: flex; }
    .hp-grille__semaine-label[b-x3zdarttof] { font-size: var(--text-sm); }
}

.hp-grille__mobile-jour[b-x3zdarttof] {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hp-grille__mobile-jour-header[b-x3zdarttof] {
    background: var(--surface-alt);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
}

.hp-grille__mobile-jour-label[b-x3zdarttof] {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink);
    text-transform: capitalize;
}

.hp-grille__mobile-vide[b-x3zdarttof] {
    font-size: var(--text-sm);
    color: var(--ink-muted);
    padding: var(--space-4);
    text-align: center;
    margin: 0;
}

.hp-grille__mobile-creneau[b-x3zdarttof] {
    all: unset;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    border-left: 4px solid var(--creneau-color, var(--accent));
    transition: background var(--transition);
}

.hp-grille__mobile-creneau:last-child[b-x3zdarttof] {
    border-bottom: none;
}

.hp-grille__mobile-creneau:hover[b-x3zdarttof] {
    background: var(--surface-alt);
}

.hp-grille__mobile-creneau:focus-visible[b-x3zdarttof] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.hp-grille__mobile-creneau--annule[b-x3zdarttof] {
    opacity: 0.5;
}

.hp-grille__mobile-creneau-heure[b-x3zdarttof] {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--ink-muted);
    white-space: nowrap;
    flex-shrink: 0;
    width: 80px;
}

.hp-grille__mobile-creneau-info[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.hp-grille__mobile-creneau-titre[b-x3zdarttof] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__mobile-creneau-sous[b-x3zdarttof] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Panneau détail ── */
.hp-grille__detail-overlay[b-x3zdarttof] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 200;
    cursor: pointer;
}

.hp-grille__detail-panel[b-x3zdarttof] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 100vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: grille-slide-in-b-x3zdarttof 220ms ease;
}

@keyframes grille-slide-in-b-x3zdarttof {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

.hp-grille__detail-header[b-x3zdarttof] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.hp-grille__detail-titre[b-x3zdarttof] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.hp-grille__detail-close[b-x3zdarttof] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    transition: background var(--transition);
}

.hp-grille__detail-close:hover[b-x3zdarttof] {
    background: var(--surface-alt);
    color: var(--ink);
}

.hp-grille__detail-close:focus-visible[b-x3zdarttof] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hp-grille__detail-body[b-x3zdarttof] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-5) var(--space-6);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hp-grille__detail-row[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hp-grille__detail-row dt[b-x3zdarttof] {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hp-grille__detail-row dd[b-x3zdarttof] {
    font-size: var(--text-sm);
    color: var(--ink);
    margin: 0;
    font-weight: 500;
}

.hp-grille__detail-mono dd[b-x3zdarttof] {
    font-family: var(--font-mono);
}

.hp-grille__detail-row--danger dt[b-x3zdarttof],
.hp-grille__detail-row--danger dd[b-x3zdarttof] { color: var(--danger); }

.hp-grille__detail-row--warning dt[b-x3zdarttof],
.hp-grille__detail-row--warning dd[b-x3zdarttof] { color: var(--warning); }

.hp-grille__detail-footer[b-x3zdarttof] {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    gap: var(--space-3);
}

/* ── Section élèves inscrits ── */
.hp-grille__detail-eleves[b-x3zdarttof] {
    border-top: 1px solid var(--border);
    padding: var(--space-4) var(--space-6) var(--space-5);
}

.hp-grille__detail-eleves-header[b-x3zdarttof] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.hp-grille__detail-section-title[b-x3zdarttof] {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--ink-subtle);
}

.hp-grille__detail-eleves-link[b-x3zdarttof] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.hp-grille__detail-eleves-link:hover[b-x3zdarttof] { text-decoration: underline; }

.hp-grille__detail-eleves-loading[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    padding: var(--space-2) 0;
}

.hp-grille__detail-spinner[b-x3zdarttof] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: grille-spin-b-x3zdarttof 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes grille-spin-b-x3zdarttof { to { transform: rotate(360deg); } }

.hp-grille__detail-eleves-empty[b-x3zdarttof] {
    font-size: var(--text-sm);
    color: var(--ink-subtle);
    padding: var(--space-2) 0;
    font-style: italic;
}

.hp-grille__detail-eleves-list[b-x3zdarttof] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hp-grille__detail-eleve[b-x3zdarttof] {
    display: flex;
    align-items: center;
    gap: var(--space-2-5);
    padding: var(--space-2) var(--space-3);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.hp-grille__detail-eleve-avatar[b-x3zdarttof] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 700;
    flex-shrink: 0;
}

.hp-grille__detail-eleve-info[b-x3zdarttof] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.hp-grille__detail-eleve-nom[b-x3zdarttof] {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-grille__detail-eleve-niveau[b-x3zdarttof] {
    font-size: var(--text-xs);
    color: var(--ink-muted);
}

/* ══ Choix de la vue (semaine / jour) ══════════════════════════════════════ */
.hp-grille__vues[b-x3zdarttof] {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-alt);
}
.hp-grille__vue[b-x3zdarttof] {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--ink-muted);
    cursor: pointer;
}
.hp-grille__vue:hover[b-x3zdarttof] { color: var(--ink); }
.hp-grille__vue:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp-grille__vue--active[b-x3zdarttof] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

/* En-tête de jour cliquable : ouvre la vue jour */
.hp-grille__col-jour-btn[b-x3zdarttof] {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.hp-grille__col-jour-btn:hover[b-x3zdarttof] { background: var(--surface-alt); }
.hp-grille__col-jour-btn:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); }

/* ══ Pastille « + N » : cours simultanés au-delà de trois colonnes ════════ */
.hp-grille__plus[b-x3zdarttof] {
    all: unset;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}
.hp-grille__plus:hover[b-x3zdarttof] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); z-index: 10; }
.hp-grille__plus:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ══ Panneau : liste des cours d'une plage ═════════════════════════════════ */
.hp-grille__detail-sous[b-x3zdarttof] { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); }

.hp-grille__liste[b-x3zdarttof] {
    flex: 1;
    margin: 0;
    padding: var(--space-2) var(--space-4);
    list-style: none;
    overflow-y: auto;
}
.hp-grille__liste-cours[b-x3zdarttof] {
    all: unset;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0 10px;
    width: 100%;
    padding: 8px 10px;
    border-left: 3px solid var(--creneau-color, var(--accent));
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.hp-grille__liste-cours:hover[b-x3zdarttof] { background: var(--surface-alt); }
.hp-grille__liste-cours:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); }
.hp-grille__liste-heure[b-x3zdarttof] { grid-row: span 2; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); padding-top: 1px; }
.hp-grille__liste-titre[b-x3zdarttof] { font-size: 14px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-grille__liste-sous[b-x3zdarttof] { font-size: 12.5px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-grille__liste-jour[b-x3zdarttof] { margin: var(--space-3) var(--space-6) var(--space-5); align-self: flex-start; }

/* ══ Vue jour : une ligne par enseignant, site ou classe ═══════════════════ */
.hp-jour[b-x3zdarttof] { display: flex; flex-direction: column; gap: 12px; }

.hp-jour__barre[b-x3zdarttof] { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }

.hp-jour__jours[b-x3zdarttof] { display: flex; gap: 4px; flex-wrap: wrap; }
.hp-jour__jour[b-x3zdarttof] {
    all: unset;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--ink-muted);
    cursor: pointer;
    line-height: 32px;
}
.hp-jour__jour:hover[b-x3zdarttof] { color: var(--ink); border-color: var(--border-strong); }
.hp-jour__jour:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp-jour__jour--actif[b-x3zdarttof] { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.hp-jour__jour-date[b-x3zdarttof] { font-size: 11.5px; color: var(--ink-subtle); }
.hp-jour__jour-nb[b-x3zdarttof] { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-text); }

.hp-jour__regroupement[b-x3zdarttof] { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.hp-jour__select[b-x3zdarttof] {
    height: 32px;
    padding: 0 28px 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.hp-jour__note[b-x3zdarttof], .hp-jour__vide[b-x3zdarttof] { margin: 0; font-size: 13px; color: var(--ink-muted); }
.hp-jour__vide[b-x3zdarttof] { padding: 40px 0; text-align: center; }

.hp-jour__scroll[b-x3zdarttof] {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

/* Colonne des libellés fixe, puis les heures sur au moins 88 px chacune (défilement horizontal au-delà) */
.hp-jour__grille[b-x3zdarttof] {
    --libelle: 200px;
    min-width: calc(var(--libelle) + var(--heures) * 88px);
}

.hp-jour__entete[b-x3zdarttof], .hp-jour__ligne[b-x3zdarttof] { display: grid; grid-template-columns: var(--libelle) minmax(0, 1fr); }

.hp-jour__entete[b-x3zdarttof] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}
.hp-jour__coin[b-x3zdarttof] {
    position: sticky;
    left: 0;
    z-index: 1;
    padding: 8px 12px;
    background: var(--surface-alt);
    border-right: 1px solid var(--border);
    font-size: 12px;
    color: var(--ink-muted);
}
.hp-jour__heures[b-x3zdarttof] { display: grid; grid-template-columns: repeat(var(--heures), 1fr); }
.hp-jour__heures span[b-x3zdarttof] {
    padding: 8px 0 8px 6px;
    border-left: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-subtle);
}

.hp-jour__ligne[b-x3zdarttof] { border-bottom: 1px solid var(--border); }
.hp-jour__ligne:last-child[b-x3zdarttof] { border-bottom: none; }
.hp-jour__ligne:hover .hp-jour__libelle[b-x3zdarttof] { background: var(--surface-alt); }

.hp-jour__libelle[b-x3zdarttof] {
    position: sticky;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    padding: 6px 12px;
    background: var(--surface);
    border-right: 1px solid var(--border);
}
.hp-jour__libelle-nom[b-x3zdarttof] { font-size: 13.5px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-jour__libelle-info[b-x3zdarttof] { font-size: 11.5px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
.hp-jour__libelle-conflit[b-x3zdarttof] { color: var(--danger); }

/* Repères horaires : un trait par heure */
.hp-jour__piste[b-x3zdarttof] {
    position: relative;
    background-image: linear-gradient(to right, var(--border) 1px, transparent 1px);
    background-size: calc(100% / var(--heures)) 100%;
}

.hp-jour__cours[b-x3zdarttof] {
    all: unset;
    position: absolute;
    box-sizing: border-box;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
    border-left: 3px solid var(--creneau-color, var(--accent));
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--creneau-color, var(--accent)) 18%, var(--surface));
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.hp-jour__cours:hover[b-x3zdarttof] { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16); z-index: 1; }
.hp-jour__cours:focus-visible[b-x3zdarttof] { outline: 2px solid var(--accent); outline-offset: 1px; z-index: 1; }
.hp-jour__cours--conflit[b-x3zdarttof] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.hp-jour__cours--annule[b-x3zdarttof] { opacity: 0.55; }
.hp-jour__cours--annule .hp-jour__cours-titre[b-x3zdarttof] { text-decoration: line-through; }
.hp-jour__cours-titre[b-x3zdarttof], .hp-jour__cours-sous[b-x3zdarttof] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.hp-jour__cours-titre[b-x3zdarttof] { font-size: 12px; font-weight: 600; color: var(--ink); }
.hp-jour__cours-sous[b-x3zdarttof] { font-size: 11px; color: var(--ink-muted); }

@media (max-width: 640px) {
    .hp-jour__grille[b-x3zdarttof] { --libelle: 130px; }
}
/* /Components/Shared/HpPortee.razor.rz.scp.css */
/* Géométrie de la portée : 5 lignes espacées de --gap, la ligne 5 en haut */
.portee[b-tillzxsd21] {
    --gap: 24px;
    --top: 30px;
    --note-h: 20px;
    width: 100%;
}

.portee--compact[b-tillzxsd21] { --gap: 17px; --top: 26px; --note-h: 15px; }

/* Défilement horizontal interne sur petit écran : la page elle-même ne déborde jamais */
.portee__scroll[b-tillzxsd21] { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
.portee--compact .portee__scroll[b-tillzxsd21] { overflow: visible; }
.portee__inner[b-tillzxsd21] { min-width: 560px; padding: 0 2px; }
.portee--compact .portee__inner[b-tillzxsd21] { min-width: 0; }

.portee__inner--legende[b-tillzxsd21] {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-width: 600px;
}
.portee__inner--legende .portee__scale[b-tillzxsd21] { grid-column: 2; }

.portee__legende[b-tillzxsd21] { position: relative; }
.portee__legende span[b-tillzxsd21] {
    position: absolute;
    right: 14px;
    top: calc(var(--top) + (5 - var(--line)) * var(--gap) - 9px);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink-subtle);
    white-space: nowrap;
}

.portee__staff[b-tillzxsd21] {
    position: relative;
    height: calc(var(--top) + 4 * var(--gap) + 18px);
}

.portee__line[b-tillzxsd21] {
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--top) + (5 - var(--line)) * var(--gap));
    height: 1px;
    background: var(--staff);
    transform-origin: left center;
}

/* Instant présent */
.portee__now[b-tillzxsd21] {
    position: absolute;
    top: 10px; bottom: 0;
    width: 1px;
    background: var(--accent-line);
}
.portee__now-label[b-tillzxsd21] {
    position: absolute;
    top: -8px; left: 6px;
    font-size: 11px;
    color: var(--accent-text);
}

/* Une note = un cours, de la durée du cours */
.note[b-tillzxsd21] {
    position: absolute;
    top: calc(var(--top) + (5 - var(--line)) * var(--gap) - var(--note-h) / 2);
    height: var(--note-h);
    min-width: 14px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface-alt);
    cursor: default;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
button.note[b-tillzxsd21] { cursor: pointer; }
button.note:hover[b-tillzxsd21] { border-color: var(--ink-subtle); transform: translateY(-1px); }

.note__time[b-tillzxsd21] {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 0;
    font-size: 10.5px;
    color: var(--ink-subtle);
    white-space: nowrap;
}

.note--passe[b-tillzxsd21] { opacity: 0.55; }

.note--annule[b-tillzxsd21] {
    background: transparent;
    border-style: dashed;
}
.note--annule .note__time[b-tillzxsd21] { text-decoration: line-through; }

.note--prochain[b-tillzxsd21] { border-color: var(--accent-line); }

.note--selected[b-tillzxsd21] {
    opacity: 1;
    background: var(--accent);
    border-color: var(--accent);
}
.note--selected .note__time[b-tillzxsd21] { color: var(--accent-text); font-weight: 500; }

.portee--compact .note__time[b-tillzxsd21] { font-size: 9.5px; }

/* Échelle des heures */
.portee__scale[b-tillzxsd21] {
    position: relative;
    height: 22px;
    margin-top: 2px;
    font-size: 11px;
    color: var(--ink-subtle);
}
.portee__scale span[b-tillzxsd21] { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.portee__scale span:first-child[b-tillzxsd21] { transform: none; }
.portee__scale span:last-child[b-tillzxsd21] { transform: translateX(-100%); }

@media (prefers-reduced-motion: no-preference) {
    .portee__line[b-tillzxsd21] { animation: draw-line-b-tillzxsd21 0.9s var(--ease-out) both; animation-delay: calc(var(--line) * 60ms); }
}

@keyframes draw-line-b-tillzxsd21 {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* Petit écran : la journée entière tient dans la largeur, la légende cède la place (la liste détaille chaque cours) */
@media (max-width: 560px) {
    .portee__inner[b-tillzxsd21], .portee__inner--legende[b-tillzxsd21] { min-width: 0; }
    .portee__inner--legende[b-tillzxsd21] { grid-template-columns: minmax(0, 1fr); }
    .portee__inner--legende .portee__scale[b-tillzxsd21] { grid-column: 1; }
    .portee__legende[b-tillzxsd21] { display: none; }
    .note__time[b-tillzxsd21] { font-size: 9.5px; }
}

/* Horaires en chasse fixe ; les notes apparaissent l'une après l'autre */
.note__time[b-tillzxsd21], .portee__now-label[b-tillzxsd21], .portee__scale[b-tillzxsd21] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
    .note[b-tillzxsd21] { animation: note-in-b-tillzxsd21 0.6s var(--ease-out) backwards; animation-delay: calc(300ms + var(--i) * 70ms); }
}

@keyframes note-in-b-tillzxsd21 {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
/* /Components/Shared/HpReferentielSelect.razor.rz.scp.css */
/* ── HpReferentielSelect — Select amélioré pour les référentiels musicaux ───── */

.hp-ref-select[b-3d9xyee6rd] {
    position: relative;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    width: 100%;
}

/* ── Trigger ─────────────────────────────────────────────────────────────── */

.hp-ref-select__trigger[b-3d9xyee6rd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 var(--space-3);
    background: var(--surface-alt);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.hp-ref-select__trigger:hover:not(:disabled)[b-3d9xyee6rd] {
    border-color: var(--border-strong);
}

.hp-ref-select__trigger:focus-visible[b-3d9xyee6rd] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hp-ref-select--open .hp-ref-select__trigger[b-3d9xyee6rd] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Valeur / placeholder ────────────────────────────────────────────────── */

.hp-ref-select__value[b-3d9xyee6rd] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-ref-select__placeholder[b-3d9xyee6rd] {
    color: var(--ink-subtle);
}

/* ── Flèche ──────────────────────────────────────────────────────────────── */

.hp-ref-select__arrow[b-3d9xyee6rd] {
    flex-shrink: 0;
    color: var(--ink-muted);
    transition: transform 200ms ease;
}

.hp-ref-select--open .hp-ref-select__arrow[b-3d9xyee6rd] {
    transform: rotate(180deg);
}

/* ── Badge « custom » ────────────────────────────────────────────────────── */

.hp-ref-select__badge[b-3d9xyee6rd] {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    font-size: var(--text-2xs);
    font-weight: 500;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Dropdown ────────────────────────────────────────────────────────────── */

.hp-ref-select__dropdown[b-3d9xyee6rd] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elev);
    overflow: hidden;
}

/* ── Champ de recherche ──────────────────────────────────────────────────── */

.hp-ref-select__search[b-3d9xyee6rd] {
    padding: var(--space-2) var(--space-2-5);
    border-bottom: 1px solid var(--border);
}

.hp-ref-select__search-input[b-3d9xyee6rd] {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 0 var(--space-2-5);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    transition: border-color 150ms ease;
    box-sizing: border-box;
}

.hp-ref-select__search-input:focus[b-3d9xyee6rd] {
    border-color: var(--accent);
}

/* ── Liste d'options ─────────────────────────────────────────────────────── */

.hp-ref-select__list[b-3d9xyee6rd] {
    list-style: none;
    margin: 0;
    padding: var(--space-1) 0;
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hp-ref-select__item[b-3d9xyee6rd] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    min-height: 44px;
    transition: background 100ms ease, color 100ms ease;
}

.hp-ref-select__item:hover[b-3d9xyee6rd] {
    background: var(--accent);
    color: var(--accent-ink);
}

.hp-ref-select__item:hover .hp-ref-select__badge[b-3d9xyee6rd] {
    background: color-mix(in srgb, var(--surface) 20%, transparent);
    color: var(--surface);
    border-color: color-mix(in srgb, var(--surface) 35%, transparent);
}

.hp-ref-select__item--selected[b-3d9xyee6rd] {
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
    font-weight: 500;
}

.hp-ref-select__item--selected:hover[b-3d9xyee6rd] {
    background: var(--accent);
    color: var(--accent-ink);
}

/* Message « aucun résultat » */
.hp-ref-select__empty[b-3d9xyee6rd] {
    padding: var(--space-3) var(--space-3);
    color: var(--ink-subtle);
    font-size: var(--text-sm);
    font-style: italic;
    list-style: none;
}

/* ── Bouton « + Ajouter » ────────────────────────────────────────────────── */

.hp-ref-select__create[b-3d9xyee6rd] {
    display: flex;
    align-items: center;
    gap: var(--space-1-5);
    width: 100%;
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 120ms ease;
}

.hp-ref-select__create:hover:not(:disabled)[b-3d9xyee6rd] {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.hp-ref-select__create:disabled[b-3d9xyee6rd] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Spinner (pseudo-élément sur l'élément dédié) ───────────────────────── */

.hp-ref-select__spinner[b-3d9xyee6rd] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: hp-ref-spin-b-3d9xyee6rd 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes hp-ref-spin-b-3d9xyee6rd {
    to { transform: rotate(360deg); }
}

/* ── Message de validation ───────────────────────────────────────────────── */

.hp-ref-select__error[b-3d9xyee6rd] {
    margin: var(--space-1) 0 0 0;
    font-size: var(--text-xs);
    color: var(--danger);
}

/* ── État désactivé ──────────────────────────────────────────────────────── */

.hp-ref-select--disabled[b-3d9xyee6rd] {
    opacity: 0.5;
    pointer-events: none;
}

/* ── Dark mode — géré automatiquement via les variables CSS ─────────────── */
/* Les tokens var(--surface), var(--border), var(--ink), var(--accent), etc.
   changent de valeur dans [data-theme="dark"] — aucune règle supplémentaire
   n'est nécessaire ici. */

/* ── Label — copie du style global hp-field__label (scoped CSS) ── */

.hp-field__label[b-3d9xyee6rd] {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0;
}
/* /Components/Shared/HpStatusPill.razor.rz.scp.css */
/* HpStatusPill.razor.css */

.hp-pill[b-bmnd6owdw2] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.4;
}

.hp-pill__dot[b-bmnd6owdw2] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Actif / succès */
.hp-pill--active[b-bmnd6owdw2] {
    color: var(--libre);
    background: var(--libre-soft);
    border-color: var(--libre-border);
}
.hp-pill--active .hp-pill__dot[b-bmnd6owdw2] { background: var(--libre); }

/* Soumis / warning */
.hp-pill--paused[b-bmnd6owdw2] {
    color: var(--warning);
    background: var(--warning-soft);
    border-color: var(--warning-border);
}
.hp-pill--paused .hp-pill__dot[b-bmnd6owdw2] { background: var(--warning); }

/* Validé / info — token --info indépendant (pas --notion réservé aux tags) */
.hp-pill--info[b-bmnd6owdw2] {
    color: var(--info);
    background: var(--info-soft);
    border-color: var(--info-border);
}
.hp-pill--info .hp-pill__dot[b-bmnd6owdw2] { background: var(--info); }

/* Suspendu / danger */
.hp-pill--danger[b-bmnd6owdw2] {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: var(--danger-border);
}
.hp-pill--danger .hp-pill__dot[b-bmnd6owdw2] { background: var(--danger); }

/* Diffusé / accent */
.hp-pill--accent[b-bmnd6owdw2] {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--accent-border);
}
.hp-pill--accent .hp-pill__dot[b-bmnd6owdw2] { background: var(--accent); }

/* Brouillon / neutral */
.hp-pill--neutral[b-bmnd6owdw2] {
    color: var(--ink-muted);
    background: var(--surface-alt);
    border-color: var(--border);
}
.hp-pill--neutral .hp-pill__dot[b-bmnd6owdw2] { background: var(--ink-subtle); }
/* /Components/Shared/HpSwitch.razor.rz.scp.css */
/* ── HpSwitch — Interrupteur on/off dans le thème HemiolePro ───────────────── */

.hp-switch[b-f8ijosfo1f] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2-5);
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    min-height: 44px;
}

/* Masque la checkbox native */
.hp-switch__input[b-f8ijosfo1f] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Piste */
.hp-switch__track[b-f8ijosfo1f] {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background-color: var(--border-strong);
    transition: background-color 150ms ease;
    flex-shrink: 0;
}

/* Poignée */
.hp-switch__thumb[b-f8ijosfo1f] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--surface);
    box-shadow: var(--shadow-card);
    transition: transform 150ms ease;
}

/* État ON — checkbox cochée */
.hp-switch__input:checked + .hp-switch__track[b-f8ijosfo1f] {
    background-color: var(--accent);
}

.hp-switch__input:checked + .hp-switch__track .hp-switch__thumb[b-f8ijosfo1f] {
    transform: translateX(18px);
}

/* Focus visible */
.hp-switch__input:focus-visible + .hp-switch__track[b-f8ijosfo1f] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Désactivé */
.hp-switch__input:disabled + .hp-switch__track[b-f8ijosfo1f] {
    opacity: 0.45;
    cursor: not-allowed;
}

.hp-switch:has(.hp-switch__input:disabled)[b-f8ijosfo1f] {
    cursor: not-allowed;
}

/* Label */
.hp-switch__label[b-f8ijosfo1f] {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--ink);
    line-height: 1.4;
}

/* ── Dark mode ──────────────────────────────────────────────────────────────── */
[data-theme="dark"] .hp-switch__input:checked + .hp-switch__track[b-f8ijosfo1f] {
    background-color: var(--accent);
}

[data-theme="dark"] .hp-switch__thumb[b-f8ijosfo1f] {
    background-color: var(--surface);
}
/* /Components/Shared/HpTabs.razor.rz.scp.css */
/* HpTabs.razor.css — styles scopés pour le composant onglets */

.hp-tabs[b-gu0c5i1glv] {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--border);
    padding: 0 var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
}

.hp-tabs[b-gu0c5i1glv]::-webkit-scrollbar {
    display: none;
}

.hp-tabs__btn[b-gu0c5i1glv] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink-muted);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    min-height: 44px;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.hp-tabs__btn:hover[b-gu0c5i1glv] {
    color: var(--ink);
    background: var(--accent-soft);
}

.hp-tabs__btn:focus-visible[b-gu0c5i1glv] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.hp-tabs__btn--active[b-gu0c5i1glv] {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.hp-tabs__icon[b-gu0c5i1glv] {
    display: flex;
    align-items: center;
    opacity: 1;
}

.hp-tabs__btn--active .hp-tabs__icon[b-gu0c5i1glv] {
    opacity: 1;
}

.hp-tabs__badge[b-gu0c5i1glv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 var(--space-1-5);
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: var(--text-2xs);
    font-weight: 700;
    font-family: var(--font-mono);
}

.hp-tabs__btn--active .hp-tabs__badge[b-gu0c5i1glv] {
    background: var(--accent);
    color: var(--accent-ink);
}
/* /Components/Shared/HpTagChip.razor.rz.scp.css */
/* HpTagChip.razor.css */

.hp-tag-chip[b-879gc1kazp] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.4;
}

/* Taille réduite */
.hp-tag-chip--sm[b-879gc1kazp] {
    font-size: var(--text-2xs);
    padding: 2px 7px;
}

.hp-tag-chip__dot[b-879gc1kazp] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Notion (bleu) ── */
.hp-tag-chip--notion[b-879gc1kazp] {
    color: var(--notion);
    background: var(--notion-soft);
    border-color: var(--notion-border);
}

.hp-tag-chip--notion .hp-tag-chip__dot[b-879gc1kazp] {
    background: var(--notion);
}

/* ── Exercice (corail) ── */
.hp-tag-chip--exercice[b-879gc1kazp] {
    color: var(--exercice);
    background: var(--exercice-soft);
    border-color: var(--exercice-border);
}

.hp-tag-chip--exercice .hp-tag-chip__dot[b-879gc1kazp] {
    background: var(--exercice);
}

/* ── Libre (vert) ── */
.hp-tag-chip--libre[b-879gc1kazp] {
    color: var(--libre);
    background: var(--libre-soft);
    border-color: var(--libre-border);
}

.hp-tag-chip--libre .hp-tag-chip__dot[b-879gc1kazp] {
    background: var(--libre);
}

/* ── Custom ── */
.hp-tag-chip--custom[b-879gc1kazp] {
    color: var(--chip-color, var(--ink-muted));
    background: var(--chip-bg, var(--surface-alt));
    border-color: var(--chip-border, var(--border));
}

.hp-tag-chip--custom .hp-tag-chip__dot[b-879gc1kazp] {
    background: var(--chip-color, var(--ink-subtle));
}
/* /Components/TableauDeBord/DialoguePreparation.razor.rz.scp.css */
.prep[b-dawu83w7ff] { display: flex; flex-direction: column; gap: 18px; }

.prep__cours[b-dawu83w7ff] { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.prep__cours strong[b-dawu83w7ff] { font-size: 16px; }
.prep__cours span[b-dawu83w7ff] { font-size: 13px; color: var(--ink-muted); }

.prep__portee[b-dawu83w7ff] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prep__choix[b-dawu83w7ff] {
    height: 40px;
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer;
}
.prep__choix--actif[b-dawu83w7ff] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.prep__liste[b-dawu83w7ff] {
    display: flex; flex-direction: column;
    max-height: 420px; overflow-y: auto;
    padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md);
}
.prep__etiquette[b-dawu83w7ff] { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 8px; border-radius: 6px; font-size: 13.5px; cursor: pointer; }
.prep__etiquette:hover[b-dawu83w7ff] { background: var(--surface-alt); }
.prep__etiquette--n1[b-dawu83w7ff] { font-weight: 500; }
.prep__etiquette--n2[b-dawu83w7ff] { padding-left: 24px; }
.prep__etiquette--n3[b-dawu83w7ff] { padding-left: 40px; }
.prep__etiquette input[b-dawu83w7ff] { accent-color: var(--accent); }
.prep__nombre[b-dawu83w7ff] { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-subtle); }
