:root{--bg-main:#081530;--bg-surface:#0F2147;--bg-surface-hover:#16295A;--bg-input:#0B1A3A;--text-primary:#F2F4F8;--text-secondary:#B6C2DB;--text-muted:#8796B5;--brand-primary:#60A5FA;--brand-accent:#2563EB;--btn-text:#FFFFFF;--border-subtle:rgba(96,165,250,.16);--success:#34D399;--warning:#FBBF24;--danger:#F87171;--brand-navy:#0B1B3F;--brand-blue:#2563EB;--brand-sky:#60A5FA}
[data-theme="light"],html.ori-light{--bg-main:#F2F4F8;--bg-surface:#FFFFFF;--bg-surface-hover:#EAF0FD;--bg-input:#FFFFFF;--text-primary:#0B1B3F;--text-secondary:#3D4B6B;--text-muted:#5B6885;--brand-primary:#2563EB;--brand-accent:#1D4ED8;--btn-text:#FFFFFF;--border-subtle:#DCE3F2;--success:#047857;--warning:#92400E;--danger:#B91C1C}
/* Pont vers les anciennes variables (transition) */
html[data-ori-tk]:root body.ori-x{--bg:var(--bg-main);--ink:var(--text-primary);--mute:var(--text-secondary);--line:var(--border-subtle);background-color:var(--bg-main)!important;color:var(--text-primary)!important}
/* Header */
html[data-ori-tk]:root header.oh .oh-nav a{color:var(--text-secondary)!important}
html[data-ori-tk]:root header.oh .oh-nav a:hover,html[data-ori-tk]:root header.oh .oh-nav a.cur{color:var(--text-primary)!important}
html[data-ori-tk]:root header.oh .oh-nav a.cur::after{background:var(--brand-primary)!important}
html[data-ori-tk]:root header.oh .oh-menu::before,html[data-ori-tk]:root header.oh .oh-menu i{background:var(--text-primary)!important;box-shadow:none!important;height:2.5px!important}
html[data-ori-tk]:root header.oh .oh-menu i:first-child,html[data-ori-tk]:root header.oh .oh-menu i:first-of-type{background:var(--brand-primary)!important}
html[data-ori-tk]:root header.oh .oh-adm{color:var(--brand-primary)!important;background:color-mix(in srgb,var(--brand-primary) 12%,transparent)!important;border-color:color-mix(in srgb,var(--brand-primary) 40%,transparent)!important}
html[data-ori-tk]:root header.oh .oh-adm:hover{background:color-mix(in srgb,var(--brand-primary) 20%,transparent)!important}
html[data-ori-tk]:root header.oh .oh-adm.on{background:var(--brand-accent)!important;color:var(--btn-text)!important;border-color:var(--brand-accent)!important}
html[data-ori-tk]:root header.oh .oh-me{background-color:var(--bg-surface-hover)!important;color:var(--text-primary)!important;border-color:var(--border-subtle)!important}
html[data-ori-tk]:root .olb-b{color:var(--text-primary)!important}
html[data-ori-tk]:root .olb-b:hover,html[data-ori-tk]:root .olb.on .olb-b{background:color-mix(in srgb,var(--brand-primary) 12%,transparent)!important;border-color:color-mix(in srgb,var(--brand-primary) 40%,transparent)!important}
html[data-ori-tk]:root .olb-m{background:var(--bg-surface)!important;border-color:var(--border-subtle)!important}
html[data-ori-tk]:root .olb-m a{color:var(--text-primary)!important}
html[data-ori-tk]:root .olb-m a:hover{background:var(--bg-surface-hover)!important}
html[data-ori-tk]:root .olb-m a.cur{background:var(--brand-accent)!important;color:var(--btn-text)!important}
html[data-ori-tk]:root :is(.oh-adm,.olb-b,.olb-m a,.olang a,.od-va-o a,.od a):focus-visible{outline:2px solid var(--brand-primary)!important;outline-offset:2px}
/* Menu lateral */
html[data-ori-tk]:root #od.od{background:var(--bg-surface)!important;color:var(--text-primary)!important}
html[data-ori-tk]:root #od .od-x{color:var(--text-primary)!important}
html[data-ori-tk]:root #od .od-user{background:var(--bg-surface-hover)!important;color:var(--text-primary)!important}
html[data-ori-tk]:root #od .od-user strong{color:var(--text-primary)!important}
html[data-ori-tk]:root #od .od-user em{color:var(--text-muted)!important}
html[data-ori-tk]:root #od .od-user em.w::before,html[data-ori-tk]:root #od .od-user em.a::before{background:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-va{background:color-mix(in srgb,var(--brand-primary) 8%,transparent)!important;border-color:color-mix(in srgb,var(--brand-primary) 28%,transparent)!important}
html[data-ori-tk]:root #od .od-va-l{color:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-va-o{background:var(--bg-input)!important}
html[data-ori-tk]:root #od .od-va-o a{color:var(--text-secondary)!important}
html[data-ori-tk]:root #od .od-va-o a.on{background:var(--brand-accent)!important;color:var(--btn-text)!important}
html[data-ori-tk]:root #od .od-gh{color:var(--text-muted)!important}
html[data-ori-tk]:root #od .od-gh-s{color:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-gh svg{fill:var(--brand-primary)!important;stroke:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-route a.od-st{color:var(--text-secondary)!important}
html[data-ori-tk]:root #od .od-route a.od-st:hover,html[data-ori-tk]:root #od .od-route a.od-st.cur{color:var(--text-primary)!important}
html[data-ori-tk]:root #od .od-route a.od-st.cur{background:color-mix(in srgb,var(--brand-primary) 12%,transparent)!important}
html[data-ori-tk]:root #od .od-st.cur .od-nd svg{background:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-route a.od-st em.lk{color:var(--brand-primary)!important;background-color:color-mix(in srgb,var(--brand-primary) 14%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary) 30%,transparent)!important}
html[data-ori-tk]:root #od .od-star svg{fill:var(--brand-primary)!important;stroke:var(--brand-primary)!important}
html[data-ori-tk]:root #od .od-adm a{color:var(--brand-primary)!important;border-color:color-mix(in srgb,var(--brand-primary) 40%,transparent)!important}
html[data-ori-tk]:root #od .od-adm a.cur{background:var(--brand-accent)!important;color:var(--btn-text)!important}
html[data-ori-tk]:root #od .od-ft{border-color:var(--border-subtle)!important}
html[data-ori-tk]:root #od .od-ft .od-out{color:var(--danger)!important;background:color-mix(in srgb,var(--danger) 8%,var(--bg-surface))!important;border:1px solid color-mix(in srgb,var(--danger) 35%,transparent)!important;opacity:1!important;visibility:visible!important}
/* Cartes partagees */
html[data-ori-tk]:root body.ori-x :is(.x .xfeat,.x .xtile,.x .xstep,.x .xcard,.x .xsoon,.x .xauth,.x .xauth-b,.xlock,.acc-card:not(.xdark),.acc-top,.cp-src,.nb-src,.nb-in,.xpriv){color:var(--text-primary)!important;background:var(--bg-surface)!important;border-color:var(--border-subtle)!important}
html[data-ori-tk]:root body.ori-x .acc .acc-row dd .acc-nd{color:var(--text-muted)!important}
/* Boutons partages */
html[data-ori-tk]:root body.ori-x .xom-cta{background:var(--brand-accent)!important;color:var(--btn-text)!important;border-color:var(--brand-accent)!important}
html[data-ori-tk]:root body.ori-x .xom-cta svg{color:var(--btn-text)!important;stroke:var(--btn-text)!important}
html[data-ori-tk]:root body.ori-x .xf>button:last-child:not(:disabled){background:var(--brand-accent)!important;color:var(--btn-text)!important;border-color:var(--brand-accent)!important}
/* Champs */
:where(html[data-ori-tk]:root body.ori-x :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]),select,textarea)){background-color:var(--bg-input);border-color:var(--border-subtle)}
html[data-ori-tk]:root body.ori-x :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]),select,textarea){color:var(--text-primary)!important}
html[data-ori-tk]:root body.ori-x :is(input,textarea)::placeholder{color:var(--text-muted)!important;opacity:1!important}
html[data-ori-tk]:root body.ori-x :is(input,select,textarea):focus-visible{border-color:var(--brand-primary)!important;outline:2px solid color-mix(in srgb,var(--brand-primary) 35%,transparent)!important;outline-offset:1px}
html[data-ori-tk]:root body.ori-x select option{background:var(--bg-surface);color:var(--text-primary)}
/* Logo : bleu Orientis en clair, bleu ciel en sombre */
html[data-ori-tk]:root[data-theme="light"] .xlogo-svg [fill="#60A5FA"]{fill:var(--brand-blue)!important}
/* Bouton theme */
html[data-ori-tk]:root #ori-th{color:var(--brand-primary)!important;background:var(--bg-surface)!important;border:1px solid var(--border-subtle)!important}
/* Phase 2 : pages principales (or -> bleu, warning limite aux badges) */
html[data-ori-tk]:root body.home .xhero .xpill>b{background:var(--warning)!important;color:var(--brand-navy)!important;box-shadow:none!important}
html[data-ori-tk]:root body.home .xhero .xpill>b::before{background:currentColor!important}
html[data-ori-tk]:root[data-theme="light"] body.home .xhero .xpill>b{background:color-mix(in srgb,var(--warning) 12%,#fff)!important;color:var(--warning)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--warning) 35%,transparent)!important}
html[data-ori-tk]:root body.home .xhero h1 em svg.xsw path{stroke:var(--brand-primary)!important}
html[data-ori-tk]:root body.home .xof .xof-i{background:#fff!important;color:var(--brand-blue)!important;box-shadow:0 6px 16px -8px rgba(11,27,63,.45)!important}
html[data-ori-tk]:root body.home .xof .xof-i svg{fill:var(--brand-blue)!important;stroke:none!important}
html[data-ori-tk]:root body.home .xsp-box{border-color:color-mix(in srgb,var(--brand-primary) 35%,transparent)!important}
html[data-ori-tk]:root body.home .xcd{background:var(--bg-surface)!important;border-color:var(--border-subtle)!important;box-shadow:0 8px 20px -14px rgba(11,27,63,.16)!important}
html[data-ori-tk]:root body.home .xcd .xcd-g>span{background:var(--bg-main)!important;border-color:var(--border-subtle)!important}
html[data-ori-tk]:root body.home .xcd .xcd-h .xcd-i{background:color-mix(in srgb,var(--brand-primary) 14%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary) 35%,transparent)!important}
html[data-ori-tk]:root body.home .xcd .xcd-h .xcd-i svg{stroke:var(--brand-primary)!important}
html[data-ori-tk]:root body.home .xcd .xcd-g b{color:var(--text-primary)!important;-webkit-text-fill-color:var(--text-primary)!important}
html[data-ori-tk]:root body.home .xcd .xcd-g span:first-child b{color:var(--brand-primary)!important;-webkit-text-fill-color:var(--brand-primary)!important;background:none!important;text-shadow:none!important}
html[data-ori-tk]:root body.home .xcd .xcd-g small{color:var(--text-secondary)!important}
html[data-ori-tk]:root body.ori-x .ori-bk svg{stroke:var(--brand-primary)!important}
html[data-ori-tk]:root body.ori-x .cl-st.soon{color:var(--warning)!important;background:color-mix(in srgb,var(--warning) 14%,transparent)!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .cl-st.soon{background:color-mix(in srgb,var(--warning) 10%,#fff)!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .cl-st.on{color:#065F46!important;background:color-mix(in srgb,var(--success) 10%,#fff)!important}
html[data-ori-tk]:root body.ori-x #nbM,html[data-ori-tk]:root body.ori-x #nbT b{color:var(--brand-primary)!important;-webkit-text-fill-color:var(--brand-primary)!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .nbx-tk span{color:var(--text-primary)!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .of-a span{color:var(--text-muted)!important}
html[data-ori-tk]:root body.error404 .xph .xw>span{color:var(--brand-primary)!important;-webkit-text-fill-color:var(--brand-primary)!important;background:none!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .mc-e .mc-go{background:color-mix(in srgb,var(--brand-primary) 10%,#fff)!important;color:var(--brand-accent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary) 38%,transparent)!important;font-weight:700!important}
html[data-ori-tk]:root[data-theme="light"] body.ori-x .mc-e:hover .mc-go{background:var(--brand-accent)!important;color:var(--btn-text)!important}
html[data-ori-tk]:root body.ori-x .mc-e .mc-et{min-width:0!important;flex:1 1 auto!important}
html[data-ori-tk]:root body.ori-x .mc-e .mc-et b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.25!important}
html[data-ori-tk]:root body.ori-x .mc-e .mc-go{flex:0 0 auto!important;white-space:nowrap!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=file]),select,textarea){color:var(--text-primary)!important;-webkit-text-fill-color:var(--text-primary)!important;caret-color:var(--text-primary)}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x select option{color:#0B1B3F;background:#fff}
/* Badge Administration dans la carte du menu lateral */
html[data-ori-tk]:root #od .od-userw{position:relative}
html[data-ori-tk]:root #od .od-userw .od-user{padding-right:62px!important}
html[data-ori-tk]:root #od .od-userw a.od-admx{position:absolute!important;left:auto!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;height:42px!important;padding:0!important;margin:0!important;border-radius:12px!important;display:grid!important;place-items:center;gap:0!important;background:color-mix(in srgb,var(--brand-primary) 14%,transparent)!important;border:1px solid color-mix(in srgb,var(--brand-primary) 40%,transparent)!important;color:var(--brand-primary)!important;z-index:2;transition:background .15s,color .15s}
html[data-ori-tk]:root #od .od-userw a.od-admx span{display:none!important}
html[data-ori-tk]:root #od .od-userw a.od-admx svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round;stroke-linejoin:round}
html[data-ori-tk]:root #od .od-userw a.od-admx:hover,html[data-ori-tk]:root #od .od-userw a.od-admx:focus-visible{background:var(--brand-accent)!important;color:var(--btn-text)!important}
html[data-ori-tk]:root #od .od-userw a.od-admx.on,html[data-ori-tk]:root #od .od-userw a.od-admx.cur,html[data-ori-tk]:root #od .od-userw a.od-admx[aria-current]{background:var(--brand-accent)!important;color:var(--btn-text)!important}
/* Admin liste eleves + Score CPGE : or -> bleu */
html[data-ori-tk]:root body.ori-x #av .av-seg>button.on{background:var(--brand-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x #av .av-chips>button{background:var(--bg-surface)!important;color:var(--text-secondary)!important;-webkit-text-fill-color:var(--text-secondary)!important;border:1px solid var(--border-subtle)!important;opacity:1!important;filter:none!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x #av .av-chips>button.on{background:var(--brand-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--brand-accent)!important}
html[data-ori-tk]:root body.ori-x .cpx .cpx-rk,html[data-ori-tk]:root body.ori-x .rkl .rkl-p{background:var(--brand-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--brand-accent)!important;box-shadow:0 6px 16px -8px color-mix(in srgb,var(--brand-accent) 70%,transparent)!important}
html[data-ori-tk]:root body.ori-x .cpx-r.top .nm>em,html[data-ori-tk]:root body.ori-x .cpx-r.top .vl{color:var(--brand-primary)!important;-webkit-text-fill-color:var(--brand-primary)!important}
html[data-ori-tk]:root body.ori-x .cpx-r.top .br>u{background:var(--brand-primary)!important}
html[data-ori-tk]:root body.ori-x .rkl .rkl-i{background-color:color-mix(in srgb,var(--brand-primary) 14%,transparent)!important}
html[data-ori-tk]:root:not([data-theme="light"]):not(.ori-light) body.ori-x .cpx-sel select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important}
/* Brumes : halo offre + fondu des vignettes video (clair) */
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #xom .xom-glow{display:none!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .vdk-t{background:#0B1B3F!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .vdk-t::after{background:linear-gradient(180deg,rgba(11,27,63,0) 55%,rgba(11,27,63,.55))!important}
html[data-ori-tk]:root #od .od-st:has(.od-ic) em.lk{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:12px 12px!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #od .od-st:has(.od-ic) em.lk{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important}
/* Calendrier : statut et etape suivante en bleu */
html[data-ori-tk]:root body.ori-x:has(.cl-s) .cl .cl-st.soon{color:var(--brand-primary)!important;-webkit-text-fill-color:var(--brand-primary)!important;background:color-mix(in srgb,var(--brand-primary) 14%,transparent)!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x:has(.cl-s) .cl .cl-st.soon{color:var(--brand-accent)!important;-webkit-text-fill-color:var(--brand-accent)!important;background:color-mix(in srgb,var(--brand-primary) 10%,#fff)!important}
html[data-ori-tk]:root body.ori-x:has(.cl-s) .cl .cl-st.soon::before{background:currentColor!important}
html[data-ori-tk]:root body.ori-x .cl .cl-s.nx>i.cl-d{background:var(--brand-primary)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--brand-primary) 22%,transparent)!important}
html[data-ori-tk]:root body.ori-x .cl .cl-s.nx{background:color-mix(in srgb,var(--brand-primary) 12%,transparent)!important;background-image:none!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .cl .cl-s.nx{background:color-mix(in srgb,var(--brand-primary) 9%,#fff)!important;background-image:none!important}
/* Menu lateral : nom tronque + ligne active alignee */
html[data-ori-tk]:root #od .od-userw .od-user>span{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
html[data-ori-tk]:root #od .od-userw .od-user strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important}
html[data-ori-tk]:root #od .od-userw .od-user em{display:inline-flex;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-ori-tk]:root #od .od-userw .od-user{padding-inline-end:60px!important}
html[data-ori-tk]:root #od .od-userw a.od-admx{right:10px!important;width:40px!important;height:40px!important}
html[data-ori-tk]:root #od .od-route a.od-st.cur{margin-inline:-8px!important;padding-inline-start:8px!important;padding-inline-end:18px!important;border-radius:14px!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.home .xhero h1 em .xgt{background-image:linear-gradient(100deg,#1D4ED8,#2563EB 55%,#3B82F6)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
html[data-ori-tk]:root header.oh a.oh-adm[href*="/administration/"]{display:none!important}
/* Espace eleve : appui sans retrecissement (coins), reflet conserve */
html[data-ori-tk]:root body.home .xsp-box .xsp-hd.xof:active,html[data-ori-tk]:root body.home .xsp-box .xsp-hd.xof:hover{transform:none!important}
html[data-ori-tk]:root body.home .xsp-box .xsp-hd.xof:active{filter:brightness(.94)}
html[data-ori-tk]:root body.home .xsp-box .xsp-hd.xof:focus-visible{outline:2px solid var(--brand-primary)!important;outline-offset:-2px!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.home .xsp-box .xof-sh{background:linear-gradient(105deg,transparent,rgba(255,255,255,.12),transparent)!important}
/* Champs pre-remplis par le navigateur (autofill) : meme fond et texte que les champs */
html[data-ori-tk]:root body.ori-x :is(input,select,textarea):-webkit-autofill,html[data-ori-tk]:root body.ori-x :is(input,select,textarea):-webkit-autofill:hover,html[data-ori-tk]:root body.ori-x :is(input,select,textarea):-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--bg-input) inset!important;box-shadow:0 0 0 1000px var(--bg-input) inset!important;-webkit-text-fill-color:var(--text-primary)!important;caret-color:var(--text-primary)!important;transition:background-color 99999s ease 0s!important}
/* Controles natifs (cases, listes, barres) assortis au mode */
html[data-ori-tk]:root:is([data-theme="light"],.ori-light){color-scheme:light!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x :is(input,select,textarea){color-scheme:light!important}
html[data-ori-tk]:root:not([data-theme="light"]):not(.ori-light){color-scheme:dark!important}
/* Connexion / inscription : icones lisibles */
html[data-ori-tk]:root body.ori-x .au-hd .au-mk svg{stroke:#fff!important;color:#fff!important}
html[data-ori-tk]:root body.ori-x .au-av .au-av-c svg{stroke:#fff!important;color:#fff!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .au-av .au-av-c{border-color:#fff!important;box-shadow:0 4px 12px -4px rgba(37,99,235,.55)!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .au-in>svg,html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.ori-x .au-in .au-eye svg{stroke:var(--text-muted)!important;color:var(--text-muted)!important}
/* Services verrouilles (accueil) : tuile attenuee proprement + cadenas lisible */
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.home .xapp a.xlk i{filter:none!important;opacity:1!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.home .xapp a.xlk .xlk-b{background:#fff!important;color:var(--brand-accent)!important;box-shadow:0 0 0 1.5px var(--border-subtle),0 2px 6px rgba(11,27,63,.16)!important;opacity:1!important}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) body.home .xapp a.xlk .xlk-b svg{stroke:var(--brand-accent)!important;color:var(--brand-accent)!important}
/* Message de service verrouille */
html[data-ori-tk]:root .ori-lk{top:84px!important;left:16px!important;right:16px!important;max-width:460px!important;padding:14px 18px 14px 20px!important;border-radius:16px!important;background:#0B1B3F!important;color:#fff!important;border:1px solid rgba(96,165,250,.35)!important;border-left:4px solid #2563EB!important;box-shadow:0 18px 40px -12px rgba(11,27,63,.55),0 2px 6px rgba(11,27,63,.18)!important;font:600 14.5px/1.5 Poppins,Inter,system-ui,sans-serif!important;text-align:left!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:oriLkIn .35s cubic-bezier(.2,.8,.2,1),oriLk 6s forwards!important}
html[data-ori-tk]:root[dir="rtl"] .ori-lk,html[data-ori-tk][dir="rtl"] .ori-lk{text-align:right!important;border-left:1px solid rgba(96,165,250,.35)!important;border-right:4px solid #2563EB!important}
@keyframes oriLkIn{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html[data-ori-tk]:root .ori-lk{animation:oriLk 6s forwards!important}}
/* Badge verifie : etoile bleue Orientis + coche blanche, dans les deux modes */
html[data-ori-tk]:root .av-vf .av-vf-s{fill:#2563EB!important}
html[data-ori-tk]:root .av-vf .av-vf-c{fill:none!important;stroke:#fff!important}
/* Champ dans un conteneur (recherche admin) : pas de cadre interne au focus, anneau sur le conteneur */
html[data-ori-tk]:root body.ori-x .av-q input,html[data-ori-tk]:root body.ori-x .av-q input:focus,html[data-ori-tk]:root body.ori-x .av-q input:focus-visible{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
html[data-ori-tk]:root body.ori-x .av-q:focus-within{border-color:var(--brand-primary)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-primary) 22%,transparent)!important}
/* Switch theme dans le header */
html[data-ori-tk]:root #ori-th.in-hd{position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;z-index:1!important;flex:0 0 auto!important;display:inline-block!important;visibility:visible!important;opacity:1!important;width:58px!important;height:32px!important;padding:0!important;margin:0 10px 0 0;border-radius:999px!important;border:1px solid var(--border-subtle)!important;background:color-mix(in srgb,var(--brand-primary) 12%,var(--bg-main))!important;box-shadow:inset 0 1px 3px rgba(11,27,63,.18)!important;cursor:pointer;font-size:0!important;line-height:0;-webkit-tap-highlight-color:transparent;transition:none;align-self:center}
html[data-ori-tk]:root #ori-th.in-hd:hover{border-color:color-mix(in srgb,var(--brand-primary) 50%,transparent)!important}
html[data-ori-tk]:root #ori-th.in-hd:focus-visible{outline:2px solid var(--brand-primary)!important;outline-offset:2px}
html[data-ori-tk]:root #ori-th svg{fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
html[data-ori-tk]:root #ori-th .ori-sw-i{position:absolute;top:50%;width:14px;height:14px;margin-top:-7px;color:var(--text-muted);opacity:.85}
html[data-ori-tk]:root #ori-th .ori-sw-i.s{left:9px}
html[data-ori-tk]:root #ori-th .ori-sw-i.m{right:9px}
html[data-ori-tk]:root #ori-th .ori-sw-k{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--brand-accent);color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.35);transform:translateX(26px);transition:none}
html[data-ori-tk]:root #ori-th.anim .ori-sw-k{transition:transform .28s cubic-bezier(.4,.1,.2,1),background .25s}
html[data-ori-tk]:root #ori-th .ori-sw-k svg{width:14px;height:14px;grid-area:1/1}
html[data-ori-tk]:root #ori-th .ori-sw-k .s{display:none}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #ori-th .ori-sw-k{transform:translateX(0);background:#fff;color:var(--brand-blue);box-shadow:0 2px 6px rgba(11,27,63,.28)}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #ori-th .ori-sw-k .s{display:block}
html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #ori-th .ori-sw-k .m{display:none}
@media (max-width:820px){html[data-ori-tk]:root #ori-th.in-hd{width:50px!important;height:28px!important;margin-right:6px}html[data-ori-tk]:root #ori-th .ori-sw-k{width:20px;height:20px;transform:translateX(22px)}html[data-ori-tk]:root:is([data-theme="light"],.ori-light) #ori-th .ori-sw-k{transform:translateX(0)}html[data-ori-tk]:root #ori-th .ori-sw-i{width:12px;height:12px;margin-top:-6px}html[data-ori-tk]:root #ori-th .ori-sw-i.s{left:7px}html[data-ori-tk]:root #ori-th .ori-sw-i.m{right:7px}html[data-ori-tk]:root #ori-th .ori-sw-k svg{width:12px;height:12px}}
@media (prefers-reduced-motion:reduce){html[data-ori-tk]:root #ori-th .ori-sw-k{transition:none}}
@media (max-width:820px){html[data-ori-tk]:root body.ori-x #content{padding-bottom:0!important}}