:root{--labo-bleu: #185FA5;--labo-bleu-fonce: #124a82;--labo-bleu-clair: #eef4fa}.labo-wrap{max-width:760px;margin:0 auto;padding:2.5rem 1.25rem 4rem}.labo-wrap .badge{display:inline-block;background:var(--labo-bleu);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:.3rem .7rem;border-radius:999px}.labo-wrap h1.titre{font-size:1.9rem;margin:.8rem 0 .4rem;color:#111827}.labo-wrap .sub{color:#4b5563;margin:0 0 2rem}.labo-wrap .card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:1.5rem;box-shadow:0 6px 24px #185fa50f}.labo-wrap label{display:block;font-weight:600;margin:1rem 0 .35rem}.labo-wrap input[type=text],.labo-wrap textarea{width:100%;padding:.65rem .8rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;font-family:inherit}.labo-wrap textarea{resize:vertical;min-height:7.5rem}.labo-wrap input[type=file]{width:100%;font-size:.95rem;margin-top:1.2rem;cursor:pointer;padding:.7rem .8rem;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;color:#4b5563}.labo-wrap input[type=file]::file-selector-button{margin-right:.8rem;padding:.45rem .9rem;border:0;border-radius:6px;background:var(--labo-bleu);color:#fff;font-weight:600;font-size:.9rem;cursor:pointer}.labo-wrap input[type=file]:hover::file-selector-button{background:var(--labo-bleu-fonce)}.labo-wrap .hint{font-size:.85rem;color:#6b7280;margin-top:.3rem}.labo-wrap .credit{font-size:.85rem;font-weight:600;color:var(--labo-bleu-fonce);margin:.35rem 0 0}.labo-wrap .credit.bas{color:#b45309}.labo-wrap .credit.vide{color:#b91c1c}#fichiers-liste{margin:.6rem 0 0;padding:0;list-style:none;font-size:.88rem;color:#374151}#fichiers-liste li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.25rem .4rem;border-bottom:1px solid #f1f5f9}#fichiers-liste .retirer{background:none;border:0;color:#9ca3af;cursor:pointer;font-size:1rem;line-height:1;padding:0 .3rem;flex:none}#fichiers-liste .retirer:hover{color:#b91c1c}.labo-wrap #bouton{margin-top:1.4rem;width:100%;padding:.85rem 1rem;border:0;border-radius:10px;background:var(--labo-bleu);color:#fff;font-size:1.05rem;font-weight:700;cursor:pointer}.labo-wrap #bouton:hover{background:var(--labo-bleu-fonce)}.labo-wrap #bouton:disabled{background:#9ca3af;cursor:wait}.labo-wrap .status{margin-top:1.2rem;font-weight:600}.labo-wrap .status.err{color:#b91c1c}.labo-wrap .status.ok{color:#166534}.labo-wrap .barre{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:.6rem 0 0;display:none}.labo-wrap .barre-fill{height:100%;width:0;background:var(--labo-bleu);border-radius:999px;transition:width .45s ease}#resultat{display:none;margin-top:2rem}#resultat .actions{display:flex;gap:.7rem;margin-bottom:1rem;flex-wrap:wrap}#resultat .actions button{width:auto;margin-top:0;padding:.55rem 1rem;font-size:.92rem;border:0;border-radius:10px;background:var(--labo-bleu);color:#fff;font-weight:700;cursor:pointer}#resultat .actions .secondaire{background:#fff;color:var(--labo-bleu);border:1px solid var(--labo-bleu)}#fiche{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:2rem}#fiche h1{font-size:1.6rem;color:var(--labo-bleu);border-bottom:3px solid var(--labo-bleu);padding-bottom:.4rem}#fiche h2,#fiche h3{color:var(--labo-bleu);margin-top:1.8rem}#fiche table{border-collapse:collapse;width:100%;margin:.8rem 0}#fiche th,#fiche td{border:1px solid #d1d5db;padding:.45rem .6rem;text-align:left}#fiche th{background:var(--labo-bleu-clair)}#fiche code{background:var(--labo-bleu-clair);color:var(--labo-bleu-fonce);font-weight:600;padding:.1rem .3rem;border-radius:4px}#fiche pre code{background:transparent;color:inherit;font-weight:400}#fiche blockquote{margin:1rem 0;padding:.7rem 1rem;border-left:4px solid #9ca3af;background:#f9fafb;color:#374151;border-radius:0 8px 8px 0}#fiche blockquote.box-formule{border-left-color:var(--labo-bleu);background:var(--labo-bleu-clair);color:var(--labo-bleu-fonce)}#fiche blockquote.box-astuce{border-left-color:#15803d;background:#ecfdf3;color:#166534}#fiche blockquote.box-piege{border-left-color:#b91c1c;background:#fef2f2;color:#991b1b}#fiche blockquote.box-horscours{border-left-color:#7c3aed;background:#f5f3ff;color:#5b21b6}#fiche blockquote .box-label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.3rem;opacity:.85}#fiche blockquote code{background:#fff9;color:inherit}#fiche blockquote.box-formule code{font-weight:700}#fiche .mermaid{text-align:center;margin:1.2rem 0}#fiche .mermaid svg{max-width:100%;height:auto}#fiche .signature-fiche{margin-top:2.5rem;padding-top:1rem;border-top:1px solid #e5e7eb;font-size:.85rem;color:#6b7280;font-style:italic;text-align:center}.labo-wrap .precaution{font-size:.9rem;color:#4b5563;background:#f8fafc;border:1px solid #e5e7eb;border-left:3px solid var(--labo-bleu);border-radius:8px;padding:.8rem 1rem;margin:0 0 2rem}.labo-wrap .lien-retour{text-align:center;font-size:.9rem;color:#4b5563;margin-top:2.5rem}.labo-wrap .lien-retour a{color:var(--labo-bleu);font-weight:600;text-decoration:none}.labo-wrap .lien-retour a:hover{text-decoration:underline}.labo-wrap .pied{margin-top:1.5rem;font-size:.8rem;color:#6b7280;text-align:center}@media print{body>header,body>footer,.skip-link,.card,#resultat .actions,.badge,.sub,h1.titre,.pied{display:none!important}#fiche{border:0;padding:0}}
