.study-shell{padding-top:26px;padding-bottom:60px;min-height:75vh;color:#0c2942}.study-nav{display:flex;position:static;flex-wrap:wrap;gap:10px;padding:10px;background:#edf3f7;border-radius:18px;box-shadow:none}.study-nav a{padding:12px 22px;border-radius:12px;font-weight:600}.study-nav a[aria-current=page]{background:#0c2942;color:white}.study-shell h1{font-size:clamp(25px,4vw,38px);line-height:1.3}.study-shell h2{font-size:23px}.study-shell p{font-size:16px;line-height:1.7}.study-hero{padding:32px;border-radius:24px;background:#eef7f1;margin:22px 0}.study-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px;margin:22px 0}.study-card{padding:28px;border:1px solid #d3dfe7;border-radius:22px;background:white;margin:18px 0;min-width:0}.study-grid .study-card{margin:0}.study-card h2{margin-top:0}.plan-label{color:#38617b;font-size:13px!important;font-weight:700;letter-spacing:.06em}.study-shell .button{margin:5px 5px 5px 0;min-height:48px;font-size:14px}.study-shell button:disabled:not(.sync-lock){background:#e4e9ec;color:#53636e;cursor:wait;transform:none}.module-complete{color:#137347;font-weight:700}.question-top{display:flex;justify-content:space-between;gap:15px}.question-top p{margin:0}#question-progress{width:100%;height:9px;accent-color:#177347}#question-image{display:block;max-width:100%;max-height:330px;width:auto;height:auto;margin:24px auto;border-radius:12px}#answer-options{border:0;padding:0;margin:24px 0}#answer-options legend{margin-bottom:12px;font-weight:600}.answer-option{display:flex;gap:14px;align-items:flex-start;border:2px solid #d5dfe6;padding:17px;border-radius:14px;margin:12px 0;cursor:pointer;line-height:1.6}.answer-option:has(input:checked){border-color:#147145;background:#eef8f2}.answer-option input{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:#147145}#answer-feedback{background:#edf6f0;padding:20px;border-radius:16px;line-height:1.7}#answer-feedback.incorrect{background:#fff4df}.study-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.study-card progress{width:100%;accent-color:#167345}.stat-value{display:block;font-size:32px;font-weight:700}#study-status{padding:12px 0;color:#38576d}#retry-sync{margin-bottom:20px}.study-history{padding:16px 0;border-bottom:1px solid #dae2e8}.study-shell [hidden]{display:none!important}@media(max-width:600px){.study-hero,.study-card{padding:21px}.study-nav{gap:3px;justify-content:space-between}.study-nav a{padding:10px;font-size:14px}.study-actions{flex-direction:column}.study-actions .button{width:100%;margin:0}.question-top p{font-size:13px}.study-shell .study-hero .button{width:100%;margin:7px 0}.study-shell h1{font-size:26px}.header .navigation{gap:12px}.header .brand span{font-size:17px}.header a{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.study-nav a{color:#0c2942}.study-nav a[aria-current=page]{color:#fff}
.study-grid .study-card{display:flex;flex-direction:column}.study-grid .study-card>.button{margin-top:auto;align-self:flex-start}.study-grid .study-card>progress{margin-bottom:20px}

/* Question workspace: the answer remains a native keyboard-accessible radio. */
#question-view{padding:0;overflow:hidden;box-shadow:0 12px 40px #0c29420b;border-radius:24px}
#question-view .question-top{padding:20px 28px;background:#0c2942;color:#fff;align-items:center;flex-wrap:wrap}
#question-position{font-weight:700}#study-clock{font-variant-numeric:tabular-nums;background:#ffffff12;border:1px solid #ffffff30;border-radius:9px;padding:6px 12px;font-size:14px}
#question-progress{display:block;height:5px;border:0;border-radius:0;background:#e3ece7}
#question-progress::-webkit-progress-bar{background:#e3ece7}#question-progress::-webkit-progress-value{background:#1b8758}#question-progress::-moz-progress-bar{background:#1b8758}
.question-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;padding:32px}
.question-statement{min-width:0}.question-answers{min-width:0;align-self:center}
#question-theme{margin:0 0 14px;color:#38617b;font-size:12px!important;letter-spacing:.07em}
#question-prompt{font-size:clamp(24px,2.5vw,32px);line-height:1.35;margin:0 0 22px;letter-spacing:-.025em;overflow-wrap:anywhere}
#question-image{max-height:300px;max-width:100%;border-radius:12px;margin:22px auto 0;border:1px solid #d8e2e9;box-shadow:0 6px 20px #0c29420c}
#answer-options{margin:0}#answer-options legend{font-size:15px;margin-bottom:8px;color:#38576d}
.answer-option{position:relative;align-items:center;gap:14px;padding:17px 16px;margin:12px 0;border:1.5px solid #cfdae2;background:#fff;transition:border-color .15s,background .15s;min-height:74px}
.answer-option input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.answer-letter{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#edf2f6;color:#38576d;font-weight:700;border:1px solid #d6e0e7}
.answer-text{font-size:15px;line-height:1.6}.answer-option:has(input:checked){border-color:#177347;background:#eef8f2;box-shadow:0 0 0 1px #177347}
.answer-option:has(input:checked) .answer-letter{background:#177347;color:white;border-color:#177347}
.answer-option:has(input:focus-visible){outline:3px solid #2e70ac;outline-offset:4px}
.answer-option:has(input:disabled){cursor:default}.answer-option:hover:not(:has(input:disabled)){border-color:#177347}
#answer-feedback{margin-top:18px;border:1px solid #b9dac7;font-size:15px}#answer-feedback.incorrect{border-color:#e9d4a0}
#question-view .study-actions{margin:0;padding:18px 32px;gap:12px;align-items:center}
#question-view .study-actions .button{margin:0;min-height:48px;border-radius:12px}
.question-navigation{background:#f5f8fa;border-top:1px solid #e0e8ee}#favorite-question{margin-left:auto!important;background:white}
.session-actions{border-top:1px solid #e0e8ee;justify-content:space-between}
#question-view button:disabled:not(.sync-lock){cursor:not-allowed}.study-shell .button:focus-visible{outline:3px solid #2e70ac;outline-offset:3px}
@media(max-width:800px){.question-content{grid-template-columns:1fr;gap:26px;padding:24px}#question-view .question-top{padding:18px 24px}#question-prompt{font-size:26px}#question-view .study-actions{padding:18px 24px}}
@media(max-width:600px){#question-view{border-radius:18px}.question-content{padding:20px;gap:24px}#question-view .question-top{gap:10px;padding:16px 20px}#study-clock{font-size:12px;padding:5px 8px}#question-prompt{font-size:24px}#question-image{max-height:250px}#question-view .study-actions{display:grid;grid-template-columns:1fr 1fr;padding:16px 20px;gap:10px}#question-view .study-actions .button{width:100%;padding:12px;font-size:13px}#favorite-question{grid-column:1/-1;margin-left:0!important}#confirm-answer:not([hidden]){grid-column:1/-1;grid-row:1}.answer-option{padding:14px 12px;gap:12px}.answer-text{font-size:14px}.answer-letter{width:32px;height:32px;flex-basis:32px}#question-view .session-actions{grid-template-columns:1fr}#question-view .session-actions .button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.answer-option{transition:none}}
.study-confirm{padding:0;border:1px solid #d3dfe7;border-radius:24px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);color:#0c2942;box-shadow:0 24px 80px #071d3655;overflow:auto}
.study-confirm::backdrop{background:#071d36a8;backdrop-filter:blur(3px)}
.study-confirm-heading{display:flex;align-items:center;gap:16px;background:#0c2942;color:#fff;padding:22px 28px;font-size:12px;font-weight:700;letter-spacing:.1em}
.study-confirm-heading img{flex-shrink:0;object-fit:contain}.study-confirm-body{padding:28px}
.study-confirm h2{font-size:26px;line-height:1.3;letter-spacing:-.5px;margin:0 0 18px}
.study-confirm p{font-size:15px;line-height:1.75;color:#38576d;margin:0 0 16px}
.study-confirm #finish-dialog-message{font-weight:600;color:#0c2942}
.study-confirm-actions{display:flex;flex-direction:column;gap:12px;margin:26px 0 0}
.study-confirm-actions .button{width:100%;min-height:48px;border-radius:12px}
@media(max-width:480px){.study-confirm-body{padding:22px}.study-confirm-heading{padding:18px 22px}.study-confirm h2{font-size:24px}}

/* Consistent action colours and decorative, scalable icons. */
#question-view .question-navigation{background:#edf4f8;border-top:1px solid #cddde8}
#question-view .session-actions{background:#f9fbfc}
#question-view .study-actions .button{gap:10px;font-weight:600;box-shadow:0 2px 4px #0c294208;transition:background .15s,border-color .15s}
#question-view .study-actions .button::before{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:currentColor;mask-position:center;mask-size:contain;mask-repeat:no-repeat}
#previous-question::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 5-7 7 7 7M5 12h15' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#next-question::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 5 7 7-7 7M4 12h15' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");order:1}
#favorite-question::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
#favorite-question[aria-pressed=true]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9Z'/%3E%3C/svg%3E")}
#pause-study::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14M16 5v14' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}
#finish-study::before,#confirm-answer::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#question-view #next-question{background:#177347;border-color:#177347;color:#fff}
#question-view #next-question:hover:enabled{background:#105d39}
#question-view #previous-question{background:#fff;border-color:#b7ccd9;color:#254d68}
#question-view #favorite-question{background:#fff8df;border-color:#dfc66e;color:#70530b}
#question-view #favorite-question:hover:enabled{background:#fff0bd;border-color:#b79532}
#question-view #favorite-question[aria-pressed=true]{background:#f3cc41;color:#423300;border-color:#c1a12e}
#question-view #pause-study{background:#e9f2fa;border-color:#b9d1e5;color:#245375}
#question-view #pause-study:hover:enabled{background:#daeaf7}
#question-view #finish-study{background:#0c2942;border-color:#0c2942;color:#fff}
#question-view #finish-study:hover:enabled{background:#174666}
#question-view .study-actions button:disabled:not(.sync-lock){background:#e5eaee!important;color:#596b78!important;border-color:#ccd5dc!important;box-shadow:none;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){#question-view .study-actions .button{transition:none}}
#question-view .question-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px}
#question-view #study-clock{justify-self:center;text-align:center}
#question-view .question-top #favorite-question{justify-self:end;margin:0!important;grid-column:auto;min-height:44px;padding:10px 16px;gap:10px;border-radius:12px;font-size:13px}
#question-view .question-top #favorite-question::before{content:"";display:block;width:20px;height:20px;flex:0 0 20px;background:currentColor;mask-position:center;mask-size:contain;mask-repeat:no-repeat}
@media(max-width:800px){#question-view .question-top{grid-template-columns:1fr 1fr;gap:12px}#question-view #question-position{grid-column:1/-1}#question-view #study-clock{justify-self:center}#question-view .question-top #favorite-question{width:100%;font-size:12px;padding:10px;line-height:1.4}}

/* Keep forward navigation in the same predictable position. */
#question-view .question-navigation{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:20px 32px;gap:16px}
#question-view #previous-question{grid-column:1;grid-row:1;justify-self:start}
#question-view #confirm-answer{grid-column:2;grid-row:1;justify-self:center}
#question-view #next-question{grid-column:3;grid-row:1;justify-self:end;min-width:160px}
#question-view .session-actions{justify-content:space-between;padding:14px 32px;background:#fff}
#question-view .session-actions .button{min-height:44px;box-shadow:none;font-size:13px}
#question-view #pause-study{background:transparent;border-color:transparent;color:#38576d}
#question-view #pause-study:hover:enabled{background:#edf4f8;border-color:#d3e1eb}
#question-view #finish-study{background:#fff;border-color:#bccedb;color:#254d68}
#question-view #finish-study:hover:enabled{background:#edf4f8}
@media(max-width:600px){#question-view .question-navigation{grid-template-columns:1fr 1fr;padding:16px 20px;gap:12px}#question-view #previous-question{grid-column:1;grid-row:2}#question-view #next-question{grid-column:2;grid-row:2;min-width:0}#question-view #confirm-answer:not([hidden]){grid-column:1/-1;grid-row:1}#question-view .session-actions{display:flex;flex-direction:column;gap:8px;padding:12px 20px}#question-view .session-actions .button{width:100%}}
#home-view .study-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:38px;background:linear-gradient(115deg,#0c2942,#173f58);color:white;padding:38px;border:1px solid #294b61;box-shadow:0 12px 32px #0c294211}
.study-welcome{min-width:0}.study-welcome #study-plan{display:inline-flex;margin:0;padding:6px 12px;border:1px solid #f1c40f66;border-radius:8px;background:#f1c40f13;color:#ffe176;font-size:11px!important}
#home-view #greeting{color:#fff;font-size:clamp(27px,3vw,38px);margin:20px 0 16px;line-height:1.25}
.study-welcome>p:not(.plan-label){color:#d5e3ec;font-size:15px;max-width:650px;line-height:1.8;margin-bottom:24px}
#home-view .study-hero .button{border-radius:12px;min-height:50px;padding:13px 20px}
.study-focus{align-self:center;border-left:1px solid #ffffff30;padding-left:32px}
.focus-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f3cc41;color:#0c2942;font-size:26px;font-weight:700;margin-bottom:16px}
.study-focus h2{font-size:21px;margin:0 0 10px;color:#fff}.study-focus p{font-size:14px;color:#d5e3ec;margin:0 0 18px}
.study-focus a{color:#ffe176;font-size:14px;font-weight:600;display:inline-flex;gap:14px;padding:6px 0}
#resume-cards{gap:22px;margin:26px 0}#resume-cards:empty{display:none}
#resume-cards .resume-card{position:relative;padding:28px;border-radius:20px;box-shadow:0 5px 20px #0c294207;border-top:4px solid #177347}
#resume-cards .resume-study{border-top-color:#376a97}
#resume-cards .resume-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:#177347;margin:0 0 12px}
#resume-cards .resume-study .resume-label{color:#376a97}
#resume-cards h2{font-size:24px;line-height:1.35;margin:0 0 18px}
#resume-cards .resume-count{font-size:14px;color:#38576d;margin:0 0 10px}
#resume-cards progress{height:9px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e6eef2;margin:0 0 24px}
#resume-cards progress::-webkit-progress-bar{background:#e6eef2}#resume-cards progress::-webkit-progress-value{background:#177347;border-radius:8px}#resume-cards progress::-moz-progress-bar{background:#177347}
#resume-cards .resume-study progress::-webkit-progress-value{background:#376a97}#resume-cards .resume-study progress::-moz-progress-bar{background:#376a97}
#resume-cards .button{border-radius:12px;align-self:stretch;justify-content:space-between;margin:0}
#resume-cards .button::after{content:'→';font-size:20px;line-height:1}
#home-centro-tvde{background:#f3f7fb;border-color:#d2e0eb}#home-centro-tvde .button{border-radius:12px}
@media(max-width:850px){#home-view .study-hero{grid-template-columns:1fr;padding:28px;gap:26px}.study-focus{border-left:0;border-top:1px solid #ffffff30;padding:22px 0 0}.focus-icon{display:none}.study-focus h2{font-size:19px}.study-focus p{margin-bottom:8px}}
@media(max-width:600px){#home-view .study-hero{padding:24px;border-radius:20px}#home-view #greeting{font-size:28px}#resume-cards .resume-card{padding:24px}#resume-cards h2{font-size:22px}}
.study-shell .sync-help{font-size:13px;color:#526779;padding:4px 2px;line-height:1.8}.sync-help a{color:#12613d;text-decoration:underline;text-underline-offset:3px}

.study-nav[hidden]{display:none!important}

.portal-footer.session-footer{padding:22px 0}.session-footer .portal-footer-grid{display:none}.session-footer .portal-footer-bottom{margin-top:0;padding-top:0;border-top:0}

.study-entry{max-width:780px;margin:24px auto;padding:40px;border:1px solid #d3e2e8;border-radius:24px;background:linear-gradient(135deg,#eef7f1,#f5f8fb)}.study-entry h1{max-width:620px}.study-entry .entry-note{font-size:13px;color:#526b7c;margin:22px 0 0}.study-entry .actions{margin-top:26px}@media(max-width:600px){.study-entry{padding:24px;margin:8px 0}.study-entry .actions{display:grid}.study-entry .button{width:100%}}

.question-recovery{padding:14px 16px;margin-top:16px;border:1px solid #e3d395;border-radius:12px;background:#fff9e6;color:#62501e}.question-recovery p{font-size:14px;margin:0 0 8px}.question-recovery p:last-child{margin-bottom:0}.answer-option{touch-action:manipulation}.answer-option input{width:20px;height:20px;position:static;opacity:1;flex:0 0 20px}.answer-option .answer-letter{display:none}

.online-presence{display:flex;align-items:center;gap:8px;font-size:13px;color:#176440;margin:0 0 12px}.online-presence::before{content:"";width:8px;height:8px;border-radius:50%;background:#218153;flex:none}.online-presence[hidden]{display:none}

.exam-in-progress .online-presence{display:none}

/* Perguntas de texto: leitura contínua sem uma coluna vazia. */
.question-without-image .question-content{grid-template-columns:minmax(0,1fr);gap:22px;max-width:960px;margin-inline:auto;width:100%;box-sizing:border-box}
.question-without-image #question-prompt{max-width:850px;font-size:clamp(24px,2.6vw,32px);margin-bottom:0}
.answer-option.answer-correct{border-color:#197647;background:#edf8f1;box-shadow:none}
#answer-options .answer-option.answer-wrong{border-color:#ba4942;background:#fff2ef;box-shadow:none}
.answer-option.answer-wrong input{accent-color:#ba4942}
.answer-option:has(.answer-verdict){flex-wrap:wrap}
.answer-option:has(.answer-verdict) .answer-text{flex:1;min-width:0}
.answer-verdict{flex-basis:100%;padding-left:34px;font-size:12px;font-weight:700;color:#17633e;line-height:1.4}
.answer-wrong .answer-verdict{color:#96382f}
#answer-feedback{border-left:4px solid #197647;background:#f0f8f3;padding:20px 24px}
#answer-feedback.incorrect{border-color:#e6cd91;border-left-color:#c19531;background:#fff9ec}
#answer-feedback strong{display:block;font-size:16px}
#answer-feedback .answer-explanation{margin:12px 0;font-size:15px;line-height:1.75}
#answer-feedback .answer-source{border-top:1px solid #dedfd7;padding-top:12px;margin:14px 0 0;font-size:12px;line-height:1.6;color:#526373}
@media(max-width:600px){#answer-feedback{padding:16px}.answer-verdict{padding-left:32px}}

#result-view.result-card{padding:0;overflow:hidden;border-radius:24px}
.result-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:32px;align-items:center;padding:36px;background:linear-gradient(120deg,#0c2942,#183f53);color:#fff}
.result-hero .plan-label{color:#ffda57;letter-spacing:.08em}.result-hero h1{color:#fff;margin:12px 0 16px;font-size:clamp(26px,3vw,36px)}.result-hero p:last-child{color:#dceaf2;margin-bottom:0;max-width:680px}
.result-score{border:1px solid #64818e;border-radius:22px;background:#ffffff0c;padding:22px 16px;text-align:center}.result-score strong{display:block;font-size:52px;line-height:1.2;color:#ffda57}.result-score span{display:block;font-size:12px;margin-top:8px;color:#e3edf2}
.result-body{padding:30px 36px}.result-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;color:#496276}.result-progress label{font-weight:700}.result-progress progress{flex-basis:100%;height:10px;border:0;border-radius:10px;overflow:hidden}.result-progress progress::-webkit-progress-bar{background:#edf2f5}.result-progress progress::-webkit-progress-value{background:#19764e}
.result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0 30px}.result-stats>div{background:#f4f7f9;border:1px solid #dce5eb;border-radius:14px;padding:18px}.result-stats dt{font-size:12px;color:#526b7c}.result-stats dd{margin:8px 0 0;font-size:25px;font-weight:700;color:#0c2942}.result-stats>div:first-child{background:#eef8f1}.result-stats>div:first-child dd{color:#187347}
.result-next{border-top:1px solid #dce5eb;padding-top:24px}.result-next h2{font-size:20px;margin:0 0 8px}.result-next p{font-size:14px;margin:0 0 20px;color:#496276}.result-actions{display:flex;flex-wrap:wrap;gap:10px}.result-actions .button{margin:0}
@media(max-width:650px){.result-hero{padding:24px;grid-template-columns:1fr;gap:22px}.result-score{display:flex;align-items:center;gap:16px;text-align:left;padding:16px 20px}.result-score strong{font-size:40px}.result-score span{margin:0}.result-body{padding:24px}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-stats>div{padding:14px}.result-stats dd{font-size:22px}.result-actions{flex-direction:column}.result-actions .button{width:100%}}

.result-encouragement{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-start;gap:18px;padding:24px;margin:0 0 26px;background:#eff5fa;border:1px solid #d6e4ee;border-radius:18px}
.result-encouragement h2{margin:0 0 10px;font-size:22px;color:#10344c}.result-encouragement p{margin:0;font-size:15px;line-height:1.75;color:#3e5d70;max-width:800px}.result-celebration-icon{display:grid;place-items:center;flex:0 0 50px;height:50px;border-radius:15px;background:#dceaf4;font-size:28px;color:#1d536e}
.result-celebrating .result-encouragement{background:linear-gradient(120deg,#edf8f0,#fff9de);border-color:#c4ddad}.result-celebrating .result-encouragement h2{color:#145e3e}.result-celebrating .result-celebration-icon{background:#ffda57;color:#133d36;box-shadow:0 4px 14px #d3b83e30}
.result-confetti{display:none;position:absolute;inset:0;pointer-events:none;z-index:-1}.result-celebrating .result-confetti{display:block}.result-confetti i{position:absolute;top:-16px;width:7px;height:13px;background:#eabf2d;left:8%;animation:result-confetti-fall 2.6s ease-out both}.result-confetti i:nth-child(2){left:21%;animation-delay:.2s;background:#3a9363}.result-confetti i:nth-child(3){left:35%;animation-delay:.4s;background:#79b7d3}.result-confetti i:nth-child(4){left:48%;animation-delay:.1s}.result-confetti i:nth-child(5){left:61%;animation-delay:.3s;background:#3a9363}.result-confetti i:nth-child(6){left:73%;animation-delay:.5s;background:#79b7d3}.result-confetti i:nth-child(7){left:86%;animation-delay:.15s}.result-confetti i:nth-child(8){left:95%;animation-delay:.35s;background:#3a9363}
@keyframes result-confetti-fall{0%{transform:translateY(0) rotate(0);opacity:0}15%{opacity:.8}100%{transform:translateY(240px) rotate(220deg);opacity:0}}
@media(max-width:650px){.result-encouragement{padding:20px;gap:14px;flex-direction:column}.result-encouragement h2{font-size:21px}.result-celebration-icon{flex-basis:46px;width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.result-confetti{display:none!important}.result-confetti i{animation:none}}

.header .header-logout{margin:0 0 0 auto;min-height:44px;padding:11px 22px;border:1px solid #c5d4df;border-radius:999px;background:#fff;color:#0c2942;font-weight:700;font-size:13px;white-space:nowrap}.header .header-logout:hover{background:#fff;border-color:#c5d4df}.header .header-logout:focus-visible{outline:3px solid #ffda57;outline-offset:4px}.header .header-logout[hidden]{display:none!important}.header .header-logout:disabled{opacity:1;cursor:wait;background:#fff;color:#0c2942;border-color:#c5d4df}.header .header-logout,.header .header-logout:hover,.header .header-logout:disabled{transform:none;transition:none;animation:none}@media(max-width:480px){.header .navigation{flex-wrap:wrap;gap:12px}.header .header-logout{padding:10px 15px;font-size:12px}}

.review-premium-lock{display:flex;align-items:flex-start;gap:22px;padding:24px;background:#f2f7f4;border:1px solid #d8e7df;border-radius:18px}.review-lock-icon{display:grid;place-items:center;flex-shrink:0;width:60px;height:60px;border-radius:18px;background:#0c2942;color:#ffda49}.review-premium-lock h3{font-size:23px;line-height:1.3;margin:8px 0}.review-premium-lock p{max-width:620px;margin:10px 0 20px}.review-premium-lock .plan-label{color:#187448}.review-card [hidden]{display:none!important}@media(max-width:600px){.review-premium-lock{padding:20px;flex-direction:column;gap:12px}.review-premium-lock h3{font-size:21px}.review-premium-lock .button{width:100%;box-sizing:border-box;text-align:center}}

.study-loading{margin:24px 0;padding:32px;border:1px solid #d3dfe7;border-radius:22px;background:#f7fafb;min-height:240px}.study-loading h1{font-size:28px;margin:12px 0}.study-loading-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.study-loading-bars span{height:64px;border-radius:12px;background:#e8eff3}@media(max-width:600px){.study-loading{padding:22px}.study-loading h1{font-size:24px}.study-loading-bars{gap:10px}}

#question-view .question-top #favorite-question{width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;gap:0;flex-shrink:0}

.result-review-actions,#exam-review{border-top:1px solid #d4e3dd;margin-top:24px;padding-top:24px}.review-help{color:#526570;font-size:.88rem;line-height:1.6}.exam-review-question{margin:20px 0;padding:24px;border:1px solid #d4e3dd;border-radius:16px;background:#fff}.review-question-label{color:#176f48;font-weight:700;font-size:.85rem}.exam-review-question h3{font-size:1.2rem;line-height:1.5}.exam-review-image{display:block;max-width:100%;max-height:340px;object-fit:contain;margin:16px auto}.review-options{list-style:none;padding:0;display:grid;gap:10px}.review-options li{padding:14px;border:1px solid #d5dfe3;border-radius:10px}.review-options .review-correct{background:#eaf7ef;border-color:#177448;color:#125b39}.review-options .review-wrong{background:#fff0ef;border-color:#bd4949}.review-options strong{display:block;margin-top:6px}#exam-review [aria-pressed=true]{background:#0c2941;color:#fff}.result-review-actions button:disabled{opacity:.55;cursor:default}@media(max-width:600px){.exam-review-question{padding:16px}.result-review-actions .result-actions,.result-review-actions button{width:100%}}

/* Compact, paginated exam review. */
.result-review-actions{padding-top:20px;margin-top:20px}
.result-review-actions h2{margin:0 0 8px}
.result-review-actions #result-review-note{margin:0 0 16px}
#exam-review{border:0;margin-top:16px;padding-top:0}
.review-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-navigation .button{padding:10px 16px;min-height:44px}
#exam-review-status{margin:0;text-align:center;font-size:.9rem;font-weight:700;white-space:nowrap}
.exam-review-question{margin:12px 0 0;padding:20px}
.exam-review-question h3{margin:8px 0 16px;font-size:1.05rem;line-height:1.5}
.review-question-label{margin:0;font-size:.8rem}
.review-options{gap:8px;margin:12px 0}
.review-options li{padding:10px 12px;font-size:.95rem}
.review-options strong{margin-top:3px;font-size:.82rem}
.review-explanation{border-top:1px solid #d4e3dd;margin-top:16px;padding-top:12px}
.review-explanation summary{cursor:pointer;color:#176f48;font-weight:700;padding:4px 0}
.result-review-actions [aria-pressed=true]{background:#0c2941;color:#fff;border-color:#0c2941}
@media(max-width:600px){.result-review-actions .result-actions{gap:8px}.result-review-actions .result-actions button{padding:10px 12px}.review-navigation button{width:auto;padding:10px 12px;font-size:.8rem}.review-navigation{gap:8px}.exam-review-question{padding:16px}}
