/* Ali Gator · « Moderne » v244 (10/11/2026).
   Retour de Dali sur la v243 : « cruellement simple, ça manque de modernisme et de couleur, c’est même fade » et
   « je préfère le logo avec le G mâchoire 2+2 clair ». La v244 garde la structure nette de la v243 (plus de décor
   dessin animé, plus de mascotte) et lui redonne de la couleur et du relief :
   - marque : le G à mâchoire (deux dents en haut, deux en bas), vert profond sur clair ; depuis le 10/11/2026,
     l’œil du gator remplace de nouveau le « o » de Gator dans le nom (fichiers gator-v244/*.svg) ;
   - une aurore de couleur derrière l’app (citron, émeraude, menthe, une pointe de violet) ;
   - une carte vedette vert profond par mode, des tuiles et pastilles en couleur (rouge PDF, vert tableur, orange PowerPoint,
     bleu Drive, violet pour tout ce qui touche à l’IA) ;
   - des boutons en relief avec une lueur, des cartes qui se soulèvent et un halo qui suit la souris.
   Polices (consigne de Dali, 10/11/2026) : le corps du texte reste en Hellix (--gm-sans) ; les titres sont en Geist (--gm-title).

   Fluidité : toujours aucun flou d’arrière-plan (backdrop-filter) ; les dégradés sont peints une fois, tout ce qui bouge
   bouge en transform / opacity.

   Technique : toute la couche vit dans « @layer gm » et chaque déclaration est en !important. Une déclaration !important
   placée dans un @layer passe devant toutes les règles !important hors @layer, quelle que soit leur spécificité :
   pas de surenchère de sélecteurs avec les 60 couches précédentes, qui restent intactes.
   Les sections 1 à 15 posent la structure (héritée de la v243) ; la section 16 pose la couleur et le relief de la v244
   (à spécificité égale, la dernière règle du fichier l’emporte).
   → Pour corriger par-dessus cette couche, deux possibilités :
     1) modifier ce fichier ;
     2) écrire dans une nouvelle feuille :  @layer gm-patch { sélecteur { propriété: valeur !important } }
        (gm-patch est déclaré avant gm : il gagne toujours).
   Une règle !important ordinaire (hors @layer) ajoutée plus tard ne gagnera PAS contre cette couche.

   Retour arrière vers la v243 : dans index.html, remettre moderne-v243.css, gator-v243.css, gator-v243.js,
   les icônes gator-icon-v243-* et manifest-v243.webmanifest (tous ces fichiers sont conservés). */
@layer gm-patch, gm;

