/* Diagramme de Gantt de ressources.online : page d'accueil de l'outil, puis planning en plein écran.
   Les couleurs suivent la palette du site (variables du thème). */

/* ---------- accueil de l'outil ---------- */
.bloc {
  margin: 28px auto 0; max-width: 1100px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 22px;
  box-shadow: var(--ombre); padding: 22px 20px;
}
.depart { border: 2px dashed var(--ligne); border-radius: 18px; padding: 30px 18px 26px; text-align: center; background: var(--surface-2); transition: border-color .15s, background .15s; }
.depart.survol { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 8%, var(--surface-2)); }
.depart svg.grand { color: var(--orange); margin-bottom: 10px; }
.depart .choix { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; align-items: center; }
.depart p { margin: 14px 0 0; color: var(--doux); font-size: .92rem; }
.reprise {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; margin-bottom: 16px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--orange) 45%, var(--ligne)); background: color-mix(in srgb, var(--orange) 7%, var(--surface));
}
.reprise svg { color: var(--orange); flex: none; }
.reprise div { flex: 1 1 220px; min-width: 0; }
.reprise strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reprise small { color: var(--doux); }
.reprise .btn { min-height: 42px; padding: 0 20px; }
.btn-lien { font: inherit; font-size: .9rem; background: none; border: 0; color: var(--doux); text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.prive { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .9rem; color: var(--doux); }
.prive svg { flex: none; color: var(--vert); margin-top: 2px; }
.atouts { list-style: none; max-width: 1100px; margin: 34px auto 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.atouts li { background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; }
.atouts svg { color: var(--orange); }
.atouts strong { display: block; margin: 8px 0 4px; }
.atouts span { color: var(--doux); font-size: .92rem; line-height: 1.5; display: block; }
.touches { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .92rem; }
.touches kbd { font: inherit; font-size: .82em; padding: 1px 6px; border: 1px solid var(--ligne); border-radius: 6px; background: var(--surface-2); white-space: nowrap; }

/* ---------- planning ---------- */
html.gt-ouvert, html.gt-ouvert body { overflow: hidden; }
html.gt-ouvert .toast { z-index: 7100; }
html.gt-geste, html.gt-geste * { -webkit-user-select: none !important; user-select: none !important; }
html.gt-geste-deplacer * { cursor: grabbing !important; }
html.gt-geste-debut *, html.gt-geste-fin * { cursor: ew-resize !important; }
.gt {
  --tw: 488px; --he: 82px; --w: 16px; --bleu: #2563eb;
  --gt-fond: color-mix(in srgb, var(--primary) 5%, #fff); --gt-we: color-mix(in srgb, var(--primary) 6%, transparent);
  position: fixed; inset: 0; z-index: 6000; display: flex; flex-direction: column;
  background: var(--surface); color: var(--texte); font-size: 14px; line-height: 1.4; -webkit-tap-highlight-color: transparent;
}
.gt.sans-dates { --tw: 270px; }
.gt button { font-family: inherit; }
.gt :focus-visible { outline: 2px solid var(--bleu); outline-offset: 1px; }

/* barre du haut */
.gt-barre { display: flex; align-items: center; gap: 4px; padding: 6px 10px; min-height: 52px; background: var(--surface); border-bottom: 1px solid var(--ligne); position: relative; z-index: 12; }
.gt-bt {
  width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--texte); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0;
}
.gt-bt:hover { background: var(--surface-2); }
.gt-bt:disabled { opacity: .32; cursor: default; background: transparent; }
#gt-nom {
  font: inherit; font-weight: 700; font-size: 15px; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; background: transparent;
  color: var(--texte); flex: 0 1 26ch; width: 26ch; max-width: 30vw; min-width: 90px; text-overflow: ellipsis;
}
#gt-nom:hover { border-color: var(--ligne); }
#gt-nom:focus { border-color: var(--orange); outline: none; }
.gt-etat { display: inline-flex; align-items: center; gap: 5px; color: var(--doux); font-size: 12px; white-space: nowrap; margin-left: 4px; }
.gt-etat[data-etat="ok"] svg { color: var(--vert); }
.gt-etat[data-etat="ko"] { color: var(--rouge); }
.gt-souple { flex: 1; min-width: 4px; }
.gt-sep { width: 1px; height: 24px; background: var(--ligne); margin: 0 4px; flex: none; }
.gt-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); gap: 2px; flex: none; }
.gt-seg button { border: 0; background: none; color: var(--doux); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.gt-seg button[aria-pressed="true"] { background: var(--surface); color: var(--texte); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.gt .gt-telecharger { min-height: 40px; padding: 0 18px; font-size: 14px; margin-left: 6px; flex: none; }
/* « Enregistrer » dans le fichier du disque (Chrome, Edge) ; la pastille : des changements pas encore écrits dans le fichier */
.gt .gt-disque { position: relative; min-height: 40px; padding: 0 14px; font-size: 14px; margin-left: 6px; flex: none; background: var(--surface); }
.gt .gt-disque[hidden] { display: none; }
.gt .gt-disque.a-faire::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.gt-volet {
  position: absolute; top: calc(100% + 6px); right: 8px; z-index: 30; width: min(340px, calc(100vw - 16px)); padding: 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--ligne); box-shadow: 0 18px 44px rgba(0, 0, 0, .18); display: grid; gap: 8px;
}
.gt-volet h2 { font: 700 11.5px/1.2 var(--font-body, inherit); text-transform: uppercase; letter-spacing: .06em; color: var(--doux); margin: 0 0 4px; }
.gt-volet label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; cursor: pointer; padding: 4px 0; }
.gt-volet label input { margin-top: 3px; accent-color: var(--orange); }
.gt-volet label small { display: block; color: var(--doux); font-size: 12px; }
.gt-choix {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ligne);
  background: var(--surface); color: var(--texte); cursor: pointer; font-size: 13.5px;
}
.gt-choix:hover { border-color: var(--orange); }
.gt-choix svg { flex: none; color: var(--orange); }
.gt-choix small { display: block; color: var(--doux); font-size: 12px; }
.gt-choix strong { display: block; }

