/* ============================================================
   SOUS-SITES DES FLEURS DU MONDE — styles partagés
   Complète css/styles.css (copie de la feuille du site principal,
   à ne jamais modifier). Tout est additif, préfixé « ss- » ou
   « fdm- », sauf quelques neutralisations ciblées du gabarit.
   ============================================================ */

/* ---------- Chrome unifié : bandeau à deux étages ---------- */

header.ss-entete {
    padding: 0;
    text-align: left;
    z-index: 1500;
}

/* Étage 1 — la bande Les Fleurs du Monde (toujours vert antique).
   Au chargement : le grand bandeau du site principal (titre centré,
   nav des 4 sections dessous). Au défilement de main : il se rétracte
   en bande fine (classe ss-reduit posée sur le header par js/site.js).
   Le morphing repose sur le positionnement absolu des deux éléments —
   toutes les propriétés animées sont interpolables. */
.fdm-bande {
    position: relative;
    height: 106px;
    background: var(--vert_antique);
}

.fdm-marque {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #f8f9fa;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: normal;   /* comme le h1 du site principal */
    white-space: nowrap;
}

.fdm-marque:hover { text-decoration: underline; text-underline-offset: 15%; }

/* La fleur ❀ n'apparaît que dans la bande rétractée */
.fdm-marque .fdm-fleur { display: none; }

/* Barre d'outils de l'arbre, insérée par js/site.js en tête de la
   sidebar : tout déplier (⊞), tout replier (⊟), replier la barre (⇤).
   Sticky : elle reste visible au défilement du menu. Sidebar repliée,
   seule la flèche (inversée en ⇥) subsiste, centrée dans la bande. */
.ss-outils-arbre {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.3rem 0.45rem 0.4rem;
    margin-bottom: 0.9rem;   /* écart franc avec les têtes de sections */
    background: #e9ecef;
    z-index: 10;
}

.ss-outils-arbre button {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a8a8a;
    font-size: 1.05rem;
    line-height: 24px;
    text-align: center;
}

