/* GoMathy V19 — exercices : progression lisible, correction au niveau de la question, mise en page plus compacte. */
.gm19-exercise-page{max-width:1260px!important}
.gm19-exercise-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 16px;padding:2px}
.gm19-exercise-head__title{display:flex;align-items:flex-start;gap:13px;min-width:0}.gm19-exercise-head__title>span{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #dbeafe;border-radius:15px;background:#fff;font-size:1.55rem;box-shadow:0 9px 24px -20px rgba(15,23,42,.65)}
.gm19-exercise-head__title p{margin:0;color:#64748b;font-size:.69rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.gm19-exercise-head__title h2{margin:.12rem 0 0;color:#0f172a;font:900 clamp(1.75rem,3vw,2.55rem)/1.08 Georgia,serif}.gm19-exercise-head__title small{display:block;margin-top:.45rem;color:#64748b;font-size:.82rem;font-weight:700}
.gm19-exercise-head__stats{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.gm19-exercise-head__stats span{display:flex;align-items:baseline;gap:5px;border:1px solid #dbe3ec;background:#fff;border-radius:12px;padding:8px 10px;color:#64748b;font-size:.72rem;font-weight:800}.gm19-exercise-head__stats strong{color:#0f172a;font-size:.95rem}
.gm19-path{display:grid;grid-template-columns:minmax(150px,.7fr) repeat(5,minmax(110px,1fr));gap:7px;align-items:stretch;margin:0 0 14px;padding:8px;border:1px solid #dbe5ef;border-radius:17px;background:#fff;box-shadow:0 10px 28px -28px rgba(15,23,42,.6)}.gm19-path>div{display:flex;flex-direction:column;justify-content:center;padding:4px 8px}.gm19-path>div>span{color:#334155;font-size:.78rem;font-weight:950}.gm19-path>div>small{color:#94a3b8;font-size:.66rem}.gm19-path__step{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;color:#475569;font-size:.71rem;font-weight:900;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}.gm19-path__step:hover{transform:translateY(-1px);border-color:#bfdbfe;background:#eff6ff}.gm19-path__step span{font-size:.88rem}.gm19-path__step--bilan{background:#fffbeb;border-color:#fde68a;color:#92400e}
.gm19-exercise-page .gm-ex76-filters{margin-bottom:14px;border-radius:15px;box-shadow:none}.gm19-exercise-page .gm-ex76-filters>summary{padding:10px 13px;font-size:.79rem}.gm19-exercise-page .gm-ex76-filters__grid{gap:8px;padding:0 13px 10px}.gm19-exercise-page .gm-ex76-filter-reset{margin:0 13px 11px}
.gm19-stage-list{display:grid;gap:14px}.gm19-stage{scroll-margin-top:16px;overflow:hidden;border:1px solid #dbe3ec;border-radius:20px;background:#fff;box-shadow:0 14px 34px -34px rgba(15,23,42,.7)}.gm19-stage__head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-bottom:1px solid #edf2f7;background:#fbfdff}.gm19-stage__identity{display:flex;align-items:center;gap:11px;min-width:0}.gm19-stage__icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#fff;border:1px solid #e2e8f0;font-size:1.1rem}.gm19-stage__identity p{margin:0 0 1px;color:#64748b;font-size:.66rem;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.gm19-stage__identity h3{margin:0;color:#0f172a;font:900 1.1rem/1.2 Georgia,serif}.gm19-stage__identity div>div{margin-top:3px;color:#64748b;font-size:.8rem;line-height:1.35}.gm19-stage__stats{flex:0 0 auto;min-width:86px;padding-left:14px;border-left:1px solid #e2e8f0;text-align:right}.gm19-stage__stats strong{display:block;color:#0f172a;font-size:1.1rem}.gm19-stage__stats span,.gm19-stage__stats small{display:block;color:#64748b;font-size:.67rem;font-weight:750}
.gm19-stage--essentiel .gm19-stage__head{background:linear-gradient(90deg,#f0fdf4,#fbfdff)}.gm19-stage--application .gm19-stage__head{background:linear-gradient(90deg,#eff6ff,#fbfdff)}.gm19-stage--raisonnement .gm19-stage__head{background:linear-gradient(90deg,#f5f3ff,#fbfdff)}.gm19-stage--defi .gm19-stage__head{background:linear-gradient(90deg,#fff7ed,#fbfdff)}.gm19-stage--bilan{border-color:#f3d58a}.gm19-stage--bilan .gm19-stage__head{background:linear-gradient(90deg,#fffbeb,#fffdf6)}
.gm19-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.gm19-question{min-width:0;padding:16px 17px 15px;border-bottom:1px solid #eef2f6}.gm19-question:nth-child(odd){border-right:1px solid #eef2f6}.gm19-question:nth-last-child(-n+2){border-bottom:0}.gm19-question-grid>.gm19-question:only-child{grid-column:1/-1;border-right:0;border-bottom:0}.gm19-stage--bilan .gm19-question-grid{grid-template-columns:1fr}.gm19-stage--bilan .gm19-question{border-right:0!important;border-bottom:1px solid #f5ead0!important}.gm19-stage--bilan .gm19-question:last-child{border-bottom:0!important}
.gm19-question__top{display:flex;align-items:center;gap:9px;margin-bottom:9px}.gm19-question__number{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#0f172a;color:#fff;font-size:.75rem;font-weight:950}.gm19-question__origin{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.gm19-question__origin>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:.69rem;font-weight:900}.gm19-question__origin>small{border-radius:999px;background:#f1f5f9;padding:3px 7px;color:#64748b;font-size:.62rem;font-weight:850}
.gm19-question__statement{color:#0f172a;font:700 1rem/1.62 Georgia,serif;overflow-wrap:anywhere}.gm19-question .gm-ex76-meta{gap:5px;margin-top:10px}.gm19-question .gm-ex76-meta span{min-height:25px;padding:3px 7px;font-size:.64rem;background:#f8fafc}
.gm19-question__tools{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.gm19-help{border:1px solid #e2e8f0;border-radius:10px;background:#fff;overflow:hidden}.gm19-help summary{cursor:pointer;list-style:none;padding:7px 9px;color:#475569;font-size:.68rem;font-weight:900}.gm19-help summary::-webkit-details-marker{display:none}.gm19-help>div{border-top:1px solid #edf2f7;padding:8px 9px;color:#475569;font-size:.73rem;line-height:1.45}.gm19-help small{display:block;padding:0 9px 8px;color:#64748b;font-size:.64rem}.gm19-help--hint[open]{border-color:#bfdbfe;background:#f8fbff}.gm19-help--mistake[open]{border-color:#fed7aa;background:#fffaf5}
.gm19-correction{margin-top:8px;border:1px solid #ccebdc;border-radius:11px;background:#fbfffd;overflow:hidden}.gm19-correction>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;color:#047857;font-size:.72rem;font-weight:950}.gm19-correction>summary::-webkit-details-marker{display:none}.gm19-correction>summary small{color:#94a3b8;font-size:.61rem;font-weight:700}.gm19-correction[open]>summary{border-bottom:1px solid #d1fae5;background:#f0fdf4}.gm19-correction__body{padding:10px;color:#334155;font-size:.78rem;line-height:1.52}.gm19-correction__body .gm-v104-correction{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.gm19-correction__body .gm-v104-correction__row{grid-template-columns:minmax(110px,145px) 1fr;gap:7px;padding:.5rem .55rem;border-radius:9px}.gm19-correction__body .gm-v104-correction__solution{grid-column:1/-1}.gm19-correction__body .gm-v109-correction,.gm19-correction__body .gm19-premium-correction{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gm19-correction__body .gm-v109-correction__work,.gm19-correction__body .gm19-premium-correction__work{grid-column:1/-1}.gm19-premium-correction>div{display:grid;grid-template-columns:minmax(110px,145px) 1fr;gap:8px;padding:8px 9px;border:1px solid #dceee5;border-radius:9px;background:#fff}.gm19-premium-correction__work{background:#f0fdf4!important;border-color:#bbf7d0!important}
.gm19-chapter-card{display:flex!important;flex-direction:column}.gm19-chapter-card .gomathy-course-card__meta{min-height:2.8rem}.gm19-card-path{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0 12px}.gm19-card-path i{font-style:normal;border:1px solid rgba(148,163,184,.28);border-radius:999px;background:rgba(255,255,255,.72);padding:3px 6px;color:#64748b;font-size:.58rem;font-weight:850}.gm19-chapter-card .gomathy-course-card__action{margin-top:auto}
@media(max-width:1050px){.gm19-path{grid-template-columns:repeat(3,minmax(0,1fr))}.gm19-path>div{grid-column:1/-1}.gm19-question-grid{grid-template-columns:1fr}.gm19-question{border-right:0!important;border-bottom:1px solid #eef2f6!important}.gm19-question:last-child{border-bottom:0!important}}
@media(max-width:760px){.gm19-exercise-head{align-items:flex-start;flex-direction:column}.gm19-exercise-head__stats{justify-content:flex-start}.gm19-path{grid-template-columns:1fr 1fr}.gm19-question{padding:14px}.gm19-stage__head{align-items:flex-start}.gm19-stage__identity div>div{display:none}.gm19-question__tools{grid-template-columns:1fr}.gm19-correction__body .gm-v104-correction,.gm19-correction__body .gm-v109-correction,.gm19-correction__body .gm19-premium-correction{grid-template-columns:1fr}.gm19-correction__body .gm-v104-correction__row,.gm19-premium-correction>div{grid-template-columns:1fr;gap:3px}.gm19-correction__body .gm-v104-correction__solution,.gm19-correction__body .gm-v109-correction__work,.gm19-correction__body .gm19-premium-correction__work{grid-column:auto}}
@media(max-width:520px){.gm19-path{grid-template-columns:1fr}.gm19-exercise-head__title h2{font-size:1.65rem}.gm19-exercise-head__stats span{padding:6px 8px}.gm19-correction>summary small{display:none}}
@media(prefers-reduced-motion:reduce){.gm19-path__step{transition:none!important}}