/* corps : tableau et calendrier dans la même zone de défilement, fiche à droite */
.gt-corps { flex: 1; min-height: 0; display: flex; position: relative; }
.gt-zone { flex: 1; min-width: 0; overflow: auto; overscroll-behavior: contain; background: var(--gt-fond); }
.gt-toile { display: flex; min-width: max-content; min-height: 100%; }
.gt-table { position: sticky; left: 0; z-index: 5; width: var(--tw); flex: none; background: var(--surface); border-right: 1px solid var(--ligne); box-shadow: 4px 0 12px -8px rgba(0, 0, 0, .25); }
.gt-tete { position: sticky; top: 0; z-index: 6; height: var(--he); background: var(--surface); border-bottom: 1px solid var(--ligne); display: flex; flex-direction: column; justify-content: space-between; }
.gt-tete-actions { display: flex; align-items: center; gap: 6px; padding: 6px 8px 0; }
.gt-petit {
  font-size: 12.5px; font-weight: 600; border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); border-radius: 9px;
  padding: 5px 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; white-space: nowrap;
}
.gt-petit:hover { border-color: var(--orange); }
.gt-mini { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--doux); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; }
.gt-mini:hover { background: var(--surface-2); color: var(--texte); }
.gt-mini.danger:hover { color: var(--rouge); }
.gt-lignes { position: relative; }
.gt-l { display: grid; grid-template-columns: 20px 34px minmax(0, 1fr) 112px 112px 60px; align-items: center; height: 36px; border-bottom: 1px solid color-mix(in srgb, var(--ligne) 60%, transparent); }
.gt.sans-dates .gt-l { grid-template-columns: 22px 34px minmax(0, 1fr); }
.gt.sans-dates .gt-l > .gt-date, .gt.sans-dates .gt-l > .gt-duree, .gt.sans-dates .gt-col-d { display: none; }
.gt-titres { height: 26px; border-bottom: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--doux); }
.gt-titres span { padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-l.choisie { background: color-mix(in srgb, var(--orange) 11%, var(--surface)); }
.gt-l.groupe .gt-nom { font-weight: 700; }
.gt-prise { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--doux); opacity: .3; cursor: grab; touch-action: none; }
.gt-l:hover .gt-prise { opacity: .8; }
.gt-ajout .gt-prise { visibility: hidden; }
.gt-num { font-size: 11.5px; color: var(--doux); font-variant-numeric: tabular-nums; padding: 0 4px; white-space: nowrap; overflow: hidden; display: flex; align-items: center; }
.gt-c-nom { display: flex; align-items: center; gap: 4px; min-width: 0; height: 100%; }
.gt-plier { width: 20px; height: 20px; border: 0; background: none; color: var(--doux); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 5px; }
.gt-plier:hover { background: var(--surface-2); color: var(--texte); }
.gt-plier.plie svg { transform: rotate(-90deg); }
.gt-puce { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; margin: 0 6px 0 5px; }
.gt-puce.jalon { transform: rotate(45deg); border-radius: 1px; }
.gt-l input { font: inherit; font-size: 13px; color: var(--texte); background: transparent; border: 0; border-radius: 6px; height: 28px; min-width: 0; width: 100%; padding: 0 6px; }
.gt-l input:hover { background: color-mix(in srgb, var(--primary) 5%, transparent); }
.gt-l input:focus { outline: 2px solid var(--orange); outline-offset: -2px; background: var(--surface); }
.gt-l input:disabled { opacity: .6; background: none; }
.gt-l .gt-date { font-size: 12.5px; font-variant-numeric: tabular-nums; padding: 0 2px 0 6px; }
.gt-l .gt-date::-webkit-calendar-picker-indicator { opacity: .35; cursor: pointer; margin-left: 0; }
.gt-l .gt-duree { text-align: right; -moz-appearance: textfield; appearance: textfield; }
.gt-l .gt-duree::-webkit-inner-spin-button { display: none; }
.gt-ajout { border-bottom: 0; }
.gt-ajout .gt-num { color: var(--orange); justify-content: flex-start; }
.gt-ajout input::placeholder { color: var(--doux); }
.gt-marque { position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--orange); pointer-events: none; z-index: 2; }

