/* GABARIT : page de vente, CGV et page d'accès (22 novembre 2026).
   Prolonge « Instrument » avec le dessin technique : cotes, règle graduée, planche, cartouche.
   Les jetons viennent de instrument-pages.css (body.hl-i). Aucun dégradé, aucune ombre, aucun flou. */

body.gb { --gb-sec: clamp(80px, 12vw, 152px); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
/* Remise à zéro sans poids (:where), hors bandeau de consentement */
:where(.gb main, .gb-foot, .gb-bar) :where(h1, h2, h3, p, dl, dd, dt, ol, ul, figure, table, nav) { margin: 0; padding: 0; }
:where(.gb main) :where(ol, ul) { list-style: none; }
:where(.gb) :where(img) { display: block; width: 100%; height: auto; }
body.gb [hidden] { display: none !important; }
body.gb .gb-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
/* Bulle de l'assistant (fixe, bord droit) : réduite sous 900 px, avec une marge droite égale à sa largeur pour qu'elle ne recouvre jamais le texte. */
@media (max-width: 899px) {
  body.gb .gb-wrap { padding-right: max(40px, env(safe-area-inset-right, 0px)); }
  body.gb .gbc-open { transform: scale(0.72); transform-origin: 100% 100%; }
}
body.gb .gb-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.gb .gb-skip { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 12px 16px; background: var(--hl-paper); color: var(--hl-obsidian); }
body.gb .gb-skip:focus { top: 8px; }
body.gb main a:not(.hl-cta, .gb-btn2, .hl-textlink, .hl-toc a) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* En-tête : le logo, rien d'autre */
.gb-top { padding-block: 10px; border-bottom: 1px solid var(--hl-line); }
.gb-logo { display: block; width: 162px; height: 36px; margin-left: -5px; }

/* Titres et texte */
.gb-h1 { white-space: nowrap; font: 400 clamp(76px, 25vw, 208px)/0.84 var(--hl-display); letter-spacing: 0; text-transform: uppercase; color: var(--hl-paper); }
.gb-h2 { max-width: 18ch; font: 400 clamp(44px, 11.5vw, 84px)/0.92 var(--hl-display); letter-spacing: 0.005em; text-transform: uppercase; color: var(--hl-paper); text-wrap: balance; }
.gb-h3 { letter-spacing: 0.01em; font: 400 clamp(30px, 7vw, 40px)/1 var(--hl-display); text-transform: uppercase; color: var(--hl-paper); }
.gb-dim { color: var(--hl-steel); }
.gb-h2 .gb-dim { display: block; padding-top: 0.08em; }
.gb-sub { max-width: 30ch; font-size: clamp(18px, 4.8vw, 24px); line-height: 1.35; color: var(--hl-paper); text-wrap: pretty; }
.gb-sub strong { font-weight: 700; }
.gb-lede, .gb-text { max-width: 60ch; color: var(--hl-text-2); text-wrap: pretty; }
.gb-sec { padding-block: var(--gb-sec) 0; }
.gb-sec > .gb-wrap > .gb-h2 + * { margin-top: clamp(32px, 5vw, 56px); }

/* Cote : la largeur réelle du titre, mesurée */
.gb-measure { width: fit-content; max-width: 100%; }
.gb-cote { position: relative; display: flex; justify-content: center; height: 22px; margin-top: 10px; border-inline: 1px solid var(--hl-steel); font: 500 13px/22px var(--hl-body); color: var(--hl-text-2); font-variant-numeric: tabular-nums; }
.gb-cote::before { content: ""; position: absolute; inset: 11px 0 auto; height: 1px; background: var(--hl-steel); transform-origin: center; }
.gb-cote span { position: relative; padding-inline: 10px; background: var(--hl-obsidian); }

/* Photo produit : quatre repères d'angle, comme une planche */
.gb-plate { position: relative; }
.gb-plate::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--hl-steel); clip-path: polygon(0 0, 18px 0, 18px 100%, calc(100% - 18px) 100%, calc(100% - 18px) 0, 100% 0, 100% 18px, 0 18px, 0 calc(100% - 18px), 100% calc(100% - 18px), 100% 100%, 0 100%); }

/* Les noirs purs des photos rejoignent le noir Obsidian de la page */
.gb-plate img { mix-blend-mode: lighten; }

