.questions-page { --q-green:#23764a; --q-green-dark:#185a37; --q-red:#a93b3b; --q-red-dark:#7d2929; }
.questions-wrap { width:min(1280px,calc(100% - 40px)); margin:0 auto; padding:18px 0 72px; }
.question-breadcrumbs { display:flex; align-items:center; gap:9px; margin:0 0 26px; color:var(--muted,#aab7ca); font-size:12px; }
.question-breadcrumbs a { color:var(--gold,#e6c477); text-decoration:none; }
.questions-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding:24px 0 30px; }
.q-eyebrow,.q-side-kicker { margin:0 0 9px; color:var(--gold,#e6c477); font-size:10px; font-weight:800; letter-spacing:.14em; }
.questions-hero h1 { margin:0; font-size:clamp(34px,5vw,58px); line-height:1.06; letter-spacing:-.045em; }
.questions-hero h1 span { color:var(--gold,#e6c477); }
.q-lede { max-width:710px; margin:13px 0 0; color:var(--muted,#aab7ca); font-size:clamp(14px,1.6vw,17px); line-height:1.7; }
.q-hero-lab { display:flex; align-items:center; gap:12px; min-width:250px; padding:15px 17px; border:1px solid var(--line,#273548); border-radius:13px; background:var(--surface,#101b2d); color:var(--text,#f5f7fb); text-decoration:none; }
.q-hero-lab>span:first-child { display:grid; width:38px; height:38px; place-items:center; border-radius:10px; color:var(--gold,#e6c477); background:rgba(230,196,119,.1); font-size:20px; }
.q-hero-lab b,.q-hero-lab small { display:block; }.q-hero-lab b { font-size:13px; }.q-hero-lab small { margin-top:4px; color:var(--muted,#aab7ca); font-size:11px; }
.q-search-panel { padding:20px; border:1px solid var(--line,#273548); border-radius:15px; background:var(--surface,#101b2d); box-shadow:0 12px 34px rgba(0,0,0,.12); }
.q-search-label { display:block; color:var(--text,#f5f7fb); font-size:12px; font-weight:700; }
.q-search-box { display:flex; align-items:center; gap:12px; margin-top:9px; padding:0 13px; border:1px solid var(--line,#273548); border-radius:9px; background:var(--bg,#08101f); color:var(--gold,#e6c477); }
.q-search-box>span { font-size:23px; }.q-search-box input { width:100%; min-width:0; min-height:48px; border:0; outline:0; color:var(--text,#f5f7fb); background:transparent; font:inherit; font-size:14px; }.q-search-box input::placeholder { color:var(--muted,#aab7ca); opacity:.75; }.q-search-box kbd { padding:3px 7px; border:1px solid var(--line,#273548); border-radius:5px; color:var(--muted,#aab7ca); font:inherit; font-size:10px; }
.q-filter-heading { display:flex; align-items:center; gap:10px; margin:19px 0 9px; color:var(--text,#f5f7fb); font-size:12px; font-weight:700; }.q-filter-count { color:var(--muted,#aab7ca); font-size:11px; font-weight:500; }.q-text-button { margin-left:auto; padding:7px 9px; border:0; color:var(--gold,#e6c477); background:transparent; font:inherit; font-size:11px; cursor:pointer; }
.q-filter-bar { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.q-filter { position:relative; min-width:0; }.q-filter summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:43px; padding:0 11px; list-style:none; border:1px solid var(--line,#273548); border-radius:8px; background:var(--bg,#08101f); color:var(--text,#f5f7fb); font-size:11px; cursor:pointer; }.q-filter summary::-webkit-details-marker { display:none; }.q-filter summary:after { content:"⌄"; display:inline-block; color:var(--gold,#e6c477); font-size:16px; transition:transform .18s ease; }.q-filter[open] summary:after { transform:rotate(180deg); }.q-filter[open] summary { border-color:var(--gold,#e6c477); }.q-filter-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.q-filter-selected { flex:none; color:var(--muted,#aab7ca); font-size:10px; }
.q-filter-menu { position:absolute; top:calc(100% + 5px); left:0; z-index:30; width:max(230px,100%); max-width:min(320px,calc(100vw - 38px)); padding:10px; border:1px solid var(--line,#273548); border-radius:10px; background:var(--surface,#101b2d); box-shadow:0 12px 32px rgba(0,0,0,.35); }.q-filter-option-search { width:100%; min-height:36px; margin-bottom:8px; padding:0 9px; border:1px solid var(--line,#273548); border-radius:7px; color:var(--text,#f5f7fb); background:var(--bg,#08101f); font:inherit; font-size:11px; }.q-filter-options { display:grid; gap:2px; max-height:220px; overflow:auto; overscroll-behavior:contain; }.q-filter-option { display:flex; align-items:flex-start; gap:8px; padding:8px 5px; border-radius:6px; color:var(--text,#f5f7fb); font-size:11px; line-height:1.4; cursor:pointer; }.q-filter-option:hover { background:rgba(230,196,119,.08); }.q-filter-option input { flex:0 0 auto; width:15px; height:15px; margin:0; accent-color:var(--gold,#e6c477); }
.q-filter-empty { margin:7px 4px; color:var(--muted,#aab7ca); font-size:11px; }.q-search-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; }.q-search-footer p { margin:0; color:var(--muted,#aab7ca); font-size:10px; }.q-share-button { min-height:34px; padding:0 10px; border:1px solid var(--line,#273548); border-radius:7px; color:var(--text,#f5f7fb); background:transparent; font:inherit; font-size:11px; cursor:pointer; }.q-share-panel { display:grid; gap:6px; margin-top:12px; padding:12px; border:1px solid var(--line,#273548); border-radius:8px; color:var(--muted,#aab7ca); font-size:11px; }.q-share-panel[hidden] { display:none; }.q-share-panel>div { display:flex; gap:8px; }.q-share-panel input { flex:1; min-width:0; padding:8px; border:1px solid var(--line,#273548); border-radius:6px; color:var(--text,#f5f7fb); background:var(--bg,#08101f); }.q-share-panel button { padding:0 10px; border:1px solid var(--line,#273548); border-radius:6px; color:var(--text,#f5f7fb); background:var(--bg,#08101f); cursor:pointer; }
.q-page-grid { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:23px; align-items:start; margin-top:30px; }.q-results { min-width:0; }.q-results-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:16px; }.q-results-head h2 { margin:0; font-size:clamp(20px,2.6vw,27px); letter-spacing:-.025em; }.q-results-head .q-eyebrow { margin-bottom:5px; }.q-results-tools { display:flex; align-items:flex-end; gap:8px; }.q-sort-label { display:grid; gap:5px; color:var(--muted,#aab7ca); font-size:10px; }.q-sort-label select,.q-study-popover select { min-height:37px; padding:0 9px; border:1px solid var(--line,#273548); border-radius:7px; color:var(--text,#f5f7fb); background:var(--surface,#101b2d); font:inherit; font-size:11px; }.q-study-details { position:relative; }.q-study-details>summary { min-height:37px; padding:10px 11px; list-style:none; border:1px solid var(--line,#273548); border-radius:7px; color:var(--text,#f5f7fb); font-size:11px; cursor:pointer; }.q-study-details>summary::-webkit-details-marker { display:none; }.q-study-details>summary:after { content:"⌄"; padding-left:7px; color:var(--gold,#e6c477); }.q-study-popover { position:absolute; right:0; z-index:25; display:grid; gap:10px; width:255px; margin-top:5px; padding:15px; border:1px solid var(--line,#273548); border-radius:10px; background:var(--surface,#101b2d); box-shadow:0 12px 30px rgba(0,0,0,.32); }.q-study-popover>strong { font-size:13px; }.q-study-popover>label:not(.q-checkbox-line) { display:grid; gap:5px; color:var(--muted,#aab7ca); font-size:10px; }.q-study-popover p { margin:0; color:var(--muted,#aab7ca); font-size:10px; line-height:1.5; }.q-checkbox-line { display:flex; align-items:center; gap:8px; font-size:11px; }.q-checkbox-line input { accent-color:var(--gold,#e6c477); }.q-view-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; padding:4px; border:1px solid var(--line,#273548); border-radius:9px; background:var(--surface,#101b2d); }.q-view-tabs button { min-height:34px; padding:0 10px; border:1px solid transparent; border-radius:6px; color:var(--muted,#aab7ca); background:transparent; font:inherit; font-size:11px; cursor:pointer; }.q-view-tabs button[aria-pressed=true] { border-color:var(--line,#273548); color:var(--text,#f5f7fb); background:var(--bg,#08101f); }.q-view-tabs button span { margin-left:3px; color:var(--gold,#e6c477); }
.q-quiz-banner { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 12px; padding:11px 13px; border:1px solid rgba(230,196,119,.45); border-radius:8px; background:rgba(230,196,119,.08); }.q-quiz-banner[hidden] { display:none; }.q-quiz-banner>div { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }.q-quiz-banner strong { font-size:12px; }.q-quiz-banner span { color:var(--gold,#e6c477); font-size:12px; font-variant-numeric:tabular-nums; }.q-count { min-height:19px; margin:0 0 10px; color:var(--muted,#aab7ca); font-size:11px; }.q-question-list { display:grid; gap:13px; }.q-card { min-width:0; overflow:hidden; border:1px solid var(--line,#273548); border-radius:11px; background:var(--surface,#101b2d); }.q-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:15px 16px 11px; }.q-card-title { margin:0; font-size:15px; line-height:1.4; }.q-card-meta { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }.q-chip { display:inline-flex; align-items:center; min-height:22px; padding:0 7px; border:1px solid var(--line,#273548); border-radius:999px; color:var(--muted,#aab7ca); font-size:9px; }.q-chip.difficulty { color:var(--gold,#e6c477); }.q-favorite { display:grid; flex:none; min-width:38px; min-height:36px; place-items:center; border:1px solid var(--line,#273548); border-radius:7px; color:var(--muted,#aab7ca); background:transparent; font-size:17px; cursor:pointer; }.q-favorite[aria-pressed=true] { color:#f1c85f; border-color:rgba(241,200,95,.55); background:rgba(241,200,95,.1); }.q-card-body { padding:0 16px 15px; }.q-statement { margin:4px 0 13px; color:var(--text,#f5f7fb); font-size:13px; line-height:1.68; white-space:pre-line; }.q-diagram-button { display:block; width:max-content; max-width:100%; margin:2px auto 14px; padding:8px; border:1px solid var(--line,#273548); border-radius:8px; background:var(--bg,#08101f); cursor:zoom-in; }.q-diagram-button img { display:block; width:min(720px,calc(100vw - 72px)); max-width:100%; max-height:min(58vh,520px); height:auto; margin:auto; object-fit:contain; }.q-choice-group { display:grid; gap:6px; margin:0; padding:0; border:0; }.q-choice-group legend { margin:0 0 6px; color:var(--muted,#aab7ca); font-size:10px; font-weight:700; }.q-choice { display:flex; align-items:flex-start; gap:9px; min-height:40px; padding:10px; border:1px solid var(--line,#273548); border-radius:7px; color:var(--text,#f5f7fb); font-size:12px; line-height:1.5; cursor:pointer; transition:border-color .16s,background .16s; }.q-choice:hover { border-color:var(--gold,#e6c477); }.q-choice input { flex:none; width:15px; height:15px; margin:1px 0 0; accent-color:var(--gold,#e6c477); }.q-choice.is-selected { border-color:var(--gold,#e6c477); background:rgba(230,196,119,.07); }.q-choice.is-correct { border-color:#4eaa70; background:rgba(53,144,84,.13); }.q-choice.is-wrong { border-color:#ca6666; background:rgba(169,59,59,.12); }.q-choice-group[disabled] .q-choice { cursor:default; }
.q-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:12px; }.q-button { min-height:36px; padding:0 12px; border:1px solid transparent; border-radius:7px; font:inherit; font-size:11px; font-weight:700; cursor:pointer; }.q-button:disabled { opacity:.48; cursor:not-allowed; }.q-button-save { border-color:var(--q-green,#23764a); color:#fff; background:var(--q-green,#23764a); }.q-button-save:hover:not(:disabled) { border-color:var(--q-green-dark,#185a37); background:var(--q-green-dark,#185a37); }.q-button-refuse { border-color:var(--q-red,#a93b3b); color:#fff; background:var(--q-red,#a93b3b); }.q-button-refuse:hover:not(:disabled) { border-color:var(--q-red-dark,#7d2929); background:var(--q-red-dark,#7d2929); }.q-button-outline { border-color:var(--line,#273548); color:var(--text,#f5f7fb); background:transparent; }.q-button-outline:hover { border-color:var(--gold,#e6c477); }.q-answer-feedback { margin:12px 0 0; padding:11px 12px; border-left:3px solid var(--gold,#e6c477); border-radius:0 7px 7px 0; background:var(--bg,#08101f); font-size:12px; line-height:1.55; }.q-answer-feedback[hidden] { display:none; }.q-answer-feedback.is-correct { border-color:#4eaa70; }.q-answer-feedback.is-wrong { border-color:#ca6666; }.q-answer-feedback strong { display:block; margin-bottom:3px; }.q-solution { margin-top:10px; padding:12px; border:1px solid var(--line,#273548); border-radius:7px; color:var(--muted,#aab7ca); background:var(--bg,#08101f); font-size:12px; line-height:1.7; white-space:pre-line; }.q-solution[hidden] { display:none; }.q-solution strong { color:var(--text,#f5f7fb); }.q-source { margin:10px 0 0; color:var(--muted,#aab7ca); font-size:10px; }.q-card-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:13px; padding-top:10px; border-top:1px solid var(--line,#273548); }.q-simulation { color:var(--gold,#e6c477); font-size:11px; font-weight:700; text-decoration:none; }.q-simulation:hover { text-decoration:underline; }.q-card-id { color:var(--muted,#aab7ca); font-size:9px; }
.q-empty { margin-top:10px; padding:28px 16px; border:1px dashed var(--line,#273548); border-radius:10px; text-align:center; }.q-empty[hidden] { display:none; }.q-empty>span { color:var(--gold,#e6c477); font-size:24px; }.q-empty h3 { margin:8px 0 4px; font-size:16px; }.q-empty p { color:var(--muted,#aab7ca); font-size:12px; }.q-pagination { display:flex; justify-content:center; gap:5px; margin-top:16px; }.q-pagination:empty { display:none; }.q-pagination button { min-width:35px; min-height:35px; border:1px solid var(--line,#273548); border-radius:6px; color:var(--text,#f5f7fb); background:var(--surface,#101b2d); cursor:pointer; }.q-pagination button[aria-current=page] { border-color:var(--gold,#e6c477); color:var(--bg,#08101f); background:var(--gold,#e6c477); }.q-pagination button:disabled { opacity:.5; cursor:not-allowed; }
.q-sidebar { display:grid; gap:12px; }.q-progress-card,.q-review-card,.q-lab-card { padding:17px; border:1px solid var(--line,#273548); border-radius:10px; background:var(--surface,#101b2d); }.q-progress-card h2 { margin:0; font-size:17px; }.q-progress-card>p { margin:6px 0 15px; color:var(--muted,#aab7ca); font-size:10px; line-height:1.6; }.q-progress-main { display:flex; align-items:baseline; gap:8px; }.q-progress-main strong { color:var(--gold,#e6c477); font-size:32px; }.q-progress-main span { color:var(--muted,#aab7ca); font-size:10px; }.q-progress-bar { height:7px; margin-top:8px; overflow:hidden; border-radius:999px; background:var(--bg,#08101f); }.q-progress-bar span { display:block; width:0; height:100%; border-radius:inherit; background:#3b9a5c; transition:width .2s; }.q-progress-stats { display:grid; gap:0; margin:14px 0 8px; }.q-progress-stats div { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-top:1px solid var(--line,#273548); font-size:11px; }.q-progress-stats dt { color:var(--muted,#aab7ca); }.q-progress-stats dd { margin:0; color:var(--text,#f5f7fb); font-variant-numeric:tabular-nums; }.q-reset-button { padding:4px 0; border:0; color:var(--muted,#aab7ca); background:transparent; font:inherit; font-size:10px; text-decoration:underline; cursor:pointer; }.q-review-card { display:flex; gap:10px; align-items:flex-start; }.q-review-card>span,.q-lab-card>span:first-child { color:var(--gold,#e6c477); font-size:19px; }.q-review-card h2 { margin:0; font-size:12px; }.q-review-card p { margin:5px 0 0; color:var(--muted,#aab7ca); font-size:10px; line-height:1.55; }.q-lab-card { display:grid; gap:6px; color:var(--text,#f5f7fb); text-decoration:none; }.q-lab-card>b { font-size:12px; }.q-lab-card>small { color:var(--muted,#aab7ca); font-size:10px; line-height:1.5; }.q-card-link { color:var(--gold,#e6c477); font-size:10px; font-weight:700; }.q-image-dialog { position:fixed; max-width:min(960px,94vw); max-height:92vh; padding:15px; border:1px solid var(--line,#273548); border-radius:12px; color:var(--text,#f5f7fb); background:var(--surface,#101b2d); }.q-image-dialog::backdrop { background:rgba(3,8,16,.84); }.q-image-dialog form { display:flex; justify-content:flex-end; }.q-dialog-close { min-height:36px; padding:0 10px; border:1px solid var(--line,#273548); border-radius:6px; color:var(--text,#f5f7fb); background:transparent; cursor:pointer; }.q-image-dialog img { display:block; max-width:100%; max-height:75vh; margin:10px auto; object-fit:contain; }.q-image-dialog p { margin:8px 0 0; color:var(--muted,#aab7ca); text-align:center; font-size:11px; }
.questions-page :is(button,input,select,summary,a):focus-visible { outline:3px solid #f0ca78; outline-offset:3px; }.questions-page [hidden] { display:none!important; }
/* O launcher flutuante cobre filtros e alternativas em uma página de estudo. */
.questions-page #bnzinho-widget,.questions-page .bnzinho-restore { display:none!important; }
/* Mantém o atalho de acessibilidade no fluxo da página, sem cobrir filtros. */
.questions-page .a11y-launcher { position:static!important; display:block!important; width:max-content; margin:20px auto 28px; }
@media(max-width:1050px) { .q-filter-bar { grid-template-columns:repeat(3,minmax(0,1fr)); }.q-page-grid { grid-template-columns:minmax(0,1fr) 250px; }.q-hero-lab { min-width:220px; } }
@media(max-width:760px) { .questions-wrap { width:min(100% - 28px,700px); padding-top:13px; }.questions-hero { align-items:flex-start; flex-direction:column; gap:18px; }.q-hero-lab { width:100%; }.q-filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }.q-page-grid { grid-template-columns:1fr; }.q-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }.q-progress-card { grid-row:span 2; }.q-results-head { align-items:flex-start; flex-direction:column; }.q-results-tools { width:100%; justify-content:space-between; }.q-study-popover { right:0; } }
@media(max-width:480px) { .questions-wrap { width:calc(100% - 22px); }.q-search-panel { padding:13px; }.q-filter-bar { gap:6px; }.q-filter summary { min-height:41px; padding:0 8px; font-size:10px; }.q-search-footer { align-items:flex-start; flex-direction:column; }.q-sidebar { grid-template-columns:1fr; }.q-progress-card { grid-row:auto; }.q-card-head,.q-card-body { padding-left:12px; padding-right:12px; }.q-card-title { font-size:13px; }.q-choice { font-size:11px; }.q-results-tools { gap:5px; }.q-sort-label select { max-width:142px; }.q-study-details>summary { padding-inline:8px; }.q-study-popover { right:0; width:min(255px,calc(100vw - 42px)); }.q-view-tabs button { flex:1 1 auto; padding-inline:7px; font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .q-choice,.q-progress-bar span { transition:none; } }


.q-pagination { align-items:center; flex-wrap:nowrap; max-width:100%; }.q-pagination-window { display:flex; flex:0 1 auto; gap:5px; max-width:calc(100vw - 110px); overflow:hidden; touch-action:pan-y; user-select:none; cursor:grab; }.q-pagination-window:active { cursor:grabbing; }.q-pagination-window button { flex:0 0 35px; }.q-pagination .q-page-range-arrow { flex:0 0 35px; font-size:22px; line-height:1; }

.q-diagram-unavailable { color:var(--muted,#aab7ca); cursor:not-allowed; text-align:center; }

/* Botão local para eliminar e restaurar alternativas durante o estudo */
.q-choice-row { display:flex; min-width:0; align-items:stretch; gap:6px; }
.q-choice-row .q-choice { flex:1; min-width:0; }
.q-choice-cut {
  display:grid;
  flex:0 0 42px;
  width:42px;
  min-height:40px;
  place-items:center;
  border:1px solid var(--line,#273548);
  border-radius:7px;
  color:var(--gold,#e6c477);
  background:var(--bg,#08101f);
  font:inherit;
  font-size:19px;
  line-height:1;
  cursor:pointer;
}
.q-choice-cut:hover:not(:disabled) { border-color:var(--q-red,#a93b3b); color:#ffb2b2; }
.q-choice-cut[aria-pressed="true"] { border-color:var(--q-red,#a93b3b); color:#fff; background:rgba(169,59,59,.18); }
.q-choice-cut:disabled { opacity:.45; cursor:not-allowed; }
.q-choice.is-cut { border-style:dashed; color:var(--muted,#aab7ca); }
.q-choice.is-cut > span { text-decoration:line-through; text-decoration-color:var(--q-red,#a93b3b); }
@media(max-width:480px) { .q-choice-cut { flex-basis:40px; width:40px; min-height:40px; } }
