
:root{--teal:#117b70;--ink:#173941;--ink2:#375961;--muted:#647d82;--line:#dce8e4;--paper:#fff;--bg:#f7faf8;--wash:#eaf5f0;--accent:#b56531}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);font:16.8px/1.76 system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink)}a{color:#117c73;text-underline-offset:3px}a:hover{color:#095d56}.top{position:sticky;top:0;z-index:30;background:#fffefef2;backdrop-filter:blur(12px);height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 27px;gap:18px}.brand{font-size:15px;font-weight:800;letter-spacing:.15em;color:#10695f;text-decoration:none}.brand small{font-size:10px;color:#657b79;letter-spacing:.06em;margin-left:10px}.tag{font-size:11px;background:#eaf4ef;border:1px solid #cce6da;color:#277d70;padding:4px 10px;border-radius:16px}.top .grow{flex:1}.top a:last-child{font-size:13px;text-decoration:none}.toggle{display:none;align-items:center;border:1px solid var(--line);background:white;border-radius:9px;padding:6px 10px}.readingline{height:3px;position:fixed;top:61px;left:0;background:var(--teal);width:0;z-index:40;transition:width .1s linear}
.shell{display:grid;grid-template-columns:260px minmax(0,900px) minmax(0,210px);max-width:1510px;margin:auto;gap:36px;padding:0 26px}.sidebar{position:sticky;top:90px;height:calc(100dvh - 110px);overflow:auto;border-right:1px solid var(--line);padding:35px 20px 22px 4px}.side-eyebrow{font-size:11px;color:var(--muted);text-transform:uppercase;font-weight:750;letter-spacing:.13em;margin:0 0 12px}.sidebar a{display:block;color:#587178;text-decoration:none;line-height:1.37;padding:12px 11px;border-radius:9px;font-size:14px;margin:3px 0}.sidebar a:hover{background:#f0f8f4}.sidebar a.current{background:#e3f2e9;color:#0a6e61;font-weight:750}.chapter-icon{font-weight:650;color:#a0b7b0;font-size:11px;margin-right:8px}.side-foot{font-size:12px;line-height:1.6;border-top:1px solid var(--line);margin-top:25px;padding:18px 6px;color:var(--muted)}.main{min-width:0;padding:45px 0 70px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:#148278;text-transform:uppercase;margin-bottom:14px}.hero h1{font-size:clamp(34px,3.9vw,57px);letter-spacing:-.035em;font-weight:720;line-height:1.12;margin:0 0 16px;color:#12383d}.deck{font:21px/1.5 Georgia,serif;color:#566c71;max-width:710px;margin:0 0 32px}.authorline{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:32px;color:#79908b;font-size:13px}.article{max-width:850px}.article h1{display:none}.article h2{font-size:clamp(25px,2.2vw,32px);line-height:1.25;letter-spacing:-.025em;margin:55px 0 17px;color:#193f43;scroll-margin-top:95px}.article h3{font-size:21px;margin:32px 0 10px;color:#1b5557;scroll-margin-top:95px}.article p{margin:0 0 21px}.article p:first-of-type{font-size:18.2px;line-height:1.73}.article strong{color:#143a3e}.article blockquote{padding:17px 20px;margin:26px 0 30px;background:#eef7f2;border-left:4px solid #118073;color:#1b4a49;border-radius:0 10px 10px 0}.article blockquote p{margin:0}.article img{width:100%;height:auto;display:block;margin:25px auto 4px;border-radius:12px;box-shadow:0 1px 0 #d5e2dc;background:#f5fbf8}.article img + em, .article p:has(> em):has(+h2){font-size:13px;color:#6b8482}.article p em{color:#667f7e}.article table{width:100%;border-collapse:collapse;font-size:14px;margin:22px 0 33px}.article th{background:#eaf4ef;text-align:left;color:#215e56}.article td,.article th{padding:12px 13px;border-bottom:1px solid #dae7e2;vertical-align:top}.article ul,.article ol{padding-left:25px}.article li{margin-bottom:9px}.article a{font-weight:600}.labframe{display:block;width:100%;border:1px solid #d5e4df;border-radius:15px;background:#fff;margin:21px 0 12px;box-shadow:0 9px 35px #173f4710}.labframe-tse{height:900px}.labframe-rf{height:960px}.toc{position:sticky;top:106px;height:max-content;padding-top:45px}.toc .side-eyebrow{border-left:1px solid var(--line);padding-left:17px}.toc a{display:block;font-size:12.5px;line-height:1.45;color:#69827f;text-decoration:none;padding:8px 2px 8px 15px;border-left:1px solid var(--line)}.toc a.active{border-left:3px solid var(--teal);padding-left:13px;color:var(--teal);font-weight:700}.bottom-nav{margin-top:54px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:25px 0}.bottom-nav a{display:block;border:1px solid var(--line);border-radius:10px;padding:12px 15px;text-decoration:none;font-size:14px}.proto{border-top:1px solid var(--line);padding-top:18px;color:#78928a;font-size:12px;line-height:1.5}
@media(max-width:1290px){.shell{grid-template-columns:230px minmax(0,860px);gap:35px}.toc{display:none}}
@media(max-width:930px){.shell{display:block;padding:0 20px}.main{padding-top:34px}.sidebar{display:none;position:fixed;z-index:25;top:64px;left:0;background:white;width:min(320px,89vw);height:calc(100dvh - 64px);box-shadow:15px 5px 35px #123c3c25;padding:22px;overflow:auto}.sidebar.open{display:block}.toggle{display:flex}.top{padding:0 16px;gap:12px}.brand small{display:none}.labframe-tse{height:1120px}.labframe-rf{height:970px}}
@media(max-width:600px){.hero h1{font-size:35px}.deck{font-size:18px}.article p{font-size:16px}.article h2{margin-top:42px}.main{padding-top:24px}.labframe-tse{height:1450px}.labframe-rf{height:1270px}}
/* V3 : scientific long-form reader */
body{font-size:17px;line-height:1.8;background:#fff}
.shell{grid-template-columns:284px minmax(0,870px) minmax(0,195px);gap:35px;max-width:1525px}
.sidebar{padding-top:26px}.sidebar a{font-size:13px;padding:9px 10px;margin:1px 0;line-height:1.35}
.nav-group{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:850;color:#8d9997;padding:16px 11px 5px;margin:0}
.nav-home{margin-bottom:10px!important}.chapter-icon{display:inline-block;min-width:23px}
.search-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:#687d7b;font-weight:700}
#navFilter{margin:6px 0 13px;width:100%;height:36px;padding:7px 10px;font:14px system-ui;border:1px solid #d5e7e0;border-radius:8px;color:#27534d}
.article h2{margin:50px 0 18px}.article h3{margin-top:31px}
.article figure{margin:27px 0 33px;border:1px solid #dcebe6;border-radius:14px;overflow:hidden;background:#fafdfb}
.article figure img{margin:0;border-radius:0;max-height:510px;width:100%;object-fit:contain}
.article figure figcaption{font-size:12.5px;line-height:1.6;padding:11px 17px;color:#687e7a;background:#f4f9f6}
.article .equation{font:24px/1.4 Georgia,serif;text-align:center;letter-spacing:.01em;white-space:normal;overflow-wrap:anywhere;padding:22px 10px;margin:23px 0;color:#245b52;background:#f3f9f6;border-left:3px solid #16a085;border-radius:9px}
.article .math-inline{font-family:Georgia,serif;background:#f2f8f5;padding:1px 3px;border-radius:4px}
.article table{font-size:14px}
.article .labframe{max-width:100%;width:100%;height:820px;background:#fff}.article .labframe-rf{height:1000px}.article .labframe-tse{height:1150px}.article .labframe-compact{height:685px}
.article iframe{border:1px solid #d9e9e3;box-shadow:0 8px 24px #123a3910}
.source-appendix{border:1px solid #d8e8e2;border-radius:12px;margin-top:65px;padding:18px 20px;font-size:14px;color:#315953}
.source-appendix>summary{cursor:pointer;font-weight:700}.source-appendix li{padding:7px 0;border-bottom:1px solid #edf3f0}.source-appendix li span{color:#78918c}
.article p:has(>img) + p:has(>em){font-size:12px;color:#627c75}
@media(max-width:1320px){.shell{grid-template-columns:265px minmax(0,1fr);gap:25px}.toc{display:none}}
@media(max-width:930px){.shell{display:block;padding:0 22px}.sidebar{display:none;position:fixed;z-index:25;top:65px;left:0;width:min(335px,92vw);height:calc(100vh - 65px);background:white;overflow:auto;padding:18px 15px;box-shadow:10px 10px 40px #1b44482d}.sidebar.open{display:block}.toggle{display:inline-flex}.main{padding-top:24px}.article .labframe-compact{height:900px}}
@media(max-width:600px){.article .labframe-rf{height:1320px}.article .labframe-tse{height:1450px}.article .labframe-compact{height:1100px}.source-appendix{padding:10px}.tag{display:none}}

/* V4 — scientific figure captions, chapter.figure numbering */
.article figure figcaption{font-size:14px;line-height:1.65;color:#425c59;background:#f2f8f5}
.article figure figcaption b{color:#145b53;font-weight:760}
.article .slide-origin{color:#79908b;font-size:12px;white-space:normal}
.article .source-figure img{max-height:540px;object-fit:contain;background:#f8fbf9}

/* Module interactif RF, cinq artéfacts système — V6 */
.rf-simulator{margin:22px 0 18px;border:1px solid #d7e5e1;background:#fcfefb;border-radius:14px;overflow:hidden}
.rf-simulator-top{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;padding:10px 15px;background:#e8f3ef;font-size:14px;color:#164b4c}
.rf-simulator-top a{font-size:13px;color:#0a746c;font-weight:650;text-decoration:none}
.rf-simulator-frame{display:block;width:100%;height:710px;border:0;background:#f5f7f5}
.figure-toggle{border:1px solid #d9e8e6;border-radius:13px;overflow:hidden;margin:15px 0 30px;background:white}
.figure-toggle summary{cursor:pointer;list-style:none;background:#f0f7f6;color:#15645f;font-weight:750;padding:13px 18px}
.figure-toggle summary::-webkit-details-marker{display:none}
.figure-toggle summary::before{content:'▸';display:inline-block;margin-right:10px;transition:transform .2s ease}
.figure-toggle[open] summary::before{transform:rotate(90deg)}
.figure-toggle-body{padding:10px 20px 18px}
.figure-toggle .source-figure{margin:16px 0 22px}
@media(max-width:760px){.rf-simulator-frame{height:1180px}.figure-toggle-body{padding:10px}}

/* V9 · animations toujours visibles dans le texte, figures seules repliées */
.article .rf-simulator{margin:20px 0 28px;border:1px solid #cfe3dc;border-radius:15px;overflow:hidden;background:#f9fcfa}
.article .rf-simulator-frame.v9-physics-frame{display:block;width:100%;height:690px;border:0;background:white}
.article .rf-simulator-frame.v9-tse-frame{height:1170px}
.article .figure-toggle{margin:18px 0 28px}
.article h3{scroll-margin-top:95px}
.ipem-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0;padding:14px;background:#edf7f2;border-radius:12px}
.ipem-controls label{font-size:13px;font-weight:700;color:#2b5553}
.ipem-controls input{flex:1;min-width:160px;padding:9px;border:1px solid #bfd4cd;border-radius:8px}
.ipem-controls span{font-size:12px;color:#52766c}
.ipem-counter{font-size:15px;color:#728a83}
.ipem-list{border-top:1px solid #dce9e4;margin-bottom:30px}
.ipem-entry{border-bottom:1px solid #dce9e4;background:#fff}
.ipem-entry[hidden]{display:none!important}
.ipem-entry>summary{cursor:pointer;padding:11px 13px;list-style:none;display:flex;gap:12px;align-items:center;font-size:14px;color:#214f4b;font-weight:700}
.ipem-entry>summary::-webkit-details-marker{display:none}
.ipem-entry>summary:hover{background:#f0f9f4}
.ipem-n{font-size:10px;color:#0d7265;background:#e3f3ed;border-radius:6px;padding:3px 6px;min-width:29px;text-align:center}
.ipem-entry summary small{margin-left:auto;font-size:11px;font-weight:500;color:#7b948d}
.ipem-entry-body{background:#fafdfb;padding:13px 18px 16px}
.ipem-entry-body p{display:grid;grid-template-columns:145px 1fr;gap:12px;font-size:13px!important;margin:0 0 8px!important;line-height:1.6!important}
.ipem-entry-body strong{color:#1a6257}
.ipem-see-demo{font-size:12px}
.ipem-ref{font-size:12px;color:#688079}
@media(max-width:900px){.article .rf-simulator-frame.v9-physics-frame{height:1020px}.article .rf-simulator-frame.v9-tse-frame{height:1490px}}
@media(max-width:550px){.article .rf-simulator-frame.v9-physics-frame{height:1420px}.article .rf-simulator-frame.v9-tse-frame{height:1690px}.ipem-entry-body p{grid-template-columns:1fr;gap:2px}}

/* Revue physique des déplacements chimiques : espace supplémentaire pour diagrammes in situ. */
.article .rf-simulator-frame.v9-physics-frame.v9-chem-frame{height:1050px}
@media(max-width:900px){.article .rf-simulator-frame.v9-physics-frame.v9-chem-frame{height:1480px}}
@media(max-width:550px){.article .rf-simulator-frame.v9-physics-frame.v9-chem-frame{height:1930px}}
/* Laboratoires ACR : animation en ligne dans la lecture, sans volet repliable. */
.article .rf-simulator-frame.acr-lab-frame{height:700px;display:block;width:100%;border:0;background:#f6f9fa}
.article .rf-simulator-frame.acr-metrics-frame{height:650px}
.article .source-figure img[src*="figures-acr"]{display:block;max-width:100%;width:auto;max-height:475px;object-fit:contain;background:#fafdfc}
@media(max-width:900px){.article .rf-simulator-frame.acr-lab-frame{height:890px}.article .rf-simulator-frame.acr-metrics-frame{height:850px}}
@media(max-width:550px){.article .rf-simulator-frame.acr-lab-frame{height:1120px}.article .rf-simulator-frame.acr-metrics-frame{height:1020px}}

/* V9.5 — source figures extracted directly from the original PPTX. No visual clipping. */
.article .source-figure-complete{max-width:100%;overflow:visible}
.article .source-figure-complete .full-source-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.article .source-figure-complete .full-source-panels.full-source-multiple{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}
.article .source-figure-complete .full-source-panel{min-width:0;overflow:visible}
.article .source-figure-complete .full-source-panel>a{display:flex;align-items:start;justify-content:center;overflow:visible;background:#fff;border:1px solid #dde8e7;border-radius:10px;padding:8px;cursor:zoom-in}
.article .source-figure-complete .full-source-panel img{display:block;max-width:100%;width:auto;height:auto;max-height:none;min-height:0;object-fit:contain;object-position:top center;background:white;clip-path:none;border:0}
.article .source-figure-complete .source-panel-label{font-size:0.76rem;display:block;margin:5px 4px;color:#536663}
.article .source-figure-complete .source-integrity{color:#56736d;font-size:0.87em}
@media(max-width:780px){.article .source-figure-complete .full-source-panels.full-source-multiple{grid-template-columns:1fr}}

/* V9.6 — Complete source figures on RT geometric distortion slides. */
.article .rt-distortion-figure{padding:13px 14px;background:#f6faf9;border:1px solid #d7e7e1;border-radius:12px;margin:23px 0 27px}
.article .rt-distortion-figure .full-source-panels{grid-template-columns:minmax(0,1fr);gap:16px}
.article .rt-distortion-figure .full-source-multiple{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr))}
.article .rt-distortion-figure img,.article .rt-distortion-figure video{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:#fff;border-radius:7px;margin:0;clip-path:none;overflow:visible}
.article .rt-distortion-figure .full-source-panel{max-width:100%;min-width:0}
.article .rt-distortion-figure .full-source-panel a{min-height:120px;display:flex;align-items:center;justify-content:center;cursor:zoom-in}
.article .rt-distortion-figure .source-panel-label{font-size:12px;margin:5px 0 0}
.article .rt-distortion-figure figcaption{font-size:13px;line-height:1.5;color:#496663;margin:14px 0 2px}
.article .rt-distortion-figure .distortion-source-video{max-height:350px;background:#12232c}
@media(max-width:600px){.article .rt-distortion-figure .full-source-multiple{grid-template-columns:minmax(0,1fr)}}

/* ACR-B0 : hauteur provisoire compacte. Le contenu impose sa hauteur via postMessage. */
.article .rf-simulator-frame.acr-b0-frame{height:760px;min-height:480px}

/* === Diffusion, DTI et IRM quantitative: styles encapsulés du chapitre 15 === */
.cq15{--accent:#056b75;--pale:#eaf7f5;--line:#d8e7ea;max-width:100%;}
.cq15 h2{margin-top:2.55rem;border-top:1px solid #dce7e9;padding-top:1.35rem;scroll-margin-top:100px}
.cq15 h3{margin-top:1.25rem}
.cq15 p{line-height:1.75}.cq15-lead{font-size:1.08rem;line-height:1.8!important}
.cq15-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin:20px 0}
.cq15-flow{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.cq15-flow .cq15-fig{margin:0}
.cq15-fig{margin:18px 0;background:#fff;border:1px solid #dce9e9;border-radius:12px;overflow:hidden;min-width:0}
.cq15-fig a{display:block;padding:12px;text-align:center}
.cq15-fig img{display:block;max-width:100%;height:auto;max-height:340px;object-fit:contain;margin:0 auto}
.cq15-flow .cq15-fig img{height:125px;max-height:125px;object-fit:contain}
.cq15-fig figcaption{font-size:.84rem;line-height:1.45;padding:10px 13px;color:#365660;background:#f4f9f9}
.cq15-steptext{background:#e9f6f5;border-left:4px solid #0a7880;padding:14px 17px;margin:19px 0;line-height:1.6;color:#15515c}
.cq15-two-col,.cq15-twin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cq15-two-col>.cq15-gallery{display:block}.cq15-two-col .cq15-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cq15-two-col .cq15-fig img{max-height:180px}
.cq15-equations{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
.cq15-equations>div{flex:1;min-width:220px;background:#e8f4f4;border-radius:12px;padding:17px}
.cq15-equations span{display:block;font-size:13px;color:#52737b;margin-bottom:9px}
.cq15-equations strong{display:block;color:#0d5965;font-size:1.13rem;white-space:normal}
.cq15-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:16px 0}
.cq15-stages3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cq15-stages>div{padding:15px;border:1px solid #d3e6e6;border-radius:12px;background:#f6fbfa}
.cq15-stages b{color:#086e75}.cq15-stages p{margin:8px 0 0;font-size:.91rem;line-height:1.65}
.cq15-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}
.cq15-specs>div{background:#f1f8f8;padding:13px;border-radius:10px}.cq15-specs span{display:block;color:#4d7179;font-size:12px;margin-bottom:5px}.cq15-specs strong{font-size:.96rem;color:#234e57}
.cq15-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #cbdfe0;border-radius:11px;margin:15px 0;outline-offset:3px}
.cq15-table{border-collapse:collapse;font-size:13px;min-width:max-content;width:100%;font-variant-numeric:tabular-nums}
.cq15-table th,.cq15-table td{border-bottom:1px solid #e2eded;border-right:1px solid #e2eded;padding:10px 9px;text-align:center;white-space:nowrap}
.cq15-table thead th{background:#0a7077;color:white;position:sticky;top:0}
.cq15-table tbody th{background:#eef6f6;color:#244d55;text-align:left;position:sticky;left:0;font-weight:650}
.cq15-table tbody tr:nth-child(even) td{background:#f7fbfb}
.cq15-table .cq15-observed{background:#fff0d7!important;color:#8a4f0e;font-weight:800}
.cq15-inline-media{display:grid;grid-template-columns:230px 1fr;gap:20px;align-items:center}.cq15-inline-media .cq15-fig img{max-height:130px}
.cq15-logo{display:block;max-width:210px;width:100%;height:auto;margin:14px 0}.cq15-svg{display:block;width:100%;max-width:650px;height:auto;margin:0 auto}
.cq15-lab{border:1px solid #b9d5d9;border-radius:14px;padding:18px 20px;margin:20px 0;background:linear-gradient(145deg,#f6fbfb,#fff)}
.cq15-lab-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.cq15-lab-head b{color:#12545e}.cq15-lab-head small{color:#57757c;text-align:right}
.cq15-lab label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;font-weight:600;color:#254f56}.cq15-lab label output{margin-left:auto;color:#0d6e73;font-variant-numeric:tabular-nums}
.cq15-lab input[type=range]{flex:1 1 230px;accent-color:#077681}.cq15-lab select{border:1px solid #9bbfc2;border-radius:9px;background:white;padding:7px;font-size:14px;color:#244d55}
.cq15-twin{margin-top:10px}.cq15-twin h4{margin-bottom:4px;text-align:center;font-weight:700;color:#176068}.cq15-twin svg{width:100%;height:auto;background:#fff;border:1px solid #e1eaea;border-radius:9px}
.cq15-result{font-size:.9rem;color:#29636b;margin:10px 0 0!important}.cq15-controls{display:flex;gap:20px;flex-wrap:wrap}
.cq15-lab [data-role=history-chart]{display:block;width:100%;height:auto;max-width:750px;margin:10px auto}
.cq15-case{border-radius:14px;border:1px solid #c9e1e1;background:#f6faf9;padding:18px;margin:20px 0}
.cq15-case-value{font-size:2.7rem;font-weight:800;color:#ba621e;line-height:1.1}
.cq15-case-value small{display:block;font-size:13px;color:#586c71;font-weight:500;margin-top:7px}
.cq15-case-buttons{display:flex;gap:10px;flex-wrap:wrap}.cq15-case-buttons button{padding:11px 14px;border:1px solid #81b6b8;background:white;color:#15515b;border-radius:9px;cursor:pointer;font-weight:600;max-width:100%;text-align:left}
.cq15-case-buttons button:hover,.cq15-case-buttons button:focus{background:#e5f5f3;outline-color:#0b7278}
.cq15-case-feedback{min-height:32px;color:#275760}.cq15-analysis li{padding:6px 0}
@media(max-width:700px){.cq15-gallery,.cq15-flow,.cq15-two-col,.cq15-twin,.cq15-inline-media,.cq15-stages,.cq15-stages3{grid-template-columns:1fr}.cq15-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.cq15-lab-head{display:block}.cq15-lab-head small{display:block;text-align:left;margin-top:5px}.cq15-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.cq15-two-col .cq15-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Responsive reading polish (applies equally to FR and EN). */
.article,.main,.shell,.cq15,.cq15 > * { min-width:0; }
.article img,.article svg,.article video { max-width:100%; }
.article pre { max-width:100%;overflow-x:auto;overscroll-behavior-x:contain; }
.article table { max-width:100%; }
.article .cq15-table-scroll { -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; }
.article .cq15-table-scroll:focus-visible { outline:3px solid #16899a;outline-offset:3px; }
@media (max-width:930px) {
  .top { min-height:64px;height:auto;padding:8px 14px;gap:9px;flex-wrap:wrap; }
  .top .toggle { min-width:44px;min-height:44px;justify-content:center; }
  .top .bridge-lang a { min-height:40px;display:inline-flex;align-items:center;justify-content:center; }
  .top a:last-child { min-height:40px;display:inline-flex;align-items:center; }
  .sidebar.open { top:64px;max-height:calc(100dvh - 64px);overscroll-behavior:contain; }
  .sidebar a { min-height:42px;display:flex;align-items:center; }
  .bottom-nav { flex-wrap:wrap; }
  .bottom-nav a { min-height:44px;display:flex;align-items:center; }
  .article .cq15-table-scroll { position:relative; }
  .article :is(button,select,input[type="button"]) { touch-action:manipulation; }
}
@media (max-width:600px) {
  .shell { padding-inline:clamp(13px,4vw,22px); }
  .top .brand { letter-spacing:.095em;font-size:13px; }
  .top .brand small { display:none; }
  .article { overflow-wrap:break-word; }
  .article h1,.article h2,.article h3 { text-wrap:pretty; }
  .article .cq15-case-buttons button { min-height:44px; }
  .article .cq15-table-scroll { margin-inline:0; }
  .article figure figcaption { padding:11px 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .readingline { transition:none; }
}

/* BRIDGE CQ IRM — stable, collapsible section navigation (FR/EN). */
.toc{min-width:0;align-self:start;position:sticky;top:86px;padding-top:14px;max-height:calc(100dvh - 104px);display:flex;flex-direction:column;overflow:hidden;border:1px solid transparent;border-radius:12px}
.toc-heading{display:flex;align-items:center;gap:4px;padding:3px 0 7px 0;border-bottom:1px solid var(--line);flex:0 0 auto}
.toc-title{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);flex:1;min-width:0}
.toc-collapse{display:inline-flex;align-items:center;gap:3px;justify-content:center;cursor:pointer;border:1px solid #d6e6e1;border-radius:8px;background:#f6faf8;color:#23665c;font:600 11px/1.2 system-ui,sans-serif;min-height:30px;padding:5px 7px}
.toc-collapse:hover{background:#eaf5f0;border-color:#9bc9bd}
.toc-collapse:focus-visible,.toc-mobile-trigger:focus-visible{outline:3px solid #0c8979;outline-offset:2px}
.toc-chevron{font-size:15px;display:inline-block;line-height:1;transition:transform .15s}
.toc-collapsed .toc-chevron{transform:rotate(-90deg)}
.toc-links{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a8c4b9 transparent;padding:10px 2px 5px 0}
.toc a{overflow-wrap:anywhere;border-left:2px solid var(--line);padding:9px 5px 9px 12px}
.toc a.active{border-left:3px solid var(--teal);padding-left:11px;background:#edf8f3;border-radius:0 8px 8px 0}
.toc a:focus-visible{outline:2px solid #0c8979;outline-offset:-2px}
.toc-collapsed{max-height:none;align-self:start}
.toc-collapsed .toc-links{display:none}
.toc-mobile-trigger{display:none}
@media(max-width:1320px){
 .toc{display:none}
 .toc-mobile-trigger{display:inline-flex;align-items:center;gap:8px;border:1px solid #a5cdc3;background:#f2f9f5;color:#17695f;border-radius:10px;padding:10px 14px;min-height:44px;font:700 13px/1.3 system-ui,sans-serif;cursor:pointer;position:sticky;top:calc(var(--bridge-top-height,64px) + 10px);z-index:20;margin:0 0 22px;box-shadow:0 2px 8px #173c3c12}
 .toc.toc-mobile-open{position:fixed;z-index:42;top:calc(var(--bridge-top-height,64px) + 59px);right:clamp(12px,3vw,28px);left:auto;width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - var(--bridge-top-height,64px) - 77px);display:flex;background:white;border:1px solid #c7ded6;box-shadow:0 12px 35px #0b272c35;border-radius:13px;padding:13px}
 .toc.toc-mobile-open .toc-links{overflow-y:auto}
 .toc.toc-mobile-open.toc-collapsed .toc-links{display:none}
}
@media(max-width:600px){
 .toc-mobile-trigger{top:calc(var(--bridge-top-height,64px) + 10px)}
 .toc.toc-mobile-open{top:calc(var(--bridge-top-height,64px) + 59px);max-height:calc(100dvh - var(--bridge-top-height,64px) - 77px)}
}
@media(prefers-reduced-motion:reduce){.toc-chevron{transition:none}}


/* BRIDGE CQ IRM — genuinely retract the right-hand TOC and give space back to the article.
   Desktop only: mobile/tablet still use the separate floating TOC. */
@media (min-width:1321px) {
  .shell {
    grid-template-columns:260px minmax(0,1fr) 210px;
    max-width:1510px;
    gap:30px;
    transition:grid-template-columns .24s ease, gap .24s ease, max-width .24s ease;
  }
  .shell.toc-is-collapsed {
    grid-template-columns:260px minmax(0,1fr) 44px;
    max-width:1610px;
    gap:22px;
  }
  .shell.toc-is-collapsed .main {min-width:0;}
  .shell.toc-is-collapsed .article {max-width:1100px;}
  .shell.toc-is-collapsed .toc {
    width:44px;min-width:44px;max-width:44px;
    margin:0; padding:14px 0 0; overflow:visible;
    justify-self:end; border:0; background:transparent;
  }
  .shell.toc-is-collapsed .toc-heading {
    padding:0; border:0; justify-content:center;
    width:44px;
  }
  .shell.toc-is-collapsed .toc-title,
  .shell.toc-is-collapsed .toc-fold-label {display:none;}
  .shell.toc-is-collapsed .toc-collapse {
    width:44px;height:44px;min-height:44px;padding:0;
    border-radius:11px;box-shadow:0 2px 9px #173c3c12;
  }
  .shell.toc-is-collapsed .toc-chevron {font-size:25px;transform:none;}
  .shell.toc-is-collapsed .toc-links {display:none;}
}
/* In floating/mobile navigation, the saved desktop collapse is not applied to the overlay. */
@media (max-width:1320px) {
  .toc.toc-mobile-open.toc-collapsed .toc-links {display:block;}
  .toc.toc-mobile-open.toc-collapsed .toc-title {display:block;}
  .toc.toc-mobile-open.toc-collapsed .toc-heading {width:auto;border-bottom:1px solid var(--line);}
  .toc.toc-mobile-open .toc-collapse {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  .shell {transition:none!important;}
}
