/* Phyastro · édition octobre 2026 */
:root{--paris-paper:#f7f1e6;--paris-sheet:#fffdf7;--paris-ink:#2f2924;--paris-muted:#74695f;--paris-green:#234a40;--paris-wine:#7e3f43;--paris-rule:rgba(70,55,43,.22);scroll-behavior:auto}
.site-shell{--paper:var(--paris-paper)}
.site-footer{border-top:1px solid var(--paris-rule)}
.alpha-minecraft-badge{display:none!important}
.hero-tesseract,.hero-tesseract-vignette{display:block!important}
.problems-page .route-progress{display:flex;flex-wrap:wrap;gap:18px;background:transparent;box-shadow:none;border-radius:0;border-bottom:1px solid var(--paris-rule)}
.problems-page .route-progress i{display:none}
.problems-page .route-progress a{box-shadow:none;border-radius:0;background:transparent;transform:none!important}
.problems-page .route-progress{border:0!important;border-bottom:1px solid var(--paris-rule)!important;padding:14px 0!important;min-height:0!important}
.problems-page .route-progress a,.problems-page .route-progress a.active{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:4px 0!important}
.problems-page .route-progress a b,.problems-page .route-progress a.active b{background:none!important;color:var(--paris-wine)!important;border:0!important;border-radius:0!important;font:1rem Georgia,serif;box-shadow:none!important;width:auto!important;height:auto!important;margin-right:8px}
.problems-page .route-progress a span{color:var(--paris-muted)!important;font-size:.85rem}
.problems-page main{background:var(--paris-paper)}
.problems-hero{background:transparent!important;color:var(--paris-ink)!important;min-height:0;padding-block:62px 38px!important}
.problems-hero h1{color:var(--paris-ink)!important;font-size:clamp(2.5rem,5vw,4.2rem)!important;line-height:1.12;letter-spacing:-.025em}
.problems-hero .kicker,.problems-hero p{color:var(--paris-muted)!important}
.problem-explorer-wrap{max-width:1180px;margin:auto}
.problem-tools{border:1px solid var(--paris-rule)!important;border-radius:2px!important;box-shadow:none!important;background:var(--paris-sheet)!important}
.problem-grid{display:block!important;border-top:2px solid var(--paris-green)}
.problem-card{display:grid!important;grid-template-columns:90px minmax(0,1fr) 155px;gap:8px 24px;padding:24px 18px!important;border:0!important;border-bottom:1px solid var(--paris-rule)!important;border-radius:0!important;background:transparent!important;color:var(--paris-ink)!important;transform:none!important;position:relative;min-height:unset!important}
.problem-card:hover,.problem-card:focus-visible{background:#fffdf780!important}
.problem-card-header{grid-column:2;grid-row:1;justify-content:flex-start!important;gap:18px;color:var(--paris-muted);font-size:.78rem}
.problem-card-header span{background:none!important;padding:0!important;color:inherit!important}
.problem-card .problem-reference{grid-column:1;grid-row:1/4;margin:0!important;font:1.05rem Georgia,serif;color:var(--paris-wine)!important}
.problem-card .problem-chapter{grid-column:2;grid-row:2;color:var(--paris-muted)!important;margin:0!important;font-size:.79rem}
.problem-card h2{grid-column:2;grid-row:3;font-size:1.45rem!important;color:var(--paris-ink)!important;margin:0!important;line-height:1.25}
.problem-card>p:not([class]){grid-column:2;grid-row:4;margin:0;color:var(--paris-muted);max-width:760px}
.problem-card-footer{grid-column:3;grid-row:1/5;border:0!important;display:flex;flex-direction:column;align-items:end!important;justify-content:center;gap:18px;white-space:normal;text-align:right}
.problem-card-open{font-weight:500!important;color:var(--paris-green)!important;font-size:.85rem}
.problem-card-footer b{font-weight:400}
.problem-card.is-solved{border-left:3px solid var(--paris-green)!important}
.problem-card .solved-stamp{position:static;grid-column:1;grid-row:4;font-size:.72rem;transform:none;border:0;background:none;color:var(--paris-green);padding:0}
.register-pagination{display:flex;gap:24px;justify-content:center;align-items:center;padding:32px 0}
.register-pagination button{padding:10px 18px;border:1px solid var(--paris-rule);background:var(--paris-sheet);color:var(--paris-green);cursor:pointer}
.register-pagination button:disabled{opacity:.4;cursor:default}
.problem-detail-page main,.lesson-section-page main{background:var(--paris-paper)}
.problem-detail-hero{background:none!important;color:var(--paris-ink)!important}
.problem-detail-hero h1{color:var(--paris-ink)!important}
.problem-detail-content,.problem-detail-aside{border-radius:2px!important;box-shadow:none!important;background:var(--paris-sheet)!important}
.problem-detail-formula{font-family:Georgia,serif!important;background:transparent!important;border:0!important;border-block:1px solid var(--paris-rule)!important;color:var(--paris-ink)!important}
.problem-formula-line{overflow-x:auto;overflow-y:hidden;max-width:100%;padding:12px 0!important}
.math-fragment{font-size:1em}
mjx-container[display='true']{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:6px 0;margin:12px 0!important;text-align:left!important}
mjx-container[display='true']>svg{max-width:none!important}
.problem-detail-formula mjx-container{font-size:105%!important}
.editable-lesson-content{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:var(--paris-ink)}
.editable-lesson-content [class*='-page']{color:var(--paris-ink)!important}
.editable-lesson-content [class*='-hero'],.editable-lesson-content [class*='-card'],.editable-lesson-content [class*='-note'],.editable-lesson-content [class*='-equation']{box-shadow:0 5px 18px #37291f0b!important;border-radius:6px!important}
.editable-lesson-content [class*='-hero']{background:var(--paris-sheet)!important;color:var(--paris-ink)!important;border-bottom:1px solid var(--paris-rule)}
.editable-lesson-content [class*='-hero'] h1,.editable-lesson-content [class*='-hero'] h2{color:var(--paris-ink)!important}
.editable-lesson-content [class*='-equation'],.rr-equation{overflow-x:auto;overflow-y:hidden;max-width:100%;background:var(--paris-sheet)!important;border-color:var(--paris-rule)!important}
.rr-typeset-output{display:block}
.fi8-note-figure img[src$='.svg']{aspect-ratio:5/3!important;object-fit:contain!important;background:var(--paris-sheet)!important}
.experiments-hero h1{font-size:clamp(2.7rem,5vw,4.3rem)!important}
.experiment-card{border-radius:2px!important;background:var(--paris-sheet)!important;transform:none!important}
.experiment-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.language-notice{padding:10px 24px;background:var(--paris-sheet);border-bottom:1px solid var(--paris-rule);color:var(--paris-muted);font-size:.85rem}
.problem-feedback-dialog{grid-template-columns:1fr!important;padding:32px!important;border-radius:2px!important;box-shadow:0 10px 30px #2f29241c!important;animation:none!important;background:var(--paris-sheet)!important}
.problem-feedback-dialog>img{display:none!important}
@media(max-width:720px){.problem-card{grid-template-columns:70px minmax(0,1fr);gap:8px 14px;padding:20px 8px!important}.problem-card-footer{grid-column:2;grid-row:5;flex-direction:row;justify-content:space-between;align-items:center!important;text-align:left}.problem-card h2{font-size:1.2rem!important}.problem-card .problem-reference{font-size:.88rem}.experiment-results{grid-template-columns:1fr!important}.problem-tools{padding:18px!important}.problem-explorer-wrap{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Retain the original Paris composition and its scientific illustrations. */
.hero-compass{animation:none!important}
.exam-orb{animation-duration:14s!important}
.problem-card .problem-reference{font-size:1.18rem;border-left:2px solid #bda26d;padding-left:12px}
.problem-card:nth-child(even){background:#fffdf74d!important}
.problem-card h2{color:var(--paris-green)!important}
.problems-hero .kicker{color:var(--paris-wine)!important;letter-spacing:.13em}
.experiment-card{box-shadow:0 7px 24px #4937260e!important;border-radius:7px!important}
.bac-page-heading{border-left:4px solid var(--paris-wine);padding-left:24px}
.bac-desk-index>a:nth-child(3n+1){border-top:2px solid #bda26d}
.bac-desk-index>a:nth-child(3n+2){border-top:2px solid var(--paris-green)}
.bac-desk-index>a:nth-child(3n){border-top:2px solid var(--paris-wine)}

/* Keep the Paris illustrations; quiet the decorative motion around the text. */
.orbit-one,.orbit-two,.star,.ring-a,.ring-b,.subject-orbit-one,.subject-orbit-two,.exam-orb{animation:none!important}
.star{box-shadow:none!important;opacity:.55}
.domain-panel,.chapter-card,.lesson-card,.experiment-card,.bac-desk-index>a,.button{transition:color 150ms ease,background-color 150ms ease,border-color 150ms ease!important}
.domain-panel:hover,.chapter-card:hover,.lesson-card:hover,.experiment-card:hover,.bac-desk-index>a:hover{transform:none!important}
.account-card,.account-security-panel{border-radius:5px!important;box-shadow:0 5px 20px #4937260c!important}
.account-security-form>p{font-size:.94rem;line-height:1.7;color:var(--paris-muted);font-weight:400}
.account-notice{border-radius:3px!important;font-size:.95rem!important;font-weight:400!important}
.auth-access-mark,.account-loading-mark{box-shadow:none!important}
.astro-intro-notes{max-width:820px;margin:auto;padding:clamp(18px,4vw,40px);background:var(--paris-sheet);border-top:3px solid var(--paris-green)}
.astro-intro-notes h2,.astro-intro-notes h3{color:var(--paris-green);line-height:1.3}
.astro-intro-notes dt{font-weight:700;margin-top:18px}.astro-intro-notes dd{margin:5px 0 20px}
.astro-relation{padding:18px 0;border-bottom:1px solid var(--paris-rule)}
.astro-equation{overflow-x:auto;padding:12px 0;max-width:100%}
.astro-scope{border-left:2px solid #bda26d;padding-left:20px;margin:28px 0}
.astro-draft-note{font: .88rem/1.7 system-ui,sans-serif;color:var(--paris-muted);border-top:1px solid var(--paris-rule);padding-top:18px;margin-top:28px}
.astro-sources{font:.88rem/1.7 system-ui,sans-serif;margin-top:24px}.astro-sources li{margin:10px 0;overflow-wrap:anywhere}
.astro-intro-notes summary{cursor:pointer;color:var(--paris-green)}
/* Paris: an index to read, with the original green, wine and engraved illustrations. */
.home-page .hero-manifesto{font-size:clamp(1.05rem,2vw,1.4rem)!important;font-weight:400!important;letter-spacing:0!important}
.domain-panel,.chapter-library-card,.lessons-hub-card{box-shadow:none!important;border-radius:4px!important}
.astro-panel{pointer-events:auto!important;filter:none!important;background:var(--paris-sheet)!important}
.astro-panel>*{filter:none!important;opacity:1!important}
.domain-panel:hover,.chapter-library-card:hover,.lessons-hub-card:hover{transform:none!important}
.subject-index-nav{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;gap:12px 28px;padding:22px 24px;border-bottom:1px solid var(--paris-rule)}
.subject-index-nav a{color:var(--paris-green);text-underline-offset:5px}
.subject-stats{background:var(--paris-paper)!important;box-shadow:none!important;border-block:1px solid var(--paris-rule);border-radius:0!important}
.subject-stats strong{color:var(--paris-wine)!important}
.lessons-hub-hero,.chapter-index-hero{background:var(--paris-green)!important;color:var(--paris-sheet);padding:clamp(28px,5vw,64px);max-width:1280px;margin:24px auto;border-radius:4px!important;box-shadow:none!important}
.lessons-hub-hero h1,.chapter-index-hero h1{font:400 clamp(2rem,4.5vw,3.7rem)/1.12 Georgia,serif;color:inherit;max-width:950px;letter-spacing:-.02em}
.chapter-index-hero a{color:#ead4a3;text-underline-offset:4px}.chapter-index-hero>p{max-width:800px;line-height:1.7}
.chapter-index-facts{display:flex;flex-wrap:wrap;gap:16px 32px;font-size:.9rem;margin-top:24px}.chapter-index-facts b{font:1.4rem Georgia,serif;margin-right:5px}
.chapter-lesson-index{max-width:1040px;margin:32px auto 64px;padding:0 24px}.chapter-lesson-index ol{list-style:none;padding:0;margin:0;border-top:2px solid var(--paris-green)}
.chapter-lesson-index li{display:flex;align-items:center;gap:20px;padding:23px 10px;border-bottom:1px solid var(--paris-rule)}
.chapter-lesson-number{flex:0 0 44px;font:1.3rem Georgia,serif;color:var(--paris-wine)}.chapter-lesson-index li>a{flex:1;min-width:0;text-decoration:none;color:var(--paris-ink)}
.chapter-lesson-index strong{display:block;font:400 1.35rem/1.4 Georgia,serif}.chapter-lesson-index small{display:block;margin-top:7px;color:var(--paris-muted);font-size:.83rem}
.chapter-lesson-index li:hover{background:var(--paris-sheet)}.chapter-lesson-arrow{color:var(--paris-green)}.lesson-read-mark{color:var(--paris-green);font-size:.8rem}
.lessons-hub-grid{display:block!important;border-top:2px solid var(--paris-green)}.lessons-hub-card{display:grid!important;grid-template-columns:54px minmax(0,1fr);border:0!important;border-bottom:1px solid var(--paris-rule)!important;background:transparent!important;padding:25px 10px!important}
.lessons-hub-card .lessons-hub-index{border:0!important;background:none!important;border-radius:0!important;color:var(--paris-wine);box-shadow:none!important}.lessons-hub-card h3 a{color:var(--paris-green);text-decoration:none}.lessons-hub-card p{max-width:800px}.lessons-hub-card>div>small{color:var(--paris-muted)}
.lesson-section-card{border-radius:3px!important;box-shadow:none!important;transform:none!important;background:var(--paris-sheet)!important}.lesson-section-card::before{display:none!important}.lesson-section-card strong{font-weight:500!important}
.lesson-section-body>.astro-intro-notes,.astro-intro-notes{box-sizing:border-box}
.astro-lesson-figure{margin:28px 0;padding:20px 10px;border-block:1px solid var(--paris-rule);background:#f5efe2}.astro-lesson-figure svg{width:100%;height:auto;display:block;max-height:350px}.astro-lesson-figure figcaption{font:.88rem/1.6 system-ui,sans-serif;color:var(--paris-muted);margin-top:16px}.astro-lesson-figure text{font:14px system-ui,sans-serif;fill:var(--paris-ink)}
.astro-steps{padding-left:24px}.astro-steps li{padding:7px 0}.astro-steps h3{margin:4px 0}.astro-practice{padding:22px 0;border-top:1px solid var(--paris-rule)}.astro-practice details{margin-top:12px}.astro-recap{border-left:3px solid var(--paris-wine);padding-left:22px;margin:24px 0}.astro-advanced{border-top:1px solid var(--paris-rule);margin:28px 0;padding-top:18px}.astro-advanced summary{font-weight:600}.astro-prerequisites{color:var(--paris-muted);font-size:.94rem}.astro-worked{padding:12px 0}.astro-worked ol{padding-left:24px}
.online-people-badge i,.notification-dot,.lesson-bubble,.physics-trail-object,.chapter-finish-flag,.experiment-spark,.live-pulse{animation:none!important;box-shadow:none!important}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #ac7a2b!important;outline-offset:4px}
.bac-document-viewer iframe{width:100%;max-width:100%;border:1px solid var(--paris-rule)}
.bac-archive-table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.bac-document-viewer[hidden]{display:none!important}

/* Mobile layout is independent of the desktop header's fixed column widths. */
@media(max-width:900px){
  .site-shell,.site-shell main,.site-shell main>*{min-width:0;max-width:100%;box-sizing:border-box}
  .site-header{height:auto!important;min-height:0!important;transform:none!important;top:0!important;z-index:1000!important}
  .header-inner{width:100%!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))!important;box-sizing:border-box}
  .header-left{display:contents!important}.main-menu{grid-column:1;grid-row:1;justify-self:start}.header-left>.brand{grid-column:1;grid-row:1;margin-left:82px!important}.header-tools{grid-column:2;grid-row:1;gap:3px!important;min-width:0!important}
  .header-left .brand-word{display:inline!important;font-size:1.25rem!important}.header-left .phyastro-mark{display:none!important}.main-menu-toggle{min-width:68px;min-height:44px;padding:8px!important;border-radius:3px!important}.main-menu-toggle b{font-size:.8rem}
  .header-tools .header-icon-link,.header-tools .notification-toggle,.header-tools .about-menu{display:none!important}.header-tools .language-toggle,.header-tools .profile-tool{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important}
  .global-site-search,.username-search{grid-row:2;grid-column:1/-1;width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important}
  .username-search-box{height:44px!important;border-radius:4px!important}.username-search-box input{font-size:16px!important;min-width:0}
  .main-menu-panel,.tool-panel.language-panel{position:fixed!important;top:112px!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 128px)!important;overflow-y:auto!important;overscroll-behavior:contain;border-radius:4px!important;box-sizing:border-box;z-index:1100!important}
  .main-menu-panel a,.language-panel button{min-height:44px!important;box-sizing:border-box}.main-menu-panel{padding:20px!important}.username-search-results{position:absolute!important;left:0!important;right:0!important;width:100%!important;max-height:55dvh!important}
  .site-shell main{padding-top:0!important}.home-hero,.subject-hero,.lesson-page-hero,.lesson-section-hero,.problems-hero{min-height:0!important;height:auto!important;padding:36px 20px!important;box-sizing:border-box}
  .home-hero .hero-copy,.subject-hero-copy{width:100%!important;max-width:100%!important;padding:0!important}.home-hero h1{font-size:clamp(2.1rem,7vw,3.5rem)!important;line-height:1.08!important}.hero-lede{font-size:1rem!important;line-height:1.7!important}.hero-actions{flex-wrap:wrap;gap:12px!important}.hero-metrics{display:flex!important;flex-wrap:wrap;gap:14px 22px!important;max-width:100%}
  .classic-compass{opacity:.22!important;pointer-events:none;right:-30px!important;top:30px!important;transform:scale(.75)!important}.hero-tesseract{opacity:.4!important}.online-people-badge{position:relative!important;inset:auto!important;width:max-content!important;margin:0 0 24px!important}
  .domain-duo,.home-discovery,.community-dock,.subject-hero,.lesson-page-hero,.lesson-section-body,.problem-detail-layout,.account-grid,.account-auth-grid,.account-profile-grid,.experiment-results,.bac-study-layout,.bac-theory-layout{grid-template-columns:minmax(0,1fr)!important}
  .home-discovery{gap:20px!important;padding:26px 18px!important;display:grid!important}.home-discovery .exam-orb{border-radius:4px!important;width:100%!important;height:auto!important;min-height:80px!important;padding:14px!important;box-sizing:border-box;position:static!important;transform:none!important}.home-discovery .lesson-search{grid-row:1;width:100%!important;min-width:0!important;margin:0!important}
  .community-dock{display:block!important;padding:30px 20px!important}.community-dock nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.community-dock nav a{min-width:0!important;padding:12px!important}.community-dock small{overflow-wrap:anywhere}
  .domain-section,.lessons-domain-section,.module-section,.subject-cta{padding:30px 18px!important}.domain-panel{min-height:230px!important;padding:28px 22px!important;box-sizing:border-box}.domain-panel h3{font-size:2.3rem!important}.domain-panel>span{max-width:100%;font-size:.8rem!important}.domain-preparing-label{position:static!important;display:block!important;max-width:100%;white-space:normal!important;margin:0 0 18px!important}
  .subject-visual{display:none!important}.subject-hero h1{font-size:clamp(2rem,7vw,3.3rem)!important}.subject-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;padding:0 18px!important}.subject-stats>div{padding:20px 8px!important;min-width:0;border-bottom:1px solid var(--paris-rule)}.subject-stats strong{font-size:2rem!important}.subject-stats span{font-size:.82rem!important;overflow-wrap:anywhere}
  .chapter-library-card{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:10px 12px!important;padding:22px 8px!important;min-width:0!important}.chapter-library-symbol{display:none!important}.chapter-library-copy{grid-column:2;min-width:0!important}.chapter-library-copy strong{font-size:1.2rem!important;line-height:1.35!important}.chapter-library-meta,.chapter-library-action{grid-column:2!important;min-width:0!important;text-align:left!important}.chapter-library-meta u{display:none!important}.chapter-library-action{font-size:.85rem!important}
  .lessons-hub-hero,.chapter-index-hero{margin:16px 12px!important;padding:30px 20px!important;display:block!important}.lessons-total{margin-top:22px!important;min-width:0!important}.lessons-total strong{font-size:2.6rem!important}.map-chapter-switcher{display:flex!important;flex-wrap:nowrap!important;max-width:100%!important;overflow:auto!important;padding:12px 18px!important;gap:10px!important;overscroll-behavior-x:contain}.map-chapter-switcher a{flex:0 0 auto!important;max-width:240px;white-space:normal!important;padding:12px!important;font-size:.85rem!important}
  .chapter-lesson-index{padding:0 18px!important}.chapter-lesson-index li{gap:12px;padding:20px 0}.chapter-lesson-index strong{font-size:1.15rem}.chapter-lesson-number{flex-basis:26px}.lesson-read-mark{font-size:0}.lesson-read-mark::first-letter{font-size:1rem}.chapter-index-facts{gap:12px 20px}
  .lesson-content-grid,.lesson-content-grid-five{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}.lesson-section-card{padding:24px 18px!important;min-height:0!important;border-bottom:1px solid var(--paris-rule)!important}.lesson-section-card h2{font-size:1.4rem!important}.lesson-plan-note{display:none!important}.lesson-page-content{padding:0 18px 28px!important}.lesson-page-hero h1,.lesson-section-hero h1{font-size:clamp(1.9rem,7vw,3rem)!important;line-height:1.16!important}.lesson-page-hero aside{min-width:0!important;padding:18px 0!important}.mini-lesson-trail,.section-step-nav{max-width:100%!important;display:flex!important;flex-wrap:nowrap!important;overflow:auto!important;padding:12px 18px!important;box-sizing:border-box;gap:8px!important}.mini-lesson-trail a,.section-step-nav a{flex:0 0 auto!important;min-height:44px!important}.section-step-nav a{max-width:220px;white-space:normal!important;padding:12px!important;font-size:.85rem!important}
  .lesson-section-body{display:block!important;width:100%!important;margin:0!important;padding:20px 14px!important;box-sizing:border-box}.lesson-section-body>div{min-width:0!important;width:100%!important}.lesson-section-body>aside{position:static!important;margin-top:32px!important;width:auto!important}.lesson-ad-rail{display:none!important}.editable-lesson-content{max-width:100%!important;min-width:0!important;overflow-wrap:break-word;font-size:1rem!important}.editable-lesson-content :where(section,article,div){min-width:0}.editable-lesson-content img,.editable-lesson-content svg{max-width:100%!important;height:auto}.editable-lesson-content :where(h1,h2){font-size:clamp(1.5rem,6vw,2rem)!important;line-height:1.3!important}.editable-lesson-content h3{font-size:1.2rem!important;line-height:1.4!important}.astro-intro-notes{padding:24px 16px!important}.astro-lesson-figure{padding:16px 0}.astro-lesson-figure svg{min-width:0!important}
  .lesson-complete-row,.problem-detail-actions{display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px!important}.lesson-complete-row .button,.problem-detail-actions .button{white-space:normal!important;height:auto!important;min-height:48px!important;text-align:center}
  .problem-detail-hero,.problem-detail-content,.problem-detail-aside{padding:24px 18px!important;width:auto!important;min-width:0!important}.problem-detail-hero h1{font-size:2rem!important}.problem-detail-body,.problem-detail-main{min-width:0!important;max-width:100%!important}.problem-detail-statement{font-size:1rem!important;line-height:1.75!important}.problem-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.problem-tools>*{width:100%!important;min-width:0!important}.problem-card{grid-template-columns:60px minmax(0,1fr)!important;padding:22px 4px!important;column-gap:8px!important}.problem-card .problem-reference{font-size:.85rem!important;padding-left:6px!important}.problem-card-header{flex-wrap:wrap!important;gap:5px 12px!important}.problem-card h2{font-size:1.18rem!important}.problem-card-footer{grid-column:2!important;grid-row:5!important;display:flex!important;flex-direction:row!important;text-align:left!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.problem-card>p{font-size:.94rem!important;overflow-wrap:anywhere}.register-pagination{gap:14px!important;padding:24px 0!important;flex-wrap:wrap}.register-pagination button{min-height:44px}
  .bac-notebook,.bac-paris-page{max-width:100%!important;width:100%!important;padding:20px 14px!important;box-sizing:border-box}.bac-index-menu{display:flex!important;flex-wrap:nowrap!important;overflow:auto!important;gap:8px!important;max-width:100%!important;padding:8px 0 16px!important;overscroll-behavior-x:contain}.bac-index-menu a{flex:0 0 auto;min-height:44px;padding:12px!important;box-sizing:border-box;white-space:nowrap}.bac-page-heading{padding:0 0 0 16px!important;margin:20px 0!important}.bac-page-heading h1{font-size:clamp(1.9rem,7vw,2.8rem)!important;overflow-wrap:break-word}.bac-desk-index{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.bac-desk-index>a{padding:20px!important;min-height:100px!important}.bac-archive-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.bac-archive-filters label{min-width:0}.bac-archive-filters input,.bac-archive-filters select{width:100%;min-width:0}.bac-availability .bac-archive-table{min-width:760px!important}.bac-archive-table{font-size:.85rem!important}.bac-archive-table td,.bac-archive-table th{padding:12px 8px!important}.bac-archive-table button,.bac-archive-table a{display:block;margin:8px 0;min-height:44px;padding:10px;box-sizing:border-box}.bac-document-viewer{padding:14px 8px!important;margin:24px 0!important;max-width:100%!important}.bac-document-viewer header{display:flex!important;align-items:flex-start;gap:10px}.bac-document-viewer h2{font-size:1.15rem!important;line-height:1.4;overflow-wrap:anywhere;min-width:0}.bac-document-viewer header button{flex:0 0 44px;min-height:44px}.bac-document-viewer iframe{height:65dvh!important;min-height:340px!important;display:block;box-sizing:border-box}#bac-viewer-tools,#olympiad-viewer-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}#bac-viewer-tools>*{min-height:44px;padding:10px!important;box-sizing:border-box}
  .bac-study-stages li,.bac-regulation-register article{grid-template-columns:30px minmax(0,1fr)!important;gap:12px!important}.bac-topic{padding:22px 14px!important}.bac-topic h2{font-size:1.5rem!important}.bac-study-paper,.bac-study-notes{min-width:0!important}.bac-study-layout textarea{min-height:150px}
  .account-hero{padding:30px 18px!important;min-height:0!important}.account-intro{padding:0!important}.account-intro h1{font-size:2.2rem!important;line-height:1.15!important}.account-card,.account-security-panel{padding:24px 18px!important;min-width:0!important;width:100%!important;box-sizing:border-box}.account-layout,.account-forms,.account-auth-layout,.account-profile-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding-inline:14px!important}.account-avatar-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))!important}.account-social-buttons{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.account-tabs{display:flex;flex-wrap:wrap}.account-tabs button{flex:1;min-height:44px}
  .site-footer{padding:32px 20px!important}.footer-main{display:block!important;grid-template-columns:minmax(0,1fr)!important}.footer-links{margin-top:25px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.footer-links a{min-height:44px;display:flex;align-items:center}.footer-bottom{display:flex!important;flex-wrap:wrap!important;gap:12px!important}.button,button,input,select,textarea{max-width:100%;box-sizing:border-box}input,select,textarea{font-size:16px!important}button,.button{touch-action:manipulation}img{max-width:100%}
  mjx-container[display='true'],.astro-equation,.problem-formula-line,.rr-equation{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}mjx-container[display='true']>svg{max-width:none!important}.editable-lesson-content table{display:block;max-width:100%;overflow-x:auto}.problem-feedback-dialog{width:calc(100% - 24px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;margin:auto;padding:24px 18px!important}
}
@media(max-width:540px){
  #bac-archive-root>.bac-archive-table-wrap>.bac-archive-table{display:block;width:100%!important;min-width:0!important}#bac-archive-root>.bac-archive-table-wrap>.bac-archive-table thead{display:none}#bac-archive-rows{display:block}#bac-archive-rows tr{display:grid;grid-template-columns:minmax(0,1fr);padding:16px 0;border-bottom:1px solid var(--paris-rule)}#bac-archive-rows td{display:block;border:0!important;padding:5px 0!important;min-width:0}#bac-archive-rows td:first-child{font:1.2rem Georgia,serif;color:var(--paris-wine)}#bac-archive-rows td:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#bac-archive-rows td:last-child>*{margin:0;text-align:center}
  .header-left .brand-word{font-size:1.15rem!important}.community-dock nav{grid-template-columns:minmax(0,1fr)}.chapter-index-hero h1{font-size:2rem!important}.subject-actions{display:flex!important;flex-direction:column;align-items:stretch}.subject-actions a{white-space:normal;text-align:center}.lessons-hub-card{grid-template-columns:30px minmax(0,1fr);gap:12px!important}.bac-archive-filters{grid-template-columns:minmax(0,1fr)!important}
}

.mobile-menu-about{display:none}
@media(max-width:900px){.mobile-menu-about{display:grid;border-block:1px solid var(--paris-rule);padding-block:10px;margin-block:10px}.problem-math-keyboard{padding:12px!important;min-width:0!important}.problem-keyboard-keys{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}.problem-keyboard-keys button{min-width:0!important;min-height:44px!important;padding:4px!important}.problem-keyboard-heading{flex-wrap:wrap!important}.problem-answer-row,.problem-answer-grid,.problem-practice-panel{min-width:0!important;grid-template-columns:minmax(0,1fr)!important}.problem-answer-row input{min-width:0!important;width:100%!important}}

/* Follow-up corrections from the static mobile audit. */
.astro-diagram-drawing{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.astro-diagram-key{display:flex;flex-wrap:wrap;gap:6px 24px;padding-left:20px;font:.88rem/1.6 system-ui,sans-serif;color:var(--paris-muted)}
.lesson-formula-scroll{display:block;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-block:10px;overscroll-behavior-x:contain}.lesson-formula-scroll>.formula-inline,.lesson-formula-scroll>.formula-block-layout,.lesson-formula-scroll>.fraction-container{width:max-content!important;max-width:none!important}
.problem-feedback-modal{z-index:4000!important}.problem-feedback-modal[hidden]{display:none!important}.problem-tools,#bac-archive-root,.bac-document-viewer{scroll-margin-top:130px!important}
@media(max-width:900px){
 .site-shell .phyastro-home-classic .home-discovery,.phyastro-home-classic .home-discovery{grid-template-columns:minmax(0,1fr)!important}.home-discovery>*{grid-column:1!important;min-width:0!important}.home-discovery .admission-orb{grid-row:2!important}.home-discovery .bac-orb{grid-row:3!important}
 .chapter-library-copy{padding-right:0!important}.chapter-library-copy small{font-size:.92rem!important;line-height:1.65!important}.chapter-library-action{white-space:normal!important}
 .problem-explorer-wrap{width:100%!important;max-width:100%!important;box-sizing:border-box}.problem-card-footer{flex-wrap:wrap!important}.problem-answer-composer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important}.problem-answer-unit{min-width:0!important;white-space:normal!important;justify-self:start}.problem-answer-form,.problem-practice{padding-inline:12px!important;min-width:0!important}
 .astro-diagram-drawing svg{min-width:520px!important;max-width:none!important;width:100%!important;height:auto!important}.astro-diagram-drawing{border-bottom:1px solid var(--paris-rule)}
 .bac-availability .bac-archive-table th:nth-child(3),.bac-availability .bac-archive-table td:nth-child(3){display:table-cell!important}.bac-archive-table td:last-child{min-width:0!important}.bac-profile-choice{display:flex!important;flex-direction:column!important;gap:12px!important}.bac-profile-choice select{margin:0!important;width:100%!important;min-width:0!important}.bac-document-viewer iframe{min-height:0!important;height:65dvh!important}
 .auth-choice-back,.email-auth-form button,#password-reset-form button,.account-security-form button{min-height:44px!important;font-size:.95rem!important;padding:10px 12px!important;white-space:normal!important}.username-input-wrap{grid-template-columns:34px minmax(0,1fr)!important}.username-input-wrap input{min-width:0!important}.map-page-hero{padding:75px 20px 28px!important;max-width:calc(100% - 24px)!important}.map-page-copy h1{font-size:clamp(2rem,8vw,3.5rem)!important;line-height:1.15!important}.map-page-hero,.thematic-map-heading{grid-template-columns:minmax(0,1fr)!important}.thematic-map-heading{display:block!important}.chapter-quote p{font-size:1.3rem!important}.chapter-map-card{min-width:0!important;max-width:100%!important}.thematic-map-section{padding-inline:12px!important}
}
@media(max-width:540px){
 .problem-card{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.problem-card .problem-reference{grid-column:1!important;grid-row:1!important;font-size:.96rem!important;text-transform:none!important}.problem-card-header{grid-column:1!important;grid-row:2!important}.problem-card .problem-chapter{grid-column:1!important;grid-row:3!important}.problem-card h2{grid-column:1!important;grid-row:4!important}.problem-card>p:not([class]){grid-column:1!important;grid-row:5!important}.problem-card-footer{grid-column:1!important;grid-row:6!important}.problem-card .solved-stamp{grid-column:1!important;grid-row:7!important}
 #bac-archive-rows td:nth-child(3){display:block!important}.register-pagination{display:grid!important;grid-template-columns:1fr 1fr!important}.register-pagination>span{grid-column:1/-1;grid-row:1;text-align:center}.register-pagination button{min-width:0!important;padding:10px!important}
 .problem-keyboard-keys{grid-template-columns:repeat(4,minmax(0,1fr))!important}.problem-keyboard-keys button{min-height:44px!important}.problem-math-keyboard{padding:10px!important}
}
@media(prefers-reduced-motion:reduce){.site-shell *,.site-shell *::before,.site-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:900px){.site-shell .site-header.is-hidden{transform:none!important}.thematic-map-card .active-chapter-header{display:block!important;padding:24px 18px!important}.thematic-map-card .active-chapter-header h3{font-size:1.65rem!important}.thematic-map-card .chapter-map-legend{flex-wrap:wrap!important;gap:10px!important}}
.phyastro-home-classic .astro-panel>*{filter:none!important;opacity:1!important}
.phyastro-home-classic .astro-panel::before,.phyastro-home-classic .astro-panel::after{display:none!important;content:none!important}
.phyastro-home-classic .astro-panel{background:#243c46!important;color:#fffdf7!important}
.phyastro-home-classic .astro-panel h3{color:#fffdf7!important}.phyastro-home-classic .astro-panel p{color:#e3e4dc!important}.phyastro-home-classic .astro-panel>span,.phyastro-home-classic .astro-panel>strong{color:#ead4a3!important}
@media(max-width:900px){.site-shell .site-header{position:sticky!important;top:0!important}}

/* Chapitres en préparation: statut lisible, sans flou ni fausse commande. */
.chapter-library-card-pending{background:var(--paris-paper)!important;box-shadow:none!important;pointer-events:auto!important;overflow:visible!important}
.chapter-library-card-pending>:not(.chapter-preparing-label){filter:none!important;opacity:1!important}
.chapter-library-card-pending::before,.chapter-library-card-pending::after{display:none!important;content:none!important}
.chapter-library-card-pending .chapter-library-symbol,.chapter-library-card-pending .chapter-library-meta{opacity:.7!important}
.chapter-library-card-pending .chapter-library-action{display:none}
.lessons-hub-card-closed{background:transparent!important;box-shadow:none!important}

/* Une feuille de travail, plutôt qu'une succession de panneaux. */
.problem-detail-layout{max-width:940px;grid-template-columns:minmax(0,1fr)!important;gap:0}
.problem-detail-content{padding:32px clamp(18px,4vw,46px);border:0!important;border-block:1px solid var(--paris-rule)!important}
.problem-detail-meta{gap:12px 24px;margin-bottom:28px;padding-bottom:18px}
.problem-detail-meta span{border:0;background:none;padding:0;color:var(--paris-muted);font-size:.82rem;font-weight:400}
.problem-statement-block,.problem-relation-block,.problem-detail-solution,.problem-practice{padding:24px 0!important;border:0!important;border-bottom:1px solid var(--paris-rule)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.problem-detail-content h2{font-size:clamp(1.45rem,2.5vw,1.85rem);line-height:1.3}
.problem-requirement-list>li{padding:10px 0;background:transparent;border:0;box-shadow:none;grid-template-columns:28px minmax(0,1fr)}
.problem-requirement-list>li>span:first-child{background:none;border:0;border-radius:0;color:var(--paris-wine);width:auto;height:auto;box-shadow:none}
.problem-detail-hint{background:transparent!important;border:0!important;border-bottom:1px solid var(--paris-rule)!important;padding:16px 0!important}
.problem-visual{background:transparent!important;border:0!important;box-shadow:none!important;padding-inline:0!important}
.problem-visual-heading>span{display:none}
.problem-practice-heading{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
.problem-answer-row{padding:14px 0;border:0;border-bottom:1px solid var(--paris-rule);background:transparent!important;box-shadow:none!important;transition:none;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr)}
.problem-answer-label{font-weight:400;line-height:1.6}
.problem-answer-unit{border:0;background:transparent;justify-content:start;padding-inline:4px}
.problem-answer-row.is-correct input{border-color:#3b7656}.problem-answer-row.is-wrong input{border-color:var(--paris-wine)}
.problem-math-keyboard{background:transparent;border:0;padding:12px 0!important}
.problem-math-keyboard>summary{cursor:pointer;color:var(--paris-green);font-size:.9rem;padding:10px 0;min-height:44px;box-sizing:border-box}
.problem-keyboard-keys{margin-top:10px;max-width:480px}
.problem-feedback-inline{margin-top:22px;padding:18px 0 4px;border-top:2px solid var(--paris-rule);color:var(--paris-ink);line-height:1.65}
.problem-feedback-inline[hidden]{display:none}.problem-feedback-inline p{margin:8px 0 0}
.problem-feedback-inline.is-positive{border-color:var(--paris-green)}.problem-feedback-inline.is-negative{border-color:var(--paris-wine)}
.problem-detail-nav a{box-shadow:none!important;background:transparent!important;border-radius:0!important;transform:none!important}
.problem-no-worked-solution{background:transparent!important;border:0!important;padding:12px 0!important}
.problem-card::before,.problem-card::after{display:none!important}
.problem-card-open{font-size:1.4rem}

/* BAC: sept rubriques autour d'un cercle fixe, y compris sur téléphone. */
.bac-index-menu-home{display:none}
.bac-circle-menu{position:relative;width:min(100%,680px);aspect-ratio:1;margin:12px auto 42px;isolation:isolate;box-sizing:border-box}
.bac-circle-menu::before,.bac-circle-menu::after{content:"";position:absolute;border:1px solid #bda26d;border-radius:50%;pointer-events:none;z-index:-1}
.bac-circle-menu::before{inset:15%}.bac-circle-menu::after{inset:30%;border-color:var(--paris-rule)}
.bac-circle-center,.bac-circle-link{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:50%;aspect-ratio:1;transform:translate(-50%,-50%);gap:5px}
.bac-circle-center{left:50%;top:50%;width:28%;color:var(--paris-sheet);background:var(--paris-wine);border:double 4px #bda26d}
.bac-circle-center strong{font:clamp(1.4rem,5vw,3rem) Georgia,serif}.bac-circle-center>span{font-size:clamp(.75rem,1.6vw,1rem)}
.bac-circle-link{left:var(--circle-x);top:var(--circle-y);width:clamp(76px,22%,144px);padding:6px;color:var(--paris-green);background:var(--paris-sheet);border:1px solid #bda26d;text-decoration:none;box-shadow:0 3px 8px #4938200a;transition:background-color .15s}
.bac-circle-link>span:first-child{font-size:.7rem;color:var(--paris-wine)}
.bac-circle-link>strong{font:clamp(.8rem,1.7vw,1.12rem)/1.2 Georgia,serif;overflow-wrap:anywhere}
.bac-circle-link:hover{background:#eee5d4}.bac-circle-link:focus-visible{outline:3px solid var(--paris-green);outline-offset:3px}
.bac-notebook .bac-page-heading{padding-top:38px;padding-bottom:22px}
.bac-notebook .bac-page-heading h1{font-size:clamp(2.2rem,4.6vw,3.5rem)}
.bac-notebook .bac-archive-filters,.bac-notebook .bac-formulary-index{background:transparent;border-inline:0;border-bottom:1px solid var(--paris-rule);padding-inline:0}
.bac-notebook .bac-margin-note{border-left:0;border-top:1px solid var(--paris-rule);padding:22px 0;margin-block:28px}
.bac-notebook .bac-equations{background:transparent;border-left:0;padding-inline:0}
@media(max-width:900px){.problem-practice,.problem-answer-form{padding-inline:0!important}.problem-answer-row{grid-template-columns:minmax(0,1fr)!important}.problem-answer-row>small{grid-column:1}.problem-keyboard-keys{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){.bac-circle-link{transition:none}}
