
:root{--gm-accent:#f2df3a;--gm-ink:#1b2236;--gm-paper:#f5efe0}
.ponge-grammaire main,.ponge-exercices-grammaire main{box-sizing:border-box;min-width:0;width:100%;padding:28px 30px;margin:0 auto;max-width:1120px}
.ponge-grammaire .lesson-shell,.ponge-grammaire .man-lucie-shell{display:block}.ponge-grammaire .cc-rail{display:none}
.ponge-grammaire .lesson-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.ponge-grammaire .lesson-card,.ponge-grammaire .lesson-ear{grid-column:auto;min-width:0;box-sizing:border-box}
.ponge-grammaire .lesson-card{padding:24px}.ponge-grammaire .lesson-entry h1{font-size:clamp(2rem,4vw,3.2rem)}
.ponge-grammaire .lesson-entry .lesson-ear img{height:auto;min-height:0;object-fit:contain;aspect-ratio:auto}
.ponge-grammaire .lesson-copy{max-width:850px}.gm-porte audio{max-width:100%;width:100%}
.sophie-portrait{max-width:420px}.sophie-portrait img{width:100%;height:auto}
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:100;background:#fbf7ec;padding:8px}
.statut-pilote{border-left:4px solid #d63a2a;padding:12px;background:#fbf7ec}
.ponge-exercices-grammaire .madras-card{border-top-color:#1b2236}
.ponge-exercices-grammaire .card-madras{background:linear-gradient(90deg,#1b2236 0 20%,#d63a2a 20% 40%,#f2df3a 40% 60%,#6c8c9e 60% 80%,#7c9a86 80%)}
.ponge-exercices-grammaire .map-svg .anneau{fill:#fbf7ec;stroke:#1b2236}.ponge-exercices-grammaire .map-svg .gagnee .anneau{stroke:#f2df3a;stroke-width:8}
.guichet-bo{margin:30px 0;border:1px solid #7897b5;padding:14px}.guichet-bo summary{cursor:pointer}
.ponge-exercices-grammaire .map-step-link text{fill:#1b2236}
@media(max-width:980px){.ponge-grammaire main,.ponge-exercices-grammaire main{margin:0 auto;padding:18px 16px;max-width:100%}}
@media(max-width:759px){.ponge-grammaire .lesson-entry{grid-template-columns:1fr}.ponge-grammaire .lesson-card{padding:18px}}
@media(max-width:390px){.ponge-grammaire main,.ponge-exercices-grammaire main{padding:12px 8px}.gm-porte{min-width:0}.lesson-entry{display:block!important}.lesson-card{min-width:0}.lesson-ear{margin:14px 0}.table-scroll{max-width:100%;overflow:auto}.choices .choice{padding:10px}.exercise-question{overflow-wrap:anywhere}}

.sophie-lecons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0}.sophie-lecon{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid #6c8c9e;background:#fbf7ec;text-decoration:none}.sophie-lecon img{width:100%;height:auto}.sophie-lecon strong{font-size:1.6rem}.site-footer{padding:24px;text-align:center}@media(max-width:759px){.sophie-lecons{grid-template-columns:1fr}}