/* calendrier */
.gt-temps { position: relative; flex: none; display: flex; flex-direction: column; }
.gt-echelle { position: sticky; top: 0; z-index: 4; height: var(--he); flex: none; background: var(--surface); border-bottom: 1px solid var(--ligne); overflow: clip; -webkit-user-select: none; user-select: none; }
.gt-m, .gt-s, .gt-j { position: absolute; box-sizing: border-box; white-space: nowrap; }
.gt-m { top: 0; height: 26px; line-height: 26px; border-left: 1px solid color-mix(in srgb, var(--texte) 28%, transparent); font-size: 12.5px; overflow: clip; }
.gt-m b { position: sticky; left: calc(var(--tw) + 10px); display: inline-block; padding: 0 10px; font-weight: 700; text-transform: capitalize; }
.gt-s { top: 26px; height: 26px; line-height: 26px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--doux); border-left: 1px solid var(--ligne); border-top: 1px solid var(--ligne); font-variant-numeric: tabular-nums; overflow: hidden; }
.gt-s.auj { color: var(--orange); font-weight: 800; }
.gt-j { top: 52px; height: 30px; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; line-height: 1.15; color: var(--texte); font-variant-numeric: tabular-nums; }
.gt-j small { font-size: 9px; color: var(--doux); text-transform: uppercase; }
.gt-j.we { color: var(--doux); background: var(--gt-we); }
.gt-j.auj { background: var(--orange); color: #21160a; font-weight: 700; border-radius: 0 0 7px 7px; }
.gt-j.auj small { color: inherit; }
.gt-plan {
  position: relative; flex: 1; cursor: crosshair; touch-action: pan-x pan-y;
  background-color: var(--surface);
  background-image:
    linear-gradient(to right, var(--ligne) 1px, transparent 1px),
    linear-gradient(to right, transparent calc(var(--w) * 5), var(--gt-we) calc(var(--w) * 5)),
    linear-gradient(to bottom, transparent 35px, color-mix(in srgb, var(--ligne) 60%, transparent) 35px);
  background-size: calc(var(--w) * 7) 100%, calc(var(--w) * 7) 100%, 100% 36px;
}
.gt-plan.jours {
  background-image:
    linear-gradient(to right, var(--ligne) 1px, transparent 1px),
    linear-gradient(to right, color-mix(in srgb, var(--ligne) 45%, transparent) 1px, transparent 1px),
    linear-gradient(to right, transparent calc(var(--w) * 5), var(--gt-we) calc(var(--w) * 5)),
    linear-gradient(to bottom, transparent 35px, color-mix(in srgb, var(--ligne) 60%, transparent) 35px);
  background-size: calc(var(--w) * 7) 100%, var(--w) 100%, calc(var(--w) * 7) 100%, 100% 36px;
}
.gt-mois { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--texte) 28%, transparent); pointer-events: none; }
.gt-auj { position: absolute; top: 0; bottom: 0; width: var(--w); min-width: 2px; background: color-mix(in srgb, var(--orange) 13%, transparent); border-left: 2px solid var(--orange); box-sizing: border-box; pointer-events: none; }
.gt-rang { position: absolute; left: 0; right: 0; height: 35px; background: color-mix(in srgb, var(--orange) 9%, transparent); pointer-events: none; }
.gt-liens { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }
.gt-lien .trait { fill: none; stroke: #64748b; stroke-width: 1.5; }
.gt-lien .pointe { fill: #64748b; }
.gt-lien .touche { fill: none; stroke: transparent; stroke-width: 12; pointer-events: stroke; cursor: pointer; }
.gt-lien.choisi .trait { stroke: var(--orange); stroke-width: 2.5; }
.gt-lien.choisi .pointe { fill: var(--orange); }
.gt-fil { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 4; }
.gt-b { position: absolute; z-index: 1; height: 22px; margin-top: 7px; border-radius: 6px; background: var(--c); cursor: grab; touch-action: none; box-sizing: border-box; }
.gt-b.avance { background: color-mix(in srgb, var(--c) 42%, #fff); }
.gt-av { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--c); pointer-events: none; }
.gt-b:not(.avance) .gt-av { display: none; }
.gt-b.choisie { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--bleu); z-index: 3; }
.gt-b.cible { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--orange); }
.gt-b.groupe { height: 9px; margin-top: 9px; border-radius: 2px; background: #1e293b; }
.gt-b.groupe::before, .gt-b.groupe::after { content: ""; position: absolute; top: 100%; border: 5px solid transparent; border-top-color: #1e293b; margin-top: -1px; }
.gt-b.groupe::before { left: 0; border-left-width: 0; border-right-width: 8px; }
.gt-b.groupe::after { right: 0; border-right-width: 0; border-left-width: 8px; }
.gt-b.groupe .gt-av { display: block; background: color-mix(in srgb, var(--c) 80%, #fff); border-radius: 2px; }
.gt-b.jalon { height: 18px; margin-top: 9px; background: none; border-radius: 0; }
.gt-b.jalon b { display: block; width: 12.7px; height: 12.7px; margin: 2.65px; background: var(--c); transform: rotate(45deg); border-radius: 2px; }
.gt-b.jalon.choisie { box-shadow: none; }
.gt-b.jalon.choisie b { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--bleu); }
.gt-g, .gt-d { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.gt-g { left: -3px; } .gt-d { right: -3px; }
.gt-point {
  position: absolute; right: -15px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; box-sizing: border-box;
  background: var(--surface); border: 2px solid var(--c); cursor: crosshair; opacity: 0; transition: opacity .12s;
}
.gt-b.groupe .gt-point { border-color: #1e293b; }
.gt-b:hover .gt-point, .gt-b.choisie .gt-point { opacity: 1; }
.gt-b.fantome { background: color-mix(in srgb, var(--bleu) 35%, transparent); border: 1.5px dashed var(--bleu); pointer-events: none; }
.gt-et { position: absolute; height: 36px; line-height: 36px; font-size: 12px; color: var(--texte); white-space: nowrap; pointer-events: none; }
.gt-et em { font-style: normal; color: var(--doux); margin-left: 6px; }
.gt-vide { position: sticky; left: calc(var(--tw) + 24px); display: inline-block; max-width: min(420px, 60vw); margin: 34px 0 0 24px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--ligne); color: var(--doux); font-size: 13.5px; cursor: default; }

/* fiche de la tâche */
.gt-fiche { width: 300px; flex: none; background: var(--surface); border-left: 1px solid var(--ligne); display: none; flex-direction: column; min-height: 0; }
.gt.fiche-ouverte .gt-fiche { display: flex; }
.gt-fiche > header { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 4px 16px; }
.gt-fiche h2 { font: 700 11.5px/1.2 var(--font-body, inherit); text-transform: uppercase; letter-spacing: .06em; color: var(--doux); margin: 0; }
.gt-fiche-corps { flex: 1; overflow-y: auto; padding: 6px 16px 18px; display: grid; gap: 12px; align-content: start; }
.gt-champ { display: grid; gap: 4px; font-size: 12px; color: var(--doux); min-width: 0; }
.gt-champ > span { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.gt-champ input[type="text"], .gt-champ input[type="date"], .gt-champ input[type="number"], .gt-champ select {
  font: inherit; font-size: 13.5px; color: var(--texte); background: var(--surface); border: 1px solid var(--ligne); border-radius: 9px; height: 36px; padding: 0 9px; min-width: 0; width: 100%;
}
.gt-champ input:focus, .gt-champ select:focus { outline: none; border-color: var(--orange); }
.gt-champ input:disabled { background: var(--surface-2); opacity: .75; }
.gt-champ input[type="range"] { accent-color: var(--orange); width: 100%; }
.gt-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gt-en-ligne { grid-template-columns: 1fr 72px auto; align-items: center; }
.gt-en-ligne em { font-style: normal; }
.gt-fiche .gt-seg { width: 100%; }
.gt-fiche .gt-seg button { flex: 1; }
.gt-semaines { margin: -6px 0 0; font-size: 12px; color: var(--doux); }
.gt-note, .gt-astuce { margin: 0; font-size: 12.5px; color: var(--doux); }
.gt-astuces { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--doux); display: grid; gap: 6px; }
.gt-pastilles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gt-pastille { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); background: var(--c); cursor: pointer; padding: 0; box-shadow: 0 0 0 1px var(--ligne); }
.gt-pastille.auto { width: auto; border-radius: 999px; padding: 0 9px; background: var(--surface-2); font-size: 11.5px; font-weight: 600; color: var(--texte); }
.gt-pastille.actif { box-shadow: 0 0 0 2px var(--bleu); }
.gt-liste-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gt-liste-liens li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texte); background: var(--surface-2); border-radius: 8px; padding: 2px 2px 2px 9px; }
.gt-liste-liens span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-actions { display: flex; gap: 2px; padding-top: 10px; border-top: 1px solid var(--ligne); }
.gt-actions .gt-mini { width: 36px; height: 36px; }
.gt-actions .danger { margin-left: auto; }
.gt-pied { display: flex; gap: 18px; padding: 5px 14px; border-top: 1px solid var(--ligne); background: var(--surface); color: var(--doux); font-size: 11.5px; white-space: nowrap; overflow: hidden; }

@media (max-width: 1240px) {
  .gt-etat span { display: none; }
  .gt .gt-telecharger, .gt .gt-disque { padding: 0 14px; }
  .gt .gt-telecharger span, .gt .gt-disque span { display: none; }
  .gt-seg button { padding: 6px 8px; }
}
@media (max-width: 900px) {
  .gt-barre { gap: 1px; padding: 6px; flex-wrap: nowrap; }
  .gt-etat span, .gt-sep, #gt-zooms, #gt-tout { display: none; }
  #gt-nom { max-width: 26vw; font-size: 14px; }
  .gt .gt-telecharger, .gt .gt-disque { padding: 0 12px; margin-left: 2px; }
  .gt .gt-telecharger span, .gt .gt-disque span { display: none; }
  .gt-bt { width: 34px; }
  .gt { --tw: min(488px, 94vw); }
  .gt.sans-dates { --tw: min(46vw, 230px); }
  .gt.sans-dates .gt-l { grid-template-columns: 16px 0 minmax(0, 1fr); }
  .gt.sans-dates .gt-num { visibility: hidden; }
  .gt.sans-dates .gt-titres span:nth-child(2) { visibility: hidden; padding: 0; }
  .gt.sans-dates .gt-tete-actions .gt-petit span { display: none; }
  .gt-fiche { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-height: 62vh; z-index: 20; border-left: 0; border-top: 1px solid var(--ligne); border-radius: 18px 18px 0 0; box-shadow: 0 -14px 40px rgba(0, 0, 0, .2); }
  .gt-pied { display: none; }
}
@media (max-width: 560px) {
  .gt-etat, #gt-auj { display: none; }
  .gt-bt { width: 31px; }
  #gt-nom { min-width: 54px; padding: 6px 4px; }
}
@media print { .gt { display: none !important; } }
