/* Phone entrance; desktop rules and the shared consent decision are preserved. */
.academy-mobile-panel-nav,.academy-gallery-expand{display:none}
.academy-gallery-dialog{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#101c31;color:#fff;overflow:hidden}
.academy-gallery-dialog::backdrop{background:#101c31ed}
.academy-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.academy-gallery-dialog header,.academy-gallery-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left));background:#101c31;z-index:1}
.academy-gallery-dialog header{padding-top:max(12px,env(safe-area-inset-top))}
.academy-gallery-dialog footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.academy-gallery-dialog button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #718099;border-radius:12px;background:#1c304d;color:#fff;font:700 15px/1.2 system-ui;cursor:pointer}
.academy-gallery-dialog button:focus-visible{outline:3px solid #f4c84f;outline-offset:2px}
.academy-gallery-dialog button:disabled{opacity:.4;cursor:default}
.academy-gallery-dialog h2{font:700 16px/1.3 system-ui;margin:0}
.academy-gallery-dialog [data-image-count]{font:600 13px/1.4 system-ui}
.academy-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}
.academy-gallery-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform:translate(var(--image-x,0px),var(--image-y,0px)) scale(var(--image-zoom,1));transform-origin:center;will-change:transform;pointer-events:none;user-select:none}
.academy-gallery-zoom{display:flex;align-items:center;gap:8px}
.academy-gallery-hint{font:400 12px/1.4 system-ui;color:#d1dbea}
@media(max-width:700px){
 body:has(.welcome-grid){background:#f4f7fc}
 .welcome-grid{display:flex;flex-direction:column;gap:12px;width:auto;max-width:none;margin:10px 10px 20px;min-width:0}
 .welcome-card{order:0;box-sizing:border-box;padding:13px;border-radius:16px;box-shadow:none}
 .welcome-card-header{margin-bottom:12px;gap:8px;align-items:center}
 .welcome-card-header .welcome-brand{gap:8px;min-width:0}
 .welcome-card-header .welcome-brand img{width:32px;height:32px}
 .welcome-card-header h1{font-size:15px;line-height:1.15;max-width:170px}
 .welcome-free-entry{padding:14px;margin:0 0 13px;border-radius:13px;border-color:#c5d4e9;background:#f7faff}
 .welcome-free-entry h2{font-size:24px;line-height:1.15;margin:0 0 8px;letter-spacing:-.025em}
 .welcome-free-entry p{font-size:12px;line-height:1.5;margin:0 0 11px;max-width:none}
 .welcome-free-entry .welcome-free-cta{min-height:44px;width:100%;padding:9px 13px;font-size:14px;border-radius:10px}
 .welcome-free-entry .welcome-free-details{font-size:10.5px;line-height:1.45;margin-top:9px;max-width:none}
 .gallery{min-width:0;position:relative}
 .gallery-screen{position:relative;aspect-ratio:16/9;border-radius:11px;background:#eef3fa;cursor:zoom-in;overflow:hidden}
 .gallery-screen>img{object-fit:contain;width:100%;height:100%}
 .gallery-screen:has(iframe),.gallery-screen:has(.gallery-play){cursor:auto}
 .gallery-dots{display:flex!important;flex-wrap:nowrap;gap:7px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8ea9ce transparent;margin:9px 0 10px;padding:2px 1px 6px;touch-action:pan-x pan-y;max-width:100%}
 .gallery-dots button{box-sizing:border-box;flex:0 0 64px;width:64px;min-width:64px;height:46px;min-height:44px;border-radius:8px;scroll-snap-align:center}
 .gallery-dots button[aria-selected=true]{outline:2px solid #003da5;outline-offset:-2px}
 .academy-gallery-expand{display:grid;place-items:center;position:absolute;right:8px;bottom:8px;width:38px;height:38px;min-height:38px;padding:8px;border:1px solid #b3c2d8;border-radius:10px;background:#fff;color:#003da5;box-shadow:0 2px 9px #0f2a4d2a;cursor:zoom-in}
 .academy-gallery-expand svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
 .welcome-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:4px 0 8px;font-size:10px}
 .welcome-meta>span{font-size:10px;gap:4px}.welcome-meta svg{width:14px;height:14px}
 .welcome-meta .welcome-creator{width:auto;margin-left:auto;padding:0;border:0;gap:5px;flex-wrap:wrap;font-size:10px}
 .welcome-creator img{width:23px;height:23px}
 .welcome-description{font-size:12px;line-height:1.5;padding:0;max-height:none!important;overflow:visible;transition:none}
 .welcome-description:after{display:none!important}
 .welcome-campus-intro{padding:9px 0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 .welcome-campus-intro h2{font-size:16px!important;line-height:1.3;margin:0 0 5px!important}
 .welcome-campus-intro p{font-size:12px!important;line-height:1.5;margin:0!important;display:none}
 .academy-mobile-information{border-top:1px solid #dce5f1;margin-top:5px}
 .academy-mobile-information>summary{padding:11px 2px;font-size:12px;font-weight:750;color:#003da5;cursor:pointer;min-height:22px}
 .academy-mobile-information>div{font-size:12px;line-height:1.6;padding:0 1px 8px}
 .academy-mobile-information p{margin:9px 0}.academy-mobile-information ul{padding-left:18px;margin:9px 0}
 .academy-mobile-information>summary:focus-visible{outline:2px solid #003da5;outline-offset:2px}
 .welcome-rail-column{display:flex!important;order:1;align-items:flex-start;gap:10px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0;scrollbar-width:thin;scrollbar-color:#8ea9ce transparent;padding:0 0 7px;overscroll-behavior-x:contain;box-sizing:border-box}
 .welcome-rail-column>.welcome-free-entry,.welcome-rail-column>.welcome-rail,.welcome-rail-column>.welcome-reviews,.welcome-rail-column>.welcome-quiz-deck{box-sizing:border-box;order:0!important;flex:0 0 calc(100% - 16px);width:calc(100% - 16px);min-width:0;max-width:none;margin:0!important;border-radius:13px;scroll-snap-align:start;scroll-snap-stop:always;box-shadow:none}
 .welcome-rail-column>[hidden]{display:none!important}
 .welcome-rail{position:static}.welcome-rail>.skool-banner{height:68px!important;min-height:0!important;aspect-ratio:auto!important;object-position:center 35%;object-fit:cover}
 .welcome-rail-body{padding:12px}.welcome-rail h2{font-size:16px;margin:0 0 6px;line-height:1.25}
 .welcome-rail p{font-size:12px;line-height:1.45;margin:7px 0}
 .welcome-links{display:grid;grid-template-columns:1fr;gap:5px;margin:10px 0}
 .welcome-links a,.welcome-links .academy-website-link{justify-content:flex-start;min-height:40px;padding:8px 10px;font-size:12px;gap:9px;border-radius:9px}
 .welcome-links a span{display:inline}.welcome-links a>img,.welcome-links a>svg{width:20px;height:20px}
 .welcome-rail-enter{box-sizing:border-box;min-height:44px;padding:10px 13px;font-size:14px;border-radius:10px}
 .welcome-rail-enter svg{width:20px;height:20px}
 .academy-mobile-panel-nav{display:flex;order:2;justify-content:center;gap:5px;flex-wrap:wrap;margin:5px 0 14px;padding:0}
 .academy-mobile-panel-nav button{min-height:36px;padding:7px 10px;border:1px solid #ccd8e9;border-radius:999px;color:#304a70;background:white;font:650 11px/1.3 system-ui;cursor:pointer}
 .academy-mobile-panel-nav button[aria-current=true]{background:#003da5;border-color:#003da5;color:#fff}
 .welcome-reviews{padding:13px}.welcome-reviews>header{margin-bottom:8px}.welcome-reviews h2{font-size:17px;line-height:1.25}
 .welcome-reviews>header>div>span{font-size:10px}.welcome-preply-mark{width:26px;height:26px}.welcome-preply-mark img{width:24px;height:24px}
 .welcome-review-rating{margin:8px 0}.welcome-review-rating strong{font-size:23px}.welcome-review-rating span{font-size:17px}.welcome-review-rating small{font-size:10px}
 .welcome-review-slide{padding:10px;min-height:0;border-radius:11px}.welcome-review-person img{width:34px;height:34px}.welcome-review-person strong{font-size:12px}.welcome-review-person small{font-size:10px}
 .welcome-review-slide .welcome-review-excerpt{font-size:12px;line-height:1.55;-webkit-line-clamp:4}.welcome-review-slide b{font-size:11px}
 .welcome-reviews footer{gap:8px;margin-top:8px}.welcome-reviews footer button{min-height:38px;font-size:12px}
 .welcome-quiz-deck{padding:13px;border-top-width:4px}.welcome-quiz-deck>header{margin-bottom:12px}.welcome-quiz-deck>header>img{width:24px;height:24px}
 .welcome-quiz-deck h2{font-size:17px}.welcome-quiz-meter{margin-bottom:12px}.welcome-quiz-deck legend{font-size:14px;line-height:1.4;margin-bottom:8px}
 .welcome-quiz-deck .welcome-quiz-context{font-size:11px;line-height:1.45;padding:8px 10px;margin-bottom:9px}
 .welcome-quiz-deck [data-quiz-options] button{font-size:12px;min-height:44px;margin-top:6px;padding:8px;gap:7px}
 .welcome-quiz-deck .welcome-quiz-explanation,.welcome-quiz-deck .welcome-quiz-feedback{font-size:12px;line-height:1.45}
 .welcome-quiz-deck .welcome-quiz-next,.welcome-quiz-result>button{min-height:42px;font-size:12px;margin-top:10px}
 .welcome-final-join{padding:0 12px;margin:10px auto 18px;gap:10px}.welcome-final-join .welcome-action{min-height:48px;font-size:16px;padding:12px 18px;max-width:none;width:100%;border-radius:12px}.welcome-final-join .welcome-member-login{font-size:12px}
 .academy-mobile-guide{margin:0 12px 18px;border:1px solid #ccd8e9;border-radius:12px;background:#fff;color:#1e3658;overflow:hidden}
 .academy-mobile-guide>summary{padding:14px;font-size:13px;line-height:1.4;font-weight:750;cursor:pointer}
 .academy-mobile-guide>summary:focus-visible{outline:2px solid #003da5;outline-offset:-4px}
 .academy-mobile-guide .welcome-learning{width:auto;margin:0;padding:15px;border:0;border-radius:0;box-shadow:none}
 .academy-mobile-guide .welcome-learning h2{font-size:18px}.academy-mobile-guide .welcome-learning h3{font-size:14px}.academy-mobile-guide .welcome-learning p,.academy-mobile-guide .welcome-learning a,.academy-mobile-guide summary{font-size:12px;line-height:1.6}
 .academy-mobile-guide .welcome-learning-grid{gap:10px}.academy-mobile-guide .welcome-learning-grid article{padding:12px}
 .welcome-footer{font-size:10px;margin:0 14px;padding:12px 0 calc(18px + env(safe-area-inset-bottom));line-height:1.7}
 .campus-cookie-banner{right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100vw - 20px);padding:11px;border-radius:13px;font-size:11px;box-shadow:0 5px 22px #13295324}
 body:has(.academy-mobile-tabs) .campus-cookie-banner{bottom:calc(72px + env(safe-area-inset-bottom))}
 .campus-cookie-heading{gap:7px}.campus-cookie-heading h2{font-size:13px}.campus-cookie-icon{width:22px;height:22px;animation:none}
 .campus-cookie-banner p{font-size:11px;line-height:1.4;margin:5px 0}.campus-cookie-banner>a{font-size:10px}
 .campus-cookie-actions{margin-top:8px;gap:7px}.campus-cookie-actions button{min-height:40px;padding:8px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.welcome-rail-column,.gallery-dots{scroll-behavior:auto!important}}

/* Public presentation only. Keep access, payments, consent and the shared campus separate. */
.welcome-links .academy-website-link{border:1px solid #171b24!important;background:#fff!important;color:#172338!important;animation:none!important;box-shadow:none!important}
.welcome-links .academy-website-link:hover{border-color:#171b24!important;background:#f7f8fa!important;color:#172338!important}
.welcome-quiz-deck,.welcome-quiz-deck[data-tone]{--quiz-tone:#d9e5f6;--quiz-tint:#233750;background:#142338;color:#f5f8fd;border:1px solid #2a405b;border-top-width:1px;box-shadow:none}
.welcome-quiz-deck h2,.welcome-quiz-deck legend{color:#f5f8fd}.welcome-quiz-deck>header>img{display:none}
.welcome-quiz-deck .welcome-quiz-progress{color:#b5c7df;font-weight:600}.welcome-quiz-meter{background:#2b405c}.welcome-quiz-meter i{background:#d4e2f4}
.welcome-quiz-face{transform:none!important;transition:opacity .14s ease}.welcome-quiz-face.is-changing-question{opacity:0;transform:none!important}
.welcome-quiz-deck .welcome-quiz-context{background:transparent;border:0;padding:0;color:#c3d2e5;font-style:normal}
.welcome-quiz-deck [data-quiz-options] button{border-color:#435772;background:transparent;color:#f3f7fd;border-radius:9px}
.welcome-quiz-deck [data-quiz-options] button>span{background:#2b405b;color:#fff;border-radius:5px}
.welcome-quiz-deck [data-quiz-options] button:hover:not(:disabled){background:#223851;border-color:#8fa9c9}
.welcome-quiz-deck [data-quiz-options] button.is-correct{background:#20433e;border-color:#75b6a0;color:#effcf5}.welcome-quiz-deck [data-quiz-options] button.is-correct>span{background:#366f5c;color:#fff}
.welcome-quiz-deck [data-quiz-options] button.is-incorrect{background:#4b2937;border-color:#c78a9d;color:#fff2f6}.welcome-quiz-deck [data-quiz-options] button.is-incorrect>span{background:#805067;color:#fff}
.welcome-quiz-deck .welcome-quiz-feedback{color:#f1bacb}.welcome-quiz-deck .welcome-quiz-feedback.is-correct{color:#b6ead4}.welcome-quiz-deck .welcome-quiz-explanation{color:#d2deee}
.welcome-quiz-result>[data-quiz-score],.welcome-quiz-result h3,.welcome-quiz-result>[data-quiz-result-copy]{color:#f4f8ff}.welcome-quiz-result-mark{background:#2b405b;border-color:#49617f;color:#f4f8ff}.welcome-quiz-result>button{background:#f3f6fc;color:#15263c;border-color:#f3f6fc}
.welcome-review-compact-toolbar,.welcome-review-language-control,[data-review-translate],[data-language-picker]{display:none!important}
.welcome-reviews{background:#fff;border-color:#d8e1ee;color:#172338;box-shadow:none}.welcome-reviews h2{color:#172338}.welcome-review-slide{background:#fbfcfe;border-color:#dfe6ef;box-shadow:none}.welcome-preply-mark{box-shadow:none}
.welcome-quiz-deck .welcome-quiz-announcement{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.welcome-review-translation-status:empty{display:none}.welcome-review-slide{overflow:hidden}.welcome-review-slide .welcome-review-person{min-width:0}.welcome-review-person strong{overflow-wrap:anywhere}
.academy-gallery-dialog{background:#f2f5fa;color:#152a47}.academy-gallery-dialog::backdrop{background:#dce5f0db;backdrop-filter:blur(5px)}
.academy-gallery-dialog[open]{grid-template-rows:auto minmax(0,1fr) auto auto}
.academy-gallery-dialog header,.academy-gallery-dialog footer{background:#fff;color:#152a47}.academy-gallery-dialog button{background:#fff;color:#183f7d;border-color:#c5d2e3}.academy-gallery-dialog button:focus-visible{outline-color:#2158b2}.academy-gallery-hint{color:#526782}
.academy-gallery-stage{background:#eaf0f7}.academy-gallery-step{position:absolute;z-index:2;top:50%;transform:translateY(-50%);box-shadow:0 3px 15px #1835531a}.academy-gallery-step[data-image-prev]{left:10px}.academy-gallery-step[data-image-next]{right:10px}
.academy-gallery-dialog .academy-gallery-zoom{margin-inline:auto}
@media(max-width:700px){
 body:has(.academy-gallery-dialog[open]){overflow:hidden}.academy-gallery-dialog[open]{grid-template-rows:auto minmax(0,1fr)}.academy-gallery-dialog footer{display:none}.academy-gallery-dialog{height:100dvh;max-height:100dvh;overflow:hidden}
 .welcome-grid{margin:8px 8px 18px;gap:10px}.welcome-card{padding:12px}.welcome-card-header h1{max-width:none;font-size:15px}.welcome-free-entry{padding:12px;margin-bottom:10px}.welcome-free-entry h2{font-size:22px}.welcome-free-entry p{font-size:13px}
 .welcome-rail-column{display:block!important;height:min(390px,60svh)!important;min-height:310px;padding:0;margin:0 0 12px!important;overflow:hidden!important;scrollbar-width:none;scroll-snap-type:none;max-width:100%;width:100%}
 .welcome-rail-column>.welcome-rail,.welcome-rail-column>.welcome-reviews,.welcome-rail-column>.welcome-quiz-deck{width:100%;height:100%;max-height:100%;overflow:auto;overscroll-behavior:contain;margin:0!important;border-radius:12px;scrollbar-width:none}
 .welcome-rail-column>.welcome-rail::-webkit-scrollbar,.welcome-rail-column>.welcome-reviews::-webkit-scrollbar,.welcome-rail-column>.welcome-quiz-deck::-webkit-scrollbar{display:none}
 .welcome-rail-column>[data-mobile-panel-active=false]{display:none!important}.welcome-rail-column::-webkit-scrollbar,.gallery-dots::-webkit-scrollbar{display:none}
 .academy-mobile-panel-nav{justify-content:stretch;gap:5px;flex-wrap:nowrap;margin:0 0 7px}.academy-mobile-panel-nav button{flex:1;min-width:0;min-height:40px;padding:7px 6px;font-size:12px;border-radius:9px}
 .welcome-rail>.skool-banner{height:68px!important;object-fit:contain!important;object-position:center!important;background:#fff}.welcome-rail-body{padding:10px 12px}.welcome-rail h2{font-size:15px}.welcome-rail p{font-size:12px;margin:5px 0}.welcome-links{grid-template-columns:1fr;gap:4px;margin:8px 0}.welcome-links a,.welcome-links .academy-website-link{min-height:37px;padding:7px 9px}.welcome-rail-enter{min-height:42px;padding:9px 12px}
 .welcome-reviews{padding:12px}.welcome-reviews h2{font-size:17px}.welcome-review-rating{margin:7px 0}.welcome-review-slide{height:218px;min-height:218px;padding:12px;gap:9px;margin-top:8px}.welcome-review-slide>.welcome-review-stars{font-size:20px;line-height:24px}.welcome-review-slide>.welcome-review-excerpt{flex:1;min-height:72px;max-height:6.2em;font-size:13px;line-height:1.5;-webkit-line-clamp:4}.welcome-review-slide>.welcome-review-person{min-height:35px}.welcome-review-slide>b{font-size:11px;line-height:16px}.welcome-reviews>footer{grid-template-columns:38px auto 38px 1fr;gap:5px;margin-top:8px}.welcome-reviews>footer button{min-height:38px}.welcome-reviews>footer .welcome-review-all{font-size:11px;padding:0 7px}
 .welcome-quiz-deck{padding:13px}.welcome-quiz-deck h2{font-size:17px;line-height:1.25}.welcome-quiz-deck legend{font-size:15px;line-height:1.45}.welcome-quiz-deck [data-quiz-options] button{min-height:44px;font-size:13px}.welcome-quiz-deck .welcome-quiz-explanation{font-size:12px}
 .gallery-dots{scrollbar-width:none;padding-bottom:2px}.academy-gallery-expand{width:44px;height:44px;min-height:44px}.academy-mobile-information[open]>div{animation:academy-about-reveal .28s ease both}.academy-mobile-information>summary{font-size:13px}.academy-mobile-information>div{font-size:13px;line-height:1.65}.welcome-description .welcome-campus-intro h2{font-size:16px!important}
}
@keyframes academy-about-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.welcome-quiz-face{transition:none}.academy-mobile-information[open]>div{animation:none}}

/* Phone layout only. Source copy, membership counts and actions stay unchanged. */
@media(max-width:700px){
 html body .welcome-grid{gap:16px}
 html body .welcome-card>.welcome-free-entry,
 html body .welcome-description>.welcome-campus-intro,
 html body .welcome-reviews,
 html body .welcome-quiz-deck,
 html body .academy-mobile-panel-nav,
 html body .academy-gallery-expand{display:none!important}
 html body .welcome-card-header .welcome-brand>img{flex:0 0 40px;width:40px!important;height:40px!important;aspect-ratio:1;border-radius:50%!important;object-fit:contain!important;background:#fff;overflow:hidden}
 html body .welcome-card>.welcome-rail{position:static;width:100%;max-width:none;margin:14px 0 10px;border:0;border-radius:0;box-shadow:none}
 html body .welcome-card>.welcome-rail>.skool-banner{display:none!important}
 html body .welcome-card>.welcome-rail .welcome-rail-body{padding:0}
 html body .welcome-card>.welcome-rail h2{font-size:23px;line-height:1.2;margin:0 0 10px}
 html body .welcome-card>.welcome-rail p{font-size:14px;line-height:1.55}
 html body .welcome-card>.welcome-rail .welcome-links{margin:13px 0;gap:7px}
 html body .welcome-card>.welcome-rail .welcome-rail-enter{background:#b5243a!important;color:#fff!important;border:1px solid #b5243a!important;min-height:46px;font-size:15px}
 html body .welcome-final-join .welcome-action{background:#155abd!important;border-color:#155abd!important;color:#fff!important}
 html body .welcome-meta{font-size:12px;gap:10px;padding:8px 0 12px;align-items:center}
 html body .welcome-meta>span{font-size:12px}
 html body .welcome-meta .welcome-creator{margin-left:0;font-size:12px}
 html body .welcome-meta .welcome-creator img{width:28px;height:28px;aspect-ratio:1;object-fit:cover;border-radius:50%}
 html body .academy-mobile-information{margin-top:0}
 html body .academy-mobile-information>summary{font-size:15px;padding:12px 0}
 html body .academy-mobile-information>div{font-size:14px;line-height:1.65}
 html body .welcome-rail-column{display:flex!important;flex-direction:column;gap:16px;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0}
 html body .welcome-rail-column>.welcome-reviews,
 html body .welcome-rail-column>.welcome-quiz-deck{flex:none;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important}
 html body .welcome-rail-column>[hidden]{display:none!important}
 html body .gallery{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;align-items:center;overflow:visible}
 html body .gallery-screen{grid-column:2;grid-row:1;min-width:0;width:100%;height:auto;aspect-ratio:16/9}
 html body .gallery-dots{grid-column:1/-1;grid-row:2;max-width:100%;margin:5px 0 0;padding:3px 1px;gap:6px;scrollbar-width:none}
 html body .gallery-dots button{flex-basis:56px;width:56px;min-width:56px;height:44px}
 html body .academy-gallery-inline-step{display:grid;place-items:center;position:static;width:36px;min-width:36px;height:48px;padding:0;border:1px solid #cbd8e7;border-radius:10px;background:#f6f8fc;color:#173d70;box-shadow:none;font:700 23px/1 system-ui}
 html body .academy-gallery-inline-step[data-gallery-direction="-1"]{grid-column:1;grid-row:1}
 html body .academy-gallery-inline-step[data-gallery-direction="1"]{grid-column:3;grid-row:1}
 html body .academy-gallery-inline-step:focus-visible{outline:3px solid #2158b2;outline-offset:1px}
 html body .academy-gallery-inline-step:disabled{opacity:.4}
 html body dialog.academy-gallery-dialog{width:calc(100vw - 16px)!important;max-width:none!important;height:fit-content!important;max-height:calc(100dvh - 24px)!important;min-height:0!important;inset:0!important;margin:auto!important;padding:0!important;border:1px solid #ccd8e7;border-radius:16px!important;background:#f7f9fc!important;overflow:hidden!important}
 html body dialog.academy-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
 html body .academy-gallery-dialog header{padding:8px 10px;background:#f7f9fc}
 html body .academy-gallery-dialog header h2{font-size:14px}
 html body .academy-gallery-stage{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:4px;padding:0 5px 12px;background:#f7f9fc;min-height:100px;max-height:calc(100dvh - 100px)}
 html body .academy-gallery-stage img{grid-column:2;grid-row:1;width:100%;height:auto;max-height:calc(100dvh - 112px);min-width:0;object-fit:contain}
 html body .academy-gallery-dialog .academy-gallery-step{position:static;inset:auto;transform:none;width:40px;min-width:40px;height:48px;padding:0;box-shadow:none;align-self:center}
 html body .academy-gallery-step[data-image-prev]{grid-column:1;grid-row:1}
 html body .academy-gallery-step[data-image-next]{grid-column:3;grid-row:1}
 html body .academy-gallery-dialog footer{display:none}
 html body .academy-gallery-dialog::backdrop{background:#dce5f0b8;backdrop-filter:blur(3px)}
}
@media(prefers-reduced-motion:reduce){html body .academy-gallery-dialog::backdrop{backdrop-filter:none}}