.ss-outils-arbre button:hover { color: #4a4a4a; }

.ss-chercher::before { content: "\2315"; }  /* ⌕ */
.ss-deplier::before { content: "\229e"; }   /* ⊞ */
.ss-replier::before { content: "\229f"; }   /* ⊟ */
.ss-repli::before   { content: "\21e4"; }   /* ⇤ */

/* Champ de filtrage (⌕) : pleine largeur sous la rangée de boutons */
.ss-outils-arbre input {
    flex: 1 1 100%;
    display: none;
    min-width: 0;
    margin-top: 0.3rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
}
.ss-outils-arbre.ss-cherche input { display: block; }
body.ss-nav-fermee .ss-outils-arbre input { display: none; }

/* Filtrage : seules les entrées contenant la chaîne (li.ss-hit), leur
   chemin d'ancêtres (li.ss-hit-chemin) et la descendance d'une entrée
   trouvée restent visibles. */
.ss-filtre .menu li { display: none; }
.ss-filtre .menu li.ss-hit,
.ss-filtre .menu li.ss-hit-chemin,
.ss-filtre .menu li.ss-hit li { display: block; }
.ss-filtre .menu ul.submenu { display: none; }
.ss-filtre .menu li.ss-hit > ul.submenu,
.ss-filtre .menu li.ss-hit ul.submenu,
.ss-filtre .menu li.ss-hit-chemin > ul.submenu { display: block; }

body.ss-nav-fermee .ss-outils-arbre {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}
body.ss-nav-fermee .ss-chercher,
body.ss-nav-fermee .ss-deplier,
body.ss-nav-fermee .ss-replier { display: none; }
body.ss-nav-fermee .ss-repli::before { content: "\21e5"; }   /* ⇥ */

/* Repli : la largeur s'interpole ; le menu garde sa largeur d'origine
   (pas de recomposition pendant la glissade) et s'efface. */
/* Transitions du chrome : activées seulement après le premier rendu
   (body.ss-pret, posé par js/site.js en double requestAnimationFrame).
   Les états retenus — chrome compact de session, sidebar repliée — se
   peignent ainsi directement, sans animation de rattrapage au
   chargement de chaque page. */
body.ss-pret .fdm-bande { transition: height 0.25s ease; }
body.ss-pret .fdm-marque {
    transition: font-size 0.25s ease, top 0.25s ease, left 0.25s ease,
                transform 0.25s ease, letter-spacing 0.25s ease;
}
body.ss-pret .fdm-nav { transition: bottom 0.25s ease, left 0.25s ease, transform 0.25s ease; }
body.ss-pret .fdm-nav ul { transition: gap 0.25s ease; }
body.ss-pret .fdm-nav ul li a { transition: font-size 0.25s ease; }
body.ss-pret .ss-bande2 { transition: padding 0.25s ease; }
body.ss-pret .ss-bande2 h1 { transition: font-size 0.25s ease; }
body.ss-pret .ss-bande2 .devise {
    transition: max-height 0.25s ease, opacity 0.2s ease;
}
body.ss-pret .sidebar { transition: width 0.25s ease; }
body.ss-pret .sidebar > .menu {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (min-width: 769px) {
    body.ss-nav-fermee .sidebar {
        width: 26px;
        overflow: hidden;
    }
    body.ss-nav-fermee .sidebar > .menu {
        width: 16vw;
        opacity: 0;
        visibility: hidden;
    }
}

.fdm-nav {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;   /* l'absolu à left:50% ne dispose que d'une
                             demi-largeur : sans ceci les liens se replient */
}

/* Liens de nav : tailles/couleurs/survol de styles.css (nav ul li a),
   seul l'écartement est piloté ici (gap interpolable, contrairement
   au width: 14vw des li du site principal). */
.fdm-nav ul {
    display: flex;
    gap: 6vw;
    margin: 0;
    padding: 0;
}

.fdm-nav ul li {
    width: auto;              /* neutralise nav ul li { width: 14vw } */
    margin: 0;
}

/* État rétracté de l'étage 1 : la bande fine d'origine */
header.ss-reduit .fdm-bande { height: 36px; }

header.ss-reduit .fdm-marque {
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.06em;
}

header.ss-reduit .fdm-marque .fdm-fleur { display: inline; }

/* Bande fine : la nav quitte le centre pour s'aligner sur le bord droit
   de la sidebar déployée (16vw + retrait de 1.2rem), à l'aplomb du titre
   de la bande 2. Position fixe : l'étage 1 est indépendant de la sidebar,
   son repli ne déplace pas la nav. */
header.ss-reduit .fdm-nav {
    left: calc(16vw + 1.2rem);
    bottom: 50%;
    transform: translate(0, 50%);
}

header.ss-reduit .fdm-nav ul { gap: 1.6rem; }

header.ss-reduit .fdm-nav ul li a { font-size: 0.85rem; }

/* Étage 2 — la bande du sous-site (fond : couleur d'accent injectée).
   Elle n'est PAS générique : elle vit dans la colonne de droite
   (.ss-colonne), à droite de la sidebar, sous la bande 1 pleine largeur. */
.ss-colonne {
    grid-area: main;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;   /* sans quoi la rangée de grille gonfle à la hauteur
                        du contenu et main ne défile plus (cf. sidebar) */
}

.ss-colonne main {
    flex: 1 1 auto;
    min-height: 0;
}

.ss-bande2 {
    position: relative;
    color: #f8f9fa;
    background: var(--ss-accent, var(--vert_antique));
    padding: 0.45rem 5rem 0.45rem 1.2rem;
}

.ss-bande2 h1 {
    font-size: 1.55rem;
    text-align: left;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* hors du <header>, les règles header h1 a de styles.css ne portent plus */
.ss-bande2 h1 a {
    color: #f8f9fa;
    text-decoration: none;
}

.ss-bande2 h1 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1%;
    text-underline-offset: 15%;
}

.ss-bande2 .devise {
    margin: 0;
    font-style: italic;
    font-size: 0.9rem;
    color: #d8c9a3;
    letter-spacing: 0.04em;
    max-height: 1.5em;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* État rétracté (au défilement de main, via js/site.js) */
.ss-bande2.ss-reduit { padding-top: 0.18rem; padding-bottom: 0.18rem; }
.ss-bande2.ss-reduit h1 { font-size: 1.1rem; }
.ss-bande2.ss-reduit .devise { max-height: 0; opacity: 0; }

/* Bande 2 avec ses liens de sections (sous-site monté dans le site
   principal : même disposition que la bande de l'Atlas Balzac). */
.ss-bande2.ss-bande2-liens {
    display: flex;
    align-items: center;
    gap: 0.2rem 1.5rem;
    flex-wrap: wrap;
}

.ss-bande2-liens h1 { flex: 0 0 auto; }

.ss-bande2-nav {
    display: flex;
    gap: 1.05rem;
    flex-wrap: wrap;
}

.ss-bande2-nav a {
    color: #f8f9fa;
    font-size: 0.98rem;
    opacity: 0.92;
    text-decoration: none;
}

.ss-bande2-nav a:hover,
.ss-bande2-nav a.on {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 15%;
}

.ss-bande2.ss-reduit .ss-bande2-nav a { font-size: 0.85rem; }

@media (max-width: 768px) {
    .ss-bande2-nav { gap: 0.6rem; }
    .ss-bande2-nav a { font-size: 0.82rem; }
}

/* Bascule de langue : recentrée dans l'étage 2 */
.ss-bande2 #lang-chg {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    right: 12px;
}

.ss-bande2 #lang-icon { width: 26px; }

/* Sommaire de page (« Sur cette page ») — pages longues seulement */
.ss-sommaire {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
}

.ss-sommaire > summary {
    list-style: none;
    cursor: pointer;
    color: #f8f9fa;
    font-size: 0.85rem;
    opacity: 0.85;
    white-space: nowrap;
}

.ss-sommaire > summary::-webkit-details-marker { display: none; }
.ss-sommaire > summary::after { content: " ▾"; font-size: 0.75em; }
.ss-sommaire[open] > summary::after { content: " ▴"; font-size: 0.75em; }
.ss-sommaire > summary:hover { opacity: 1; }

.ss-sommaire ul {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 240px;
    max-width: 340px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    list-style: none;
    z-index: 2100;
    text-align: left;
    margin: 0;
}

.ss-sommaire ul li { margin: 0.4rem 0; }

.ss-sommaire ul li a {
    color: #4a4a4a;
    font-size: 0.95rem;
    text-decoration: none;
}

.ss-sommaire ul li a:hover { text-decoration: underline; }

/* ---------- L'arbre Fleurs du Monde (sidebar unique) ---------- */

/* Le div d'accrochage (gabarit et coquilles JS) doit être transparent
   pour la grille : sinon il étire la rangée à la hauteur de l'arbre et
   l'overflow-y de .sidebar (styles.css) ne se déclenche jamais. */
#sidebar-container { display: contents; }

.ss-arbre .menu { padding: 0.9rem 0.8rem; }
.ss-arbre .menu li { margin-bottom: 0.5rem; }
.ss-arbre .menu li a { font-size: 1rem; }
.ss-arbre .submenu li { margin: 0.35rem 0; }
.ss-arbre .submenu li a { font-size: 0.95rem; }
.ss-arbre .submenu .submenu li a { font-size: 0.9rem; }

.submenu.ss-ouvert { display: block; }

/* Branche entière « à venir » : quand toutes les pages d'un menu sont des
   coquilles vides (liens gris), son libellé se grise aussi (posé par le
   générateur du menu ; purement visuel, le dépliage reste actif). */
.ss-arbre a.ss-gris-branche,
.ss-arbre a.ss-gris-branche:hover { color: #b8b8b8; }   /* même gris que .coming-soon */

/* Feuille de site : le libellé navigue, la flèche déplie */
.ss-arbre li.ss-feuille { position: relative; }
.ss-arbre li.ss-feuille > a { padding-right: 1.4rem; }
.ss-arbre li.ss-feuille > .ss-bascule {
    position: absolute;
    top: 0.15em;
    right: 0.2rem;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
}

/* Liens vers le site principal en ligne / feuilles non bâties */
.ss-arbre a.ss-en-ligne { color: #8a8a8a; }
.ss-arbre a.ss-en-ligne:hover { color: hsl(210, 51%, 36%); }
.ss-arbre a.ss-gris,
.ss-arbre a.ss-gris:hover {
    color: #b8b8b8;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

.fdm-nav a.ss-en-ligne { color: #f8f9fa; }

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
    .fdm-nav { display: none; }
    .fdm-bande { height: 58px; }
    .fdm-marque {
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.4rem;
    }
    header.ss-reduit .fdm-bande { height: 36px; }
    header.ss-reduit .fdm-marque {
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1rem;
        font-weight: 400;
    }
    .hamburger { top: 50%; left: 10px; transform: translateY(-50%); }
    .ss-repli { display: none; }   /* sur mobile : tiroir via hamburger */

    .ss-bande2 { padding: 0.2rem 4.2rem 0.2rem 0.9rem; }
    .ss-bande2 h1 { font-size: 1.1rem; }
    .ss-bande2 .devise { max-height: 0; opacity: 0; }

    .ss-bande2 #lang-icon { width: 22px; }
    .ss-sommaire { right: 46px; }

    .sidebar.drawer-open { overflow-y: auto; padding-bottom: 2rem; }
}

/* Note d'attribution dans le corps d'une page (même allure que
   #site-credits, réservé au pied de page de copyright). */
.credits-note {
    font-size: 0.8rem;
    line-height: 1.3rem;
    margin-top: 3rem;
    text-align: center;
}

/* ---------- Encadré « Repères » ---------- */

.ss-reperes {
    border: 1px solid #d8d2c4;
    border-left: 5px solid var(--ss-accent, var(--vert_antique));
    border-radius: 8px;
    background: #f4f3ee;
    padding: 1rem 1.3rem;
    margin: 1.4rem 0;
    font-size: 0.95rem;
}

.ss-reperes h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ss-accent, var(--vert_antique));
}

.ss-reperes dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1rem;
}

.ss-reperes dt {
    font-weight: 600;
    color: #5a5a5a;
}

.ss-reperes dd {
    margin: 0;
}

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

table.ss-table {
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.82rem;
    width: 100%;
}

table.ss-table caption {
    caption-side: top;
    text-align: left;
    font-style: italic;
    color: #6a6a6a;
    margin-bottom: 0.4rem;
}

table.ss-table th {
    text-align: left;
    border-bottom: 2px solid var(--ss-accent, var(--vert_antique));
    padding: 0.35rem 0.6rem;
    font-variant: small-caps;
    letter-spacing: 0.03em;
}

table.ss-table td {
    border-bottom: 1px solid #e2e0d8;
    padding: 0.28rem 0.55rem;
    vertical-align: top;
    white-space: nowrap;
}

/* Les fiches dépliées et longues notes gardent le retour à la ligne */
table.ss-table tr.ss-fiche td { white-space: normal; }

table.ss-table tr:hover td {
    background: #f2f1ea;
}

/* Grand tableau : à envelopper dans ce conteneur pour défiler sans casser la page */
.ss-defilant {
    overflow-x: auto;
}

/* ---------- Chronologie ---------- */

ul.ss-chrono {
    list-style: none;
    padding-left: 0;
    margin: 1.2rem 0;
    border-left: 3px solid var(--ss-accent, var(--vert_antique));
}

ul.ss-chrono li {
    position: relative;
    padding: 0.15rem 0 0.15rem 1.4rem;
    margin: 0.45rem 0;
}

ul.ss-chrono li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0.55em;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #f9f9f9;
    border: 3px solid var(--ss-accent, var(--vert_antique));
}

ul.ss-chrono .ss-date {
    font-variant: small-caps;
    font-weight: 600;
    color: var(--ss-accent, var(--vert_antique));
    margin-right: 0.5rem;
}

/* ---------- Citation en exergue ---------- */

blockquote.ss-exergue {
    margin: 1.6rem 2rem;
    padding-left: 1.2rem;
    border-left: 3px solid #c9b98a;
    font-style: italic;
    font-size: 1.1rem;
    color: #5a5a5a;
}

blockquote.ss-exergue footer {
    margin-top: 0.4rem;
    font-style: normal;
    font-size: 0.9rem;
    text-align: right;
    color: #8a8a8a;
}

/* ---------- Cartes (grilles de renvois) ---------- */

.ss-cartes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
}

