/* MisterLab PLM — bandeau commun, dérivé de cours-conducteurs.css. */
@font-face{font-family:MLPLMBrand;src:url('../asset/ElectroShackle.otf') format('opentype');font-display:swap}
body .ml-plm-header{box-sizing:border-box;display:block;grid-column:1/-1;flex:0 0 auto;position:relative;inset:auto;width:100%;max-width:none;min-height:48px;margin:0;padding:0;background:#202328;color:#f2f2f2;border:0;border-bottom:1px solid #474b51;border-radius:0;box-shadow:none;z-index:5;font:14px/1.3 'Segoe UI',sans-serif}
body .ml-plm-header .ml-plm-bar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(1120px,calc(100% - 32px));min-height:48px;margin:auto;padding:0;background:transparent}
body .ml-plm-header a{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:transparent;color:#bfdbfe;text-decoration:none;box-shadow:none;white-space:nowrap;font:600 14px/1.3 'Segoe UI',sans-serif}
body .ml-plm-header a.ml-plm-brand{font:18px/1.3 MLPLMBrand,sans-serif;color:#fff}
body .ml-plm-header img{display:block;width:30px;height:30px;max-width:none;object-fit:contain;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body .ml-plm-header a:hover{text-decoration:underline}
body .ml-plm-header a:focus-visible{outline:2px solid #bfdbfe;outline-offset:3px}
html[data-ml-light] body .ml-plm-header{background:#fff!important;color:#213348!important;border-color:#c8d4df!important}
html[data-ml-light] body .ml-plm-header a{color:#15577d!important}
@media(max-width:720px){body .ml-plm-header .ml-plm-bar{width:calc(100% - 24px)}}
@media print{body .ml-plm-header{display:none}}

/* Étape 7 : sommaire de lecture fixe, d'après cours-conducteurs.css. */
body.ml-plm-reading{--ml-plm-rail-width:205px;box-sizing:border-box;padding-left:var(--ml-plm-rail-width)!important;}
body.ml-plm-reading.ml-plm-rail-closed{--ml-plm-rail-width:48px;}
body .ml-plm-reading-rail{position:fixed;inset:0 auto 0 0;width:var(--ml-plm-rail-width);box-sizing:border-box;z-index:1000;padding:8px;margin:0;background:#202328;color:#f2f2f2;border:0;border-right:1px solid #484b50;border-radius:0;box-shadow:none;overflow:auto;font:14px/1.45 'Segoe UI',sans-serif;}
body .ml-plm-reading-rail .ml-plm-rail-toggle{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:8px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;font:inherit;text-align:left;}
body .ml-plm-reading-rail .ml-plm-rail-toggle:hover{background:#32363d;}
body .ml-plm-reading-rail .ml-plm-contents{position:static;display:grid;gap:4px;width:auto;margin:12px 0 0;padding:0;background:transparent;border:0;box-shadow:none;}
body .ml-plm-reading-rail .ml-plm-contents[hidden],body.ml-plm-rail-closed .ml-plm-rail-label{display:none;}
body .ml-plm-reading-rail .ml-plm-contents a{display:block;padding:5px 10px;margin:0;border:0;border-radius:7px;background:transparent;color:#d9d9d9;font:inherit;text-decoration:none;overflow-wrap:anywhere;}
body .ml-plm-reading-rail .ml-plm-contents a[aria-current="location"]{border-left:3px solid #bfdbfe;background:#303f51;color:#fff;font-weight:650;}
body .ml-plm-reading-rail a:focus-visible,body .ml-plm-reading-rail button:focus-visible{outline:2px solid #bfdbfe;outline-offset:1px;}
html[data-ml-light] body .ml-plm-reading-rail{background:#fff!important;color:#213348!important;border-color:#c8d4df!important;}
html[data-ml-light] body .ml-plm-reading-rail .ml-plm-contents a{color:#213348!important;}
html[data-ml-light] body .ml-plm-reading-rail .ml-plm-contents a[aria-current="location"]{background:#dcebf7!important;color:#15577d!important;border-color:#15577d!important;}
html[data-ml-light] body .ml-plm-reading-rail .ml-plm-rail-toggle:hover{background:#e8eef5!important;}
.ml-plm-section-target{scroll-margin-top:16px;}
@media(max-width:720px){body.ml-plm-reading,body.ml-plm-reading.ml-plm-rail-closed{padding-left:0!important;padding-top:46px!important;}body .ml-plm-reading-rail{inset:0 auto auto 0;width:min(280px,100%);max-height:90dvh;padding:4px 8px;border-bottom:1px solid #484b50;}body.ml-plm-rail-closed .ml-plm-reading-rail{width:100%;}body.ml-plm-rail-closed .ml-plm-rail-label{display:inline;}.ml-plm-section-target{scroll-margin-top:54px;}}
@media print{body .ml-plm-reading-rail{display:none!important;}body.ml-plm-reading{padding:0!important;}}

/* Etape 8 : panneaux locaux a droite, independants du sommaire de lecture. */
body.ml-plm-portal-right .app{grid-template-columns:minmax(0,1fr) minmax(230px,280px)}
body.ml-plm-portal-right .app>.sidebar{grid-column:2;grid-row:1;width:auto;height:100dvh;top:0;}
body.ml-plm-portal-right .app>.main{grid-column:1;grid-row:1;min-width:0;}
body.ml-plm-portal-right .grid,body.ml-plm-portal-right .steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));}
body.ml-plm-controls-right{--ml-plm-tools-width:250px;padding-right:var(--ml-plm-tools-width)!important;}
body .ml-plm-tools{position:fixed;inset:0 0 0 auto;width:var(--ml-plm-tools-width);z-index:90;box-sizing:border-box;overflow:auto;padding:12px;background:#202328;color:#f2f2f2;border-left:1px solid #484b50;font:14px/1.45 'Segoe UI',sans-serif;}
body .ml-plm-tools h2{font-size:15px;margin:0 0 12px;color:inherit;}
body .ml-plm-tools :is(.controls,.toolbar){display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;width:100%;}
body .ml-plm-tools :is(input,select,button){box-sizing:border-box;width:100%;min-width:0;max-width:100%;white-space:normal;}
html[data-ml-light] body .ml-plm-tools{background:#fff;color:#213348;border-color:#c8d4df;}
body.ml-plm-wheel-right .layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:12px;}
body.ml-plm-wheel-right .wheelWrap{min-height:0;}
body.ml-plm-layers-right .layout{grid-template-columns:minmax(0,1.25fr) minmax(300px,420px);gap:12px;}
@media(max-width:1100px){body.ml-plm-portal-right .app,body.ml-plm-wheel-right .layout,body.ml-plm-layers-right .layout{grid-template-columns:minmax(0,1fr);}body.ml-plm-portal-right .app>.sidebar{grid-column:1;grid-row:2;height:auto;position:static;}body.ml-plm-controls-right{padding-right:0!important;}body .ml-plm-tools{position:static;width:auto;margin:8px 12px;border:1px solid #484b50;border-radius:6px;}}
@media print{body .ml-plm-tools{display:none!important;}body.ml-plm-controls-right{padding-right:0!important;}}

/* Étape 9 — contenu rédactionnel et tableaux, modèle cours-conducteurs. */
body.ml-plm-prose{font-family:"Segoe UI",sans-serif;line-height:1.55;}
body.ml-plm-prose > :is(main,.page,header:not(.ml-plm-header)){box-sizing:border-box;width:min(1120px,calc(100% - 32px));max-width:1120px;margin-inline:auto;}
body.ml-plm-prose :is(main,.page,header:not(.ml-plm-header)) h1{font-family:inherit;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.15;letter-spacing:normal;margin-block:16px 10px;}
body.ml-plm-prose :is(main,.page) h2{font-family:inherit;font-size:1.1rem;line-height:1.35;letter-spacing:normal;}
body.ml-plm-prose :is(main,.page) p{line-height:1.55;}
body.ml-plm-tabular .ml-plm-table-scroll{max-width:100%;overflow-x:auto;}
body.ml-plm-tabular table{width:100%;border-collapse:collapse;font-family:"Segoe UI",sans-serif;font-size:.93rem;line-height:1.4;}
body.ml-plm-tabular table :is(td,th){padding:7px;text-align:left;border-bottom:1px solid #46494e;}
body.ml-plm-tabular table th{color:#fef0b3;background:#2b2e32;}
html[data-ml-light] body.ml-plm-tabular table :is(td,th){border-bottom-color:#c8d4df;}
html[data-ml-light] body.ml-plm-tabular table th{color:#213348;background:#e8eef5;}
@media(max-width:720px){body.ml-plm-prose > :is(main,.page,header:not(.ml-plm-header)){width:calc(100% - 24px);}}

/* Étape 10 — intégration des diagrammes et supports visuels. Les couleurs et géométries internes restent intactes. */
body.ml-plm-diagrams :is(.schema,.schema-card,.concept-visual,.wheelPanel,.wheelWrap,.flow,.slide-frame){box-sizing:border-box;min-width:0;max-width:100%;margin-inline:auto;}
body.ml-plm-diagrams :is(.schema,.schema-card,.concept-visual,.wheelPanel){border-radius:8px;box-shadow:none;}
body.ml-plm-diagrams :is(.schema,.schema-card){margin-block:12px;padding:12px;}
body.ml-plm-diagrams :is(.schema,.schema-card,.concept-visual){overflow-x:auto;}
body.ml-plm-diagrams .schema-card svg,body.ml-plm-diagrams .mini svg{display:block;width:100%;height:auto;}
body.ml-plm-diagrams .schema svg{display:block;height:auto;}
body.ml-plm-diagrams .schema-title{margin-bottom:8px;}
body.ml-plm-diagrams .wheelWrap{min-height:0;padding:8px;}
body.ml-plm-diagrams :is(.wheelWrap,.wheelPanel) svg#wheel{display:block;width:min(100%,980px);height:auto;margin-inline:auto;}
body.ml-plm-diagrams .flowline{gap:6px;}
body.ml-plm-diagrams .slide-frame{width:min(1120px,100%);max-width:100%;height:auto;aspect-ratio:16/9;box-shadow:none;border:1px solid #46494e;border-radius:6px;}
body.ml-plm-diagrams .slide-frame img{display:block;width:100%;height:100%;object-fit:contain;}
html[data-ml-light] body.ml-plm-diagrams .slide-frame{border-color:#c8d4df;}
@media(max-width:720px){body.ml-plm-diagrams :is(.schema,.schema-card){padding:6px;}body.ml-plm-diagrams .wheelWrap{padding:2px;}}

/* Étape 11 — commandes interactives compactes, sans modification de leur logique. */
body.ml-plm-interactive{--ml-control-bg:#282c32;--ml-control-ink:#f2f2f2;--ml-control-line:#484b50;--ml-control-active:#bfdbfe;--ml-control-hover:#303f51;}
html[data-ml-light] body.ml-plm-interactive{--ml-control-bg:#fff;--ml-control-ink:#213348;--ml-control-line:#c8d4df;--ml-control-active:#15577d;--ml-control-hover:#e8eef5;}
body.ml-plm-interactive :is(.ml-plm-tools,.side,.detailPanel,.sidebar) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,button:not(.progress button)){box-sizing:border-box;min-width:0;max-width:100%;min-height:30px;padding:5px 8px;border:1px solid var(--ml-control-line);border-radius:5px;background:var(--ml-control-bg);color:var(--ml-control-ink);font:13px/1.3 'Segoe UI',sans-serif;box-shadow:none;}
body.ml-plm-interactive :is(.ml-plm-tools,.side,.detailPanel,.sidebar) button:not(.progress button){cursor:pointer;}
body.ml-plm-interactive :is(.ml-plm-tools,.side,.detailPanel,.sidebar) button:not(.progress button):hover{background:var(--ml-control-hover);border-color:var(--ml-control-active);transform:none;}
body.ml-plm-interactive :is(.ml-plm-tools,.side,.detailPanel,.sidebar) :is(button,input,select,a):focus-visible{outline:2px solid var(--ml-control-active);outline-offset:2px;}
body.ml-plm-interactive :is(.side,.detailPanel) button.active:not(.progress button){background:var(--ml-control-hover);color:var(--ml-control-active);border-color:var(--ml-control-active);}
body.ml-plm-interactive button:disabled{opacity:.55;cursor:not-allowed;}
body.ml-plm-wheel-right .side #toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(32px,1fr));gap:4px;margin:0;padding:0;}
body.ml-plm-layers-right .detailPanel .layerBar{display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:0 0 8px;max-width:100%;}
body.ml-plm-layers-right .detailPanel .layerBar button{flex:1 1 auto;white-space:normal;}
body.ml-plm-layers-right .detailPanel .nav{display:flex;flex-wrap:wrap;gap:6px;}
body.ml-plm-layers-right .detailPanel .nav button{flex:1 1 125px;white-space:normal;}
body.ml-plm-portal-right .sidebar .search{width:100%;}
body.ml-plm-interactive .ml-plm-tools :is(input,select,button){min-height:30px;}

/* Étape 12 — thème partagé, limité aux leçons PLM. */
html:has(body.ml-plm-theme){background:var(--ml4-bg);color-scheme:dark;}
html[data-ml-light]:has(body.ml-plm-theme){color-scheme:light;}
html body.ml-plm-theme{background:var(--ml4-bg)!important;color:var(--ml4-ink)!important;}
html body.ml-plm-theme :is(.ml-plm-header,.ml-plm-reading-rail,.ml-plm-tools){background:var(--ml4-panel)!important;color:var(--ml4-ink)!important;border-color:var(--ml4-line)!important;}
html body.ml-plm-theme .ml-plm-header a,html body.ml-plm-theme .ml-plm-reading-rail .ml-plm-contents a{color:var(--ml4-ink)!important;}
html body.ml-plm-theme .ml-plm-reading-rail .ml-plm-contents a[aria-current=location]{background:var(--ml4-raised)!important;color:var(--ml4-accent)!important;border-color:var(--ml4-accent)!important;}
html body.ml-plm-theme .ml-plm-reading-rail .ml-plm-rail-toggle:hover{background:var(--ml4-raised)!important;}
html:not([data-ml-light]) body.ml-plm-native-light,html[data-ml-light] body.ml-plm-native-dark{
 --bg:var(--ml4-bg);--ink:var(--ml4-ink);--text:var(--ml4-ink);--txt:var(--ml4-ink);--muted:var(--ml4-muted);--panel:var(--ml4-panel);--panel2:var(--ml4-raised);--panel-2:var(--ml4-raised);--card:var(--ml4-panel);--paper:var(--ml4-panel);--surface:var(--ml4-panel);--line:var(--ml4-line);
}
html:not([data-ml-light]) body.ml-plm-native-light :is(.card,.panel,.mail,.step,.schema,.schema-card,.info-card,.table-wrap,.legend-item,.summary,.matrix>div,.retain div,.block-card,.tool,.flow,.supply,.question,.phase,.hero-card,.index,.mini,.callout,.eyebrow){background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);box-shadow:none;}
html:not([data-ml-light]) body.ml-plm-native-light :is(.card,.panel,.step,.info-card,.block-card) :is(h3,p,li){color:inherit;}
html:not([data-ml-light]) body.ml-plm-native-light :is(.hero,.header) :is(.pill,.badge){color:inherit;background:rgba(255,255,255,.12);}
html:not([data-ml-light]) body.ml-plm-native-light table{background:var(--ml4-panel);color:var(--ml4-ink);}
html:not([data-ml-light]) body.ml-plm-native-light tbody tr:hover,html:not([data-ml-light]) body.ml-plm-native-light tbody tr:hover td{background:var(--ml4-raised);}
html:not([data-ml-light]) body.ml-plm-native-light :is(.subtitle,.note,.card h3){color:var(--ml4-muted);}
html[data-ml-light] body.ml-plm-native-dark :is(.hero,.family,.concept-card,.list-card,.example-card,.card,.detailPanel,.detailHeader,.infoCard,.crossLinks details,.table-wrap,.badge,.chip,.mini,.note,.nav,.summary a){background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);box-shadow:none;}
html[data-ml-light] body.ml-plm-native-dark :is(.label,.value,.detailList,.crossLinks summary,.chip b,.mini b,.mini p,.detail .q,.grid div:nth-child(odd),.grid div:nth-child(even),.eyebrow,.subtitle){color:var(--ml4-ink);}
html[data-ml-light] body.ml-plm-native-dark :is(.tag,.stepBadge,.ico,.concept-icon){background:var(--ml4-raised);color:var(--ml4-ink);border-color:var(--ml4-line);}
/* Les surfaces de dessin à texte SVG clair restent sombres pour le contraste. */
html[data-ml-light] body.ml-plm-native-dark :is(.wheelPanel,.stage,.concept-visual){background:#10233a;color:#eef7ff;border-color:#39536c;}
html[data-ml-light] body.ml-plm-native-dark :is(.wheelPanel,.stage,.concept-visual) svg{color:#eef7ff;}
html[data-ml-light] body.ml-plm-native-dark table{background:var(--ml4-panel);color:var(--ml4-ink);}
html[data-ml-light] body.ml-plm-native-dark tbody tr:hover{background:var(--ml4-raised);}
html body.ml-plm-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);}
html body.ml-plm-theme :is(input,select,textarea)::placeholder{color:var(--ml4-muted);}
html body.ml-plm-theme .slide-frame{background:#fff;}
@media print{html body.ml-plm-theme{background:#fff!important;color:#172033!important;}}

/* Étape 13 — compacité et adaptation à la largeur utile. */
@media screen {
body.ml-plm-theme .ml-plm-header,body.ml-plm-theme .ml-plm-header .ml-plm-bar{min-height:40px;}
body.ml-plm-theme .ml-plm-header .ml-plm-bar{width:calc(100% - 20px);max-width:1120px;gap:8px;}
body.ml-plm-theme .ml-plm-header img{width:26px;height:26px;}
body.ml-plm-theme .ml-plm-header a{font-size:13px;}
body.ml-plm-theme .ml-plm-header a.ml-plm-brand{font-size:16px;}
body.ml-plm-theme .ml-chapters{padding:3px 6px;gap:2px;min-width:0;}
body.ml-plm-theme .ml-chapters .chapter-heading{flex-wrap:wrap;gap:2px 7px;min-width:0;overflow-wrap:anywhere;}
body.ml-plm-theme .ml-chapters .chapter-links{gap:2px;}
body.ml-plm-theme .ml-chapters .chapter-links a{min-width:26px;min-height:24px;}
body.ml-plm-theme .ml-plm-reading-rail{padding:5px;font-size:13px;}
body.ml-plm-theme .ml-plm-reading-rail .ml-plm-contents{margin-top:5px;gap:2px;}
body.ml-plm-theme .ml-plm-reading-rail .ml-plm-contents a{padding:4px 7px;}
body.ml-plm-theme .ml-plm-tools{padding:8px;}
body.ml-plm-theme .ml-plm-tools h2{margin-bottom:6px;}
body.ml-plm-theme .ml-plm-tools :is(.controls,.toolbar){gap:5px;}
body.ml-plm-theme > :is(main,.page,.wrap,.layout,.app){min-width:0;max-width:100%;}
body.ml-plm-prose > :is(main,.page){width:min(1120px,100%);padding:10px 12px;}
body.ml-plm-prose :is(main,.page) h1{font-size:clamp(1.25rem,2.4vw,1.8rem);margin-block:8px 6px;}
body.ml-plm-prose :is(main,.page) h2{margin-block:8px 5px;}
body.ml-plm-prose :is(main,.page) :is(.hero,.header){padding:12px 16px;}
body.ml-plm-tabular table :is(td,th){padding:5px 6px;}
body.ml-plm-diagrams :is(.schema,.schema-card){margin-block:8px;padding:8px;}
body.ml-plm-theme .ml-plm-table-scroll{min-width:0;max-width:100%;overflow-x:auto;}
body.ml-plm-info-cycle .page{min-height:0;}
body.ml-plm-info-cycle :is(.chain,.mid,.plm-zone,.tools){grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;margin-top:8px;}
body.ml-plm-info-cycle .card{min-height:0;padding:10px;border-radius:8px;}
body.ml-plm-info-cycle .card h2{font-size:18px;}
body.ml-plm-info-cycle .lifecycle{flex-wrap:wrap;gap:5px;margin-top:8px;}
body.ml-plm-info-cycle .step{padding:6px 9px;}
}
@media screen and (max-width:980px){
body.ml-plm-reading,body.ml-plm-reading.ml-plm-rail-closed{padding-left:0!important;padding-top:46px!important;}
body .ml-plm-reading-rail{inset:0 auto auto 0;width:min(280px,100%);max-height:85dvh;}
body.ml-plm-rail-closed .ml-plm-reading-rail{width:100%;}
body.ml-plm-rail-closed .ml-plm-rail-label{display:inline;}
.ml-plm-section-target{scroll-margin-top:54px;}
}
@media screen and (max-width:600px){
body.ml-plm-prose > :is(main,.page){padding:6px 8px;}
body.ml-plm-theme .ml-chapters .chapter-links a{min-width:30px;min-height:30px;}
body.ml-plm-theme .ml-plm-header .ml-plm-bar{width:calc(100% - 12px);}
body.ml-plm-prose :is(main,.page) :is(.hero,.header){padding:8px 10px;}
}
@media screen and (pointer:coarse){body.ml-plm-theme .ml-chapters .chapter-links a{min-width:44px;min-height:44px;}}

/* V16: pied de page commun, sans modification des pieds de page locaux. */
body .ml-plm-footer{box-sizing:border-box;grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:8px;margin:0;background:#202328;color:#f2f2f2;font:13px/1.4 Segoe UI,sans-serif;}body .ml-plm-footer a{color:#bfdbfe;text-decoration:none;}body .ml-plm-footer a:hover{text-decoration:underline;}html[data-ml-light] body .ml-plm-footer{background:#fff;color:#213348;}html[data-ml-light] body .ml-plm-footer a{color:#15577d;}

/* V16 étape 4 : adaptations spécifiques aux nouvelles leçons. */
html:has(body.ml-plm-v16){background:var(--ml4-bg);color-scheme:dark;}
html[data-ml-light]:has(body.ml-plm-v16){color-scheme:light;}
body.ml-plm-v16{--bg:var(--ml4-bg);--text:var(--ml4-ink);--ink:var(--ml4-ink);--muted:var(--ml4-muted);--panel:var(--ml4-panel);--panel-soft:var(--ml4-raised);--surface:var(--ml4-panel);--surface-2:var(--ml4-raised);--line:var(--ml4-line);--fond:var(--ml4-bg);--encre:var(--ml4-ink);--secondaire:var(--ml4-muted);--trait:var(--ml4-line);--surface-alt:var(--ml4-raised);--card:var(--ml4-panel);--card2:var(--ml4-raised);--bg2:var(--ml4-raised);}
body.ml-plm-v16 :is(.ml-plm-footer,.ml-chapters,.reading-rail,.ml-nav,.ml-sign){background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);}
body.ml-plm-v16 :is(.ml-nav,.ml-sign) a{color:inherit;}
body.ml-plm-v16 :is(.schema-wrap,.panel,.kpi,.phase,.step,.card,.metric){max-width:100%;border-color:var(--ml4-line);}
body.ml-plm-v16 :is(.schema-wrap,.panel,.kpi,.phase,.step,.card,.metric){background:var(--ml4-panel);color:var(--ml4-ink);}
body.ml-plm-v16 :is(.schema-wrap img,.breakdown-tree){max-width:100%;object-fit:contain;}
body.ml-plm-v16 .schema-wrap img{height:auto;background:white;}
body.ml-plm-v16 :is(.ml-plm-header,.ml-chapters,.ml-plm-footer){flex-shrink:0;}
body.ml-plm-v16 :is(button,input,select,textarea):focus-visible{outline:2px solid var(--ml4-accent);outline-offset:2px;}
body.ml-plm-v16-cycle .cycle-menu{inset:0 0 0 auto;border-right:0;border-left:1px solid var(--ml4-line);transform:translateX(100%);box-shadow:-16px 0 40px #0005;}
body.ml-plm-v16-cycle .cycle-menu[open]{transform:translateX(0);}
@starting-style{body.ml-plm-v16-cycle .cycle-menu[open]{transform:translateX(100%);}}
body.ml-plm-v16-cycle .cycle-menu-content{padding:10px;}
body.ml-plm-v16-cycle .visual-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));}
body.ml-plm-v16-sadt .workspace{grid-template-columns:minmax(0,1fr) 110px;}
body.ml-plm-v16-sadt .workspace>.layer-navigation{grid-column:2;grid-row:1;}
body.ml-plm-v16-sadt .workspace>.visualization-area{grid-column:1;grid-row:1;min-width:0;}
body.ml-plm-v16-sadt .traceability-rail{left:auto;right:10px;transform:translateX(15px);}
body.ml-plm-v16-sadt .traceability-rail.visible{transform:none;}
/* Conserver les fonds et textes du canevas de dessin, indépendamment du thème du site. */
body.ml-plm-v16-sadt .visualization-area,body.ml-plm-v16-org #stage{color:#22303b;background-color:#f5f8fa;}
body.ml-plm-v16-org main{grid-template-columns:minmax(0,1fr) minmax(0,250px) minmax(0,250px);}
body.ml-plm-v16-org main>#stage{grid-column:1;grid-row:1;min-width:0;}
body.ml-plm-v16-org main>#left{grid-column:2;grid-row:1;max-width:none;}
body.ml-plm-v16-org main>#right{grid-column:3;grid-row:1;max-width:none;}
body.ml-plm-v16-org main.leftclosed{grid-template-columns:minmax(0,1fr) 0 minmax(0,250px);}
body.ml-plm-v16-org main.rightclosed{grid-template-columns:minmax(0,1fr) minmax(0,250px) 0;}
body.ml-plm-v16-org main.leftclosed.rightclosed{grid-template-columns:minmax(0,1fr) 0 0;}
body.ml-plm-v16-org :is(#left,#right){background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);}
body.ml-plm-v16-org :is(#left,#right) :is(button,.sample){background:var(--ml4-raised)!important;color:var(--ml4-ink)!important;border-color:var(--ml4-line)!important;}
body.ml-plm-v16-object .reading-rail{background:var(--ml4-panel);color:var(--ml4-ink);border-color:var(--ml4-line);}
@media(max-width:1100px){body.ml-plm-v16-org main,body.ml-plm-v16-org main.leftclosed,body.ml-plm-v16-org main.rightclosed,body.ml-plm-v16-org main.leftclosed.rightclosed{grid-template-columns:minmax(0,1fr);height:auto!important;overflow:visible;}body.ml-plm-v16-org main>#stage{grid-column:1;grid-row:1;min-height:60vh;}body.ml-plm-v16-org main>#left{grid-column:1;grid-row:2;}body.ml-plm-v16-org main>#right{grid-column:1;grid-row:3;display:block;}body.ml-plm-v16-org main>#right.closed{display:none;}}
@media(max-width:640px){body.ml-plm-v16-sadt .workspace{display:flex;flex-direction:column;}body.ml-plm-v16-sadt .layer-navigation{order:2;}body.ml-plm-v16-sadt .visualization-area{order:1;}}
