
html body{--rail-papier:#efe6d0;--rail-encre:#241c14;--rail-brun:#6b5836;--rail-rouge:#8a2a1f;--rail-bleu:#234f83}
.cc-bande-oeuvre,.cc-bande-oeuvre *{box-sizing:border-box}
.cc-bande-oeuvre{font-family:'Lato','Inter',system-ui,sans-serif;line-height:1.7;color:var(--rail-encre);background:var(--rail-papier)}
.cc-bande-oeuvre p{padding:0}.cc-bande-oeuvre nav{display:block}.cc-bande-oeuvre [hidden]{display:none!important}
.cc-bande-oeuvre .be-retour{display:inline-block;font-size:12px;color:var(--rail-brun);text-decoration:none;margin:0 0 14px}
.cc-bande-oeuvre .be-titre{font-weight:900;font-size:15px;line-height:1.25;margin:0 0 3px;font-style:italic}
.cc-bande-oeuvre .be-sous{font-size:11.5px;font-style:italic;color:var(--rail-brun);margin:0 0 4px}
.cc-bande-oeuvre .be-quoi{font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#7A4A2A;margin:12px 0 10px;padding-bottom:8px;border-bottom:2px solid var(--rail-rouge)}
.cc-bande-oeuvre .be-g{font-weight:800;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--rail-rouge);margin:16px 0 4px;padding-left:9px}
.cc-bande-oeuvre a.be-l{display:block;font-size:12.5px;line-height:1.3;padding:5px 9px;margin-bottom:1px;color:#4a4436;text-decoration:none;border-left:3px solid transparent}
.cc-bande-oeuvre a.be-l:hover{background:#fdf6e6;color:var(--rail-encre)}
.cc-bande-oeuvre a.be-l.ici{background:#fdf6e6;color:var(--rail-encre);font-weight:700;border-left-color:var(--rail-rouge)}
.cc-bande-oeuvre .be-rubrique-fixe{border-top:1px solid rgba(66,48,29,.16);padding:.62rem 0 .2rem}
.cc-bande-oeuvre .be-rubrique-fixe>span{display:block;color:var(--rail-rouge);font-size:.73rem;font-weight:800;letter-spacing:.06em;line-height:1.25;text-transform:uppercase}
.cc-bande-oeuvre .be-rubrique-fixe>small{display:block;margin-top:.18rem;font-size:.68rem;font-style:italic;opacity:.72}
.cc-bande-oeuvre .be-courant{display:block;padding:.25rem 0 .35rem}
.cc-bande-oeuvre .be-volet{display:block!important;border:0!important;border-top:1px solid rgba(66,48,29,.16)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:.45rem 0!important}
.cc-bande-oeuvre .be-volet>summary{display:block!important;cursor:pointer;list-style:none;padding:.42rem 1.8rem .4rem 0!important;margin:0!important;color:inherit!important;position:relative;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.cc-bande-oeuvre .be-volet>summary::-webkit-details-marker{display:none}
.cc-bande-oeuvre .be-volet>summary span{display:block;font-size:.68rem;font-weight:600;letter-spacing:normal;line-height:1.25;text-transform:none;color:var(--rail-rouge);padding-right:1.2rem;position:relative}
.cc-bande-oeuvre .be-volet:not([open]) .be-ouvrir{display:block!important}.cc-bande-oeuvre .be-volet:not([open]) .be-fermer{display:none!important}.cc-bande-oeuvre .be-volet[open] .be-ouvrir{display:none!important}.cc-bande-oeuvre .be-volet[open] .be-fermer{display:block!important}
.cc-bande-oeuvre .be-signe{position:absolute;right:0;top:.3rem;font-size:1.65rem;line-height:1;font-weight:400}
.cc-bande-oeuvre .be-signe::before{content:'+'}.cc-bande-oeuvre .be-volet[open]>.be-signe::before,.cc-bande-oeuvre .be-volet[open]>summary .be-signe::before{content:'−'}
.cc-bande-oeuvre .be-volet-contenu{padding:0 0 .45rem}.cc-bande-oeuvre .be-volet:not([open])>.be-volet-contenu{display:none!important}
.cc-bande-oeuvre .be-antre-isole{margin-top:2.6rem;padding-top:1.15rem;border-top:1px solid rgba(35,79,131,.28)}
.cc-bande-oeuvre .be-antre-isole a{display:block;color:var(--rail-bleu)!important;font-weight:850;letter-spacing:.025em;text-decoration:none}
.cc-bande-oeuvre .be-antre-isole small{display:block;margin-top:.25rem;color:#486b93;font-size:.67rem;font-style:italic;line-height:1.35}
@media (min-width:1181px){html body{padding-left:250px!important}.cc-bande-oeuvre{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:250px!important;height:auto!important;max-height:none!important;overflow-y:auto!important;z-index:60!important;padding:26px 14px 40px!important;margin:0!important;border-right:1px solid #a89a80!important}}
@media (min-width:900px) and (max-width:1180px){html body{padding-left:0!important}.cc-bande-oeuvre{display:none!important}}
@media (max-width:899px){html body{padding-left:0!important}.cc-bande-oeuvre{display:block!important;position:relative!important;inset:auto!important;width:calc(100vw - 2rem)!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 1.25rem calc(50% - 50vw + 1rem)!important;padding:1rem!important;border:1px solid #a89a80!important}.cc-bande-oeuvre .be-volet-contenu{max-height:none!important}}
@media print{html body{padding-left:0!important}.cc-bande-oeuvre{display:none!important}}

/* Adaptation au plan Philosophie : largeur du moule conservée, mobilier dans le flux sur petit écran. */
html{overflow-x:clip}html body{margin:0;overflow-x:clip}
body.phi-page{padding:0;color:var(--ink);background:var(--bg)}
.page{width:100%;min-width:0;box-sizing:border-box}
body.phi-page main.wrap{max-width:49rem;margin:0 auto;padding:1.25rem clamp(.6rem,3vw,1.5rem) 2.2rem}
#rail-oeuvre{hyphens:none;word-break:normal;overflow-wrap:normal}
#rail-oeuvre a{white-space:normal}#rail-oeuvre summary{cursor:pointer;font-size:1rem}
body #rail-oeuvre{--rail-papier:var(--paper,#efe6d0);--rail-encre:var(--ink,#241c14);--rail-brun:var(--muted,#6b5836);--rail-rouge:var(--accent,#8a2a1f);background:var(--rail-papier);color:var(--rail-encre)}
body #rail-oeuvre .be-l{font-size:.98rem;color:var(--rail-encre)}
body #rail-oeuvre .be-l:hover,body #rail-oeuvre .be-l.ici{background:var(--accent-soft,#fdf6e6);color:var(--rail-encre)}
body #rail-oeuvre .be-titre{font-size:1.2rem;font-style:normal}
body #rail-oeuvre .be-g{font-size:.8rem}body #rail-oeuvre .be-sous{font-size:.9rem}
body #rail-oeuvre .be-retour{font-size:.95rem}
@media(min-width:1181px){html body{padding-left:250px!important}#rail-oeuvre{width:250px!important}#rail-oeuvre>details>summary{display:none}}
@media(max-width:1180px){html body{padding-left:0!important}body #rail-oeuvre{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:1rem!important;border:0!important;border-bottom:1px solid var(--line,#a89a80)!important}body #rail-oeuvre .be-titre{margin-bottom:.4rem}}
.vague-de-cloture{width:100%;clear:both;box-sizing:border-box;margin:1.5rem 0 0;padding:1.3rem 1rem;border-top:1px solid var(--line,#cbbfa4);text-align:center}
.vague-de-cloture img{display:block;width:132px;max-width:100%;height:auto;margin:0 auto}
footer{width:100%;box-sizing:border-box;margin:0;padding:1rem;color:var(--muted,#6d5f53);background:var(--bg,#f6efe0);border-top:1px solid var(--line,#cbbfa4)}
footer .wrap{max-width:49rem;margin:auto;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between}footer a{color:inherit}
.dissertation-porte{border-left:4px solid var(--c1,#1f5fa8);background:var(--t1,#e8f0fa);padding:.8rem 1rem}.dissertation-porte a{color:inherit}
@media(max-width:420px){.sommaire{grid-template-columns:1fr}.chip{white-space:normal}.tblw{max-width:100%}figure.presse{padding:.3rem}.texte{padding:.65rem}.etapes li{padding:.6rem}.el::before{max-width:100%;white-space:normal}}
@media print{body #rail-oeuvre{display:none!important}html body{padding-left:0!important}}

/* Garamond demandé expressément par Patrick le 19 octobre 2026. */
:root{--body:"EB Garamond",Garamond,serif;--display:"EB Garamond",Garamond,serif;--mono:"EB Garamond",Garamond,serif}
body *::before,body *::after{font-family:"EB Garamond",Garamond,serif!important}
/* Seconde passe : les copies et les listes du lot complet gardent leur colonne. */
body.phi-page main.wrap{max-width:55rem}
body.phi-page .copie,body.phi-page .texte{min-width:0;overflow-wrap:anywhere}
body.phi-page .phi-retour{margin:0 0 .8rem;font-size:.95rem}
body.phi-page .phi-retour a{color:var(--accent)}
@media(max-width:420px){.sommaire,.recits,.grille,.qui-grid{grid-template-columns:1fr!important}.copie{padding:.65rem!important}.el{padding:.15rem .35rem}.liste a{padding:.5rem}.legende{gap:.25rem}.legende span{line-height:1.3}.rep{overflow-wrap:anywhere}.bar{position:relative}.mv{overflow-wrap:anywhere}}

/* V183 : deux rails, largeur de lecture retranchée des deux côtés. */
@media(min-width:1181px){html body{padding-left:250px!important;padding-right:230px!important}}
@media(max-width:1180px){html body{padding-left:0!important;padding-right:0!important}}
#g-work-rail,#g-work-rail a,#g-page-rail,#g-page-rail a{hyphens:none;word-break:normal;overflow-wrap:normal}
#g-work-rail a.be-l,#g-work-rail a.be-n,#g-page-rail a{font-size:1rem;line-height:1.3}
#g-work-rail .be-g,#g-work-rail .be-fam,#g-page-rail summary{font-size:.87rem}
#g-work-rail .be-sg,#g-work-rail .be-note,#g-work-rail .be-sous{font-size:.88rem}
#g-work-rail .be-titre{font-size:1.2rem}#g-work-rail .be-retour{font-size:.95rem}
html[data-theme="dark"] #g-work-rail,html[data-theme="dark"] #g-page-rail{background:#221c16;color:#efe6dc}
html[data-theme="dark"] #g-work-rail a,html[data-theme="dark"] #g-page-rail a{color:#e3d7c8}
.phi-famille{margin-top:2rem}.phi-famille>.oe{font-size:1.65rem}.work-head h3{font-size:1.4rem;line-height:1.25;margin:.2rem 0}.phi-programme-note{font-style:italic}
@media print{html body{padding-left:0!important;padding-right:0!important}#g-work-rail,#g-page-rail{display:none!important}}
/* Fil d'Ariane de la philosophie, adouci (Patrick, 09/11/2026, 18 h 07) */
.phi-top{padding:.65rem 1rem;border-bottom:1px solid var(--line,#cbbfa4);background:color-mix(in srgb,var(--bg,#fbf8f3) 70%,var(--accent-soft,#f1e6da))}
.phi-top .wrap{max-width:49rem;margin:auto;display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.9rem;color:var(--muted,#6d5f53)}
.phi-top a{font-size:.9rem;line-height:1.2;color:var(--muted,#6d5f53);text-decoration:none;padding:.3rem .75rem;border-radius:999px;background:var(--paper,#fff);border:1px solid var(--line,#e4dacd);transition:color .15s,border-color .15s}
.phi-top a:hover,.phi-top a:focus-visible{color:var(--accent,#7a4a2a);border-color:var(--accent,#7a4a2a)}
.phi-top a:last-child{color:var(--ink,#221a14);font-weight:600;background:var(--accent-soft,#f1e6da);border-color:transparent}
@media (max-width:30rem){.phi-top a{font-size:.85rem;padding:.25rem .6rem}}
@media print{.phi-top{display:none}}
