.student-study-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 25px; }
.student-dashboard { margin: 8px 0 24px; padding: 20px; border: 1px solid #dfe7f3; border-radius: 15px; background: #f8faff; }
.student-dashboard-heading h3 { margin: 0 0 5px; font-size: 19px; }
.student-dashboard-heading .eyebrow { margin-bottom: 6px; }
.student-dashboard-heading .muted { margin-bottom: 15px; font-size: 13px; }
.student-dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.student-dashboard-stat { display: flex; flex-direction: column; gap: 8px; min-height: 83px; padding: 14px; border: 1px solid #e0e8f4; border-radius: 11px; background: #fff; }
.student-dashboard-stat span { color: #62748a; font-size: 12px; }
.student-dashboard-stat strong { color: #174f9f; font-size: 25px; }
.student-dashboard-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.student-dashboard-filters [aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.student-exam-status { display: inline-flex; margin: 7px 0 0 9px; padding: 4px 9px; border-radius: 20px; background: #edf1f6; color: #42566f; font-size: 11px; font-weight: 700; vertical-align: middle; }
.student-exam-status.is-pending { background: #fff5dc; color: #815500; }
.student-exam-status.is-ongoing { background: #e5f0ff; color: #174f9f; }
.student-exam-status.is-attempted { background: #e7f7ed; color: #176447; }
.student-exam-latest { font-size: 12px; line-height: 1.5; }
.student-study-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 21px;
  border: 1px solid #bfd5f5;
  border-radius: 15px;
  background: linear-gradient(115deg, #edf5ff, #f8fbff);
}
.student-study-promo h3,
.student-study-promo p { margin-bottom: 6px; }
.student-study-promo .eyebrow { margin-bottom: 7px; }
.student-study-promo .muted { max-width: 650px; font-size: 13px; }
.student-study { max-width: 1040px; margin: 24px auto; padding: 26px; text-align: left; }
.student-study-header { align-items: flex-start; }
.student-study-header h2 { margin: 0 0 6px; }
.student-study-header .eyebrow { margin-bottom: 8px; }
.study-source { padding: 11px 14px; border-radius: 10px; background: #f3f6fb; font-size: 12px; }
.study-slides { max-width: 820px; margin: 26px auto 36px; }
.study-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #506985; font-size: 12px; font-weight: 700; }
.study-chip { padding: 6px 10px; border-radius: 20px; background: #eaf2ff; color: #1759b3; }
.study-progress-track { height: 7px; overflow: hidden; margin-bottom: 16px; border-radius: 9px; background: #e6edf7; }
.study-progress-track div { width: 0; height: 100%; border-radius: inherit; background: #1765d4; transition: width .2s ease; }
.study-slide { min-height: 330px; padding: clamp(20px, 4vw, 34px); border: 1px solid #dfe7f3; border-radius: 16px; }
.study-slide h3,.study-activity h3 { margin-bottom: 12px; font-size: 21px; }
.study-slide-summary { color: #3d5776; font-size: 15px; line-height: 1.7; }
.study-slide ul { padding-left: 22px; color: #314760; line-height: 1.8; }
.study-slide li { margin: 8px 0; }
.study-example { margin-top: 20px; padding: 16px; border-left: 4px solid #2774e4; border-radius: 8px; background: #f2f7ff; line-height: 1.7; }
.study-example p { margin: 5px 0 0; }
.study-slide-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; }
.study-activity { margin: 34px 0 0; padding: clamp(18px, 4vw, 28px); border: 1px solid #dfe7f3; border-radius: 16px; }
.study-activity > .eyebrow { margin-bottom: 8px; }
.study-activity > .muted { font-size: 13px; }
.study-choice-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.study-choice-list .secondary[aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.study-demo-output { padding: 18px; border-radius: 12px; background: #f6f8fc; }
.study-demo-output h4 { margin: 0 0 8px; font-size: 16px; }
.study-demo-output > p { line-height: 1.65; }
.study-demo-output pre { overflow-x: auto; padding: 15px; border-radius: 9px; background: #172b49; color: #eff6ff; font-size: 13px; line-height: 1.6; }
.study-table-wrap { overflow-x: auto; }
.study-demo-output table { min-width: 250px; border-collapse: collapse; background: white; }
.study-demo-output th,.study-demo-output td { padding: 10px 13px; border: 1px solid #dbe4f1; text-align: left; white-space: nowrap; }
.study-demo-output th { background: #eaf1fb; color: #334d6b; }
.study-takeaway { margin: 13px 0 0; color: #176447; font-weight: 700; }
.study-question { margin: 14px 0; padding: 16px; border: 1px solid #dfe7f3; border-radius: 11px; }
.study-question legend { padding: 0 5px; font-weight: 700; line-height: 1.6; }
.study-answer-button { display: block; width: 100%; margin: 8px 0; padding: 12px 14px; border: 1px solid #d4deec; border-radius: 9px; background: #fff; color: #263b55; text-align: left; line-height: 1.55; }
.study-answer-button:hover:not(:disabled),.study-answer-button:focus-visible { border-color: #2870d4; background: #f0f6ff; }
.study-answer-button[aria-pressed="true"] { border-color: #1765d4; box-shadow: 0 0 0 1px #1765d4; }
.study-answer-button.is-correct { border-color: #168049; background: #e7f7ed; color: #14532d; }
.study-answer-button.is-incorrect { border-color: #c62828; background: #fff0f0; color: #842029; }
.study-feedback { min-height: 28px; margin: 10px 0 16px; line-height: 1.6; }
.study-competency { color: #647891; font-size: 12px; }
.study-points { margin: 4px 0 12px; padding: 8px 12px; border-left: 3px solid #c99a06; border-radius: 6px; background: #fff8e1; color: #5c4300; font-size: 13px; }
.study-points:empty { display: none; }
html[data-theme="dark"] .study-points { background: #2e2716; color: #f7d889; }
.study-quiz-result { margin: 14px 0; padding: 16px; border-radius: 10px; background: #eaf4ff; color: #194b86; font-weight: 700; line-height: 1.6; }
.logic-demo-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0; }
.logic-demo-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.logic-demo-field input { width: 100%; padding: 10px 12px; border: 1px solid #cbd8e8; border-radius: 9px; background: white; color: #172b49; }
.logic-demo-result { margin-top: 16px; padding: 16px; border-radius: 10px; background: #edf5ff; line-height: 1.65; }
.logic-demo-result p { margin: 0 0 8px; }
.logic-demo-result ol { margin: 10px 0 0; padding-left: 22px; }
.logic-demo-result li { margin: 5px 0; }
.logic-demo-result.is-error { background: #fff0f0; color: #842029; }
html[data-theme="dark"] .student-study-promo { border-color: #304561; background: #152640; }
html[data-theme="dark"] .student-dashboard { border-color: #344962; background: #131f32; }
html[data-theme="dark"] .student-dashboard-stat { border-color: #344962; background: #17263b; }
html[data-theme="dark"] .student-dashboard-stat span { color: #b9c8da; }
html[data-theme="dark"] .student-dashboard-stat strong { color: #9bc3ff; }
html[data-theme="dark"] .student-exam-status.is-pending { background: #493d20; color: #f7d889; }
html[data-theme="dark"] .student-exam-status.is-ongoing { background: #1c304a; color: #b9d6ff; }
html[data-theme="dark"] .student-exam-status.is-attempted { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .logic-demo-field input { border-color: #40536d; background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .logic-demo-result { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .logic-demo-result.is-error { background: #4b2027; color: #fecaca; }
html[data-theme="dark"] .study-source,
html[data-theme="dark"] .study-slide,
html[data-theme="dark"] .study-activity { border-color: #344962; background: #131f32; color: #e4ebf5; }
html[data-theme="dark"] .study-slide-summary,
html[data-theme="dark"] .study-slide ul,
html[data-theme="dark"] .study-example p { color: #d2deed; }
html[data-theme="dark"] .study-example,
html[data-theme="dark"] .study-chip,
html[data-theme="dark"] .study-demo-output,
html[data-theme="dark"] .study-quiz-result { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .study-demo-output table,
html[data-theme="dark"] .study-answer-button { background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .study-demo-output th,
html[data-theme="dark"] .study-demo-output td,
html[data-theme="dark"] .study-answer-button { border-color: #40536d; }
html[data-theme="dark"] .study-answer-button.is-correct { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .study-answer-button.is-incorrect { background: #4b2027; color: #fecaca; }
/* Laboratório visual de algoritmos (algorithm-lab.js) */
.algo-choices { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 18px 0 8px; }
.algo-choice-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.algo-choice-label { width: 100%; color: #62748a; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.algo-choices .secondary[aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.algo-summary { margin: 14px 0; padding: 12px 14px; border-left: 4px solid #2774e4; border-radius: 8px; background: #f2f7ff; color: #314760; line-height: 1.6; }
.algo-inputs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.algo-inputs [hidden] { display: none; }
.algo-input-actions { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.algo-error { min-height: 20px; margin: 6px 0 0; color: #b42318; font-size: 13px; font-weight: 700; }
.algo-workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); gap: 16px; margin-top: 8px; }
.algo-stage { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #dfe7f3; border-radius: 12px; background: #f8faff; }
.algo-bars { display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 1.4vw, 10px); min-height: 250px; }
.algo-column { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; max-width: 60px; padding: 4px 2px 0; border-radius: 8px; }
.algo-column.is-range { background: #e4efff; }
.algo-column.is-discarded { opacity: .35; }
.algo-bar-slot { display: flex; align-items: flex-end; width: 100%; height: 200px; }
.algo-bar { position: relative; width: 100%; border-radius: 7px 7px 3px 3px; background: #9db6d8; transition: height .35s ease, background-color .2s ease, transform .2s ease; }
.algo-bar-value { position: absolute; top: -21px; left: 50%; transform: translateX(-50%); color: #172b49; font-size: 13px; font-weight: 800; }
.algo-bar.is-sorted { background: #2f9e62; }
.algo-bar.is-compare { background: #f2a516; transform: translateY(-6px); }
.algo-bar.is-swap { background: #e0483d; transform: translateY(-6px); }
.algo-bar.is-found { background: #1765d4; box-shadow: 0 0 0 3px #b8d3ff; }
.algo-index { margin-top: 6px; color: #62748a; font-size: 11px; font-variant-numeric: tabular-nums; }
.algo-marker { min-height: 16px; color: #174f9f; font-size: 11px; font-weight: 800; text-align: center; }
.algo-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: #506985; font-size: 12px; }
.algo-legend li { display: flex; align-items: center; gap: 6px; }
.algo-legend-dot { width: 12px; height: 12px; border-radius: 3px; background: #9db6d8; }
.algo-legend-dot.is-compare { background: #f2a516; }
.algo-legend-dot.is-swap { background: #e0483d; }
.algo-legend-dot.is-sorted { background: #2f9e62; }
.algo-legend-dot.is-range { border: 1px solid #b8d3ff; background: #e4efff; }
.algo-legend-dot.is-found { background: #1765d4; }
.algo-bars.is-stack,
.algo-bars.is-queue { align-items: center; gap: 8px; min-height: 250px; }
.algo-bars.is-stack { flex-direction: column; justify-content: flex-end; }
.algo-cell { position: relative; min-width: 64px; padding: 12px 16px; border: 2px solid #9db6d8; border-radius: 9px; background: #fff; color: #172b49; font-size: 16px; font-weight: 800; text-align: center; }
.algo-cell.is-swap { border-color: #e0483d; background: #fff1f0; }
.algo-cell[data-tag]::after { content: attr(data-tag); position: absolute; top: 50%; left: calc(100% + 8px); transform: translateY(-50%); color: #174f9f; font-size: 11px; white-space: nowrap; }
.algo-bars.is-queue .algo-cell[data-tag]::after { top: auto; bottom: -20px; left: 50%; transform: translateX(-50%); }
.algo-empty { color: #62748a; font-weight: 700; }
.algo-removed { padding: 6px 10px; border: 1px dashed #e0483d; border-radius: 8px; color: #b42318; font-size: 13px; font-weight: 700; }
.algo-side { display: flex; flex-direction: column; gap: 10px; }
.algo-side-title { margin: 0; color: #62748a; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.algo-code { margin: 0; padding: 12px 12px 12px 34px; overflow-x: auto; border-radius: 10px; background: #172b49; color: #c9d7ec; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.75; }
.algo-code li { padding: 0 6px; border-radius: 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.algo-code li::marker { color: #6f86a8; }
.algo-code li.is-current { background: #f2a516; color: #172b49; font-weight: 700; }
.algo-counters { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 16px; margin: 0; font-size: 14px; }
.algo-counters dt { color: #506985; }
.algo-counters dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.algo-cost { margin: 0; color: #506985; font-size: 12px; line-height: 1.55; }
.algo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.algo-controls[hidden],
.algo-progress[hidden],
.algo-compare[hidden] { display: none; }
.algo-speed,
.algo-predict-toggle { display: flex; align-items: center; gap: 6px; color: #314760; font-size: 13px; font-weight: 700; }
.algo-speed select { padding: 7px 9px; border: 1px solid #cbd8e8; border-radius: 8px; background: #fff; color: #172b49; }
.algo-progress { margin: 10px 0 0; color: #62748a; font-size: 12px; font-weight: 700; }
.algo-message { min-height: 52px; margin: 6px 0 0; padding: 12px 14px; border-radius: 10px; background: #edf5ff; color: #172b49; line-height: 1.6; }
.algo-message.is-error { background: #fff0f0; color: #842029; }
.algo-predict { margin-top: 10px; padding: 12px 14px; border: 1px solid #f2c46d; border-radius: 10px; background: #fff8e8; }
.algo-predict-question { margin: 0 0 8px; font-weight: 800; }
.algo-predict-actions { display: flex; gap: 8px; }
.algo-predict-feedback { min-height: 20px; margin: 8px 0 0; font-weight: 700; }
.algo-predict-feedback.is-right { color: #176447; }
.algo-predict-feedback.is-wrong { color: #b42318; }
.algo-compare { margin-top: 16px; }
.algo-compare table { margin-top: 10px; min-width: 300px; border-collapse: collapse; background: #fff; }
.algo-compare th,.algo-compare td { padding: 9px 12px; border: 1px solid #dbe4f1; text-align: left; }
.algo-compare th { background: #eaf1fb; color: #334d6b; }
.algo-compare td.is-best { color: #176447; font-weight: 800; }
html[data-theme="dark"] .algo-summary,
html[data-theme="dark"] .algo-message { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .algo-stage { border-color: #344962; background: #0f1a2b; }
html[data-theme="dark"] .algo-column.is-range { background: #1c304a; }
html[data-theme="dark"] .algo-bar { background: #5a7598; }
html[data-theme="dark"] .algo-bar-value,
html[data-theme="dark"] .algo-cell { color: #e4ebf5; }
html[data-theme="dark"] .algo-cell { border-color: #5a7598; background: #17263b; }
html[data-theme="dark"] .algo-marker,
html[data-theme="dark"] .algo-cell[data-tag]::after { color: #9bc3ff; }
html[data-theme="dark"] .algo-index,
html[data-theme="dark"] .algo-legend,
html[data-theme="dark"] .algo-counters dt,
html[data-theme="dark"] .algo-cost,
html[data-theme="dark"] .algo-progress,
html[data-theme="dark"] .algo-choice-label,
html[data-theme="dark"] .algo-side-title { color: #b9c8da; }
html[data-theme="dark"] .algo-speed,
html[data-theme="dark"] .algo-predict-toggle { color: #d2deed; }
html[data-theme="dark"] .algo-speed select { border-color: #40536d; background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .algo-predict { border-color: #7a6024; background: #2e2716; color: #f7e3b0; }
html[data-theme="dark"] .algo-compare table { background: #17263b; }
html[data-theme="dark"] .algo-compare th { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .algo-compare th,
html[data-theme="dark"] .algo-compare td { border-color: #40536d; }
html[data-theme="dark"] .algo-message.is-error { background: #4b2027; color: #fecaca; }
/* Estudo do dia e busca (student.js) */
.today-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 8px 0 22px; padding: 22px; border: 1px solid #dfe7f3; border-radius: 15px; background: #f8faff; }
.today-card.is-set { border: 2px solid #1765d4; background: linear-gradient(115deg, #edf5ff, #f8fbff); }
.today-card .eyebrow { margin: 0; }
.today-title { margin: 0; font-size: 26px; }
.today-where { margin: 0; color: #314760; font-size: 15px; font-weight: 700; }
.today-message { margin: 4px 0; padding: 10px 14px; border-left: 4px solid #2774e4; border-radius: 6px; background: #fff; color: #172b49; line-height: 1.55; }
.today-start { margin-top: 2px; padding: 12px 22px; font-size: 16px; }
.today-step { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #d6e2f3; font-size: 16px; }
.today-card > .student-table-wrap { width: 100%; }
html[data-theme="dark"] .today-step { border-color: #344962; }
.today-empty { margin: 0; color: #506985; line-height: 1.6; }
.study-search { margin: 0 0 22px; }
.study-search-label { display: block; margin-bottom: 6px; font-weight: 800; }
.study-search input { width: 100%; max-width: 640px; padding: 12px 14px; border: 1px solid #cbd8e8; border-radius: 10px; background: #fff; color: #172b49; font-size: 15px; }
.study-search-status { min-height: 0; margin: 8px 0 4px; color: #506985; font-size: 13px; }
.study-search-status:empty { display: none; }
.study-search-results { display: grid; gap: 6px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.study-search-result { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 14px; border: 1px solid #dfe7f3; border-radius: 10px; background: #fff; color: #172b49; text-align: left; cursor: pointer; }
.study-search-result:hover,.study-search-result:focus-visible { border-color: #2870d4; background: #f0f6ff; }
.study-search-result span { color: #506985; font-size: 12px; }
html[data-theme="dark"] .today-card { border-color: #344962; background: #131f32; }
html[data-theme="dark"] .today-card.is-set { border-color: #6ea8ff; background: #152640; }
html[data-theme="dark"] .today-where,
html[data-theme="dark"] .today-empty,
html[data-theme="dark"] .study-search-status,
html[data-theme="dark"] .study-search-result span { color: #b9c8da; }
html[data-theme="dark"] .today-message,
html[data-theme="dark"] .study-search input,
html[data-theme="dark"] .study-search-result { border-color: #40536d; background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .study-search-result:hover { background: #1c304a; }
/* Livro passo a passo (database-book.js) */
.dbb-layout { display: grid; grid-template-columns: minmax(190px, 250px) minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.dbb-index { display: flex; flex-direction: column; gap: 2px; max-height: 720px; overflow-y: auto; padding-right: 4px; }
.dbb-index-chapter { margin: 12px 0 4px; color: #62748a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dbb-index-chapter:first-child { margin-top: 0; }
.dbb-index-link { padding: 7px 9px; border: 0; border-radius: 7px; background: none; color: #314760; font-size: 13px; line-height: 1.35; text-align: left; cursor: pointer; }
.dbb-index-link:hover,.dbb-index-link:focus-visible { background: #eef4fd; }
.dbb-index-link[aria-current="true"] { background: #eaf2ff; color: #174f9f; font-weight: 800; box-shadow: inset 3px 0 0 #1765d4; }
.dbb-lesson { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* Itens de flex não encolhem abaixo do conteúdo sem min-width: 0; assim tabelas largas rolam dentro da própria caixa. */
.dbb-lesson > *,
.dbb-widget > *,
.dbb-figure > * { min-width: 0; max-width: 100%; }
.dbb-tables > .dbb-table { flex: 0 1 auto; }
.dbb-lesson h4 { margin: 0; font-size: 20px; }
.dbb-lesson h4:focus { outline: none; }
.dbb-meta { margin: 0; color: #506985; font-size: 12px; font-weight: 700; }
.dbb-summary { margin: 0; color: #3d5776; font-size: 15px; line-height: 1.7; }
.dbb-points { margin: 0; padding-left: 22px; color: #314760; line-height: 1.7; }
.dbb-points li { margin: 5px 0; }
.dbb-figure { margin: 4px 0; padding: 14px; border: 1px solid #dfe7f3; border-radius: 12px; background: #f8faff; }
.dbb-figure figcaption { margin-top: 10px; color: #506985; font-size: 13px; line-height: 1.55; }
.dbb-note { margin: -8px 0 4px; color: #506985; font-size: 13px; line-height: 1.55; }
.dbb-er-wrap { overflow-x: auto; }
.dbb-er { display: block; width: 100%; min-width: 360px; max-width: 680px; height: auto; margin: 0 auto; font-family: inherit; }
.dbb-er-entity { fill: #ffffff; stroke: #1765d4; stroke-width: 2; }
.dbb-er-rel { fill: #fff8e8; stroke: #c7811c; stroke-width: 2; }
.dbb-er-oval { fill: #ffffff; stroke: #5b7194; stroke-width: 1.5; }
.dbb-er-line { stroke: #5b7194; stroke-width: 1.5; }
.dbb-er-label { fill: #172b49; font-size: 14px; font-weight: 700; }
.dbb-er-attr { fill: #314760; font-size: 12.5px; }
.dbb-er-card { fill: #b42318; font-size: 12.5px; font-weight: 800; }
.dbb-er-dot { fill: #172b49; stroke: #172b49; stroke-width: 1.5; }
.dbb-er-dot.is-empty { fill: #ffffff; }
.dbb-tables { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.dbb-op { align-self: center; color: #506985; font-size: 20px; font-weight: 800; }
.dbb-table { min-width: 0; max-width: 100%; }
.dbb-table-name { margin-bottom: 5px; color: #174f9f; font-family: Consolas, "Courier New", monospace; font-size: 13px; font-weight: 800; }
.dbb-table-scroll { overflow-x: auto; }
.dbb-table table { border-collapse: collapse; background: #fff; font-size: 13px; }
.dbb-table th,.dbb-table td { padding: 6px 10px; border: 1px solid #dbe4f1; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dbb-table th { background: #eaf1fb; color: #334d6b; }
.dbb-table th.is-hl,.dbb-table td.is-hl { background: #fff1c2; }
.dbb-table tr.is-hl td { background: #e3f5ea; font-weight: 700; }
.dbb-table tr.is-strike td { color: #8a97a8; text-decoration: line-through; }
.dbb-table td.is-null { color: #8a97a8; font-style: italic; }
.dbb-key { padding: 1px 5px; border-radius: 5px; background: #1765d4; color: #fff; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.dbb-tag-col { width: 1%; padding-right: 4px !important; }
.dbb-tag { display: inline-block; min-width: 20px; padding: 1px 5px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.dbb-tag-A,.dbb-tag-C { background: #1765d4; }
.dbb-tag-V { background: #c7581c; }
.dbb-tag-B { background: #2f9e62; }
.dbb-tag-none { background: #8a97a8; }
.dbb-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dbb-flow.is-column { flex-direction: column; align-items: stretch; }
.dbb-flow.is-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dbb-flow.is-column .dbb-arrow { text-align: center; }
.dbb-arrow { color: #506985; font-size: 18px; font-weight: 800; }
.dbb-step { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid #bfd5f5; border-radius: 10px; background: #fff; color: #172b49; font-size: 13px; line-height: 1.45; }
.dbb-step > span { color: #506985; }
.dbb-step.is-entity { border: 2px solid #1765d4; border-radius: 3px; text-align: center; }
.dbb-step.is-store { border-color: #9db6d8; background: #f2f7ff; }
.dbb-step.is-ok { border-color: #2f9e62; background: #e7f7ed; }
.dbb-step.is-warn { border-color: #e0a43a; background: #fff8e8; }
.dbb-step-inner { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dbb-step-inner > .dbb-step { flex: 1 1 160px; background: #f8faff; }
.dbb-compare-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dbb-compare-col { padding: 12px 14px; border-radius: 10px; }
.dbb-compare-col ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.dbb-compare-col.is-bad { background: #fff0f0; color: #6b1d24; }
.dbb-compare-col.is-good { background: #e7f7ed; color: #14532d; }
.dbb-code { margin: 0; padding: 14px; overflow-x: auto; border-radius: 9px; background: #172b49; color: #eff6ff; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.6; white-space: pre; }
.dbb-code:empty { display: none; }
.dbb-widget { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 2px dashed #bfd5f5; border-radius: 12px; }
.dbb-widget h5,.dbb-checks h5 { margin: 0; font-size: 15px; }
.dbb-widget-help { margin: 0; color: #506985; font-size: 13px; }
.dbb-widget-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.dbb-field { display: flex; flex-direction: column; gap: 5px; }
.dbb-field label { font-size: 12px; font-weight: 700; line-height: 1.35; }
.dbb-field select { padding: 8px 10px; border: 1px solid #cbd8e8; border-radius: 8px; background: #fff; color: #172b49; }
.dbb-reading { margin: 0; padding-left: 20px; color: #172b49; font-weight: 700; line-height: 1.6; }
.dbb-widget-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dbb-widget-actions [aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.dbb-widget-result { margin: 0; padding: 10px 12px; border-radius: 9px; background: #edf5ff; color: #172b49; line-height: 1.55; }
.dbb-widget-result:empty { display: none; }
.dbb-widget-result.is-right { background: #e7f7ed; color: #14532d; font-weight: 700; }
.dbb-widget-result.is-wrong { background: #fff0f0; color: #842029; font-weight: 700; }
.dbb-classify { display: flex; flex-direction: column; gap: 10px; }
.dbb-classify-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: 4px 12px; align-items: center; }
.dbb-classify-item { font-family: Consolas, "Courier New", monospace; font-size: 13px; overflow-wrap: anywhere; }
.dbb-classify-options { display: flex; flex-wrap: wrap; gap: 6px; }
.dbb-classify-feedback { grid-column: 2; min-height: 0; color: #506985; font-size: 12px; }
.dbb-chip { padding: 5px 10px; border: 1px solid #cbd8e8; border-radius: 16px; background: #fff; color: #174f9f; font-size: 12px; font-weight: 700; cursor: pointer; }
.dbb-chip:disabled { cursor: default; opacity: .75; }
.dbb-chip.is-right { border-color: #168049; background: #e7f7ed; color: #14532d; opacity: 1; }
.dbb-chip.is-wrong { border-color: #c62828; background: #fff0f0; color: #842029; opacity: 1; }
.dbb-lab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #f2f7ff; }
.dbb-checks { display: flex; flex-direction: column; gap: 10px; }
.dbb-check { margin: 0; padding: 14px; border: 1px solid #dfe7f3; border-radius: 11px; }
.dbb-check legend { padding: 0 5px; font-weight: 700; line-height: 1.55; }
.dbb-option { display: block; width: 100%; margin: 6px 0; padding: 10px 12px; border: 1px solid #d4deec; border-radius: 9px; background: #fff; color: #263b55; text-align: left; line-height: 1.5; cursor: pointer; }
.dbb-option:hover:not(:disabled),.dbb-option:focus-visible { border-color: #2870d4; background: #f0f6ff; }
.dbb-option:disabled { cursor: default; }
.dbb-option:disabled:is(.is-right, .is-wrong) { opacity: 1; }
.dbb-option.is-right { border-color: #168049; background: #e7f7ed; color: #14532d; }
.dbb-option.is-wrong { border-color: #c62828; background: #fff0f0; color: #842029; }
.dbb-check-feedback { min-height: 0; margin: 6px 0 0; line-height: 1.55; }
.dbb-check-feedback.is-right { color: #14532d; }
.dbb-check-feedback.is-wrong { color: #842029; }
.dbb-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid #dfe7f3; }
.dbb-progress { color: #506985; font-size: 12px; font-weight: 700; }
html[data-theme="dark"] .dbb-index-chapter,
html[data-theme="dark"] .dbb-meta,
html[data-theme="dark"] .dbb-note,
html[data-theme="dark"] .dbb-figure figcaption,
html[data-theme="dark"] .dbb-widget-help,
html[data-theme="dark"] .dbb-progress,
html[data-theme="dark"] .dbb-classify-feedback,
html[data-theme="dark"] .dbb-arrow,
html[data-theme="dark"] .dbb-op { color: #b9c8da; }
html[data-theme="dark"] .dbb-index-link,
html[data-theme="dark"] .dbb-summary,
html[data-theme="dark"] .dbb-points { color: #d2deed; }
html[data-theme="dark"] .dbb-index-link:hover,
html[data-theme="dark"] .dbb-index-link[aria-current="true"] { background: #1c304a; color: #9bc3ff; }
html[data-theme="dark"] .dbb-figure { border-color: #344962; background: #0f1a2b; }
html[data-theme="dark"] .dbb-er-entity,
html[data-theme="dark"] .dbb-er-oval,
html[data-theme="dark"] .dbb-er-dot.is-empty { fill: #17263b; }
html[data-theme="dark"] .dbb-er-entity { stroke: #6ea8ff; }
html[data-theme="dark"] .dbb-er-rel { fill: #2e2716; stroke: #e0a43a; }
html[data-theme="dark"] .dbb-er-line,
html[data-theme="dark"] .dbb-er-oval { stroke: #8ea3c2; }
html[data-theme="dark"] .dbb-er-label { fill: #e4ebf5; }
html[data-theme="dark"] .dbb-er-attr { fill: #d2deed; }
html[data-theme="dark"] .dbb-er-card { fill: #ff9b8f; }
html[data-theme="dark"] .dbb-er-dot { fill: #e4ebf5; stroke: #e4ebf5; }
html[data-theme="dark"] .dbb-table-name { color: #9bc3ff; }
html[data-theme="dark"] .dbb-table table,
html[data-theme="dark"] .dbb-step,
html[data-theme="dark"] .dbb-option,
html[data-theme="dark"] .dbb-chip,
html[data-theme="dark"] .dbb-field select { background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .dbb-table th { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .dbb-table th,
html[data-theme="dark"] .dbb-table td,
html[data-theme="dark"] .dbb-step,
html[data-theme="dark"] .dbb-option,
html[data-theme="dark"] .dbb-chip,
html[data-theme="dark"] .dbb-field select,
html[data-theme="dark"] .dbb-check,
html[data-theme="dark"] .dbb-nav { border-color: #40536d; }
html[data-theme="dark"] .dbb-table th.is-hl,
html[data-theme="dark"] .dbb-table td.is-hl { background: #4a3d16; }
html[data-theme="dark"] .dbb-table tr.is-hl td { background: #143b2b; }
html[data-theme="dark"] .dbb-step > span { color: #b9c8da; }
html[data-theme="dark"] .dbb-step.is-store,
html[data-theme="dark"] .dbb-step-inner > .dbb-step,
html[data-theme="dark"] .dbb-lab,
html[data-theme="dark"] .dbb-widget-result { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .dbb-step.is-ok,
html[data-theme="dark"] .dbb-compare-col.is-good,
html[data-theme="dark"] .dbb-option.is-right,
html[data-theme="dark"] .dbb-chip.is-right,
html[data-theme="dark"] .dbb-widget-result.is-right { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .dbb-step.is-warn { background: #2e2716; }
html[data-theme="dark"] .dbb-compare-col.is-bad,
html[data-theme="dark"] .dbb-option.is-wrong,
html[data-theme="dark"] .dbb-chip.is-wrong,
html[data-theme="dark"] .dbb-widget-result.is-wrong { background: #4b2027; color: #fecaca; }
html[data-theme="dark"] .dbb-reading { color: #e4ebf5; }
html[data-theme="dark"] .dbb-widget { border-color: #344962; }
html[data-theme="dark"] .dbb-check-feedback.is-right { color: #bbf7d0; }
html[data-theme="dark"] .dbb-check-feedback.is-wrong { color: #fecaca; }
/* Sem estas, o fundo claro do :hover/:focus vence o tema escuro e a opção sob o mouse fica branca com texto claro. */
html[data-theme="dark"] .dbb-option:hover:not(:disabled),
html[data-theme="dark"] .dbb-option:focus-visible,
html[data-theme="dark"] .study-answer-button:hover:not(:disabled),
html[data-theme="dark"] .study-answer-button:focus-visible,
html[data-theme="dark"] .study-search-result:focus-visible { border-color: #66a3ff; background: #1c304a; color: #f0f6ff; }
html[data-theme="dark"] .dbb-option.is-right:focus-visible { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .dbb-option.is-wrong:focus-visible { background: #4b2027; color: #fecaca; }
/* Com o menu de etapas ao lado, abaixo de ~1200 px a lista de lições vai para cima da lição. */
@media (max-width: 1200px) {
  .dbb-layout { grid-template-columns: minmax(0, 1fr); }
  .dbb-index { max-height: 220px; padding: 8px; border: 1px solid #dfe7f3; border-radius: 10px; }
  html[data-theme="dark"] .dbb-index { border-color: #344962; }
}
@media (max-width: 760px) {
  .dbb-compare-row,
  .dbb-classify-row { grid-template-columns: minmax(0, 1fr); }
  .dbb-classify-feedback { grid-column: 1; }
}
/* Montador de consultas (sql-builder.js) */
.sql-lab-mode { display: flex; flex-wrap: wrap; gap: 8px; }
.sql-lab-mode [aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.sql-lab-builder { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px dashed #bfd5f5; border-radius: 12px; }
.sql-lab-builder[hidden] { display: none; }
.sql-lab-builder > * { min-width: 0; max-width: 100%; }
.sqb-intro { margin: 0; color: #314760; line-height: 1.55; }
.sqb-form { display: flex; flex-direction: column; gap: 10px; }
.sqb-form fieldset { margin: 0; padding: 10px 12px; border: 1px solid #dfe7f3; border-radius: 10px; }
.sqb-form legend { padding: 0 4px; font-size: 13px; font-weight: 800; }
.sqb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.sqb-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sqb-field label { font-size: 12px; font-weight: 700; }
.sqb-field select,.sqb-field input { width: 100%; padding: 7px 9px; border: 1px solid #cbd8e8; border-radius: 8px; background: #fff; color: #172b49; }
.sqb-columns { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sqb-check { display: inline-flex; align-items: center; gap: 4px; font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.sqb-sql { margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 9px; background: #172b49; color: #eff6ff; font-family: Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.6; white-space: pre; }
.sqb-reading { margin: 0; padding: 10px 12px; border-left: 4px solid #2f9e62; border-radius: 6px; background: #e7f7ed; color: #14532d; font-weight: 700; line-height: 1.55; }
.sqb-reading:empty,.sqb-error:empty,.sqb-sql:empty { display: none; }
.sqb-error { margin: 0; color: #b42318; font-weight: 700; }
.sqb-step-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.sqb-step-nav [aria-pressed="true"] { border-color: #1765d4; background: #eaf2ff; color: #174f9f; box-shadow: 0 0 0 1px #1765d4; }
.sqb-step { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sqb-step:empty { display: none; }
.sqb-step h5 { margin: 0; font-size: 16px; }
.sqb-step p { margin: 0; line-height: 1.55; }
.sqb-step .study-table-wrap { max-width: 100%; }
.sql-lab-result tr.sqb-pass td { background: #e3f5ea; font-weight: 700; }
.sql-lab-result tr.sqb-fail td { color: #8a97a8; text-decoration: line-through; }
html[data-theme="dark"] .sql-lab-builder,
html[data-theme="dark"] .sqb-form fieldset { border-color: #344962; }
html[data-theme="dark"] .sqb-intro { color: #d2deed; }
html[data-theme="dark"] .sqb-field select,
html[data-theme="dark"] .sqb-field input { border-color: #40536d; background: #17263b; color: #e4ebf5; }
html[data-theme="dark"] .sqb-reading,
html[data-theme="dark"] .sql-lab-result tr.sqb-pass td { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .sqb-error { color: #fecaca; }
/* Laboratório SQL (sql-lab.js) */
.sql-lab-progress { margin: 12px 0 0; color: #176447; font-size: 13px; font-weight: 700; }
.sql-lab-choices .secondary.is-solved::before { content: "✓ "; color: #176447; font-weight: 800; }
.sql-lab-workspace { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); gap: 16px; margin-top: 12px; }
.sql-lab-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sql-lab-mission { padding: 14px 16px; border-left: 4px solid #2774e4; border-radius: 8px; background: #f2f7ff; }
.sql-lab-mission h4 { margin: 2px 0 6px; font-size: 17px; }
.sql-lab-meta { margin: 0; color: #506985; font-size: 12px; font-weight: 700; }
.sql-lab-task { margin: 0; color: #172b49; line-height: 1.6; }
.sql-lab-note { margin: 8px 0 0; color: #815500; font-size: 13px; line-height: 1.55; }
.sql-lab-editor-label { font-size: 13px; font-weight: 700; }
.sql-lab-editor { width: 100%; min-height: 140px; padding: 12px 14px; border: 1px solid #cbd8e8; border-radius: 10px; background: #172b49; color: #eff6ff; font-family: Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.6; resize: vertical; tab-size: 2; }
.sql-lab-editor:focus-visible { outline: 3px solid #8cb8f5; outline-offset: 1px; }
.sql-lab-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sql-lab-help { min-height: 0; margin: 0; color: #314760; line-height: 1.55; }
.sql-lab-help:empty,
.sql-lab-feedback:empty,
.sql-lab-output:empty { display: none; }
.sql-lab-feedback { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 700; line-height: 1.55; }
.sql-lab-feedback.is-right { background: #e7f7ed; color: #14532d; }
.sql-lab-feedback.is-wrong { background: #fff5dc; color: #6b4600; }
.sql-lab-output { margin: 0; padding: 10px 14px; border-radius: 10px; background: #edf5ff; color: #172b49; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.55; }
.sql-lab-output.is-error { background: #fff0f0; color: #842029; font-family: inherit; font-weight: 700; }
.sql-lab-result table { min-width: 250px; border-collapse: collapse; background: #fff; font-size: 13px; }
.sql-lab-result th,.sql-lab-result td { padding: 8px 12px; border: 1px solid #dbe4f1; text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sql-lab-result th { background: #eaf1fb; color: #334d6b; }
.sql-lab-result td.is-null { color: #8a97a8; font-style: italic; }
.sql-lab-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sql-lab-tables { display: grid; gap: 8px; max-height: 520px; overflow-y: auto; }
.sql-lab-table { padding: 8px 10px; border: 1px solid #dfe7f3; border-radius: 9px; background: #f8faff; }
.sql-lab-table-name { padding: 2px 0; border: 0; background: none; color: #174f9f; font-family: Consolas, "Courier New", monospace; font-size: 14px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.sql-lab-table ul { margin: 4px 0 0; padding: 0; list-style: none; color: #314760; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.sql-lab-table li.is-key { font-weight: 800; }
.sql-lab-legend { margin: 0; color: #62748a; font-size: 12px; line-height: 1.5; }
html[data-theme="dark"] .sql-lab-mission { background: #1c304a; }
html[data-theme="dark"] .sql-lab-task,
html[data-theme="dark"] .sql-lab-help { color: #d9e8ff; }
html[data-theme="dark"] .sql-lab-meta,
html[data-theme="dark"] .sql-lab-legend { color: #b9c8da; }
html[data-theme="dark"] .sql-lab-note { color: #f7d889; }
html[data-theme="dark"] .sql-lab-progress,
html[data-theme="dark"] .sql-lab-choices .secondary.is-solved::before { color: #86efac; }
html[data-theme="dark"] .sql-lab-editor { border-color: #40536d; background: #0f1a2b; }
html[data-theme="dark"] .sql-lab-feedback.is-right { background: #143b2b; color: #bbf7d0; }
html[data-theme="dark"] .sql-lab-feedback.is-wrong { background: #493d20; color: #f7d889; }
html[data-theme="dark"] .sql-lab-output { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .sql-lab-output.is-error { background: #4b2027; color: #fecaca; }
html[data-theme="dark"] .sql-lab-result table { background: #17263b; }
html[data-theme="dark"] .sql-lab-result th { background: #1c304a; color: #d9e8ff; }
html[data-theme="dark"] .sql-lab-result th,
html[data-theme="dark"] .sql-lab-result td { border-color: #40536d; }
html[data-theme="dark"] .sql-lab-table { border-color: #344962; background: #17263b; }
html[data-theme="dark"] .sql-lab-table-name { color: #9bc3ff; }
html[data-theme="dark"] .sql-lab-table ul { color: #d2deed; }
@media (max-width: 760px) {
  .sql-lab-workspace { grid-template-columns: minmax(0, 1fr); }
  .sql-lab-actions > button { flex: 1 1 calc(50% - 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .algo-bar { transition: none; }
  .algo-bar.is-compare,
  .algo-bar.is-swap { transform: none; }
}
@media (max-width: 760px) {
  .algo-workspace,
  .algo-inputs { grid-template-columns: minmax(0, 1fr); }
  .algo-bars { min-height: 210px; }
  .algo-bar-slot { height: 160px; }
  .algo-bar-value { font-size: 11px; }
  .algo-controls > button { flex: 1 1 calc(50% - 8px); }
  .algo-input-actions > button { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 680px) {
  .student-study-promos { grid-template-columns: minmax(0, 1fr); }
  .student-dashboard { padding: 15px; }
  .student-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-dashboard-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-dashboard-filters button { width: 100%; }
  .student-study-promo { align-items: flex-start; flex-direction: column; }
  .student-study-promo button { width: 100%; }
  .student-study { padding: 18px 14px; }
  .student-study-header { flex-direction: column; }
  .student-study-header > button { width: 100%; }
  .study-slide { min-height: 0; }
  .study-slide-controls { flex-direction: column-reverse; }
  .study-slide-controls button { width: 100%; }
}

/* Posição na turma e revisão dos erros */
.study-points-extra { display: grid; gap: 10px; margin: 6px 0 14px; }
.study-points-extra:empty { display: none; }
.study-rank { padding: 10px 12px; border-radius: 10px; background: rgba(127, 127, 127, .08); }
.study-rank-top { margin: 6px 0 0; padding-left: 22px; }
.study-rank-top li.is-me { font-weight: 700; }
.study-review { border: 1px solid rgba(127, 127, 127, .3); border-radius: 10px; padding: 8px 12px; }
.study-review summary { cursor: pointer; font-weight: 600; }
.study-review-note { margin: 8px 0; opacity: .8; font-size: .92em; }
.study-review-list { display: grid; gap: 14px; }
/* Reportar erro na questão */
.report-question { margin-top: 10px; font-size: .92em; }
.report-question summary { cursor: pointer; opacity: .75; width: fit-content; }
.report-question[open] summary { opacity: 1; }
.report-question textarea { display: block; width: 100%; max-width: 640px; margin: 8px 0; font: inherit; padding: 8px; border-radius: 8px; border: 1px solid rgba(127, 127, 127, .45); background: transparent; color: inherit; box-sizing: border-box; }
.report-status { margin: 6px 0 0; }
/* Confirmação antes de iniciar a prova */
.start-warning { font-weight: 600; margin-top: 8px; }
.start-warning:empty { display: none; }
