/* Atelier : ce que toutes les pages du site ont en commun, hors accueil.
   Un bandeau en haut (retour à l'accueil, langue), un colophon en bas (emblème ASCII, journal de
   compilation, autres pages). Autonome : n'utilise aucune variable de la page hôte.

   Chaque page choisit son encre riso sur les deux blocs :  style="--tirage:#ff48b0"

   <link rel="stylesheet" href="/textured/atelier.css">

   Juste après <body> :
   <nav class="atelier" aria-label="Site" style="--tirage:#ff48b0">
     <a class="at-maison" href="/"><i class="at-repere" aria-hidden="true"></i>basedpolymer.eu</a><span class="at-chemin">/bouillie</span>
     <a class="at-langue" href="…" lang="en" hreflang="en">English</a>      (seulement si l'autre langue existe)
   </nav>

   Tout en bas de <body> (après le pied de page existant, qu'on garde) :
   <footer class="colophon" style="--tirage:#ff48b0">
     <pre class="at-embleme" aria-hidden="true">…ASCII, 5 à 8 lignes…</pre>
     <div class="at-texte">
       <p class="at-journal">(./bouillie.tex [1] [2] [3]<br>Overfull \marmite (badness 71) at étape 4.<br>Output written on bouillie.pdf.)</p>
       <p class="at-rayons">Du même atelier : <a href="/hexzen">Hexzen seeds</a> · <a href="/fouine">Fouine</a> · …</p>
       <p class="at-retour"><a href="/">← basedpolymer.eu</a></p>
     </div>
   </footer>
*/
@font-face{font-family:"AT Mono";font-weight:400;font-display:swap;src:url("polices/lmmono10-regular.woff2") format("woff2")}

.atelier,.colophon{
  --tirage:#777;
  --at-fond:#f9fafb;--at-doux:#595959;--at-encre:#1b1616;--at-trait:#bfbfbf;
  box-sizing:border-box;
  font:400 .8125rem/1.45 "AT Mono","TX Mono","Latin Modern Mono",ui-monospace,Menlo,Consolas,monospace;
  color:var(--at-doux);text-align:left;hyphens:manual;letter-spacing:0;
}
@supports (color:light-dark(#000,#fff)){
  .atelier,.colophon{--at-fond:light-dark(#f9fafb,#292929);--at-doux:light-dark(#595959,#a6a6a6);--at-encre:light-dark(#1b1616,#dbdbdb);--at-trait:light-dark(#bfbfbf,#5c5c5c)}
}
.atelier *,.colophon *{box-sizing:border-box}
.atelier a,.colophon a{color:inherit;text-decoration:none;background:none;box-shadow:none;padding:0;border-radius:2px}
.atelier a:hover,.colophon a:hover{color:var(--at-encre);text-decoration:underline;text-decoration-color:var(--tirage);text-decoration-thickness:2px;text-underline-offset:.2em}
.atelier a:focus-visible,.colophon a:focus-visible{outline:2px solid var(--tirage);outline-offset:2px}

/* Bandeau */
.atelier{
  position:relative;z-index:40;display:flex;align-items:center;gap:.1em;
  min-height:1.9rem;padding:.3rem max(1.25rem,env(safe-area-inset-left)) .3rem;
  background:var(--at-fond);border-bottom:1px dashed var(--at-trait);white-space:nowrap;
}
.atelier .at-maison{display:inline-flex;align-items:center;gap:.6em;color:var(--at-encre)}
.atelier .at-chemin{min-width:0;overflow:hidden;text-overflow:ellipsis}
.atelier .at-langue{margin-left:auto;padding-left:1em}
/* Repère de calage : deux passes d'encre mal superposées, comme sur un tirage riso. */
.at-repere{position:relative;flex:none;display:inline-block;width:.72em;height:.72em;border-radius:50%;background:var(--tirage);opacity:.9}
.at-repere::after{content:"";position:absolute;inset:0;border-radius:50%;border:1.2px solid var(--at-encre);translate:.2em -.14em}

/* Colophon */
.colophon{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.2rem 2.2rem;
  max-width:46.5rem;margin:3.5rem auto 0;padding:1.4rem 1.25rem 3.2rem;
  border-top:1px dashed var(--at-trait);background:transparent;
}
.colophon .at-embleme{
  flex:none;margin:0;padding:0;border:0;border-radius:0;background:none;overflow:visible;
  font:inherit;line-height:1.12;color:var(--tirage);white-space:pre;user-select:none;
  text-shadow:.09em .07em 0 color-mix(in srgb,var(--at-encre) 22%,transparent);
}
.colophon .at-texte{flex:1 1 17rem;min-width:0}
.colophon p{margin:0 0 .7em;text-align:left;white-space:normal;text-indent:0}
.colophon p:last-child{margin-bottom:0}
.colophon .at-journal{color:var(--at-doux)}
.colophon .at-rayons a{white-space:nowrap}
.colophon .at-retour a{color:var(--at-encre)}

/* Bandeau et colophon masqués sur tout le site (retirer cette ligne pour le rétablir) */
.colophon,.atelier,.topbar{display:none !important}
@media print{.atelier,.colophon{display:none !important}}

/* surlignage pastel, à l'encre de la page (celui du chapeau de /nutrition) : <span class="at-surligne"> */
.at-surligne{box-shadow:inset 0 -.38em 0 color-mix(in srgb,var(--tirage,#888) 30%,transparent)}
