/* Qfolha: fonte local e escala de leitura responsiva. */
:root{--qfolha-font:Manrope,"Segoe UI",Arial,sans-serif}
body,input,select,textarea,button{font-family:var(--qfolha-font)}
body{font-size:16px;line-height:1.6}
.sidebar-brand{font-family:var(--qfolha-font);font-size:26px;font-weight:800;letter-spacing:-1px;gap:9px}
.sidebar-brand .sidebar-label,.header-context,.journey-mode .header-context{color:#17623f}
.header-context{display:flex;align-items:center;gap:9px;font-family:var(--qfolha-font);font-size:30px;font-weight:800;letter-spacing:-1px;text-shadow:none}
.header-leaf{display:block;width:36px;height:36px;flex-shrink:0}
.sidebar-link{font-size:14px;line-height:1.5}.sidebar-subject{font-size:14px}.sidebar-section{font-size:11px}
.subjects-heading h1,.exams-heading h1{font-family:var(--qfolha-font);font-size:clamp(26px,2.5vw,36px);line-height:1.2;font-weight:800;letter-spacing:-1px}
.subjects-heading p,.exams-heading p,.journey-invite p{font-size:15px;line-height:1.65}
.subject-card strong{font-size:19px}.subject-card small{font-size:14px}
.journey-register,.journey-continue,.exam-type{font-size:14px}
.results h2,dialog h2{font-family:var(--qfolha-font);font-size:24px;line-height:1.3}
.filters label,aside label{font-size:14px}input,select,textarea{font-size:16px}
.topic{font-size:16px}.meta{font-size:12px}.option{font-family:var(--qfolha-font);font-size:16px;line-height:1.65}.statement{font-family:var(--qfolha-font);font-size:18px;line-height:1.8}
@media(max-width:760px){.header-context{font-size:26px}.header-leaf{width:30px;height:30px}.subjects-heading p,.exams-heading p,.journey-invite p{font-size:14px}.journey-invite>div{flex-wrap:wrap}.statement{font-size:17px}.option{font-size:15px}.sidebar-link{font-size:14px}}

/* Resultado: azul para acertos e vermelho mais marcado para erros. */
.question.answered-correct{border-color:#8baed0}.question.answered-wrong{border-color:#cb7777}
.question.answered-correct .qhead,.question.answered-correct .qfoot{background:#f0f5fb}
.question.answered-wrong .qhead,.question.answered-wrong .qfoot{background:#fcecec}
.option.correct,.option.correct:hover,.option.correct[aria-pressed=true]{background:#eaf2fc;border-color:#719dca;color:#285780}
.option.wrong,.option.wrong:hover,.option.wrong[aria-pressed=true]{background:#fbdede;border-color:#c85c5c;color:#9b2929}
.option.correct .letter{background:#2366b5;color:#fff;font-weight:800}.option.wrong .letter{background:#bc3434;color:#fff;font-weight:800}
.answered-correct .feedback{background:#eaf2fc;color:#285780}.answered-wrong .feedback{background:#fbdede;color:#9b2929}


.sidebar-logo,.header-leaf{object-fit:contain}

/* Larger fox mark in desktop and mobile navigation. */
.sidebar-brand .sidebar-logo{width:52px;height:52px}
.header-context .header-leaf{width:52px;height:52px}
@media(max-width:760px){.header-context .header-leaf{width:44px;height:44px}}
@media(max-width:360px){.header-context{gap:6px;font-size:24px}.header-context .header-leaf{width:40px;height:40px}}

/* Brand typography experiment, using an existing local font. */
.sidebar-brand .sidebar-label,.header-context{font-family:"Trebuchet MS","Segoe UI",sans-serif;font-weight:700;letter-spacing:-.6px}