/* Haut de page */
.gb-hero { padding-block: 26px 0; }
.gb-hero-grid { display: grid; gap: 40px; }
.gb-hero-copy > .gb-sub { margin-top: 16px; }
.gb-lede { margin-top: 10px; }
.gb-buy { margin-top: 22px; }
body.gb .gb-cta { justify-content: center; width: 100%; min-height: 56px; padding: 14px 24px; font: 500 17px/1.3 var(--hl-body); white-space: nowrap; }
.gb-legal { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--hl-text-2); text-wrap: pretty; }
.gb-facts { display: grid; gap: 8px; margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--hl-text-2); }
.gb-facts li { display: grid; grid-template-columns: 18px 1fr; }
.gb-facts li::before { content: ""; width: 9px; height: 1px; margin-top: 0.72em; background: var(--hl-steel); }

/* Départ : n'importe quel lundi. La semaine type du chapitre 3, puis ce que contient la semaine 12 */
.gb-cal-grid { display: grid; gap: 48px; }
.gb-cal-main > .gb-text { margin-top: 32px; }
.gb-cal-main > .gb-cal-lede { margin-top: 28px; }
.gb-week { display: grid; margin-top: 28px; border-top: 1px solid var(--hl-steel); }
.gb-week li { display: grid; grid-template-columns: 7.5em 1fr auto; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hl-line); color: var(--hl-steel); }
.gb-week span { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.gb-week b { font: 400 22px/1.1 var(--hl-display); letter-spacing: 0.02em; text-transform: uppercase; }
.gb-week i { font-style: normal; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--hl-text-2); }
.gb-week .gb-ses { color: var(--hl-paper); }
.gb-week .gb-ses span { color: var(--hl-text-2); }
.gb-week .gb-bilan b { color: var(--hl-paper); }
.gb-week .gb-bilan b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 0.18em; background: var(--hl-signal); }
.gb-week-note { max-width: 60ch; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--hl-steel); text-wrap: pretty; }
.gb-cal-h3 { margin-top: 48px; }
.gb-s12 { display: grid; margin-top: 16px; }
.gb-s12 li { padding: 14px 0; border-top: 1px solid var(--hl-line); color: var(--hl-text-2); text-wrap: pretty; }
.gb-s12 b { color: var(--hl-paper); font-weight: 600; }
.gb-cal-fig { max-width: 360px; width: 78%; justify-self: center; }

/* Écart et correction */
.gb-pairs { border-top: 1px solid var(--hl-line-strong); }
.gb-pairs > div { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--hl-line); }
.gb-pairs dt { font: 400 28px/1.05 var(--hl-display); text-transform: uppercase; text-wrap: balance; }
.gb-pairs dd { color: var(--hl-text-2); max-width: 56ch; text-wrap: pretty; }

