/* QG+ — Glisser un message : « Répondre » / « Tâche » (09/10/2026, qg-actions.js).
   Tiroir révélé en glissant (iPhone), pastille au survol (ordinateur), puce « Réponse à … » au-dessus de la saisie,
   citation dans votre bulle, feuille « Nouvelle tâche » (même dessin que la feuille tâche des mails), pastilles
   « Tâche » sous les messages et cases à cocher des cartes « Ma tâche » (Kanban).
   Couleurs : jetons --crr-* de qg-courrier.css (clair / sombre ; le mode Bleu les recalcule).
   Retour arrière : retirer qg-actions.css/js d'index.html. */

/* 1. Glisser ------------------------------------------------------------------------------- */
#hermes-signature #hs-feed > article.hs-message { touch-action: pan-y; touch-action: pan-y pinch-zoom; }
#hermes-signature #hs-feed > article.hs-message:is(.qa-glisse, .qa-survol) { position: relative; }
#hermes-signature #hs-feed > article.hs-message.qa-glisse > :not(.qa-tiroir) {
  transform: translate3d(var(--qa-dx, 0px), 0, 0);
  transition: transform .36s cubic-bezier(.22, .9, .25, 1);
}
#hermes-signature #hs-feed > article.hs-message.qa-drag > :not(.qa-tiroir) { transition: none; }
#hermes-signature .qa-tiroir {
  position: absolute; z-index: 3; right: 0; top: var(--qa-top, 50%);
  display: flex; gap: 8px; transform: translateY(-50%); pointer-events: none;
}
#hermes-signature .qa-ouvert > .qa-tiroir { pointer-events: auto; }
#hermes-signature .qa-bouton {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 650 10.5px/1 var(--crr-sans, -apple-system, system-ui, sans-serif); letter-spacing: .01em; color: var(--crr-doux, #8e8e93);
  opacity: clamp(0, calc(var(--qa-p, 0) * 1.9 - .45), 1);
  transform: translateX(calc((1 - var(--qa-p, 0)) * 26px)) scale(calc(.6 + var(--qa-p, 0) * .4));
  transition: opacity .3s ease, transform .36s cubic-bezier(.22, .9, .25, 1);
}
#hermes-signature .qa-bouton + .qa-bouton {
  opacity: clamp(0, calc(var(--qa-p, 0) * 1.9 - .2), 1);
  transform: translateX(calc((1 - var(--qa-p, 0)) * 12px)) scale(calc(.6 + var(--qa-p, 0) * .4));
}
/* 19/10/2026 : troisième bouton « Transférer » (qg-transfert.js) — Répondre · Transférer · Tâche */
#hermes-signature .qa-bouton + .qa-bouton + .qa-bouton {
  opacity: clamp(0, calc(var(--qa-p, 0) * 1.9 + .05), 1);
  transform: translateX(calc((1 - var(--qa-p, 0)) * 4px)) scale(calc(.6 + var(--qa-p, 0) * .4));
}
#hermes-signature .qa-bouton[data-qa="transfert"] .qa-rond {
  color: var(--qa-bleu, #0a6fd6); background: var(--crr-carte, #fff);
  border: 1px solid color-mix(in srgb, var(--qa-bleu, #0a6fd6) 38%, transparent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--qa-bleu, #0a6fd6) 16%, transparent);
}
#hermes-signature:not([data-theme="light"]) { --qa-bleu: #64d2ff; }
#hermes-signature:not([data-theme="light"]) .qa-bouton[data-qa="transfert"] .qa-rond { background: rgba(4, 16, 26, .92); box-shadow: 0 0 18px rgba(100, 210, 255, .2); }
#hermes-signature .qa-pilule [data-qa="transfert"] svg { color: var(--qa-bleu, #0a6fd6); }
#hermes-signature .qa-drag .qa-bouton { transition: none; }
#hermes-signature .qa-rond {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .18s ease, box-shadow .2s ease;
}
#hermes-signature .qa-rond svg { width: 21px; height: 21px; stroke-width: 2.1; }
#hermes-signature .qa-bouton:active .qa-rond { transform: scale(.9); }
#hermes-signature .qa-bouton[data-qa="rep"] .qa-rond {
  color: var(--crr-accent, #00a88e); background: var(--crr-carte, #fff);
  border: 1px solid color-mix(in srgb, var(--crr-accent, #00a88e) 38%, transparent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--crr-accent, #00a88e) 18%, transparent);
}
#hermes-signature .qa-bouton[data-qa="tache"] .qa-rond {
  color: var(--crr-ambre, #b35c00); background: var(--crr-carte, #fff);
  border: 1px solid var(--crr-ambre-bord, rgba(255, 149, 0, .5));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--crr-ambre, #b35c00) 16%, transparent);
}
#hermes-signature:not([data-theme="light"]) .qa-bouton[data-qa="rep"] .qa-rond { background: rgba(4, 22, 20, .92); box-shadow: 0 0 18px rgba(77, 255, 216, .22), inset 0 0 0 1px rgba(77, 255, 216, .08); }
#hermes-signature:not([data-theme="light"]) .qa-bouton[data-qa="tache"] .qa-rond { background: rgba(26, 18, 4, .92); box-shadow: 0 0 18px rgba(255, 181, 71, .18); }
#hermes-signature .qa-lib { white-space: nowrap; }

/* Éclair sur le message cité (toucher la puce « Réponse à … ») */
#hermes-signature .hs-message.qa-eclair > .hs-bubble { animation: qa-eclair 1.4s ease-out; }
@keyframes qa-eclair {
  0%, 60% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--crr-accent, #00a88e) 70%, transparent), 0 0 26px color-mix(in srgb, var(--crr-accent, #00a88e) 30%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* 2. Survol (souris) ------------------------------------------------------------------------ */
#hermes-signature .qa-pilule {
  position: absolute; z-index: 4; top: calc(var(--qa-ptop, 0px) - 16px); right: calc(var(--qa-pdroite, 0px) + 12px);
  display: flex; gap: 2px; padding: 3px; border-radius: 999px; width: max-content; white-space: nowrap;   /* 09/10 : jamais sur plusieurs lignes */
  background: var(--crr-feuille, #fff); border: 1px solid var(--crr-bord, rgba(60, 60, 67, .12));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .13);
  opacity: 0; transform: translateY(5px) scale(.96); pointer-events: none;
  transition: opacity .16s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
#hermes-signature:not([data-theme="light"]) .qa-pilule { background: rgba(3, 16, 14, .94); border-color: rgba(77, 255, 216, .22); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
#hermes-signature .qa-pilule.qa-vu { opacity: 1; transform: none; pointer-events: auto; }
#hermes-signature .qa-pilule button {   /* 09/10 : icônes seules (le titre au survol dit « Répondre » / « Tâche ») */
  display: grid; place-items: center; width: 32px; height: 30px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--crr-texte, #1c1c1e); font: 600 12px/1 var(--crr-sans, system-ui, sans-serif); cursor: pointer;
}
#hermes-signature .qa-pilule button:hover { background: var(--crr-btn, rgba(118, 118, 128, .1)); }
#hermes-signature .qa-pilule button > span { display: none; }
#hermes-signature .qa-pilule svg { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .2s cubic-bezier(.34, 1.5, .5, 1); }
#hermes-signature .qa-pilule button:hover svg { transform: scale(1.12); }
#hermes-signature .qa-pilule button:active svg { transform: scale(.9); }
#hermes-signature .qa-pilule [data-qa="rep"] svg { color: var(--crr-accent, #00a88e); }
#hermes-signature .qa-pilule [data-qa="tache"] svg { color: var(--crr-ambre, #b35c00); }

/* 3. Répondre : puce au-dessus de la saisie, citation dans votre bulle ---------------------- */
#hermes-signature .qa-reponse {
  display: flex; align-items: center; gap: 10px; min-height: 46px; margin: 0 16px 8px; padding: 0 2px 0 12px; overflow: hidden;
  border-radius: 12px; background: var(--crr-accent-fond, rgba(0, 201, 173, .12));
  border: 1px solid color-mix(in srgb, var(--crr-accent, #00a88e) 35%, transparent);
  color: var(--crr-accent, #00a88e); font-family: var(--crr-sans, system-ui, sans-serif); cursor: pointer;
}
#hermes-signature[data-theme="light"] .qa-reponse { background: rgba(255, 255, 255, .9); box-shadow: 0 4px 14px rgba(96, 52, 10, .08); }
#hermes-signature .qa-reponse > svg { width: 16px; height: 16px; flex: none; stroke-width: 2.2; }
#hermes-signature .qa-reponse-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#hermes-signature .qa-reponse-txt small {
  font: 700 8.5px/1 var(--crr-mono, ui-monospace, monospace); letter-spacing: .16em; text-transform: uppercase; color: var(--crr-accent, #00a88e);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
#hermes-signature .qa-reponse-txt span { font: 500 13px/1.25 var(--crr-sans, system-ui, sans-serif); color: var(--crr-texte, #1c1c1e); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#hermes-signature .qa-reponse-x {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--crr-doux, #8e8e93); cursor: pointer;
}
#hermes-signature .qa-reponse-x svg { width: 16px; height: 16px; }
#hermes-signature#hermes-signature #hs-feed .hs-message.mine > .hs-bubble.qa-avec-cite { display: flex; flex-direction: column; min-width: min(230px, 100%); }
#hermes-signature .qa-cite {
  order: -1; display: flex; align-items: center; gap: 6px; width: 0; min-width: 100%; box-sizing: border-box;
  margin: 0 0 6px; padding: 0 0 6px; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font: 500 12px/1.3 var(--crr-sans, system-ui, sans-serif); opacity: .78; overflow: hidden; white-space: nowrap;
}
#hermes-signature .qa-cite svg { width: 13px; height: 13px; flex: none; }
#hermes-signature .qa-cite-txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#hermes-signature .qa-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Feuille « Nouvelle tâche » (base : .qg-crr-feuille de qg-courrier.css) ------------------- */
#hermes-signature#hermes-signature#hermes-signature .qa-feuille { gap: 14px; }
#hermes-signature .qa-source {   /* 09/10 : le message garde ses lignes ; 4 lignes + fondu ; clic = tout afficher (qa-deborde / qa-ouverte) */
  position: relative; margin: -2px 0 0; padding: 11px 14px 11px 15px; flex: none;
  border-left: 3px solid var(--crr-accent, #00a88e); border-radius: 0 12px 12px 0;
  background: var(--crr-champ, rgba(118, 118, 128, .08)); color: var(--crr-resume, #3a3a3c);
  font: 400 13.5px/1.55 var(--crr-sans, system-ui, sans-serif); transition: background-color .2s ease;
}
#hermes-signature .qa-source-txt { max-height: calc(1.55em * 4); overflow: hidden; white-space: pre-line; overflow-wrap: anywhere; }
#hermes-signature .qa-source.qa-deborde { padding-right: 38px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#hermes-signature .qa-source.qa-deborde:not(.qa-ouverte) .qa-source-txt {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.55em), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 1.55em), transparent);
}
#hermes-signature .qa-source.qa-ouverte .qa-source-txt { max-height: min(44vh, 360px); overflow-y: auto; overscroll-behavior: contain; }
#hermes-signature .qa-source.qa-anime .qa-source-txt { overflow: hidden; }
#hermes-signature .qa-source.qa-deborde::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 18px; height: 18px; background: var(--crr-accent, #00a88e);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .32s cubic-bezier(.34, 1.4, .5, 1);
}
#hermes-signature .qa-source.qa-ouverte::after { transform: rotate(180deg); }
#hermes-signature .qa-source.qa-deborde:hover { background-color: color-mix(in srgb, var(--crr-accent, #00a88e) 7%, var(--crr-champ, rgba(118, 118, 128, .08))); }
#hermes-signature .qa-source:focus-visible { outline: 2px solid var(--crr-accent, #00a88e); outline-offset: 2px; }
#hermes-signature .qa-champ-notes textarea {
  min-height: 78px; max-height: 150px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--crr-btn-bord, rgba(60, 60, 67, .1));
  background: var(--crr-champ, rgba(118, 118, 128, .08)); color: var(--crr-texte, #1c1c1e); font: 400 15px/1.4 var(--crr-sans, system-ui, sans-serif);
  outline: none; width: 100%; box-sizing: border-box; resize: none; field-sizing: content;
}
#hermes-signature .qa-champ-notes textarea:focus { border-color: var(--crr-accent, #00a88e); }
#hermes-signature .qa-devine {
  display: none; align-items: center; gap: 4px; margin-left: 10px; font-style: normal; letter-spacing: .12em; color: var(--crr-accent, #00a88e);
}
#hermes-signature .qa-devine svg { width: 11px; height: 11px; }
#hermes-signature .qa-cherche .qa-devine { display: inline-flex; animation: qa-pouls 1.1s ease-in-out infinite; }
#hermes-signature .qa-cherche .qa-champ-titre input {
  background-image: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--crr-accent, #00a88e) 16%, transparent) 50%, transparent 70%);
  background-size: 240% 100%; background-repeat: no-repeat; animation: qa-reflet 1.3s linear infinite;
}
@keyframes qa-reflet { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes qa-pouls { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
#hermes-signature#hermes-signature#hermes-signature .qa-choix-listes { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
#hermes-signature#hermes-signature#hermes-signature .qa-choix-listes .qg-crr-opt { padding: 0 8px; text-overflow: ellipsis; }
#hermes-signature .qa-squelette { height: 44px; border-radius: 11px; background: var(--crr-btn, rgba(118, 118, 128, .08)); animation: qa-pouls 1.1s ease-in-out infinite; }

/* 5. Pastilles « Tâche » sous les messages ------------------------------------------------- */
#hermes-signature .qa-taches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; max-width: 100%; }
#hermes-signature .hs-message.mine > .qa-taches { justify-content: flex-end; }
#hermes-signature .qa-tache {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 0 11px 0 6px; box-sizing: border-box;
  border-radius: 999px; background: var(--crr-ambre-fond, rgba(255, 149, 0, .1)); border: 1px solid var(--crr-ambre-bord, rgba(255, 149, 0, .5));
  color: var(--crr-texte, #1c1c1e); font: 500 12px/1.2 var(--crr-sans, system-ui, sans-serif); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .25s ease, border-color .25s ease;
}
#hermes-signature .qa-tache-txt { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
#hermes-signature .qa-tache-txt b { color: var(--crr-ambre, #b35c00); font-weight: 700; margin-right: 2px; }
#hermes-signature .qa-tache small { flex: none; color: var(--crr-doux, #8e8e93); font: 500 10.5px/1 var(--crr-mono, ui-monospace, monospace); }
#hermes-signature .qa-tache.qa-faite { background: var(--crr-accent-fond, rgba(0, 201, 173, .12)); border-color: color-mix(in srgb, var(--crr-accent, #00a88e) 32%, transparent); }
#hermes-signature .qa-tache.qa-faite .qa-tache-txt { color: var(--crr-doux, #8e8e93); text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); }
#hermes-signature .qa-tache.qa-faite .qa-tache-txt b { color: var(--crr-accent, #00a88e); }

/* 6. Case à cocher (pastilles + cartes « Ma tâche ») ------------------------------------------ */
#hermes-signature .qa-coche {
  position: relative; flex: none; display: inline-block; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%;
  border: 1.6px solid color-mix(in srgb, var(--crr-ambre, #b35c00) 75%, transparent); background: transparent; cursor: pointer;
  vertical-align: -3px; transition: background .22s ease, border-color .22s ease; -webkit-tap-highlight-color: transparent;
}
#hermes-signature .qa-coche::before { content: ""; position: absolute; inset: -10px; }   /* zone de toucher élargie */
#hermes-signature .qa-coche::after {
  content: ""; position: absolute; left: 4.6px; top: 1.6px; width: 4.4px; height: 8.4px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
#hermes-signature .qa-coche[aria-checked="true"] { background: var(--crr-accent, #00a88e); border-color: var(--crr-accent, #00a88e); }
#hermes-signature .qa-coche[aria-checked="true"]::after { transform: rotate(45deg) scale(1); }
#hermes-signature:not([data-theme="light"]) .qa-coche::after { border-color: #01241f; }
#hermes-signature .qa-coche:focus-visible { outline: 2px solid var(--crr-accent, #00a88e); outline-offset: 2px; }
#hermes-signature .qg-kcard-title > .qa-coche { margin-right: 8px; }
#hermes-signature .qg-tk-row > .qa-coche { margin: 2px 4px 0 2px; align-self: flex-start; }
#hermes-signature .qa-perso.qa-faite .qg-kcard-title, #hermes-signature .qa-perso[data-col="done"] .qg-kcard-title,
#hermes-signature .qa-perso.qa-faite .qg-tk-rowcopy strong, #hermes-signature .qa-perso[data-col="done"] .qg-tk-rowcopy strong {
  text-decoration: line-through; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

/* 7. Mail associé et PDF joints (16/10/2026, le Général : « afin que je m'y retrouve ») ----------------
   Feuille « Nouvelle tâche » : cases « Associer le mail » / « Joindre x.pdf ». Cartes de tâches : puces sobres. */
#hermes-signature .qa-joints-choix { display: flex; flex-direction: column; gap: 6px; }
#hermes-signature .qa-joint {
  display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 12px; box-sizing: border-box; width: 100%; text-align: left;
  border-radius: 11px; border: 1px solid var(--crr-btn-bord, rgba(60, 60, 67, .10)); background: var(--crr-btn, rgba(118, 118, 128, .08));
  color: var(--crr-btn-txt, #1c1c1e); font: 500 13.5px/1.2 var(--crr-sans, system-ui, sans-serif); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}
#hermes-signature .qa-joint > svg { width: 15px; height: 15px; flex: none; color: var(--crr-doux, #8e8e93); }
#hermes-signature .qa-joint-txt { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#hermes-signature .qa-joint-txt b { font-weight: 600; }
#hermes-signature .qa-joint-case {
  position: relative; flex: none; width: 18px; height: 18px; box-sizing: border-box; border-radius: 5px;
  border: 1.6px solid color-mix(in srgb, var(--crr-doux, #8e8e93) 80%, transparent); transition: background .2s ease, border-color .2s ease;
}
#hermes-signature .qa-joint-case::after {
  content: ""; position: absolute; left: 4.6px; top: 1.4px; width: 4.2px; height: 8.4px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
#hermes-signature:not([data-theme="light"]) .qa-joint-case::after { border-color: #01241f; }
#hermes-signature .qa-joint[aria-checked="true"] { border-color: color-mix(in srgb, var(--crr-accent, #00a88e) 38%, transparent); background: var(--crr-accent-fond, rgba(0, 201, 173, .12)); }
#hermes-signature .qa-joint[aria-checked="true"] .qa-joint-case { background: var(--crr-accent, #00a88e); border-color: var(--crr-accent, #00a88e); }
#hermes-signature .qa-joint[aria-checked="true"] .qa-joint-case::after { transform: rotate(45deg) scale(1); }
#hermes-signature .qa-joint:focus-visible { outline: 2px solid var(--crr-accent, #00a88e); outline-offset: 2px; }

#hermes-signature .qa-jps { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 2px; min-width: 0; max-width: 100%; }
#hermes-signature .qa-jp {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; max-width: 100%; padding: 0 9px; box-sizing: border-box; border-radius: 12px;
  border: 1px solid var(--crr-sep, rgba(60, 60, 67, .12)); background: var(--crr-btn, rgba(118, 118, 128, .06)); color: var(--crr-doux, rgba(60, 60, 67, .64));
  font: 500 12px/1 var(--crr-sans, system-ui, sans-serif); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
#hermes-signature .qa-jp > svg { width: 12.5px; height: 12.5px; flex: none; }
#hermes-signature .qa-jp > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#hermes-signature .qa-jp:hover { color: var(--crr-accent, #00a88e); border-color: color-mix(in srgb, var(--crr-accent, #00a88e) 40%, transparent); transform: translateY(-1px); }
#hermes-signature .qa-jp:focus-visible { outline: 2px solid var(--crr-accent, #00a88e); outline-offset: 1px; }
#hermes-signature .qa-jp.qa-jp-attente { opacity: .55; pointer-events: none; }
#hermes-signature .qg-tk-rowcopy > .qa-jps { margin: 3px 0 1px; }
#hermes-signature .td-puces > .qa-jp { height: 25px; border-radius: 13px; font-size: 12.5px; }   /* Google Tasks : même gabarit que les puces date / message */

@media (prefers-reduced-motion: reduce) {
  #hermes-signature .qa-joint, #hermes-signature .qa-joint-case, #hermes-signature .qa-joint-case::after, #hermes-signature .qa-jp { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  #hermes-signature #hs-feed > article.hs-message.qa-glisse > :not(.qa-tiroir), #hermes-signature .qa-bouton,
  #hermes-signature .qa-pilule { transition: none; }
  #hermes-signature .qa-cherche .qa-devine, #hermes-signature .qa-cherche .qa-champ-titre input, #hermes-signature .qa-squelette { animation: none; }
  #hermes-signature .qa-source, #hermes-signature .qa-source::after { transition: none; }
}
/* 18/10/2026 (le Général, iPhone : « je n'arrive pas à faire défiler latéralement un tableau ») : « pan-y » sur la bulle
   (pour le glisser → Répondre / Tâche) bloquait aussi le défilement horizontal des tableaux qu'elle contient. Une bulle qui
   contient un tableau laisse passer le défilement horizontal ; le glisser reste actif hors du tableau (defilableX). */
#hermes-signature #hs-feed > article.hs-message:has(.qg-markdown-table) { touch-action: pan-x pan-y pinch-zoom; }
#hermes-signature .qg-markdown-table { touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
