/* Shared accessibility fixes, loaded after the visual themes. */
:where(a,button,input,select,textarea,summary,canvas,[tabindex]):focus-visible{outline:3px solid #6b45ac!important;outline-offset:4px!important;box-shadow:0 0 0 6px #fff!important}
main[tabindex="-1"]:focus{outline:none}
.mk-site .pm-footer-bottom a,.mk-site .pm-footer-bottom button,.mk-site .pm-footer-bottom,.mk-site .nx-footer-bottom,.mk-site .nx-footer-bottom a,.mk-site .nx-footer-bottom button{color:#b8c9e2!important}
.mk-site :is(.pm-consent,.pm-consent a,.pm-contact-form small){font-size:14px!important}
#cookie-banner{max-height:80dvh;overflow:auto;overscroll-behavior:contain}
.floating-panel{max-height:80dvh;overflow:auto}
.academy-modal{border:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:24px;background:transparent;color:inherit;box-sizing:border-box;overflow:auto}
.academy-modal[open]{display:flex;align-items:safe center;justify-content:center}
.academy-modal::backdrop{background:#06101fcc}
.academy-modal>.cm-modal-content,.academy-modal>.room-confirm-dialog{max-width:min(100%,1000px);max-height:calc(100dvh - 48px);overflow:auto;margin:auto;box-sizing:border-box}
.academy-modal>.room-confirm-dialog{max-width:560px}
.pm-tour-text{background:#17243a;color:#edf3ff;border:1px solid #8fa7c5;border-radius:12px;margin:12px 0;padding:14px;font-size:16px;line-height:1.7}
.pm-tour-text summary{cursor:pointer;font-weight:700;min-height:32px}
.pm-tour-text p{color:#d4e0f2!important;font-size:16px!important}
.pm-tour-text-list{display:flex;gap:10px;flex-wrap:wrap}
.pm-tour-text-list button{background:#e5d7f6;color:#17243a;border:1px solid #e5d7f6;border-radius:7px;padding:10px 14px;font-size:16px}
.ad-sidebar-close{display:none}
.ad-main{min-width:0}
.ad-shell :is(.ad-footer,.ad-page-heading p,.ad-event small,.ad-event time,.ad-course-shortcuts small,.ad-stat>p,.ad-card-heading>a){font-size:14px;line-height:1.6}
.ad-footer{flex-wrap:wrap}
.ad-shell .ad-search-input{color:#52654f}
.ad-shell .ad-search-input input::placeholder{color:#52654f;opacity:1}
@media(max-width:760px){.ad-sidebar:not(.is-open){visibility:hidden}.ad-sidebar-close{display:block;width:100%;margin-bottom:12px;padding:10px;background:#fff;color:#142c4b;border:0;border-radius:6px}.ad-shell :is(.ad-nav-item,.ad-nav-caption,.ad-form-fields label,.ad-form-fields input,.ad-form-fields select,.ad-permission-options label){font-size:14px!important}.ad-shell .ad-topbar-actions{min-width:0}.academy-modal{padding:12px}.academy-modal>.cm-modal-content,.academy-modal>.room-confirm-dialog{max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(forced-colors:active){:where(a,button,input,select,textarea,summary,canvas,[tabindex]):focus-visible{outline-color:Highlight!important;box-shadow:none!important}button{border:1px solid ButtonText!important}}

.vr-keyboard-aim{display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;color:white;background:#102827;border:2px solid white;border-radius:50%;width:30px;height:30px;text-align:center;line-height:24px;pointer-events:none}.vr-world:has(.vr-panorama:focus-visible) .vr-keyboard-aim{display:block}
