:root {
    --ink: #14283C;
    --ink-soft: #3D5570;
    --paper: #F5F7F9;
    --plan-bg: #FDFEFF;
    --line: #D8E0E8;
    --blueprint: #2B6CB0;
    --marine: #2B6CB0;        
    --line-soft: #EEF2F6;

    --st-ouvert:   #E5484D;
    --st-encours:  #F59E0B;
    --st-corrige:  #EAC50E;
    --st-approuve: #2F9E63;
    --st-refuse:   #64748B;

    --radius: 10px;
    --shadow: 0 2px 10px rgba(20,40,60,.10);
    --shadow-lg: 0 -6px 30px rgba(20,40,60,.18);
    --safe-b: env(safe-area-inset-bottom, 0px);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { height: 100%; }
  body {
    font-family: 'Barlow', system-ui, sans-serif;
    background: var(--paper); color: var(--ink);
    overflow: hidden; touch-action: manipulation;
  }

  /* ═══════════ Coquille ═══════════ */
  #app { display: flex; flex-direction: column; height: 100dvh; }

  header.appbar {
    background: var(--ink); color: #fff;
    padding: 12px 16px 10px;
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  }
  .logo {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 22px; letter-spacing: .08em;
    text-transform: uppercase;
  }
  .marque { width: 30px; height: 30px; flex: 0 0 auto; object-fit: contain; }
  .appbar .crumb {
    font-size: 13px; font-weight: 500; opacity: .75;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .btn-back {
    background: none; border: none; color: #fff; font-size: 22px;
    padding: 4px 8px 4px 0; cursor: pointer; line-height: 1;
  }

  main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
  main > .screen-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }

  /* ═══════════ Écran Projets ═══════════ */
  .screen-pad { padding: 16px; max-width: 760px; margin: 0 auto; width: 100%; }
  h2.section {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
  }
  .card-projet {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
    box-shadow: var(--shadow);
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    transition: transform .06s ease, border-color .12s ease;
  }
  .card-projet:hover { border-color: var(--blueprint); }
  .card-projet:active { transform: scale(.985); }
  .card-projet .nom { font-weight: 600; font-size: 16px; }
  .card-projet .meta { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
  .pill-count {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 999px; padding: 4px 12px; white-space: nowrap;
  }

  /* ═══════════ Écran Plan ═══════════ */
  .plan-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; }

  /* Barre latérale — ordinateur seulement */
  .side {
    display: none;
    flex-direction: column; width: 300px; flex-shrink: 0;
    background: #fff; border-right: 1px solid var(--line); overflow: hidden;
  }
  .side .side-head { padding: 14px 16px 8px; flex-shrink: 0; }
  .side .side-list { flex: 1; overflow-y: auto; padding: 4px 10px 10px; }
  .def-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 10px; border-radius: 8px; cursor: pointer;
    border: 1px solid transparent;
  }
  .def-item:hover { background: var(--paper); }
  .def-item.sel { border-color: var(--blueprint); background: #EFF5FB; }
  .def-item .dot {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 12px; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff; box-shadow: 0 1px 4px rgba(20,40,60,.3);
  }
  .def-item .txt { min-width: 0; }
  .def-item .t { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .def-item .r { font-size: 12px; color: var(--ink-soft); }
  .side-empty { padding: 24px 16px; font-size: 14px; color: var(--ink-soft); text-align: center; }
  .side .side-foot { padding: 10px 14px 14px; flex-shrink: 0; border-top: 1px solid var(--line); }

  .plan-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

  .floor-bar {
    display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto;
    flex-shrink: 0; scrollbar-width: none;
  }
  .floor-bar::-webkit-scrollbar { display: none; }
  .chip {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 15px;
    letter-spacing: .05em; text-transform: uppercase;
    padding: 7px 16px; border-radius: 999px; white-space: nowrap;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
    cursor: pointer;
  }
  .chip:hover { border-color: var(--blueprint); }
  .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

  .plan-zone {
    flex: 1; display: flex; align-items: flex-start; justify-content: center;
    padding: 4px 12px 12px; overflow: auto; position: relative;
  }
  .plan-wrap {
    position: relative; width: 100%; max-width: 900px;
    background: var(--plan-bg); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; user-select: none;
    /* none et non manipulation : sinon Safari iOS s'approprie le
       pincement et zoome la PAGE au lieu du plan. */
    touch-action: none;
  }
  /* La couche transformée. Tout ce qui doit suivre le plan vit ici :
     l'image ET les pastilles. Les commandes de zoom, elles, restent
     dans .plan-wrap pour ne pas être déplacées ni grossies. */
  .plan-scene {
    position: relative; width: 100%;
    transform-origin: center center; will-change: transform;
    --contre: 1;
  }
  .plan-scene.anime { transition: transform .24s cubic-bezier(.2,.8,.3,1); }
  .plan-wrap.placing { cursor: crosshair; }
  .plan-wrap svg.plan, .plan-wrap img.plan {
    display: block; width: 100%; height: auto; pointer-events: none;
    /* auto et non pixelated : un plan d'architecte en rendu « pixel »
       devient illisible dès ×2. La netteté se gagne à la source, pas
       ici — voir ImageUrlHD. */
    image-rendering: auto;
  }

  /* Commandes de zoom — hors de .plan-scene, donc fixes */
  .plan-zoom {
    position: absolute; right: 10px; bottom: 10px; z-index: 9;
    display: flex; flex-direction: column; gap: 6px;
  }
  .plan-zoom button {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font: 600 21px/1 'Barlow Condensed', sans-serif;
    background: rgba(255,255,255,.94); color: var(--ink);
    border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(20,40,60,.2);
    cursor: pointer; touch-action: manipulation;
  }
  .plan-zoom button:active { background: #fff; transform: scale(.94); }
  .plan-zoom button[disabled] { opacity: .4; cursor: default; }
  .plan-zoom button:focus-visible { outline: 2px solid var(--blueprint); outline-offset: 2px; }

  /* Jauge — n'apparaît qu'au-delà de ×1, s'efface après 1,4 s.
     Au repos, rien ne pollue le plan. */
  .plan-jauge {
    position: absolute; left: 10px; bottom: 10px; z-index: 9;
    font: 600 16px/1 'Barlow Condensed', sans-serif; letter-spacing: .04em;
    color: #fff; background: rgba(20,40,60,.86);
    padding: 6px 12px; border-radius: 999px;
    opacity: 0; transition: opacity .18s ease; pointer-events: none;
  }
  .plan-jauge.visible { opacity: 1; }

  .pastille {
    position: absolute; width: 30px; height: 30px; border-radius: 50%;
    /* --contre = 1/échelle : la pastille suit le plan mais garde
       30 px à l'écran. Sans ça, à ×4 elle couvre le dessin. */
    transform: translate(-50%, -50%) scale(var(--contre, 1));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px;
    color: #fff; border: 2.5px solid #fff;
    box-shadow: 0 2px 6px rgba(20,40,60,.35);
    cursor: pointer; z-index: 5;
    transition: box-shadow .12s ease;
  }
  .pastille:hover { box-shadow: 0 0 0 4px rgba(43,108,176,.25), 0 2px 6px rgba(20,40,60,.35); }
  .pastille:active { transform: translate(-50%, -50%) scale(calc(var(--contre, 1) * 1.15)); }
  .pastille.sel { box-shadow: 0 0 0 4px rgba(43,108,176,.45), 0 2px 6px rgba(20,40,60,.35); }

  /* Réticule de placement */
  .reticle {
    position: absolute; transform: translate(-50%, -50%) scale(var(--contre, 1));
    width: 58px; height: 58px; z-index: 8; cursor: grab; touch-action: none;
  }
  .reticle:active { cursor: grabbing; }
  .reticle .dot {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--st-ouvert); border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(229,72,77,.5);
    animation: pulse 1.4s ease-in-out infinite;
  }
  .reticle .hline, .reticle .vline { position: absolute; background: var(--st-ouvert); opacity: .55; }
  .reticle .hline { left: -14px; right: -14px; top: 50%; height: 1.5px; transform: translateY(-50%); }
  .reticle .vline { top: -14px; bottom: -14px; left: 50%; width: 1.5px; transform: translateX(-50%); }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(229,72,77,.45);} 50% { box-shadow: 0 0 0 10px rgba(229,72,77,0);} }

  .place-hint {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    background: rgba(20,40,60,.92); color: #fff; font-size: 13px; font-weight: 500;
    padding: 7px 14px; border-radius: 999px; z-index: 9; white-space: nowrap;
    pointer-events: none;
  }

  .legend {
    display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 16px 8px;
    font-size: 12.5px; color: var(--ink-soft); flex-shrink: 0;
  }
  .legend span { display: inline-flex; align-items: center; gap: 5px; }
  .legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

  .action-bar {
    flex-shrink: 0; padding: 10px 16px calc(12px + var(--safe-b));
    background: #fff; border-top: 1px solid var(--line);
    display: flex; gap: 10px;
  }
  .btn {
    font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 15px;
    border-radius: var(--radius); padding: 13px 18px; border: none; cursor: pointer;
    flex: 1; text-align: center;
  }
  .btn-primary { background: var(--ink); color: #fff; }
  .btn-primary:hover { background: var(--ink-soft); }
  .btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
  .btn-ghost:hover { border-color: var(--blueprint); }
  .btn:disabled { opacity: .45; cursor: default; }

  /* ═══════════ Feuille / panneau détail ═══════════ */
  .sheet-veil {
    position: fixed; inset: 0; background: rgba(20,40,60,.45);
    z-index: 40; opacity: 0; pointer-events: none; transition: opacity .18s ease;
  }
  .sheet-veil.open { opacity: 1; pointer-events: auto; }
  .sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
    background: #fff; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg);
    transform: translateY(105%); transition: transform .22s ease;
    max-height: 88dvh; display: flex; flex-direction: column;
  }
  .sheet.open { transform: translateY(0); }
  .sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 10px auto 4px; flex-shrink: 0; }
  .sheet-body { padding: 8px 20px calc(20px + var(--safe-b)); overflow-y: auto; }

  .sheet h3 {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 22px; letter-spacing: .02em; margin-bottom: 2px;
  }
  .ref-line { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
  .badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; color: #fff; margin-bottom: 14px;
  }
  .field { margin-bottom: 14px; }
  .field label {
    display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px;
  }
  .field input[type=text], .field textarea, .field select {
    width: 100%; font-family: 'Barlow', sans-serif; font-size: 15px;
    padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px;
    background: var(--paper); color: var(--ink); outline: none;
  }
  .field input:focus, .field textarea:focus { border-color: var(--blueprint); background: #fff; }
  .field textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
  .field .value { font-size: 15px; line-height: 1.45; }
  /* Texte saisi par l'usager : les retours de ligne comptent. Un
     surintendant qui ecrit trois constats l'un sous l'autre veut les
     relire ainsi, pas en un pave. `anywhere` couvre le cas d'une
     reference sans espace plus large que le panneau. */
  .field .value.texte { white-space: pre-wrap; overflow-wrap: anywhere; }
  .coords-chip {
    font-size: 13px; color: var(--ink-soft); background: var(--paper);
    border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
    display: inline-block;
  }
  .transitions { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
  .btn-status {
    font-weight: 600; font-size: 14px; padding: 11px 16px;
    border-radius: 8px; border: none; color: #fff; cursor: pointer; flex: 1 1 40%;
  }
  .btn-status:hover { filter: brightness(.94); }
  .photo-slot {
    border: 1.5px dashed var(--line); border-radius: var(--radius);
    text-align: center; color: var(--ink-soft); font-size: 14px;
    cursor: pointer; overflow: hidden; background: var(--paper);
  }
  .photo-slot:hover { border-color: var(--blueprint); }
  .photo-slot .empty { padding: 22px 12px; }
  .photo-slot img { display: block; width: 100%; max-height: 220px; object-fit: cover; }

  .toast {
    position: fixed; bottom: calc(80px + var(--safe-b)); left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
    padding: 10px 18px; border-radius: 999px; z-index: 60; opacity: 0;
    transition: all .22s ease; pointer-events: none; white-space: nowrap;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ═══════════ ORDINATEUR ≥ 900px ═══════════ */
  @media (min-width: 900px) {
    .plan-screen { flex-direction: row; }
    .side { display: flex; }
    .floor-bar { padding: 14px 20px 8px; }
    .action-bar { display: none; }          /* le bouton d'ajout vit dans la sidebar */
    .legend { padding: 0 20px 12px; }
    .plan-zone { padding: 4px 20px 16px; align-items: center; }

    /* La feuille devient un panneau latéral droit */
    .sheet {
      left: auto; right: 0; top: 0; bottom: 0; width: 420px;
      max-height: none; border-radius: 0;
      border-left: 1px solid var(--line);
      box-shadow: -8px 0 30px rgba(20,40,60,.15);
      transform: translateX(105%);
    }
    .sheet.open { transform: translateX(0); }
    .sheet-grip { display: none; }
    .sheet-body { padding: 22px 24px; }
    .toast { bottom: 28px; }
  }

  /* ——— Boutons d'icône dans l'appbar ——— */
  .btn-icone { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
    color: #fff; width: 34px; height: 34px; border-radius: 9px; font-size: 17px;
    line-height: 1; cursor: pointer; margin-left: auto; flex: 0 0 auto; }
  .btn-icone:hover { background: rgba(255,255,255,.22); }

  /* ——— En-tête de section avec action ——— */
  .section-head { display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: 22px 0 10px; }
  .section-head .section { margin: 0; }
  .btn-sm { font-size: 13px; padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--line);
    background: var(--paper); color: var(--ink); cursor: pointer; font-family: inherit;
    font-weight: 600; white-space: nowrap; }
  .btn-sm:hover { border-color: var(--marine); color: var(--marine); }
  .btn-sm.primaire { background: var(--marine); border-color: var(--marine); color: #fff; }

  /* ——— Liste de codes budgétaires ——— */
  .code-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 9px; margin-bottom: 7px;
    background: var(--paper); }
  .code-row.inactif { opacity: .48; }
  .code-row .code { font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    font-size: 16px; letter-spacing: .5px; color: var(--marine); min-width: 58px; }
  .code-row .txt { flex: 1; min-width: 0; }
  .code-row .txt .t { font-size: 14px; font-weight: 600; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
  .code-row .txt .d { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .4px;
    text-transform: uppercase; }
  .code-row .compte { font-size: 12px; color: var(--ink-soft); flex: 0 0 auto; }
  .code-row .actions { display: flex; gap: 5px; flex: 0 0 auto; }
  .code-row .actions button { border: 1px solid var(--line); background: var(--paper);
    border-radius: 7px; width: 30px; height: 30px; cursor: pointer; font-size: 13px;
    color: var(--ink-soft); }
  .code-row .actions button:hover { border-color: var(--marine); color: var(--marine); }

  /* ——— Sélecteur de poste budgétaire ——— */
  .poste-pick { border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
  .poste-pick input { border: none; border-bottom: 1px solid var(--line); border-radius: 0;
    width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit; }
  .poste-pick input:focus { outline: none; }
  .poste-list { max-height: 168px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .poste-opt { display: flex; gap: 9px; align-items: baseline; padding: 9px 12px;
    cursor: pointer; font-size: 14px; border-bottom: 1px solid var(--line-soft, #EEF2F6); }
  .poste-opt:last-child { border-bottom: none; }
  .poste-opt:hover { background: rgba(43,108,176,.06); }
  .poste-opt.on { background: rgba(43,108,176,.12); }
  .poste-opt .c { font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
    color: var(--marine); letter-spacing: .5px; }
  .poste-opt .n { color: var(--ink-soft); font-size: 13px; }
  .poste-vide { padding: 14px 12px; font-size: 13px; color: var(--ink-soft); text-align: center; }
  .select-statut {
  width: 100%;
  min-height: 44px;
  padding: 10px 40px 10px 14px;

  border: 1px solid var(--line);
  border-left: 7px solid var(--statut-color);
  border-radius: 10px;

  background: white;
  color: var(--ink);

  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.select-statut:focus {
  outline: 3px solid color-mix(
    in srgb,
    var(--statut-color) 25%,
    transparent
  );

  border-color: var(--statut-color);
}

.select-statut:disabled {
  cursor: wait;
  opacity: 0.6;
}
  .spin { width: 26px; height: 26px; margin: 0 auto; border-radius: 50%;
    border: 3px solid var(--line); border-top-color: var(--marine);
    animation: spin 0.9s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .aide { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin: 4px 0 14px; }


  /* ═══════════ ANNOTATION DE PHOTO ═══════════ */
  .annot {
    position: fixed; inset: 0; z-index: 210;
    display: none; flex-direction: column;
    background: rgba(12, 20, 28, .97);
    touch-action: none; -webkit-user-select: none; user-select: none;
  }
  .annot.ouverte { display: flex; }

  .annot-scene {
    flex: 1 1 auto; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 8px;
  }
  .annot-scene canvas {
    max-width: 100%; max-height: 100%;
    touch-action: none; cursor: crosshair;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
  }

  /* Deux rangees. Sur une seule, les 492 px de contenu debordaient
     d'un ecran de 393 px et « Utiliser » sortait du champ — on
     touchait « Reprendre » en croyant valider. */
  .annot-barre {
    flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px;
    padding: 10px 12px calc(10px + var(--safe-b));
    background: rgba(20, 32, 44, .96);
  }
  .annot-outils {
    display: flex; align-items: center; gap: 8px;
  }
  .annot-outils .espace { flex: 1 1 auto; }
  .annot-actions {
    display: flex; align-items: stretch; gap: 10px;
  }
  /* « Utiliser » prend deux fois la largeur de « Reprendre » : la
     taille dit laquelle des deux est l'action normale. */
  .annot-actions #annotReprendre { flex: 1 1 0; }
  .annot-actions #annotValider   { flex: 2 1 0; font-size: 17px; }
  .annot-actions .annot-btn { height: 52px; }

  .annot-btn {
    flex: 0 0 auto; min-width: 48px; height: 48px; padding: 0 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: rgba(255, 255, 255, .12); color: #fff;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px;
    font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .12s ease;
  }
  .annot-btn:hover { background: rgba(255, 255, 255, .2); }
  .annot-btn.on {
    background: #fff; color: var(--ink);
    border-color: #fff;
  }
  .annot-btn[disabled] { opacity: .35; cursor: default; }
  .annot-btn.valider { background: var(--st-approuve); border-color: var(--st-approuve); }

  .annot-couleur {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .35); cursor: pointer; flex: 0 0 auto;
  }
  .annot-couleur.on { border-color: #fff; transform: scale(1.12); }

  .annot-aide {
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    background: rgba(12, 20, 28, .8); color: #fff; font-size: 13px;
    padding: 7px 14px; border-radius: 999px; pointer-events: none;
    transition: opacity .2s ease;
  }
  .annot-aide.cachee { opacity: 0; }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }
