@font-face{font-family:Plex;src:url('../sqd/assets/vendor/plex/IBMPlexSans-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('../sqd/assets/vendor/plex/IBMPlexSans-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
:root{--blue:#0f62fe;--ink:#000;--border:#a6c8ff;--pale:#edf5ff}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:18px/1.7 Plex,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border-radius:0;min-height:48px}a{color:#0043ce;text-underline-offset:4px}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:4px}[hidden]{display:none!important}
.skip-link{position:absolute;top:-100px;left:20px;padding:12px;background:white;z-index:5}.skip-link:focus{top:8px}.quiz-header{min-height:80px;border-bottom:1px solid #d0e2ff;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}.quiz-brand{display:flex;align-items:center;gap:30px}.quiz-brand img{display:block;object-fit:contain}.ibm-logo{width:212px;height:38px}.leona-logo{width:184px;height:48px;transform:translateY(3px)}.lesson-link{font-size:16px;white-space:nowrap;padding:8px 0}
main{max-width:840px;margin:0 auto;padding:36px 32px 64px}h1{font-size:30px;font-weight:600;line-height:1.4;margin:0 0 8px}.intro{margin:0 0 30px;color:#0043ce;font-size:16px}.progress-meta{display:flex;justify-content:space-between;font-size:14px;color:#0043ce}.progress-track{height:4px;background:#d0e2ff;margin:12px 0 28px}#progress-fill{height:100%;background:var(--blue);width:0}h2{font-size:clamp(24px,3vw,30px);font-weight:600;line-height:1.5;margin:0 0 24px;outline:none}#question-math{margin:12px 0 24px;font-size:20px;overflow-x:auto}.katex-display{margin:0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.choice{display:flex;align-items:center;text-align:left;gap:16px;background:#fff;color:var(--ink);border:1px solid var(--border);padding:18px 20px;min-height:80px;line-height:1.5}.choice:hover:not([aria-disabled=true]){background:var(--pale);border-color:var(--blue)}.choice-letter{flex:0 0 22px;font-size:16px;font-weight:600;color:#0043ce}.choice.is-correct{border:2px solid var(--blue);padding:17px 19px;background:var(--pale)}.choice.is-wrong{border:2px solid #a2191f;padding:17px 19px;background:#fff1f1}.choice[aria-disabled=true]{cursor:default}.feedback{margin:24px 0 0;padding:16px 20px;border-left:4px solid var(--blue);background:var(--pale);font-size:17px}.feedback.incorrect{border-left-color:#a2191f}.feedback strong{font-weight:600;font-size:18px}.feedback p{margin:6px 0 0}.question-actions{display:flex;justify-content:flex-end;margin-top:20px}#next-question,#restart{background:var(--blue);color:#fff;padding:12px 24px;border:1px solid var(--blue)}#next-question:hover,#restart:hover{background:#0043ce}.result-score{font-size:38px;color:#0043ce;margin:24px 0 12px}#result-message{margin:0 0 28px}
@media(max-width:620px){.quiz-header{padding:12px 20px;gap:12px;flex-wrap:wrap}.quiz-brand{gap:18px}.ibm-logo{width:150px;height:29px}.leona-logo{width:125px;height:36px}.lesson-link{margin-left:auto;font-size:15px}main{padding:26px 20px 48px}h1{font-size:26px}.intro{margin-bottom:22px}.progress-track{margin-bottom:22px}h2{font-size:24px;margin-bottom:20px}.choices{grid-template-columns:1fr;gap:12px}.choice{min-height:60px;padding:15px 16px;font-size:17px;gap:12px}.choice.is-correct,.choice.is-wrong{padding:14px 15px}.feedback{padding:14px 16px;font-size:16px}.question-actions{margin-top:16px}#question-math{font-size:18px}.result-score{font-size:32px}}

/* Match the existing lecture header, including transparent logo margins. */
.quiz-brand{gap:32px}.logo-frame{position:relative;display:block;overflow:hidden;flex:none;height:48px}.ibm-frame{width:210px}.leona-frame{width:180px;height:56px}.quiz-brand .ibm-logo{position:absolute;width:303.42px;height:116.58px;left:-46.63px;top:-33.95px;max-width:none}.quiz-brand .leona-logo{position:absolute;width:233.32px;height:155.54px;left:-27.04px;top:-39.06px;max-width:none;transform:none}@media(max-width:700px){.quiz-header{padding:8px 12px;gap:4px;flex-wrap:wrap;justify-content:center}.quiz-brand{gap:16px;justify-content:center;width:100%;height:48px}.logo-frame{height:40px}.ibm-frame{width:156px}.leona-frame{width:144px;height:48px}.quiz-brand .ibm-logo{width:225.40px;height:86.60px;left:-34.64px;top:-23.96px}.quiz-brand .leona-logo{width:186.66px;height:124.44px;left:-21.63px;top:-31.05px}.lesson-link{margin-left:auto;margin-right:8px}}
