.g-shell {
  --ink: #0a1830;
  --gold: #74572b;
  --line: #d9d3c8;
  --soft: #f1eee6;
  color: var(--ink);
  font-family: var(--sans);
}
.g-shell h1, .g-shell h2, .g-shell h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: pretty;
  margin: 0;
}
.g-path { padding-block: 15px; }
.g-path a { text-underline-offset: 3px; }
/* Fil d'Ariane : 44 px au doigt (grille de contrôle, 05/12/2026) */
@media (max-width: 660px) { .g-path a { padding-block: 12.5px; } }
.g-shell .g-kicker {
  font: 500 .86rem/1.4 var(--sans);
  color: var(--gold);
  letter-spacing: .105em;
  text-transform: uppercase;
  margin: 0 0 17px;
}
.g-cover, .g-sheet-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(28px, 4.2vw, 60px);
}
.g-cover h1 {
  font-size: clamp(3.6rem, 6.8vw, 6.6rem);
  line-height: .94;
}
.g-cover h1 em { display: block; color: var(--gold); font-weight: 400; }
.g-lead {
  max-width: 52ch;
  font: 400 clamp(1.06rem, 1.4vw, 1.25rem)/1.55 var(--sans);
  color: #384253;
  margin: 22px 0;
}
.g-cover-photo {
  overflow: hidden;
  border-top-right-radius: clamp(60px, 10vw, 150px);
  aspect-ratio: 1.38;
}
.g-cover-photo img, .g-sheet-photo, .g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g-action, .chantier-form button {
  border: 1px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 22px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font: 500 1rem/1.4 var(--sans);
  cursor: pointer;
}
.g-action:hover, .chantier-form button:hover { background: #24354d; }
.g-shell :focus-visible { outline: 3px solid #86612a; outline-offset: 4px; }
.g-index { border-top: 1px solid var(--ink); padding: clamp(25px, 3vw, 48px) 0; scroll-margin-top: 85px; }
.g-index > h2 { font-size: clamp(2.15rem, 3.7vw, 3.6rem); line-height: 1.04; }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(22px, 4vw, 60px); margin-top: 18px; }
.g-card {
  display: grid;
  grid-template-columns: minmax(70px, 23%) 1fr;
  align-items: center;
  gap: clamp(16px, 1.8vw, 25px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.g-card img { aspect-ratio: 1; height: auto; }
.g-card .g-kicker { margin: 0 0 5px; font-size: .79rem; }
.g-card h3 { font-size: clamp(1.75rem, 2.1vw, 2.25rem); line-height: 1.04; }
.g-card:hover h3, .g-card:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.g-card div > p:last-child, .g-docs p { font: 400 1.02rem/1.52 var(--sans); margin: 8px 0 0; color: #3d4653; }
.g-docs {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(22px, 5vw, 66px);
  align-items: center;
  background: var(--soft);
  border-left: 3px solid #a68c59;
  padding: clamp(22px, 3.3vw, 44px);
}
.g-docs h2 { font-size: clamp(1.9rem, 2.7vw, 2.7rem); line-height: 1.05; }
.g-links, .g-sidebar nav { display: grid; }
.g-links a, .g-next a, .g-sidebar a, .g-body a { color: var(--ink); text-decoration: underline; text-decoration-color: #a79271; text-underline-offset: .22em; }
.g-links a, .g-sidebar a { display: block; padding-block: 10px; font: 500 1rem/1.45 var(--sans); }
.g-sheet-head { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); border-bottom: 1px solid var(--line); }
.g-sheet-head h1 { font-size: clamp(2.7rem, 4.9vw, 5.1rem); line-height: .99; }
.g-sheet-head .g-lead { margin: 17px 0; }
.g-date { font: 400 .91rem/1.4 var(--sans); color: #5c6270; }
.g-sheet-head .g-action { margin-top: 16px; }
.g-sheet-photo { aspect-ratio: 1.3; height: auto; border-top-right-radius: clamp(45px, 5vw, 90px); }
.g-columns { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); padding-block: 38px; }
.g-body { max-width: 760px; min-width: 0; }
.g-body section { padding: 0; margin: 0 0 32px; }
.g-body h2 { font-size: clamp(1.95rem, 2.9vw, 3rem); line-height: 1.08; margin-bottom: 13px; }
.g-body p, .g-body li { font: 400 1.1rem/1.64 var(--sans); color: #303b4a; }
.g-body p + p { margin-top: 13px; }
.g-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font: 400 1rem/1.4 var(--sans); font-variant-numeric: tabular-nums; }
.g-body caption { text-align: left; font-weight: 500; margin-bottom: 10px; }
.g-body :is(th, td) { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; }
.g-body th { font-weight: 500; }
/* Montants alignés à droite, chiffres droits et tabulaires (grille de contrôle, 05/12/2026) */
.g-body table { font-variant-numeric: lining-nums tabular-nums; }
.g-body :is(th, td):not(:first-child) { text-align: right; }
.g-body thead { background: var(--ink); color: #fff; }
.g-body tfoot { background: var(--soft); }
.g-body .checklist { list-style: none; padding: 0; margin: 15px 0; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; cursor: pointer; }
.checklist input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); position: relative; top: 2px; }
.chantier-form { background: var(--soft); padding: clamp(16px, 3vw, 28px); margin: 22px 0; }
.chantier-form fieldset { min-width: 0; border: none; padding: 0; margin: 0; }
.chantier-form legend { font: 500 1.8rem/1.1 var(--serif); margin-bottom: 16px; }
.chantier-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.chantier-fields label { display: grid; grid-template-rows: 1fr auto; align-items: end; font: 500 1rem/1.4 var(--sans); }
.chantier-fields input { width: 100%; min-height: 44px; margin-top: 5px; padding: 7px 10px; background: #fff; border: 1px solid #90897e; color: var(--ink); font: inherit; border-radius: 0; }
.chantier-result:not(:empty) { display: block; font: 500 1.2rem/1.5 var(--sans); padding-top: 14px; }
.g-sidebar { align-self: start; border-top: 1px solid var(--ink); padding-top: 16px; }
.g-sidebar h2 { font-size: 1.65rem; }
.g-sidebar a { border-bottom: 1px solid var(--line); }
.g-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding: 16px 0; }
.g-next a { padding-block: 9.5px; font-size: 1rem; }
@media (max-width: 760px) {
  .g-cover { grid-template-columns: 1fr; gap: 22px; }
  .g-cover h1 { font-size: clamp(3.75rem,12vw,5rem); }
  .g-cover-photo { aspect-ratio: 2.15; }
  .g-grid, .g-docs, .g-columns { grid-template-columns: 1fr; }
  .g-sheet-head { grid-template-columns: 1fr; gap: 18px; }
  .g-sheet-photo { aspect-ratio: 2.35; }
  .g-card { padding: 17px 0; grid-template-columns: minmax(75px, 20%) minmax(0, 1fr); }
  .g-columns { gap: 8px; }
  .g-path { font-size: .86rem; }
}
@media (max-width: 450px) {
  .g-body table { font-size: .91rem; }
  .g-body :is(th,td) { padding: 8px 4px; }
  .chantier-fields { grid-template-columns: 1fr; }
}
@media print {
  @page { margin: 15mm; }
  html, body, .journal, .g-shell { background: #fff !important; color: #111 !important; padding: 0 !important; margin: 0 !important; }
  header.barre, footer, .na-wa, .g-sidebar, .g-next, .g-path, .g-sheet-photo, .g-action, .j-skip, .chantier-form { display: none !important; }
  .g-columns, .g-sheet-head { display: block; padding: 10px 0; }
  .g-sheet-head h1 { font-size: 26pt; }
  .g-body h2 { font-size: 17pt; break-after: avoid; }
  .g-body p, .g-body li, .g-lead, .g-date { color: #111; font-size: 10pt; line-height: 1.35; }
  .g-body section { margin: 12pt 0; }
  .checklist label { padding: 4pt 0; }
  .checklist li, tr { break-inside: avoid; }
  .g-body a { color: inherit; }
}

.g-cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.g-secondary { display: inline-flex; align-items: center; min-height: 45px; color: var(--ink); text-underline-offset: .22em; }
.g-tool-sheet .g-sheet-head { grid-template-columns: minmax(0, 1fr) minmax(115px, 20%); padding-block: clamp(20px, 3vw, 34px); gap: 24px; }
.g-tool-sheet .g-sheet-head h1 { font-size: clamp(2.4rem, 4.15vw, 4rem); line-height: 1.04; }
.g-tool-sheet .g-sheet-photo { aspect-ratio: 1.5; border-top-right-radius: 36px; }
.g-tool-sheet .g-columns { grid-template-columns: minmax(0,1fr) minmax(165px,20%); gap: clamp(22px,3.4vw,54px); padding-top: 24px; }
.g-tool-sheet .g-body { max-width: none; }
@media (max-width: 920px) {
  .g-tool-sheet .g-columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .g-tool-sheet .g-sheet-head {
    grid-template-columns: minmax(0, 1fr) clamp(66px, 17vw, 100px);
    grid-template-areas: "rubrique rubrique" "titre titre" "intro photo" "aide aide" "date date";
    gap: 7px 13px;
  }
  .g-tool-sheet .g-sheet-head > div { display: contents; }
  .g-tool-sheet .g-sheet-head .g-kicker { grid-area: rubrique; margin: 0; }
  .g-tool-sheet .g-sheet-head h1 { grid-area: titre; }
  .g-tool-sheet .g-sheet-head .g-lead { grid-area: intro; margin: 3px 0; }
  .g-tool-sheet .g-sheet-head .g-agence-amorce { grid-area: aide; }
  .g-tool-sheet .g-sheet-head .g-date { grid-area: date; margin: 0; }
  .g-tool-sheet .g-sheet-head .g-sheet-photo {
    grid-area: photo;
    aspect-ratio: 1.15;
    align-self: center;
    border-top-right-radius: 19px;
  }
}
@media print {
  .g-tool-sheet .g-columns, .g-tool-sheet .g-sheet-head { display: block; }
}

.cmp-tool[hidden], .cmp-error[hidden] { display: none !important; }
.cmp-tool, .cmp-tool *, .cmp-case { box-sizing: border-box; }
.cmp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.cmp-form, .cmp-results {
  margin-top: 20px;
  padding: clamp(14px, 2.6vw, 28px);
  background: var(--soft, #f1eee6);
}
.cmp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cmp-form button { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.cmp-secondary {
  min-height: 45px;
  padding: 9px 14px;
  border: 1px solid #847967;
  border-radius: 0;
  color: var(--ink, #0a1830);
  background: transparent;
  cursor: pointer;
  font: 500 1rem/1.4 var(--sans);
}
.cmp-secondary:hover { background: #fff; }
.g-body .cmp-hint, .g-body .cmp-basis { margin: 10px 0; color: #46505a; font: 400 1rem/1.48 var(--sans); }
.cmp-lots { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(14px,2.5vw,26px); }
.cmp-lot { min-width: 0; border: 0; margin: 14px 0 0; padding: 0; }
.cmp-lot legend {
  width: 100%;
  border-bottom: 1px solid var(--ink, #0a1830);
  padding: 0 0 5px;
  margin: 0 0 5px;
  font: 500 1.7rem/1.15 var(--serif);
}
.cmp-field { min-width: 0; margin-top: 11px; }
.cmp-field label { display: block; font: 500 1rem/1.4 var(--sans); }
.cmp-control {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid #90897e;
  background: #fff;
  color: var(--ink, #0a1830);
}
.cmp-control:focus-within { outline: 3px solid #86612a; outline-offset: 2px; }
.cmp-control input {
  width: 0;
  min-width: 0;
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 7px 9px;
  color: inherit;
  background: transparent;
  font: 400 1rem/1.4 var(--sans);
}
.cmp-tool .cmp-control input:focus-visible { outline: none; }
.cmp-unit { padding-right: 10px; color: #525a61; font: 400 1rem/1.4 var(--sans); }
.cmp-error { display: block; color: #8a2b1c; margin: 4px 0; font: 500 1rem/1.4 var(--sans); }
.cmp-control:has([aria-invalid="true"]) { border-color: #8a2b1c; }
.cmp-days { margin-top: 20px; max-width: 28rem; }
.cmp-days .cmp-control { max-width: 10rem; }
.cmp-submit { margin-top: 8px; }
.cmp-results { background: #fff; border: 1px solid var(--line, #d9d3c8); scroll-margin-top: 95px; }
.cmp-results h3, .cmp-case h3 { font: 500 clamp(1.55rem, 2.6vw, 2rem)/1.18 var(--serif); }
.cmp-result { padding-top: 15px; margin-top: 14px; border-top: 1px solid var(--line, #d9d3c8); }
.cmp-result h4 { margin: 0; font: 500 1.13rem/1.4 var(--sans); color: var(--ink, #0a1830); }
.g-body .cmp-result .cmp-basis { margin: 2px 0 7px; }
.cmp-result dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.cmp-result dl > div { min-width: 0; }
.cmp-result :is(dt, dd, .cmp-gap) { overflow-wrap: anywhere; }
.cmp-result dt, .cmp-result dd, .g-body .cmp-result .cmp-gap { font: 400 1rem/1.46 var(--sans); }
.cmp-result dd { margin: 2px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.g-body .cmp-result .cmp-gap { margin: 8px 0 0; color: var(--ink, #0a1830); font-weight: 500; }
.cmp-case { padding: 18px 20px; margin-top: 24px; border-left: 3px solid #a68c59; background: var(--soft, #f1eee6); }
.g-body .cmp-case p { margin-top: 9px; }
@media (max-width: 560px) {
  .cmp-lots { grid-template-columns: 1fr; gap: 5px; }
}
@media print {
  .cmp-form { display: none; }
  .cmp-results, .cmp-case { padding: 10px 0; background: transparent; border: 0; }
  .cmp-result { break-inside: avoid; }
}

.g-comparison .g-columns { display: block; }
.g-comparison .g-body > section:not(.cmp-tool) { max-width: 740px; margin: 36px auto; }
.g-comparison .g-sidebar { margin-top: 30px; }
.g-comparison .g-sidebar nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.cmp-form, .cmp-results { margin-top: 0; }
.g-body p.cmp-rule { font-size: .99rem; line-height: 1.4; margin: 4px 0; }
.g-body #cmp-memory { font-size: .92rem; }
.cmp-results { border-top: 3px solid #927746; }
.cmp-results h3 { font-weight: 500; }
.cmp-result dl dd { font-size: 1.15rem; font-weight: 500; }
.cmp-result .cmp-gap { border-left: 2px solid #b29a6f; padding-left: 9px; }
@media (min-width: 940px) {
  .g-body .cmp-tool { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(290px,1fr); align-items: start; gap: clamp(18px, 2.8vw, 40px); }
  .cmp-results { grid-column: 2; }
  .cmp-form { grid-column: 1; }
}
@media (max-width: 939px) { .cmp-results { margin-top: 18px; } }
@media print { .g-body .cmp-tool { display: block; } }
.g-diagram-sheet .g-sheet-head { display: block; padding-block: clamp(22px, 3.2vw, 42px); }
.g-diagram-sheet .g-sheet-head h1 { max-width: 23ch; font-size: clamp(2.5rem, 5.2vw, 5rem); }
.g-diagram-sheet .g-sheet-head .g-lead { max-width: 68ch; margin-block: 12px; }
.g-diagram-sheet .g-sheet-head .g-date { margin-bottom: 0; }
.g-diagram-sheet .g-columns { display: block; padding-block: clamp(18px, 3vw, 38px); }
.g-diagram-sheet .g-body { max-width: none; }
.g-diagram-sheet .g-sidebar { display: none; }
.g-diagram-sheet .g-body > p { max-width: 72ch; }
@media print {
  .g-diagram-sheet .g-sheet-head, .g-diagram-sheet .g-columns { padding-block: 8pt; }
  .g-diagram-sheet .g-sheet-head h1 { font-size: 26pt; }
}

.g-agence {
  border-block: 1px solid #b9aa8d;
  background: #f1eee6;
  margin-block: clamp(24px, 4vw, 48px);
  padding: clamp(22px, 3vw, 36px);
  color: #102238;
  break-inside: avoid;
}
.g-agence .g-agence-signature {
  color: #70532b;
  margin: 0 0 9px;
  font: 500 .94rem/1.3 var(--sans);
}
.g-agence .g-agence-contenu h2 {
  font: 500 clamp(1.8rem, 3vw, 2.65rem)/1.08 var(--serif);
  letter-spacing: -.035em;
  margin: 0 0 10px;
}
.g-agence .g-agence-contenu > p:last-child {
  max-width: 66ch;
  margin: 0;
  color: #354151;
  font: 400 1.05rem/1.55 var(--sans);
}
.g-agence a.g-agence-lien {
  display: inline-flex;
  align-items: baseline;
  gap: .6em;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 15px;
  padding: .6em 0;
  color: #0a1830;
  font: 500 1.02rem/1.45 var(--sans);
  text-decoration: underline;
  text-underline-offset: .26em;
  text-decoration-color: #8a7048;
}
.g-agence .g-agence-lien:hover { text-decoration-thickness: 2px; }
.g-agence .g-agence-lien span[aria-hidden] { flex: none; text-decoration: none; }
.g-sheet-head .g-agence-amorce {
  font: 400 1rem/1.45 var(--sans);
  margin: 12px 0 0;
  color: #364454;
}
.g-sheet-head .g-agence-amorce a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #94836c;
  text-underline-offset: .22em;
}
@media print {
  .g-agence, .g-sheet-head .g-agence-amorce { display: none; }
}

/* La frise conserve ses six étapes en lecture continue sans JavaScript. */
.g-body .pa-route { margin-bottom: 20px; }
.pa-route { --pa-bronze: #76572e; --pa-paper: #f0eadf; --pa-rule: #c8bba5; }
.g-body .pa-route > h2 { margin: 0 0 8px; }
.g-body .pa-subtitle { max-width: 62ch; margin: 0 0 23px; font-size: 1.03rem; }
.pa-rail { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); background: var(--pa-paper); padding: 18px 6px 15px; border-top: 1px solid var(--pa-rule); border-bottom: 1px solid var(--pa-rule); }
.g-body .pa-stop { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 3px; min-width: 0; text-align: center; text-decoration: none; font: 500 clamp(.86rem,1.15vw,1.04rem)/1.15 var(--sans); color: var(--ink); }
.pa-stop::before, .pa-stop::after { content: ''; position: absolute; z-index: -1; top: 18px; width: 50%; height: 1px; background: var(--pa-rule); }
.pa-stop::before { left: 0; }
.pa-stop::after { right: 0; }
.pa-stop:first-child::before, .pa-stop:last-child::after { content: none; }
.pa-dot { box-sizing: border-box; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #968162; border-radius: 50%; color: var(--pa-bronze); background: #fcf9f3; font: 500 .94rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.pa-stop[aria-selected="true"] .pa-dot { color: #fff; background: var(--ink); border-color: var(--ink); }
.pa-stop[aria-selected="true"] > span:last-child, .pa-stop:hover > span:last-child { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.pa-stop:focus-visible { z-index: 1; }
.g-body .pa-panel { margin: 0; padding: clamp(20px,3vw,34px) clamp(16px,2.5vw,32px); border: 1px solid var(--pa-rule); border-top: 0; background: #fffcf6; scroll-margin-top: 95px; }
.g-body .pa-panel[hidden] { display: none; }
.g-body .pa-marker { margin: 0 0 9px; text-transform: uppercase; color: var(--pa-bronze); font: 600 .78rem/1.4 var(--sans); letter-spacing: .095em; }
.g-body .pa-panel h3 { font-size: clamp(1.88rem,3vw,2.8rem); line-height: 1.03; max-width: 28ch; }
.g-body .pa-explain { margin: 12px 0 18px; max-width: 67ch; font-size: 1.04rem; line-height: 1.54; }
.pa-list { margin: 0; }
.pa-list > div { display: grid; grid-template-columns: minmax(125px, .33fr) minmax(0,1fr); gap: 14px; padding: 10px 0; border-top: 1px solid #e4dccf; }
.pa-list dt, .pa-list dd { margin: 0; font: 400 1rem/1.47 var(--sans); color: #303b4a; }
.pa-list dt { font-weight: 600; color: var(--ink); }
.pa-agency { margin-top: 12px; padding: 8px 0 8px 14px; border-left: 3px solid #9b8056; }
.pa-agency strong { color: var(--pa-bronze); font: 600 .98rem/1.4 var(--sans); }
.g-body .pa-agency p { margin: 3px 0 0; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }
.g-body .pa-next { display: inline-block; padding: 10px 0 3px; font-size: .99rem; }
.g-body .pa-sources { color: #515965; font-size: .93rem; line-height: 1.54; }
@media (max-width: 600px) {
  .pa-rail { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 13px; padding: 12px 4px; }
  .pa-stop:nth-child(3)::after, .pa-stop:nth-child(4)::before { content: none; }
  .g-body .pa-stop { font-size: .93rem; }
  .pa-list > div { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .pa-rail, .g-body .pa-subtitle, .pa-next { display: none !important; }
  .g-body .pa-panel, .g-body .pa-panel[hidden] { display: block !important; border: 0; border-top: 1px solid #aaa; background: none; padding: 8pt 0; break-inside: avoid; }
  .g-body .pa-panel h3 { font-size: 17pt; line-height: 1.1; }
  .g-body .pa-panel p, .pa-list dt, .pa-list dd, .pa-agency strong { font-size: 10pt; line-height: 1.3; }
  .pa-list > div { display: grid; grid-template-columns: 3.5cm 1fr; padding: 3pt 0; }
  .pa-agency { margin-top: 3pt; padding: 3pt 0 3pt 8pt; }
}

.pa-panel .pa-agency {
  margin: 18px 0;
  padding: 13px 18px;
  background: #f2ede1;
}
.g-body .pa-panel .pa-agency strong { color: #654620; }
.g-body .pa-outil { margin: 14px 0 0; font-size: .98rem; }
.g-body .pa-references {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--pa-rule);
  color: #56616a;
  font: 400 .9rem/1.6 var(--sans);
}
.pa-references span { margin-right: .45em; color: #4a5560; }
@media print { .pa-panel .pa-agency { background: transparent; margin: 6pt 0; padding: 3pt 8pt; } }

.pv-reader { --pv-ink: #15253b; --pv-edge: #c9c3b7; --pv-paper: #fff; --pv-desk: #eae6dc; }
.g-body .pv-heading { display: flex; justify-content: space-between; gap: 16px 28px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.g-body .pv-heading h2 { margin: 0; }
.pv-heading .pv-download { display: inline-flex; align-items: center; min-height: 44px; font: 500 1rem/1.35 var(--sans); }
.g-body .pv-intro { max-width: 77ch; margin: 0 0 16px; }
.pv-controls { border: 1px solid var(--pv-edge); border-bottom: 0; padding: 7px 12px; background: #f2eee5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; }
.pv-reader [hidden] { display: none !important; }
.pv-tabs, .pv-zoom { display: flex; align-items: center; gap: 2px; }
.pv-zoom { gap: 3px; margin-inline-start: auto; }
.pv-tabs { flex-wrap: wrap; }
.pv-controls button, .pv-controls select { color: var(--pv-ink); font-family: var(--sans); cursor: pointer; }
.pv-tabs button { border: 1px solid transparent; padding: 8px 10px; min-height: 42px; border-radius: 3px; font-size: .95rem; background: transparent; }
.pv-tabs button[aria-pressed="true"] { border-color: #233447; background: #233447; color: white; }
.pv-tabs button:hover:not([aria-pressed="true"]) { text-decoration: underline; text-underline-offset: 4px; }
.pv-select { display: none; }
.pv-zoom { white-space: nowrap; }
.pv-zoom button { background: transparent; border: 1px solid transparent; border-radius: 2px; min-width: 36px; min-height: 40px; font-size: 1.33rem; line-height: 1; padding: 2px 7px; }
.pv-zoom button[data-plan-reset] { font-size: .9rem; margin-left: 3px; }
.pv-zoom button:hover:enabled { border-color: var(--pv-edge); }
.pv-zoom button:disabled { cursor: default; color: #696d73; }
.pv-zoom output { font: 500 .94rem/1 var(--sans); text-align: center; min-width: 44px; font-variant-numeric: tabular-nums; }
.pv-reader :is(button,select,a,.pv-window):focus-visible { outline: 3px solid #8d6838; outline-offset: 2px; }
.g-body .pv-view { margin: 0; scroll-margin-top: 4rem; }
.pv-window { box-sizing: border-box; width: 100%; background: var(--pv-desk); border: 1px solid var(--pv-edge); overflow: auto; overscroll-behavior-x: contain; }
.pv-reader[data-plan-ready] .pv-window { height: min(77svh, 850px, var(--pv-viewport,68vw)); min-height: 210px; }
.pv-plane { min-height: 100%; }
.pv-plane img { display: block; width: 100%; height: auto; max-width: none; margin: 0 auto; background: var(--pv-paper); user-select: none; }
.pv-reader[data-plan-ready] .pv-plane { display: grid; justify-items: center; align-items: center; width: max(100%,var(--pv-width,0px)); min-height: max(100%,var(--pv-height,0px)); }
.pv-reader[data-plan-ready] .pv-plane img { width: var(--pv-width,100%); height: var(--pv-height,auto); box-shadow: 0 0 0 1px #d6d3cc; }
.pv-window.pv-magnified { cursor: grab; }
.pv-window.pv-magnified:active { cursor: grabbing; }
.g-body .pv-view figcaption { padding: 15px 0 11px; max-width: 83ch; }
.g-body .pv-view figcaption h3 { margin: 0 0 5px; color: var(--pv-ink); font: 600 1.15rem/1.3 var(--sans); letter-spacing: normal; }
.g-body .pv-view figcaption p { font-size: 1.01rem; line-height: 1.52; margin: 0; }
.pv-reader .pv-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; white-space: nowrap; }
.g-body .pv-help { margin-top: 0; padding-bottom: 24px; max-width: 77ch; font-size: .92rem; color: #505b66; }
.pv-reading { max-width: 83ch; }
.pv-reading h2 { padding-top: 8px; }
.pv-reading :is(dl,ol,ul) { margin-block: 12px 23px; }
.pv-reading dt { font:600 1.03rem/1.5 var(--sans); }
.pv-reading dd { margin: 2px 0 12px; }
.pv-reading li + li { margin-top: 6px; }
@media(max-width:1120px){
 .pv-tabs { display: none; }
 .pv-select { display: flex; align-items: center; gap: 6px; flex: 1 0 170px; max-width: 380px; }
 .pv-select select { min-width: 0; max-width: 100%; flex: 1; font-size: 1rem; border: 1px solid #a6a297; padding: 6px; min-height: 44px; background: #fff; }
 .pv-select span { font:500 .95rem/1.25 var(--sans); }
}
@media(max-width:520px){
 .g-body .pv-heading { display: block; margin-bottom: 7px; }
 .pv-heading .pv-download { min-height: 44px; }
 .pv-controls { padding: 5px 8px; gap: 2px 4px; }
 .pv-select { flex-basis: 152px; }
 .pv-select span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 .pv-zoom { gap: 0; }
 .pv-zoom button { min-width: 31px; min-height: 44px; }
 .pv-zoom output { min-width:38px; }
 .pv-reader[data-plan-ready] .pv-window { --pv-viewport: 120vw; height:auto; aspect-ratio:var(--pv-ratio); max-height:75svh; min-height:0; }
 .g-body .pv-view figcaption { padding-top: 12px; }
}
@media print {
 .pv-reader .pv-controls, .pv-download, .pv-help, .pv-status { display: none !important; }
 .pv-reader figure.pv-view, .pv-reader figure.pv-view[hidden] { display: none !important; }
 .pv-reader figure.pv-view[data-plan-view="feuille"] { display: block !important; }
 .pv-reader[data-plan-ready] .pv-window, .pv-reader .pv-window { display: block; height:auto; max-height:none; min-height:0; aspect-ratio:auto; overflow:visible; border:0; }
 .pv-reader[data-plan-ready] .pv-plane { display:block; width:100%; min-height:0; }
 .pv-reader[data-plan-ready] .pv-plane img, .pv-plane img { width:100%;height:auto;box-shadow:none; }
}
.g-body .pv-closet { margin-top: 10px; }
.pv-closet summary { display: list-item; cursor: pointer; padding: .6em 0; min-height: 40px; color: var(--pv-ink); font: 500 1rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.pv-closet img { display: block; width: min(100%, 320px); height: auto; border: 1px solid var(--pv-edge); background: #fff; }
.g-body .pv-closet p { margin-top: 8px; }
.g-body .pv-directions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; }
.pv-directions > div { padding: 10px 0; border-top: 1px solid #c8bfae; }
.g-body .pv-sources { font-size: .92rem; }
@media(max-width:520px){.g-body .pv-directions { grid-template-columns: 1fr; }}
@media print { .pv-closet { display: none; } }
.pv-compass { display: flex; align-items: center; gap: 14px; margin: 12px 0 2px; }
.pv-compass img { flex: none; width: 58px; height: auto; border: 1px solid var(--pv-edge); background: #fff; }
.pv-compass strong { display: block; margin-bottom: 3px; font: 600 1rem/1.35 var(--sans); color: var(--pv-ink); }
@media(max-width:520px){
 .pv-select { flex:1 1 100%; max-width:none; }
 .pv-zoom { flex:1; justify-content:flex-end; }
 .pv-zoom button { min-width:44px; }
 .pv-zoom button[data-plan-reset] { display:inline-block; }
}
.pv-reader:not([data-plan-ready]) .pv-help { display: none; }
.g-body .pv-view figcaption .pv-sources { margin-top: 10px; font-size: .92rem; }

.g-body .pv-view figcaption .pv-plan-advice { margin-top: 9px; }
@media(max-width:520px){ .g-body .pv-view { scroll-margin-top: 6.5rem; } }
