/* Inspecteur A : styles limites aux nouveaux cours, police heritee. */
.a-course{min-width:0;overflow-wrap:anywhere}
.a-course p{margin:0 0 1em}.a-course h2{margin:1.8em 0 .7em}.a-course h3{margin:0 0 .6em}
.a-course :is(.a-notion,.a-exemple,.a-exercice,.a-vigilance){margin:1.2em 0;padding:1.1em 1.25em;border:1px solid;border-left-width:4px;border-radius:12px}
.a-course .a-notion{background:#eef5ff;border-color:#aac7eb;color:#193e68}
.a-course .a-exemple,.a-course .a-correction{background:#edf8f2;border-color:#aad5bd;color:#194d37}
.a-course .a-exercice{background:#f6f1fc;border-color:#cdb9e6;color:#42305b}
.a-course .a-vigilance{background:#fff7ed;border-color:#ead1ac;color:#62431c}
.a-course :is(.a-notion,.a-exemple,.a-exercice,.a-vigilance,.a-correction)>:last-child{margin-bottom:0}
.a-course details{margin-top:.9em;border:1px solid #bcb0d2;border-radius:9px;background:#fff;overflow:hidden}
.a-course summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:.65em .8em;font-size:.9em;font-weight:650;line-height:1.5;list-style:none;color:#493361}
.a-course summary::-webkit-details-marker{display:none}.a-course summary:hover{background:#eee7f7}
.a-course summary:focus-visible{outline:3px solid #234f86;outline-offset:-3px}
.a-course .a-correction{padding:1em;border-top:1px solid #aad5bd}
.a-course table{width:100%;border-collapse:collapse;table-layout:fixed;margin:1.1em 0;font-size:.9em;line-height:1.5}
.a-course th,.a-course td{padding:.7em;border:1px solid #d4deea;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
.a-course th{background:#eaf0f7;color:#263d58;text-align:left}.a-course tr:nth-child(even) td{background:#f8fafc}
.a-course .a-source{font-size:.8em;color:#596879;border-top:1px solid #d4deea;padding-top:1em;margin-top:2em}
@media(max-width:600px){.a-course :is(.a-notion,.a-exemple,.a-exercice,.a-vigilance){padding:.85em}.a-course table{font-size:.8em}.a-course th,.a-course td{padding:.4em}.a-course summary{padding:.65em}}

/* Ajustement de lecture du 17/10/2026 : limite aux cours enrichis. */
.lecon .texte .a-course > p:first-child{
  font-family:var(--ui,system-ui,sans-serif);
  font-size:17px;
  line-height:1.65;
  color:#4a5670;
  margin-bottom:16px;
}
.lecon .texte .a-course > .a-notion:first-of-type{
  font-family:var(--ui,system-ui,sans-serif);
  font-size:17px;
  line-height:1.65;
  color:#334155;
  background:#f5f8fd;
  border:1px solid #d8e1ed;
  border-left:4px solid #7896bc;
  border-radius:6px;
  padding:16px 20px;
  margin:16px 0 28px;
}
.lecon .texte .a-course > .a-notion:first-of-type > strong{
  font-family:inherit;
  color:#1e293b;
  margin-right:.3em;
}
.lecon .texte .a-course > .a-notion:first-of-type > strong + p{
  display:inline;
  margin:0;
}
@media(max-width:600px){
  .lecon .texte .a-course > p:first-child,
  .lecon .texte .a-course > .a-notion:first-of-type{font-size:16px;line-height:1.65}
  .lecon .texte .a-course > .a-notion:first-of-type{padding:14px 16px}
}

/* V2 : agrandissements demandes, uniquement sur les cours enrichis. */
.lecon:has(> .texte > .a-course) > .fil{font-size:16px}
.lecon .texte .a-course > p:first-child{font-size:18px}
@media(max-width:600px){
  .lecon .texte .a-course > p:first-child{font-size:17px}
}

/* Inspecteur A R01 — 18/10/2026. Strictement limite aux trois introductions. */
.lecon .texte .a-course.a-intro-r01 {
  font-family:var(--ui,system-ui,-apple-system,'Segoe UI',sans-serif);
  font-size:19px; line-height:1.7; color:#26314b;
  width:100%; max-width:none; min-width:0; margin-inline:0;
  overflow-wrap:normal; word-break:normal; hyphens:none;
}
.lecon .texte .a-course.a-intro-r01 p {margin:0 0 1.1em; max-width:none}
.lecon .texte .a-course.a-intro-r01 > p:first-child {font:inherit; color:#44526a; margin-bottom:1.5em}
.lecon .texte .a-course.a-intro-r01 h2 {font-family:inherit; font-size:clamp(23px,2.3vw,29px); line-height:1.3; margin:1.8em 0 .7em; letter-spacing:-.02em}
.lecon .texte .a-course.a-intro-r01 h3 {font-family:inherit; font-size:21px; line-height:1.4; margin:0 0 .65em}
.lecon .texte .a-course.a-intro-r01 :is(.a-exemple,.a-exercice,.a-vigilance) {padding:20px 24px; border-radius:10px; margin:1.4em 0}
.lecon .texte .a-course.a-intro-r01 :is(.a-exemple,.a-exercice,.a-vigilance,.a-correction)>:last-child {margin-bottom:0}
.lecon .texte .a-course.a-intro-r01 .a-table-scroll {width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; margin:1.4em 0; -webkit-overflow-scrolling:touch}
.lecon .texte .a-course.a-intro-r01 .a-table-scroll:focus-visible {outline:3px solid #234f86; outline-offset:3px}
.lecon .texte .a-course.a-intro-r01 table {width:100%; min-width:640px; max-width:none; table-layout:auto; font-size:17px; line-height:1.55; margin:0}
.lecon .texte .a-course.a-intro-r01 caption {text-align:left; font-weight:700; padding:0 0 12px; color:#263d58}
.lecon .texte .a-course.a-intro-r01 :is(th,td) {padding:12px 16px; overflow-wrap:normal; word-break:normal; white-space:normal; hyphens:none}
.lecon .texte .a-course.a-intro-r01 th[scope=row] {min-width:130px; width:29%; background:#f3f6fb}
.lecon .texte .a-course.a-intro-r01 details {margin-top:16px; border-color:#b9c9bf}
.lecon .texte .a-course.a-intro-r01 summary {font-family:inherit; font-size:17px; padding:13px 15px; color:#35485c; min-height:48px}
.lecon .texte .a-course.a-intro-r01 summary:hover {background:#f2f7f4}
.lecon .texte .a-course.a-intro-r01 .a-correction {padding:18px; border-radius:0; line-height:1.7}
.lecon .texte .a-course.a-intro-r01 .a-source {font-family:inherit; font-size:15px; line-height:1.65; color:#506076; overflow-wrap:anywhere}
.lecon .texte .a-course.a-intro-r01 a {text-underline-offset:3px}
@media(max-width:700px) {
  .lecon .texte .a-course.a-intro-r01 {font-size:18px;line-height:1.7}
  .lecon .texte .a-course.a-intro-r01 h2 {font-size:23px}
  .lecon .texte .a-course.a-intro-r01 h3 {font-size:20px}
  .lecon .texte .a-course.a-intro-r01 :is(.a-exemple,.a-exercice,.a-vigilance) {padding:16px}
  .lecon .texte .a-course.a-intro-r01 :is(th,td) {padding:11px 13px}
  .lecon .texte .a-course.a-intro-r01 .a-correction {padding:15px}
}
@media print {
  .lecon .texte .a-course.a-intro-r01 {font-size:12pt;max-width:none}
  .lecon .texte .a-course.a-intro-r01 .a-table-scroll {overflow:visible}
  .lecon .texte .a-course.a-intro-r01 table {min-width:0;font-size:10pt}
}

/* R01 correctif affichage — 18/10/2026.
   Le cadre de l'apercu est applique aux seules introductions 185,186,187.
   Les autres formations et les autres lecons ne changent pas. */
.lecon:has(> .texte > .a-course.a-intro-r01) {
 background:#fff;
 border:1px solid #dce1e9;
 border-radius:14px;
 box-shadow:0 5px 20px #16203a06;
 margin-bottom:32px;
 scroll-margin-top:18px;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.lecon:has(> .texte > .a-course.a-intro-r01) > h1 {
 font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.lecon .texte .a-course.a-intro-r01 {
 font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
@media(max-width:700px) {
 .lecon:has(> .texte > .a-course.a-intro-r01) {padding:24px 18px}
}

/* Integration complete R01 — 18/10/2026 : navigation reelle + objectifs. */
.a-intro-nav {
 display:flex;flex-wrap:wrap;gap:10px;
 width:calc(100% - 24px);max-width:1180px;min-width:0;margin:24px auto 20px;padding:0;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.a-intro-nav a {
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 min-height:48px;max-width:100%;padding:12px 17px;
 border:1px solid #ccd6e3;border-radius:10px;background:#fff;
 color:#233b53;font-family:inherit;font-size:16px;font-weight:650;line-height:1.5;
 text-decoration:none;white-space:normal;overflow-wrap:normal;word-break:normal;
 box-shadow:0 1px 3px rgba(22,32,58,.04);
}
.a-intro-nav a:hover {background:#f2f6fb;border-color:#9db4d1}
.a-intro-nav a[aria-current="page"] {background:#edf4ff;border-color:#8eabd1;color:#193e68}
.a-intro-nav a:focus-visible {outline:3px solid #234f86;outline-offset:3px}
.lecon.a-intro-page {
 width:calc(100% - 24px);
 background:#fff;border:1px solid #dce1e9;border-radius:14px;
 box-shadow:0 5px 20px #16203a06;margin-bottom:32px;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.lecon.a-intro-page > h1 {font-family:inherit}
.lecon .texte .a-course.a-intro-r01 > .a-notion.a-intro-objectifs {
 font-family:inherit;font-size:inherit;line-height:1.7;color:#193e68;
 background:#eef5ff;border:1px solid #aac7eb;border-left:4px solid #789ecb;
 border-radius:10px;padding:18px 22px;margin:24px 0 30px;
}
.lecon .texte .a-course.a-intro-r01 > .a-notion.a-intro-objectifs > strong {
 display:block;margin:0 0 8px;font-family:inherit;font-size:inherit;font-weight:750;color:#193e68;
}
.lecon .texte .a-course.a-intro-r01 > .a-notion.a-intro-objectifs > strong + p {display:block;margin:0}
@media(max-width:600px) {
 .a-intro-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
 .a-intro-nav a {width:100%;min-width:0;font-size:15px;min-height:48px;padding:11px 10px}
 .lecon .texte .a-course.a-intro-r01 > .a-notion.a-intro-objectifs {padding:16px}
}
@media(max-width:700px) {.lecon.a-intro-page {padding:24px 18px}}
@media print {.a-intro-nav {display:none}}

/* Règle commune à toutes les leçons Inspecteur A, indépendamment du module.
   Le cadre garde ses marges ; le contenu utilise toute sa largeur intérieure.
   Les questionnaires interactifs (.examen) conservent leur propre mise en page. */
.lecon.a-inspecteur-page > .texte {
 width:100%;max-width:none;min-width:0;box-sizing:border-box;
}
.lecon.a-inspecteur-page > .texte .a-course {
 width:100%;max-width:none;min-width:0;box-sizing:border-box;margin-inline:0;
}
.lecon.a-inspecteur-page > .texte p,
.lecon.a-inspecteur-page > .texte .a-course p {
 max-width:none;
}