/* Planche claire : l'extrait, imprimé */
.gb-sheet { margin-top: var(--gb-sec); padding-block: clamp(20px, 4vw, 56px); background: var(--hl-paper); color: var(--hl-obsidian); }
.gb-sheet-in { padding: clamp(28px, 5vw, 64px) clamp(0px, 4vw, 56px); }
.gb-sheet-tag { display: inline-block; margin-bottom: 20px; padding-bottom: 6px; border-bottom: 1px solid var(--hl-obsidian); font-size: 15px; }
.gb-sheet .gb-h2 { color: var(--hl-obsidian); }
.gb-sheet .gb-text { margin-top: 20px; color: var(--brand-graphite); }
.gb-weight { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin-top: 28px; }
.gb-weight label { font-weight: 500; }
.gb-weight-in { display: inline-flex; align-items: center; gap: 8px; }
.gb-weight input { width: 104px; height: 52px; padding: 0 12px; border: 1px solid var(--hl-obsidian); border-radius: 2px; background: none; color: var(--hl-obsidian); font: 700 22px/1 var(--hl-body); font-variant-numeric: tabular-nums; color-scheme: light; }
.gb-weight input[aria-invalid="true"] { border-width: 2px; border-style: dashed; }
.gb-weight-out { grid-column: 1 / -1; font-size: 18px; }
.gb-weight output { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gb-weight-help { grid-column: 1 / -1; font-size: 14px; color: var(--brand-graphite); }
.gb-weight-help.is-error { font-weight: 700; color: var(--hl-obsidian); }
.gb-gauges { display: grid; gap: 32px; margin-top: 40px; }
.gb-gauges svg { display: block; width: 100%; max-width: 320px; height: auto; color: var(--hl-obsidian); overflow: visible; }
.gb-gauges h3 { margin-top: 12px; font: 500 17px/1.35 var(--hl-body); letter-spacing: 0; text-transform: none; }
.gb-verdict { margin-top: 4px; font: 400 clamp(44px, 11vw, 56px)/1 var(--hl-display); text-transform: uppercase; white-space: nowrap; }
.gb-verdict span { font: 400 17px/1 var(--hl-body); text-transform: none; }
.gb-source { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--hl-obsidian); font-size: 14px; color: var(--brand-graphite); }
.gb-defs { position: absolute; }
.gb-zone { fill: #d9d8d4; }
.gb-axis, .gb-ticks, .gb-bounds { fill: none; stroke: #0b0b0d; stroke-width: 1; }
.gb-bounds { stroke-width: 2; }
.gb-needle { fill: #0b0b0d; }
body.gb .gb-sheet :focus-visible { outline-color: var(--hl-obsidian); }

/* Chapitres, formats, pages */
.gb-in-grid { display: grid; gap: 56px; }
.gb-toc { counter-reset: ch; border-top: 1px solid var(--hl-line-strong); }
.gb-toc li { counter-increment: ch; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 0; padding: 18px 0; border-bottom: 1px solid var(--hl-line); }
.gb-toc li::before { content: counter(ch); grid-row: 1 / span 2; font: 400 44px/0.9 var(--hl-display); color: var(--hl-steel); }
.gb-toc h3 { font: 400 28px/1 var(--hl-display); letter-spacing: 0.01em; text-transform: uppercase; color: var(--hl-paper); }
.gb-toc p { grid-column: 2; color: var(--hl-text-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.gb-formats svg { display: block; width: 100%; max-width: 460px; height: auto; }
.gb-formats figcaption { max-width: 44ch; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--hl-text-2); }
.gb-draw rect { fill: none; stroke: #f5f4f0; stroke-width: 1.5; }
.gb-thin, .gb-lines path { fill: none; stroke: #8a8f98; stroke-width: 1; opacity: 0.8; }
.gb-lines path { opacity: 0.4; }
.gb-arrow { fill: #8a8f98; }
.gb-dims text, .gb-dimv { font: 500 14px/1 Inter, Arial, sans-serif; fill: #f5f4f0; text-anchor: middle; }
.gb-dims .gb-bg { stroke: #0b0b0d; stroke-width: 10px; }
.gb-dimv { paint-order: stroke; stroke: #0b0b0d; stroke-width: 10px; }
.gb-pages { display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 300px); gap: 16px; margin: 56px -20px 0; padding: 4px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-color: var(--hl-steel) transparent; scrollbar-width: thin; }
.gb-pages:focus-visible { outline: 2px solid var(--hl-signal-text); outline-offset: -2px; }
.gb-pages figure { scroll-snap-align: start; border: 1px solid var(--hl-line-strong); }

/* Comparaison */
.gb-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; table-layout: fixed; }
.gb-table :is(th, td) { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--hl-line); text-align: left; vertical-align: top; font-weight: 400; color: var(--hl-text-2); }
.gb-table thead :is(th, td) { border-bottom-color: var(--hl-line-strong); color: var(--hl-paper); font-weight: 700; }
.gb-table tbody th { color: var(--hl-steel); }
.gb-table td:last-child { color: var(--hl-paper); }
.gb-table th:first-child, .gb-table td:first-child { width: 25%; }
.gb-table + .gb-text { margin-top: 32px; }

/* Pour qui */
.gb-who { display: grid; gap: 48px; }
.gb-who h3 { letter-spacing: 0.01em; font: 400 30px/1 var(--hl-display); text-transform: uppercase; }
.gb-who ul { margin-top: 20px; }
.gb-who li, .gb-list li { padding: 14px 0; border-top: 1px solid var(--hl-line); color: var(--hl-text-2); text-wrap: pretty; }
.gb-go li { color: var(--hl-paper); }
.gb-who .gb-text { margin-top: 14px; }
.gb-who .gb-text + p { margin-top: 8px; }

/* Harry */
.gb-harry { display: grid; gap: 40px; }
/* La photo source porte des bandes noires en haut et en bas : on recadre au-delà. */
.gb-portrait { overflow: hidden; aspect-ratio: 4 / 3; }
.gb-portrait img { height: 100%; object-fit: cover; transform: scale(1.26); filter: grayscale(1) brightness(0.82) contrast(1.12); }
.gb-kg { display: flex; align-items: center; gap: 16px; margin-top: 24px; font: 400 44px/1 var(--hl-display); white-space: nowrap; }
.gb-kg i { flex: 1 1 auto; max-width: 180px; height: 11px; border-inline: 1px solid var(--hl-steel); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='11'%3E%3Cpath d='M0 5.5h4' stroke='%238a8f98'/%3E%3C/svg%3E") repeat-x; }
.gb-harry .gb-text { margin-top: 16px; }
.gb-list { margin-top: 24px; }

/* Prix : le cartouche du plan */
.gb-cart { display: grid; border: 1px solid var(--hl-paper); }
.gb-cart-price { padding: 28px 20px 24px; }
.gb-price { margin-top: 12px; font: 400 clamp(112px, 32vw, 184px)/0.86 var(--hl-display); white-space: nowrap; }
.gb-cart-note { margin: 12px 0 20px; font-size: 14px; color: var(--hl-text-2); }
.gb-cart-spec { border-top: 1px solid var(--hl-paper); }
.gb-cart-spec > div { padding: 14px 20px; border-top: 1px solid var(--hl-line-strong); }
.gb-cart-spec > div:first-child { border-top: 0; }
.gb-cart-spec dt { font-size: 14px; color: var(--hl-steel); }
.gb-cart-spec dd { color: var(--hl-text-2); line-height: 1.5; text-wrap: pretty; }
.gb-cart-spec strong { color: var(--hl-paper); }

/* Questions */
.gb-faq-grid { display: grid; gap: 32px; }
.gb-sec > .gb-faq-grid > .gb-h2 + * { margin-top: 0; }
.gb-faq { border-top: 1px solid var(--hl-line-strong); }
.gb-faq details { border-bottom: 1px solid var(--hl-line); }
.gb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.gb-faq summary::-webkit-details-marker { display: none; }
.gb-faq summary::after { content: ""; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M0 7.5h15M7.5 0v15' stroke='%23f5f4f0' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat; }
.gb-faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M0 7.5h15' stroke='%23f5f4f0' stroke-width='1.5'/%3E%3C/svg%3E"); }
.gb-faq details p { max-width: 62ch; padding: 0 32px 22px 0; color: var(--hl-text-2); text-wrap: pretty; }

/* Dernier appel, pied de page */
.gb-end .gb-sub { margin: 24px 0 24px; }
.gb-foot { margin-top: var(--gb-sec); padding-block: 32px 40px; border-top: 1px solid var(--hl-line); font-size: 14px; color: var(--hl-steel); }
.gb-foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-block: 8px; }
.gb-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hl-text-2); text-decoration: none; }
.gb-foot nav a:hover { color: var(--hl-paper); }
.gb-foot p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gb-handle { margin-left: 8px; }

/* Barre d'achat mobile */
.gb-bar { position: fixed; z-index: 10; inset: auto 0 0; display: grid; gap: 6px; padding: 10px 20px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--hl-obsidian); border-top: 1px solid var(--hl-line-strong); visibility: hidden; transform: translateY(100%); transition: transform 240ms var(--hl-ease), visibility 0s 240ms; }
.gb-bar.is-on { visibility: visible; transform: none; transition-delay: 0s; }
.gb-bar p { font-size: 12px; line-height: 1.4; text-align: center; color: var(--hl-text-2); }
.gb-bar a:not(.hl-cta) { color: inherit; }
body.gb .gb-bar .gb-cta { width: 100%; min-height: 52px; padding: 14px 16px; font: 500 16px/1.2 var(--hl-body); }

/* Consentement : compact sur téléphone pour laisser le bouton d'achat visible ; refus et accord à égalité */
@media (max-width: 559px) {
  .gb .hl-consent { bottom: 8px; width: calc(100% - 16px); padding: 14px 16px; border-radius: 4px; font-size: 13px; line-height: 1.4; }
  .gb .hl-consent h2 { margin-bottom: 4px; font-size: 22px; }
  .gb .hl-consent p { margin-bottom: 10px; }
  .gb .hl-consent-options { gap: 4px 16px; margin-bottom: 12px; }
  .gb .hl-consent-options label { min-height: 24px; }
  .gb .hl-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .gb .hl-consent-actions button { padding: 8px; font-size: 14px; }
  .gb .hl-consent-actions button:last-child { grid-column: 1 / -1; }
}

/* CGV et page d'accès */
.gb-doc-head { padding-block: 20px 32px; }
.gb-back a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
body.gb-doc .hl-title.is-doc { margin: 12px 0 16px; line-height: 0.94; overflow-wrap: normal; }
body.gb-doc .hl-doc-section ul { padding-left: 0; list-style: none; }
.gb-acces-head { padding-top: 32px; }
.gb-acces-head .gb-sub { margin-top: 20px; }
.gb-dl { display: grid; gap: 12px; margin-top: 24px; }
.gb-btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 24px; border: 1px solid var(--hl-paper); border-radius: 4px; color: var(--hl-paper); font: 500 17px/1.3 var(--hl-body); text-decoration: none; }
body.gb main a.gb-btn2 { text-decoration: none; }
.gb-btn2:hover { background: var(--hl-paper); color: var(--hl-obsidian); }

@media (min-width: 560px) {
  body.gb .gb-cta { width: fit-content; min-width: 320px; }
  .gb-dl { grid-template-columns: max-content max-content; }
  body.gb .gb-dl .gb-cta { min-width: 0; }
}

@media (min-width: 900px) {
  .gb-h2 { max-width: 26ch; }
  .gb-gauges h3 { min-height: 2.7em; }
  body.gb .gb-wrap { padding-inline: 40px; }
  .gb-top { padding-block: 14px; }
  .gb-hero { padding-block: 48px 0; }
  .gb-hero-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .gb-hero-fig img { max-height: calc(100svh - 150px); min-height: 520px; width: auto; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .gb-hero-fig { width: fit-content; justify-self: end; }
  .gb-h1 { font-size: clamp(104px, 12.2vw, 178px); }
  .gb-hero-copy > .gb-sub { margin-top: 24px; }
  .gb-buy { margin-top: 28px; }
  .gb-acces-head { padding-top: 72px; }
  .gb-cal-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 80px; align-items: center; }
  .gb-cal .gb-h2 { max-width: none; font-size: clamp(44px, 5vw, 70px); }
  .gb-cal-fig { width: 100%; max-width: 440px; justify-self: end; }
  .gb-pairs > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 32px 0; align-items: baseline; }
  .gb-pairs dt { font-size: 36px; }
  .gb-sheet-in { border: 1px solid var(--hl-obsidian); }
  .gb-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
  .gb-weight { grid-template-columns: auto auto 1fr; gap: 10px 20px; }
  .gb-weight-out { grid-column: auto; }
  .gb-in-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 96px; }
  .gb-formats { position: sticky; top: 48px; align-self: start; }
  .gb-pages { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 80px 0 0; padding: 0; overflow: visible; }
  .gb-table { font-size: 17px; }
  .gb-table :is(th, td) { padding: 18px 24px 18px 0; }
  .gb-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  .gb-who h3 { font-size: 40px; }
  .gb-harry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
  .gb-cart { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .gb-cart-price { padding: 40px; }
  .gb-cart-spec { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; border-top: 0; border-left: 1px solid var(--hl-paper); }
  .gb-cart-spec > div { padding: 24px 28px; }
  .gb-cart-spec > div:nth-child(2) { border-top: 0; }
  .gb-cart-spec > div:nth-child(even) { border-left: 1px solid var(--hl-line-strong); }
  .gb-cart-wide { grid-column: 1 / -1; }
  .gb-faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
  .gb-bar { display: none; }
  .gb-toc-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; border-top: 0; }
  .gb-toc-3 li { border-top: 1px solid var(--hl-line-strong); border-bottom: 0; align-content: start; }
}

/* Un seul mouvement au chargement : la cote se tire du centre vers les bords */
@media (prefers-reduced-motion: no-preference) {
  .gb-cote::before { animation: gb-draw 900ms var(--hl-ease) 150ms both; }
}
@keyframes gb-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Semaine type en frise de 7 jours dès que la colonne laisse au moins 80 px par jour */
@media (min-width: 1100px) {
  .gb-week { grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 0; border-bottom: 1px solid var(--hl-steel); }
  .gb-week li { grid-template-columns: none; align-content: start; gap: 10px; min-height: 132px; padding: 12px 10px 14px; border-bottom: 0; border-top: 2px solid var(--hl-line-strong); }
  .gb-week li + li { border-left: 1px solid var(--hl-line); }
  .gb-week .gb-ses { border-top-color: var(--hl-paper); }
  .gb-week .gb-bilan { border-top-color: var(--hl-signal); }
  .gb-week b { font-size: 24px; text-wrap: balance; }
  .gb-week .gb-bilan b::before { display: none; }
}

/* Fin de la foire aux questions (GABARIT et RATION) : entrée de l'assistant, et repli si son module ne charge pas */
.gbc-ask { display: block; width: 100%; min-height: 52px; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--hl-line-strong); border-radius: 4px; background: transparent; color: var(--hl-paper); font: 500 16px/1.3 var(--hl-body); text-align: left; cursor: pointer; transition: background 160ms var(--hl-ease), color 160ms var(--hl-ease); }
@media (hover: hover) { .gbc-ask:hover { border-color: var(--hl-paper); background: var(--hl-paper); color: var(--hl-obsidian); } }
.gbc-ask:focus-visible { outline: 2px solid var(--hl-signal-text); outline-offset: 2px; }
.gbc-lost { padding: 16px 0 !important; font-weight: 500; }
