
  #souvenirs p { font-size: var(--t-note); color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
  /* Les liens posés dans la page gardent `.user-lien`, habillée par sa
     règle GLOBALE ; on ne leur ajoute ici que la hauteur de cible, PAR
     LEUR IDENTIFIANT — une règle `#souvenirs .user-lien` ré-habillerait
     la classe depuis un conteneur, exactement ce que test_css_ancrage
     démasque. Ceux que le code fabrique ont leur classe à eux, `.sv-lien`. */
  #sv-retour, #sv-alerte-tri, #sv-brouillon-go, #sv-annuler-go { min-height: var(--cible); }
  #souvenirs .sv-lien {
    display: block; margin-top: 10px; background: none; border: 0; padding: 4px 0;
    min-height: var(--cible); color: var(--muted); font-size: var(--t-note);
    cursor: pointer; font-family: inherit;
  }
  #souvenirs .sv-lien:hover { color: var(--text); }
  #souvenirs .sv-lien[hidden] { display: none; }
  #souvenirs h3 { font-size: var(--t-lu); font-weight: 600; color: var(--text); margin: 14px 0 6px; }
  #sv-prive { color: var(--text); }
  #sv-compte {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px 0; margin: 6px 0 12px;
  }
  #sv-compte[hidden] { display: none; }
  #sv-nombre { font-size: var(--t-question); font-weight: 600; color: var(--text); }
  #sv-sur { font-size: var(--t-corps); color: var(--muted); }
  #sv-detail { flex-basis: 100%; margin: 0; }
  #sv-alerte, #sv-brouillon {
    background: var(--panel2); border: 1px solid var(--line2);
    border-radius: var(--r-cadre); padding: 14px 16px; margin: 0 0 12px;
  }
  #sv-alerte-titre { color: var(--text); font-weight: 600; margin-bottom: 4px; }
  #souvenirs .sv-rangee { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  #souvenirs .sv-rangee[hidden] { display: none; }
  #sv-apprend-ligne {
    display: flex; align-items: center; gap: 10px; min-height: var(--cible);
    font-size: var(--t-corps); color: var(--text); cursor: pointer; margin: 6px 0 2px;
  }
  #sv-apprend-ligne[hidden] { display: none; }
  #sv-apprend { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--accent); }
  #sv-portee {
    min-height: var(--cible); padding: 0 16px; cursor: pointer; font-family: inherit;
    background: var(--panel2); color: var(--text); border: 1px solid var(--line2);
    border-radius: var(--r-plein); font-size: var(--t-corps);
  }
  #sv-portee[aria-pressed="true"] { border-color: var(--accent); }
  #sv-cherche {
    flex: 1; min-width: 160px; min-height: var(--cible); padding: 10px 12px;
    background: var(--panel2); color: var(--text); border: 1px solid var(--line2);
    border-radius: var(--r-objet); font-size: var(--t-lu); font-family: inherit; outline: none;
  }
  #sv-cherche:focus { border-color: var(--accent); }
  #sv-cherche[hidden] { display: none; }
  #sv-filtres {
    display: flex; gap: 2px; overflow-x: auto; margin: 12px 0 6px;
    border-bottom: 1px solid var(--line);
  }
  #sv-filtres[hidden] { display: none; }
  #sv-filtres button {
    flex: 1; min-height: var(--cible); padding: 8px 10px; cursor: pointer;
    background: none; border: 0; border-bottom: 2px solid transparent;
    color: var(--muted); font-size: var(--t-note); font-family: inherit; white-space: nowrap;
  }
  #sv-filtres button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }
  #sv-liste { display: grid; gap: 8px; }
  #sv-liste[hidden] { display: none; }
  #sv-liste .sv-groupe {
    font-size: var(--t-etiquette); font-weight: 600; letter-spacing: 0.5px;
    color: var(--muted); text-transform: uppercase; margin: 10px 0 0;
  }
  #sv-liste .sv-carte {
    display: block; width: 100%; text-align: left; min-height: var(--cible);
    padding: 12px 14px; background: var(--panel2); border: 1px solid var(--line);
    border-radius: var(--r-objet); color: var(--text); cursor: pointer;
    font-family: inherit; font-size: var(--t-corps); line-height: 1.55;
  }
  #sv-liste .sv-carte[hidden] { display: none; }
  #sv-liste .sv-carte:hover { border-color: var(--line2); }
  #sv-liste .sv-type {
    display: block; font-size: var(--t-etiquette); color: var(--muted); margin-bottom: 3px;
  }
  #sv-liste .sv-type[hidden] { display: none; }
  #sv-liste .sv-texte { display: block; overflow-wrap: anywhere; }
  #sv-liste .sv-texte[hidden] { display: none; }
  #sv-liste .sv-vide {
    text-align: center; padding: 22px 16px;
    border: 1px solid var(--line); border-radius: var(--r-cadre);
  }
  #sv-liste .sv-pied { text-align: center; margin: 8px 0 0; }
  #sv-annuler {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: sticky; bottom: 0; margin-top: 12px; padding: 4px 6px 4px 16px;
    background: var(--panel2); border: 1px solid var(--line2);
    border-radius: var(--r-cadre); font-size: var(--t-corps); color: var(--text);
  }
  #sv-annuler[hidden] { display: none; }
  #sv-annuler-go { margin: 0; color: var(--accent); }
  #sv-pied-actions, #souvenirs .sv-actions {
    display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 16px;
  }
  #sv-pied-actions[hidden], #souvenirs .sv-actions[hidden] { display: none; }
  #sv-ajouter, #sv-condenser, #sv-alerte-reunir, #souvenirs .sv-primaire, #souvenirs .sv-second {
    min-height: var(--cible); padding: 12px 18px; cursor: pointer; font-family: inherit;
    border-radius: var(--r-objet); font-size: var(--t-corps);
  }
  #sv-ajouter, #souvenirs .sv-primaire {
    background: var(--accent); color: var(--on-accent); border: 0; font-weight: 600;
  }
  #sv-condenser, #sv-alerte-reunir, #souvenirs .sv-second {
    background: var(--panel2); color: var(--text); border: 1px solid var(--line2);
  }
  #sv-feuille[hidden] { display: none; }
  #sv-feuille .sv-sur-titre {
    color: var(--accent); font-size: var(--t-etiquette); font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase; margin: 10px 0 0;
  }
  #sv-feuille .sv-f-titre { font-size: var(--t-chiffre); }
  #sv-feuille .sv-f-texte {
    font-size: var(--t-lu); color: var(--text); line-height: 1.7;
    overflow-wrap: anywhere; margin: 12px 0 16px;
  }
  #sv-feuille .sv-puces { display: flex; flex-wrap: wrap; gap: 6px; }
  #sv-feuille .sv-puces[hidden] { display: none; }
  #sv-feuille .sv-puce {
    border: 1px solid var(--line2); border-radius: var(--r-plein);
    padding: 4px 10px; font-size: var(--t-note); color: var(--muted);
  }
  #sv-feuille .sv-meta { border-top: 1px solid var(--line2); padding-top: 12px; }
  #sv-feuille .sv-meta-ligne { margin: 0 0 4px; }
  #sv-feuille .sv-etiquette {
    display: block; font-size: var(--t-note); font-weight: 600;
    color: var(--muted); margin: 14px 0 6px;
  }
  #sv-feuille .sv-etiquette[hidden] { display: none; }
  #sv-feuille .sv-champ {
    width: 100%; min-height: var(--cible); padding: 11px 12px;
    background: var(--panel2); color: var(--text); border: 1px solid var(--line2);
    border-radius: var(--r-objet); font-size: var(--t-lu); font-family: inherit;
    outline: none; resize: vertical;
  }
  #sv-feuille .sv-champ:focus, #sv-feuille .sv-apres { border-color: var(--accent); }
  #sv-feuille .sv-compteur { text-align: right; margin: 4px 0 0; }
  #sv-feuille .sv-portees { border: 0; padding: 0; margin: 0; }
  #sv-feuille .sv-choix {
    display: flex; align-items: flex-start; gap: 10px; min-height: var(--cible);
    padding: 12px; margin-bottom: 8px; cursor: pointer;
    border: 1px solid var(--line2); border-radius: var(--r-objet);
    font-size: var(--t-corps); color: var(--text);
  }
  #sv-feuille .sv-choix[hidden] { display: none; }
  #sv-feuille .sv-choix:has(input:checked) { border-color: var(--accent); }
  #sv-feuille .sv-choix input {
    width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--accent);
  }
  #sv-feuille .sv-choix-sous {
    display: block; font-size: var(--t-note); color: var(--muted); margin-top: 2px;
  }
  #sv-feuille .sv-choix-sous[hidden] { display: none; }
  #sv-feuille .sv-avant {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-objet);
    padding: 10px 12px; color: var(--text); margin: 0 0 6px;
  }
  #sv-feuille .sv-erreur { color: var(--danger); }

