/* P-250 (Hub, OPT-01) : les deux antisèches, à l'écran et sur papier. Les fiches gardent les couleurs du papier (ivoire et
   encre) dans les deux modes : ce fichier n'est pas migré par scripts/theme_clair.py. Impression : une feuille A4 à
   l'horizontale, les deux fiches A5 côte à côte. */
.as-page{max-width:1240px;margin:0 auto;padding:clamp(28px,5vw,56px) clamp(16px,4vw,24px) 64px;display:flex;flex-direction:column;gap:22px}
.as-page h1{font-size:clamp(2rem,4.4vw,3rem);font-weight:700}
.as-page .lead{margin:0;max-width:760px}
.as-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.as-actions button{font:inherit;cursor:pointer}
.as-fiches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
@media (max-width:980px){.as-fiches{grid-template-columns:minmax(0,1fr)}}

.as-fiche{background:#fbf8f1;color:#16181b;border-radius:14px;padding:28px 28px 24px;display:flex;flex-direction:column;gap:12px;
  font:14px/1.42 "Outfit",system-ui,sans-serif;box-shadow:0 18px 50px rgba(0,0,0,.35);border:1px solid #d6cfbf;min-width:0}
.as-fiche *{box-sizing:border-box}
.as-entete{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.as-marque{font-weight:800;letter-spacing:.14em;font-size:13px}.as-marque span{color:#8a6512}
.as-sur{font-size:12px;color:#4a4f55;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.as-fiche h2{margin:0;font-size:26px;line-height:1.1;font-weight:800;color:#16181b}
.as-fiche h3{margin:0;font-size:17px;font-weight:800;color:#16181b}
.as-fiche p{margin:0}
.as-chapo{color:#4a4f55}
.as-etape{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start}
.as-num{width:28px;height:28px;border-radius:14px;background:#16181b;color:#fbf8f1;display:grid;place-items:center;font-weight:800;font-size:14px}
.as-hautes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:6px;text-align:center}
.as-hautes div{border:1px solid #b9b1a0;border-radius:10px;padding:5px 2px;background:#fff}
.as-hautes b{display:block;font-size:22px;line-height:1.1}
.as-hautes span{font-size:12px;color:#4a4f55}
.as-note{font-size:12.5px;color:#4a4f55}
.as-exemples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.as-exemples div{background:#efe8d8;border-radius:10px;padding:7px 10px;font-variant-numeric:tabular-nums}
.as-rouge{color:#b3261e}
.as-utiles{display:flex;flex-wrap:wrap;gap:6px 14px}
.as-utiles b{font-size:16px}
.as-mult{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.as-mult div{border:2px solid #1f5f45;border-radius:10px;padding:8px 10px;background:#fff}
.as-mult b{display:block;font-size:28px;line-height:1.05;color:#1f5f45}
.as-mult span{font-size:12.5px;color:#4a4f55}
.as-plus8{background:#efe8d8;border-radius:10px;padding:8px 10px}

.as-plan{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;align-items:center}
@media (max-width:520px){.as-plan{grid-template-columns:minmax(0,1fr)}.as-plan svg{max-width:240px}}
.as-plan svg{width:100%;height:auto;display:block}
.as-legende{display:flex;flex-direction:column;gap:4px;font-size:13px}
.as-grille{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));border:1px solid #b9b1a0;border-radius:10px;overflow:hidden;text-align:center}
.as-grille > div{padding:7px 4px;border-top:1px solid #d6cfbf;display:flex;align-items:center;justify-content:center;min-width:0}
.as-grille .as-g-t{background:#16181b;color:#fbf8f1;font-weight:700;border-top:0;font-size:13px}
.as-grille .as-g-t.as-or{color:#e8c464}
.as-grille .as-g-l{justify-content:flex-start;text-align:left;padding:7px 8px}
.as-grille .as-g-n{font-size:24px;font-weight:800}
.as-grille .as-g-b{background:#f4ecd6}
.as-grille .as-g-p{font-weight:700;color:#1f5f45}
.as-grille .as-g-r{grid-column:span 4;gap:10px;justify-content:center;text-align:left}
.as-grille .as-g-r b{font-size:24px}
.as-astuces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media (max-width:520px){.as-astuces{grid-template-columns:minmax(0,1fr)}.as-exemples,.as-mult{grid-template-columns:minmax(0,1fr)}
  .as-hautes{grid-template-columns:repeat(3,minmax(0,1fr))}.as-fiche{padding:20px 16px}}
.as-astuces div{padding:9px 10px;border-radius:10px;background:#efe8d8}
.as-exemple{padding:10px 12px;border-radius:10px;border:2px solid #1f5f45;background:#fff}
.as-exemple-t{font-size:12px;color:#1f5f45;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.as-suite{margin-top:auto;font-size:13px;font-weight:700;color:#7a5a10;text-decoration:underline;text-underline-offset:3px}

@media print{
  @page{size:A4 landscape;margin:0}
  html,body{background:#fff !important;color:#16181b}
  .top,.foot,.as-intro,.as-actions,#as-pdf,.theme-btn,#theme-btn,.as-suite{display:none !important}
  .as-page{max-width:none;padding:0;gap:0}
  .as-fiches{display:flex;gap:0}
  .as-fiche{width:148.5mm;height:210mm;border-radius:0;box-shadow:none;border:0;padding:11mm 11mm 9mm;font-size:12.5px;gap:9px;
    -webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:hidden}
  .as-fiche + .as-fiche{border-left:1px dashed #b9b1a0}
  .as-fiche h2{font-size:23px}
  .as-hautes b{font-size:19px}.as-grille .as-g-n,.as-grille .as-g-r b{font-size:21px}.as-mult b{font-size:24px}
}
