/* SkillUp Physics: compact Duolingo-inspired quiz UI */
:root{--su-green:#58cc02;--su-green-dark:#46a302;--su-blue:#1cb0f6;--su-ink:#243447;--su-muted:#66758a;--su-line:#dce6ef;--su-soft:#f4faff;--su-red:#ff4b4b}
body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;background:#f4f9ff!important;color:var(--su-ink)!important}
main,.wrap,.container,.quiz-container,.quiz-wrap{width:min(100% - 24px,760px)!important;max-width:760px!important;margin-inline:auto!important;padding:18px 12px 42px!important}
h1{font-size:clamp(1.35rem,4vw,1.9rem)!important;line-height:1.2!important;color:#174a78!important}
h2{line-height:1.3!important}
.intro,.hero,.quiz-header{margin:12px 0 16px!important}
.intro p,.hero p,.description,.subtitle{font-size:.92rem!important;line-height:1.45!important;color:var(--su-muted)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card,.quiz-card,.question-card,.question-container,.quiz-box{background:#fff!important;border:2px solid #e2edf7!important;border-radius:22px!important;padding:clamp(16px,4vw,24px)!important;box-shadow:0 4px 0 #dce8f3!important}
.q,.question,.question-text,#question{font-size:clamp(1.05rem,3.5vw,1.35rem)!important;font-weight:800!important;line-height:1.45!important;margin:8px 0 18px!important;color:#243447!important}
.options,.answers,.option-list,.choices{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.option,.answer-option,.choice,.options button,.answers button,.option-btn{width:100%!important;min-height:48px!important;text-align:left!important;padding:12px 14px!important;background:#fff!important;border:2px solid var(--su-line)!important;border-radius:15px!important;color:var(--su-ink)!important;font-size:1rem!important;font-weight:700!important;line-height:1.35!important;box-shadow:0 3px 0 #e2e8ef!important;transition:border-color .15s,background .15s,transform .15s!important}
.option:hover:not(:disabled),.answer-option:hover:not(:disabled),.choice:hover:not(:disabled),.options button:hover:not(:disabled),.answers button:hover:not(:disabled){border-color:var(--su-blue)!important;background:#f0faff!important}
.option.selected,.answer-option.selected,.choice.selected,.selected{border-color:var(--su-blue)!important;background:#e8f7ff!important}
.option.correct,.answer-option.correct,.choice.correct,.correct{border-color:var(--su-green)!important;background:#efffe7!important}
.option.wrong,.answer-option.wrong,.choice.wrong,.wrong{border-color:var(--su-red)!important;background:#fff0f0!important}
button,.btn,.check,.next,.submit-btn{border-radius:14px!important;font-weight:850!important;cursor:pointer}
.check,.submit-btn,.primary,.btn-primary{background:var(--su-green)!important;color:#fff!important;box-shadow:0 4px 0 var(--su-green-dark)!important}
.next,.secondary,.btn-secondary{background:var(--su-blue)!important;color:#fff!important;box-shadow:0 4px 0 #1596d0!important}
button:disabled,.btn:disabled{opacity:.5!important;cursor:not-allowed!important}
.progress,.progress-bar{height:10px!important;border-radius:99px!important;background:#e2edf7!important;overflow:hidden!important}
.fill,.progress-fill,.progress-bar-fill{background:var(--su-green)!important;border-radius:99px!important}
.xp,.score-pill,.badge{border-radius:99px!important;background:#fff4cf!important;border:1px solid #f4df9a!important;color:#855900!important;font-weight:900!important;padding:7px 11px!important}
.meta,.question-meta{font-size:.82rem!important;font-weight:850!important;color:var(--su-muted)!important}
.feedback,.explanation,.hint{font-size:.92rem!important;line-height:1.5!important}
.feedback:empty{display:none}
.actions,.quiz-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
.actions button,.quiz-actions button{flex:1 1 140px!important;min-height:46px!important}
.result,.result-card{border-radius:20px!important;background:#f2ffeb!important;border:2px solid #c8f0b2!important;padding:20px!important}
a{color:#087eb8}
:focus-visible{outline:3px solid #8bd7ff!important;outline-offset:3px!important}
@media(max-width:480px){main,.wrap,.container,.quiz-container,.quiz-wrap{width:100%!important;padding:12px 10px 30px!important}.card,.quiz-card,.question-card,.question-container,.quiz-box{border-radius:18px!important;padding:15px!important}.option,.answer-option,.choice,.options button,.answers button,.option-btn{font-size:.95rem!important;padding:11px 12px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Answer feedback: keep locked answers readable and make correctness unmistakable */
.option.correct,.answer-option.correct,.choice.correct,.options button.correct,.answers button.correct,.option-btn.correct{
  opacity:1!important;
  color:#245b12!important;
  background:#e8ffdc!important;
  border-color:#58cc02!important;
  box-shadow:0 3px 0 #b8e99e!important;
}
.option.wrong,.answer-option.wrong,.choice.wrong,.options button.wrong,.answers button.wrong,.option-btn.wrong{
  opacity:1!important;
  color:#8f2020!important;
  background:#fff0f0!important;
  border-color:#ff7777!important;
  box-shadow:0 3px 0 #ffd0d0!important;
}
.feedback.good,.feedback.correct,.explanation.good{
  display:block!important;
  color:#245b12!important;
  background:#efffe7!important;
  border:2px solid #b8e99e!important;
  border-radius:16px!important;
  padding:14px 16px!important;
  font-weight:750!important;
}
.feedback.bad,.feedback.incorrect,.explanation.bad{
  display:block!important;
  color:#842029!important;
  background:#fff0f0!important;
  border:2px solid #ffc2c7!important;
  border-radius:16px!important;
  padding:14px 16px!important;
  font-weight:750!important;
}
.feedback.show{line-height:1.55!important}
.option:disabled:not(.correct):not(.wrong),.answer-option:disabled:not(.correct):not(.wrong),.choice:disabled:not(.correct):not(.wrong){
  opacity:.78!important;
}

/* Compact quiz header: hide title, intro, and feature badges; keep progress */
.hero h1,.hero>p,.hero .tags{
  display:none!important;
}
.hero{
  padding:12px 16px!important;
  margin:8px 0 12px!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.hero .progress-row{margin:0 0 7px!important;font-size:.82rem!important}
.hero .track{margin:0!important}


/* Standard mobile-first SkillUp Physics quiz design */
:root{
 --su-bg:#f2f1e5;--su-panel:#f0f0e4;--su-card:#fff;--su-green:#58cc02;
 --su-green-dark:#46a302;--su-blue:#1cb0f6;--su-ink:#263544;
 --su-muted:#667362;--su-line:#d6ddce;--su-red:#ff4b4b;
}
html{background:var(--su-bg)!important}
body{margin:0!important;background:var(--su-bg)!important;color:var(--su-ink)!important}
.top,header{background:#fafaf2!important;border-bottom:1px solid #d8ddce!important}
.nav{min-height:72px!important;gap:10px!important;padding:10px 14px!important}
.back{flex:0 0 42px!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border:2px solid var(--su-line)!important;border-radius:15px!important;background:#f2f9ff!important;color:#174a78!important;font-size:20px!important;text-decoration:none!important}
.brand{min-width:0!important;font-size:20px!important;font-weight:950!important;line-height:1.1!important;color:#26352d!important}
.brand small{display:block!important;margin-top:4px!important;font-size:9px!important;letter-spacing:.8px!important;line-height:1.25!important;color:#667362!important}
.xp,.streak{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;gap:4px!important;padding:9px 11px!important;border-radius:99px!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
.xp{background:#eeefe2!important;border:1px solid #d6ddce!important;color:#52634b!important}
.streak{background:#fff0e8!important;border:1px solid #f5d7c5!important;color:#ad4b21!important}
main,.wrap,.container,.quiz-container,.quiz-wrap{width:min(100% - 24px,720px)!important;max-width:720px!important;margin-inline:auto!important;padding:18px 12px 42px!important}
.hero{background:var(--su-panel)!important;border:2px solid var(--su-line)!important;border-radius:22px!important;padding:18px!important;margin:8px 0 16px!important;box-shadow:0 4px 0 rgba(214,221,206,.35)!important}
.hero h1,.hero>p,.hero .tags{display:none!important}
.hero .progress-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin:0 0 10px!important;font-size:clamp(14px,3.8vw,20px)!important;font-weight:900!important;color:#65715f!important}
.hero .track,.hero .progress{height:11px!important;margin:0!important;border-radius:99px!important;background:#e1e8db!important;overflow:hidden!important}
.hero .fill,.hero .progress i{height:100%!important;background:#d7e7f8!important;border-radius:99px!important}
.card,.quiz-card,.question-card,.question-container,.quiz-box,.q{background:var(--su-card)!important;border:2px solid #e2edf7!important;border-radius:22px!important;padding:clamp(16px,4vw,24px)!important;box-shadow:0 5px 0 #dce8f3!important;margin:0 0 14px!important}
.qnum,.qmeta{display:block!important;font-size:12px!important;font-weight:900!important;letter-spacing:.45px!important;color:#6a7667!important;text-transform:uppercase!important}
.q h2,.q .question,.question,.question-text,#question{font-size:clamp(21px,4.5vw,27px)!important;font-weight:850!important;line-height:1.4!important;margin:14px 0 20px!important;color:#263544!important;overflow-wrap:anywhere!important}
.options,.answers,.option-list,.choices{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:58px!important;padding:12px 15px!important;text-align:left!important;background:#fafaf1!important;border:2px solid var(--su-line)!important;border-bottom-width:3px!important;border-radius:17px!important;color:#2e3b31!important;font-size:clamp(15px,3.8vw,18px)!important;font-weight:750!important;line-height:1.4!important;box-shadow:none!important;transition:background .15s,border-color .15s!important}
.option:hover:not(:disabled),.answer-option:hover:not(:disabled),.choice:hover:not(:disabled),.options button:hover:not(:disabled),.answers button:hover:not(:disabled),.option-btn:hover:not(:disabled),.opt:hover:not(:disabled){border-color:var(--su-blue)!important;background:#f0faff!important}
.option.selected,.answer-option.selected,.choice.selected,.selected{border-color:var(--su-blue)!important;background:#e8f7ff!important}
.option.correct,.answer-option.correct,.choice.correct,.options button.correct,.answers button.correct,.option-btn.correct,.opt.correct{opacity:1!important;color:#245b12!important;background:#e8ffdc!important;border-color:var(--su-green)!important;box-shadow:0 3px 0 #b8e99e!important}
.option.wrong,.answer-option.wrong,.choice.wrong,.options button.wrong,.answers button.wrong,.option-btn.wrong,.opt.wrong{opacity:1!important;color:#8f2020!important;background:#fff0f0!important;border-color:#ff7777!important;box-shadow:0 3px 0 #ffd0d0!important}
.check,.submit-btn,.primary,.btn-primary,.next.show,.btn.check{width:100%!important;min-height:54px!important;margin-top:16px!important;border-radius:17px!important;background:var(--su-green)!important;color:#fff!important;font-size:16px!important;font-weight:900!important;box-shadow:0 4px 0 var(--su-green-dark)!important}
.next:not(.show),.continue:not(.show){display:none!important}
.feedback,.explanation,.hint{font-size:14px!important;line-height:1.55!important}
.feedback.good,.feedback.correct,.explanation.good,.feedback.ok{display:block!important;color:#245b12!important;background:#efffe7!important;border:2px solid #b8e99e!important;border-radius:16px!important;padding:14px 16px!important;font-weight:700!important}
.feedback.bad,.feedback.incorrect,.explanation.bad,.feedback.no{display:block!important;color:#842029!important;background:#fff0f0!important;border:2px solid #ffc2c7!important;border-radius:16px!important;padding:14px 16px!important;font-weight:700!important}
.result,.result-card{border-radius:20px!important;background:#f2ffeb!important;border:2px solid #c8f0b2!important;padding:20px!important}
@media(max-width:480px){
 .nav{min-height:68px!important;gap:7px!important;padding:9px 10px!important}
 .back{flex-basis:40px!important;width:40px!important;height:40px!important}
 .brand{font-size:17px!important}
 .brand small{font-size:8px!important;letter-spacing:.55px!important}
 .xp,.streak{padding:8px 9px!important;font-size:11px!important}
 main,.wrap,.container,.quiz-container,.quiz-wrap{width:100%!important;padding:14px 10px 30px!important}
 .hero{padding:16px!important;border-radius:19px!important}
 .card,.quiz-card,.question-card,.question-container,.quiz-box,.q{padding:16px!important;border-radius:19px!important}
 .q h2,.q .question,.question,.question-text,#question{font-size:22px!important;margin:13px 0 18px!important}
 .option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt{min-height:56px!important;padding:12px 13px!important;font-size:15px!important;border-radius:16px!important}
}
@media(max-width:360px){.nav{gap:5px!important;padding-inline:7px!important}.brand{font-size:15px!important}.brand small{font-size:7px!important}.xp,.streak{padding:7px!important;font-size:10px!important}}


/* 2026-11-22: Unified violet SkillUp quiz architecture.
   Visual-only layer: preserves all question text, answer data, scoring and behaviour. */
:root{
 --su-violet:#51459a;--su-violet-deep:#272653;--su-violet-soft:#eeeaff;
 --su-page:#f4f6ff;--su-card:#fff;--su-text:#29365a;--su-muted:#70798d;
 --su-border:#e0e3ef;--su-green:#55b52c;--su-green-dark:#42931f;
}
html,body{background:var(--su-page)!important;color:var(--su-text)!important}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
main,.wrap,.container,.quiz-container,.quiz-wrap{
 width:min(100% - 28px,760px)!important;max-width:760px!important;
 margin-inline:auto!important;padding:18px 14px 44px!important
}
header,.topbar,.top{
 background:#fff!important;border-bottom:1px solid var(--su-border)!important;
 box-shadow:0 3px 16px rgba(39,38,83,.045)!important;
}
.back{
 color:var(--su-violet)!important;font-weight:900!important;
 background:#fff!important;border:0!important;box-shadow:none!important;
}
.brand{color:var(--su-violet-deep)!important}
.brand small{color:var(--su-muted)!important}
.pill,.xp,.streak{
 background:#eeeaff!important;border:1px solid #e1dcff!important;
 color:var(--su-violet)!important;
}
/* Topic hero: retain the original title and description, but use the reference's purple panel. */
.hero,.intro,.quiz-header{
 display:block!important;position:relative!important;overflow:hidden!important;
 padding:clamp(22px,5vw,34px)!important;margin:12px 0 18px!important;
 border:0!important;border-radius:26px!important;
 background:linear-gradient(125deg,#25244f 0%,#37316f 55%,#5a4da0 100%)!important;
 color:#fff!important;box-shadow:0 9px 22px rgba(49,43,103,.14)!important;
}
.hero h1,.hero>p,.hero .tags,.intro h1,.intro p,.quiz-header h1,.quiz-header p{
 display:block!important;color:#fff!important;
}
.hero h1,.intro h1,.quiz-header h1{
 margin:10px 0 12px!important;font-size:clamp(28px,6vw,42px)!important;
 line-height:1.18!important;font-weight:900!important;letter-spacing:-.8px!important;
}
.hero p,.intro p,.quiz-header p{
 margin:0!important;max-width:650px!important;font-size:clamp(14px,3.7vw,18px)!important;
 line-height:1.65!important;color:#eeedff!important;
}
.hero .eyebrow,.hero .kicker,.intro .eyebrow{
 color:#d9d4ff!important;background:transparent!important;border:0!important;
 padding:0!important;font-size:11px!important;letter-spacing:2px!important;
 font-weight:950!important;text-transform:uppercase!important;
}
.hero .tags span,.hero .tag,.intro .tag{
 background:rgba(255,255,255,.12)!important;color:#fff!important;
 border:1px solid rgba(255,255,255,.2)!important;
}
/* Progress panel and track */
.progress,.progress-card,.progress-panel,.progress-wrap{
 background:#fff!important;border:2px solid var(--su-border)!important;
 border-radius:18px!important;padding:14px 16px!important;
 box-shadow:0 4px 0 #e6e7f0!important;
}
.progress-row,.progress-line,.row,.meta{
 color:var(--su-muted)!important;font-weight:850!important;
}
.bar,.track,.progress-bar,.progress-track{
 background:#e7e8f2!important;border-radius:99px!important;overflow:hidden!important;
}
.bar i,.fill,.progress-fill,.progress-bar-fill{
 background:var(--su-green)!important;border-radius:99px!important;
}
/* Question surface */
.quiz,.quiz-card,.question-card,.question-container,.quiz-box,.card,.qcard,.result,.result-card{
 background:#fff!important;border:2px solid var(--su-border)!important;
 border-radius:23px!important;padding:clamp(17px,4vw,25px)!important;
 box-shadow:0 4px 0 #e4e5ef!important;
}
.qmeta,.qnum,.question-meta,.q-label{
 color:#8175c1!important;font-size:11px!important;font-weight:950!important;
 letter-spacing:1px!important;text-transform:uppercase!important;
}
.q,.question,.question-text,#question,.q h2{
 color:var(--su-text)!important;font-size:clamp(20px,4.5vw,27px)!important;
 font-weight:850!important;line-height:1.42!important;margin:12px 0 19px!important;
 overflow-wrap:anywhere!important;
}
.options,.answers,.option-list,.choices,.opts{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
}
.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt{
 display:flex!important;align-items:center!important;width:100%!important;
 min-height:54px!important;padding:12px 14px!important;text-align:left!important;
 background:#fff!important;border:2px solid var(--su-border)!important;
 border-radius:16px!important;color:var(--su-text)!important;
 font-size:15px!important;font-weight:750!important;line-height:1.4!important;
 box-shadow:none!important;
}
.option.correct,.answer-option.correct,.choice.correct,.options button.correct,
.answers button.correct,.option-btn.correct,.opt.correct{
 color:#245b12!important;background:#efffe7!important;border-color:var(--su-green)!important;
}
.option.wrong,.answer-option.wrong,.choice.wrong,.options button.wrong,
.answers button.wrong,.option-btn.wrong,.opt.wrong{
 color:#842029!important;background:#fff0f0!important;border-color:#ff7777!important;
}
.feedback,.explanation,.hint,.feed{
 font-size:14px!important;line-height:1.55!important;
}
.feedback.good,.feedback.correct,.explanation.good,.feed.good{
 display:block!important;background:#efffe7!important;color:#245b12!important;
 border:2px solid #c8f0b2!important;border-radius:15px!important;padding:13px!important;
}
.feedback.bad,.feedback.incorrect,.explanation.bad,.feed.bad{
 display:block!important;background:#fff0f0!important;color:#842029!important;
 border:2px solid #ffc2c7!important;border-radius:15px!important;padding:13px!important;
}
/* Large rounded actions like the reference screen */
button,.btn,.next,.retry,.check,.continue,.submit-btn{
 border-radius:16px!important;font-weight:900!important;
}
.check,.submit-btn,.primary,.btn-primary,.next,.retry,.continue,
button[type=submit]{
 min-height:50px!important;background:var(--su-green)!important;
 color:#fff!important;border:0!important;box-shadow:0 4px 0 var(--su-green-dark)!important;
}
.next:not(.show),.continue:not(.show){display:none!important}
.result,.result-card{background:#fff!important}
@media(max-width:480px){
 main,.wrap,.container,.quiz-container,.quiz-wrap{
  width:100%!important;padding:14px 10px 32px!important;
 }
 .hero,.intro,.quiz-header{padding:23px 18px!important;border-radius:23px!important}
 .hero h1,.intro h1,.quiz-header h1{font-size:31px!important}
 .hero p,.intro p,.quiz-header p{font-size:14px!important}
 .quiz,.quiz-card,.question-card,.question-container,.quiz-box,.card,.qcard{
  padding:16px!important;border-radius:20px!important;
 }
 .q,.question,.question-text,#question,.q h2{font-size:21px!important}
 .option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt{
  min-height:52px!important;padding:11px 12px!important;font-size:14px!important;
 }
}


/* SkillUp Physics unified Learn / Simulator / Practice architecture — 2026-11-22 */
:root{
 --su-bg:#f1f1e5;--su-panel:#fff;--su-ink:#27372e;--su-muted:#68766a;
 --su-line:#dce5d7;--su-green:#58cc02;--su-green-dark:#46a302;
 --su-blue:#1cb0f6;--su-purple:#51458f;--su-soft-blue:#eef8ff;
}
html:has(body),body{color-scheme:light}
body{
 background:var(--su-bg)!important;color:var(--su-ink)!important;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
header,.top{
 background:#fbfbf3!important;border-bottom:1px solid #dce1d4!important;
}
.nav{
 width:min(100% - 24px,760px)!important;max-width:760px!important;
 min-height:68px!important;margin-inline:auto!important;padding:8px 12px!important;
 display:flex!important;align-items:center!important;gap:10px!important;
}
.back{
 width:42px!important;height:42px!important;flex:0 0 42px!important;
 display:grid!important;place-items:center!important;border:2px solid var(--su-line)!important;
 border-radius:14px!important;background:#f2f9ff!important;color:#174a78!important;
 text-decoration:none!important;
}
.brand{color:#254b37!important;font-weight:950!important;font-size:19px!important;line-height:1.1!important}
.brand small{display:block!important;margin-top:4px!important;color:var(--su-muted)!important;font-size:9px!important;letter-spacing:.8px!important}
main,.wrap,.container,.quiz-container,.quiz-wrap{
 width:min(100% - 24px,720px)!important;max-width:720px!important;
 margin:18px auto 44px!important;padding:0 0 30px!important;
}
.hero,.intro,.quiz-header{
 border-radius:22px!important;padding:20px!important;margin:0 0 14px!important;
 background:#e9eddf!important;border:2px solid #d6ddce!important;box-shadow:none!important;
}
.hero h1,.intro h1,.quiz-header h1,h1{color:#254b37!important;line-height:1.2!important}
.hero p,.intro p,.quiz-header p,.muted{color:#5f6f61!important;line-height:1.55!important}
.tabs,.page-tabs,.tab-nav{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:8px!important;margin:0 0 12px!important;
}
.tabs a,.page-tab,.tab-nav a,.tabs button{
 min-height:48px!important;display:grid!important;place-items:center!important;
 padding:9px 5px!important;border:2px solid #dce8f3!important;border-radius:15px!important;
 background:#fff!important;color:#245273!important;text-decoration:none!important;
 font-size:13px!important;font-weight:900!important;box-shadow:0 3px 0 #dce8f3!important;
}
.tabs a.active,.page-tab.active,.tab-nav a.active,.tabs button.active{
 background:#e8f8dc!important;border-color:#8ed65b!important;color:#286c12!important;
 box-shadow:0 3px 0 #b9e69c!important;
}
#pageProgress,.page-progress,.progress-summary{
 display:block!important;margin:0 0 14px!important;padding:12px!important;
 border:1px solid #d7eaf8!important;border-radius:14px!important;
 background:#eef8ff!important;color:#245273!important;text-align:center!important;
 font-size:13px!important;font-weight:850!important;
}
.panel,.card,.quiz-card,.learn-card,.simulator,.simulator-card,.finish,.result{
 background:#fff!important;border:2px solid #e2e9df!important;
 border-radius:22px!important;padding:clamp(16px,4vw,22px)!important;
 box-shadow:0 5px 0 #dce8f3!important;margin:0 0 14px!important;
}
h2,h3{color:#254b37}
.control{margin:16px 0!important}
.control label,.field-label,label{color:#334638!important;font-weight:850!important}
input:not([type=range]),select,textarea{
 max-width:100%;border:2px solid #d6ddce!important;border-radius:14px!important;
 background:#fbfbf3!important;color:#27372e!important;padding:12px!important;
}
input[type=range]{width:100%;accent-color:var(--su-green)!important}
.stats,.sim-readouts,.readouts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.stat,.sim-reading,.reading{
 min-width:0;background:#efffe7!important;border:1px solid #ccefb9!important;
 border-radius:14px!important;padding:12px!important;text-align:center!important;
}
.stat strong,.sim-reading strong,.reading strong{color:#286c12!important}
.formula,.sim-explain{
 border-radius:14px!important;background:#efffe7!important;border:1px solid #c8f0b2!important;
 color:#315b24!important;padding:13px!important;text-align:center!important;
}
button,.btn{
 min-height:46px;border-radius:14px!important;font-weight:900!important;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
 outline:3px solid var(--su-blue)!important;outline-offset:3px!important;
}
@media(max-width:480px){
 .nav{min-height:62px!important;padding-inline:9px!important;gap:7px!important}
 .brand{font-size:16px!important}
 main,.wrap,.container,.quiz-container,.quiz-wrap{
  width:calc(100% - 20px)!important;margin:13px auto 36px!important;
 }
 .hero,.intro,.quiz-header{padding:16px!important;border-radius:18px!important}
 .tabs a,.page-tab,.tab-nav a,.tabs button{min-height:45px!important;font-size:11px!important;padding:8px 3px!important}
 .panel,.card,.quiz-card,.learn-card,.simulator,.simulator-card,.finish,.result{
  padding:15px!important;border-radius:18px!important;
 }
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


/* 2026-11-22: compact sizing pass across all Physics Learn, Simulator and Practice pages.
   Content, question banks, formulas and interactions remain unchanged. */
header .nav,.nav{min-height:58px!important;gap:8px!important}
.back{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:11px!important;font-size:18px!important}
.brand{font-size:17px!important}
.brand small{font-size:8px!important;margin-top:2px!important}
main,.wrap,.container,.quiz-container,.quiz-wrap{width:min(100% - 20px,700px)!important;padding:12px 9px 28px!important}
main{margin-top:12px!important;margin-bottom:28px!important}
h1{font-size:clamp(1.18rem,3.6vw,1.6rem)!important;line-height:1.22!important}
h2{font-size:clamp(1rem,3vw,1.28rem)!important;line-height:1.28!important}
h3{font-size:1rem!important;line-height:1.3!important}
.hero,.intro,.quiz-header{padding:13px!important;margin:7px 0 11px!important}
.hero p,.intro p,.description,.subtitle{font-size:.86rem!important;line-height:1.42!important}
.card,.quiz-card,.question-card,.question-container,.quiz-box,.progress-card,.result,.result-card{padding:14px!important;border-radius:16px!important;margin-bottom:10px!important}
.q,.question,.question-text,#question{font-size:clamp(.98rem,3.2vw,1.18rem)!important;line-height:1.38!important;margin:7px 0 12px!important}
.options,.answers,.option-list,.choices{gap:7px!important}
.option,.answer-option,.choice,.options button,.answers button,.option-btn{min-height:42px!important;padding:9px 11px!important;font-size:.9rem!important;line-height:1.32!important;border-radius:12px!important}
.actions,.quiz-actions{gap:8px!important;margin-top:12px!important}
.actions button,.quiz-actions button,.btn{min-height:42px!important;padding:9px 12px!important;font-size:.9rem!important;border-radius:12px!important}
.page-tabs,.tabs,.su-topic-tabs{gap:6px!important;margin-bottom:9px!important}
.page-tab,.tab,.su-topic-tabs a{min-height:39px!important;padding:6px 4px!important;font-size:11px!important;border-radius:11px!important}
.page-progress,.progress-card{margin-bottom:10px!important}
.field{margin:12px 0!important}
.field-head{font-size:12px!important;margin-bottom:6px!important}
select,input{height:42px!important;font-size:14px!important}
.readouts{gap:7px!important;margin:14px 0 10px!important}
.reading{padding:9px!important;border-radius:12px!important}
.explain,.feedback,.explanation,.hint{padding:10px 11px!important;font-size:.84rem!important;line-height:1.42!important}
.presets{gap:6px!important;margin-top:11px!important}
.preset{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}
@media(max-width:480px){
 main,.wrap,.container,.quiz-container,.quiz-wrap{width:100%!important;padding:10px 8px 24px!important}
 .card,.quiz-card,.question-card,.question-container,.quiz-box{padding:12px!important}
 .option,.answer-option,.choice,.options button,.answers button,.option-btn{min-height:40px!important;padding:8px 10px!important;font-size:.87rem!important}
 .page-tab,.tab,.su-topic-tabs a{font-size:10px!important;min-height:37px!important}
}

/* Low-glare quiz palette; preserve semantic answer feedback. */
:root{--su-bg:#e4e9dd;--su-card:#e9eedf;--su-panel:#e9eedf;--su-page:#e4e9dd}
html,body{background:#e4e9dd!important}
header,.top,.topbar{background:#dce5d5!important}
.card,.quiz,.quiz-card,.question-card,.question-container,.quiz-box,.qcard,.q,.panel,.finish,.result,.result-card,.progress-card,.progress-panel,.progress-wrap{background:#e9eedf!important;border-color:#c7d3c1!important}
.tabs a,.page-tab,.tab-nav a,.tabs button,.back{background:#dce9e3!important}
.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt{background:#dce7d7!important;border-color:#b8c9b3!important;color:#27372e!important}
.option.selected,.answer-option.selected,.choice.selected,.options button.selected,.answers button.selected,.option-btn.selected,.opt.selected{background:#cce4f1!important;border-color:#1688b7!important}
.option.correct,.answer-option.correct,.choice.correct,.options button.correct,.answers button.correct,.option-btn.correct,.opt.correct{background:#cce8b9!important;color:#245b12!important;border-color:#58a32e!important}
.option.wrong,.answer-option.wrong,.choice.wrong,.options button.wrong,.answers button.wrong,.option-btn.wrong,.opt.wrong{background:#f1cccc!important;color:#842029!important;border-color:#d65b5b!important}
.feedback.good,.feedback.correct,.feedback.ok,.explanation.good,.feed.good{background:#d4eac6!important}
.feedback.bad,.feedback.incorrect,.feedback.no,.explanation.bad,.feed.bad{background:#f1cccc!important}
.letter{background:#c8d7c3!important;color:#27372e!important}

/* Black typography throughout the shared quiz UI; retain feedback via surfaces and borders. */
html body,html body :is(#question,*){color:#000!important}
html body .hero,html body .intro,html body .quiz-header{background:#dce5d5!important}
html body .check,html body .submit-btn,html body .primary,html body .btn-primary,html body .next,html body .retry,html body .continue,html body button[type=submit]{background:#91d36a!important}
html body .secondary,html body .btn-secondary{background:#a9d8ed!important}
html body .hero .tags span,html body .hero .tag,html body .intro .tag{background:#c8d7c3!important}

/* Keep answer states distinct even when hovered; mobile touch targets. */
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt):hover:not(:disabled):not(.selected):not(.correct):not(.wrong){background:#d0e0cc!important}
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt).selected{background:#cce4f1!important}
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt).correct{background:#cce8b9!important}
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt).wrong{background:#f1cccc!important}
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt,.actions button,.quiz-actions button,.page-tab,.su-topic-tabs a){min-height:44px!important;overflow-wrap:anywhere}
html body :is(.option,.answer-option,.choice,.options button,.answers button,.option-btn,.opt){font-size:clamp(14px,3.8vw,18px)!important}
html body :is(.learn-card,.simulator,.simulator-card,.progress,.letter){background-color:#e9eedf!important}
