/* Academy path: steps in Bizlee-niche shapes and colours, the "Start lesson +XP" card,
   the arrow back to where you are, and the personalized quiz intro. */
#bizleeQuizRoot .academy-node{--c:#19C9EF;width:84px;height:80px;border:0!important;background:none!important;box-shadow:none!important;color:#fff;overflow:visible;filter:drop-shadow(0 6px 0 color-mix(in srgb,var(--c) 40%,#02030c));transition:transform .18s cubic-bezier(.3,1.6,.5,1)}
#bizleeQuizRoot .academy-node>svg{position:relative;z-index:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
#bizleeQuizRoot .academy-node-shape{position:absolute;inset:0;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 72%,#fff) 0,var(--c) 52%,color-mix(in srgb,var(--c) 70%,#000) 100%)}
#bizleeQuizRoot .academy-node-shape::after{content:'';position:absolute;left:18%;top:12%;width:34%;height:16%;border-radius:99px;background:rgba(255,255,255,.35)}
#bizleeQuizRoot .shape-hex .academy-node-shape{clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%)}
#bizleeQuizRoot .shape-coin .academy-node-shape{border-radius:50%}
#bizleeQuizRoot .shape-gem .academy-node-shape{clip-path:polygon(50% 0,100% 37%,81% 100%,19% 100%,0 37%)}
#bizleeQuizRoot .shape-squircle .academy-node-shape{border-radius:32%}
#bizleeQuizRoot .shape-shield .academy-node-shape{clip-path:polygon(50% 0,97% 13%,92% 60%,50% 100%,8% 60%,3% 13%)}
#bizleeQuizRoot .shape-oct .academy-node-shape{clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%)}
#bizleeQuizRoot .academy-node.locked,#bizleeQuizRoot .academy-node.scheduled{color:rgba(255,255,255,.72);cursor:pointer}
#bizleeQuizRoot .academy-node.locked .academy-node-shape,#bizleeQuizRoot .academy-node.scheduled .academy-node-shape{filter:saturate(.45) brightness(.5)}
#bizleeQuizRoot .academy-node-lock{position:absolute;right:-3px;bottom:-3px;z-index:2;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0B1020;border:2px solid color-mix(in srgb,var(--c) 55%,#1b2540);color:#C9D3E6}
#bizleeQuizRoot .academy-node.available::before{content:'';position:absolute;inset:-11px;border-radius:50%;border:3px solid var(--c);opacity:.55;animation:ap-ring 1.8s ease-out infinite}
#bizleeQuizRoot .academy-node:hover:not(.locked):not(.scheduled){transform:translateY(-4px) scale(1.03)}
#bizleeQuizRoot .academy-node:active:not(.locked):not(.scheduled){transform:translateY(3px);filter:drop-shadow(0 2px 0 color-mix(in srgb,var(--c) 40%,#02030c))}
#bizleeQuizRoot .academy-node.nope{animation:ap-nope .3s ease-in-out}
#bizleeQuizRoot .academy-node.here{animation:ap-here .7s cubic-bezier(.3,1.6,.5,1) 2}
@keyframes ap-ring{0%{transform:scale(.9);opacity:.6}100%{transform:scale(1.25);opacity:0}}
@keyframes ap-nope{0%,100%{transform:none}25%{transform:translateX(-6px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}
@keyframes ap-here{0%,100%{transform:none}40%{transform:translateY(-14px) scale(1.08)}}
/* "Start lesson" card */
#bizleeQuizRoot .academy-stop:has(.academy-start){z-index:7}
#bizleeQuizRoot .academy-start{--c:#19C9EF;position:absolute;z-index:6;left:-14px;top:calc(100% - 22px);width:min(330px,calc(100vw - 48px));padding:18px;border-radius:18px;border:2px solid var(--c);background:#0E1631;box-shadow:0 18px 40px rgba(0,0,0,.45);opacity:0;transform:translateY(-8px) scale(.97);transform-origin:40px 0;transition:opacity .18s,transform .22s cubic-bezier(.3,1.5,.5,1)}
#bizleeQuizRoot .academy-start.on{opacity:1;transform:none}
#bizleeQuizRoot .academy-start::before{content:'';position:absolute;left:44px;top:-9px;width:16px;height:16px;background:#0E1631;border-left:2px solid var(--c);border-top:2px solid var(--c);transform:rotate(45deg)}
#bizleeQuizRoot .academy-start-eyebrow{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--c);font-weight:700}
#bizleeQuizRoot .academy-start>strong{display:block;margin:6px 0 12px;font-size:17px;line-height:1.35}
#bizleeQuizRoot .academy-start-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:12px;color:#AFC0DA}
#bizleeQuizRoot .academy-start-diff{display:flex;align-items:center;gap:4px}
#bizleeQuizRoot .academy-start-diff span{margin-right:4px}
#bizleeQuizRoot .academy-start-diff i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.18)}
#bizleeQuizRoot .academy-start-diff i.on{background:var(--c)}
#bizleeQuizRoot .academy-start-xp{padding:5px 10px;border-radius:99px;background:rgba(244,196,67,.14);color:#F4C443;font-weight:800}
#bizleeQuizRoot .academy-start-xp.is-practice{background:rgba(255,255,255,.08);color:#AFC0DA;font-weight:600}
#bizleeQuizRoot .academy-start-go{display:block;width:100%;padding:13px;border:0;border-bottom:4px solid color-mix(in srgb,var(--c) 55%,#000);border-radius:12px;background:var(--c);color:#071022;font-family:inherit;font-size:14px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}
#bizleeQuizRoot .academy-start-go:active{transform:translateY(2px);border-bottom-width:2px}
/* Arrow back to the current step */
#bizleeQuizRoot .academy-return{position:fixed;right:22px;bottom:calc(28px + env(safe-area-inset-bottom));z-index:30;display:grid;place-items:center;width:54px;height:54px;border:0;border-bottom:4px solid #0B7FA8;border-radius:50%;background:#19C9EF;color:#071022;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.4);animation:ap-in .3s cubic-bezier(.3,1.6,.5,1)}
#bizleeQuizRoot .academy-return[hidden]{display:none!important}
#bizleeQuizRoot .academy-return.up svg{transform:rotate(180deg)}
#bizleeQuizRoot .academy-return svg{transition:transform .25s}
@keyframes ap-in{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
@media(max-width:900px){#bizleeQuizRoot .academy-return{bottom:calc(92px + env(safe-area-inset-bottom));right:16px}}
@media(max-width:600px){#bizleeQuizRoot .academy-node{width:66px;height:64px}#bizleeQuizRoot .academy-node>svg{width:24px;height:24px}#bizleeQuizRoot .academy-start{left:-6px}}
/* Personalized quiz intro, same look as the Academy */
#bizleeQuizRoot .quiz-hero h2{font-size:clamp(22px,3vw,30px);line-height:1.2;letter-spacing:-.03em;margin:10px 0}
#bizleeQuizRoot .quiz-kinds{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 18px}
#bizleeQuizRoot .quiz-kinds span{font-size:11px;padding:6px 10px;border-radius:99px;border:1px solid var(--line);color:var(--muted)}
@media(prefers-reduced-motion:reduce){#bizleeQuizRoot .academy-node,#bizleeQuizRoot .academy-node::before,#bizleeQuizRoot .academy-start,#bizleeQuizRoot .academy-return{animation:none!important;transition:none!important}}
/* Bizly's streak mood (bizlee-mood.js) in the top-bar streak chip */
.bz-mood-face{display:inline-block;width:24px;height:24px;margin-right:6px;vertical-align:middle;flex:none;line-height:0}
.bz-mood-face svg{width:100%;height:100%}
.bz-mood-face[data-mood="worried"] svg{animation:bz-mood-wobble 2.4s ease-in-out infinite}
.bz-mood-face[data-mood="proud"] svg{animation:bz-mood-bounce 1.8s ease-in-out infinite}
@keyframes bz-mood-wobble{0%,100%{transform:rotate(0)}10%{transform:rotate(-8deg)}20%{transform:rotate(7deg)}30%{transform:rotate(0)}}
@keyframes bz-mood-bounce{0%,100%{transform:none}50%{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.bz-mood-face svg{animation:none!important}}
#bizleeQuizRoot .academy-node.available,#bizleeQuizRoot .academy-node.completed{color:#fff}

/* Bizlearn, December 2026: one overview panel, a path that shows how far you are, motion tied to what the person does. */
#bizleeQuizRoot{--ap-out:cubic-bezier(.16,1,.3,1)}
/* Tabs: the highlight is one piece that slides under the labels (placed by bizlee-learning.js). */
#bizleeQuizRoot .academy-tabs{position:relative;margin-bottom:22px}
#bizleeQuizRoot .academy-tabs button{position:relative;z-index:1;font-family:inherit;font-size:13px;font-weight:600;transition:color .2s}
#bizleeQuizRoot .academy-tabs button.active{background:none;color:#8de1dd}
#bizleeQuizRoot .academy-lens{position:absolute;left:0;top:6px;bottom:6px;width:0;border-radius:10px;background:rgba(90,192,191,.16);box-shadow:inset 0 0 0 1px rgba(90,192,191,.34);pointer-events:none}
#bizleeQuizRoot .academy-lens.slide{transition:transform .28s var(--ap-out),width .28s var(--ap-out)}

/* Overview */
#bizleeQuizRoot .academy-overview{margin-bottom:22px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 100% 0,rgba(90,192,191,.16),transparent 60%)}
#bizleeQuizRoot .academy-overview .academy-hero{margin:0;border:0;border-radius:0;background:none}
#bizleeQuizRoot .academy-hero>div{flex:1;min-width:0}
#bizleeQuizRoot .academy-hero h2{margin:8px 0;text-wrap:balance}
#bizleeQuizRoot .academy-hero .quiz-controls{margin:18px 0 0}
#bizleeQuizRoot .academy-next{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:18px;font-size:15px}
#bizleeQuizRoot .academy-next span{font-size:11px;font-weight:700;letter-spacing:.08em;color:#8de1dd}
#bizleeQuizRoot .academy-next strong{font-weight:600}
#bizleeQuizRoot .academy-next+.quiz-controls{margin-top:12px}
#bizleeQuizRoot .academy-stats{display:grid;grid-template-columns:repeat(3,1fr)}
#bizleeQuizRoot .academy-stats>div{padding:16px 28px}
#bizleeQuizRoot .academy-stats>div+div{border-left:1px solid var(--line)}
#bizleeQuizRoot .academy-stats b{display:block;font-size:22px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
#bizleeQuizRoot .academy-stats span{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
#bizleeQuizRoot .academy-meter{overflow:hidden;background:rgba(141,225,221,.13)}
#bizleeQuizRoot .academy-meter i{display:block;height:100%;border-radius:0 99px 99px 0;background:#5ac0bf}
#bizleeQuizRoot .academy-meter.is-total{height:5px}
#bizleeQuizRoot .academy-meter.is-theme{height:6px;max-width:320px;margin-top:14px;border-radius:99px}
#bizleeQuizRoot .academy-meter.is-theme i{background:#8de1dd}
#bizleeQuizRoot .ak-bar{height:5px;border-radius:0}
#bizleeQuizRoot .academy-sk-actions{display:flex;gap:10px;margin-top:8px}

/* Buttons answer the press; while a lesson loads the label stays put and a bar runs underneath. */
#bizleeQuizRoot .quiz-controls .btn{transition:transform .12s ease-out,background-color .15s,border-color .15s}
#bizleeQuizRoot .quiz-controls .btn[aria-pressed=true]{border-color:#5ac0bf;color:#8de1dd;background:rgba(90,192,191,.12)}
#bizleeQuizRoot .quiz-controls .btn:active:enabled{transform:scale(.97)}
#bizleeQuizRoot button.is-loading{position:relative;overflow:hidden;opacity:1}
#bizleeQuizRoot button.is-loading::after{content:'';position:absolute;left:0;bottom:0;width:40%;height:4px;border-radius:99px;background:rgba(1,0,31,.6);animation:ap-load 1s ease-in-out infinite}
#bizleeQuizRoot .btn-ghost.is-loading::after{background:#8de1dd}
@keyframes ap-load{from{transform:translateX(-100%)}to{transform:translateX(250%)}}

/* Themes */
#bizleeQuizRoot .academy-unit-banner{transition:border-color .2s}
#bizleeQuizRoot .academy-unit-badge{display:flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid rgba(141,225,221,.35);border-radius:10px;font-size:12px;font-variant-numeric:tabular-nums;color:#8de1dd}
#bizleeQuizRoot .academy-unit-badge::after{content:'';width:7px;height:7px;margin-top:-4px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .24s var(--ap-out)}
#bizleeQuizRoot details[open]>summary .academy-unit-badge::after{margin-top:3px;transform:rotate(225deg)}
#bizleeQuizRoot .academy-unit.is-unfolding[open]>.academy-trail{animation:ap-reveal .28s var(--ap-out)}
@keyframes ap-reveal{from{opacity:0;transform:translateY(-12px)}}
@media(hover:hover){#bizleeQuizRoot .academy-unit-banner:hover{border-color:rgba(141,225,221,.75)}}

/* Path */
#bizleeQuizRoot .academy-trail>.academy-section{position:relative;z-index:1;width:fit-content;max-width:min(420px,100%);margin:26px auto 10px;padding:10px 22px 12px;list-style:none;text-align:center;border:1px solid rgba(141,225,221,.25);border-radius:14px;background:#0a1e2c}
#bizleeQuizRoot .academy-section .eyebrow{display:block;margin-bottom:2px;font-size:11px;letter-spacing:.1em;color:#8de1dd}
#bizleeQuizRoot .academy-section strong{font-size:15px}
#bizleeQuizRoot .academy-connector{position:absolute;inset:0;z-index:-1;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke-width:4;stroke-linecap:round}
#bizleeQuizRoot .academy-connector .is-ahead{stroke:rgba(141,225,221,.3);stroke-dasharray:4 10}
#bizleeQuizRoot .academy-connector :is(.is-done,.is-new){stroke:#3f9a9c}
#bizleeQuizRoot .academy-connector .is-new{stroke-dasharray:1;animation:ap-draw .56s .42s cubic-bezier(.65,0,.35,1) backwards}
@keyframes ap-draw{from{stroke-dashoffset:1}}
/* First completion: the check mark is wiped in, then line and Bizly move on to the next lesson. */
#bizleeQuizRoot .academy-node.just-done>svg{animation:ap-check .3s .2s var(--ap-out) backwards}
@keyframes ap-check{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
#bizleeQuizRoot .academy-stop-label>strong{font-size:15px}
#bizleeQuizRoot .academy-stop-label>.small,#bizleeQuizRoot .academy-day-number{font-size:11px}
#bizleeQuizRoot .academy-stop-status{font-size:12px}

/* Personalized quiz and flashcards */
#bizleeQuizRoot .quiz-kinds{margin:16px 0 0}
#bizleeQuizRoot .quiz-kinds span{font-size:12px}
#bizleeQuizRoot .quiz-card{display:grid;gap:14px;justify-items:start;max-width:none;margin-bottom:22px;padding:24px 28px;animation:ap-reveal .26s var(--ap-out)}
#bizleeQuizRoot .quiz-slot{width:100%;perspective:1400px}
#bizleeQuizRoot .quiz-flip{display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
#bizleeQuizRoot .quiz-flip.is-next{animation:ap-next .22s var(--ap-out)}
@keyframes ap-next{from{opacity:0;transform:translateX(16px)}}
#bizleeQuizRoot .quiz-flip-in{display:grid;transform-style:preserve-3d;transition:transform .42s var(--ap-out)}
#bizleeQuizRoot .quiz-flip.is-flipped .quiz-flip-in{transform:rotateX(180deg)}
#bizleeQuizRoot .quiz-face{grid-area:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:190px;padding:26px;border:1px solid rgba(90,192,191,.5);border-radius:16px;background:#0c2030;font-size:19px;font-weight:600;line-height:1.45;text-align:center;text-wrap:balance;backface-visibility:hidden;-webkit-backface-visibility:hidden}
#bizleeQuizRoot .quiz-face.is-back{transform:rotateX(180deg);background:#123440;border-color:#5ac0bf}
#bizleeQuizRoot .quiz-face.is-back span{max-width:65ch;font-size:15px;font-weight:400;color:#c8d9e2}

/* Resources */
#bizleeQuizRoot .bl-resources{max-width:none;--tone0:#8fb9c9;--tone1:#d9a25f;--tone2:#a99bd0;--tone3:#7fb59a;--tone4:#d08d84;--tone5:#c9bd9c}
#bizleeQuizRoot .bl-shelf-tabs{display:flex;flex-wrap:wrap;gap:8px}
#bizleeQuizRoot .bl-shelf-tabs button{padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:none;color:var(--muted);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:color .15s,border-color .15s,background-color .15s}
#bizleeQuizRoot .bl-shelf-tabs button[aria-pressed=true]{border-color:rgba(90,192,191,.5);background:rgba(90,192,191,.14);color:#8de1dd}
#bizleeQuizRoot .bl-fan-stage{position:relative;height:392px;overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
#bizleeQuizRoot .bl-cover{position:absolute;left:calc(50% - 105px);top:28px;display:flex;flex-direction:column;width:210px;height:268px;padding:18px;border-radius:14px;background:var(--tone);color:#101725;text-decoration:none;transform-origin:50% 620px;box-shadow:0 0 0 1px rgba(1,0,31,.35),0 14px 26px -12px rgba(0,0,0,.6);transition:transform .5s var(--ap-out),opacity .25s}
#bizleeQuizRoot .is-dragging .bl-cover{transition:none;cursor:grabbing}
#bizleeQuizRoot .bl-cover.is-far{opacity:0;visibility:hidden}
#bizleeQuizRoot .bl-cover:focus-visible{outline:3px solid #fff;outline-offset:-6px}
#bizleeQuizRoot .bl-cover-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600}
#bizleeQuizRoot .bl-res-ico{width:20px;height:20px}
#bizleeQuizRoot .bl-res-ico svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#bizleeQuizRoot .bl-cover strong{margin-top:26px;font-size:21px;font-weight:700;line-height:1.2;letter-spacing:-.02em;overflow-wrap:anywhere}
#bizleeQuizRoot .bl-cover small{margin-top:auto;padding-top:10px;border-top:1px solid rgba(16,23,37,.28);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){#bizleeQuizRoot .bl-fan-stage{height:362px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px calc(100% - 22px),transparent)}}
@media(prefers-reduced-motion:reduce){#bizleeQuizRoot .bl-cover,#bizleeQuizRoot .bl-fan-dots i{transition:none}}
#bizleeQuizRoot .bl-fan-nav{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:22px}
#bizleeQuizRoot .bl-fan-step{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:none;color:inherit;font-size:17px;cursor:pointer;transition:transform .12s ease-out}
#bizleeQuizRoot .bl-fan-step:active:enabled{transform:scale(.94)}
#bizleeQuizRoot .bl-fan-step:disabled{opacity:.35}
#bizleeQuizRoot .bl-fan-dots{display:flex;gap:5px}
#bizleeQuizRoot .bl-fan-dots i{width:6px;height:6px;border-radius:9px;background:rgba(141,225,221,.3);transition:width .3s var(--ap-out),background-color .3s}
#bizleeQuizRoot .bl-fan-dots i.on{width:20px;background:#8de1dd}

@media(max-width:600px){
 #bizleeQuizRoot .academy-hero{position:relative}
 #bizleeQuizRoot .academy-hero>.bzt-mascot{--bzt-size:56px!important;position:absolute;right:16px;top:14px}
 #bizleeQuizRoot .academy-hero h2{padding-right:60px}
 #bizleeQuizRoot .academy-stats>div{padding:12px 8px 14px 20px}
 #bizleeQuizRoot .academy-stats b{font-size:18px}
 #bizleeQuizRoot .academy-sk-actions .ak-btn{width:50%}
 #bizleeQuizRoot .academy-stop-label>strong{font-size:14px}
 #bizleeQuizRoot .quiz-card{padding:18px}
 #bizleeQuizRoot .quiz-face{padding:20px 16px;font-size:17px}
}
@media(prefers-reduced-motion:reduce){#bizleeQuizRoot :is(.academy-trail,.academy-connector path,.academy-node>svg,.quiz-card,.quiz-flip){animation:none!important}
 #bizleeQuizRoot button.is-loading::after{width:100%;animation:none}}
