.review-context{border:1px solid #2b5057;background:linear-gradient(120deg,#143136,#10232d);border-radius:16px;padding:18px 20px;margin-bottom:24px}.review-context span{font-size:11px;color:#7edccf;display:block;margin-bottom:8px}.review-context b{font-size:18px;line-height:1.5;display:block}.review-context small{display:block;color:#8faeb8;font-size:11px;margin-top:10px}.review-prompt{color:#afcbd0;font-size:14px;line-height:1.8;padding:0 20px}.review-actions{display:flex;gap:8px;flex-wrap:wrap}.review-test-controls{margin-top:8px;padding:14px 18px;border:1px dashed #4d6264;border-radius:12px;background:#101f27;width:100%;box-sizing:border-box}.review-test-controls summary{font-size:12px;color:#a7c0c5;cursor:pointer;min-height:30px;line-height:30px}.review-test-controls p{font-size:11px;line-height:1.7;color:#849fa9;margin:4px 0 12px}.review-test-controls>div{display:flex;gap:8px;flex-wrap:wrap}.review-test-controls button{font-size:11px!important;min-height:44px}.review-test-controls button:disabled{opacity:.35;cursor:default}.learning-transfer{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-height:none;max-width:none;border:0;padding:0;background:radial-gradient(ellipse at 50% 42%,#123b42,#07151d 48%,#050e14);color:#deedee;overflow:hidden}.learning-transfer::backdrop{background:#051018}.transfer-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;box-sizing:border-box;padding:24px;text-align:center}.transfer-stage>p:first-child{font-size:13px;letter-spacing:.4em;color:#95babf;margin:0 0 15px}.transfer-network{width:min(420px,76vw,42dvh);aspect-ratio:1;position:relative;flex-shrink:0}.transfer-neural-canvas{display:block;width:100%;height:100%;animation:transfer-cloud-breathe 3.8s ease-in-out infinite;transform-origin:center;filter:drop-shadow(0 0 8px #35c9e51a)}.transfer-network>span{position:absolute;inset:0;display:grid;place-items:center;font-size:48px;font-weight:650;text-shadow:0 0 28px #7de6d0;color:#a0f1df;animation:transfer-center 1.2s cubic-bezier(.2,.8,.2,1) both}.transfer-stage h2{font-size:clamp(26px,4vw,40px);margin:16px 0 8px;letter-spacing:-.04em;animation:transfer-caption .7s ease both}.transfer-stage .transfer-caption{font-size:16px;color:#82d8ca;margin:0 0 16px;animation:transfer-caption .7s .15s both}.transfer-stage>small{color:#72959f;max-width:440px;line-height:1.7;font-size:12px}.transfer-stage.reward .transfer-network{filter:drop-shadow(0 0 24px #6bf2cb55)}.transfer-stage.reward .transfer-network>span{font-size:62px}
@keyframes transfer-cloud-breathe{0%,100%{transform:scale(.95);opacity:.85}50%{transform:scale(1.055);opacity:1}}@keyframes transfer-center{from{opacity:0;transform:scale(.5);filter:blur(8px)}to{opacity:1;transform:scale(1);filter:blur(0)}}@keyframes transfer-caption{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.learning-transfer *{animation:none!important}}@media(max-width:700px){.review-test-controls>div{flex-direction:column}.review-test-controls button{width:100%}.review-context{padding:15px}.review-context b{font-size:16px}}

#mentorHub[data-question-review]{--review-ink:#e1efee;--review-muted:#99b5ba;--review-line:#315158;--review-surface:#10272e;--review-mint:#7de4d1}
#mentorHub[data-question-review] .jarvis-transcript{padding-right:12px;scroll-padding-block:16px}
.review-question-context{padding-bottom:20px;border-bottom:1px solid var(--review-line);margin-bottom:22px}
.review-question-context>span{display:block;color:var(--review-mint);font-size:12px;line-height:1.6;margin-bottom:7px}
.review-question-context>b{display:block;color:var(--review-ink);font-size:21px;line-height:1.4;font-weight:550;letter-spacing:-.025em;overflow-wrap:anywhere}
.review-question-context>small{display:block;font-size:12px;color:var(--review-muted);margin-top:10px;line-height:1.6}
.review-question-progress>div{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.review-question-progress>div>span{font-size:10px;letter-spacing:.13em;color:var(--review-muted)}
.review-question-progress>div>b{font-size:12px;font-weight:450;color:var(--review-mint);font-variant-numeric:tabular-nums}
.review-question-progress nav{display:flex;align-items:center;gap:0;margin-bottom:24px}
.review-question-progress nav button{position:relative;display:flex;align-items:center;background:none;border:0;padding:0;min-height:44px;flex:1;color:var(--review-muted);cursor:pointer}
.review-question-progress nav button:last-child{flex:0 0 44px}
.review-question-progress nav button>span{display:grid;place-items:center;border:1px solid var(--review-line);border-radius:13px;width:42px;height:42px;flex-shrink:0;background:#091b22;font-size:12px;font-variant-numeric:tabular-nums}
.review-question-progress nav button>i{height:1px;background:var(--review-line);flex:1;margin:0 7px}
.review-question-progress nav button:last-child>i{display:none}
.review-question-progress nav button.active>span{border-color:var(--review-mint);background:#194039;color:#b5f5e5;box-shadow:0 0 18px #6ee5c912}
.review-question-progress nav button.answered>span{background:#123c32;color:var(--review-mint);border-color:#3d7c69}
.review-question-card{border:1px solid var(--review-line);border-radius:20px;background:linear-gradient(130deg,#123333,#0d202a);padding:26px 28px;overflow-wrap:anywhere}
.review-question-card>span{font-size:10px;letter-spacing:.1em;color:var(--review-mint)}
.review-question-card h2{font-size:clamp(21px,2.15vw,29px);line-height:1.4;letter-spacing:-.025em;font-weight:550;color:var(--review-ink);margin:15px 0}
.review-question-card h2:focus{outline:none}.review-question-card h2:focus-visible{outline:2px solid var(--review-mint);outline-offset:7px;border-radius:4px}
.review-question-card>p{color:var(--review-muted);font-size:13px;line-height:1.75;margin:0}
.review-saved-answers{border-bottom:1px solid var(--review-line);margin:18px 0 6px;padding-bottom:12px;color:var(--review-muted);font-size:12px}
.review-saved-answers summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--review-mint)}
.review-saved-answers summary::before{content:'+';font-size:18px;margin-right:10px}.review-saved-answers[open] summary::before{content:'−'}
.review-saved-answers article{margin:8px 0 18px;overflow-wrap:anywhere}.review-saved-answers b{font-weight:500;color:var(--review-ink);line-height:1.7}.review-saved-answers p{line-height:1.8;white-space:pre-wrap;margin:6px 0 0}
.review-question-tools{width:100%}.review-question-tools>p{font-size:12px;line-height:1.65;color:var(--review-muted);margin:0 0 12px}.review-question-tools>p>span{color:var(--review-mint);margin-right:5px}
.review-question-tools .review-actions{display:flex;justify-content:space-between;gap:12px}.review-question-tools button{min-height:44px!important;font-size:12px!important;padding:10px 15px!important}
#mentorHub[data-question-review] .jarvis-suggestions{padding:16px 0 14px;flex:0 0 auto}
#jarvisComposer.is-question-composer{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;border:1px solid #456b69;background:#10272d;border-radius:18px}
#jarvisComposer.is-question-composer textarea{min-height:64px;max-height:110px;width:100%;font-size:15px;line-height:1.6;color:var(--review-ink);resize:vertical}
#jarvisComposer.is-question-composer button{display:flex;gap:18px;justify-content:center;align-items:center;justify-self:end;width:auto;min-width:185px;height:auto;min-height:46px;padding:12px 20px;border-radius:11px;background:#7de4d1;color:#102b2d;font-size:13px;font-weight:650;border:0;box-shadow:none}
#jarvisComposer.is-question-composer button:disabled{opacity:.42;cursor:default}
#mentorHub[data-question-review] .jarvis-conversation-note{display:flex;align-items:start;justify-content:space-between;gap:18px;font-size:10px;color:var(--review-muted);line-height:1.6;margin:10px 2px 0}
#reviewAnswerCount{flex-shrink:0;font-variant-numeric:tabular-nums}
#mentorHub[data-question-review] button:focus-visible{outline:2px solid var(--review-mint);outline-offset:4px}
.light-theme #mentorHub[data-question-review]{--review-ink:#1e4347;--review-muted:#517579;--review-line:#b0cbc4;--review-surface:#e0eee9;--review-mint:#1a7364}
.light-theme .review-question-card{background:linear-gradient(130deg,#e2f1eb,#eef6f4)}
.light-theme .review-question-progress nav button>span{background:#f2f8f5}.light-theme .review-question-progress nav button.active>span,.light-theme .review-question-progress nav button.answered>span{background:#d4ebe0;color:#176753;border-color:#458e74}
.light-theme #jarvisComposer.is-question-composer{background:#e5f0ec;border-color:#8fb9ab}.light-theme #jarvisComposer.is-question-composer button{background:#236f5e;color:#f0fff9}
.light-theme #mentorHub[data-question-review] .jarvis-scene-header>span{color:#315a5e}
.light-theme #mentorHub[data-question-review] .jarvis-visual-caption{color:#3b6666;background:none;-webkit-text-fill-color:currentColor}
.light-theme #mentorHub[data-question-review] #mentorOrbLabel{color:#49736f}
.light-theme #mentorHub[data-question-review] .mentor-neural{filter:saturate(1.15) brightness(.72)}
.light-theme #mentorHub[data-question-review] .review-actions button{background:#e4efeb;border-color:#a5c1b7;color:#325d58}
@media(max-width:760px){
 #mentorHub[data-question-review] .jarvis-scene-body{grid-template-rows:60px minmax(0,1fr);gap:6px}
 #mentorHub[data-question-review] .jarvis-visual{height:60px}#mentorHub[data-question-review] .jarvis-visual .mentor-orb{width:86px;height:70px;top:-13px}
 #mentorHub[data-question-review] .jarvis-transcript{padding:5px 2px 8px}
 .review-question-context{padding-bottom:13px;margin-bottom:15px}.review-question-context>b{font-size:18px}.review-question-context>span,.review-question-context>small{font-size:11px}
 .review-question-progress>div{margin-bottom:9px}.review-question-progress nav{margin-bottom:15px}.review-question-progress nav button>span{width:40px;height:40px;border-radius:12px}.review-question-progress nav button>i{margin:0 4px}
 .review-question-card{padding:20px;border-radius:17px}.review-question-card h2{font-size:21px;margin:12px 0}.review-question-card>p{font-size:12px;line-height:1.65}
 #mentorHub[data-question-review] .jarvis-suggestions{padding:10px 0}.review-question-tools>p{font-size:11px;margin-bottom:8px}.review-question-tools .review-actions{gap:8px}.review-question-tools button{flex:1;font-size:12px!important;min-height:44px!important;padding:9px 10px!important}
 #jarvisComposer.is-question-composer{padding:12px;gap:8px;border-radius:15px}#jarvisComposer.is-question-composer textarea{font-size:16px;min-height:54px;max-height:80px}#jarvisComposer.is-question-composer button{min-height:44px;padding:10px 16px;font-size:13px}
 #mentorHub[data-question-review] .jarvis-conversation-note{margin-top:7px;font-size:9px;gap:12px}#mentorHub[data-question-review] .jarvis-conversation-note>span:last-child{text-align:right}
}
@media(max-width:760px) and (max-height:650px){#mentorHub[data-question-review] .jarvis-scene-body{grid-template-rows:0 minmax(0,1fr);gap:0}#mentorHub[data-question-review] .jarvis-visual{visibility:hidden;height:0}.review-question-tools>p{margin-bottom:4px}#jarvisComposer.is-question-composer textarea{min-height:44px}.review-question-context{padding-bottom:10px;margin-bottom:12px}}
@media(max-width:760px) and (max-height:650px){.review-question-context{display:none}.review-question-card>p{display:none}.review-question-card h2{font-size:19px}.review-question-card{padding:17px}}
@media(max-width:760px) and (max-height:540px){.review-question-progress{display:none}.review-question-card{padding:12px}.review-question-card>span{font-size:9px;line-height:14px}.review-question-card h2{font-size:17px;line-height:1.35;margin:7px 0 0}.review-saved-answers{margin-top:10px}}
.review-answer-history{overflow-wrap:anywhere}.review-answer-history>h3{font-size:24px;line-height:1.4;margin:8px 0 12px;letter-spacing:-.025em}.review-answer-history>p:not(.library-eyebrow){font-size:13px;line-height:1.75;color:#9fb9bf}.review-answer-history article{border:1px solid #355057;border-radius:15px;background:#10252c;padding:20px;margin:16px 0}.review-answer-history article>span{font-size:10px;letter-spacing:.1em;color:#8ce2d1}.review-answer-history h4{font-size:16px;line-height:1.6;font-weight:550;margin:10px 0}.review-answer-history article p{font-size:14px;line-height:1.8;white-space:pre-wrap;color:#b9cfd1;margin:10px 0 0}.review-answer-history>small{font-size:11px;line-height:1.7;color:#8faeb5}.light-theme .review-answer-history article{background:#e1eee8;border-color:#adc7bd}.light-theme .review-answer-history article>span{color:#1a6f5d}.light-theme .review-answer-history>p:not(.library-eyebrow),.light-theme .review-answer-history article p,.light-theme .review-answer-history>small{color:#4d7376}
.review-history-dialog{margin:auto;width:min(680px,calc(100vw - 40px));max-width:none;max-height:90dvh;box-sizing:border-box;border:1px solid #3c5c60;border-radius:24px;padding:28px;background:#0a1b22;color:#dfebeb;box-shadow:0 24px 90px #0008;overscroll-behavior:contain}.review-history-dialog::backdrop{background:#01090ed9;backdrop-filter:blur(9px)}.review-history-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #365058;padding-bottom:20px;margin-bottom:22px}.review-history-dialog h2{font-size:27px;letter-spacing:-.03em;font-weight:550;margin:6px 0 0}.review-history-dialog>header>button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #42646a;background:#112d33;border-radius:50%;font-size:26px;color:#c4dedd;cursor:pointer}.review-history-dialog button:focus-visible{outline:2px solid #83dfce;outline-offset:4px}.light-theme .review-history-dialog{background:#f1f7f5;color:#23464a;border-color:#abc6bd}.light-theme .review-history-dialog>header{border-color:#bfd4cc}.light-theme .review-history-dialog>header>button{background:#e1eee8;border-color:#a6c4b7;color:#326359}@media(max-width:700px){.review-history-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:22px 18px;border-radius:21px}.review-history-dialog h2{font-size:24px}.review-answer-history article{padding:17px}.review-answer-history h4{font-size:15px}}
.review-actions button,.review-test-controls button{appearance:none;background:#0d252e;border:1px solid #35565e;border-radius:11px;color:#aacbd0;cursor:pointer;font:inherit;padding:11px 15px;min-height:44px;line-height:1.5;text-align:left}.review-actions button{font-size:12px}.review-test-controls button.jarvis-accept{background:linear-gradient(110deg,#5ad7c7,#8be8dd);border-color:#77e1d2;color:#062a2e;font-weight:650}.review-actions button:hover,.review-test-controls button:hover{border-color:#76daca}.review-actions button:focus-visible,.review-test-controls button:focus-visible{outline:2px solid #7ce6d7;outline-offset:3px}
@media(max-width:700px){.review-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.review-actions button{font-size:11px;padding:9px 10px}.review-test-controls{margin-top:0;padding:10px 14px}.review-test-controls summary{font-size:10px;line-height:1.6;min-height:30px}.review-context small{font-size:10px}}

.review-context ul{padding-left:18px;margin:12px 0;color:#a9c5cc;font-size:12px;line-height:1.7}.review-context li{margin:4px 0;overflow-wrap:anywhere}.review-context b{overflow-wrap:anywhere}
#jarvisComposer[hidden]{display:none!important}
.assessment-feedback{border:1px solid var(--review-line);background:var(--review-surface);border-radius:16px;padding:18px;margin:0 0 18px;overflow-wrap:anywhere}
.assessment-feedback>span{font-size:10px;letter-spacing:.08em;color:var(--review-mint)}
.assessment-feedback h3{font-size:19px;line-height:1.4;color:var(--review-ink);margin:10px 0}
.assessment-feedback p{font-size:13px;line-height:1.7;color:var(--review-muted);margin:0 0 10px}
.assessment-feedback button{min-height:44px;max-width:100%;white-space:normal}
.assessment-showcase button[aria-pressed=true]{border-color:var(--review-mint);color:var(--review-mint);background:#153d36}
.assessment-showcase>button{margin-top:10px;white-space:normal;max-width:100%}
.light-theme .assessment-showcase button[aria-pressed=true]{background:#d4ece4;color:#174f46;border-color:#3c8174}

@media(max-width:760px){.review-question-card{padding:16px}.review-question-card h2{margin:8px 0 0}.review-question-card>p:not(.review-question-hint){margin-top:10px}.review-question-card>.review-question-hint{display:none}}

/* Review outcomes need room even with expanded demonstration controls. */
#mentorHub[data-assessment-view] .jarvis-dialogue-panel{overflow-y:auto;overscroll-behavior:contain;padding-right:6px}
#mentorHub[data-assessment-view] .jarvis-transcript{flex:0 0 auto;overflow:visible;min-height:0}
#mentorHub[data-assessment-view] .jarvis-composer,#mentorHub[data-assessment-view] .jarvis-conversation-note{flex-shrink:0}
.assessment-feedback button{background:#123239;border:1px solid var(--review-line);border-radius:11px;color:var(--review-ink);padding:10px 14px;cursor:pointer}
.light-theme .assessment-feedback button{background:#d4e9e0}

/* A long question and its answer remain one scrollable task on small/short screens. */
@media(max-width:1100px),(max-height:650px){
 #mentorHub[data-question-review] .jarvis-dialogue-panel{overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:16px}
 #mentorHub[data-question-review] .jarvis-transcript{flex:0 0 auto;overflow:visible;min-height:0}
 #mentorHub[data-question-review] .jarvis-composer,#mentorHub[data-question-review] .jarvis-conversation-note{flex-shrink:0}
}
.learning-transfer{overflow-y:auto}
.transfer-stage{min-height:100%;height:auto}
.transfer-continue{min-height:44px;margin-top:20px;padding:10px 22px;border:1px solid #52767b;border-radius:12px;background:#173239;color:#d9eeee;font:inherit;font-size:14px;cursor:pointer}
.transfer-continue:focus-visible{outline:2px solid #8de4d7;outline-offset:4px}
@media(max-height:540px){.transfer-network{width:min(150px,28dvh)}.transfer-stage{padding:16px}.transfer-stage>p:first-child{margin-bottom:4px}.transfer-stage h2{margin-top:8px}.transfer-continue{margin-top:12px}}