a.ss-carte {
    display: block;
    border: 1px solid #ddd8cc;
    border-radius: 8px;
    background: #fdfdfb;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: #4a4a4a;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

a.ss-carte:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

a.ss-carte .ss-carte-titre {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ss-accent, var(--vert_antique));
    margin-bottom: 0.25rem;
}

a.ss-carte .ss-carte-detail {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #6a6a6a;
}

/* ---------- Notes, bibliographies ---------- */

.ss-biblio {
    font-size: 0.95rem;
}

.ss-biblio li {
    margin-bottom: 0.4rem;
}

.ss-note {
    font-size: 0.85rem;
    color: #8a8a8a;
    font-style: italic;
}

/* ---------- Bases de données (moteur js/base.js) ---------- */

.ss-outils {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin: 1.2rem 0 0.8rem;
    padding: 0.7rem 0.9rem;
    background: #efede6;
    border: 1px solid #ddd8cc;
    border-radius: 8px;
}

.ss-outils input[type="search"],
.ss-outils select {
    font-family: inherit;
    font-size: 0.95rem;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    padding: 0.35rem 0.6rem;
    max-width: 16rem;
}

.ss-facette {
    position: relative;
}

.ss-facette summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
}

.ss-facette summary::after {
    content: " ▾";
    font-size: 0.8em;
    color: #8a8a8a;
}

.ss-facette[open] summary {
    border-color: var(--ss-accent, var(--vert_antique));
}