@layer gm {

/* =====================================================================
   1. JETONS
   ===================================================================== */
html:root{
  --gm-bg:#f2f6f0;--gm-surface:#fff;--gm-sunken:#e8efe7;--gm-hover:#e4ede3;--gm-raise:#f7faf5;
  --gm-line:#dde6dc;--gm-line-2:#c8d5c8;--gm-line-3:#a5b6a7;--gm-edge:rgba(15,61,46,.1);
  --gm-ink:#0b1410;--gm-ink-2:#2b3a32;--gm-ink-3:#56675e;--gm-ink-4:#88978e;
  --gm-green:#0f3d2e;--gm-green-2:#14553f;--gm-green-3:#0c8259;--gm-green-soft:#dcf2e4;--gm-green-softer:#edf7ef;
  --gm-emerald:#10b27a;--gm-mint:#4fe3c1;--gm-cyan:#2bc4e8;
  --gm-lime:#c6f44f;--gm-lime-2:#b1e737;--gm-lime-soft:#eefbcf;--gm-lime-ink:#2c4a09;
  --gm-violet:#7c5cfc;--gm-violet-2:#6846ee;--gm-violet-soft:#efeaff;--gm-violet-ink:#4a2fc4;
  --gm-coral:#f4543f;--gm-coral-soft:#ffe8e3;--gm-orange:#f98a1f;--gm-orange-soft:#fff0dd;
  --gm-blue:#2f7bf5;--gm-blue-soft:#e4efff;--gm-sheet:#12a15f;--gm-sheet-soft:#dcf5e6;
  --gm-red:#b42318;--gm-red-soft:#fdecea;--gm-amber:#8a5a00;--gm-amber-soft:#fbf1d6;
  --gm-r-xs:7px;--gm-r-sm:9px;--gm-r:11px;--gm-r-md:14px;--gm-r-lg:20px;--gm-r-xl:26px;
  --gm-sh-1:0 1px 2px rgba(11,45,32,.06),0 1px 1px rgba(11,45,32,.03);
  --gm-sh-2:0 1px 2px rgba(11,45,32,.05),0 10px 26px -14px rgba(12,74,52,.26);
  --gm-sh-3:0 2px 6px rgba(11,45,32,.05),0 26px 50px -22px rgba(12,84,58,.36);
  /* ombre des très grandes surfaces : volontairement courte, une ombre large sur une grande carte coûte cher à peindre au défilement */
  --gm-sh-big:0 1px 2px rgba(11,45,32,.06),0 12px 24px -16px rgba(12,74,52,.3);
  --gm-sh-modal:0 0 0 1px rgba(11,45,32,.06),0 40px 90px -28px rgba(8,50,35,.5);
  --gm-ring:0 0 0 4px rgba(16,178,122,.18);
  --gm-grad:linear-gradient(100deg,#0f3d2e 0%,#0c8f63 52%,#6dc22f 100%);
  --gm-grad-btn:linear-gradient(180deg,#19694e 0%,#0f4533 52%,#0b3024 100%);
  --gm-grad-btn-h:linear-gradient(180deg,#1f7a5b 0%,#12523d 52%,#0d3a2b 100%);
  --gm-grad-lime:linear-gradient(180deg,#dcfd7c 0%,#c1f045 100%);
  --gm-grad-ai:linear-gradient(135deg,#7c5cfc 0%,#2bc4e8 58%,#4fe3c1 100%);
  --gm-grad-deep:radial-gradient(90% 120% at 100% 0%,rgba(198,244,79,.32),rgba(198,244,79,0) 55%),radial-gradient(80% 110% at 0% 100%,rgba(79,227,193,.26),rgba(79,227,193,0) 60%),linear-gradient(155deg,#14513c 0%,#0b2f24 62%,#082219 100%);
  --gm-sh-btn:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(6,30,21,.36),0 12px 24px -12px rgba(13,110,74,.7);
  --gm-sh-btn-h:inset 0 1px 0 rgba(255,255,255,.26),0 1px 2px rgba(6,30,21,.36),0 18px 32px -12px rgba(13,130,86,.85);
  --gm-sh-lime:inset 0 1px 0 rgba(255,255,255,.6),0 12px 26px -12px rgba(170,225,50,.75);
  --gm-sh-ai:0 10px 22px -10px rgba(92,80,240,.6);
  /* l’aurore : la même liste de dégradés sert au fond de l’app et à l’en-tête (qui en reprend exactement la tranche du haut) */
  --gm-aurora:radial-gradient(42% 48% at 5% -8%,rgba(198,244,79,.6),rgba(198,244,79,0) 72%),radial-gradient(36% 42% at 54% -16%,rgba(46,214,163,.36),rgba(46,214,163,0) 72%),radial-gradient(30% 40% at 103% 2%,rgba(124,92,252,.2),rgba(124,92,252,0) 72%),radial-gradient(36% 40% at 100% 106%,rgba(46,214,163,.2),rgba(46,214,163,0) 72%),radial-gradient(30% 34% at -4% 104%,rgba(255,221,112,.22),rgba(255,221,112,0) 72%);
  --gm-ease:cubic-bezier(.2,.8,.2,1);
  --gm-sans:"Hellix",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --gm-title:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --gm-mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  /* le G à mâchoire : vert profond, citron, et en masque (pour le colorer en CSS) */
  --gm-g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7 7 50 50'%3E%3Cpath fill='%230f3d2e' d='M53.33 21A24 24 0 1 0 55.99 31.5H52.13L48.98 27.3L45.83 31.5L42.68 27.3L39.53 31.5H31V42.5H39.66A13 13 0 1 1 38.93 21H41.81L44.69 25.2L47.57 21L50.45 25.2L53.33 21Z'/%3E%3C/svg%3E");
  --gm-g-lime:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7 7 50 50'%3E%3Cpath fill='%23c6f44f' d='M53.33 21A24 24 0 1 0 55.99 31.5H52.13L48.98 27.3L45.83 31.5L42.68 27.3L39.53 31.5H31V42.5H39.66A13 13 0 1 1 38.93 21H41.81L44.69 25.2L47.57 21L50.45 25.2L53.33 21Z'/%3E%3C/svg%3E");
  --gm-g-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7 7 50 50'%3E%3Cpath d='M53.33 21A24 24 0 1 0 55.99 31.5H52.13L48.98 27.3L45.83 31.5L42.68 27.3L39.53 31.5H31V42.5H39.66A13 13 0 1 1 38.93 21H41.81L44.69 25.2L47.57 21L50.45 25.2L53.33 21Z'/%3E%3C/svg%3E");
}
/* les jetons des couches précédentes pointent vers la nouvelle palette */
html:root,html:root body{
  --ag-sans:var(--gm-sans)!important;--lx-sans:var(--gm-sans)!important;--lx-serif:var(--gm-title)!important;
  --ag-mono:var(--gm-mono)!important;--lx-mono:var(--gm-mono)!important;
  --ag-ink:var(--gm-ink)!important;--ag-ink-2:var(--gm-ink-2)!important;--ag-ink-3:var(--gm-ink-3)!important;
  --agv-ink:var(--gm-ink)!important;--agv-ink2:var(--gm-ink-2)!important;--agv-ink3:var(--gm-ink-3)!important;
  --lx-ink:var(--gm-ink)!important;--lx-ink2:var(--gm-ink-2)!important;--lx-ink3:var(--gm-ink-3)!important;--lx-ink4:var(--gm-ink-4)!important;
  --agv-g9:#0a2a20!important;--agv-g8:var(--gm-green)!important;--agv-g7:var(--gm-green)!important;--agv-g6:var(--gm-green-2)!important;
  --lx-g9:#0a2a20!important;--lx-g8:var(--gm-green)!important;--lx-g7:var(--gm-green)!important;--lx-g6:var(--gm-green-2)!important;--lx-g5:var(--gm-green-3)!important;
  --agv-lime:var(--gm-lime)!important;--agv-lime2:var(--gm-lime-2)!important;--agv-lime-soft:var(--gm-lime-soft)!important;
  --lx-lime:var(--gm-lime)!important;--lx-lime2:var(--gm-lime-2)!important;--lx-lime3:#7fb332!important;--lx-limeink:var(--gm-lime-ink)!important;
  --lx-line:var(--gm-line)!important;--lx-line2:var(--gm-line-2)!important;--lx-line3:var(--gm-line-3)!important;
  --lx-card:linear-gradient(#fff,#fff)!important;--lx-edge:var(--gm-line)!important;--agv-edge:var(--gm-line)!important;--agv-ring:var(--gm-line)!important;
  --agv-glass:linear-gradient(#fff,#fff)!important;--agv-glass-strong:linear-gradient(#fff,#fff)!important;--agv-blur:none!important;
  --lx-hi:0 0 0 0 transparent!important;--lx-sh1:var(--gm-sh-1)!important;--lx-sh2:var(--gm-sh-2)!important;--lx-sh3:var(--gm-sh-3)!important;
  --agv-shadow:var(--gm-sh-2)!important;--agv-shadow-lg:var(--gm-sh-modal)!important;--lx-ring:var(--gm-ring)!important;
  --lx-btn:var(--gm-grad-btn)!important;--lx-btn-h:var(--gm-grad-btn-h)!important;
  --agv-btn-dark:var(--gm-grad-btn)!important;--agv-btn-lime:var(--gm-grad-lime)!important;
  --ag-spring:var(--gm-ease)!important;--agv-spring:var(--gm-ease)!important;--lx-spring:var(--gm-ease)!important;
  --ag-ease:var(--gm-ease)!important;--agv-ease:var(--gm-ease)!important;--lx-ease:var(--gm-ease)!important;
  --ag-glint:transparent!important;--ag-glow-a:transparent!important;--ag-glow-b:transparent!important;--ag-glow-c:transparent!important;--ag-spot:transparent!important;--ag-ripple:rgba(15,21,18,.06)!important;
  --green:var(--gm-green)!important;--accent:var(--gm-green-soft)!important;--line:var(--gm-line)!important;--muted:var(--gm-ink-3)!important;--surface:#fff!important;--soft:var(--gm-sunken)!important;
  --ink:var(--gm-ink)!important;--text:var(--gm-ink)!important;
  --appearance-accent:var(--gm-green)!important;--appearance-card:#fff!important;--appearance-border:var(--gm-line)!important;--appearance-note:var(--gm-green-softer)!important;
  --studio-bg:var(--gm-bg)!important;--studio-panel:#fff!important;--studio-soft:var(--gm-sunken)!important;--studio-line:var(--gm-line)!important;--studio-ink:var(--gm-ink)!important;--studio-muted:var(--gm-ink-3)!important;--studio-lime:var(--gm-lime)!important;--studio-shadow:var(--gm-sh-2)!important;
}
html:root .atelier-home{--home-card:#fff!important;--home-tint:var(--gm-sunken)!important;--home-border:var(--gm-line)!important;--home-muted:var(--gm-ink-3)!important;--home-accent:var(--gm-ink)!important}
html:root .drive-dialog{--drive-line:var(--gm-line)!important;--drive-card:var(--gm-raise)!important;--drive-muted:var(--gm-ink-3)!important;--drive-text:var(--gm-ink)!important;--drive-bg:#fff!important}
html:root .office-workspace{--office-bg:var(--gm-bg)!important;--office-card:#fff!important;--office-line:var(--gm-line)!important;--office-ink:var(--gm-ink)!important;--office-muted:var(--gm-ink-3)!important;--office-soft:var(--gm-sunken)!important}

/* =====================================================================
   2. SOCLE
   ===================================================================== */
html:root{background:var(--gm-bg)!important;color-scheme:light!important}
html:root body{background:var(--gm-bg)!important;color:var(--gm-ink)!important;font-family:var(--gm-sans)!important;font-feature-settings:normal!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}
html:root body .app-shell{background:var(--gm-bg)!important}
html:root body #root :is(button,input,select,textarea),html:root body dialog:not(.gt3) :is(button,input,select,textarea),html:root body aside.lxc :is(button,input,select,textarea){font-family:var(--gm-sans)!important}
html:root body :is(h1,h2,h3,h4,h5,h6):not(.gt3 *){font-family:var(--gm-title)!important;font-style:normal!important;font-variation-settings:normal!important}
/* les titres (Geist) gardent la variante de glyphes qu’ils avaient au lancement de la v243 */
html:root body :is(h1,h2,h3,h4,h5,h6,.drive-tile-copy strong,.lx-stat b,.batch-upload>strong,.lxc-empty strong,.lxc-sel-n b,.drive-metric>strong):not(.gt3 *){font-feature-settings:"cv11","ss03"!important}
html:root body ::selection{background:rgba(200,241,105,.6)!important;color:var(--gm-ink)!important}
html:root body *{scrollbar-color:rgba(15,21,18,.22) transparent!important}
html:root body :is(button,a,input,textarea,select,summary,[tabindex]):not(.gt3 *):focus-visible{outline:2px solid var(--gm-green-3)!important;outline-offset:2px!important}

/* décor des couches précédentes : retiré (champ de lumière, reflets, grain, boule) */
html:root body>.agv-field,html:root body>.da-sky,html:root body .agv-sheen,html:root body .da-wm,html:root body .da-hero,html:root body>.da-ld,html:root body .agv-glint,html:root body .ag-glow,html:root body .ag-spot{display:none!important}

/* sur-titres : mono discret, sans pastille */
html:root body :is(.eyebrow,.entry-kicker,.office-kicker){display:inline-flex!important;align-items:center!important;gap:8px!important;font-family:var(--gm-mono)!important;font-size:11px!important;font-weight:500!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:var(--gm-ink-3)!important;line-height:1.2!important}
html:root body :is(.eyebrow,.entry-kicker,.office-kicker)::before{display:none!important}

/* =====================================================================
   3. EN-TÊTE ET MARQUE
   ===================================================================== */
html:root body .app-header{background:var(--gm-bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-bottom:1px solid var(--gm-line)!important;box-shadow:none!important;padding:0 clamp(16px,2.6vw,36px)!important}
html:root body .app-header::before,html:root body .app-header::after{display:none!important}
/* la marque : le logo vectorisé (lettres Geist + l’œil) est posé en fond de l’ancienne image, dont le contenu est écarté */
html:root body .app-header .home-brand{display:inline-flex!important;align-items:center!important;gap:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:10px!important;margin:0 0 0 -10px!important;border:0!important;border-radius:var(--gm-r)!important;background:transparent!important;box-shadow:none!important;transform:none!important;translate:none!important;transition:background-color .14s ease!important}
html:root body .app-header .home-brand:hover{background:var(--gm-hover)!important}
html:root body .app-header .home-brand::before,html:root body .app-header .home-brand::after{display:none!important}
html:root body .app-header .home-brand>img{display:block!important;flex:none!important;width:91px!important;height:18px!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border-radius:0!important;object-fit:none!important;object-position:-999px -999px!important;background:url(gator-v244/ali-gator.svg) left center/contain no-repeat!important;clip-path:none!important;animation:none!important;filter:none!important;opacity:1!important;rotate:none!important;transform:none!important;transition:none!important}
html:root body .app-header .home-brand>:not(img){display:none!important}

html:root body .app-header .header-actions{gap:8px!important;align-items:center!important}
html:root body .app-header .local-badge{display:inline-flex!important;align-items:center!important;gap:7px!important;height:34px!important;padding:0 6px!important;margin:0 2px!important;background:none!important;border:0!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;letter-spacing:-.003em!important;color:var(--gm-ink-3)!important}
html:root body .app-header .local-badge::before{display:none!important}
html:root body .app-header .local-badge i{width:6px!important;height:6px!important;border-radius:50%!important;background:#3aa767!important;box-shadow:none!important;animation:none!important}
html:root body .app-header :is(.button.quiet,.agv-sound,.icon-button){height:36px!important;min-height:36px!important;border-radius:var(--gm-r)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink)!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:-.006em!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body .app-header .button.quiet{padding:0 12px 0 10px!important;gap:7px!important}
html:root body .app-header :is(.agv-sound,.icon-button){width:36px!important;padding:0!important;place-items:center!important;justify-content:center!important}
html:root body .app-header :is(.button.quiet,.agv-sound,.icon-button):hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important}
html:root body .app-header :is(.button.quiet,.agv-sound,.icon-button) svg{width:16px!important;height:16px!important;color:var(--gm-ink-2)!important;stroke-width:1.8!important}

/* =====================================================================
   4. BOUTONS, CHAMPS, PASTILLES
   ===================================================================== */
html:root body .button{border-radius:var(--gm-r)!important;font-family:var(--gm-sans)!important;font-weight:600!important;letter-spacing:-.008em!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .2s ease,opacity .14s ease!important}
html:root body .button.primary{border:0!important;color:#fff!important;background:var(--gm-green)!important;box-shadow:none!important}
html:root body .button.primary:hover:not(:disabled){background:var(--gm-green-2)!important;box-shadow:none!important;transform:none!important}
html:root body .button.primary:active:not(:disabled){background:#0b3024!important}
html:root body .button.primary svg{color:currentColor!important;opacity:.92!important}
html:root body .button.secondary{color:var(--gm-ink)!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:none!important}
html:root body .button.secondary:hover:not(:disabled){background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important;box-shadow:none!important;transform:none!important}
html:root body .button.quiet{color:var(--gm-ink)!important;box-shadow:none!important}
html:root body .button:disabled{opacity:.45!important;box-shadow:none!important}
html:root body .text-button{font-weight:500!important;color:var(--gm-ink-2)!important;transition:color .14s ease!important}
html:root body .text-button:hover{color:var(--gm-ink)!important}
html:root body .icon-button{border-radius:var(--gm-r-sm)!important;box-shadow:none!important;transform:none!important;transition:background-color .14s ease,color .14s ease!important}

}

@layer gm {

/* =====================================================================
   5. ACCUEIL
   ===================================================================== */
html:root body main.atelier-home{padding:clamp(36px,6vh,64px) max(clamp(20px,4vw,56px),calc((100% - 1120px)/2)) 96px!important;background:transparent!important}
html:root body .home-introduction{position:relative!important;max-width:none!important}
html:root body .home-introduction h1{max-width:18ch!important;margin:18px 0 16px!important;font-family:var(--gm-title)!important;font-size:clamp(38px,4.5vw,62px)!important;font-weight:600!important;line-height:1.03!important;letter-spacing:-.045em!important;color:var(--gm-ink)!important}
html:root body .home-introduction h1 em{font-family:var(--gm-title)!important;font-style:normal!important;font-weight:600!important;letter-spacing:-.045em!important;color:var(--gm-green-3)!important;background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;-webkit-text-fill-color:currentColor!important;animation:none!important;text-shadow:none!important}
html:root body .home-introduction>p{max-width:46ch!important;margin:0!important;font-size:17px!important;line-height:1.55!important;letter-spacing:-.008em!important;color:var(--gm-ink-3)!important}
html:root body .studio-home-note{display:none!important}

/* sélecteur PDF / Tableur / PowerPoint : contrôle segmenté */
html:root body nav.document-mode-tabs{display:inline-flex!important;position:relative!important;gap:0!important;padding:3px!important;margin:36px 0 18px!important;border-radius:11px!important;background:var(--gm-sunken)!important;border:1px solid var(--gm-line)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body nav.document-mode-tabs button{position:relative!important;z-index:1!important;height:34px!important;min-height:0!important;padding:0 15px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:-.006em!important;color:var(--gm-ink-3)!important;transform:none!important;transition:color .16s ease!important}
html:root body nav.document-mode-tabs button:hover{color:var(--gm-ink)!important}
html:root body nav.document-mode-tabs button[aria-selected=true]{color:var(--gm-ink)!important}
html:root body nav.document-mode-tabs:not(.ag-pill-ready) button[aria-selected=true]{background:#fff!important;box-shadow:var(--gm-sh-1),0 0 0 1px var(--gm-line)!important}
html:root body nav.document-mode-tabs .ag-tab-pill{top:-2px!important;left:-2px!important;border-radius:8px!important;background:#fff!important;box-shadow:var(--gm-sh-1),0 0 0 1px var(--gm-line)!important;transition:transform .26s var(--gm-ease),width .26s var(--gm-ease)!important}

/* cartes d’entrée */
html:root body .entry-cards{gap:16px!important}
html:root body .entry-card{border-radius:var(--gm-r-lg)!important;padding:28px 30px!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:none!important;translate:none!important;overflow:hidden!important;transition:border-color .18s ease,box-shadow .24s ease!important}
html:root body .entry-card::before,html:root body .entry-card::after,html:root body .entry-art::before,html:root body .entry-art::after{display:none!important}
html:root body .entry-card:hover,html:root body .entry-card.ag-hot,html:root body .entry-card:focus-visible{border-color:var(--gm-line-3)!important;box-shadow:var(--gm-sh-3)!important;transform:none!important}
html:root body .entry-copy h2{margin:12px 0 8px!important;font-family:var(--gm-title)!important;font-size:clamp(22px,2vw,26px)!important;font-weight:600!important;line-height:1.12!important;letter-spacing:-.032em!important;color:var(--gm-ink)!important}
html:root body .entry-copy p{font-size:14.5px!important;line-height:1.55!important;color:var(--gm-ink-3)!important;letter-spacing:-.004em!important}
html:root body .entry-cta{display:inline-flex!important;align-items:center!important;gap:7px!important;width:auto!important;height:36px!important;margin-top:18px!important;padding:0 11px 0 14px!important;border:0!important;border-radius:var(--gm-r)!important;background:var(--gm-sunken)!important;color:var(--gm-ink)!important;font-size:13.5px!important;font-weight:600!important;letter-spacing:-.008em!important;box-shadow:none!important;transition:background-color .18s ease,color .18s ease!important}
html:root body .entry-card:hover .entry-cta,html:root body .entry-card:focus-visible .entry-cta{background:var(--gm-green)!important;color:#fff!important;box-shadow:none!important}
html:root body .entry-cta svg{width:16px!important;height:16px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:currentColor!important;translate:none!important;transition:transform .22s var(--gm-ease)!important}
html:root body .entry-card:hover .entry-cta svg{color:currentColor!important;translate:none!important;transform:translate(2px,-2px)!important}
/* les petits dessins des cartes : feuilles neutres, un seul trait citron */
html:root body .entry-paper,html:root body .home-office-paper{border-radius:10px!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-2)!important;translate:none!important;scale:none!important;transition:transform .32s var(--gm-ease)!important}
html:root body .entry-card:hover .entry-paper{translate:none!important;transform:translateY(-4px) rotate(-1deg)!important}
html:root body .entry-paper>svg{color:var(--gm-ink-3)!important}
html:root body .entry-paper>i{background:var(--gm-line)!important;border-radius:99px!important}
html:root body .entry-paper>i:nth-of-type(2){background:var(--gm-lime)!important}
html:root body .entry-paper>span{border-radius:6px!important;background:var(--gm-green-softer)!important;border:1px solid var(--gm-line)!important;color:var(--gm-green-2)!important;box-shadow:none!important}
html:root body .entry-stack>div{border-radius:10px!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-1)!important;translate:none!important}
html:root body .entry-stack>div:nth-child(1),html:root body .entry-stack>div:nth-child(2){background:var(--gm-raise)!important}
html:root body .entry-card:hover .entry-stack>div:nth-child(1){translate:none!important;rotate:none!important;transform:translate(8px,-3px) rotate(5deg)!important}
html:root body .entry-card:hover .entry-stack>div:nth-child(2){translate:none!important;rotate:none!important;transform:translate(-6px,1px) rotate(-4deg)!important}
html:root body .entry-stack>div svg{color:var(--gm-ink-3)!important}
html:root body .entry-stack>div>i{background:var(--gm-line)!important;border-radius:99px!important}
html:root body .entry-stack>div>span{background:none!important}
html:root body .entry-stack>div>span svg{color:var(--gm-green-3)!important;background:var(--gm-green-softer)!important;border-radius:50%!important}
html:root body .entry-spark{border-radius:9px!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:0 6px 14px -8px rgba(15,61,46,.7)!important;rotate:none!important;scale:none!important;animation:none!important}
html:root body .entry-spark svg{color:var(--gm-lime)!important}
html:root body .entry-card:hover .entry-spark{rotate:none!important;scale:none!important}

/* tuile Drive */
html:root body button.drive-tile{margin-top:16px!important;padding:20px 24px!important;border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:none!important;transition:border-color .18s ease,box-shadow .24s ease!important}
html:root body button.drive-tile::before,html:root body button.drive-tile::after{display:none!important}
html:root body button.drive-tile:hover{border-color:var(--gm-line-3)!important;box-shadow:var(--gm-sh-3)!important;transform:none!important}
html:root body .drive-symbol{width:46px!important;height:46px!important;border-radius:var(--gm-r-md)!important;background:var(--gm-sunken)!important;border:0!important;box-shadow:none!important;color:var(--gm-ink-2)!important}
html:root body .drive-symbol svg{width:22px!important;height:22px!important;stroke-width:1.7!important}
html:root body .drive-tile-copy strong{font-family:var(--gm-title)!important;font-size:19px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.025em!important;color:var(--gm-ink)!important}
html:root body .drive-tile-copy>span:last-child{font-size:14px!important;color:var(--gm-ink-3)!important}
html:root body .drive-tile-cta{display:inline-flex!important;align-items:center!important;gap:7px!important;height:36px!important;padding:0 11px 0 14px!important;border-radius:var(--gm-r)!important;background:var(--gm-sunken)!important;color:var(--gm-ink)!important;font-size:13.5px!important;font-weight:600!important;transition:background-color .18s ease,color .18s ease!important}
html:root body button.drive-tile:hover .drive-tile-cta{background:var(--gm-green)!important;color:#fff!important}
html:root body .drive-tile-cta svg{width:16px!important;height:16px!important}

/* bibliothèque « Vos documents » */
html:root body section.document-library{margin-top:56px!important}
html:root body .library-heading{align-items:flex-end!important;margin:0 0 16px!important}
html:root body .library-heading h2{display:flex!important;align-items:center!important;gap:10px!important;margin:10px 0 0!important;font-family:var(--gm-title)!important;font-size:26px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:-.035em!important;color:var(--gm-ink)!important}
html:root body .library-heading h2>span{font-family:var(--gm-mono)!important;font-size:12px!important;font-weight:500!important;line-height:1!important;padding:5px 8px!important;border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-3)!important;letter-spacing:0!important}
html:root body :is(.batch-library-tools>label,label.library-search){height:40px!important;padding:0 12px!important;gap:8px!important;border-radius:var(--gm-r)!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:none!important;transition:border-color .14s ease,box-shadow .14s ease!important}
html:root body :is(.batch-library-tools>label,label.library-search):focus-within{border-color:var(--gm-green-3)!important;box-shadow:var(--gm-ring)!important}
html:root body :is(.batch-library-tools>label,label.library-search) input{height:38px!important;font-size:14px!important;color:var(--gm-ink)!important}
html:root body :is(.batch-library-tools>label,label.library-search) input::placeholder{color:var(--gm-ink-4)!important}
html:root body .library-selection{margin:0 0 12px!important;padding:10px 4px!important;border-top:1px solid var(--gm-line)!important;border-bottom:1px solid var(--gm-line)!important;font-size:13px!important;color:var(--gm-ink-3)!important}
html:root body .library-selection label{font-weight:500!important;color:var(--gm-ink-2)!important}
html:root body .document-grid{gap:0!important;padding:4px!important;border-radius:var(--gm-r-lg)!important;background:#fff!important;border:1px solid var(--gm-line)!important;box-shadow:var(--gm-sh-1)!important}
html:root body article.document-tile{min-height:60px!important;padding:8px 12px!important;border-radius:var(--gm-r-md)!important;background:transparent!important;transition:background-color .14s ease!important;transform:none!important}
html:root body article.document-tile:hover{background:var(--gm-raise)!important}
html:root body article.document-tile.is-selected{background:var(--gm-green-softer)!important}
html:root body .document-glyph{width:36px!important;height:40px!important;border-radius:8px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;box-shadow:none!important}
html:root body .document-glyph svg{width:18px!important;height:18px!important;stroke-width:1.7!important}
html:root body .document-tile-open h3{font-family:var(--gm-title)!important;font-size:14.5px!important;font-weight:550!important;letter-spacing:-.012em!important;color:var(--gm-ink)!important}
html:root body .document-tile-meta{font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .document-tile-meta>span{height:22px!important;padding:0 7px!important;border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;font-size:11.5px!important;font-weight:500!important}
html:root body .document-tile-meta time{font-family:var(--gm-mono)!important;font-size:12px!important;color:var(--gm-ink-3)!important}
html:root body .document-tile-footer{height:32px!important;padding:0 10px!important;border-radius:var(--gm-r-sm)!important;color:var(--gm-ink-2)!important;font-size:13px!important;font-weight:600!important;opacity:.7!important;transition:opacity .14s ease,background-color .14s ease!important}
html:root body article.document-tile:hover .document-tile-footer{opacity:1!important;background:var(--gm-sunken)!important;color:var(--gm-ink)!important}
html:root body nav.agp .agp-btn{border-radius:var(--gm-r-sm)!important}
html:root body nav.agp .agp-btn[aria-current=page]{background:var(--gm-green)!important;color:#fff!important;border-color:transparent!important}
html:root body .home-note{margin-top:28px!important;color:var(--gm-ink-4)!important;font-size:12.5px!important}
html:root body .home-note svg{color:var(--gm-ink-4)!important}

/* cases à cocher */
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]{width:18px!important;height:18px!important;border-radius:5px!important;border:1.5px solid var(--gm-line-3)!important;background-color:#fff!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]:hover{border-color:var(--gm-green-3)!important}
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]:checked{background-color:var(--gm-green)!important;border-color:var(--gm-green)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.6l4.6-5.2' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}

/* lien vers Ari Gator, en bas de l’accueil : même marque, version signature */
html:root body footer.home-companion{margin-top:40px!important;padding-top:22px!important;border-top:1px solid var(--gm-line)!important;background:none!important}
html:root body footer.home-companion a{display:inline-flex!important;align-items:center!important;gap:16px!important;padding:10px!important;margin-left:-10px!important;border-radius:var(--gm-r)!important;text-decoration:none!important;transition:background-color .14s ease!important}
html:root body footer.home-companion a:hover{background:var(--gm-hover)!important}
html:root body footer.home-companion a>img.companion-light{display:block!important;flex:none!important;width:88px!important;height:17px!important;margin:0!important;object-fit:none!important;object-position:-999px -999px!important;background:url(gator-v244/ari-gator.svg) left center/contain no-repeat!important;filter:none!important;opacity:1!important}
html:root body footer.home-companion a>img.companion-dark{display:none!important}
html:root body footer.home-companion a>span{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:-.006em!important;color:var(--gm-ink-3)!important}
html:root body footer.home-companion a:hover>span{color:var(--gm-ink)!important}

}

@layer gm {

/* =====================================================================
   6. ATELIER (éditeur PDF) : trois panneaux nets
   ===================================================================== */
html:root body .workspace{gap:10px!important;padding:10px 12px 12px!important;background:transparent!important}
html:root body .project-sidebar,html:root body .editor-main,html:root body .assistant-panel{border-radius:14px!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .project-sidebar::before,html:root body .project-sidebar::after,html:root body .editor-main::before,html:root body .editor-main::after,html:root body .assistant-panel::before,html:root body .assistant-panel::after{display:none!important}
html:root body .workspace .sidebar-frame{border-radius:14px!important;background:transparent!important;box-shadow:none!important}

/* barre de gauche */
html:root body .project-sidebar .new-document{min-height:40px!important;height:40px!important;border-radius:var(--gm-r)!important;border:0!important;color:#fff!important;background:var(--gm-green)!important;box-shadow:none!important;font-size:13.5px!important;font-weight:600!important;transform:none!important;translate:none!important}
html:root body .project-sidebar .new-document:hover:not(:disabled){background:var(--gm-green-2)!important}
html:root body .project-sidebar .new-document svg{color:currentColor!important;opacity:.9!important}
html:root body :is(.documents-disclosure,.pages-disclosure){border-radius:var(--gm-r-sm)!important;background:transparent!important;font-family:var(--gm-sans)!important;font-size:13px!important;font-weight:600!important;letter-spacing:-.006em!important;text-transform:none!important;color:var(--gm-ink-2)!important;transition:background-color .14s ease!important}
html:root body :is(.documents-disclosure,.pages-disclosure)>span:not(.count){font-family:var(--gm-sans)!important;font-size:13px!important;font-weight:600!important;letter-spacing:-.006em!important;text-transform:none!important;color:var(--gm-ink-2)!important}
html:root body :is(.documents-disclosure,.pages-disclosure):hover{background:var(--gm-hover)!important}
html:root body :is(.documents-disclosure,.pages-disclosure) .count{font-family:var(--gm-mono)!important;font-size:11px!important;border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-3)!important;box-shadow:none!important}
html:root body .project-item{border-radius:var(--gm-r)!important;background:transparent!important;box-shadow:none!important;transition:background-color .14s ease!important}
html:root body .project-item:hover{background:var(--gm-hover)!important}
html:root body .project-item.active{background:var(--gm-sunken)!important;box-shadow:none!important}
html:root body .project-item span{font-weight:500!important;color:var(--gm-ink)!important;letter-spacing:-.008em!important}
html:root body .project-item small{font-family:var(--gm-mono)!important;font-size:11px!important;color:var(--gm-ink-3)!important}
html:root body .project-item svg{color:var(--gm-ink-3)!important}
html:root body .project-item>i{background:var(--gm-green-3)!important;box-shadow:none!important}
html:root body .page-tile{border-radius:var(--gm-r-sm)!important}
html:root body .thumbnail{border-radius:6px!important;border-color:var(--gm-line-2)!important;box-shadow:none!important;background:#fff!important}
html:root body .thumbnail.active{border-color:var(--gm-green)!important;box-shadow:0 0 0 2px rgba(15,61,46,.16)!important}
html:root body .thumbnail>span,html:root body .page-tile>span{font-family:var(--gm-mono)!important;color:var(--gm-ink-3)!important}
html:root body .page-tile :is(img,canvas){border-radius:4px!important;box-shadow:none!important}
html:root body .sidebar-bottom{border-top-color:var(--gm-line)!important}
html:root body .original-note{font-size:12px!important;color:var(--gm-ink-3)!important;background:none!important;border:0!important}
html:root body .original-note svg{color:var(--gm-ink-4)!important}
html:root body .build-label,html:root body .build-label span{font-family:var(--gm-mono)!important;font-size:10.5px!important;letter-spacing:.06em!important;color:var(--gm-ink-4)!important;border-top-color:var(--gm-line)!important}

/* en-tête du document et barre d’outils */
html:root body .document-heading{border-bottom:1px solid var(--gm-line)!important;background:transparent!important}
html:root body .document-name h1{font-family:var(--gm-title)!important;font-size:15px!important;font-weight:600!important;letter-spacing:-.015em!important;color:var(--gm-ink)!important}
html:root body .document-name>span{font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .document-name>span>i{background:#3aa767!important;box-shadow:none!important}
html:root body .document-heading .button.primary{min-height:38px!important;height:38px!important;padding:0 14px!important;font-size:13.5px!important}
html:root body .document-toolbar{border-bottom:1px solid var(--gm-line)!important;background:transparent!important}
html:root body .view-switch{padding:3px!important;border-radius:var(--gm-r)!important;background:var(--gm-sunken)!important;border:1px solid var(--gm-line)!important;gap:0!important}
html:root body .view-switch button{border-radius:7px!important;font-size:13px!important;font-weight:500!important;color:var(--gm-ink-3)!important;background:transparent!important;box-shadow:none!important;transition:background-color .14s ease,color .14s ease!important}
html:root body .view-switch button.active{background:#fff!important;color:var(--gm-ink)!important;box-shadow:var(--gm-sh-1),0 0 0 1px var(--gm-line)!important}
html:root body .eraser-launch{height:32px!important;border-radius:var(--gm-r-sm)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink)!important;font-size:13px!important;font-weight:500!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body .eraser-launch:hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important}
html:root body :is(.document-heading,.document-toolbar,.document-footer,.assistant-tabs) .icon-button{color:var(--gm-ink-2)!important;background:transparent!important;border-color:transparent!important}
html:root body :is(.document-heading,.document-toolbar,.document-footer,.assistant-tabs) .icon-button:hover:not(:disabled){background:var(--gm-hover)!important;color:var(--gm-ink)!important}
html:root body :is(.document-heading,.document-toolbar,.document-footer) .icon-button.toggled{background:var(--gm-green-soft)!important;color:var(--gm-green)!important}
html:root body .toolbar-divider{background:var(--gm-line-2)!important}
html:root body .zoom-value{font-family:var(--gm-mono)!important;font-size:12px!important;color:var(--gm-ink-2)!important}
html:root body .pdf-stage{background:var(--gm-sunken)!important;background-image:none!important}
html:root body .pdf-sheet{border-radius:2px!important;box-shadow:0 0 0 1px rgba(15,21,18,.06),0 1px 3px rgba(15,21,18,.08),0 16px 36px -18px rgba(15,21,18,.22)!important}
html:root body .document-footer{border-top:1px solid var(--gm-line)!important;background:transparent!important;font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .type-badge{border-radius:6px!important;font-family:var(--gm-mono)!important;font-size:11px!important;letter-spacing:.03em!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;border:0!important;box-shadow:none!important}

/* atelier vide */
html:root body .welcome-heading .eyebrow .tiny-star{display:none!important}
html:root body .welcome-heading h1{font-family:var(--gm-title)!important;font-size:clamp(30px,3vw,40px)!important;font-weight:600!important;line-height:1.08!important;letter-spacing:-.04em!important;color:var(--gm-ink)!important}
html:root body .welcome-heading h1 em{font-family:var(--gm-title)!important;font-style:normal!important;font-weight:600!important;letter-spacing:-.04em!important;color:var(--gm-green-3)!important}
html:root body .welcome-heading>p{font-size:15px!important;line-height:1.6!important;color:var(--gm-ink-3)!important}
html:root body .upload-zone{border-radius:var(--gm-r-lg)!important;border:1.5px dashed var(--gm-line-3)!important;background:var(--gm-raise)!important;box-shadow:none!important;transform:none!important;transition:border-color .16s ease,background-color .16s ease!important}
html:root body .upload-zone::before,html:root body .upload-zone::after{display:none!important}
html:root body .upload-zone:hover,html:root body .upload-zone.is-dragging,html:root body .upload-zone.drag-over{border-color:var(--gm-green-3)!important;background:var(--gm-green-softer)!important;transform:none!important}
html:root body .upload-zone>strong{font-size:15.5px!important;font-weight:600!important;letter-spacing:-.012em!important;color:var(--gm-ink)!important}
html:root body .upload-zone>span:not(.button){font-size:13.5px!important;color:var(--gm-ink-3)!important}
html:root body .upload-zone>small{font-size:12px!important;color:var(--gm-ink-4)!important}
html:root body .upload-zone .button.primary{min-height:40px!important;height:40px!important;font-size:13.5px!important}
html:root body .paper-stack>div{border-radius:8px!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .paper-stack>div>svg{color:var(--gm-ink-3)!important}
html:root body .paper-spark{background:var(--gm-green)!important;color:#fff!important;box-shadow:0 0 0 2px #fff!important;border:0!important}
html:root body .sample-link{font-size:13.5px!important;font-weight:500!important;color:var(--gm-ink-2)!important;background:transparent!important;border-radius:var(--gm-r-sm)!important;transition:color .14s ease,background-color .14s ease!important}
html:root body .sample-link:hover{color:var(--gm-ink)!important;background:var(--gm-hover)!important}
html:root body .sample-link svg{color:var(--gm-ink-3)!important}
html:root body .welcome-steps>div{border-color:var(--gm-line)!important}
html:root body .welcome-steps>div>span{font-family:var(--gm-mono)!important;font-size:12px!important;font-weight:500!important;letter-spacing:.06em!important;color:var(--gm-ink-4)!important}
html:root body .welcome-steps>div>strong{font-size:14px!important;font-weight:600!important;letter-spacing:-.01em!important;color:var(--gm-ink)!important}
html:root body .welcome-steps>div>p{font-size:13px!important;color:var(--gm-ink-3)!important}
html:root body .welcome-footnote{font-size:12.5px!important;color:var(--gm-ink-4)!important}

/* assistant */
html:root body .assistant-tabs{border-bottom:1px solid var(--gm-line)!important;background:transparent!important}
html:root body .assistant-tabs>button{font-size:13.5px!important;font-weight:600!important;letter-spacing:-.008em!important;color:var(--gm-ink-3)!important;background:transparent!important;border-bottom-color:transparent!important;box-shadow:none!important}
html:root body .assistant-tabs>button.active{color:var(--gm-ink)!important;border-bottom-color:var(--gm-green)!important}
html:root body .assistant-tabs>button svg{color:currentColor!important}
html:root body .assistant-intro .ai-icon{border-radius:9px!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important}
html:root body .assistant-intro .ai-icon svg{color:var(--gm-lime)!important}
html:root body .assistant-intro h2{margin:12px 0 8px!important;font-family:var(--gm-title)!important;font-size:21px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:-.032em!important;color:var(--gm-ink)!important}
html:root body .assistant-intro p{font-size:13.5px!important;line-height:1.55!important;color:var(--gm-ink-3)!important}
html:root body .document-ready{border-radius:6px!important;background:var(--gm-green-softer)!important;border:0!important;color:var(--gm-green-2)!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important}
html:root body .document-ready svg{color:var(--gm-green-3)!important}
html:root body .suggestions button{border-radius:var(--gm-r)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink)!important;font-size:13.5px!important;font-weight:500!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body .suggestions button:hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important;transform:none!important}
html:root body .suggestions button svg{color:var(--gm-ink-3)!important}
html:root body .composer-area{border-top:1px solid var(--gm-line)!important;background:transparent!important}
html:root body section.single-smart{border-radius:var(--gm-r)!important;border:1px solid var(--gm-line)!important;background:var(--gm-raise)!important;box-shadow:none!important}
html:root body section.single-smart strong{font-size:13px!important;font-weight:600!important;color:var(--gm-ink)!important}
html:root body section.single-smart .single-smart-disclosure svg{color:var(--gm-ink-3)!important}
html:root body form.composer{border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;transition:border-color .14s ease,box-shadow .14s ease!important}
html:root body form.composer:focus-within{border-color:var(--gm-green-3)!important;box-shadow:var(--gm-ring)!important}
html:root body form.composer textarea{font-size:14px!important;line-height:1.5!important;color:var(--gm-ink)!important;background:transparent!important}
html:root body form.composer textarea::placeholder{color:var(--gm-ink-4)!important}
html:root body .composer-bottom>span{font-size:12px!important;color:var(--gm-ink-3)!important}
html:root body .send-button{border-radius:9px!important;background:var(--gm-green)!important;color:#fff!important;box-shadow:none!important;transform:none!important;translate:none!important;transition:background-color .14s ease,opacity .14s ease!important}
html:root body .send-button:hover:not(:disabled){background:var(--gm-green-2)!important}
html:root body .send-button:disabled{background:var(--gm-sunken)!important;color:var(--gm-ink-4)!important;opacity:1!important}
html:root body .send-button svg{color:currentColor!important}
html:root body .configure-link{font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .configure-link:hover{color:var(--gm-ink)!important}

}

@layer gm {

/* =====================================================================
   7. PASTILLE « IA APPLIQUÉE » (en-tête)
   ===================================================================== */
html:root body .app-header .agia-pill{height:36px!important;min-height:36px!important;padding:0 12px 0 8px!important;gap:8px!important;border-radius:var(--gm-r)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink)!important;font-size:13.5px!important;font-weight:500!important;letter-spacing:-.006em!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body .app-header .agia-pill:hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important}
html:root body .app-header .agia-pill::before,html:root body .app-header .agia-pill::after{display:none!important}
html:root body .app-header .agia-spark{width:22px!important;height:22px!important;border-radius:6px!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important;animation:none!important}
html:root body .app-header .agia-spark svg{color:var(--gm-lime)!important;width:12px!important;height:12px!important}
html:root body .app-header .agia-model{font-size:13.5px!important;font-weight:500!important;color:var(--gm-ink)!important}
html:root body .agia-card{border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-3)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .agia-card>strong{font-size:12px!important;font-weight:600!important;letter-spacing:-.003em!important;color:var(--gm-ink)!important}
html:root body .agia-row{border-color:var(--gm-line)!important;font-size:13px!important}
html:root body .agia-row>span{color:var(--gm-ink-2)!important}
html:root body .agia-row b{font-weight:600!important;color:var(--gm-ink)!important}
html:root body .agia-row b.is-off{font-weight:500!important;color:var(--gm-ink-4)!important}
html:root body .agia-row em{font-style:normal!important;color:var(--gm-ink-3)!important}
html:root body .agia-meter i{background:var(--gm-line-2)!important}
html:root body .agia-meter i.on{background:var(--gm-green-3)!important}
html:root body .agia-card>small{color:var(--gm-ink-4)!important}

/* =====================================================================
   8. GRANDS TITRES ET PASTILLES « RETOUR »
   ===================================================================== */
html:root body :is(.batch-library-heading h1,section.batch-page>h1,.login-card h1){margin:14px 0 12px!important;font-family:var(--gm-title)!important;font-size:clamp(32px,3.6vw,46px)!important;font-weight:600!important;line-height:1.05!important;letter-spacing:-.042em!important;color:var(--gm-ink)!important}
html:root body :is(.batch-library-tools h2,section.batch-new-card h2){font-family:var(--gm-title)!important;font-size:26px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:-.035em!important;color:var(--gm-ink)!important}
html:root body .batch-attachments h2{font-family:var(--gm-title)!important;font-size:19px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.025em!important;color:var(--gm-ink)!important}
html:root body :is(.batch-library-heading p,section.batch-page>p:not(.small)){font-size:16px!important;line-height:1.55!important;letter-spacing:-.006em!important;color:var(--gm-ink-3)!important}
html:root body :is(.batch-library-back,section.batch-page>.row-between:first-child>.text-button){height:34px!important;padding:0 12px 0 9px!important;gap:6px!important;border-radius:var(--gm-r-sm)!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;color:var(--gm-ink-2)!important;transform:none!important;translate:none!important;transition:background-color .14s ease,border-color .14s ease,color .14s ease!important}
html:root body :is(.batch-library-back,section.batch-page>.row-between:first-child>.text-button):hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important;color:var(--gm-ink)!important}
html:root body section.batch-page>.row-between:first-child>.button{min-height:36px!important;height:36px!important;padding:0 13px!important;border-radius:var(--gm-r-sm)!important;font-size:13px!important}

/* =====================================================================
   9. MULTI PDF : BIBLIOTHÈQUE DES LOTS
   ===================================================================== */
html:root body main.batch-library{padding:28px max(clamp(20px,4vw,56px),calc((100% - 1120px)/2)) 96px!important;background:transparent!important}
html:root body section.batch-page{padding-top:28px!important;padding-bottom:96px!important;background:transparent!important}
html:root:not(.lxc-dock) body section.batch-page{padding-left:max(clamp(20px,4vw,56px),calc((100% - 1120px)/2))!important;padding-right:max(clamp(20px,4vw,56px),calc((100% - 1120px)/2))!important}
html:root body main.batch-library::before,html:root body main.batch-library::after,html:root body main.atelier-home::before,html:root body main.atelier-home::after{display:none!important}
html:root body .batch-library-heading{margin:26px 0 28px!important}
html:root body .lx-stats{border-radius:var(--gm-r-lg)!important;background:#fff!important;border:1px solid var(--gm-line)!important;box-shadow:var(--gm-sh-1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .lx-stat{padding:14px 20px 13px!important}
html:root body .lx-stat+.lx-stat::before{background:var(--gm-line)!important}
html:root body .lx-stat b,html:root body .lx-stat.is-date b{font-family:var(--gm-title)!important;font-size:26px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:-.035em!important;font-variant-numeric:tabular-nums!important;color:var(--gm-ink)!important}
html:root body .lx-stat.is-lime b{color:var(--gm-ink)!important}
html:root body .lx-stat span{font-size:12px!important;color:var(--gm-ink-3)!important}
html:root body section.batch-new-card{gap:30px!important;padding:34px 36px!important;margin:0 0 56px!important;border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-1)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:none!important}
html:root body section.batch-new-card::before{display:none!important}
html:root body section.batch-new-card::after{inset:8px!important;border-radius:10px!important;border:1.5px dashed var(--gm-line-2)!important;transition:border-color .2s ease!important}
html:root body section.batch-new-card:hover::after,html:root body section.batch-new-card.is-dragging::after,html:root body section.batch-new-card.drag-over::after{inset:8px!important;border-color:var(--gm-green-3)!important}
html:root body section.batch-new-card.ag-hot,html:root body section.batch-new-card:hover{box-shadow:var(--gm-sh-1)!important}
html:root body .batch-new-symbol{width:84px!important;height:104px!important;border-radius:10px!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;color:var(--gm-ink-2)!important;box-shadow:var(--gm-sh-2)!important}
html:root body .batch-new-symbol::before,html:root body .batch-new-symbol::after{border-radius:10px!important;background:var(--gm-raise)!important;border:1px solid var(--gm-line)!important;box-shadow:none!important;transition:transform .36s var(--gm-ease)!important}
html:root body .batch-new-symbol::before{transform:rotate(-8deg) translate(-12px,5px)!important}
html:root body .batch-new-symbol::after{transform:rotate(7deg) translate(11px,4px)!important}
html:root body section.batch-new-card:hover .batch-new-symbol::before{transform:rotate(-11deg) translate(-16px,6px)!important}
html:root body section.batch-new-card:hover .batch-new-symbol::after{transform:rotate(10deg) translate(15px,4px)!important}
html:root body .batch-new-symbol svg{width:30px!important;height:30px!important;stroke-width:1.5!important;color:var(--gm-ink-2)!important}
html:root body section.batch-new-card h2{margin:10px 0 8px!important}
html:root body section.batch-new-card p{font-size:15px!important;color:var(--gm-ink-2)!important}
html:root body section.batch-new-card small{font-size:13.5px!important;color:var(--gm-ink-3)!important}
html:root body .batch-new-actions{gap:8px!important}
html:root body .batch-new-actions .button{min-height:42px!important;height:42px!important;font-size:14px!important;border-radius:var(--gm-r)!important}
html:root body .ag214-pick{border-radius:var(--gm-r-sm)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;color:var(--gm-ink)!important;box-shadow:none!important;font-weight:500!important;transition:background-color .14s ease,border-color .14s ease!important}
html:root body .ag214-pick:hover{background:var(--gm-raise)!important;border-color:var(--gm-line-3)!important}
html:root body .ag214-pick svg{color:var(--gm-ink-2)!important}
html:root body .ag214-panel,html:root body .ag214-hint,html:root body .ag214-status{color:var(--gm-ink-3)!important}
html:root body .batch-library-tools{margin:0 0 16px!important}
html:root body .batch-history-toolbar{margin:0 0 20px!important;border-top:1px solid var(--gm-line)!important;border-bottom:1px solid var(--gm-line)!important}
html:root body .batch-history-toolbar>label{font-size:13px!important;font-weight:500!important;color:var(--gm-ink-2)!important}
html:root body .batch-history-toolbar .button{min-height:34px!important;border-radius:var(--gm-r-sm)!important;font-size:13px!important}
html:root body .batch-library-grid{gap:16px!important}
html:root body article.batch-library-card{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-1)!important;transform:none!important;transition:border-color .18s ease,box-shadow .24s ease!important}
html:root body article.batch-library-card:hover,html:root body article.batch-library-card.ag-hot{border-color:var(--gm-line-3)!important;box-shadow:var(--gm-sh-3)!important;transform:none!important}
html:root body article.batch-library-card.is-selected{border-color:var(--gm-green)!important;box-shadow:0 0 0 1px var(--gm-green)!important}
html:root body article.batch-library-card .batch-card-top{height:76px!important;background:var(--gm-raise)!important;border-bottom:1px solid var(--gm-line)!important}
html:root body .batch-folder{width:40px!important;height:40px!important;border-radius:var(--gm-r)!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;color:var(--gm-ink-2)!important;box-shadow:none!important}
html:root body .batch-folder svg{width:19px!important;height:19px!important;stroke-width:1.7!important}
html:root body .batch-card-state{height:24px!important;padding:0 8px!important;border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;font-size:11.5px!important;font-weight:600!important}
html:root body .batch-card-state.is-active{background:var(--gm-lime-soft)!important;color:var(--gm-lime-ink)!important}
html:root body .batch-card-open h3{font-family:var(--gm-title)!important;font-size:15.5px!important;font-weight:600!important;letter-spacing:-.015em!important;color:var(--gm-ink)!important}
html:root body .batch-card-meta{font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .batch-card-meta b{border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink)!important;font-size:12px!important}
html:root body .batch-card-bottom{border-top:1px solid var(--gm-line)!important;font-size:13.5px!important;font-weight:600!important;color:var(--gm-ink)!important}
html:root body .batch-library-note{color:var(--gm-ink-4)!important;font-size:12.5px!important}

/* =====================================================================
   10. PAGE D’UN LOT
   ===================================================================== */
html:root,html:root body,html:root body #root section.batch-page{--agc-card:#fff!important;--agc-line:var(--gm-line)!important;--agc-dash:var(--gm-line)!important;--agc-r:14px!important}
/* étapes numérotées : pastille sobre */
html:root body #root section.batch-page:has(>.batch-intake)>.batch-intake::before,html:root body #root section.batch-page:has(>.batch-intake)>.batch-intake::after,html:root body #root section.batch-page:has(>.batch-intake)::before,html:root body #root section.batch-page:has(>.batch-intake)::after{font-family:var(--gm-mono)!important;font-size:11px!important;font-weight:500!important;letter-spacing:.09em!important;color:var(--gm-ink-3)!important}
html:root body #root section.batch-page:has(>.batch-intake)>.batch-intake::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230f3d2e'/%3E%3Ctext x='12' y='16.3' text-anchor='middle' font-family='ui-sans-serif,system-ui,sans-serif' font-size='12.5' font-weight='600' fill='%23c6f44f'%3E1%3C/text%3E%3C/svg%3E")!important}
html:root body #root section.batch-page:has(>.batch-intake)>.batch-intake::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230f3d2e'/%3E%3Ctext x='12' y='16.3' text-anchor='middle' font-family='ui-sans-serif,system-ui,sans-serif' font-size='12.5' font-weight='600' fill='%23c6f44f'%3E2%3C/text%3E%3C/svg%3E")!important}
html:root body #root section.batch-page:has(>.batch-intake)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230f3d2e'/%3E%3Ctext x='12' y='16.3' text-anchor='middle' font-family='ui-sans-serif,system-ui,sans-serif' font-size='12.5' font-weight='600' fill='%23c6f44f'%3E3%3C/text%3E%3C/svg%3E")!important}
html:root body #root section.batch-page:has(>.batch-intake)::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230f3d2e'/%3E%3Ctext x='12' y='16.3' text-anchor='middle' font-family='ui-sans-serif,system-ui,sans-serif' font-size='12.5' font-weight='600' fill='%23c6f44f'%3E4%3C/text%3E%3C/svg%3E")!important}
html:root body .batch-upload{background:#fff!important;box-shadow:none!important;transform:none!important;transition:background-color .16s ease,border-color .16s ease!important}
html:root body .batch-upload:hover,html:root body .batch-upload.is-dragging,html:root body .batch-upload.drag-over{background:var(--gm-green-softer)!important;box-shadow:none!important;transform:none!important}
html:root body .batch-upload>svg{border-radius:var(--gm-r-md)!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;box-shadow:none!important;transform:none!important}
html:root body .batch-upload:hover>svg{transform:none!important}
html:root body .batch-upload>strong{font-family:var(--gm-title)!important;font-size:19px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.025em!important;color:var(--gm-ink)!important}
html:root body .batch-upload>span{font-size:13.5px!important;color:var(--gm-ink-3)!important}
html:root body .batch-intake .google-drive-control .button,html:root body section.batch-page #assembly-v166>.button{color:var(--gm-ink)!important;border-radius:var(--gm-r)!important}
html:root body .batch-intake .google-drive-control .button:hover,html:root body section.batch-page #assembly-v166>.button:hover{background:var(--gm-hover)!important}
html:root body .batch-attachments{box-shadow:none!important}
html:root body .batch-attachments h2 svg{color:var(--gm-ink-3)!important}
html:root body .batch-attachments>p{color:var(--gm-ink-3)!important}
html:root body .batch-attachments>p.small{color:var(--gm-ink-4)!important}
html:root body .batch-attachments .button{border-radius:var(--gm-r-sm)!important}
html:root body section.batch-smart-mode{background:#fff!important;box-shadow:none!important;color:var(--gm-ink)!important}
html:root body section.batch-smart-mode>div:first-child>svg{border-radius:var(--gm-r)!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important}
html:root body section.batch-smart-mode strong{color:var(--gm-ink)!important}
html:root body section.batch-smart-mode p{color:var(--gm-ink-3)!important}
html:root body section.batch-smart-mode .batch-smart-note{color:var(--gm-ink-4)!important;border-top-color:var(--gm-line)!important}
/* interrupteurs */
html:root body .batch-smart-switch>span,html:root body .single-smart-switch>span{background:var(--gm-line-2)!important;border:0!important;box-shadow:none!important;transition:background-color .18s ease!important}
html:root body .batch-smart-switch>input:checked+span,html:root body .single-smart-switch>input:checked+span{background:var(--gm-green)!important}
html:root body .batch-smart-switch>span::after,html:root body .single-smart-switch>span::after{background:#fff!important;box-shadow:0 1px 3px rgba(15,21,18,.28)!important;transition:transform .2s var(--gm-ease)!important}
html:root body .batch-smart-switch>strong{color:var(--gm-ink)!important}
/* consigne */
html:root body section.batch-page>label{font-size:13px!important;font-weight:600!important;letter-spacing:-.003em!important;color:var(--gm-ink)!important}
html:root body section.batch-page>label :is(textarea,input){border-radius:var(--gm-r)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;font-family:var(--gm-sans)!important;font-size:15px!important;font-weight:400!important;color:var(--gm-ink)!important;transition:border-color .14s ease,box-shadow .14s ease!important}
html:root body section.batch-page>label :is(textarea,input):focus{border-color:var(--gm-green-3)!important;box-shadow:var(--gm-ring)!important;outline:0!important}
html:root body section.batch-page>label :is(textarea,input)::placeholder{color:var(--gm-ink-4)!important}
html:root body section.batch-page>p.small{color:var(--gm-ink-4)!important}
html:root body section.batch-page>.batch-actions .button{min-height:44px!important;height:44px!important;padding:0 18px!important;font-size:14.5px!important;border-radius:var(--gm-r)!important}
html:root body .batch-progress{border-radius:var(--gm-r-md)!important;background:#fff!important;border:1px solid var(--gm-line)!important;box-shadow:none!important}
html:root body .batch-progress strong{color:var(--gm-ink)!important}
html:root body .batch-progress p{color:var(--gm-ink-3)!important}
/* PDF du lot */
html:root body article.batch-item{border-radius:var(--gm-r-md)!important;background:#fff!important;border:1px solid var(--gm-line)!important;box-shadow:none!important;transform:none!important;transition:border-color .18s ease,box-shadow .24s ease!important}
html:root body article.batch-item:hover{border-color:var(--gm-line-3)!important;box-shadow:var(--gm-sh-2)!important;transform:none!important}
html:root body article.batch-item>.row-between>strong{font-weight:600!important;color:var(--gm-ink)!important}
html:root body article.batch-item>p{color:var(--gm-ink-3)!important}
html:root body article.batch-item .batch-actions{border-top-color:var(--gm-line)!important}
html:root body .batch-status-badge{height:24px!important;border-radius:6px!important;font-size:11.5px!important;font-weight:600!important}

}

@layer gm {

/* =====================================================================
   11. CHAT (compréhension d’un lot, MAX)
   ===================================================================== */
html:root body aside.lxc{border-radius:var(--gm-r-lg)!important;background:#fff!important;border:1px solid var(--gm-line)!important;box-shadow:var(--gm-sh-3)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body aside.lxc::before,html:root body aside.lxc::after{display:none!important}
html:root body .lxc .lxc-head{padding:16px 16px 12px!important}
html:root body .lxc .lxc-mark{width:36px!important;height:36px!important;border-radius:var(--gm-r)!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important;animation:none!important}
html:root body .lxc .lxc-mark svg{width:18px!important;height:18px!important;color:var(--gm-lime)!important}
html:root body .lxc .lxc-tt h2{font-family:var(--gm-title)!important;font-size:17px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.02em!important;color:var(--gm-ink)!important}
html:root body .lxc .lxc-tt p{font-size:12.5px!important;color:var(--gm-ink-3)!important}
html:root body .lxc .lxc-min{width:32px!important;height:32px!important;border-radius:var(--gm-r-sm)!important;background:transparent!important;color:var(--gm-ink-2)!important;transition:background-color .14s ease!important}
html:root body .lxc .lxc-min:hover{background:var(--gm-hover)!important}
html:root body .lxc .lxc-bar{padding:0 16px 12px!important;border-bottom:1px solid var(--gm-line)!important}
html:root body .lxc .lxc-chip{height:24px!important;padding:0 9px!important;border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important;font-size:11.5px!important;font-weight:600!important}
html:root body .lxc .lxc-chip::before{width:6px!important;height:6px!important;background:var(--gm-ink-4)!important}
html:root body .lxc .lxc-chip.is-ok{background:var(--gm-green-soft)!important;color:var(--gm-green)!important}
html:root body .lxc .lxc-chip.is-ok::before{background:#3aa767!important}
html:root body .lxc .lxc-chip.is-ask{background:var(--gm-amber-soft)!important;color:var(--gm-amber)!important}
html:root body .lxc .lxc-chip.is-ask::before{background:#d49a1b!important}
html:root body .lxc .lxc-chip.is-busy::before{background:var(--gm-green-3)!important}
html:root body .lxc .lxc-reset{color:var(--gm-ink-3)!important;border-radius:6px!important}
html:root body .lxc .lxc-reset:hover{color:var(--gm-ink)!important;background:var(--gm-hover)!important}
html:root body .lxc .lxc-banner{border-radius:var(--gm-r)!important;background:var(--gm-amber-soft)!important;color:var(--gm-amber)!important}
html:root body .lxc .lxc-banner button{border-radius:6px!important;box-shadow:none!important;border:1px solid var(--gm-line-2)!important}
html:root body .lxc .lxc-msg{font-size:14px!important;line-height:1.55!important}
html:root body .lxc .lxc-msg.is-ai{padding:12px 14px!important;border-radius:14px 14px 14px 4px!important;background:var(--gm-raise)!important;color:var(--gm-ink)!important;border:1px solid var(--gm-line)!important;box-shadow:none!important}
html:root body .lxc .lxc-msg.is-user{padding:10px 14px!important;border-radius:14px 14px 4px 14px!important;background:var(--gm-green)!important;color:#fff!important;box-shadow:none!important}
html:root body .lxc .lxc-msg.is-error{border-radius:var(--gm-r)!important;background:var(--gm-red-soft)!important;color:var(--gm-red)!important;border:1px solid rgba(180,35,24,.16)!important}
html:root body .lxc .lxc-msg b{font-weight:600!important;color:inherit!important}
html:root body .lxc .lxc-ok{border-radius:6px!important;background:var(--gm-green-soft)!important;color:var(--gm-green)!important}
html:root body .lxc .lxc-msg.is-typing{color:var(--gm-ink-3)!important}
/* l’IA réfléchit : trois points sobres, plus de mascotte */
html:root body aside.lxc .lxc-msg.is-typing>.aggt,html:root body .agcroco{display:none!important}
html:root body aside.lxc .lxc-msg.is-typing>.lxc-dots{display:inline-flex!important}
html:root body .lxc .lxc-dots i{width:5px!important;height:5px!important;background:var(--gm-green-3)!important}
html:root body .lxc .lxc-empty{padding:24px!important}
html:root body .lxc .lxc-orb{width:48px!important;height:48px!important;border-radius:var(--gm-r-md)!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important;animation:none!important}
html:root body .lxc .lxc-orb svg{width:22px!important;height:22px!important;color:var(--gm-lime)!important}
html:root body .lxc .lxc-empty strong{font-family:var(--gm-title)!important;font-size:20px!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.03em!important;color:var(--gm-ink)!important}
html:root body .lxc .lxc-empty p{font-size:13.5px!important;line-height:1.55!important;color:var(--gm-ink-3)!important}
html:root body .lxc :is(.lxc-start,.lxc-use){border:0!important;border-radius:var(--gm-r)!important;color:#fff!important;background:var(--gm-green)!important;box-shadow:none!important;font-weight:600!important;transform:none!important;translate:none!important;transition:background-color .14s ease,opacity .14s ease!important}
html:root body .lxc :is(.lxc-start,.lxc-use):hover:not(:disabled){background:var(--gm-green-2)!important}
html:root body .lxc .lxc-start{height:40px!important;font-size:14px!important}
html:root body .lxc .lxc-form{padding:6px 6px 6px 14px!important;border-radius:var(--gm-r-md)!important;background:#fff!important;border:1px solid var(--gm-line-2)!important;box-shadow:none!important;transition:border-color .14s ease,box-shadow .14s ease!important}
html:root body .lxc .lxc-form:focus-within{border-color:var(--gm-green-3)!important;box-shadow:var(--gm-ring)!important}
html:root body .lxc .lxc-form textarea{font-size:14.5px!important;color:var(--gm-ink)!important}
html:root body .lxc .lxc-form textarea::placeholder{color:var(--gm-ink-4)!important}
html:root body .lxc .lxc-send{width:36px!important;height:36px!important;border-radius:9px!important;color:#fff!important;background:var(--gm-green)!important;box-shadow:none!important;transform:none!important;translate:none!important;transition:background-color .14s ease!important}
html:root body .lxc .lxc-send:hover:not(:disabled){background:var(--gm-green-2)!important}
html:root body .lxc .lxc-send:disabled{background:var(--gm-sunken)!important;color:var(--gm-ink-4)!important;opacity:1!important}
html:root body .lxc .lxc-send svg{color:currentColor!important}
html:root body .lxc-fab{height:46px!important;border-radius:var(--gm-r-md)!important;color:#fff!important;background:var(--gm-green)!important;box-shadow:var(--gm-sh-3)!important;font-weight:600!important;transform:none!important}
html:root body .lxc-fab svg{color:var(--gm-lime)!important}
html:root body .lxc-veil{background:rgba(15,21,18,.36)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .lxc :is(.lxc-plan,.lxc-sel){border-radius:var(--gm-r)!important;background:var(--gm-raise)!important;border:1px solid var(--gm-line)!important;box-shadow:none!important}
html:root body .lxc .lxc-sel.is-done{background:var(--gm-green-softer)!important;border-color:var(--gm-line)!important}
html:root body .lxc :is(.lxc-plan span,.lxc-sel-t){font-family:var(--gm-mono)!important;color:var(--gm-ink-3)!important;letter-spacing:.06em!important}
html:root body .lxc .lxc-plan p,html:root body .lxc .lxc-sel-n{color:var(--gm-ink-2)!important}
html:root body .lxc .lxc-sel-n b{font-family:var(--gm-title)!important;font-size:22px!important;font-weight:600!important;letter-spacing:-.03em!important;color:var(--gm-ink)!important}
html:root body .lxc :is(.lxc-plan em,.lxc-sel em,.lxc-sel summary){color:var(--gm-green-2)!important;font-style:normal!important}
html:root body .lxc .lxc-sel ul{border-radius:var(--gm-r-sm)!important;background:#fff!important;border:1px solid var(--gm-line)!important}
html:root body .lxc .lxc-lab{font-family:var(--gm-mono)!important;letter-spacing:.06em!important;color:var(--gm-ink-3)!important}
html:root body .lxc .lxc-sec.is-ok .lxc-lab{color:var(--gm-green-3)!important}
html:root body .lxc .lxc-sec.is-chg .lxc-lab{color:var(--gm-green)!important}
html:root body .lxc .lxc-sec.is-q{border-radius:var(--gm-r)!important;background:var(--gm-amber-soft)!important;border:1px solid rgba(138,90,0,.2)!important}
html:root body .lxc .lxc-sec.is-q .lxc-lab{color:var(--gm-amber)!important}

/* =====================================================================
   12. FENÊTRES (paramètres, Drive, confirmations) ET CONNEXION
   ===================================================================== */
html:root body dialog.app-modal,html:root body dialog:not(.gt3):not(.app-modal)[open]{border-radius:var(--gm-r-lg)!important;border:0!important;background:#fff!important;color:var(--gm-ink)!important;box-shadow:var(--gm-sh-modal)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body dialog:not(.gt3)::backdrop{background:rgba(15,21,18,.42)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .modal-header{border-bottom:1px solid var(--gm-line)!important;background:#fff!important}
html:root body .modal-header h2{margin-top:6px!important;font-family:var(--gm-title)!important;font-size:22px!important;font-weight:600!important;line-height:1.15!important;letter-spacing:-.03em!important;color:var(--gm-ink)!important}
html:root body .modal-footer{border-top:1px solid var(--gm-line)!important;background:#fff!important}
html:root body .modal-footer .button.primary{min-height:40px!important;height:40px!important;font-size:14px!important}
html:root body .settings-modal .settings-nav{background:var(--gm-raise)!important;border-right:1px solid var(--gm-line)!important}
html:root body .settings-nav button{border-radius:var(--gm-r-sm)!important;font-size:13.5px!important;font-weight:500!important;color:var(--gm-ink-3)!important;background:transparent!important;box-shadow:none!important;transition:background-color .14s ease,color .14s ease!important}
html:root body .settings-nav button:hover{background:var(--gm-hover)!important;color:var(--gm-ink)!important}
html:root body .settings-nav button.active{background:#fff!important;color:var(--gm-ink)!important;box-shadow:0 0 0 1px var(--gm-line),var(--gm-sh-1)!important}
html:root body .settings-nav button svg{color:currentColor!important}
html:root body .settings-content h3{font-family:var(--gm-title)!important;font-size:17px!important;font-weight:600!important;letter-spacing:-.02em!important;color:var(--gm-ink)!important}
html:root body .settings-content>p,html:root body .settings-content .muted{color:var(--gm-ink-3)!important}
html:root body .settings-modal label{color:var(--gm-ink)!important}
html:root body dialog.app-modal :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])),html:root body .login-card input{border-radius:var(--gm-r)!important;border:1px solid var(--gm-line-2)!important;background-color:#fff!important;color:var(--gm-ink)!important;box-shadow:none!important;transition:border-color .14s ease,box-shadow .14s ease!important}
html:root body dialog.app-modal :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])):focus,html:root body .login-card input:focus{border-color:var(--gm-green-3)!important;box-shadow:var(--gm-ring)!important;outline:0!important}
html:root body .provider-card,html:root body .agia-sum,html:root body .settings-modal .agcc{border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:none!important}
html:root body .agia-sum::before,html:root body .agia-sum::after,html:root body .provider-card::before,html:root body .provider-card::after{display:none!important}
html:root body .agia-sum-h strong,html:root body .provider-card h3,html:root body .provider-card h4{font-weight:600!important;color:var(--gm-ink)!important;letter-spacing:-.015em!important}
html:root body .agia-live,html:root body .provider-card .tag,html:root body .agcc-chip{border-radius:6px!important;background:var(--gm-green-soft)!important;color:var(--gm-green)!important;border:0!important;box-shadow:none!important;font-weight:600!important}
html:root body .agia-pending{border-radius:6px!important;background:var(--gm-amber-soft)!important;color:var(--gm-amber)!important}
html:root body .agia-prov{border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-2)!important}
html:root body :is(.provider-tabs,.agia-seg){padding:3px!important;border-radius:var(--gm-r)!important;background:var(--gm-sunken)!important;border:1px solid var(--gm-line)!important;box-shadow:none!important}
html:root body :is(.provider-tabs,.agia-seg) button{border-radius:7px!important;font-weight:500!important;color:var(--gm-ink-3)!important;background:transparent!important;box-shadow:none!important;transition:color .14s ease,background-color .14s ease!important}
html:root body :is(.provider-tabs,.agia-seg) button:is(.active,.on,[aria-pressed=true],[aria-selected=true]){background:#fff!important;color:var(--gm-ink)!important;box-shadow:var(--gm-sh-1),0 0 0 1px var(--gm-line)!important}
html:root body .agia-thumb{border-radius:7px!important;background:#fff!important;box-shadow:var(--gm-sh-1),0 0 0 1px var(--gm-line)!important}
html:root body .settings-modal :is(.agcc-go,.agcc-ghost){border-radius:var(--gm-r-sm)!important;box-shadow:none!important;font-weight:600!important}
html:root body .settings-modal .agcc-go:not(.agcc-quiet){background:var(--gm-green)!important;color:#fff!important;border:0!important}
html:root body .settings-modal :is(.agcc-go.agcc-quiet,.agcc-ghost){background:#fff!important;color:var(--gm-ink)!important;border:1px solid var(--gm-line-2)!important}
/* Drive */
html:root body .drive-dialog .drive-header h2{font-family:var(--gm-title)!important;font-size:22px!important;font-weight:600!important;letter-spacing:-.03em!important;color:var(--gm-ink)!important}
html:root body .drive-metric{border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-line)!important;background:var(--gm-raise)!important;box-shadow:none!important}
html:root body .drive-metric>strong{font-family:var(--gm-title)!important;font-weight:600!important;letter-spacing:-.035em!important;color:var(--gm-ink)!important}
html:root body .drive-meter{background:var(--gm-line)!important;border-radius:99px!important}
html:root body .drive-meter>*{background:var(--gm-green-3)!important;border-radius:99px!important}
html:root body .drive-files-heading h3{font-family:var(--gm-title)!important;font-size:19px!important;font-weight:600!important;letter-spacing:-.025em!important;color:var(--gm-ink)!important}
html:root body .drive-dialog :is(input,select){border-radius:var(--gm-r)!important;border-color:var(--gm-line-2)!important}
/* connexion */
html:root body .login-page{background:var(--gm-bg)!important}
html:root body .login-page::before,html:root body .login-page::after{display:none!important}
html:root body .login-card{border-radius:var(--gm-r-xl)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:var(--gm-sh-3)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .login-card::before,html:root body .login-card::after{display:none!important}
html:root body .login-card>img{display:block!important;width:141px!important;height:28px!important;margin:0 0 28px!important;object-fit:none!important;object-position:-999px -999px!important;background:url(gator-v244/ali-gator.svg) left center/contain no-repeat!important;animation:none!important;filter:none!important;opacity:1!important;transform:none!important}
html:root body .login-page .login-card h1{font-size:28px!important;line-height:1.12!important;margin:12px 0 8px!important}
html:root body .login-card p{color:var(--gm-ink-3)!important}
html:root body .login-card .button.primary{min-height:44px!important;height:44px!important;border-radius:var(--gm-r)!important;font-size:14.5px!important}

}

@layer gm {

/* =====================================================================
   13. FINITIONS
   ===================================================================== */
html:root body .entry-paper,html:root body .home-office-paper{animation:none!important}
html:root body .home-mini-sheet>i{background:var(--gm-line)!important}
html:root body .home-mini-sheet>i:nth-child(4n+1){background:var(--gm-line-2)!important}
html:root body .home-office-paper>span{color:var(--gm-ink-3)!important}
html:root body .editor-main .document-heading{border-radius:13px 13px 0 0!important}
html:root body .single-smart-disclosure>strong::after{border-radius:6px!important;background:var(--gm-sunken)!important;color:var(--gm-ink-3)!important;font-weight:500!important}
html:root body :is(.composer-tools,.composer-caption)>label{border-radius:var(--gm-r-sm)!important;border:1px solid var(--gm-line-2)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink-2)!important}
html:root body :is(.composer-tools,.composer-caption) select{color:var(--gm-ink)!important;font-weight:500!important}
html:root body .composer-tools .icon-button{color:var(--gm-ink-3)!important}
html:root body .agia-sum .agia-spark{width:24px!important;height:24px!important;border-radius:7px!important;background:var(--gm-green)!important;color:var(--gm-lime)!important;box-shadow:none!important;animation:none!important}
html:root body .agia-sum .agia-spark svg{color:var(--gm-lime)!important}
/* étiquette MAX */
html:root body section.lxc-max-mode strong>span{border-radius:5px!important;background:var(--gm-ink)!important;color:var(--gm-lime)!important;border:0!important;box-shadow:none!important;font-family:var(--gm-mono)!important;font-weight:500!important;letter-spacing:.06em!important}
html:root body .lxc .lxc-mode-eyebrow{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;font-family:var(--gm-mono)!important;font-size:10.5px!important;font-weight:500!important;letter-spacing:.09em!important;color:var(--gm-ink-3)!important}
html:root body section.lxc-max-mode{box-shadow:none!important}
html:root body section.lxc-max-mode strong{color:var(--gm-ink)!important}
html:root body section.lxc-max-mode p{color:var(--gm-ink-3)!important}
/* projet : date sur une seule ligne */
html:root body .project-item small{font-family:var(--gm-sans)!important;font-size:11.5px!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* =====================================================================
   14. MOUVEMENT : court, net, sans flou
   ===================================================================== */
html[data-agv-vt="screen"]::view-transition-old(root){animation:gm-vt-out .14s ease both!important}
html[data-agv-vt="screen"]::view-transition-new(root){animation:gm-vt-in .28s cubic-bezier(.2,.8,.2,1) both!important}
html[data-agv-vt="tab"]::view-transition-old(root){animation:gm-vt-out .1s ease both!important}
html[data-agv-vt="tab"]::view-transition-new(root){animation:gm-vt-fade .2s ease both!important}
html:root::view-transition-group(*){animation-duration:.28s!important;animation-timing-function:cubic-bezier(.2,.8,.2,1)!important}
html:root body dialog.app-modal[open]{animation:gm-modal-in .24s cubic-bezier(.2,.8,.2,1) both!important}
html:root body dialog:not(.gt3)[open]::backdrop{animation:gm-vt-fade .2s ease both!important}
html:root body .app-header .home-brand img{animation:none!important}

@media (prefers-reduced-motion:reduce){
  html[data-agv-vt]::view-transition-old(root),html[data-agv-vt]::view-transition-new(root){animation:none!important}
  html:root body dialog.app-modal[open]{animation:none!important}
}

}

@layer gm {

/* =====================================================================
   14 bis. FLUIDITÉ : plus aucun flou d’arrière-plan (l’effet le plus coûteux à l’affichage, surtout sur iPad et iPhone).
   Les surfaces qui s’appuyaient dessus deviennent simplement opaques.
   ===================================================================== */
html:root body *,html:root body *::before,html:root body *::after,html:root body ::backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body :is(.page-context-menu,.agd-card,.ag231-toast,.agfx-toast,.agde-bar,.agim-bar,.agim-hint){background:#fff!important;border:1px solid var(--gm-line)!important;border-radius:var(--gm-r-md)!important;box-shadow:var(--gm-sh-3)!important;color:var(--gm-ink)!important}
html:root body .agd-card{border-radius:var(--gm-r-lg)!important;box-shadow:var(--gm-sh-modal)!important}
html:root body .batch-list.ag241-grouped>.ag241-grp{background:#fff!important;border:1px solid var(--gm-line)!important;border-radius:var(--gm-r-md)!important;color:var(--gm-ink)!important}
html:root body :is(.agd-veil,.picker-dialog-bg,.agx-veil,.lxc-veil,.agcmp-veil,.ag241-ql-back,.modal-scrim){background:rgba(15,21,18,.42)!important}
html:root body .toast{background:var(--gm-ink)!important;color:#f1f3ee!important;border:0!important;border-radius:var(--gm-r)!important;box-shadow:var(--gm-sh-3)!important;font-weight:500!important}
html:root body :is(.drop-overlay,.home-office-drop){background:rgba(246,246,243,.95)!important;border:2px dashed var(--gm-green-3)!important;border-radius:var(--gm-r-lg)!important;color:var(--gm-green)!important}
html:root body :is(#root section.batch-page>p.batch-error,p.agerr-leaving){background:#fff!important;border:1px solid rgba(180,35,24,.22)!important;border-radius:var(--gm-r-md)!important;box-shadow:var(--gm-sh-3)!important;color:var(--gm-red)!important}
html:root body aside.assistant-panel .proposal-actions{background:#fff!important;border-top:1px solid var(--gm-line)!important}
html:root body .agx-card{border-radius:var(--gm-r-lg)!important;background:#fff!important;border:0!important;box-shadow:var(--gm-sh-modal)!important}
html:root body .agcmp-panel{border-radius:var(--gm-r-lg)!important;background:#fff!important;box-shadow:var(--gm-sh-modal)!important}

}

@layer gm {

/* =====================================================================
   15. TÉLÉPHONE ET TABLETTE
   ===================================================================== */
@media (max-width:760px){
  html:root body main.atelier-home{padding:28px 16px 84px!important}
  html:root body main.batch-library{padding:20px 16px 84px!important}
  html:root:not(.lxc-dock) body section.batch-page{padding-left:16px!important;padding-right:16px!important}
  html:root body section.batch-page{padding-top:20px!important;padding-bottom:84px!important}
  html:root body .home-introduction h1{font-size:36px!important}
  html:root body .home-introduction>p{font-size:16px!important}
  html:root body nav.document-mode-tabs{display:flex!important;margin:28px 0 14px!important}
  html:root body nav.document-mode-tabs button{flex:1 1 0!important;padding:0 8px!important}
  html:root body .entry-card{padding:22px 20px!important}
  html:root body button.drive-tile{padding:16px 18px!important}
  html:root body section.document-library{margin-top:40px!important}
  html:root body .library-heading h2{font-size:23px!important}
  html:root body .lx-stat{padding:12px 14px 11px!important}
  html:root body .lx-stat b{font-size:21px!important}
  html:root body .lx-stat.is-date b{font-size:16px!important;line-height:1.65!important}
  html:root body section.batch-new-card{gap:18px!important;padding:26px 20px 22px!important;margin-bottom:40px!important}
  html:root body section.batch-new-card h2,html:root body .batch-library-tools h2{font-size:23px!important}
  html:root body :is(.batch-library-heading h1,section.batch-page>h1){font-size:32px!important}
  html:root body .workspace{gap:8px!important;padding:8px!important}
  html:root body .modal-header h2{font-size:20px!important}
}

}

@layer gm {
/* chat en mode MAX : même sobriété que le chat standard */
html:root body aside.lxc.is-max>header.lxc-head{background:#fff!important;border-radius:15px 15px 0 0!important;box-shadow:none!important}
html:root body aside.lxc.is-max>header.lxc-head::before,html:root body aside.lxc.is-max>header.lxc-head::after{display:none!important}
html:root body aside.lxc.is-max>.lxc-bar,html:root body aside.lxc.is-max>.lxc-empty,html:root body aside.lxc.is-max>.lxc-list{background:transparent!important;background-image:none!important}
html:root body .lxc .lxc-max-hero{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;margin:0 auto 6px!important;border-radius:14px!important;background:var(--gm-green)!important;background-image:none!important;box-shadow:none!important;animation:none!important;overflow:hidden!important}
html:root body .lxc .lxc-max-hero::before,html:root body .lxc .lxc-max-hero::after{display:none!important}
html:root body .lxc .lxc-max-hero>svg{position:static!important;inset:auto!important;width:24px!important;height:24px!important;margin:0!important;color:var(--gm-lime)!important;filter:none!important;animation:none!important;transform:none!important}
html:root body .lxc .lxc-max-hero>:not(svg){display:none!important}
html:root body .lxc .lxc-max-capabilities>span{border-radius:var(--gm-r-sm)!important;border:1px solid var(--gm-line)!important;background:#fff!important;box-shadow:none!important;color:var(--gm-ink-2)!important;font-weight:500!important}
html:root body .lxc .lxc-max-capabilities>span svg{color:var(--gm-ink-3)!important}
html:root body .lxc .lxc-compose-hint{color:var(--gm-ink-4)!important}
html:root body .lxc :is(.lxc-max-foot,.lxc-max-notice,.lxc-max-download,.lxc-max-target,.lxc-max-partial){border-radius:var(--gm-r)!important;border-color:var(--gm-line)!important;background:var(--gm-raise)!important;box-shadow:none!important;color:var(--gm-ink-2)!important}
html:root body .lxc .lxc-max-heading>strong{font-weight:600!important;color:var(--gm-ink)!important}
html:root body .lxc .lxc-max-track{background:var(--gm-line)!important;border-radius:99px!important;box-shadow:none!important}
html:root body .lxc .lxc-max-track>*{background:var(--gm-green-3)!important;border-radius:99px!important;box-shadow:none!important}
html:root body .lxc .lxc-max-actions :is(button,a){border-radius:var(--gm-r-sm)!important;box-shadow:none!important;font-weight:600!important}
html:root body section.lxc-max-mode .batch-smart-switch>span,html:root body section.lxc-max-mode label>span:has(+*),html:root body section.lxc-max-mode input[type=checkbox]+span{box-shadow:none!important}
}

@layer gm {
/* suivi MAX : l’œil du gator à la place de la mascotte ; la fente « respire » pendant le travail */
html:root body aside.lxc>.agmb .agmb-pic{position:relative!important;flex:none!important;width:30px!important;height:30px!important;align-self:center!important}
html:root body aside.lxc>.agmb .agmb-pic::before{content:""!important;position:absolute!important;inset:1px!important;border-radius:50%!important;background:var(--gm-green)!important}
html:root body aside.lxc>.agmb .agmb-pic::after{content:""!important;position:absolute!important;inset:1px!important;background:var(--gm-lime)!important;-webkit-mask:var(--gm-g-mask) center/100% 100% no-repeat!important;mask:var(--gm-g-mask) center/100% 100% no-repeat!important}
html:root body aside.lxc>.agmb.is-busy .agmb-pic::after{animation:gm-pulse 1.3s ease-in-out infinite!important}
html:root body aside.lxc>.agmb{border-color:var(--gm-line)!important;background:var(--gm-raise)!important;box-shadow:none!important}
html:root body aside.lxc>.agmb .agmb-title{font-weight:600!important;color:var(--gm-ink)!important}
html:root body aside.lxc>.agmb :is(.agmb-sub,.agmb-file,.agmb-count){color:var(--gm-ink-3)!important}
html:root body aside.lxc>.agmb .agmb-rail{background:var(--gm-line)!important}
html:root body aside.lxc>.agmb .agmb-rail>*{background:var(--gm-green-3)!important}
html:root body aside.lxc>.agmb :is(.agmb-pill,.agmb-act,.agmb-down){border-radius:var(--gm-r-sm)!important;box-shadow:none!important}
}


@layer gm {

/* =====================================================================
   16. V244 — COULEUR ET RELIEF
   (à spécificité égale, ces règles passent devant celles des sections 1 à 15 parce qu’elles viennent après)
   ===================================================================== */

/* ---------- 16.1 l’aurore derrière l’app : peinte une fois, immobile ---------- */
html:root body .app-shell{background:var(--gm-aurora),var(--gm-bg)!important}
html:root body ::selection{background:rgba(198,244,79,.7)!important}
html:root body :is(button,a,input,textarea,select,summary,[tabindex]):not(.gt3 *):focus-visible{outline-color:var(--gm-emerald)!important}

/* ---------- 16.2 en-tête ---------- */
/* l’en-tête est opaque (rien ne transparaît quand la page défile dessous, sur téléphone notamment) et peint la même aurore,
   calée sur la fenêtre : la jonction avec le fond de l’app est invisible */
html:root body .app-header{background:var(--gm-aurora),var(--gm-bg)!important;background-size:100vw 100vh!important;background-repeat:no-repeat!important;background-position:0 0!important;border-bottom:1px solid var(--gm-edge)!important}
html:root body .app-header .home-brand{padding:8px 10px!important;border-radius:var(--gm-r-md)!important}
html:root body .app-header .home-brand:hover{background:rgba(255,255,255,.62)!important}
html:root body .app-header .home-brand>img{width:125px!important;height:26px!important;background:url(gator-v244/ali-gator.svg) left center/contain no-repeat!important}
html:root body .app-header :is(.button.quiet,.agv-sound,.icon-button,.agia-pill){border-radius:999px!important;border:1px solid var(--gm-edge)!important;background:rgba(255,255,255,.88)!important;box-shadow:var(--gm-sh-1)!important;transition:background-color .16s ease,border-color .16s ease,box-shadow .2s ease,transform .2s var(--gm-ease)!important}
html:root body .app-header :is(.button.quiet,.agv-sound,.icon-button,.agia-pill):hover{background:#fff!important;border-color:rgba(15,61,46,.2)!important;box-shadow:var(--gm-sh-2)!important;transform:translateY(-1px)!important}
html:root body .app-header .button.quiet{padding:0 14px 0 11px!important}
html:root body .app-header .agia-pill{padding:0 13px 0 7px!important}
html:root body .app-header .agia-spark{border-radius:50%!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .app-header .agia-spark svg{color:#fff!important}
html:root body .app-header .local-badge{height:36px!important;padding:0 13px 0 11px!important;border-radius:999px!important;background:rgba(220,242,228,.8)!important;color:var(--gm-green-2)!important;font-weight:500!important}
html:root body .app-header .local-badge i{width:7px!important;height:7px!important;background:var(--gm-emerald)!important;box-shadow:0 0 0 3px rgba(16,178,122,.2)!important}
html:root body .agia-card{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important}
html:root body .agia-meter i.on{background:var(--gm-emerald)!important}

/* ---------- 16.3 sur-titres : une pastille avec son point de couleur ---------- */
html:root body .eyebrow{width:fit-content!important;max-width:100%!important;height:26px!important;padding:0 11px 0 9px!important;border-radius:999px!important;background:rgba(255,255,255,.74)!important;box-shadow:inset 0 0 0 1px var(--gm-edge)!important;color:var(--gm-green-2)!important;font-size:10.5px!important;letter-spacing:.08em!important;white-space:nowrap!important}
html:root body .eyebrow::before{content:""!important;display:block!important;position:static!important;flex:none!important;width:6px!important;height:6px!important;margin:0!important;border:0!important;border-radius:50%!important;background:var(--gm-emerald)!important;box-shadow:0 0 0 3px rgba(16,178,122,.18)!important;opacity:1!important;transform:none!important;animation:none!important}
html:root body :is(.entry-kicker,.office-kicker){color:var(--gm-green-3)!important;font-weight:600!important}

/* champs qui ont déjà leur propre signal de saisie (bordure + anneau) : pas de second contour */
html:root body :is(form.composer,.lxc .lxc-form,.login-card,dialog.app-modal,label.library-search,.batch-library-tools>label,section.batch-page>label) :is(input,textarea,select):focus-visible{outline:0!important}

/* ---------- 16.4 boutons : relief et lueur ---------- */
html:root body .button{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .24s ease,transform .24s var(--gm-ease),opacity .16s ease!important}
html:root body .button.primary{background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important}
html:root body .button.primary:hover:not(:disabled){background:var(--gm-grad-btn-h)!important;box-shadow:var(--gm-sh-btn-h)!important;transform:translateY(-1px)!important}
html:root body .button.primary:active:not(:disabled){background:var(--gm-grad-btn)!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.35)!important;transform:none!important}
html:root body .button.primary svg{color:var(--gm-lime)!important;opacity:1!important}
html:root body .button.primary:disabled{box-shadow:none!important}
html:root body .button.secondary{border:1px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .button.secondary:hover:not(:disabled){background:#fff!important;border-color:var(--gm-line-3)!important;box-shadow:var(--gm-sh-2)!important;transform:translateY(-1px)!important}

/* ---------- 16.5 accueil ---------- */
html:root body .home-introduction h1{margin:20px 0 18px!important;font-size:clamp(40px,4.9vw,68px)!important;font-weight:640!important;line-height:1.02!important;letter-spacing:-.05em!important}
html:root body .home-introduction h1 em{display:inline-block!important;padding:0 .08em .12em 0!important;margin:0 -.08em -.12em 0!important;font-weight:640!important;letter-spacing:-.05em!important;background:var(--gm-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html:root body .home-introduction>p{font-size:17.5px!important;color:var(--gm-ink-2)!important}

/* PDF / Tableur / PowerPoint : la pastille active est pleine, chaque mode a sa couleur */
html:root body nav.document-mode-tabs{padding:4px!important;margin:34px 0 20px!important;border-radius:999px!important;background:rgba(255,255,255,.8)!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-1)!important}
html:root body nav.document-mode-tabs button{display:inline-flex!important;align-items:center!important;gap:8px!important;height:36px!important;padding:0 16px 0 13px!important;border-radius:999px!important;font-weight:600!important;color:var(--gm-ink-2)!important}
html:root body nav.document-mode-tabs button::before{content:""!important;display:block!important;position:static!important;flex:none!important;width:8px!important;height:8px!important;margin:0!important;border:0!important;border-radius:3px!important;background:var(--gm-emerald)!important;opacity:1!important;transform:none!important;animation:none!important}
html:root body nav.document-mode-tabs #home-mode-pdf::before{background:var(--gm-coral)!important}
html:root body nav.document-mode-tabs #home-mode-spreadsheet::before{background:var(--gm-sheet)!important}
html:root body nav.document-mode-tabs #home-mode-presentation::before{background:var(--gm-orange)!important}
html:root body nav.document-mode-tabs button[aria-selected=true]{color:#fff!important}
html:root body nav.document-mode-tabs:not(.ag-pill-ready) button[aria-selected=true]{background:var(--gm-ink)!important;box-shadow:0 8px 16px -8px rgba(11,20,16,.6)!important}
html:root body nav.document-mode-tabs .ag-tab-pill{top:0!important;left:0!important;border-radius:999px!important;background:var(--gm-ink)!important;box-shadow:0 8px 16px -8px rgba(11,20,16,.6)!important}

/* cartes d’entrée : une carte claire nuancée, et la carte vedette en vert profond */
html:root body .entry-cards{gap:18px!important}
html:root body .entry-card{border-radius:var(--gm-r-xl)!important;padding:30px 32px!important;border:1px solid var(--gm-edge)!important;background:radial-gradient(90% 120% at 100% 0%,rgba(124,92,252,.13),rgba(124,92,252,0) 58%),radial-gradient(70% 100% at 0% 100%,rgba(79,227,193,.17),rgba(79,227,193,0) 60%),linear-gradient(180deg,#fff,#f7fbf5)!important;box-shadow:var(--gm-sh-2)!important;transition:transform .36s var(--gm-ease),box-shadow .36s ease,border-color .2s ease!important}
html:root body .entry-card:hover,html:root body .entry-card.ag-hot,html:root body .entry-card:focus-visible{border-color:rgba(15,61,46,.18)!important;box-shadow:var(--gm-sh-3)!important;transform:translateY(-4px)!important}
html:root body .entry-card.entry-single{border-color:rgba(198,244,79,.26)!important;background:var(--gm-grad-deep)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 4px rgba(6,30,21,.2),0 30px 56px -28px rgba(9,70,48,.8)!important}
html:root body .entry-card.entry-single:hover,html:root body .entry-card.entry-single.ag-hot,html:root body .entry-card.entry-single:focus-visible{border-color:rgba(198,244,79,.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 2px 4px rgba(6,30,21,.2),0 42px 70px -28px rgba(9,92,62,.92)!important}
html:root body .entry-copy h2{font-size:clamp(23px,2.1vw,28px)!important;font-weight:640!important}
html:root body .entry-single .entry-kicker{color:var(--gm-lime)!important}
html:root body .entry-multi .entry-kicker{color:var(--gm-violet-ink)!important}
html:root body .entry-single .entry-copy h2{color:#fff!important}
html:root body .entry-single .entry-copy p{color:rgba(226,240,230,.8)!important}
html:root body .entry-cta{height:40px!important;gap:10px!important;padding:0 6px 0 17px!important;border-radius:999px!important;background:var(--gm-ink)!important;color:#fff!important;font-size:14px!important;box-shadow:0 10px 20px -12px rgba(11,20,16,.7)!important;transition:box-shadow .3s ease,transform .3s var(--gm-ease)!important}
html:root body .entry-card:hover .entry-cta,html:root body .entry-card:focus-visible .entry-cta{background:var(--gm-ink)!important;color:#fff!important;box-shadow:0 14px 26px -12px rgba(11,20,16,.8)!important}
html:root body .entry-cta svg{box-sizing:border-box!important;width:28px!important;height:28px!important;padding:6px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important}
html:root body .entry-card:hover .entry-cta svg{color:#fff!important;transform:translateX(2px)!important}
html:root body .entry-card.entry-single .entry-cta,html:root body .entry-card.entry-single:hover .entry-cta,html:root body .entry-card.entry-single:focus-visible .entry-cta{background:var(--gm-grad-lime)!important;color:#0b2a1f!important;box-shadow:var(--gm-sh-lime)!important}
html:root body .entry-card.entry-single .entry-cta svg,html:root body .entry-card.entry-single:hover .entry-cta svg{background:#0b2a1f!important;color:var(--gm-lime)!important}
/* les petits dessins */
html:root body .entry-paper,html:root body .home-office-paper{border-radius:14px!important;border:1px solid var(--gm-edge)!important;box-shadow:0 18px 30px -16px rgba(6,40,28,.42)!important}
html:root body .entry-single :is(.entry-paper,.home-office-paper){border-color:transparent!important;box-shadow:0 26px 40px -18px rgba(0,0,0,.6)!important}
html:root body .entry-paper>svg,html:root body .home-office-paper>svg{color:var(--gm-green-3)!important}
html:root body .entry-paper>i{background:#e3eae1!important}
html:root body .entry-paper>i:nth-of-type(2){background:var(--gm-lime)!important}
html:root body .entry-paper>span{border-radius:999px!important;border-color:transparent!important;background:var(--gm-green-soft)!important;color:var(--gm-green-2)!important;font-weight:600!important}
html:root body .entry-stack>div{border-radius:14px!important;border:1px solid var(--gm-edge)!important;box-shadow:0 14px 24px -16px rgba(6,40,28,.4)!important}
html:root body .entry-stack>div:nth-child(1){background:#efeaff!important}
html:root body .entry-stack>div:nth-child(2){background:#e3f8ef!important}
html:root body .entry-stack>div svg{color:var(--gm-green-3)!important}
html:root body .entry-stack>div>span svg{color:#fff!important;background:var(--gm-emerald)!important}
html:root body .entry-spark{border-radius:12px!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .entry-spark svg{color:#fff!important}
html:root body .home-mini-sheet>i{background:#d9f1e3!important}
html:root body .home-mini-sheet>i:nth-child(4n+1){background:#a9dfc0!important}
html:root body .home-office-paper>span{border-radius:999px!important;background:var(--gm-sheet-soft)!important;color:var(--gm-sheet)!important;font-weight:600!important}
html:root body .home-office-paper.is-slide>svg{color:var(--gm-orange)!important}
html:root body .home-office-paper.is-slide>span{background:var(--gm-orange-soft)!important;color:#b75a00!important}

/* tuile Drive */
html:root body button.drive-tile{margin-top:18px!important;border-radius:var(--gm-r-xl)!important;border:1px solid var(--gm-edge)!important;background:rgba(255,255,255,.9)!important;box-shadow:var(--gm-sh-2)!important;transition:transform .32s var(--gm-ease),box-shadow .32s ease,border-color .2s ease!important}
html:root body button.drive-tile:hover{border-color:rgba(15,61,46,.18)!important;box-shadow:var(--gm-sh-3)!important;transform:translateY(-3px)!important}
html:root body .drive-symbol{width:50px!important;height:50px!important;border-radius:15px!important;background:linear-gradient(145deg,#e6f0ff,#cfe3ff)!important;color:var(--gm-blue)!important;box-shadow:0 10px 18px -12px rgba(47,123,245,.7)!important}
html:root body .drive-tile-cta{height:40px!important;padding:0 14px 0 16px!important;border-radius:999px!important;background:var(--gm-sunken)!important}
html:root body button.drive-tile:hover .drive-tile-cta{background:var(--gm-ink)!important;color:#fff!important}

/* bibliothèque */
html:root body .library-heading h2{font-size:28px!important;font-weight:640!important}
html:root body .library-heading h2>span{padding:5px 9px!important;border-radius:999px!important;background:var(--gm-lime)!important;color:var(--gm-lime-ink)!important;font-weight:600!important}
html:root body :is(.batch-library-tools>label,label.library-search){border-radius:999px!important;padding:0 16px!important;border:1px solid var(--gm-edge)!important;background:rgba(255,255,255,.9)!important;box-shadow:var(--gm-sh-1)!important}
html:root body :is(.batch-library-tools>label,label.library-search):focus-within{border-color:var(--gm-emerald)!important;box-shadow:var(--gm-ring)!important}
html:root body .document-grid{padding:6px!important;border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-2)!important}
html:root body article.document-tile:hover{background:var(--gm-green-softer)!important}
html:root body article.document-tile.is-selected{background:var(--gm-green-soft)!important}
html:root body .document-glyph{border-radius:11px!important;background:var(--gm-coral-soft)!important;color:var(--gm-coral)!important}
html:root body .document-glyph:has(.lucide-file-spreadsheet){background:var(--gm-sheet-soft)!important;color:var(--gm-sheet)!important}
html:root body .document-glyph:has(.lucide-presentation){background:var(--gm-orange-soft)!important;color:var(--gm-orange)!important}
html:root body .document-tile-meta>span{border-radius:999px!important;padding:0 9px!important}
html:root body .document-tile-footer{border-radius:999px!important;padding:0 12px!important}
html:root body article.document-tile:hover .document-tile-footer{background:var(--gm-ink)!important;color:#fff!important}
html:root body nav.agp .agp-btn{border-radius:999px!important}
html:root body nav.agp .agp-btn[aria-current=page]{background:var(--gm-ink)!important}
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]{border-radius:6px!important}
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]:hover{border-color:var(--gm-emerald)!important}
html:root body :is(.batch-history-toolbar,.batch-card-top,.library-selection,.document-check) input[type=checkbox]:checked{background-color:var(--gm-green-3)!important;border-color:var(--gm-green-3)!important}

/* lien vers Ari Gator : une pastille nuit, avec son logo */
html:root body footer.home-companion a{gap:14px!important;margin-left:0!important;padding:9px 16px 9px 13px!important;border-radius:999px!important;background:#0b1410!important;box-shadow:0 14px 26px -16px rgba(11,20,16,.8)!important;transition:background-color .16s ease,transform .24s var(--gm-ease)!important}
html:root body footer.home-companion a:hover{background:#13231b!important;transform:translateY(-1px)!important}
html:root body footer.home-companion a>img.companion-light{width:107px!important;height:22px!important;background:url(gator-v244/ari-gator-sombre.svg) left center/contain no-repeat!important}
html:root body footer.home-companion a>span,html:root body footer.home-companion a:hover>span{color:#cfd8d0!important}
html:root body footer.home-companion a>span svg{color:var(--gm-lime)!important}

/* ---------- 16.6 atelier ---------- */
html:root body .workspace{gap:12px!important;padding:12px 14px 14px!important}
html:root body .project-sidebar,html:root body .editor-main,html:root body .assistant-panel{border-radius:18px!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-2)!important}
html:root body .workspace .sidebar-frame{border-radius:18px!important}
html:root body .editor-main .document-heading{border-radius:17px 17px 0 0!important}
html:root body .project-sidebar .new-document{border-radius:999px!important;background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important;transition:box-shadow .24s ease,transform .24s var(--gm-ease)!important}
html:root body .project-sidebar .new-document:hover:not(:disabled){background:var(--gm-grad-btn-h)!important;box-shadow:var(--gm-sh-btn-h)!important;transform:translateY(-1px)!important}
html:root body .project-sidebar .new-document svg{color:var(--gm-lime)!important;opacity:1!important}
html:root body :is(.documents-disclosure,.pages-disclosure) .count{border-radius:999px!important;background:var(--gm-green-soft)!important;color:var(--gm-green-2)!important}
html:root body .project-item.active{background:var(--gm-green-softer)!important;box-shadow:inset 0 0 0 1px rgba(16,178,122,.3)!important}
html:root body .project-item.active svg{color:var(--gm-green-3)!important}
html:root body .project-item>i{background:var(--gm-emerald)!important;box-shadow:0 0 0 3px rgba(16,178,122,.18)!important}
html:root body .thumbnail.active{border-color:var(--gm-emerald)!important;box-shadow:0 0 0 3px rgba(16,178,122,.22)!important}
html:root body .document-name h1{font-size:15.5px!important}
html:root body .document-name>span>i{background:var(--gm-emerald)!important;box-shadow:0 0 0 3px rgba(16,178,122,.18)!important}
html:root body .document-heading .button.primary{border-radius:999px!important;padding:0 16px!important}
html:root body .view-switch{border-radius:999px!important}
html:root body .view-switch button{border-radius:999px!important;font-weight:600!important}
html:root body .view-switch button.active{background:var(--gm-ink)!important;color:#fff!important;box-shadow:0 6px 12px -6px rgba(11,20,16,.55)!important}
html:root body .eraser-launch{border-radius:999px!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-1)!important}
html:root body :is(.document-heading,.document-toolbar,.document-footer) .icon-button.toggled{background:var(--gm-green-soft)!important;color:var(--gm-green-3)!important}
html:root body .pdf-stage{background-color:#e7eee6!important;background-image:radial-gradient(rgba(15,61,46,.14) 1px,rgba(15,61,46,0) 1.5px)!important;background-size:22px 22px!important}
html:root body .pdf-sheet{border-radius:3px!important;box-shadow:0 0 0 1px rgba(11,45,32,.07),0 2px 4px rgba(11,45,32,.08),0 24px 46px -22px rgba(8,60,42,.4)!important}
html:root body .type-badge{border-radius:999px!important;background:var(--gm-coral-soft)!important;color:#c0341f!important;font-weight:600!important}
/* atelier vide */
html:root body .welcome-heading h1{font-weight:640!important}
html:root body .welcome-heading h1 em{display:inline-block!important;padding:0 .08em .12em 0!important;margin:0 -.08em -.12em 0!important;font-weight:640!important;background:var(--gm-grad)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html:root body .upload-zone{border-radius:var(--gm-r-xl)!important;border:1.5px dashed rgba(12,130,89,.4)!important;background:radial-gradient(70% 120% at 0% 0%,rgba(198,244,79,.24),rgba(198,244,79,0) 60%),radial-gradient(60% 110% at 100% 100%,rgba(79,227,193,.2),rgba(79,227,193,0) 62%),#fff!important;transition:border-color .16s ease,box-shadow .24s ease!important}
html:root body .upload-zone:hover,html:root body .upload-zone.is-dragging,html:root body .upload-zone.drag-over{border-color:var(--gm-emerald)!important;background:radial-gradient(70% 120% at 0% 0%,rgba(198,244,79,.34),rgba(198,244,79,0) 60%),radial-gradient(60% 110% at 100% 100%,rgba(79,227,193,.28),rgba(79,227,193,0) 62%),#fff!important;box-shadow:var(--gm-ring)!important}
html:root body .upload-zone .button.primary{border-radius:999px!important}
html:root body .paper-stack>div{border-radius:11px!important}
html:root body .paper-stack>div>svg{color:var(--gm-green-3)!important}
html:root body .paper-spark{background:var(--gm-grad-ai)!important;color:#fff!important}
html:root body .welcome-steps>div>span{color:var(--gm-green-3)!important;font-weight:600!important}
/* assistant : tout ce qui touche à l’IA porte le dégradé violet → menthe */
html:root body .assistant-tabs>button.active{border-bottom-color:var(--gm-emerald)!important}
html:root body .assistant-intro .ai-icon{border-radius:12px!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .assistant-intro .ai-icon svg{color:#fff!important}
html:root body .assistant-intro h2{font-size:22px!important;font-weight:640!important}
html:root body .document-ready{border-radius:999px!important;background:var(--gm-green-soft)!important;color:var(--gm-green-2)!important;font-weight:600!important}
html:root body .suggestions button{border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-edge)!important;background:linear-gradient(180deg,#fff,#f8fbf6)!important;box-shadow:var(--gm-sh-1)!important;transition:transform .24s var(--gm-ease),box-shadow .24s ease,border-color .16s ease!important}
html:root body .suggestions button:hover{background:#fff!important;border-color:rgba(124,92,252,.42)!important;box-shadow:0 12px 22px -14px rgba(92,80,240,.55)!important;transform:translateY(-2px)!important}
html:root body .suggestions button svg{color:var(--gm-violet)!important}
html:root body section.single-smart{border-radius:var(--gm-r-md)!important;border:1px solid rgba(124,92,252,.2)!important;background:linear-gradient(135deg,#f4f0ff,#edfaf5)!important}
html:root body section.single-smart .single-smart-disclosure svg{color:var(--gm-violet)!important}
html:root body .single-smart-disclosure>strong::after{border-radius:999px!important;background:rgba(255,255,255,.8)!important;color:var(--gm-violet-ink)!important}
html:root body form.composer{border-radius:16px!important;border:1.5px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-1)!important}
html:root body form.composer:focus-within{border-color:transparent!important;background:linear-gradient(#fff,#fff) padding-box,var(--gm-grad-ai) border-box!important;box-shadow:0 0 0 4px rgba(124,92,252,.14),0 14px 26px -16px rgba(92,80,240,.5)!important}
html:root body .send-button{border-radius:12px!important;background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important;transition:box-shadow .24s ease,transform .24s var(--gm-ease),opacity .14s ease!important}
html:root body .send-button:hover:not(:disabled){background:var(--gm-grad-btn-h)!important;transform:translateY(-1px)!important}
html:root body .send-button:not(:disabled) svg{color:var(--gm-lime)!important}
html:root body .send-button:disabled{background:var(--gm-sunken)!important;box-shadow:none!important}
html:root body :is(.composer-tools,.composer-caption)>label{border-radius:999px!important}
/* interrupteurs */
html:root body .batch-smart-switch>input:checked+span,html:root body .single-smart-switch>input:checked+span{background:linear-gradient(90deg,#0e9f6e,#3bcf8e)!important;box-shadow:inset 0 1px 2px rgba(6,60,40,.3)!important}

/* repli des listes (documents, pages) : pas de flou pendant l’ouverture, l’opacité suffit */
html:root body :is(.pages-collapse,.documents-collapse,[class$="-collapse"]){filter:none!important}

/* ---------- 16.7 lots ---------- */
html:root body :is(.batch-library-heading h1,section.batch-page>h1,.login-card h1){font-weight:640!important;letter-spacing:-.046em!important}
html:root body :is(.batch-library-tools h2,section.batch-new-card h2){font-size:28px!important;font-weight:640!important}
html:root body :is(.batch-library-back,section.batch-page>.row-between:first-child>.text-button){border-radius:999px!important;border:1px solid var(--gm-edge)!important;background:rgba(255,255,255,.9)!important;box-shadow:var(--gm-sh-1)!important}
html:root body section.batch-page>.row-between:first-child>.button{border-radius:999px!important}
html:root body .lx-stats{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;background:rgba(255,255,255,.9)!important;box-shadow:var(--gm-sh-2)!important}
html:root body .lx-stat b,html:root body .lx-stat.is-date b{font-weight:640!important}
html:root body .lx-stat:first-child b{color:var(--gm-green-3)!important}
html:root body .lx-stat.is-lime b{color:var(--gm-coral)!important}
html:root body .lx-stat span{display:inline-flex!important;align-items:center!important;gap:6px!important}
html:root body .lx-stat span::before{content:""!important;flex:none!important;width:6px!important;height:6px!important;border-radius:50%!important;background:var(--gm-ink-4)!important}
html:root body .lx-stat:first-child span::before{background:var(--gm-emerald)!important}
html:root body .lx-stat.is-lime span::before{background:var(--gm-coral)!important}
html:root body section.batch-new-card{border-radius:var(--gm-r-xl)!important;border:1px solid var(--gm-edge)!important;background:radial-gradient(60% 120% at 0% 0%,rgba(198,244,79,.32),rgba(198,244,79,0) 60%),radial-gradient(50% 110% at 100% 100%,rgba(79,227,193,.24),rgba(79,227,193,0) 62%),radial-gradient(40% 80% at 100% 0%,rgba(124,92,252,.1),rgba(124,92,252,0) 62%),#fff!important;box-shadow:var(--gm-sh-big)!important}
html:root body section.batch-new-card.ag-hot,html:root body section.batch-new-card:hover{box-shadow:var(--gm-sh-big)!important}
html:root body section.batch-new-card::after{inset:10px!important;border-radius:18px!important;border:1.5px dashed rgba(12,130,89,.34)!important}
html:root body section.batch-new-card:hover::after,html:root body section.batch-new-card.is-dragging::after,html:root body section.batch-new-card.drag-over::after{inset:10px!important;border-color:var(--gm-emerald)!important}
html:root body .batch-new-symbol{border-radius:14px!important;border-color:var(--gm-edge)!important;box-shadow:0 18px 30px -16px rgba(6,60,40,.45)!important}
html:root body .batch-new-symbol::before{border-radius:14px!important;background:#eefbcf!important;border-color:rgba(15,61,46,.08)!important}
html:root body .batch-new-symbol::after{border-radius:14px!important;background:#e0f6ee!important;border-color:rgba(15,61,46,.08)!important}
html:root body .batch-new-symbol svg{color:var(--gm-green-3)!important}
html:root body .batch-new-actions .button{border-radius:999px!important}
html:root body .ag214-pick{border-radius:999px!important}
html:root body .batch-history-toolbar .button{border-radius:999px!important}
html:root body article.batch-library-card{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-2)!important;transition:transform .32s var(--gm-ease),box-shadow .32s ease,border-color .2s ease!important}
html:root body article.batch-library-card:hover,html:root body article.batch-library-card.ag-hot{border-color:rgba(15,61,46,.18)!important;box-shadow:var(--gm-sh-3)!important;transform:translateY(-4px)!important}
html:root body article.batch-library-card.is-selected{border-color:var(--gm-emerald)!important;box-shadow:0 0 0 2px rgba(16,178,122,.5),var(--gm-sh-2)!important}
html:root body article.batch-library-card .batch-card-top{border-radius:19px 19px 0 0!important;border-bottom:0!important;background:linear-gradient(135deg,#eafbd2,#d5f4e6)!important}
html:root body article.batch-library-card:nth-child(4n+2) .batch-card-top{background:linear-gradient(135deg,#ece6ff,#deefff)!important}
html:root body article.batch-library-card:nth-child(4n+3) .batch-card-top{background:linear-gradient(135deg,#dcefff,#d5f6ee)!important}
html:root body article.batch-library-card:nth-child(4n) .batch-card-top{background:linear-gradient(135deg,#fff1dc,#ffe6e1)!important}
html:root body .batch-folder{border-radius:12px!important;border:0!important;color:var(--gm-green-3)!important;box-shadow:0 8px 16px -10px rgba(6,60,40,.5)!important}
html:root body .batch-card-state{border-radius:999px!important}
html:root body .batch-card-state.is-active{background:var(--gm-lime)!important;color:var(--gm-lime-ink)!important}
html:root body .batch-card-meta b{border-radius:999px!important}
html:root body .batch-card-open h3{font-size:16.5px!important}

/* page d’un lot */
html:root,html:root body,html:root body #root section.batch-page{--agc-r:18px!important}
html:root body .batch-upload>svg{border-radius:14px!important;background:var(--gm-green-soft)!important;color:var(--gm-green-3)!important}
html:root body .batch-upload:hover,html:root body .batch-upload.is-dragging,html:root body .batch-upload.drag-over{background:var(--gm-green-softer)!important}
html:root body section.batch-smart-mode>div:first-child>svg{border-radius:12px!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body section.batch-page>label :is(textarea,input){border-radius:var(--gm-r-md)!important}
html:root body section.batch-page>label :is(textarea,input):focus{border-color:var(--gm-emerald)!important}
html:root body section.batch-page>.batch-actions .button{border-radius:999px!important}
html:root body article.batch-item{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .batch-status-badge{border-radius:999px!important}
html:root body .batch-attachments .button{border-radius:999px!important}

/* ---------- 16.8 chat ---------- */
html:root body aside.lxc{border-radius:22px!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-3)!important}
html:root body .lxc .lxc-mark{border-radius:12px!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .lxc .lxc-mark svg{color:#fff!important}
html:root body .lxc .lxc-chip{border-radius:999px!important}
html:root body .lxc .lxc-chip.is-ok::before{background:var(--gm-emerald)!important}
html:root body .lxc .lxc-msg.is-ai{background:#fff!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .lxc .lxc-msg.is-user{background:var(--gm-grad-btn)!important;box-shadow:0 10px 18px -12px rgba(13,110,74,.7)!important}
html:root body .lxc .lxc-dots i{background:var(--gm-violet)!important}
html:root body .lxc .lxc-orb{border-radius:16px!important;background:var(--gm-grad-ai)!important;color:#fff!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .lxc .lxc-orb svg{color:#fff!important}
html:root body .lxc :is(.lxc-start,.lxc-use){border-radius:999px!important;background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important;transition:box-shadow .24s ease,transform .24s var(--gm-ease),opacity .14s ease!important}
html:root body .lxc :is(.lxc-start,.lxc-use):hover:not(:disabled){background:var(--gm-grad-btn-h)!important;box-shadow:var(--gm-sh-btn-h)!important;transform:translateY(-1px)!important}
html:root body .lxc .lxc-form{border-radius:16px!important;border:1.5px solid var(--gm-line-2)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .lxc .lxc-form:focus-within{border-color:transparent!important;background:linear-gradient(#fff,#fff) padding-box,var(--gm-grad-ai) border-box!important;box-shadow:0 0 0 4px rgba(124,92,252,.14)!important}
html:root body .lxc .lxc-send{border-radius:12px!important;background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important}
html:root body .lxc .lxc-send:hover:not(:disabled){background:var(--gm-grad-btn-h)!important}
html:root body .lxc .lxc-send:not(:disabled) svg{color:var(--gm-lime)!important}
html:root body .lxc .lxc-send:disabled{background:var(--gm-sunken)!important;box-shadow:none!important}
html:root body .lxc-fab{height:48px!important;border-radius:999px!important;background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn-h)!important}
html:root body .lxc :is(.lxc-plan,.lxc-sel){border-radius:var(--gm-r-md)!important;border:1px solid var(--gm-edge)!important}
html:root body .lxc .lxc-sel-n b{font-weight:640!important;color:var(--gm-green-3)!important}
/* MAX */
html:root body section.lxc-max-mode strong>span{border-radius:999px!important;background:var(--gm-grad-ai)!important;color:#fff!important;font-weight:600!important}
html:root body .lxc .lxc-max-hero{border-radius:18px!important;background:var(--gm-grad-ai)!important;box-shadow:var(--gm-sh-ai)!important}
html:root body .lxc .lxc-max-hero>svg{color:#fff!important}
html:root body .lxc .lxc-max-capabilities>span{border-radius:999px!important;border:1px solid var(--gm-edge)!important}
html:root body .lxc .lxc-max-capabilities>span svg{color:var(--gm-violet)!important}
html:root body .lxc .lxc-max-track>*{background:linear-gradient(90deg,#7c5cfc,#2bc4e8 60%,#4fe3c1)!important}
html:root body .lxc .lxc-max-actions :is(button,a){border-radius:999px!important}
/* suivi MAX : le G à mâchoire à la place de l’œil ; il « respire » pendant le travail */
html:root body aside.lxc>.agmb .agmb-pic::before{inset:0!important;border-radius:9px!important;background:var(--gm-green-soft)!important}
html:root body aside.lxc>.agmb .agmb-pic::after{inset:5px!important;background:var(--gm-green)!important;-webkit-mask:var(--gm-g-mask) center/contain no-repeat!important;mask:var(--gm-g-mask) center/contain no-repeat!important}
html:root body aside.lxc>.agmb.is-busy .agmb-pic::after{animation:gm-pulse 1.3s ease-in-out infinite!important}
html:root body aside.lxc>.agmb .agmb-rail>*{background:linear-gradient(90deg,#0e9f6e,#b1e737)!important}
html:root body aside.lxc>.agmb :is(.agmb-pill,.agmb-act,.agmb-down){border-radius:999px!important}

/* ---------- 16.9 fenêtres et connexion ---------- */
html:root body dialog.app-modal,html:root body dialog:not(.gt3):not(.app-modal)[open]{border-radius:24px!important}
html:root body dialog:not(.gt3)::backdrop{background:rgba(6,24,16,.52)!important}
html:root body :is(.agd-veil,.picker-dialog-bg,.agx-veil,.lxc-veil,.agcmp-veil,.ag241-ql-back,.modal-scrim){background:rgba(6,24,16,.52)!important}
html:root body .modal-header{background:linear-gradient(180deg,#f1f9ec,#fff)!important}
html:root body .modal-header h2{font-size:24px!important;font-weight:640!important}
html:root body .modal-footer .button.primary{border-radius:999px!important;padding:0 18px!important}
html:root body .settings-nav button{border-radius:var(--gm-r)!important}
html:root body .settings-nav button.active{color:var(--gm-green)!important;box-shadow:0 0 0 1px rgba(16,178,122,.32),var(--gm-sh-1)!important}
html:root body .settings-nav button.active svg{color:var(--gm-green-3)!important}
html:root body .provider-card,html:root body .agia-sum,html:root body .settings-modal .agcc{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;box-shadow:var(--gm-sh-1)!important}
html:root body .agia-live,html:root body .provider-card .tag,html:root body .agcc-chip,html:root body .agia-pending,html:root body .agia-prov{border-radius:999px!important}
html:root body :is(.provider-tabs,.agia-seg){border-radius:999px!important}
html:root body :is(.provider-tabs,.agia-seg) button{border-radius:999px!important;font-weight:600!important}
html:root body :is(.provider-tabs,.agia-seg) button:is(.active,.on,[aria-pressed=true],[aria-selected=true]){background:var(--gm-ink)!important;color:#fff!important;box-shadow:0 6px 12px -6px rgba(11,20,16,.55)!important}
html:root body .agia-thumb{border-radius:999px!important;background:var(--gm-ink)!important;box-shadow:0 6px 12px -6px rgba(11,20,16,.55)!important}
html:root body .agia-sum .agia-spark{border-radius:50%!important;background:var(--gm-grad-ai)!important;color:#fff!important}
html:root body .agia-sum .agia-spark svg{color:#fff!important}
html:root body .settings-modal :is(.agcc-go,.agcc-ghost){border-radius:999px!important}
html:root body .settings-modal .agcc-go:not(.agcc-quiet){background:var(--gm-grad-btn)!important;box-shadow:var(--gm-sh-btn)!important}
html:root body .drive-metric{border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important;background:linear-gradient(180deg,#fff,#f6faf4)!important}
html:root body .drive-meter>*{background:linear-gradient(90deg,#0e9f6e,#b1e737)!important}
html:root body :is(.page-context-menu,.agd-card,.ag231-toast,.agfx-toast,.agde-bar,.agim-bar,.agim-hint){border-radius:var(--gm-r-lg)!important;border:1px solid var(--gm-edge)!important}
html:root body .toast{border-radius:999px!important;background:#0b1410!important}
html:root body :is(.drop-overlay,.home-office-drop){background:rgba(242,246,240,.96)!important;border:2px dashed var(--gm-emerald)!important;border-radius:var(--gm-r-xl)!important;color:var(--gm-green)!important}
/* connexion : l’aurore en grand, une carte nette, un liseré de couleur */
html:root body .login-page{background:
  radial-gradient(44% 52% at 10% 4%,rgba(198,244,79,.68),rgba(198,244,79,0) 72%),
  radial-gradient(40% 46% at 90% 10%,rgba(124,92,252,.26),rgba(124,92,252,0) 72%),
  radial-gradient(46% 52% at 80% 102%,rgba(46,214,163,.46),rgba(46,214,163,0) 72%),
  radial-gradient(36% 42% at 2% 100%,rgba(255,221,112,.3),rgba(255,221,112,0) 72%),
  var(--gm-bg)!important}
html:root body .login-card{position:relative!important;overflow:hidden!important;border-radius:28px!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 0 0 1px rgba(15,61,46,.07),0 2px 6px rgba(11,45,32,.06),0 50px 90px -40px rgba(8,70,48,.6)!important}
html:root body .login-card::before{content:""!important;display:block!important;position:absolute!important;inset:0 0 auto 0!important;width:auto!important;height:5px!important;margin:0!important;border:0!important;border-radius:0!important;background:linear-gradient(90deg,#0e9f6e,#c6f44f 36%,#4fe3c1 68%,#7c5cfc)!important;opacity:1!important;transform:none!important;filter:none!important;animation:none!important}
html:root body .login-card>img{width:153px!important;height:32px!important;background:url(gator-v244/ali-gator.svg) left center/contain no-repeat!important}
html:root body .login-page .login-card h1{font-size:30px!important}
html:root body dialog.app-modal :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])),html:root body .login-card input{border-radius:var(--gm-r-md)!important}
html:root body dialog.app-modal :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range])):focus,html:root body .login-card input:focus{border-color:var(--gm-emerald)!important}
html:root body .login-card .button.primary{min-height:48px!important;height:48px!important;border-radius:999px!important;font-size:15px!important}

/* ---------- 16.10 le halo qui suit la souris sur les cartes (les repères --mx / --my viennent de motion-v144.js) ---------- */
html:root body :is(.entry-card,.drive-tile,.batch-new-card,.batch-library-card)>.ag-spot{display:block!important;position:absolute!important;inset:0!important;z-index:0!important;width:auto!important;height:auto!important;margin:0!important;border:0!important;border-radius:inherit!important;pointer-events:none!important;opacity:0!important;transform:none!important;filter:none!important;mix-blend-mode:normal!important;animation:none!important;transition:opacity .35s ease!important;background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),rgba(124,92,252,.13),rgba(79,227,193,.1) 45%,rgba(79,227,193,0) 70%)!important}
html:root body :is(.entry-card,.drive-tile,.batch-new-card,.batch-library-card).ag-hot>.ag-spot{opacity:1!important}
html:root body .entry-card.entry-single>.ag-spot{background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),rgba(198,244,79,.26),rgba(198,244,79,0) 68%)!important}

/* ---------- 16.11 téléphone et tablette ---------- */
@media (max-width:760px){
  html:root body .home-introduction h1{font-size:38px!important}
  html:root body .home-introduction>p{font-size:16px!important}
  html:root body nav.document-mode-tabs{margin:26px 0 14px!important}
  html:root body nav.document-mode-tabs button{flex:1 1 0!important;justify-content:center!important;padding:0 8px!important}
  html:root body .entry-card{padding:24px 22px!important;border-radius:22px!important}
  html:root body .workspace{gap:8px!important;padding:8px!important}
  html:root body .library-heading h2{font-size:24px!important}
  html:root body section.batch-new-card h2,html:root body .batch-library-tools h2{font-size:24px!important}
  html:root body .modal-header h2{font-size:21px!important}
  html:root body .app-header .local-badge{display:none!important}
  html:root body .login-card{border-radius:24px!important}
}
@media (prefers-reduced-motion:reduce){
  html:root body :is(.entry-card,.drive-tile,.batch-library-card,.button,.suggestions button):hover{transform:none!important}
}

}

@keyframes gm-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.84);opacity:.65}}

/* Images clés (hors @layer : une image clé définie plus tard remplace celle du même nom).
   Les entrées des couches précédentes gardent leur nom mais perdent le flou plein écran, coûteux à animer ;
   les boucles purement décoratives (papiers qui flottent, reflets, halos) sont mises au repos. */
@keyframes gm-vt-out{to{opacity:0}}
@keyframes gm-vt-in{from{opacity:0;transform:translate3d(0,8px,0)}}
@keyframes gm-vt-fade{from{opacity:0}}
@keyframes gm-modal-in{from{opacity:0;transform:translate3d(0,10px,0) scale(.985)}}
@keyframes agv-vt-out{to{opacity:0}}
@keyframes agv-vt-in{from{opacity:0;transform:translate3d(0,8px,0)}}
@keyframes agv-fade-up{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}
@keyframes agv-logo-in{from{opacity:0}to{opacity:1}}
@keyframes ag-rise{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes office-selection-appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes lxc-mode-leave{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}
@keyframes lxc-mode-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes ag-float{from,to{transform:none}}
@keyframes agd-float{from,to{transform:none}}
@keyframes lxc-float{from,to{transform:none}}
@keyframes lxc-breathe{from,to{transform:none}}
@keyframes agv-sheen{from,to{background-position:150% 0}}
@keyframes agd-sheen{from,to{background-position:150% 0}}
@keyframes agv-shine{from,to{background-position:0 0}}
@keyframes agv-glow{from,to{opacity:1}}
@keyframes agv-pulse{from,to{opacity:1}}

/* Alias de police (hors @layer) : les couches qui nomment encore « Instrument Serif » (anciens titres) rendent en Geist.
   Chaque alias reprend exactement les descripteurs (graisse, style) de la déclaration d’origine : à descripteurs égaux,
   la dernière déclaration l’emporte. La plage 100–900 couvre les graisses que l’origine ne déclarait pas.
   Hellix n’est PAS redirigée : c’est la police du corps du texte (hellix-v177.css). */
@font-face{font-family:"Instrument Serif";src:url(fonts/geist-v143.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(fonts/geist-v143.woff2) format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(fonts/geist-v143.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(fonts/geist-v143.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
