/* Chemastery identity: original logo/favicons, mint palette and site typefaces. */
@font-face{font-family:Raleway;src:url('assets/branding/raleway-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Raleway;src:url('assets/branding/raleway-500.woff2') format('woff2');font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:Raleway;src:url('assets/branding/raleway-700.woff2') format('woff2');font-style:normal;font-weight:650 900;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('assets/branding/space-grotesk-500.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('assets/branding/space-grotesk-700.woff2') format('woff2');font-style:normal;font-weight:650 900;font-display:swap}
:root{--ink:#043325;--muted:#456353;--green:#087758;--deep:#043325;--lime:#0fde9e;--paper:#ebf6ea;--border:#c5ddcd;--light:#e2f8ec;--shadow:0 7px 25px #04332506;--radius:16px;--brand-accent:#0dc089}
body{font-family:Raleway,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:500;background:var(--paper)}
h1,h2,h3,.stat-number,.ticket-day,.score-ring strong,.topic-number{font-family:'Space Grotesk',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:500}
h1{letter-spacing:-1.6px}h2,h3{letter-spacing:-.6px}.eyebrow{font-weight:700;letter-spacing:1.3px}
.sidebar{background:#e4f5e9;color:var(--ink);border-right:1px solid #bfdeca;padding-top:28px}
.brand{flex-direction:column;align-items:flex-start;gap:11px;padding:0 7px;margin-bottom:33px;color:var(--ink)}
.brand-logo{display:block;width:190px;max-width:100%;height:auto;aspect-ratio:750/230;object-fit:contain}
.brand-course{font-family:'Space Grotesk',sans-serif;font-size:10px;letter-spacing:.35px;color:#38664f;line-height:1.6}
.loading-logo{width:200px;height:auto}.loading{flex-direction:column;gap:24px;background:var(--paper)}
.nav-caption{color:#53725d}.nav-link{color:#214f39;font-size:13px}.nav-link:hover{color:var(--ink);background:#d0eedc}.nav-link.active{background:#0fde9e;color:var(--ink);font-weight:700}.nav-dot{background:#74a98d}.nav-link.active .nav-dot{background:#043325}
.sidebar-foot{border-color:#bddcc7;color:#456c54}.sidebar-foot strong{color:#043325}
.topbar{background:#eff9ee;border-color:#c5ddcd;box-shadow:0 3px 14px #04332504}.topbar .exam-label strong{color:#043325}
.hero{background:#e5f8ee url('assets/branding/science-pattern.svg') repeat;border-color:#a5dfc2;border-radius:17px}.hero-copy{background:#effbf054}.hero-copy .eyebrow{color:#087758}.hero-copy h1{color:#087758;font-weight:500;line-height:1.13;letter-spacing:-1.8px}.hero-copy p{color:#315e43;font-weight:500}
.exam-ticket{background:#043325;color:#fff}.exam-ticket:after{border-color:#0fde9e55;box-shadow:0 0 0 30px #0fde9e12,0 0 0 60px #0fde9e08}.exam-ticket .eyebrow{color:#c2ead0}.ticket-day{color:#0fde9e}.ticket-day span{color:#d1edda}.ticket-bottom{border-color:#90d7b34d}.ticket-bottom span{color:#b6d8c0}
.btn{border-radius:999px;background:#0fde9e;color:#043325;font-weight:700;box-shadow:none}.btn:hover{background:#0dc089;color:#043325}.btn.secondary{background:#fafff9;border-color:#afd5bd;color:#043325}.btn.secondary:hover{background:#ddf5e5;border-color:#6fb68e}.btn.ghost{color:#087758;background:transparent}.btn.ghost:hover{background:#dbf5e4}.btn.light{background:#0fde9e;color:#043325}.btn.light:hover{background:#0dc089}.btn.danger{background:var(--red);color:white}.btn.danger:hover{background:#872927;color:white}
.stats{border-color:#bcdac6;background:#fbfef8;border-radius:13px}.stat{border-color:#c5ddcd}.stat-number{color:#043325}.stat-number span{color:#72957b}
.section-card{border-color:#bbd9c5;background:#fbfef9}.section-card.primary{border-color:#0dc089;background:#f6fff8}.section-card:hover{border-color:#0dc089}.section-card .section-icon{background:#c9f3dd;color:#087758}.section-card:nth-child(2) .section-icon,.section-card:nth-child(3) .section-icon{background:#e0f0de;color:#426b4b}
.section-card h3{font-family:'Space Grotesk',sans-serif;font-weight:500}.badge.green{background:#cbf4dc;color:#145d3c}.badge.neutral{background:#e4efe0;color:#496844}.badge.amber{color:#805110}.section-card .card-link{font-weight:700;color:#087758}
.topic-top{background:#dff3e4 url('assets/branding/science-pattern.svg') repeat;border-color:#c5ddcd}.topic-top .eyebrow{color:#38694c}.topic-number{color:#137a50}.topic-card{border-color:#bddac7;border-radius:13px}.topic-body h3{font-weight:500;font-size:18px;line-height:1.4}.topic-body .desc{color:#456353;line-height:1.7}.progress-track{background:#e2eddf}.progress-fill{background:#0dc089}.topic-meta,.topic-status{color:#496750}.topic-actions .btn{font-size:11px}
.topic-reset{margin-top:10px;text-align:center}.reset-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:0;padding:8px 10px;border-radius:6px;font-size:11px;color:#556d5c;text-decoration:underline;text-underline-offset:3px}.reset-link:hover:not(:disabled){color:#8d302d;background:#fff3ee}.reset-link:disabled{opacity:.45;text-decoration:none}.reset-button{font-size:11px;min-height:37px;padding:8px 13px;gap:7px}.reset-button:not(:disabled):hover{color:#8d302d;border-color:#cb8b7d;background:#fff6f2}.reset-button:disabled{background:#f3f9ee;color:#71876b;border-color:#c6dbc3;opacity:.65}.heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0;padding-top:4px}.heading-actions small{font-size:9px;color:var(--muted)}.coming-actions{justify-content:center}.section-heading{flex-wrap:wrap}
.study-note{background:#f4fbef;border-color:#bbd8c0}.panel{background:#fcfff9;border-color:#bcd7c4}.slide-cover{background:#f5fbf1}.slide-cover img{background:white}.mode-option{border-color:#c4dcc9}.mode-option:has(input:checked){border-color:#087758;background:#e3f9ec;box-shadow:0 0 0 1px #087758}.resume-box{background:#e5f8e8;border-color:#a6d6b5}.search input,.toolbar select,.review-select{background:#fbfff8;border-color:#b8d7bf}.search input::placeholder{color:#66806a}
.question-stem{font-family:Raleway,sans-serif;font-weight:600;line-height:1.8}.answer-option{background:#fff;font-size:13px;font-weight:500;line-height:1.75;border-color:#c6dcca}.answer-option:hover{background:#f3fcf1;border-color:#80bb97}.answer-option.selected{background:#e3faed;border-color:#087758;box-shadow:inset 0 0 0 1px #087758}.answer-letter{background:#f0f7ea;border-color:#c6dcca;color:#456b4e}.selected .answer-letter{background:#087758;color:white;border-color:#087758}.answer-option.correct{background:#ebf9e7;border-color:#478347;box-shadow:none}.answer-option.incorrect{background:#fcf1ef;border-color:#b86963;box-shadow:none}.answer-option.correct .answer-letter{background:#478347;color:white;border-color:#478347}.answer-option.incorrect .answer-letter{background:#a3423a;color:white;border-color:#a3423a}
.question-map button.answered{background:#d7f5e1;border-color:#a5d7b4}.question-map button.current{border-color:#087758}.question-map button.right,.answer-key button.right{background:#d7f2d1;border-color:#8caf7b}.question-map button.wrong,.answer-key button.wrong{background:#f9eae6;border-color:#d8aaa3}.legend-square{background:#d7f5e1;border-color:#a5d7b4}.legend-square.flag{background:#b78023;border-color:#b78023}
.results-hero{background:#043325}.results-hero .eyebrow{color:#b2e2c7}.results-hero p{color:#c6e3d0}.score-ring{background:#0b4b34;border-color:#0dc089}.score-ring strong{color:#0fde9e}.score-ring span,.result-counts{color:#d2ead8}.slide-reader{background:#dcefe0;border-color:#afd0b9}.slide-controls{background:#fafff8}.slide-image{background:#dcefe0}.slide-reader-footer{background:#f8fff4;color:#456353}.page-selector select{background:#f1faed;border-color:#b5d5bd}.feedback{background:#f9fff6}.feedback-heading{background:#dff4d7}.feedback.wrong{background:#fffaf8}.feedback.wrong .feedback-heading{background:#f9ebe5}
.footer-brand{display:flex;gap:13px;align-items:center}.footer-brand img{width:92px;height:auto}.footer-brand span{font-size:10px;color:#46664c}.page-footer{border-color:#b9d7be}.page-footer p{font-size:10px}.icon-button{background:#f6fff4;border-color:#b7d9bf}.coming .section-icon{background:#d1f4db}.empty{background:#f4fbed;border-color:#afceb6}.mobile-menu{color:#043325}
@media(max-width:1200px){.brand-logo{width:172px}.brand{padding:0 5px}.brand-course{font-size:9px}}
@media(max-width:760px){.sidebar{background:#e4f5e9;border-bottom:1px solid #badbc7;border-right:0;padding-top:12px;padding-bottom:12px}.brand{gap:3px;margin:0;padding:0}.brand-logo{width:149px;height:auto}.brand-course{font-size:8px;letter-spacing:.1px}.sidebar nav{background:#e4f5e9;border-color:#badbc7}.sidebar .mobile-menu{color:#043325;background:#f0fbed;border-color:#a9d6bb}.topic-body h3{font-size:17px}.heading-actions{padding:0;align-items:flex-start;margin-top:15px}.page-heading{flex-wrap:wrap;gap:0}.page-heading .heading-actions{width:100%}.hero-copy h1{font-size:37px}.reset-button{font-size:10px}.section-heading .reset-button{min-height:34px}.footer-brand{align-items:center;gap:10px}.footer-brand img{width:82px}.topic-reset .reset-link{font-size:10px}.coming .inline-note{margin-top:13px}}
@media(max-width:400px){.hero-copy h1{font-size:33px}.brand-logo{width:140px}.topic-body h3{font-size:18px}}
