/*
 * Cuisine — présentation commune (Bootstrap 5.3).
 * Charte reprise de hotellerie.serviteurs.org : bleu #5782bd, or #d1971b,
 * Oswald pour les titres et le menu, Roboto pour le texte.
 */

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap");

:root {
    --hot-blue: #5782bd;
    --hot-blue-rgb: 87, 130, 189;
    --hot-blue-deep: #39557a;
    --hot-blue-dark: #2c4260;
    --hot-blue-soft: #eef3fa;
    --hot-gold: #d1971b;
    --hot-gold-dark: #aa7610;
    --hot-ink: #31465f;
    --hot-muted: #6d7b8d;
    --hot-line: #dbe3ee;
    --hot-bg: #f3f5f8;
    --hot-shadow-soft: 0 12px 32px rgba(49, 70, 95, .09);
    --hot-danger: #b94a4a;

    --bs-primary: var(--hot-blue);
    --bs-primary-rgb: var(--hot-blue-rgb);
    --bs-body-font-family: "Roboto", Arial, sans-serif;
    --bs-body-color: var(--hot-ink);
    --bs-body-bg: var(--hot-bg);
    --bs-link-color: var(--hot-blue-deep);
    --bs-link-color-rgb: 57, 85, 122;
    --bs-link-hover-color: var(--hot-gold-dark);
    --bs-link-hover-color-rgb: 170, 118, 16;
    --bs-border-color: var(--hot-line);
    --bs-border-radius: .55rem;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at 90% 0, rgba(var(--hot-blue-rgb), .08), transparent 30rem),
        linear-gradient(180deg, #fafbfd 0, var(--hot-bg) 34rem);
    color: var(--hot-ink);
    font-size: .95rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--hot-blue-dark);
    font-family: "Oswald", Arial, sans-serif;
    font-weight: 400;
}

a {
    text-underline-offset: .16em;
}

/* ---------- Boutons Bootstrap aux couleurs de la charte ---------- */

.btn-primary {
    --bs-btn-bg: var(--hot-blue);
    --bs-btn-border-color: var(--hot-blue);
    --bs-btn-hover-bg: var(--hot-blue-deep);
    --bs-btn-hover-border-color: var(--hot-blue-deep);
    --bs-btn-active-bg: var(--hot-blue-dark);
    --bs-btn-active-border-color: var(--hot-blue-dark);
    --bs-btn-disabled-bg: var(--hot-blue);
    --bs-btn-disabled-border-color: var(--hot-blue);
}

.btn-outline-primary {
    --bs-btn-color: var(--hot-blue-deep);
    --bs-btn-border-color: var(--hot-blue);
    --bs-btn-hover-bg: var(--hot-blue);
    --bs-btn-hover-border-color: var(--hot-blue);
    --bs-btn-active-bg: var(--hot-blue-deep);
    --bs-btn-active-border-color: var(--hot-blue-deep);
}

.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--hot-gold);
    --bs-btn-border-color: var(--hot-gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--hot-gold-dark);
    --bs-btn-hover-border-color: var(--hot-gold-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--hot-gold-dark);
    --bs-btn-active-border-color: var(--hot-gold-dark);
}

.btn {
    font-weight: 500;
}

/* ---------- En-tête et menu ---------- */

.site-header {
    z-index: 1030;
}

.site-navbar {
    padding: .45rem 0;
    background-color: var(--hot-blue);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .04));
    border-bottom: 3px solid var(--hot-gold);
    box-shadow: 0 9px 26px rgba(44, 66, 96, .22);
}

.site-navbar .navbar-inner {
    max-width: 1680px;
    min-height: 64px;
}

