/* Cabinet-only art direction; the other pages retain their own layout. */
html.cabinet-document{scroll-padding-top:0;scroll-snap-type:y proximity}
.cabinet-document body{background:radial-gradient(ellipse at 18% 15%,#6913c080,transparent 29%),radial-gradient(ellipse at 90% 38%,#8421de45,transparent 35%),linear-gradient(155deg,#260666,#35077d 48%,#21065a);overflow-x:clip}
.cabinet-document .cabinet-header{position:fixed;inset:0 0 auto;z-index:50;display:flex;height:76px;min-height:76px;gap:30px;border-radius:99px;background:#290868a6;backdrop-filter:blur(20px);padding-inline:18px;box-shadow:0 10px 45px #18043b30}
.cabinet-tabs{display:flex;align-items:center;gap:5px;margin-left:auto;padding:5px;border:1px solid #a347ed;border-radius:99px;background:linear-gradient(120deg,#7120b949,#6014a52e)}
.cabinet-tabs a{padding:12px 25px;min-height:46px;border-radius:99px;font-size:15px;font-weight:700;transition:background .25s,box-shadow .25s}
.cabinet-tabs a:hover{background:#a752ee33}.cabinet-tabs [aria-current]{background:linear-gradient(150deg,#a036ff,#7010d6);box-shadow:0 5px 24px #8014e85e;color:white}
.cabinet-document :is(.welcome,.cabinet-section){min-height:100svh;scroll-snap-align:start;scroll-snap-stop:normal;padding-block:115px 35px;border:0;position:relative}
.cabinet-document .welcome{grid-template-rows:1fr;gap:35px;grid-template-columns:.95fr 1.15fr}
.cabinet-document .student-scene{height:calc(100svh - 155px);min-height:420px;max-height:800px;width:100%;overflow:clip;mask-image:linear-gradient(#000 85%,transparent 100%)}
.cabinet-document .student-scene img{width:146%;max-width:none;height:158%;inset:0 auto auto -23%;object-fit:contain;object-position:center top;filter:brightness(1.09) drop-shadow(0 0 22px #b365ed55);transform:translate(calc(var(--student-x,0)*18px),calc(var(--student-y,0)*9px)) rotate(calc(var(--student-x,0)*2deg));transform-origin:50% 80%;mask-image:none}
.cabinet-document .student-scene::before{inset:0 -10%;background:radial-gradient(ellipse,#ab43ff7d,transparent 66%)}
.student-halo{position:absolute;inset:13% -12% 0;background:radial-gradient(ellipse,#bd79ff77,transparent 66%);filter:blur(18px);z-index:-1}
.cabinet-document .student-orbit{width:94%;border-color:#c172ff8f;box-shadow:0 0 28px #a432fd22}.cabinet-document .orbit-two{width:116%;border-color:#c172ff44}
.cabinet-document .student-formula{bottom:15%;right:4%;z-index:-1;color:#dbabff;font-size:24px;text-shadow:0 0 25px #b346f9}
.cabinet-document .student-spark{z-index:2;color:#e0b3ff;left:4%;top:25%;text-shadow:0 0 20px #b856ff}
.student-diamond{position:absolute;right:8%;top:14%;width:30px;height:30px;rotate:30deg;border:1px solid #dfa3ff;background:linear-gradient(135deg,#bf5cff,#5e12ad);box-shadow:0 0 35px #a839ff;z-index:2}
.cabinet-document .welcome-copy{position:relative;z-index:3}.cabinet-document .welcome h1{font-size:clamp(60px,6.8vw,100px)}
.cabinet-document .welcome-actions{flex-direction:row;gap:16px;align-items:center;flex-wrap:wrap}.cabinet-document .welcome-actions .button{min-height:66px;font-size:17px;padding:15px 25px;gap:18px;white-space:nowrap}
.cabinet-document .button-primary{color:white;background:linear-gradient(125deg,#ff9c00,#ff7500);border:1px solid #ffd264;box-shadow:inset 0 2px 3px #ffe58a88,0 8px 32px #ff850033;text-shadow:0 2px 4px #9a450050}
.button-arrow{font-size:34px;font-weight:400;line-height:1}.cabinet-document .welcome-actions .button-secondary{border:2px solid #a747ec;background:#29076830;padding-left:14px}.play-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #a94ff3;border-radius:50%;font-size:19px;padding-left:3px}
.cabinet-document .button:hover{translate:0 -3px;box-shadow:0 12px 38px #a436ef38}.cabinet-document .button-primary:hover{box-shadow:0 12px 38px #ff8b0066}
.cabinet-document .quick-links{display:none}.cabinet-document .cabinet-section::before{content:"";position:absolute;inset:12% -3%;background:radial-gradient(ellipse at 70% 50%,#9c2cff27,transparent 65%);pointer-events:none;z-index:-1}
.cabinet-document .progress-summary{background:linear-gradient(140deg,#a142ed22,#59139c14);box-shadow:0 0 70px #9b2def17}.cabinet-document .empty-state>svg{color:#dfa1ff;filter:drop-shadow(0 0 20px #ba52ff);width:52px;height:52px}
.cabinet-document #progress{min-height:100dvh}
.cabinet-document .cabinet-footer{position:relative;min-height:60px;align-items:center;padding-block:16px;font-size:11px;scroll-snap-align:end}.cabinet-document .cursor-aura::before{background:radial-gradient(circle,#cc8aff40,transparent 70%)}
@media(prefers-reduced-motion:no-preference){.student-halo{animation:halo-breathe 5s ease-in-out infinite}.cabinet-document .student-scene img{animation:student-breathe 5s ease-in-out infinite}.student-diamond{animation:spark-float 4s ease-in-out infinite}.cabinet-section>div{animation:section-appear linear both;animation-timeline:view();animation-range:entry 0% entry 25%}@keyframes halo-breathe{50%{opacity:.6;scale:1.1}}@keyframes student-breathe{50%{translate:0 -9px}}@keyframes section-appear{from{opacity:.3;translate:0 20px}to{opacity:1;translate:0 0}}}
@media(max-width:1050px){.cabinet-tabs a{padding:12px 18px;font-size:14px}.cabinet-document .welcome{gap:20px}.cabinet-document .welcome-actions .button{min-height:58px;font-size:15px;padding:12px 22px}.cabinet-document .welcome-description{font-size:16px}}
@media(max-width:700px){.cabinet-document .cabinet-header{height:118px;min-height:118px;flex-wrap:wrap;justify-content:center;align-content:center;gap:8px;border-radius:22px;padding:8px 12px}.cabinet-document .cabinet-header .brand{font-size:12px;gap:8px}.cabinet-document .brand-mark{grid-template-columns:repeat(2,15px);gap:2px}.cabinet-document .brand-mark i{height:15px;font-size:14px;border-radius:3px}.cabinet-tabs{margin:0;padding:4px;width:100%;justify-content:center}.cabinet-tabs a{flex:1;text-align:center;font-size:12px;min-height:38px;padding:9px 12px}.cabinet-document :is(.welcome,.cabinet-section){padding-block:145px 35px}.cabinet-document .welcome{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;gap:8px}.cabinet-document .student-scene{height:clamp(180px,29svh,310px);min-height:0;width:min(350px,100%);margin:auto}.cabinet-document .student-scene img{height:193%;width:154%;left:-27%}.cabinet-document .student-formula{font-size:16px;bottom:16%}.cabinet-document .welcome h1{font-size:clamp(36px,10vw,52px);margin-bottom:10px}.cabinet-document .welcome-copy>.eyebrow{font-size:9px;margin-bottom:8px}.cabinet-document .welcome-description{font-size:14px;line-height:1.5;margin:12px 0 18px}.cabinet-document .student-name{font-size:13px}.cabinet-document .welcome-actions{gap:10px;justify-content:center}.cabinet-document .welcome-actions .button{font-size:13px;min-height:48px;padding:9px 16px;gap:12px}.play-icon{width:30px;height:30px;font-size:14px}.button-arrow{font-size:26px}.cabinet-document .cabinet-section{align-content:center;gap:22px}.cabinet-document .cabinet-footer{padding-right:50px}.cabinet-document .student-orbit{width:70%}.cabinet-document .orbit-two{width:90%}}
@media(prefers-reduced-motion:reduce){html.cabinet-document{scroll-snap-type:none}.cabinet-document .student-scene img{transform:none}}
.cabinet-document .student-scene{mask-image:linear-gradient(transparent,#000 5%,#000 84%,transparent),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
