/* Immersive scene, step 1. Shared markup; independent environmental artwork. */
body[data-learning-theme]{--scene-panel:#ffffffeb;--scene-aside:#f8fcfff0;--scene-border:#ffffffdb;--scene-shadow:0 14px 44px #34699b16;--scene-nav:#f7fbffe6;--scene-sheen:#a4dcff;--study-card:var(--scene-panel);--study-ai:var(--scene-aside);--study-glass-line:#c7ddf2;--learn-side-text:#335574;--learn-shadow:var(--scene-shadow)}
body[data-learning-theme=dark]{--scene-panel:#081b30ed;--scene-aside:#0a2039eb;--scene-border:#497fa99c;--scene-shadow:0 18px 48px #0003,inset 0 1px 0 #b1e3ff0e;--scene-nav:#041225e3;--scene-sheen:#368dca;--study-glass-line:#386489;--learn-side-text:#c4d9f1}
body[data-learning-theme]::before,body[data-learning-theme]::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:center/cover no-repeat;transition:opacity .45s ease}
body[data-learning-theme]::before{background-image:url('/scene-assets/cloud-space-v3.png');opacity:1}
body[data-learning-theme]::after{background-image:url('/scene-assets/deep-space-v3.png');opacity:0}
body[data-learning-theme=dark]::before{opacity:0}body[data-learning-theme=dark]::after{opacity:1}
body[data-learning-theme]{isolation:isolate}
body[data-learning-theme]:has(.study-workspace,.study-completion) .shell .main{background:transparent;margin-left:104px;padding:26px 28px 20px;min-height:100vh;width:calc(100% - 104px)}
body[data-learning-theme]:has(.study-workspace,.study-completion) .side{width:88px;left:10px;top:14px;bottom:14px;height:calc(100dvh - 28px);padding:17px 6px;border:1px solid var(--scene-border);border-radius:24px;background:var(--scene-nav);box-shadow:var(--scene-shadow);backdrop-filter:none;color:var(--learn-side-text);overflow-y:auto}
body[data-learning-theme] .side .brand{padding:0 0 16px;margin-bottom:8px;min-height:45px}
body[data-learning-theme] .side .brand-logo{display:none}
body[data-learning-theme] .side .brand-name,body[data-learning-theme] .side .nav-grp-l,body[data-learning-theme] .side .who{display:none}
body[data-learning-theme] .side .nav-item{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;margin:3px 0;padding:10px 2px;min-height:58px;font-size:11px;white-space:normal;color:var(--learn-side-text);border-radius:14px}
body[data-learning-theme] .side .nav-ico{margin:0;width:auto}body[data-learning-theme] .side .nav-ico svg{width:20px;height:20px}
body[data-learning-theme] .side .nav-item:hover,body[data-learning-theme] .side .nav-item.on{background:var(--learn-selected);color:var(--learn-accent)}
body[data-learning-theme] .topbar{margin-bottom:24px;padding:0;border:0;background:none;min-height:56px}
body[data-learning-theme] .topbar h1{font-size:26px;letter-spacing:1px}body[data-learning-theme] .tb-ic{border-radius:16px;box-shadow:0 0 22px #2199ff38}
body[data-learning-theme] .core-immersive{max-width:1660px}
.study-workspace .core-breadcrumb{background:var(--scene-panel);border:1px solid var(--scene-border);padding:12px 20px;margin-bottom:20px;border-radius:16px;font-size:13px;backdrop-filter:none}
.study-workspace .core-study-grid{grid-template-columns:minmax(0,1fr) minmax(320px,29%);gap:22px;align-items:start}
body[data-learning-theme] .core-study-grid .quiz-main{background:none;border:0;box-shadow:none;padding:0;border-radius:0;overflow:visible}
.study-question-summary,.study-answer-surface{background:var(--scene-panel);border:1px solid var(--scene-border);border-radius:22px;padding:26px 28px;box-shadow:var(--scene-shadow);min-width:0}
.study-answer-surface{margin-top:16px}
.study-question-summary:has(.study-question-figure){display:grid;grid-template-columns:minmax(0,1fr) 230px;column-gap:24px;align-items:start}
.study-question-summary .quiz-head,.study-question-summary .core-progress,.study-question-summary .core-answer-instruction{grid-column:1/-1}
.study-question-summary .quiz-stem{font-size:18px;line-height:1.9;margin:0}
.study-question-summary .quiz-head{padding-bottom:16px;margin-bottom:16px}.study-question-summary .quiz-head h2{margin:3px 0;font-size:23px}
.study-question-summary .core-eyebrow{display:none}.study-question-summary .core-progress{margin-bottom:18px}.study-question-summary .core-progress-track{max-width:220px;margin-left:auto}
body[data-learning-theme] .study-question-summary .study-question-figure{margin:0;padding:12px;background:white;border:1px solid #d8e5f2;border-radius:14px}
body[data-learning-theme] .study-question-summary .quiz-image{max-width:100%;max-height:220px}
.study-question-summary .study-question-figure figcaption{font-size:10px;line-height:1.5;margin-top:7px;color:#58718b}
body[data-learning-theme] .core-study-grid .quiz-answer .opt{min-height:62px;padding:14px 17px;background:var(--learn-field);border-radius:13px}
body[data-learning-theme] .core-study-grid .quiz-answer .opt.sel{background:var(--learn-selected)}
body[data-learning-theme] .core-assistant,body[data-learning-theme] .study-ai{background:var(--scene-aside);border:1px solid var(--scene-border);border-radius:22px;padding:24px;box-shadow:var(--scene-shadow);backdrop-filter:none}
.core-assistant h2{font-size:21px}.core-assistant header p{font-size:12px}.core-lock-card{padding:22px 15px}.core-lock-card h3{font-size:16px}.core-lock-card p{font-size:13px}.core-ai-capabilities b{font-size:13px}.core-ai-capabilities small{font-size:11px}
.study-intelligence{display:block;position:relative;width:122px;height:122px;margin:22px auto 25px;border-radius:50%;background:radial-gradient(circle at 36% 29%,#ecfbff,#5dbaff 16%,#1355a3 40%,#061d49 68%,#3687cf 72%,#c5efff 74%,transparent 77%);box-shadow:0 0 38px #2e9efc38;transform:rotate(-18deg)}
.study-intelligence i{position:absolute;inset:38% -20%;border:1px solid #75c9ffb0;border-radius:50%;box-shadow:0 0 12px #53b2ff26}
.study-intelligence em{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle at 33% 24%,#bdefff99,transparent 42%);animation:scene-breathe 10s ease-in-out infinite alternate}
.study-ai-heading .study-intelligence{width:48px;height:48px;flex:none;margin:0 12px 0 0}
@keyframes scene-breathe{from{opacity:.45}to{opacity:.75}}
body[data-learning-theme] :is(.side,.quiz-answer .opt,.study-question-summary,.study-answer-surface,.core-assistant,.study-ai,.btn,.study-status-pill){transition:background-color .3s,border-color .3s,color .3s,box-shadow .3s}
@media(min-width:1001px) and (max-width:1200px){body[data-learning-theme]:has(.study-workspace,.study-completion) .shell .main{padding:22px 18px}.study-workspace .core-study-grid{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.study-question-summary,.study-answer-surface{padding:22px}.study-question-summary:has(.study-question-figure){grid-template-columns:minmax(0,1fr) 175px}.core-assistant{display:block}.core-assistant-welcome{display:block}}
@media(max-width:1000px){body[data-learning-theme]:has(.study-workspace,.study-completion) .shell .main{margin-left:0;width:100%;padding:22px 22px 90px}body[data-learning-theme]:has(.study-workspace,.study-completion) .side{display:none}.study-workspace .core-study-grid{grid-template-columns:minmax(0,1fr)}.core-assistant{display:block}.core-assistant-welcome{display:block}.study-question-summary:has(.study-question-figure){grid-template-columns:minmax(0,1fr) 220px}}
@media(prefers-reduced-motion:reduce){.study-intelligence em{animation:none}body[data-learning-theme]::before,body[data-learning-theme]::after,body[data-learning-theme] *{transition:none!important}}
body[data-learning-theme]:has(.study-workspace,.study-completion) .shell{display:block;background:transparent}
body[data-learning-theme]:has(.study-workspace,.study-completion) .side{position:fixed;z-index:5}