.navbar-brand {
    flex-shrink: 0;
    margin-right: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: #fff;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: #fff;
    font-family: "Oswald", Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-copy small {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .78);
    font-size: .66rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-navbar .nav-link,
.btn-nav-outline,
.btn-nav-light {
    font-family: "Oswald", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.site-navbar .nav-link {
    position: relative;
    margin: .1rem .15rem;
    padding: .7rem .6rem !important;
    color: #fff !important;
    opacity: .95;
}

.site-navbar .nav-link::before {
    content: "";
    position: absolute;
    right: .6rem;
    bottom: .4rem;
    left: .6rem;
    height: 2px;
    background: var(--hot-gold);
    opacity: 0;
    transform: scaleX(.3);
    transition: opacity .18s ease, transform .18s ease;
}

.site-navbar .nav-link:hover::before,
.site-navbar .nav-link:focus::before,
.site-navbar .nav-link.active::before,
.site-navbar .nav-link.show::before {
    opacity: 1;
    transform: scaleX(1);
}

.site-navbar .dropdown-toggle::after {
    margin-left: .35rem;
    vertical-align: .15em;
}

.site-navbar .dropdown-menu {
    min-width: 15rem;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    border: 1px solid rgba(49, 70, 95, .15);
    border-radius: .5rem;
    box-shadow: 0 14px 32px rgba(36, 52, 72, .17);
}

.site-navbar .dropdown-item {
    padding: .45rem .9rem;
    color: var(--hot-ink);
    font-size: .9rem;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus,
.site-navbar .dropdown-item.active {
    color: var(--hot-blue-deep);
    background: var(--hot-blue-soft);
}

.site-navbar .dropdown-header {
    padding: .45rem .9rem .2rem;
    color: var(--hot-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.btn-nav-outline,
.btn-nav-light {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: .88rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all .18s ease;
}

.btn-nav-light {
    color: var(--hot-blue-deep);
    background: #fff;
    border: 1px solid #fff;
}

.btn-nav-light:hover,
.btn-nav-light:focus {
    color: #fff;
    background: var(--hot-gold);
    border-color: var(--hot-gold);
}

.btn-nav-outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .76);
}

.btn-nav-outline:hover,
.btn-nav-outline:focus {
    color: var(--hot-blue-deep);
    background: #fff;
}

.nav-user {
    color: rgba(255, 255, 255, .8);
    font-size: .82rem;
}

@media (min-width: 992px) {
    .site-navbar .menu-principal {
        flex: 1 1 auto;
        justify-content: space-evenly;
    }
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        padding: .5rem 0 1rem;
    }

    .site-navbar .dropdown-menu {
        border: 0;
        box-shadow: none;
    }

    .site-navbar .outils-entete {
        padding-top: .75rem;
        border-top: 1px solid rgba(255, 255, 255, .25);
    }
}

.bandeau-inventaire {
    padding: .5rem 0;
    color: #5c4106;
    background: #fff4d6;
    border-bottom: 1px solid #f0d58d;
    font-size: .9rem;
}

/* ---------- Contenu ---------- */

.page-contenu {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 1.75rem clamp(1rem, 2.5vw, 2.5rem) 3rem;
}

.page-entete {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.page-rubrique {
    margin-bottom: .1rem;
    color: var(--hot-gold-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.page-entete h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.page-entete p {
    max-width: 60rem;
    margin: .45rem 0 0;
    color: var(--hot-muted);
}

.page-entete__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* Carte (panneau blanc) */
.carte {
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hot-line);
    border-radius: .75rem;
    box-shadow: var(--hot-shadow-soft);
}

.carte__entete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding: .7rem 1rem;
    background: var(--hot-blue-soft);
    border-bottom: 1px solid var(--hot-line);
}

.carte__entete h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.carte__corps {
    padding: 1.1rem 1.25rem;
}

.carte__pied {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    padding: .8rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid var(--hot-line);
}

.compteur {
    display: inline-block;
    margin-left: .35rem;
    padding: .05rem .45rem;
    color: var(--hot-blue-deep);
    background: #fff;
    border: 1px solid rgba(var(--hot-blue-rgb), .35);
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    vertical-align: middle;
}

/* ---------- Tableaux ---------- */

.table-cuisine {
    width: 100%;
    margin: 0;
    font-size: .88rem;
}

.table-cuisine > :not(caption) > * > * {
    padding: .5rem .65rem;
    vertical-align: middle;
}

.table-cuisine thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #2c435e;
    background: #e8f0f8;
    border-bottom: 2px solid #8ea8c5;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table-cuisine thead th a {
    color: inherit;
    text-decoration: none;
}

.table-cuisine thead th a.asc::after { content: " ▲"; font-size: .7em; }
.table-cuisine thead th a.tri-local { color: inherit; text-decoration: none; cursor: pointer; } /* lot 13 */
.table-cuisine thead th a.desc::after { content: " ▼"; font-size: .7em; }

.table-cuisine tbody tr:nth-child(even) > * {
    background: #fafbfd;
}

.table-cuisine tbody tr:hover > * {
    background: #f0f5fb;
}

.table-cuisine td.nombre,
.table-cuisine th.nombre {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.table-cuisine tr.ligne-archivee > * {
    color: var(--hot-muted);
    font-style: italic;
}

.table-cuisine tr.ligne-alerte > * {
    background: #fff1f1 !important;
}

.table-cuisine .form-control,
.table-cuisine .form-select {
    min-width: 5rem;
    padding: .25rem .45rem;
    font-size: .88rem;
}

.table-cuisine .input {
    margin: 0 !important;
}

.table-scroll {
    width: 100%;
    overflow: auto;
}

.table-scroll--haute {
    max-height: 70vh;
}

/* Boutons d'action d'une ligne (Voir / Modifier / Supprimer) */
.actions-ligne {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: .25rem;
}

.btn-ligne {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .12rem .45rem;
    color: var(--hot-blue-deep);
    background: #fff;
    border: 1px solid var(--hot-blue);
    border-radius: .34rem;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn-ligne:hover {
    color: var(--hot-blue-dark);
    background: var(--hot-blue-soft);
}

.btn-ligne--danger {
    color: #8b2929;
    border-color: var(--hot-danger);
}

.btn-ligne--danger:hover {
    color: #fff;
    background: var(--hot-danger);
}

.liste-vide {
    padding: 2rem 1rem;
    color: var(--hot-muted);
    text-align: center;
}

/* ---------- Fiche de détail ---------- */

.fiche {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0 1.5rem;
    margin: 0;
}

.fiche__ligne {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--hot-line);
}

.fiche dt {
    color: var(--hot-muted);
    font-size: .82rem;
    font-weight: 500;
}

.fiche dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

/* ---------- Formulaires ---------- */

.form-label,
legend.form-label {
    margin-bottom: .35rem;
    color: var(--hot-blue-deep);
    font-size: .85rem;
    font-weight: 700;
}

.form-control,
.form-select {
    background-color: #fff;
    border-color: #cbd6e4;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hot-blue);
    box-shadow: 0 0 0 .2rem rgba(var(--hot-blue-rgb), .13);
}

input[type=checkbox],
input[type=radio] {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--hot-blue);
    vertical-align: -.15em;
}

.input.checkbox label {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    font-weight: 500;
}

.input.has-error .form-control,
.input.has-error .form-select,
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--hot-danger);
    background-color: #fff8f8;
}

