
/* n°5 */
html.ori-light body.ori-uns:not(#u):not(#v).home.logged-in .xsp-box .xapp a i > svg{stroke:color-mix(in srgb,var(--c,#2563eb) 55%,#0b1b3f) !important;color:color-mix(in srgb,var(--c,#2563eb) 55%,#0b1b3f) !important}
/* n°6 */
@media (max-width:1023px){body.ori-uns:not(#u):not(#v).home:has(> #ofp.ofp:not([hidden])){padding-bottom:calc(88px + env(safe-area-inset-bottom)) !important}}
/* n°7 */
html:not(.ori-light) body.ori-uns:not(#u):not(#v).home.logged-in .xsp-box .xapp a:is([href$="/chat/"],[href$="/bac-battle/"],[href$="/debouches/"],[href$="/infos-ecoles/"]) i > svg{stroke:color-mix(in srgb,var(--c,#2563eb) 45%,#fff) !important;color:color-mix(in srgb,var(--c,#2563eb) 45%,#fff) !important}
/* n°8 */
@media (min-width:601px) and (max-width:1023px){body.ori-uns:not(#u):not(#v).home.logged-in .xhero section.xsp-box{margin-top:4px !important}}
/* n°9 */
@media (min-width:1024px){body.ori-uns:not(#u):not(#v).home:not(.logged-in) .xhero .xqk{grid-template-columns:repeat(4,minmax(0,1fr)) !important;margin-bottom:16px !important}}
/* n°29 */
html body.ori-uns:not(#u):not(#v).home.logged-in .xsp-box .xpo.xpo-cn .xpo-h{text-align:left !important}
/* n°31 */
@media (min-width:768px) and (max-width:1023px){body.ori-uns:not(#u):not(#v).home:not(.logged-in) .xhero .xqk{max-width:none !important;width:auto !important;align-self:stretch !important;margin-inline:0 !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
/* n°11 */
html body #xom.xom .xom-s{overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,197,61,.45) transparent}
html.ori-light body #xom.xom .xom-s{scrollbar-color:rgba(138,90,0,.45) transparent}
/* n°11 (réparation) : quand la feuille défile, le bouton reste visible en bas (fond opaque derrière, même aspect) */
html body #xom:not(#u) .xom-s > a.xom-cta{position:sticky;bottom:0;z-index:2}
html body #xom:not(#u) .xom-s > a.xom-cta::before{content:"";position:absolute;inset:-12px -16px -14px;z-index:-2;background:linear-gradient(rgba(15,29,69,0),#0F1D45 12px);pointer-events:none}
html.ori-light body #xom:not(#u) .xom-s > a.xom-cta::before{background:linear-gradient(rgba(255,255,255,0),#fff 12px)}
html body #xom:not(#u) .xom-s > a.xom-cta::after{content:"";position:absolute;inset:0;z-index:-1;background:inherit;box-shadow:inherit;border-radius:inherit;pointer-events:none}
/* n°2 */
@media (max-width:380px){html body .acb .acb-cd.acb-pl0 .acb-qr{display:none}html body .acb .acb-cd.acb-pl0 .acb-mi{padding-right:0}}
@media (max-width:370px){html body .acb .acb-st .acb-mi{gap:4px}html body .acb .acb-st .acb-mi h3{margin-bottom:0!important}html body .acb .acb-st .acb-stl{margin-top:2px}html body .acb .acb-st .acb-ci{gap:1px}html body .acb .acb-st .acb-ci li{line-height:16px}}
@media (max-width:600px){html body .acb .acb-eb .acb-cta{height:40px;padding:0 16px;font-size:13px}}
/* n°15 */
html.ori-light .opc .opc-ac .opc-x,html.ori-light .opc .opc-ac .opc-ed,html.ori-light .opc .opc-ac .opc-ed:visited{background:#0F1D45!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)!important}
/* n°17 */
@media (max-width:1024px){html body .xauth-b input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=hidden]),html body .xauth-b select,html body #xlogin input[type=text],html body #xlogin input[type=password]{font-size:16px!important}}
/* n°30 */
html body.ori-x .xauth-b select{padding-left:14px!important;padding-right:42px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DAED6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:18px!important;background-position:right 14px center!important}
html.ori-light body.ori-x .xauth-b select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important}
html.ori-light body .xauth-b .pwk-bar{background-color:rgba(15,29,69,.12)!important}
html body.page-id-27531 .xauth-b form.xform small{font-size:12.5px!important;line-height:1.45!important}
html body.page-id-27531 .xauth-b .au-sec i{font-size:12px!important}
/* n°13 */
/* item 13 : heure des bulles envoyées (bleues), mode sombre : contraste >= 4.5:1 */
html:not(.ori-light) body :is(#odm,#obc,#ogrp,#obc-tabs):not(#u){--wmo:rgba(238,240,245,.88)}
/* n°14 */
/* item 14 : chat élève sur ordinateur : colonne centrée au lieu de 1180px */
@media (min-width:1024px){
html body #odm.odm-stu:not(#_):not(#u) .wa-hm>.wa-ht,html body #odm.odm-stu:not(#_):not(#u) .wa-hm>.wa-hl{box-sizing:border-box;max-width:760px;margin-inline:auto}
html body #odm.odm-stu:not(#_):not(#u) .odm-th{padding-inline:max(16px,calc((100% - 880px) / 2))!important}
html body #odm.odm-stu:not(#_):not(#u) .odm-cp{padding-inline:max(8px,calc((100% - 880px) / 2))!important}
}
/* n°18 */
html:not(.ori-light) body .pc-a4 .katex :is([style*="176, 28, 28"],[style*="220, 38, 38"],[style*="#b01c1c" i],[style*="#dc2626" i]){color:#F87171!important}
html:not(.ori-light) body .pc-a4 .katex :is([style*="21, 128, 61"],[style*="#15803d" i]){color:#4ADE80!important}
/* n°4 */
/* #4 /ecoles/ : grille vidéos limitée à la largeur de la colonne (tablettes) */
html body.page-id-27609:not(#u) .vd-w.open .vd-g{width:100%!important;max-width:min(100%,1200px)!important;min-width:0!important;box-sizing:border-box!important}
@media(min-width:701px){html body.page-id-27609:not(#u) .vd-w.open .vd-g{grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr))!important}}
/* n°19 */
/* #19 Score CPGE : colonne centrée sur PC + barres alignées */
html body.page-id-27908:not(#u):not(#v) .x.cpx-wrap>section.cpx{max-width:720px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
html body.page-id-27908:not(#u):not(#v) .cpx-res .cpx-r{grid-template-columns:96px minmax(0,1fr) 68px!important}
html body.page-id-27908:not(#u):not(#v) .cpx-res .cpx-r .vl{text-align:end}
/* n°28 */
/* #28 Thème clair : html = même fond que body (plus de bande sous les pages courtes) */
html.ori-light:root:not(#ori-x):not(#ori-y){background-color:#F5F7FA}
/* n°22 */
html:not(.ax-lock):not(.mco-on) body.ori-axh.ori-axh.ori-axh{overflow:visible!important;overflow-x:clip!important;overflow-y:visible!important}
/* n°23 */
#ca.ca a.ca-b,#ca.ca a.ca-b:hover,#ca.ca a.ca-b:visited{color:#EAF0FF}
#ca.ca a.ca-b.pri,#ca.ca a.ca-b.pri:hover{color:#fff}
#ca.ca a.ca-b.dan{color:#FCA5A5}
html.ori-light #ca.ca a.ca-b,html.ori-light #ca.ca a.ca-b:hover,html.ori-light #ca.ca a.ca-b:visited{color:#1E2638}
html.ori-light #ca.ca a.ca-b.dan{color:#653636}
/* n°24 */
.av .rv-c .rv-lw{max-width:640px;margin-inline:auto}
.av .rv-c svg.rv-line .rv-lp,.av .rv-c svg.rv-line .rv-lg,.av .rv-c svg.rv-line .rv-lt,.av .rv-c svg.rv-line .rv-tl{vector-effect:non-scaling-stroke}
.av .rv-c svg.rv-line .rv-lm,.av .rv-c svg.rv-line .rv-lv{font-size:12.5px}
@media (min-width:600px){.av .rv-c svg.rv-line .rv-lm,.av .rv-c svg.rv-line .rv-lv{font-size:6.25px}.av .rv-c svg.rv-line .rv-ld{r:2.5px}}
/* n°24 (réparation) : sur téléphone, le dernier mois (« Dec ») reste dans la carte */
@media (max-width:599px){.av .rv-c .rv-lw{box-sizing:border-box;padding-right:10px}}
/* n°27 */
@media (max-width:600px){
html body:not(#u):not(#v) header.oh :is(.ori-rf,a.olb-b.ohm,a.oh-out,.ori-bk.ohx-bk){position:relative}
html body:not(#u):not(#v) header.oh :is(.ori-rf,a.olb-b.ohm)::after{content:"";position:absolute;inset:-2px}
html body:not(#u):not(#v) header.oh :is(a.oh-out,.ori-bk.ohx-bk)::after{content:"";position:absolute;inset:-2px 0}
html body:not(#u) .acb .acb-ft :is(a.acb-del,a.acb-out){min-height:40px;height:auto}
html body:not(#u) .acb .acb-cta,html body:not(#u) .acb .acb-ed{min-height:40px;height:auto}
html body:not(#u) .pcx-c :is(a.pcx-v1,a.pcx-v2){position:relative}
html body:not(#u) .pcx-c :is(a.pcx-v1,a.pcx-v2)::after{content:"";position:absolute;inset:-6px -4px}
html body:not(#u) .du .du-mycard{height:40px!important}
html.wa-in body:not(#u) :is(#odm,#obc,#ogrp) .wa-bk{width:40px;margin:0 -11px 0 -9px}
}
/* n°33 */
/* 33a offer modal: readable text (descriptions, chips, intro) */
html body #xom:not(#u) .xom-tx small{font-size:12px!important;line-height:1.35!important}
html body #xom:not(#u) .xom-fil b{font-size:12px!important}
html body #xom:not(#u) .xom-hd p{font-size:13px!important;line-height:1.5!important}
@media (max-height:700px){html body #xom:not(#u) .xom-hd p{font-size:12px!important}}
/* 33a sheet scrolls instead of clipping (360x640 already clipped the CTA) */
html body #xom:not(#u) .xom-s{max-height:100%;overflow-y:auto;overscroll-behavior:contain}
/* 33b close button: 48x48 (44x44 when 30px) hit area, same visual circle */
html body #xom:not(#u) .xom-x::before{content:"";position:absolute;inset:-7px;border-radius:50%}
/* 33c badges */
html body.home:not(#u) button.xof .xof-off{font-size:12px}
html body:not(#u) .odm-bdg{font-size:12px!important;min-width:20px}
/* 33d orphans */
html body:not(#u) .arx-tx small,html body:not(#u) span.pcx-tt{text-wrap:pretty}
/* 33e /astuces/ gutter on phone */
@media (max-width:600px){html body:not(#u) .pcx-home{margin-left:8px!important;margin-right:8px!important}}
/* 33f Service access arrows: side by side, 36x40 */
@media (max-width:820px){html body:not(#u) .av-arw{flex-direction:row;gap:4px}html body:not(#u) .av-arw button{width:36px;height:40px}}
/* 33g Concours blanc 'classé' tag */
html:not(.ori-light) body:not(#u) .cbl-hxr{color:#4ADE80!important}
html.ori-light body:not(#u) .cbl-hxr{color:#166534!important}
/* 33h /inscriptions/ editor buttons */
html:not(.ori-light) body:not(#u) .ovd .ov-b1{background:#2563EB}
html.ori-light body:not(#u) .ovd .ov-b1{background:#2563EB}
/* 33i Prof SH editor accent text */
html:not(.ori-light) body:not(#u) #pse button.fld[style] .fv,html:not(.ori-light) body:not(#u) #pse .sh2{color:color-mix(in srgb,var(--k) 55%,#fff)}
html.ori-light body:not(#u) #pse button.fld[style] .fv,html.ori-light body:not(#u) #pse .sh2{color:color-mix(in srgb,var(--k) 85%,#000)}
