:root{--pv3-navy:#14284b;--pv3-red:#7a1f2b;--pv3-line:#dce3ed}
body.pv3-signed>header.top,body.pv3-signed>header.topbar{display:none!important}body.pv3-signed{padding-top:0!important}#pv3-header{position:sticky;top:0;z-index:800;background:var(--pv3-navy);color:#fff;box-shadow:0 2px 12px #14284b12}#pv3-header *{box-sizing:border-box}#pv3-header .pv3-header-inner{max-width:1440px;margin:auto;display:flex;align-items:center;gap:22px;padding:15px 24px;min-height:86px}#pv3-header a{text-decoration:none;color:#fff;font:600 14px/1.4 system-ui}#pv3-header .pv3-brand{display:flex;align-items:center;gap:12px;flex:none}#pv3-header .pv3-brand>span{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:var(--pv3-red);font-size:23px}#pv3-header .pv3-brand strong{font:750 19px/1.15 system-ui}#pv3-header .pv3-brand b{display:block;color:#ff4564}#pv3-header .pv3-brand small{display:block;font:600 8px/1.5 system-ui;letter-spacing:1.1px;margin-top:4px}#pv3-primary{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:1}#pv3-primary a{padding:10px 3px}#pv3-primary .pv3-agency{padding:10px 13px;background:var(--pv3-red);border-radius:8px}#pv3-header button{font:600 13px/1.4 system-ui;white-space:nowrap;cursor:pointer;padding:10px 13px;min-height:44px;background:#fff;color:var(--pv3-navy);border:1px solid #c2d0e0;border-radius:9px}#pv3-progress span{font-size:22px;vertical-align:middle;margin-right:6px}#pv3-header .pv3-menu-toggle{display:none}#pv3-header :is(a,button):focus-visible,.pv3-button:focus-visible{outline:3px solid #e0adbd;outline-offset:3px}.pv3-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px!important;border:1px solid #bcc9da!important;background:white!important;color:#14284b!important;border-radius:9px!important;font:650 14px/1.5 system-ui!important;text-decoration:none!important}.pv3-button:hover{background:#eef2f7!important}.pv3-dialog{position:fixed;inset:0;margin:auto;max-width:780px;width:calc(100% - 32px);max-height:85dvh;padding:28px;border:1px solid #dce3ed;border-radius:18px;background:white;color:#14284b;font:16px/1.6 system-ui;overflow:auto}.pv3-dialog::backdrop{background:#10213a88}.pv3-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.pv3-dialog h2{font-size:25px;line-height:1.3;margin:0}.pv3-dialog button{font:600 14px system-ui;border:1px solid #b8c7db;border-radius:8px;background:#14284b;color:white;padding:12px 16px;cursor:pointer}.pv3-progress-row{border:1px solid #dce3ed;border-radius:13px;padding:20px;margin:15px 0}.pv3-progress-row h3{margin:0 0 8px;font-size:19px}.pv3-progress-row progress{width:100%;height:10px;accent-color:#7a1f2b}.pv3-progress-row p{margin:8px 0}.pv3-muted{color:#5e6b7e;font-size:14px}
body.pv3-signed :is(main#main,main#app){max-width:1280px;margin:30px auto 70px;padding:0 24px;min-width:0}body.pv3-signed main#app main.lesson-content{max-width:none;padding:0;margin:0}.pv3-course-section{margin:0 0 22px!important;padding:28px!important;scroll-margin-top:160px}.pv3-course-section>.eyebrow{color:#7a1f2b}.pv3-course-section>.prose{margin-top:22px}.pv3-course-section h2{line-height:1.3}.pv3-chapter-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;margin:20px 0 38px}.pv3-chapter-list>.pv3-chapter-row{display:grid!important;grid-template-columns:64px minmax(0,1fr) 170px;align-items:center;gap:6px 20px;padding:22px!important;border:1px solid #dce3ed!important;border-left:4px solid #7a1f2b!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 25px #14284b08;min-width:0}.pv3-chapter-row .pv3-index{grid-column:1;grid-row:1/span 7;background:#edf1f8!important;color:#14284b!important;display:grid!important;place-items:center;border-radius:50%!important;width:46px!important;height:46px!important;font:800 17px system-ui!important;margin:0!important;padding:0!important}.pv3-chapter-row .pv3-index span+span{display:none}.pv3-chapter-row>:not(.pv3-index):not(.button):not(.card-body):not(.course-cover){grid-column:2}.pv3-chapter-row>h3{font-size:19px!important;line-height:1.35;margin:0!important;text-transform:none!important}.pv3-chapter-row>.button{grid-column:3;grid-row:1/span 7;margin:0!important;align-self:center;justify-self:end;white-space:normal}.pv3-chapter-row>.course-cover{display:none!important}.pv3-chapter-row>.card-body{grid-column:2/span 2;padding:0!important;display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:8px 22px}.pv3-chapter-row .card-body>*{grid-column:1;margin:0}.pv3-chapter-row .card-body>h3{font-size:19px!important;line-height:1.35;text-transform:none!important}.pv3-chapter-row .card-body>.button{grid-column:2;grid-row:1/span 5;align-self:center;justify-self:end}.pv3-chapter-row .module-progress{padding:0!important;background:none!important;font-size:13px}.pv3-chapter-row .module-progress small{display:inline-block;margin-right:15px}.pv3-chapter-row .progress{margin:4px 0;width:100%}.pv3-chapter-row .module-progress progress{max-width:330px;display:block}.pv3-chapter-row .chapter-meta{font-size:13px}.pv3-chapter-row .chapter-meta svg{width:16px;height:16px}.roadmap-row.pv3-chapter-row{border-left:4px solid #7a1f2b!important;padding:20px!important;border-radius:13px;margin:12px 0;background:#fff!important}.roadmap-row.pv3-chapter-row h3{text-transform:none!important}.pv3-keep-sidebar{display:block!important;visibility:visible!important;position:sticky!important;top:145px!important;align-self:start;max-height:calc(100vh - 165px)!important;overflow:auto!important}.reader:has(>.pv3-keep-sidebar){display:grid!important;grid-template-columns:245px minmax(0,1fr)!important;gap:24px}.oral-workshop:has(>.pv3-keep-sidebar){display:grid!important;grid-template-columns:245px minmax(0,1fr)!important;gap:24px}.pv3-audio-icon{display:inline-flex;width:27px;height:29px;padding:4px;background:#edf1f7;border-radius:7px;color:#7a1f2b;vertical-align:middle;margin-right:7px;flex-shrink:0}.pv3-audio-icon svg{width:100%;height:100%}.oral-sidebar a .pv3-audio-icon{width:22px;height:25px}.pv3-signed:not([data-pv3-bts="gpme"]) #sbts-search-bar{display:none!important}.pv3-signed .hero{background:linear-gradient(120deg,#14284b,#244462)}
@media(max-width:1150px){#pv3-header .pv3-header-inner{flex-wrap:wrap;gap:12px}#pv3-header .pv3-menu-toggle{display:block;margin-left:auto}#pv3-primary{display:none;width:100%;order:4;flex-basis:100%;justify-content:flex-start;flex-wrap:wrap}#pv3-header.pv3-menu-open #pv3-primary{display:flex}#pv3-header .pv3-brand small{font-size:7px}}
@media(max-width:900px){.reader:has(>.pv3-keep-sidebar),.oral-workshop:has(>.pv3-keep-sidebar){grid-template-columns:minmax(0,1fr)!important}.pv3-keep-sidebar{position:static!important;max-height:280px!important}.pv3-chapter-list>.pv3-chapter-row{grid-template-columns:46px minmax(0,1fr);gap:10px 14px}.pv3-chapter-row>.button{grid-column:2;grid-row:auto;justify-self:start}.pv3-chapter-row>.card-body{grid-column:2;grid-template-columns:minmax(0,1fr)}.pv3-chapter-row .card-body>.button{grid-column:1;grid-row:auto;justify-self:start}.pv3-chapter-row>.pv3-index{grid-row:1/span 4}body.pv3-signed :is(main#main,main#app){padding:0 16px}.pv3-course-section{padding:20px!important}}
@media(max-width:480px){#pv3-header .pv3-header-inner{padding:12px 14px;gap:10px}#pv3-header .pv3-brand strong{font-size:16px}#pv3-header .pv3-brand>span{width:35px;height:35px}#pv3-header .pv3-brand small{display:none}#pv3-header button{font-size:12px;padding:9px}#pv3-progress span{display:none}.pv3-dialog{padding:20px}.pv3-dialog h2{font-size:20px}.pv3-dialog-head{align-items:start;gap:10px}}
/* Centre de pilotage partagé, y compris journal et outils historiques. */
.pv3-admin-page #app{max-width:1440px}.pv3-admin-layout,.pv3-admin-page .st-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:30px!important}.pv3-admin-nav{background:#fff!important;border:1px solid #dce4ef!important;padding:20px!important;border-radius:14px!important;position:sticky!important;top:120px!important;align-self:start;max-height:calc(100vh - 140px);overflow:auto;width:auto!important}.pv3-admin-nav h2{font-size:11px!important;letter-spacing:1.4px;color:#687b92;margin:22px 8px 8px}.pv3-admin-nav h2:first-child{margin-top:0}.pv3-admin-nav a{display:block!important;padding:10px 12px!important;border-radius:8px!important;font-size:14px!important;text-decoration:none!important;color:#152b4c!important}.pv3-admin-nav a[aria-current],.pv3-admin-nav a:hover{background:#152b4c!important;color:white!important}.pv3-admin-nav details{margin-top:15px}.pv3-admin-nav summary{font-size:13px;cursor:pointer}.pv3-admin-main{min-width:0}.pv3-admin-main>.table-wrap,.pv3-admin-main .table-wrap{overflow:auto}.pv3-admin-main table{width:100%;border-collapse:collapse}.pv3-admin-main td,.pv3-admin-main th{padding:12px;border-bottom:1px solid #dbe3ef;text-align:left}.pv3-admin-main code{overflow-wrap:anywhere}.pv3-pilot-heading{margin-bottom:28px}.pv3-pilot-heading h1{font-size:34px!important;margin:8px 0!important}.pv3-pilot-heading>p:first-child{font-size:12px;font-weight:800;letter-spacing:1.5px;color:#7a1f2b}.pv3-pilot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.pv3-pilot-card{background:white;border:1px solid #dce4ef;border-radius:14px;padding:24px;margin:0}.pv3-pilot-card h2{font-size:21px;margin:0 0 10px}.pv3-pilot-card p{color:#56667b}.pv3-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin:20px 0}.pv3-metric{display:flex;flex-direction:column;background:#fff;border:1px solid #dce4ef;border-top:3px solid #7a1f2b;border-radius:10px;padding:18px}.pv3-metric strong{font-size:30px;color:#152b4c}.pv3-metric span{font-size:13px;color:#56667b}.pv3-admin-page button{min-height:40px}.pv3-admin-main>.pv3-button{margin:8px 10px 8px 0}@media(max-width:900px){.pv3-admin-layout,.pv3-admin-page .st-layout{grid-template-columns:1fr!important}.pv3-admin-nav{position:static!important;max-height:250px}.pv3-pilot-grid{grid-template-columns:1fr}.pv3-pilot-heading h1{font-size:27px!important}}
/* Le style historique des grilles ne doit pas réafficher la liste en double. */
body.pv3-signed .lot-chapter-grid[hidden],body.pv3-signed .section-head[hidden]{display:none!important}