.input.has-error .form-label,
.input.has-error > label {
    color: var(--hot-danger);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 .2rem rgba(185, 74, 74, .2);
}

.invalid-feedback {
    color: var(--hot-danger);
}

.formulaire {
    max-width: 960px;
}

.formulaire fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.formulaire .grille-champs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0 1.25rem;
}

/* Listes de cases à cocher (produits à ajouter…) */
.liste-cases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .25rem .75rem;
    max-height: 60vh;
    margin: 0;
    padding: .5rem;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--hot-line);
    border-radius: .5rem;
}

.liste-cases > legend {
    grid-column: 1 / -1;
}

.liste-cases .checkbox {
    margin: 0;
}

.liste-cases label.lfilter {
    display: flex;
    gap: .5rem;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: .3rem .45rem;
    border-radius: .35rem;
    font-size: .88rem;
    cursor: pointer;
}

.liste-cases label.lfilter:hover {
    background: var(--hot-blue-soft);
}

.liste-cases label.lfilter:has(input:checked) {
    color: var(--hot-blue-dark);
    background: #e3ecf8;
    font-weight: 600;
}

/* ---------- Saisie des lignes (livraisons, commandes, repas, inventaire) ---------- */

.saisie-encours {
    background-color: #fffbe6 !important;
}