.ss-facette-liste {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 30;
    min-width: 12rem;
    max-height: 17rem;
    overflow-y: auto;
    padding: 0.5rem 0.7rem;
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.ss-facette-liste label {
    display: block;
    font-size: 0.92rem;
    color: #4a4a4a;
    padding: 0.12rem 0;
    cursor: pointer;
    white-space: nowrap;
}

.ss-facette-liste button {
    font-family: inherit;
    font-size: 0.85rem;
    color: #8a8a8a;
    background: none;
    border: none;
    padding: 0 0 0.3rem;
    cursor: pointer;
}

.ss-facette-liste button:hover,
.ss-facette-liste label:hover {
    color: var(--ss-accent, var(--vert_antique));
}

.ss-facette-n {
    color: #8a8a8a;
    font-size: 0.85em;
}

/* ---------- Facette « plage » : curseur à deux poignées ---------- */

.ss-facette-liste.ss-plage {
    min-width: 16rem;
}

.ss-plage-lib {
    text-align: center;
    font-weight: 600;
    color: #4a4a4a;
    padding: 0.1rem 0 0.6rem;
}

.ss-plage-piste {
    position: relative;
    height: 1.6rem;
    margin: 0 0.45rem;
}

.ss-plage-fond,
.ss-plage-barre {
    position: absolute;
    top: 0.7rem;
    height: 4px;
    border-radius: 2px;
}

.ss-plage-fond { left: 0; right: 0; background: #dcd8cc; }
.ss-plage-barre { background: var(--ss-accent, var(--vert_antique)); }

.ss-plage-piste input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1.6rem;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.ss-plage-piste input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fdfdfb;
    border: 2px solid var(--ss-accent, var(--vert_antique));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.ss-plage-piste input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fdfdfb;
    border: 2px solid var(--ss-accent, var(--vert_antique));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.ss-plage-piste input[type="range"]::-moz-range-track { background: none; }

.ss-plage-bornes {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #8a8a8a;
    padding-bottom: 0.3rem;
}

/* ---------- Facette « arbre » : trois niveaux repliables ---------- */

.ss-facette-liste.ss-arbre-menu {
    min-width: 24rem;
    max-width: 32rem;
    max-height: 26rem;
}

.ss-arbre-menu input[type="search"] {
    width: 100%;
    font: inherit;
    font-size: 0.9rem;
    padding: 0.25rem 0.45rem;
    border: 1px solid #c9c4b6;
    border-radius: 4px;
    background: #fff;
}

.ss-arbre-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.4rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e6e2d6;
}

.ss-facette-liste .ss-arbre-boutons button { padding: 0; }

ul.ss-arbre {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.ss-arbre ul.ss-arbre {
    margin: 0 0 0 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid #e6e2d6;
}

.ss-noeud > label {
    display: inline;
    white-space: normal;
}

.ss-facette-liste .ss-noeud-bascule {
    display: inline-block;
    width: 1.1rem;
    padding: 0;
    text-align: left;
    color: #8a8a8a;
}

.ss-noeud[data-niveau="1"] > label { font-weight: 600; }
.ss-noeud[data-niveau="3"] > label { color: #6a6a6a; }

.ss-compte {
    margin-left: auto;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: var(--ss-accent, var(--vert_antique));
}

/* ---------- Filtres actifs, fenêtre ---------- */

.ss-actifs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: -0.4rem 0 0.8rem;
    padding: 0 0.2rem;
}

.ss-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 1px solid var(--ss-accent, var(--vert_antique));
    border-radius: 999px;
    padding: 0.1rem 0.3rem 0.1rem 0.65rem;
}

.ss-chip button {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1;
    color: #8a8a8a;
    background: none;
    border: none;
    padding: 0 0.15rem;
    cursor: pointer;
}

.ss-chip button:hover { color: var(--ss-accent, var(--vert_antique)); }

.ss-vider {
    font-family: inherit;
    font-size: 0.85rem;
    color: #8a8a8a;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.ss-vider:hover { color: var(--ss-accent, var(--vert_antique)); }

.ss-plus {
    text-align: center;
    margin: 0.2rem 0 1.2rem;
}

.ss-plus button {
    font-family: inherit;
    font-size: 0.9rem;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    color: var(--ss-accent, var(--vert_antique));
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    padding: 0.4rem 1.4rem;
    cursor: pointer;
}

.ss-plus button:hover {
    background: var(--ss-accent, var(--vert_antique));
    border-color: var(--ss-accent, var(--vert_antique));
    color: #fdfdfb;
}

.ss-statistiques {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin: 0.8rem 0 0.4rem;
}

.ss-stat-bloc {
    flex: 1 1 260px;
    max-width: 420px;
}

.ss-stat-bloc h4 {
    margin: 0.4rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a8a8a;
}

.ss-barre {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin: 0.15rem 0;
}

.ss-barre-nom {
    flex: 0 0 11em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    color: #5a5a5a;
}

.ss-barre-jauge {
    flex: 1 1 auto;
    height: 0.75em;
    background: #e7e4da;
    border-radius: 3px;
    overflow: hidden;
}

.ss-barre-jauge span {
    display: block;
    height: 100%;
    background: var(--ss-accent, var(--vert_antique));
    opacity: 0.75;
}

.ss-barre-n {
    flex: 0 0 2.5em;
    font-variant: small-caps;
    color: #8a8a8a;
}

.ss-base tr.ss-ligne { cursor: pointer; }

.ss-base tr.ss-groupe th {
    background: #efede6;
    border-bottom: 1px solid #cfc9ba;
    font-size: 1.02rem;
    padding: 0.5rem 0.6rem;
}

.ss-groupe-n { font-weight: normal; color: #9a9a9a; }

.ss-base tr.ss-fiche td {
    background: #f6f5ef;
    /* filet d'accent en ombre intérieure, pas en bordure : en border-collapse,
       une bordure de 4 px élargirait le bord de toute la table */
    box-shadow: inset 4px 0 0 var(--ss-accent, var(--vert_antique));
    padding-left: calc(0.55rem + 4px);
    font-size: 0.92rem;
}

.ss-base tr.ss-fiche dl {
    margin: 0.3rem 0;
    display: grid;
    /* fit-content : la colonne des intitulés se serre sur son contenu mais
       ne dépasse jamais 9rem — sans quoi un intitulé long écrase la colonne
       de contenu, qui est la seule qui compte. */
    grid-template-columns: fit-content(9rem) 1fr;
    gap: 0.2rem 1rem;
}

.ss-base tr.ss-fiche dt { font-weight: 600; color: #6a6a6a; }
/* La fiche dépliée occupe toute la ligne sans peser sur la largeur des
   colonnes : sa largeur propre est nulle (le calcul automatique de la
   table l'ignore), sa largeur minimale 100 % (elle remplit la cellule). */
.ss-base tr.ss-fiche td > * { width: 0; min-width: 100%; box-sizing: border-box; }
.ss-base tr.ss-fiche dd { margin: 0; }

/* ---------- Accordéon des tomes (page-hub des chapitres) ---------- */

.ss-tomes .ss-outils { margin-bottom: 0.8rem; }

.ss-tomes .ss-outils button {
    font-family: inherit;
    font-size: 0.9rem;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
}

.ss-tomes .ss-outils button:hover {
    border-color: var(--ss-accent, var(--vert_antique));
    color: var(--ss-accent, var(--vert_antique));
}

.ss-tome {
    border-bottom: 1px solid #e6e2d6;
}

.ss-tome-tete {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    color: #4a4a4a;
    background: none;
    border: none;
    padding: 0.6rem 0.2rem;
    cursor: pointer;
}

.ss-tome-tete:hover { background: #f2f1ea; }

.ss-tome-fleche { color: #8a8a8a; width: 1rem; flex: 0 0 1rem; }

.ss-tome-nom {
    font-variant: small-caps;
    letter-spacing: 0.04em;
    font-size: 1.1rem;
    color: var(--ss-accent, var(--vert_antique));
    flex: 0 0 6.5rem;
}

.ss-tome-annees { flex: 0 0 7rem; color: #6a6a6a; }

.ss-tome-meta { color: #8a8a8a; font-size: 0.9rem; }

.ss-tome-ouvert .ss-tome-tete { background: #f6f5ef; }

ul.ss-chapitres {
    list-style: none;
    margin: 0 0 0.8rem;
    padding: 0 0 0 1.7rem;
    border-left: 3px solid var(--ss-accent, var(--vert_antique));
}

.ss-chapitre { padding: 0.55rem 0; border-top: 1px solid #efece2; }
.ss-chapitre:first-child { border-top: none; }

.ss-chapitre-titre {
    font-weight: 600;
    margin-right: 0.6rem;
}

.ss-chapitre-meta { color: #8a8a8a; font-size: 0.88rem; }

.ss-chapitre-resume {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 62em;
}

.ss-chapitre-resume mark {
    background: #f3e6a8;
    color: inherit;
    padding: 0 0.1em;
}

/* ---------- Dignités, présence : colonnes riches des grandes bases ---------- */

.ss-dignites {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-width: 26rem;
    white-space: normal;
}

.ss-dignite {
    font-size: 0.78rem;
    line-height: 1.4;
    border: 1px solid currentColor;
    border-radius: 3px;
    padding: 0 0.35rem;
    opacity: 0.92;
}

.ss-dignite .ss-dignite-precision { font-size: 0.82em; opacity: 0.75; }

.ss-dignite[data-cat="souverain"]      { color: #8a6a10; }
.ss-dignite[data-cat="noblesse"]       { color: #7b1e2b; }
.ss-dignite[data-cat="ecclésiastique"] { color: #4a3b6b; }
.ss-dignite[data-cat="militaire"]      { color: #3d5a45; }
.ss-dignite[data-cat="diplomatie"]     { color: #1f4e5f; }
.ss-dignite[data-cat="robe"]           { color: #5a4632; }
.ss-dignite[data-cat="administration"] { color: #46566b; }
.ss-dignite[data-cat="cour & maison"]  { color: #8a5a2b; }
.ss-dignite[data-cat="finance"]        { color: #2f6b4f; }
.ss-dignite[data-cat="lettres & arts"] { color: #6b3f5b; }

/* Présence : une colonnette par volume, hauteur proportionnelle */
.ss-presence {
    display: inline-flex;
    align-items: flex-end;
    gap: 1px;
    height: 1.5em;
}

.ss-presence i {
    display: block;
    width: 4px;
    min-height: 1px;
    background: #ddd9cd;
}

.ss-presence i[data-n]:not([data-n="0"]) {
    background: var(--ss-accent, var(--vert_antique));
    opacity: 0.8;
}

.ss-rang {
    color: #a5a096;
    font-variant: small-caps;
    font-size: 0.9em;
}

/* Renvois de la fiche : grappes par tome */
.ss-renvois {
    display: block;
    white-space: normal;
    max-height: 14rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.ss-renvois b {
    display: inline-block;
    min-width: 3.2em;
    color: #6a6a6a;
    font-variant: small-caps;
    font-weight: 600;
}

.ss-renvois span + b { margin-top: 0.2rem; }

.ss-chereul {
    display: block;
    max-height: 16rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    text-align: justify;
    hyphens: auto;
}

/* ---------- Palmarès (page de statistiques) ---------- */

.ss-tops {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem 2.4rem;
    margin: 1.4rem 0 2rem;
}

.ss-top h3 {
    margin: 0 0 0.15rem;
    font-size: 0.95rem;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    color: var(--ss-accent, var(--vert_antique));
    border-bottom: 1px solid #ddd8cc;
    padding-bottom: 0.2rem;
}

.ss-top h4.ss-sous-titre {
    margin: 1.1rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: var(--ss-accent, var(--vert_antique));
}

.ss-top p.ss-legende {
    margin: 0.3rem 0 0.5rem;
    font-size: 0.85rem;
    font-style: italic;
    color: #8a8a8a;
}

.ss-top .ss-barre-nom { flex: 0 0 11.5em; }
.ss-top .ss-barre-n { flex: 0 0 4.2em; white-space: nowrap; }

/* Jauges teintées par catégorie de dignité (mêmes couleurs que .ss-dignite) */
.ss-barre.ss-cat .ss-barre-jauge span { background: currentColor; opacity: 0.85; }
.ss-cat[data-cat="souverain"]      { color: #8a6a10; }
.ss-cat[data-cat="noblesse"]       { color: #7b1e2b; }
.ss-cat[data-cat="ecclésiastique"] { color: #4a3b6b; }
.ss-cat[data-cat="militaire"]      { color: #3d5a45; }
.ss-cat[data-cat="diplomatie"]     { color: #1f4e5f; }
.ss-cat[data-cat="robe"]           { color: #5a4632; }
.ss-cat[data-cat="administration"] { color: #46566b; }
.ss-cat[data-cat="cour & maison"]  { color: #8a5a2b; }
.ss-cat[data-cat="finance"]        { color: #2f6b4f; }
.ss-cat[data-cat="lettres & arts"] { color: #6b3f5b; }

/* Cinq qualités par catégorie : tableau pleine largeur, pastille et mini-jauge
   à la couleur de la catégorie */
.ss-top-large { grid-column: 1 / -1; }
table.ss-qualites td.ss-cat i {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-right: 0.35em;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.85;
}
table.ss-qualites { table-layout: auto; font-size: 0.75rem; }
table.ss-qualites th, table.ss-qualites td { padding: 0.25rem 0.45rem; }
table.ss-qualites td { white-space: normal; overflow-wrap: normal; hyphens: none; text-align: left; }
table.ss-qualites td.ss-cat { white-space: nowrap; }
.ss-q-compte { color: #9a9a9a; font-size: 0.9em; }
.ss-q-jauge {
    display: inline-block;
    width: 2.8em;
    height: 0.5em;
    margin-right: 0.45em;
    background: #eeeae0;
    border-radius: 2px;
    vertical-align: middle;
    overflow: hidden;
}
.ss-q-jauge span { display: block; height: 100%; background: currentColor; opacity: 0.85; }
/* Carte des plus cités et des plus constants (nuage de points SVG) */
.ss-carte { display: block; width: 100%; height: auto; font-family: inherit; }
.ss-carte-grille { stroke: #ebe7dc; stroke-width: 1; }
.ss-carte-gradu { font-size: 10px; fill: #9a9a9a; }
.ss-carte-axe { font-size: 10.5px; font-style: italic; fill: #8a8a8a; }
.ss-carte-fond { fill: #8a8a8a; fill-opacity: 0.22; }
.ss-carte-fond:hover { fill-opacity: 0.9; }
.ss-carte-nomme { stroke: #fafaf8; stroke-width: 2; }
.ss-carte-nom { font-size: 10px; fill: #4a4a4a; pointer-events: none; }
.ss-carte-trait { stroke: #b8b3a6; stroke-width: 0.75; }
/* Relief de la chronique : deux panneaux de barres alignés sur les années */
.ss-relief, .ss-chaleur { display: block; width: 100%; height: auto; font-family: inherit; }
.ss-relief-barre { fill: var(--ss-accent, #7b1e2b); fill-opacity: 0.72; }
.ss-relief-cible { fill: transparent; }
.ss-relief-an:hover .ss-relief-barre { fill-opacity: 1; }
.ss-relief-an:hover .ss-relief-cible { fill: rgba(0, 0, 0, 0.035); }
.ss-relief-base { stroke: #c9c4b6; stroke-width: 1; }
.ss-relief-titre { font-size: 10.5px; font-style: italic; fill: #8a8a8a; }
.ss-relief-val { font-size: 10px; fill: #4a4a4a; }
/* Dignités au fil des années : carte de chaleur divergente */
.ss-chaleur-cat { font-size: 10.5px; fill: #4a4a4a; }
.ss-chaleur-case.ss-pale { fill-opacity: 0.3; }
.ss-chaleur-case:hover { stroke: #4a4a4a; stroke-width: 1; }
/* Bascule « plus caractéristiques / plus cités » */
.ss-bascule { display: flex; gap: 0; margin: 0.2rem 0 0.4rem; }
.ss-bascule button {
    font: inherit; font-size: 0.78rem; padding: 0.2rem 0.7rem; cursor: pointer;
    background: transparent; color: #6a6a6a; border: 1px solid #d4cfc2;
}
.ss-bascule button + button { border-left: none; }
.ss-bascule button:first-child { border-radius: 3px 0 0 3px; }
.ss-bascule button:last-child { border-radius: 0 3px 3px 0; }
.ss-bascule button[aria-pressed="true"] {
    background: var(--ss-accent, #7b1e2b); border-color: var(--ss-accent, #7b1e2b); color: #fff;
}
@media (max-width: 800px) {
    .ss-q-jauge { display: none; }
}

/* ---------- Thèmes (litterature-saintsimon) ---------- */

/* Huit familles, huit teintes : reprises par les jauges, les pastilles de la
   colonne « Famille » et le liséré des blocs. */
.ss-fam[data-fam="vie"]      { color: #7b1e2b; }
.ss-fam[data-fam="rang"]     { color: #8a6a10; }
.ss-fam[data-fam="faveur"]   { color: #8a5a2b; }
.ss-fam[data-fam="etat"]     { color: #46566b; }
.ss-fam[data-fam="guerre"]   { color: #3d5a45; }
.ss-fam[data-fam="europe"]   { color: #1f4e5f; }
.ss-fam[data-fam="eglise"]   { color: #4a3b6b; }
.ss-fam[data-fam="monde"]    { color: #6b3f5b; }

.ss-barre.ss-fam .ss-barre-jauge span { background: currentColor; opacity: 0.85; }

/* Table des thèmes, mode « par famille » : une famille par bloc, pleine
   largeur ; colonnes alignées d'un bloc à l'autre (nom, jauge à l'échelle
   commune, nombre, profil sur vingt tomes). */
.ss-familles {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0.6rem 0 1.8rem;
}

.ss-famille {
    border-left: 3px solid currentColor;
    padding: 0.1rem 0 0.1rem 0.7rem;
}

.ss-famille h3 {
    margin: 0 0 0.1rem;
    font-size: 1.02rem;
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.ss-famille p {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
    color: #7a7a7a;
}

.ss-familles .ss-barre { font-size: 0.95rem; gap: 0.8rem; margin: 0.2rem 0; }
.ss-familles .ss-barre-nom { flex: 1 1 auto; text-align: left; color: #4a4a4a; }
.ss-familles .ss-barre-jauge { flex: 0 1 9em; }
.ss-familles .ss-barre-n { flex: 0 0 2.6em; text-align: right; }
.ss-familles .ss-presence { flex: 0 0 auto; height: 1.3em; }

.ss-familles-tete {
    display: flex;
    gap: 0.8rem;
    padding-left: calc(0.7rem + 3px);
    font-size: 0.75rem;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: #8a8a8a;
}

.ss-familles-tete span:first-child { flex: 1 1 auto; }
.ss-familles-tete span:last-child { flex: 0 0 99px; white-space: nowrap; }

@media (max-width: 640px) {
    .ss-familles .ss-barre-jauge { flex-basis: 6em; }
    .ss-familles .ss-presence { display: none; }
    .ss-familles-tete span:last-child { display: none; }
}

.ss-familles[hidden], .ss-base[hidden] { display: none; }

/* Table des thèmes, mode « par thème » : corps plus grand que les autres bases */
.ss-themes table.ss-table { font-size: 0.95rem; }
.ss-themes .ss-pastille { font-size: 0.9rem; }

.ss-familles .ss-barre[data-theme] { cursor: pointer; border-radius: 3px; }
.ss-familles .ss-barre[data-theme]:hover { background: rgba(0, 0, 0, 0.035); }
.ss-familles .ss-barre[aria-expanded="true"] .ss-barre-nom { font-weight: 600; }
.ss-theme-fiche {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 1rem;
    margin: 0.3rem 0 0.8rem;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #3a3a3a;
    background: #f3f0e8;
    border-radius: 4px;
}
.ss-theme-fiche[hidden] { display: none; }
.ss-theme-fiche dt { font-weight: 600; color: #6a6a6a; }
.ss-theme-fiche dd { margin: 0; }
@media (max-width: 640px) {
    .ss-theme-fiche { grid-template-columns: 1fr; }
}

/* Page « Entrées d'un thème » */
p.ss-retour { margin: 0 0 0.3rem; font-size: 0.9rem; }
p.ss-retour a { text-decoration: none; }
.ss-te table.ss-table td:last-child { white-space: normal; }
p.ss-te-choix label { font-variant: small-caps; letter-spacing: 0.04em; color: #6a6a6a; }
p.ss-te-choix select {
    font-family: inherit;
    font-size: 0.95rem;
    margin-left: 0.5rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    background: #fdfdfb;
    color: #3a3a3a;
    max-width: 100%;
}

/* Profil coloré à la teinte de la famille */
.ss-presence.ss-fam i[data-n]:not([data-n="0"]) { background: currentColor; opacity: 0.8; }

/* Bascule entre deux modes d'une même table */
.ss-modes {
    display: inline-flex;
    border: 1px solid #c9c4b6;
    border-radius: 5px;
    overflow: hidden;
    margin: 0.3rem 0 0.9rem;
}

.ss-modes button {
    font-family: inherit;
    font-size: 0.9rem;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    color: #4a4a4a;
    background: #fdfdfb;
    border: 0;
    padding: 0.35rem 1.1rem;
    cursor: pointer;
}

.ss-modes button + button { border-left: 1px solid #c9c4b6; }
.ss-modes button:hover { color: var(--ss-accent, var(--vert_antique)); }

.ss-modes button[aria-pressed="true"] {
    background: var(--ss-accent, var(--vert_antique));
    color: #fdfdfb;
}

/* Pastille de famille dans la table */
.ss-pastille {
    font-size: 0.78rem;
    white-space: nowrap;
}

.ss-pastille::before {
    content: "";
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: currentColor;
    margin-right: 0.4em;
    vertical-align: 0.02em;
}

/* Fiche d'un thème : champ lexical, voisins, exemples */
.ss-lexique {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin: 0;
}

.ss-lexique li {
    list-style: none;
    border: 1px solid #ddd8cc;
    border-radius: 3px;
    padding: 0.05rem 0.4rem;
    font-size: 0.8rem;
    background: #fbfaf6;
}

.ss-lexique li b { font-weight: 600; }
.ss-lexique li span { color: #8a8a8a; }
.ss-lexique li.ss-vide { opacity: 0.5; }

.ss-exemples { margin: 0; padding-left: 1.1rem; font-size: 0.82rem; }
.ss-exemples li { margin: 0.1rem 0; }
.ss-exemples cite { font-style: normal; }
.ss-exemples a { color: #8a8a8a; font-size: 0.78rem; }

/* Tableau des années : cinq colonnes dans la colonne de texte ; chaque nom
   sur deux lignes (intitulé, puis précision en petit), toutes les lignes de
   même hauteur, contenu centré verticalement */
table.ss-annees { table-layout: fixed; font-size: 0.82rem; }
table.ss-annees th, table.ss-annees td { padding: 0.15rem 0.3rem; }
table.ss-annees td {
    height: 2.75em; vertical-align: middle; text-align: left;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
table.ss-annees th:first-child,
table.ss-annees td:first-child { width: 3.2em; }
.ss-an-nom, .ss-an-prec { display: block; overflow: hidden; text-overflow: ellipsis; }
.ss-an-nom { line-height: 1.25; }
.ss-an-prec { font-size: 0.78em; line-height: 1.2; color: #9a9a9a; }
/* sans précision, la seconde ligne est libre : un nom long peut y passer */
.ss-an-nom.ss-an-seul {
    white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- Divers ---------- */

.ss-deux-colonnes {
    columns: 2;
    column-gap: 2.5rem;
}

@media (max-width: 800px) {
    .ss-deux-colonnes {
        columns: 1;
    }
    .ss-reperes dl {
        grid-template-columns: 1fr;
    }
}

/* ---------- vue poème (présentation du site des Sonnets) ---------- */
.poem-wrap { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.poem-text {
    font-family: 'Sedan','Didot','Garamond','Georgia', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    flex: 1 1 420px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 1.6rem 2rem;
    border-radius: 3px;
}
.poem-text .stanza { margin-bottom: 1.3rem; }
.poem-line { display: flex; align-items: baseline; }
.poem-line .vers { flex: 1; }
.rhyme-tag {
    font-size: 0.72rem;
    font-family: 'Georgia', serif;
    width: 1.5em;
    text-align: center;
    border-radius: 8px;
    margin-left: 0.9em;
    color: #fff;
    flex: 0 0 auto;
}
.poem-meta { flex: 1 1 260px; max-width: 340px; font-size: 0.92rem; }
.poem-meta .metabox {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}
.poem-meta h5 { margin: 0 0 0.5rem 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #999; }
.poem-meta table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.poem-meta td { padding: 0.15rem 0.3rem 0.15rem 0; vertical-align: top; }
.poem-meta .ipa, .poem-meta td.ipa { font-family: 'Georgia', serif; color: var(--bleu_pleiade); white-space: nowrap; }
.rh-A { background-color: #6b4f9e; }
.rh-B { background-color: #2f7d5d; }
.rh-C { background-color: #a8574e; }
.rh-D { background-color: #3a6ea5; }
.rh-E { background-color: #b0813c; }
.rh-F { background-color: #7d7d3a; }
.rh-G { background-color: #9e4f83; }
.rh-H { background-color: #4f9e9a; }
.rh-X { background-color: #9a9a9a; }
.rhyme-word { border-bottom: 1px dotted #bbb; }
.poem-badge, .fdm-badge {
    display: inline-block;
    font-size: 0.78rem;
    line-height: 1;
    padding: 0.25em 0.6em;
    border-radius: 9px;
    margin: 0 0.3em 0.3em 0;
    background-color: #ececec;
    color: #555;
    white-space: nowrap;
}
.fdm-badge.theme { background-color: #e4ede8; color: var(--vert_antique); }
a.fdm-badge { text-decoration: none; }
a.fdm-badge:hover { filter: brightness(0.93); }
@media (max-width: 720px) { .poem-meta { max-width: none; } }

/* ---------- Monographies de peintres (contenu .ss-mono) ----------
   Pages générées par _outillage/construire_monographie.py : essai illustré
   et catalogue commenté des volumes Florence_art, intégrés au chrome du
   site. Portée .ss-mono ; visionneuse #lb (_assets/monographie/lightbox.html). */

/* figures de l'essai */
.ss-mono figure.fig { margin: 1.8em 0; display: flex; flex-direction: column; align-items: center; }
.ss-mono figure.fig img { max-width: 100%; max-height: 620px; object-fit: contain; border-radius: 4px; background: rgba(0,0,0,0.05); display: block; }
.ss-mono figcaption { font-size: 0.82rem; line-height: 1.45; margin-top: 8px; color: #8a8a8a; text-align: center; max-width: 680px; }
.ss-mono figcaption .sub { display: block; font-style: italic; opacity: 0.85; }
.ss-mono .figrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin: 1.8em 0; }
.ss-mono .figrow figure.fig { margin: 0; }
.ss-mono .figrow figure.fig img { max-height: 300px; width: 100%; object-fit: contain; }
.ss-mono button.shot { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: 4px; font: inherit; }
.ss-mono button.shot:focus-visible { outline: 2px solid var(--ss-accent); outline-offset: 3px; }
.ss-mono blockquote { margin: 1.4em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 3px solid var(--ss-accent); color: #6d6d6d; font-style: italic; }
.ss-mono hr { border: 0; border-top: 1px solid #ddd; margin: 3em 0; }

/* en-tête et navigation du catalogue */
.ss-mono .mono-sous { color: #6d6d6d; }
.ss-mono .mono-stats, .ss-mono .mono-note { font-size: 0.85rem; color: #8a8a8a; }
.ss-mono .mono-note { border-top: 1px solid #ddd; padding-top: 1em; margin-top: 2.5em; }
.ss-mono nav.parts { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin: 1.4em 0; font-size: 0.85rem; }
.ss-mono nav.parts .parts-h { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: #8a8a8a; margin-right: 4px; }
.ss-mono nav.parts a { text-decoration: none; border: 1px solid #ccc; border-radius: 4px; padding: 2px 9px; color: #6d6d6d; white-space: nowrap; }
.ss-mono nav.parts a.on, .ss-mono nav.parts a:hover { color: var(--ss-accent); border-color: var(--ss-accent); }
.ss-mono .indexgrid { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 2.5em; }
.ss-mono .indexgrid a { display: block; line-height: 0; }
.ss-mono .indexgrid a img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; display: block; opacity: 0.9; }
.ss-mono .indexgrid a:hover img { opacity: 1; outline: 2px solid var(--ss-accent); }
.ss-mono h2 .cont { font-weight: 400; opacity: 0.75; }
.ss-mono section.cat .intro { font-style: italic; color: #6d6d6d; margin-bottom: 2em; }

/* fiches d'œuvres */
.ss-mono article.work { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 26px; padding: 28px 0; border-top: 1px solid #ddd; align-items: start; }
.ss-mono article.work .work-img { position: sticky; top: 10px; display: flex; flex-direction: column; gap: 10px; }
.ss-mono article.work .work-img img { width: 100%; max-height: 420px; object-fit: contain; background: rgba(0,0,0,0.05); border-radius: 4px; display: block; }
.ss-mono article.work h3 { margin: 0 0 0.35em; font-size: 1.25rem; }
.ss-mono .wdate { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ss-accent); margin-right: 8px; vertical-align: middle; text-transform: uppercase; }
.ss-mono .wmeta { font-size: 0.9rem; color: #6d6d6d; margin: 0 0 0.3em; }
.ss-mono .wlinks { font-size: 0.76rem; color: #6d6d6d; margin: 0 0 1em; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ss-mono .wlinks a { text-decoration: none; border: 1px solid #ccc; border-radius: 4px; padding: 1px 7px; color: #6d6d6d; }
.ss-mono .wlinks a:hover { color: var(--ss-accent); border-color: var(--ss-accent); }
.ss-mono .tier { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: #ececec; }
.ss-mono .t-canon { background: var(--ss-accent); color: #fff; }
.ss-mono .t-major { background: #7a8ea6; color: #fff; }
.ss-mono .comm h3, .ss-mono .comm h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ss-accent); margin: 1.6em 0 0.5em; font-style: normal; font-weight: 700; }
.ss-mono .comm blockquote { font-size: 0.95rem; }
.ss-mono .kvnote { font-size: 0.88rem; color: #6d6d6d; font-style: italic; }
.ss-mono .pending { color: #8a8a8a; }

/* les pages de catalogue s'élargissent (fiches image + texte) —
   .standard borne aussi par ses marges 12 %/28 % : on les resserre */
.standard:has(.ss-mono-catalogue) { max-width: 1080px; margin-left: 5%; margin-right: 5%; }
@media (max-width: 820px) {
    .ss-mono article.work { grid-template-columns: 1fr; }
    .ss-mono article.work .work-img { position: static; }
}

/* visionneuse (clic-zoom, ←/→/Échap) */
#lb { position: fixed; inset: 0; z-index: 99; display: none; background: rgba(12, 9, 6, 0.95); align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 28px 28px 20px; cursor: zoom-out; }
#lb.open { display: flex; }
#lb img { max-width: min(1600px, 94vw); max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.2); }
#lb figcaption { display: block; color: #f2ece2; text-align: center; max-width: min(900px, 90vw); font-size: 0.95rem; line-height: 1.5; cursor: auto; margin-top: 0; }
#lb .lb-t { font-weight: 700; display: block; }
#lb .lb-s { color: #bdb2a2; font-style: italic; display: block; margin-top: 2px; }
#lb .lb-q { color: #e0c49e; font-size: 0.8rem; letter-spacing: 0.05em; text-decoration: none; display: inline-block; margin-top: 6px; }
#lb .lb-x { position: absolute; top: 14px; right: 20px; font-size: 2rem; line-height: 1; color: #f2ece2; background: none; border: 0; cursor: pointer; opacity: 0.75; padding: 6px 10px; }
#lb .lb-x:hover { opacity: 1; }
#lb .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.4rem; line-height: 1; color: #f2ece2; background: none; border: 0; cursor: pointer; opacity: 0.55; padding: 16px; }
#lb .lb-nav:hover { opacity: 1; }
#lb .lb-prev { left: 8px; }
#lb .lb-next { right: 8px; }
#lb .lb-count { color: #8d8377; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 640px) { #lb .lb-nav { font-size: 1.8rem; padding: 8px; } #lb img { max-height: 66vh; } }

/* ---------- Texte intégral (pages texte-*.html des Mémoires) ----------
   Pages générées par litterature-saintsimon/outillage/generer_texte.py :
   sommaire de l'édition, texte à paragraphes ancrés (#par-N), pagination
   imprimée en marge (#page-N), notes avec renvoi à l'appel. */

.ss-texte-sommaire { font-size: 0.95em; line-height: 1.6; font-style: italic; color: #555; border-left: 3px solid var(--ss-accent); padding: 0.2em 0 0.2em 1.2em; margin: 1.6em 0 2.2em; position: relative; }
.ss-texte-sommaire a:not(.ss-page) { color: inherit; text-decoration: none; border-bottom: 1px dotted #aaa; }
.ss-texte-sommaire a:not(.ss-page):hover { color: var(--ss-accent); border-bottom-color: var(--ss-accent); }
.ss-texte { position: relative; padding-left: 3.2em; }
.ss-texte p { position: relative; text-align: justify; hyphens: auto; margin: 0 0 1em; }
/* le texte de Saint-Simon : style « literary » du site (nouvelle Vieillesse de Saint-Loup) */
.ss-texte { font-family: 'Sedan', 'Didot', 'Garamond', 'Georgia', serif; font-size: 1.1rem; line-height: 1.4; }
.ss-texte p { line-height: 1.4; }
.ss-texte p:target { background: rgba(200, 160, 60, 0.12); outline: 6px solid rgba(200, 160, 60, 0.12); }
a.ss-page, main a.ss-page:link, main a.ss-page:visited { position: absolute; left: -3.4em; width: 2.6em; text-align: right; font-size: 0.7rem; font-style: normal; font-weight: 400; color: #a0a0a0; text-decoration: none; line-height: 2.4; }
main a.ss-page:hover { color: var(--ss-accent); }
main a.ss-page:target { color: var(--ss-accent); font-weight: 700; outline: none; }
.ss-texte p, a.ss-page, ol.ss-notes li, sup.ss-appel a { scroll-margin-top: 90px; }
.ss-texte-sommaire a.ss-page { left: -4.4em; }
.ss-texte .ss-centre { text-align: center; }
.ss-texte .sc, .ss-notes .sc { font-variant: small-caps; }
.ss-texte abbr, .ss-notes abbr, .ss-texte-sommaire abbr, h1 abbr { text-decoration: none; border: 0; cursor: help; }
.ss-texte table { width: 100%; font-size: 0.92em; margin: 1em 0; }
.ss-texte td, .ss-texte th { vertical-align: top; padding: 0 0.6em 0.2em 0; }
.ss-texte hr.ss-filet { border: 0; border-top: 1px solid #ddd; width: 30%; margin: 2em auto; }
sup.ss-appel { font-size: 0.7em; line-height: 0; }
sup.ss-appel a { text-decoration: none; padding: 0 0.1em; }
ol.ss-notes { font-size: 0.88rem; line-height: 1.55; color: #555; padding-left: 1.6em; }
ol.ss-notes li { margin-bottom: 0.6em; }
ol.ss-notes li:target { background: rgba(200, 160, 60, 0.12); }
a.ss-retour-appel { text-decoration: none; margin-left: 0.3em; }
@media (max-width: 640px) {
    .ss-texte { padding-left: 2.2em; }
    a.ss-page { left: -2.6em; width: 2em; }
    .ss-texte p { text-align: left; }
}
p.ss-lien-texte { margin: 0.4em 0 1.6em; font-size: 1.02rem; }
p.ss-lien-texte a { text-decoration: none; border-bottom: 1px solid var(--ss-accent); }

/* résumé des chapitres : les deux pages de chaque chapitre */
.ss-chapitre-liens { display: inline-flex; flex-wrap: wrap; gap: 0.3em 1em; margin-left: 0.8rem; font-size: 0.88rem; }
.ss-chapitre-liens a { text-decoration: none; border-bottom: 1px solid var(--ss-accent); }

/* ---------- Saint-Simon : fil de navigation (pages de chapitre et de texte) ----------
   Une ligne : ‹ précédent · TOME X · CHAPITRE XV ▾ · années · suivant › ;
   le titre central (<details>) déplie le volet des tomes et des chapitres. */
nav.ss-fil { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 0 1em; margin: 0 0 2em; padding: 0 0 0.7em; border-bottom: 1px solid #ddd; font-size: 0.9rem; }
.ss-fil-prec { justify-self: start; }
.ss-fil-suiv { justify-self: end; }
main nav.ss-fil a.ss-fil-prec:link, main nav.ss-fil a.ss-fil-prec:visited,
main nav.ss-fil a.ss-fil-suiv:link, main nav.ss-fil a.ss-fil-suiv:visited { color: #8a8a8a; text-decoration: none; white-space: nowrap; padding-top: 0.15em; }
main nav.ss-fil a.ss-fil-prec:hover, main nav.ss-fil a.ss-fil-suiv:hover { color: var(--ss-accent); }
.ss-fil-volet { justify-self: center; text-align: center; }
.ss-fil-volet summary { cursor: pointer; list-style: none; letter-spacing: 0.08em; font-size: 0.82rem; color: #555; padding: 0.15em 0.6em; border-radius: 3px; }
.ss-fil-volet summary::-webkit-details-marker { display: none; }
.ss-fil-volet summary::after { content: " ▾"; color: #aaa; }
.ss-fil-volet[open] summary::after { content: " ▴"; }
.ss-fil-volet summary:hover { color: var(--ss-accent); background: rgba(0, 0, 0, 0.03); }
.ss-fil-annees { color: #9a9a9a; letter-spacing: 0; }
/* le volet se pose sur la page, à la largeur de la colonne */
.ss-volet { position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 20; text-align: left; padding: 0.9em 1.1em 0.6em; background: #fbfaf6; border: 1px solid #e6e1d3; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); }
/* volet : la rangée des tomes ; sous elle, les numéros de chapitre du tome
   survolé (du tome courant hors survol) — la zone des numéros descend du
   tome survolé, si bien qu'on peut y descendre sans perdre le survol */
.ss-v-rang { position: relative; display: flex; flex-wrap: nowrap; justify-content: space-between; padding-bottom: 4.4em; font-size: 0.82rem; }
main .ss-v-rang a.ss-v-t:link, main .ss-v-rang a.ss-v-t:visited { display: block; color: #6d6d6d; text-decoration: none; padding: 0.15em 0.32em 0.35em; border-radius: 3px 3px 0 0; }
.ss-v-tome:hover a.ss-v-t, .ss-v-rang:not(:hover) .ss-v-tome.on a.ss-v-t { color: #fff !important; background: var(--ss-accent); }
.ss-v-chaps { display: none; position: absolute; left: 0; right: 0; top: 1.9em; padding-top: 0.55em; border-top: 2px solid var(--ss-accent); }
.ss-v-tome:hover .ss-v-chaps, .ss-v-rang:not(:hover) .ss-v-tome.on .ss-v-chaps { display: block; }
.ss-v-lib { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: #9a9a9a; margin-bottom: 0.25em; }

/* numéros de chapitre (volet et pages d'accueil) */
.ss-v-nums { display: flex; flex-wrap: wrap; gap: 0.15em 0.1em; text-align: left; }
main .ss-v-nums a:link, main .ss-v-nums a:visited { min-width: 1.9em; text-align: center; color: #555; text-decoration: none; padding: 0.05em 0.2em; border-radius: 3px; }
main .ss-v-nums a:hover { color: var(--ss-accent); background: rgba(0, 0, 0, 0.05); }
main .ss-v-nums a.on { color: #fff; background: var(--ss-accent); }
.ss-v-nums.ss-grands { font-size: 1.05rem; gap: 0.4em; margin: 0.4em 0 0; }
main .ss-v-nums.ss-grands a:link, main .ss-v-nums.ss-grands a:visited { min-width: 2.4em; padding: 0.3em 0; border: 1px solid #e6e1d3; background: #fbfaf6; }
main .ss-v-nums.ss-grands a:hover { border-color: var(--ss-accent); color: var(--ss-accent); background: #fff; }

/* pages d'accueil « Synopsis des entrées » / « Texte intégral » : cartes de tomes */
nav.ss-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8em; margin: 1.8em 0 2.2em; }
main nav.ss-cartes a.ss-carte:link, main nav.ss-cartes a.ss-carte:visited { display: flex; flex-direction: column; align-items: center; gap: 0.15em; padding: 0.9em 0.4em 0.8em; background: #fbfaf6; border: 1px solid #e6e1d3; border-radius: 4px; text-decoration: none; color: #555; transition: border-color 0.15s, box-shadow 0.15s; }
main nav.ss-cartes a.ss-carte:hover { border-color: var(--ss-accent); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07); }
.ss-carte-num { font-size: 1.7rem; line-height: 1.1; color: var(--ss-accent); letter-spacing: 0.04em; }
.ss-carte-annees { font-size: 0.85rem; color: #6d6d6d; }
.ss-carte-n { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9a9a9a; }
.ss-tome-chapitres { display: none; scroll-margin-top: 80px; }
.ss-tome-chapitres:target { display: block; }
.ss-tome-chapitres h2 { margin-top: 0; }
.ss-tome-chapitres h2 .ss-an { font-weight: 400; color: #9a9a9a; font-size: 0.8em; }
/* la carte du tome affiché, marquée */
main:has(#tome-1:target) #carte-1, main:has(#tome-2:target) #carte-2, main:has(#tome-3:target) #carte-3,
main:has(#tome-4:target) #carte-4, main:has(#tome-5:target) #carte-5, main:has(#tome-6:target) #carte-6,
main:has(#tome-7:target) #carte-7, main:has(#tome-8:target) #carte-8, main:has(#tome-9:target) #carte-9,
main:has(#tome-10:target) #carte-10, main:has(#tome-11:target) #carte-11, main:has(#tome-12:target) #carte-12,
main:has(#tome-13:target) #carte-13, main:has(#tome-14:target) #carte-14, main:has(#tome-15:target) #carte-15,
main:has(#tome-16:target) #carte-16, main:has(#tome-17:target) #carte-17, main:has(#tome-18:target) #carte-18,
main:has(#tome-19:target) #carte-19, main:has(#tome-20:target) #carte-20 { border-color: var(--ss-accent); background: #fff; box-shadow: inset 0 -3px 0 var(--ss-accent); }

@media (max-width: 640px) {
    nav.ss-fil { grid-template-columns: auto 1fr auto; }
    .ss-fil-prec span, .ss-fil-suiv span { display: none; }
    .ss-v-rang { flex-wrap: wrap; padding-bottom: 5.6em; }
    .ss-v-chaps { top: auto; bottom: 0; }
    nav.ss-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* galerie d'images (page Présentation de Saint-Simon) : vignettes en grille,
   légende et crédit sous chacune */
.ss-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.2em 1em; margin: 0.6em 0 1.8em; }
.ss-galerie figure { margin: 0; display: flex; flex-direction: column; }
.ss-galerie figure > a { display: block; background: #f1efe8; border: 1px solid #e6e1d3; border-radius: 3px; overflow: hidden; }
/* la règle générale « main img » (marge de 3,5 rem, hauteur !important) est neutralisée ici */
main .ss-galerie img { display: block; margin: 0; width: 100%; height: 210px !important; max-height: none !important; object-fit: contain; }
.ss-galerie figure > a:hover { border-color: var(--ss-accent); }
.ss-galerie figcaption { font-size: 0.8rem; line-height: 1.4; margin: 0.4em 0 0; text-align: left; hyphens: none; color: #555; }
.ss-galerie .ss-credit { display: block; margin-top: 0.2em; font-size: 0.7rem; color: #9a9a9a; }
.ss-galerie .ss-doute { color: #b06b00; font-size: 0.75rem; }

/* --- Le texte en chiffres (lexique.html) --- */
.lx-form { display: flex; gap: 0.5rem; margin: 0.4rem 0 0.3rem; }
.lx-form input { flex: 1; min-width: 0; font: inherit; font-size: 0.95rem; padding: 0.3rem 0.5rem; border: 1px solid #ccc5b3; border-radius: 3px; background: #fff; }
.lx-form button { font: inherit; font-size: 0.9rem; padding: 0.3rem 0.9rem; border: 1px solid var(--ss-accent, var(--vert_antique)); border-radius: 3px; background: var(--ss-accent, var(--vert_antique)); color: #fff; cursor: pointer; }
.lx-exemples { font-size: 0.82rem; color: #8a8a8a; margin: 0 0 0.6rem; }
svg.lx-courbe { width: 100%; height: auto; display: block; }
.lx-ligne { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lx-repere { stroke: #b9b2a1; stroke-width: 1; stroke-dasharray: 3 3; }
.lx-cible { fill: transparent; }
.lx-cible:hover { fill: rgba(0, 0, 0, 0.04); }
.lx-etiq { font-size: 11px; fill: #555; }
.lx-barre { fill: #a8323f; opacity: 0.85; }
.lx-barre:hover { opacity: 1; }
.lx-legende-series { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.85rem; color: #555; margin: 0.3rem 0; }
.lx-legende-series i, .lx-detail i { display: inline-block; width: 0.9em; height: 0.25em; border-radius: 2px; vertical-align: middle; margin-right: 0.35em; }
.lx-detail { font-size: 0.88rem; margin: 0.35rem 0; }
.lx-absent { font-size: 0.88rem; font-style: italic; color: #8a8a8a; }
.lx-multiples { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.4rem 1.4rem; }
.lx-multiple h4.ss-sous-titre { margin-top: 0.5rem; }
.lx-def { font-size: 0.78rem; color: #8a8a8a; margin: 0.1rem 0 0.4rem; }
table.lx-longues td:first-child { white-space: nowrap; text-align: right; }
table.lx-longues td:nth-child(2) { white-space: normal; font-style: italic; }
table.lx-longues td:last-child { white-space: nowrap; }
table.lx-vocab td, table.lx-tomes td { white-space: normal; line-height: 1.6; }
table.lx-vocab td { width: 50%; vertical-align: top; }
table.lx-vocab td.lx-noms { color: #6d6d6d; font-size: 0.92em; }
table.lx-vocab span, table.lx-tomes span { cursor: help; }