.saisie-ok {
    border-color: #2e8b57 !important;
    box-shadow: 0 0 0 .18rem rgba(46, 139, 87, .18) !important;
    transition: box-shadow .4s ease;
}

.saisie-alerte {
    border-color: #d9534f !important;
    background-color: #fff5f5 !important;
}

.total-document {
    color: var(--hot-blue-dark);
    font-family: "Oswald", Arial, sans-serif;
    font-size: 1.6rem;
}

.icone-genre {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ---------- Tableau de bord ---------- */

.tuiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.tuile {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.1rem 1.2rem;
    color: var(--hot-ink);
    background: #fff;
    border: 1px solid var(--hot-line);
    border-top: 4px solid var(--hot-blue);
    border-radius: .75rem;
    box-shadow: var(--hot-shadow-soft);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.tuile:hover,
.tuile:focus {
    color: var(--hot-ink);
    box-shadow: 0 16px 36px rgba(49, 70, 95, .16);
    transform: translateY(-2px);
}

.tuile img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.tuile strong {
    color: var(--hot-blue-dark);
    font-family: "Oswald", Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.tuile span {
    color: var(--hot-muted);
    font-size: .85rem;
}

.tuile--or { border-top-color: var(--hot-gold); }
.tuile--vert { border-top-color: #3f8f5f; }
.tuile--rouge { border-top-color: var(--hot-danger); }

/* ---------- Pagination ---------- */

.pagination-cuisine {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding: .7rem 1rem;
    background: #f8fafc;
    border-top: 1px solid var(--hot-line);
    font-size: .85rem;
}

.pagination-cuisine .pagination {
    --bs-pagination-color: var(--hot-blue-deep);
    --bs-pagination-active-bg: var(--hot-blue);
    --bs-pagination-active-border-color: var(--hot-blue);
    --bs-pagination-font-size: .85rem;
    margin: 0;
}

/* ---------- Recherche dans une liste ---------- */

.barre-outils {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.barre-outils .input {
    margin: 0 !important;
}

/* ---------- Connexion ---------- */

.connexion {
    max-width: 440px;
    margin: 3rem auto;
}

/* ---------- Pied de page ---------- */

.site-footer {
    padding: 1rem 0;
    color: var(--hot-muted);
    border-top: 1px solid var(--hot-line);
    font-size: .8rem;
}

/* ---------- Impression ---------- */

@media print {
    .site-header,
    .site-footer,
    .page-entete__actions,
    .actions-ligne,
    .pagination-cuisine,
    .flash-zone,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .carte {
        border: 0;
        box-shadow: none;
    }
}

/* Produits groupés par genre dans les listes à cocher */
.liste-cases .liste-cases {
    grid-column: 1 / -1;
    max-height: none;
    padding: 0 0 .5rem;
    border: 0;
    border-bottom: 1px solid var(--hot-line);
    border-radius: 0;
}

.liste-cases .liste-cases > legend {
    margin: .35rem 0 .15rem;
    color: var(--hot-gold-dark);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.produit-libelle {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.produit-details {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    font-weight: 400;
}

/* lot 16 : produit Cèdre (prix de la centrale d'achat) : nom en vert foncé et badge « Cèdre » */
.produit-cedre {
    color: #1d6b43;
    font-weight: 600;
}

.badge-cedre {
    background: #1d6b43;
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
}

.produit-libelle:has(.badge-cedre) {
    border-left: 3px solid #1d6b43;
    padding-left: .4rem;
}

/* Inventaire en cours : produit compté */
.table-cuisine tr.ligne-faite > * {
    background: #f1f8f3 !important;
}

.table-cuisine tr.ligne-faite .qte {
    border-color: #3f8f5f;
}

/* Onglets et pastilles aux couleurs de la charte */
.nav-pills {
    --bs-nav-pills-link-active-bg: var(--hot-blue);
    --bs-nav-link-color: var(--hot-blue-deep);
    --bs-nav-link-hover-color: var(--hot-gold-dark);
}

.nav-tabs {
    --bs-nav-link-color: var(--hot-blue-deep);
    --bs-nav-link-hover-color: var(--hot-gold-dark);
    --bs-nav-tabs-link-active-color: var(--hot-blue-dark);
}

.carte__entete .nav-tabs {
    margin-bottom: -.7rem;
    border-bottom: 0;
}

.accordion {
    --bs-accordion-active-bg: var(--hot-blue-soft);
    --bs-accordion-active-color: var(--hot-blue-dark);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(var(--hot-blue-rgb), .13);
}

/* Tri des colonnes (table[data-tri]) */
th.tri-asc::after { content: " ▲"; font-size: .7em; }
th.tri-desc::after { content: " ▼"; font-size: .7em; }

/* Lignes cliquables */
tr[data-href] {
    cursor: pointer;
}

.modal-content {
    border-radius: .75rem;
}

.modal-header {
    background: var(--hot-blue-soft);
}

/* Éditeur de courriel (HugeRTE) refusé : même bordure rouge que les champs */
.input.has-error .tox-hugerte {
    border-color: var(--hot-danger) !important;
}

/* Explication repliable (coût des repas) */
details.explication > summary {
    cursor: pointer;
    list-style: none;
}

details.explication > summary::-webkit-details-marker {
    display: none;
}

details.explication > summary::after {
    content: "▸";
    color: var(--hot-blue);
    font-size: 1.1rem;
}

details.explication[open] > summary::after {
    content: "▾";
}

details.explication:not([open]) > summary {
    border-bottom: 0;
}

/* Formulaire qui englobe une fenêtre défilante : l'en-tête reste visible, seul le corps défile */
.modale-formulaire {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
}

/* lot 14 : aperçu d'un courriel conservé (iframe isolé) */
.apercu-courriel { width: 100%; min-height: 60vh; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .375rem; background: #fff; }
/* lot 14 : filtres des listes de commandes et de livraisons */
.filtres-documents { width: 100%; }

/* lot 16 : fournisseurs du produit, avec la case « Cèdre » */
.liste-fournisseurs-cedre { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .35rem .75rem; }
.fournisseur-cedre { display: flex; align-items: center; gap: .5rem; padding: .3rem .5rem; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .375rem; }
.fournisseur-cedre.est-lie { border-color: #39557a; background: rgba(57, 85, 122, .05); }
.fournisseur-cedre:has(.fournisseur-cedre-case:checked) { border-color: #1d6b43; background: rgba(29, 107, 67, .07); }

/* lot 18 : droits d'accès : page nouvelle (droits jamais vérifiés) */
#table-accs tr.acc-nouvelle > td { background: #fdecec !important; }
#table-accs tr.acc-nouvelle > td:first-child,
#table-accs tr.acc-nouvelle > td:nth-child(2) { color: #b02a37; font-weight: 600; }
#table-accs tr.acc-nouvelle > td:first-child { box-shadow: inset 3px 0 0 #b02a37; }

/* lot 19 : saisie d'inventaire gardée sur l'appareil (réseau coupé), pas encore envoyée */
#tbody .en-attente { border-color: #c77700 !important; background: #fff6e5; box-shadow: 0 0 0 .15rem rgba(199, 119, 0, .2); }

/* lot 22 : journal : colonne des détails */
#table-journal .journal-details { min-width: 16rem; max-width: 34rem; }
#table-journal .journal-details details summary { cursor: pointer; color: var(--bs-link-color, #2357a6); }
.text-decoration-reset { color: inherit; text-decoration: none; }
